@smart-cloud/ai-kit-ui 1.5.43 → 1.5.45

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.
@@ -18,6 +18,8 @@ export type ShadowBoundaryProps = {
18
18
  * Same id everywhere => singleton overlay host.
19
19
  */
20
20
  overlayRootId?: string;
21
+ /** Remove an instance-owned overlay host on effect cleanup; shared hosts are retained. */
22
+ ownedOverlay?: boolean;
21
23
  setHost: React.Dispatch<SetStateAction<HTMLElement | null>>;
22
24
  /** Optional notification for consumers that need a distinct modal portal. */
23
25
  setRootElement?: React.Dispatch<SetStateAction<HTMLDivElement | null>>;
@@ -28,4 +30,4 @@ export type ShadowBoundaryProps = {
28
30
  shadowRoot: ShadowRoot;
29
31
  }) => React.ReactNode;
30
32
  };
31
- export declare function ShadowBoundary({ stylesheets, children, rootElementId, mode, overlayRootId, setHost, setRootElement, }: ShadowBoundaryProps): import("react").JSX.Element;
33
+ export declare function ShadowBoundary({ stylesheets, children, rootElementId, mode, overlayRootId, ownedOverlay, setHost, setRootElement, }: ShadowBoundaryProps): import("react").JSX.Element;