burne-ui 1.6.3 → 1.6.4

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,9 +1,9 @@
1
1
  /**
2
2
  * Resolve the DOM node for overlay portals (`createPortal`).
3
3
  * Defaults to `document.body` when `container` is omitted.
4
- * Call only after an SSR `typeof document !== "undefined"` guard.
4
+ * Returns `null` during SSR (no `document`) — callers must skip the portal.
5
5
  */
6
- export declare function resolvePortalContainer(container?: HTMLElement | null): HTMLElement;
6
+ export declare function resolvePortalContainer(container?: HTMLElement | null): HTMLElement | null;
7
7
  /**
8
8
  * Custom portal hosts (not `document.body`) need non-modal `<dialog>.show()`
9
9
  * and `position: absolute` — `showModal()` promotes to the browser top layer