@react-hive/honey-layout 3.0.0 → 3.0.1
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/index.js +52 -50
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Re, { css as
|
|
2
|
-
import vr, { createContext as yr, forwardRef as mr, useMemo as _t, useContext as Xt, Fragment as un, useState as xt, useEffect as
|
|
1
|
+
import Re, { css as pe, useTheme as hr, ThemeProvider as gr, ThemeContext as cn } from "styled-components";
|
|
2
|
+
import vr, { createContext as yr, forwardRef as mr, useMemo as _t, useContext as Xt, Fragment as un, useState as xt, useEffect as he, useRef as Le, useCallback as Ae } from "react";
|
|
3
3
|
const ln = [
|
|
4
4
|
'a[href]:not([tabindex="-1"])',
|
|
5
5
|
'button:not([disabled]):not([tabindex="-1"])',
|
|
@@ -172,7 +172,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
172
172
|
return o !== void 0 ? vn(c, o) : c;
|
|
173
173
|
}, xn = (n) => ({ theme: o }) => {
|
|
174
174
|
const i = o.fonts[n];
|
|
175
|
-
return
|
|
175
|
+
return pe`
|
|
176
176
|
font-family: ${i.family};
|
|
177
177
|
font-size: ${Vt(i.size)};
|
|
178
178
|
font-weight: ${i.weight};
|
|
@@ -185,10 +185,10 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
185
185
|
return En(n) && (typeof s == "number" || Array.isArray(s)) ? Tt(s, "px") : Sn(n) && typeof s == "string" && wn(s) ? bt(s) : s;
|
|
186
186
|
}, Cn = (n, o) => Object.entries(n).filter(
|
|
187
187
|
([i, s]) => _r(i) && o === "xs" || s && typeof s == "object" && o in s
|
|
188
|
-
), xr = (n) => ({ theme: o, ...i }) =>
|
|
188
|
+
), xr = (n) => ({ theme: o, ...i }) => pe`
|
|
189
189
|
${Cn(i, n).map(([s, l]) => {
|
|
190
190
|
const c = s.slice(1);
|
|
191
|
-
return
|
|
191
|
+
return pe`
|
|
192
192
|
${hn(c)}: ${Rn(
|
|
193
193
|
c,
|
|
194
194
|
l,
|
|
@@ -219,7 +219,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
219
219
|
}
|
|
220
220
|
])
|
|
221
221
|
};
|
|
222
|
-
}, yt = (n) => ({ theme: o, ...i }) => !o.breakpoints[n] || !On(n, i) ? null :
|
|
222
|
+
}, yt = (n) => ({ theme: o, ...i }) => !o.breakpoints[n] || !On(n, i) ? null : pe`
|
|
223
223
|
${Tr(n).up} {
|
|
224
224
|
${xr(n)};
|
|
225
225
|
}
|
|
@@ -249,7 +249,7 @@ const Zn = (n, o) => typeof o == "string" ? pn(n) : !0, hn = (n) => n.replace(/[
|
|
|
249
249
|
isXl: c === "xl"
|
|
250
250
|
};
|
|
251
251
|
}, Et = Re.div`
|
|
252
|
-
${({ effects: n }) =>
|
|
252
|
+
${({ effects: n }) => pe`
|
|
253
253
|
${n};
|
|
254
254
|
|
|
255
255
|
${xr("xs")};
|
|
@@ -330,10 +330,10 @@ function jn() {
|
|
|
330
330
|
L.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, L);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
var
|
|
333
|
+
var ge = !1, x = !1, _ = !1, C = !1, K = !1, ne;
|
|
334
334
|
ne = Symbol.for("react.module.reference");
|
|
335
335
|
function be(t) {
|
|
336
|
-
return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || K || t === l || t === b || t === v || C || t === j ||
|
|
336
|
+
return !!(typeof t == "string" || typeof t == "function" || t === s || t === c || K || t === l || t === b || t === v || C || t === j || ge || x || _ || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === y || t.$$typeof === f || t.$$typeof === g || t.$$typeof === p || // This needs to include all possible module reference object
|
|
337
337
|
// types supported by any Flight configuration anywhere since
|
|
338
338
|
// we don't know which Flight build this will end up being used
|
|
339
339
|
// with.
|
|
@@ -394,14 +394,14 @@ function jn() {
|
|
|
394
394
|
}
|
|
395
395
|
return null;
|
|
396
396
|
}
|
|
397
|
-
var q = Object.assign, le = 0, fe, _e, xe, $e, ke, Ce,
|
|
397
|
+
var q = Object.assign, le = 0, fe, _e, xe, $e, ke, Ce, ve;
|
|
398
398
|
function O() {
|
|
399
399
|
}
|
|
400
400
|
O.__reactDisabledLog = !0;
|
|
401
401
|
function He() {
|
|
402
402
|
{
|
|
403
403
|
if (le === 0) {
|
|
404
|
-
fe = console.log, _e = console.info, xe = console.warn, $e = console.error, ke = console.group, Ce = console.groupCollapsed,
|
|
404
|
+
fe = console.log, _e = console.info, xe = console.warn, $e = console.error, ke = console.group, Ce = console.groupCollapsed, ve = console.groupEnd;
|
|
405
405
|
var t = {
|
|
406
406
|
configurable: !0,
|
|
407
407
|
enumerable: !0,
|
|
@@ -449,7 +449,7 @@ function jn() {
|
|
|
449
449
|
value: Ce
|
|
450
450
|
}),
|
|
451
451
|
groupEnd: q({}, t, {
|
|
452
|
-
value:
|
|
452
|
+
value: ve
|
|
453
453
|
})
|
|
454
454
|
});
|
|
455
455
|
}
|
|
@@ -662,7 +662,7 @@ function jn() {
|
|
|
662
662
|
We[d] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', U(Pe.current.type), t.ref), We[d] = !0);
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function ye(t, u) {
|
|
666
666
|
{
|
|
667
667
|
var d = function() {
|
|
668
668
|
Ve || (Ve = !0, A("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
@@ -726,7 +726,7 @@ function jn() {
|
|
|
726
726
|
}
|
|
727
727
|
if (T || Y) {
|
|
728
728
|
var H = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
729
|
-
T &&
|
|
729
|
+
T && ye(S, H), Y && ze(S, H);
|
|
730
730
|
}
|
|
731
731
|
return Pt(t, T, Y, R, m, Pe.current, S);
|
|
732
732
|
}
|
|
@@ -904,10 +904,10 @@ var G = Ln();
|
|
|
904
904
|
const Sr = Re(St)`
|
|
905
905
|
${({ columns: n, takeColumns: o = 1, spacing: i = 0, applyMaxWidth: s, theme: l }) => {
|
|
906
906
|
const c = 100 / n, f = Tt(i, null)({ theme: l }), g = o * c, p = (n - o) * (f / n), b = `calc(${g}% - ${p}px)`;
|
|
907
|
-
return
|
|
907
|
+
return pe`
|
|
908
908
|
flex-basis: ${b};
|
|
909
909
|
|
|
910
|
-
${s &&
|
|
910
|
+
${s && pe`
|
|
911
911
|
${Tr(s).up} {
|
|
912
912
|
max-width: ${b};
|
|
913
913
|
}
|
|
@@ -915,7 +915,7 @@ const Sr = Re(St)`
|
|
|
915
915
|
`;
|
|
916
916
|
}}
|
|
917
917
|
`, wr = Re(Et)`
|
|
918
|
-
${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) =>
|
|
918
|
+
${({ columnHeight: n, minColumnHeight: o, spacing: i = 0 }) => pe`
|
|
919
919
|
display: flex;
|
|
920
920
|
gap: ${Tt(i)};
|
|
921
921
|
|
|
@@ -1018,13 +1018,13 @@ function In() {
|
|
|
1018
1018
|
var K, ne, be, ue, B, U, q = 0, le = !1, fe = !1, _e = !0;
|
|
1019
1019
|
if (typeof x != "function")
|
|
1020
1020
|
throw new TypeError(n);
|
|
1021
|
-
_ =
|
|
1021
|
+
_ = ge(_) || 0, z(C) && (le = !!C.leading, fe = "maxWait" in C, be = fe ? j(ge(C.maxWait) || 0, _) : be, _e = "trailing" in C ? !!C.trailing : _e);
|
|
1022
1022
|
function xe(k) {
|
|
1023
1023
|
var N = K, ee = ne;
|
|
1024
1024
|
return K = ne = void 0, q = k, ue = x.apply(ee, N), ue;
|
|
1025
1025
|
}
|
|
1026
1026
|
function $e(k) {
|
|
1027
|
-
return q = k, B = setTimeout(
|
|
1027
|
+
return q = k, B = setTimeout(ve, _), le ? xe(k) : ue;
|
|
1028
1028
|
}
|
|
1029
1029
|
function ke(k) {
|
|
1030
1030
|
var N = k - U, ee = k - q, oe = _ - N;
|
|
@@ -1034,11 +1034,11 @@ function In() {
|
|
|
1034
1034
|
var N = k - U, ee = k - q;
|
|
1035
1035
|
return U === void 0 || N >= _ || N < 0 || fe && ee >= be;
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function ve() {
|
|
1038
1038
|
var k = W();
|
|
1039
1039
|
if (Ce(k))
|
|
1040
1040
|
return O(k);
|
|
1041
|
-
B = setTimeout(
|
|
1041
|
+
B = setTimeout(ve, ke(k));
|
|
1042
1042
|
}
|
|
1043
1043
|
function O(k) {
|
|
1044
1044
|
return B = void 0, _e && K ? xe(k) : (K = ne = void 0, ue);
|
|
@@ -1055,9 +1055,9 @@ function In() {
|
|
|
1055
1055
|
if (B === void 0)
|
|
1056
1056
|
return $e(U);
|
|
1057
1057
|
if (fe)
|
|
1058
|
-
return B = setTimeout(
|
|
1058
|
+
return B = setTimeout(ve, _), xe(U);
|
|
1059
1059
|
}
|
|
1060
|
-
return B === void 0 && (B = setTimeout(
|
|
1060
|
+
return B === void 0 && (B = setTimeout(ve, _)), ue;
|
|
1061
1061
|
}
|
|
1062
1062
|
return Z.cancel = He, Z.flush = Ue, Z;
|
|
1063
1063
|
}
|
|
@@ -1071,7 +1071,7 @@ function In() {
|
|
|
1071
1071
|
function me(x) {
|
|
1072
1072
|
return typeof x == "symbol" || A(x) && E.call(x) == i;
|
|
1073
1073
|
}
|
|
1074
|
-
function
|
|
1074
|
+
function ge(x) {
|
|
1075
1075
|
if (typeof x == "number")
|
|
1076
1076
|
return x;
|
|
1077
1077
|
if (me(x))
|
|
@@ -1097,7 +1097,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1097
1097
|
...cr(i.breakpoints),
|
|
1098
1098
|
...o
|
|
1099
1099
|
}));
|
|
1100
|
-
return
|
|
1100
|
+
return he(() => {
|
|
1101
1101
|
const c = Mn(() => {
|
|
1102
1102
|
l({ ...cr(i.breakpoints), ...o });
|
|
1103
1103
|
}, n);
|
|
@@ -1106,7 +1106,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1106
1106
|
};
|
|
1107
1107
|
}, []), s;
|
|
1108
1108
|
}, Or = (n, { onMoveDrag: o, onStartDrag: i, onEndDrag: s }, { isEnabled: l = !0 } = {}) => {
|
|
1109
|
-
|
|
1109
|
+
he(() => {
|
|
1110
1110
|
const c = n.current;
|
|
1111
1111
|
if (!l || !c)
|
|
1112
1112
|
return;
|
|
@@ -1129,7 +1129,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1129
1129
|
}, c);
|
|
1130
1130
|
}
|
|
1131
1131
|
}, W = () => {
|
|
1132
|
-
M(), window.removeEventListener("mousemove",
|
|
1132
|
+
M(), window.removeEventListener("mousemove", ge), window.removeEventListener("mouseup", W);
|
|
1133
1133
|
}, X = (_, C) => {
|
|
1134
1134
|
if (!g)
|
|
1135
1135
|
return;
|
|
@@ -1163,10 +1163,10 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1163
1163
|
X(C.clientX, C.clientY);
|
|
1164
1164
|
}, me = () => {
|
|
1165
1165
|
g = !1;
|
|
1166
|
-
},
|
|
1166
|
+
}, ge = (_) => {
|
|
1167
1167
|
X(_.clientX, _.clientY);
|
|
1168
1168
|
}, x = (_) => {
|
|
1169
|
-
_.stopPropagation(), j(_.clientX, _.clientY), window.addEventListener("mousemove",
|
|
1169
|
+
_.stopPropagation(), j(_.clientX, _.clientY), window.addEventListener("mousemove", ge), window.addEventListener("mouseup", W);
|
|
1170
1170
|
};
|
|
1171
1171
|
return c.addEventListener("touchstart", z, {
|
|
1172
1172
|
passive: !0
|
|
@@ -1230,7 +1230,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1230
1230
|
onStartDrag: i,
|
|
1231
1231
|
onMoveDrag: l,
|
|
1232
1232
|
onEndDrag: s
|
|
1233
|
-
}),
|
|
1233
|
+
}), he(() => {
|
|
1234
1234
|
const c = () => {
|
|
1235
1235
|
var f;
|
|
1236
1236
|
(f = n.current) == null || f.style.removeProperty("transform");
|
|
@@ -1240,7 +1240,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1240
1240
|
};
|
|
1241
1241
|
}, []);
|
|
1242
1242
|
}, ao = (n, o, { isEnabled: i = !0 } = {}) => {
|
|
1243
|
-
|
|
1243
|
+
he(() => {
|
|
1244
1244
|
if (!i)
|
|
1245
1245
|
return;
|
|
1246
1246
|
const s = (l) => {
|
|
@@ -1260,7 +1260,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1260
1260
|
return n;
|
|
1261
1261
|
}, Wn = (n, o) => {
|
|
1262
1262
|
const { registerOverlay: i, unregisterOverlay: s } = jr(), l = Le(null);
|
|
1263
|
-
return
|
|
1263
|
+
return he(() => {
|
|
1264
1264
|
if (!n)
|
|
1265
1265
|
return;
|
|
1266
1266
|
const c = i(o);
|
|
@@ -1273,7 +1273,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1273
1273
|
() => i.find((l) => l.id === n),
|
|
1274
1274
|
[i, n]
|
|
1275
1275
|
);
|
|
1276
|
-
return
|
|
1276
|
+
return he(() => {
|
|
1277
1277
|
if (!(!s || !o))
|
|
1278
1278
|
return s.addListener("keyup", o), () => {
|
|
1279
1279
|
s.removeListener("keyup", o);
|
|
@@ -1297,8 +1297,8 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1297
1297
|
}), []);
|
|
1298
1298
|
return Or(p, {
|
|
1299
1299
|
onMoveDrag: b
|
|
1300
|
-
}),
|
|
1301
|
-
}, []),
|
|
1300
|
+
}), he(() => {
|
|
1301
|
+
}, []), he(() => {
|
|
1302
1302
|
const v = p.current;
|
|
1303
1303
|
if (!v)
|
|
1304
1304
|
return;
|
|
@@ -1361,7 +1361,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1361
1361
|
isKeepAfterMount: l = !1
|
|
1362
1362
|
}) => {
|
|
1363
1363
|
const [c, f] = xt(s || o), g = Le(void 0);
|
|
1364
|
-
return
|
|
1364
|
+
return he(() => {
|
|
1365
1365
|
if (!(!o || s))
|
|
1366
1366
|
return clearTimeout(g.current), f(!0), () => {
|
|
1367
1367
|
l || (g.current = setTimeout(() => f(!1), i));
|
|
@@ -1389,7 +1389,7 @@ const Mn = /* @__PURE__ */ Er(Dn), Fn = ({
|
|
|
1389
1389
|
}) : n });
|
|
1390
1390
|
}, Yn = () => {
|
|
1391
1391
|
const [n, o] = xt([]);
|
|
1392
|
-
|
|
1392
|
+
he(() => {
|
|
1393
1393
|
if (!n.length)
|
|
1394
1394
|
return;
|
|
1395
1395
|
const l = (c) => {
|
|
@@ -1463,8 +1463,8 @@ tt.exports;
|
|
|
1463
1463
|
var pr;
|
|
1464
1464
|
function Vn() {
|
|
1465
1465
|
return pr || (pr = 1, function(n, o) {
|
|
1466
|
-
var i = 200, s = "__lodash_hash_undefined__", l = 800, c = 16, f = 9007199254740991, g = "[object Arguments]", p = "[object Array]", b = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", E = "[object Error]", j = "[object Function]", M = "[object GeneratorFunction]", W = "[object Map]", X = "[object Number]", z = "[object Null]", A = "[object Object]", me = "[object Proxy]",
|
|
1467
|
-
O[ue] = O[B] = O[U] = O[q] = O[le] = O[fe] = O[_e] = O[xe] = O[$e] = !0, O[g] = O[p] = O[ne] = O[v] = O[be] = O[y] = O[E] = O[j] = O[W] = O[X] = O[A] = O[
|
|
1466
|
+
var i = 200, s = "__lodash_hash_undefined__", l = 800, c = 16, f = 9007199254740991, g = "[object Arguments]", p = "[object Array]", b = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", E = "[object Error]", j = "[object Function]", M = "[object GeneratorFunction]", W = "[object Map]", X = "[object Number]", z = "[object Null]", A = "[object Object]", me = "[object Proxy]", ge = "[object RegExp]", x = "[object Set]", _ = "[object String]", C = "[object Undefined]", K = "[object WeakMap]", ne = "[object ArrayBuffer]", be = "[object DataView]", ue = "[object Float32Array]", B = "[object Float64Array]", U = "[object Int8Array]", q = "[object Int16Array]", le = "[object Int32Array]", fe = "[object Uint8Array]", _e = "[object Uint8ClampedArray]", xe = "[object Uint16Array]", $e = "[object Uint32Array]", ke = /[\\^$.*+?()[\]{}|]/g, Ce = /^\[object .+?Constructor\]$/, ve = /^(?:0|[1-9]\d*)$/, O = {};
|
|
1467
|
+
O[ue] = O[B] = O[U] = O[q] = O[le] = O[fe] = O[_e] = O[xe] = O[$e] = !0, O[g] = O[p] = O[ne] = O[v] = O[be] = O[y] = O[E] = O[j] = O[W] = O[X] = O[A] = O[ge] = O[x] = O[_] = O[K] = !1;
|
|
1468
1468
|
var He = typeof we == "object" && we && we.Object === Object && we, Ue = typeof self == "object" && self && self.Object === Object && self, Z = He || Ue || Function("return this")(), k = o && !o.nodeType && o, N = k && !0 && n && !n.nodeType && n, ee = N && N.exports === k, oe = ee && He.process, rt = function() {
|
|
1469
1469
|
try {
|
|
1470
1470
|
var e = N && N.require && N.require("util").types;
|
|
@@ -1510,7 +1510,7 @@ function Vn() {
|
|
|
1510
1510
|
"^" + Te.call(de).replace(ke, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1511
1511
|
), Fe = ee ? Z.Buffer : void 0, Ve = Z.Symbol, Ge = Z.Uint8Array;
|
|
1512
1512
|
Fe && Fe.allocUnsafe;
|
|
1513
|
-
var We = nt(Object.getPrototypeOf, Object), st = Object.create, Ct = Me.propertyIsEnumerable, Ot = ot.splice,
|
|
1513
|
+
var We = nt(Object.getPrototypeOf, Object), st = Object.create, Ct = Me.propertyIsEnumerable, Ot = ot.splice, ye = Ve ? Ve.toStringTag : void 0, ze = function() {
|
|
1514
1514
|
try {
|
|
1515
1515
|
var e = Mt(Object, "defineProperty");
|
|
1516
1516
|
return e({}, "", {}), e;
|
|
@@ -1679,7 +1679,7 @@ function Vn() {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
var V = Nr();
|
|
1681
1681
|
function Se(e) {
|
|
1682
|
-
return e == null ? e === void 0 ? C : z :
|
|
1682
|
+
return e == null ? e === void 0 ? C : z : ye && ye in Object(e) ? Yr(e) : Kr(e);
|
|
1683
1683
|
}
|
|
1684
1684
|
function ht(e) {
|
|
1685
1685
|
return Je(e) && Se(e) == g;
|
|
@@ -1790,21 +1790,21 @@ function Vn() {
|
|
|
1790
1790
|
return Dt(a) ? a : void 0;
|
|
1791
1791
|
}
|
|
1792
1792
|
function Yr(e) {
|
|
1793
|
-
var r = de.call(e,
|
|
1793
|
+
var r = de.call(e, ye), a = e[ye];
|
|
1794
1794
|
try {
|
|
1795
|
-
e[
|
|
1795
|
+
e[ye] = void 0;
|
|
1796
1796
|
var h = !0;
|
|
1797
1797
|
} catch {
|
|
1798
1798
|
}
|
|
1799
1799
|
var w = Be.call(e);
|
|
1800
|
-
return h && (r ? e[
|
|
1800
|
+
return h && (r ? e[ye] = a : delete e[ye]), w;
|
|
1801
1801
|
}
|
|
1802
1802
|
function Br(e) {
|
|
1803
1803
|
return typeof e.constructor == "function" && !Jt(e) ? Ke(We(e)) : {};
|
|
1804
1804
|
}
|
|
1805
1805
|
function Kt(e, r) {
|
|
1806
1806
|
var a = typeof e;
|
|
1807
|
-
return r = r ?? f, !!r && (a == "number" || a != "symbol" &&
|
|
1807
|
+
return r = r ?? f, !!r && (a == "number" || a != "symbol" && ve.test(e)) && e > -1 && e % 1 == 0 && e < r;
|
|
1808
1808
|
}
|
|
1809
1809
|
function Vr(e, r, a) {
|
|
1810
1810
|
if (!je(a))
|
|
@@ -1944,7 +1944,7 @@ const Xn = /* @__PURE__ */ Er(Gn), po = ({
|
|
|
1944
1944
|
}) => {
|
|
1945
1945
|
const i = Xt(cn), s = _t(() => Xn(i, n), [i, n]);
|
|
1946
1946
|
return /* @__PURE__ */ G.jsx(gr, { theme: s, ...o });
|
|
1947
|
-
}, ho = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: s }) => ({ isActive: l = !1 }) =>
|
|
1947
|
+
}, ho = ({ durationMs: n, timingFunction: o = "ease-in-out", extraProperties: i = [], activeClassName: s }) => ({ isActive: l = !1 }) => pe`
|
|
1948
1948
|
opacity: ${l ? 1 : 0};
|
|
1949
1949
|
visibility: ${l ? "visible" : "hidden"};
|
|
1950
1950
|
|
|
@@ -1952,10 +1952,12 @@ const Xn = /* @__PURE__ */ Er(Gn), po = ({
|
|
|
1952
1952
|
transition-duration: ${n}ms;
|
|
1953
1953
|
transition-timing-function: ${Array.isArray(o) ? o.join(", ") : o};
|
|
1954
1954
|
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1955
|
+
${s && pe`
|
|
1956
|
+
&.${s} {
|
|
1957
|
+
opacity: 1;
|
|
1958
|
+
visibility: visible;
|
|
1959
|
+
}
|
|
1960
|
+
`}
|
|
1959
1961
|
`;
|
|
1960
1962
|
export {
|
|
1961
1963
|
Et as HoneyBox,
|