welcome-ui 0.0.0-dev.1759821506923 → 0.0.0-dev.1760963883873
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2W3RN7C5-bkX-rIa3.js +61 -0
- package/dist/4I4MLMKD-BLxAidnq.js +43 -0
- package/dist/Accordion.js +6 -6
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{4CMBR7SL-Dhp8uJop.js → B7UTNDHN-BlIblHCu.js} +59 -59
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.js +3 -3
- 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.js +3 -3
- package/dist/{SYRFVSLH-CHNUB1rW.js → DSAASPLT-BaaCUKsb.js} +7 -7
- package/dist/DatePicker.js +5 -5
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.js +7 -7
- package/dist/DropdownMenu.js +261 -259
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +194 -221
- package/dist/FileUpload.js +2 -2
- package/dist/GVVKDT6A-bET6V7Py.js +724 -0
- package/dist/Hint.js +1 -1
- package/dist/{Icon-BisRi8B3.js → Icon-EG7O4YwD.js} +1 -1
- package/dist/Icon.js +12 -12
- package/dist/InputText.js +1 -1
- package/dist/{ASMQKSDT-SH1qSiMi.js → KPUWHTQJ-D2TPji47.js} +30 -30
- package/dist/Label.js +3 -3
- package/dist/Link.js +3 -3
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +10 -10
- package/dist/{JC64G2H7-DPy9R0De.js → NI3IVY7K-Ztb3-XAv.js} +571 -571
- package/dist/{P4IRICAX-7kH4HzWI.js → NMGNQVTG-C6TqBngP.js} +5 -5
- package/dist/{LVA2YJMS-NUHCRwFZ.js → OE2EFRVA-C3721cM3.js} +316 -315
- package/dist/{ITI7HKP4-C5xLpoVY.js → OLVWQA7U-DysaSaZj.js} +59 -59
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +81 -73
- package/dist/PasswordInput.js +17 -18
- package/dist/Popover.js +14 -14
- package/dist/{YV4JVR4I-CVFstk2K.js → RTNCFSKZ-qpPg689E.js} +75 -73
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +21 -21
- package/dist/RadioTab.js +2 -2
- package/dist/{P2CTZE2T-D1TepwxQ.js → SBSPVDDI-DJKkC1eb.js} +43 -43
- package/dist/{NLEBE274-B4zy25kL.js → SQZLCNLX-CHDXnZ16.js} +16 -16
- package/dist/Search.js +2 -2
- package/dist/Select.js +170 -181
- package/dist/Slider.js +1 -1
- package/dist/Swiper.css +1 -1
- package/dist/Swiper.js +151 -151
- package/dist/{VGCJ63VH-CVhs4PYt.js → T22PY7TE-C1N0q8Kn.js} +109 -109
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +303 -308
- package/dist/Tag.js +3 -3
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.js +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.js +72 -72
- package/dist/VariantIcon.js +3 -3
- package/dist/WelcomeLoader.js +1 -1
- package/dist/XCKGTAUF-DkxWCbaW.js +25 -0
- package/dist/Y67KZUMI-DFEgrUv2.js +15 -0
- package/dist/{AXB53BZF-BHeessqV.js → ZTXFEM5L-CkrIQCN1.js} +7 -7
- package/dist/{field-icon-size-Du58qHNC.js → field-icon-size-Z5NulTSk.js} +216 -224
- package/dist/{index-5rXezknO.js → index-BC2bF45u.js} +1 -1
- package/dist/{index-C8GsqBDe.js → index-BeetbagJ.js} +1 -1
- package/dist/{index-BJLXLdM3.js → index-Bt79XJ8R.js} +1 -1
- package/dist/{index-Dcq5gh3E.js → index-BtwrJ6N4.js} +1 -1
- package/dist/{index-DL4-ut3P.js → index-CCASZBtz.js} +1 -1
- package/dist/{index-lbUBMgHp.js → index-CPqDZeah.js} +2 -2
- package/dist/{index-CTgip19b.js → index-CQEPCbEE.js} +1 -1
- package/dist/{index-CnxSNAPH.js → index-Crpe9CvH.js} +1 -1
- package/dist/{index-CWVOLBDY.js → index-D5a8Oe6k.js} +1 -1
- package/dist/{index-C1jjVTAc.js → index-D8dq-I5s.js} +1 -1
- package/dist/{index-Cvtm6uuS.js → index-DkwTwo3z.js} +1 -1
- package/dist/{index-BG2aV9o8.js → index-DnO8yBVT.js} +1 -1
- package/dist/index.css +0 -0
- package/dist/tslib.es6-DpB4Y59c.js +683 -0
- package/dist/types/components/Pagination/index.d.ts +1 -2
- package/dist/types/components/Pagination/types.d.ts +5 -2
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
- package/dist/types/components/PasswordInput/types.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +1 -1
- package/dist/types/components/Tabs/types.d.ts +1 -2
- package/dist/types/components/Tabs/utils.d.ts +1 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/theme/index.d.ts +0 -0
- package/dist/types/utils/useForkRef.d.ts +7 -1
- package/dist/useForkRef-D807AV7D.js +22 -0
- package/dist/{utils-BNMgUIHQ.js → utils-BpbIqM56.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +4 -5
- package/dist/BYC7LY2E-DbSoi9cN.js +0 -673
- package/dist/KUU7WJ55-CsIy9XMu.js +0 -61
- package/dist/MTZPJQMC-D_TnSwZf.js +0 -15
- package/dist/QYJ6MIDR-Dm7lYMh6.js +0 -43
- package/dist/X5NMLKT6-PeY306ft.js +0 -25
- package/dist/index--0U5Rubs.js +0 -644
- /package/dist/{index-PAaZGbyz.js → index-CdiHdiVB.js} +0 -0
package/dist/Tag.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import d from "react";
|
|
4
4
|
import { Button as h } from "./Button.js";
|
|
5
|
-
import "./Icon-
|
|
6
|
-
import { C as z } from "./index-
|
|
7
|
-
import { c as R } from "./index-
|
|
5
|
+
import "./Icon-EG7O4YwD.js";
|
|
6
|
+
import { C as z } from "./index-Bt79XJ8R.js";
|
|
7
|
+
import { c as R } from "./index-CdiHdiVB.js";
|
|
8
8
|
import { f as S } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
9
9
|
const k = "_root_1xtnl_2", y = "_hasRemoveAction_1xtnl_188", C = "_isSquare_1xtnl_194", q = "_removeButton_1xtnl_199", A = {
|
|
10
10
|
root: k,
|
package/dist/Text.js
CHANGED
package/dist/Textarea.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as c } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as m } from "react";
|
|
4
4
|
import { useField as _ } from "./Field.js";
|
|
5
|
-
import { c as x } from "./index-
|
|
5
|
+
import { c as x } from "./index-CdiHdiVB.js";
|
|
6
6
|
const v = "_root_zxsmz_2", z = {
|
|
7
7
|
root: v,
|
|
8
8
|
"variant-danger": "_variant-danger_zxsmz_34",
|
package/dist/TimePicker.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as f } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as S, useState as w, useRef as j, useEffect as d } from "react";
|
|
4
4
|
import { D as F, C as I } from "./CustomPopper-vwbOQq72.js";
|
|
5
|
-
import { b as L, D as M, s as O } from "./utils-
|
|
5
|
+
import { b as L, D as M, s as O } from "./utils-BpbIqM56.js";
|
|
6
6
|
import { InputText as U } from "./InputText.js";
|
|
7
|
-
import { c as _ } from "./index-
|
|
7
|
+
import { c as _ } from "./index-CdiHdiVB.js";
|
|
8
8
|
const q = _(O), V = S(
|
|
9
9
|
({
|
|
10
10
|
autoFocus: o,
|
package/dist/Toast.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as k, Fragment as re } from "react/jsx-runtime";
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import { useRef as U, useCallback as _, useEffect as I, useState as se, forwardRef as W, cloneElement as oe } from "react";
|
|
5
|
-
import { c as P } from "./index-
|
|
5
|
+
import { c as P } from "./index-CdiHdiVB.js";
|
|
6
6
|
import { Alert as Y } from "./Alert.js";
|
|
7
7
|
import { Button as ie } from "./Button.js";
|
|
8
8
|
import { f as ne } from "./forwardRefWithAs-8eP3ZN15.js";
|
package/dist/Toggle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as b, jsx as _ } from "react/jsx-runtime";
|
|
3
|
-
import { C as d } from "./
|
|
3
|
+
import { C as d } from "./KPUWHTQJ-D2TPji47.js";
|
|
4
4
|
import { forwardRef as w } from "react";
|
|
5
5
|
import { useField as x } from "./Field.js";
|
|
6
|
-
import { c as f } from "./index-
|
|
6
|
+
import { c as f } from "./index-CdiHdiVB.js";
|
|
7
7
|
const z = "_root_1p0tb_2", g = "_wrapper_1p0tb_91", h = "_checked_1p0tb_112", u = {
|
|
8
8
|
root: z,
|
|
9
9
|
"size-md": "_size-md_1p0tb_64",
|
package/dist/Tooltip.js
CHANGED
|
@@ -1,42 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as T, jsxs as $, Fragment as
|
|
3
|
-
import {
|
|
4
|
-
import { c as z, u as
|
|
5
|
-
import {
|
|
6
|
-
import { c as ie } from "./
|
|
2
|
+
import { jsx as T, jsxs as $, Fragment as Y } from "react/jsx-runtime";
|
|
3
|
+
import { H as J, a as K, u as Q, c as U, b as X, d as Z, e as ee } from "./GVVKDT6A-bET6V7Py.js";
|
|
4
|
+
import { e as te, f as x, c as H, b as A, _ as C, i as N, x as oe, a as b, d as z, z as g, q as re, S as ne, u as y, G as D, H as P, I as O } from "./OE2EFRVA-C3721cM3.js";
|
|
5
|
+
import { c as se } from "./NI3IVY7K-Ztb3-XAv.js";
|
|
6
|
+
import { a as F, c as L, b as ae, d as M, u as ie } from "./RTNCFSKZ-qpPg689E.js";
|
|
7
7
|
import ue, { useRef as le, useEffect as w, forwardRef as ce, useState as pe, useCallback as de } from "react";
|
|
8
|
-
import { c as ve } from "./index-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.",
|
|
14
|
-
"See https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names"
|
|
15
|
-
);
|
|
16
|
-
const t = (r = o.store) == null ? void 0 : r.getState(), e = J(j(y({}, o), {
|
|
17
|
-
placement: P(
|
|
18
|
-
o.placement,
|
|
19
|
-
t == null ? void 0 : t.placement,
|
|
20
|
-
"top"
|
|
21
|
-
),
|
|
22
|
-
hideTimeout: P(o.hideTimeout, t == null ? void 0 : t.hideTimeout, 0)
|
|
23
|
-
})), c = j(y({}, e.getState()), {
|
|
24
|
-
type: P(o.type, t == null ? void 0 : t.type, "description"),
|
|
25
|
-
skipTimeout: P(o.skipTimeout, t == null ? void 0 : t.skipTimeout, 300)
|
|
26
|
-
}), s = z(c, e, o.store);
|
|
27
|
-
return y(y({}, e), s);
|
|
28
|
-
}
|
|
29
|
-
function fe(o, r, t) {
|
|
30
|
-
return D(o, t, "type"), D(o, t, "skipTimeout"), K(o, r, t);
|
|
31
|
-
}
|
|
32
|
-
function Se(o = {}) {
|
|
33
|
-
const [r, t] = te(me, o);
|
|
34
|
-
return fe(r, t, o);
|
|
35
|
-
}
|
|
36
|
-
var k = re(
|
|
37
|
-
[U],
|
|
38
|
-
[Q]
|
|
39
|
-
), he = k.useContext, V = k.useProviderContext, Te = k.ScopedContextProvider, be = "div", _e = H(
|
|
8
|
+
import { c as ve } from "./index-CdiHdiVB.js";
|
|
9
|
+
var k = te(
|
|
10
|
+
[K],
|
|
11
|
+
[J]
|
|
12
|
+
), me = k.useContext, V = k.useProviderContext, fe = k.ScopedContextProvider, Se = "div", he = H(
|
|
40
13
|
function(r) {
|
|
41
14
|
var t = r, {
|
|
42
15
|
store: e,
|
|
@@ -57,15 +30,15 @@ var k = re(
|
|
|
57
30
|
e = e || p, N(
|
|
58
31
|
e,
|
|
59
32
|
process.env.NODE_ENV !== "production" && "Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component."
|
|
60
|
-
), a =
|
|
33
|
+
), a = oe(
|
|
61
34
|
a,
|
|
62
|
-
(i) => /* @__PURE__ */ T(
|
|
35
|
+
(i) => /* @__PURE__ */ T(fe, { value: e, children: i }),
|
|
63
36
|
[e]
|
|
64
37
|
);
|
|
65
38
|
const S = e.useState(
|
|
66
39
|
(i) => i.type === "description" ? "tooltip" : "none"
|
|
67
40
|
);
|
|
68
|
-
return a = b({ role: S }, a), a =
|
|
41
|
+
return a = b({ role: S }, a), a = Q(z(b({}, a), {
|
|
69
42
|
store: e,
|
|
70
43
|
portal: c,
|
|
71
44
|
gutter: s,
|
|
@@ -78,26 +51,26 @@ var k = re(
|
|
|
78
51
|
hideOnInteractOutside: (i) => {
|
|
79
52
|
if (g(f, i)) return !1;
|
|
80
53
|
const u = e == null ? void 0 : e.getState().anchorElement;
|
|
81
|
-
return u ? !
|
|
54
|
+
return u ? !re(u, i.target) : !0;
|
|
82
55
|
}
|
|
83
56
|
})), a;
|
|
84
57
|
}
|
|
85
|
-
),
|
|
58
|
+
), Te = se(
|
|
86
59
|
x(function(r) {
|
|
87
|
-
const t =
|
|
88
|
-
return A(
|
|
60
|
+
const t = he(r);
|
|
61
|
+
return A(Se, t);
|
|
89
62
|
}),
|
|
90
63
|
V
|
|
91
|
-
),
|
|
64
|
+
), be = "div", m = L({
|
|
92
65
|
activeStore: null
|
|
93
66
|
});
|
|
94
|
-
function
|
|
67
|
+
function j(o) {
|
|
95
68
|
return () => {
|
|
96
69
|
const { activeStore: r } = m.getState();
|
|
97
70
|
r === o && m.setState("activeStore", null);
|
|
98
71
|
};
|
|
99
72
|
}
|
|
100
|
-
var
|
|
73
|
+
var _e = H(
|
|
101
74
|
function(r) {
|
|
102
75
|
var t = r, { store: e, showOnHover: c = !0 } = t, s = C(t, ["store", "showOnHover"]);
|
|
103
76
|
const v = V();
|
|
@@ -110,11 +83,11 @@ var ye = H(
|
|
|
110
83
|
n.mounted || (d.current = !1);
|
|
111
84
|
}), [e]), w(() => {
|
|
112
85
|
if (e)
|
|
113
|
-
return
|
|
86
|
+
return ne(
|
|
114
87
|
// Immediately remove the current store from the global store when
|
|
115
88
|
// the component unmounts. This is useful, for example, to avoid
|
|
116
89
|
// showing tooltips immediately on serial tests.
|
|
117
|
-
|
|
90
|
+
j(e),
|
|
118
91
|
F(e, ["mounted", "skipTimeout"], (n) => {
|
|
119
92
|
if (!e) return;
|
|
120
93
|
if (n.mounted) {
|
|
@@ -122,18 +95,18 @@ var ye = H(
|
|
|
122
95
|
return h !== e && (h == null || h.hide()), m.setState("activeStore", e);
|
|
123
96
|
}
|
|
124
97
|
const l = setTimeout(
|
|
125
|
-
|
|
98
|
+
j(e),
|
|
126
99
|
n.skipTimeout
|
|
127
100
|
);
|
|
128
101
|
return () => clearTimeout(l);
|
|
129
102
|
})
|
|
130
103
|
);
|
|
131
104
|
}, [e]);
|
|
132
|
-
const f = s.onMouseEnter, a =
|
|
105
|
+
const f = s.onMouseEnter, a = y((n) => {
|
|
133
106
|
f == null || f(n), d.current = !0;
|
|
134
|
-
}), p = s.onFocusVisible, S =
|
|
107
|
+
}), p = s.onFocusVisible, S = y((n) => {
|
|
135
108
|
p == null || p(n), !n.defaultPrevented && (e == null || e.setAnchorElement(n.currentTarget), e == null || e.show());
|
|
136
|
-
}), i = s.onBlur, u =
|
|
109
|
+
}), i = s.onBlur, u = y((n) => {
|
|
137
110
|
if (i == null || i(n), n.defaultPrevented) return;
|
|
138
111
|
const { activeStore: l } = m.getState();
|
|
139
112
|
d.current = !1, l === e && m.setState("activeStore", null);
|
|
@@ -141,13 +114,13 @@ var ye = H(
|
|
|
141
114
|
var l;
|
|
142
115
|
return (l = n.contentElement) == null ? void 0 : l.id;
|
|
143
116
|
});
|
|
144
|
-
return s =
|
|
117
|
+
return s = z(b({
|
|
145
118
|
"aria-labelledby": _ === "label" ? E : void 0
|
|
146
119
|
}, s), {
|
|
147
120
|
onMouseEnter: a,
|
|
148
121
|
onFocusVisible: S,
|
|
149
122
|
onBlur: u
|
|
150
|
-
}), s =
|
|
123
|
+
}), s = U(b({
|
|
151
124
|
store: e,
|
|
152
125
|
showOnHover(n) {
|
|
153
126
|
if (!d.current || g(c, n)) return !1;
|
|
@@ -156,22 +129,49 @@ var ye = H(
|
|
|
156
129
|
}
|
|
157
130
|
}, s)), s;
|
|
158
131
|
}
|
|
159
|
-
),
|
|
160
|
-
const t =
|
|
161
|
-
return A(
|
|
162
|
-
}),
|
|
132
|
+
), Ee = x(function(r) {
|
|
133
|
+
const t = _e(r);
|
|
134
|
+
return A(be, t);
|
|
135
|
+
}), Pe = "div", Oe = H(
|
|
163
136
|
function(r) {
|
|
164
137
|
var t = r, { store: e, size: c = 16 } = t, s = C(t, ["store", "size"]);
|
|
165
|
-
const v =
|
|
138
|
+
const v = me();
|
|
166
139
|
return e = e || v, N(
|
|
167
140
|
e,
|
|
168
141
|
process.env.NODE_ENV !== "production" && "TooltipArrow must be wrapped in a Tooltip component."
|
|
169
|
-
), s =
|
|
142
|
+
), s = X(b({ store: e, size: c }, s)), s;
|
|
170
143
|
}
|
|
171
|
-
),
|
|
172
|
-
const t =
|
|
173
|
-
return A(
|
|
144
|
+
), ye = x(function(r) {
|
|
145
|
+
const t = Oe(r);
|
|
146
|
+
return A(Pe, t);
|
|
174
147
|
});
|
|
148
|
+
function ge(o = {}) {
|
|
149
|
+
var r;
|
|
150
|
+
process.env.NODE_ENV !== "production" && o.type === "label" && console.warn(
|
|
151
|
+
"The `type` option on the tooltip store is deprecated.",
|
|
152
|
+
"Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.",
|
|
153
|
+
"See https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names"
|
|
154
|
+
);
|
|
155
|
+
const t = (r = o.store) == null ? void 0 : r.getState(), e = Z(D(O({}, o), {
|
|
156
|
+
placement: P(
|
|
157
|
+
o.placement,
|
|
158
|
+
t == null ? void 0 : t.placement,
|
|
159
|
+
"top"
|
|
160
|
+
),
|
|
161
|
+
hideTimeout: P(o.hideTimeout, t == null ? void 0 : t.hideTimeout, 0)
|
|
162
|
+
})), c = D(O({}, e.getState()), {
|
|
163
|
+
type: P(o.type, t == null ? void 0 : t.type, "description"),
|
|
164
|
+
skipTimeout: P(o.skipTimeout, t == null ? void 0 : t.skipTimeout, 300)
|
|
165
|
+
}), s = L(c, e, o.store);
|
|
166
|
+
return O(O({}, e), s);
|
|
167
|
+
}
|
|
168
|
+
function we(o, r, t) {
|
|
169
|
+
return M(o, t, "type"), M(o, t, "skipTimeout"), ee(o, r, t);
|
|
170
|
+
}
|
|
171
|
+
function xe(o = {}) {
|
|
172
|
+
const [r, t] = ae(ge, o);
|
|
173
|
+
return we(r, t, o);
|
|
174
|
+
}
|
|
175
175
|
const He = "_root_1d43p_2", Ae = "_childItem_1d43p_22", Ce = {
|
|
176
176
|
root: He,
|
|
177
177
|
childItem: Ae
|
|
@@ -187,7 +187,7 @@ const He = "_root_1d43p_2", Ae = "_childItem_1d43p_22", Ce = {
|
|
|
187
187
|
...d
|
|
188
188
|
}, f) => {
|
|
189
189
|
var I;
|
|
190
|
-
const a =
|
|
190
|
+
const a = xe({ animated: 300, placement: s }), { anchorElement: p, mounted: S, popoverElement: i } = ie(a), { render: u, setState: _ } = a, [E, n] = pe({ x: 0, y: 0 }), l = () => {
|
|
191
191
|
i && Object.assign(i.style, {
|
|
192
192
|
display: S ? "block" : "none",
|
|
193
193
|
left: `${E.x}px`,
|
|
@@ -196,19 +196,19 @@ const He = "_root_1d43p_2", Ae = "_childItem_1d43p_22", Ce = {
|
|
|
196
196
|
});
|
|
197
197
|
}, h = de(() => {
|
|
198
198
|
_("animating", !1);
|
|
199
|
-
}, [_]),
|
|
199
|
+
}, [_]), q = (I = o == null ? void 0 : o.props) != null && I.disabled ? ue.Children.only(/* @__PURE__ */ T("span", { className: B("childItem"), children: o })) : o;
|
|
200
200
|
return w(() => {
|
|
201
|
-
function R({ clientX:
|
|
202
|
-
n({ x:
|
|
201
|
+
function R({ clientX: G, clientY: W }) {
|
|
202
|
+
n({ x: G, y: W }), u();
|
|
203
203
|
}
|
|
204
204
|
if (p && !e)
|
|
205
205
|
return p.addEventListener("mousemove", R), () => {
|
|
206
206
|
p.removeEventListener("mousemove", R);
|
|
207
207
|
};
|
|
208
|
-
}, [u, e, p]), t ? /* @__PURE__ */ $(
|
|
209
|
-
/* @__PURE__ */ T(
|
|
208
|
+
}, [u, e, p]), t ? /* @__PURE__ */ $(Y, { children: [
|
|
209
|
+
/* @__PURE__ */ T(Ee, { render: q, store: a }),
|
|
210
210
|
/* @__PURE__ */ $(
|
|
211
|
-
|
|
211
|
+
Te,
|
|
212
212
|
{
|
|
213
213
|
className: B("root", r),
|
|
214
214
|
fixed: e,
|
|
@@ -219,7 +219,7 @@ const He = "_root_1d43p_2", Ae = "_childItem_1d43p_22", Ce = {
|
|
|
219
219
|
store: a,
|
|
220
220
|
updatePosition: e ? void 0 : l,
|
|
221
221
|
children: [
|
|
222
|
-
v ? /* @__PURE__ */ T(
|
|
222
|
+
v ? /* @__PURE__ */ T(ye, {}) : null,
|
|
223
223
|
t
|
|
224
224
|
]
|
|
225
225
|
}
|
package/dist/VariantIcon.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as c } from "react";
|
|
4
|
-
import "./Icon-
|
|
5
|
-
import { A as e, C as u, I as _, a as m, S as g, P as v } from "./index-
|
|
6
|
-
import { c as I } from "./index-
|
|
4
|
+
import "./Icon-EG7O4YwD.js";
|
|
5
|
+
import { A as e, C as u, I as _, a as m, S as g, P as v } from "./index-DkwTwo3z.js";
|
|
6
|
+
import { c as I } from "./index-CdiHdiVB.js";
|
|
7
7
|
const f = "_root_1gsuu_2", p = {
|
|
8
8
|
root: f,
|
|
9
9
|
"variant-ai": "_variant-ai_1gsuu_9",
|
package/dist/WelcomeLoader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as As } from "react/jsx-runtime";
|
|
3
|
-
import { a as br, c as Ps } from "./index-
|
|
3
|
+
import { a as br, c as Ps } from "./index-CdiHdiVB.js";
|
|
4
4
|
import ws, { forwardRef as Cs } from "react";
|
|
5
5
|
var Ke = { exports: {} }, Es = Ke.exports, _r;
|
|
6
6
|
function Ms() {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { u as f } from "./2W3RN7C5-bkX-rIa3.js";
|
|
3
|
+
import { f as c, c as m, b as i, N as B, O as u, d as l, p as d, a as v } from "./OE2EFRVA-C3721cM3.js";
|
|
4
|
+
import { useRef as N, useState as g, useEffect as _ } from "react";
|
|
5
|
+
var s = "button", b = m(
|
|
6
|
+
function(t) {
|
|
7
|
+
const e = N(null), a = B(e, s), [n, o] = g(
|
|
8
|
+
() => !!a && u({ tagName: a, type: t.type })
|
|
9
|
+
);
|
|
10
|
+
return _(() => {
|
|
11
|
+
e.current && o(u(e.current));
|
|
12
|
+
}, []), t = l(v({
|
|
13
|
+
role: !n && a !== "a" ? "button" : void 0
|
|
14
|
+
}, t), {
|
|
15
|
+
ref: d(e, t.ref)
|
|
16
|
+
}), t = f(t), t;
|
|
17
|
+
}
|
|
18
|
+
), P = c(function(t) {
|
|
19
|
+
const e = b(t);
|
|
20
|
+
return i(s, e);
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
P as B,
|
|
24
|
+
b as u
|
|
25
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { g as o, k as r } from "./T22PY7TE-C1N0q8Kn.js";
|
|
3
|
+
import { e as t } from "./OE2EFRVA-C3721cM3.js";
|
|
4
|
+
var e = t(
|
|
5
|
+
[r],
|
|
6
|
+
[o]
|
|
7
|
+
), x = e.useContext;
|
|
8
|
+
e.useScopedContext;
|
|
9
|
+
var i = e.useProviderContext, n = e.ContextProvider, s = e.ScopedContextProvider;
|
|
10
|
+
export {
|
|
11
|
+
s as P,
|
|
12
|
+
n as a,
|
|
13
|
+
x as b,
|
|
14
|
+
i as u
|
|
15
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u } from "./
|
|
3
|
-
import { b as c } from "./
|
|
4
|
-
import { l, c as p,
|
|
5
|
-
var
|
|
2
|
+
import { u } from "./NMGNQVTG-C6TqBngP.js";
|
|
3
|
+
import { b as c } from "./T22PY7TE-C1N0q8Kn.js";
|
|
4
|
+
import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-C3721cM3.js";
|
|
5
|
+
var f = "button", d = p(
|
|
6
6
|
function(r) {
|
|
7
7
|
var s = r, { store: o } = s, e = m(s, ["store"]);
|
|
8
8
|
const i = c();
|
|
@@ -16,10 +16,10 @@ var d = "button", f = p(
|
|
|
16
16
|
}, e), e = u(a({ store: o }, e)), e;
|
|
17
17
|
}
|
|
18
18
|
), P = l(function(r) {
|
|
19
|
-
const s =
|
|
20
|
-
return D(
|
|
19
|
+
const s = d(r);
|
|
20
|
+
return D(f, s);
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
23
|
P as D,
|
|
24
|
-
|
|
24
|
+
d as u
|
|
25
25
|
};
|