@solostylist/ui-kit 1.0.166 → 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 +5 -3
- package/dist/main.js +182 -172
- 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 +43 -22
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +336 -255
- 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.d.ts +2 -0
- package/dist/s-pixel-reveal/index.js +4 -0
- package/dist/s-pixel-reveal/package.json +5 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.d.ts +27 -0
- package/dist/s-pixel-reveal/s-pixel-reveal.js +156 -0
- 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 +1440 -1440
- package/dist/theme/components/button.d.ts +2156 -2156
- 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,17 +1,17 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import { Box as t, Typography as
|
|
4
|
-
import n from "../s-button/s-button.js";
|
|
5
|
-
import v from "../s-form/s-form.js";
|
|
6
|
-
import u from "../s-text-field/s-text-field.js";
|
|
3
|
+
import { Box as t, Typography as r, Stack as o, Card as h, CardContent as x, Divider as d, Alert as m, Chip as s, Paper as p } from "@mui/material";
|
|
4
|
+
import { SButton as n } from "../s-button/s-button.js";
|
|
5
|
+
import { SForm as v } from "../s-form/s-form.js";
|
|
6
|
+
import { STextField as u } from "../s-text-field/s-text-field.js";
|
|
7
7
|
import y from "../s-theme-switch/s-theme-switch.js";
|
|
8
8
|
import { c as j } from "../createSvgIcon-DxwgGAVe.js";
|
|
9
9
|
import { F as b } from "../Favorite-DS5Gpq2s.js";
|
|
10
|
-
const f = j(/* @__PURE__ */
|
|
10
|
+
const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
11
11
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
12
|
-
}), "Add"), S = j(/* @__PURE__ */
|
|
12
|
+
}), "Add"), S = j(/* @__PURE__ */ e.jsx("path", {
|
|
13
13
|
d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92"
|
|
14
|
-
}), "Share"), w = j(/* @__PURE__ */
|
|
14
|
+
}), "Share"), w = j(/* @__PURE__ */ e.jsx("path", {
|
|
15
15
|
d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"
|
|
16
16
|
}), "Star"), B = () => {
|
|
17
17
|
const c = [
|
|
@@ -22,27 +22,27 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
22
22
|
{ name: "Error", color: "error.main" },
|
|
23
23
|
{ name: "Info", color: "info.main" }
|
|
24
24
|
];
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ e.jsx(h, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(x, { children: [
|
|
26
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Color Palette" }),
|
|
27
|
+
/* @__PURE__ */ e.jsx(o, { direction: "row", flexWrap: "wrap", gap: 2, children: c.map((i) => /* @__PURE__ */ e.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
28
|
+
/* @__PURE__ */ e.jsx(
|
|
29
29
|
t,
|
|
30
30
|
{
|
|
31
31
|
sx: {
|
|
32
32
|
width: 60,
|
|
33
33
|
height: 60,
|
|
34
|
-
bgcolor:
|
|
34
|
+
bgcolor: i.color,
|
|
35
35
|
borderRadius: 1,
|
|
36
36
|
mb: 1,
|
|
37
37
|
boxShadow: 1
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
] },
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: i.name })
|
|
42
|
+
] }, i.name)) }),
|
|
43
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", sx: { mt: 3, mb: 2 }, children: "Background Colors" }),
|
|
44
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", gap: 2, flexWrap: "wrap", children: [
|
|
45
|
+
/* @__PURE__ */ e.jsx(
|
|
46
46
|
t,
|
|
47
47
|
{
|
|
48
48
|
sx: {
|
|
@@ -52,10 +52,10 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
52
52
|
borderColor: "divider",
|
|
53
53
|
borderRadius: 1
|
|
54
54
|
},
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "caption", children: "Default Background" })
|
|
56
56
|
}
|
|
57
57
|
),
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ e.jsx(
|
|
59
59
|
t,
|
|
60
60
|
{
|
|
61
61
|
sx: {
|
|
@@ -65,91 +65,91 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
65
65
|
borderColor: "divider",
|
|
66
66
|
borderRadius: 1
|
|
67
67
|
},
|
|
68
|
-
children: /* @__PURE__ */
|
|
68
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "caption", children: "Paper Background" })
|
|
69
69
|
}
|
|
70
70
|
)
|
|
71
71
|
] })
|
|
72
72
|
] }) });
|
|
73
|
-
}, T = () => /* @__PURE__ */
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
/* @__PURE__ */
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */
|
|
80
|
-
/* @__PURE__ */
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */
|
|
73
|
+
}, T = () => /* @__PURE__ */ e.jsx(h, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(x, { children: [
|
|
74
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Typography System" }),
|
|
75
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Complete typography scale using Outfit font family with Material-UI variants" }),
|
|
76
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
77
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
78
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Headings" }),
|
|
79
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
80
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
81
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h1", component: "div", gutterBottom: !0, children: "Display Large" }),
|
|
82
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h1 - 3.5rem (56px), Weight 600 - Used for hero sections and primary headings" })
|
|
83
83
|
] }),
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
85
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h2", component: "div", gutterBottom: !0, children: "Display Medium" }),
|
|
86
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h2 - 2.75rem (44px), Weight 600 - Used for page titles and major sections" })
|
|
87
87
|
] }),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
89
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h3", component: "div", gutterBottom: !0, children: "Display Small" }),
|
|
90
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h3 - 2.25rem (36px), Weight 600 - Used for large section headings" })
|
|
91
91
|
] }),
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
93
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h4", component: "div", gutterBottom: !0, children: "Headline Large" }),
|
|
94
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h4 - 2rem (32px), Weight 600 - Used for card titles and content headings" })
|
|
95
95
|
] }),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
97
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", component: "div", gutterBottom: !0, children: "Headline Medium" }),
|
|
98
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h5 - 1.5rem (24px), Weight 600 - Used for subsection headings" })
|
|
99
99
|
] }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
101
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", component: "div", gutterBottom: !0, children: "Headline Small" }),
|
|
102
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "h6 - 1.25rem (20px), Weight 600 - Used for component titles and labels" })
|
|
103
103
|
] })
|
|
104
104
|
] })
|
|
105
105
|
] }),
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ e.jsx(d, {}),
|
|
107
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
108
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Body Text" }),
|
|
109
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
110
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
111
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", component: "div", gutterBottom: !0, children: "Body Large - The primary text style used for most content. It provides excellent readability and is suitable for paragraphs, descriptions, and general text content. This is the main body text variant." }),
|
|
112
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "body1 - 1rem (16px), Weight 400, Line height 1.5" })
|
|
113
113
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
115
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body2", component: "div", gutterBottom: !0, children: "Body Medium - Secondary text style, often used for supporting information, captions, and less prominent content elements. Slightly smaller than body1 for hierarchy." }),
|
|
116
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "body2 - 0.875rem (14px), Weight 400, Line height 1.43" })
|
|
117
117
|
] })
|
|
118
118
|
] })
|
|
119
119
|
] }),
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
/* @__PURE__ */
|
|
124
|
-
/* @__PURE__ */
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ e.jsx(d, {}),
|
|
121
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
122
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Labels & Supporting Text" }),
|
|
123
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
124
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
125
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle1", component: "div", gutterBottom: !0, children: "Subtitle Large - Used for prominent secondary text" }),
|
|
126
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "subtitle1 - 1rem (16px), Weight 500" })
|
|
127
127
|
] }),
|
|
128
|
-
/* @__PURE__ */
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
129
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", component: "div", gutterBottom: !0, children: "Subtitle Small - Used for form labels and secondary headings" }),
|
|
130
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "subtitle2 - 0.875rem (14px), Weight 500" })
|
|
131
131
|
] }),
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
133
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", component: "div", gutterBottom: !0, children: "Caption Text - Used for annotations, helper text, and fine print" }),
|
|
134
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "caption - 0.75rem (12px), Weight 400" })
|
|
135
135
|
] }),
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
137
|
+
/* @__PURE__ */ e.jsx(r, { variant: "overline", component: "div", gutterBottom: !0, children: "OVERLINE TEXT - USED FOR LABELS AND CATEGORIES" }),
|
|
138
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "overline - 0.75rem (12px), Weight 400, Uppercase, Letter spacing 0.5px" })
|
|
139
139
|
] })
|
|
140
140
|
] })
|
|
141
141
|
] }),
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
-
/* @__PURE__ */
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ e.jsx(d, {}),
|
|
143
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
144
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Interactive & Special Text" }),
|
|
145
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
146
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
147
|
+
/* @__PURE__ */ e.jsx(r, { variant: "button", component: "div", gutterBottom: !0, children: "Button Text - All Caps Button Labels" }),
|
|
148
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "button - 0.875rem (14px), Weight 500, Uppercase" })
|
|
149
149
|
] }),
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
|
|
150
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
151
|
+
/* @__PURE__ */ e.jsx(
|
|
152
|
+
r,
|
|
153
153
|
{
|
|
154
154
|
variant: "body2",
|
|
155
155
|
component: "a",
|
|
@@ -159,106 +159,106 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
159
159
|
children: "Link Text - Interactive text elements"
|
|
160
160
|
}
|
|
161
161
|
),
|
|
162
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "Links inherit body variants with primary color and hover effects" })
|
|
163
163
|
] })
|
|
164
164
|
] })
|
|
165
165
|
] }),
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
/* @__PURE__ */
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */
|
|
176
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ e.jsx(d, {}),
|
|
167
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
168
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Text Color Variants" }),
|
|
169
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 1, children: [
|
|
170
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.primary", children: "Primary Text - Main content color" }),
|
|
171
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.secondary", children: "Secondary Text - Supporting content color" }),
|
|
172
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.disabled", children: "Disabled Text - Inactive content color" }),
|
|
173
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "primary.main", children: "Primary Brand - Brand color text" }),
|
|
174
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "success.main", children: "Success Text - Positive feedback" }),
|
|
175
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "warning.main", children: "Warning Text - Caution indicators" }),
|
|
176
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "error.main", children: "Error Text - Error messages" })
|
|
177
177
|
] })
|
|
178
178
|
] })
|
|
179
179
|
] })
|
|
180
|
-
] }) }),
|
|
181
|
-
const [c,
|
|
182
|
-
return /* @__PURE__ */
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
/* @__PURE__ */
|
|
194
|
-
/* @__PURE__ */
|
|
180
|
+
] }) }), C = () => {
|
|
181
|
+
const [c, i] = g.useState("");
|
|
182
|
+
return /* @__PURE__ */ e.jsx(h, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(x, { children: [
|
|
183
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "SoloStylist Components" }),
|
|
184
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 4, children: [
|
|
185
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
186
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Enhanced Buttons" }),
|
|
187
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Comprehensive button system with all variants, colors, and sizes" }),
|
|
188
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
189
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
190
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button Variants" }),
|
|
191
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
192
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Contained" }),
|
|
193
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", children: "Outlined" }),
|
|
194
|
+
/* @__PURE__ */ e.jsx(n, { variant: "text", color: "primary", children: "Text" })
|
|
195
195
|
] })
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */
|
|
198
|
-
/* @__PURE__ */
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
-
/* @__PURE__ */
|
|
202
|
-
/* @__PURE__ */
|
|
203
|
-
/* @__PURE__ */
|
|
204
|
-
/* @__PURE__ */
|
|
205
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
198
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Contained)" }),
|
|
199
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
200
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Primary" }),
|
|
201
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "secondary", children: "Secondary" }),
|
|
202
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "success", children: "Success" }),
|
|
203
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "warning", children: "Warning" }),
|
|
204
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "error", children: "Error" }),
|
|
205
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "info", children: "Info" })
|
|
206
206
|
] })
|
|
207
207
|
] }),
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
/* @__PURE__ */
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
209
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Outlined)" }),
|
|
210
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
211
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", children: "Primary" }),
|
|
212
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "secondary", children: "Secondary" }),
|
|
213
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "success", children: "Success" }),
|
|
214
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "warning", children: "Warning" }),
|
|
215
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "error", children: "Error" }),
|
|
216
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "info", children: "Info" })
|
|
217
217
|
] })
|
|
218
218
|
] }),
|
|
219
|
-
/* @__PURE__ */
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
-
/* @__PURE__ */
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
-
/* @__PURE__ */
|
|
219
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
220
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button Sizes" }),
|
|
221
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
222
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "small", children: "Small" }),
|
|
223
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "medium", children: "Medium" }),
|
|
224
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "large", children: "Large" })
|
|
225
225
|
] })
|
|
226
226
|
] }),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */
|
|
227
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
228
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button States" }),
|
|
229
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
230
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Default" }),
|
|
231
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", disabled: !0, children: "Disabled" }),
|
|
232
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", disabled: !0, children: "Disabled Outlined" }),
|
|
233
|
+
/* @__PURE__ */ e.jsx(n, { variant: "text", color: "primary", disabled: !0, children: "Disabled Text" })
|
|
234
234
|
] })
|
|
235
235
|
] }),
|
|
236
|
-
/* @__PURE__ */
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
/* @__PURE__ */
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
/* @__PURE__ */
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
237
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Buttons with Icons" }),
|
|
238
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
239
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", startIcon: /* @__PURE__ */ e.jsx(f, {}), children: "Start Icon" }),
|
|
240
|
+
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "secondary", endIcon: /* @__PURE__ */ e.jsx(S, {}), children: "End Icon" }),
|
|
241
|
+
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "success", startIcon: /* @__PURE__ */ e.jsx(w, {}), children: "Outlined + Icon" }),
|
|
242
|
+
/* @__PURE__ */ e.jsx(n, { variant: "text", color: "error", endIcon: /* @__PURE__ */ e.jsx(b, {}), children: "Text + Icon" })
|
|
243
243
|
] })
|
|
244
244
|
] })
|
|
245
245
|
] })
|
|
246
246
|
] }),
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
/* @__PURE__ */
|
|
249
|
-
/* @__PURE__ */
|
|
250
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
248
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Form Components with SForm" }),
|
|
249
|
+
/* @__PURE__ */ e.jsx(v, { label: "Sample Form", required: !0, children: /* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
250
|
+
/* @__PURE__ */ e.jsx(
|
|
251
251
|
u,
|
|
252
252
|
{
|
|
253
253
|
label: "Enhanced Text Field",
|
|
254
254
|
value: c,
|
|
255
|
-
onChange: (a) =>
|
|
255
|
+
onChange: (a) => i(a.target.value),
|
|
256
256
|
placeholder: "Enter text here...",
|
|
257
257
|
helperText: "This is an enhanced STextField component",
|
|
258
258
|
fullWidth: !0
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ e.jsx(
|
|
262
262
|
u,
|
|
263
263
|
{
|
|
264
264
|
label: "Password Field",
|
|
@@ -268,7 +268,7 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
268
268
|
fullWidth: !0
|
|
269
269
|
}
|
|
270
270
|
),
|
|
271
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ e.jsx(
|
|
272
272
|
u,
|
|
273
273
|
{
|
|
274
274
|
label: "Multiline Text",
|
|
@@ -281,63 +281,63 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
281
281
|
)
|
|
282
282
|
] }) })
|
|
283
283
|
] }),
|
|
284
|
-
/* @__PURE__ */
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
/* @__PURE__ */
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
284
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
285
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Theme Controls" }),
|
|
286
|
+
/* @__PURE__ */ e.jsx(o, { spacing: 2, children: /* @__PURE__ */ e.jsxs(t, { children: [
|
|
287
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Theme Switch Component" }),
|
|
288
|
+
/* @__PURE__ */ e.jsx(y, {})
|
|
289
289
|
] }) })
|
|
290
290
|
] })
|
|
291
291
|
] })
|
|
292
292
|
] }) });
|
|
293
|
-
},
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
/* @__PURE__ */
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
/* @__PURE__ */
|
|
298
|
-
/* @__PURE__ */
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
-
/* @__PURE__ */
|
|
293
|
+
}, I = () => /* @__PURE__ */ e.jsx(h, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(x, { children: [
|
|
294
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Interactive Components" }),
|
|
295
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
296
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
297
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Alerts" }),
|
|
298
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
299
|
+
/* @__PURE__ */ e.jsx(m, { severity: "success", children: "Success alert - Operation completed successfully!" }),
|
|
300
|
+
/* @__PURE__ */ e.jsx(m, { severity: "warning", children: "Warning alert - Please review your input." }),
|
|
301
|
+
/* @__PURE__ */ e.jsx(m, { severity: "error", children: "Error alert - Something went wrong." }),
|
|
302
|
+
/* @__PURE__ */ e.jsx(m, { severity: "info", children: "Info alert - Here's some useful information." })
|
|
303
303
|
] })
|
|
304
304
|
] }),
|
|
305
|
-
/* @__PURE__ */
|
|
306
|
-
/* @__PURE__ */
|
|
307
|
-
/* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
/* @__PURE__ */
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
314
|
-
/* @__PURE__ */
|
|
315
|
-
/* @__PURE__ */
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
/* @__PURE__ */
|
|
318
|
-
/* @__PURE__ */
|
|
305
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
306
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Chips & Tags" }),
|
|
307
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Comprehensive chip system with all colors, variants, and interactive states" }),
|
|
308
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
309
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
310
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants" }),
|
|
311
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 1, flexWrap: "wrap", gap: 1, children: [
|
|
312
|
+
/* @__PURE__ */ e.jsx(s, { label: "Default" }),
|
|
313
|
+
/* @__PURE__ */ e.jsx(s, { label: "Primary", color: "primary" }),
|
|
314
|
+
/* @__PURE__ */ e.jsx(s, { label: "Secondary", color: "secondary" }),
|
|
315
|
+
/* @__PURE__ */ e.jsx(s, { label: "Success", color: "success" }),
|
|
316
|
+
/* @__PURE__ */ e.jsx(s, { label: "Warning", color: "warning" }),
|
|
317
|
+
/* @__PURE__ */ e.jsx(s, { label: "Error", color: "error" }),
|
|
318
|
+
/* @__PURE__ */ e.jsx(s, { label: "Info", color: "info" })
|
|
319
319
|
] })
|
|
320
320
|
] }),
|
|
321
|
-
/* @__PURE__ */
|
|
322
|
-
/* @__PURE__ */
|
|
323
|
-
/* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */
|
|
321
|
+
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
322
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Chip Sizes" }),
|
|
323
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 1, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
324
|
+
/* @__PURE__ */ e.jsx(s, { label: "Small", color: "primary", size: "small" }),
|
|
325
|
+
/* @__PURE__ */ e.jsx(s, { label: "Medium", color: "primary", size: "medium" })
|
|
326
326
|
] })
|
|
327
327
|
] })
|
|
328
328
|
] })
|
|
329
329
|
] })
|
|
330
330
|
] })
|
|
331
|
-
] }) }),
|
|
331
|
+
] }) }), W = () => {
|
|
332
332
|
const c = [0, 1, 2, 4, 6, 8, 12, 16, 24];
|
|
333
|
-
return /* @__PURE__ */
|
|
334
|
-
/* @__PURE__ */
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
/* @__PURE__ */
|
|
338
|
-
|
|
333
|
+
return /* @__PURE__ */ e.jsx(h, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(x, { children: [
|
|
334
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Shadow System" }),
|
|
335
|
+
/* @__PURE__ */ e.jsx(r, { variant: "body2", color: "text.secondary", gutterBottom: !0, children: "Material-UI elevation system with custom shadows" }),
|
|
336
|
+
/* @__PURE__ */ e.jsx(o, { direction: "row", flexWrap: "wrap", gap: 3, sx: { mt: 2 }, children: c.map((i) => /* @__PURE__ */ e.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
337
|
+
/* @__PURE__ */ e.jsx(
|
|
338
|
+
p,
|
|
339
339
|
{
|
|
340
|
-
elevation:
|
|
340
|
+
elevation: i,
|
|
341
341
|
sx: {
|
|
342
342
|
width: 80,
|
|
343
343
|
height: 80,
|
|
@@ -347,44 +347,44 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
347
347
|
mb: 1,
|
|
348
348
|
borderRadius: 2
|
|
349
349
|
},
|
|
350
|
-
children: /* @__PURE__ */
|
|
350
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "h6", children: i })
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ e.jsxs(r, { variant: "caption", color: "text.secondary", children: [
|
|
354
354
|
"Elevation ",
|
|
355
|
-
|
|
355
|
+
i
|
|
356
356
|
] })
|
|
357
|
-
] },
|
|
358
|
-
/* @__PURE__ */
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
/* @__PURE__ */
|
|
361
|
-
/* @__PURE__ */
|
|
362
|
-
|
|
357
|
+
] }, i)) }),
|
|
358
|
+
/* @__PURE__ */ e.jsx(d, { sx: { my: 3 } }),
|
|
359
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Custom Shadow Effects" }),
|
|
360
|
+
/* @__PURE__ */ e.jsxs(o, { direction: "row", spacing: 3, flexWrap: "wrap", gap: 2, children: [
|
|
361
|
+
/* @__PURE__ */ e.jsx(
|
|
362
|
+
p,
|
|
363
363
|
{
|
|
364
364
|
sx: {
|
|
365
365
|
p: 3,
|
|
366
366
|
borderRadius: 2,
|
|
367
367
|
boxShadow: "var(--s-palette-baseShadow)"
|
|
368
368
|
},
|
|
369
|
-
children: /* @__PURE__ */
|
|
369
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "body2", children: "Custom Base Shadow" })
|
|
370
370
|
}
|
|
371
371
|
),
|
|
372
|
-
/* @__PURE__ */
|
|
373
|
-
|
|
372
|
+
/* @__PURE__ */ e.jsx(
|
|
373
|
+
p,
|
|
374
374
|
{
|
|
375
375
|
sx: {
|
|
376
376
|
p: 3,
|
|
377
377
|
borderRadius: 2,
|
|
378
|
-
boxShadow: (
|
|
378
|
+
boxShadow: (i) => i.palette.mode === "light" ? "0 4px 20px rgba(0,0,0,0.1)" : "0 4px 20px rgba(0,0,0,0.5)"
|
|
379
379
|
},
|
|
380
|
-
children: /* @__PURE__ */
|
|
380
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "body2", children: "Theme-aware Shadow" })
|
|
381
381
|
}
|
|
382
382
|
)
|
|
383
383
|
] })
|
|
384
384
|
] }) });
|
|
385
|
-
},
|
|
385
|
+
}, A = ({
|
|
386
386
|
title: c = "SoloStylist UI Kit Theme Demo",
|
|
387
|
-
compact:
|
|
387
|
+
compact: i = !1,
|
|
388
388
|
sections: a = ["colors", "typography", "components", "forms", "interactive", "shadows"]
|
|
389
389
|
}) => {
|
|
390
390
|
const l = g.useMemo(
|
|
@@ -398,20 +398,35 @@ const f = j(/* @__PURE__ */ r.jsx("path", {
|
|
|
398
398
|
}),
|
|
399
399
|
[a]
|
|
400
400
|
);
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
/* @__PURE__ */
|
|
403
|
-
/* @__PURE__ */
|
|
404
|
-
/* @__PURE__ */
|
|
401
|
+
return /* @__PURE__ */ e.jsxs(t, { sx: { p: i ? 2 : 3, maxWidth: 1200, mx: "auto" }, children: [
|
|
402
|
+
/* @__PURE__ */ e.jsxs(t, { sx: { mb: 4, textAlign: "center" }, children: [
|
|
403
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h3", component: "h1", gutterBottom: !0, children: c }),
|
|
404
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "text.secondary", sx: { mb: 3 }, children: "Showcase of the SoloStylist UI Kit with modern theming capabilities" })
|
|
405
405
|
] }),
|
|
406
|
-
/* @__PURE__ */
|
|
407
|
-
l.colors && /* @__PURE__ */
|
|
408
|
-
l.typography && /* @__PURE__ */
|
|
409
|
-
(l.components || l.forms) && /* @__PURE__ */
|
|
410
|
-
l.interactive && /* @__PURE__ */
|
|
411
|
-
l.shadows && /* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ e.jsxs(o, { spacing: i ? 2 : 4, children: [
|
|
407
|
+
l.colors && /* @__PURE__ */ e.jsx(B, {}),
|
|
408
|
+
l.typography && /* @__PURE__ */ e.jsx(T, {}),
|
|
409
|
+
(l.components || l.forms) && /* @__PURE__ */ e.jsx(C, {}),
|
|
410
|
+
l.interactive && /* @__PURE__ */ e.jsx(I, {}),
|
|
411
|
+
l.shadows && /* @__PURE__ */ e.jsx(W, {})
|
|
412
412
|
] })
|
|
413
413
|
] });
|
|
414
414
|
};
|
|
415
|
+
try {
|
|
416
|
+
sthemedemo.displayName = "sthemedemo", sthemedemo.__docgenInfo = { description: `SThemeDemo - Comprehensive theme demonstration component
|
|
417
|
+
|
|
418
|
+
Features:
|
|
419
|
+
- Theme mode switching (light/dark/system)
|
|
420
|
+
- Color palette showcase
|
|
421
|
+
- Typography system demonstration
|
|
422
|
+
- Core SoloStylist component showcase
|
|
423
|
+
- Form components with SForm integration
|
|
424
|
+
- Interactive Material-UI components
|
|
425
|
+
- Shadow system visualization
|
|
426
|
+
- Responsive layout
|
|
427
|
+
- Professional styling`, displayName: "sthemedemo", props: { title: { defaultValue: { value: "SoloStylist UI Kit Theme Demo" }, description: "Optional title for the demo", name: "title", required: !1, type: { name: "string" } }, compact: { defaultValue: { value: "false" }, description: "Compact layout mode", name: "compact", required: !1, type: { name: "boolean" } }, sections: { defaultValue: { value: "['colors', 'typography', 'components', 'forms', 'interactive', 'shadows']" }, description: "Additional sections to show", name: "sections", required: !1, type: { name: '("typography" | "components" | "shadows" | "colors" | "forms" | "interactive")[]' } } } };
|
|
428
|
+
} catch {
|
|
429
|
+
}
|
|
415
430
|
export {
|
|
416
|
-
|
|
431
|
+
A as default
|
|
417
432
|
};
|