prometeo-design-system 1.6.7 → 1.6.9

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.
@@ -12,31 +12,34 @@ import { default as Me } from "./InputFormik.es.js";
12
12
  import { default as Ve } from "./Logo.es.js";
13
13
  import { Menu as Xe } from "./Menu.es.js";
14
14
  import { default as Je } from "./Pagination.es.js";
15
- import { default as Qe } from "./ProgressBar.es.js";
16
- import { default as _e } from "./Select.es.js";
17
- import { default as tt } from "./SelectFormik.es.js";
18
- import { default as rt } from "./Spinner.es.js";
19
- import { default as nt } from "./SwipeContainer.es.js";
20
- import { default as st } from "./TabLinks.es.js";
21
- import { Table as ct, TableBody as ut, TableCaption as dt, TableCell as ft, TableFooter as pt, TableHead as mt, TableHeader as xt, TableRow as bt } from "./Table.es.js";
22
- import { default as gt } from "./TextArea.es.js";
23
- import { default as ht } from "./Tooltip.es.js";
15
+ import { ProfilePictureUpload as Qe } from "./ProfilePictureUpload.es.js";
16
+ import { default as _e } from "./ProgressBar.es.js";
17
+ import { default as tt } from "./Select.es.js";
18
+ import { default as at } from "./SelectFormik.es.js";
19
+ import { default as nt } from "./Spinner.es.js";
20
+ import { Steps as st } from "./Steps.es.js";
21
+ import { default as ct } from "./SwipeContainer.es.js";
22
+ import { default as dt } from "./TabLinks.es.js";
23
+ import { Table as pt, TableBody as mt, TableCaption as xt, TableCell as bt, TableFooter as yt, TableHead as gt, TableHeader as vt, TableRow as ht } from "./Table.es.js";
24
+ import { default as jt } from "./TextArea.es.js";
25
+ import { default as Ct } from "./Tooltip.es.js";
26
+ import { InputMultiple as kt } from "./InputMultiple.es.js";
24
27
  import { u as j } from "./LayoutGeneric-jDE96L2N.js";
25
- import { L as jt, S as Nt } from "./LayoutGeneric-jDE96L2N.js";
26
- import { j as a } from "./jsx-runtime-ByW6EXIE.js";
28
+ import { L as Bt, S as Lt } from "./LayoutGeneric-jDE96L2N.js";
29
+ import { j as r } from "./jsx-runtime-ByW6EXIE.js";
27
30
  import { c as s } from "./cn-B6yFEsav.js";
28
31
  import { useRef as p, useState as v, useLayoutEffect as q, createContext as P, useContext as A, forwardRef as N, useCallback as T, useEffect as C } from "react";
29
32
  import { useGSAP as S } from "@gsap/react";
30
33
  import c from "gsap";
31
34
  import { Icons as b } from "./Icons.es.js";
32
35
  import { motion as d, AnimatePresence as k } from "framer-motion";
33
- import { default as St } from "./OtpInput.es.js";
34
- import { DropZone as It } from "./DropZone.es.js";
36
+ import { default as qt } from "./OtpInput.es.js";
37
+ import { DropZone as At } from "./DropZone.es.js";
35
38
  const D = (t, e) => {
36
39
  S(
37
40
  () => {
38
41
  if (!t.current) return;
39
- const o = t.current, r = document.querySelector('[data-main-content="true"]');
42
+ const o = t.current, a = document.querySelector('[data-main-content="true"]');
40
43
  if (e) {
41
44
  c.fromTo(
42
45
  o,
@@ -50,7 +53,7 @@ const D = (t, e) => {
50
53
  duration: 0.4,
51
54
  ease: "power2.out"
52
55
  }
53
- ), r && c.to(r, {
56
+ ), a && c.to(a, {
54
57
  marginLeft: o.offsetWidth + "px",
55
58
  duration: 0.4,
56
59
  ease: "power2.out"
@@ -77,7 +80,7 @@ const D = (t, e) => {
77
80
  opacity: 0,
78
81
  duration: 0.3,
79
82
  ease: "power2.in"
80
- }), r && c.to(r, {
83
+ }), a && c.to(a, {
81
84
  marginLeft: "0px",
82
85
  duration: 0.3,
83
86
  ease: "power2.in"
@@ -89,7 +92,7 @@ const D = (t, e) => {
89
92
  children: t,
90
93
  isOpen: e = !1,
91
94
  className: o = "",
92
- width: r = "w-96",
95
+ width: a = "w-96",
93
96
  action: n,
94
97
  primarySidebarCollapsed: i,
95
98
  onClose: l
@@ -103,8 +106,8 @@ const D = (t, e) => {
103
106
  width: g.width
104
107
  });
105
108
  }
106
- }, [x, e, i]), D(u, e), /* @__PURE__ */ a.jsx(a.Fragment, { children: e && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
107
- /* @__PURE__ */ a.jsx(
109
+ }, [x, e, i]), D(u, e), /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
110
+ /* @__PURE__ */ r.jsx(
108
111
  "div",
109
112
  {
110
113
  className: "fixed inset-0 bg-black/95 z-20",
@@ -114,25 +117,25 @@ const D = (t, e) => {
114
117
  onClick: l
115
118
  }
116
119
  ),
117
- /* @__PURE__ */ a.jsx(
120
+ /* @__PURE__ */ r.jsx(
118
121
  "div",
119
122
  {
120
123
  ref: u,
121
124
  className: s(
122
125
  "h-screen bg-neutral-default-default border-r-1 border-neutral-strong-default flex flex-col secondary-bar flex-shrink-0",
123
126
  "absolute top-0 z-30",
124
- r,
127
+ a,
125
128
  o
126
129
  ),
127
130
  style: {
128
131
  left: f.left
129
132
  },
130
133
  "data-action": n,
131
- children: /* @__PURE__ */ a.jsx("div", { className: "secondary-bar-content", children: t })
134
+ children: /* @__PURE__ */ r.jsx("div", { className: "secondary-bar-content", children: t })
132
135
  }
133
136
  )
134
137
  ] }) });
135
- }, E = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("h-16 ", e), children: t }), O = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("flex-1 overflow-y-auto p-4", e), children: t }), z = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: s("p-4 border-t border-neutral-strong-default", e), children: t }), F = ({ className: t }) => /* @__PURE__ */ a.jsx("div", { className: s("flex-1", t) }), ie = Object.assign(w, {
138
+ }, E = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: s("h-16 ", e), children: t }), O = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: s("flex-1 overflow-y-auto p-4", e), children: t }), z = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: s("p-4 border-t border-neutral-strong-default", e), children: t }), F = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: s("flex-1", t) }), ie = Object.assign(w, {
136
139
  Root: w,
137
140
  Header: E,
138
141
  Content: O,
@@ -148,7 +151,7 @@ const D = (t, e) => {
148
151
  }, H = ({
149
152
  children: t
150
153
  }) => {
151
- const [e, o] = v(!1), [r, n] = v(!1), i = p(null), l = () => {
154
+ const [e, o] = v(!1), [a, n] = v(!1), i = p(null), l = () => {
152
155
  o(!1), n(!1);
153
156
  }, u = () => {
154
157
  o(!0), n(!1);
@@ -159,7 +162,7 @@ const D = (t, e) => {
159
162
  toggleCollapse: () => {
160
163
  e ? l() : u();
161
164
  },
162
- activeSecondaryBar: r ? "notifications" : null,
165
+ activeSecondaryBar: a ? "notifications" : null,
163
166
  openSecondaryBar: () => {
164
167
  n(!0);
165
168
  },
@@ -170,12 +173,12 @@ const D = (t, e) => {
170
173
  n((R) => !R);
171
174
  }
172
175
  };
173
- return /* @__PURE__ */ a.jsx(I.Provider, { value: L, children: t });
174
- }, y = (t, e, o, r) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, o, r) : t, W = (t, e, o) => {
176
+ return /* @__PURE__ */ r.jsx(I.Provider, { value: L, children: t });
177
+ }, y = (t, e, o, a) => e && (Array.isArray(e) ? e.length > 0 : e) ? t.to(e, o, a) : t, W = (t, e, o) => {
175
178
  S(
176
179
  () => {
177
180
  if (!t.current) return;
178
- const r = c.timeline({
181
+ const a = c.timeline({
179
182
  defaults: { duration: 0.7, ease: "power1.out" }
180
183
  }), n = {
181
184
  navbar: t.current,
@@ -213,7 +216,7 @@ const D = (t, e) => {
213
216
  secondaryBarContent: c.utils.toArray(".secondary-bar *"),
214
217
  badgeInLink: c.utils.toArray(".badge-in-link")
215
218
  };
216
- e ? $(r, n) : M(r, n), n.secondaryBar && U(n.secondaryBar);
219
+ e ? $(a, n) : M(a, n), n.secondaryBar && U(n.secondaryBar);
217
220
  },
218
221
  { scope: t, dependencies: [e, o] }
219
222
  );
@@ -492,13 +495,13 @@ const D = (t, e) => {
492
495
  ease: "power2.in"
493
496
  });
494
497
  }, V = N(
495
- ({ children: t, isCollapsed: e = !1, className: o = "" }, r) => {
498
+ ({ children: t, isCollapsed: e = !1, className: o = "" }, a) => {
496
499
  const n = p(null), { registerPrimarySidebar: i } = j(), l = T((u) => {
497
- n.current = u, typeof r == "function" ? r(u) : r && (r.current = u);
498
- }, [r]);
500
+ n.current = u, typeof a == "function" ? a(u) : a && (a.current = u);
501
+ }, [a]);
499
502
  return C(() => {
500
503
  n.current && i(n);
501
- }, [i]), W(n, e, !1), /* @__PURE__ */ a.jsx(
504
+ }, [i]), W(n, e, !1), /* @__PURE__ */ r.jsx(
502
505
  "div",
503
506
  {
504
507
  ref: l,
@@ -509,19 +512,19 @@ const D = (t, e) => {
509
512
  );
510
513
  }
511
514
  ), h = N(
512
- (t, e) => /* @__PURE__ */ a.jsx(H, { children: /* @__PURE__ */ a.jsx(V, { ...t, ref: e }) })
515
+ (t, e) => /* @__PURE__ */ r.jsx(H, { children: /* @__PURE__ */ r.jsx(V, { ...t, ref: e }) })
513
516
  );
514
517
  h.displayName = "SidebarRoot";
515
- const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("div", { className: s("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ a.jsx(
518
+ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ r.jsx("div", { className: s("flex mt-5 mb-4 justify-end mr-5 container-icon-collapsade", t && ""), children: /* @__PURE__ */ r.jsx(
516
519
  "button",
517
520
  {
518
521
  onClick: e,
519
522
  title: t ? "Expandir Navbar" : "Contraer Navbar",
520
523
  "aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
521
524
  className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
522
- children: t ? /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-0 transition-transform duration-300" })
525
+ children: t ? /* @__PURE__ */ r.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(b.CloseNavBarDesktop, { size: 24, className: "rotate-0 transition-transform duration-300" })
523
526
  }
524
- ) }), X = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: `${e} sidebar-header`, children: t }), Z = ({ className: t }) => /* @__PURE__ */ a.jsx("div", { className: s("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ a.jsx("div", { className: "border-b border-neutral-strong-default border-1 w-full" }) }), J = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: e, children: t }), K = ({ className: t, size: e = "auto" }) => {
527
+ ) }), X = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: `${e} sidebar-header`, children: t }), Z = ({ className: t }) => /* @__PURE__ */ r.jsx("div", { className: s("px-3 flex justify-center items-center w-full mb-4", t), children: /* @__PURE__ */ r.jsx("div", { className: "border-b border-neutral-strong-default border-1 w-full" }) }), J = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), K = ({ className: t, size: e = "auto" }) => {
525
528
  const o = () => {
526
529
  switch (e) {
527
530
  case "auto":
@@ -534,8 +537,8 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
534
537
  return "h-8 w-8";
535
538
  }
536
539
  };
537
- return /* @__PURE__ */ a.jsx("div", { className: s(o(), t) });
538
- }, Q = ({ children: t, className: e }) => /* @__PURE__ */ a.jsx("div", { className: e, children: t }), le = Object.assign(h, {
540
+ return /* @__PURE__ */ r.jsx("div", { className: s(o(), t) });
541
+ }, Q = ({ children: t, className: e }) => /* @__PURE__ */ r.jsx("div", { className: e, children: t }), le = Object.assign(h, {
539
542
  Root: h,
540
543
  CollapseButton: G,
541
544
  Header: X,
@@ -547,16 +550,16 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
547
550
  children: t,
548
551
  icon: e,
549
552
  label: o,
550
- href: r,
553
+ href: a,
551
554
  onClick: n,
552
555
  isActive: i = !1,
553
556
  className: l
554
557
  }) => {
555
- const u = r ? "a" : "button";
556
- return /* @__PURE__ */ a.jsxs(
558
+ const u = a ? "a" : "button";
559
+ return /* @__PURE__ */ r.jsxs(
557
560
  u,
558
561
  {
559
- href: r,
562
+ href: a,
560
563
  onClick: n,
561
564
  className: s(
562
565
  "nav-link-item",
@@ -567,8 +570,8 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
567
570
  l
568
571
  ),
569
572
  children: [
570
- e && /* @__PURE__ */ a.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ a.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: e }) }),
571
- o && /* @__PURE__ */ a.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: o }),
573
+ e && /* @__PURE__ */ r.jsx("div", { className: "nav-icon-wrapper mr-3 flex-shrink-0", children: /* @__PURE__ */ r.jsx("div", { className: "nav-icon flex items-center justify-center w-5 h-5", children: e }) }),
574
+ o && /* @__PURE__ */ r.jsx("span", { className: "nav-label text-sm text-neutral-strong-default", children: o }),
572
575
  t
573
576
  ]
574
577
  }
@@ -577,7 +580,7 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
577
580
  count: t,
578
581
  maxCount: e = 9,
579
582
  className: o = "",
580
- size: r = "medium",
583
+ size: a = "medium",
581
584
  variant: n = "primary",
582
585
  showZero: i = !1
583
586
  }) => {
@@ -594,17 +597,17 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
594
597
  warning: "bg-yellow-500 text-black",
595
598
  danger: "bg-red-500 text-white"
596
599
  };
597
- return /* @__PURE__ */ a.jsx("div", { className: s(
600
+ return /* @__PURE__ */ r.jsx("div", { className: s(
598
601
  "rounded-full flex items-center justify-center font-medium ",
599
- f[r],
602
+ f[a],
600
603
  m[n],
601
604
  o
602
- ), children: /* @__PURE__ */ a.jsx("span", { children: u }) });
605
+ ), children: /* @__PURE__ */ r.jsx("span", { children: u }) });
603
606
  }, ue = ({
604
607
  linkActions: t,
605
608
  onClick: e,
606
609
  activeAction: o
607
- }) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((r, n) => r.isView && r.viewAccess() && /* @__PURE__ */ a.jsx(
610
+ }) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((a, n) => a.isView && a.viewAccess() && /* @__PURE__ */ r.jsx(
608
611
  d.div,
609
612
  {
610
613
  initial: { opacity: 0 },
@@ -615,20 +618,20 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
615
618
  ease: "easeOut"
616
619
  },
617
620
  className: "relative flex justify-center w-full items-center px-3",
618
- children: /* @__PURE__ */ a.jsxs(
621
+ children: /* @__PURE__ */ r.jsxs(
619
622
  "button",
620
623
  {
621
624
  onClick: () => {
622
- e?.(r.action);
625
+ e?.(a.action);
623
626
  },
624
627
  className: s(
625
628
  "nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
626
629
  "transition-all duration-300 ease-out w-full",
627
630
  "group hover:bg-neutral-medium-selected",
628
- o === r.action ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
631
+ o === a.action ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
629
632
  ),
630
633
  children: [
631
- /* @__PURE__ */ a.jsx(k, { mode: "wait", children: o === r.action && /* @__PURE__ */ a.jsx(
634
+ /* @__PURE__ */ r.jsx(k, { mode: "wait", children: o === a.action && /* @__PURE__ */ r.jsx(
632
635
  d.div,
633
636
  {
634
637
  layoutId: "nav-active-bg",
@@ -643,42 +646,42 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
643
646
  }
644
647
  }
645
648
  ) }),
646
- /* @__PURE__ */ a.jsxs(
649
+ /* @__PURE__ */ r.jsxs(
647
650
  d.div,
648
651
  {
649
652
  className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
650
653
  animate: {
651
- x: (o === r.action, 0)
654
+ x: (o === a.action, 0)
652
655
  },
653
656
  transition: {
654
657
  duration: 0.25,
655
658
  ease: "easeOut"
656
659
  },
657
660
  children: [
658
- /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3", children: [
659
- /* @__PURE__ */ a.jsx(
661
+ /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
662
+ /* @__PURE__ */ r.jsx(
660
663
  d.div,
661
664
  {
662
665
  className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
663
666
  animate: {
664
- scale: o === r.action ? 1.05 : 1
667
+ scale: o === a.action ? 1.05 : 1
665
668
  },
666
669
  transition: {
667
670
  duration: 0.25,
668
671
  ease: "easeOut"
669
672
  },
670
- children: typeof r.icon == "function" ? r.icon({
673
+ children: typeof a.icon == "function" ? a.icon({
671
674
  size: 24,
672
675
  className: s(
673
676
  "nav-icon transition-colors duration-250 ease-out",
674
- o === r.action ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
677
+ o === a.action ? "text-primary-default-default" : "text-neutral-default-default group-hover:text-white-prometeo"
675
678
  )
676
679
  }) : null
677
680
  }
678
681
  ),
679
- /* @__PURE__ */ a.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: r.title })
682
+ /* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: a.title })
680
683
  ] }),
681
- /* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r?.count >= 1 ? /* @__PURE__ */ a.jsx(B, { count: r.count, maxCount: 9, className: "" }) : "" })
684
+ /* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: a.count && a?.count >= 1 ? /* @__PURE__ */ r.jsx(B, { count: a.count, maxCount: 9, className: "" }) : "" })
682
685
  ]
683
686
  }
684
687
  )
@@ -691,11 +694,11 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
691
694
  links: t,
692
695
  isLinkActive: e,
693
696
  onLinkClick: o
694
- }) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((r, n) => {
695
- const i = e(r.path) || (r.relatedPaths?.some(
697
+ }) => /* @__PURE__ */ r.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((a, n) => {
698
+ const i = e(a.path) || (a.relatedPaths?.some(
696
699
  (l) => e(l)
697
700
  ) ?? !1);
698
- return r.isView && r.viewAccess() && /* @__PURE__ */ a.jsx(
701
+ return a.isView && a.viewAccess() && /* @__PURE__ */ r.jsx(
699
702
  d.div,
700
703
  {
701
704
  initial: { opacity: 0 },
@@ -706,11 +709,11 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
706
709
  ease: "easeOut"
707
710
  },
708
711
  className: "relative flex justify-center w-full items-center px-3",
709
- children: /* @__PURE__ */ a.jsxs(
712
+ children: /* @__PURE__ */ r.jsxs(
710
713
  "button",
711
714
  {
712
715
  onClick: () => {
713
- o?.(r.path);
716
+ o?.(a.path);
714
717
  },
715
718
  className: s(
716
719
  "nav-link-item flex rounded-lg cursor-pointer relative overflow-hidden h-10 ",
@@ -719,7 +722,7 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
719
722
  i ? "text-primary-default-default bg-neutral-medium-selected" : "text-neutral-default-default"
720
723
  ),
721
724
  children: [
722
- /* @__PURE__ */ a.jsx(k, { mode: "wait", children: i && /* @__PURE__ */ a.jsx(
725
+ /* @__PURE__ */ r.jsx(k, { mode: "wait", children: i && /* @__PURE__ */ r.jsx(
723
726
  d.div,
724
727
  {
725
728
  layoutId: "nav-active-bg",
@@ -734,7 +737,7 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
734
737
  }
735
738
  }
736
739
  ) }),
737
- /* @__PURE__ */ a.jsxs(
740
+ /* @__PURE__ */ r.jsxs(
738
741
  d.div,
739
742
  {
740
743
  className: "nav-content-wrapper flex items-center justify-between gap-3 px-3 relative z-10 w-full",
@@ -746,8 +749,8 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
746
749
  ease: "easeOut"
747
750
  },
748
751
  children: [
749
- /* @__PURE__ */ a.jsxs("div", { className: "flex items-center gap-3", children: [
750
- /* @__PURE__ */ a.jsx(
752
+ /* @__PURE__ */ r.jsxs("div", { className: "flex items-center gap-3", children: [
753
+ /* @__PURE__ */ r.jsx(
751
754
  d.div,
752
755
  {
753
756
  className: "nav-icon-wrapper flex items-center justify-center flex-shrink-0",
@@ -758,7 +761,7 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
758
761
  duration: 0.25,
759
762
  ease: "easeOut"
760
763
  },
761
- children: typeof r.icon == "function" ? r.icon({
764
+ children: typeof a.icon == "function" ? a.icon({
762
765
  size: 24,
763
766
  className: s(
764
767
  "nav-icon transition-colors duration-250 ease-out",
@@ -767,9 +770,9 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
767
770
  }) : null
768
771
  }
769
772
  ),
770
- /* @__PURE__ */ a.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: r.title })
773
+ /* @__PURE__ */ r.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: a.title })
771
774
  ] }),
772
- /* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: r.count && r.count ? /* @__PURE__ */ a.jsx(B, { count: r.count, maxCount: 9, className: "" }) : "" })
775
+ /* @__PURE__ */ r.jsx("div", { className: "badge-in-link", children: a.count && a.count ? /* @__PURE__ */ r.jsx(B, { count: a.count, maxCount: 9, className: "" }) : "" })
773
776
  ]
774
777
  }
775
778
  )
@@ -793,16 +796,16 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
793
796
  }, me = ({
794
797
  isCollapsed: t,
795
798
  onToggle: e
796
- }) => /* @__PURE__ */ a.jsx("div", { className: "", children: /* @__PURE__ */ a.jsx(
799
+ }) => /* @__PURE__ */ r.jsx("div", { className: "", children: /* @__PURE__ */ r.jsx(
797
800
  "button",
798
801
  {
799
802
  onClick: e,
800
803
  title: t ? "Expandir Navbar" : "Contraer Navbar",
801
804
  "aria-label": t ? "Expandir Navbar" : "Contraer Navbar",
802
805
  className: "cursor-pointer text-neutral-default-default hover:text-primary-default transition-colors duration-300",
803
- children: t ? /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ a.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-0 transition-transform duration-300" })
806
+ children: t ? /* @__PURE__ */ r.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-180 transition-transform duration-300" }) : /* @__PURE__ */ r.jsx(b.CloseNavBarDesktop, { size: 34, className: "rotate-0 transition-transform duration-300" })
804
807
  }
805
- ) }), xe = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ a.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ a.jsx(
808
+ ) }), xe = ({ logoUrl: t, companyName: e }) => /* @__PURE__ */ r.jsx("div", { className: "w-full flex justify-center items-center p-2 h-20", children: /* @__PURE__ */ r.jsx(
806
809
  "img",
807
810
  {
808
811
  src: t,
@@ -813,17 +816,17 @@ const G = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
813
816
  const o = p(null);
814
817
  return C(() => {
815
818
  if (!e) return;
816
- const r = (n) => {
819
+ const a = (n) => {
817
820
  o.current && !o.current.contains(n.target) && t();
818
821
  };
819
- return document.addEventListener("mousedown", r, {
822
+ return document.addEventListener("mousedown", a, {
820
823
  capture: !0
821
- }), document.addEventListener("touchstart", r, {
824
+ }), document.addEventListener("touchstart", a, {
822
825
  capture: !0
823
826
  }), () => {
824
- document.removeEventListener("mousedown", r, {
827
+ document.removeEventListener("mousedown", a, {
825
828
  capture: !0
826
- }), document.removeEventListener("touchstart", r, {
829
+ }), document.removeEventListener("touchstart", a, {
827
830
  capture: !0
828
831
  });
829
832
  };
@@ -841,40 +844,43 @@ export {
841
844
  Re as DialogModal,
842
845
  Ae as DrawerDesktop,
843
846
  Ee as DrawerMobile,
844
- It as DropZone,
847
+ At as DropZone,
845
848
  Fe as Header,
846
849
  b as Icons,
847
850
  We as Input,
848
851
  Me as InputFormik,
849
- jt as LayoutGeneric,
852
+ kt as InputMultiple,
853
+ Bt as LayoutGeneric,
850
854
  Ve as Logo,
851
855
  Xe as Menu,
852
856
  ue as NavBarActions,
853
857
  me as NavbarCollapseButton,
854
858
  de as NavbarLinks,
855
859
  ce as NavigationLink,
856
- St as OtpInput,
860
+ qt as OtpInput,
857
861
  Je as Pagination,
858
- Qe as ProgressBar,
862
+ Qe as ProfilePictureUpload,
863
+ _e as ProgressBar,
859
864
  ie as SecondaryBar,
860
- _e as Select,
861
- tt as SelectFormik,
865
+ tt as Select,
866
+ at as SelectFormik,
862
867
  le as Sidebar,
863
868
  H as SidebarProvider,
864
- Nt as SidebarRefProvider,
865
- rt as Spinner,
866
- nt as SwipeContainer,
867
- st as TabLinks,
868
- ct as Table,
869
- ut as TableBody,
870
- dt as TableCaption,
871
- ft as TableCell,
872
- pt as TableFooter,
873
- mt as TableHead,
874
- xt as TableHeader,
875
- bt as TableRow,
876
- gt as TextArea,
877
- ht as Tooltip,
869
+ Lt as SidebarRefProvider,
870
+ nt as Spinner,
871
+ st as Steps,
872
+ ct as SwipeContainer,
873
+ dt as TabLinks,
874
+ pt as Table,
875
+ mt as TableBody,
876
+ xt as TableCaption,
877
+ bt as TableCell,
878
+ yt as TableFooter,
879
+ gt as TableHead,
880
+ vt as TableHeader,
881
+ ht as TableRow,
882
+ jt as TextArea,
883
+ Ct as Tooltip,
878
884
  fe as useActionsNavbar,
879
885
  be as useClickOutside,
880
886
  qe as useDialogControl,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prometeo-design-system",
3
3
  "private": false,
4
- "version": "1.6.7",
4
+ "version": "1.6.9",
5
5
  "type": "module",
6
6
  "description": "design kit system",
7
7
  "main": "dist/prometeo-design-system.umd.js",
@@ -77,6 +77,10 @@
77
77
  "types": "./dist/ProgressBar.d.ts",
78
78
  "import": "./dist/ProgressBar.es.js"
79
79
  },
80
+ "./ProfilePictureUpload": {
81
+ "types": "./dist/ProfilePictureUpload.d.ts",
82
+ "import": "./dist/ProfilePictureUpload.es.js"
83
+ },
80
84
  "./Select": {
81
85
  "types": "./dist/Select.d.ts",
82
86
  "import": "./dist/Select.es.js"
@@ -89,6 +93,10 @@
89
93
  "types": "./dist/Spinner.d.ts",
90
94
  "import": "./dist/Spinner.es.js"
91
95
  },
96
+ "./Steps": {
97
+ "types": "./dist/Steps.d.ts",
98
+ "import": "./dist/Steps.es.js"
99
+ },
92
100
  "./SwipeContainer": {
93
101
  "types": "./dist/SwipeContainer.d.ts",
94
102
  "import": "./dist/SwipeContainer.es.js"
@@ -125,6 +133,10 @@
125
133
  "types": "./dist/Icons.d.ts",
126
134
  "import": "./dist/Icons.es.js"
127
135
  },
136
+ "./InputMultiple": {
137
+ "types": "./dist/InputMultiple.d.ts",
138
+ "import": "./dist/InputMultiple.es.js"
139
+ },
128
140
  "./styles": "./dist/prometeo-design-system.css"
129
141
  },
130
142
  "files": [