@konstructio/ui 0.0.2 → 0.0.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/README.md +53 -4
- package/dist/{AlertDialogTrigger-BIbxXexQ.js → AlertDialogTrigger-lenvKoGF.js} +4 -4
- package/dist/Modal-Bg9UG35z.js +909 -0
- package/dist/{chevron-up-Cmu1oXfj.js → chevron-up-CvquEaNg.js} +1 -1
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.variants.d.ts +1 -1
- package/dist/components/AlertDialog/AlertDialog.variants.js +4 -5
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.variants.d.ts +2 -2
- package/dist/components/Autocomplete/Autocomplete.variants.js +8 -8
- package/dist/components/Autocomplete/components/List.types.d.ts +3 -3
- package/dist/components/Autocomplete/components/List.variants.d.ts +4 -4
- package/dist/components/Autocomplete/components/List.variants.js +13 -13
- package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +4 -4
- package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +4 -4
- package/dist/components/Breadcrumb/Breadcrumb.js +57 -412
- package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +12 -12
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +23 -21
- package/dist/components/Button/Button.variants.d.ts +2 -1
- package/dist/components/Button/Button.variants.js +122 -23
- package/dist/components/Checkbox/Checkbox.js +4 -4
- package/dist/components/Checkbox/Checkbox.variants.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.variants.js +7 -16
- package/dist/components/Dropdown/Dropdown.js +5 -5
- package/dist/components/Dropdown/Dropdown.types.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.variants.d.ts +1 -1
- package/dist/components/Dropdown/Dropdown.variants.js +5 -9
- package/dist/components/Dropdown/components/List/List.d.ts +2 -2
- package/dist/components/Dropdown/components/List/List.types.d.ts +3 -3
- package/dist/components/Dropdown/components/List/List.variants.d.ts +1 -1
- package/dist/components/Dropdown/components/List/List.variants.js +3 -3
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +1 -1
- package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +3 -3
- package/dist/components/Dropdown/components/Wrapper.d.ts +2 -2
- package/dist/components/Dropdown/components/Wrapper.js +1 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +4 -1
- package/dist/components/Dropdown/contexts/dropdown.provider.js +19 -8
- package/dist/components/Dropdown/hooks/useDropdown.d.ts +4 -4
- package/dist/components/Dropdown/hooks/useNavigationList.d.ts +4 -4
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/Input.variants.d.ts +1 -1
- package/dist/components/Input/Input.variants.js +3 -3
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +2 -2
- package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +10 -10
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/Modal/hooks/useModal.d.ts +1 -1
- package/dist/components/NumberInput/NumberInput.js +96 -87
- package/dist/components/NumberInput/NumberInput.variants.d.ts +3 -3
- package/dist/components/NumberInput/NumberInput.variants.js +14 -21
- package/dist/components/ProgressBar/ProgressBar.variants.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.variants.js +7 -12
- package/dist/components/Radio/Radio.variants.d.ts +1 -1
- package/dist/components/Radio/Radio.variants.js +4 -7
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Range/Range.variants.d.ts +4 -4
- package/dist/components/Range/Range.variants.js +18 -18
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/Slider.variants.d.ts +3 -3
- package/dist/components/Slider/Slider.variants.js +12 -12
- package/dist/components/Switch/Switch.js +2 -2
- package/dist/components/Switch/Switch.variants.d.ts +2 -2
- package/dist/components/Switch/Switch.variants.js +6 -6
- package/dist/components/Tag/Tag.variants.js +1 -1
- package/dist/components/TagSelect/TagSelect.js +1 -1
- package/dist/components/TagSelect/TagSelect.variants.d.ts +3 -3
- package/dist/components/TagSelect/TagSelect.variants.js +11 -14
- package/dist/components/TagSelect/hooks/useTagSelect.d.ts +1 -1
- package/dist/components/TextArea/TextArea.variants.d.ts +1 -1
- package/dist/components/TextArea/TextArea.variants.js +5 -5
- package/dist/components/Toast/Toast.js +104 -101
- package/dist/components/Toast/Toast.variants.d.ts +3 -3
- package/dist/components/Toast/Toast.variants.js +12 -12
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.variants.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.variants.js +9 -9
- package/dist/components/Tooltip/hooks/useTooltip.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/contexts/theme.context.d.ts +1 -1
- package/dist/contexts/theme.hook.js +3 -6
- package/dist/contexts/theme.provider.d.ts +2 -3
- package/dist/contexts/theme.provider.js +4 -1
- package/dist/index-BBjak_0p.js +47 -0
- package/dist/index-BNmRGtA6.js +34 -0
- package/dist/{index-DFbnnPzA.js → index-Ci9Yg4G1.js} +5 -5
- package/dist/{index-B_GWswUP.js → index-D4Q2rMby.js} +1 -1
- package/dist/{index-DQMInta3.js → index-D68N8v8R.js} +214 -209
- package/dist/index-DoOsnuB6.js +72 -0
- package/dist/{index-2K8qjK4R.js → index-O3j1K921.js} +36 -37
- package/dist/index-OOfdXoxx.js +423 -0
- package/dist/index-ffjBR8Av.js +32 -0
- package/dist/index.js +1 -1
- package/dist/package.json +42 -38
- package/dist/plugins/konstruct.js +61 -50
- package/dist/plugins/utils/colors.d.ts +127 -10
- package/dist/plugins/utils/colors.js +210 -510
- package/dist/styles.css +1 -1
- package/dist/useBreadcrumb-tyxjV-a1.js +1398 -0
- package/dist/utils/index.js +150 -162
- package/dist/x-CRBgmX1Q.js +62 -0
- package/package.json +42 -38
- package/dist/Modal-CO0_SnXD.js +0 -909
- package/dist/index-2hJuj4UN.js +0 -19069
- package/dist/index-4qm4jAkj.js +0 -92
- package/dist/index-BJ7FQg17.js +0 -35
- package/dist/index-BqM_XclQ.js +0 -94
- package/dist/index-BwYCDOHZ.js +0 -44
- package/dist/index-CCavb-1K.js +0 -57
- package/dist/useBreadcrumb-BSMnc4Fu.js +0 -341
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import { jsx as c, Fragment as m } from "react/jsx-runtime";
|
|
3
|
+
function p(e, n) {
|
|
4
|
+
if (typeof e == "function")
|
|
5
|
+
return e(n);
|
|
6
|
+
e != null && (e.current = n);
|
|
7
|
+
}
|
|
8
|
+
function d(...e) {
|
|
9
|
+
return (n) => {
|
|
10
|
+
let r = !1;
|
|
11
|
+
const o = e.map((t) => {
|
|
12
|
+
const l = p(t, n);
|
|
13
|
+
return !r && typeof l == "function" && (r = !0), l;
|
|
14
|
+
});
|
|
15
|
+
if (r)
|
|
16
|
+
return () => {
|
|
17
|
+
for (let t = 0; t < o.length; t++) {
|
|
18
|
+
const l = o[t];
|
|
19
|
+
typeof l == "function" ? l() : p(e[t], null);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function S(...e) {
|
|
25
|
+
return i.useCallback(d(...e), e);
|
|
26
|
+
}
|
|
27
|
+
var y = i.forwardRef((e, n) => {
|
|
28
|
+
const { children: r, ...o } = e, t = i.Children.toArray(r), l = t.find(h);
|
|
29
|
+
if (l) {
|
|
30
|
+
const s = l.props.children, a = t.map((f) => f === l ? i.Children.count(s) > 1 ? i.Children.only(null) : i.isValidElement(s) ? s.props.children : null : f);
|
|
31
|
+
return /* @__PURE__ */ c(u, { ...o, ref: n, children: i.isValidElement(s) ? i.cloneElement(s, void 0, a) : null });
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ c(u, { ...o, ref: n, children: r });
|
|
34
|
+
});
|
|
35
|
+
y.displayName = "Slot";
|
|
36
|
+
var u = i.forwardRef((e, n) => {
|
|
37
|
+
const { children: r, ...o } = e;
|
|
38
|
+
if (i.isValidElement(r)) {
|
|
39
|
+
const t = R(r);
|
|
40
|
+
return i.cloneElement(r, {
|
|
41
|
+
...C(o, r.props),
|
|
42
|
+
// @ts-ignore
|
|
43
|
+
ref: n ? d(n, t) : t
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
return i.Children.count(r) > 1 ? i.Children.only(null) : null;
|
|
47
|
+
});
|
|
48
|
+
u.displayName = "SlotClone";
|
|
49
|
+
var g = ({ children: e }) => /* @__PURE__ */ c(m, { children: e });
|
|
50
|
+
function h(e) {
|
|
51
|
+
return i.isValidElement(e) && e.type === g;
|
|
52
|
+
}
|
|
53
|
+
function C(e, n) {
|
|
54
|
+
const r = { ...n };
|
|
55
|
+
for (const o in n) {
|
|
56
|
+
const t = e[o], l = n[o];
|
|
57
|
+
/^on[A-Z]/.test(o) ? t && l ? r[o] = (...a) => {
|
|
58
|
+
l(...a), t(...a);
|
|
59
|
+
} : t && (r[o] = t) : o === "style" ? r[o] = { ...t, ...l } : o === "className" && (r[o] = [t, l].filter(Boolean).join(" "));
|
|
60
|
+
}
|
|
61
|
+
return { ...e, ...r };
|
|
62
|
+
}
|
|
63
|
+
function R(e) {
|
|
64
|
+
var o, t;
|
|
65
|
+
let n = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = n && "isReactWarning" in n && n.isReactWarning;
|
|
66
|
+
return r ? e.ref : (n = (t = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : t.get, r = n && "isReactWarning" in n && n.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
y as S,
|
|
70
|
+
g as a,
|
|
71
|
+
S as u
|
|
72
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i from "react";
|
|
2
|
-
import { b
|
|
3
|
-
import { P as
|
|
4
|
-
import { u as T } from "./index-
|
|
2
|
+
import { b, d as h, u as U } from "./index-8vgf-x5i.js";
|
|
3
|
+
import { P as m, d as z, R as H } from "./index-OOfdXoxx.js";
|
|
4
|
+
import { u as T } from "./index-DoOsnuB6.js";
|
|
5
5
|
import { jsx as P } from "react/jsx-runtime";
|
|
6
|
-
import { R as H } from "./index-2hJuj4UN.js";
|
|
7
6
|
function K(r, e = globalThis == null ? void 0 : globalThis.document) {
|
|
8
|
-
const s =
|
|
7
|
+
const s = b(r);
|
|
9
8
|
i.useEffect(() => {
|
|
10
9
|
const n = (t) => {
|
|
11
10
|
t.key === "Escape" && s(t);
|
|
@@ -23,19 +22,19 @@ var j = "DismissableLayer", p = "dismissableLayer.update", X = "dismissableLayer
|
|
|
23
22
|
disableOutsidePointerEvents: s = !1,
|
|
24
23
|
onEscapeKeyDown: n,
|
|
25
24
|
onPointerDownOutside: t,
|
|
26
|
-
onFocusOutside:
|
|
25
|
+
onFocusOutside: a,
|
|
27
26
|
onInteractOutside: l,
|
|
28
27
|
onDismiss: u,
|
|
29
28
|
...v
|
|
30
|
-
} = r, c = i.useContext(B), [d, N] = i.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, F] = i.useState({}), W = T(e, (
|
|
31
|
-
const E =
|
|
32
|
-
!C || R || (t == null || t(
|
|
33
|
-
}, f), O = J((
|
|
34
|
-
const E =
|
|
35
|
-
[...c.branches].some((y) => y.contains(E)) || (
|
|
29
|
+
} = r, c = i.useContext(B), [d, N] = i.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, F] = i.useState({}), W = T(e, (o) => N(o)), D = Array.from(c.layers), [k] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), I = D.indexOf(k), L = d ? D.indexOf(d) : -1, _ = c.layersWithOutsidePointerEventsDisabled.size > 0, C = L >= I, M = G((o) => {
|
|
30
|
+
const E = o.target, R = [...c.branches].some((y) => y.contains(E));
|
|
31
|
+
!C || R || (t == null || t(o), l == null || l(o), o.defaultPrevented || u == null || u());
|
|
32
|
+
}, f), O = J((o) => {
|
|
33
|
+
const E = o.target;
|
|
34
|
+
[...c.branches].some((y) => y.contains(E)) || (a == null || a(o), l == null || l(o), o.defaultPrevented || u == null || u());
|
|
36
35
|
}, f);
|
|
37
|
-
return K((
|
|
38
|
-
L === c.layers.size - 1 && (n == null || n(
|
|
36
|
+
return K((o) => {
|
|
37
|
+
L === c.layers.size - 1 && (n == null || n(o), !o.defaultPrevented && u && (o.preventDefault(), u()));
|
|
39
38
|
}, f), i.useEffect(() => {
|
|
40
39
|
if (d)
|
|
41
40
|
return s && (c.layersWithOutsidePointerEventsDisabled.size === 0 && (g = f.body.style.pointerEvents, f.body.style.pointerEvents = "none"), c.layersWithOutsidePointerEventsDisabled.add(d)), c.layers.add(d), w(), () => {
|
|
@@ -44,10 +43,10 @@ var j = "DismissableLayer", p = "dismissableLayer.update", X = "dismissableLayer
|
|
|
44
43
|
}, [d, f, s, c]), i.useEffect(() => () => {
|
|
45
44
|
d && (c.layers.delete(d), c.layersWithOutsidePointerEventsDisabled.delete(d), w());
|
|
46
45
|
}, [d, c]), i.useEffect(() => {
|
|
47
|
-
const
|
|
48
|
-
return document.addEventListener(p,
|
|
46
|
+
const o = () => F({});
|
|
47
|
+
return document.addEventListener(p, o), () => document.removeEventListener(p, o);
|
|
49
48
|
}, []), /* @__PURE__ */ P(
|
|
50
|
-
|
|
49
|
+
m.div,
|
|
51
50
|
{
|
|
52
51
|
...v,
|
|
53
52
|
ref: W,
|
|
@@ -69,19 +68,19 @@ x.displayName = j;
|
|
|
69
68
|
var q = "DismissableLayerBranch", S = i.forwardRef((r, e) => {
|
|
70
69
|
const s = i.useContext(B), n = i.useRef(null), t = T(e, n);
|
|
71
70
|
return i.useEffect(() => {
|
|
72
|
-
const
|
|
73
|
-
if (
|
|
74
|
-
return s.branches.add(
|
|
75
|
-
s.branches.delete(
|
|
71
|
+
const a = n.current;
|
|
72
|
+
if (a)
|
|
73
|
+
return s.branches.add(a), () => {
|
|
74
|
+
s.branches.delete(a);
|
|
76
75
|
};
|
|
77
|
-
}, [s.branches]), /* @__PURE__ */ P(
|
|
76
|
+
}, [s.branches]), /* @__PURE__ */ P(m.div, { ...r, ref: t });
|
|
78
77
|
});
|
|
79
78
|
S.displayName = q;
|
|
80
79
|
function G(r, e = globalThis == null ? void 0 : globalThis.document) {
|
|
81
|
-
const s =
|
|
80
|
+
const s = b(r), n = i.useRef(!1), t = i.useRef(() => {
|
|
82
81
|
});
|
|
83
82
|
return i.useEffect(() => {
|
|
84
|
-
const
|
|
83
|
+
const a = (u) => {
|
|
85
84
|
if (u.target && !n.current) {
|
|
86
85
|
let v = function() {
|
|
87
86
|
A(
|
|
@@ -97,10 +96,10 @@ function G(r, e = globalThis == null ? void 0 : globalThis.document) {
|
|
|
97
96
|
e.removeEventListener("click", t.current);
|
|
98
97
|
n.current = !1;
|
|
99
98
|
}, l = window.setTimeout(() => {
|
|
100
|
-
e.addEventListener("pointerdown",
|
|
99
|
+
e.addEventListener("pointerdown", a);
|
|
101
100
|
}, 0);
|
|
102
101
|
return () => {
|
|
103
|
-
window.clearTimeout(l), e.removeEventListener("pointerdown",
|
|
102
|
+
window.clearTimeout(l), e.removeEventListener("pointerdown", a), e.removeEventListener("click", t.current);
|
|
104
103
|
};
|
|
105
104
|
}, [e, s]), {
|
|
106
105
|
// ensures we check React component tree (not just DOM tree)
|
|
@@ -108,10 +107,10 @@ function G(r, e = globalThis == null ? void 0 : globalThis.document) {
|
|
|
108
107
|
};
|
|
109
108
|
}
|
|
110
109
|
function J(r, e = globalThis == null ? void 0 : globalThis.document) {
|
|
111
|
-
const s =
|
|
110
|
+
const s = b(r), n = i.useRef(!1);
|
|
112
111
|
return i.useEffect(() => {
|
|
113
|
-
const t = (
|
|
114
|
-
|
|
112
|
+
const t = (a) => {
|
|
113
|
+
a.target && !n.current && A(Y, s, { originalEvent: a }, {
|
|
115
114
|
discrete: !1
|
|
116
115
|
});
|
|
117
116
|
};
|
|
@@ -126,20 +125,20 @@ function w() {
|
|
|
126
125
|
document.dispatchEvent(r);
|
|
127
126
|
}
|
|
128
127
|
function A(r, e, s, { discrete: n }) {
|
|
129
|
-
const t = s.originalEvent.target,
|
|
130
|
-
e && t.addEventListener(r, e, { once: !0 }), n ? z(t,
|
|
128
|
+
const t = s.originalEvent.target, a = new CustomEvent(r, { bubbles: !1, cancelable: !0, detail: s });
|
|
129
|
+
e && t.addEventListener(r, e, { once: !0 }), n ? z(t, a) : t.dispatchEvent(a);
|
|
131
130
|
}
|
|
132
|
-
var
|
|
131
|
+
var se = x, ne = S, Q = "Portal", V = i.forwardRef((r, e) => {
|
|
133
132
|
var u;
|
|
134
|
-
const { container: s, ...n } = r, [t,
|
|
135
|
-
U(() =>
|
|
133
|
+
const { container: s, ...n } = r, [t, a] = i.useState(!1);
|
|
134
|
+
U(() => a(!0), []);
|
|
136
135
|
const l = s || t && ((u = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : u.body);
|
|
137
|
-
return l ? H.createPortal(/* @__PURE__ */ P(
|
|
136
|
+
return l ? H.createPortal(/* @__PURE__ */ P(m.div, { ...n, ref: e }), l) : null;
|
|
138
137
|
});
|
|
139
138
|
V.displayName = Q;
|
|
140
139
|
export {
|
|
141
|
-
|
|
140
|
+
ne as B,
|
|
142
141
|
x as D,
|
|
143
142
|
V as P,
|
|
144
|
-
|
|
143
|
+
se as R
|
|
145
144
|
};
|
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import * as D from "react";
|
|
2
|
+
import R from "react";
|
|
3
|
+
import { g as b } from "./_commonjsHelpers-C6fGbg64.js";
|
|
4
|
+
import { S as w } from "./index-DoOsnuB6.js";
|
|
5
|
+
import { jsx as N } from "react/jsx-runtime";
|
|
6
|
+
var v = { exports: {} }, u = {};
|
|
7
|
+
/**
|
|
8
|
+
* @license React
|
|
9
|
+
* react-dom.production.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
var h;
|
|
17
|
+
function M() {
|
|
18
|
+
if (h) return u;
|
|
19
|
+
h = 1;
|
|
20
|
+
var c = R;
|
|
21
|
+
function l(n) {
|
|
22
|
+
var r = "https://react.dev/errors/" + n;
|
|
23
|
+
if (1 < arguments.length) {
|
|
24
|
+
r += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
25
|
+
for (var a = 2; a < arguments.length; a++)
|
|
26
|
+
r += "&args[]=" + encodeURIComponent(arguments[a]);
|
|
27
|
+
}
|
|
28
|
+
return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
29
|
+
}
|
|
30
|
+
function f() {
|
|
31
|
+
}
|
|
32
|
+
var o = {
|
|
33
|
+
d: {
|
|
34
|
+
f,
|
|
35
|
+
r: function() {
|
|
36
|
+
throw Error(l(522));
|
|
37
|
+
},
|
|
38
|
+
D: f,
|
|
39
|
+
C: f,
|
|
40
|
+
L: f,
|
|
41
|
+
m: f,
|
|
42
|
+
X: f,
|
|
43
|
+
S: f,
|
|
44
|
+
M: f
|
|
45
|
+
},
|
|
46
|
+
p: 0,
|
|
47
|
+
findDOMNode: null
|
|
48
|
+
}, s = Symbol.for("react.portal");
|
|
49
|
+
function g(n, r, a) {
|
|
50
|
+
var t = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
51
|
+
return {
|
|
52
|
+
$$typeof: s,
|
|
53
|
+
key: t == null ? null : "" + t,
|
|
54
|
+
children: n,
|
|
55
|
+
containerInfo: r,
|
|
56
|
+
implementation: a
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
var p = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
60
|
+
function m(n, r) {
|
|
61
|
+
if (n === "font") return "";
|
|
62
|
+
if (typeof r == "string")
|
|
63
|
+
return r === "use-credentials" ? r : "";
|
|
64
|
+
}
|
|
65
|
+
return u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, u.createPortal = function(n, r) {
|
|
66
|
+
var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
67
|
+
if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
|
|
68
|
+
throw Error(l(299));
|
|
69
|
+
return g(n, r, null, a);
|
|
70
|
+
}, u.flushSync = function(n) {
|
|
71
|
+
var r = p.T, a = o.p;
|
|
72
|
+
try {
|
|
73
|
+
if (p.T = null, o.p = 2, n) return n();
|
|
74
|
+
} finally {
|
|
75
|
+
p.T = r, o.p = a, o.d.f();
|
|
76
|
+
}
|
|
77
|
+
}, u.preconnect = function(n, r) {
|
|
78
|
+
typeof n == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, o.d.C(n, r));
|
|
79
|
+
}, u.prefetchDNS = function(n) {
|
|
80
|
+
typeof n == "string" && o.d.D(n);
|
|
81
|
+
}, u.preinit = function(n, r) {
|
|
82
|
+
if (typeof n == "string" && r && typeof r.as == "string") {
|
|
83
|
+
var a = r.as, t = m(a, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, i = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
|
|
84
|
+
a === "style" ? o.d.S(
|
|
85
|
+
n,
|
|
86
|
+
typeof r.precedence == "string" ? r.precedence : void 0,
|
|
87
|
+
{
|
|
88
|
+
crossOrigin: t,
|
|
89
|
+
integrity: e,
|
|
90
|
+
fetchPriority: i
|
|
91
|
+
}
|
|
92
|
+
) : a === "script" && o.d.X(n, {
|
|
93
|
+
crossOrigin: t,
|
|
94
|
+
integrity: e,
|
|
95
|
+
fetchPriority: i,
|
|
96
|
+
nonce: typeof r.nonce == "string" ? r.nonce : void 0
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}, u.preinitModule = function(n, r) {
|
|
100
|
+
if (typeof n == "string")
|
|
101
|
+
if (typeof r == "object" && r !== null) {
|
|
102
|
+
if (r.as == null || r.as === "script") {
|
|
103
|
+
var a = m(
|
|
104
|
+
r.as,
|
|
105
|
+
r.crossOrigin
|
|
106
|
+
);
|
|
107
|
+
o.d.M(n, {
|
|
108
|
+
crossOrigin: a,
|
|
109
|
+
integrity: typeof r.integrity == "string" ? r.integrity : void 0,
|
|
110
|
+
nonce: typeof r.nonce == "string" ? r.nonce : void 0
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
} else r == null && o.d.M(n);
|
|
114
|
+
}, u.preload = function(n, r) {
|
|
115
|
+
if (typeof n == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
|
|
116
|
+
var a = r.as, t = m(a, r.crossOrigin);
|
|
117
|
+
o.d.L(n, a, {
|
|
118
|
+
crossOrigin: t,
|
|
119
|
+
integrity: typeof r.integrity == "string" ? r.integrity : void 0,
|
|
120
|
+
nonce: typeof r.nonce == "string" ? r.nonce : void 0,
|
|
121
|
+
type: typeof r.type == "string" ? r.type : void 0,
|
|
122
|
+
fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0,
|
|
123
|
+
referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0,
|
|
124
|
+
imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0,
|
|
125
|
+
imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0,
|
|
126
|
+
media: typeof r.media == "string" ? r.media : void 0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
}, u.preloadModule = function(n, r) {
|
|
130
|
+
if (typeof n == "string")
|
|
131
|
+
if (r) {
|
|
132
|
+
var a = m(r.as, r.crossOrigin);
|
|
133
|
+
o.d.m(n, {
|
|
134
|
+
as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0,
|
|
135
|
+
crossOrigin: a,
|
|
136
|
+
integrity: typeof r.integrity == "string" ? r.integrity : void 0
|
|
137
|
+
});
|
|
138
|
+
} else o.d.m(n);
|
|
139
|
+
}, u.requestFormReset = function(n) {
|
|
140
|
+
o.d.r(n);
|
|
141
|
+
}, u.unstable_batchedUpdates = function(n, r) {
|
|
142
|
+
return n(r);
|
|
143
|
+
}, u.useFormState = function(n, r, a) {
|
|
144
|
+
return p.H.useFormState(n, r, a);
|
|
145
|
+
}, u.useFormStatus = function() {
|
|
146
|
+
return p.H.useHostTransitionStatus();
|
|
147
|
+
}, u.version = "19.0.0", u;
|
|
148
|
+
}
|
|
149
|
+
var d = {};
|
|
150
|
+
/**
|
|
151
|
+
* @license React
|
|
152
|
+
* react-dom.development.js
|
|
153
|
+
*
|
|
154
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
155
|
+
*
|
|
156
|
+
* This source code is licensed under the MIT license found in the
|
|
157
|
+
* LICENSE file in the root directory of this source tree.
|
|
158
|
+
*/
|
|
159
|
+
var S;
|
|
160
|
+
function A() {
|
|
161
|
+
return S || (S = 1, process.env.NODE_ENV !== "production" && function() {
|
|
162
|
+
function c() {
|
|
163
|
+
}
|
|
164
|
+
function l(t) {
|
|
165
|
+
return "" + t;
|
|
166
|
+
}
|
|
167
|
+
function f(t, e, i) {
|
|
168
|
+
var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
169
|
+
try {
|
|
170
|
+
l(y);
|
|
171
|
+
var _ = !1;
|
|
172
|
+
} catch {
|
|
173
|
+
_ = !0;
|
|
174
|
+
}
|
|
175
|
+
return _ && (console.error(
|
|
176
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
177
|
+
typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
|
|
178
|
+
), l(y)), {
|
|
179
|
+
$$typeof: r,
|
|
180
|
+
key: y == null ? null : "" + y,
|
|
181
|
+
children: t,
|
|
182
|
+
containerInfo: e,
|
|
183
|
+
implementation: i
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function o(t, e) {
|
|
187
|
+
if (t === "font") return "";
|
|
188
|
+
if (typeof e == "string")
|
|
189
|
+
return e === "use-credentials" ? e : "";
|
|
190
|
+
}
|
|
191
|
+
function s(t) {
|
|
192
|
+
return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : 'something with type "' + typeof t + '"';
|
|
193
|
+
}
|
|
194
|
+
function g(t) {
|
|
195
|
+
return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : typeof t == "string" ? JSON.stringify(t) : typeof t == "number" ? "`" + t + "`" : 'something with type "' + typeof t + '"';
|
|
196
|
+
}
|
|
197
|
+
function p() {
|
|
198
|
+
var t = a.H;
|
|
199
|
+
return t === null && console.error(
|
|
200
|
+
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
201
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
202
|
+
2. You might be breaking the Rules of Hooks
|
|
203
|
+
3. You might have more than one copy of React in the same app
|
|
204
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
|
205
|
+
), t;
|
|
206
|
+
}
|
|
207
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
208
|
+
var m = R, n = {
|
|
209
|
+
d: {
|
|
210
|
+
f: c,
|
|
211
|
+
r: function() {
|
|
212
|
+
throw Error(
|
|
213
|
+
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
|
|
214
|
+
);
|
|
215
|
+
},
|
|
216
|
+
D: c,
|
|
217
|
+
C: c,
|
|
218
|
+
L: c,
|
|
219
|
+
m: c,
|
|
220
|
+
X: c,
|
|
221
|
+
S: c,
|
|
222
|
+
M: c
|
|
223
|
+
},
|
|
224
|
+
p: 0,
|
|
225
|
+
findDOMNode: null
|
|
226
|
+
}, r = Symbol.for("react.portal"), a = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
227
|
+
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
|
|
228
|
+
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
|
|
229
|
+
), d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, d.createPortal = function(t, e) {
|
|
230
|
+
var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
231
|
+
if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
|
|
232
|
+
throw Error("Target container is not a DOM element.");
|
|
233
|
+
return f(t, e, null, i);
|
|
234
|
+
}, d.flushSync = function(t) {
|
|
235
|
+
var e = a.T, i = n.p;
|
|
236
|
+
try {
|
|
237
|
+
if (a.T = null, n.p = 2, t)
|
|
238
|
+
return t();
|
|
239
|
+
} finally {
|
|
240
|
+
a.T = e, n.p = i, n.d.f() && console.error(
|
|
241
|
+
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
|
|
242
|
+
);
|
|
243
|
+
}
|
|
244
|
+
}, d.preconnect = function(t, e) {
|
|
245
|
+
typeof t == "string" && t ? e != null && typeof e != "object" ? console.error(
|
|
246
|
+
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
|
|
247
|
+
g(e)
|
|
248
|
+
) : e != null && typeof e.crossOrigin != "string" && console.error(
|
|
249
|
+
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
|
|
250
|
+
s(e.crossOrigin)
|
|
251
|
+
) : console.error(
|
|
252
|
+
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
253
|
+
s(t)
|
|
254
|
+
), typeof t == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(t, e));
|
|
255
|
+
}, d.prefetchDNS = function(t) {
|
|
256
|
+
if (typeof t != "string" || !t)
|
|
257
|
+
console.error(
|
|
258
|
+
"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
259
|
+
s(t)
|
|
260
|
+
);
|
|
261
|
+
else if (1 < arguments.length) {
|
|
262
|
+
var e = arguments[1];
|
|
263
|
+
typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
|
|
264
|
+
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
265
|
+
g(e)
|
|
266
|
+
) : console.error(
|
|
267
|
+
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
|
|
268
|
+
g(e)
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
typeof t == "string" && n.d.D(t);
|
|
272
|
+
}, d.preinit = function(t, e) {
|
|
273
|
+
if (typeof t == "string" && t ? e == null || typeof e != "object" ? console.error(
|
|
274
|
+
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
|
|
275
|
+
g(e)
|
|
276
|
+
) : e.as !== "style" && e.as !== "script" && console.error(
|
|
277
|
+
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
|
|
278
|
+
g(e.as)
|
|
279
|
+
) : console.error(
|
|
280
|
+
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
281
|
+
s(t)
|
|
282
|
+
), typeof t == "string" && e && typeof e.as == "string") {
|
|
283
|
+
var i = e.as, y = o(i, e.crossOrigin), _ = typeof e.integrity == "string" ? e.integrity : void 0, O = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
|
|
284
|
+
i === "style" ? n.d.S(
|
|
285
|
+
t,
|
|
286
|
+
typeof e.precedence == "string" ? e.precedence : void 0,
|
|
287
|
+
{
|
|
288
|
+
crossOrigin: y,
|
|
289
|
+
integrity: _,
|
|
290
|
+
fetchPriority: O
|
|
291
|
+
}
|
|
292
|
+
) : i === "script" && n.d.X(t, {
|
|
293
|
+
crossOrigin: y,
|
|
294
|
+
integrity: _,
|
|
295
|
+
fetchPriority: O,
|
|
296
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
}, d.preinitModule = function(t, e) {
|
|
300
|
+
var i = "";
|
|
301
|
+
if (typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + g(e.as) + "."), i)
|
|
302
|
+
console.error(
|
|
303
|
+
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
|
|
304
|
+
i
|
|
305
|
+
);
|
|
306
|
+
else
|
|
307
|
+
switch (i = e && typeof e.as == "string" ? e.as : "script", i) {
|
|
308
|
+
case "script":
|
|
309
|
+
break;
|
|
310
|
+
default:
|
|
311
|
+
i = g(i), console.error(
|
|
312
|
+
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
|
|
313
|
+
i,
|
|
314
|
+
t
|
|
315
|
+
);
|
|
316
|
+
}
|
|
317
|
+
typeof t == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = o(
|
|
318
|
+
e.as,
|
|
319
|
+
e.crossOrigin
|
|
320
|
+
), n.d.M(t, {
|
|
321
|
+
crossOrigin: i,
|
|
322
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
323
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0
|
|
324
|
+
})) : e == null && n.d.M(t));
|
|
325
|
+
}, d.preload = function(t, e) {
|
|
326
|
+
var i = "";
|
|
327
|
+
if (typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + s(e.as) + "."), i && console.error(
|
|
328
|
+
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
|
|
329
|
+
i
|
|
330
|
+
), typeof t == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
|
|
331
|
+
i = e.as;
|
|
332
|
+
var y = o(
|
|
333
|
+
i,
|
|
334
|
+
e.crossOrigin
|
|
335
|
+
);
|
|
336
|
+
n.d.L(t, i, {
|
|
337
|
+
crossOrigin: y,
|
|
338
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0,
|
|
339
|
+
nonce: typeof e.nonce == "string" ? e.nonce : void 0,
|
|
340
|
+
type: typeof e.type == "string" ? e.type : void 0,
|
|
341
|
+
fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
|
|
342
|
+
referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
|
|
343
|
+
imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
|
|
344
|
+
imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
|
|
345
|
+
media: typeof e.media == "string" ? e.media : void 0
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}, d.preloadModule = function(t, e) {
|
|
349
|
+
var i = "";
|
|
350
|
+
typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + s(e.as) + "."), i && console.error(
|
|
351
|
+
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
|
|
352
|
+
i
|
|
353
|
+
), typeof t == "string" && (e ? (i = o(
|
|
354
|
+
e.as,
|
|
355
|
+
e.crossOrigin
|
|
356
|
+
), n.d.m(t, {
|
|
357
|
+
as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
|
|
358
|
+
crossOrigin: i,
|
|
359
|
+
integrity: typeof e.integrity == "string" ? e.integrity : void 0
|
|
360
|
+
})) : n.d.m(t));
|
|
361
|
+
}, d.requestFormReset = function(t) {
|
|
362
|
+
n.d.r(t);
|
|
363
|
+
}, d.unstable_batchedUpdates = function(t, e) {
|
|
364
|
+
return t(e);
|
|
365
|
+
}, d.useFormState = function(t, e, i) {
|
|
366
|
+
return p().useFormState(t, e, i);
|
|
367
|
+
}, d.useFormStatus = function() {
|
|
368
|
+
return p().useHostTransitionStatus();
|
|
369
|
+
}, d.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
370
|
+
}()), d;
|
|
371
|
+
}
|
|
372
|
+
var E;
|
|
373
|
+
function L() {
|
|
374
|
+
if (E) return v.exports;
|
|
375
|
+
E = 1;
|
|
376
|
+
function c() {
|
|
377
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
378
|
+
if (process.env.NODE_ENV !== "production")
|
|
379
|
+
throw new Error("^_^");
|
|
380
|
+
try {
|
|
381
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c);
|
|
382
|
+
} catch (l) {
|
|
383
|
+
console.error(l);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
return process.env.NODE_ENV === "production" ? (c(), v.exports = M()) : v.exports = A(), v.exports;
|
|
388
|
+
}
|
|
389
|
+
var T = L();
|
|
390
|
+
const I = /* @__PURE__ */ b(T);
|
|
391
|
+
var P = [
|
|
392
|
+
"a",
|
|
393
|
+
"button",
|
|
394
|
+
"div",
|
|
395
|
+
"form",
|
|
396
|
+
"h2",
|
|
397
|
+
"h3",
|
|
398
|
+
"img",
|
|
399
|
+
"input",
|
|
400
|
+
"label",
|
|
401
|
+
"li",
|
|
402
|
+
"nav",
|
|
403
|
+
"ol",
|
|
404
|
+
"p",
|
|
405
|
+
"span",
|
|
406
|
+
"svg",
|
|
407
|
+
"ul"
|
|
408
|
+
], H = P.reduce((c, l) => {
|
|
409
|
+
const f = D.forwardRef((o, s) => {
|
|
410
|
+
const { asChild: g, ...p } = o, m = g ? w : l;
|
|
411
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ N(m, { ...p, ref: s });
|
|
412
|
+
});
|
|
413
|
+
return f.displayName = `Primitive.${l}`, { ...c, [l]: f };
|
|
414
|
+
}, {});
|
|
415
|
+
function U(c, l) {
|
|
416
|
+
c && T.flushSync(() => c.dispatchEvent(l));
|
|
417
|
+
}
|
|
418
|
+
export {
|
|
419
|
+
H as P,
|
|
420
|
+
I as R,
|
|
421
|
+
U as d,
|
|
422
|
+
T as r
|
|
423
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import { P as o } from "./index-OOfdXoxx.js";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
var d = "VisuallyHidden", a = e.forwardRef(
|
|
5
|
+
(r, i) => /* @__PURE__ */ t(
|
|
6
|
+
o.span,
|
|
7
|
+
{
|
|
8
|
+
...r,
|
|
9
|
+
ref: i,
|
|
10
|
+
style: {
|
|
11
|
+
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
|
|
12
|
+
position: "absolute",
|
|
13
|
+
border: 0,
|
|
14
|
+
width: 1,
|
|
15
|
+
height: 1,
|
|
16
|
+
padding: 0,
|
|
17
|
+
margin: -1,
|
|
18
|
+
overflow: "hidden",
|
|
19
|
+
clip: "rect(0, 0, 0, 0)",
|
|
20
|
+
whiteSpace: "nowrap",
|
|
21
|
+
wordWrap: "normal",
|
|
22
|
+
...r.style
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
a.displayName = d;
|
|
28
|
+
var m = a;
|
|
29
|
+
export {
|
|
30
|
+
m as R,
|
|
31
|
+
a as V
|
|
32
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Button as a } from "./components/Button/Button.js";
|
|
|
5
5
|
import { Checkbox as l } from "./components/Checkbox/Checkbox.js";
|
|
6
6
|
import { Dropdown as g } from "./components/Dropdown/Dropdown.js";
|
|
7
7
|
import { Input as i } from "./components/Input/Input.js";
|
|
8
|
-
import { M as c } from "./Modal-
|
|
8
|
+
import { M as c } from "./Modal-Bg9UG35z.js";
|
|
9
9
|
import { NumberInput as h } from "./components/NumberInput/NumberInput.js";
|
|
10
10
|
import { ProgressBar as A } from "./components/ProgressBar/ProgressBar.js";
|
|
11
11
|
import { Radio as P } from "./components/Radio/Radio.js";
|