welcome-ui 9.0.0-alpha.4 → 9.0.0

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
@@ -1,21 +1,21 @@
1
1
  "use client";
2
- import { i as ot, k as C, P as at, Q as st, R as ut, S as F, A as it, x as ct, z as ft, T as lt, U as dt, M as G, e as St, g as P, b as pt, V as vt } from "./LVA2YJMS-NUHCRwFZ.js";
2
+ import { i as ot, t as C, P as st, Q as at, R as ut, S as F, J as it, G as ct, I as ft, T as lt, U as dt, M as N, d as St, a as P, u as pt, V as vt } from "./OE2EFRVA-C3721cM3.js";
3
3
  import * as I from "react";
4
4
  import X from "react";
5
- import { g as _t } from "./index-PAaZGbyz.js";
6
- function A(t, n) {
5
+ import { g as _t } from "./index-CdiHdiVB.js";
6
+ function T(t, n) {
7
7
  const e = t.__unstableInternals;
8
8
  return ot(e, "Invalid store"), e[n];
9
9
  }
10
10
  function W(t, ...n) {
11
- let e = t, l = e, s = Symbol(), o = lt;
12
- const u = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), _ = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), g = (a) => (v.add(a), () => v.delete(a)), x = () => {
13
- const a = u.size, r = Symbol();
11
+ let e = t, l = e, a = Symbol(), o = lt;
12
+ const u = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Set(), _ = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), g = (s) => (v.add(s), () => v.delete(s)), x = () => {
13
+ const s = u.size, r = Symbol();
14
14
  u.add(r);
15
15
  const b = () => {
16
16
  u.delete(r), !u.size && o();
17
17
  };
18
- if (a) return b;
18
+ if (s) return b;
19
19
  const w = ut(e).map(
20
20
  (L) => F(
21
21
  ...n.map((V) => {
@@ -33,35 +33,35 @@ function W(t, ...n) {
33
33
  });
34
34
  })
35
35
  )
36
- ), T = [];
36
+ ), A = [];
37
37
  for (const L of v)
38
- T.push(L());
38
+ A.push(L());
39
39
  const B = n.map(Z);
40
- return o = F(...w, ...T, ...B), b;
41
- }, E = (a, r, b = m) => (b.add(r), d.set(r, a), () => {
40
+ return o = F(...w, ...A, ...B), b;
41
+ }, E = (s, r, b = m) => (b.add(r), d.set(r, s), () => {
42
42
  var w;
43
43
  (w = i.get(r)) == null || w(), i.delete(r), d.delete(r), b.delete(r);
44
- }), R = (a, r) => E(a, r), M = (a, r) => (i.set(r, r(e, e)), E(a, r)), q = (a, r) => (i.set(r, r(e, l)), E(a, r, _)), S = (a) => W(st(e, a), y), f = (a) => W(at(e, a), y), O = () => e, p = (a, r, b = !1) => {
44
+ }), R = (s, r) => E(s, r), M = (s, r) => (i.set(r, r(e, e)), E(s, r)), q = (s, r) => (i.set(r, r(e, l)), E(s, r, _)), S = (s) => W(at(e, s), y), f = (s) => W(st(e, s), y), O = () => e, p = (s, r, b = !1) => {
45
45
  var w;
46
- if (!C(e, a)) return;
47
- const T = it(r, e[a]);
48
- if (T === e[a]) return;
46
+ if (!C(e, s)) return;
47
+ const A = it(r, e[s]);
48
+ if (A === e[s]) return;
49
49
  if (!b)
50
50
  for (const h of n)
51
- (w = h == null ? void 0 : h.setState) == null || w.call(h, a, T);
51
+ (w = h == null ? void 0 : h.setState) == null || w.call(h, s, A);
52
52
  const B = e;
53
- e = ct(ft({}, e), { [a]: T });
53
+ e = ct(ft({}, e), { [s]: A });
54
54
  const L = Symbol();
55
- s = L, c.add(a);
55
+ a = L, c.add(s);
56
56
  const V = (h, D, U) => {
57
57
  var H;
58
- const $ = d.get(h), rt = (z) => U ? U.has(z) : z === a;
58
+ const $ = d.get(h), rt = (z) => U ? U.has(z) : z === s;
59
59
  (!$ || $.some(rt)) && ((H = i.get(h)) == null || H(), i.set(h, h(e, D)));
60
60
  };
61
61
  for (const h of m)
62
62
  V(h, B);
63
63
  queueMicrotask(() => {
64
- if (s !== L) return;
64
+ if (a !== L) return;
65
65
  const h = e;
66
66
  for (const D of _)
67
67
  V(D, l, c);
@@ -84,39 +84,41 @@ function W(t, ...n) {
84
84
  }
85
85
  function Rt(t, ...n) {
86
86
  if (t)
87
- return A(t, "setup")(...n);
87
+ return T(t, "setup")(...n);
88
88
  }
89
89
  function Z(t, ...n) {
90
90
  if (t)
91
- return A(t, "init")(...n);
91
+ return T(t, "init")(...n);
92
92
  }
93
93
  function k(t, ...n) {
94
94
  if (t)
95
- return A(t, "subscribe")(...n);
95
+ return T(t, "subscribe")(...n);
96
96
  }
97
97
  function tt(t, ...n) {
98
98
  if (t)
99
- return A(t, "sync")(...n);
99
+ return T(t, "sync")(...n);
100
100
  }
101
101
  function ht(t, ...n) {
102
102
  if (t)
103
- return A(t, "batch")(...n);
103
+ return T(t, "batch")(...n);
104
104
  }
105
105
  function Vt(t, ...n) {
106
106
  if (t)
107
- return A(t, "omit")(...n);
107
+ return T(t, "omit")(...n);
108
108
  }
109
- function At(t, ...n) {
109
+ function Tt(t, ...n) {
110
110
  if (t)
111
- return A(t, "pick")(...n);
111
+ return T(t, "pick")(...n);
112
112
  }
113
- function Tt(...t) {
114
- const n = t.reduce((l, s) => {
115
- var o;
116
- const u = (o = s == null ? void 0 : s.getState) == null ? void 0 : o.call(s);
117
- return u ? Object.assign(l, u) : l;
118
- }, {}), e = W(n, ...t);
119
- return Object.assign({}, ...t, e);
113
+ function At(...t) {
114
+ var n;
115
+ const e = {};
116
+ for (const a of t) {
117
+ const o = (n = a == null ? void 0 : a.getState) == null ? void 0 : n.call(a);
118
+ o && Object.assign(e, o);
119
+ }
120
+ const l = W(e, ...t);
121
+ return Object.assign({}, ...t, l);
120
122
  }
121
123
  function Dt(t, n) {
122
124
  if (process.env.NODE_ENV === "production" || !n) return;
@@ -148,20 +150,20 @@ If there's a particular need for this, please submit a feature request at https:
148
150
  `
149
151
  );
150
152
  }
151
- var j = { exports: {} }, K = {}, Y;
153
+ var j = { exports: {} }, G = {}, Y;
152
154
  function mt() {
153
- if (Y) return K;
155
+ if (Y) return G;
154
156
  Y = 1;
155
157
  var t = X;
156
158
  function n(i, d) {
157
159
  return i === d && (i !== 0 || 1 / i === 1 / d) || i !== i && d !== d;
158
160
  }
159
- var e = typeof Object.is == "function" ? Object.is : n, l = t.useState, s = t.useEffect, o = t.useLayoutEffect, u = t.useDebugValue;
161
+ var e = typeof Object.is == "function" ? Object.is : n, l = t.useState, a = t.useEffect, o = t.useLayoutEffect, u = t.useDebugValue;
160
162
  function c(i, d) {
161
163
  var g = d(), x = l({ inst: { value: g, getSnapshot: d } }), E = x[0].inst, R = x[1];
162
164
  return o(function() {
163
165
  E.value = g, E.getSnapshot = d, v(E) && R({ inst: E });
164
- }, [i, g, d]), s(function() {
166
+ }, [i, g, d]), a(function() {
165
167
  return v(E) && R({ inst: E }), i(function() {
166
168
  v(E) && R({ inst: E });
167
169
  });
@@ -181,11 +183,11 @@ function mt() {
181
183
  return d();
182
184
  }
183
185
  var _ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : c;
184
- return K.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : _, K;
186
+ return G.useSyncExternalStore = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : _, G;
185
187
  }
186
- var N = {}, Q;
188
+ var K = {}, J;
187
189
  function Et() {
188
- return Q || (Q = 1, process.env.NODE_ENV !== "production" && function() {
190
+ return J || (J = 1, process.env.NODE_ENV !== "production" && function() {
189
191
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
190
192
  var t = X, n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
191
193
  function e(S) {
@@ -199,16 +201,16 @@ function Et() {
199
201
  {
200
202
  var p = n.ReactDebugCurrentFrame, y = p.getStackAddendum();
201
203
  y !== "" && (f += "%s", O = O.concat([y]));
202
- var a = O.map(function(r) {
204
+ var s = O.map(function(r) {
203
205
  return String(r);
204
206
  });
205
- a.unshift("Warning: " + f), Function.prototype.apply.call(console[S], console, a);
207
+ s.unshift("Warning: " + f), Function.prototype.apply.call(console[S], console, s);
206
208
  }
207
209
  }
208
- function s(S, f) {
210
+ function a(S, f) {
209
211
  return S === f && (S !== 0 || 1 / S === 1 / f) || S !== S && f !== f;
210
212
  }
211
- var o = typeof Object.is == "function" ? Object.is : s, u = t.useState, c = t.useEffect, v = t.useLayoutEffect, m = t.useDebugValue, _ = !1, i = !1;
213
+ var o = typeof Object.is == "function" ? Object.is : a, u = t.useState, c = t.useEffect, v = t.useLayoutEffect, m = t.useDebugValue, _ = !1, i = !1;
212
214
  function d(S, f, O) {
213
215
  _ || t.startTransition !== void 0 && (_ = !0, e("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
214
216
  var p = f();
@@ -216,12 +218,12 @@ function Et() {
216
218
  var y = f();
217
219
  o(p, y) || (e("The result of getSnapshot should be cached to avoid an infinite loop"), i = !0);
218
220
  }
219
- var a = u({
221
+ var s = u({
220
222
  inst: {
221
223
  value: p,
222
224
  getSnapshot: f
223
225
  }
224
- }), r = a[0].inst, b = a[1];
226
+ }), r = s[0].inst, b = s[1];
225
227
  return v(function() {
226
228
  r.value = p, r.getSnapshot = f, g(r) && b({
227
229
  inst: r
@@ -251,12 +253,12 @@ function Et() {
251
253
  return f();
252
254
  }
253
255
  var E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", R = !E, M = R ? x : d, q = t.useSyncExternalStore !== void 0 ? t.useSyncExternalStore : M;
254
- N.useSyncExternalStore = q, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
255
- }()), N;
256
+ K.useSyncExternalStore = q, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
257
+ }()), K;
256
258
  }
257
- var J;
259
+ var Q;
258
260
  function gt() {
259
- return J || (J = 1, process.env.NODE_ENV === "production" ? j.exports = mt() : j.exports = Et()), j.exports;
261
+ return Q || (Q = 1, process.env.NODE_ENV === "production" ? j.exports = mt() : j.exports = Et()), j.exports;
260
262
  }
261
263
  var Ot = gt();
262
264
  const bt = /* @__PURE__ */ _t(Ot);
@@ -264,13 +266,13 @@ var { useSyncExternalStore: et } = bt, nt = () => () => {
264
266
  };
265
267
  function yt(t, n = dt) {
266
268
  const e = I.useCallback(
267
- (s) => t ? k(t, null, s) : nt(),
269
+ (a) => t ? k(t, null, a) : nt(),
268
270
  [t]
269
271
  ), l = () => {
270
- const s = typeof n == "string" ? n : null, o = typeof n == "function" ? n : null, u = t == null ? void 0 : t.getState();
272
+ const a = typeof n == "string" ? n : null, o = typeof n == "function" ? n : null, u = t == null ? void 0 : t.getState();
271
273
  if (o) return o(u);
272
- if (u && s && C(u, s))
273
- return u[s];
274
+ if (u && a && C(u, a))
275
+ return u[a];
274
276
  };
275
277
  return et(e, l, l);
276
278
  }
@@ -280,7 +282,7 @@ function It(t, n) {
280
282
  ), l = I.useCallback(
281
283
  (o) => t ? k(t, null, o) : nt(),
282
284
  [t]
283
- ), s = () => {
285
+ ), a = () => {
284
286
  const o = t == null ? void 0 : t.getState();
285
287
  let u = !1;
286
288
  const c = e.current;
@@ -298,29 +300,29 @@ function It(t, n) {
298
300
  }
299
301
  return u && (e.current = P({}, c)), e.current;
300
302
  };
301
- return et(l, s, s);
303
+ return et(l, a, a);
302
304
  }
303
305
  function Ct(t, n, e, l) {
304
- const s = C(n, e) ? n[e] : void 0, o = l ? n[l] : void 0, u = vt({ value: s, setValue: o });
305
- G(() => tt(t, [e], (c, v) => {
306
+ const a = C(n, e) ? n[e] : void 0, o = l ? n[l] : void 0, u = vt({ value: a, setValue: o });
307
+ N(() => tt(t, [e], (c, v) => {
306
308
  const { value: m, setValue: _ } = u.current;
307
309
  _ && c[e] !== v[e] && c[e] !== m && _(c[e]);
308
- }), [t, e]), G(() => {
309
- if (s !== void 0)
310
- return t.setState(e, s), ht(t, [e], () => {
311
- s !== void 0 && t.setState(e, s);
310
+ }), [t, e]), N(() => {
311
+ if (a !== void 0)
312
+ return t.setState(e, a), ht(t, [e], () => {
313
+ a !== void 0 && t.setState(e, a);
312
314
  });
313
315
  });
314
316
  }
315
317
  function Ut(t, n) {
316
318
  const [e, l] = I.useState(() => t(n));
317
- G(() => Z(e), [e]);
318
- const s = I.useCallback(
319
+ N(() => Z(e), [e]);
320
+ const a = I.useCallback(
319
321
  (c) => yt(e, c),
320
322
  [e]
321
323
  ), o = I.useMemo(
322
- () => St(P({}, e), { useState: s }),
323
- [e, s]
324
+ () => St(P({}, e), { useState: a }),
325
+ [e, a]
324
326
  ), u = pt(() => {
325
327
  l((c) => t(P(P({}, n), c.getState())));
326
328
  });
@@ -328,17 +330,17 @@ function Ut(t, n) {
328
330
  }
329
331
  export {
330
332
  tt as a,
331
- Ct as b,
333
+ Ut as b,
332
334
  W as c,
333
- yt as d,
335
+ Ct as d,
334
336
  k as e,
335
337
  ht as f,
336
338
  It as g,
337
339
  Z as i,
338
- Tt as m,
340
+ At as m,
339
341
  Vt as o,
340
- At as p,
342
+ Tt as p,
341
343
  Rt as s,
342
344
  Dt as t,
343
- Ut as u
345
+ yt as u
344
346
  };
package/dist/Radio.css CHANGED
@@ -1 +1 @@
1
- @layer components{._root_1r128_2{display:flex;align-items:flex-start;gap:var(--spacing-sm);flex-direction:row}._input-wrapper_1r128_8{flex-shrink:0;position:relative;align-items:center;display:flex;align-self:flex-start}._input_1r128_8{border-radius:var(--radius-circle);order:-1;position:relative;outline:none;padding:0;transition:var(--duration-medium) var(--timing-primary);border-style:solid;border-width:var(--border-width-sm);border-color:var(--borderColor, var(--color-neutral-30));color:var(--color-neutral-10);height:var(--height-16);width:var(--height-16);margin-top:var(--spacing-xs);cursor:var(--inputCursor, pointer)}._input_1r128_8:hover{--borderColor: var(--color-neutral-40)}._input_1r128_8._disabled_1r128_34{background-color:var(--color-beige-40);--inputCursor: not-allowed}._input_1r128_8._variant-danger_1r128_38{--borderColor: var(--color-red-70)}._input_1r128_8._variant-warning_1r128_41{--borderColor: var(--color-orange-60)}._input_1r128_8:after{content:"";position:absolute;width:var(--height-8);height:var(--height-8);border-radius:var(--radius-circle);top:var(--spacing-3);left:var(--spacing-3);transition:medium;background-color:var(--backgroundColor, var(--color-transparent))}._input_1r128_8[aria-checked=true]:not([disabled]){--borderColor: var(--color-brand-40);color:var(--color-neutral-90)}._input_1r128_8[aria-checked=true][disabled]:after{--backgroundColor: var(--color-brand-30)}._input_1r128_8[aria-checked=true]:after{--backgroundColor: var(--color-brand-40)}._label-with-hint_1r128_65{display:flex;flex-direction:column}._hint_1r128_69{margin-top:0}}
1
+ @layer components{._root_1xy64_2{display:flex;align-items:flex-start;gap:var(--spacing-sm);flex-direction:row}._input-wrapper_1xy64_8{flex-shrink:0;position:relative;align-items:center;display:flex;align-self:flex-start}._input_1xy64_8{border-radius:var(--radius-circle);order:-1;position:relative;outline:none;padding:0;transition:var(--duration-medium) var(--timing-primary);border-style:solid;border-width:var(--border-width-sm);border-color:var(--borderColor, var(--color-neutral-30));color:var(--color-neutral-10);height:var(--height-16);width:var(--height-16);margin-top:var(--spacing-xs);cursor:var(--inputCursor, pointer)}._input_1xy64_8:hover{--borderColor: var(--color-neutral-40)}._input_1xy64_8._disabled_1xy64_34{background-color:var(--color-beige-40);--inputCursor: not-allowed}._input_1xy64_8._variant-danger_1xy64_38{--borderColor: var(--color-red-70)}._input_1xy64_8._variant-warning_1xy64_41{--borderColor: var(--color-orange-60)}._input_1xy64_8:after{content:"";position:absolute;width:var(--height-8);height:var(--height-8);border-radius:var(--radius-circle);top:var(--spacing-3);left:var(--spacing-3);transition:var(--duration-medium);background-color:var(--backgroundColor, var(--color-transparent))}._input_1xy64_8[aria-checked=true]:not([disabled]){--borderColor: var(--color-brand-40);color:var(--color-neutral-90)}._input_1xy64_8[aria-checked=true][disabled]:after{--backgroundColor: var(--color-brand-30)}._input_1xy64_8[aria-checked=true]:after{--backgroundColor: var(--color-brand-40)}._label-with-hint_1xy64_65{display:flex;flex-direction:column}._hint_1xy64_69{margin-top:0}}
package/dist/Radio.js CHANGED
@@ -1,20 +1,20 @@
1
1
  "use client";
2
- import { jsxs as d, jsx as a } from "react/jsx-runtime";
3
- import { R as u } from "./NLEBE274-B4zy25kL.js";
4
- import { forwardRef as w } from "react";
5
- import { Hint as b } from "./Hint.js";
6
- import { Label as v } from "./Label.js";
7
- import { c as N } from "./index-PAaZGbyz.js";
8
- const R = "_root_1r128_2", g = "_input_1r128_8", x = "_disabled_1r128_34", $ = "_hint_1r128_69", j = {
9
- root: R,
10
- "input-wrapper": "_input-wrapper_1r128_8",
11
- input: g,
12
- disabled: x,
13
- "variant-danger": "_variant-danger_1r128_38",
14
- "variant-warning": "_variant-warning_1r128_41",
15
- "label-with-hint": "_label-with-hint_1r128_65",
16
- hint: $
17
- }, r = N(j), y = w(
2
+ import { jsxs as d, jsx as t } from "react/jsx-runtime";
3
+ import { R as f } from "./SQZLCNLX-CHDXnZ16.js";
4
+ import { forwardRef as u } from "react";
5
+ import { Hint as y } from "./Hint.js";
6
+ import { Label as w } from "./Label.js";
7
+ import { c as b } from "./index-CdiHdiVB.js";
8
+ const v = "_root_1xy64_2", N = "_input_1xy64_8", R = "_disabled_1xy64_34", g = "_hint_1xy64_69", $ = {
9
+ root: v,
10
+ "input-wrapper": "_input-wrapper_1xy64_8",
11
+ input: N,
12
+ disabled: R,
13
+ "variant-danger": "_variant-danger_1xy64_38",
14
+ "variant-warning": "_variant-warning_1xy64_41",
15
+ "label-with-hint": "_label-with-hint_1xy64_65",
16
+ hint: g
17
+ }, a = b($), j = u(
18
18
  ({
19
19
  className: _,
20
20
  dataTestId: i,
@@ -27,15 +27,15 @@ const R = "_root_1r128_2", g = "_input_1r128_8", x = "_disabled_1r128_34", $ = "
27
27
  variant: p = "default",
28
28
  ...m
29
29
  }, h) => {
30
- const f = (t) => {
31
- t.stopPropagation(), e && e(t), l && l(t);
30
+ const x = (r) => {
31
+ r.stopPropagation(), e && e(r), l && l(r);
32
32
  };
33
- return /* @__PURE__ */ d(v, { className: r("root", _), onClick: f, children: [
34
- /* @__PURE__ */ a("div", { className: r("input-wrapper"), children: /* @__PURE__ */ a(
35
- u,
33
+ return /* @__PURE__ */ d(w, { className: a("root", _), onClick: x, children: [
34
+ /* @__PURE__ */ t("div", { className: a("input-wrapper"), children: /* @__PURE__ */ t(
35
+ f,
36
36
  {
37
37
  "aria-label": s,
38
- className: r("input", `variant-${p}`, n && "disabled"),
38
+ className: a("input", `variant-${p}`, n && "disabled"),
39
39
  "data-testid": i,
40
40
  disabled: n,
41
41
  ref: h,
@@ -43,12 +43,12 @@ const R = "_root_1r128_2", g = "_input_1r128_8", x = "_disabled_1r128_34", $ = "
43
43
  ...m
44
44
  }
45
45
  ) }),
46
- /* @__PURE__ */ d("div", { className: r("label-with-hint"), children: [
47
- /* @__PURE__ */ a("div", { "data-testid": i ? `${i}-label` : void 0, children: s }),
48
- o ? /* @__PURE__ */ a(
49
- b,
46
+ /* @__PURE__ */ d("div", { className: a("label-with-hint"), children: [
47
+ /* @__PURE__ */ t("div", { "data-testid": i ? `${i}-label` : void 0, children: s }),
48
+ o ? /* @__PURE__ */ t(
49
+ y,
50
50
  {
51
- className: r("hint"),
51
+ className: a("hint"),
52
52
  "data-testid": i ? `${i}-hint` : void 0,
53
53
  children: o
54
54
  }
@@ -57,7 +57,7 @@ const R = "_root_1r128_2", g = "_input_1r128_8", x = "_disabled_1r128_34", $ = "
57
57
  ] });
58
58
  }
59
59
  );
60
- y.displayName = "Radio";
60
+ j.displayName = "Radio";
61
61
  export {
62
- y as Radio
62
+ j as Radio
63
63
  };
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
- import { c as x, u as P } from "./4CMBR7SL-Dhp8uJop.js";
4
- import { c as $, u as b, b as y, d as G } from "./YV4JVR4I-CVFstk2K.js";
5
- import { w as L, x as d, y as m, z as c } from "./LVA2YJMS-NUHCRwFZ.js";
6
- import { FieldGroup as j } from "./FieldGroup.js";
7
- import { Radio as N } from "./Radio.js";
8
- import { c as k } from "./index-PAaZGbyz.js";
3
+ import { c as G, u as P } from "./B7UTNDHN-BlIblHCu.js";
4
+ import { c as $, b, d as x, u as L } from "./RTNCFSKZ-qpPg689E.js";
5
+ import { F as j, G as d, H as m, I as c } from "./OE2EFRVA-C3721cM3.js";
6
+ import { FieldGroup as y } from "./FieldGroup.js";
7
+ import { Radio as F } from "./Radio.js";
8
+ import { c as N } from "./index-CdiHdiVB.js";
9
9
  import "react";
10
- function w(t = {}) {
11
- var e = L(t, []), a;
12
- const r = (a = e.store) == null ? void 0 : a.getState(), s = x(d(c({}, e), {
10
+ function k(t = {}) {
11
+ var e = j(t, []), a;
12
+ const r = (a = e.store) == null ? void 0 : a.getState(), s = G(d(c({}, e), {
13
13
  focusLoop: m(e.focusLoop, r == null ? void 0 : r.focusLoop, !0)
14
14
  })), i = d(c({}, s.getState()), {
15
15
  value: m(
@@ -23,16 +23,16 @@ function w(t = {}) {
23
23
  setValue: (l) => u.setState("value", l)
24
24
  });
25
25
  }
26
- function z(t, e, a) {
27
- return t = P(t, e, a), y(t, a, "value", "setValue"), t;
26
+ function H(t, e, a) {
27
+ return t = P(t, e, a), x(t, a, "value", "setValue"), t;
28
28
  }
29
- function F(t = {}) {
30
- const [e, a] = b(w, t);
31
- return z(e, a, t);
29
+ function O(t = {}) {
30
+ const [e, a] = b(k, t);
31
+ return H(e, a, t);
32
32
  }
33
- const O = "_root_v6e2n_2", g = {
34
- root: O
35
- }, q = k(g), M = ({
33
+ const g = "_root_v6e2n_2", q = {
34
+ root: g
35
+ }, w = N(q), K = ({
36
36
  className: t,
37
37
  dataTestId: e,
38
38
  disabled: a,
@@ -42,15 +42,15 @@ const O = "_root_v6e2n_2", g = {
42
42
  name: u,
43
43
  onChange: l,
44
44
  options: p = [],
45
- renderOption: f = N,
45
+ renderOption: f = F,
46
46
  required: S,
47
47
  value: _,
48
48
  ...V
49
49
  }) => {
50
- const v = F({ defaultValue: _ }), R = G(v, "value"), h = (o) => {
50
+ const v = O({ defaultValue: _ }), R = L(v, "value"), h = (o) => {
51
51
  a || (v.setValue(o), l == null || l(o));
52
52
  };
53
- return /* @__PURE__ */ n(j, { "data-testid": e, hideLabel: r, label: i, required: S, children: /* @__PURE__ */ n("div", { className: q("root", t), children: p.map((o) => /* @__PURE__ */ n(
53
+ return /* @__PURE__ */ n(y, { "data-testid": e, hideLabel: r, label: i, required: S, children: /* @__PURE__ */ n("div", { className: w("root", t), children: p.map((o) => /* @__PURE__ */ n(
54
54
  f,
55
55
  {
56
56
  checked: o.value === R,
@@ -68,5 +68,5 @@ const O = "_root_v6e2n_2", g = {
68
68
  )) }) });
69
69
  };
70
70
  export {
71
- M as RadioGroup
71
+ K as RadioGroup
72
72
  };
package/dist/RadioTab.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsxs as _, jsx as a } from "react/jsx-runtime";
3
- import { R as u } from "./NLEBE274-B4zy25kL.js";
3
+ import { R as u } from "./SQZLCNLX-CHDXnZ16.js";
4
4
  import { forwardRef as d } from "react";
5
5
  import { Button as w } from "./Button.js";
6
- import { c as f } from "./index-PAaZGbyz.js";
6
+ import { c as f } from "./index-CdiHdiVB.js";
7
7
  const b = "_label_zrrw4_2", N = "_checked_zrrw4_7", h = "_input_zrrw4_16", z = "_content_zrrw4_26", R = {
8
8
  label: b,
9
9
  checked: N,