levannta-ui 1.0.52-react18 → 1.0.53-react18

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.
@@ -6,5 +6,6 @@ export interface ToggleButtonProps extends React.HTMLAttributes<HTMLDivElement>
6
6
  onClick: () => void;
7
7
  }[];
8
8
  size?: "xs" | "sm" | "md";
9
+ activeIndex: number;
9
10
  }
10
11
  export declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLDivElement>>;
package/dist/index.esm.js CHANGED
@@ -14,11 +14,11 @@ function kr() {
14
14
  if (Ve) return ae;
15
15
  Ve = 1;
16
16
  var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function v(f, o, h) {
18
- var u, g = {}, d = null, b = null;
19
- h !== void 0 && (d = "" + h), o.key !== void 0 && (d = "" + o.key), o.ref !== void 0 && (b = o.ref);
20
- for (u in o) i.call(o, u) && !m.hasOwnProperty(u) && (g[u] = o[u]);
21
- if (f && f.defaultProps) for (u in o = f.defaultProps, o) g[u] === void 0 && (g[u] = o[u]);
17
+ function v(f, u, h) {
18
+ var o, g = {}, d = null, b = null;
19
+ h !== void 0 && (d = "" + h), u.key !== void 0 && (d = "" + u.key), u.ref !== void 0 && (b = u.ref);
20
+ for (o in u) i.call(u, o) && !m.hasOwnProperty(o) && (g[o] = u[o]);
21
+ if (f && f.defaultProps) for (o in u = f.defaultProps, u) g[o] === void 0 && (g[o] = u[o]);
22
22
  return { $$typeof: s, type: f, key: d, ref: b, props: g, _owner: l.current };
23
23
  }
24
24
  return ae.Fragment = n, ae.jsx = v, ae.jsxs = v, ae;
@@ -36,7 +36,7 @@ var se = {};
36
36
  var Be;
37
37
  function Er() {
38
38
  return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
39
- var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, j = "@@iterator";
39
+ var t = ie, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, j = "@@iterator";
40
40
  function p(e) {
41
41
  if (e === null || typeof e != "object")
42
42
  return null;
@@ -64,7 +64,7 @@ function Er() {
64
64
  var B = !1, H = !1, W = !1, I = !1, ee = !1, K;
65
65
  K = Symbol.for("react.module.reference");
66
66
  function re(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === m || ee || e === l || e === h || e === u || I || e === b || B || H || W || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === g || e.$$typeof === v || e.$$typeof === f || e.$$typeof === o || // This needs to include all possible module reference object
67
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === m || ee || e === l || e === h || e === o || I || e === b || B || H || W || typeof e == "object" && e !== null && (e.$$typeof === d || e.$$typeof === g || e.$$typeof === v || e.$$typeof === f || e.$$typeof === u || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
@@ -98,7 +98,7 @@ function Er() {
98
98
  return "StrictMode";
99
99
  case h:
100
100
  return "Suspense";
101
- case u:
101
+ case o:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof e == "object")
@@ -109,7 +109,7 @@ function Er() {
109
109
  case v:
110
110
  var c = e;
111
111
  return M(c._context) + ".Provider";
112
- case o:
112
+ case u:
113
113
  return te(e, e.render, "ForwardRef");
114
114
  case g:
115
115
  var x = e.displayName || null;
@@ -294,12 +294,12 @@ function Er() {
294
294
  switch (e) {
295
295
  case h:
296
296
  return oe("Suspense");
297
- case u:
297
+ case o:
298
298
  return oe("SuspenseList");
299
299
  }
300
300
  if (typeof e == "object")
301
301
  switch (e.$$typeof) {
302
- case o:
302
+ case u:
303
303
  return Qe(e.render);
304
304
  case g:
305
305
  return ue(e.type, a, c);
@@ -539,7 +539,7 @@ Check the top-level render call using <` + c + ">.");
539
539
  var c;
540
540
  if (typeof a == "function")
541
541
  c = a.propTypes;
542
- else if (typeof a == "object" && (a.$$typeof === o || // Note: Memo only checks outer props here.
542
+ else if (typeof a == "object" && (a.$$typeof === u || // Note: Memo only checks outer props here.
543
543
  // Inner props are checked in the reconciler.
544
544
  a.$$typeof === g))
545
545
  c = a.propTypes;
@@ -642,15 +642,15 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
642
642
  var i;
643
643
  if ((s == null ? void 0 : s.variants) == null) return Pe(t, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
644
644
  const { variants: l, defaultVariants: m } = s, v = Object.keys(l).map((h) => {
645
- const u = n == null ? void 0 : n[h], g = m == null ? void 0 : m[h];
646
- if (u === null) return null;
647
- const d = We(u) || We(g);
645
+ const o = n == null ? void 0 : n[h], g = m == null ? void 0 : m[h];
646
+ if (o === null) return null;
647
+ const d = We(o) || We(g);
648
648
  return l[h][d];
649
- }), f = n && Object.entries(n).reduce((h, u) => {
650
- let [g, d] = u;
649
+ }), f = n && Object.entries(n).reduce((h, o) => {
650
+ let [g, d] = o;
651
651
  return d === void 0 || (h[g] = d), h;
652
- }, {}), o = s == null || (i = s.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((h, u) => {
653
- let { class: g, className: d, ...b } = u;
652
+ }, {}), u = s == null || (i = s.compoundVariants) === null || i === void 0 ? void 0 : i.reduce((h, o) => {
653
+ let { class: g, className: d, ...b } = o;
654
654
  return Object.entries(b).every((k) => {
655
655
  let [j, p] = k;
656
656
  return Array.isArray(p) ? p.includes({
@@ -666,7 +666,7 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
666
666
  d
667
667
  ] : h;
668
668
  }, []);
669
- return Pe(t, v, o, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
669
+ return Pe(t, v, u, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
670
670
  }, Sr = G("button", {
671
671
  variants: {
672
672
  variant: {
@@ -738,9 +738,9 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
738
738
  active: m,
739
739
  iconLeft: v,
740
740
  iconRight: f,
741
- iconLeftJustified: o,
741
+ iconLeftJustified: u,
742
742
  iconRightJustified: h,
743
- iconOnly: u,
743
+ iconOnly: o,
744
744
  width: g,
745
745
  children: d,
746
746
  style: b,
@@ -761,9 +761,9 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
761
761
  active: m,
762
762
  iconLeft: !!v,
763
763
  iconRight: !!f,
764
- iconLeftJustified: !!o,
764
+ iconLeftJustified: !!u,
765
765
  iconRightJustified: !!h,
766
- iconOnly: !!u,
766
+ iconOnly: !!o,
767
767
  className: t
768
768
  }),
769
769
  style: p,
@@ -771,8 +771,8 @@ const We = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pe = Rr, G
771
771
  ...k,
772
772
  children: [
773
773
  v && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: v }),
774
- o && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: o }),
775
- u ? /* @__PURE__ */ r.jsx("span", { children: u }) : d,
774
+ u && /* @__PURE__ */ r.jsx("span", { className: "button-icon-left", children: u }),
775
+ o ? /* @__PURE__ */ r.jsx("span", { children: o }) : d,
776
776
  f && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: f }),
777
777
  h && /* @__PURE__ */ r.jsx("span", { className: "button-icon-right", children: h })
778
778
  ]
@@ -808,21 +808,21 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
808
808
  active: m,
809
809
  activePath: v,
810
810
  isOpen: f,
811
- onToggle: o,
811
+ onToggle: u,
812
812
  onExpand: h,
813
- onSetActive: u,
813
+ onSetActive: o,
814
814
  isMobile: g = !1
815
815
  }) => {
816
816
  const d = i && i.length > 0, b = d && i.some((p) => p.url === v), k = m || f && d || b || s === v, j = (p) => {
817
817
  if (p.preventDefault(), g && d) {
818
- o();
818
+ u();
819
819
  return;
820
820
  }
821
- if (u && u(s), l && h) {
821
+ if (o && o(s), l && h) {
822
822
  h();
823
823
  return;
824
824
  }
825
- d && !l && o();
825
+ d && !l && u();
826
826
  };
827
827
  return /* @__PURE__ */ r.jsx("div", { className: `sidebar-item ${f ? "open" : ""} `, children: /* @__PURE__ */ r.jsxs("div", { className: `sidebar-item-wrapper ${k && !l ? "active" : ""}`, children: [
828
828
  /* @__PURE__ */ r.jsxs(
@@ -849,7 +849,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
849
849
  to: p.url,
850
850
  href: p.url,
851
851
  className: `submenu-item ${_ ? "active-text" : ""}`,
852
- onClick: () => u && u(p.url),
852
+ onClick: () => o && o(p.url),
853
853
  children: /* @__PURE__ */ r.jsx("span", { className: "submenu-label", children: p.label })
854
854
  },
855
855
  S
@@ -919,12 +919,12 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
919
919
  logoutLabel: m = "Cerrar sesión",
920
920
  collapsed: v = !1,
921
921
  onToggle: f,
922
- activePath: o,
922
+ activePath: u,
923
923
  onActiveChange: h,
924
- className: u,
924
+ className: o,
925
925
  ...g
926
926
  }, d) => {
927
- const [b, k] = U(v), [j, p] = U(null), [S, _] = U(o), [E, B] = U(!1), [H, W] = U(!1), [I, ee] = U(!1);
927
+ const [b, k] = U(v), [j, p] = U(null), [S, _] = U(u), [E, B] = U(!1), [H, W] = U(!1), [I, ee] = U(!1);
928
928
  Q(() => {
929
929
  const y = () => {
930
930
  ee(window.innerWidth <= 768);
@@ -934,17 +934,17 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
934
934
  };
935
935
  }, []), ie.useEffect(() => {
936
936
  var y;
937
- if (o) {
938
- _(o);
937
+ if (u) {
938
+ _(u);
939
939
  const T = n.findIndex(
940
940
  (A) => {
941
941
  var V;
942
- return A.url === o || ((V = A.submenu) == null ? void 0 : V.some((Y) => Y.url === o));
942
+ return A.url === u || ((V = A.submenu) == null ? void 0 : V.some((Y) => Y.url === u));
943
943
  }
944
944
  );
945
945
  T !== -1 && ((y = n[T].submenu) != null && y.length ? p(T) : p(null));
946
946
  }
947
- }, [o, n]);
947
+ }, [u, n]);
948
948
  const K = () => {
949
949
  k(!b), f && f();
950
950
  }, re = () => {
@@ -1021,7 +1021,7 @@ const Tr = ({ className: t }) => /* @__PURE__ */ r.jsx("svg", { width: "24", hei
1021
1021
  /* @__PURE__ */ r.jsxs(
1022
1022
  "div",
1023
1023
  {
1024
- className: `sidebar-wrapper ${E ? "mobile-open" : ""} ${H ? "mobile-closing" : ""} ${u || ""}`,
1024
+ className: `sidebar-wrapper ${E ? "mobile-open" : ""} ${H ? "mobile-closing" : ""} ${o || ""}`,
1025
1025
  ref: d,
1026
1026
  ...g,
1027
1027
  children: [
@@ -1086,10 +1086,10 @@ const Mr = O(({
1086
1086
  size: m = "medium",
1087
1087
  enableSwipeToClose: v = !0,
1088
1088
  className: f,
1089
- ...o
1089
+ ...u
1090
1090
  }, h) => {
1091
- const [u, g] = U(!1), d = q(null), b = q(0), k = q(0), j = 50, p = () => {
1092
- !u && t && (g(!0), setTimeout(() => {
1091
+ const [o, g] = U(!1), d = q(null), b = q(0), k = q(0), j = 50, p = () => {
1092
+ !o && t && (g(!0), setTimeout(() => {
1093
1093
  g(!1), s();
1094
1094
  }, 500));
1095
1095
  }, S = (E) => {
@@ -1101,13 +1101,13 @@ const Mr = O(({
1101
1101
  };
1102
1102
  return Q(() => {
1103
1103
  t && g(!1);
1104
- }, [t]), Q(() => (t && !u ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1104
+ }, [t]), Q(() => (t && !o ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
1105
1105
  document.body.style.overflow = "";
1106
- }), [t, u]), !t && !u ? null : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1106
+ }), [t, o]), !t && !o ? null : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
1107
1107
  /* @__PURE__ */ r.jsx(
1108
1108
  "div",
1109
1109
  {
1110
- className: `drawer-overlay ${u ? "fade-out" : "fade-in"}`,
1110
+ className: `drawer-overlay ${o ? "fade-out" : "fade-in"}`,
1111
1111
  onClick: p
1112
1112
  }
1113
1113
  ),
@@ -1117,10 +1117,10 @@ const Mr = O(({
1117
1117
  ref: (E) => {
1118
1118
  d.current = E, typeof h == "function" ? h(E) : h && (h.current = E);
1119
1119
  },
1120
- className: `drawer drawer-${l} drawer-${m} ${u ? "drawer-closing" : "drawer-open"} ${f || ""}`,
1120
+ className: `drawer drawer-${l} drawer-${m} ${o ? "drawer-closing" : "drawer-open"} ${f || ""}`,
1121
1121
  onTouchStart: S,
1122
1122
  onTouchEnd: _,
1123
- ...o,
1123
+ ...u,
1124
1124
  children: [
1125
1125
  /* @__PURE__ */ r.jsxs("div", { className: `drawer-header ${n ? "has-title" : "no-title"}`, children: [
1126
1126
  n && /* @__PURE__ */ r.jsx("h2", { className: "drawer-title", children: n }),
@@ -1161,19 +1161,19 @@ const zr = G("modal-container", {
1161
1161
  className: m,
1162
1162
  ...v
1163
1163
  }, f) => {
1164
- const o = q(null);
1164
+ const u = q(null);
1165
1165
  Q(() => {
1166
- const u = (g) => {
1166
+ const o = (g) => {
1167
1167
  g.key === "Escape" && i();
1168
1168
  };
1169
- return n && document.addEventListener("keydown", u), () => {
1170
- document.removeEventListener("keydown", u);
1169
+ return n && document.addEventListener("keydown", o), () => {
1170
+ document.removeEventListener("keydown", o);
1171
1171
  };
1172
1172
  }, [n, i]);
1173
- const h = (u) => {
1174
- o.current && u.target === o.current && i();
1173
+ const h = (o) => {
1174
+ u.current && o.target === u.current && i();
1175
1175
  };
1176
- return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: o, onClick: h, children: /* @__PURE__ */ r.jsxs(
1176
+ return n ? /* @__PURE__ */ r.jsx("div", { className: "modal-backdrop", ref: u, onClick: h, children: /* @__PURE__ */ r.jsxs(
1177
1177
  "div",
1178
1178
  {
1179
1179
  className: `${zr({ size: l })} ${m || ""}`,
@@ -1290,10 +1290,10 @@ const Vr = G("tab-base", {
1290
1290
  children: m,
1291
1291
  icon: v,
1292
1292
  active: f = !1,
1293
- disabled: o = !1,
1293
+ disabled: u = !1,
1294
1294
  ...h
1295
- }, u) => {
1296
- const g = o ? "disabled" : f ? "active" : n || "default", d = v ? l || "left" : "none";
1295
+ }, o) => {
1296
+ const g = u ? "disabled" : f ? "active" : n || "default", d = v ? l || "left" : "none";
1297
1297
  return /* @__PURE__ */ r.jsxs(
1298
1298
  "button",
1299
1299
  {
@@ -1304,8 +1304,8 @@ const Vr = G("tab-base", {
1304
1304
  iconAlignment: d,
1305
1305
  className: t
1306
1306
  }),
1307
- ref: u,
1308
- disabled: o,
1307
+ ref: o,
1308
+ disabled: u,
1309
1309
  ...h,
1310
1310
  children: [
1311
1311
  v && d === "left" && /* @__PURE__ */ r.jsx("span", { className: "tab-icon", children: v }),
@@ -1325,9 +1325,9 @@ const Wr = O(({
1325
1325
  variant: m = "default",
1326
1326
  size: v = "md",
1327
1327
  outline: f = !1,
1328
- ...o
1328
+ ...u
1329
1329
  }, h) => {
1330
- const [u, g] = U(s), d = n !== void 0 ? n : u, b = (j) => {
1330
+ const [o, g] = U(s), d = n !== void 0 ? n : o, b = (j) => {
1331
1331
  n === void 0 && g(j), i == null || i(j);
1332
1332
  }, k = [
1333
1333
  "tab-group",
@@ -1340,7 +1340,7 @@ const Wr = O(({
1340
1340
  className: k,
1341
1341
  role: "tablist",
1342
1342
  ref: h,
1343
- ...o,
1343
+ ...u,
1344
1344
  children: Nr.map(t, (j, p) => Cr(j) ? _r(j, {
1345
1345
  ...j.props,
1346
1346
  active: p === d,
@@ -1360,24 +1360,24 @@ const Wr = O(({
1360
1360
  );
1361
1361
  });
1362
1362
  Wr.displayName = "TabGroup";
1363
- const Pr = O(({ buttonsData: t, size: s = "sm", className: n, ...i }, l) => {
1364
- const [m, v] = U(0), f = (o, h) => {
1365
- o.onClick(), v(h);
1363
+ const Pr = O(({ buttonsData: t, size: s = "sm", className: n, activeIndex: i, ...l }, m) => {
1364
+ const [v, f] = U(i), u = (h, o) => {
1365
+ h.onClick(), f(o);
1366
1366
  };
1367
1367
  return /* @__PURE__ */ r.jsx(
1368
1368
  "div",
1369
1369
  {
1370
1370
  className: `toggle-button-container ${n || ""}`,
1371
- ref: l,
1372
- ...i,
1373
- children: t.map((o, h) => /* @__PURE__ */ r.jsx(
1371
+ ref: m,
1372
+ ...l,
1373
+ children: t.map((h, o) => /* @__PURE__ */ r.jsx(
1374
1374
  "div",
1375
1375
  {
1376
- className: `toggle-button-inner ${m === h ? "active" : ""} ${s}`,
1377
- onClick: () => f(o, h),
1378
- children: /* @__PURE__ */ r.jsx("span", { children: o.label })
1376
+ className: `toggle-button-inner ${v === o ? "active" : ""} ${s}`,
1377
+ onClick: () => u(h, o),
1378
+ children: /* @__PURE__ */ r.jsx("span", { children: h.label })
1379
1379
  },
1380
- h
1380
+ o
1381
1381
  ))
1382
1382
  }
1383
1383
  );
@@ -1604,11 +1604,11 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1604
1604
  hintText: m,
1605
1605
  onClear: v,
1606
1606
  placeholder: f = "Placeholder",
1607
- value: o,
1607
+ value: u,
1608
1608
  onChange: h,
1609
- ...u
1609
+ ...o
1610
1610
  }, g) => {
1611
- const d = !!i, b = !!l, k = o && o.toString().length > 0;
1611
+ const d = !!i, b = !!l, k = u && u.toString().length > 0;
1612
1612
  let j = n;
1613
1613
  return n === "default" && k && (j = "filled"), /* @__PURE__ */ r.jsxs("div", { className: "input-container", children: [
1614
1614
  /* @__PURE__ */ r.jsxs("div", { className: "input-wrapper", children: [
@@ -1624,13 +1624,13 @@ const Je = ({ className: t }) => /* @__PURE__ */ r.jsx(
1624
1624
  className: t
1625
1625
  }),
1626
1626
  placeholder: f,
1627
- value: o,
1627
+ value: u,
1628
1628
  ref: g,
1629
- ...u
1629
+ ...o
1630
1630
  }
1631
1631
  ),
1632
1632
  b && /* @__PURE__ */ r.jsx("span", { className: "input-trailing-icon", children: l }),
1633
- v && o && o.toString().length > 0 && /* @__PURE__ */ r.jsx(
1633
+ v && u && u.toString().length > 0 && /* @__PURE__ */ r.jsx(
1634
1634
  "button",
1635
1635
  {
1636
1636
  type: "button",
@@ -1668,7 +1668,7 @@ const qr = G("alert", {
1668
1668
  onDismiss: m,
1669
1669
  icon: v,
1670
1670
  ...f
1671
- }, o) => {
1671
+ }, u) => {
1672
1672
  const h = {
1673
1673
  info: /* @__PURE__ */ r.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1674
1674
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
@@ -1686,15 +1686,15 @@ const qr = G("alert", {
1686
1686
  /* @__PURE__ */ r.jsx("circle", { cx: "10", cy: "10", r: "9", stroke: "currentColor", strokeWidth: "2", fill: "none" }),
1687
1687
  /* @__PURE__ */ r.jsx("path", { d: "M10 6v4m0 4h.01", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })
1688
1688
  ] })
1689
- }, u = v || (s ? h[s] : h.info);
1689
+ }, o = v || (s ? h[s] : h.info);
1690
1690
  return /* @__PURE__ */ r.jsxs(
1691
1691
  "div",
1692
1692
  {
1693
1693
  className: qr({ variant: s, className: t }),
1694
- ref: o,
1694
+ ref: u,
1695
1695
  ...f,
1696
1696
  children: [
1697
- /* @__PURE__ */ r.jsx("div", { className: "alert-icon", children: u }),
1697
+ /* @__PURE__ */ r.jsx("div", { className: "alert-icon", children: o }),
1698
1698
  /* @__PURE__ */ r.jsxs("div", { className: "alert-content", children: [
1699
1699
  n && /* @__PURE__ */ r.jsx("div", { className: "alert-title", children: n }),
1700
1700
  i && /* @__PURE__ */ r.jsx("div", { className: "alert-description", children: i }),
@@ -1770,11 +1770,11 @@ const et = G("social-login", {
1770
1770
  iconAlignment: m,
1771
1771
  provider: v,
1772
1772
  children: f,
1773
- disabled: o,
1773
+ disabled: u,
1774
1774
  onClick: h,
1775
- ...u
1775
+ ...o
1776
1776
  }, g) => {
1777
- const d = tt[v], b = f || rt[v], k = o ? "disabled" : i, p = {
1777
+ const d = tt[v], b = f || rt[v], k = u ? "disabled" : i, p = {
1778
1778
  xs: 16,
1779
1779
  sm: 18,
1780
1780
  md: 20,
@@ -1793,10 +1793,10 @@ const et = G("social-login", {
1793
1793
  provider: v,
1794
1794
  className: t
1795
1795
  }),
1796
- disabled: o,
1796
+ disabled: u,
1797
1797
  onClick: h,
1798
1798
  ref: g,
1799
- ...u,
1799
+ ...o,
1800
1800
  children: [
1801
1801
  /* @__PURE__ */ r.jsx("span", { className: "social-login-icon", children: /* @__PURE__ */ r.jsx(d, { size: p }) }),
1802
1802
  /* @__PURE__ */ r.jsx("span", { className: "social-login-text", children: b })
@@ -1844,13 +1844,13 @@ const at = G("progress-bar", {
1844
1844
  amount: m,
1845
1845
  total: v,
1846
1846
  showPercentage: f = !1,
1847
- label: o,
1847
+ label: u,
1848
1848
  height: h,
1849
- style: u,
1849
+ style: o,
1850
1850
  ...g
1851
1851
  }, d) => {
1852
1852
  const b = Math.min(Math.max(m / v * 100, 0), 100), k = {
1853
- ...u || {},
1853
+ ...o || {},
1854
1854
  ...h ? { height: h } : {}
1855
1855
  }, j = {
1856
1856
  width: `${b}%`
@@ -1871,7 +1871,7 @@ const at = G("progress-bar", {
1871
1871
  "aria-valuenow": m,
1872
1872
  "aria-valuemin": 0,
1873
1873
  "aria-valuemax": v,
1874
- "aria-label": o || `Progreso: ${m} de ${v}`,
1874
+ "aria-label": u || `Progreso: ${m} de ${v}`,
1875
1875
  ...g,
1876
1876
  children: [
1877
1877
  /* @__PURE__ */ r.jsx("div", { className: "progress-bar-track", children: /* @__PURE__ */ r.jsx(
@@ -1881,7 +1881,7 @@ const at = G("progress-bar", {
1881
1881
  style: j
1882
1882
  }
1883
1883
  ) }),
1884
- (f || o) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: o || `${Math.round(b)}%` })
1884
+ (f || u) && /* @__PURE__ */ r.jsx("div", { className: "progress-bar-text", children: u || `${Math.round(b)}%` })
1885
1885
  ]
1886
1886
  }
1887
1887
  );
@@ -1950,9 +1950,9 @@ const lt = G("pagination", {
1950
1950
  totalItems: m,
1951
1951
  itemsPerPageOptions: v = [10, 20, 50, 100],
1952
1952
  onPageChange: f,
1953
- onItemsPerPageChange: o,
1953
+ onItemsPerPageChange: u,
1954
1954
  resultsLabel: h = "Resultados",
1955
- ofLabel: u = "de",
1955
+ ofLabel: o = "de",
1956
1956
  pageLabel: g = "Página",
1957
1957
  prevDisabled: d,
1958
1958
  nextDisabled: b,
@@ -1968,7 +1968,7 @@ const lt = G("pagination", {
1968
1968
  }, K = () => {
1969
1969
  !B && f && f(n + 1);
1970
1970
  }, re = (M) => {
1971
- o && o(M), S(!1);
1971
+ u && u(M), S(!1);
1972
1972
  }, te = () => {
1973
1973
  S(!p);
1974
1974
  };
@@ -2026,7 +2026,7 @@ const lt = G("pagination", {
2026
2026
  )) })
2027
2027
  ] }) }),
2028
2028
  /* @__PURE__ */ r.jsx("div", { className: "pagination-total", children: /* @__PURE__ */ r.jsxs("span", { className: "pagination-total-text", children: [
2029
- u,
2029
+ o,
2030
2030
  " ",
2031
2031
  m
2032
2032
  ] }) })
@@ -2048,7 +2048,7 @@ const lt = G("pagination", {
2048
2048
  " ",
2049
2049
  n,
2050
2050
  " ",
2051
- u,
2051
+ o,
2052
2052
  " ",
2053
2053
  i
2054
2054
  ] }) }),
@@ -2084,21 +2084,21 @@ const ft = ({
2084
2084
  };
2085
2085
  return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
2086
2086
  }, []);
2087
- const o = () => {
2087
+ const u = () => {
2088
2088
  v(!m);
2089
2089
  }, h = (d) => {
2090
2090
  var b;
2091
2091
  d.disabled || (v(!1), i == null || i(d), (b = d.onSelect) == null || b.call(d));
2092
- }, u = s, g = t || /* @__PURE__ */ r.jsx(Kr, { size: 20, color: "#00D4AA" });
2092
+ }, o = s, g = t || /* @__PURE__ */ r.jsx(Kr, { size: 20, color: "#00D4AA" });
2093
2093
  return /* @__PURE__ */ r.jsxs("div", { className: `selector-container ${l}`, ref: f, children: [
2094
2094
  /* @__PURE__ */ r.jsxs(
2095
2095
  "div",
2096
2096
  {
2097
2097
  className: `selector ${m ? "selector--open" : ""}`,
2098
- onClick: o,
2098
+ onClick: u,
2099
2099
  children: [
2100
2100
  /* @__PURE__ */ r.jsx("div", { className: "selector__icon", children: g }),
2101
- /* @__PURE__ */ r.jsx("div", { className: "selector__title", children: u }),
2101
+ /* @__PURE__ */ r.jsx("div", { className: "selector__title", children: o }),
2102
2102
  /* @__PURE__ */ r.jsx("div", { className: "selector__chevron", children: /* @__PURE__ */ r.jsx(
2103
2103
  "svg",
2104
2104
  {
@@ -2148,13 +2148,13 @@ const ft = ({
2148
2148
  image: m = "src/assets/images/default_card_wallpaper.png",
2149
2149
  icon: v,
2150
2150
  disabled: f = !1,
2151
- className: o = "",
2151
+ className: u = "",
2152
2152
  size: h = "md",
2153
- ...u
2153
+ ...o
2154
2154
  }, g) => /* @__PURE__ */ r.jsxs(
2155
2155
  "div",
2156
2156
  {
2157
- className: `cardcta-container cardcta-size-${h} ${o}`,
2157
+ className: `cardcta-container cardcta-size-${h} ${u}`,
2158
2158
  style: {
2159
2159
  backgroundImage: `url('${m}')`,
2160
2160
  backgroundSize: "cover",
@@ -2163,7 +2163,7 @@ const ft = ({
2163
2163
  overflow: "hidden"
2164
2164
  },
2165
2165
  ref: g,
2166
- ...u,
2166
+ ...o,
2167
2167
  children: [
2168
2168
  /* @__PURE__ */ r.jsx("div", { className: "cardcta-gradient-overlay" }),
2169
2169
  f && /* @__PURE__ */ r.jsx("div", { className: "cardcta-bg-disabled" }),