prometeo-design-system 4.7.0 → 4.7.2

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 (129) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +1 -1
  3. package/dist/CardProfile.es.js +1 -1
  4. package/dist/CheckBox.es.js +1 -1
  5. package/dist/Chip.es.js +7 -7
  6. package/dist/DatePicker-CaeM0ulv.js +3741 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +81 -73
  9. package/dist/DrawerDesktop.es.js +1 -1
  10. package/dist/DrawerMobile.es.js +1 -1
  11. package/dist/DropZone.es.js +1 -1
  12. package/dist/FAButton.es.js +1 -1
  13. package/dist/Header.es.js +7 -7
  14. package/dist/{HelperComponent-DhGU_ug-.js → HelperComponent-ljsn0xD6.js} +1 -1
  15. package/dist/IconButton.es.js +11 -11
  16. package/dist/Icons/AccountCircle.es.js +1 -1
  17. package/dist/Icons/Add.es.js +1 -1
  18. package/dist/Icons/ArrowDownward.es.js +1 -1
  19. package/dist/Icons/ArrowLeft.es.js +1 -1
  20. package/dist/Icons/ArrowUpDown.es.js +1 -1
  21. package/dist/Icons/ArrowUpward.es.js +1 -1
  22. package/dist/Icons/AttachFile.es.js +1 -1
  23. package/dist/Icons/Boards.es.js +1 -1
  24. package/dist/Icons/Calendar.es.js +1 -1
  25. package/dist/Icons/Cancel.es.js +1 -1
  26. package/dist/Icons/Check.es.js +1 -1
  27. package/dist/Icons/CheckCircle.es.js +1 -1
  28. package/dist/Icons/CheckList.es.js +1 -1
  29. package/dist/Icons/ChevronDown.es.js +1 -1
  30. package/dist/Icons/Clock.es.js +1 -1
  31. package/dist/Icons/Close.es.js +1 -1
  32. package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
  33. package/dist/Icons/Collapse.es.js +1 -1
  34. package/dist/Icons/Company.es.js +1 -1
  35. package/dist/Icons/Copy.es.js +1 -1
  36. package/dist/Icons/CrevronLeft.es.js +1 -1
  37. package/dist/Icons/CrevronRight.es.js +1 -1
  38. package/dist/Icons/DocumentFill.es.js +1 -1
  39. package/dist/Icons/Download.es.js +1 -1
  40. package/dist/Icons/DragIndicator.es.js +1 -1
  41. package/dist/Icons/Edit.es.js +1 -1
  42. package/dist/Icons/EditFill.es.js +1 -1
  43. package/dist/Icons/Email.es.js +1 -1
  44. package/dist/Icons/Error.es.js +1 -1
  45. package/dist/Icons/EyeVisibility.es.js +1 -1
  46. package/dist/Icons/EyeVisibilityOff.es.js +1 -1
  47. package/dist/Icons/FaLock.es.js +1 -1
  48. package/dist/Icons/FastForward.es.js +1 -1
  49. package/dist/Icons/File.es.js +1 -1
  50. package/dist/Icons/Filter.es.js +1 -1
  51. package/dist/Icons/FormatColorText.es.js +1 -1
  52. package/dist/Icons/Help.es.js +1 -1
  53. package/dist/Icons/HistoryActivity.es.js +1 -1
  54. package/dist/Icons/Home.es.js +1 -1
  55. package/dist/Icons/Image.es.js +1 -1
  56. package/dist/Icons/Info.es.js +1 -1
  57. package/dist/Icons/Logout.es.js +1 -1
  58. package/dist/Icons/MessageSquare.es.js +1 -1
  59. package/dist/Icons/MessageSquareFill.es.js +1 -1
  60. package/dist/Icons/MoreVert.es.js +1 -1
  61. package/dist/Icons/Notifications.es.js +1 -1
  62. package/dist/Icons/Pause.es.js +1 -1
  63. package/dist/Icons/Reassignment.es.js +1 -1
  64. package/dist/Icons/ReassignmentFill.es.js +1 -1
  65. package/dist/Icons/Reload.es.js +1 -1
  66. package/dist/Icons/Search.es.js +1 -1
  67. package/dist/Icons/Send.es.js +1 -1
  68. package/dist/Icons/Settings.es.js +1 -1
  69. package/dist/Icons/Shared.es.js +1 -1
  70. package/dist/Icons/Sort.es.js +1 -1
  71. package/dist/Icons/StarFill.es.js +1 -1
  72. package/dist/Icons/Stars.es.js +1 -1
  73. package/dist/Icons/Ticket.es.js +1 -1
  74. package/dist/Icons/TicketFilled.es.js +1 -1
  75. package/dist/Icons/Trash.es.js +1 -1
  76. package/dist/Icons/TrashFill.es.js +1 -1
  77. package/dist/Icons/Upload.es.js +1 -1
  78. package/dist/Icons/UploadCloud.es.js +1 -1
  79. package/dist/Icons/UserAdd.es.js +1 -1
  80. package/dist/Icons/UserAddFill.es.js +1 -1
  81. package/dist/Icons/UserAvatar.es.js +1 -1
  82. package/dist/Icons/UserPerson.es.js +1 -1
  83. package/dist/Icons/WhatsApp.es.js +1 -1
  84. package/dist/Image.es.js +1 -1
  85. package/dist/{ImageGallery-4DdXqwRy.js → ImageGallery-DG9ovlQ-.js} +1 -1
  86. package/dist/ImageGallery.es.js +1 -1
  87. package/dist/Input.es.js +6 -6
  88. package/dist/InputMultiple.es.js +33 -32
  89. package/dist/Logo.es.js +1 -1
  90. package/dist/Menu.es.js +1 -1
  91. package/dist/NotificationCard.es.js +1 -1
  92. package/dist/OtpInput.es.js +1 -1
  93. package/dist/Pagination.es.js +1 -1
  94. package/dist/PlainTooltip.es.js +1 -1
  95. package/dist/ProfilePictureUpload.es.js +1 -1
  96. package/dist/ProgressBar.es.js +1 -1
  97. package/dist/PyrionLayout.es.js +3 -3
  98. package/dist/RadioButton.es.js +2 -2
  99. package/dist/RecurrentDatePicker.es.js +3 -3
  100. package/dist/RecurrentDatePickerRRule.es.js +2 -4
  101. package/dist/Scrollable.es.js +1 -1
  102. package/dist/SegmentedButton.es.js +1 -1
  103. package/dist/Select.es.js +161 -165
  104. package/dist/SelectSearch.es.js +1 -1
  105. package/dist/Skeleton.es.js +1 -1
  106. package/dist/Spinner.es.js +1 -1
  107. package/dist/Steps.es.js +1 -1
  108. package/dist/Switch.es.js +7 -7
  109. package/dist/{TabLinks-C0ywjYt-.js → TabLinks-DnoWdrdk.js} +2 -2
  110. package/dist/TabLinks.es.js +1 -1
  111. package/dist/Table.es.js +1 -1
  112. package/dist/TextArea.es.js +116 -84
  113. package/dist/TicketCard.es.js +1 -1
  114. package/dist/Toast.es.js +1 -1
  115. package/dist/ToastProvider.es.js +1 -1
  116. package/dist/Tooltip.es.js +1 -1
  117. package/dist/UserCard.es.js +1 -1
  118. package/dist/assets/DialogModalSizes.png +0 -0
  119. package/dist/{badge-CiiB9SGl.js → badge-BEx-0Q-K.js} +1 -1
  120. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  121. package/dist/components/Dialog/Dialog.d.ts +1 -0
  122. package/dist/components/InputMultiple/InputMultiple.d.ts +2 -1
  123. package/dist/components/TextArea/TextArea.d.ts +3 -0
  124. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-GkKLlHH4.js} +2 -20
  125. package/dist/prometeo-design-system.es.js +5 -5
  126. package/dist/styles.css +1 -1
  127. package/package.json +3 -2
  128. package/src/styles/base.css +5 -0
  129. package/dist/DatePicker-n6qm0fey.js +0 -3573
@@ -1,4 +1,4 @@
1
- import { D as r, D as t } from "./DatePicker-n6qm0fey.js";
1
+ import { D as r, D as t } from "./DatePicker-CaeM0ulv.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as default
@@ -1,32 +1,38 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { forwardRef as Q, memo as j, useState as L, useRef as F, useCallback as x, useImperativeHandle as W, Children as R, isValidElement as U } from "react";
3
- import { createPortal as X } from "react-dom";
4
- import { c as p } from "./cn-B6yFEsav.js";
5
- const V = Q(
6
- ({ children: t, onClose: n, className: o, attachToParent: s = !1, zindex: v = 40, debugMode: a = !1, safeMarginSize: _ = 24, title: T, scroll: m = "content" }, $) => {
7
- const [N, z] = L(!1), [D, O] = L(null), k = F(n), w = F(D);
8
- k.current = n, w.current = D;
9
- const P = x((f) => {
10
- O(f ?? null), z(!0);
11
- }, []), E = x(() => {
12
- z(!1), k.current?.(w.current), setTimeout(() => O(null), 300);
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
+ import { forwardRef as W, memo as y, useState as G, useRef as z, useCallback as u, useImperativeHandle as X, Children as R, isValidElement as L } from "react";
3
+ import { createPortal as Y } from "react-dom";
4
+ import { c as m } from "./cn-B6yFEsav.js";
5
+ import { c as Z } from "./index-BOQuZ0gG.js";
6
+ const U = W(
7
+ ({ children: t, onClose: n, className: o, attachToParent: s = !1, zindex: j = 40, debugMode: a = !1, safeMarginSize: V = 24, title: F, scroll: f = "content", size: _ = "medium" }, q) => {
8
+ const [v, T] = G(!1), [N, O] = G(null), k = z(n), D = z(N);
9
+ k.current = n, D.current = N;
10
+ const P = u((c) => {
11
+ O(c ?? null), T(!0);
12
+ }, []), w = u(() => {
13
+ T(!1), k.current?.(D.current), setTimeout(() => O(null), 300);
13
14
  }, []);
14
- W(
15
- $,
15
+ X(
16
+ q,
16
17
  () => ({
17
18
  open: P,
18
- close: E,
19
- isOpen: N,
20
- getContext: () => w.current
19
+ close: w,
20
+ isOpen: v,
21
+ getContext: () => D.current
21
22
  }),
22
- [P, E, N]
23
+ [P, w, v]
23
24
  );
24
- const q = `max-[500px]:max-w-[calc(100%-32px)]
25
- max-[1200px]:max-w-[min(800px,calc(100%-32px))]
26
- min-[1200px]:max-w-[min(1224px,calc(100%-100px))] min-[1200px]:min-w-[1100px]`;
27
- let C, b;
28
- typeof t == "function" ? (console.log("es un child de tipo function"), C = t(D), b = R.toArray(C), console.log(b, "Child array")) : (C = t, b = R.toArray(C));
29
- const B = (f) => {
25
+ const B = Z("max-h-[calc(100%-80px)]", {
26
+ variants: {
27
+ size: {
28
+ medium: " max-w-[min(740px,calc(100%-32px))]",
29
+ large: " max-w-[min(1224px,calc(100%-80px))]"
30
+ }
31
+ }
32
+ });
33
+ let b, E;
34
+ typeof t == "function" ? (b = t(N), E = R.toArray(b)) : (b = t, E = R.toArray(b));
35
+ const J = (c) => {
30
36
  const l = {
31
37
  header: null,
32
38
  titleContent: null,
@@ -34,7 +40,7 @@ const V = Q(
34
40
  footer: null,
35
41
  middleChildren: []
36
42
  }, S = (r) => {
37
- if (!U(r)) {
43
+ if (!L(r)) {
38
44
  l.middleChildren.push(r);
39
45
  return;
40
46
  }
@@ -42,14 +48,14 @@ const V = Q(
42
48
  l.titleContent = r;
43
49
  return;
44
50
  }
45
- if (r.type === d && !l.header) {
51
+ if (r.type === p && !l.header) {
46
52
  const i = r.props;
47
- l.header = /* @__PURE__ */ e.jsx(d, { ...i, debugMode: a, children: i.children });
53
+ l.header = /* @__PURE__ */ e.jsx(p, { ...i, debugMode: a, children: i.children });
48
54
  return;
49
55
  }
50
- if (r.type === u && !l.content) {
56
+ if (r.type === x && !l.content) {
51
57
  const i = r.props;
52
- l.content = /* @__PURE__ */ e.jsx(u, { ...i, debugMode: a, scroll: m, children: i.children });
58
+ l.content = /* @__PURE__ */ e.jsx(x, { ...i, debugMode: a, scroll: f, children: i.children });
53
59
  return;
54
60
  }
55
61
  if (r.type === h && !l.footer) {
@@ -57,41 +63,43 @@ const V = Q(
57
63
  l.footer = /* @__PURE__ */ e.jsx(h, { ...i, debugMode: a, children: i.children });
58
64
  return;
59
65
  }
60
- const G = r.props;
61
- G?.children && R.toArray(G.children).forEach(S), r.type !== d && r.type !== u && r.type !== h && r.type !== g && l.middleChildren.push(r);
66
+ const $ = r.props;
67
+ $?.children && R.toArray($.children).forEach(S), r.type !== p && r.type !== x && r.type !== h && r.type !== g && l.middleChildren.push(r);
62
68
  };
63
- return f.forEach(S), l;
69
+ return c.forEach(S), l;
64
70
  };
65
- let { header: c, titleContent: y, content: J, footer: K, middleChildren: A } = B(b);
66
- if (!c && T && (c = /* @__PURE__ */ e.jsx(d, { title: T, debugMode: a }), y = null), c && y && U(c)) {
67
- const f = c.props;
68
- f.title && (c = /* @__PURE__ */ e.jsx(d, { ...f, title: "", debugMode: a, children: y }), y = null);
71
+ let { header: d, titleContent: C, content: K, footer: Q, middleChildren: A } = J(E);
72
+ if (!d && F && (d = /* @__PURE__ */ e.jsx(p, { title: F, debugMode: a }), C = null), d && C && L(d)) {
73
+ const c = d.props;
74
+ c.title && (d = /* @__PURE__ */ e.jsx(p, { ...c, title: "", debugMode: a, children: C }), C = null);
69
75
  }
70
- const H = J ?? (A.length ? /* @__PURE__ */ e.jsx(u, { debugMode: a, scroll: m, children: A }) : null), I = /* @__PURE__ */ e.jsx(e.Fragment, { children: N && /* @__PURE__ */ e.jsx(
76
+ const H = K ?? (A.length ? /* @__PURE__ */ e.jsx(x, { debugMode: a, scroll: f, children: A }) : null), I = /* @__PURE__ */ e.jsx(e.Fragment, { children: v && /* @__PURE__ */ e.jsx(
71
77
  "div",
72
78
  {
73
79
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",
74
- style: { zIndex: v },
75
- onClick: E,
80
+ style: { zIndex: j },
81
+ onClick: w,
76
82
  children: /* @__PURE__ */ e.jsxs(
77
83
  "div",
78
84
  {
79
- onClick: (f) => f.stopPropagation(),
80
- className: p(
85
+ onClick: (c) => c.stopPropagation(),
86
+ className: m(
81
87
  "bg-neutral-default-default rounded-lg shadow-lg border-neutral-strong-default border relative ",
82
- "max-h-[calc(100%-128px)] h-dvh w-full",
88
+ `w-auto ${f === "content" ? "" : "prometeo-scrollbar-thin!"}`,
89
+ f === "dialog" && "overflow-auto ",
90
+ f === "content" && "",
83
91
  "flex flex-col ",
84
- q,
92
+ B({ size: _ }),
85
93
  o
86
94
  ),
87
95
  style: {
88
- "--safe-margin-size": `${_}px`
96
+ "--safe-margin-size": `${V}px`
89
97
  },
90
98
  children: [
91
99
  /* @__PURE__ */ e.jsx(
92
100
  "div",
93
101
  {
94
- className: p(
102
+ className: m(
95
103
  "absolute bg-transparent z-[-1] -top-(--safe-margin-size) -left-(--safe-margin-size) -right-(--safe-margin-size) -bottom-(--safe-margin-size)",
96
104
  a && "after:content-['SECURE_MARGIN'] after:text-red-300 after:prometeo-fonts-label-small after:ml-2 "
97
105
  ),
@@ -101,26 +109,26 @@ const V = Q(
101
109
  }
102
110
  }
103
111
  ),
104
- /* @__PURE__ */ e.jsxs("div", { className: p(
105
- "flex flex-col h-full",
106
- m === "dialog" && "overflow-y-auto",
107
- m === "content" && "overflow-hidden"
112
+ /* @__PURE__ */ e.jsxs("div", { className: m(
113
+ "flex flex-col h-auto prometeo-scrollbar-thin!",
114
+ f === "dialog" && "overflow-hidden min-w-max min-h-max",
115
+ f === "content" && "overflow-hidden"
108
116
  ), children: [
109
- c,
110
- m === "dialog" ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-col flex-1", children: H }) : H,
111
- K
117
+ d,
118
+ f === "dialog" ? /* @__PURE__ */ e.jsx("div", { className: "flex flex-col flex-1", children: H }) : H,
119
+ Q
112
120
  ] })
113
121
  ]
114
122
  }
115
123
  )
116
124
  }
117
125
  ) });
118
- return s ? I : X(I, document.body);
126
+ return s ? I : Y(I, document.body);
119
127
  }
120
128
  );
121
- V.displayName = "Dialog";
122
- const u = j(({ children: t, className: n, debugMode: o, scroll: s }) => /* @__PURE__ */ e.jsx("div", { className: p(
123
- "flex flex-col p-4",
129
+ U.displayName = "Dialog";
130
+ const x = y(({ children: t, className: n, debugMode: o, scroll: s }) => /* @__PURE__ */ e.jsx("div", { className: m(
131
+ "flex flex-col p-4 prometeo-scrollbar-thin!",
124
132
  o && "border-2 border-dashed border-red-500 bg-red-200/40 relative after:content-['CONTENT'] after:absolute after:top-2 after:left-1/2 after:w-max after:h-full after:text-red-500 ",
125
133
  n,
126
134
  // Para scroll='content', este componente necesita su propio scroll y altura mínima
@@ -128,10 +136,10 @@ const u = j(({ children: t, className: n, debugMode: o, scroll: s }) => /* @__PU
128
136
  // Para scroll='dialog', el contenido debe ocupar todo el espacio disponible pero sin scroll
129
137
  s === "dialog" && "flex-1 min-h-max "
130
138
  ), children: t }));
131
- u.displayName = "DialogContent";
132
- const g = j(({ children: t, className: n, debugMode: o }) => /* @__PURE__ */ e.jsx("h1", { className: p("prometeo-fonts-headline-small text-neutral-strong-default w-max", o && 'bg-red-400/40 relative after:content-["TITLE"] after:absolute after:top-0 after:-translate-y-5 after:left-0 after:w-max after:h-full after:text-red-500 after:prometeo-fonts-label-large', n), children: t }));
139
+ x.displayName = "DialogContent";
140
+ const g = y(({ children: t, className: n, debugMode: o }) => /* @__PURE__ */ e.jsx("h1", { className: m("prometeo-fonts-headline-small text-neutral-strong-default w-max", o && 'bg-red-400/40 relative after:content-["TITLE"] after:absolute after:top-0 after:-translate-y-5 after:left-0 after:w-max after:h-full after:text-red-500 after:prometeo-fonts-label-large', n), children: t }));
133
141
  g.displayName = "DialogTitle";
134
- const d = j(({ children: t, className: n, title: o, debugMode: s }) => /* @__PURE__ */ e.jsxs("div", { className: p(
142
+ const p = y(({ children: t, className: n, title: o, debugMode: s }) => /* @__PURE__ */ e.jsxs("div", { className: m(
135
143
  "p-4",
136
144
  s && "border-2 border-dashed border-red-600 bg-red-200/40! relative after:content-['HEADER'] after:absolute after:top-1 after:left-1/2 after:w-max after:h-full after:text-red-500",
137
145
  n
@@ -139,35 +147,35 @@ const d = j(({ children: t, className: n, title: o, debugMode: s }) => /* @__PUR
139
147
  o && /* @__PURE__ */ e.jsx(g, { debugMode: s, children: o }),
140
148
  t
141
149
  ] }));
142
- d.displayName = "DialogHeader";
143
- const h = j(({ children: t, className: n, debugMode: o }) => /* @__PURE__ */ e.jsx("div", { className: p(
150
+ p.displayName = "DialogHeader";
151
+ const h = y(({ children: t, className: n, debugMode: o }) => /* @__PURE__ */ e.jsx("div", { className: m(
144
152
  o && "border-2 border-dashed border-red-600 bg-red-200/40! relative after:content-['FOOTER'] after:absolute after:top-1 after:left-1/2 after:w-max after:h-full after:text-red-500",
145
- "border-t border-neutral-strong-default p-4",
153
+ "border-t border-neutral-strong-default p-4 w-full",
146
154
  n
147
155
  ), children: t }));
148
156
  h.displayName = "DialogFooter";
149
- const Y = Object.assign(V, {
150
- Content: u,
151
- Header: d,
157
+ const M = Object.assign(U, {
158
+ Content: x,
159
+ Header: p,
152
160
  Footer: h,
153
161
  Title: g
154
162
  });
155
- Y.displayName = "DialogModal";
156
- const re = () => {
157
- const t = F(null), n = x((a) => {
163
+ M.displayName = "DialogModal";
164
+ const ae = () => {
165
+ const t = z(null), n = u((a) => {
158
166
  t.current?.open(a);
159
- }, []), o = x(() => {
167
+ }, []), o = u(() => {
160
168
  t.current?.close();
161
- }, []), s = x(() => t.current?.isOpen ?? !1, []), v = x(() => t.current?.getContext() ?? null, []);
169
+ }, []), s = u(() => t.current?.isOpen ?? !1, []), j = u(() => t.current?.getContext() ?? null, []);
162
170
  return {
163
171
  ref: t,
164
172
  open: n,
165
173
  close: o,
166
174
  isOpen: s,
167
- getContext: v
175
+ getContext: j
168
176
  };
169
177
  };
170
178
  export {
171
- Y as default,
172
- re as useDialogControl
179
+ M as default,
180
+ ae as useDialogControl
173
181
  };
@@ -1,4 +1,4 @@
1
- import { j as m } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as m } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as R } from "./cn-B6yFEsav.js";
3
3
  import { c as j } from "./index-BOQuZ0gG.js";
4
4
  import { createPortal as B } from "react-dom";
@@ -1,4 +1,4 @@
1
- import { j as m } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as m } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as _ } from "./cn-B6yFEsav.js";
3
3
  import { forwardRef as V, useState as $, useRef as v, useEffect as y, useCallback as c, useMemo as Q, useImperativeHandle as X } from "react";
4
4
  import { createPortal as Z } from "react-dom";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import P, { useCallback as R } from "react";
4
4
  import { useDropzone as z } from "react-dropzone";
@@ -1,4 +1,4 @@
1
- import { j as c } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as c } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import u, { memo as n } from "react";
3
3
  import { c as f } from "./cn-B6yFEsav.js";
4
4
  import { createPortal as v } from "react-dom";
package/dist/Header.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { j as s } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as s } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
- import { motion as o } from "framer-motion";
3
+ import { motion as n } from "framer-motion";
4
4
  import { memo as f } from "react";
5
- const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName: r, titleClassName: n, mainActionSlot: a, secondarySlot: t }) => /* @__PURE__ */ s.jsxs(
6
- o.header,
5
+ const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName: r, titleClassName: o, mainActionSlot: a, secondarySlot: t }) => /* @__PURE__ */ s.jsxs(
6
+ n.header,
7
7
  {
8
8
  initial: { opacity: 0, y: -10 },
9
9
  animate: { opacity: 1, y: 0 },
@@ -13,14 +13,14 @@ const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName
13
13
  d
14
14
  ),
15
15
  children: [
16
- /* @__PURE__ */ s.jsxs("div", { className: "md:w-full min-h-12 md:px-3 flex justify-between", children: [
16
+ /* @__PURE__ */ s.jsxs("div", { className: "md:w-full md:px-3 flex justify-between", children: [
17
17
  a && /* @__PURE__ */ s.jsx("div", { className: "", children: typeof a == "function" ? a() : a }),
18
18
  t && /* @__PURE__ */ s.jsx("div", { className: "hidden md:flex", children: typeof t == "function" ? t() : t })
19
19
  ] }),
20
- /* @__PURE__ */ s.jsxs("div", { className: "w-full min-h-12 flex justify-between md:px-6", children: [
20
+ /* @__PURE__ */ s.jsxs("div", { className: "w-full flex justify-between md:px-6", children: [
21
21
  /* @__PURE__ */ s.jsxs("div", { className: i("flex flex-col leading-6 justify-center relative overflow-hidden"), children: [
22
22
  l && /* @__PURE__ */ s.jsx("h3", { className: i(" prometeo-fonts-body-small md:prometeo-fonts-body-medium text-neutral-medium-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full", r), children: l }),
23
- e && /* @__PURE__ */ s.jsx("h1", { className: i("prometeo-fonts-headline-xsmall md:prometeo-fonts-headline-small text-neutral-strong-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full wrap-break-word", n), children: e })
23
+ e && /* @__PURE__ */ s.jsx("h1", { className: i("prometeo-fonts-headline-xsmall md:prometeo-fonts-headline-small text-neutral-strong-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full wrap-break-word", o), children: e })
24
24
  ] }),
25
25
  m,
26
26
  t && /* @__PURE__ */ s.jsx("div", { className: "md:hidden", children: typeof t == "function" ? t() : t })
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as c } from "react";
3
3
  import { c as r } from "./cn-B6yFEsav.js";
4
4
  import { Check as i } from "./Icons/Check.es.js";
@@ -1,4 +1,4 @@
1
- import { j as a } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as a } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as A, useMemo as M, isValidElement as h } from "react";
3
3
  import { i as v } from "./iconUtils-rTOfKDxE.js";
4
4
  import T from "./Spinner.es.js";
@@ -131,7 +131,7 @@ const g = {
131
131
  false: {
132
132
  icon: ""
133
133
  }
134
- }, q = I(V.container, {
134
+ }, _ = I(V.container, {
135
135
  variants: {
136
136
  size: {
137
137
  small: `${c.small.container} ${g.small.container}`,
@@ -233,11 +233,11 @@ const g = {
233
233
  color: "primary",
234
234
  animateIcon: !0
235
235
  }
236
- }), D = ({
237
- onClick: $,
236
+ }), q = ({
237
+ onClick: N,
238
238
  icon: d,
239
239
  contentClassName: p,
240
- animate: N = !1,
240
+ animate: $ = !1,
241
241
  animateIcon: k = !1,
242
242
  isLoading: n = !1,
243
243
  children: r,
@@ -251,11 +251,11 @@ const g = {
251
251
  size: s = "medium",
252
252
  color: C = "primary"
253
253
  }) => {
254
- const u = !!(k && !m && !n), E = !!(N && !m && !n), l = m || n ? "disabled" : C, R = M(() => {
254
+ const u = !!(k && !m && !n), E = !!($ && !m && !n), l = m || n ? "disabled" : C, R = M(() => {
255
255
  if (n)
256
256
  return /* @__PURE__ */ a.jsx("div", { className: "flex items-center justify-center", children: !b && x });
257
257
  let t = null;
258
- if (console.log(typeof r), r)
258
+ if (r)
259
259
  if (h(r))
260
260
  v(r.type) ? t = t = /* @__PURE__ */ a.jsx(
261
261
  "span",
@@ -333,7 +333,7 @@ const g = {
333
333
  type: S,
334
334
  className: y(
335
335
  "group",
336
- q({
336
+ _({
337
337
  size: s,
338
338
  variant: i,
339
339
  color: l,
@@ -343,11 +343,11 @@ const g = {
343
343
  ),
344
344
  disabled: m || n,
345
345
  form: B,
346
- onClick: $,
346
+ onClick: N,
347
347
  children: /* @__PURE__ */ a.jsx("div", { className: `flex items-center gap-1 ${p}`, children: R })
348
348
  }
349
349
  );
350
- }, P = A(D);
350
+ }, O = A(q);
351
351
  export {
352
- P as default
352
+ O as default
353
353
  };
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = o(
4
4
  ({ size: q = 24, className: T, ...m }) => /* @__PURE__ */ t.jsx(
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = s(({ size: t = 24, className: r, ...h }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = s(({ size: r = 24, className: t, ...m }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const h = e(({ size: r = 24, className: o, ...s }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as l } from "../iconUtils-rTOfKDxE.js";
3
3
  const h = l(
4
4
  ({ size: o = 24, className: t, ...s }) => /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-rTOfKDxE.js";
3
3
  const h = s(({ size: r = 24, className: t, ...m }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as v } from "../iconUtils-rTOfKDxE.js";
3
3
  const h = v(({ size: t = 24, className: r, ...q }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as v } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = v(({ size: o = 24, className: t, ...m }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as T } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as T } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as t } from "../iconUtils-rTOfKDxE.js";
3
3
  const o = t(({ size: q = 24, className: m, ...r }) => /* @__PURE__ */ T.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as L } from "../iconUtils-rTOfKDxE.js";
3
3
  const m = L(({ size: C = 24, className: o, ...r }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const i = e(({ size: t = 24, className: r, ...s }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const i = e(
4
4
  ({ size: C = 24, className: t, ...o }) => /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as L } from "../iconUtils-rTOfKDxE.js";
3
3
  const m = L(({ size: t = 24, className: s, ...o }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const h = e(
4
4
  ({ size: o = 24, className: t, ...s }) => /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as q } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = q(({ size: o = 24, className: r, ...m }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m } from "../iconUtils-rTOfKDxE.js";
3
3
  const l = m(({ size: o = 24, className: r, ...s }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as s } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as s } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as a } from "../iconUtils-rTOfKDxE.js";
3
3
  const o = a(
4
4
  ({ size: t = 24, className: r, ...e }) => /* @__PURE__ */ s.jsxs(
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as h } from "../iconUtils-rTOfKDxE.js";
3
3
  const v = h(({ size: o = 24, className: r, ...s }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as V } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as V } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-rTOfKDxE.js";
3
3
  const M = o(({ size: H = 24, className: t, ...r }) => /* @__PURE__ */ V.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as v } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = v(({ size: o = 24, className: r, ...m }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-rTOfKDxE.js";
3
3
  const i = s(
4
4
  ({ size: r = 24, className: o, ...e }) => /* @__PURE__ */ t.jsx(
@@ -1,4 +1,4 @@
1
- import { j as t } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const n = e(
4
4
  ({ size: r = 24, className: o, ...s }) => /* @__PURE__ */ t.jsx(
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as e } from "../iconUtils-rTOfKDxE.js";
3
3
  const m = e(
4
4
  ({ size: t = 24, className: o, ...s }) => /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as a } from "../iconUtils-rTOfKDxE.js";
3
3
  const l = a(({ size: t = 24, className: o, ...s }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as T } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as T } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = o(({ size: q = 24, className: r, ...t }) => /* @__PURE__ */ T.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-rTOfKDxE.js";
3
3
  const i = s(({ size: t = 24, className: r, ...m }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as a } from "../iconUtils-rTOfKDxE.js";
3
3
  const m = a(({ size: t = 24, className: o, ...s }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as r } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as a } from "../iconUtils-rTOfKDxE.js";
3
3
  const l = a(({ size: t = 24, className: o, ...s }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m } from "../iconUtils-rTOfKDxE.js";
3
3
  const e = m(({ size: t = 24, className: r, ...o }) => /* @__PURE__ */ q.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as T } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as T } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-rTOfKDxE.js";
3
3
  const s = o(
4
4
  ({ size: q = 24, className: t, ...m }) => /* @__PURE__ */ T.jsx(
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as r } from "../iconUtils-rTOfKDxE.js";
3
3
  const s = r(
4
4
  ({ size: t = 24, className: m, ...o }) => /* @__PURE__ */ q.jsx(