prometeo-design-system 3.1.2 → 3.1.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 (147) hide show
  1. package/dist/Avatar.es.js +44 -38
  2. package/dist/Button.es.js +27 -27
  3. package/dist/{CardProfile-Ct5Fs60N.js → CardProfile-y9Knsg26.js} +41 -40
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +1 -1
  6. package/dist/DatePicker-CehTiXGa.js +3631 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +1 -1
  9. package/dist/DrawerDesktop.es.js +78 -72
  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 +4 -4
  14. package/dist/{HelperComponent-DhGU_ug-.js → HelperComponent-ljsn0xD6.js} +1 -1
  15. package/dist/Icons/AccountCircle.es.js +1 -1
  16. package/dist/Icons/Add.es.js +1 -1
  17. package/dist/Icons/ArrowLeft.es.js +1 -1
  18. package/dist/Icons/ArrowUpDown.es.js +1 -1
  19. package/dist/Icons/AttachFile.es.js +1 -1
  20. package/dist/Icons/Boards.es.js +1 -1
  21. package/dist/Icons/Calendar.es.js +1 -1
  22. package/dist/Icons/Cancel.es.js +1 -1
  23. package/dist/Icons/Check.es.js +1 -1
  24. package/dist/Icons/CheckCircle.es.js +1 -1
  25. package/dist/Icons/CheckList.es.js +1 -1
  26. package/dist/Icons/ChevronDown.es.js +1 -1
  27. package/dist/Icons/Clock.es.js +1 -1
  28. package/dist/Icons/Close.es.js +1 -1
  29. package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
  30. package/dist/Icons/Collapse.es.js +1 -1
  31. package/dist/Icons/Company.es.js +1 -1
  32. package/dist/Icons/Copy.es.js +1 -1
  33. package/dist/Icons/CrevronLeft.es.js +1 -1
  34. package/dist/Icons/CrevronRight.es.js +1 -1
  35. package/dist/Icons/DocumentFill.es.js +1 -1
  36. package/dist/Icons/Download.es.js +1 -1
  37. package/dist/Icons/Edit.es.js +1 -1
  38. package/dist/Icons/EditFill.es.js +1 -1
  39. package/dist/Icons/Email.es.js +1 -1
  40. package/dist/Icons/Error.es.js +1 -1
  41. package/dist/Icons/EyeVisibility.es.js +1 -1
  42. package/dist/Icons/EyeVisibilityOff.es.js +1 -1
  43. package/dist/Icons/FaLock.es.js +1 -1
  44. package/dist/Icons/FastForward.es.js +1 -1
  45. package/dist/Icons/File.es.js +1 -1
  46. package/dist/Icons/Filter.es.js +1 -1
  47. package/dist/Icons/FormatColorText.es.js +1 -1
  48. package/dist/Icons/Help.es.js +1 -1
  49. package/dist/Icons/HistoryActivity.es.js +1 -1
  50. package/dist/Icons/Home.es.js +1 -1
  51. package/dist/Icons/Image.es.js +1 -1
  52. package/dist/Icons/Info.es.js +1 -1
  53. package/dist/Icons/Logout.es.js +1 -1
  54. package/dist/Icons/MessageSquare.es.js +1 -1
  55. package/dist/Icons/MessageSquareFill.es.js +1 -1
  56. package/dist/Icons/MoreVert.es.js +1 -1
  57. package/dist/Icons/Notifications.es.js +1 -1
  58. package/dist/Icons/Pause.es.js +1 -1
  59. package/dist/Icons/Reload.es.js +1 -1
  60. package/dist/Icons/Search.es.js +1 -1
  61. package/dist/Icons/Settings.es.js +1 -1
  62. package/dist/Icons/Shared.es.js +1 -1
  63. package/dist/Icons/Sort.es.js +1 -1
  64. package/dist/Icons/Stars.es.js +1 -1
  65. package/dist/Icons/Ticket.es.js +1 -1
  66. package/dist/Icons/TicketFilled.es.js +1 -1
  67. package/dist/Icons/Trash.es.js +1 -1
  68. package/dist/Icons/TrashFill.es.js +1 -1
  69. package/dist/Icons/Upload.es.js +1 -1
  70. package/dist/Icons/UploadCloud.es.js +1 -1
  71. package/dist/Icons/UserAdd.es.js +1 -1
  72. package/dist/Icons/UserAddFill.es.js +1 -1
  73. package/dist/Icons/UserPerson.es.js +1 -1
  74. package/dist/Icons/WhatsApp.es.js +1 -1
  75. package/dist/Image.es.js +1 -1
  76. package/dist/{ImageGallery-4DdXqwRy.js → ImageGallery-DG9ovlQ-.js} +1 -1
  77. package/dist/ImageGallery.es.js +1 -1
  78. package/dist/Input.es.js +218 -2
  79. package/dist/InputMultiple.es.js +1 -1
  80. package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-CfWhV1ov.js} +6 -6
  81. package/dist/LayoutGeneric.es.js +1 -1
  82. package/dist/Logo.es.js +1 -1
  83. package/dist/Menu.es.js +1 -1
  84. package/dist/OtpInput.es.js +1 -1
  85. package/dist/Pagination.es.js +1 -1
  86. package/dist/ProfilePictureUpload.es.js +1 -1
  87. package/dist/ProgressBar.es.js +1 -1
  88. package/dist/RadioButton.es.js +2 -2
  89. package/dist/RecurrentDatePicker.es.js +7 -7
  90. package/dist/RecurrentDatePickerRRule.es.js +2 -4
  91. package/dist/Scrollable.d.ts +2 -0
  92. package/dist/Scrollable.es.js +260 -0
  93. package/dist/SegmentedButton.es.js +1 -1
  94. package/dist/{Select-DW30oGym.js → Select-BdxmkrjB.js} +14 -13
  95. package/dist/Select.es.js +1 -1
  96. package/dist/SelectSearch.d.ts +2 -0
  97. package/dist/SelectSearch.es.js +147 -131
  98. package/dist/Skeleton.es.js +1 -1
  99. package/dist/Spinner.es.js +1 -1
  100. package/dist/Steps.es.js +1 -1
  101. package/dist/SwipeContainer.es.js +1 -1
  102. package/dist/Switch.es.js +7 -7
  103. package/dist/TabLinks.es.js +9 -9
  104. package/dist/Table.es.js +1 -1
  105. package/dist/TextArea.es.js +1 -1
  106. package/dist/Toast.es.js +1 -1
  107. package/dist/ToastProvider.es.js +1 -1
  108. package/dist/Tooltip.es.js +1 -1
  109. package/dist/components/Avatar/Avatar.d.ts +1 -1
  110. package/dist/components/Drawer/DrawerDesktop.d.ts +1 -0
  111. package/dist/components/NavigationDrawer/NavItemSecondary.d.ts +1 -0
  112. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +41 -21
  113. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +16 -0
  114. package/dist/components/NavigationDrawer/NavigationDrawerActions.d.ts +9 -0
  115. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +18 -0
  116. package/dist/components/NavigationDrawer/{NavItem.d.ts → NavigationDrawerLinkItem.d.ts} +10 -4
  117. package/dist/components/NavigationDrawer/NavigationDrawerNavlinks.d.ts +11 -0
  118. package/dist/components/NotificationCard/NotificationCard.d.ts +25 -0
  119. package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +8 -0
  120. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +130 -0
  121. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +10 -0
  122. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +7 -0
  123. package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +8 -0
  124. package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +13 -0
  125. package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +12 -0
  126. package/dist/components/Scrollable/Scrollable.d.ts +31 -0
  127. package/dist/components/SelectSearch/SelectSearch.d.ts +6 -2
  128. package/dist/components/Sidebar/components/badge.d.ts +2 -1
  129. package/dist/components/TabSwitch/TabSwitch.d.ts +0 -20
  130. package/dist/components/TicketCard/TicketCard.d.ts +32 -0
  131. package/dist/components/UserCard/UserCard.d.ts +12 -0
  132. package/dist/exports/Scrollable.d.ts +2 -0
  133. package/dist/exports/SelectSearch.d.ts +2 -0
  134. package/dist/hooks/useLabelBackground.d.ts +1 -0
  135. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-GkKLlHH4.js} +2 -20
  136. package/dist/lib/utils.d.ts +2 -2
  137. package/dist/prometeo-design-system.es.js +54 -51
  138. package/dist/styles.css +1 -1
  139. package/dist/useLabelBackground-BDIHUdND.js +26 -0
  140. package/package.json +9 -5
  141. package/src/styles/base.css +47 -0
  142. package/src/styles/intellisense.css +1 -0
  143. package/src/styles/palette.css +3 -0
  144. package/src/styles/utilities.css +18 -0
  145. package/dist/DatePicker-D1EwMGIN.js +0 -3568
  146. package/dist/Input-EkMrxcNX.js +0 -241
  147. package/dist/components/PyrionNavigationDrawer/PyirionNavigationDrawer.d.ts +0 -40
package/dist/Avatar.es.js CHANGED
@@ -1,23 +1,23 @@
1
- import { j as s } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as a } from "./cn-B6yFEsav.js";
3
- import { useState as j } from "react";
4
- function C({
5
- imageUrl: e,
6
- sizeImage: l = "md",
7
- sizeFallback: t = "md",
8
- fallbackText: i = "Selene Soluciones",
9
- subImageUrl: x,
10
- borderColor: n = "white"
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
+ import { g as j } from "./useLabelBackground-BDIHUdND.js";
3
+ import { c as i } from "./cn-B6yFEsav.js";
4
+ import { useState as C, useRef as u, useLayoutEffect as v } from "react";
5
+ function R({
6
+ imageUrl: t,
7
+ sizeImage: a = "md",
8
+ sizeFallback: s = "md",
9
+ fallbackText: d = "Selene Soluciones",
10
+ subImageUrl: x
11
11
  }) {
12
- const [c, m] = j(!1), r = e && e.trim() !== "" && !c, d = (f) => f.split(" ").map((p) => p.charAt(0)).join("").toUpperCase().slice(0, 2), o = {
12
+ const [m, f] = C(!1), n = t && t.trim() !== "" && !m, h = (l) => l.split(" ").map((w) => w.charAt(0)).join("").toUpperCase().slice(0, 2), c = {
13
13
  xxxs: "w-6.5 h-6.5",
14
- xxs: "w-8.5 h-8.5",
14
+ xxs: "w-8 h-8",
15
15
  xs: "w-10 h-10",
16
16
  sm: "w-16 h-16",
17
17
  md: "w-24 h-24",
18
18
  lg: "w-32 h-32",
19
19
  xl: "w-40 h-40"
20
- }, h = {
20
+ }, g = {
21
21
  xxxs: "text-[12px]",
22
22
  xxs: "text-xs",
23
23
  xs: "text-sm",
@@ -25,55 +25,61 @@ function C({
25
25
  md: "text-2xl",
26
26
  lg: "text-3xl",
27
27
  xl: "text-4xl"
28
- }, u = {
28
+ }, b = {
29
29
  xxxs: "w-3 h-3",
30
- xxs: "w-4 h-4",
30
+ xxs: "w-[18px] h-[18px] bottom-0 right-0 translate-x-1/3 translate-y-1/3",
31
31
  xs: "w-5 h-5",
32
32
  sm: "w-8 h-8",
33
- md: "w-12 h-12",
34
- lg: "w-16 h-16",
35
- xl: "w-20 h-20"
36
- }, w = r ? l : t;
37
- return /* @__PURE__ */ s.jsxs("div", { className: "relative inline-block", children: [
38
- r ? /* @__PURE__ */ s.jsx(
33
+ md: "w-12 h-12 border-3",
34
+ lg: "w-16 h-16 border-4",
35
+ xl: "w-20 h-20 border-5"
36
+ }, p = n ? a : s, r = u(null), o = u(null);
37
+ return v(() => {
38
+ if (!r.current || !o.current) return;
39
+ const l = j(r.current);
40
+ o.current.style.borderColor = l;
41
+ }, []), /* @__PURE__ */ e.jsxs("div", { className: "relative inline-block min-w-max ", ref: r, children: [
42
+ n ? /* @__PURE__ */ e.jsx(
39
43
  "img",
40
44
  {
41
45
  onError: () => {
42
- m(!0);
46
+ f(!0);
43
47
  },
44
- src: e,
45
- className: `rounded-full object-cover ${o[l]}`,
46
- alt: "Profile"
48
+ src: t,
49
+ className: `rounded-full object-cover ${c[a]}`,
50
+ alt: "Profile",
51
+ draggable: !1
47
52
  }
48
- ) : /* @__PURE__ */ s.jsx(
53
+ ) : /* @__PURE__ */ e.jsx(
49
54
  "div",
50
55
  {
51
- className: ` flex items-center justify-center rounded-full aspect-square ${o[t]}`,
56
+ className: ` flex items-center justify-center rounded-full aspect-square ${c[s]}`,
52
57
  style: { backgroundColor: "#C6D2FF" },
53
- children: /* @__PURE__ */ s.jsx(
58
+ children: /* @__PURE__ */ e.jsx(
54
59
  "span",
55
60
  {
56
- className: a(
61
+ className: i(
57
62
  "text-[#312C85] font-semibold",
58
- h[t]
63
+ g[s]
59
64
  ),
60
- children: d(i)
65
+ children: h(d)
61
66
  }
62
67
  )
63
68
  },
64
69
  "initials"
65
70
  ),
66
- x && /* @__PURE__ */ s.jsx(
71
+ x && /* @__PURE__ */ e.jsx(
67
72
  "div",
68
73
  {
69
- className: a(
70
- "absolute bottom-[-10px] right-[-10px] rounded-full border-4 overflow-hidden bg-gray-900",
71
- u[w]
74
+ className: i(
75
+ "absolute bottom-[-10px] right-[-10px] rounded-full border-1 overflow-hidden bg-gray-900",
76
+ b[p]
72
77
  ),
73
- style: { borderColor: n },
74
- children: /* @__PURE__ */ s.jsx(
78
+ ref: o,
79
+ children: /* @__PURE__ */ e.jsx(
75
80
  "img",
76
81
  {
82
+ draggable: !1,
77
83
  src: x,
78
84
  alt: "Sub badge",
79
85
  className: "w-full h-full object-cover"
@@ -84,5 +90,5 @@ function C({
84
90
  ] });
85
91
  }
86
92
  export {
87
- C as default
93
+ R as default
88
94
  };
package/dist/Button.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { j as t } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as A, useMemo as E } from "react";
3
3
  import M from "./Spinner.es.js";
4
- import { c as v } from "./index-BOQuZ0gG.js";
5
- import { c as d } from "./cn-B6yFEsav.js";
6
- const m = {
4
+ import { c as p } from "./index-BOQuZ0gG.js";
5
+ import { c as m } from "./cn-B6yFEsav.js";
6
+ const v = {
7
7
  small: {
8
8
  container: "h-10 px-4 py-2"
9
9
  },
@@ -134,7 +134,7 @@ const m = {
134
134
  label: "prometeo-fonts-label-xlarge",
135
135
  icon: ""
136
136
  }
137
- }, p = {
137
+ }, g = {
138
138
  container: "flex justify-center items-center gap-1 w-max rounded-lg bg-transparent cursor-pointer transition-all ease-in-out duration-300 relative",
139
139
  label: "w-max transition-all ease-in-out duration-300",
140
140
  icon: "w-max transition-all ease-in-out duration-300 flex justify-center items-center"
@@ -152,12 +152,12 @@ const m = {
152
152
  false: {
153
153
  icon: ""
154
154
  }
155
- }, R = v(p.container, {
155
+ }, R = p(g.container, {
156
156
  variants: {
157
157
  size: {
158
- small: `${r.small.container} ${m.small.container}`,
159
- medium: `${r.medium.container} ${m.medium.container}`,
160
- large: `${r.large.container} ${m.large.container}`
158
+ small: `${r.small.container} ${v.small.container}`,
159
+ medium: `${r.medium.container} ${v.medium.container}`,
160
+ large: `${r.large.container} ${v.large.container}`
161
161
  },
162
162
  variant: {
163
163
  fill: "",
@@ -203,7 +203,7 @@ const m = {
203
203
  color: "primary",
204
204
  animation: !0
205
205
  }
206
- }), V = v(p.label, {
206
+ }), V = p(g.label, {
207
207
  variants: {
208
208
  size: {
209
209
  small: r.small.label,
@@ -249,7 +249,7 @@ const m = {
249
249
  variant: "fill",
250
250
  color: "primary"
251
251
  }
252
- }), q = v(p.icon, {
252
+ }), q = p(g.icon, {
253
253
  variants: {
254
254
  size: {
255
255
  small: r.small.icon,
@@ -301,15 +301,15 @@ const m = {
301
301
  animateIcon: !0
302
302
  }
303
303
  }), D = ({
304
- label: g,
304
+ label: i,
305
305
  onClick: j,
306
- icon: i,
307
- contentClassName: u,
306
+ icon: u,
307
+ contentClassName: c,
308
308
  loadingText: f = "Cargando...",
309
- animate: k = !0,
310
- animateIcon: $ = !0,
309
+ animate: k = !1,
310
+ animateIcon: $ = !1,
311
311
  isLoading: a = !1,
312
- children: c,
312
+ children: d,
313
313
  hideSpinner: b = !1,
314
314
  spinner: x = /* @__PURE__ */ t.jsx(M, { size: "small", variant: "clip", color: "var(--neutral-600)", className: "size-4 " }),
315
315
  type: N,
@@ -320,12 +320,12 @@ const m = {
320
320
  size: o = "medium",
321
321
  color: S = "primary"
322
322
  }) => {
323
- const h = !!($ && !s && !a), B = !!(k && !s && !a), n = s || a ? "disabled" : S, C = E(() => c || (a ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
323
+ const h = !!($ && !s && !a), B = !!(k && !s && !a), n = s || a ? "disabled" : S, C = E(() => d || (a ? /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-1", children: [
324
324
  !b && x,
325
325
  /* @__PURE__ */ t.jsx(
326
326
  "span",
327
327
  {
328
- className: d(
328
+ className: m(
329
329
  V({
330
330
  size: o,
331
331
  variant: l,
@@ -336,8 +336,8 @@ const m = {
336
336
  children: f
337
337
  }
338
338
  )
339
- ] }) : /* @__PURE__ */ t.jsxs("div", { className: d("flex items-center gap-1", u), children: [
340
- i && /* @__PURE__ */ t.jsx(
339
+ ] }) : /* @__PURE__ */ t.jsxs("div", { className: m("flex items-center gap-1 select-none", c), children: [
340
+ u && /* @__PURE__ */ t.jsx(
341
341
  "span",
342
342
  {
343
343
  className: q({
@@ -346,10 +346,10 @@ const m = {
346
346
  color: n,
347
347
  animateIcon: h
348
348
  }),
349
- children: i
349
+ children: u
350
350
  }
351
351
  ),
352
- /* @__PURE__ */ t.jsx(
352
+ i && /* @__PURE__ */ t.jsx(
353
353
  "span",
354
354
  {
355
355
  className: V({
@@ -357,14 +357,14 @@ const m = {
357
357
  variant: l,
358
358
  color: n
359
359
  }),
360
- children: g
360
+ children: i
361
361
  }
362
362
  )
363
363
  ] })), [
364
+ d,
364
365
  c,
365
366
  u,
366
367
  i,
367
- g,
368
368
  l,
369
369
  o,
370
370
  n,
@@ -378,7 +378,7 @@ const m = {
378
378
  "button",
379
379
  {
380
380
  type: N,
381
- className: d(
381
+ className: m(
382
382
  "group",
383
383
  R({
384
384
  size: o,
@@ -391,7 +391,7 @@ const m = {
391
391
  disabled: s || a,
392
392
  form: I,
393
393
  onClick: j,
394
- children: /* @__PURE__ */ t.jsx("div", { className: `flex items-center gap-1 ${u}`, children: C })
394
+ children: /* @__PURE__ */ t.jsx("div", { className: `flex items-center gap-1 ${c}`, children: C })
395
395
  }
396
396
  );
397
397
  }, O = A(D);
@@ -1,9 +1,9 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as l } from "./cn-B6yFEsav.js";
3
- import { motion as i, AnimatePresence as c } from "framer-motion";
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
+ import { c as i } from "./cn-B6yFEsav.js";
3
+ import { motion as l, AnimatePresence as d } from "framer-motion";
4
4
  import u from "./Avatar.es.js";
5
- import { ChevronDown as m } from "./Icons/ChevronDown.es.js";
6
- import { Logout as f } from "./Icons/Logout.es.js";
5
+ import { ChevronDown as f } from "./Icons/ChevronDown.es.js";
6
+ import { Logout as m } from "./Icons/Logout.es.js";
7
7
  function x({
8
8
  sessions: t,
9
9
  handleTokenLogin: a
@@ -13,8 +13,8 @@ function x({
13
13
  {
14
14
  className: "w-full ",
15
15
  onClick: () => a?.(r.token),
16
- children: /* @__PURE__ */ e.jsx(o, { children: /* @__PURE__ */ e.jsx(
17
- o.Content,
16
+ children: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
17
+ s.Content,
18
18
  {
19
19
  onClick: () => {
20
20
  console.log("hola");
@@ -23,20 +23,20 @@ function x({
23
23
  nameUser: r.name,
24
24
  nameArea: r?.areaId?.name,
25
25
  nameCompany: r.companyId.name,
26
- cardProfile: /* @__PURE__ */ e.jsx(o.Image, { isExpanded: !1 })
26
+ cardProfile: /* @__PURE__ */ e.jsx(s.Image, { isExpanded: !1 })
27
27
  }
28
28
  ) })
29
29
  },
30
30
  r._id
31
31
  )) });
32
32
  }
33
- const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profile-container flex rounded-md text-white-prometeo overflow-hidden shrink-0 w-full min-w-0 ", children: t }), p = ({
33
+ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profile-container flex gap-0.5 overflow-hidden w-full min-w-0 ", children: t }), p = ({
34
34
  isExpanded: t,
35
35
  sessions: a,
36
36
  onClickLogout: r,
37
37
  handleTokenLogin: n
38
- }) => /* @__PURE__ */ e.jsx(c, { mode: "wait", children: t && /* @__PURE__ */ e.jsxs(
39
- i.div,
38
+ }) => /* @__PURE__ */ e.jsx(d, { mode: "wait", children: t && /* @__PURE__ */ e.jsxs(
39
+ l.div,
40
40
  {
41
41
  initial: { height: 0, opacity: 0 },
42
42
  animate: {
@@ -62,7 +62,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
62
62
  className: "overflow-hidden",
63
63
  children: [
64
64
  /* @__PURE__ */ e.jsx(
65
- i.div,
65
+ l.div,
66
66
  {
67
67
  className: "flex justify-center items-center w-full mt-4",
68
68
  exit: {
@@ -80,7 +80,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
80
80
  ),
81
81
  a && a.length > 0 && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
82
82
  /* @__PURE__ */ e.jsx(
83
- i.div,
83
+ l.div,
84
84
  {
85
85
  className: "mt-4",
86
86
  exit: {
@@ -97,7 +97,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
97
97
  }
98
98
  ),
99
99
  /* @__PURE__ */ e.jsx(
100
- i.div,
100
+ l.div,
101
101
  {
102
102
  className: "mt-4 overflow-hidden w-full ",
103
103
  exit: {
@@ -123,7 +123,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
123
123
  }
124
124
  ),
125
125
  /* @__PURE__ */ e.jsx(
126
- i.div,
126
+ l.div,
127
127
  {
128
128
  className: "flex justify-center items-center w-full mt-4",
129
129
  exit: {
@@ -141,7 +141,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
141
141
  )
142
142
  ] }),
143
143
  /* @__PURE__ */ e.jsxs(
144
- i.button,
144
+ l.button,
145
145
  {
146
146
  onClick: r,
147
147
  className: "flex flex-1 h-12 w-full gap-1 rounded-md cursor-pointer mt-4 mb-4 px-2 items-center overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile",
@@ -162,34 +162,35 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
162
162
  },
163
163
  whileTap: { scale: 0.98 },
164
164
  children: [
165
- /* @__PURE__ */ e.jsx(f, { size: 24, className: "text-neutral-default-default" }),
165
+ /* @__PURE__ */ e.jsx(m, { size: 24, className: "text-neutral-default-default" }),
166
166
  /* @__PURE__ */ e.jsx("span", { className: "text-neutral-default-default font-semibold text-sm", children: "Cerrar sesión" })
167
167
  ]
168
168
  }
169
169
  )
170
170
  ]
171
171
  }
172
- ) }), j = ({ imageUrl: t, fallbackText: a }) => /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center profile-image-wrapper ml-1", children: /* @__PURE__ */ e.jsx(
172
+ ) }), g = ({ imageUrl: t, fallbackText: a }) => /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center profile-image-wrapper", children: /* @__PURE__ */ e.jsx(
173
173
  u,
174
174
  {
175
+ subImageUrl: t,
175
176
  imageUrl: t,
176
- sizeImage: "xs",
177
+ sizeImage: "xxs",
177
178
  sizeFallback: "xs",
178
179
  fallbackText: a
179
180
  }
180
- ) }), g = ({
181
+ ) }), j = ({
181
182
  isExpanded: t,
182
183
  nameUser: a,
183
184
  nameCompany: r,
184
185
  nameArea: n,
185
- cardProfile: s,
186
- onClick: d
186
+ cardProfile: o,
187
+ onClick: c
187
188
  }) => /* @__PURE__ */ e.jsxs(
188
- i.button,
189
+ l.button,
189
190
  {
190
- onClick: d,
191
- className: l(
192
- "flex flex-1 gap-1 rounded-l-md cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile h-12",
191
+ onClick: c,
192
+ className: i(
193
+ "flex flex-1 gap-2 rounded-lg cursor-pointer relative overflow-hidden focus:outline-none hover:bg-neutral-medium-selected button-profile h-max p-3",
193
194
  t && "bg-neutral-medium-selected"
194
195
  ),
195
196
  whileHover: {
@@ -199,12 +200,12 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
199
200
  whileTap: { scale: 0.98 },
200
201
  transition: { duration: 0.2, ease: "easeInOut" },
201
202
  children: [
202
- s,
203
- /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2", children: [
203
+ o,
204
+ /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2 p-0", children: [
204
205
  /* @__PURE__ */ e.jsx(
205
206
  "p",
206
207
  {
207
- className: l(
208
+ className: i(
208
209
  "profile-name font-semibold leading-tight mb-0 text-left",
209
210
  t ? "text-primary-default-default" : "text-neutral-default-default"
210
211
  ),
@@ -215,7 +216,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
215
216
  /* @__PURE__ */ e.jsx(
216
217
  "p",
217
218
  {
218
- className: l(
219
+ className: i(
219
220
  "profile-options truncate text-xs mt-0",
220
221
  t ? "text-primary-default-default" : "text-neutral-default-default"
221
222
  ),
@@ -225,7 +226,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
225
226
  /* @__PURE__ */ e.jsx(
226
227
  "p",
227
228
  {
228
- className: l(
229
+ className: i(
229
230
  "profile-options truncate font-bold mt-0",
230
231
  t ? "text-primary-default-default" : "text-neutral-default-default"
231
232
  ),
@@ -235,7 +236,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
235
236
  /* @__PURE__ */ e.jsx(
236
237
  "p",
237
238
  {
238
- className: l(
239
+ className: i(
239
240
  "profile-options truncate text-xs mt-0",
240
241
  t ? "text-primary-default-default" : "text-neutral-default-default"
241
242
  ),
@@ -247,33 +248,33 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
247
248
  ]
248
249
  }
249
250
  ), v = () => /* @__PURE__ */ e.jsx("div", { className: "w-px bg-gray-500/30 my-1 border-separator-profile" }), y = ({ isExpanded: t, onClick: a }) => /* @__PURE__ */ e.jsx(
250
- i.button,
251
+ l.button,
251
252
  {
252
253
  onClick: a,
253
- className: "flex items-center justify-center p-3 rounded-r-md cursor-pointer relative overflow-hidden focus:outline-none min-w-[50px] hover:bg-neutral-medium-selected button-content-chevron",
254
+ className: "flex items-center justify-center p-3 rounded-lg cursor-pointer relative overflow-hidden focus:outline-none w-8 min-w-8 hover:bg-neutral-medium-selected button-content-chevron",
254
255
  whileHover: { scale: 1.05 },
255
256
  whileTap: { scale: 0.95 },
256
257
  transition: { duration: 0.2, ease: "easeOut" },
257
258
  title: t ? "Ocultar opciones" : "Mostrar opciones",
258
259
  "aria-label": t ? "Ocultar opciones" : "Mostrar opciones",
259
260
  children: /* @__PURE__ */ e.jsx(
260
- i.div,
261
+ l.div,
261
262
  {
262
263
  animate: { rotate: t ? 180 : 0 },
263
264
  transition: { duration: 0.3, ease: "easeOut" },
264
265
  className: "relative button-select-crevron",
265
- children: /* @__PURE__ */ e.jsx(i.div, { transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(m, { size: 20, className: "text-prometeo-neutral " }) })
266
+ children: /* @__PURE__ */ e.jsx(l.div, { transition: { duration: 0.2 }, children: /* @__PURE__ */ e.jsx(f, { size: 24, className: "text-prometeo-neutral " }) })
266
267
  }
267
268
  )
268
269
  }
269
- ), o = Object.assign(h, {
270
+ ), s = Object.assign(h, {
270
271
  Menu: p,
271
- Image: j,
272
- Content: g,
272
+ Image: g,
273
+ Content: j,
273
274
  Separator: v,
274
275
  Options: y
275
276
  });
276
277
  export {
277
- o as C,
278
+ s as C,
278
279
  x as a
279
280
  };
@@ -1,4 +1,4 @@
1
- import { C as e, C as f } from "./CardProfile-Ct5Fs60N.js";
1
+ import { C as e, C as f } from "./CardProfile-y9Knsg26.js";
2
2
  export {
3
3
  e as CardProfile,
4
4
  f as default
@@ -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 m, forwardRef as k, useId as g, useRef as v, useCallback as C } from "react";
3
3
  import { Check as y } from "./Icons/Check.es.js";
4
4
  const s = k(