opsfuse-ui 0.1.15 → 0.1.17

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,7 +1,17 @@
1
+ import type * as React from "react";
1
2
  /** Stack portaled layers above modals (`--z-modal` / `z-50`). */
2
3
  export declare const portaledLayerZIndexStyle: {
3
4
  readonly zIndex: "var(--z-popover)";
4
5
  };
6
+ /**
7
+ * Radix modal `RemoveScroll` listens for `wheel` / `touchmove` on `document`.
8
+ * Portaled popovers render outside the dialog content shard, so those events
9
+ * get cancelled unless propagation is stopped on the scrollable surface.
10
+ */
11
+ export declare const portaledLayerScrollIsolationProps: {
12
+ readonly onWheel: (event: React.WheelEvent) => void;
13
+ readonly onTouchMove: (event: React.TouchEvent) => void;
14
+ };
5
15
  /** Portaled combobox surfaces that should not dismiss an enclosing modal. */
6
16
  export declare const PORTAL_LAYER_SELECTOR: string;
7
17
  export declare function isPortaledLayerTarget(target: EventTarget | null): boolean;
@@ -1 +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"}
1
+ {"version":3,"file":"portaled-layer.d.ts","sourceRoot":"","sources":["../../src/lib/portaled-layer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,iEAAiE;AACjE,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;8BAC3B,KAAK,CAAC,UAAU;kCAGZ,KAAK,CAAC,UAAU;CAG7B,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"}