welcome-ui 10.0.0-alpha.3 → 10.0.0-alpha.5

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 (135) hide show
  1. package/dist/2W3RN7C5-DMC82gDP.js +61 -0
  2. package/dist/{4I4MLMKD-z3Xm3qCo.js → 4I4MLMKD-BO6Lcy7s.js} +17 -17
  3. package/dist/Accordion.js +19 -17
  4. package/dist/Alert.css +1 -1
  5. package/dist/Alert.js +93 -87
  6. package/dist/AspectRatio.js +1 -0
  7. package/dist/Avatar.js +13 -11
  8. package/dist/{B7UTNDHN-BDa2-8JK.js → B7UTNDHN-BghjolIs.js} +30 -30
  9. package/dist/Badge.js +1 -0
  10. package/dist/Breadcrumb.js +76 -71
  11. package/dist/Button.js +8 -6
  12. package/dist/ButtonGroup.js +6 -4
  13. package/dist/Card.css +1 -1
  14. package/dist/Card.js +68 -15
  15. package/dist/Checkbox.js +30 -29
  16. package/dist/CloseButton.js +7 -5
  17. package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
  18. package/dist/{DSAASPLT-C-2xDjIv.js → DSAASPLT-Fx1kuAsk.js} +3 -3
  19. package/dist/DatePicker.js +82 -78
  20. package/dist/DateTimePicker.js +22 -21
  21. package/dist/Drawer.js +101 -80
  22. package/dist/DropdownMenu.css +1 -1
  23. package/dist/DropdownMenu.js +889 -462
  24. package/dist/Field.js +1 -0
  25. package/dist/FieldGroup.js +9 -7
  26. package/dist/FileDrop.js +184 -176
  27. package/dist/FileUpload.js +43 -40
  28. package/dist/{GVVKDT6A-C66-lr0B.js → GVVKDT6A-CF9ejW_c.js} +103 -103
  29. package/dist/Hint.js +9 -7
  30. package/dist/Icon.js +6 -4
  31. package/dist/InputText.js +30 -28
  32. package/dist/{KPUWHTQJ-Byij2al4.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
  33. package/dist/Label.js +9 -7
  34. package/dist/Link.js +25 -21
  35. package/dist/Loader.js +12 -10
  36. package/dist/Logo.js +21 -13
  37. package/dist/Modal.js +145 -114
  38. package/dist/{NI3IVY7K-DpF3td-7.js → NI3IVY7K-Dy240mkD.js} +160 -160
  39. package/dist/{NMGNQVTG-BgAqqGOq.js → NMGNQVTG-DRO2uXZT.js} +6 -6
  40. package/dist/{OE2EFRVA-DkdhQLJL.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
  41. package/dist/{OLVWQA7U-wHytlFYu.js → OLVWQA7U-Dia3UUnG.js} +36 -36
  42. package/dist/Pagination.js +39 -37
  43. package/dist/PasswordInput.js +20 -17
  44. package/dist/Popover.js +89 -72
  45. package/dist/{RTNCFSKZ-LcIdBwa8.js → RTNCFSKZ-BywELldk.js} +42 -42
  46. package/dist/Radio.js +20 -19
  47. package/dist/RadioGroup.js +29 -27
  48. package/dist/RadioTab.js +2 -1
  49. package/dist/{SBSPVDDI-BoxPz2JY.js → SBSPVDDI-CmtnvvUX.js} +46 -46
  50. package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
  51. package/dist/Search.css +1 -1
  52. package/dist/Search.js +62 -60
  53. package/dist/Select.css +1 -1
  54. package/dist/Select.js +204 -202
  55. package/dist/Slider.js +66 -61
  56. package/dist/Stepper.js +34 -27
  57. package/dist/StickyNote.css +1 -0
  58. package/dist/StickyNote.js +49 -0
  59. package/dist/Swiper.js +52 -50
  60. package/dist/{T22PY7TE-CzEDuEn1.js → T22PY7TE-gLuJpoOm.js} +46 -46
  61. package/dist/Table.js +34 -21
  62. package/dist/Tabs.js +161 -152
  63. package/dist/Tag.css +1 -1
  64. package/dist/Tag.js +66 -61
  65. package/dist/Text.js +4 -2
  66. package/dist/Textarea.js +10 -8
  67. package/dist/TimePicker.js +22 -21
  68. package/dist/Toast.js +186 -177
  69. package/dist/Toggle.js +16 -14
  70. package/dist/Tooltip.js +29 -27
  71. package/dist/VariantIcon.js +7 -5
  72. package/dist/VisuallyHidden.js +8 -6
  73. package/dist/WelcomeLoader.js +3 -2
  74. package/dist/XCKGTAUF-CJwwVibW.js +25 -0
  75. package/dist/{Y67KZUMI-BDyUNSJw.js → Y67KZUMI-BwLWwpNF.js} +2 -2
  76. package/dist/{ZTXFEM5L-CjFLRObi.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
  77. package/dist/theme.css +1 -1
  78. package/dist/theme.js +1 -0
  79. package/dist/types/components/Alert/components/Buttons.d.ts +3 -0
  80. package/dist/types/components/Alert/components/Title.d.ts +5 -0
  81. package/dist/types/components/Alert/index.d.ts +7 -3
  82. package/dist/types/components/Alert/types.d.ts +3 -9
  83. package/dist/types/components/Card/Body.d.ts +2 -3
  84. package/dist/types/components/Card/Footer.d.ts +6 -0
  85. package/dist/types/components/Card/Header.d.ts +5 -0
  86. package/dist/types/components/Card/index.d.ts +7 -8
  87. package/dist/types/components/Card/types.d.ts +16 -3
  88. package/dist/types/components/Checkbox/index.d.ts +1 -2
  89. package/dist/types/components/Checkbox/types.d.ts +3 -1
  90. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +4 -1
  91. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +6 -3
  92. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +4 -1
  93. package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +4 -1
  94. package/dist/types/components/Drawer/components/Close.d.ts +4 -1
  95. package/dist/types/components/Drawer/components/Title.d.ts +4 -1
  96. package/dist/types/components/Drawer/index.d.ts +12 -3
  97. package/dist/types/components/DropdownMenu/Action.d.ts +2 -0
  98. package/dist/types/components/DropdownMenu/Group.d.ts +4 -0
  99. package/dist/types/components/DropdownMenu/Item.d.ts +7 -0
  100. package/dist/types/components/DropdownMenu/Search.d.ts +2 -0
  101. package/dist/types/components/DropdownMenu/Submenu.d.ts +4 -0
  102. package/dist/types/components/DropdownMenu/index.d.ts +11 -0
  103. package/dist/types/components/DropdownMenu/types.d.ts +26 -5
  104. package/dist/types/components/FileDrop/components/FilePreview.d.ts +4 -1
  105. package/dist/types/components/FileDrop/components/Message.d.ts +4 -1
  106. package/dist/types/components/Loader/index.d.ts +4 -1
  107. package/dist/types/components/Modal/Assets/AssetContent.d.ts +4 -1
  108. package/dist/types/components/Modal/Assets/AssetTitle.d.ts +4 -1
  109. package/dist/types/components/Modal/Assets/CloseButton.d.ts +4 -1
  110. package/dist/types/components/Modal/Assets/Dialog.d.ts +4 -1
  111. package/dist/types/components/Modal/Assets/Iframe.d.ts +4 -1
  112. package/dist/types/components/Modal/Assets/index.d.ts +16 -4
  113. package/dist/types/components/Modal/components/Close.d.ts +4 -1
  114. package/dist/types/components/Modal/index.d.ts +16 -4
  115. package/dist/types/components/PasswordInput/ToggleButton.d.ts +4 -1
  116. package/dist/types/components/Popover/Arrow.d.ts +4 -1
  117. package/dist/types/components/Popover/ContentWrapper.d.ts +4 -1
  118. package/dist/types/components/RadioGroup/index.d.ts +4 -1
  119. package/dist/types/components/Stepper/index.d.ts +8 -2
  120. package/dist/types/components/StickyNote/components/Button.d.ts +5 -0
  121. package/dist/types/components/StickyNote/components/Title.d.ts +5 -0
  122. package/dist/types/components/StickyNote/index.d.ts +11 -0
  123. package/dist/types/components/StickyNote/index.test.d.ts +1 -0
  124. package/dist/types/components/StickyNote/types.d.ts +15 -0
  125. package/dist/types/components/Swiper/index.d.ts +4 -1
  126. package/dist/types/components/Table/index.d.ts +20 -5
  127. package/dist/types/components/Tabs/components/ActiveBar/index.d.ts +4 -1
  128. package/dist/types/components/Tag/types.d.ts +4 -2
  129. package/dist/types/components/Toast/index.d.ts +4 -1
  130. package/dist/types/theme/types.d.ts +233 -218
  131. package/dist/utils.js +1 -0
  132. package/package.json +2 -2
  133. package/dist/2W3RN7C5-uG7eBeTQ.js +0 -61
  134. package/dist/SQZLCNLX-CUlXoT69.js +0 -82
  135. package/dist/XCKGTAUF-CahZE721.js +0 -25
package/dist/Toggle.js CHANGED
@@ -1,12 +1,13 @@
1
1
  "use client";
2
+ import './Toggle.css';
2
3
  import { jsxs as z, jsx as e } from "react/jsx-runtime";
3
- import { C as v } from "./KPUWHTQJ-Byij2al4.js";
4
- import { forwardRef as f } from "react";
5
- import { useField as h } from "./Field.js";
4
+ import { a as v } from "./KPUWHTQJ-Dv3cAqjP.js";
5
+ import { forwardRef as g } from "react";
6
+ import { useField as f } from "./Field.js";
6
7
  import { Icon as n } from "./Icon.js";
7
- import { c as w } from "./index-PAaZGbyz.js";
8
- const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", b = {
9
- root: g,
8
+ import { c as h } from "./index-PAaZGbyz.js";
9
+ const w = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", N = {
10
+ root: w,
10
11
  "size-sm": "_size-sm_1czvn_82",
11
12
  "size-md": "_size-md_1czvn_88",
12
13
  "size-lg": "_size-lg_1czvn_94",
@@ -14,11 +15,11 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
14
15
  "icon-wrapper": "_icon-wrapper_1czvn_106",
15
16
  checked: u,
16
17
  disabled: x
17
- }, c = w(b), $ = f(
18
- ({ checked: o, className: t, disabled: s, onClick: i, size: r = "md", withVisibilityIcon: a, ...p }, _) => {
19
- const { getInputProps: l } = h(), m = l(p), d = s ? null : i;
18
+ }, c = h(N), b = g(
19
+ ({ checked: o, className: a, disabled: s, onClick: i, size: r = "md", withVisibilityIcon: t, ...l }, p) => {
20
+ const { getInputProps: m } = f(), _ = m(l), d = s ? null : i;
20
21
  return /* @__PURE__ */ z("div", { className: c("wrapper"), onClick: d, children: [
21
- a ? /* @__PURE__ */ e(
22
+ t ? /* @__PURE__ */ e(
22
23
  "div",
23
24
  {
24
25
  className: c(
@@ -34,15 +35,16 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
34
35
  v,
35
36
  {
36
37
  checked: o,
37
- className: c("root", `size-${r}`, t),
38
+ className: c("root", `size-${r}`, a),
38
39
  disabled: s,
39
- ref: _,
40
- ...m
40
+ ref: p,
41
+ ..._
41
42
  }
42
43
  )
43
44
  ] });
44
45
  }
45
46
  );
47
+ b.displayName = "Toggle";
46
48
  export {
47
- $ as Toggle
49
+ b as Toggle
48
50
  };
package/dist/Tooltip.js CHANGED
@@ -1,16 +1,17 @@
1
1
  "use client";
2
- import { jsx as h, jsxs as N, Fragment as J } from "react/jsx-runtime";
3
- import { H as K, a as Q, u as U, b as X, c as Z, d as ee } from "./GVVKDT6A-C66-lr0B.js";
4
- import { e as te, f as $, c as F, b as M, _ as B, i as D, x as oe, a as P, d as L, z as x, q as re, T as ne, u as g, G as V, H as E, I as y } from "./OE2EFRVA-DkdhQLJL.js";
5
- import { c as se } from "./NI3IVY7K-DpF3td-7.js";
6
- import { a as I, c as q, b as ae, d as A, u as ie } from "./RTNCFSKZ-LcIdBwa8.js";
2
+ import './Tooltip.css';
3
+ import { jsx as h, jsxs as C, Fragment as J } from "react/jsx-runtime";
4
+ import { H as K, a as Q, u as U, b as X, c as Z, d as ee } from "./GVVKDT6A-CF9ejW_c.js";
5
+ import { e as te, f as $, c as B, b as F, _ as M, i as D, k as oe, a as P, d as L, E as x, w as re, V as ne, u as g, A as V, z as E, B as y } from "./OE2EFRVA-Dg1R6gaC.js";
6
+ import { c as se } from "./NI3IVY7K-Dy240mkD.js";
7
+ import { d as A, c as z, u as ae, a as I, b as ie } from "./RTNCFSKZ-BywELldk.js";
7
8
  import ue, { useRef as le, useEffect as H, forwardRef as ce, useState as de, useCallback as pe } from "react";
8
9
  import { Text as R } from "./Text.js";
9
10
  import { c as ve } from "./index-PAaZGbyz.js";
10
- var z = te(
11
+ var W = te(
11
12
  [Q],
12
13
  [K]
13
- ), w = z.useProviderContext, me = z.ScopedContextProvider, fe = "div", he = F(
14
+ ), w = W.useProviderContext, me = W.ScopedContextProvider, fe = "div", he = B(
14
15
  function(n) {
15
16
  var o = n, {
16
17
  store: e,
@@ -19,7 +20,7 @@ var z = te(
19
20
  preserveTabOrder: m = !1,
20
21
  hideOnHoverOutside: d = !0,
21
22
  hideOnInteractOutside: f = !0
22
- } = o, a = B(o, [
23
+ } = o, a = M(o, [
23
24
  "store",
24
25
  "portal",
25
26
  "gutter",
@@ -59,10 +60,10 @@ var z = te(
59
60
  ), Se = se(
60
61
  $(function(n) {
61
62
  const o = he(n);
62
- return M(fe, o);
63
+ return F(fe, o);
63
64
  }),
64
65
  w
65
- ), Te = "div", v = q({
66
+ ), Te = "div", v = z({
66
67
  activeStore: null
67
68
  });
68
69
  function j(t) {
@@ -71,16 +72,16 @@ function j(t) {
71
72
  n === t && v.setState("activeStore", null);
72
73
  };
73
74
  }
74
- var be = F(
75
+ var be = B(
75
76
  function(n) {
76
- var o = n, { store: e, showOnHover: p = !0 } = o, s = B(o, ["store", "showOnHover"]);
77
+ var o = n, { store: e, showOnHover: p = !0 } = o, s = M(o, ["store", "showOnHover"]);
77
78
  const m = w();
78
79
  e = e || m, D(
79
80
  e,
80
81
  process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."
81
82
  );
82
83
  const d = le(!1);
83
- H(() => I(e, ["mounted"], (r) => {
84
+ H(() => A(e, ["mounted"], (r) => {
84
85
  r.mounted || (d.current = !1);
85
86
  }), [e]), H(() => {
86
87
  if (e)
@@ -89,7 +90,7 @@ var be = F(
89
90
  // the component unmounts. This is useful, for example, to avoid
90
91
  // showing tooltips immediately on serial tests.
91
92
  j(e),
92
- I(e, ["mounted", "skipTimeout"], (r) => {
93
+ A(e, ["mounted", "skipTimeout"], (r) => {
93
94
  if (!e) return;
94
95
  if (r.mounted) {
95
96
  const { activeStore: T } = v.getState();
@@ -132,7 +133,7 @@ var be = F(
132
133
  }
133
134
  ), _e = $(function(n) {
134
135
  const o = be(n);
135
- return M(Te, o);
136
+ return F(Te, o);
136
137
  });
137
138
  function Ee(t = {}) {
138
139
  var n;
@@ -151,11 +152,11 @@ function Ee(t = {}) {
151
152
  })), p = V(y({}, e.getState()), {
152
153
  type: E(t.type, o == null ? void 0 : o.type, "description"),
153
154
  skipTimeout: E(t.skipTimeout, o == null ? void 0 : o.skipTimeout, 300)
154
- }), s = q(p, e, t.store);
155
+ }), s = z(p, e, t.store);
155
156
  return y(y({}, e), s);
156
157
  }
157
158
  function ye(t, n, o) {
158
- return A(t, o, "type"), A(t, o, "skipTimeout"), ee(t, n, o);
159
+ return I(t, o, "type"), I(t, o, "skipTimeout"), ee(t, n, o);
159
160
  }
160
161
  function Pe(t = {}) {
161
162
  const [n, o] = ae(Ee, t);
@@ -164,7 +165,7 @@ function Pe(t = {}) {
164
165
  const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
165
166
  root: ge,
166
167
  childItem: Oe
167
- }, O = ve(xe), Re = ce(
168
+ }, O = ve(xe), He = ce(
168
169
  ({
169
170
  children: t,
170
171
  className: n = "",
@@ -185,18 +186,18 @@ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
185
186
  });
186
187
  }, T = pe(() => {
187
188
  b("animating", !1);
188
- }, [b]), G = (k = t == null ? void 0 : t.props) != null && k.disabled ? ue.Children.only(/* @__PURE__ */ h("span", { className: O("childItem"), children: t })) : t;
189
+ }, [b]), Y = (k = t == null ? void 0 : t.props) != null && k.disabled ? ue.Children.only(/* @__PURE__ */ h("span", { className: O("childItem"), children: t })) : t;
189
190
  return H(() => {
190
- function C({ clientX: W, clientY: Y }) {
191
- r({ x: W, y: Y }), u();
191
+ function N({ clientX: q, clientY: G }) {
192
+ r({ x: q, y: G }), u();
192
193
  }
193
194
  if (c && !e)
194
- return c.addEventListener("mousemove", C), () => {
195
- c.removeEventListener("mousemove", C);
195
+ return c.addEventListener("mousemove", N), () => {
196
+ c.removeEventListener("mousemove", N);
196
197
  };
197
- }, [u, e, c]), o ? /* @__PURE__ */ N(J, { children: [
198
- /* @__PURE__ */ h(_e, { render: G, store: a }),
199
- /* @__PURE__ */ N(
198
+ }, [u, e, c]), o ? /* @__PURE__ */ C(J, { children: [
199
+ /* @__PURE__ */ h(_e, { render: Y, store: a }),
200
+ /* @__PURE__ */ C(
200
201
  Se,
201
202
  {
202
203
  className: O("root", n),
@@ -216,6 +217,7 @@ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
216
217
  ] }) : t;
217
218
  }
218
219
  );
220
+ He.displayName = "Tooltip";
219
221
  export {
220
- Re as Tooltip
222
+ He as Tooltip
221
223
  };
@@ -1,5 +1,6 @@
1
1
  "use client";
2
- import { jsx as o } from "react/jsx-runtime";
2
+ import './VariantIcon.css';
3
+ import { jsx as n } from "react/jsx-runtime";
3
4
  import { forwardRef as s } from "react";
4
5
  import { Icon as e } from "./Icon.js";
5
6
  import { c as _ } from "./index-PAaZGbyz.js";
@@ -10,8 +11,8 @@ const m = "_root_iop02_2", p = {
10
11
  "variant-info": "_variant-info_iop02_15",
11
12
  "variant-success": "_variant-success_iop02_18",
12
13
  "variant-warning": "_variant-warning_iop02_21"
13
- }, l = _(p), x = s(
14
- ({ className: n, size: i = "md", variant: a, ...r }, c) => {
14
+ }, l = _(p), v = s(
15
+ ({ className: o, size: i = "md", variant: a, ...r }, c) => {
15
16
  const t = {
16
17
  ai: "sparkles",
17
18
  danger: "exclamation-octagon",
@@ -19,9 +20,10 @@ const m = "_root_iop02_2", p = {
19
20
  success: "check-circle",
20
21
  warning: "exclamation-circle"
21
22
  }[a];
22
- return /* @__PURE__ */ o("div", { ...r, className: l("root", a && `variant-${a}`, n), ref: c, children: /* @__PURE__ */ o(e, { name: t, size: i }) });
23
+ return /* @__PURE__ */ n("div", { ...r, className: l("root", a && `variant-${a}`, o), ref: c, children: /* @__PURE__ */ n(e, { name: t, size: i }) });
23
24
  }
24
25
  );
26
+ v.displayName = "VariantIcon";
25
27
  export {
26
- x as VariantIcon
28
+ v as VariantIcon
27
29
  };
@@ -1,13 +1,15 @@
1
1
  "use client";
2
+ import './VisuallyHidden.css';
2
3
  import { jsx as r } from "react/jsx-runtime";
3
4
  import { c as a } from "./index-PAaZGbyz.js";
4
- import { f as c } from "./forwardRefWithAs-8eP3ZN15.js";
5
+ import { f as e } from "./forwardRefWithAs-8eP3ZN15.js";
5
6
  import "react";
6
- const e = "_root_w3556_2", m = {
7
- root: e
8
- }, i = a(m), d = c(
9
- ({ as: o = "span", children: s }, t) => /* @__PURE__ */ r(o, { className: i("root"), ref: t, children: s })
7
+ const i = "_root_w3556_2", m = {
8
+ root: i
9
+ }, c = a(m), l = e(
10
+ ({ as: o = "span", children: s }, t) => /* @__PURE__ */ r(o, { className: c("root"), ref: t, children: s })
10
11
  );
12
+ l.displayName = "VisuallyHidden";
11
13
  export {
12
- d as VisuallyHidden
14
+ l as VisuallyHidden
13
15
  };
@@ -5078,7 +5078,7 @@ const Fs = "5.7.6", Is = 30, Ls = 0, Vs = 80, Rs = 300, Os = 300, Bs = "Loader_W
5078
5078
  assets: Ds,
5079
5079
  layers: Ns,
5080
5080
  markers: zs
5081
- }, Ws = Ps(), Ys = Cs(
5081
+ }, Ws = Ps(), Gs = Cs(
5082
5082
  ({ className: Fi, ...ci }, ae) => {
5083
5083
  const Vt = {
5084
5084
  animationData: qs,
@@ -5087,6 +5087,7 @@ const Fs = "5.7.6", Is = 30, Ls = 0, Vs = 80, Rs = 300, Os = 300, Bs = "Loader_W
5087
5087
  return /* @__PURE__ */ As("div", { className: Ws("w-150", Fi), ref: ae, ...ci, children: vi });
5088
5088
  }
5089
5089
  );
5090
+ Gs.displayName = "WelcomeLoader";
5090
5091
  export {
5091
- Ys as WelcomeLoader
5092
+ Gs as WelcomeLoader
5092
5093
  };
@@ -0,0 +1,25 @@
1
+ "use client";
2
+ import { u as f } from "./2W3RN7C5-DMC82gDP.js";
3
+ import { f as c, c as m, b as i, Q as B, R as u, d as l, v, a as d } from "./OE2EFRVA-Dg1R6gaC.js";
4
+ import { useRef as N, useState as g, useEffect as R } from "react";
5
+ var s = "button", _ = 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 R(() => {
11
+ e.current && o(u(e.current));
12
+ }, []), t = l(d({
13
+ role: !n && a !== "a" ? "button" : void 0
14
+ }, t), {
15
+ ref: v(e, t.ref)
16
+ }), t = f(t), t;
17
+ }
18
+ ), P = c(function(t) {
19
+ const e = _(t);
20
+ return i(s, e);
21
+ });
22
+ export {
23
+ P as B,
24
+ _ as u
25
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { g as o, k as r } from "./T22PY7TE-CzEDuEn1.js";
3
- import { e as t } from "./OE2EFRVA-DkdhQLJL.js";
2
+ import { g as o, k as r } from "./T22PY7TE-gLuJpoOm.js";
3
+ import { e as t } from "./OE2EFRVA-Dg1R6gaC.js";
4
4
  var e = t(
5
5
  [r],
6
6
  [o]
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { u } from "./NMGNQVTG-BgAqqGOq.js";
3
- import { b as c } from "./T22PY7TE-CzEDuEn1.js";
4
- import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-DkdhQLJL.js";
2
+ import { u } from "./NMGNQVTG-DRO2uXZT.js";
3
+ import { b as c } from "./T22PY7TE-gLuJpoOm.js";
4
+ import { f as l, c as p, b as D, _ as m, i as g, a, H as v } from "./OE2EFRVA-Dg1R6gaC.js";
5
5
  var f = "button", d = p(
6
6
  function(r) {
7
7
  var s = r, { store: o } = s, e = m(s, ["store"]);