@solostylist/ui-kit 1.0.167 → 1.0.168
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/{Typography-B7LOtCzI.js → Typography-C8jwvSWe.js} +1 -1
- package/dist/main.d.ts +3 -3
- package/dist/main.js +182 -174
- package/dist/s-accordion/index.js +2 -2
- package/dist/s-accordion/s-accordion.d.ts +17 -1
- package/dist/s-accordion/s-accordion.js +252 -238
- package/dist/s-action-overlay/index.js +1 -1
- package/dist/s-action-overlay/s-action-overlay.d.ts +34 -1
- package/dist/s-action-overlay/s-action-overlay.js +67 -55
- package/dist/s-ai-tool-bar/index.d.ts +2 -0
- package/dist/s-ai-tool-bar/index.js +3 -2
- package/dist/s-ai-tool-bar/s-ai-tool-bar.d.ts +33 -22
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +295 -247
- package/dist/s-autocomplete/index.js +2 -2
- package/dist/s-autocomplete/s-autocomplete.d.ts +13 -15
- package/dist/s-autocomplete/s-autocomplete.js +25 -17
- package/dist/s-avatar/index.js +2 -2
- package/dist/s-avatar/s-avatar.d.ts +16 -1
- package/dist/s-avatar/s-avatar.js +23 -10
- package/dist/s-blur-text/index.js +2 -2
- package/dist/s-blur-text/s-blur-text.d.ts +4 -13
- package/dist/s-blur-text/s-blur-text.js +57 -51
- package/dist/s-breadcrumbs/index.js +2 -2
- package/dist/s-breadcrumbs/s-breadcrumbs.d.ts +20 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +39 -30
- package/dist/s-button/index.js +2 -2
- package/dist/s-button/s-button.d.ts +7 -1
- package/dist/s-button/s-button.js +15 -5
- package/dist/s-button-link/index.js +2 -2
- package/dist/s-button-link/s-button-link.d.ts +12 -26
- package/dist/s-button-link/s-button-link.js +36 -26
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.d.ts +11 -1
- package/dist/s-carousel/s-carousel.js +233 -223
- package/dist/s-category-card/index.js +2 -2
- package/dist/s-category-card/s-category-card.d.ts +28 -1
- package/dist/s-category-card/s-category-card.js +77 -58
- package/dist/s-chat-input/index.js +2 -2
- package/dist/s-chat-input/s-chat-input.d.ts +12 -1
- package/dist/s-chat-input/s-chat-input.js +92 -82
- package/dist/s-chat-message/index.js +2 -2
- package/dist/s-chat-message/s-chat-message.d.ts +22 -1
- package/dist/s-chat-message/s-chat-message.js +144 -133
- package/dist/s-checkbox/index.js +2 -2
- package/dist/s-checkbox/s-checkbox.d.ts +2 -15
- package/dist/s-checkbox/s-checkbox.js +20 -10
- package/dist/s-chip/index.js +2 -2
- package/dist/s-chip/s-chip.d.ts +7 -1
- package/dist/s-chip/s-chip.js +15 -5
- package/dist/s-chips/index.js +2 -2
- package/dist/s-chips/s-chips.d.ts +5 -18
- package/dist/s-chips/s-chips.js +56 -41
- package/dist/s-comment-message/index.js +2 -2
- package/dist/s-comment-message/s-comment-message.d.ts +26 -1
- package/dist/s-comment-message/s-comment-message.js +95 -89
- package/dist/s-copyable-text/index.js +1 -1
- package/dist/s-copyable-text/s-copyable-text.d.ts +9 -36
- package/dist/s-copyable-text/s-copyable-text.js +31 -21
- package/dist/s-countdown/index.d.ts +3 -2
- package/dist/s-countdown/index.js +4 -3
- package/dist/s-countdown/s-count-box.d.ts +39 -0
- package/dist/s-countdown/s-count-box.js +112 -0
- package/dist/s-countdown/s-count-down.d.ts +6 -50
- package/dist/s-countdown/s-count-down.js +110 -175
- package/dist/s-data-table/index.js +2 -2
- package/dist/s-data-table/s-data-table.d.ts +9 -65
- package/dist/s-data-table/s-data-table.js +381 -371
- package/dist/s-date-picker/index.js +2 -2
- package/dist/s-date-picker/s-date-picker.d.ts +6 -17
- package/dist/s-date-picker/s-date-picker.js +124 -107
- package/dist/s-datetime-picker/index.js +2 -2
- package/dist/s-datetime-picker/s-datetime-picker.d.ts +5 -16
- package/dist/s-datetime-picker/s-datetime-picker.js +897 -887
- package/dist/s-dialog/index.js +2 -2
- package/dist/s-dialog/s-dialog.d.ts +3 -16
- package/dist/s-dialog/s-dialog.js +32 -23
- package/dist/s-dialog-confirm/index.js +3 -3
- package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +5 -13
- package/dist/s-dialog-confirm/s-dialog-confirm.js +55 -48
- package/dist/s-dialog-message/index.js +4 -4
- package/dist/s-dialog-message/s-dialog-message.d.ts +5 -15
- package/dist/s-dialog-message/s-dialog-message.js +45 -38
- package/dist/s-empty/index.js +2 -2
- package/dist/s-empty/s-empty.d.ts +5 -20
- package/dist/s-empty/s-empty.js +14 -4
- package/dist/s-error/index.js +2 -2
- package/dist/s-error/s-error.d.ts +5 -20
- package/dist/s-error/s-error.js +16 -6
- package/dist/s-error-layout/index.js +2 -2
- package/dist/s-error-layout/s-error-layout.d.ts +6 -1
- package/dist/s-error-layout/s-error-layout.js +60 -51
- package/dist/s-file-dropzone/index.js +2 -2
- package/dist/s-file-dropzone/s-file-dropzone.d.ts +6 -51
- package/dist/s-file-dropzone/s-file-dropzone.js +64 -54
- package/dist/s-file-icon/index.js +2 -2
- package/dist/s-file-icon/s-file-icon.d.ts +5 -25
- package/dist/s-file-icon/s-file-icon.js +14 -8
- package/dist/s-flex-box/index.js +2 -2
- package/dist/s-flex-box/s-flex-box.d.ts +10 -1
- package/dist/s-flex-box/s-flex-box.js +14 -4
- package/dist/s-form/index.js +2 -2
- package/dist/s-form/s-form.d.ts +5 -14
- package/dist/s-form/s-form.js +19 -9
- package/dist/s-gallery/index.js +33 -3
- package/dist/s-gallery/s-gallery.d.ts +3 -36
- package/dist/s-gallery/s-gallery.js +108 -78
- package/dist/s-glow-button/s-glow-button.d.ts +6 -42
- package/dist/s-glow-button/s-glow-button.js +29 -47
- package/dist/s-gradient-icon/index.d.ts +1 -1
- package/dist/s-gradient-icon/index.js +1 -1
- package/dist/s-gradient-icon/s-gradient-icon.d.ts +8 -68
- package/dist/s-gradient-icon/s-gradient-icon.js +54 -44
- package/dist/s-i18n-provider/index.js +1 -1
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +5 -33
- package/dist/s-i18n-provider/s-i18n-provider.js +25 -15
- package/dist/s-icon-button/index.js +2 -2
- package/dist/s-icon-button/s-icon-button.d.ts +6 -19
- package/dist/s-icon-button/s-icon-button.js +14 -4
- package/dist/s-image-comparison/s-image-comparison.js +50 -45
- package/dist/s-image-modal/index.js +3 -3
- package/dist/s-image-modal/s-image-modal.d.ts +4 -20
- package/dist/s-image-modal/s-image-modal.js +150 -135
- package/dist/s-item-not-found/index.js +2 -2
- package/dist/s-item-not-found/s-item-not-found.d.ts +14 -1
- package/dist/s-item-not-found/s-item-not-found.js +21 -10
- package/dist/s-label/index.js +2 -2
- package/dist/s-label/s-label.d.ts +9 -25
- package/dist/s-label/s-label.js +19 -9
- package/dist/s-language-switcher/index.js +3 -3
- package/dist/s-language-switcher/s-language-switcher.d.ts +20 -33
- package/dist/s-language-switcher/s-language-switcher.js +137 -115
- package/dist/s-lazy-image/index.js +10 -2
- package/dist/s-lazy-image/s-lazy-image.d.ts +12 -58
- package/dist/s-lazy-image/s-lazy-image.js +53 -58
- package/dist/s-localization-provider/index.js +2 -2
- package/dist/s-localization-provider/s-localization-provider.d.ts +6 -27
- package/dist/s-localization-provider/s-localization-provider.js +157 -149
- package/dist/s-moving-border/index.js +2 -2
- package/dist/s-moving-border/s-moving-border.d.ts +3 -33
- package/dist/s-moving-border/s-moving-border.js +65 -55
- package/dist/s-multi-select/index.js +2 -2
- package/dist/s-multi-select/s-multi-select.d.ts +5 -15
- package/dist/s-multi-select/s-multi-select.js +54 -45
- package/dist/s-no-ssr/index.js +2 -2
- package/dist/s-no-ssr/s-no-ssr.d.ts +5 -33
- package/dist/s-no-ssr/s-no-ssr.js +21 -11
- package/dist/s-overlay-scrollbar/index.js +2 -2
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +10 -1
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +16 -11
- package/dist/s-pagination/index.js +2 -2
- package/dist/s-pagination/s-pagination.d.ts +5 -23
- package/dist/s-pagination/s-pagination.js +17 -11
- package/dist/s-pixel-reveal/index.js +2 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +15 -1
- package/dist/s-pixel-reveal/s-pixel-reveal.js +83 -78
- package/dist/s-radial-pulse-animate/index.js +2 -2
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.d.ts +12 -1
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +52 -42
- package/dist/s-rating/index.js +2 -2
- package/dist/s-rating/s-rating.d.ts +7 -1
- package/dist/s-rating/s-rating.js +15 -5
- package/dist/s-review/index.js +2 -2
- package/dist/s-review/s-review.d.ts +25 -1
- package/dist/s-review/s-review.js +104 -97
- package/dist/s-scroll-reveal/index.js +2 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.d.ts +17 -36
- package/dist/s-scroll-reveal/s-scroll-reveal.js +43 -33
- package/dist/s-scroll-to-top/index.js +2 -2
- package/dist/s-scroll-to-top/s-scroll-to-top.d.ts +12 -17
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -15
- package/dist/s-select/index.js +2 -2
- package/dist/s-select/s-select.d.ts +3 -22
- package/dist/s-select/s-select.js +76 -72
- package/dist/s-select-list/index.js +2 -2
- package/dist/s-select-list/s-select-list.d.ts +16 -19
- package/dist/s-select-list/s-select-list.js +33 -28
- package/dist/s-skeleton/index.js +2 -2
- package/dist/s-skeleton/s-skeleton.d.ts +6 -22
- package/dist/s-skeleton/s-skeleton.js +28 -18
- package/dist/s-snackbar-message/index.js +4 -4
- package/dist/s-snackbar-message/s-snackbar-message.d.ts +5 -23
- package/dist/s-snackbar-message/s-snackbar-message.js +38 -31
- package/dist/s-spotlight-cursor/index.js +2 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.d.ts +10 -44
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +35 -29
- package/dist/s-stripe/index.d.ts +4 -1
- package/dist/s-stripe/index.js +7 -4
- package/dist/s-stripe/s-stripe-cvc.d.ts +8 -0
- package/dist/s-stripe/s-stripe-cvc.js +15 -0
- package/dist/s-stripe/s-stripe-expiry.d.ts +8 -0
- package/dist/s-stripe/s-stripe-expiry.js +15 -0
- package/dist/s-stripe/s-stripe-number.d.ts +8 -0
- package/dist/s-stripe/s-stripe-number.js +15 -0
- package/dist/s-stripe/s-stripe.d.ts +6 -85
- package/dist/s-stripe/s-stripe.js +24 -27
- package/dist/s-stripe/stripe-input.js +22 -18
- package/dist/s-tabs/index.js +6 -6
- package/dist/s-tabs/s-tab-panel.d.ts +11 -1
- package/dist/s-tabs/s-tab-panel.js +25 -16
- package/dist/s-tabs/s-tab.js +9 -5
- package/dist/s-tabs/s-tabs.d.ts +24 -3
- package/dist/s-tabs/s-tabs.js +34 -25
- package/dist/s-text-editor/index.js +3 -3
- package/dist/s-text-editor/s-text-editor-toolbar.js +91 -76
- package/dist/s-text-editor/s-text-editor.d.ts +13 -11
- package/dist/s-text-editor/s-text-editor.js +44 -30
- package/dist/s-text-field/index.js +2 -2
- package/dist/s-text-field/s-text-field.d.ts +6 -15
- package/dist/s-text-field/s-text-field.js +38 -28
- package/dist/s-text-shimmer/index.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +10 -1
- package/dist/s-text-shimmer/s-text-shimmer.js +27 -18
- package/dist/s-text-truncation/index.js +2 -2
- package/dist/s-text-truncation/s-text-truncation.d.ts +9 -38
- package/dist/s-text-truncation/s-text-truncation.js +34 -20
- package/dist/s-theme-demo/s-theme-demo.js +238 -223
- package/dist/s-theme-provider/index.js +1 -1
- package/dist/s-theme-provider/s-theme-provider.d.ts +5 -17
- package/dist/s-theme-provider/s-theme-provider.js +44 -34
- package/dist/s-theme-switch/s-theme-switch.js +23 -19
- package/dist/s-tip/index.js +2 -2
- package/dist/s-tip/s-tip.d.ts +5 -22
- package/dist/s-tip/s-tip.js +22 -12
- package/dist/s-two-pane-layout/index.js +10 -2
- package/dist/s-two-pane-layout/s-two-pane-layout.d.ts +7 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.js +58 -48
- package/dist/s-typewriter-text/index.js +2 -2
- package/dist/s-typewriter-text/s-typewriter-text.d.ts +17 -1
- package/dist/s-typewriter-text/s-typewriter-text.js +37 -27
- package/dist/s-zoom-image/index.js +10 -2
- package/dist/s-zoom-image/s-zoom-image.d.ts +10 -42
- package/dist/s-zoom-image/s-zoom-image.js +62 -52
- package/dist/theme/components/alert.d.ts +1436 -1436
- package/dist/theme/components/button.d.ts +2150 -2150
- package/dist/theme/components/chip.d.ts +2 -2
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/{typographyClasses-C7fhAsUD.js → typographyClasses-DDyl9mok.js} +4 -4
- package/dist/{useMobilePicker-DgxcRrRB.js → useMobilePicker-C1RZZUWr.js} +1 -1
- package/package.json +10 -4
|
@@ -1,110 +1,111 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import { motion as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { j as t } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
+
import { useState as S, useEffect as j } from "react";
|
|
3
|
+
import { Box as s, Modal as M, Paper as y, Typography as k, IconButton as v, Stack as T } from "@mui/material";
|
|
4
|
+
import { motion as x, AnimatePresence as N } from "framer-motion";
|
|
5
|
+
import "../s-lazy-image/index.js";
|
|
6
|
+
import P from "../s-lazy-image/s-lazy-image.js";
|
|
7
|
+
import { C as D } from "../Close-BRlEKA2Q.js";
|
|
8
|
+
import { C as R } from "../ChevronLeft-CBuFk2Fh.js";
|
|
9
|
+
import { C as W } from "../ChevronRight-CnDWPrOm.js";
|
|
10
|
+
const g = ({ item: o, onClick: l, style: d = {}, objectFit: i = "contain", disableVideoControls: n = !1 }) => o.type === "video" ? /* @__PURE__ */ t.jsx(
|
|
11
|
+
s,
|
|
11
12
|
{
|
|
12
13
|
component: "video",
|
|
13
|
-
onClick:
|
|
14
|
-
controls: !
|
|
14
|
+
onClick: l,
|
|
15
|
+
controls: !n,
|
|
15
16
|
sx: {
|
|
16
17
|
width: "100%",
|
|
17
18
|
height: "100%",
|
|
18
|
-
objectFit:
|
|
19
|
+
objectFit: i,
|
|
19
20
|
bgcolor: "background.paper",
|
|
20
|
-
...
|
|
21
|
+
...d
|
|
21
22
|
},
|
|
22
|
-
children: /* @__PURE__ */
|
|
23
|
+
children: /* @__PURE__ */ t.jsx("source", { src: o.url, type: "video/mp4" })
|
|
23
24
|
}
|
|
24
|
-
) : /* @__PURE__ */
|
|
25
|
-
|
|
25
|
+
) : /* @__PURE__ */ t.jsx(
|
|
26
|
+
P,
|
|
26
27
|
{
|
|
27
|
-
src:
|
|
28
|
-
alt:
|
|
29
|
-
onClick:
|
|
28
|
+
src: o.url,
|
|
29
|
+
alt: o.title || "",
|
|
30
|
+
onClick: l,
|
|
30
31
|
style: {
|
|
31
32
|
width: "100%",
|
|
32
33
|
height: "100%",
|
|
33
|
-
objectFit:
|
|
34
|
+
objectFit: i,
|
|
34
35
|
backgroundColor: "background.paper",
|
|
35
|
-
...
|
|
36
|
+
...d
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
|
-
),
|
|
39
|
-
selectedItem:
|
|
40
|
-
isOpen:
|
|
41
|
-
onClose:
|
|
42
|
-
onItemChange:
|
|
43
|
-
mediaItems:
|
|
44
|
-
renderMediaItem:
|
|
45
|
-
showNavigation:
|
|
46
|
-
showThumbnailDock:
|
|
47
|
-
showCounter:
|
|
48
|
-
modalSx:
|
|
39
|
+
), b = ({
|
|
40
|
+
selectedItem: o,
|
|
41
|
+
isOpen: l,
|
|
42
|
+
onClose: d,
|
|
43
|
+
onItemChange: i,
|
|
44
|
+
mediaItems: n = [],
|
|
45
|
+
renderMediaItem: h,
|
|
46
|
+
showNavigation: C = !0,
|
|
47
|
+
showThumbnailDock: _ = !0,
|
|
48
|
+
showCounter: V = !0,
|
|
49
|
+
modalSx: q = {}
|
|
49
50
|
}) => {
|
|
50
|
-
const [
|
|
51
|
+
const [z, u] = S(o || null), a = o || z;
|
|
51
52
|
j(() => {
|
|
52
|
-
|
|
53
|
-
}, [
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
const
|
|
57
|
-
|
|
53
|
+
o && u(o);
|
|
54
|
+
}, [o]);
|
|
55
|
+
const p = C && n.length > 1 && a, r = a ? n.findIndex((e) => e.id === a.id) : -1, f = n.length, I = () => {
|
|
56
|
+
if (p && r > 0) {
|
|
57
|
+
const e = n[r - 1];
|
|
58
|
+
i ? i(e) : u(e);
|
|
58
59
|
}
|
|
59
|
-
},
|
|
60
|
-
if (
|
|
61
|
-
const
|
|
62
|
-
|
|
60
|
+
}, w = () => {
|
|
61
|
+
if (p && r < f - 1) {
|
|
62
|
+
const e = n[r + 1];
|
|
63
|
+
i ? i(e) : u(e);
|
|
63
64
|
}
|
|
64
65
|
};
|
|
65
66
|
return j(() => {
|
|
66
|
-
const
|
|
67
|
-
if (
|
|
68
|
-
switch (
|
|
67
|
+
const e = (c) => {
|
|
68
|
+
if (l)
|
|
69
|
+
switch (c.key) {
|
|
69
70
|
case "ArrowLeft":
|
|
70
|
-
|
|
71
|
+
I();
|
|
71
72
|
break;
|
|
72
73
|
case "ArrowRight":
|
|
73
|
-
|
|
74
|
+
w();
|
|
74
75
|
break;
|
|
75
76
|
case "Escape":
|
|
76
|
-
|
|
77
|
+
d();
|
|
77
78
|
break;
|
|
78
79
|
}
|
|
79
80
|
};
|
|
80
|
-
return document.addEventListener("keydown",
|
|
81
|
-
}, [
|
|
82
|
-
|
|
81
|
+
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
82
|
+
}, [l, r, f, p]), !l || !a ? null : /* @__PURE__ */ t.jsx(
|
|
83
|
+
M,
|
|
83
84
|
{
|
|
84
|
-
open:
|
|
85
|
-
onClose:
|
|
85
|
+
open: l,
|
|
86
|
+
onClose: d,
|
|
86
87
|
sx: {
|
|
87
|
-
zIndex: (
|
|
88
|
-
...
|
|
88
|
+
zIndex: (e) => e.zIndex.modal + 100,
|
|
89
|
+
...q
|
|
89
90
|
},
|
|
90
91
|
slotProps: {
|
|
91
92
|
backdrop: {
|
|
92
93
|
sx: {
|
|
93
94
|
backdropFilter: "blur(8px)",
|
|
94
|
-
zIndex: (
|
|
95
|
+
zIndex: (e) => e.zIndex.modal + 99
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
},
|
|
98
|
-
children: /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */
|
|
100
|
-
|
|
99
|
+
children: /* @__PURE__ */ t.jsxs(s, { children: [
|
|
100
|
+
/* @__PURE__ */ t.jsx(
|
|
101
|
+
x.div,
|
|
101
102
|
{
|
|
102
103
|
initial: { scale: 0.98 },
|
|
103
104
|
animate: { scale: 1 },
|
|
104
105
|
exit: { scale: 0.98 },
|
|
105
106
|
transition: { type: "spring", stiffness: 400, damping: 30 },
|
|
106
|
-
children: /* @__PURE__ */
|
|
107
|
-
|
|
107
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
108
|
+
y,
|
|
108
109
|
{
|
|
109
110
|
sx: {
|
|
110
111
|
position: "fixed",
|
|
@@ -113,19 +114,19 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
113
114
|
minHeight: "100vh",
|
|
114
115
|
borderRadius: 0,
|
|
115
116
|
overflow: "hidden",
|
|
116
|
-
zIndex: (
|
|
117
|
+
zIndex: (e) => e.zIndex.modal + 101
|
|
117
118
|
},
|
|
118
119
|
children: [
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
|
|
120
|
+
/* @__PURE__ */ t.jsx(
|
|
121
|
+
s,
|
|
121
122
|
{
|
|
122
123
|
sx: {
|
|
123
124
|
height: "100%",
|
|
124
125
|
display: "flex",
|
|
125
126
|
flexDirection: "column"
|
|
126
127
|
},
|
|
127
|
-
children: /* @__PURE__ */
|
|
128
|
-
|
|
128
|
+
children: /* @__PURE__ */ t.jsx(
|
|
129
|
+
s,
|
|
129
130
|
{
|
|
130
131
|
sx: {
|
|
131
132
|
flex: 1,
|
|
@@ -135,8 +136,8 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
135
136
|
justifyContent: "center",
|
|
136
137
|
bgcolor: "background.default"
|
|
137
138
|
},
|
|
138
|
-
children: /* @__PURE__ */
|
|
139
|
-
|
|
139
|
+
children: /* @__PURE__ */ t.jsx(N, { mode: "wait", children: /* @__PURE__ */ t.jsx(
|
|
140
|
+
x.div,
|
|
140
141
|
{
|
|
141
142
|
style: { position: "relative" },
|
|
142
143
|
initial: { y: 20, scale: 0.97 },
|
|
@@ -146,10 +147,10 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
146
147
|
transition: { type: "spring", stiffness: 500, damping: 30, mass: 0.5 }
|
|
147
148
|
},
|
|
148
149
|
exit: { y: 20, scale: 0.97, transition: { duration: 0.15 } },
|
|
149
|
-
children: /* @__PURE__ */
|
|
150
|
-
|
|
150
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
151
|
+
y,
|
|
151
152
|
{
|
|
152
|
-
onClick: (
|
|
153
|
+
onClick: (e) => e.stopPropagation(),
|
|
153
154
|
sx: {
|
|
154
155
|
position: "relative",
|
|
155
156
|
width: "100%",
|
|
@@ -160,9 +161,9 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
160
161
|
overflow: "hidden"
|
|
161
162
|
},
|
|
162
163
|
children: [
|
|
163
|
-
|
|
164
|
-
(
|
|
165
|
-
|
|
164
|
+
h ? h(a) : /* @__PURE__ */ t.jsx(g, { item: a }),
|
|
165
|
+
(a.title || a.desc) && /* @__PURE__ */ t.jsxs(
|
|
166
|
+
s,
|
|
166
167
|
{
|
|
167
168
|
sx: {
|
|
168
169
|
position: "absolute",
|
|
@@ -170,12 +171,12 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
170
171
|
right: 0,
|
|
171
172
|
bottom: 0,
|
|
172
173
|
p: { xs: 1.5, sm: 2, md: 3 },
|
|
173
|
-
background: (
|
|
174
|
+
background: (e) => `linear-gradient(to top, ${(e.vars || e).palette.background.paper}, transparent)`
|
|
174
175
|
},
|
|
175
|
-
onClick: (
|
|
176
|
+
onClick: (e) => e.stopPropagation(),
|
|
176
177
|
children: [
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
a.title && /* @__PURE__ */ t.jsx(k, { variant: "h6", sx: { fontWeight: 600, fontSize: { xs: 14, sm: 18, md: 20 } }, children: a.title }),
|
|
179
|
+
a.desc && /* @__PURE__ */ t.jsx(k, { variant: "body2", sx: { opacity: 0.8, mt: 0.5 }, children: a.desc })
|
|
179
180
|
]
|
|
180
181
|
}
|
|
181
182
|
)
|
|
@@ -183,87 +184,87 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
183
184
|
}
|
|
184
185
|
)
|
|
185
186
|
},
|
|
186
|
-
|
|
187
|
+
a.id
|
|
187
188
|
) })
|
|
188
189
|
}
|
|
189
190
|
)
|
|
190
191
|
}
|
|
191
192
|
),
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
|
|
193
|
+
/* @__PURE__ */ t.jsx(
|
|
194
|
+
v,
|
|
194
195
|
{
|
|
195
196
|
"aria-label": "Close",
|
|
196
|
-
onClick:
|
|
197
|
+
onClick: d,
|
|
197
198
|
sx: {
|
|
198
199
|
position: "absolute",
|
|
199
200
|
top: { xs: 8, sm: 10, md: 12 },
|
|
200
201
|
right: { xs: 8, sm: 10, md: 12 },
|
|
201
|
-
zIndex: (
|
|
202
|
+
zIndex: (e) => e.zIndex.modal + 102
|
|
202
203
|
},
|
|
203
|
-
children: /* @__PURE__ */
|
|
204
|
+
children: /* @__PURE__ */ t.jsx(D, {})
|
|
204
205
|
}
|
|
205
206
|
),
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
V && p && /* @__PURE__ */ t.jsxs(
|
|
208
|
+
s,
|
|
208
209
|
{
|
|
209
210
|
sx: {
|
|
210
211
|
position: "absolute",
|
|
211
212
|
top: { xs: 8, sm: 10, md: 12 },
|
|
212
213
|
left: { xs: 8, sm: 10, md: 12 },
|
|
213
|
-
zIndex: (
|
|
214
|
+
zIndex: (e) => e.zIndex.modal + 102,
|
|
214
215
|
padding: 1,
|
|
215
216
|
px: 2,
|
|
216
217
|
fontSize: { xs: 14, sm: 16 },
|
|
217
218
|
color: "text.primary"
|
|
218
219
|
},
|
|
219
220
|
children: [
|
|
220
|
-
|
|
221
|
+
r + 1,
|
|
221
222
|
" / ",
|
|
222
|
-
|
|
223
|
+
f
|
|
223
224
|
]
|
|
224
225
|
}
|
|
225
226
|
),
|
|
226
|
-
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
|
|
227
|
+
p && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
228
|
+
/* @__PURE__ */ t.jsx(
|
|
229
|
+
v,
|
|
229
230
|
{
|
|
230
231
|
"aria-label": "Previous image",
|
|
231
|
-
onClick: (
|
|
232
|
-
|
|
232
|
+
onClick: (e) => {
|
|
233
|
+
e.stopPropagation(), I();
|
|
233
234
|
},
|
|
234
|
-
disabled:
|
|
235
|
+
disabled: r === 0,
|
|
235
236
|
sx: {
|
|
236
237
|
position: "absolute",
|
|
237
238
|
left: { xs: 8, sm: 10, md: 12 },
|
|
238
239
|
top: "50%",
|
|
239
240
|
transform: "translateY(-50%)",
|
|
240
|
-
zIndex: (
|
|
241
|
+
zIndex: (e) => e.zIndex.modal + 102,
|
|
241
242
|
"&:disabled": {
|
|
242
243
|
opacity: 0.5
|
|
243
244
|
}
|
|
244
245
|
},
|
|
245
|
-
children: /* @__PURE__ */
|
|
246
|
+
children: /* @__PURE__ */ t.jsx(R, {})
|
|
246
247
|
}
|
|
247
248
|
),
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
|
|
249
|
+
/* @__PURE__ */ t.jsx(
|
|
250
|
+
v,
|
|
250
251
|
{
|
|
251
252
|
"aria-label": "Next image",
|
|
252
|
-
onClick: (
|
|
253
|
-
|
|
253
|
+
onClick: (e) => {
|
|
254
|
+
e.stopPropagation(), w();
|
|
254
255
|
},
|
|
255
|
-
disabled:
|
|
256
|
+
disabled: r === f - 1,
|
|
256
257
|
sx: {
|
|
257
258
|
position: "absolute",
|
|
258
259
|
right: { xs: 8, sm: 10, md: 12 },
|
|
259
260
|
top: "50%",
|
|
260
261
|
transform: "translateY(-50%)",
|
|
261
|
-
zIndex: (
|
|
262
|
+
zIndex: (e) => e.zIndex.modal + 102,
|
|
262
263
|
"&:disabled": {
|
|
263
264
|
opacity: 0.5
|
|
264
265
|
}
|
|
265
266
|
},
|
|
266
|
-
children: /* @__PURE__ */
|
|
267
|
+
children: /* @__PURE__ */ t.jsx(W, {})
|
|
267
268
|
}
|
|
268
269
|
)
|
|
269
270
|
] })
|
|
@@ -272,8 +273,8 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
272
273
|
)
|
|
273
274
|
}
|
|
274
275
|
),
|
|
275
|
-
|
|
276
|
-
|
|
276
|
+
_ && p && n.length > 1 && /* @__PURE__ */ t.jsx(
|
|
277
|
+
s,
|
|
277
278
|
{
|
|
278
279
|
sx: {
|
|
279
280
|
position: "fixed",
|
|
@@ -282,8 +283,8 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
282
283
|
bottom: 16,
|
|
283
284
|
transform: "translateX(-50%)"
|
|
284
285
|
},
|
|
285
|
-
children: /* @__PURE__ */
|
|
286
|
-
|
|
286
|
+
children: /* @__PURE__ */ t.jsx(
|
|
287
|
+
y,
|
|
287
288
|
{
|
|
288
289
|
sx: {
|
|
289
290
|
position: "relative",
|
|
@@ -295,11 +296,11 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
295
296
|
px: 1.5,
|
|
296
297
|
py: 1
|
|
297
298
|
},
|
|
298
|
-
children: /* @__PURE__ */
|
|
299
|
-
|
|
299
|
+
children: /* @__PURE__ */ t.jsx(T, { direction: "row", alignItems: "center", spacing: -1.5, children: n.map((e, c) => /* @__PURE__ */ t.jsxs(
|
|
300
|
+
x.div,
|
|
300
301
|
{
|
|
301
|
-
onClick: (
|
|
302
|
-
|
|
302
|
+
onClick: (m) => {
|
|
303
|
+
m.stopPropagation(), i ? i(e) : u(e);
|
|
303
304
|
},
|
|
304
305
|
style: {
|
|
305
306
|
position: "relative",
|
|
@@ -308,16 +309,16 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
308
309
|
borderRadius: 10,
|
|
309
310
|
overflow: "hidden",
|
|
310
311
|
flexShrink: 0,
|
|
311
|
-
zIndex:
|
|
312
|
-
border:
|
|
313
|
-
borderColor:
|
|
312
|
+
zIndex: a.id === e.id ? 30 : n.length - c,
|
|
313
|
+
border: a.id === e.id ? "1px solid" : void 0,
|
|
314
|
+
borderColor: a.id === e.id ? "divider" : void 0,
|
|
314
315
|
cursor: "pointer"
|
|
315
316
|
},
|
|
316
|
-
initial: { rotate:
|
|
317
|
+
initial: { rotate: c % 2 === 0 ? -15 : 15 },
|
|
317
318
|
animate: {
|
|
318
|
-
scale:
|
|
319
|
-
rotate:
|
|
320
|
-
y:
|
|
319
|
+
scale: a.id === e.id ? 1.2 : 1,
|
|
320
|
+
rotate: a.id === e.id ? 0 : c % 2 === 0 ? -15 : 15,
|
|
321
|
+
y: a.id === e.id ? -8 : 0
|
|
321
322
|
},
|
|
322
323
|
whileHover: {
|
|
323
324
|
scale: 1.3,
|
|
@@ -326,35 +327,35 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
326
327
|
transition: { type: "spring", stiffness: 400, damping: 25 }
|
|
327
328
|
},
|
|
328
329
|
children: [
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
}) : /* @__PURE__ */
|
|
332
|
-
|
|
330
|
+
h ? h(e, () => {
|
|
331
|
+
i ? i(e) : u(e);
|
|
332
|
+
}) : /* @__PURE__ */ t.jsx(
|
|
333
|
+
g,
|
|
333
334
|
{
|
|
334
|
-
item:
|
|
335
|
+
item: e,
|
|
335
336
|
objectFit: "cover",
|
|
336
337
|
style: {
|
|
337
338
|
width: "100%",
|
|
338
339
|
height: "100%",
|
|
339
340
|
// Disable pointer events for videos in thumbnails to ensure parent click handler works
|
|
340
|
-
pointerEvents:
|
|
341
|
+
pointerEvents: e.type === "video" ? "none" : "auto"
|
|
341
342
|
},
|
|
342
343
|
disableVideoControls: !0
|
|
343
344
|
}
|
|
344
345
|
),
|
|
345
|
-
/* @__PURE__ */
|
|
346
|
-
|
|
346
|
+
/* @__PURE__ */ t.jsx(
|
|
347
|
+
s,
|
|
347
348
|
{
|
|
348
349
|
sx: {
|
|
349
350
|
position: "absolute",
|
|
350
351
|
inset: 0,
|
|
351
|
-
background: (
|
|
352
|
+
background: (m) => `linear-gradient(to bottom, transparent, ${(m.vars || m).palette.action.hover}, ${(m.vars || m).palette.action.selected})`,
|
|
352
353
|
pointerEvents: "none"
|
|
353
354
|
}
|
|
354
355
|
}
|
|
355
356
|
),
|
|
356
|
-
|
|
357
|
-
|
|
357
|
+
a.id === e.id && /* @__PURE__ */ t.jsx(
|
|
358
|
+
x.div,
|
|
358
359
|
{
|
|
359
360
|
layoutId: "activeGlow",
|
|
360
361
|
style: {
|
|
@@ -370,7 +371,7 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
370
371
|
)
|
|
371
372
|
]
|
|
372
373
|
},
|
|
373
|
-
|
|
374
|
+
e.id
|
|
374
375
|
)) })
|
|
375
376
|
}
|
|
376
377
|
)
|
|
@@ -380,7 +381,21 @@ const w = ({ item: s, onClick: d, style: l = {}, objectFit: e = "contain", disab
|
|
|
380
381
|
}
|
|
381
382
|
);
|
|
382
383
|
};
|
|
384
|
+
b.displayName = "SImageModal";
|
|
385
|
+
try {
|
|
386
|
+
g.displayName = "DefaultMediaItem", g.__docgenInfo = { description: "Default MediaItem renderer for images and videos", displayName: "DefaultMediaItem", props: {} };
|
|
387
|
+
} catch {
|
|
388
|
+
}
|
|
389
|
+
try {
|
|
390
|
+
b.displayName = "SImageModal", b.__docgenInfo = { description: "A reusable full-screen modal for displaying media items with navigation features.", displayName: "SImageModal", props: { selectedItem: { defaultValue: null, description: "Currently selected media item to display", name: "selectedItem", required: !1, type: { name: "MediaItemType | null" } }, isOpen: { defaultValue: null, description: "Whether the modal is open", name: "isOpen", required: !0, type: { name: "boolean" } }, onClose: { defaultValue: null, description: "Function to close the modal", name: "onClose", required: !0, type: { name: "() => void" } }, onItemChange: { defaultValue: null, description: "Function to change the selected item (for navigation)", name: "onItemChange", required: !1, type: { name: "((item: MediaItemType) => void)" } }, mediaItems: { defaultValue: { value: "[]" }, description: "Array of all media items for navigation (optional - if provided, enables prev/next navigation)", name: "mediaItems", required: !1, type: { name: "MediaItemType[]" } }, renderMediaItem: { defaultValue: null, description: "Custom component to render media items", name: "renderMediaItem", required: !1, type: { name: "((item: MediaItemType, onClick?: (() => void)) => ReactNode)" } }, showNavigation: { defaultValue: { value: "true" }, description: "Whether to show navigation arrows", name: "showNavigation", required: !1, type: { name: "boolean" } }, showThumbnailDock: { defaultValue: { value: "true" }, description: "Whether to show the thumbnail dock", name: "showThumbnailDock", required: !1, type: { name: "boolean" } }, showCounter: { defaultValue: { value: "true" }, description: "Whether to show the item counter", name: "showCounter", required: !1, type: { name: "boolean" } }, modalSx: { defaultValue: { value: "{}" }, description: "Custom modal styling", name: "modalSx", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
391
|
+
} catch {
|
|
392
|
+
}
|
|
393
|
+
try {
|
|
394
|
+
simagemodal.displayName = "simagemodal", simagemodal.__docgenInfo = { description: "A reusable full-screen modal for displaying media items with navigation features.", displayName: "simagemodal", props: { selectedItem: { defaultValue: null, description: "Currently selected media item to display", name: "selectedItem", required: !1, type: { name: "MediaItemType | null" } }, isOpen: { defaultValue: null, description: "Whether the modal is open", name: "isOpen", required: !0, type: { name: "boolean" } }, onClose: { defaultValue: null, description: "Function to close the modal", name: "onClose", required: !0, type: { name: "() => void" } }, onItemChange: { defaultValue: null, description: "Function to change the selected item (for navigation)", name: "onItemChange", required: !1, type: { name: "((item: MediaItemType) => void)" } }, mediaItems: { defaultValue: { value: "[]" }, description: "Array of all media items for navigation (optional - if provided, enables prev/next navigation)", name: "mediaItems", required: !1, type: { name: "MediaItemType[]" } }, renderMediaItem: { defaultValue: null, description: "Custom component to render media items", name: "renderMediaItem", required: !1, type: { name: "((item: MediaItemType, onClick?: (() => void)) => ReactNode)" } }, showNavigation: { defaultValue: { value: "true" }, description: "Whether to show navigation arrows", name: "showNavigation", required: !1, type: { name: "boolean" } }, showThumbnailDock: { defaultValue: { value: "true" }, description: "Whether to show the thumbnail dock", name: "showThumbnailDock", required: !1, type: { name: "boolean" } }, showCounter: { defaultValue: { value: "true" }, description: "Whether to show the item counter", name: "showCounter", required: !1, type: { name: "boolean" } }, modalSx: { defaultValue: { value: "{}" }, description: "Custom modal styling", name: "modalSx", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
395
|
+
} catch {
|
|
396
|
+
}
|
|
383
397
|
export {
|
|
384
|
-
|
|
385
|
-
|
|
398
|
+
g as DefaultMediaItem,
|
|
399
|
+
b as SImageModal,
|
|
400
|
+
b as default
|
|
386
401
|
};
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import { BoxProps } from '@mui/material';
|
|
2
2
|
import { SLazyImageProps } from '../s-lazy-image';
|
|
3
|
+
/**
|
|
4
|
+
* Props interface for SItemNotFound component
|
|
5
|
+
*/
|
|
3
6
|
export interface SItemNotFoundProps {
|
|
7
|
+
/** The message text to display below the image */
|
|
4
8
|
message: string;
|
|
9
|
+
/** Path to the image to display (optional, uses theme-aware default if not provided) */
|
|
5
10
|
image?: string;
|
|
11
|
+
/** Additional props to pass to the root Box container */
|
|
6
12
|
boxProps?: BoxProps;
|
|
13
|
+
/** Props to pass to the SLazyImage component for advanced image configuration */
|
|
7
14
|
lazyImageProps?: Omit<SLazyImageProps, 'src'>;
|
|
8
15
|
}
|
|
9
|
-
|
|
16
|
+
/**
|
|
17
|
+
* A flexible empty state component that displays a custom message with an accompanying image.
|
|
18
|
+
*/
|
|
19
|
+
export declare const SItemNotFound: {
|
|
20
|
+
({ message, image, boxProps, lazyImageProps }: SItemNotFoundProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
10
23
|
export default SItemNotFound;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { j as t } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
-
import { useColorScheme as
|
|
3
|
-
import
|
|
4
|
-
|
|
2
|
+
import { useColorScheme as d, Box as n, Typography as p, SvgIcon as o } from "@mui/material";
|
|
3
|
+
import "../s-lazy-image/index.js";
|
|
4
|
+
import h from "../s-lazy-image/s-lazy-image.js";
|
|
5
|
+
const m = () => /* @__PURE__ */ t.jsx(o, { sx: { height: "fit-content", width: "fit-content", maxWidth: 220, maxHeight: 220 }, children: /* @__PURE__ */ t.jsxs("svg", { width: "439", height: "326", viewBox: "0 0 439 326", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5
6
|
/* @__PURE__ */ t.jsxs("g", { clipPath: "url(#clip0_1173_4088)", children: [
|
|
6
7
|
/* @__PURE__ */ t.jsx(
|
|
7
8
|
"path",
|
|
@@ -125,7 +126,7 @@ const x = () => /* @__PURE__ */ t.jsx(i, { sx: { height: "fit-content", width: "
|
|
|
125
126
|
)
|
|
126
127
|
] }),
|
|
127
128
|
/* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_1173_4088", children: /* @__PURE__ */ t.jsx("rect", { width: "439", height: "326", fill: "white" }) }) })
|
|
128
|
-
] }) }),
|
|
129
|
+
] }) }), c = () => /* @__PURE__ */ t.jsx(o, { sx: { height: "fit-content", width: "fit-content", maxWidth: 220, maxHeight: 220 }, children: /* @__PURE__ */ t.jsxs("svg", { width: "439", height: "326", viewBox: "0 0 439 326", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
129
130
|
/* @__PURE__ */ t.jsxs("g", { clipPath: "url(#clip0_595_6559)", children: [
|
|
130
131
|
/* @__PURE__ */ t.jsx(
|
|
131
132
|
"path",
|
|
@@ -249,13 +250,23 @@ const x = () => /* @__PURE__ */ t.jsx(i, { sx: { height: "fit-content", width: "
|
|
|
249
250
|
)
|
|
250
251
|
] }),
|
|
251
252
|
/* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_595_6559", children: /* @__PURE__ */ t.jsx("rect", { width: "439", height: "326", fill: "white" }) }) })
|
|
252
|
-
] }) }),
|
|
253
|
-
const { mode:
|
|
254
|
-
return /* @__PURE__ */ t.jsxs(
|
|
255
|
-
|
|
256
|
-
/* @__PURE__ */ t.jsx(
|
|
253
|
+
] }) }), i = ({ message: e, image: s, boxProps: r, lazyImageProps: C }) => {
|
|
254
|
+
const { mode: a } = d(), l = a === "light" ? /* @__PURE__ */ t.jsx(m, {}) : /* @__PURE__ */ t.jsx(c, {});
|
|
255
|
+
return /* @__PURE__ */ t.jsxs(n, { display: "flex", justifyContent: "center", alignItems: "center", flexDirection: "column", ...r, children: [
|
|
256
|
+
s ? /* @__PURE__ */ t.jsx(h, { src: s, width: 220, height: 220, ...C }) : l,
|
|
257
|
+
/* @__PURE__ */ t.jsx(p, { variant: "h6", color: "text.disabled", children: e })
|
|
257
258
|
] });
|
|
258
259
|
};
|
|
260
|
+
i.displayName = "SItemNotFound";
|
|
261
|
+
try {
|
|
262
|
+
i.displayName = "SItemNotFound", i.__docgenInfo = { description: "A flexible empty state component that displays a custom message with an accompanying image.", displayName: "SItemNotFound", props: { message: { defaultValue: null, description: "The message text to display below the image", name: "message", required: !0, type: { name: "string" } }, image: { defaultValue: null, description: "Path to the image to display (optional, uses theme-aware default if not provided)", name: "image", required: !1, type: { name: "string" } }, boxProps: { defaultValue: null, description: "Additional props to pass to the root Box container", name: "boxProps", required: !1, type: { name: "BoxProps" } }, lazyImageProps: { defaultValue: null, description: "Props to pass to the SLazyImage component for advanced image configuration", name: "lazyImageProps", required: !1, type: { name: 'Omit<SLazyImageProps, "src">' } } } };
|
|
263
|
+
} catch {
|
|
264
|
+
}
|
|
265
|
+
try {
|
|
266
|
+
sitemnotfound.displayName = "sitemnotfound", sitemnotfound.__docgenInfo = { description: "A flexible empty state component that displays a custom message with an accompanying image.", displayName: "sitemnotfound", props: { message: { defaultValue: null, description: "The message text to display below the image", name: "message", required: !0, type: { name: "string" } }, image: { defaultValue: null, description: "Path to the image to display (optional, uses theme-aware default if not provided)", name: "image", required: !1, type: { name: "string" } }, boxProps: { defaultValue: null, description: "Additional props to pass to the root Box container", name: "boxProps", required: !1, type: { name: "BoxProps" } }, lazyImageProps: { defaultValue: null, description: "Props to pass to the SLazyImage component for advanced image configuration", name: "lazyImageProps", required: !1, type: { name: 'Omit<SLazyImageProps, "src">' } } } };
|
|
267
|
+
} catch {
|
|
268
|
+
}
|
|
259
269
|
export {
|
|
260
|
-
|
|
270
|
+
i as SItemNotFound,
|
|
271
|
+
i as default
|
|
261
272
|
};
|
package/dist/s-label/index.js
CHANGED