welcome-ui 10.0.0-alpha.1 → 10.0.0-alpha.3
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 +1 -1
- package/dist/{2W3RN7C5-bkX-rIa3.js → 2W3RN7C5-uG7eBeTQ.js} +11 -11
- package/dist/4I4MLMKD-z3Xm3qCo.js +150 -0
- package/dist/Accordion.js +4 -4
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BDa2-8JK.js} +2 -2
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +165 -151
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.js +2 -2
- package/dist/CloseButton.css +1 -1
- package/dist/CloseButton.js +12 -12
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-C-2xDjIv.js} +3 -3
- package/dist/DatePicker.js +2 -2
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.js +25 -22
- package/dist/DropdownMenu.js +41 -41
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +2 -2
- package/dist/FileUpload.js +1 -1
- package/dist/GVVKDT6A-C66-lr0B.js +619 -0
- package/dist/Hint.js +1 -1
- package/dist/Icon.css +1 -1
- package/dist/Icon.js +32 -24
- package/dist/InputText.js +1 -1
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Byij2al4.js} +11 -11
- package/dist/Label.js +1 -1
- package/dist/Link.js +20 -19
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DpF3td-7.js} +115 -115
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-BgAqqGOq.js} +6 -6
- package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-DkdhQLJL.js} +27 -27
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-wHytlFYu.js} +30 -30
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +155 -76
- package/dist/Popover.js +21 -21
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-LcIdBwa8.js} +16 -16
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +4 -4
- package/dist/RadioTab.js +2 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-BoxPz2JY.js} +22 -22
- package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-CUlXoT69.js} +8 -8
- package/dist/Search.js +2 -2
- package/dist/Select.js +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Stepper.js +1 -1
- package/dist/Swiper.js +1 -1
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-CzEDuEn1.js} +21 -21
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +23 -23
- package/dist/Tag.js +1 -1
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.css +1 -1
- package/dist/Toast.js +286 -222
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +118 -129
- package/dist/VariantIcon.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/WelcomeLoader.js +1 -1
- package/dist/{XCKGTAUF-DkxWCbaW.js → XCKGTAUF-CahZE721.js} +4 -4
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BDyUNSJw.js} +5 -5
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-CjFLRObi.js} +3 -3
- package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/theme.css +1 -1
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +5 -1
- package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
- package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +1 -1
- package/dist/types/components/Icon/icons.d.ts +4 -5
- package/dist/types/components/Icon/types.d.ts +2 -0
- package/dist/types/components/Pagination/types.d.ts +11 -0
- package/dist/types/components/Toast/components/Growl.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +4 -1
- package/dist/types/components/Toast/types.d.ts +8 -9
- package/dist/types/components/Tooltip/types.d.ts +1 -1
- package/dist/types/theme/types.d.ts +22 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +2 -1
- package/dist/4I4MLMKD-BLxAidnq.js +0 -43
- package/dist/GVVKDT6A-bET6V7Py.js +0 -724
- package/dist/index.css +0 -0
- package/dist/types/components/Icon/Icon.d.ts +0 -2
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
- /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
package/dist/Popover.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as r, jsxs as _ } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as i } from "react";
|
|
4
|
-
import { c as a } from "./index-
|
|
5
|
-
import { Button as
|
|
6
|
-
import { Icon as
|
|
7
|
-
import { u as d } from "./RTNCFSKZ-
|
|
8
|
-
import { P,
|
|
4
|
+
import { c as a } from "./index-PAaZGbyz.js";
|
|
5
|
+
import { Button as f } from "./Button.js";
|
|
6
|
+
import { Icon as h } from "./Icon.js";
|
|
7
|
+
import { u as d } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
8
|
+
import { P, b as g } from "./4I4MLMKD-z3Xm3qCo.js";
|
|
9
9
|
import { f as m } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
10
|
-
import { P as H } from "./
|
|
11
|
-
const N = "_root_kqbt9_2", $ = "_title_kqbt9_15",
|
|
10
|
+
import { e as k, f as q, g as x, h as C, P as H } from "./GVVKDT6A-C66-lr0B.js";
|
|
11
|
+
const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", S = "_content_kqbt9_27", T = "_arrow_kqbt9_41", l = {
|
|
12
12
|
root: N,
|
|
13
13
|
title: $,
|
|
14
14
|
"with-close-button": "_with-close-button_kqbt9_24",
|
|
15
15
|
"content-wrapper": "_content-wrapper_kqbt9_27",
|
|
16
|
-
content:
|
|
16
|
+
content: S,
|
|
17
17
|
"close-button": "_close-button_kqbt9_34",
|
|
18
|
-
arrow:
|
|
18
|
+
arrow: T,
|
|
19
19
|
"arrow-item": "_arrow-item_kqbt9_44",
|
|
20
20
|
"placement-top": "_placement-top_kqbt9_49",
|
|
21
21
|
"placement-right": "_placement-right_kqbt9_52",
|
|
22
22
|
"placement-left": "_placement-left_kqbt9_55",
|
|
23
23
|
"placement-bottom": "_placement-bottom_kqbt9_58"
|
|
24
|
-
},
|
|
25
|
-
({ className: o, ...e }, t) => /* @__PURE__ */ r("div", { className:
|
|
24
|
+
}, j = a(l), v = i(
|
|
25
|
+
({ className: o, ...e }, t) => /* @__PURE__ */ r("div", { className: j("content", o), ref: t, ...e })
|
|
26
26
|
), p = a(l), B = ({ store: o }) => {
|
|
27
27
|
const e = d(o, "currentPlacement"), [t] = e.split("-");
|
|
28
28
|
return /* @__PURE__ */ r(P, { className: p("arrow"), store: o, children: /* @__PURE__ */ _(
|
|
@@ -43,13 +43,13 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
43
43
|
return /* @__PURE__ */ _("div", { className: u("content-wrapper", e), children: [
|
|
44
44
|
/* @__PURE__ */ r(B, { store: n }),
|
|
45
45
|
o,
|
|
46
|
-
s ? /* @__PURE__ */ r(
|
|
46
|
+
s ? /* @__PURE__ */ r(f, { className: u("close-button"), onClick: c, size: "sm", variant: "secondary", children: /* @__PURE__ */ r(h, { name: "times" }) }) : null
|
|
47
47
|
] });
|
|
48
|
-
}, L = a(l),
|
|
48
|
+
}, L = a(l), b = i(
|
|
49
49
|
({ className: o, ...e }, t) => /* @__PURE__ */ r("h6", { className: L("title", o), ref: t, ...e })
|
|
50
50
|
), R = m(
|
|
51
51
|
({ as: o, className: e, store: t, ...n }, c) => /* @__PURE__ */ r(
|
|
52
|
-
|
|
52
|
+
g,
|
|
53
53
|
{
|
|
54
54
|
className: e,
|
|
55
55
|
ref: c,
|
|
@@ -60,7 +60,7 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
60
60
|
)
|
|
61
61
|
), z = m(
|
|
62
62
|
({ as: o, className: e, store: t, ...n }, c) => /* @__PURE__ */ r(
|
|
63
|
-
|
|
63
|
+
k,
|
|
64
64
|
{
|
|
65
65
|
className: e,
|
|
66
66
|
ref: c,
|
|
@@ -73,7 +73,7 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
73
73
|
({ children: o, onClose: e, store: t, ...n }, c) => {
|
|
74
74
|
const { withCloseButton: s } = t;
|
|
75
75
|
return /* @__PURE__ */ r(
|
|
76
|
-
|
|
76
|
+
q,
|
|
77
77
|
{
|
|
78
78
|
className: y("root", s && "with-close-button"),
|
|
79
79
|
store: t,
|
|
@@ -85,13 +85,13 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
85
85
|
}
|
|
86
86
|
), Q = Object.assign(A, {
|
|
87
87
|
Content: v,
|
|
88
|
-
Title:
|
|
88
|
+
Title: b,
|
|
89
89
|
Trigger: z
|
|
90
90
|
}), U = ({
|
|
91
91
|
withCloseButton: o = !1,
|
|
92
92
|
...e
|
|
93
93
|
} = {}) => ({
|
|
94
|
-
...
|
|
94
|
+
...x({
|
|
95
95
|
...e
|
|
96
96
|
}),
|
|
97
97
|
withCloseButton: o
|
|
@@ -101,7 +101,7 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
101
101
|
withCloseButton: t = !1,
|
|
102
102
|
...n
|
|
103
103
|
} = {}) => ({
|
|
104
|
-
...
|
|
104
|
+
...C({
|
|
105
105
|
hideTimeout: o,
|
|
106
106
|
showTimeout: e,
|
|
107
107
|
...n
|
|
@@ -111,7 +111,7 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
111
111
|
({ children: o, onClose: e, store: t, ...n }, c) => {
|
|
112
112
|
const { withCloseButton: s } = t;
|
|
113
113
|
return /* @__PURE__ */ r(
|
|
114
|
-
|
|
114
|
+
H,
|
|
115
115
|
{
|
|
116
116
|
className: M("root", s && "with-close-button"),
|
|
117
117
|
ref: c,
|
|
@@ -123,7 +123,7 @@ const N = "_root_kqbt9_2", $ = "_title_kqbt9_15", j = "_content_kqbt9_27", S = "
|
|
|
123
123
|
}
|
|
124
124
|
), X = Object.assign(O, {
|
|
125
125
|
Content: v,
|
|
126
|
-
Title:
|
|
126
|
+
Title: b,
|
|
127
127
|
Trigger: R
|
|
128
128
|
});
|
|
129
129
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ot, t as C,
|
|
2
|
+
import { i as ot, t as C, Q as st, R as at, S as ut, T as F, J as it, G as ct, I as ft, U as lt, V as dt, L as N, d as St, a as P, u as pt, W as vt } from "./OE2EFRVA-DkdhQLJL.js";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import X from "react";
|
|
5
|
-
import { g as _t } from "./index-
|
|
5
|
+
import { g as _t } from "./index-PAaZGbyz.js";
|
|
6
6
|
function T(t, n) {
|
|
7
7
|
const e = t.__unstableInternals;
|
|
8
8
|
return ot(e, "Invalid store"), e[n];
|
|
@@ -36,12 +36,12 @@ function W(t, ...n) {
|
|
|
36
36
|
), A = [];
|
|
37
37
|
for (const L of v)
|
|
38
38
|
A.push(L());
|
|
39
|
-
const
|
|
40
|
-
return o = F(...w, ...A, ...
|
|
39
|
+
const G = n.map(Z);
|
|
40
|
+
return o = F(...w, ...A, ...G), b;
|
|
41
41
|
}, E = (s, r, b = m) => (b.add(r), d.set(r, s), () => {
|
|
42
42
|
var w;
|
|
43
43
|
(w = i.get(r)) == null || w(), i.delete(r), d.delete(r), b.delete(r);
|
|
44
|
-
}), R = (s, r) => E(s, r),
|
|
44
|
+
}), R = (s, r) => E(s, r), q = (s, r) => (i.set(r, r(e, e)), E(s, r)), B = (s, r) => (i.set(r, r(e, l)), E(s, r, _)), S = (s) => W(at(e, s), y), f = (s) => W(st(e, s), y), O = () => e, p = (s, r, b = !1) => {
|
|
45
45
|
var w;
|
|
46
46
|
if (!C(e, s)) return;
|
|
47
47
|
const A = it(r, e[s]);
|
|
@@ -49,7 +49,7 @@ function W(t, ...n) {
|
|
|
49
49
|
if (!b)
|
|
50
50
|
for (const h of n)
|
|
51
51
|
(w = h == null ? void 0 : h.setState) == null || w.call(h, s, A);
|
|
52
|
-
const
|
|
52
|
+
const G = e;
|
|
53
53
|
e = ct(ft({}, e), { [s]: A });
|
|
54
54
|
const L = Symbol();
|
|
55
55
|
a = L, c.add(s);
|
|
@@ -59,7 +59,7 @@ function W(t, ...n) {
|
|
|
59
59
|
(!$ || $.some(rt)) && ((H = i.get(h)) == null || H(), i.set(h, h(e, D)));
|
|
60
60
|
};
|
|
61
61
|
for (const h of m)
|
|
62
|
-
V(h,
|
|
62
|
+
V(h, G);
|
|
63
63
|
queueMicrotask(() => {
|
|
64
64
|
if (a !== L) return;
|
|
65
65
|
const h = e;
|
|
@@ -74,8 +74,8 @@ function W(t, ...n) {
|
|
|
74
74
|
setup: g,
|
|
75
75
|
init: x,
|
|
76
76
|
subscribe: R,
|
|
77
|
-
sync:
|
|
78
|
-
batch:
|
|
77
|
+
sync: q,
|
|
78
|
+
batch: B,
|
|
79
79
|
pick: S,
|
|
80
80
|
omit: f
|
|
81
81
|
}
|
|
@@ -150,9 +150,9 @@ If there's a particular need for this, please submit a feature request at https:
|
|
|
150
150
|
`
|
|
151
151
|
);
|
|
152
152
|
}
|
|
153
|
-
var j = { exports: {} },
|
|
153
|
+
var j = { exports: {} }, K = {}, Y;
|
|
154
154
|
function mt() {
|
|
155
|
-
if (Y) return
|
|
155
|
+
if (Y) return K;
|
|
156
156
|
Y = 1;
|
|
157
157
|
var t = X;
|
|
158
158
|
function n(i, d) {
|
|
@@ -183,9 +183,9 @@ function mt() {
|
|
|
183
183
|
return d();
|
|
184
184
|
}
|
|
185
185
|
var _ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : c;
|
|
186
|
-
return
|
|
186
|
+
return K.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : _, K;
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var M = {}, J;
|
|
189
189
|
function Et() {
|
|
190
190
|
return J || (J = 1, process.env.NODE_ENV !== "production" && function() {
|
|
191
191
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
@@ -252,9 +252,9 @@ function Et() {
|
|
|
252
252
|
function x(S, f, O) {
|
|
253
253
|
return f();
|
|
254
254
|
}
|
|
255
|
-
var E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", R = !E,
|
|
256
|
-
|
|
257
|
-
}()),
|
|
255
|
+
var E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", R = !E, q = R ? x : d, B = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : q;
|
|
256
|
+
M.useSyncExternalStore = B, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
257
|
+
}()), M;
|
|
258
258
|
}
|
|
259
259
|
var Q;
|
|
260
260
|
function gt() {
|
package/dist/Radio.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
3
|
-
import { R as b } from "./SQZLCNLX-
|
|
3
|
+
import { R as b } from "./SQZLCNLX-CUlXoT69.js";
|
|
4
4
|
import { forwardRef as h } from "react";
|
|
5
5
|
import { Hint as w } from "./Hint.js";
|
|
6
6
|
import { Label as v } from "./Label.js";
|
|
7
|
-
import { c as N } from "./index-
|
|
7
|
+
import { c as N } from "./index-PAaZGbyz.js";
|
|
8
8
|
const R = "_root_b4f3u_2", g = "_input_b4f3u_8", x = "_disabled_b4f3u_34", $ = "_hint_b4f3u_71", j = {
|
|
9
9
|
root: R,
|
|
10
10
|
"input-wrapper": "_input-wrapper_b4f3u_8",
|
package/dist/RadioGroup.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
-
import { c as G, u as P } from "./B7UTNDHN-
|
|
4
|
-
import { c as $, b, d as x, u as L } from "./RTNCFSKZ-
|
|
5
|
-
import { F as j, G as d, H as v, I as c } from "./OE2EFRVA-
|
|
3
|
+
import { c as G, u as P } from "./B7UTNDHN-BDa2-8JK.js";
|
|
4
|
+
import { c as $, b, d as x, u as L } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
5
|
+
import { F as j, G as d, H as v, I as c } from "./OE2EFRVA-DkdhQLJL.js";
|
|
6
6
|
import { FieldGroup as y } from "./FieldGroup.js";
|
|
7
7
|
import { Radio as F } from "./Radio.js";
|
|
8
|
-
import { c as N } from "./index-
|
|
8
|
+
import { c as N } from "./index-PAaZGbyz.js";
|
|
9
9
|
import "react";
|
|
10
10
|
function k(t = {}) {
|
|
11
11
|
var e = j(t, []), a;
|
package/dist/RadioTab.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as u, jsx as a } from "react/jsx-runtime";
|
|
3
|
-
import { R as _ } from "./SQZLCNLX-
|
|
3
|
+
import { R as _ } from "./SQZLCNLX-CUlXoT69.js";
|
|
4
4
|
import { forwardRef as d } from "react";
|
|
5
5
|
import { Button as y } from "./Button.js";
|
|
6
|
-
import { c as f } from "./index-
|
|
6
|
+
import { c as f } from "./index-PAaZGbyz.js";
|
|
7
7
|
const b = "_label_12uyi_2", N = "_checked_12uyi_7", h = "_input_12uyi_16", R = "_content_12uyi_26", v = {
|
|
8
8
|
label: b,
|
|
9
9
|
checked: N,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { e as Y, h as $, g as Ce, c as q,
|
|
3
|
-
import { createContext as te, useRef as
|
|
4
|
-
import { u as ke } from "./2W3RN7C5-
|
|
5
|
-
import { g as ze } from "./RTNCFSKZ-
|
|
2
|
+
import { e as Y, h as $, g as Ce, c as q, V as xe, _ as G, w as J, d as S, p as Q, a as P, r as X, f as Z, b as ee, A as Se, u as R, ao as Pe, ap as A, j as F, aj as we, l as U, aq as he, ar as Ee, x as ye, P as Te, as as De, v as Re } from "./OE2EFRVA-DkdhQLJL.js";
|
|
3
|
+
import { createContext as te, useRef as O, useEffect as Ae, useContext as Fe, useCallback as Oe, useMemo as _e } from "react";
|
|
4
|
+
import { u as ke } from "./2W3RN7C5-uG7eBeTQ.js";
|
|
5
|
+
import { g as ze } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
6
6
|
import { jsx as Ke } from "react/jsx-runtime";
|
|
7
7
|
var w = Y(), Le = w.useContext;
|
|
8
8
|
w.useScopedContext;
|
|
@@ -14,7 +14,7 @@ var Ne = w.ContextProvider, Be = w.ScopedContextProvider, h = Y(
|
|
|
14
14
|
h.useScopedContext;
|
|
15
15
|
var at = h.useProviderContext, ut = h.ContextProvider, lt = h.ScopedContextProvider, He = te(
|
|
16
16
|
void 0
|
|
17
|
-
),
|
|
17
|
+
), Ve = te(
|
|
18
18
|
void 0
|
|
19
19
|
), je = { id: null };
|
|
20
20
|
function ct(r, n, o = !1) {
|
|
@@ -28,7 +28,7 @@ function ct(r, n, o = !1) {
|
|
|
28
28
|
function ft(r, n) {
|
|
29
29
|
return r.find((o) => !o.disabled);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Ue(r, n) {
|
|
32
32
|
return n && r.item(n) || null;
|
|
33
33
|
}
|
|
34
34
|
function dt(r) {
|
|
@@ -80,8 +80,8 @@ var $e = "div", ne = q(
|
|
|
80
80
|
]);
|
|
81
81
|
const c = Le();
|
|
82
82
|
t = t || c;
|
|
83
|
-
const m = J(v.id), p =
|
|
84
|
-
return
|
|
83
|
+
const m = J(v.id), p = O(g);
|
|
84
|
+
return Ae(() => {
|
|
85
85
|
const i = p.current;
|
|
86
86
|
if (!m || !i || !u) return;
|
|
87
87
|
const b = d({ id: m, element: i });
|
|
@@ -97,7 +97,7 @@ Z(function(n) {
|
|
|
97
97
|
});
|
|
98
98
|
var qe = "button";
|
|
99
99
|
function Ge(r) {
|
|
100
|
-
return
|
|
100
|
+
return A(r) ? !0 : r.tagName === "INPUT" && !Te(r);
|
|
101
101
|
}
|
|
102
102
|
function Je(r, n = !1) {
|
|
103
103
|
const o = r.clientHeight, { top: t } = r.getBoundingClientRect(), u = Math.max(o * 0.875, o - 40) * 1.5, d = n ? o - u + t : u + t;
|
|
@@ -118,7 +118,7 @@ function W(r, n, o, t = !1) {
|
|
|
118
118
|
const i = c;
|
|
119
119
|
if (c = o(p), !c) break;
|
|
120
120
|
if (c === i) continue;
|
|
121
|
-
const b = (u =
|
|
121
|
+
const b = (u = Ue(n, c)) == null ? void 0 : u.element;
|
|
122
122
|
if (!b) continue;
|
|
123
123
|
const C = Qe(b, t) - v, l = Math.abs(C);
|
|
124
124
|
if (t && C <= 0 || !t && C >= 0) {
|
|
@@ -130,7 +130,7 @@ function W(r, n, o, t = !1) {
|
|
|
130
130
|
return c;
|
|
131
131
|
}
|
|
132
132
|
function Xe(r, n) {
|
|
133
|
-
return
|
|
133
|
+
return F(r) ? !1 : re(n, r.target);
|
|
134
134
|
}
|
|
135
135
|
var Ze = q(
|
|
136
136
|
function(n) {
|
|
@@ -155,7 +155,7 @@ var Ze = q(
|
|
|
155
155
|
]);
|
|
156
156
|
const b = Me();
|
|
157
157
|
t = t || b;
|
|
158
|
-
const f = J(i.id), C =
|
|
158
|
+
const f = J(i.id), C = O(null), l = Fe(Ve), k = Se(i) && !i.accessibleWhenDisabled, {
|
|
159
159
|
rowId: y,
|
|
160
160
|
baseElement: z,
|
|
161
161
|
isActiveItem: oe,
|
|
@@ -195,7 +195,7 @@ var Ze = q(
|
|
|
195
195
|
const s = t == null ? void 0 : t.item(e.activeId);
|
|
196
196
|
return s != null && s.disabled || !(s != null && s.element) ? !0 : e.activeId === f;
|
|
197
197
|
}
|
|
198
|
-
}), ue =
|
|
198
|
+
}), ue = Oe(
|
|
199
199
|
(e) => {
|
|
200
200
|
var s;
|
|
201
201
|
const a = S(P({}, e), {
|
|
@@ -207,10 +207,10 @@ var Ze = q(
|
|
|
207
207
|
return c ? c(a) : a;
|
|
208
208
|
},
|
|
209
209
|
[f, y, k, c]
|
|
210
|
-
), K = i.onFocus, T =
|
|
210
|
+
), K = i.onFocus, T = O(!1), le = R((e) => {
|
|
211
211
|
if (K == null || K(e), e.defaultPrevented || Pe(e) || !f || !t || Xe(e, t)) return;
|
|
212
212
|
const { virtualFocus: s, baseElement: a } = t.getState();
|
|
213
|
-
if (t.setActiveId(f),
|
|
213
|
+
if (t.setActiveId(f), A(e.currentTarget) && We(e.currentTarget), !s || !F(e) || Ge(e.currentTarget) || !(a != null && a.isConnected)) return;
|
|
214
214
|
we() && e.currentTarget.hasAttribute("data-autofocus") && e.currentTarget.scrollIntoView({
|
|
215
215
|
block: "nearest",
|
|
216
216
|
inline: "nearest"
|
|
@@ -219,8 +219,8 @@ var Ze = q(
|
|
|
219
219
|
if (L == null || L(e), e.defaultPrevented) return;
|
|
220
220
|
const s = t == null ? void 0 : t.getState();
|
|
221
221
|
s != null && s.virtualFocus && T.current && (T.current = !1, e.preventDefault(), e.stopPropagation());
|
|
222
|
-
}), N = i.onKeyDown, fe =
|
|
223
|
-
if (N == null || N(e), e.defaultPrevented || !
|
|
222
|
+
}), N = i.onKeyDown, fe = U(d), de = U(g), me = R((e) => {
|
|
223
|
+
if (N == null || N(e), e.defaultPrevented || !F(e) || !t) return;
|
|
224
224
|
const { currentTarget: s } = e, a = t.getState(), D = t.item(f), I = !!(D != null && D.rowId), E = a.orientation !== "horizontal", x = a.orientation !== "vertical", M = () => !!(I || x || !a.baseElement || !$(a.baseElement)), H = {
|
|
225
225
|
ArrowUp: (I || E) && t.up,
|
|
226
226
|
ArrowRight: (I || x) && t.next,
|
|
@@ -238,17 +238,17 @@ var Ze = q(
|
|
|
238
238
|
PageDown: () => W(s, t, t == null ? void 0 : t.down)
|
|
239
239
|
}[e.key];
|
|
240
240
|
if (H) {
|
|
241
|
-
if (
|
|
241
|
+
if (A(s)) {
|
|
242
242
|
const j = he(s), ve = x && e.key === "ArrowLeft", pe = x && e.key === "ArrowRight", Ie = E && e.key === "ArrowUp", ge = E && e.key === "ArrowDown";
|
|
243
243
|
if (pe || ge) {
|
|
244
244
|
const { length: be } = Ee(s);
|
|
245
245
|
if (j.end !== be) return;
|
|
246
246
|
} else if ((ve || Ie) && j.start !== 0) return;
|
|
247
247
|
}
|
|
248
|
-
const
|
|
249
|
-
if (fe(e) ||
|
|
248
|
+
const V = H();
|
|
249
|
+
if (fe(e) || V !== void 0) {
|
|
250
250
|
if (!de(e)) return;
|
|
251
|
-
e.preventDefault(), t.move(
|
|
251
|
+
e.preventDefault(), t.move(V);
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}), B = _e(
|
|
@@ -292,7 +292,7 @@ export {
|
|
|
292
292
|
ft as d,
|
|
293
293
|
dt as e,
|
|
294
294
|
ct as f,
|
|
295
|
-
|
|
295
|
+
Ue as g,
|
|
296
296
|
vt as h,
|
|
297
297
|
re as i,
|
|
298
298
|
ne as j,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as
|
|
3
|
-
import { e as T, v as w, f as
|
|
4
|
-
import { u as K } from "./RTNCFSKZ-
|
|
2
|
+
import { C as N, a as U, b as y } from "./SBSPVDDI-BoxPz2JY.js";
|
|
3
|
+
import { e as T, v as w, f as O, c as j, b as D, _ as H, w as M, O as $, A as q, a0 as z, u as v, d as B, p as G, a as p, r as J } from "./OE2EFRVA-DkdhQLJL.js";
|
|
4
|
+
import { u as K } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
5
5
|
import { useRef as L, useEffect as k } from "react";
|
|
6
6
|
var Q = T(
|
|
7
7
|
[U],
|
|
8
|
-
[
|
|
8
|
+
[N]
|
|
9
9
|
), V = Q.useContext, P = "input";
|
|
10
10
|
function W(u, r) {
|
|
11
11
|
if (r !== void 0)
|
|
@@ -35,7 +35,7 @@ var Y = j(function(r) {
|
|
|
35
35
|
k(() => {
|
|
36
36
|
!a || !s || (t == null ? void 0 : t.getState().activeId) === a || t == null || t.setActiveId(a);
|
|
37
37
|
}, [t, s, a]);
|
|
38
|
-
const C = o.onChange, x =
|
|
38
|
+
const C = o.onChange, x = $(l, P), n = X(x, o.type), I = q(o), [_, S] = z();
|
|
39
39
|
k(() => {
|
|
40
40
|
const e = l.current;
|
|
41
41
|
e && (n || (s !== void 0 && (e.checked = s), c !== void 0 && (e.name = c), i !== void 0 && (e.value = `${i}`)));
|
|
@@ -50,8 +50,8 @@ var Y = j(function(r) {
|
|
|
50
50
|
g == null || g(e), !e.defaultPrevented && (n || f(e));
|
|
51
51
|
}), h = o.onFocus, F = v((e) => {
|
|
52
52
|
if (h == null || h(e), e.defaultPrevented || !n || !t) return;
|
|
53
|
-
const { moves:
|
|
54
|
-
|
|
53
|
+
const { moves: A, activeId: E } = t.getState();
|
|
54
|
+
A && (a && E !== a || f(e));
|
|
55
55
|
});
|
|
56
56
|
return o = B(p({
|
|
57
57
|
id: a,
|
|
@@ -72,7 +72,7 @@ var Y = j(function(r) {
|
|
|
72
72
|
checked: s
|
|
73
73
|
}, o));
|
|
74
74
|
}), re = w(
|
|
75
|
-
|
|
75
|
+
O(function(r) {
|
|
76
76
|
const d = Y(r);
|
|
77
77
|
return D(P, d);
|
|
78
78
|
})
|
package/dist/Search.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as t, jsxs as x } from "react/jsx-runtime";
|
|
3
|
-
import { D as j } from "./downshift.esm-
|
|
3
|
+
import { D as j } from "./downshift.esm-xtYanIDi.js";
|
|
4
4
|
import { forwardRef as le, useState as he, useCallback as de, useMemo as _e, Fragment as pe } from "react";
|
|
5
5
|
import { CloseButton as me } from "./CloseButton.js";
|
|
6
6
|
import { Icon as ue } from "./Icon.js";
|
|
7
|
-
import { c as fe } from "./index-
|
|
7
|
+
import { c as fe } from "./index-PAaZGbyz.js";
|
|
8
8
|
import { c as ge } from "./create-event-rXDe5aCQ.js";
|
|
9
9
|
import { t as we } from "./throttle-BDBzFeFj.js";
|
|
10
10
|
const Ne = "_wrapper_1c3h3_2", xe = "_indicators_1c3h3_5", ze = "_root_1c3h3_33", Re = "_transparent_1c3h3_81", ve = "_menu_1c3h3_170", Ie = "_item_1c3h3_198", Se = "_highlighted_1c3h3_212", ke = "_selected_1c3h3_215", Ce = {
|
package/dist/Select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as k, jsxs as P } from "react/jsx-runtime";
|
|
3
|
-
import { D as me } from "./downshift.esm-
|
|
4
|
-
import { g as Le, c as Oe } from "./index-
|
|
3
|
+
import { D as me } from "./downshift.esm-xtYanIDi.js";
|
|
4
|
+
import { g as Le, c as Oe } from "./index-PAaZGbyz.js";
|
|
5
5
|
import { forwardRef as Pe, useMemo as $e, useState as $, useEffect as he, useCallback as Ye, Fragment as Be } from "react";
|
|
6
6
|
import { CloseButton as Xe } from "./CloseButton.js";
|
|
7
7
|
import { useField as Ze } from "./Field.js";
|
package/dist/Slider.js
CHANGED
|
@@ -4,7 +4,7 @@ import { forwardRef as Y, useState as $, useRef as S, useCallback as Z, useEffec
|
|
|
4
4
|
import { Hint as H } from "./Hint.js";
|
|
5
5
|
import { InputText as O } from "./InputText.js";
|
|
6
6
|
import { Text as re } from "./Text.js";
|
|
7
|
-
import { c as ne } from "./index-
|
|
7
|
+
import { c as ne } from "./index-PAaZGbyz.js";
|
|
8
8
|
const oe = "_hint_6xzwz_20", se = "_output_6xzwz_149", ce = "_tooltip_6xzwz_162", ue = "_thick_6xzwz_171", de = "_range_6xzwz_8", te = {
|
|
9
9
|
"slider-root": "_slider-root_6xzwz_2",
|
|
10
10
|
"range-root": "_range-root_6xzwz_8",
|
package/dist/Stepper.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as m } from "react";
|
|
4
4
|
import { Icon as n } from "./Icon.js";
|
|
5
|
-
import { c as p } from "./index-
|
|
5
|
+
import { c as p } from "./index-PAaZGbyz.js";
|
|
6
6
|
import { Text as _ } from "./Text.js";
|
|
7
7
|
const u = "_root_1wnun_2", f = "_separator_1wnun_28", d = "_item_1wnun_31", b = "_clickable_1wnun_64", k = "_completed_1wnun_73", w = {
|
|
8
8
|
root: u,
|
package/dist/Swiper.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as le, jsx as A } from "react/jsx-runtime";
|
|
3
|
-
import { a as K, g as ce, c as ue } from "./index-
|
|
3
|
+
import { a as K, g as ce, c as ue } from "./index-PAaZGbyz.js";
|
|
4
4
|
import { useRef as se, useEffect as q, useState as Z, useMemo as de, Children as oe, cloneElement as pe, useCallback as X } from "react";
|
|
5
5
|
import { Button as ne } from "./Button.js";
|
|
6
6
|
import { Icon as re } from "./Icon.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { e as T, f as j, _ as I, a as b, c as Y, b as Z, i as ee, w as te,
|
|
3
|
-
import { createContext as
|
|
4
|
-
import { u as
|
|
2
|
+
import { e as T, f as j, _ as I, a as b, c as Y, b as Z, i as ee, w as te, L as p, x as ne, d as w, p as oe, r as ae, H as S, G as se, I as re, K as ie } from "./OE2EFRVA-DkdhQLJL.js";
|
|
3
|
+
import { createContext as R, useRef as ue, useState as le, useMemo as ce } from "react";
|
|
4
|
+
import { u as F, m as de, o as me, t as fe, c as ve, s as y, a as A, e as pe, b as Se, d as P } from "./RTNCFSKZ-LcIdBwa8.js";
|
|
5
5
|
import { flushSync as De } from "react-dom";
|
|
6
|
-
import { jsx as
|
|
6
|
+
import { jsx as M } from "react/jsx-runtime";
|
|
7
7
|
var _ = T(), N = _.useProviderContext, Ce = _.ContextProvider, xe = _.ScopedContextProvider, D = T(
|
|
8
8
|
[Ce],
|
|
9
9
|
[xe]
|
|
10
|
-
), Ie = D.useScopedContext,
|
|
10
|
+
), Ie = D.useScopedContext, Re = D.useProviderContext, Fe = D.ContextProvider, ge = D.ScopedContextProvider, Me = R(void 0), Ne = R(void 0), Ee = "div";
|
|
11
11
|
function V(n, o) {
|
|
12
12
|
const e = setTimeout(o, n);
|
|
13
13
|
return () => clearTimeout(e);
|
|
@@ -34,7 +34,7 @@ var be = Y(function(o) {
|
|
|
34
34
|
t,
|
|
35
35
|
process.env.NODE_ENV !== "production" && "DisclosureContent must receive a `store` prop or be wrapped in a DisclosureProvider component."
|
|
36
36
|
);
|
|
37
|
-
const s = ue(null), f = te(r.id), [l, h] = le(null), c = t.useState("open"), C = t.useState("mounted"), d = t.useState("animated"), m = t.useState("contentElement"), x =
|
|
37
|
+
const s = ue(null), f = te(r.id), [l, h] = le(null), c = t.useState("open"), C = t.useState("mounted"), d = t.useState("animated"), m = t.useState("contentElement"), x = F(t.disclosure, "contentElement");
|
|
38
38
|
p(() => {
|
|
39
39
|
s.current && (t == null || t.setContentElement(s.current));
|
|
40
40
|
}, [t]), p(() => {
|
|
@@ -61,23 +61,23 @@ var be = Y(function(o) {
|
|
|
61
61
|
const {
|
|
62
62
|
transitionDuration: k,
|
|
63
63
|
animationDuration: q,
|
|
64
|
-
transitionDelay:
|
|
65
|
-
animationDelay:
|
|
64
|
+
transitionDelay: L,
|
|
65
|
+
animationDelay: U
|
|
66
66
|
} = getComputedStyle(m), {
|
|
67
|
-
transitionDuration:
|
|
68
|
-
animationDuration:
|
|
69
|
-
transitionDelay:
|
|
67
|
+
transitionDuration: W = "0",
|
|
68
|
+
animationDuration: G = "0",
|
|
69
|
+
transitionDelay: K = "0",
|
|
70
70
|
animationDelay: z = "0"
|
|
71
71
|
} = x ? getComputedStyle(x) : {}, B = H(
|
|
72
|
-
U,
|
|
73
|
-
W,
|
|
74
72
|
L,
|
|
73
|
+
U,
|
|
74
|
+
K,
|
|
75
75
|
z
|
|
76
76
|
), J = H(
|
|
77
77
|
k,
|
|
78
78
|
q,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
W,
|
|
80
|
+
G
|
|
81
81
|
), O = B + J;
|
|
82
82
|
if (!O) {
|
|
83
83
|
l === "enter" && t.setState("animated", !1), u();
|
|
@@ -87,7 +87,7 @@ var be = Y(function(o) {
|
|
|
87
87
|
return V(X, v);
|
|
88
88
|
}, [t, d, m, x, c, l]), r = ne(
|
|
89
89
|
r,
|
|
90
|
-
(u) => /* @__PURE__ */
|
|
90
|
+
(u) => /* @__PURE__ */ M(ge, { value: t, children: u }),
|
|
91
91
|
[t]
|
|
92
92
|
);
|
|
93
93
|
const g = Pe(C, r.hidden, i), E = r.style, $ = ce(() => g ? w(b({}, E), { display: "none" }) : E, [g, E]);
|
|
@@ -111,10 +111,10 @@ var be = Y(function(o) {
|
|
|
111
111
|
"unmountOnHide"
|
|
112
112
|
]);
|
|
113
113
|
const r = N(), a = i.store || r;
|
|
114
|
-
return
|
|
114
|
+
return F(
|
|
115
115
|
a,
|
|
116
116
|
(f) => !t || (f == null ? void 0 : f.mounted)
|
|
117
|
-
) === !1 ? null : /* @__PURE__ */
|
|
117
|
+
) === !1 ? null : /* @__PURE__ */ M(_e, b({}, i));
|
|
118
118
|
});
|
|
119
119
|
function he(n = {}) {
|
|
120
120
|
const o = de(
|
|
@@ -171,15 +171,15 @@ function ke(n = {}) {
|
|
|
171
171
|
export {
|
|
172
172
|
$e as D,
|
|
173
173
|
Ie as a,
|
|
174
|
-
|
|
174
|
+
Re as b,
|
|
175
175
|
N as c,
|
|
176
176
|
be as d,
|
|
177
177
|
he as e,
|
|
178
178
|
Oe as f,
|
|
179
179
|
ge as g,
|
|
180
|
-
|
|
180
|
+
Me as h,
|
|
181
181
|
Pe as i,
|
|
182
182
|
Ne as j,
|
|
183
|
-
|
|
183
|
+
Fe as k,
|
|
184
184
|
ke as u
|
|
185
185
|
};
|
package/dist/Table.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as s } from "react";
|
|
4
|
-
import { c as i } from "./index-
|
|
4
|
+
import { c as i } from "./index-PAaZGbyz.js";
|
|
5
5
|
const _ = "_root_10vth_2", l = "_content_10vth_6", v = "_clickable_10vth_48", d = "_indent_10vth_70", h = {
|
|
6
6
|
root: _,
|
|
7
7
|
content: l,
|