@stokelp/ui 2.37.3 → 2.37.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.
- package/dist/ui.cjs +2 -2
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +18 -16
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.js
CHANGED
|
@@ -112,14 +112,15 @@ const DL = S5(Q0, "header"), zL = S5(f(V1.Title), "title"), kL = S5(f(V1.Trigger
|
|
|
112
112
|
defaultValue: !1
|
|
113
113
|
}), { open: R, getContentProps: _ } = z0();
|
|
114
114
|
return R4(() => {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
115
|
+
R && setTimeout(() => {
|
|
116
|
+
const { id: V } = _();
|
|
117
|
+
if (!V) return;
|
|
118
|
+
const m = document.getElementById(V);
|
|
119
|
+
if (m) {
|
|
120
|
+
const P = m.querySelector("footer");
|
|
121
|
+
P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
|
|
122
|
+
}
|
|
123
|
+
}, 1e3);
|
|
123
124
|
}, [R, w]), /* @__PURE__ */ r(L5, { children: [
|
|
124
125
|
/* @__PURE__ */ C(Ra, {}),
|
|
125
126
|
/* @__PURE__ */ C(Ha, { children: /* @__PURE__ */ C(V1.Content, { ref: o, ...p, children: h }) })
|
|
@@ -13775,14 +13776,15 @@ const { withProvider: pu, withContext: dC } = K(ta), fu = pu(f(d9.Root), "root")
|
|
|
13775
13776
|
defaultValue: !1
|
|
13776
13777
|
}), { open: R, getContentProps: _ } = z0();
|
|
13777
13778
|
return R4(() => {
|
|
13778
|
-
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13779
|
+
R && setTimeout(() => {
|
|
13780
|
+
const { id: V } = _();
|
|
13781
|
+
if (!V) return;
|
|
13782
|
+
const m = document.getElementById(V);
|
|
13783
|
+
if (m) {
|
|
13784
|
+
const P = m.querySelector("footer");
|
|
13785
|
+
P && (w ? m.style.setProperty("--footer-height", `${Math.ceil(P.clientHeight)}px`) : m.style.setProperty("--footer-height", "70px"));
|
|
13786
|
+
}
|
|
13787
|
+
}, 100);
|
|
13786
13788
|
}, [R, w]), /* @__PURE__ */ r(L5, { children: [
|
|
13787
13789
|
/* @__PURE__ */ C(aC, {}),
|
|
13788
13790
|
/* @__PURE__ */ C(uC, { children: /* @__PURE__ */ C(V1.Content, { ref: o, ...p, children: h }) })
|