prometeo-design-system 2.8.1 → 2.8.3

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 (114) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +6 -6
  3. package/dist/{CardProfile-CHUivLbW.js → CardProfile-BB-IP1MR.js} +29 -29
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +5 -5
  6. package/dist/DatePicker.es.js +1557 -1497
  7. package/dist/DialogModal.es.js +1 -1
  8. package/dist/DrawerDesktop.es.js +10 -10
  9. package/dist/DrawerMobile.es.js +1 -1
  10. package/dist/DropZone.es.js +33 -33
  11. package/dist/FAButton.es.js +3 -3
  12. package/dist/Header.es.js +1 -1
  13. package/dist/HelperComponent-D_Cqdf1J.js +24 -0
  14. package/dist/Icons/Icons.d.ts +2 -2
  15. package/dist/Icons.es.js +1053 -2
  16. package/dist/Image.es.js +1 -1
  17. package/dist/{ImageGallery-TkgHO3JL.js → ImageGallery-CjaJ0UCN.js} +44 -44
  18. package/dist/ImageGallery.es.js +1 -1
  19. package/dist/{Input-CsNlU1Hu.js → Input-Bdo-Acix.js} +8 -15
  20. package/dist/Input.es.js +1 -1
  21. package/dist/InputMultiple.es.js +52 -52
  22. package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-B6E-yOYJ.js} +1 -1
  23. package/dist/LayoutGeneric.es.js +1 -1
  24. package/dist/Logo.es.js +4 -4
  25. package/dist/Menu.es.js +3 -3
  26. package/dist/OtpInput.es.js +69 -69
  27. package/dist/Pagination.es.js +2 -2
  28. package/dist/ProfilePictureUpload.es.js +1 -1
  29. package/dist/ProgressBar.es.js +1 -1
  30. package/dist/RadioButton.es.js +2 -2
  31. package/dist/SegmentedButton.es.js +1 -1
  32. package/dist/{Select-D7Cs1OlG.js → Select-D2APaG1z.js} +5 -5
  33. package/dist/Select.es.js +1 -1
  34. package/dist/SelectSearch.es.js +2 -2
  35. package/dist/Skeleton.es.js +1 -1
  36. package/dist/Spinner.es.js +1 -1
  37. package/dist/Steps.es.js +15 -15
  38. package/dist/SwipeContainer.es.js +1 -1
  39. package/dist/Switch.es.js +1 -1
  40. package/dist/TabLinks.es.js +3 -3
  41. package/dist/Table.es.js +3 -3
  42. package/dist/TextArea.es.js +1 -1
  43. package/dist/Toast.es.js +24 -24
  44. package/dist/ToastProvider.es.js +1 -1
  45. package/dist/Tooltip.es.js +8 -8
  46. package/dist/components/Spinner/SpinnerV2.d.ts +12 -0
  47. package/dist/components/Toaster/Toaster.d.ts +3 -3
  48. package/dist/exports/Icons.d.ts +1 -1
  49. package/dist/index.d.ts +0 -12
  50. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-ByW6EXIE.js} +96 -94
  51. package/dist/prometeo-design-system.css +1 -1
  52. package/dist/prometeo-design-system.es.js +113 -124
  53. package/package.json +272 -294
  54. package/dist/CheckboxFormik.d.ts +0 -6
  55. package/dist/CheckboxFormik.es.js +0 -88
  56. package/dist/HelperComponent-CcGxM09g.js +0 -24
  57. package/dist/Icons-ChYkaR8R.js +0 -899
  58. package/dist/InputFormik.d.ts +0 -6
  59. package/dist/InputFormik.es.js +0 -213
  60. package/dist/InputFormikV2.d.ts +0 -6
  61. package/dist/InputFormikV2.es.js +0 -41
  62. package/dist/RadioButtonFormik.d.ts +0 -2
  63. package/dist/RadioButtonFormik.es.js +0 -30
  64. package/dist/SelectFormik.d.ts +0 -6
  65. package/dist/SelectFormik.es.js +0 -62
  66. package/dist/SelectFormikLegacy.d.ts +0 -6
  67. package/dist/SelectFormikLegacy.es.js +0 -194
  68. package/dist/components/CheckboxFormik/CheckboxFormik.d.ts +0 -12
  69. package/dist/components/InputFormik/InputFormik.d.ts +0 -23
  70. package/dist/components/InputFormik/InputFormikV2.d.ts +0 -6
  71. package/dist/components/RadioButtonFormik/RadioButtonFormik.d.ts +0 -8
  72. package/dist/components/SelectFormik/SelectFormik.d.ts +0 -8
  73. package/dist/components/SelectFormik/SelectFormikLegacy.d.ts +0 -21
  74. package/dist/exports/CheckboxFormik.d.ts +0 -2
  75. package/dist/exports/InputFormik.d.ts +0 -2
  76. package/dist/exports/InputFormikV2.d.ts +0 -2
  77. package/dist/exports/RadioButtonFormik.d.ts +0 -1
  78. package/dist/exports/SelectFormik.d.ts +0 -2
  79. package/dist/exports/SelectFormikLegacy.d.ts +0 -2
  80. package/dist/pages/Autocomplete.page.d.ts +0 -2
  81. package/dist/pages/ButtonsPage.d.ts +0 -2
  82. package/dist/pages/DatePicker.d.ts +0 -2
  83. package/dist/pages/DialogPage.d.ts +0 -2
  84. package/dist/pages/DrawersPage.d.ts +0 -2
  85. package/dist/pages/ImagesPage.d.ts +0 -2
  86. package/dist/pages/OtpPage.d.ts +0 -2
  87. package/dist/pages/RecurrentDatePicker.page.d.ts +0 -2
  88. package/dist/pages/SelectsPage.d.ts +0 -2
  89. package/dist/pages/Skeletons.d.ts +0 -2
  90. package/dist/pages/ToastsPage.d.ts +0 -2
  91. package/dist/preview/AutocompletePreview.d.ts +0 -2
  92. package/dist/preview/ButtonPreview.d.ts +0 -2
  93. package/dist/preview/DialogModalPreview.d.ts +0 -2
  94. package/dist/preview/DrawerMobilePreview.d.ts +0 -2
  95. package/dist/preview/Dropzone.d.ts +0 -2
  96. package/dist/preview/FABPreview.d.ts +0 -2
  97. package/dist/preview/IconsPreview.d.ts +0 -2
  98. package/dist/preview/ImagePreview.d.ts +0 -2
  99. package/dist/preview/InputsPreviews.d.ts +0 -2
  100. package/dist/preview/Layout.d.ts +0 -2
  101. package/dist/preview/OTPPreview.d.ts +0 -2
  102. package/dist/preview/RadioButtonPreview.d.ts +0 -2
  103. package/dist/preview/RecurrentDatePickerPreview.d.ts +0 -2
  104. package/dist/preview/SegmentedButtonPreview.d.ts +0 -2
  105. package/dist/preview/SelectPreview/CustomFooterExample.d.ts +0 -2
  106. package/dist/preview/SelectPreview/SelectGroupedOptionsPreview.d.ts +0 -2
  107. package/dist/preview/SelectPreview/SelectPreview.d.ts +0 -2
  108. package/dist/preview/SidebarPreview.d.ts +0 -2
  109. package/dist/preview/StepsPreview.d.ts +0 -2
  110. package/dist/preview/SwitchPreview.d.ts +0 -2
  111. package/dist/preview/TabLinks.d.ts +0 -2
  112. package/dist/preview/TablePreview.d.ts +0 -2
  113. package/dist/preview/TextArea.d.ts +0 -2
  114. package/dist/preview/ToastsPreview.d.ts +0 -2
@@ -1,42 +1,42 @@
1
- import { j as p } from "./jsx-runtime-DKDX3adD.js";
2
- import { I as ge } from "./Icons-ChYkaR8R.js";
1
+ import { j as p } from "./jsx-runtime-ByW6EXIE.js";
2
+ import { Check as Re, Error as De } from "./Icons.es.js";
3
3
  import { c as $ } from "./cn-B6yFEsav.js";
4
4
  import * as n from "react";
5
- import xe, { memo as De } from "react";
6
- var Oe = Object.defineProperty, Te = Object.defineProperties, We = Object.getOwnPropertyDescriptors, ee = Object.getOwnPropertySymbols, we = Object.prototype.hasOwnProperty, ye = Object.prototype.propertyIsEnumerable, be = (t, a, r) => a in t ? Oe(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, Ae = (t, a) => {
7
- for (var r in a || (a = {})) we.call(a, r) && be(t, r, a[r]);
8
- if (ee) for (var r of ee(a)) ye.call(a, r) && be(t, r, a[r]);
5
+ import ge, { memo as Oe } from "react";
6
+ var Te = Object.defineProperty, We = Object.defineProperties, Ae = Object.getOwnPropertyDescriptors, ee = Object.getOwnPropertySymbols, be = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable, xe = (t, a, r) => a in t ? Te(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, Be = (t, a) => {
7
+ for (var r in a || (a = {})) be.call(a, r) && xe(t, r, a[r]);
8
+ if (ee) for (var r of ee(a)) we.call(a, r) && xe(t, r, a[r]);
9
9
  return t;
10
- }, Be = (t, a) => Te(t, We(a)), Ie = (t, a) => {
10
+ }, _e = (t, a) => We(t, Ae(a)), Ie = (t, a) => {
11
11
  var r = {};
12
- for (var u in t) we.call(t, u) && a.indexOf(u) < 0 && (r[u] = t[u]);
13
- if (t != null && ee) for (var u of ee(t)) a.indexOf(u) < 0 && ye.call(t, u) && (r[u] = t[u]);
12
+ for (var u in t) be.call(t, u) && a.indexOf(u) < 0 && (r[u] = t[u]);
13
+ if (t != null && ee) for (var u of ee(t)) a.indexOf(u) < 0 && we.call(t, u) && (r[u] = t[u]);
14
14
  return r;
15
15
  };
16
- function _e(t) {
16
+ function Fe(t) {
17
17
  let a = setTimeout(t, 0), r = setTimeout(t, 10), u = setTimeout(t, 50);
18
18
  return [a, r, u];
19
19
  }
20
- function Fe(t) {
20
+ function He(t) {
21
21
  let a = n.useRef();
22
22
  return n.useEffect(() => {
23
23
  a.current = t;
24
24
  }), a.current;
25
25
  }
26
- var He = 18, Se = 40, Le = `${Se}px`, $e = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
27
- function ze({ containerRef: t, inputRef: a, pushPasswordManagerStrategy: r, isFocused: u }) {
28
- let [M, d] = n.useState(!1), [D, k] = n.useState(!1), [O, B] = n.useState(!1), I = n.useMemo(() => r === "none" ? !1 : (r === "increase-width" || r === "experimental-no-flickering") && M && D, [M, D, r]), x = n.useCallback(() => {
26
+ var Le = 18, ye = 40, $e = `${ye}px`, ze = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
27
+ function Ge({ containerRef: t, inputRef: a, pushPasswordManagerStrategy: r, isFocused: u }) {
28
+ let [M, d] = n.useState(!1), [D, k] = n.useState(!1), [O, B] = n.useState(!1), _ = n.useMemo(() => r === "none" ? !1 : (r === "increase-width" || r === "experimental-no-flickering") && M && D, [M, D, r]), x = n.useCallback(() => {
29
29
  let f = t.current, v = a.current;
30
30
  if (!f || !v || O || r === "none") return;
31
- let m = f, b = m.getBoundingClientRect().left + m.offsetWidth, w = m.getBoundingClientRect().top + m.offsetHeight / 2, o = b - He, P = w;
32
- document.querySelectorAll($e).length === 0 && document.elementFromPoint(o, P) === f || (d(!0), B(!0));
31
+ let m = f, b = m.getBoundingClientRect().left + m.offsetWidth, w = m.getBoundingClientRect().top + m.offsetHeight / 2, o = b - Le, P = w;
32
+ document.querySelectorAll(ze).length === 0 && document.elementFromPoint(o, P) === f || (d(!0), B(!0));
33
33
  }, [t, a, O, r]);
34
34
  return n.useEffect(() => {
35
35
  let f = t.current;
36
36
  if (!f || r === "none") return;
37
37
  function v() {
38
38
  let b = window.innerWidth - f.getBoundingClientRect().right;
39
- k(b >= Se);
39
+ k(b >= ye);
40
40
  }
41
41
  v();
42
42
  let m = setInterval(v, 1e3);
@@ -52,13 +52,13 @@ function ze({ containerRef: t, inputRef: a, pushPasswordManagerStrategy: r, isFo
52
52
  return () => {
53
53
  clearTimeout(v), clearTimeout(m), clearTimeout(b), clearTimeout(w);
54
54
  };
55
- }, [a, u, r, x]), { hasPWMBadge: M, willPushPWMBadge: I, PWM_BADGE_SPACE_WIDTH: Le };
55
+ }, [a, u, r, x]), { hasPWMBadge: M, willPushPWMBadge: _, PWM_BADGE_SPACE_WIDTH: $e };
56
56
  }
57
- var Ge = n.createContext({}), Ee = n.forwardRef((t, a) => {
58
- var r = t, { value: u, onChange: M, maxLength: d, textAlign: D = "left", pattern: k, placeholder: O, inputMode: B = "numeric", onComplete: I, pushPasswordManagerStrategy: x = "increase-width", pasteTransformer: f, containerClassName: v, noScriptCSSFallback: m = Ve, render: b, children: w } = r, o = Ie(r, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), P, N, U, T, V;
59
- let [te, ne] = n.useState(typeof o.defaultValue == "string" ? o.defaultValue : ""), s = u ?? te, E = Fe(s), q = n.useCallback((e) => {
57
+ var Ve = n.createContext({}), Se = n.forwardRef((t, a) => {
58
+ var r = t, { value: u, onChange: M, maxLength: d, textAlign: D = "left", pattern: k, placeholder: O, inputMode: B = "numeric", onComplete: _, pushPasswordManagerStrategy: x = "increase-width", pasteTransformer: f, containerClassName: v, noScriptCSSFallback: m = qe, render: b, children: w } = r, o = Ie(r, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), P, N, U, T, V;
59
+ let [te, ne] = n.useState(typeof o.defaultValue == "string" ? o.defaultValue : ""), i = u ?? te, E = He(i), q = n.useCallback((e) => {
60
60
  M?.(e), ne(e);
61
- }, [M]), C = n.useMemo(() => k ? typeof k == "string" ? new RegExp(k) : k : null, [k]), c = n.useRef(null), le = n.useRef(null), ae = n.useRef({ value: s, onChange: q, isIOS: typeof window < "u" && ((N = (P = window?.CSS) == null ? void 0 : P.supports) == null ? void 0 : N.call(P, "-webkit-touch-callout", "none")) }), X = n.useRef({ prev: [(U = c.current) == null ? void 0 : U.selectionStart, (T = c.current) == null ? void 0 : T.selectionEnd, (V = c.current) == null ? void 0 : V.selectionDirection] });
61
+ }, [M]), C = n.useMemo(() => k ? typeof k == "string" ? new RegExp(k) : k : null, [k]), c = n.useRef(null), le = n.useRef(null), ae = n.useRef({ value: i, onChange: q, isIOS: typeof window < "u" && ((N = (P = window?.CSS) == null ? void 0 : P.supports) == null ? void 0 : N.call(P, "-webkit-touch-callout", "none")) }), X = n.useRef({ prev: [(U = c.current) == null ? void 0 : U.selectionStart, (T = c.current) == null ? void 0 : T.selectionEnd, (V = c.current) == null ? void 0 : V.selectionDirection] });
62
62
  n.useImperativeHandle(a, () => c.current, []), n.useEffect(() => {
63
63
  let e = c.current, l = le.current;
64
64
  if (!e || !l) return;
@@ -68,33 +68,33 @@ var Ge = n.createContext({}), Ee = n.forwardRef((t, a) => {
68
68
  J(null), K(null);
69
69
  return;
70
70
  }
71
- let i = e.selectionStart, g = e.selectionEnd, Y = e.selectionDirection, j = e.maxLength, F = e.value, R = X.current.prev, W = -1, A = -1, H;
72
- if (F.length !== 0 && i !== null && g !== null) {
73
- let ke = i === g, Ne = i === F.length && F.length < j;
74
- if (ke && !Ne) {
75
- let L = i;
71
+ let s = e.selectionStart, g = e.selectionEnd, Y = e.selectionDirection, j = e.maxLength, F = e.value, R = X.current.prev, W = -1, A = -1, H;
72
+ if (F.length !== 0 && s !== null && g !== null) {
73
+ let Me = s === g, ke = s === F.length && F.length < j;
74
+ if (Me && !ke) {
75
+ let L = s;
76
76
  if (L === 0) W = 0, A = 1, H = "forward";
77
77
  else if (L === j) W = L - 1, A = L, H = "backward";
78
78
  else if (j > 1 && F.length > 1) {
79
- let se = 0;
79
+ let ie = 0;
80
80
  if (R[0] !== null && R[1] !== null) {
81
81
  H = L < R[1] ? "backward" : "forward";
82
- let Re = R[0] === R[1] && R[0] < j;
83
- H === "backward" && !Re && (se = -1);
82
+ let Ne = R[0] === R[1] && R[0] < j;
83
+ H === "backward" && !Ne && (ie = -1);
84
84
  }
85
- W = se + L, A = se + L + 1;
85
+ W = ie + L, A = ie + L + 1;
86
86
  }
87
87
  }
88
88
  W !== -1 && A !== -1 && W !== A && c.current.setSelectionRange(W, A, H);
89
89
  }
90
- let he = W !== -1 ? W : i, ve = A !== -1 ? A : g, Me = H ?? Y;
91
- J(he), K(ve), X.current.prev = [he, ve, Me];
90
+ let he = W !== -1 ? W : s, ve = A !== -1 ? A : g, Ce = H ?? Y;
91
+ J(he), K(ve), X.current.prev = [he, ve, Ce];
92
92
  }
93
93
  if (document.addEventListener("selectionchange", h, { capture: !0 }), h(), document.activeElement === e && re(!0), !document.getElementById("input-otp-style")) {
94
- let i = document.createElement("style");
95
- if (i.id = "input-otp-style", document.head.appendChild(i), i.sheet) {
94
+ let s = document.createElement("style");
95
+ if (s.id = "input-otp-style", document.head.appendChild(s), s.sheet) {
96
96
  let g = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
97
- Q(i.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), Q(i.sheet, `[data-input-otp]:autofill { ${g} }`), Q(i.sheet, `[data-input-otp]:-webkit-autofill { ${g} }`), Q(i.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), Q(i.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
97
+ Q(s.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), Q(s.sheet, `[data-input-otp]:autofill { ${g} }`), Q(s.sheet, `[data-input-otp]:-webkit-autofill { ${g} }`), Q(s.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), Q(s.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
98
98
  }
99
99
  }
100
100
  let y = () => {
@@ -106,18 +106,18 @@ var Ge = n.createContext({}), Ee = n.forwardRef((t, a) => {
106
106
  document.removeEventListener("selectionchange", h, { capture: !0 }), S.disconnect();
107
107
  };
108
108
  }, []);
109
- let [ue, ce] = n.useState(!1), [Z, re] = n.useState(!1), [_, J] = n.useState(null), [z, K] = n.useState(null);
109
+ let [ue, ce] = n.useState(!1), [Z, re] = n.useState(!1), [I, J] = n.useState(null), [z, K] = n.useState(null);
110
110
  n.useEffect(() => {
111
- _e(() => {
111
+ Fe(() => {
112
112
  var e, l, h, y;
113
113
  (e = c.current) == null || e.dispatchEvent(new Event("input"));
114
- let S = (l = c.current) == null ? void 0 : l.selectionStart, i = (h = c.current) == null ? void 0 : h.selectionEnd, g = (y = c.current) == null ? void 0 : y.selectionDirection;
115
- S !== null && i !== null && (J(S), K(i), X.current.prev = [S, i, g]);
114
+ let S = (l = c.current) == null ? void 0 : l.selectionStart, s = (h = c.current) == null ? void 0 : h.selectionEnd, g = (y = c.current) == null ? void 0 : y.selectionDirection;
115
+ S !== null && s !== null && (J(S), K(s), X.current.prev = [S, s, g]);
116
116
  });
117
- }, [s, Z]), n.useEffect(() => {
118
- E !== void 0 && s !== E && E.length < d && s.length === d && I?.(s);
119
- }, [d, I, E, s]);
120
- let G = ze({ containerRef: le, inputRef: c, pushPasswordManagerStrategy: x, isFocused: Z }), de = n.useCallback((e) => {
117
+ }, [i, Z]), n.useEffect(() => {
118
+ E !== void 0 && i !== E && E.length < d && i.length === d && _?.(i);
119
+ }, [d, _, E, i]);
120
+ let G = Ge({ containerRef: le, inputRef: c, pushPasswordManagerStrategy: x, isFocused: Z }), de = n.useCallback((e) => {
121
121
  let l = e.currentTarget.value.slice(0, d);
122
122
  if (l.length > 0 && C && !C.test(l)) {
123
123
  e.preventDefault();
@@ -135,14 +135,14 @@ var Ge = n.createContext({}), Ee = n.forwardRef((t, a) => {
135
135
  var l, h;
136
136
  let y = c.current;
137
137
  if (!f && (!ae.current.isIOS || !e.clipboardData || !y)) return;
138
- let S = e.clipboardData.getData("text/plain"), i = f ? f(S) : S;
138
+ let S = e.clipboardData.getData("text/plain"), s = f ? f(S) : S;
139
139
  e.preventDefault();
140
- let g = (l = c.current) == null ? void 0 : l.selectionStart, Y = (h = c.current) == null ? void 0 : h.selectionEnd, j = (g !== Y ? s.slice(0, g) + i + s.slice(Y) : s.slice(0, g) + i + s.slice(g)).slice(0, d);
140
+ let g = (l = c.current) == null ? void 0 : l.selectionStart, Y = (h = c.current) == null ? void 0 : h.selectionEnd, j = (g !== Y ? i.slice(0, g) + s + i.slice(Y) : i.slice(0, g) + s + i.slice(g)).slice(0, d);
141
141
  if (j.length > 0 && C && !C.test(j)) return;
142
142
  y.value = j, q(j);
143
143
  let F = Math.min(j.length, d - 1), R = j.length;
144
144
  y.setSelectionRange(F, R), J(F), K(R);
145
- }, [d, q, C, s]), je = n.useMemo(() => ({ position: "relative", cursor: o.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [o.disabled]), me = n.useMemo(() => ({ position: "absolute", inset: 0, width: G.willPushPWMBadge ? `calc(100% + ${G.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: G.willPushPWMBadge ? `inset(0 ${G.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: D, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [G.PWM_BADGE_SPACE_WIDTH, G.willPushPWMBadge, D]), Pe = n.useMemo(() => n.createElement("input", Be(Ae({ autoComplete: o.autoComplete || "one-time-code" }, o), { "data-input-otp": !0, "data-input-otp-placeholder-shown": s.length === 0 || void 0, "data-input-otp-mss": _, "data-input-otp-mse": z, inputMode: B, pattern: C?.source, "aria-placeholder": O, style: me, maxLength: d, value: s, ref: c, onPaste: (e) => {
145
+ }, [d, q, C, i]), Ee = n.useMemo(() => ({ position: "relative", cursor: o.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [o.disabled]), me = n.useMemo(() => ({ position: "absolute", inset: 0, width: G.willPushPWMBadge ? `calc(100% + ${G.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: G.willPushPWMBadge ? `inset(0 ${G.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: D, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [G.PWM_BADGE_SPACE_WIDTH, G.willPushPWMBadge, D]), je = n.useMemo(() => n.createElement("input", _e(Be({ autoComplete: o.autoComplete || "one-time-code" }, o), { "data-input-otp": !0, "data-input-otp-placeholder-shown": i.length === 0 || void 0, "data-input-otp-mss": I, "data-input-otp-mse": z, inputMode: B, pattern: C?.source, "aria-placeholder": O, style: me, maxLength: d, value: i, ref: c, onPaste: (e) => {
146
146
  var l;
147
147
  pe(e), (l = o.onPaste) == null || l.call(o, e);
148
148
  }, onChange: de, onMouseOver: (e) => {
@@ -157,14 +157,14 @@ var Ge = n.createContext({}), Ee = n.forwardRef((t, a) => {
157
157
  }, onBlur: (e) => {
158
158
  var l;
159
159
  re(!1), (l = o.onBlur) == null || l.call(o, e);
160
- } })), [de, fe, pe, B, me, d, z, _, o, C?.source, s]), oe = n.useMemo(() => ({ slots: Array.from({ length: d }).map((e, l) => {
160
+ } })), [de, fe, pe, B, me, d, z, I, o, C?.source, i]), oe = n.useMemo(() => ({ slots: Array.from({ length: d }).map((e, l) => {
161
161
  var h;
162
- let y = Z && _ !== null && z !== null && (_ === z && l === _ || l >= _ && l < z), S = s[l] !== void 0 ? s[l] : null, i = s[0] !== void 0 ? null : (h = O?.[l]) != null ? h : null;
163
- return { char: S, placeholderChar: i, isActive: y, hasFakeCaret: y && S === null };
164
- }), isFocused: Z, isHovering: !o.disabled && ue }), [Z, ue, d, z, _, o.disabled, s]), Ce = n.useMemo(() => b ? b(oe) : n.createElement(Ge.Provider, { value: oe }, w), [w, oe, b]);
165
- return n.createElement(n.Fragment, null, m !== null && n.createElement("noscript", null, n.createElement("style", null, m)), n.createElement("div", { ref: le, "data-input-otp-container": !0, style: je, className: v }, Ce, n.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, Pe)));
162
+ let y = Z && I !== null && z !== null && (I === z && l === I || l >= I && l < z), S = i[l] !== void 0 ? i[l] : null, s = i[0] !== void 0 ? null : (h = O?.[l]) != null ? h : null;
163
+ return { char: S, placeholderChar: s, isActive: y, hasFakeCaret: y && S === null };
164
+ }), isFocused: Z, isHovering: !o.disabled && ue }), [Z, ue, d, z, I, o.disabled, i]), Pe = n.useMemo(() => b ? b(oe) : n.createElement(Ve.Provider, { value: oe }, w), [w, oe, b]);
165
+ return n.createElement(n.Fragment, null, m !== null && n.createElement("noscript", null, n.createElement("style", null, m)), n.createElement("div", { ref: le, "data-input-otp-container": !0, style: Ee, className: v }, Pe, n.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, je)));
166
166
  });
167
- Ee.displayName = "Input";
167
+ Se.displayName = "Input";
168
168
  function Q(t, a) {
169
169
  try {
170
170
  t.insertRule(a);
@@ -172,7 +172,7 @@ function Q(t, a) {
172
172
  console.error("input-otp could not insert CSS rule:", a);
173
173
  }
174
174
  }
175
- var Ve = `
175
+ var qe = `
176
176
  [data-input-otp] {
177
177
  --nojs-bg: white !important;
178
178
  --nojs-fg: black !important;
@@ -192,7 +192,7 @@ var Ve = `
192
192
  --nojs-fg: white !important;
193
193
  }
194
194
  }`;
195
- const qe = ({
195
+ const Ze = ({
196
196
  value: t = "",
197
197
  name: a,
198
198
  onChange: r,
@@ -203,7 +203,7 @@ const qe = ({
203
203
  disabled: k = !1,
204
204
  className: O,
205
205
  autoFocus: B = !1,
206
- pasteTransformer: I,
206
+ pasteTransformer: _,
207
207
  errorComponent: x,
208
208
  hasError: f,
209
209
  helperComponent: v,
@@ -219,17 +219,17 @@ const qe = ({
219
219
  },
220
220
  error: {
221
221
  text: "text-error-default-default",
222
- icon: /* @__PURE__ */ p.jsx(ge.Error, { size: 18, className: "text-error-default-default" })
222
+ icon: /* @__PURE__ */ p.jsx(De, { size: 18, className: "text-error-default-default" })
223
223
  },
224
224
  success: {
225
225
  text: "text-success-default-default",
226
- icon: /* @__PURE__ */ p.jsx(ge.Check, { size: 18, className: "text-success-default-default" })
226
+ icon: /* @__PURE__ */ p.jsx(Re, { size: 18, className: "text-success-default-default" })
227
227
  }
228
228
  }, U = (T) => {
229
229
  r?.(T, a);
230
230
  };
231
231
  return /* @__PURE__ */ p.jsx(
232
- Ee,
232
+ Se,
233
233
  {
234
234
  value: t,
235
235
  name: a,
@@ -239,21 +239,21 @@ const qe = ({
239
239
  onBlur: M,
240
240
  maxLength: d,
241
241
  disabled: k,
242
- pasteTransformer: I,
242
+ pasteTransformer: _,
243
243
  spellCheck: !1,
244
244
  containerClassName: $("group flex items-center has-[:disabled]:opacity-30 w-max justify-center", O),
245
245
  render: ({ slots: T }) => {
246
246
  const V = Math.floor(T.length / 2), te = T.slice(0, V), ne = T.slice(V);
247
247
  return /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col items-center", children: [
248
248
  /* @__PURE__ */ p.jsxs("div", { className: "flex items-center", children: [
249
- /* @__PURE__ */ p.jsx("div", { className: "flex", children: te.map((s, E) => /* @__PURE__ */ p.jsx(ie, { ...s, placeholder: D, hasError: f, className: b, variant: w }, E)) }),
249
+ /* @__PURE__ */ p.jsx("div", { className: "flex", children: te.map((i, E) => /* @__PURE__ */ p.jsx(se, { ...i, placeholder: D, hasError: f, className: b, variant: w }, E)) }),
250
250
  /* @__PURE__ */ p.jsx("hr", { className: $("w-2 h-1 mx-2 border-neutral-default-default", o && "hidden") }),
251
- /* @__PURE__ */ p.jsx("div", { className: "flex", children: ne.map((s, E) => /* @__PURE__ */ p.jsx(ie, { ...s, placeholder: D, hasError: f, variant: w, className: b }, E)) })
251
+ /* @__PURE__ */ p.jsx("div", { className: "flex", children: ne.map((i, E) => /* @__PURE__ */ p.jsx(se, { ...i, placeholder: D, hasError: f, variant: w, className: b }, E)) })
252
252
  ] }),
253
253
  f && x && (typeof x == "string" ? /* @__PURE__ */ p.jsxs("span", { className: $("text-error-default-default text-xs mt-1 flex items-center gap-1", P, N.error.text), children: [
254
254
  N.error.icon,
255
255
  x
256
- ] }) : xe.cloneElement(x, { className: $(
256
+ ] }) : ge.cloneElement(x, { className: $(
257
257
  "text-error-default-default text-xs mt-1",
258
258
  P,
259
259
  N.error.text,
@@ -262,14 +262,14 @@ const qe = ({
262
262
  v && m && (typeof v == "string" ? /* @__PURE__ */ p.jsxs("span", { className: $("text-neutral-medium-default text-xs mt-1 flex items-center gap-1", N[w].text, P), children: [
263
263
  N[w].icon,
264
264
  v
265
- ] }) : xe.cloneElement(v, { className: $("text-neutral-medium-default text-xs mt-1", P, N[w].text, v?.props?.className) }))
265
+ ] }) : ge.cloneElement(v, { className: $("text-neutral-medium-default text-xs mt-1", P, N[w].text, v?.props?.className) }))
266
266
  ] });
267
267
  }
268
268
  }
269
269
  );
270
270
  };
271
- qe.displayName = "OtpInput";
272
- const Ze = (t) => {
271
+ Ze.displayName = "OtpInput";
272
+ const Je = (t) => {
273
273
  const a = {
274
274
  default: "border-neutral-default-default",
275
275
  error: "border-error-default-default",
@@ -294,8 +294,8 @@ const Ze = (t) => {
294
294
  ]
295
295
  }
296
296
  );
297
- }, ie = De(Ze);
298
- ie.displayName = "Slot";
297
+ }, se = Oe(Je);
298
+ se.displayName = "Slot";
299
299
  export {
300
- qe as default
300
+ Ze as default
301
301
  };
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { motion as a } from "framer-motion";
3
3
  function h({
4
4
  currentPage: i = 1,
@@ -64,7 +64,7 @@ function h({
64
64
  a.div,
65
65
  {
66
66
  layoutId: "activePage",
67
- className: "absolute inset-0 border-1 border-primary-default-default rounded-md",
67
+ className: "absolute inset-0 border border-primary-default-default rounded-md",
68
68
  initial: !1,
69
69
  transition: {
70
70
  type: "spring",
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as n } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { motion as s } from "framer-motion";
3
3
  import { memo as T, useRef as b, useLayoutEffect as A } from "react";
4
4
  import M from "./Avatar.es.js";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as j } from "./cn-B6yFEsav.js";
3
3
  import T from "react";
4
4
  const M = T.forwardRef(
@@ -1,7 +1,7 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as t } from "./cn-B6yFEsav.js";
3
3
  import { memo as x, forwardRef as k, useRef as g, useEffect as y } from "react";
4
- import { H as j } from "./HelperComponent-CcGxM09g.js";
4
+ import { H as j } from "./HelperComponent-D_Cqdf1J.js";
5
5
  const s = k((n, a) => {
6
6
  const r = g(null);
7
7
  y(() => {
@@ -1,4 +1,4 @@
1
- import { j as u } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as u } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as s } from "./cn-B6yFEsav.js";
3
3
  import z, { useState as M, useMemo as C, useEffect as L } from "react";
4
4
  import { motion as E } from "framer-motion";
@@ -1,12 +1,12 @@
1
- import { j as s } from "./jsx-runtime-DKDX3adD.js";
2
- import { I as Qe, b as Xe, c as Ue, S as Ye } from "./Icons-ChYkaR8R.js";
1
+ import { j as s } from "./jsx-runtime-ByW6EXIE.js";
2
+ import { Close as Qe, Cancel as Xe, ChevronDown as Ue, Search as Ye } from "./Icons.es.js";
3
3
  import { c as f } from "./cn-B6yFEsav.js";
4
4
  import Ne, { memo as Z, useState as De, useRef as ce, useMemo as oe, useCallback as U, useEffect as ve, useImperativeHandle as Ze } from "react";
5
5
  import et from "./Spinner.es.js";
6
6
  import { createPortal as tt } from "react-dom";
7
7
  import { u as nt } from "./useDragScroll-CHN9OMwn.js";
8
- import { u as rt, I as lt } from "./Input-CsNlU1Hu.js";
9
- import { H as ot } from "./HelperComponent-CcGxM09g.js";
8
+ import { u as rt, I as lt } from "./Input-Bdo-Acix.js";
9
+ import { H as ot } from "./HelperComponent-D_Cqdf1J.js";
10
10
  import st from "./CheckBox.es.js";
11
11
  import { Skeleton as Ke } from "./Skeleton.es.js";
12
12
  const at = {
@@ -49,7 +49,7 @@ const at = {
49
49
  ),
50
50
  type: "button",
51
51
  tabIndex: h,
52
- children: /* @__PURE__ */ s.jsx(Qe.Close, { size: 18, className: f(u && Fe.icon) })
52
+ children: /* @__PURE__ */ s.jsx(Qe, { size: 18, className: f(u && Fe.icon) })
53
53
  }
54
54
  )
55
55
  ]
package/dist/Select.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as f } from "./Select-D7Cs1OlG.js";
1
+ import { S as f } from "./Select-D2APaG1z.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
- import { j as G } from "./jsx-runtime-DKDX3adD.js";
2
- import { g as i, S as H } from "./Select-D7Cs1OlG.js";
1
+ import { j as G } from "./jsx-runtime-ByW6EXIE.js";
2
+ import { g as i, S as H } from "./Select-D2APaG1z.js";
3
3
  import { useState as T, useRef as I, useEffect as h, useMemo as Q, useCallback as X } from "react";
4
4
  function te(e) {
5
5
  const {
@@ -1,4 +1,4 @@
1
- import { j as E } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as E } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as B } from "./cn-B6yFEsav.js";
3
3
  import { memo as N, useRef as R, useCallback as D, useLayoutEffect as M } from "react";
4
4
  const y = (n) => {
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
3
3
  import { c as L } from "./cn-B6yFEsav.js";
4
4
  const y = ({
package/dist/Steps.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as j } from "./cn-B6yFEsav.js";
1
+ import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
+ import { Check as j } from "./Icons.es.js";
3
+ import { c as y } from "./cn-B6yFEsav.js";
3
4
  import { motion as r } from "framer-motion";
4
5
  import N from "react";
5
- import { I as y } from "./Icons-ChYkaR8R.js";
6
6
  const b = ({
7
7
  index: n,
8
8
  isHorizontal: t,
@@ -80,7 +80,7 @@ const b = ({
80
80
  }
81
81
  )
82
82
  ] });
83
- }, k = ({
83
+ }, S = ({
84
84
  steps: n,
85
85
  currentStep: t,
86
86
  orientation: u = "horizontal",
@@ -115,7 +115,7 @@ const b = ({
115
115
  connectorContainer: "px-2",
116
116
  iconSize: 28
117
117
  }
118
- }, w = (a) => a < t ? "completed" : a === t ? "current" : "upcoming", h = (a) => {
118
+ }, w = (a) => a < t ? "completed" : a === t ? "current" : "upcoming", g = (a) => {
119
119
  const l = `${m[i].circle} rounded-full flex items-center justify-center font-medium`;
120
120
  switch (a) {
121
121
  case "completed":
@@ -125,7 +125,7 @@ const b = ({
125
125
  default:
126
126
  return `${l} bg-neutral-medium-default text-neutral-medium-default`;
127
127
  }
128
- }, g = (a) => {
128
+ }, h = (a) => {
129
129
  p && o && o(a);
130
130
  }, v = c ? `flex items-center w-full justify-center ${x}` : `space-y-0 ${x}`;
131
131
  return /* @__PURE__ */ e.jsx("div", { className: v, children: n.map((a, l) => {
@@ -135,16 +135,16 @@ const b = ({
135
135
  /* @__PURE__ */ e.jsx(
136
136
  r.div,
137
137
  {
138
- className: `${h(d)} ${f ? "cursor-pointer" : ""} relative z-10`,
138
+ className: `${g(d)} ${f ? "cursor-pointer" : ""} relative z-10`,
139
139
  initial: { scale: 0.8, opacity: 0 },
140
140
  animate: { scale: 1, opacity: 1 },
141
141
  transition: { duration: 0.3, delay: l * 0.3 },
142
142
  whileTap: f ? { scale: 0.95 } : {},
143
- onClick: () => g(l),
144
- children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(y.Check, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : N.cloneElement(a.icon, { size: m[i].iconSize })
143
+ onClick: () => h(l),
144
+ children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(j, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : N.cloneElement(a.icon, { size: m[i].iconSize })
145
145
  }
146
146
  ),
147
- s !== "minimal" && s !== "numbered-minimal" && a.description && /* @__PURE__ */ e.jsx("p", { className: j(
147
+ s !== "minimal" && s !== "numbered-minimal" && a.description && /* @__PURE__ */ e.jsx("p", { className: y(
148
148
  "absolute text-center w-28 -bottom-2 translate-y-full",
149
149
  m[i].description,
150
150
  "text-gray-400 mt-2 text-center",
@@ -171,13 +171,13 @@ const b = ({
171
171
  /* @__PURE__ */ e.jsx(
172
172
  r.div,
173
173
  {
174
- className: `${h(d)} ${f ? "cursor-pointer" : ""}`,
174
+ className: `${g(d)} ${f ? "cursor-pointer" : ""}`,
175
175
  initial: { scale: 0.8, opacity: 0 },
176
176
  animate: { scale: 1, opacity: 1 },
177
177
  transition: { duration: 0.3, delay: l * 0.1 },
178
178
  whileTap: f ? { scale: 0.95 } : {},
179
- onClick: () => g(l),
180
- children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(y.Check, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : a.icon
179
+ onClick: () => h(l),
180
+ children: s === "numbered" || s === "numbered-minimal" || !a.icon ? d === "completed" ? /* @__PURE__ */ e.jsx(r.div, { initial: { scale: 0 }, animate: { scale: 1 }, transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(j, { size: 24, className: "text-neutral-strong-default" }) }) : /* @__PURE__ */ e.jsx("span", { children: l + 1 }) : a.icon
181
181
  }
182
182
  ),
183
183
  s !== "minimal" && s !== "numbered-minimal" && /* @__PURE__ */ e.jsx(
@@ -187,7 +187,7 @@ const b = ({
187
187
  initial: { opacity: 0, x: -10 },
188
188
  animate: { opacity: 1, x: 0 },
189
189
  transition: { duration: 0.3, delay: l * 0.1 + 0.1 },
190
- children: a.description && /* @__PURE__ */ e.jsx("p", { className: j(
190
+ children: a.description && /* @__PURE__ */ e.jsx("p", { className: y(
191
191
  "h-full text-start flex items-center justify-start ",
192
192
  m[i].description,
193
193
  "text-gray-400",
@@ -209,5 +209,5 @@ const b = ({
209
209
  }) });
210
210
  };
211
211
  export {
212
- k as Steps
212
+ S as Steps
213
213
  };
@@ -1,4 +1,4 @@
1
- import { j as o } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import { useState as d, useRef as D, useEffect as L } from "react";
4
4
  const O = ({
package/dist/Switch.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as a } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as a } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as r } from "./cn-B6yFEsav.js";
3
3
  import { memo as w, useRef as b } from "react";
4
4
  import { motion as c } from "framer-motion";
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as n } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { motion as x } from "framer-motion";
3
3
  import { memo as N } from "react";
4
4
  import { c as r } from "./cn-B6yFEsav.js";
@@ -20,7 +20,7 @@ function o({
20
20
  "div",
21
21
  {
22
22
  className: r(
23
- "flex flex-row justify-around items-end relative border-b-1 border-neutral-strong-default w-full md:justify-start md:px-10 md:gap-5",
23
+ "flex flex-row justify-around items-end relative border-b border-neutral-strong-default w-full md:justify-start md:px-10 md:gap-5",
24
24
  l
25
25
  ),
26
26
  role: "tablist",
@@ -49,7 +49,7 @@ function o({
49
49
  {
50
50
  layoutId: "tab-indicator",
51
51
  className: r(
52
- "absolute -bottom-[1px] left-0 right-0 h-[5px] rounded-t-xl bg-primary-default-default z-0",
52
+ "absolute -bottom-px left-0 right-0 h-[5px] rounded-t-xl bg-primary-default-default z-0",
53
53
  f
54
54
  ),
55
55
  transition: {
package/dist/Table.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as l } from "./cn-B6yFEsav.js";
3
3
  import * as o from "react";
4
4
  const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
@@ -6,7 +6,7 @@ const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div
6
6
  {
7
7
  ref: a,
8
8
  className: l(
9
- "w-full caption-bottom text-sm border-b-1 rounded-lg border-neutral-default-default",
9
+ "w-full caption-bottom text-sm border-b rounded-lg border-neutral-default-default",
10
10
  e
11
11
  ),
12
12
  ...t
@@ -36,7 +36,7 @@ const b = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx(
36
36
  {
37
37
  ref: a,
38
38
  className: l(
39
- "border-t bg-muted/50 font-medium [&>tr]:last:!border-b-0",
39
+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0!",
40
40
  e
41
41
  ),
42
42
  ...t
@@ -1,4 +1,4 @@
1
- import { j as k } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as k } from "./jsx-runtime-ByW6EXIE.js";
2
2
  import { c as A } from "./cn-B6yFEsav.js";
3
3
  import * as a from "react";
4
4
  import { forwardRef as E } from "react";