@candy.thieves/ui-kit-lumos 0.0.53 → 0.0.55
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/dist/index.css +1 -1
- package/dist/index.js +27 -23
- package/dist/index.js.map +1 -1
- package/dist/types/components/Avatar/MainAvatar.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3531,27 +3531,30 @@ var N = {
|
|
|
3531
3531
|
]
|
|
3532
3532
|
});
|
|
3533
3533
|
}, F = {
|
|
3534
|
-
wrapper: "
|
|
3535
|
-
rootBlock: "
|
|
3536
|
-
root: "
|
|
3537
|
-
blockImage: "
|
|
3538
|
-
image: "
|
|
3539
|
-
fallback: "
|
|
3540
|
-
xs: "
|
|
3541
|
-
s: "
|
|
3542
|
-
m: "
|
|
3543
|
-
l: "
|
|
3544
|
-
xl: "
|
|
3545
|
-
xxl: "
|
|
3546
|
-
closeButton: "
|
|
3547
|
-
closeButtonScalable: "
|
|
3548
|
-
"closeButton-xl": "_closeButton-
|
|
3549
|
-
"closeButton-xxl": "_closeButton-
|
|
3550
|
-
closeButtonIcon: "
|
|
3551
|
-
avatarGroup: "
|
|
3552
|
-
scalable: "
|
|
3553
|
-
imageContent: "
|
|
3554
|
-
imageItem: "
|
|
3534
|
+
wrapper: "_wrapper_is845_55",
|
|
3535
|
+
rootBlock: "_rootBlock_is845_60",
|
|
3536
|
+
root: "_root_is845_60",
|
|
3537
|
+
blockImage: "_blockImage_is845_72",
|
|
3538
|
+
image: "_image_is845_72",
|
|
3539
|
+
fallback: "_fallback_is845_79",
|
|
3540
|
+
xs: "_xs_is845_90",
|
|
3541
|
+
s: "_s_is845_95",
|
|
3542
|
+
m: "_m_is845_100",
|
|
3543
|
+
l: "_l_is845_105",
|
|
3544
|
+
xl: "_xl_is845_110",
|
|
3545
|
+
xxl: "_xxl_is845_115",
|
|
3546
|
+
closeButton: "_closeButton_is845_120",
|
|
3547
|
+
closeButtonScalable: "_closeButtonScalable_is845_138",
|
|
3548
|
+
"closeButton-xl": "_closeButton-xl_is845_142",
|
|
3549
|
+
"closeButton-xxl": "_closeButton-xxl_is845_147",
|
|
3550
|
+
closeButtonIcon: "_closeButtonIcon_is845_152",
|
|
3551
|
+
avatarGroup: "_avatarGroup_is845_156",
|
|
3552
|
+
scalable: "_scalable_is845_187",
|
|
3553
|
+
imageContent: "_imageContent_is845_195",
|
|
3554
|
+
imageItem: "_imageItem_is845_203",
|
|
3555
|
+
modal: "_modal_is845_209",
|
|
3556
|
+
"modal-m": "_modal-m_is845_213",
|
|
3557
|
+
"modal-xl": "_modal-xl_is845_217"
|
|
3555
3558
|
}, I = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
|
|
3556
3559
|
let c = ae(n);
|
|
3557
3560
|
return /* @__PURE__ */ u(m.Root, {
|
|
@@ -3576,7 +3579,7 @@ var N = {
|
|
|
3576
3579
|
I.displayName = "Avatar";
|
|
3577
3580
|
//#endregion
|
|
3578
3581
|
//#region src/components/Avatar/MainAvatar.tsx
|
|
3579
|
-
var ii = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, isScalable: c = !1, onClose: f, ...p }, h) => {
|
|
3582
|
+
var ii = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, isScalable: c = !1, onClose: f, ...p }, h) => {
|
|
3580
3583
|
let [g, _] = s(!1), v = () => _(!0), y = () => _(!1), b = () => {
|
|
3581
3584
|
c && v();
|
|
3582
3585
|
}, x = (e) => {
|
|
@@ -3623,10 +3626,11 @@ var ii = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "xl", cla
|
|
|
3623
3626
|
size: "m",
|
|
3624
3627
|
closeButtonOutside: !0,
|
|
3625
3628
|
fullSize: !0,
|
|
3629
|
+
className: d(F.modal, F["modal-m"]),
|
|
3626
3630
|
children: /* @__PURE__ */ l("div", {
|
|
3627
3631
|
className: F.imageContent,
|
|
3628
3632
|
children: /* @__PURE__ */ l("img", {
|
|
3629
|
-
src: e,
|
|
3633
|
+
src: e ?? void 0,
|
|
3630
3634
|
alt: t || n,
|
|
3631
3635
|
className: F.imageItem
|
|
3632
3636
|
})
|