welcome-ui 9.0.0-alpha.4 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +47 -3
  2. package/dist/2W3RN7C5-bkX-rIa3.js +61 -0
  3. package/dist/4I4MLMKD-BLxAidnq.js +43 -0
  4. package/dist/Accordion.js +6 -6
  5. package/dist/Alert.js +1 -1
  6. package/dist/AspectRatio.js +1 -1
  7. package/dist/Avatar.js +1 -1
  8. package/dist/{4CMBR7SL-Dhp8uJop.js → B7UTNDHN-BlIblHCu.js} +59 -59
  9. package/dist/Badge.js +1 -1
  10. package/dist/Breadcrumb.css +1 -1
  11. package/dist/Breadcrumb.js +27 -27
  12. package/dist/Button.js +2 -2
  13. package/dist/ButtonGroup.js +1 -1
  14. package/dist/Card.js +1 -1
  15. package/dist/Checkbox.css +1 -1
  16. package/dist/Checkbox.js +22 -22
  17. package/dist/CloseButton.js +3 -3
  18. package/dist/{SYRFVSLH-CHNUB1rW.js → DSAASPLT-BaaCUKsb.js} +7 -7
  19. package/dist/DatePicker.js +5 -5
  20. package/dist/DateTimePicker.js +2 -2
  21. package/dist/Drawer.css +1 -1
  22. package/dist/Drawer.js +67 -67
  23. package/dist/DropdownMenu.js +261 -259
  24. package/dist/Field.js +1 -1
  25. package/dist/FieldGroup.js +1 -1
  26. package/dist/FileDrop.js +194 -221
  27. package/dist/FileUpload.js +2 -2
  28. package/dist/GVVKDT6A-bET6V7Py.js +724 -0
  29. package/dist/Hint.js +1 -1
  30. package/dist/{Icon-BisRi8B3.js → Icon-EG7O4YwD.js} +1 -1
  31. package/dist/Icon.js +12 -12
  32. package/dist/InputText.js +1 -1
  33. package/dist/{ASMQKSDT-SH1qSiMi.js → KPUWHTQJ-D2TPji47.js} +30 -30
  34. package/dist/Label.js +3 -3
  35. package/dist/Link.css +1 -1
  36. package/dist/Link.js +27 -27
  37. package/dist/Loader.js +1 -1
  38. package/dist/Logo.js +1 -1
  39. package/dist/Modal.js +10 -10
  40. package/dist/{JC64G2H7-DPy9R0De.js → NI3IVY7K-Ztb3-XAv.js} +571 -571
  41. package/dist/{P4IRICAX-7kH4HzWI.js → NMGNQVTG-C6TqBngP.js} +5 -5
  42. package/dist/{LVA2YJMS-NUHCRwFZ.js → OE2EFRVA-C3721cM3.js} +316 -315
  43. package/dist/{ITI7HKP4-C5xLpoVY.js → OLVWQA7U-DysaSaZj.js} +59 -59
  44. package/dist/Pagination.css +1 -1
  45. package/dist/Pagination.js +81 -73
  46. package/dist/PasswordInput.js +17 -18
  47. package/dist/Popover.js +14 -14
  48. package/dist/{YV4JVR4I-CVFstk2K.js → RTNCFSKZ-qpPg689E.js} +75 -73
  49. package/dist/Radio.css +1 -1
  50. package/dist/Radio.js +29 -29
  51. package/dist/RadioGroup.js +21 -21
  52. package/dist/RadioTab.js +2 -2
  53. package/dist/{P2CTZE2T-D1TepwxQ.js → SBSPVDDI-DJKkC1eb.js} +43 -43
  54. package/dist/{NLEBE274-B4zy25kL.js → SQZLCNLX-CHDXnZ16.js} +16 -16
  55. package/dist/Search.js +2 -2
  56. package/dist/Select.js +170 -181
  57. package/dist/Slider.js +1 -1
  58. package/dist/Swiper.css +1 -1
  59. package/dist/Swiper.js +151 -151
  60. package/dist/{VGCJ63VH-CVhs4PYt.js → T22PY7TE-C1N0q8Kn.js} +109 -109
  61. package/dist/Table.js +1 -1
  62. package/dist/Tabs.js +303 -308
  63. package/dist/Tag.js +3 -3
  64. package/dist/Text.js +1 -1
  65. package/dist/Textarea.js +1 -1
  66. package/dist/TimePicker.js +2 -2
  67. package/dist/Toast.js +1 -1
  68. package/dist/Toggle.js +2 -2
  69. package/dist/Tooltip.js +72 -72
  70. package/dist/VariantIcon.js +3 -3
  71. package/dist/WelcomeLoader.js +1 -1
  72. package/dist/XCKGTAUF-DkxWCbaW.js +25 -0
  73. package/dist/Y67KZUMI-DFEgrUv2.js +15 -0
  74. package/dist/{AXB53BZF-BHeessqV.js → ZTXFEM5L-CkrIQCN1.js} +7 -7
  75. package/dist/{field-icon-size-Du58qHNC.js → field-icon-size-Z5NulTSk.js} +216 -224
  76. package/dist/{index-5rXezknO.js → index-BC2bF45u.js} +1 -1
  77. package/dist/{index-C8GsqBDe.js → index-BeetbagJ.js} +1 -1
  78. package/dist/{index-BJLXLdM3.js → index-Bt79XJ8R.js} +1 -1
  79. package/dist/{index-Dcq5gh3E.js → index-BtwrJ6N4.js} +1 -1
  80. package/dist/{index-DL4-ut3P.js → index-CCASZBtz.js} +1 -1
  81. package/dist/{index-lbUBMgHp.js → index-CPqDZeah.js} +2 -2
  82. package/dist/{index-CTgip19b.js → index-CQEPCbEE.js} +1 -1
  83. package/dist/{index-CnxSNAPH.js → index-Crpe9CvH.js} +1 -1
  84. package/dist/{index-CWVOLBDY.js → index-D5a8Oe6k.js} +1 -1
  85. package/dist/{index-C1jjVTAc.js → index-D8dq-I5s.js} +1 -1
  86. package/dist/{index-Cvtm6uuS.js → index-DkwTwo3z.js} +1 -1
  87. package/dist/{index-BG2aV9o8.js → index-DnO8yBVT.js} +1 -1
  88. package/dist/index.css +0 -0
  89. package/dist/tslib.es6-DpB4Y59c.js +683 -0
  90. package/dist/types/components/Pagination/index.d.ts +1 -2
  91. package/dist/types/components/Pagination/types.d.ts +5 -2
  92. package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
  93. package/dist/types/components/PasswordInput/types.d.ts +1 -1
  94. package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -1
  95. package/dist/types/components/Tabs/index.d.ts +1 -1
  96. package/dist/types/components/Tabs/types.d.ts +1 -2
  97. package/dist/types/components/Tabs/utils.d.ts +1 -2
  98. package/dist/types/utils/index.d.ts +1 -0
  99. package/dist/types/utils/theme/index.d.ts +0 -0
  100. package/dist/types/utils/useForkRef.d.ts +7 -1
  101. package/dist/useForkRef-D807AV7D.js +22 -0
  102. package/dist/{utils-BNMgUIHQ.js → utils-BpbIqM56.js} +1 -1
  103. package/dist/utils.js +2 -2
  104. package/package.json +5 -5
  105. package/dist/BYC7LY2E-DbSoi9cN.js +0 -673
  106. package/dist/KUU7WJ55-CsIy9XMu.js +0 -61
  107. package/dist/MTZPJQMC-D_TnSwZf.js +0 -15
  108. package/dist/QYJ6MIDR-Dm7lYMh6.js +0 -43
  109. package/dist/X5NMLKT6-PeY306ft.js +0 -25
  110. package/dist/index--0U5Rubs.js +0 -644
  111. /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-BisRi8B3.js";
6
- import { C as z } from "./index-BJLXLdM3.js";
7
- import { c as R } from "./index-PAaZGbyz.js";
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
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { createElement as v } from "react";
3
- import { c as u } from "./index-PAaZGbyz.js";
3
+ import { c as u } from "./index-CdiHdiVB.js";
4
4
  import { f as d } from "./forwardRefWithAs-8eP3ZN15.js";
5
5
  const p = "_root_hcsa6_2", b = {
6
6
  root: p,
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-PAaZGbyz.js";
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",
@@ -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-BNMgUIHQ.js";
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-PAaZGbyz.js";
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-PAaZGbyz.js";
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 "./ASMQKSDT-SH1qSiMi.js";
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-PAaZGbyz.js";
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 G } from "react/jsx-runtime";
3
- import { c as J, u as K, H as Q, a as U, b as X, e as Z, d as ee } from "./BYC7LY2E-DbSoi9cN.js";
4
- import { c as z, u as te, b as D, a as F, d as oe } from "./YV4JVR4I-CVFstk2K.js";
5
- import { x as j, y as P, z as y, v as re, l as x, c as H, n as A, _ as C, i as N, D as ne, g as b, e as L, F as g, j as se, S as ae, b as O } from "./LVA2YJMS-NUHCRwFZ.js";
6
- import { c as ie } from "./JC64G2H7-DPy9R0De.js";
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-PAaZGbyz.js";
9
- function me(o = {}) {
10
- var r;
11
- process.env.NODE_ENV !== "production" && o.type === "label" && console.warn(
12
- "The `type` option on the tooltip store is deprecated.",
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 = ne(
33
+ ), a = oe(
61
34
  a,
62
- (i) => /* @__PURE__ */ T(Te, { value: e, children: i }),
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 = X(L(b({}, 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 ? !se(u, i.target) : !0;
54
+ return u ? !re(u, i.target) : !0;
82
55
  }
83
56
  })), a;
84
57
  }
85
- ), Ee = ie(
58
+ ), Te = se(
86
59
  x(function(r) {
87
- const t = _e(r);
88
- return A(be, t);
60
+ const t = he(r);
61
+ return A(Se, t);
89
62
  }),
90
63
  V
91
- ), Pe = "div", m = z({
64
+ ), be = "div", m = L({
92
65
  activeStore: null
93
66
  });
94
- function M(o) {
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 ye = H(
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 ae(
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
- M(e),
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
- M(e),
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 = O((n) => {
105
+ const f = s.onMouseEnter, a = y((n) => {
133
106
  f == null || f(n), d.current = !0;
134
- }), p = s.onFocusVisible, S = O((n) => {
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 = O((n) => {
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 = L(b({
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 = Z(b({
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
- ), Oe = x(function(r) {
160
- const t = ye(r);
161
- return A(Pe, t);
162
- }), ge = "div", we = H(
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 = he();
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 = ee(b({ store: e, size: c }, s)), s;
142
+ ), s = X(b({ store: e, size: c }, s)), s;
170
143
  }
171
- ), xe = x(function(r) {
172
- const t = we(r);
173
- return A(ge, t);
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 = Se({ animated: 300, placement: s }), { anchorElement: p, mounted: S, popoverElement: i } = oe(a), { render: u, setState: _ } = a, [E, n] = pe({ x: 0, y: 0 }), l = () => {
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
- }, [_]), W = (I = o == null ? void 0 : o.props) != null && I.disabled ? ue.Children.only(/* @__PURE__ */ T("span", { className: B("childItem"), children: o })) : o;
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: Y, clientY: q }) {
202
- n({ x: Y, y: q }), u();
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__ */ $(G, { children: [
209
- /* @__PURE__ */ T(Oe, { render: W, store: a }),
208
+ }, [u, e, p]), t ? /* @__PURE__ */ $(Y, { children: [
209
+ /* @__PURE__ */ T(Ee, { render: q, store: a }),
210
210
  /* @__PURE__ */ $(
211
- Ee,
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(xe, {}) : null,
222
+ v ? /* @__PURE__ */ T(ye, {}) : null,
223
223
  t
224
224
  ]
225
225
  }
@@ -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-BisRi8B3.js";
5
- import { A as e, C as u, I as _, a as m, S as g, P as v } from "./index-Cvtm6uuS.js";
6
- import { c as I } from "./index-PAaZGbyz.js";
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",
@@ -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-PAaZGbyz.js";
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 "./P4IRICAX-7kH4HzWI.js";
3
- import { b as c } from "./VGCJ63VH-CVhs4PYt.js";
4
- import { l, c as p, n as D, _ as m, i as g, g as a, I as v } from "./LVA2YJMS-NUHCRwFZ.js";
5
- var d = "button", f = p(
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 = f(r);
20
- return D(d, s);
19
+ const s = d(r);
20
+ return D(f, s);
21
21
  });
22
22
  export {
23
23
  P as D,
24
- f as u
24
+ d as u
25
25
  };