@clicktap/ui 0.2.9 → 0.2.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/ContextMenu/ContextMenu.d.ts +1 -7
- package/index.js +1 -1
- package/index.mjs +128 -128
- package/package.json +2 -2
|
@@ -8,11 +8,5 @@ interface PopoverProps extends Omit<AriaPopoverProps, 'children'> {
|
|
|
8
8
|
setAnimation: Dispatch<SetStateAction<ContextMenuAnimationState>>;
|
|
9
9
|
key?: Key | null;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
export declare namespace ContextMenu {
|
|
13
|
-
var defaultProps: {
|
|
14
|
-
key: undefined;
|
|
15
|
-
onAction: undefined;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
11
|
+
export declare const ContextMenu: import("react").ForwardRefExoticComponent<PopoverProps & import("react").RefAttributes<HTMLElement>>;
|
|
18
12
|
export default ContextMenu;
|
package/index.js
CHANGED
|
@@ -404,7 +404,7 @@ Check the top-level render call using <`+j+">.")}return M}function kc(m,M){if(!(
|
|
|
404
404
|
background: ${({theme:e})=>{var t;return((t=e==null?void 0:e.colors)==null?void 0:t.white)??x.colors.white}};
|
|
405
405
|
border: 1px solid
|
|
406
406
|
${({theme:e})=>{var t,n;return((n=(t=e==null?void 0:e.colors)==null?void 0:t.slate)==null?void 0:n[300])??x.colors.slate[300]}};
|
|
407
|
-
|
|
407
|
+
`,t1=u.forwardRef(({children:e,key:t,onAction:n,setAnimation:r,animation:o="hidden",...i},a)=>S.jsx(a9,{ref:a,isExiting:o==="hidden",onAnimationComplete:s=>{r(l=>s==="hidden"&&l==="hidden"?"unmounted":l)},variants:{hidden:{opacity:0,y:-10},visible:{opacity:1,y:0}},initial:"hidden",animate:o,...i,children:S.jsx(Y8,{style:{outline:"none"},onAction:n,children:e})},t));t1.defaultProps={key:void 0,onAction:void 0};const s9=_.styled(K8)`
|
|
408
408
|
color: ${({theme:e})=>{var t,n;return((n=(t=e==null?void 0:e.colors)==null?void 0:t.slate)==null?void 0:n[900])??x.colors.slate[900]}};
|
|
409
409
|
`,l9=_.styled(H4)`
|
|
410
410
|
display: flex;
|
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as be, jsx as V, Fragment as nn } from "react/jsx-runtime";
|
|
2
2
|
import * as _n from "react";
|
|
3
|
-
import F, { useRef as j, useImperativeHandle as Hp, useState as re, useEffect as ee, useCallback as oe, useContext as Q, useMemo as Y, createContext as ae, useLayoutEffect as Jl, forwardRef as
|
|
3
|
+
import F, { useRef as j, useImperativeHandle as Hp, useState as re, useEffect as ee, useCallback as oe, useContext as Q, useMemo as Y, createContext as ae, useLayoutEffect as Jl, forwardRef as se, cloneElement as Pn, useInsertionEffect as Gp, Fragment as go, createElement as pe, useId as Tr, Component as K$, Children as mn, isValidElement as xr, useReducer as _$ } from "react";
|
|
4
4
|
import { styled as G, keyframes as et, createGlobalStyle as Wp, css as Gt } from "styled-components";
|
|
5
5
|
import Fo, { flushSync as Ql, createPortal as j$ } from "react-dom";
|
|
6
6
|
var z$ = () => /* @__PURE__ */ be(
|
|
@@ -405,8 +405,8 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
405
405
|
{
|
|
406
406
|
var U = K.ReactDebugCurrentFrame, J = U.getStackAddendum();
|
|
407
407
|
J !== "" && (T += "%s", _ = _.concat([J]));
|
|
408
|
-
var fe = _.map(function(
|
|
409
|
-
return String(
|
|
408
|
+
var fe = _.map(function(le) {
|
|
409
|
+
return String(le);
|
|
410
410
|
});
|
|
411
411
|
fe.unshift("Warning: " + T), Function.prototype.apply.call(console[b], console, fe);
|
|
412
412
|
}
|
|
@@ -542,9 +542,9 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
542
542
|
var U = b.displayName || null;
|
|
543
543
|
return U !== null ? U : we(b.type) || "Memo";
|
|
544
544
|
case h: {
|
|
545
|
-
var J = b, fe = J._payload,
|
|
545
|
+
var J = b, fe = J._payload, le = J._init;
|
|
546
546
|
try {
|
|
547
|
-
return we(
|
|
547
|
+
return we(le(fe));
|
|
548
548
|
} catch {
|
|
549
549
|
return null;
|
|
550
550
|
}
|
|
@@ -599,13 +599,13 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
599
599
|
Sn[T] || (E('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', T, b.ref), Sn[T] = !0);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
var qe = function(b, T, _, U, J, fe,
|
|
602
|
+
var qe = function(b, T, _, U, J, fe, le) {
|
|
603
603
|
var he = {
|
|
604
604
|
$$typeof: r,
|
|
605
605
|
type: b,
|
|
606
606
|
key: T,
|
|
607
607
|
ref: _,
|
|
608
|
-
props:
|
|
608
|
+
props: le,
|
|
609
609
|
_owner: fe
|
|
610
610
|
};
|
|
611
611
|
return he._store = {}, Object.defineProperty(he._store, "validated", {
|
|
@@ -626,9 +626,9 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
626
626
|
}), Object.freeze && (Object.freeze(he.props), Object.freeze(he)), he;
|
|
627
627
|
};
|
|
628
628
|
function Ur(b, T, _) {
|
|
629
|
-
var U, J = {}, fe = null,
|
|
629
|
+
var U, J = {}, fe = null, le = null, he = null, De = null;
|
|
630
630
|
if (T != null) {
|
|
631
|
-
Bt(T) && (
|
|
631
|
+
Bt(T) && (le = T.ref, Ha(T)), zr(T) && (cn(T.key), fe = "" + T.key), he = T.__self === void 0 ? null : T.__self, De = T.__source === void 0 ? null : T.__source;
|
|
632
632
|
for (U in T)
|
|
633
633
|
ke.call(T, U) && !Xo.hasOwnProperty(U) && (J[U] = T[U]);
|
|
634
634
|
}
|
|
@@ -645,11 +645,11 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
645
645
|
for (U in Re)
|
|
646
646
|
J[U] === void 0 && (J[U] = Re[U]);
|
|
647
647
|
}
|
|
648
|
-
if (fe ||
|
|
648
|
+
if (fe || le) {
|
|
649
649
|
var Ke = typeof b == "function" ? b.displayName || b.name || "Unknown" : b;
|
|
650
|
-
fe && Jo(J, Ke),
|
|
650
|
+
fe && Jo(J, Ke), le && Ua(J, Ke);
|
|
651
651
|
}
|
|
652
|
-
return qe(b, fe,
|
|
652
|
+
return qe(b, fe, le, he, De, A.current, J);
|
|
653
653
|
}
|
|
654
654
|
function j1(b, T) {
|
|
655
655
|
var _ = qe(b.type, T, b.ref, b._self, b._source, b._owner, b.props);
|
|
@@ -658,9 +658,9 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
658
658
|
function z1(b, T, _) {
|
|
659
659
|
if (b == null)
|
|
660
660
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + b + ".");
|
|
661
|
-
var U, J = O({}, b.props), fe = b.key,
|
|
661
|
+
var U, J = O({}, b.props), fe = b.key, le = b.ref, he = b._self, De = b._source, Se = b._owner;
|
|
662
662
|
if (T != null) {
|
|
663
|
-
Bt(T) && (
|
|
663
|
+
Bt(T) && (le = T.ref, Se = A.current), zr(T) && (cn(T.key), fe = "" + T.key);
|
|
664
664
|
var Fe;
|
|
665
665
|
b.type && b.type.defaultProps && (Fe = b.type.defaultProps);
|
|
666
666
|
for (U in T)
|
|
@@ -674,7 +674,7 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
674
674
|
Re[Ke] = arguments[Ke + 2];
|
|
675
675
|
J.children = Re;
|
|
676
676
|
}
|
|
677
|
-
return qe(b.type, fe,
|
|
677
|
+
return qe(b.type, fe, le, he, De, Se, J);
|
|
678
678
|
}
|
|
679
679
|
function tr(b) {
|
|
680
680
|
return typeof b == "object" && b !== null && b.$$typeof === r;
|
|
@@ -699,23 +699,23 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
699
699
|
function Qo(b, T, _, U, J) {
|
|
700
700
|
var fe = typeof b;
|
|
701
701
|
(fe === "undefined" || fe === "boolean") && (b = null);
|
|
702
|
-
var
|
|
702
|
+
var le = !1;
|
|
703
703
|
if (b === null)
|
|
704
|
-
|
|
704
|
+
le = !0;
|
|
705
705
|
else
|
|
706
706
|
switch (fe) {
|
|
707
707
|
case "string":
|
|
708
708
|
case "number":
|
|
709
|
-
|
|
709
|
+
le = !0;
|
|
710
710
|
break;
|
|
711
711
|
case "object":
|
|
712
712
|
switch (b.$$typeof) {
|
|
713
713
|
case r:
|
|
714
714
|
case o:
|
|
715
|
-
|
|
715
|
+
le = !0;
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
|
-
if (
|
|
718
|
+
if (le) {
|
|
719
719
|
var he = b, De = J(he), Se = U === "" ? Mc + Ga(he, 0) : U;
|
|
720
720
|
if (tt(De)) {
|
|
721
721
|
var Fe = "";
|
|
@@ -802,32 +802,32 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
802
802
|
get: function() {
|
|
803
803
|
return U || (U = !0, E("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), T.Provider;
|
|
804
804
|
},
|
|
805
|
-
set: function(
|
|
806
|
-
T.Provider =
|
|
805
|
+
set: function(le) {
|
|
806
|
+
T.Provider = le;
|
|
807
807
|
}
|
|
808
808
|
},
|
|
809
809
|
_currentValue: {
|
|
810
810
|
get: function() {
|
|
811
811
|
return T._currentValue;
|
|
812
812
|
},
|
|
813
|
-
set: function(
|
|
814
|
-
T._currentValue =
|
|
813
|
+
set: function(le) {
|
|
814
|
+
T._currentValue = le;
|
|
815
815
|
}
|
|
816
816
|
},
|
|
817
817
|
_currentValue2: {
|
|
818
818
|
get: function() {
|
|
819
819
|
return T._currentValue2;
|
|
820
820
|
},
|
|
821
|
-
set: function(
|
|
822
|
-
T._currentValue2 =
|
|
821
|
+
set: function(le) {
|
|
822
|
+
T._currentValue2 = le;
|
|
823
823
|
}
|
|
824
824
|
},
|
|
825
825
|
_threadCount: {
|
|
826
826
|
get: function() {
|
|
827
827
|
return T._threadCount;
|
|
828
828
|
},
|
|
829
|
-
set: function(
|
|
830
|
-
T._threadCount =
|
|
829
|
+
set: function(le) {
|
|
830
|
+
T._threadCount = le;
|
|
831
831
|
}
|
|
832
832
|
},
|
|
833
833
|
Consumer: {
|
|
@@ -839,8 +839,8 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
839
839
|
get: function() {
|
|
840
840
|
return T.displayName;
|
|
841
841
|
},
|
|
842
|
-
set: function(
|
|
843
|
-
J || (L("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",
|
|
842
|
+
set: function(le) {
|
|
843
|
+
J || (L("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", le), J = !0);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
846
846
|
}), T.Consumer = fe;
|
|
@@ -853,13 +853,13 @@ var J$ = Object.create, Zp = Object.defineProperty, Q$ = Object.getOwnPropertyDe
|
|
|
853
853
|
var T = b._result, _ = T();
|
|
854
854
|
if (_.then(function(fe) {
|
|
855
855
|
if (b._status === Wa || b._status === Hr) {
|
|
856
|
-
var
|
|
857
|
-
|
|
856
|
+
var le = b;
|
|
857
|
+
le._status = Rc, le._result = fe;
|
|
858
858
|
}
|
|
859
859
|
}, function(fe) {
|
|
860
860
|
if (b._status === Wa || b._status === Hr) {
|
|
861
|
-
var
|
|
862
|
-
|
|
861
|
+
var le = b;
|
|
862
|
+
le._status = J1, le._result = fe;
|
|
863
863
|
}
|
|
864
864
|
}), b._status === Hr) {
|
|
865
865
|
var U = b;
|
|
@@ -1137,27 +1137,27 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1137
1137
|
fe = Ya.current, Ya.current = null, v$();
|
|
1138
1138
|
try {
|
|
1139
1139
|
if (T) {
|
|
1140
|
-
var
|
|
1140
|
+
var le = function() {
|
|
1141
1141
|
throw Error();
|
|
1142
1142
|
};
|
|
1143
|
-
if (Object.defineProperty(
|
|
1143
|
+
if (Object.defineProperty(le.prototype, "props", {
|
|
1144
1144
|
set: function() {
|
|
1145
1145
|
throw Error();
|
|
1146
1146
|
}
|
|
1147
1147
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1148
1148
|
try {
|
|
1149
|
-
Reflect.construct(
|
|
1149
|
+
Reflect.construct(le, []);
|
|
1150
1150
|
} catch (Ze) {
|
|
1151
1151
|
U = Ze;
|
|
1152
1152
|
}
|
|
1153
|
-
Reflect.construct(b, [],
|
|
1153
|
+
Reflect.construct(b, [], le);
|
|
1154
1154
|
} else {
|
|
1155
1155
|
try {
|
|
1156
|
-
|
|
1156
|
+
le.call();
|
|
1157
1157
|
} catch (Ze) {
|
|
1158
1158
|
U = Ze;
|
|
1159
1159
|
}
|
|
1160
|
-
b.call(
|
|
1160
|
+
b.call(le.prototype);
|
|
1161
1161
|
}
|
|
1162
1162
|
} else {
|
|
1163
1163
|
try {
|
|
@@ -1239,19 +1239,19 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1239
1239
|
function D$(b, T, _, U, J) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var fe = Function.call.bind(ke);
|
|
1242
|
-
for (var
|
|
1243
|
-
if (fe(b,
|
|
1242
|
+
for (var le in b)
|
|
1243
|
+
if (fe(b, le)) {
|
|
1244
1244
|
var he = void 0;
|
|
1245
1245
|
try {
|
|
1246
|
-
if (typeof b[
|
|
1247
|
-
var De = Error((U || "React class") + ": " + _ + " type `" +
|
|
1246
|
+
if (typeof b[le] != "function") {
|
|
1247
|
+
var De = Error((U || "React class") + ": " + _ + " type `" + le + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof b[le] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1248
1248
|
throw De.name = "Invariant Violation", De;
|
|
1249
1249
|
}
|
|
1250
|
-
he = b[
|
|
1250
|
+
he = b[le](T, le, U, _, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1251
1251
|
} catch (Se) {
|
|
1252
1252
|
he = Se;
|
|
1253
1253
|
}
|
|
1254
|
-
he && !(he instanceof Error) && (oi(J), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", U || "React class", _,
|
|
1254
|
+
he && !(he instanceof Error) && (oi(J), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", U || "React class", _, le, typeof he), oi(null)), he instanceof Error && !(he.message in Gc) && (Gc[he.message] = !0, oi(J), E("Failed %s type: %s", _, he.message), oi(null));
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
@@ -1320,8 +1320,8 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
1320
1320
|
else if (b) {
|
|
1321
1321
|
var J = w(b);
|
|
1322
1322
|
if (typeof J == "function" && J !== b.entries)
|
|
1323
|
-
for (var fe = J.call(b),
|
|
1324
|
-
tr(
|
|
1323
|
+
for (var fe = J.call(b), le; !(le = fe.next()).done; )
|
|
1324
|
+
tr(le.value) && Zc(le.value, T);
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
@@ -1367,8 +1367,8 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
1367
1367
|
(b === void 0 || typeof b == "object" && b !== null && Object.keys(b).length === 0) && (J += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1368
1368
|
var fe = P$(T);
|
|
1369
1369
|
fe ? J += fe : J += Yc();
|
|
1370
|
-
var
|
|
1371
|
-
b === null ?
|
|
1370
|
+
var le;
|
|
1371
|
+
b === null ? le = "null" : tt(b) ? le = "array" : b !== void 0 && b.$$typeof === r ? (le = "<" + (we(b.type) || "Unknown") + " />", J = " Did you accidentally export a JSX literal instead of a component?") : le = typeof b, E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, J);
|
|
1372
1372
|
}
|
|
1373
1373
|
var he = Ur.apply(this, arguments);
|
|
1374
1374
|
if (he == null)
|
|
@@ -1441,9 +1441,9 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
1441
1441
|
P.isBatchingLegacy = _;
|
|
1442
1442
|
}
|
|
1443
1443
|
if (U !== null && typeof U == "object" && typeof U.then == "function") {
|
|
1444
|
-
var fe = U,
|
|
1444
|
+
var fe = U, le = !1, he = {
|
|
1445
1445
|
then: function(Re, Ke) {
|
|
1446
|
-
|
|
1446
|
+
le = !0, fe.then(function(Ze) {
|
|
1447
1447
|
ai(T), rr === 0 ? Ja(Ze, Re, Ke) : Re(Ze);
|
|
1448
1448
|
}, function(Ze) {
|
|
1449
1449
|
ai(T), Ke(Ze);
|
|
@@ -1452,7 +1452,7 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
1452
1452
|
};
|
|
1453
1453
|
return !nd && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1454
1454
|
}).then(function() {
|
|
1455
|
-
|
|
1455
|
+
le || (nd = !0, E("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
1456
1456
|
}), he;
|
|
1457
1457
|
} else {
|
|
1458
1458
|
var De = U;
|
|
@@ -9920,7 +9920,7 @@ function jx(e, t, n) {
|
|
|
9920
9920
|
};
|
|
9921
9921
|
}
|
|
9922
9922
|
function Ca(e) {
|
|
9923
|
-
return
|
|
9923
|
+
return se(e);
|
|
9924
9924
|
}
|
|
9925
9925
|
var eb = (e, t, n = !0) => {
|
|
9926
9926
|
if (!t)
|
|
@@ -10958,7 +10958,7 @@ function o6({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
10958
10958
|
}
|
|
10959
10959
|
return be(Pa.Provider, { value: f, children: [c && f.visualElement ? V(c, { visualElement: f.visualElement, ...u }) : null, n(o, s, e6(p, f.visualElement, l), p, d, f.visualElement)] });
|
|
10960
10960
|
}
|
|
10961
|
-
const a =
|
|
10961
|
+
const a = se(i);
|
|
10962
10962
|
return a[r6] = o, a;
|
|
10963
10963
|
}
|
|
10964
10964
|
function i6({ layoutId: e }) {
|
|
@@ -23558,7 +23558,7 @@ function rP(e, t) {
|
|
|
23558
23558
|
"data-disabled": e.isDisabled || void 0
|
|
23559
23559
|
}, u.children);
|
|
23560
23560
|
}
|
|
23561
|
-
const Na = /* @__PURE__ */
|
|
23561
|
+
const Na = /* @__PURE__ */ se(rP), oP = /* @__PURE__ */ ae(null);
|
|
23562
23562
|
function iP(e, t) {
|
|
23563
23563
|
[e, t] = Ee(e, t, oP);
|
|
23564
23564
|
let { portal: n, collection: r } = hc(e);
|
|
@@ -23588,11 +23588,11 @@ function aP({ props: e, collection: t, breadcrumbsRef: n }) {
|
|
|
23588
23588
|
onAction: e.onAction
|
|
23589
23589
|
})));
|
|
23590
23590
|
}
|
|
23591
|
-
const sP = /* @__PURE__ */
|
|
23591
|
+
const sP = /* @__PURE__ */ se(iP);
|
|
23592
23592
|
function lP(e, t) {
|
|
23593
23593
|
return La("item", e, t, e.children);
|
|
23594
23594
|
}
|
|
23595
|
-
const t1 = /* @__PURE__ */
|
|
23595
|
+
const t1 = /* @__PURE__ */ se(lP);
|
|
23596
23596
|
function uP({ node: e, isCurrent: t, isDisabled: n, onAction: r }) {
|
|
23597
23597
|
let o = {
|
|
23598
23598
|
"aria-current": t ? "page" : null,
|
|
@@ -23657,7 +23657,7 @@ function pP(e, t) {
|
|
|
23657
23657
|
ref: t
|
|
23658
23658
|
});
|
|
23659
23659
|
}
|
|
23660
|
-
const Or = /* @__PURE__ */
|
|
23660
|
+
const Or = /* @__PURE__ */ se(pP), Xn = /* @__PURE__ */ ae(null);
|
|
23661
23661
|
function hP(e, t) {
|
|
23662
23662
|
let n = Q(Xn);
|
|
23663
23663
|
return n != null && n.isInvalid ? /* @__PURE__ */ F.createElement(bP, {
|
|
@@ -23665,7 +23665,7 @@ function hP(e, t) {
|
|
|
23665
23665
|
ref: t
|
|
23666
23666
|
}) : null;
|
|
23667
23667
|
}
|
|
23668
|
-
const Uo = /* @__PURE__ */
|
|
23668
|
+
const Uo = /* @__PURE__ */ se(hP), bP = /* @__PURE__ */ se((e, t) => {
|
|
23669
23669
|
let n = Q(Xn), r = Ce({
|
|
23670
23670
|
...e,
|
|
23671
23671
|
defaultClassName: "react-aria-FieldError",
|
|
@@ -23745,7 +23745,7 @@ function yP(e, t) {
|
|
|
23745
23745
|
ref: n
|
|
23746
23746
|
})), w.children);
|
|
23747
23747
|
}
|
|
23748
|
-
const $P = /* @__PURE__ */
|
|
23748
|
+
const $P = /* @__PURE__ */ se(yP), Nr = /* @__PURE__ */ ae({});
|
|
23749
23749
|
function xP(e, t) {
|
|
23750
23750
|
[e, t] = Ee(e, t, Nr);
|
|
23751
23751
|
let { isDisabled: n, isInvalid: r, onHoverStart: o, onHoverChange: i, onHoverEnd: a, ...s } = e, { hoverProps: l, isHovered: c } = ze({
|
|
@@ -23782,7 +23782,7 @@ function xP(e, t) {
|
|
|
23782
23782
|
"data-invalid": r || void 0
|
|
23783
23783
|
}, p.children);
|
|
23784
23784
|
}
|
|
23785
|
-
const vc = /* @__PURE__ */
|
|
23785
|
+
const vc = /* @__PURE__ */ se(xP), Jn = /* @__PURE__ */ ae({});
|
|
23786
23786
|
let wP = (e) => {
|
|
23787
23787
|
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...o } = e;
|
|
23788
23788
|
return o;
|
|
@@ -23819,7 +23819,7 @@ function CP(e, t) {
|
|
|
23819
23819
|
let { render: n } = Q(r1);
|
|
23820
23820
|
return /* @__PURE__ */ F.createElement(F.Fragment, null, n(e, t));
|
|
23821
23821
|
}
|
|
23822
|
-
const PP = /* @__PURE__ */
|
|
23822
|
+
const PP = /* @__PURE__ */ se(CP), yc = /* @__PURE__ */ ae({}), EP = /* @__PURE__ */ ae({});
|
|
23823
23823
|
function SP(e, t) {
|
|
23824
23824
|
let [n, r] = Ee(e, t, EP), o = X4("header", e, t);
|
|
23825
23825
|
return o || /* @__PURE__ */ F.createElement("header", {
|
|
@@ -23828,7 +23828,7 @@ function SP(e, t) {
|
|
|
23828
23828
|
ref: r
|
|
23829
23829
|
}, n.children);
|
|
23830
23830
|
}
|
|
23831
|
-
const o1 = /* @__PURE__ */
|
|
23831
|
+
const o1 = /* @__PURE__ */ se(SP), $c = /* @__PURE__ */ ae({});
|
|
23832
23832
|
function TP(e, t) {
|
|
23833
23833
|
let [n, r] = Ee(e, t, $c), { elementType: o, orientation: i, style: a, className: s } = n, l = o || "hr";
|
|
23834
23834
|
l === "hr" && i === "vertical" && (l = "div");
|
|
@@ -23845,7 +23845,7 @@ function TP(e, t) {
|
|
|
23845
23845
|
slot: n.slot || void 0
|
|
23846
23846
|
});
|
|
23847
23847
|
}
|
|
23848
|
-
const i1 = /* @__PURE__ */
|
|
23848
|
+
const i1 = /* @__PURE__ */ se(TP), Ka = /* @__PURE__ */ ae(null), Go = /* @__PURE__ */ ae(null);
|
|
23849
23849
|
function AP(e, t) {
|
|
23850
23850
|
[e, t] = Ee(e, t, Ka);
|
|
23851
23851
|
let n = Q(ko), r = Q(Go);
|
|
@@ -23873,7 +23873,7 @@ function kP({ props: e, listBoxRef: t }) {
|
|
|
23873
23873
|
listBoxRef: t
|
|
23874
23874
|
}));
|
|
23875
23875
|
}
|
|
23876
|
-
const MP = /* @__PURE__ */
|
|
23876
|
+
const MP = /* @__PURE__ */ se(AP);
|
|
23877
23877
|
function a1({ state: e, props: t, listBoxRef: n }) {
|
|
23878
23878
|
let { dragAndDropHooks: r, layout: o = "stack", orientation: i = "vertical" } = t, { collection: a, selectionManager: s } = e, l = !!(r != null && r.useDraggableCollectionState), c = !!(r != null && r.useDroppableCollectionState), { direction: u } = We(), { disabledBehavior: d, disabledKeys: f } = s, p = wu({
|
|
23879
23879
|
usage: "search",
|
|
@@ -24064,7 +24064,7 @@ function BP({ item: e, headingProps: t, headingRef: n }) {
|
|
|
24064
24064
|
function RP(e, t) {
|
|
24065
24065
|
return La("item", e, t, e.children);
|
|
24066
24066
|
}
|
|
24067
|
-
const IP = /* @__PURE__ */
|
|
24067
|
+
const IP = /* @__PURE__ */ se(RP);
|
|
24068
24068
|
function s1({ item: e }) {
|
|
24069
24069
|
var t;
|
|
24070
24070
|
let n = St(e.props.ref), r = Q(Go), { dragAndDropHooks: o, dragState: i, dropState: a } = Q(yc), { optionProps: s, labelProps: l, descriptionProps: c, ...u } = L8({
|
|
@@ -24170,7 +24170,7 @@ function VP(e, t) {
|
|
|
24170
24170
|
"data-drop-target": r || void 0
|
|
24171
24171
|
});
|
|
24172
24172
|
}
|
|
24173
|
-
const OP = /* @__PURE__ */
|
|
24173
|
+
const OP = /* @__PURE__ */ se(VP), NP = /* @__PURE__ */ ae({
|
|
24174
24174
|
placement: "bottom"
|
|
24175
24175
|
}), Er = /* @__PURE__ */ ae(null);
|
|
24176
24176
|
function KP(e, t) {
|
|
@@ -24193,7 +24193,7 @@ function KP(e, t) {
|
|
|
24193
24193
|
isExiting: i
|
|
24194
24194
|
});
|
|
24195
24195
|
}
|
|
24196
|
-
const l1 = /* @__PURE__ */
|
|
24196
|
+
const l1 = /* @__PURE__ */ se(KP);
|
|
24197
24197
|
function _P({ state: e, isExiting: t, UNSTABLE_portalContainer: n, ...r }) {
|
|
24198
24198
|
var o;
|
|
24199
24199
|
let { popoverProps: i, underlayProps: a, arrowProps: s, placement: l } = _x({
|
|
@@ -24282,7 +24282,7 @@ function zP(e, t) {
|
|
|
24282
24282
|
]
|
|
24283
24283
|
}, a));
|
|
24284
24284
|
}
|
|
24285
|
-
const u1 = /* @__PURE__ */
|
|
24285
|
+
const u1 = /* @__PURE__ */ se(zP), UP = /* @__PURE__ */ ae(null), HP = /* @__PURE__ */ ae(null);
|
|
24286
24286
|
function GP(e, t) {
|
|
24287
24287
|
[e, t] = Ee(e, t, UP);
|
|
24288
24288
|
let { collection: n, document: r } = bc(), { children: o, isDisabled: i = !1, isInvalid: a = !1, isRequired: s = !1 } = e;
|
|
@@ -24466,7 +24466,7 @@ function WP({ props: e, collection: t, comboBoxRef: n }) {
|
|
|
24466
24466
|
value: l.selectedKey
|
|
24467
24467
|
}));
|
|
24468
24468
|
}
|
|
24469
|
-
const YP = /* @__PURE__ */
|
|
24469
|
+
const YP = /* @__PURE__ */ se(GP), c1 = /* @__PURE__ */ ae(null), qP = /* @__PURE__ */ ae(null), Wo = /* @__PURE__ */ ae(null), _a = /* @__PURE__ */ ae(null);
|
|
24470
24470
|
function ZP(e, t) {
|
|
24471
24471
|
[e, t] = Ee(e, t, c1);
|
|
24472
24472
|
let { locale: n } = We();
|
|
@@ -24543,7 +24543,7 @@ function ZP(e, t) {
|
|
|
24543
24543
|
"data-invalid": o.isInvalid || void 0
|
|
24544
24544
|
}));
|
|
24545
24545
|
}
|
|
24546
|
-
const XP = /* @__PURE__ */
|
|
24546
|
+
const XP = /* @__PURE__ */ se(ZP);
|
|
24547
24547
|
function JP(e, t) {
|
|
24548
24548
|
[e, t] = Ee(e, t, qP);
|
|
24549
24549
|
let { locale: n } = We();
|
|
@@ -24619,7 +24619,7 @@ function JP(e, t) {
|
|
|
24619
24619
|
"data-invalid": o.isInvalid || void 0
|
|
24620
24620
|
}));
|
|
24621
24621
|
}
|
|
24622
|
-
const QP = /* @__PURE__ */
|
|
24622
|
+
const QP = /* @__PURE__ */ se(JP);
|
|
24623
24623
|
function eE(e, t) {
|
|
24624
24624
|
let n = Q(Wo), r = Q(_a);
|
|
24625
24625
|
return n || r ? /* @__PURE__ */ F.createElement(d1, {
|
|
@@ -24630,7 +24630,7 @@ function eE(e, t) {
|
|
|
24630
24630
|
ref: t
|
|
24631
24631
|
});
|
|
24632
24632
|
}
|
|
24633
|
-
const tE = /* @__PURE__ */
|
|
24633
|
+
const tE = /* @__PURE__ */ se((e, t) => {
|
|
24634
24634
|
let [n, r] = Ee({
|
|
24635
24635
|
slot: e.slot
|
|
24636
24636
|
}, t, c1), { locale: o } = We(), i = fc({
|
|
@@ -24664,7 +24664,7 @@ const tE = /* @__PURE__ */ le((e, t) => {
|
|
|
24664
24664
|
]
|
|
24665
24665
|
]
|
|
24666
24666
|
}, /* @__PURE__ */ F.createElement(d1, e));
|
|
24667
|
-
}), d1 = /* @__PURE__ */
|
|
24667
|
+
}), d1 = /* @__PURE__ */ se((e, t) => {
|
|
24668
24668
|
let { className: n, children: r } = e, o = Q(Wo), i = Q(_a), a = o ?? i;
|
|
24669
24669
|
return /* @__PURE__ */ F.createElement(F.Fragment, null, /* @__PURE__ */ F.createElement(vc, {
|
|
24670
24670
|
...e,
|
|
@@ -24675,7 +24675,7 @@ const tE = /* @__PURE__ */ le((e, t) => {
|
|
|
24675
24675
|
}, a.segments.map((s, l) => /* @__PURE__ */ Pn(r(s), {
|
|
24676
24676
|
key: l
|
|
24677
24677
|
}))), /* @__PURE__ */ F.createElement(Ho, null));
|
|
24678
|
-
}), f1 = /* @__PURE__ */
|
|
24678
|
+
}), f1 = /* @__PURE__ */ se(eE);
|
|
24679
24679
|
function nE({ segment: e, ...t }, n) {
|
|
24680
24680
|
let r = Q(Wo), o = Q(_a), i = r ?? o, a = St(n), { segmentProps: s } = tC(e, i, a), { focusProps: l, isFocused: c, isFocusVisible: u } = it(), { hoverProps: d, isHovered: f } = ze({
|
|
24681
24681
|
...t,
|
|
@@ -24708,7 +24708,7 @@ function nE({ segment: e, ...t }, n) {
|
|
|
24708
24708
|
"data-focus-visible": u || void 0
|
|
24709
24709
|
});
|
|
24710
24710
|
}
|
|
24711
|
-
const p1 = /* @__PURE__ */
|
|
24711
|
+
const p1 = /* @__PURE__ */ se(nE), h1 = /* @__PURE__ */ ae({}), b1 = /* @__PURE__ */ ae(null), Yo = /* @__PURE__ */ ae(null), m1 = /* @__PURE__ */ ae(null);
|
|
24712
24712
|
function g1(e) {
|
|
24713
24713
|
let { item: t, parentMenuRef: n } = e, r = Q(Yo);
|
|
24714
24714
|
return Vr({
|
|
@@ -24811,7 +24811,7 @@ function oE({ props: e, collection: t, menuRef: n }) {
|
|
|
24811
24811
|
}
|
|
24812
24812
|
}));
|
|
24813
24813
|
}
|
|
24814
|
-
const iE = /* @__PURE__ */
|
|
24814
|
+
const iE = /* @__PURE__ */ se(rE);
|
|
24815
24815
|
function aE({ section: e, className: t, style: n, parentMenuRef: r, ...o }) {
|
|
24816
24816
|
var i, a;
|
|
24817
24817
|
let s = Q(Yo), [l, c] = kt();
|
|
@@ -25011,7 +25011,7 @@ function uE(e, t) {
|
|
|
25011
25011
|
}
|
|
25012
25012
|
}, u.children));
|
|
25013
25013
|
}
|
|
25014
|
-
const cE = /* @__PURE__ */
|
|
25014
|
+
const cE = /* @__PURE__ */ se(uE), dE = /* @__PURE__ */ ae(null), xc = /* @__PURE__ */ ae(null);
|
|
25015
25015
|
function fE(e, t) {
|
|
25016
25016
|
if (Q(xc))
|
|
25017
25017
|
return /* @__PURE__ */ F.createElement(Bp, {
|
|
@@ -25033,7 +25033,7 @@ function fE(e, t) {
|
|
|
25033
25033
|
modalRef: t
|
|
25034
25034
|
}, l));
|
|
25035
25035
|
}
|
|
25036
|
-
const pE = /* @__PURE__ */
|
|
25036
|
+
const pE = /* @__PURE__ */ se(fE);
|
|
25037
25037
|
function hE(e, t) {
|
|
25038
25038
|
[e, t] = Ee(e, t, dE);
|
|
25039
25039
|
let n = Q(Qn), r = Ia(e), o = e.isOpen != null || e.defaultOpen != null || !n ? r : n, i = St(t), a = j(null), s = Kl(i, o.isOpen), l = Kl(a, o.isOpen), c = s || l || e.isExiting || !1, u = Kt();
|
|
@@ -25045,7 +25045,7 @@ function hE(e, t) {
|
|
|
25045
25045
|
modalRef: a
|
|
25046
25046
|
});
|
|
25047
25047
|
}
|
|
25048
|
-
const y1 = /* @__PURE__ */
|
|
25048
|
+
const y1 = /* @__PURE__ */ se(hE);
|
|
25049
25049
|
function bE({ UNSTABLE_portalContainer: e, ...t }) {
|
|
25050
25050
|
let n = t.modalRef, { state: r } = t, { modalProps: o, underlayProps: i } = jx(t, r, n), a = mc(t.overlayRef) || t.isEntering || !1, s = Ce({
|
|
25051
25051
|
...t,
|
|
@@ -25194,7 +25194,7 @@ function vE(e, t) {
|
|
|
25194
25194
|
value: isNaN(o.numberValue) ? "" : o.numberValue
|
|
25195
25195
|
}));
|
|
25196
25196
|
}
|
|
25197
|
-
const yE = /* @__PURE__ */
|
|
25197
|
+
const yE = /* @__PURE__ */ se(vE), $E = /* @__PURE__ */ ae(null);
|
|
25198
25198
|
function xE(e, t) {
|
|
25199
25199
|
[e, t] = Ee(e, t, $E);
|
|
25200
25200
|
let { value: n = 0, minValue: r = 0, maxValue: o = 100, isIndeterminate: i = !1 } = e;
|
|
@@ -25224,7 +25224,7 @@ function xE(e, t) {
|
|
|
25224
25224
|
}
|
|
25225
25225
|
}, d.children));
|
|
25226
25226
|
}
|
|
25227
|
-
const $1 = /* @__PURE__ */
|
|
25227
|
+
const $1 = /* @__PURE__ */ se(xE), wE = /* @__PURE__ */ ae(null), ja = /* @__PURE__ */ ae(null), wc = /* @__PURE__ */ ae(null), x1 = /* @__PURE__ */ ae(null);
|
|
25228
25228
|
function DE(e, t) {
|
|
25229
25229
|
[e, t] = Ee(e, t, wE);
|
|
25230
25230
|
let n = j(null), r = ra(e.formatOptions), o = OC({
|
|
@@ -25277,7 +25277,7 @@ function DE(e, t) {
|
|
|
25277
25277
|
"data-disabled": o.isDisabled || void 0
|
|
25278
25278
|
}));
|
|
25279
25279
|
}
|
|
25280
|
-
const CE = /* @__PURE__ */
|
|
25280
|
+
const CE = /* @__PURE__ */ se(DE);
|
|
25281
25281
|
function PE(e, t) {
|
|
25282
25282
|
[e, t] = Ee(e, t, x1);
|
|
25283
25283
|
let { children: n, style: r, className: o, ...i } = e, a = Q(ja), s = Ce({
|
|
@@ -25300,7 +25300,7 @@ function PE(e, t) {
|
|
|
25300
25300
|
"data-disabled": a.isDisabled || void 0
|
|
25301
25301
|
});
|
|
25302
25302
|
}
|
|
25303
|
-
const EE = /* @__PURE__ */
|
|
25303
|
+
const EE = /* @__PURE__ */ se(PE);
|
|
25304
25304
|
function SE(e, t) {
|
|
25305
25305
|
[e, t] = Ee(e, t, wc);
|
|
25306
25306
|
let n = Q(ja), { onHoverStart: r, onHoverEnd: o, onHoverChange: i, ...a } = e, { hoverProps: s, isHovered: l } = ze({
|
|
@@ -25326,7 +25326,7 @@ function SE(e, t) {
|
|
|
25326
25326
|
"data-disabled": n.isDisabled || void 0
|
|
25327
25327
|
});
|
|
25328
25328
|
}
|
|
25329
|
-
const TE = /* @__PURE__ */
|
|
25329
|
+
const TE = /* @__PURE__ */ se(SE);
|
|
25330
25330
|
function AE(e, t) {
|
|
25331
25331
|
let n = Q(ja), { ref: r } = Va(wc), { index: o = 0 } = e, i = j(null), [a, s] = kt(), { thumbProps: l, inputProps: c, labelProps: u, isDragging: d, isFocused: f, isDisabled: p } = lC({
|
|
25332
25332
|
...e,
|
|
@@ -25374,7 +25374,7 @@ function AE(e, t) {
|
|
|
25374
25374
|
]
|
|
25375
25375
|
}, w.children));
|
|
25376
25376
|
}
|
|
25377
|
-
const kE = /* @__PURE__ */
|
|
25377
|
+
const kE = /* @__PURE__ */ se(AE), ME = /* @__PURE__ */ ae(null);
|
|
25378
25378
|
function FE(e, t) {
|
|
25379
25379
|
[e, t] = Ee(e, t, ME);
|
|
25380
25380
|
let n = j(null), r = Fa(e), { labelProps: o, inputProps: i, isSelected: a, isDisabled: s, isReadOnly: l, isPressed: c } = uC({
|
|
@@ -25417,7 +25417,7 @@ function FE(e, t) {
|
|
|
25417
25417
|
ref: n
|
|
25418
25418
|
})), v.children);
|
|
25419
25419
|
}
|
|
25420
|
-
const BE = /* @__PURE__ */
|
|
25420
|
+
const BE = /* @__PURE__ */ se(FE), Dc = /* @__PURE__ */ ae(null), Cc = /* @__PURE__ */ ae(null);
|
|
25421
25421
|
function RE(e, t) {
|
|
25422
25422
|
[e, t] = Ee(e, t, Dc);
|
|
25423
25423
|
let { collection: n, document: r } = bc(), { children: o, orientation: i = "horizontal" } = e;
|
|
@@ -25477,7 +25477,7 @@ function IE({ props: e, tabsRef: t, collection: n }) {
|
|
|
25477
25477
|
]
|
|
25478
25478
|
}, c.children));
|
|
25479
25479
|
}
|
|
25480
|
-
const LE = /* @__PURE__ */
|
|
25480
|
+
const LE = /* @__PURE__ */ se(RE);
|
|
25481
25481
|
function VE(e, t) {
|
|
25482
25482
|
return Q(zo) ? /* @__PURE__ */ F.createElement(Z4, e) : /* @__PURE__ */ F.createElement(OE, {
|
|
25483
25483
|
props: e,
|
|
@@ -25512,11 +25512,11 @@ function OE({ props: e, forwardedRef: t }) {
|
|
|
25512
25512
|
state: n
|
|
25513
25513
|
})));
|
|
25514
25514
|
}
|
|
25515
|
-
const NE = /* @__PURE__ */
|
|
25515
|
+
const NE = /* @__PURE__ */ se(VE);
|
|
25516
25516
|
function KE(e, t) {
|
|
25517
25517
|
return La("item", e, t, e.children);
|
|
25518
25518
|
}
|
|
25519
|
-
const _E = /* @__PURE__ */
|
|
25519
|
+
const _E = /* @__PURE__ */ se(KE);
|
|
25520
25520
|
function jE({ item: e, state: t }) {
|
|
25521
25521
|
let n = St(e.props.ref), { tabProps: r, isSelected: o, isDisabled: i, isPressed: a } = cC({
|
|
25522
25522
|
key: e.key,
|
|
@@ -25640,7 +25640,7 @@ function WE(e, t) {
|
|
|
25640
25640
|
]
|
|
25641
25641
|
}, h.children));
|
|
25642
25642
|
}
|
|
25643
|
-
const za = /* @__PURE__ */
|
|
25643
|
+
const za = /* @__PURE__ */ se(WE), YE = /* @__PURE__ */ ae({});
|
|
25644
25644
|
function qE(e, t) {
|
|
25645
25645
|
[e, t] = Ee(e, t, YE);
|
|
25646
25646
|
let n = Fa(e), { buttonProps: r, isPressed: o } = m8(e, n, t), { focusProps: i, isFocused: a, isFocusVisible: s } = it(e), { hoverProps: l, isHovered: c } = ze(e), u = Ce({
|
|
@@ -25669,7 +25669,7 @@ function qE(e, t) {
|
|
|
25669
25669
|
"data-focus-visible": s || void 0
|
|
25670
25670
|
});
|
|
25671
25671
|
}
|
|
25672
|
-
const ZE = /* @__PURE__ */
|
|
25672
|
+
const ZE = /* @__PURE__ */ se(qE), XE = G(sP)`
|
|
25673
25673
|
display: flex;
|
|
25674
25674
|
align-items: center;
|
|
25675
25675
|
list-style: none;
|
|
@@ -26249,7 +26249,7 @@ const i9 = (e) => {
|
|
|
26249
26249
|
padding: 0 1rem;
|
|
26250
26250
|
|
|
26251
26251
|
${({ theme: e }) => i9((e == null ? void 0 : e.screens) ?? $.screens)}
|
|
26252
|
-
`, IA =
|
|
26252
|
+
`, IA = se(
|
|
26253
26253
|
({ children: e, ...t }, n) => (
|
|
26254
26254
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
26255
26255
|
/* @__PURE__ */ V(a9, { ...t, ref: n, children: e })
|
|
@@ -26268,22 +26268,22 @@ const i9 = (e) => {
|
|
|
26268
26268
|
var t, n;
|
|
26269
26269
|
return ((n = (t = e == null ? void 0 : e.colors) == null ? void 0 : t.slate) == null ? void 0 : n[300]) ?? $.colors.slate[300];
|
|
26270
26270
|
}};
|
|
26271
|
-
|
|
26272
|
-
|
|
26273
|
-
|
|
26274
|
-
|
|
26275
|
-
|
|
26276
|
-
|
|
26277
|
-
|
|
26278
|
-
|
|
26279
|
-
})
|
|
26280
|
-
return /* @__PURE__ */ V(
|
|
26271
|
+
`, l9 = se(
|
|
26272
|
+
({
|
|
26273
|
+
children: e,
|
|
26274
|
+
key: t,
|
|
26275
|
+
onAction: n,
|
|
26276
|
+
setAnimation: r,
|
|
26277
|
+
animation: o = "hidden",
|
|
26278
|
+
...i
|
|
26279
|
+
}, a) => /* @__PURE__ */ V(
|
|
26281
26280
|
s9,
|
|
26282
26281
|
{
|
|
26282
|
+
ref: a,
|
|
26283
26283
|
isExiting: o === "hidden",
|
|
26284
|
-
onAnimationComplete: (
|
|
26284
|
+
onAnimationComplete: (s) => {
|
|
26285
26285
|
r(
|
|
26286
|
-
(
|
|
26286
|
+
(l) => s === "hidden" && l === "hidden" ? "unmounted" : l
|
|
26287
26287
|
);
|
|
26288
26288
|
},
|
|
26289
26289
|
variants: {
|
|
@@ -26296,8 +26296,8 @@ function l9({
|
|
|
26296
26296
|
children: /* @__PURE__ */ V(iE, { style: { outline: "none" }, onAction: n, children: e })
|
|
26297
26297
|
},
|
|
26298
26298
|
t
|
|
26299
|
-
)
|
|
26300
|
-
|
|
26299
|
+
)
|
|
26300
|
+
);
|
|
26301
26301
|
l9.defaultProps = {
|
|
26302
26302
|
key: void 0,
|
|
26303
26303
|
onAction: void 0
|
|
@@ -29664,7 +29664,7 @@ function Ec(...e) {
|
|
|
29664
29664
|
function an(...e) {
|
|
29665
29665
|
return oe(Ec(...e), e);
|
|
29666
29666
|
}
|
|
29667
|
-
const pa = /* @__PURE__ */
|
|
29667
|
+
const pa = /* @__PURE__ */ se((e, t) => {
|
|
29668
29668
|
const { children: n, ...r } = e, o = mn.toArray(n), i = o.find(JS);
|
|
29669
29669
|
if (i) {
|
|
29670
29670
|
const a = i.props.children, s = o.map((l) => l === i ? mn.count(a) > 1 ? mn.only(null) : /* @__PURE__ */ xr(a) ? a.props.children : null : l);
|
|
@@ -29677,7 +29677,7 @@ const pa = /* @__PURE__ */ le((e, t) => {
|
|
|
29677
29677
|
}), n);
|
|
29678
29678
|
});
|
|
29679
29679
|
pa.displayName = "Slot";
|
|
29680
|
-
const Ul = /* @__PURE__ */
|
|
29680
|
+
const Ul = /* @__PURE__ */ se((e, t) => {
|
|
29681
29681
|
const { children: n, ...r } = e;
|
|
29682
29682
|
return /* @__PURE__ */ xr(n) ? /* @__PURE__ */ Pn(n, {
|
|
29683
29683
|
...QS(r, n.props),
|
|
@@ -29728,7 +29728,7 @@ const eT = [
|
|
|
29728
29728
|
"svg",
|
|
29729
29729
|
"ul"
|
|
29730
29730
|
], Pt = eT.reduce((e, t) => {
|
|
29731
|
-
const n = /* @__PURE__ */
|
|
29731
|
+
const n = /* @__PURE__ */ se((r, o) => {
|
|
29732
29732
|
const { asChild: i, ...a } = r, s = i ? pa : t;
|
|
29733
29733
|
return ee(() => {
|
|
29734
29734
|
window[Symbol.for("radix-ui")] = !0;
|
|
@@ -29955,7 +29955,7 @@ const fT = /* @__PURE__ */ ae({
|
|
|
29955
29955
|
layers: /* @__PURE__ */ new Set(),
|
|
29956
29956
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
29957
29957
|
branches: /* @__PURE__ */ new Set()
|
|
29958
|
-
}), pT = /* @__PURE__ */
|
|
29958
|
+
}), pT = /* @__PURE__ */ se((e, t) => {
|
|
29959
29959
|
var n;
|
|
29960
29960
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: i, onFocusOutside: a, onInteractOutside: s, onDismiss: l, ...c } = e, u = Q(fT), [d, f] = re(null), p = (n = d == null ? void 0 : d.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, h] = re({}), m = an(
|
|
29961
29961
|
t,
|
|
@@ -30084,7 +30084,7 @@ function mT(e) {
|
|
|
30084
30084
|
e
|
|
30085
30085
|
]);
|
|
30086
30086
|
}
|
|
30087
|
-
const gT = /* @__PURE__ */
|
|
30087
|
+
const gT = /* @__PURE__ */ se((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
30088
30088
|
ref: t,
|
|
30089
30089
|
style: {
|
|
30090
30090
|
// See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
|
|
@@ -30103,7 +30103,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30103
30103
|
}))), vT = gT, Zo = "NavigationMenu", [Sc, F1, yT] = k1(Zo), [Wl, $T, xT] = k1(Zo), [Tc, QA] = T1(Zo, [
|
|
30104
30104
|
yT,
|
|
30105
30105
|
xT
|
|
30106
|
-
]), [wT, Mt] = Tc(Zo), [DT, CT] = Tc(Zo), PT = /* @__PURE__ */
|
|
30106
|
+
]), [wT, Mt] = Tc(Zo), [DT, CT] = Tc(Zo), PT = /* @__PURE__ */ se((e, t) => {
|
|
30107
30107
|
const { __scopeNavigationMenu: n, value: r, onValueChange: o, defaultValue: i, delayDuration: a = 200, skipDelayDuration: s = 300, orientation: l = "horizontal", dir: c, ...u } = e, [d, f] = re(null), p = an(
|
|
30108
30108
|
t,
|
|
30109
30109
|
(I) => f(I)
|
|
@@ -30200,7 +30200,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30200
30200
|
scope: t,
|
|
30201
30201
|
items: v
|
|
30202
30202
|
}, a)));
|
|
30203
|
-
}, ST = "NavigationMenuList", TT = /* @__PURE__ */
|
|
30203
|
+
}, ST = "NavigationMenuList", TT = /* @__PURE__ */ se((e, t) => {
|
|
30204
30204
|
const { __scopeNavigationMenu: n, ...r } = e, o = Mt(ST, n), i = /* @__PURE__ */ pe(Pt.ul, Ve({
|
|
30205
30205
|
"data-orientation": o.orientation
|
|
30206
30206
|
}, r, {
|
|
@@ -30216,7 +30216,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30216
30216
|
}, o.isRootMenu ? /* @__PURE__ */ pe(V1, {
|
|
30217
30217
|
asChild: !0
|
|
30218
30218
|
}, i) : i));
|
|
30219
|
-
}), AT = "NavigationMenuItem", [kT, B1] = Tc(AT), MT = /* @__PURE__ */
|
|
30219
|
+
}), AT = "NavigationMenuItem", [kT, B1] = Tc(AT), MT = /* @__PURE__ */ se((e, t) => {
|
|
30220
30220
|
const { __scopeNavigationMenu: n, value: r, ...o } = e, i = A1(), a = r || i || "LEGACY_REACT_AUTO_VALUE", s = j(null), l = j(null), c = j(null), u = j(() => {
|
|
30221
30221
|
}), d = j(!1), f = oe((h = "start") => {
|
|
30222
30222
|
if (s.current) {
|
|
@@ -30244,7 +30244,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30244
30244
|
}, /* @__PURE__ */ pe(Pt.li, Ve({}, o, {
|
|
30245
30245
|
ref: t
|
|
30246
30246
|
})));
|
|
30247
|
-
}), Np = "NavigationMenuTrigger", FT = /* @__PURE__ */
|
|
30247
|
+
}), Np = "NavigationMenuTrigger", FT = /* @__PURE__ */ se((e, t) => {
|
|
30248
30248
|
const { __scopeNavigationMenu: n, disabled: r, ...o } = e, i = Mt(Np, e.__scopeNavigationMenu), a = B1(Np, e.__scopeNavigationMenu), s = j(null), l = an(s, a.triggerRef, t), c = N1(i.baseId, a.value), u = K1(i.baseId, a.value), d = j(!1), f = j(!1), p = a.value === i.value;
|
|
30249
30249
|
return /* @__PURE__ */ pe(go, null, /* @__PURE__ */ pe(Sc.ItemSlot, {
|
|
30250
30250
|
scope: n,
|
|
@@ -30290,7 +30290,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30290
30290
|
}), i.viewport && /* @__PURE__ */ pe("span", {
|
|
30291
30291
|
"aria-owns": u
|
|
30292
30292
|
})));
|
|
30293
|
-
}), Kp = "navigationMenu.linkSelect", BT = /* @__PURE__ */
|
|
30293
|
+
}), Kp = "navigationMenu.linkSelect", BT = /* @__PURE__ */ se((e, t) => {
|
|
30294
30294
|
const { __scopeNavigationMenu: n, active: r, onSelect: o, ...i } = e;
|
|
30295
30295
|
return /* @__PURE__ */ pe(O1, {
|
|
30296
30296
|
asChild: !0
|
|
@@ -30321,14 +30321,14 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30321
30321
|
checkForDefaultPrevented: !1
|
|
30322
30322
|
})
|
|
30323
30323
|
})));
|
|
30324
|
-
}), R1 = "NavigationMenuIndicator", RT = /* @__PURE__ */
|
|
30324
|
+
}), R1 = "NavigationMenuIndicator", RT = /* @__PURE__ */ se((e, t) => {
|
|
30325
30325
|
const { forceMount: n, ...r } = e, o = Mt(R1, e.__scopeNavigationMenu), i = !!o.value;
|
|
30326
30326
|
return o.indicatorTrack ? /* @__PURE__ */ Fo.createPortal(/* @__PURE__ */ pe(qo, {
|
|
30327
30327
|
present: n || i
|
|
30328
30328
|
}, /* @__PURE__ */ pe(IT, Ve({}, r, {
|
|
30329
30329
|
ref: t
|
|
30330
30330
|
}))), o.indicatorTrack) : null;
|
|
30331
|
-
}), IT = /* @__PURE__ */
|
|
30331
|
+
}), IT = /* @__PURE__ */ se((e, t) => {
|
|
30332
30332
|
const { __scopeNavigationMenu: n, ...r } = e, o = Mt(R1, n), i = F1(n), [a, s] = re(null), [l, c] = re(null), u = o.orientation === "horizontal", d = !!o.value;
|
|
30333
30333
|
ee(() => {
|
|
30334
30334
|
var p;
|
|
@@ -30366,7 +30366,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30366
30366
|
...r.style
|
|
30367
30367
|
}
|
|
30368
30368
|
})) : null;
|
|
30369
|
-
}), Mo = "NavigationMenuContent", LT = /* @__PURE__ */
|
|
30369
|
+
}), Mo = "NavigationMenuContent", LT = /* @__PURE__ */ se((e, t) => {
|
|
30370
30370
|
const { forceMount: n, ...r } = e, o = Mt(Mo, e.__scopeNavigationMenu), i = B1(Mo, e.__scopeNavigationMenu), a = an(i.contentRef, t), s = i.value === o.value, l = {
|
|
30371
30371
|
value: i.value,
|
|
30372
30372
|
triggerRef: i.triggerRef,
|
|
@@ -30394,7 +30394,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30394
30394
|
...l.style
|
|
30395
30395
|
}
|
|
30396
30396
|
})));
|
|
30397
|
-
}), VT = /* @__PURE__ */
|
|
30397
|
+
}), VT = /* @__PURE__ */ se((e, t) => {
|
|
30398
30398
|
const n = Mt(Mo, e.__scopeNavigationMenu), { onViewportContentChange: r, onViewportContentRemove: o } = n;
|
|
30399
30399
|
return Sr(() => {
|
|
30400
30400
|
r(e.value, {
|
|
@@ -30409,7 +30409,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30409
30409
|
e.value,
|
|
30410
30410
|
o
|
|
30411
30411
|
]), null;
|
|
30412
|
-
}), Vi = "navigationMenu.rootContentDismiss", I1 = /* @__PURE__ */
|
|
30412
|
+
}), Vi = "navigationMenu.rootContentDismiss", I1 = /* @__PURE__ */ se((e, t) => {
|
|
30413
30413
|
const { __scopeNavigationMenu: n, value: r, triggerRef: o, focusProxyRef: i, wasEscapeCloseRef: a, onRootContentClose: s, onContentFocusOutside: l, ...c } = e, u = Mt(Mo, n), d = j(null), f = an(d, t), p = N1(u.baseId, r), h = K1(u.baseId, r), m = F1(n), v = j(null), { onItemDismiss: y } = u;
|
|
30414
30414
|
ee(() => {
|
|
30415
30415
|
const x = d.current;
|
|
@@ -30501,14 +30501,14 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30501
30501
|
a.current = !0;
|
|
30502
30502
|
})
|
|
30503
30503
|
})));
|
|
30504
|
-
}), L1 = "NavigationMenuViewport", OT = /* @__PURE__ */
|
|
30504
|
+
}), L1 = "NavigationMenuViewport", OT = /* @__PURE__ */ se((e, t) => {
|
|
30505
30505
|
const { forceMount: n, ...r } = e, i = !!Mt(L1, e.__scopeNavigationMenu).value;
|
|
30506
30506
|
return /* @__PURE__ */ pe(qo, {
|
|
30507
30507
|
present: n || i
|
|
30508
30508
|
}, /* @__PURE__ */ pe(NT, Ve({}, r, {
|
|
30509
30509
|
ref: t
|
|
30510
30510
|
})));
|
|
30511
|
-
}), NT = /* @__PURE__ */
|
|
30511
|
+
}), NT = /* @__PURE__ */ se((e, t) => {
|
|
30512
30512
|
const { __scopeNavigationMenu: n, children: r, ...o } = e, i = Mt(L1, n), a = an(t, i.onViewportChange), s = CT(Mo, e.__scopeNavigationMenu), [l, c] = re(null), [u, d] = re(null), f = l ? (l == null ? void 0 : l.width) + "px" : void 0, p = l ? (l == null ? void 0 : l.height) + "px" : void 0, h = !!i.value, m = h ? i.value : i.previousValue;
|
|
30513
30513
|
return ql(u, () => {
|
|
30514
30514
|
u && c({
|
|
@@ -30540,7 +30540,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30540
30540
|
})
|
|
30541
30541
|
})));
|
|
30542
30542
|
}));
|
|
30543
|
-
}), KT = "FocusGroup", V1 = /* @__PURE__ */
|
|
30543
|
+
}), KT = "FocusGroup", V1 = /* @__PURE__ */ se((e, t) => {
|
|
30544
30544
|
const { __scopeNavigationMenu: n, ...r } = e, o = Mt(KT, n);
|
|
30545
30545
|
return /* @__PURE__ */ pe(Wl.Provider, {
|
|
30546
30546
|
scope: n
|
|
@@ -30556,7 +30556,7 @@ const gT = /* @__PURE__ */ le((e, t) => /* @__PURE__ */ pe(Pt.span, Ve({}, e, {
|
|
|
30556
30556
|
"ArrowLeft",
|
|
30557
30557
|
"ArrowUp",
|
|
30558
30558
|
"ArrowDown"
|
|
30559
|
-
], _T = "FocusGroupItem", O1 = /* @__PURE__ */
|
|
30559
|
+
], _T = "FocusGroupItem", O1 = /* @__PURE__ */ se((e, t) => {
|
|
30560
30560
|
const { __scopeNavigationMenu: n, ...r } = e, o = $T(n), i = Mt(_T, n);
|
|
30561
30561
|
return /* @__PURE__ */ pe(Wl.ItemSlot, {
|
|
30562
30562
|
scope: n
|
|
@@ -31017,7 +31017,7 @@ function Xl({
|
|
|
31017
31017
|
Xl.defaultProps = {
|
|
31018
31018
|
className: void 0
|
|
31019
31019
|
};
|
|
31020
|
-
const Rt =
|
|
31020
|
+
const Rt = se(
|
|
31021
31021
|
({ className: e, children: t, title: n, ...r }, o) => /* @__PURE__ */ V("li", { children: /* @__PURE__ */ V(Zl, { asChild: !0, children: /* @__PURE__ */ be(
|
|
31022
31022
|
lA,
|
|
31023
31023
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clicktap/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Clicktap",
|
|
6
6
|
"description": "A library of React UI components and low-level hooks.",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@react-aria/interactions": "^3.21.1",
|
|
33
33
|
"@react-stately/utils": "^3.9.1",
|
|
34
34
|
"framer-motion": "^11.1.7",
|
|
35
|
-
"next": "^
|
|
35
|
+
"next": "^14.2.3",
|
|
36
36
|
"react-aria": "^3.32.1",
|
|
37
37
|
"react-aria-components": "^1.1.1"
|
|
38
38
|
},
|