@@ -609,10 +609,36 @@ The `open()` constructor currently accepts the following property groups in its
609609- ** ` cornerRadius ` ** — per-corner radius values, producing rounded box-drawing
610610 characters
611611- ** ` clip ` ** — clip region configuration for scroll containers
612- - ** ` floating ` ** — floating-element configuration (offset, parent reference,
613- attach points, z-index)
612+ - ** ` floating ` ** — floating-element configuration (offset, expansion, parent
613+ reference, attach target, structured attach points, pointer capture mode, clip
614+ target, z-index)
614615- ** ` scroll ` ** — scroll container configuration
615616
617+ The current floating surface is:
618+
619+ ``` ts
620+ floating ?: {
621+ x?: number ;
622+ y ?: number ;
623+ expand ?: { width?: number ; height ?: number };
624+ parent ?: number ;
625+ attachTo ?: number ;
626+ attachPoints ?: {
627+ element?: number ;
628+ parent ?: number ;
629+ };
630+ pointerCaptureMode ?: number ;
631+ clipTo ?: number ;
632+ zIndex ?: number ;
633+ }
634+ ```
635+
636+ This shape extends the earlier floating surface in two ways. First,
637+ ` attachPoints ` is structured as separate element and parent anchor values
638+ instead of a single packed enum. Second, the surface exposes additional Clay
639+ floating controls that were previously unavailable at the TypeScript layer:
640+ ` expand ` , ` pointerCaptureMode ` , and ` clipTo ` .
641+
616642The ` text() ` constructor currently accepts: ` color ` , ` fontSize ` ,
617643` letterSpacing ` , ` lineHeight ` , and attribute flags (` bold ` , ` italic ` ,
618644` underline ` , ` strikethrough ` ).
0 commit comments