@almadar/ui 4.54.10 → 4.54.11
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/dist/avl/index.cjs +20 -1
- package/dist/avl/index.js +20 -1
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -60840,7 +60840,26 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60840
60840
|
ref: setContentRef,
|
|
60841
60841
|
className: `orb-preview-live nodrag${dragActive || l2IsOver ? " drag-active" : ""}`,
|
|
60842
60842
|
onClick: handleContentClick,
|
|
60843
|
-
children: orbitalSchema ?
|
|
60843
|
+
children: orbitalSchema ? isExpanded ? (
|
|
60844
|
+
// L2 transition card: OrbPreview's `<Box style={{height}}>` is the
|
|
60845
|
+
// only positioned ancestor with a resolved height inside the
|
|
60846
|
+
// runtime tree. When the synthesized transition's render-ui
|
|
60847
|
+
// targets `modal`/`drawer`/`overlay`, UISlotRenderer paints them
|
|
60848
|
+
// via `renderContainedPortal` as `absolute inset-0` — which
|
|
60849
|
+
// collapses to 0 when the parent chain is `height: auto` →
|
|
60850
|
+
// `min-h-full` (no resolved height to inherit). Forcing a real
|
|
60851
|
+
// pixel height here gives the contained modal a real card to
|
|
60852
|
+
// fill, so the L2 preview shows the modal panel sized to the
|
|
60853
|
+
// card instead of a tiny floating rectangle.
|
|
60854
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
60855
|
+
BrowserPlayground,
|
|
60856
|
+
{
|
|
60857
|
+
schema: orbitalSchema,
|
|
60858
|
+
mode: "mock",
|
|
60859
|
+
height: `${preset.minHeight}px`
|
|
60860
|
+
}
|
|
60861
|
+
)
|
|
60862
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(Box, { style: { minHeight: preset.minHeight }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
60844
60863
|
BrowserPlayground,
|
|
60845
60864
|
{
|
|
60846
60865
|
schema: orbitalSchema,
|
package/dist/avl/index.js
CHANGED
|
@@ -60794,7 +60794,26 @@ var OrbPreviewNodeInner = (props) => {
|
|
|
60794
60794
|
ref: setContentRef,
|
|
60795
60795
|
className: `orb-preview-live nodrag${dragActive || l2IsOver ? " drag-active" : ""}`,
|
|
60796
60796
|
onClick: handleContentClick,
|
|
60797
|
-
children: orbitalSchema ?
|
|
60797
|
+
children: orbitalSchema ? isExpanded ? (
|
|
60798
|
+
// L2 transition card: OrbPreview's `<Box style={{height}}>` is the
|
|
60799
|
+
// only positioned ancestor with a resolved height inside the
|
|
60800
|
+
// runtime tree. When the synthesized transition's render-ui
|
|
60801
|
+
// targets `modal`/`drawer`/`overlay`, UISlotRenderer paints them
|
|
60802
|
+
// via `renderContainedPortal` as `absolute inset-0` — which
|
|
60803
|
+
// collapses to 0 when the parent chain is `height: auto` →
|
|
60804
|
+
// `min-h-full` (no resolved height to inherit). Forcing a real
|
|
60805
|
+
// pixel height here gives the contained modal a real card to
|
|
60806
|
+
// fill, so the L2 preview shows the modal panel sized to the
|
|
60807
|
+
// card instead of a tiny floating rectangle.
|
|
60808
|
+
/* @__PURE__ */ jsx(
|
|
60809
|
+
BrowserPlayground,
|
|
60810
|
+
{
|
|
60811
|
+
schema: orbitalSchema,
|
|
60812
|
+
mode: "mock",
|
|
60813
|
+
height: `${preset.minHeight}px`
|
|
60814
|
+
}
|
|
60815
|
+
)
|
|
60816
|
+
) : /* @__PURE__ */ jsx(Box, { style: { minHeight: preset.minHeight }, children: /* @__PURE__ */ jsx(
|
|
60798
60817
|
BrowserPlayground,
|
|
60799
60818
|
{
|
|
60800
60819
|
schema: orbitalSchema,
|