@imj_media/ui 1.10.5 → 1.10.6

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 (63) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/catalog/design-index.json +114 -9
  4. package/dist/index.css +1 -1
  5. package/dist/index.esm.js +129 -156
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.js +3 -3
  8. package/dist/index.js.map +1 -1
  9. package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
  10. package/dist/modules/Button/components/organisms/Button.d.ts.map +1 -1
  11. package/dist/modules/Button/stories/Button.stories.d.ts.map +1 -1
  12. package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
  13. package/dist/modules/FileUploader/components/organisms/FileUploader.d.ts.map +1 -1
  14. package/dist/modules/Ghantt/Ghantt.d.ts.map +1 -1
  15. package/dist/modules/Ghantt/GhanttTimelineHeader.d.ts.map +1 -1
  16. package/dist/modules/InnerButton/InnerButton.d.ts.map +1 -1
  17. package/dist/modules/InnerButton/stories/InnerButton.stories.d.ts.map +1 -1
  18. package/dist/modules/LegacyButton/InnerLegacyButton.d.ts.map +1 -1
  19. package/dist/modules/Message/Message.api.d.ts +1 -1
  20. package/dist/modules/Message/Message.api.d.ts.map +1 -1
  21. package/dist/modules/Message/Message.types.d.ts +1 -1
  22. package/dist/modules/Message/Message.types.d.ts.map +1 -1
  23. package/dist/modules/Message/components/molecules/NotificationItemStackDeck.d.ts.map +1 -1
  24. package/dist/modules/Message/components/molecules/NotificationPositions.d.ts.map +1 -1
  25. package/dist/modules/Message/components/molecules/notificationItemCardMapping.d.ts.map +1 -1
  26. package/dist/modules/Message/components/molecules/notificationItemStackLayout.d.ts.map +1 -1
  27. package/dist/modules/Message/hooks/useNotificationItemDeck.d.ts.map +1 -1
  28. package/dist/modules/Message/services/notificationServiceNormalizeOptions.d.ts.map +1 -1
  29. package/dist/modules/Message/stories/message.stories.d.ts.map +1 -1
  30. package/dist/modules/Message/stories/notification-storycode.stories.d.ts.map +1 -1
  31. package/dist/modules/Message/stories/notification.stories.d.ts.map +1 -1
  32. package/dist/modules/Notification/components/molecules/NotificationContentBody.d.ts.map +1 -1
  33. package/dist/modules/Notification/index.d.ts.map +1 -1
  34. package/dist/modules/Notification/stories/notification.stories.d.ts.map +1 -1
  35. package/dist/modules/Switch/stories/switch.stories.d.ts.map +1 -1
  36. package/dist/modules/Table/Table.d.ts.map +1 -1
  37. package/dist/modules/Table/components/atoms/GanttCell.d.ts.map +1 -1
  38. package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
  39. package/dist/modules/Table/components/organisms/TableContent.d.ts.map +1 -1
  40. package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
  41. package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
  42. package/dist/modules/Table/hooks/useTableSelection.d.ts.map +1 -1
  43. package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
  44. package/dist/modules/Table/utils/columnLockable.d.ts.map +1 -1
  45. package/dist/modules/Tabs/components/index.d.ts +2 -0
  46. package/dist/modules/Tabs/components/index.d.ts.map +1 -0
  47. package/dist/modules/Tabs/components/organisms/Tabs.d.ts +23 -0
  48. package/dist/modules/Tabs/components/organisms/Tabs.d.ts.map +1 -0
  49. package/dist/modules/Tabs/components/organisms/index.d.ts +2 -0
  50. package/dist/modules/Tabs/components/organisms/index.d.ts.map +1 -0
  51. package/dist/modules/Tabs/hooks/index.d.ts +2 -0
  52. package/dist/modules/Tabs/hooks/index.d.ts.map +1 -0
  53. package/dist/modules/Tabs/hooks/useTabs.d.ts +24 -0
  54. package/dist/modules/Tabs/hooks/useTabs.d.ts.map +1 -0
  55. package/dist/modules/Tabs/index.d.ts +4 -0
  56. package/dist/modules/Tabs/index.d.ts.map +1 -0
  57. package/dist/modules/Tabs/stories/tabs.stories.d.ts +20 -0
  58. package/dist/modules/Tabs/stories/tabs.stories.d.ts.map +1 -0
  59. package/dist/modules/Tabs/types/index.d.ts +73 -0
  60. package/dist/modules/Tabs/types/index.d.ts.map +1 -0
  61. package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts.map +1 -1
  62. package/dist/shared/ghantt/GhanttSlotStrip.d.ts.map +1 -1
  63. package/package.json +6 -5
package/dist/index.esm.js CHANGED
@@ -3099,9 +3099,9 @@ const r2 = ({
3099
3099
  /* @__PURE__ */ o(
3100
3100
  "div",
3101
3101
  {
3102
- className: "ui-absolute ui-right-[-5px] ui-bottom-[-5px] ui-flex ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-fill ui-p-4 ui-shadow-01",
3102
+ className: "ui-absolute ui-bottom-[-5px] ui-right-[-5px] ui-flex ui-items-center ui-justify-center ui-rounded-control-pill ui-bg-fill ui-p-4 ui-shadow-01",
3103
3103
  "aria-hidden": !0,
3104
- children: /* @__PURE__ */ o("span", { className: "ui-text-brand ui-leading-none", children: /* @__PURE__ */ o(
3104
+ children: /* @__PURE__ */ o("span", { className: "ui-leading-none ui-text-brand", children: /* @__PURE__ */ o(
3105
3105
  we,
3106
3106
  {
3107
3107
  name: t(e.color || "info"),
@@ -3133,98 +3133,92 @@ const r2 = ({
3133
3133
  children: /* @__PURE__ */ o(we, { name: t(e.color || "danger"), color: "current", size: "sm" })
3134
3134
  }
3135
3135
  );
3136
- return /* @__PURE__ */ v(
3137
- "div",
3138
- {
3139
- className: "ui-flex ui-w-full ui-min-w-0 ui-flex-col ui-justify-between ui-gap-16 ui-items-start",
3140
- children: [
3141
- /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-start ui-gap-8", children: [
3142
- /* @__PURE__ */ o("div", { className: "ui-flex ui-w-fit ui-max-w-full ui-shrink-0 ui-flex-col ui-items-start ui-self-start", children: l }),
3143
- /* @__PURE__ */ v("div", { className: "ui-flex ui-min-w-0 ui-flex-1 ui-flex-col ui-gap-2", children: [
3144
- /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-start ui-justify-between ui-gap-8", children: [
3145
- /* @__PURE__ */ v("div", { className: "ui-flex ui-min-w-0 ui-flex-1 ui-flex-col ui-gap-0", children: [
3146
- e.title !== null && /* @__PURE__ */ o(
3147
- "div",
3148
- {
3149
- title: e.truncateHeaderText && e.title ? e.title : void 0,
3150
- className: M(
3151
- "ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-body-sm-bold ui-tracking-body-sm",
3152
- r && "ui-text-primary",
3153
- n
3154
- ),
3155
- children: e.title
3156
- }
3136
+ return /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-flex-col ui-items-start ui-justify-between ui-gap-16", children: [
3137
+ /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-start ui-gap-8", children: [
3138
+ /* @__PURE__ */ o("div", { className: "ui-flex ui-w-fit ui-max-w-full ui-shrink-0 ui-flex-col ui-items-start ui-self-start", children: l }),
3139
+ /* @__PURE__ */ v("div", { className: "ui-flex ui-min-w-0 ui-flex-1 ui-flex-col ui-gap-2", children: [
3140
+ /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-start ui-justify-between ui-gap-8", children: [
3141
+ /* @__PURE__ */ v("div", { className: "ui-flex ui-min-w-0 ui-flex-1 ui-flex-col ui-gap-0", children: [
3142
+ e.title !== null && /* @__PURE__ */ o(
3143
+ "div",
3144
+ {
3145
+ title: e.truncateHeaderText && e.title ? e.title : void 0,
3146
+ className: M(
3147
+ "ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-body-sm-bold ui-tracking-body-sm",
3148
+ r && "ui-text-primary",
3149
+ n
3157
3150
  ),
3158
- /* @__PURE__ */ o(
3159
- "div",
3160
- {
3161
- title: e.truncateHeaderText && e.message ? e.message : void 0,
3162
- className: M(
3163
- "ui-text-body-xs-regular ui-font-body-xs-regular ui-leading-body-xs-regular ui-tracking-body-xs",
3164
- r && "ui-text-secondary",
3165
- !e.truncateHeaderText && "ui-text-pretty",
3166
- n
3167
- ),
3168
- children: e.message
3169
- }
3151
+ children: e.title
3152
+ }
3153
+ ),
3154
+ /* @__PURE__ */ o(
3155
+ "div",
3156
+ {
3157
+ title: e.truncateHeaderText && e.message ? e.message : void 0,
3158
+ className: M(
3159
+ "ui-text-body-xs-regular ui-font-body-xs-regular ui-leading-body-xs-regular ui-tracking-body-xs",
3160
+ r && "ui-text-secondary",
3161
+ !e.truncateHeaderText && "ui-text-pretty",
3162
+ n
3170
3163
  ),
3171
- e.description !== null && e.description !== "" && /* @__PURE__ */ o(
3172
- "div",
3173
- {
3174
- title: e.truncateHeaderText && e.description ? e.description : void 0,
3175
- className: M(
3176
- "ui-mt-2 ui-text-body-xs-medium ui-font-body-xs-medium ui-leading-body-xs-medium ui-tracking-body-xs",
3177
- r && "ui-text-primary",
3178
- !e.truncateHeaderText && "ui-text-pretty",
3179
- n
3180
- ),
3181
- children: e.description
3182
- }
3183
- )
3184
- ] }),
3185
- e.showCloseButton ? /* @__PURE__ */ o(
3186
- He,
3187
- {
3188
- icon: Nt,
3189
- size: "xxs",
3190
- pill: "pill",
3191
- color: "tertiary",
3192
- className: "ui-shrink-0",
3193
- onClick: i,
3194
- "aria-label": "Cerrar alerta"
3195
- }
3196
- ) : e.endAdornment ? /* @__PURE__ */ o("div", { className: "ui-flex ui-shrink-0 ui-items-start", children: e.endAdornment }) : null
3197
- ] }),
3198
- e.headerAddon ? /* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-max-w-full ui-flex-col ui-gap-2", children: e.headerAddon }) : null
3199
- ] })
3200
- ] }),
3201
- (e.onSecondaryClick || e.onPrimaryClick) && /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-items-center ui-justify-end ui-gap-1.5", children: [
3202
- e.onSecondaryClick && /* @__PURE__ */ o(
3164
+ children: e.message
3165
+ }
3166
+ ),
3167
+ e.description !== null && e.description !== "" && /* @__PURE__ */ o(
3168
+ "div",
3169
+ {
3170
+ title: e.truncateHeaderText && e.description ? e.description : void 0,
3171
+ className: M(
3172
+ "ui-mt-2 ui-text-body-xs-medium ui-font-body-xs-medium ui-leading-body-xs-medium ui-tracking-body-xs",
3173
+ r && "ui-text-primary",
3174
+ !e.truncateHeaderText && "ui-text-pretty",
3175
+ n
3176
+ ),
3177
+ children: e.description
3178
+ }
3179
+ )
3180
+ ] }),
3181
+ e.showCloseButton ? /* @__PURE__ */ o(
3203
3182
  He,
3204
3183
  {
3205
- clickable: !0,
3206
- theme: "solid",
3184
+ icon: Nt,
3185
+ size: "xxs",
3186
+ pill: "pill",
3207
3187
  color: "tertiary",
3208
- size: "xs",
3209
- onClick: s,
3210
- children: e.secondaryButtonText || ""
3211
- }
3212
- ),
3213
- e.onPrimaryClick && /* @__PURE__ */ o(
3214
- He,
3215
- {
3216
- clickable: !0,
3217
- theme: "solid",
3218
- color: "secondary",
3219
- size: "xs",
3220
- onClick: a,
3221
- children: e.primaryButtonText || ""
3188
+ className: "ui-shrink-0",
3189
+ onClick: i,
3190
+ "aria-label": "Cerrar alerta"
3222
3191
  }
3223
- )
3224
- ] })
3225
- ]
3226
- }
3227
- );
3192
+ ) : e.endAdornment ? /* @__PURE__ */ o("div", { className: "ui-flex ui-shrink-0 ui-items-start", children: e.endAdornment }) : null
3193
+ ] }),
3194
+ e.headerAddon ? /* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-max-w-full ui-flex-col ui-gap-2", children: e.headerAddon }) : null
3195
+ ] })
3196
+ ] }),
3197
+ (e.onSecondaryClick || e.onPrimaryClick) && /* @__PURE__ */ v("div", { className: "ui-flex ui-w-full ui-items-center ui-justify-end ui-gap-1.5", children: [
3198
+ e.onSecondaryClick && /* @__PURE__ */ o(
3199
+ He,
3200
+ {
3201
+ clickable: !0,
3202
+ theme: "solid",
3203
+ color: "tertiary",
3204
+ size: "xs",
3205
+ onClick: s,
3206
+ children: e.secondaryButtonText || ""
3207
+ }
3208
+ ),
3209
+ e.onPrimaryClick && /* @__PURE__ */ o(
3210
+ He,
3211
+ {
3212
+ clickable: !0,
3213
+ theme: "solid",
3214
+ color: "secondary",
3215
+ size: "xs",
3216
+ onClick: a,
3217
+ children: e.primaryButtonText || ""
3218
+ }
3219
+ )
3220
+ ] })
3221
+ ] });
3228
3222
  });
3229
3223
  ds.displayName = "AlertHeader";
3230
3224
  const a2 = ({
@@ -3782,7 +3776,7 @@ const hs = ({
3782
3776
  onClick: j ? O : void 0,
3783
3777
  onKeyDown: j ? D : void 0,
3784
3778
  children: [
3785
- /* @__PURE__ */ o("div", { className: "ui-min-w-0 ui-w-full ui-flex-1", children: /* @__PURE__ */ o(
3779
+ /* @__PURE__ */ o("div", { className: "ui-w-full ui-min-w-0 ui-flex-1", children: /* @__PURE__ */ o(
3786
3780
  ds,
3787
3781
  {
3788
3782
  message: i,
@@ -3803,7 +3797,7 @@ const hs = ({
3803
3797
  headerAddon: L
3804
3798
  }
3805
3799
  ) }),
3806
- C != null ? /* @__PURE__ */ o("div", { className: "ui-min-w-0 ui-w-full", children: C }) : null
3800
+ C != null ? /* @__PURE__ */ o("div", { className: "ui-w-full ui-min-w-0", children: C }) : null
3807
3801
  ]
3808
3802
  }
3809
3803
  ),
@@ -37700,7 +37694,7 @@ const cf = () => {
37700
37694
  type: "button",
37701
37695
  className: M(
37702
37696
  "ui-inline-flex ui-h-full ui-shrink-0 ui-items-center ui-justify-center ui-border-0 ui-bg-transparent ui-p-0",
37703
- "focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2 focus-visible:ui-outline-brand"
37697
+ "focus-visible:ui-outline-brand focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2"
37704
37698
  ),
37705
37699
  "aria-label": "Descargar archivo",
37706
37700
  onClick: (p) => {
@@ -37732,7 +37726,7 @@ const cf = () => {
37732
37726
  "p",
37733
37727
  {
37734
37728
  className: M(
37735
- "ui-min-w-0 ui-w-full ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-body-xs-medium ui-font-body-xs-medium ui-leading-body-xs-medium ui-tracking-body-xs"
37729
+ "ui-w-full ui-min-w-0 ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-body-xs-medium ui-font-body-xs-medium ui-leading-body-xs-medium ui-tracking-body-xs"
37736
37730
  ),
37737
37731
  title: f,
37738
37732
  children: f
@@ -37742,7 +37736,7 @@ const cf = () => {
37742
37736
  "p",
37743
37737
  {
37744
37738
  className: M(
37745
- "ui-min-w-0 ui-w-full ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-caption-xs ui-font-caption-xs ui-leading-caption-xs ui-tracking-caption-xs ui-text-secondary"
37739
+ "ui-w-full ui-min-w-0 ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-caption-xs ui-font-caption-xs ui-leading-caption-xs ui-tracking-caption-xs ui-text-secondary"
37746
37740
  ),
37747
37741
  title: n.sizeLabel,
37748
37742
  children: n.sizeLabel
@@ -37754,41 +37748,32 @@ const cf = () => {
37754
37748
  }
37755
37749
  if (r === "cta") {
37756
37750
  const f = ((s = a.primaryButton) == null ? void 0 : s.label) ?? a.primaryLabel ?? (t == null ? void 0 : t.primaryButtonText) ?? "Text Button", d = ((l = a.secondaryButton) == null ? void 0 : l.label) ?? a.secondaryLabel ?? (t == null ? void 0 : t.secondaryButtonText) ?? "Text Button", p = ((u = a.primaryButton) == null ? void 0 : u.onClick) ?? (t == null ? void 0 : t.onPrimaryClick), h = ((c = a.secondaryButton) == null ? void 0 : c.onClick) ?? (t == null ? void 0 : t.onSecondaryClick);
37757
- return /* @__PURE__ */ v(
37758
- "div",
37759
- {
37760
- className: M(
37761
- Ai,
37762
- "ui-mt-2 ui-flex ui-flex-wrap ui-items-center ui-gap-10"
37763
- ),
37764
- children: [
37765
- /* @__PURE__ */ o(
37766
- De,
37767
- {
37768
- theme: "solid",
37769
- color: "secondary",
37770
- size: "sm",
37771
- onClick: (m) => {
37772
- m.stopPropagation(), h == null || h();
37773
- },
37774
- children: d
37775
- }
37776
- ),
37777
- /* @__PURE__ */ o(
37778
- De,
37779
- {
37780
- theme: "solid",
37781
- color: "primary",
37782
- size: "sm",
37783
- onClick: (m) => {
37784
- m.stopPropagation(), p == null || p();
37785
- },
37786
- children: f
37787
- }
37788
- )
37789
- ]
37790
- }
37791
- );
37751
+ return /* @__PURE__ */ v("div", { className: M(Ai, "ui-mt-2 ui-flex ui-flex-wrap ui-items-center ui-gap-10"), children: [
37752
+ /* @__PURE__ */ o(
37753
+ De,
37754
+ {
37755
+ theme: "solid",
37756
+ color: "secondary",
37757
+ size: "sm",
37758
+ onClick: (m) => {
37759
+ m.stopPropagation(), h == null || h();
37760
+ },
37761
+ children: d
37762
+ }
37763
+ ),
37764
+ /* @__PURE__ */ o(
37765
+ De,
37766
+ {
37767
+ theme: "solid",
37768
+ color: "primary",
37769
+ size: "sm",
37770
+ onClick: (m) => {
37771
+ m.stopPropagation(), p == null || p();
37772
+ },
37773
+ children: f
37774
+ }
37775
+ )
37776
+ ] });
37792
37777
  }
37793
37778
  return null;
37794
37779
  }
@@ -37834,7 +37819,7 @@ const pf = {
37834
37819
  className: M(
37835
37820
  "ui-group ui-inline-flex ui-shrink-0 ui-cursor-pointer ui-items-center ui-justify-center ui-rounded-control-pill ui-border-0 ui-bg-transparent ui-p-6",
37836
37821
  "ui-transition-transform ui-duration-150 ui-ease-out motion-reduce:ui-transition-none",
37837
- "focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2 focus-visible:ui-outline-brand"
37822
+ "focus-visible:ui-outline-brand focus-visible:ui-outline focus-visible:ui-outline-2 focus-visible:ui-outline-offset-2"
37838
37823
  ),
37839
37824
  "aria-label": "Marcar como leída",
37840
37825
  onClick: (A) => {
@@ -37897,7 +37882,7 @@ const pf = {
37897
37882
  c.stackSummary && c.presentation === "popup" ? /* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-min-w-0 ui-max-w-full ui-justify-center", children: /* @__PURE__ */ o(
37898
37883
  "span",
37899
37884
  {
37900
- className: "ui-block ui-max-w-full ui-min-w-0 ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-center ui-text-body-xs-regular ui-font-body-xs-regular ui-text-tertiary",
37885
+ className: "ui-block ui-min-w-0 ui-max-w-full ui-overflow-hidden ui-text-ellipsis ui-whitespace-nowrap ui-text-center ui-text-body-xs-regular ui-font-body-xs-regular ui-text-tertiary",
37901
37886
  title: c.stackSummary,
37902
37887
  children: c.stackSummary
37903
37888
  }
@@ -44846,12 +44831,7 @@ const Vp = Ol, Hp = ({
44846
44831
  ), g = V(
44847
44832
  (C) => {
44848
44833
  var k;
44849
- const N = Dl(
44850
- C,
44851
- c,
44852
- d,
44853
- s
44854
- );
44834
+ const N = Dl(C, c, d, s);
44855
44835
  a ? (k = f.current) == null || k.call(f, N) : u(N);
44856
44836
  },
44857
44837
  [d, a, c, s]
@@ -46766,10 +46746,7 @@ function Pm({
46766
46746
  ), d = te(() => Dm(e, t), [e, t]), p = te(() => ip(), []), h = te(
46767
46747
  () => ({ ...Hm, ...t.appearance }),
46768
46748
  [t.appearance]
46769
- ), m = te(
46770
- () => ({ ...Em, ...t.events }),
46771
- [t.events]
46772
- ), g = _((ee = t.events) == null ? void 0 : ee.onTimelineChange);
46749
+ ), m = te(() => ({ ...Em, ...t.events }), [t.events]), g = _((ee = t.events) == null ? void 0 : ee.onTimelineChange);
46773
46750
  g.current = (ae = t.events) == null ? void 0 : ae.onTimelineChange, oe(() => {
46774
46751
  var B;
46775
46752
  n && ((B = g.current) == null || B.call(g, wa(a)));
@@ -47926,7 +47903,7 @@ function ql({
47926
47903
  "ui-flex ui-w-full ui-flex-col",
47927
47904
  "ui-transition-[opacity,transform]",
47928
47905
  o1,
47929
- i ? "ui-opacity-100 ui-translate-y-0" : "ui-opacity-0 ui-translate-y-2"
47906
+ i ? "ui-translate-y-0 ui-opacity-100" : "ui-translate-y-2 ui-opacity-0"
47930
47907
  ),
47931
47908
  style: { gap: Qm },
47932
47909
  role: "list",
@@ -47978,7 +47955,7 @@ function Yl({
47978
47955
  "div",
47979
47956
  {
47980
47957
  className: M(
47981
- "ui-absolute ui-origin-bottom ui-max-w-full",
47958
+ "ui-absolute ui-max-w-full ui-origin-bottom",
47982
47959
  "ui-pointer-events-auto",
47983
47960
  "ui-transition-[bottom]",
47984
47961
  o1,
@@ -47999,7 +47976,9 @@ function Yl({
47999
47976
  className: l,
48000
47977
  isLeaving: s,
48001
47978
  duration: u(h.id),
48002
- progressBarClassName: c(u(h.id)),
47979
+ progressBarClassName: c(
47980
+ u(h.id)
47981
+ ),
48003
47982
  animation: "none",
48004
47983
  showActionButtons: !1,
48005
47984
  onClose: h.showCloseButton ? f(h) : void 0,
@@ -48016,10 +47995,7 @@ function Yl({
48016
47995
  /* @__PURE__ */ o(
48017
47996
  "div",
48018
47997
  {
48019
- className: M(
48020
- "ui-relative ui-z-50",
48021
- e.length > 0 && "ui-drop-shadow-02"
48022
- ),
47998
+ className: M("ui-relative ui-z-50", e.length > 0 && "ui-drop-shadow-02"),
48023
47999
  children: /* @__PURE__ */ o(
48024
48000
  Xi,
48025
48001
  {
@@ -48028,7 +48004,9 @@ function Yl({
48028
48004
  className: l,
48029
48005
  isLeaving: s,
48030
48006
  duration: u(t.id),
48031
- progressBarClassName: c(u(t.id)),
48007
+ progressBarClassName: c(
48008
+ u(t.id)
48009
+ ),
48032
48010
  animation: "none",
48033
48011
  showActionButtons: !0,
48034
48012
  footer: d,
@@ -48074,7 +48052,8 @@ const Kl = ({ group: e }) => {
48074
48052
  const w = Math.min(qm, t.length), N = [...l ? t : t.slice(-w)].reverse(), k = N.length > 1 ? [...N.slice(1)].reverse() : [], y = N.length > 1, S = M(
48075
48053
  "ui-w-full !ui-transition-none !ui-duration-0 ui-opacity-100 motion-reduce:!ui-transition-none"
48076
48054
  ), L = ($ = t[t.length - 1]) == null ? void 0 : $.id, I = (J = N[0]) == null ? void 0 : J.id, T = L !== void 0 && N.some((ie) => ie.id === L), j = (ie) => {
48077
- if (!d || ie === void 0 || ie !== L || !T) return;
48055
+ if (!d || ie === void 0 || ie !== L || !T)
48056
+ return;
48078
48057
  const q = t.find((U) => U.id === ie);
48079
48058
  return (q == null ? void 0 : q.duration) ?? p;
48080
48059
  }, O = i, D = l ? Xm : Ym, H = u ? 0 : k.length * D, P = r > 1 ? r - 1 : 0, z = e.stackSummaryLegend !== void 0 ? e.stackSummaryLegend : P === 1 ? "1 notificación más" : `${P} notificaciones más`, A = r > 1 ? /* @__PURE__ */ o(
@@ -48181,13 +48160,7 @@ const l1 = Te.memo(({ groups: e }) => {
48181
48160
  "bottom-right"
48182
48161
  ].includes(i) && console.warn(
48183
48162
  `[NotificationPositions] Invalid position "${i}" from config. Using as-is.`
48184
- ), /* @__PURE__ */ o("div", { className: `${t(i)} ui-z-50 ui-space-y-2 ui-overflow-visible`, children: n.map((a) => a.notification.id ? /* @__PURE__ */ o(
48185
- Kl,
48186
- {
48187
- group: a
48188
- },
48189
- a.stackKey
48190
- ) : (process.env.NODE_ENV !== "production" && console.warn("[NotificationPositions] Group notification without id. Skipping."), null)) });
48163
+ ), /* @__PURE__ */ o("div", { className: `${t(i)} ui-z-50 ui-space-y-2 ui-overflow-visible`, children: n.map((a) => a.notification.id ? /* @__PURE__ */ o(Kl, { group: a }, a.stackKey) : (process.env.NODE_ENV !== "production" && console.warn("[NotificationPositions] Group notification without id. Skipping."), null)) });
48191
48164
  });
48192
48165
  l1.displayName = "NotificationPositions";
48193
48166
  const uv = () => {