welcome-ui 0.0.0-dev.1759821506923 → 0.0.0-dev.1761054451082

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 (105) hide show
  1. package/dist/2W3RN7C5-bkX-rIa3.js +61 -0
  2. package/dist/4I4MLMKD-BLxAidnq.js +43 -0
  3. package/dist/Accordion.js +6 -6
  4. package/dist/Alert.js +1 -1
  5. package/dist/AspectRatio.js +1 -1
  6. package/dist/Avatar.js +1 -1
  7. package/dist/{4CMBR7SL-Dhp8uJop.js → B7UTNDHN-BlIblHCu.js} +59 -59
  8. package/dist/Badge.js +1 -1
  9. package/dist/Breadcrumb.js +3 -3
  10. package/dist/Button.js +2 -2
  11. package/dist/ButtonGroup.js +1 -1
  12. package/dist/Card.js +1 -1
  13. package/dist/Checkbox.js +2 -2
  14. package/dist/CloseButton.js +3 -3
  15. package/dist/{SYRFVSLH-CHNUB1rW.js → DSAASPLT-BaaCUKsb.js} +7 -7
  16. package/dist/DatePicker.js +5 -5
  17. package/dist/DateTimePicker.js +2 -2
  18. package/dist/Drawer.js +7 -7
  19. package/dist/DropdownMenu.js +261 -259
  20. package/dist/Field.js +1 -1
  21. package/dist/FieldGroup.js +1 -1
  22. package/dist/FileDrop.js +194 -221
  23. package/dist/FileUpload.js +2 -2
  24. package/dist/GVVKDT6A-bET6V7Py.js +724 -0
  25. package/dist/Hint.js +1 -1
  26. package/dist/{Icon-BisRi8B3.js → Icon-EG7O4YwD.js} +1 -1
  27. package/dist/Icon.js +12 -12
  28. package/dist/InputText.js +1 -1
  29. package/dist/{ASMQKSDT-SH1qSiMi.js → KPUWHTQJ-D2TPji47.js} +30 -30
  30. package/dist/Label.js +3 -3
  31. package/dist/Link.js +3 -3
  32. package/dist/Loader.js +1 -1
  33. package/dist/Logo.js +1 -1
  34. package/dist/Modal.js +10 -10
  35. package/dist/{JC64G2H7-DPy9R0De.js → NI3IVY7K-Ztb3-XAv.js} +571 -571
  36. package/dist/{P4IRICAX-7kH4HzWI.js → NMGNQVTG-C6TqBngP.js} +5 -5
  37. package/dist/{LVA2YJMS-NUHCRwFZ.js → OE2EFRVA-C3721cM3.js} +316 -315
  38. package/dist/{ITI7HKP4-C5xLpoVY.js → OLVWQA7U-DysaSaZj.js} +59 -59
  39. package/dist/Pagination.css +1 -1
  40. package/dist/Pagination.js +81 -73
  41. package/dist/PasswordInput.js +17 -18
  42. package/dist/Popover.js +14 -14
  43. package/dist/{YV4JVR4I-CVFstk2K.js → RTNCFSKZ-qpPg689E.js} +75 -73
  44. package/dist/Radio.js +2 -2
  45. package/dist/RadioGroup.js +21 -21
  46. package/dist/RadioTab.js +2 -2
  47. package/dist/{P2CTZE2T-D1TepwxQ.js → SBSPVDDI-DJKkC1eb.js} +43 -43
  48. package/dist/{NLEBE274-B4zy25kL.js → SQZLCNLX-CHDXnZ16.js} +16 -16
  49. package/dist/Search.js +2 -2
  50. package/dist/Select.js +170 -181
  51. package/dist/Slider.js +1 -1
  52. package/dist/Swiper.css +1 -1
  53. package/dist/Swiper.js +151 -151
  54. package/dist/{VGCJ63VH-CVhs4PYt.js → T22PY7TE-C1N0q8Kn.js} +109 -109
  55. package/dist/Table.js +1 -1
  56. package/dist/Tabs.js +303 -308
  57. package/dist/Tag.js +3 -3
  58. package/dist/Text.js +1 -1
  59. package/dist/Textarea.js +1 -1
  60. package/dist/TimePicker.js +2 -2
  61. package/dist/Toast.js +1 -1
  62. package/dist/Toggle.js +2 -2
  63. package/dist/Tooltip.js +72 -72
  64. package/dist/VariantIcon.js +3 -3
  65. package/dist/WelcomeLoader.js +1 -1
  66. package/dist/XCKGTAUF-DkxWCbaW.js +25 -0
  67. package/dist/Y67KZUMI-DFEgrUv2.js +15 -0
  68. package/dist/{AXB53BZF-BHeessqV.js → ZTXFEM5L-CkrIQCN1.js} +7 -7
  69. package/dist/{field-icon-size-Du58qHNC.js → field-icon-size-Z5NulTSk.js} +216 -224
  70. package/dist/{index-5rXezknO.js → index-BC2bF45u.js} +1 -1
  71. package/dist/{index-C8GsqBDe.js → index-BeetbagJ.js} +1 -1
  72. package/dist/{index-BJLXLdM3.js → index-Bt79XJ8R.js} +1 -1
  73. package/dist/{index-Dcq5gh3E.js → index-BtwrJ6N4.js} +1 -1
  74. package/dist/{index-DL4-ut3P.js → index-CCASZBtz.js} +1 -1
  75. package/dist/{index-lbUBMgHp.js → index-CPqDZeah.js} +2 -2
  76. package/dist/{index-CTgip19b.js → index-CQEPCbEE.js} +1 -1
  77. package/dist/{index-CnxSNAPH.js → index-Crpe9CvH.js} +1 -1
  78. package/dist/{index-CWVOLBDY.js → index-D5a8Oe6k.js} +1 -1
  79. package/dist/{index-C1jjVTAc.js → index-D8dq-I5s.js} +1 -1
  80. package/dist/{index-Cvtm6uuS.js → index-DkwTwo3z.js} +1 -1
  81. package/dist/{index-BG2aV9o8.js → index-DnO8yBVT.js} +1 -1
  82. package/dist/index.css +0 -0
  83. package/dist/tslib.es6-DpB4Y59c.js +683 -0
  84. package/dist/types/components/Pagination/index.d.ts +1 -2
  85. package/dist/types/components/Pagination/types.d.ts +5 -2
  86. package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
  87. package/dist/types/components/PasswordInput/types.d.ts +1 -1
  88. package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -1
  89. package/dist/types/components/Tabs/index.d.ts +1 -1
  90. package/dist/types/components/Tabs/types.d.ts +1 -2
  91. package/dist/types/components/Tabs/utils.d.ts +1 -2
  92. package/dist/types/utils/index.d.ts +1 -0
  93. package/dist/types/utils/theme/index.d.ts +0 -0
  94. package/dist/types/utils/useForkRef.d.ts +7 -1
  95. package/dist/useForkRef-D807AV7D.js +22 -0
  96. package/dist/{utils-BNMgUIHQ.js → utils-BpbIqM56.js} +1 -1
  97. package/dist/utils.js +2 -2
  98. package/package.json +5 -6
  99. package/dist/BYC7LY2E-DbSoi9cN.js +0 -673
  100. package/dist/KUU7WJ55-CsIy9XMu.js +0 -61
  101. package/dist/MTZPJQMC-D_TnSwZf.js +0 -15
  102. package/dist/QYJ6MIDR-Dm7lYMh6.js +0 -43
  103. package/dist/X5NMLKT6-PeY306ft.js +0 -25
  104. package/dist/index--0U5Rubs.js +0 -644
  105. /package/dist/{index-PAaZGbyz.js → index-CdiHdiVB.js} +0 -0
@@ -0,0 +1,61 @@
1
+ "use client";
2
+ import { c as F, _ as p, O as d, A as I, L as q, u as _, d as x, p as Y, a as T, W as j, X as w, j as L, h as H, Y as V, Z as W, f as X, b as Z } from "./OE2EFRVA-C3721cM3.js";
3
+ import { useRef as C, useState as D, useEffect as z } from "react";
4
+ var G = "button";
5
+ function M(s) {
6
+ if (!s.isTrusted) return !1;
7
+ const t = s.currentTarget;
8
+ return s.key === "Enter" ? d(t) || t.tagName === "SUMMARY" || t.tagName === "A" : s.key === " " ? d(t) || t.tagName === "SUMMARY" || t.tagName === "INPUT" || t.tagName === "SELECT" : !1;
9
+ }
10
+ var J = Symbol("command"), Q = F(
11
+ function(t) {
12
+ var i = t, { clickOnEnter: m = !0, clickOnSpace: u = !0 } = i, r = p(i, ["clickOnEnter", "clickOnSpace"]);
13
+ const c = C(null), [K, R] = D(!1);
14
+ z(() => {
15
+ c.current && R(d(c.current));
16
+ }, []);
17
+ const [U, k] = D(!1), f = C(!1), y = I(r), [E, A] = q(r, J, !0), P = r.onKeyDown, O = _((e) => {
18
+ P == null || P(e);
19
+ const a = e.currentTarget;
20
+ if (e.defaultPrevented || E || y || !L(e) || H(a) || a.isContentEditable) return;
21
+ const o = m && e.key === "Enter", n = u && e.key === " ", g = e.key === "Enter" && !m, l = e.key === " " && !u;
22
+ if (g || l) {
23
+ e.preventDefault();
24
+ return;
25
+ }
26
+ if (o || n) {
27
+ const v = M(e);
28
+ if (o) {
29
+ if (!v) {
30
+ e.preventDefault();
31
+ const S = e, { view: $ } = S, B = p(S, ["view"]), N = () => w(a, B);
32
+ V() ? W(a, "keyup", N) : queueMicrotask(N);
33
+ }
34
+ } else n && (f.current = !0, v || (e.preventDefault(), k(!0)));
35
+ }
36
+ }), b = r.onKeyUp, h = _((e) => {
37
+ if (b == null || b(e), e.defaultPrevented || E || y || e.metaKey) return;
38
+ const a = u && e.key === " ";
39
+ if (f.current && a && (f.current = !1, !M(e))) {
40
+ e.preventDefault(), k(!1);
41
+ const o = e.currentTarget, n = e, { view: g } = n, l = p(n, ["view"]);
42
+ queueMicrotask(() => w(o, l));
43
+ }
44
+ });
45
+ return r = x(T(T({
46
+ "data-active": U || void 0,
47
+ type: K ? "button" : void 0
48
+ }, A), r), {
49
+ ref: Y(c, r.ref),
50
+ onKeyDown: O,
51
+ onKeyUp: h
52
+ }), r = j(r), r;
53
+ }
54
+ );
55
+ X(function(t) {
56
+ const i = Q(t);
57
+ return Z(G, i);
58
+ });
59
+ export {
60
+ Q as u
61
+ };
@@ -0,0 +1,43 @@
1
+ "use client";
2
+ import { u as p, P as _ } from "./Y67KZUMI-DFEgrUv2.js";
3
+ import { c as i, _ as v, d as l, p as h, a as n, f as P, b as m, i as D, u as x, x as E } from "./OE2EFRVA-C3721cM3.js";
4
+ import { u as b } from "./ZTXFEM5L-CkrIQCN1.js";
5
+ import { jsx as g } from "react/jsx-runtime";
6
+ var A = "div", d = i(
7
+ function(s) {
8
+ var e = s, { store: r } = e, o = v(e, ["store"]);
9
+ const c = p();
10
+ return r = r || c, o = l(n({}, o), {
11
+ ref: h(r == null ? void 0 : r.setAnchorElement, o.ref)
12
+ }), o;
13
+ }
14
+ );
15
+ P(function(s) {
16
+ const e = d(s);
17
+ return m(A, e);
18
+ });
19
+ var C = "button", k = i(function(s) {
20
+ var e = s, { store: r } = e, o = v(e, ["store"]);
21
+ const c = p();
22
+ r = r || c, D(
23
+ r,
24
+ process.env.NODE_ENV !== "production" && "PopoverDisclosure must receive a `store` prop or be wrapped in a PopoverProvider component."
25
+ );
26
+ const u = o.onClick, f = x((t) => {
27
+ r == null || r.setAnchorElement(t.currentTarget), u == null || u(t);
28
+ });
29
+ return o = E(
30
+ o,
31
+ (t) => /* @__PURE__ */ g(_, { value: r, children: t }),
32
+ [r]
33
+ ), o = l(n({}, o), {
34
+ onClick: f
35
+ }), o = d(n({ store: r }, o)), o = b(n({ store: r }, o)), o;
36
+ }), w = P(function(s) {
37
+ const e = k(s);
38
+ return m(C, e);
39
+ });
40
+ export {
41
+ w as P,
42
+ k as u
43
+ };
package/dist/Accordion.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import { jsxs as t, jsx as o } from "react/jsx-runtime";
3
- import { D as d } from "./P4IRICAX-7kH4HzWI.js";
4
- import { D as a } from "./VGCJ63VH-CVhs4PYt.js";
5
- import { u as k } from "./VGCJ63VH-CVhs4PYt.js";
3
+ import { D as d } from "./NMGNQVTG-C6TqBngP.js";
4
+ import { D as a } from "./T22PY7TE-C1N0q8Kn.js";
5
+ import { u as k } from "./T22PY7TE-C1N0q8Kn.js";
6
6
  import { forwardRef as _ } from "react";
7
- import "./Icon-BisRi8B3.js";
8
- import { R as u } from "./index-Dcq5gh3E.js";
7
+ import "./Icon-EG7O4YwD.js";
8
+ import { R as u } from "./index-BtwrJ6N4.js";
9
9
  import { Text as f } from "./Text.js";
10
- import { c as h } from "./index-PAaZGbyz.js";
10
+ import { c as h } from "./index-CdiHdiVB.js";
11
11
  const p = "_root_173le_2", v = "_icon_173le_11", x = "_disclosure_173le_23", N = {
12
12
  root: p,
13
13
  icon: v,
package/dist/Alert.js CHANGED
@@ -5,7 +5,7 @@ import { Button as y } from "./Button.js";
5
5
  import { CloseButton as I } from "./CloseButton.js";
6
6
  import { Text as b } from "./Text.js";
7
7
  import { VariantIcon as S } from "./VariantIcon.js";
8
- import { c as T } from "./index-PAaZGbyz.js";
8
+ import { c as T } from "./index-CdiHdiVB.js";
9
9
  const V = "_root_1c0qe_2", $ = "_icon_1c0qe_55", E = "_content_1c0qe_58", R = "_title_1c0qe_88", O = {
10
10
  root: V,
11
11
  "size-sm": "_size-sm_1c0qe_16",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as i } from "react/jsx-runtime";
3
- import { c as e } from "./index-PAaZGbyz.js";
3
+ import { c as e } from "./index-CdiHdiVB.js";
4
4
  import { f as _ } from "./forwardRefWithAs-8eP3ZN15.js";
5
5
  import "react";
6
6
  const c = "_root_1s56r_2", m = {
package/dist/Avatar.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 i } from "react";
4
- import { c as _ } from "./index-PAaZGbyz.js";
4
+ import { c as _ } from "./index-CdiHdiVB.js";
5
5
  const l = "_root_zm5un_2", u = {
6
6
  root: l,
7
7
  "size-sm": "_size-sm_zm5un_24",
@@ -1,7 +1,16 @@
1
1
  "use client";
2
- import { t as Q, c as z, s as R, i as X, f as U, b as h, a as Z } from "./YV4JVR4I-CVFstk2K.js";
3
- import { y as S, x as C, S as p, z as L, s as ee, o as te, B as ne } from "./LVA2YJMS-NUHCRwFZ.js";
2
+ import { H as S, G as C, S as Q, I as L, s as X, g as Z, K as p } from "./OE2EFRVA-C3721cM3.js";
3
+ import { t as ee, c as O, s as R, i as te, f as G, d as h, a as ne } from "./RTNCFSKZ-qpPg689E.js";
4
4
  function re(t) {
5
+ const i = [];
6
+ for (const e of t)
7
+ i.push(...e);
8
+ return i;
9
+ }
10
+ function U(t) {
11
+ return t.slice().reverse();
12
+ }
13
+ function ie(t) {
5
14
  var i;
6
15
  const e = t.find((a) => !!a.element), o = [...t].reverse().find((a) => !!a.element);
7
16
  let s = (i = e == null ? void 0 : e.element) == null ? void 0 : i.parentElement;
@@ -10,14 +19,14 @@ function re(t) {
10
19
  return s;
11
20
  s = s.parentElement;
12
21
  }
13
- return te(s).body;
22
+ return Z(s).body;
14
23
  }
15
- function ie(t) {
24
+ function se(t) {
16
25
  return t == null ? void 0 : t.__unstablePrivateStore;
17
26
  }
18
- function se(t = {}) {
27
+ function oe(t = {}) {
19
28
  var i;
20
- Q(t, t.store);
29
+ ee(t, t.store);
21
30
  const e = (i = t.store) == null ? void 0 : i.getState(), o = S(
22
31
  t.items,
23
32
  e == null ? void 0 : e.items,
@@ -26,29 +35,29 @@ function se(t = {}) {
26
35
  ), s = new Map(o.map((r) => [r.id, r])), a = {
27
36
  items: o,
28
37
  renderedItems: S(e == null ? void 0 : e.renderedItems, [])
29
- }, d = ie(t.store), u = z(
38
+ }, d = se(t.store), u = O(
30
39
  { items: o, renderedItems: a.renderedItems },
31
40
  d
32
- ), n = z(a, t.store), b = (r) => {
33
- const l = ee(r, (c) => c.element);
41
+ ), n = O(a, t.store), b = (r) => {
42
+ const l = X(r, (c) => c.element);
34
43
  u.setState("renderedItems", l), n.setState("renderedItems", l);
35
44
  };
36
- R(n, () => X(u)), R(u, () => U(u, ["items"], (r) => {
45
+ R(n, () => te(u)), R(u, () => G(u, ["items"], (r) => {
37
46
  n.setState("items", r.items);
38
- })), R(u, () => U(u, ["renderedItems"], (r) => {
47
+ })), R(u, () => G(u, ["renderedItems"], (r) => {
39
48
  let l = !0, c = requestAnimationFrame(() => {
40
49
  const { renderedItems: m } = n.getState();
41
50
  r.renderedItems !== m && b(r.renderedItems);
42
51
  });
43
52
  if (typeof IntersectionObserver != "function")
44
53
  return () => cancelAnimationFrame(c);
45
- const x = () => {
54
+ const g = () => {
46
55
  if (l) {
47
56
  l = !1;
48
57
  return;
49
58
  }
50
59
  cancelAnimationFrame(c), c = requestAnimationFrame(() => b(r.renderedItems));
51
- }, F = re(r.renderedItems), f = new IntersectionObserver(x, { root: F });
60
+ }, F = ie(r.renderedItems), f = new IntersectionObserver(g, { root: F });
52
61
  for (const m of r.renderedItems)
53
62
  m.element && f.observe(m.element);
54
63
  return () => {
@@ -56,24 +65,24 @@ function se(t = {}) {
56
65
  };
57
66
  }));
58
67
  const E = (r, l, c = !1) => {
59
- let x;
68
+ let g;
60
69
  return l((f) => {
61
- const m = f.findIndex(({ id: g }) => g === r.id), w = f.slice();
70
+ const m = f.findIndex(({ id: x }) => x === r.id), w = f.slice();
62
71
  if (m !== -1) {
63
- x = f[m];
64
- const g = L(L({}, x), r);
65
- w[m] = g, s.set(r.id, g);
72
+ g = f[m];
73
+ const x = L(L({}, g), r);
74
+ w[m] = x, s.set(r.id, x);
66
75
  } else
67
76
  w.push(r), s.set(r.id, r);
68
77
  return w;
69
78
  }), () => {
70
79
  l((f) => {
71
- if (!x)
72
- return c && s.delete(r.id), f.filter(({ id: g }) => g !== r.id);
73
- const m = f.findIndex(({ id: g }) => g === r.id);
80
+ if (!g)
81
+ return c && s.delete(r.id), f.filter(({ id: x }) => x !== r.id);
82
+ const m = f.findIndex(({ id: x }) => x === r.id);
74
83
  if (m === -1) return f;
75
84
  const w = f.slice();
76
- return w[m] = x, s.set(r.id, x), w;
85
+ return w[m] = g, s.set(r.id, g), w;
77
86
  });
78
87
  };
79
88
  }, P = (r) => E(
@@ -83,7 +92,7 @@ function se(t = {}) {
83
92
  );
84
93
  return C(L({}, n), {
85
94
  registerItem: P,
86
- renderItem: (r) => p(
95
+ renderItem: (r) => Q(
87
96
  P(r),
88
97
  E(
89
98
  r,
@@ -95,7 +104,7 @@ function se(t = {}) {
95
104
  let l = s.get(r);
96
105
  if (!l) {
97
106
  const { items: c } = u.getState();
98
- l = c.find((x) => x.id === r), l && s.set(r, l);
107
+ l = c.find((g) => g.id === r), l && s.set(r, l);
99
108
  }
100
109
  return l || null;
101
110
  },
@@ -103,17 +112,8 @@ function se(t = {}) {
103
112
  __unstablePrivateStore: u
104
113
  });
105
114
  }
106
- function oe(t, i, e) {
107
- return ne(i, [e.store]), h(t, e, "items", "setItems"), t;
108
- }
109
- function le(t) {
110
- const i = [];
111
- for (const e of t)
112
- i.push(...e);
113
- return i;
114
- }
115
- function $(t) {
116
- return t.slice().reverse();
115
+ function le(t, i, e) {
116
+ return p(i, [e.store]), h(t, e, "items", "setItems"), t;
117
117
  }
118
118
  var ae = { id: null };
119
119
  function _(t, i) {
@@ -122,7 +122,7 @@ function _(t, i) {
122
122
  function de(t, i) {
123
123
  return t.filter((e) => i ? !e.disabled && e.id !== i : !e.disabled);
124
124
  }
125
- function G(t, i) {
125
+ function $(t, i) {
126
126
  return t.filter((e) => e.rowId === i);
127
127
  }
128
128
  function ce(t, i, e = !1) {
@@ -133,7 +133,7 @@ function ce(t, i, e = !1) {
133
133
  ...t.slice(0, o)
134
134
  ];
135
135
  }
136
- function Y(t) {
136
+ function H(t) {
137
137
  const i = [];
138
138
  for (const e of t) {
139
139
  const o = i.find((s) => {
@@ -144,7 +144,7 @@ function Y(t) {
144
144
  }
145
145
  return i;
146
146
  }
147
- function j(t) {
147
+ function K(t) {
148
148
  let i = 0;
149
149
  for (const { length: e } of t)
150
150
  e > i && (i = e);
@@ -158,7 +158,7 @@ function ue(t) {
158
158
  };
159
159
  }
160
160
  function fe(t, i, e) {
161
- const o = j(t);
161
+ const o = K(t);
162
162
  for (const s of t)
163
163
  for (let a = 0; a < o; a += 1) {
164
164
  const d = s[a];
@@ -170,7 +170,7 @@ function fe(t, i, e) {
170
170
  return t;
171
171
  }
172
172
  function me(t) {
173
- const i = Y(t), e = j(i), o = [];
173
+ const i = H(t), e = K(i), o = [];
174
174
  for (let s = 0; s < e; s += 1)
175
175
  for (const a of i) {
176
176
  const d = a[s];
@@ -187,7 +187,7 @@ function me(t) {
187
187
  }
188
188
  function Se(t = {}) {
189
189
  var i;
190
- const e = (i = t.store) == null ? void 0 : i.getState(), o = se(t), s = S(
190
+ const e = (i = t.store) == null ? void 0 : i.getState(), o = oe(t), s = S(
191
191
  t.activeId,
192
192
  e == null ? void 0 : e.activeId,
193
193
  t.defaultActiveId
@@ -219,10 +219,10 @@ function Se(t = {}) {
219
219
  focusLoop: S(t.focusLoop, e == null ? void 0 : e.focusLoop, !1),
220
220
  focusWrap: S(t.focusWrap, e == null ? void 0 : e.focusWrap, !1),
221
221
  focusShift: S(t.focusShift, e == null ? void 0 : e.focusShift, !1)
222
- }), d = z(a, o, t.store);
222
+ }), d = O(a, o, t.store);
223
223
  R(
224
224
  d,
225
- () => Z(d, ["renderedItems", "activeId"], (n) => {
225
+ () => ne(d, ["renderedItems", "activeId"], (n) => {
226
226
  d.setState("activeId", (b) => {
227
227
  var E;
228
228
  return b !== void 0 ? b : (E = _(n.renderedItems)) == null ? void 0 : E.id;
@@ -234,30 +234,30 @@ function Se(t = {}) {
234
234
  const r = d.getState(), {
235
235
  skip: l = 0,
236
236
  activeId: c = r.activeId,
237
- focusShift: x = r.focusShift,
237
+ focusShift: g = r.focusShift,
238
238
  focusLoop: F = r.focusLoop,
239
239
  focusWrap: f = r.focusWrap,
240
240
  includesBaseElement: m = r.includesBaseElement,
241
241
  renderedItems: w = r.renderedItems,
242
- rtl: g = r.rtl
243
- } = b, y = n === "up" || n === "down", O = n === "next" || n === "down", H = O ? g && !y : !g || y, J = x && !l;
244
- let v = y ? le(
245
- fe(Y(w), c, J)
242
+ rtl: x = r.rtl
243
+ } = b, y = n === "up" || n === "down", z = n === "next" || n === "down", Y = z ? x && !y : !x || y, j = g && !l;
244
+ let v = y ? re(
245
+ fe(H(w), c, j)
246
246
  ) : w;
247
- if (v = H ? $(v) : v, v = y ? me(v) : v, c == null)
247
+ if (v = Y ? U(v) : v, v = y ? me(v) : v, c == null)
248
248
  return (E = _(v)) == null ? void 0 : E.id;
249
249
  const M = v.find((I) => I.id === c);
250
250
  if (!M)
251
251
  return (P = _(v)) == null ? void 0 : P.id;
252
- const D = v.some((I) => I.rowId), K = v.indexOf(M), N = v.slice(K + 1), W = G(N, M.rowId);
252
+ const D = v.some((I) => I.rowId), J = v.indexOf(M), N = v.slice(J + 1), W = $(N, M.rowId);
253
253
  if (l) {
254
254
  const I = de(W, c), B = I.slice(l)[0] || // If we can't find an item, just return the last one.
255
255
  I[I.length - 1];
256
256
  return B == null ? void 0 : B.id;
257
257
  }
258
- const T = F && (y ? F !== "horizontal" : F !== "vertical"), V = D && f && (y ? f !== "horizontal" : f !== "vertical"), A = O ? (!D || y) && T && m : y ? m : !1;
258
+ const T = F && (y ? F !== "horizontal" : F !== "vertical"), V = D && f && (y ? f !== "horizontal" : f !== "vertical"), A = z ? (!D || y) && T && m : y ? m : !1;
259
259
  if (T) {
260
- const I = V && !A ? v : G(v, M.rowId), B = ce(I, c, A), q = _(B, c);
260
+ const I = V && !A ? v : $(v, M.rowId), B = ce(I, c, A), q = _(B, c);
261
261
  return q == null ? void 0 : q.id;
262
262
  }
263
263
  if (V) {
@@ -288,7 +288,7 @@ function Se(t = {}) {
288
288
  },
289
289
  last: () => {
290
290
  var n;
291
- return (n = _($(d.getState().renderedItems))) == null ? void 0 : n.id;
291
+ return (n = _(U(d.getState().renderedItems))) == null ? void 0 : n.id;
292
292
  },
293
293
  next: (n) => (n !== void 0 && typeof n == "number" && (n = { skip: n }), u("next", n)),
294
294
  previous: (n) => (n !== void 0 && typeof n == "number" && (n = { skip: n }), u("previous", n)),
@@ -296,13 +296,13 @@ function Se(t = {}) {
296
296
  up: (n) => (n !== void 0 && typeof n == "number" && (n = { skip: n }), u("up", n))
297
297
  });
298
298
  }
299
- function xe(t, i, e) {
300
- return t = oe(t, i, e), h(t, e, "activeId", "setActiveId"), h(t, e, "includesBaseElement"), h(t, e, "virtualFocus"), h(t, e, "orientation"), h(t, e, "rtl"), h(t, e, "focusLoop"), h(t, e, "focusWrap"), h(t, e, "focusShift"), t;
299
+ function ge(t, i, e) {
300
+ return t = le(t, i, e), h(t, e, "activeId", "setActiveId"), h(t, e, "includesBaseElement"), h(t, e, "virtualFocus"), h(t, e, "orientation"), h(t, e, "rtl"), h(t, e, "focusLoop"), h(t, e, "focusWrap"), h(t, e, "focusShift"), t;
301
301
  }
302
302
  export {
303
- se as a,
303
+ oe as a,
304
304
  Se as c,
305
- le as f,
306
- $ as r,
307
- xe as u
305
+ re as f,
306
+ U as r,
307
+ ge as u
308
308
  };
package/dist/Badge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as m } from "react/jsx-runtime";
3
3
  import { forwardRef as u } from "react";
4
- import { c } from "./index-PAaZGbyz.js";
4
+ import { c } from "./index-CdiHdiVB.js";
5
5
  const b = "_root_nle8k_2", f = {
6
6
  root: b,
7
7
  "disabled-default": "_disabled-default_nle8k_18",
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsxs as te, jsx as R } from "react/jsx-runtime";
3
3
  import { forwardRef as re, Children as pe, cloneElement as be, useRef as M, useState as H, useCallback as V, useMemo as ge, useEffect as X } from "react";
4
- import "./Icon-BisRi8B3.js";
5
- import { R as me } from "./index-Dcq5gh3E.js";
6
- import { c as ne } from "./index-PAaZGbyz.js";
4
+ import "./Icon-EG7O4YwD.js";
5
+ import { R as me } from "./index-BtwrJ6N4.js";
6
+ import { c as ne } from "./index-CdiHdiVB.js";
7
7
  import { t as xe } from "./throttle-BDBzFeFj.js";
8
8
  var b = [], ze = function() {
9
9
  return b.some(function(e) {
package/dist/Button.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsxs as l, jsx as a, Fragment as g } from "react/jsx-runtime";
3
- import { B as f } from "./X5NMLKT6-PeY306ft.js";
3
+ import { B as f } from "./XCKGTAUF-DkxWCbaW.js";
4
4
  import { useButtonGroup as z } from "./ButtonGroup.js";
5
5
  import { Loader as b } from "./Loader.js";
6
- import { c as x } from "./index-PAaZGbyz.js";
6
+ import { c as x } from "./index-CdiHdiVB.js";
7
7
  import { f as B } from "./forwardRefWithAs-8eP3ZN15.js";
8
8
  import "react";
9
9
  const N = "_root_1q8jk_2", $ = "_shape_1q8jk_74", D = "_loader_1q8jk_235", S = {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as e } from "react/jsx-runtime";
3
3
  import { createContext as f, useMemo as i, useContext as l } from "react";
4
- import { c as x } from "./index-PAaZGbyz.js";
4
+ import { c as x } from "./index-CdiHdiVB.js";
5
5
  import { f as G } from "./forwardRefWithAs-8eP3ZN15.js";
6
6
  const d = "_root_kot0y_2", y = {
7
7
  root: d
package/dist/Card.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as c } from "react/jsx-runtime";
3
3
  import { forwardRef as n } from "react";
4
- import { c as d } from "./index-PAaZGbyz.js";
4
+ import { c as d } from "./index-CdiHdiVB.js";
5
5
  const a = "_root_10ds1_2", m = "_body_10ds1_13", e = {
6
6
  root: a,
7
7
  body: m
package/dist/Checkbox.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { 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 u } from "react";
5
5
  import { useField as l } from "./Field.js";
6
- import { c as v } from "./index-PAaZGbyz.js";
6
+ import { c as v } from "./index-CdiHdiVB.js";
7
7
  const g = "_root_xf7ux_2", p = "_indeterminate_xf7ux_85", h = {
8
8
  root: g,
9
9
  "variant-danger": "_variant-danger_xf7ux_67",
@@ -2,9 +2,9 @@
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { forwardRef as a } from "react";
4
4
  import { Button as n } from "./Button.js";
5
- import "./Icon-BisRi8B3.js";
6
- import { C as c } from "./index-BJLXLdM3.js";
7
- import { c as m } from "./index-PAaZGbyz.js";
5
+ import "./Icon-EG7O4YwD.js";
6
+ import { C as c } from "./index-Bt79XJ8R.js";
7
+ import { c as m } from "./index-CdiHdiVB.js";
8
8
  const i = "_root_rhe1o_2", l = "_fade_rhe1o_1", f = {
9
9
  root: i,
10
10
  "animate-presence": "_animate-presence_rhe1o_6",
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { u as c } from "./X5NMLKT6-PeY306ft.js";
3
- import { a as d } from "./VGCJ63VH-CVhs4PYt.js";
4
- import { l as p, c as f, n as D, _ as g, b as x, e as k, g as v } from "./LVA2YJMS-NUHCRwFZ.js";
2
+ import { a as c } from "./T22PY7TE-C1N0q8Kn.js";
3
+ import { u as d } from "./XCKGTAUF-DkxWCbaW.js";
4
+ import { f as p, c as f, b as D, _ as x, u as g, d as k, a as v } from "./OE2EFRVA-C3721cM3.js";
5
5
  import { useMemo as h } from "react";
6
6
  import { jsxs as _, jsx as a } from "react/jsx-runtime";
7
7
  var b = "button", y = f(
8
8
  function(i) {
9
- var s = i, { store: e } = s, o = g(s, ["store"]);
10
- const l = d();
9
+ var s = i, { store: e } = s, o = x(s, ["store"]);
10
+ const l = c();
11
11
  e = e || l;
12
- const r = o.onClick, u = x((t) => {
12
+ const r = o.onClick, u = g((t) => {
13
13
  r == null || r(t), !t.defaultPrevented && (e == null || e.hide());
14
14
  }), m = h(
15
15
  () => /* @__PURE__ */ _(
@@ -38,7 +38,7 @@ var b = "button", y = f(
38
38
  children: m
39
39
  }, o), {
40
40
  onClick: u
41
- }), o = c(o), o;
41
+ }), o = d(o), o;
42
42
  }
43
43
  ), E = p(function(i) {
44
44
  const s = y(i);
@@ -3,12 +3,12 @@ import { jsxs as U, jsx as o } from "react/jsx-runtime";
3
3
  import { useState as $, useMemo as F, useEffect as j, forwardRef as _, useRef as G } from "react";
4
4
  import { D as J, C as P } from "./CustomPopper-vwbOQq72.js";
5
5
  import { Button as L } from "./Button.js";
6
- import "./Icon-BisRi8B3.js";
7
- import { L as Q } from "./index-CWVOLBDY.js";
8
- import { R as V } from "./index-Dcq5gh3E.js";
6
+ import "./Icon-EG7O4YwD.js";
7
+ import { L as Q } from "./index-D5a8Oe6k.js";
8
+ import { R as V } from "./index-BtwrJ6N4.js";
9
9
  import { Select as M } from "./Select.js";
10
- import { c as w } from "./index-PAaZGbyz.js";
11
- import { g as W, a as X, s as K, b as Z, D as q } from "./utils-BNMgUIHQ.js";
10
+ import { c as w } from "./index-CdiHdiVB.js";
11
+ import { g as W, a as X, s as K, b as Z, D as q } from "./utils-BpbIqM56.js";
12
12
  import { InputText as Y } from "./InputText.js";
13
13
  const g = w(K), h = ({
14
14
  changeMonth: b,
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as A } from "react/jsx-runtime";
3
3
  import { forwardRef as E, useState as x, useRef as P, useEffect as o, Children as H, cloneElement as I } from "react";
4
- import { b as N, D as b, s as j } from "./utils-BNMgUIHQ.js";
5
- import { c as F } from "./index-PAaZGbyz.js";
4
+ import { b as N, D as b, s as j } from "./utils-BpbIqM56.js";
5
+ import { c as F } from "./index-CdiHdiVB.js";
6
6
  const L = F(j), q = E(
7
7
  ({
8
8
  children: a,
package/dist/Drawer.js CHANGED
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import { jsx as t, jsxs as f, Fragment as y } from "react/jsx-runtime";
3
- import { D as A } from "./JC64G2H7-DPy9R0De.js";
4
- import { u as bt } from "./JC64G2H7-DPy9R0De.js";
3
+ import { D as A } from "./NI3IVY7K-Ztb3-XAv.js";
4
+ import { u as bt } from "./NI3IVY7K-Ztb3-XAv.js";
5
5
  import { useCallback as b, forwardRef as h } from "react";
6
- import { c as n } from "./index-PAaZGbyz.js";
6
+ import { c as n } from "./index-CdiHdiVB.js";
7
7
  import { f as x } from "./forwardRefWithAs-8eP3ZN15.js";
8
8
  import { Button as C } from "./Button.js";
9
- import "./Icon-BisRi8B3.js";
10
- import { A as O } from "./index-C8GsqBDe.js";
9
+ import "./Icon-EG7O4YwD.js";
10
+ import { A as O } from "./index-BeetbagJ.js";
11
11
  import { Text as g } from "./Text.js";
12
- import { D as T } from "./SYRFVSLH-CHNUB1rW.js";
12
+ import { D as T } from "./DSAASPLT-BaaCUKsb.js";
13
13
  import { CloseButton as j } from "./CloseButton.js";
14
- import { D as F } from "./AXB53BZF-BHeessqV.js";
14
+ import { D as F } from "./ZTXFEM5L-CkrIQCN1.js";
15
15
  const I = "_content_xrztb_13", B = "_title_xrztb_67", w = {
16
16
  "asset-drawer": "_asset-drawer_xrztb_3",
17
17
  "content-wrapper": "_content-wrapper_xrztb_13",