opsfuse-ui 0.1.3 → 0.1.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opsfuse-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,26 +0,0 @@
1
- import * as React from "react";
2
- /** Portal target from the nearest modal surface (dialog, sheet, alert-dialog). */
3
- export declare function useOpsfusePortalContainer(): HTMLElement | null;
4
- export declare function OpsfusePortalContainerProvider({ container, children, }: {
5
- container: HTMLElement | null;
6
- children: React.ReactNode;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- export declare function assignRef<T>(ref: React.Ref<T> | undefined, value: T): void;
9
- /**
10
- * Out-of-flow portal mount inside modal content. Dropdowns portal here instead
11
- * of the content box so opening menus does not resize the dialog.
12
- */
13
- export declare function OpsfuseModalPortalHost({ className, ref, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
14
- /** Ref + container for modal portal host and optional forwarded content ref. */
15
- export declare function useModalPortalContainer<T extends HTMLElement>(forwardedRef?: React.Ref<T>): {
16
- contentRef: (node: T | null) => void;
17
- container: HTMLElement | null;
18
- portalHostRef: (node: HTMLDivElement | null) => void;
19
- };
20
- /** @deprecated Use useModalPortalContainer instead. */
21
- export declare function useOpsfusePortalContainerRef<T extends HTMLElement>(forwardedRef?: React.Ref<T>): {
22
- contentRef: (node: T | null) => void;
23
- container: HTMLElement | null;
24
- portalHostRef: (node: HTMLDivElement | null) => void;
25
- };
26
- //# sourceMappingURL=opsfuse-portal-container.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"opsfuse-portal-container.d.ts","sourceRoot":"","sources":["../../src/lib/opsfuse-portal-container.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,kFAAkF;AAClF,wBAAgB,yBAAyB,IAAI,WAAW,GAAG,IAAI,CAE9D;AAED,wBAAgB,8BAA8B,CAAC,EAC7C,SAAS,EACT,QAAQ,GACT,EAAE;IACD,SAAS,EAAE,WAAW,GAAG,IAAI,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAMA;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS,EAAE,KAAK,EAAE,CAAC,QAMnE;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAa7B;AAED,gFAAgF;AAChF,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,WAAW,EAC3D,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;uBASlB,CAAC,GAAG,IAAI;;0BAL8B,cAAc,GAAG,IAAI;EAYrE;AAED,uDAAuD;AACvD,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,WAAW,EAChE,YAAY,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;;;0BAhBoB,cAAc,GAAG,IAAI;EAmBrE"}