@solostylist/ui-kit 1.0.175 → 1.0.176
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/{ArrowUpward-DhTFpzoh.js → ArrowUpward-CEeqSc-C.js} +2 -2
- package/dist/{Box-Ha0cQ4KO.js → Box-CE3rycd-.js} +5 -5
- package/dist/ButtonBase-C_YYB9Ry.js +1099 -0
- package/dist/{ChevronLeft-CBuFk2Fh.js → ChevronLeft-6gdh4lRt.js} +2 -2
- package/dist/{ChevronRight-CnDWPrOm.js → ChevronRight-CC3l-wPC.js} +2 -2
- package/dist/{Close-BRlEKA2Q.js → Close-DOHlPcFK.js} +2 -2
- package/dist/{ContentCopy-7nFBtjhs.js → ContentCopy-2xxDThyB.js} +2 -2
- package/dist/DefaultPropsProvider-sk0uWcA6.js +64 -0
- package/dist/{Download-UsLvGg3y.js → Download-Chao5NQl.js} +2 -2
- package/dist/{ExpandMore-DTWX_mHf.js → ExpandMore-DIGPB4Mj.js} +2 -2
- package/dist/{Favorite-DS5Gpq2s.js → Favorite-wp65zwWq.js} +2 -2
- package/dist/{Menu-CWq-a1Wz.js → Menu-DZYzE2Mg.js} +908 -906
- package/dist/{MenuItem-DY_qFSPR.js → MenuItem-BXiIhfBS.js} +26 -25
- package/dist/Paper-DnctZB5U.js +689 -0
- package/dist/{Select-DabtQlJT.js → Select-DY7XGVsv.js} +2152 -2115
- package/dist/{Stack-Cq2r2NmC.js → Stack-BScsuyQy.js} +6 -6
- package/dist/{Typography-C8jwvSWe.js → Typography-9Kg27dDw.js} +84 -86
- package/dist/{_commonjsHelpers-B4e78b8K.js → _commonjsHelpers-ByX85dGu.js} +18 -13
- package/dist/assets/s-overlay-scrollbar.css +1 -9
- package/dist/createSvgIcon-BKymXuBG.js +242 -0
- package/dist/{createTheme-3Wd3hHrj.js → createTheme-f5g1s6ww.js} +859 -906
- package/dist/defaultTheme-LSr-S9un.js +5 -0
- package/dist/entries/carousel.d.ts +10 -0
- package/dist/entries/carousel.js +4 -0
- package/dist/entries/chat.d.ts +9 -0
- package/dist/entries/chat.js +4 -0
- package/dist/entries/code.d.ts +9 -0
- package/dist/entries/code.js +4 -0
- package/dist/entries/core.d.ts +100 -0
- package/dist/entries/core.js +122 -0
- package/dist/entries/dates.d.ts +16 -0
- package/dist/entries/dates.js +12 -0
- package/dist/entries/dropzone.d.ts +9 -0
- package/dist/entries/dropzone.js +4 -0
- package/dist/entries/editor.d.ts +12 -0
- package/dist/entries/editor.js +4 -0
- package/dist/entries/gallery.d.ts +17 -0
- package/dist/entries/gallery.js +13 -0
- package/dist/entries/i18n.d.ts +13 -0
- package/dist/entries/i18n.js +8 -0
- package/dist/entries/motion.d.ts +29 -0
- package/dist/entries/motion.js +28 -0
- package/dist/entries/scrollbar.d.ts +9 -0
- package/dist/entries/scrollbar.js +4 -0
- package/dist/entries/stripe.d.ts +10 -0
- package/dist/entries/stripe.js +10 -0
- package/dist/extendSxProp-DitxZ8We.js +36 -0
- package/dist/hooks/index.js +8 -9
- package/dist/hooks/use-is-passed-position.js +10 -10
- package/dist/{index-BGvzecIA.js → index-D3G5Rwl-.js} +0 -7
- package/dist/{index-CfKHZ86U.js → index-DtYP8YE7.js} +12 -13
- package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-tc70JA_2.js} +108 -128
- package/dist/main.d.ts +29 -145
- package/dist/main.js +187 -187
- package/dist/mergeSlotProps-CuzBQdlp.js +62 -0
- package/dist/resolveProps-BDH0VJjn.js +39 -0
- package/dist/s-accordion/package.json +5 -5
- package/dist/s-accordion/s-accordion.js +374 -358
- package/dist/s-action-overlay/package.json +5 -5
- package/dist/s-action-overlay/s-action-overlay.js +64 -79
- package/dist/s-ai-tool-bar/package.json +5 -5
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +260 -275
- package/dist/s-autocomplete/s-autocomplete.js +19 -25
- package/dist/s-avatar/package.json +5 -5
- package/dist/s-avatar/s-avatar.js +14 -25
- package/dist/s-blur-text/package.json +5 -5
- package/dist/s-blur-text/s-blur-text.js +55 -59
- package/dist/s-breadcrumbs/package.json +5 -5
- package/dist/s-breadcrumbs/s-breadcrumbs.js +31 -39
- package/dist/s-button/package.json +5 -5
- package/dist/s-button/s-button.js +7 -15
- package/dist/s-button-link/s-button-link.js +28 -36
- package/dist/s-carousel/package.json +4 -4
- package/dist/s-carousel/s-carousel.js +267 -280
- package/dist/s-category-card/package.json +4 -4
- package/dist/s-category-card/s-category-card.js +60 -77
- package/dist/s-chat-input/package.json +5 -5
- package/dist/s-chat-input/s-chat-input.js +84 -92
- package/dist/s-chat-message/s-chat-message.js +111 -120
- package/dist/s-checkbox/s-checkbox.js +12 -20
- package/dist/s-chip/package.json +5 -5
- package/dist/s-chip/s-chip.js +7 -15
- package/dist/s-chips/s-chips.js +47 -56
- package/dist/s-code-block/package.json +5 -5
- package/dist/s-code-block/s-code-block.js +35 -43
- package/dist/s-comment-message/package.json +5 -5
- package/dist/s-comment-message/s-comment-message.js +90 -94
- package/dist/s-copyable-text/s-copyable-text.js +24 -32
- package/dist/s-countdown/s-count-box.js +42 -50
- package/dist/s-countdown/s-count-down.js +79 -107
- package/dist/s-data-table/s-data-table.js +374 -384
- package/dist/s-date-picker/s-date-picker.js +164 -164
- package/dist/s-datetime-picker/s-datetime-picker.js +1599 -1603
- package/dist/s-dialog/s-dialog.js +24 -32
- package/dist/s-dialog-confirm/s-dialog-confirm.js +46 -50
- package/dist/s-dialog-message/s-dialog-message.js +40 -44
- package/dist/s-empty/s-empty.js +6 -14
- package/dist/s-error/s-error.js +9 -17
- package/dist/s-error-layout/s-error-layout.js +38 -47
- package/dist/s-file-dropzone/s-file-dropzone.js +55 -64
- package/dist/s-file-icon/s-file-icon.js +9 -13
- package/dist/s-flex-box/s-flex-box.js +6 -14
- package/dist/s-form/s-form.js +11 -19
- package/dist/s-gallery/index.js +3 -33
- package/dist/s-gallery/s-gallery.js +91 -114
- package/dist/s-glow-button/s-glow-button.js +22 -26
- package/dist/s-gradient-icon/s-gradient-icon.js +49 -59
- package/dist/s-i18n-provider/s-i18n-provider.js +17 -25
- package/dist/s-icon-button/s-icon-button.js +6 -14
- package/dist/s-image-comparison/package.json +5 -5
- package/dist/s-image-comparison/s-image-comparison.js +48 -53
- package/dist/s-image-modal/package.json +5 -5
- package/dist/s-image-modal/s-image-modal.js +137 -150
- package/dist/s-item-not-found/s-item-not-found.js +13 -22
- package/dist/s-label/s-label.js +12 -20
- package/dist/s-language-switcher/s-language-switcher.js +119 -141
- package/dist/s-lazy-image/index.js +2 -10
- package/dist/s-lazy-image/s-lazy-image.js +33 -37
- package/dist/s-localization-provider/s-localization-provider.js +368 -380
- package/dist/s-moving-border/s-moving-border.js +52 -67
- package/dist/s-multi-select/s-multi-select.js +43 -51
- package/dist/s-no-ssr/s-no-ssr.js +13 -21
- package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +12 -16
- package/dist/s-pagination/s-pagination.js +13 -17
- package/dist/s-pixel-reveal/package.json +5 -5
- package/dist/s-pixel-reveal/s-pixel-reveal.js +92 -99
- package/dist/s-radial-pulse-animate/package.json +5 -5
- package/dist/s-radial-pulse-animate/s-radial-pulse-animate.js +40 -48
- package/dist/s-rating/package.json +5 -5
- package/dist/s-rating/s-rating.js +7 -15
- package/dist/s-review/package.json +5 -5
- package/dist/s-review/s-review.js +101 -106
- package/dist/s-scroll-reveal/package.json +5 -5
- package/dist/s-scroll-reveal/s-scroll-reveal.js +40 -48
- package/dist/s-scroll-to-top/package.json +5 -5
- package/dist/s-scroll-to-top/s-scroll-to-top.js +20 -30
- package/dist/s-scroll-velocity/package.json +5 -5
- package/dist/s-scroll-velocity/s-scroll-velocity.js +5 -19
- package/dist/s-scroll-velocity/scroll-velocity-container.js +18 -27
- package/dist/s-scroll-velocity/scroll-velocity-row.js +62 -71
- package/dist/s-select/s-select.js +67 -75
- package/dist/s-select-list/s-select-list.js +28 -32
- package/dist/s-skeleton/s-skeleton.js +20 -28
- package/dist/s-snackbar-message/s-snackbar-message.js +36 -40
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +31 -35
- package/dist/s-stripe/s-stripe-cvc.js +8 -12
- package/dist/s-stripe/s-stripe-expiry.js +8 -12
- package/dist/s-stripe/s-stripe-number.js +8 -12
- package/dist/s-stripe/s-stripe.d.ts +2 -2
- package/dist/s-stripe/s-stripe.js +17 -26
- package/dist/s-stripe/stripe-input.js +25 -29
- package/dist/s-tabs/package.json +3 -3
- package/dist/s-tabs/s-tab-panel.js +17 -25
- package/dist/s-tabs/s-tab.js +5 -9
- package/dist/s-tabs/s-tabs.js +19 -27
- package/dist/s-text-editor/s-text-editor-toolbar.js +73 -88
- package/dist/s-text-editor/s-text-editor.js +33 -45
- package/dist/s-text-field/s-text-field.js +31 -40
- package/dist/s-text-shimmer/package.json +4 -4
- package/dist/s-text-shimmer/s-text-shimmer.js +19 -27
- package/dist/s-text-truncation/s-text-truncation.js +24 -32
- package/dist/s-theme-demo/package.json +5 -5
- package/dist/s-theme-demo/s-theme-demo.js +219 -234
- package/dist/s-theme-provider/s-theme-provider.js +37 -45
- package/dist/s-theme-switch/package.json +4 -4
- package/dist/s-theme-switch/s-theme-switch.js +19 -23
- package/dist/s-tip/s-tip.js +14 -22
- package/dist/s-two-pane-layout/index.js +2 -10
- package/dist/s-two-pane-layout/s-two-pane-layout.js +47 -55
- package/dist/s-typewriter-text/package.json +5 -5
- package/dist/s-typewriter-text/s-typewriter-text.js +27 -35
- package/dist/s-zoom-image/index.js +2 -10
- package/dist/s-zoom-image/package.json +5 -5
- package/dist/s-zoom-image/s-zoom-image.js +53 -62
- package/dist/styled-B0KflPi-.js +203 -0
- package/dist/theme/components/alert.d.ts +484 -264
- package/dist/theme/components/avatar.js +2 -2
- package/dist/theme/components/button.d.ts +726 -396
- package/dist/theme/components/chip.js +2 -2
- package/dist/theme/components/icon-button.d.ts +726 -396
- package/dist/theme/customizations/data-display.js +1 -1
- package/dist/theme/customizations/inputs.js +2 -2
- package/dist/theme/customizations/navigation.js +2 -2
- package/dist/theme/theme-primitives.d.ts +8 -246
- package/dist/theme/theme-primitives.js +76 -87
- package/dist/{typographyClasses-DDyl9mok.js → typographyClasses-C7fhAsUD.js} +4 -4
- package/dist/{useMobilePicker-C1RZZUWr.js → useMobilePicker-C4AYe0Ch.js} +11249 -11231
- package/dist/{useTheme-B5czKfC4.js → useTheme-CtdhfT4P.js} +1 -1
- package/dist/{useThemeProps-DqA5BinV.js → useThemeProps-_apS-Aua.js} +2 -2
- package/dist/utils/dayjs.js +7 -7
- package/dist/utils/logger.js +29 -32
- package/dist/{warning-BCwEnWrE.js → warning-DnPRVtW6.js} +4 -4
- package/package.json +240 -81
- package/README.md +0 -13
- package/dist/ButtonBase-DfTfJ_ou.js +0 -1105
- package/dist/DefaultPropsProvider-CaCsvQaq.js +0 -78
- package/dist/Paper-hkbPWyBT.js +0 -553
- package/dist/createSvgIcon-DxwgGAVe.js +0 -247
- package/dist/defaultTheme-fEi1x1Gb.js +0 -5
- package/dist/extendSxProp-BKWjdW12.js +0 -37
- package/dist/mergeSlotProps-Dl_rJtoN.js +0 -62
- package/dist/resolveProps-61uUKnlS.js +0 -52
- package/dist/styled-B0Z4EDy9.js +0 -206
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as r } from "../jsx-runtime-tc70JA_2.js";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import { Box as t, Typography as
|
|
4
|
-
import { SButton as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import y from "../s-
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
const f =
|
|
3
|
+
import { Box as t, Typography as e, Stack as n, Card as d, CardContent as h, Divider as u, Alert as x, Chip as s, Paper as j } from "@mui/material";
|
|
4
|
+
import { SButton as i } from "../s-button/s-button.js";
|
|
5
|
+
import { c as p } from "../createSvgIcon-BKymXuBG.js";
|
|
6
|
+
import { F as v } from "../Favorite-wp65zwWq.js";
|
|
7
|
+
import { SForm as y } from "../s-form/s-form.js";
|
|
8
|
+
import { STextField as m } from "../s-text-field/s-text-field.js";
|
|
9
|
+
import b from "../s-theme-switch/s-theme-switch.js";
|
|
10
|
+
const f = p(/* @__PURE__ */ r.jsx("path", {
|
|
11
11
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
12
|
-
}), "Add"), S =
|
|
12
|
+
}), "Add"), S = p(/* @__PURE__ */ r.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 =
|
|
14
|
+
}), "Share"), w = p(/* @__PURE__ */ r.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 l = [
|
|
@@ -22,27 +22,27 @@ const f = u(/* @__PURE__ */ e.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__ */ r.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ r.jsxs(h, { children: [
|
|
26
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "Color Palette" }),
|
|
27
|
+
/* @__PURE__ */ r.jsx(n, { direction: "row", flexWrap: "wrap", gap: 2, children: l.map((a) => /* @__PURE__ */ r.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
28
|
+
/* @__PURE__ */ r.jsx(
|
|
29
29
|
t,
|
|
30
30
|
{
|
|
31
31
|
sx: {
|
|
32
32
|
width: 60,
|
|
33
33
|
height: 60,
|
|
34
|
-
bgcolor:
|
|
34
|
+
bgcolor: a.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__ */ r.jsx(e, { variant: "caption", children: a.name })
|
|
42
|
+
] }, a.name)) }),
|
|
43
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", sx: { mt: 3, mb: 2 }, children: "Background Colors" }),
|
|
44
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", gap: 2, flexWrap: "wrap", children: [
|
|
45
|
+
/* @__PURE__ */ r.jsx(
|
|
46
46
|
t,
|
|
47
47
|
{
|
|
48
48
|
sx: {
|
|
@@ -52,10 +52,10 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
52
52
|
borderColor: "divider",
|
|
53
53
|
borderRadius: 1
|
|
54
54
|
},
|
|
55
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ r.jsx(e, { variant: "caption", children: "Default Background" })
|
|
56
56
|
}
|
|
57
57
|
),
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ r.jsx(
|
|
59
59
|
t,
|
|
60
60
|
{
|
|
61
61
|
sx: {
|
|
@@ -65,177 +65,177 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
65
65
|
borderColor: "divider",
|
|
66
66
|
borderRadius: 1
|
|
67
67
|
},
|
|
68
|
-
children: /* @__PURE__ */
|
|
68
|
+
children: /* @__PURE__ */ r.jsx(e, { 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__ */ r.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ r.jsxs(h, { children: [
|
|
74
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "Typography System" }),
|
|
75
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Complete typography scale using Outfit font family with Material-UI variants" }),
|
|
76
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 3, children: [
|
|
77
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
78
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", color: "primary", gutterBottom: !0, children: "Headings" }),
|
|
79
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 2, children: [
|
|
80
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
81
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h1", gutterBottom: !0, children: "Display Large" }),
|
|
82
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "h1 - 3.5rem (56px), Weight 600 - Used for hero sections and primary headings" })
|
|
83
83
|
] }),
|
|
84
|
-
/* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
85
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h2", gutterBottom: !0, children: "Display Medium" }),
|
|
86
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "h2 - 2.75rem (44px), Weight 600 - Used for page titles and major sections" })
|
|
87
87
|
] }),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
89
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h3", gutterBottom: !0, children: "Display Small" }),
|
|
90
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "h3 - 2.25rem (36px), Weight 600 - Used for large section headings" })
|
|
91
91
|
] }),
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
93
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h4", gutterBottom: !0, children: "Headline Large" }),
|
|
94
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "h4 - 2rem (32px), Weight 600 - Used for card titles and content headings" })
|
|
95
95
|
] }),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
97
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "Headline Medium" }),
|
|
98
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "h5 - 1.5rem (24px), Weight 600 - Used for subsection headings" })
|
|
99
99
|
] }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
101
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Headline Small" }),
|
|
102
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", 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__ */ r.jsx(u, {}),
|
|
107
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
108
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", color: "primary", gutterBottom: !0, children: "Body Text" }),
|
|
109
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 2, children: [
|
|
110
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
111
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", 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__ */ r.jsx(e, { variant: "caption", children: "body1 - 1rem (16px), Weight 400, Line height 1.5" })
|
|
113
113
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
115
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body2", 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__ */ r.jsx(e, { variant: "caption", 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__ */ r.jsx(u, {}),
|
|
121
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
122
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", color: "primary", gutterBottom: !0, children: "Labels & Supporting Text" }),
|
|
123
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 2, children: [
|
|
124
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
125
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle1", gutterBottom: !0, children: "Subtitle Large - Used for prominent secondary text" }),
|
|
126
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "subtitle1 - 1rem (16px), Weight 500" })
|
|
127
127
|
] }),
|
|
128
|
-
/* @__PURE__ */
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
/* @__PURE__ */
|
|
128
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
129
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Subtitle Small - Used for form labels and secondary headings" }),
|
|
130
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "subtitle2 - 0.875rem (14px), Weight 500" })
|
|
131
131
|
] }),
|
|
132
|
-
/* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
133
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", component: "div", gutterBottom: !0, children: "Caption Text - Used for annotations, helper text, and fine print" }),
|
|
134
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", children: "caption - 0.75rem (12px), Weight 400" })
|
|
135
135
|
] }),
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
137
|
+
/* @__PURE__ */ r.jsx(e, { variant: "overline", component: "div", gutterBottom: !0, children: "OVERLINE TEXT - USED FOR LABELS AND CATEGORIES" }),
|
|
138
|
+
/* @__PURE__ */ r.jsx(e, { variant: "caption", 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__ */
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
142
|
+
/* @__PURE__ */ r.jsx(u, {}),
|
|
143
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
144
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", color: "primary", gutterBottom: !0, children: "Text Color Variants" }),
|
|
145
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 1, children: [
|
|
146
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "text.primary", children: "Primary Text - Main content color" }),
|
|
147
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "text.secondary", children: "Secondary Text - Supporting content color" }),
|
|
148
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "text.disabled", children: "Disabled Text - Inactive content color" }),
|
|
149
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "primary.main", children: "Primary Brand - Brand color text" }),
|
|
150
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "success.main", children: "Success Text - Positive feedback" }),
|
|
151
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "warning.main", children: "Warning Text - Caution indicators" }),
|
|
152
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body1", color: "error.main", children: "Error Text - Error messages" })
|
|
153
153
|
] })
|
|
154
154
|
] })
|
|
155
155
|
] })
|
|
156
|
-
] }) }),
|
|
157
|
-
const [l,
|
|
158
|
-
return /* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
/* @__PURE__ */
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
/* @__PURE__ */
|
|
156
|
+
] }) }), W = () => {
|
|
157
|
+
const [l, a] = g.useState("");
|
|
158
|
+
return /* @__PURE__ */ r.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ r.jsxs(h, { children: [
|
|
159
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "SoloStylist Components" }),
|
|
160
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 4, children: [
|
|
161
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
162
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Enhanced Buttons" }),
|
|
163
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Comprehensive button system with all variants, colors, and sizes" }),
|
|
164
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 3, children: [
|
|
165
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
166
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Button Variants" }),
|
|
167
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
168
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", children: "Contained" }),
|
|
169
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "primary", children: "Outlined" }),
|
|
170
|
+
/* @__PURE__ */ r.jsx(i, { variant: "text", color: "primary", children: "Text" })
|
|
171
171
|
] })
|
|
172
172
|
] }),
|
|
173
|
-
/* @__PURE__ */
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
/* @__PURE__ */
|
|
173
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
174
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Contained)" }),
|
|
175
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
176
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", children: "Primary" }),
|
|
177
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "secondary", children: "Secondary" }),
|
|
178
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "success", children: "Success" }),
|
|
179
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "warning", children: "Warning" }),
|
|
180
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "error", children: "Error" }),
|
|
181
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "info", children: "Info" })
|
|
182
182
|
] })
|
|
183
183
|
] }),
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
185
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Outlined)" }),
|
|
186
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
187
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "primary", children: "Primary" }),
|
|
188
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "secondary", children: "Secondary" }),
|
|
189
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "success", children: "Success" }),
|
|
190
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "warning", children: "Warning" }),
|
|
191
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "error", children: "Error" }),
|
|
192
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "info", children: "Info" })
|
|
193
193
|
] })
|
|
194
194
|
] }),
|
|
195
|
-
/* @__PURE__ */
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
/* @__PURE__ */
|
|
198
|
-
/* @__PURE__ */
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
/* @__PURE__ */
|
|
195
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
196
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Button Sizes" }),
|
|
197
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
198
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", size: "small", children: "Small" }),
|
|
199
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", size: "medium", children: "Medium" }),
|
|
200
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", size: "large", children: "Large" })
|
|
201
201
|
] })
|
|
202
202
|
] }),
|
|
203
|
-
/* @__PURE__ */
|
|
204
|
-
/* @__PURE__ */
|
|
205
|
-
/* @__PURE__ */
|
|
206
|
-
/* @__PURE__ */
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
/* @__PURE__ */
|
|
203
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
204
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Button States" }),
|
|
205
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
206
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", children: "Default" }),
|
|
207
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", disabled: !0, children: "Disabled" }),
|
|
208
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "primary", disabled: !0, children: "Disabled Outlined" }),
|
|
209
|
+
/* @__PURE__ */ r.jsx(i, { variant: "text", color: "primary", disabled: !0, children: "Disabled Text" })
|
|
210
210
|
] })
|
|
211
211
|
] }),
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */
|
|
217
|
-
/* @__PURE__ */
|
|
218
|
-
/* @__PURE__ */
|
|
212
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
213
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Buttons with Icons" }),
|
|
214
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
215
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "primary", startIcon: /* @__PURE__ */ r.jsx(f, {}), children: "Start Icon" }),
|
|
216
|
+
/* @__PURE__ */ r.jsx(i, { variant: "contained", color: "secondary", endIcon: /* @__PURE__ */ r.jsx(S, {}), children: "End Icon" }),
|
|
217
|
+
/* @__PURE__ */ r.jsx(i, { variant: "outlined", color: "success", startIcon: /* @__PURE__ */ r.jsx(w, {}), children: "Outlined + Icon" }),
|
|
218
|
+
/* @__PURE__ */ r.jsx(i, { variant: "text", color: "error", endIcon: /* @__PURE__ */ r.jsx(v, {}), children: "Text + Icon" })
|
|
219
219
|
] })
|
|
220
220
|
] })
|
|
221
221
|
] })
|
|
222
222
|
] }),
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
-
/* @__PURE__ */
|
|
225
|
-
/* @__PURE__ */
|
|
226
|
-
/* @__PURE__ */
|
|
227
|
-
|
|
223
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
224
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Form Components with SForm" }),
|
|
225
|
+
/* @__PURE__ */ r.jsx(y, { label: "Sample Form", required: !0, children: /* @__PURE__ */ r.jsxs(n, { spacing: 3, children: [
|
|
226
|
+
/* @__PURE__ */ r.jsx(
|
|
227
|
+
m,
|
|
228
228
|
{
|
|
229
229
|
label: "Enhanced Text Field",
|
|
230
230
|
value: l,
|
|
231
|
-
onChange: (
|
|
231
|
+
onChange: (o) => a(o.target.value),
|
|
232
232
|
placeholder: "Enter text here...",
|
|
233
233
|
helperText: "This is an enhanced STextField component",
|
|
234
234
|
fullWidth: !0
|
|
235
235
|
}
|
|
236
236
|
),
|
|
237
|
-
/* @__PURE__ */
|
|
238
|
-
|
|
237
|
+
/* @__PURE__ */ r.jsx(
|
|
238
|
+
m,
|
|
239
239
|
{
|
|
240
240
|
label: "Password Field",
|
|
241
241
|
type: "password",
|
|
@@ -244,8 +244,8 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
244
244
|
fullWidth: !0
|
|
245
245
|
}
|
|
246
246
|
),
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
|
|
247
|
+
/* @__PURE__ */ r.jsx(
|
|
248
|
+
m,
|
|
249
249
|
{
|
|
250
250
|
label: "Multiline Text",
|
|
251
251
|
multiline: !0,
|
|
@@ -257,63 +257,63 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
257
257
|
)
|
|
258
258
|
] }) })
|
|
259
259
|
] }),
|
|
260
|
-
/* @__PURE__ */
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
/* @__PURE__ */
|
|
263
|
-
/* @__PURE__ */
|
|
264
|
-
/* @__PURE__ */
|
|
260
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
261
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Theme Controls" }),
|
|
262
|
+
/* @__PURE__ */ r.jsx(n, { spacing: 2, children: /* @__PURE__ */ r.jsxs(t, { children: [
|
|
263
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Theme Switch Component" }),
|
|
264
|
+
/* @__PURE__ */ r.jsx(b, {})
|
|
265
265
|
] }) })
|
|
266
266
|
] })
|
|
267
267
|
] })
|
|
268
268
|
] }) });
|
|
269
|
-
},
|
|
270
|
-
/* @__PURE__ */
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
273
|
-
/* @__PURE__ */
|
|
274
|
-
/* @__PURE__ */
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
/* @__PURE__ */
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
/* @__PURE__ */
|
|
269
|
+
}, C = () => /* @__PURE__ */ r.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ r.jsxs(h, { children: [
|
|
270
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "Interactive Components" }),
|
|
271
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 3, children: [
|
|
272
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
273
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Alerts" }),
|
|
274
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 2, children: [
|
|
275
|
+
/* @__PURE__ */ r.jsx(x, { severity: "success", children: "Success alert - Operation completed successfully!" }),
|
|
276
|
+
/* @__PURE__ */ r.jsx(x, { severity: "warning", children: "Warning alert - Please review your input." }),
|
|
277
|
+
/* @__PURE__ */ r.jsx(x, { severity: "error", children: "Error alert - Something went wrong." }),
|
|
278
|
+
/* @__PURE__ */ r.jsx(x, { severity: "info", children: "Info alert - Here's some useful information." })
|
|
279
279
|
] })
|
|
280
280
|
] }),
|
|
281
|
-
/* @__PURE__ */
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
/* @__PURE__ */
|
|
284
|
-
/* @__PURE__ */
|
|
285
|
-
/* @__PURE__ */
|
|
286
|
-
/* @__PURE__ */
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
289
|
-
/* @__PURE__ */
|
|
290
|
-
/* @__PURE__ */
|
|
291
|
-
/* @__PURE__ */
|
|
292
|
-
/* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
282
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Chips & Tags" }),
|
|
283
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body2", color: "text.secondary", gutterBottom: !0, sx: { mb: 3 }, children: "Comprehensive chip system with all colors, variants, and interactive states" }),
|
|
284
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: 3, children: [
|
|
285
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
286
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants" }),
|
|
287
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 1, flexWrap: "wrap", gap: 1, children: [
|
|
288
|
+
/* @__PURE__ */ r.jsx(s, { label: "Default" }),
|
|
289
|
+
/* @__PURE__ */ r.jsx(s, { label: "Primary", color: "primary" }),
|
|
290
|
+
/* @__PURE__ */ r.jsx(s, { label: "Secondary", color: "secondary" }),
|
|
291
|
+
/* @__PURE__ */ r.jsx(s, { label: "Success", color: "success" }),
|
|
292
|
+
/* @__PURE__ */ r.jsx(s, { label: "Warning", color: "warning" }),
|
|
293
|
+
/* @__PURE__ */ r.jsx(s, { label: "Error", color: "error" }),
|
|
294
|
+
/* @__PURE__ */ r.jsx(s, { label: "Info", color: "info" })
|
|
295
295
|
] })
|
|
296
296
|
] }),
|
|
297
|
-
/* @__PURE__ */
|
|
298
|
-
/* @__PURE__ */
|
|
299
|
-
/* @__PURE__ */
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
/* @__PURE__ */
|
|
297
|
+
/* @__PURE__ */ r.jsxs(t, { children: [
|
|
298
|
+
/* @__PURE__ */ r.jsx(e, { variant: "subtitle2", gutterBottom: !0, children: "Chip Sizes" }),
|
|
299
|
+
/* @__PURE__ */ r.jsxs(n, { direction: "row", spacing: 1, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
300
|
+
/* @__PURE__ */ r.jsx(s, { label: "Small", color: "primary", size: "small" }),
|
|
301
|
+
/* @__PURE__ */ r.jsx(s, { label: "Medium", color: "primary", size: "medium" })
|
|
302
302
|
] })
|
|
303
303
|
] })
|
|
304
304
|
] })
|
|
305
305
|
] })
|
|
306
306
|
] })
|
|
307
|
-
] }) }),
|
|
307
|
+
] }) }), I = () => {
|
|
308
308
|
const l = [0, 1, 2, 4, 6, 8, 12, 16, 24];
|
|
309
|
-
return /* @__PURE__ */
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
/* @__PURE__ */
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
309
|
+
return /* @__PURE__ */ r.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ r.jsxs(h, { children: [
|
|
310
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h5", gutterBottom: !0, children: "Shadow System" }),
|
|
311
|
+
/* @__PURE__ */ r.jsx(e, { variant: "body2", color: "text.secondary", gutterBottom: !0, children: "Material-UI elevation system with custom shadows" }),
|
|
312
|
+
/* @__PURE__ */ r.jsx(n, { direction: "row", flexWrap: "wrap", gap: 3, sx: { mt: 2 }, children: l.map((a) => /* @__PURE__ */ r.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
313
|
+
/* @__PURE__ */ r.jsx(
|
|
314
314
|
j,
|
|
315
315
|
{
|
|
316
|
-
elevation:
|
|
316
|
+
elevation: a,
|
|
317
317
|
sx: {
|
|
318
318
|
width: 80,
|
|
319
319
|
height: 80,
|
|
@@ -323,17 +323,17 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
323
323
|
mb: 1,
|
|
324
324
|
borderRadius: 2
|
|
325
325
|
},
|
|
326
|
-
children: /* @__PURE__ */
|
|
326
|
+
children: /* @__PURE__ */ r.jsx(e, { variant: "h6", children: a })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
329
|
-
/* @__PURE__ */
|
|
329
|
+
/* @__PURE__ */ r.jsxs(e, { variant: "caption", children: [
|
|
330
330
|
"Elevation ",
|
|
331
|
-
|
|
331
|
+
a
|
|
332
332
|
] })
|
|
333
|
-
] },
|
|
334
|
-
/* @__PURE__ */
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
/* @__PURE__ */
|
|
333
|
+
] }, a)) }),
|
|
334
|
+
/* @__PURE__ */ r.jsx(u, { sx: { my: 3 } }),
|
|
335
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", gutterBottom: !0, children: "Custom Shadow Effects" }),
|
|
336
|
+
/* @__PURE__ */ r.jsx(n, { direction: "row", spacing: 3, flexWrap: "wrap", gap: 2, children: /* @__PURE__ */ r.jsx(
|
|
337
337
|
j,
|
|
338
338
|
{
|
|
339
339
|
sx: {
|
|
@@ -341,55 +341,40 @@ const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
|
341
341
|
borderRadius: 2,
|
|
342
342
|
boxShadow: "var(--s-palette-baseShadow)"
|
|
343
343
|
},
|
|
344
|
-
children: /* @__PURE__ */
|
|
344
|
+
children: /* @__PURE__ */ r.jsx(e, { variant: "body2", children: "Custom Base Shadow" })
|
|
345
345
|
}
|
|
346
346
|
) })
|
|
347
347
|
] }) });
|
|
348
|
-
},
|
|
348
|
+
}, z = ({
|
|
349
349
|
title: l = "SoloStylist UI Kit Theme Demo",
|
|
350
|
-
compact:
|
|
351
|
-
sections:
|
|
350
|
+
compact: a = !1,
|
|
351
|
+
sections: o = ["colors", "typography", "components", "forms", "interactive", "shadows"]
|
|
352
352
|
}) => {
|
|
353
353
|
const c = g.useMemo(
|
|
354
354
|
() => ({
|
|
355
|
-
colors:
|
|
356
|
-
typography:
|
|
357
|
-
components:
|
|
358
|
-
forms:
|
|
359
|
-
shadows:
|
|
360
|
-
interactive:
|
|
355
|
+
colors: o.includes("colors"),
|
|
356
|
+
typography: o.includes("typography"),
|
|
357
|
+
components: o.includes("components"),
|
|
358
|
+
forms: o.includes("forms"),
|
|
359
|
+
shadows: o.includes("shadows"),
|
|
360
|
+
interactive: o.includes("interactive")
|
|
361
361
|
}),
|
|
362
|
-
[
|
|
362
|
+
[o]
|
|
363
363
|
);
|
|
364
|
-
return /* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
/* @__PURE__ */
|
|
364
|
+
return /* @__PURE__ */ r.jsxs(t, { sx: { p: a ? 2 : 3, maxWidth: 1200, mx: "auto" }, children: [
|
|
365
|
+
/* @__PURE__ */ r.jsxs(t, { sx: { mb: 4, textAlign: "center" }, children: [
|
|
366
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h3", component: "h1", gutterBottom: !0, children: l }),
|
|
367
|
+
/* @__PURE__ */ r.jsx(e, { variant: "h6", color: "text.secondary", sx: { mb: 3 }, children: "Showcase of the SoloStylist UI Kit with modern theming capabilities" })
|
|
368
368
|
] }),
|
|
369
|
-
/* @__PURE__ */
|
|
370
|
-
c.colors && /* @__PURE__ */
|
|
371
|
-
c.typography && /* @__PURE__ */
|
|
372
|
-
(c.components || c.forms) && /* @__PURE__ */
|
|
373
|
-
c.interactive && /* @__PURE__ */
|
|
374
|
-
c.shadows && /* @__PURE__ */
|
|
369
|
+
/* @__PURE__ */ r.jsxs(n, { spacing: a ? 2 : 4, children: [
|
|
370
|
+
c.colors && /* @__PURE__ */ r.jsx(B, {}),
|
|
371
|
+
c.typography && /* @__PURE__ */ r.jsx(T, {}),
|
|
372
|
+
(c.components || c.forms) && /* @__PURE__ */ r.jsx(W, {}),
|
|
373
|
+
c.interactive && /* @__PURE__ */ r.jsx(C, {}),
|
|
374
|
+
c.shadows && /* @__PURE__ */ r.jsx(I, {})
|
|
375
375
|
] })
|
|
376
376
|
] });
|
|
377
377
|
};
|
|
378
|
-
try {
|
|
379
|
-
sthemedemo.displayName = "sthemedemo", sthemedemo.__docgenInfo = { description: `SThemeDemo - Comprehensive theme demonstration component
|
|
380
|
-
|
|
381
|
-
Features:
|
|
382
|
-
- Theme mode switching (light/dark/system)
|
|
383
|
-
- Color palette showcase
|
|
384
|
-
- Typography system demonstration
|
|
385
|
-
- Core SoloStylist component showcase
|
|
386
|
-
- Form components with SForm integration
|
|
387
|
-
- Interactive Material-UI components
|
|
388
|
-
- Shadow system visualization
|
|
389
|
-
- Responsive layout
|
|
390
|
-
- 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")[]' } } } };
|
|
391
|
-
} catch {
|
|
392
|
-
}
|
|
393
378
|
export {
|
|
394
|
-
|
|
379
|
+
z as default
|
|
395
380
|
};
|