prometeo-design-system 3.0.2 → 3.0.4

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 (60) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +1 -1
  3. package/dist/{CardProfile-BB-IP1MR.js → CardProfile-DUBuThnz.js} +13 -13
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +5 -5
  6. package/dist/DatePicker-CzpFYO6L.js +3568 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +1 -1
  9. package/dist/DrawerDesktop.es.js +2 -2
  10. package/dist/DrawerMobile.es.js +1 -1
  11. package/dist/DropZone.es.js +6 -6
  12. package/dist/FAButton.es.js +2 -2
  13. package/dist/Header.es.js +1 -1
  14. package/dist/{HelperComponent-D_Cqdf1J.js → HelperComponent-E_C-E8Iu.js} +8 -8
  15. package/dist/Icons/Home.d.ts +2 -0
  16. package/dist/Icons/Home.es.js +7 -0
  17. package/dist/Icons-BJgYCS_W.js +979 -0
  18. package/dist/Icons.es.js +5 -976
  19. package/dist/Image.es.js +1 -1
  20. package/dist/{ImageGallery-CjaJ0UCN.js → ImageGallery-DqUwjAKn.js} +35 -35
  21. package/dist/ImageGallery.es.js +1 -1
  22. package/dist/{Input-CLsH2Ea0.js → Input-ZXkhyFlL.js} +3 -3
  23. package/dist/Input.es.js +1 -1
  24. package/dist/InputMultiple.es.js +35 -35
  25. package/dist/{LayoutGeneric-B6E-yOYJ.js → LayoutGeneric-CbaoatQB.js} +1 -1
  26. package/dist/LayoutGeneric.es.js +1 -1
  27. package/dist/Logo.es.js +2 -2
  28. package/dist/Menu.es.js +1 -1
  29. package/dist/OtpInput.es.js +44 -44
  30. package/dist/Pagination.es.js +1 -1
  31. package/dist/ProfilePictureUpload.es.js +1 -1
  32. package/dist/ProgressBar.es.js +1 -1
  33. package/dist/RadioButton.es.js +2 -2
  34. package/dist/RecurrentDatePicker.es.js +5 -5
  35. package/dist/RecurrentDatePickerRRule.es.js +2 -2
  36. package/dist/SegmentedButton.es.js +1 -1
  37. package/dist/{Select-Co4rzd96.js → Select-DgUVs2c6.js} +46 -46
  38. package/dist/Select.es.js +1 -1
  39. package/dist/SelectSearch.es.js +2 -2
  40. package/dist/Skeleton.es.js +1 -1
  41. package/dist/Spinner.es.js +1 -1
  42. package/dist/Steps.es.js +2 -2
  43. package/dist/SwipeContainer.es.js +1 -1
  44. package/dist/Switch.es.js +1 -1
  45. package/dist/TabLinks.es.js +1 -1
  46. package/dist/Table.es.js +1 -1
  47. package/dist/TextArea.es.js +1 -1
  48. package/dist/Toast.es.js +23 -23
  49. package/dist/ToastProvider.es.js +1 -1
  50. package/dist/Tooltip.es.js +2 -2
  51. package/dist/exports/Icons.d.ts +4 -2
  52. package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
  53. package/dist/prometeo-design-system.es.js +48 -48
  54. package/dist/styles.css +1 -1
  55. package/package.json +298 -294
  56. package/src/styles/app.css +1 -1
  57. package/src/styles/base.css +1332 -1332
  58. package/src/styles/fonts.css +45 -45
  59. package/src/styles/palette.css +83 -83
  60. package/dist/DatePicker-odNBd49H.js +0 -3628
package/dist/Image.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { memo as P, useState as x, useRef as E, useCallback as w, useEffect as N } from "react";
3
3
  import R from "./Spinner.es.js";
4
4
  import { c as u } from "./cn-B6yFEsav.js";
@@ -1,11 +1,11 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import Q, { memo as M, forwardRef as A, useRef as v, useEffect as ee, useCallback as i, useState as R, useImperativeHandle as te } from "react";
3
3
  import { c as X } from "./cn-B6yFEsav.js";
4
4
  import { u as ne } from "./useDragScroll-CHN9OMwn.js";
5
5
  import S from "./Button.es.js";
6
- import { Close as re, CrevronLeft as se, CrevronRight as ae } from "./Icons.es.js";
6
+ import { a as re, b as ae, c as se } from "./Icons-BJgYCS_W.js";
7
7
  const L = M(A(({ images: n, className: c }, r) => {
8
- const { ref: d, bind: a } = ne({
8
+ const { ref: d, bind: s } = ne({
9
9
  axis: "x",
10
10
  friction: 0.9,
11
11
  minVelocity: 0.5,
@@ -20,12 +20,12 @@ const L = M(A(({ images: n, className: c }, r) => {
20
20
  {
21
21
  ref: d,
22
22
  className: X("flex gap-4 w-full overflow-x-auto py-2 relative", c),
23
- onPointerDown: a.onPointerDown,
24
- onPointerMove: a.onPointerMove,
25
- onPointerUp: a.onPointerUp,
26
- onPointerLeave: a.onPointerLeave,
27
- onPointerCancel: a.onPointerCancel,
28
- onClickCapture: a.onClickCapture,
23
+ onPointerDown: s.onPointerDown,
24
+ onPointerMove: s.onPointerMove,
25
+ onPointerUp: s.onPointerUp,
26
+ onPointerLeave: s.onPointerLeave,
27
+ onPointerCancel: s.onPointerCancel,
28
+ onClickCapture: s.onClickCapture,
29
29
  "aria-label": "Image gallery",
30
30
  children: n && n.length > 0 && n.map((l, o) => Q.cloneElement(l, {
31
31
  key: l.props.src || o,
@@ -37,7 +37,7 @@ const L = M(A(({ images: n, className: c }, r) => {
37
37
  );
38
38
  }));
39
39
  L.displayName = "GalleryPreview";
40
- const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails: d, thumbnailsClassName: a, currentIndex: l, goToNext: o, goToPrevious: s, goToIndex: N }) => {
40
+ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails: d, thumbnailsClassName: s, currentIndex: l, goToNext: o, goToPrevious: a, goToIndex: N }) => {
41
41
  const h = v(null), y = v(null), w = v(null), m = v({
42
42
  scale: 1,
43
43
  translateX: 0,
@@ -53,15 +53,15 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
53
53
  w.current && w.current.focus();
54
54
  }, []);
55
55
  const k = i((e) => {
56
- e.preventDefault(), e.stopPropagation(), e.key === "Escape" ? r() : e.key === "ArrowLeft" ? s() : e.key === "ArrowRight" && o();
57
- }, [r, s, o]), P = i((e) => {
56
+ e.preventDefault(), e.stopPropagation(), e.key === "Escape" ? r() : e.key === "ArrowLeft" ? a() : e.key === "ArrowRight" && o();
57
+ }, [r, a, o]), P = i((e) => {
58
58
  u.current = { startX: e.touches[0].clientX, startY: e.touches[0].clientY, isDragging: !0, distanceX: 0, distanceY: 0 };
59
59
  }, []), j = i((e) => {
60
60
  const g = e.touches[0];
61
61
  u.current = { ...u.current, isDragging: !0, distanceX: g.clientX - u.current.startX, distanceY: g.clientY - u.current.startY };
62
62
  }, []), z = i(() => {
63
- u.current = { ...u.current, startX: 0, startY: 0, isDragging: !1 }, Math.abs(u.current.distanceX) > Math.abs(u.current.distanceY) && (u.current.distanceX < 0 ? o() : s());
64
- }, [o, s]), C = i(() => {
63
+ u.current = { ...u.current, startX: 0, startY: 0, isDragging: !1 }, Math.abs(u.current.distanceX) > Math.abs(u.current.distanceY) && (u.current.distanceX < 0 ? o() : a());
64
+ }, [o, a]), C = i(() => {
65
65
  const e = h.current;
66
66
  if (!e) return;
67
67
  const { scale: g, translateX: p, translateY: I } = m.current;
@@ -72,7 +72,7 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
72
72
  const g = h.current, p = y.current;
73
73
  if (!g || !p) return;
74
74
  if (e.shiftKey) {
75
- e.deltaY < 0 ? o() : e.deltaY > 0 && s();
75
+ e.deltaY < 0 ? o() : e.deltaY > 0 && a();
76
76
  return;
77
77
  }
78
78
  const I = 2e-3, D = 1, B = 8, F = -e.deltaY * I, E = m.current.scale;
@@ -87,7 +87,7 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
87
87
  translateX: Z,
88
88
  translateY: J
89
89
  }, C();
90
- }, [o, s, C, b]);
90
+ }, [o, a, C, b]);
91
91
  return n.length === 0 ? null : /* @__PURE__ */ t.jsxs(
92
92
  "div",
93
93
  {
@@ -120,7 +120,7 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
120
120
  {
121
121
  className: "absolute left-0 lg:h-full items-center flex justify-center w-16 z-100 cursor-w-resize",
122
122
  onClick: (e) => {
123
- e.stopPropagation(), s();
123
+ e.stopPropagation(), a();
124
124
  },
125
125
  children: /* @__PURE__ */ t.jsx(
126
126
  S,
@@ -129,11 +129,11 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
129
129
  color: "secondary",
130
130
  size: "small",
131
131
  onClick: (e) => {
132
- e.stopPropagation(), s();
132
+ e.stopPropagation(), a();
133
133
  },
134
134
  className: "text-white! hover:text-gray-300! w-auto! h-auto! p-2!",
135
135
  "aria-label": "Previous image",
136
- children: /* @__PURE__ */ t.jsx(se, { size: 24 })
136
+ children: /* @__PURE__ */ t.jsx(ae, { size: 24 })
137
137
  }
138
138
  )
139
139
  }
@@ -156,7 +156,7 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
156
156
  },
157
157
  className: "text-white! hover:text-gray-300! w-auto! h-auto! p-2!",
158
158
  "aria-label": "Next image",
159
- children: /* @__PURE__ */ t.jsx(ae, { size: 24 })
159
+ children: /* @__PURE__ */ t.jsx(se, { size: 24 })
160
160
  }
161
161
  )
162
162
  }
@@ -194,7 +194,7 @@ const O = M(({ images: n, lightboxClassName: c, closeLightbox: r, showThumbnails
194
194
  )
195
195
  }
196
196
  ),
197
- d && /* @__PURE__ */ t.jsx("div", { className: " w-full absolute items-center flex justify-center left-0 right-0 z-100 bottom-0", children: /* @__PURE__ */ t.jsx(_, { images: n, currentIndex: l, goToIndex: N, thumbnailsClassName: a }) }),
197
+ d && /* @__PURE__ */ t.jsx("div", { className: " w-full absolute items-center flex justify-center left-0 right-0 z-100 bottom-0", children: /* @__PURE__ */ t.jsx(_, { images: n, currentIndex: l, goToIndex: N, thumbnailsClassName: s }) }),
198
198
  n.length > 1 && /* @__PURE__ */ t.jsxs("div", { className: "absolute bottom-20 left-1/2 transform -translate-x-1/2 text-neutral-default-default prometeo-fonts-label-xlarge px-4 py-2 rounded-full", children: [
199
199
  l + 1,
200
200
  " / ",
@@ -225,7 +225,7 @@ const le = (n, c) => {
225
225
  display: none;
226
226
  }
227
227
  ` }),
228
- n.map((a, l) => /* @__PURE__ */ t.jsx(
228
+ n.map((s, l) => /* @__PURE__ */ t.jsx(
229
229
  "button",
230
230
  {
231
231
  type: "button",
@@ -240,13 +240,13 @@ const le = (n, c) => {
240
240
  children: /* @__PURE__ */ t.jsx(
241
241
  "img",
242
242
  {
243
- src: a.src,
244
- alt: a.alt,
243
+ src: s.src,
244
+ alt: s.alt,
245
245
  className: "w-full h-full object-cover select-none"
246
246
  }
247
247
  )
248
248
  },
249
- a.src
249
+ s.src
250
250
  ))
251
251
  ]
252
252
  }
@@ -257,10 +257,10 @@ const oe = A(
257
257
  const {
258
258
  children: r,
259
259
  className: d,
260
- lightboxClassName: a,
260
+ lightboxClassName: s,
261
261
  showThumbnails: l,
262
262
  thumbnailsClassName: o
263
- } = n, [s, N] = R([]), [h, y] = R(!1), [w, m] = R(0), u = r ? Array.isArray(r) ? r : [r] : [], k = i((f) => {
263
+ } = n, [a, N] = R([]), [h, y] = R(!1), [w, m] = R(0), u = r ? Array.isArray(r) ? r : [r] : [], k = i((f) => {
264
264
  N((e) => e.some((p) => p.src === f.src) ? e : [...e, f]);
265
265
  }, []), P = i((f = 0) => {
266
266
  m(f), y(!0);
@@ -274,15 +274,15 @@ const oe = A(
274
274
  closeLightbox: j,
275
275
  isOpen: h,
276
276
  addImage: k,
277
- images: s
277
+ images: a
278
278
  }),
279
- [s]
279
+ [a]
280
280
  );
281
281
  const z = i(() => {
282
- m((f) => (f + 1) % s.length);
283
- }, [s.length]), C = i(() => {
284
- m((f) => (f - 1 + s.length) % s.length);
285
- }, [s.length]), b = i((f) => {
282
+ m((f) => (f + 1) % a.length);
283
+ }, [a.length]), C = i(() => {
284
+ m((f) => (f - 1 + a.length) % a.length);
285
+ }, [a.length]), b = i((f) => {
286
286
  m(f);
287
287
  }, []);
288
288
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
@@ -297,10 +297,10 @@ const oe = A(
297
297
  h && /* @__PURE__ */ t.jsx(
298
298
  O,
299
299
  {
300
- images: s,
300
+ images: a,
301
301
  closeLightbox: j,
302
302
  showThumbnails: l,
303
- lightboxClassName: a,
303
+ lightboxClassName: s,
304
304
  thumbnailsClassName: o,
305
305
  currentIndex: w,
306
306
  goToNext: z,
@@ -1,4 +1,4 @@
1
- import { I as p } from "./ImageGallery-CjaJ0UCN.js";
1
+ import { I as p } from "./ImageGallery-DqUwjAKn.js";
2
2
  import { useRef as u, useCallback as r } from "react";
3
3
  const g = () => {
4
4
  const e = u(null), t = r((a) => {
@@ -1,9 +1,9 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
2
- import { EyeVisibility as _, EyeVisibilityOff as q, Close as V } from "./Icons.es.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.js";
2
+ import { w as _, x as q, a as V } from "./Icons-BJgYCS_W.js";
3
3
  import { c as t } from "./cn-B6yFEsav.js";
4
4
  import { useRef as F, useLayoutEffect as ee, memo as te, forwardRef as re, useState as oe } from "react";
5
5
  import le from "./Spinner.es.js";
6
- import { H as se } from "./HelperComponent-D_Cqdf1J.js";
6
+ import { H as se } from "./HelperComponent-E_C-E8Iu.js";
7
7
  const ae = (o) => {
8
8
  let e = o;
9
9
  for (; e && e !== document.body; ) {
package/dist/Input.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { I as f } from "./Input-CLsH2Ea0.js";
1
+ import { I as f } from "./Input-ZXkhyFlL.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,9 +1,9 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
2
- import { Close as Z, Info as T, Error as ee } from "./Icons.es.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.js";
2
+ import { a as Z, I as T, E as ee } from "./Icons-BJgYCS_W.js";
3
3
  import { c as d } from "./cn-B6yFEsav.js";
4
4
  import M, { useRef as _, useState as x, useCallback as te, useEffect as re } from "react";
5
- const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator: w = ",", variant: I = "default", placeholder: K, itemClassName: U, itemIcon: V, helperText: j, errorText: N, disabled: a, onClick: F, className: $, readonly: h, onValueDelete: B, ...O }) => {
6
- const o = _(null), E = _(null), [u, n] = x(""), [z, i] = x(0), [q, c] = x(!0), [v, P] = x(!1), [m, p] = x(!1), [k, y] = x(null), g = (e) => {
5
+ const se = ({ label: S, name: D, onChange: f, value: a, icon: C, valueSeparator: w = ",", variant: y = "default", placeholder: K, itemClassName: U, itemIcon: V, helperText: j, errorText: N, disabled: l, onClick: F, className: $, readonly: h, onValueDelete: B, ...O }) => {
6
+ const o = _(null), E = _(null), [u, n] = x(""), [z, i] = x(0), [q, c] = x(!0), [v, P] = x(!1), [m, p] = x(!1), [k, I] = x(null), g = (e) => {
7
7
  if (h || !e) return;
8
8
  const t = e.selectionStart ?? u.length;
9
9
  i(t);
@@ -15,11 +15,11 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
15
15
  s.length > 0 ? (n(s), b()) : (p(!1), n(""), c(!0), i(0));
16
16
  return;
17
17
  }
18
- if (s.length === 0 || l.includes(s)) {
18
+ if (s.length === 0 || a.includes(s)) {
19
19
  n(""), c(!0), g(e.target);
20
20
  return;
21
21
  }
22
- f([...l, s]), n(""), c(!0);
22
+ f([...a, s]), n(""), c(!0);
23
23
  } else {
24
24
  if (e.target.value === w) return;
25
25
  n(e.target.value), c(!1);
@@ -28,16 +28,16 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
28
28
  }, b = te(() => {
29
29
  const e = u.trim();
30
30
  if (e.length === 0) {
31
- p(!1), n(""), c(!0), i(0), y(null);
31
+ p(!1), n(""), c(!0), i(0), I(null);
32
32
  return;
33
33
  }
34
- p(!1), k !== null && f(Q(l.map((t, s) => s === k ? e : t))), n(""), c(!0), i(0), y(null);
35
- }, [k, u, f, l]), G = (e) => {
34
+ p(!1), k !== null && f(Q(a.map((t, s) => s === k ? e : t))), n(""), c(!0), i(0), I(null);
35
+ }, [k, u, f, a]), G = (e) => {
36
36
  if (!h) {
37
37
  if (e.key === "Backspace" && u.length === 0) {
38
38
  if (q) {
39
- const t = l[l.length - 1];
40
- t && (f(l.filter((s) => s !== t)), n(t), i(t.length));
39
+ const t = a[a.length - 1];
40
+ t && (f(a.filter((s) => s !== t)), n(t), i(t.length));
41
41
  } else
42
42
  c(!0);
43
43
  return;
@@ -48,17 +48,17 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
48
48
  t.length > 0 ? (n(t), b()) : (p(!1), n(""), c(!0), i(0));
49
49
  return;
50
50
  }
51
- t.length > 0 && !l.includes(t) && t !== w && (f([...l, t]), n(""), c(!0), i(0));
51
+ t.length > 0 && !a.includes(t) && t !== w && (f([...a, t]), n(""), c(!0), i(0));
52
52
  }
53
- e.key === "Escape" && m && (p(!1), n(""), c(!0), i(0), y(null)), g(e.currentTarget);
53
+ e.key === "Escape" && m && (p(!1), n(""), c(!0), i(0), I(null)), g(e.currentTarget);
54
54
  }
55
55
  }, H = (e) => {
56
- const t = l.filter((s) => s !== e);
56
+ const t = a.filter((s) => s !== e);
57
57
  f(t), B?.(e);
58
58
  }, J = (e) => {
59
- h || (L(e), p(!0), n(e), i(e.length), y(l.length - 1), o.current?.focus());
59
+ h || (L(e), p(!0), n(e), i(e.length), I(a.length - 1), o.current?.focus());
60
60
  }, L = (e) => {
61
- const t = l.filter((s) => s !== e);
61
+ const t = a.filter((s) => s !== e);
62
62
  f([...t, e]);
63
63
  }, Q = (e) => e.filter((t, s, Y) => Y.indexOf(t) === s);
64
64
  re(() => {
@@ -110,7 +110,7 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
110
110
  isFocused: "text-warning-default-focused",
111
111
  disabled: "text-warning-default-disabled"
112
112
  }
113
- }, R = a ? "disabled" : v ? "isFocused" : "default";
113
+ }, R = l ? "disabled" : v ? "isFocused" : "default";
114
114
  return /* @__PURE__ */ r.jsxs("div", { className: d(
115
115
  "relative w-full",
116
116
  $
@@ -118,7 +118,7 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
118
118
  /* @__PURE__ */ r.jsx("p", { className: d(
119
119
  "mb-1 px-3",
120
120
  "prometeo-fonts-label-large",
121
- X?.[I || "default"]?.[R]
121
+ X?.[y || "default"]?.[R]
122
122
  ), children: S }),
123
123
  /* @__PURE__ */ r.jsxs("div", { className: "relative", children: [
124
124
  /* @__PURE__ */ r.jsx(
@@ -131,7 +131,7 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
131
131
  onClick: (e) => g(e.currentTarget),
132
132
  onSelect: (e) => g(e.currentTarget),
133
133
  name: D,
134
- disabled: a,
134
+ disabled: l,
135
135
  className: d(
136
136
  "absolute inset-0 w-full h-full",
137
137
  "opacity-0 cursor-text z-10",
@@ -155,10 +155,10 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
155
155
  "flex flex-wrap gap-1 min-h-[58px]",
156
156
  "transition-all duration-300 ease-in-out",
157
157
  "cursor-text",
158
- W[R][I],
158
+ W[R][y],
159
159
  v ? "ring-[1px]" : "",
160
160
  // 'hover:border-primary-default-hover',
161
- a && "hover:border-neutral-default-disabled"
161
+ l && "hover:border-neutral-default-disabled"
162
162
  ),
163
163
  onMouseDown: (e) => {
164
164
  e.stopPropagation(), F?.(e), o.current?.focus();
@@ -171,17 +171,17 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
171
171
  children: [
172
172
  C && /* @__PURE__ */ r.jsx("div", { className: d(
173
173
  "flex items-center text-neutral-default-default",
174
- a && "text-neutral-default-disabled"
174
+ l && "text-neutral-default-disabled"
175
175
  ), children: C }),
176
- l.map((e, t) => /* @__PURE__ */ r.jsxs(
176
+ a.map((e, t) => /* @__PURE__ */ r.jsxs(
177
177
  "div",
178
178
  {
179
179
  className: d(
180
180
  "h-8 max-h-8 rounded-lg bg-primary-light-default border border-neutral-default-default",
181
181
  "flex items-center gap-2 px-2",
182
182
  "prometeo-fonts-label-medium z-20",
183
- t === l.length - 1 && m ? "opacity-0 hidden overflow-hidden" : "",
184
- a && "border-neutral-default-disabled text-neutral-default-disabled",
183
+ t === a.length - 1 && m ? "opacity-0 hidden overflow-hidden" : "",
184
+ l && "border-neutral-default-disabled text-neutral-default-disabled",
185
185
  U
186
186
  ),
187
187
  children: [
@@ -191,7 +191,7 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
191
191
  size: 16,
192
192
  className: d(
193
193
  "text-neutral-default-default",
194
- a && "text-neutral-default-disabled"
194
+ l && "text-neutral-default-disabled"
195
195
  )
196
196
  }
197
197
  ) }),
@@ -199,11 +199,11 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
199
199
  "span",
200
200
  {
201
201
  onClick: (s) => {
202
- s.stopPropagation(), !a && J(e);
202
+ s.stopPropagation(), !l && J(e);
203
203
  },
204
204
  className: d(
205
205
  "cursor-pointer hover:text-neutral-default-hover",
206
- a && "cursor-default hover:text-neutral-default-disabled"
206
+ l && "cursor-default hover:text-neutral-default-disabled"
207
207
  ),
208
208
  children: e
209
209
  }
@@ -212,11 +212,11 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
212
212
  "div",
213
213
  {
214
214
  onClick: (s) => {
215
- s.stopPropagation(), !a && H(e);
215
+ s.stopPropagation(), !l && H(e);
216
216
  },
217
217
  className: d(
218
218
  "cursor-pointer hover:scale-105 transition-all duration-200 ",
219
- a && " cursor-default hover:scale-100 "
219
+ l && " cursor-default hover:scale-100 "
220
220
  ),
221
221
  children: /* @__PURE__ */ r.jsx(
222
222
  Z,
@@ -224,7 +224,7 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
224
224
  size: 16,
225
225
  className: d(
226
226
  "text-neutral-default-default hover:text-neutral-default-hover transition-all duration-200",
227
- a && "text-neutral-default-disabled hover:text-neutral-default-disabled"
227
+ l && "text-neutral-default-disabled hover:text-neutral-default-disabled"
228
228
  )
229
229
  }
230
230
  )
@@ -239,19 +239,19 @@ const se = ({ label: S, name: D, onChange: f, value: l, icon: C, valueSeparator:
239
239
  /* @__PURE__ */ r.jsx("span", { className: "animate-[cursor-intermitent_1s_ease-in-out_infinite] bg-neutral-default-pressed w-[2px] h-5 inline-block align-middle mx-px z-20" }),
240
240
  /* @__PURE__ */ r.jsx("span", { className: "text-neutral-default-default whitespace-pre-wrap wrap-break-word", children: u.slice(z) })
241
241
  ] }),
242
- l.length === 0 && !v && /* @__PURE__ */ r.jsx("span", { className: d(
242
+ a.length === 0 && !v && /* @__PURE__ */ r.jsx("span", { className: d(
243
243
  "text-neutral-medium-default self-center",
244
- a && "text-neutral-default-disabled"
244
+ l && "text-neutral-default-disabled"
245
245
  ), children: K || `Escribe los valores separados por ${w}` })
246
246
  ]
247
247
  }
248
248
  )
249
249
  ] }),
250
- j && I !== "error" && !a && (typeof j == "string" ? /* @__PURE__ */ r.jsxs("div", { className: "prometeo-fonts-body-small text-neutral-medium-default ml-3 mt-1 flex items-center gap-1", children: [
250
+ j && y !== "error" && !l && (typeof j == "string" ? /* @__PURE__ */ r.jsxs("div", { className: "prometeo-fonts-body-small text-neutral-medium-default ml-3 mt-1 flex items-center gap-1", children: [
251
251
  /* @__PURE__ */ r.jsx(T, { size: 16, className: "text-neutral-medium-default" }),
252
252
  j
253
253
  ] }) : /* @__PURE__ */ r.jsx("div", { className: "ml-3", children: j })),
254
- N && typeof N == "string" && !a ? /* @__PURE__ */ r.jsxs("div", { className: "prometeo-fonts-body-small text-error-default-default ml-3 mt-1 flex items-center gap-1", children: [
254
+ N && typeof N == "string" && !l ? /* @__PURE__ */ r.jsxs("div", { className: "prometeo-fonts-body-small text-error-default-default ml-3 mt-1 flex items-center gap-1", children: [
255
255
  /* @__PURE__ */ r.jsx(ee, { size: 16, className: "text-error-default-default" }),
256
256
  N
257
257
  ] }) : N
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useRef as o, createContext as c, useContext as l, memo as d } from "react";
3
3
  const a = c(null), x = ({ children: e }) => {
4
4
  const r = o(null), s = o(null), u = (t) => {
@@ -1,4 +1,4 @@
1
- import { L as f } from "./LayoutGeneric-B6E-yOYJ.js";
1
+ import { L as f } from "./LayoutGeneric-CbaoatQB.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/Logo.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
- import { TicketFilled as t } from "./Icons.es.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
+ import { y as t } from "./Icons-BJgYCS_W.js";
3
3
  const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-linear-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
4
4
  /* @__PURE__ */ e.jsx(t, { size: 28, className: "rotate-140 text-primary-medium-pressed icon-logo" }),
5
5
  /* @__PURE__ */ e.jsx("span", { className: "font-bold text-[28px] text-primary-medium-pressed font-monserra -tracking-wide text-logo", children: "TICKETS" })
package/dist/Menu.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as r } from "./cn-B6yFEsav.js";
3
3
  import { AnimatePresence as n, motion as o } from "framer-motion";
4
4
  const s = ({ menuRef: t, children: a, className: i }) => /* @__PURE__ */ e.jsx("div", { ref: t, className: r("flex bg-neutral-default-default absolute bottom-10 left-24 border border-neutral-strong-default h-auto w-60 rounded-md px-2", i), children: /* @__PURE__ */ e.jsx(n, { mode: "wait", children: /* @__PURE__ */ e.jsx(