opsfuse-ui 0.1.12 → 0.1.14

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.
@@ -0,0 +1,16 @@
1
+ /** Stack portaled layers above modals (`--z-modal` / `z-50`). */
2
+ export declare const portaledLayerZIndexStyle: {
3
+ readonly zIndex: "var(--z-popover)";
4
+ };
5
+ /** Portaled combobox surfaces that should not dismiss an enclosing modal. */
6
+ export declare const PORTAL_LAYER_SELECTOR: string;
7
+ export declare function isPortaledLayerTarget(target: EventTarget | null): boolean;
8
+ /** Ignore Radix modal outside-dismiss when the interaction targets a portaled layer. */
9
+ export declare function shouldIgnoreModalOutsideEvent(event: {
10
+ detail: {
11
+ originalEvent: Event;
12
+ };
13
+ }): boolean;
14
+ /** Radix `hideOthers` aria-hides body portaled popovers — keep them interactive. */
15
+ export declare function keepPortaledLayersVisible(): void;
16
+ //# sourceMappingURL=portaled-layer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portaled-layer.d.ts","sourceRoot":"","sources":["../../src/lib/portaled-layer.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AAEX,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,QAGtB,CAAC;AAEb,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,GAAG,OAAO,CAEzE;AAED,wFAAwF;AACxF,wBAAgB,6BAA6B,CAAC,KAAK,EAAE;IACnD,MAAM,EAAE;QAAE,aAAa,EAAE,KAAK,CAAA;KAAE,CAAC;CAClC,GAAG,OAAO,CAEV;AAED,oFAAoF;AACpF,wBAAgB,yBAAyB,IAAI,IAAI,CAYhD"}