@floegence/floe-webapp-core 0.52.11 → 0.52.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import { type JSX } from 'solid-js';
2
2
  import { type FloatingWindowViewportInsets } from './floatingWindowGeometry';
3
+ import { type SurfaceFloatingBoundary } from './surfaceFloatingBoundary';
3
4
  export interface FloatingWindowProps {
4
5
  /** Whether the window is open */
5
6
  open: boolean;
@@ -35,6 +36,16 @@ export interface FloatingWindowProps {
35
36
  };
36
37
  /** Safe area inside the browser viewport that the floating window should avoid */
37
38
  viewportInsets?: FloatingWindowViewportInsets;
39
+ /** Optional visible content boundary, measured in client coordinates by Floe. */
40
+ boundary?: SurfaceFloatingBoundary;
41
+ /** Fill the available boundary below this width, without drag/resize controls. Disabled by default. */
42
+ compactBelow?: number;
43
+ /** Localized native window control labels. */
44
+ labels?: {
45
+ close: string;
46
+ maximize: string;
47
+ restore: string;
48
+ };
38
49
  /** Whether the window can be resized */
39
50
  resizable?: boolean;
40
51
  /** Whether the window can be dragged */