@imj_media/ui 1.8.2 → 1.8.3
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 +10 -0
- package/README.md +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.js +23 -22
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -888,7 +888,7 @@ const Pu = (e = "top", n = "center", r = !1, t = 0, i = !1) => {
|
|
|
888
888
|
"ui-text-body-xs-bold ui-font-body-xs-bold ui-tracking-body-xs ui-leading-none",
|
|
889
889
|
"ui-max-w-[300px]",
|
|
890
890
|
"ui-break-words",
|
|
891
|
-
"ui-shadow-
|
|
891
|
+
"ui-shadow-04",
|
|
892
892
|
"ui-transition-opacity ui-duration-150 ui-ease-in-out",
|
|
893
893
|
"ui-text-on-canvas-inverse ui-bg-canvas-inverse",
|
|
894
894
|
"ui-whitespace-nowrap",
|
|
@@ -3019,7 +3019,7 @@ const Mc = ({
|
|
|
3019
3019
|
}
|
|
3020
3020
|
);
|
|
3021
3021
|
}, qg = (e) => /* @__PURE__ */ o(Mc, { ...e }), Sc = () => ({
|
|
3022
|
-
getAlertClassName: (i, a, s = "contained") => `ui-rounded-2xl ui-p-2 ui-shadow-
|
|
3022
|
+
getAlertClassName: (i, a, s = "contained") => `ui-rounded-2xl ui-p-2 ui-shadow-02 ui-transform ui-transition-all ui-duration-300 ui-ease-in-out ${a ? "ui-opacity-0 ui-translate-x-4" : "ui-opacity-100 ui-translate-x-0"} ${{
|
|
3023
3023
|
success: {
|
|
3024
3024
|
contained: "ui-bg-success-500",
|
|
3025
3025
|
outlined: "!ui-bg-fill !ui-text-success-500 ui-border ui-border-success-500 ui-shadow",
|
|
@@ -5415,7 +5415,7 @@ const _a = ({ children: e, withPadding: n = !0 }) => {
|
|
|
5415
5415
|
color: "secondary",
|
|
5416
5416
|
size: "xs",
|
|
5417
5417
|
pill: "pill",
|
|
5418
|
-
className: "ui-bg-fill/90 ui-opacity-0 ui-shadow-
|
|
5418
|
+
className: "ui-bg-fill/90 ui-opacity-0 ui-shadow-04 ui-transition-opacity hover:ui-bg-fill group-hover:ui-opacity-100"
|
|
5419
5419
|
}
|
|
5420
5420
|
) })
|
|
5421
5421
|
) : (
|
|
@@ -5429,7 +5429,7 @@ const _a = ({ children: e, withPadding: n = !0 }) => {
|
|
|
5429
5429
|
color: "secondary",
|
|
5430
5430
|
size: "xs",
|
|
5431
5431
|
pill: "pill",
|
|
5432
|
-
className: "ui-bg-fill/90 ui-opacity-0 ui-shadow-
|
|
5432
|
+
className: "ui-bg-fill/90 ui-opacity-0 ui-shadow-04 ui-transition-opacity hover:ui-bg-fill group-hover:ui-opacity-100"
|
|
5433
5433
|
}
|
|
5434
5434
|
) })
|
|
5435
5435
|
)
|
|
@@ -5573,7 +5573,7 @@ const _a = ({ children: e, withPadding: n = !0 }) => {
|
|
|
5573
5573
|
color: "secondary",
|
|
5574
5574
|
size: "xs",
|
|
5575
5575
|
pill: "pill",
|
|
5576
|
-
className: "ui-bg-fill/90 ui-shadow-
|
|
5576
|
+
className: "ui-bg-fill/90 ui-shadow-04 hover:ui-bg-fill"
|
|
5577
5577
|
}
|
|
5578
5578
|
)
|
|
5579
5579
|
}
|
|
@@ -5782,7 +5782,7 @@ const n2 = ({
|
|
|
5782
5782
|
ref: Ue,
|
|
5783
5783
|
tabIndex: -1,
|
|
5784
5784
|
className: N(
|
|
5785
|
-
"ui-relative ui-z-10 ui-flex ui-w-full ui-flex-col ui-rounded-surface-modal ui-border-1 ui-border-default ui-bg-fill ui-shadow-
|
|
5785
|
+
"ui-relative ui-z-10 ui-flex ui-w-full ui-flex-col ui-rounded-surface-modal ui-border-1 ui-border-default ui-bg-fill ui-shadow-02 ui-outline-none",
|
|
5786
5786
|
Jc[t]
|
|
5787
5787
|
),
|
|
5788
5788
|
onClick: (De) => De.stopPropagation(),
|
|
@@ -26405,7 +26405,7 @@ const an = Zt(
|
|
|
26405
26405
|
}, X0 = N(
|
|
26406
26406
|
H ? "ui-overflow-visible" : "ui-overflow-hidden",
|
|
26407
26407
|
"ui-rounded-surface-card ui-bg-fill",
|
|
26408
|
-
u ? "ui-border ui-border-default ui-shadow-
|
|
26408
|
+
u ? "ui-border ui-border-default ui-shadow-04" : "ui-shadow-xl",
|
|
26409
26409
|
l
|
|
26410
26410
|
), Jo = /* @__PURE__ */ b(
|
|
26411
26411
|
"div",
|
|
@@ -27229,7 +27229,7 @@ const Mo = ({
|
|
|
27229
27229
|
), k = N(
|
|
27230
27230
|
// Base según Figma
|
|
27231
27231
|
"ui-pointer-events-none ui-inline-block ui-rounded-control-pill",
|
|
27232
|
-
"ui-bg-fill ui-shadow-
|
|
27232
|
+
"ui-bg-fill ui-shadow-04",
|
|
27233
27233
|
"ui-w-16 ui-h-16",
|
|
27234
27234
|
// w-16 = var(--ui-Positive-space_16), h-16 = var(--ui-Positive-space_16)
|
|
27235
27235
|
"ui-transition-transform ui-duration-200 ui-ease-in-out"
|
|
@@ -27363,7 +27363,7 @@ const nC = {
|
|
|
27363
27363
|
"ui-transition-all ui-duration-200 ui-ease-in-out",
|
|
27364
27364
|
{
|
|
27365
27365
|
// Estado de arrastre - fondo blanco sólido y sombra
|
|
27366
|
-
"ui-bg-white ui-shadow-
|
|
27366
|
+
"ui-bg-white ui-shadow-04": l,
|
|
27367
27367
|
// Estado de drag over
|
|
27368
27368
|
"ui-bg-fill-hover": u && !l,
|
|
27369
27369
|
// 'ui-opacity-50': disabled && !isDragging,
|
|
@@ -28343,7 +28343,7 @@ const rs = (e) => {
|
|
|
28343
28343
|
"ui-justify-start ui-bg-fill-brand-disabled": !w
|
|
28344
28344
|
}
|
|
28345
28345
|
),
|
|
28346
|
-
children: /* @__PURE__ */ o("div", { className: "ui-h-16 ui-w-16 ui-rounded-control-pill ui-bg-fill ui-shadow-
|
|
28346
|
+
children: /* @__PURE__ */ o("div", { className: "ui-h-16 ui-w-16 ui-rounded-control-pill ui-bg-fill ui-shadow-04" })
|
|
28347
28347
|
}
|
|
28348
28348
|
)
|
|
28349
28349
|
]
|
|
@@ -30330,7 +30330,7 @@ const L5 = ({
|
|
|
30330
30330
|
return /* @__PURE__ */ b(
|
|
30331
30331
|
"div",
|
|
30332
30332
|
{
|
|
30333
|
-
className: N("ui-relative ui-overflow-hidden ui-rounded-lg ui-shadow-
|
|
30333
|
+
className: N("ui-relative ui-overflow-hidden ui-rounded-lg ui-shadow-02", t),
|
|
30334
30334
|
style: {
|
|
30335
30335
|
width: C,
|
|
30336
30336
|
height: v,
|
|
@@ -31479,7 +31479,7 @@ const S5 = (e) => {
|
|
|
31479
31479
|
"div",
|
|
31480
31480
|
{
|
|
31481
31481
|
className: N(
|
|
31482
|
-
"ui-min-w-[254px] ui-overflow-hidden ui-rounded-lg ui-bg-fill ui-shadow-
|
|
31482
|
+
"ui-min-w-[254px] ui-overflow-hidden ui-rounded-lg ui-bg-fill ui-shadow-04",
|
|
31483
31483
|
S ? "ui-min-h-[280px]" : "ui-min-h-[325px]"
|
|
31484
31484
|
),
|
|
31485
31485
|
children: [
|
|
@@ -31648,7 +31648,7 @@ const S5 = (e) => {
|
|
|
31648
31648
|
}), z(Z), d(X);
|
|
31649
31649
|
};
|
|
31650
31650
|
return G(
|
|
31651
|
-
/* @__PURE__ */ o("div", { className: "ui-relative", children: O === "range" && I > 1 ? /* @__PURE__ */ b("div", { className: "ui-overflow-hidden ui-rounded-lg ui-bg-fill ui-shadow-
|
|
31651
|
+
/* @__PURE__ */ o("div", { className: "ui-relative", children: O === "range" && I > 1 ? /* @__PURE__ */ b("div", { className: "ui-overflow-hidden ui-rounded-lg ui-bg-fill ui-shadow-04", children: [
|
|
31652
31652
|
/* @__PURE__ */ o(
|
|
31653
31653
|
D5,
|
|
31654
31654
|
{
|
|
@@ -37057,7 +37057,7 @@ const j7 = () => {
|
|
|
37057
37057
|
iconProps: { icon: lo },
|
|
37058
37058
|
onClick: m,
|
|
37059
37059
|
tooltipProps: { label: "Anterior", position: "right" },
|
|
37060
|
-
className: "ui-bg-fill/90 ui-flex-shrink-0 ui-shadow-
|
|
37060
|
+
className: "ui-bg-fill/90 ui-flex-shrink-0 ui-shadow-04 hover:ui-bg-fill"
|
|
37061
37061
|
}
|
|
37062
37062
|
),
|
|
37063
37063
|
/* @__PURE__ */ b(
|
|
@@ -37087,7 +37087,7 @@ const j7 = () => {
|
|
|
37087
37087
|
iconProps: { icon: gt },
|
|
37088
37088
|
onClick: t,
|
|
37089
37089
|
tooltipProps: { label: "Cerrar", position: "bottom" },
|
|
37090
|
-
className: "ui-bg-fill/90 ui-shadow-
|
|
37090
|
+
className: "ui-bg-fill/90 ui-shadow-04 hover:ui-bg-fill"
|
|
37091
37091
|
}
|
|
37092
37092
|
) })
|
|
37093
37093
|
]
|
|
@@ -37103,7 +37103,7 @@ const j7 = () => {
|
|
|
37103
37103
|
iconProps: { icon: uo },
|
|
37104
37104
|
onClick: g,
|
|
37105
37105
|
tooltipProps: { label: "Siguiente", position: "left" },
|
|
37106
|
-
className: "ui-bg-fill/90 ui-flex-shrink-0 ui-shadow-
|
|
37106
|
+
className: "ui-bg-fill/90 ui-flex-shrink-0 ui-shadow-04 hover:ui-bg-fill"
|
|
37107
37107
|
}
|
|
37108
37108
|
)
|
|
37109
37109
|
] }),
|
|
@@ -37153,16 +37153,16 @@ const j7 = () => {
|
|
|
37153
37153
|
onClick: r,
|
|
37154
37154
|
className: N(
|
|
37155
37155
|
"ui-relative ui-cursor-pointer ui-rounded-control-pill ui-border-2 ui-border-solid ui-transition-all ui-duration-150",
|
|
37156
|
-
"hover:ui-scale-110 hover:ui-shadow-
|
|
37156
|
+
"hover:ui-scale-110 hover:ui-shadow-02",
|
|
37157
37157
|
"focus:ui-ring-brand focus:ui-outline-none focus:ui-ring-2 focus:ui-ring-offset-2",
|
|
37158
37158
|
H7[t],
|
|
37159
|
-
n ? "ui-scale-110 ui-border-brand ui-shadow-
|
|
37159
|
+
n ? "ui-scale-110 ui-border-brand ui-shadow-02" : "ui-border-transparent hover:ui-border-brand",
|
|
37160
37160
|
i
|
|
37161
37161
|
),
|
|
37162
37162
|
style: { backgroundColor: e },
|
|
37163
37163
|
"aria-label": `Color ${e}`,
|
|
37164
37164
|
title: e,
|
|
37165
|
-
children: n && /* @__PURE__ */ o("div", { className: "ui-absolute ui-inset-0 ui-flex ui-items-center ui-justify-center", children: /* @__PURE__ */ o(ye, { name: Wl, className: "ui-text-white ui-drop-shadow-
|
|
37165
|
+
children: n && /* @__PURE__ */ o("div", { className: "ui-absolute ui-inset-0 ui-flex ui-items-center ui-justify-center", children: /* @__PURE__ */ o(ye, { name: Wl, className: "ui-text-white ui-drop-shadow-02", size: "sm" }) })
|
|
37166
37166
|
}
|
|
37167
37167
|
), Et = (e) => e ? /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e) : !1, St = (e) => {
|
|
37168
37168
|
if (!e) return "";
|
|
@@ -37370,7 +37370,7 @@ const $7 = ({ color: e, onColorChange: n, className: r }) => {
|
|
|
37370
37370
|
children: /* @__PURE__ */ o(
|
|
37371
37371
|
"div",
|
|
37372
37372
|
{
|
|
37373
|
-
className: "ui-pointer-events-none ui-absolute ui-h-4 ui-w-4 ui--translate-x-1/2 ui--translate-y-1/2 ui-transform ui-rounded-full ui-border-2 ui-border-white ui-shadow-
|
|
37373
|
+
className: "ui-pointer-events-none ui-absolute ui-h-4 ui-w-4 ui--translate-x-1/2 ui--translate-y-1/2 ui-transform ui-rounded-full ui-border-2 ui-border-white ui-shadow-02",
|
|
37374
37374
|
style: {
|
|
37375
37375
|
left: `${M}%`,
|
|
37376
37376
|
top: `${L}%`
|
|
@@ -37389,7 +37389,7 @@ const $7 = ({ color: e, onColorChange: n, className: r }) => {
|
|
|
37389
37389
|
children: /* @__PURE__ */ o(
|
|
37390
37390
|
"div",
|
|
37391
37391
|
{
|
|
37392
|
-
className: "ui-pointer-events-none ui-absolute ui-bottom-0 ui-top-0 ui-w-1 ui--translate-x-1/2 ui-transform ui-bg-white ui-shadow-
|
|
37392
|
+
className: "ui-pointer-events-none ui-absolute ui-bottom-0 ui-top-0 ui-w-1 ui--translate-x-1/2 ui-transform ui-bg-white ui-shadow-02",
|
|
37393
37393
|
style: {
|
|
37394
37394
|
left: `${f / 360 * 100}%`
|
|
37395
37395
|
}
|
|
@@ -37742,7 +37742,7 @@ const G7 = ({
|
|
|
37742
37742
|
ref: S,
|
|
37743
37743
|
style: G,
|
|
37744
37744
|
className: N(
|
|
37745
|
-
"ui-overflow-hidden ui-rounded-surface-card ui-border-1 ui-border-solid ui-border-default ui-bg-surface-default ui-shadow-
|
|
37745
|
+
"ui-overflow-hidden ui-rounded-surface-card ui-border-1 ui-border-solid ui-border-default ui-bg-surface-default ui-shadow-04",
|
|
37746
37746
|
u.className
|
|
37747
37747
|
),
|
|
37748
37748
|
onClick: (F) => {
|
|
@@ -50306,6 +50306,7 @@ export {
|
|
|
50306
50306
|
Ic as PROGRESS_COLOR_MAP,
|
|
50307
50307
|
K7 as Pagination,
|
|
50308
50308
|
q7 as PickerColor,
|
|
50309
|
+
r6 as Picture,
|
|
50309
50310
|
an as Popover,
|
|
50310
50311
|
an as Popup,
|
|
50311
50312
|
js as PrimaryCell,
|