@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.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/catalog/design-index.json +114 -9
- package/dist/index.css +1 -1
- package/dist/index.esm.js +129 -156
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/modules/Alert/components/atoms/AlertHeader.d.ts.map +1 -1
- package/dist/modules/Button/components/organisms/Button.d.ts.map +1 -1
- package/dist/modules/Button/stories/Button.stories.d.ts.map +1 -1
- package/dist/modules/Dropdown/components/Dropdown.d.ts.map +1 -1
- package/dist/modules/FileUploader/components/organisms/FileUploader.d.ts.map +1 -1
- package/dist/modules/Ghantt/Ghantt.d.ts.map +1 -1
- package/dist/modules/Ghantt/GhanttTimelineHeader.d.ts.map +1 -1
- package/dist/modules/InnerButton/InnerButton.d.ts.map +1 -1
- package/dist/modules/InnerButton/stories/InnerButton.stories.d.ts.map +1 -1
- package/dist/modules/LegacyButton/InnerLegacyButton.d.ts.map +1 -1
- package/dist/modules/Message/Message.api.d.ts +1 -1
- package/dist/modules/Message/Message.api.d.ts.map +1 -1
- package/dist/modules/Message/Message.types.d.ts +1 -1
- package/dist/modules/Message/Message.types.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/NotificationItemStackDeck.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/NotificationPositions.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/notificationItemCardMapping.d.ts.map +1 -1
- package/dist/modules/Message/components/molecules/notificationItemStackLayout.d.ts.map +1 -1
- package/dist/modules/Message/hooks/useNotificationItemDeck.d.ts.map +1 -1
- package/dist/modules/Message/services/notificationServiceNormalizeOptions.d.ts.map +1 -1
- package/dist/modules/Message/stories/message.stories.d.ts.map +1 -1
- package/dist/modules/Message/stories/notification-storycode.stories.d.ts.map +1 -1
- package/dist/modules/Message/stories/notification.stories.d.ts.map +1 -1
- package/dist/modules/Notification/components/molecules/NotificationContentBody.d.ts.map +1 -1
- package/dist/modules/Notification/index.d.ts.map +1 -1
- package/dist/modules/Notification/stories/notification.stories.d.ts.map +1 -1
- package/dist/modules/Switch/stories/switch.stories.d.ts.map +1 -1
- package/dist/modules/Table/Table.d.ts.map +1 -1
- package/dist/modules/Table/components/atoms/GanttCell.d.ts.map +1 -1
- package/dist/modules/Table/components/molecules/CellRenderer.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableContent.d.ts.map +1 -1
- package/dist/modules/Table/components/organisms/TableToolbar.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableSelection.d.ts.map +1 -1
- package/dist/modules/Table/stories/Table.stories.d.ts.map +1 -1
- package/dist/modules/Table/utils/columnLockable.d.ts.map +1 -1
- package/dist/modules/Tabs/components/index.d.ts +2 -0
- package/dist/modules/Tabs/components/index.d.ts.map +1 -0
- package/dist/modules/Tabs/components/organisms/Tabs.d.ts +23 -0
- package/dist/modules/Tabs/components/organisms/Tabs.d.ts.map +1 -0
- package/dist/modules/Tabs/components/organisms/index.d.ts +2 -0
- package/dist/modules/Tabs/components/organisms/index.d.ts.map +1 -0
- package/dist/modules/Tabs/hooks/index.d.ts +2 -0
- package/dist/modules/Tabs/hooks/index.d.ts.map +1 -0
- package/dist/modules/Tabs/hooks/useTabs.d.ts +24 -0
- package/dist/modules/Tabs/hooks/useTabs.d.ts.map +1 -0
- package/dist/modules/Tabs/index.d.ts +4 -0
- package/dist/modules/Tabs/index.d.ts.map +1 -0
- package/dist/modules/Tabs/stories/tabs.stories.d.ts +20 -0
- package/dist/modules/Tabs/stories/tabs.stories.d.ts.map +1 -0
- package/dist/modules/Tabs/types/index.d.ts +73 -0
- package/dist/modules/Tabs/types/index.d.ts.map +1 -0
- package/dist/modules/TextListWithData/components/organisms/TextListWithData.d.ts.map +1 -1
- package/dist/shared/ghantt/GhanttSlotStrip.d.ts.map +1 -1
- 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-
|
|
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-
|
|
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-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
"
|
|
3148
|
-
|
|
3149
|
-
|
|
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
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
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
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
)
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
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
|
-
|
|
3206
|
-
|
|
3184
|
+
icon: Nt,
|
|
3185
|
+
size: "xxs",
|
|
3186
|
+
pill: "pill",
|
|
3207
3187
|
color: "tertiary",
|
|
3208
|
-
|
|
3209
|
-
onClick:
|
|
3210
|
-
|
|
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-
|
|
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-
|
|
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
|
|
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-
|
|
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-
|
|
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
|
-
|
|
37759
|
-
|
|
37760
|
-
|
|
37761
|
-
|
|
37762
|
-
|
|
37763
|
-
|
|
37764
|
-
|
|
37765
|
-
|
|
37766
|
-
|
|
37767
|
-
|
|
37768
|
-
|
|
37769
|
-
|
|
37770
|
-
|
|
37771
|
-
|
|
37772
|
-
|
|
37773
|
-
|
|
37774
|
-
|
|
37775
|
-
|
|
37776
|
-
)
|
|
37777
|
-
|
|
37778
|
-
|
|
37779
|
-
|
|
37780
|
-
|
|
37781
|
-
|
|
37782
|
-
|
|
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
|
|
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-
|
|
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-
|
|
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-
|
|
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(
|
|
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(
|
|
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)
|
|
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 = () => {
|