@solostylist/ui-kit 1.0.170 → 1.0.172
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/s-ai-tool-bar/s-ai-tool-bar.d.ts +2 -4
- package/dist/s-ai-tool-bar/s-ai-tool-bar.js +253 -287
- package/dist/s-blur-text/s-blur-text.js +19 -20
- package/dist/s-breadcrumbs/s-breadcrumbs.js +2 -2
- package/dist/s-button-link/s-button-link.js +2 -2
- package/dist/s-category-card/s-category-card.js +2 -2
- package/dist/s-chat-input/s-chat-input.js +29 -29
- package/dist/s-chat-message/s-chat-message.js +73 -151
- package/dist/s-comment-message/s-comment-message.js +9 -9
- package/dist/s-countdown/s-count-box.js +2 -2
- package/dist/s-countdown/s-count-down.js +2 -2
- package/dist/s-error-layout/s-error-layout.js +2 -2
- package/dist/s-gallery/s-gallery.js +106 -119
- package/dist/s-glow-button/s-glow-button.d.ts +7 -1
- package/dist/s-glow-button/s-glow-button.js +39 -189
- package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
- package/dist/s-moving-border/s-moving-border.d.ts +1 -1
- package/dist/s-moving-border/s-moving-border.js +34 -34
- package/dist/s-review/s-review.js +28 -28
- package/dist/s-scroll-reveal/s-scroll-reveal.js +2 -2
- package/dist/s-skeleton/s-skeleton.js +2 -2
- package/dist/s-stripe/s-stripe.js +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.d.ts +2 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +13 -13
- package/dist/s-text-truncation/s-text-truncation.js +1 -1
- package/dist/s-theme-demo/s-theme-demo.js +105 -142
- package/dist/s-theme-provider/s-theme-provider.js +2 -2
- package/dist/s-theme-switch/s-theme-switch.js +1 -1
- package/dist/s-two-pane-layout/index.js +1 -1
- package/dist/s-two-pane-layout/s-two-pane-layout.js +2 -2
- package/dist/s-typewriter-text/s-typewriter-text.js +8 -8
- package/dist/s-zoom-image/index.js +1 -1
- package/dist/s-zoom-image/s-zoom-image.js +2 -2
- package/dist/theme/theme-primitives.d.ts +6 -0
- package/dist/theme/theme-primitives.js +51 -45
- package/package.json +1 -1
|
@@ -31,11 +31,11 @@ const o = ({
|
|
|
31
31
|
};
|
|
32
32
|
o.displayName = "SSkeleton";
|
|
33
33
|
try {
|
|
34
|
-
o.displayName = "SSkeleton", o.__docgenInfo = { description: "An enhanced skeleton loading component with pre-defined component presets for consistent loading states.", displayName: "SSkeleton", props: { variant: { defaultValue: { value: "text" }, description: "Visual variant of the skeleton", name: "variant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } }, height: { defaultValue: { value: "32" }, description: "Height of the skeleton (number for px, string for CSS units)", name: "height", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Width of the skeleton (number for px, string for CSS units)", name: "width", required: !1, type: { name: "string | number" } }, fontSize: { defaultValue: { value: "16px" }, description: "Font size for text variant skeletons", name: "fontSize", required: !1, type: { name: "string | number" } }, component: { defaultValue: null, description: "Pre-defined component preset for common UI elements", name: "component", required: !1, type: { name: "enum", value: [{ value: '"
|
|
34
|
+
o.displayName = "SSkeleton", o.__docgenInfo = { description: "An enhanced skeleton loading component with pre-defined component presets for consistent loading states.", displayName: "SSkeleton", props: { variant: { defaultValue: { value: "text" }, description: "Visual variant of the skeleton", name: "variant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } }, height: { defaultValue: { value: "32" }, description: "Height of the skeleton (number for px, string for CSS units)", name: "height", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Width of the skeleton (number for px, string for CSS units)", name: "width", required: !1, type: { name: "string | number" } }, fontSize: { defaultValue: { value: "16px" }, description: "Font size for text variant skeletons", name: "fontSize", required: !1, type: { name: "string | number" } }, component: { defaultValue: null, description: "Pre-defined component preset for common UI elements", name: "component", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"checkbox"' }, { value: '"typography"' }, { value: '"radio-button"' }, { value: '"avatar"' }, { value: '"rounded-avatar"' }, { value: '"icon-button"' }, { value: '"title-typography"' }] } } } };
|
|
35
35
|
} catch {
|
|
36
36
|
}
|
|
37
37
|
try {
|
|
38
|
-
sskeleton.displayName = "sskeleton", sskeleton.__docgenInfo = { description: "An enhanced skeleton loading component with pre-defined component presets for consistent loading states.", displayName: "sskeleton", props: { variant: { defaultValue: { value: "text" }, description: "Visual variant of the skeleton", name: "variant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } }, height: { defaultValue: { value: "32" }, description: "Height of the skeleton (number for px, string for CSS units)", name: "height", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Width of the skeleton (number for px, string for CSS units)", name: "width", required: !1, type: { name: "string | number" } }, fontSize: { defaultValue: { value: "16px" }, description: "Font size for text variant skeletons", name: "fontSize", required: !1, type: { name: "string | number" } }, component: { defaultValue: null, description: "Pre-defined component preset for common UI elements", name: "component", required: !1, type: { name: "enum", value: [{ value: '"
|
|
38
|
+
sskeleton.displayName = "sskeleton", sskeleton.__docgenInfo = { description: "An enhanced skeleton loading component with pre-defined component presets for consistent loading states.", displayName: "sskeleton", props: { variant: { defaultValue: { value: "text" }, description: "Visual variant of the skeleton", name: "variant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } }, height: { defaultValue: { value: "32" }, description: "Height of the skeleton (number for px, string for CSS units)", name: "height", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Width of the skeleton (number for px, string for CSS units)", name: "width", required: !1, type: { name: "string | number" } }, fontSize: { defaultValue: { value: "16px" }, description: "Font size for text variant skeletons", name: "fontSize", required: !1, type: { name: "string | number" } }, component: { defaultValue: null, description: "Pre-defined component preset for common UI elements", name: "component", required: !1, type: { name: "enum", value: [{ value: '"button"' }, { value: '"checkbox"' }, { value: '"typography"' }, { value: '"radio-button"' }, { value: '"avatar"' }, { value: '"rounded-avatar"' }, { value: '"icon-button"' }, { value: '"title-typography"' }] } } } };
|
|
39
39
|
} catch {
|
|
40
40
|
}
|
|
41
41
|
export {
|
|
@@ -34,11 +34,11 @@ const r = (t) => {
|
|
|
34
34
|
};
|
|
35
35
|
r.displayName = "StripeTextField";
|
|
36
36
|
try {
|
|
37
|
-
r.displayName = "StripeTextField", r.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "StripeTextField", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "
|
|
37
|
+
r.displayName = "StripeTextField", r.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "StripeTextField", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "CardNumberElementProps | CardExpiryElementProps | AuBankAccountElementProps | CardCvcElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeCardNumberElementChangeEvent) => any) | ((event: StripeCardExpiryElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
|
|
38
38
|
} catch {
|
|
39
39
|
}
|
|
40
40
|
try {
|
|
41
|
-
sstripe.displayName = "sstripe", sstripe.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "sstripe", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "
|
|
41
|
+
sstripe.displayName = "sstripe", sstripe.__docgenInfo = { description: "Generic Stripe text field component that integrates Stripe Elements with Material-UI styling.", displayName: "sstripe", props: { inputProps: { defaultValue: null, description: "Props passed directly to the Stripe Element", name: "inputProps", required: !1, type: { name: "CardNumberElementProps | CardExpiryElementProps | AuBankAccountElementProps | CardCvcElementProps | FpxBankElementProps | IbanElementProps | IdealBankElementProps" } }, labelErrorMessage: { defaultValue: null, description: "Custom error message to display when validation fails", name: "labelErrorMessage", required: !1, type: { name: "string" } }, onChange: { defaultValue: null, description: "Change handler for Stripe Element events", name: "onChange", required: !1, type: { name: "((event: StripeCardNumberElementChangeEvent) => any) | ((event: StripeCardExpiryElementChangeEvent) => any) | ... 5 more ..." } }, stripeElement: { defaultValue: null, description: "The Stripe Element component to render", name: "stripeElement", required: !1, type: { name: "StripeElement" } } } };
|
|
42
42
|
} catch {
|
|
43
43
|
}
|
|
44
44
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypographyProps } from '@mui/material';
|
|
2
2
|
/**
|
|
3
3
|
* Props interface for STextShimmer component
|
|
4
4
|
*/
|
|
5
|
-
export interface STextShimmerProps extends Omit<
|
|
5
|
+
export interface STextShimmerProps extends Omit<TypographyProps, 'children'> {
|
|
6
6
|
/** The text content to display with the shimmer effect */
|
|
7
7
|
children: string;
|
|
8
8
|
/** Duration of the shimmer animation in seconds */
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
4
|
-
import { s as
|
|
5
|
-
import { keyframes as
|
|
6
|
-
const
|
|
1
|
+
import { j as s } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
|
+
import { forwardRef as d, useMemo as m } from "react";
|
|
3
|
+
import { Typography as p } from "@mui/material";
|
|
4
|
+
import { s as l } from "../styled-B0Z4EDy9.js";
|
|
5
|
+
import { keyframes as c } from "@emotion/react";
|
|
6
|
+
const u = c`
|
|
7
7
|
0% {
|
|
8
8
|
background-position: 100% center;
|
|
9
9
|
}
|
|
10
10
|
100% {
|
|
11
11
|
background-position: 0% center;
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
14
|
-
shouldForwardProp: (e) => e !== "duration" && e !== "dynamicSpread"
|
|
13
|
+
`, h = l(p, {
|
|
14
|
+
shouldForwardProp: (e) => e !== "duration" && e !== "dynamicSpread"
|
|
15
15
|
})(({ theme: e, duration: t, dynamicSpread: r }) => ({
|
|
16
16
|
display: "inline-block",
|
|
17
17
|
position: "relative",
|
|
@@ -20,15 +20,15 @@ const h = u`
|
|
|
20
20
|
color: "transparent",
|
|
21
21
|
backgroundSize: "250% 100%, auto",
|
|
22
22
|
backgroundRepeat: "no-repeat, padding-box",
|
|
23
|
-
animation: `${
|
|
23
|
+
animation: `${u} ${t}s linear infinite`,
|
|
24
24
|
"--spread": `${r}px`,
|
|
25
25
|
"--base-color": (e.vars || e).palette.text.disabled,
|
|
26
26
|
"--base-gradient-color": (e.vars || e).palette.text.primary,
|
|
27
27
|
backgroundImage: "linear-gradient(90deg, transparent calc(50% - var(--spread)), var(--base-gradient-color), transparent calc(50% + var(--spread))), linear-gradient(var(--base-color), var(--base-color))"
|
|
28
|
-
})), a =
|
|
29
|
-
({ children: e, duration: t = 2, spread: r = 2,
|
|
30
|
-
const
|
|
31
|
-
return /* @__PURE__ */
|
|
28
|
+
})), a = d(
|
|
29
|
+
({ children: e, duration: t = 2, spread: r = 2, ...i }, n) => {
|
|
30
|
+
const o = m(() => e.length * r, [e, r]);
|
|
31
|
+
return /* @__PURE__ */ s.jsx(h, { ref: n, duration: t, dynamicSpread: o, ...i, children: e });
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
34
|
a.displayName = "STextShimmer";
|
|
@@ -9,7 +9,7 @@ const i = ({
|
|
|
9
9
|
const [n, r] = p(!1), s = () => {
|
|
10
10
|
r(!n);
|
|
11
11
|
};
|
|
12
|
-
return o === "tooltip" ? /* @__PURE__ */ t.jsx(u, { title: e
|
|
12
|
+
return o === "tooltip" ? /* @__PURE__ */ t.jsx(u, { title: e, arrow: !0, children: /* @__PURE__ */ t.jsx(
|
|
13
13
|
l,
|
|
14
14
|
{
|
|
15
15
|
variant: "body2",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
2
|
import * as g from "react";
|
|
3
|
-
import { Box as t, Typography as r, Stack as
|
|
3
|
+
import { Box as t, Typography as r, Stack as i, Card as d, CardContent as h, Divider as m, Alert as x, Chip as s, Paper as j } from "@mui/material";
|
|
4
4
|
import { SButton as n } from "../s-button/s-button.js";
|
|
5
5
|
import { SForm as v } from "../s-form/s-form.js";
|
|
6
|
-
import { STextField as
|
|
6
|
+
import { STextField as p } from "../s-text-field/s-text-field.js";
|
|
7
7
|
import y from "../s-theme-switch/s-theme-switch.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as u } from "../createSvgIcon-DxwgGAVe.js";
|
|
9
9
|
import { F as b } from "../Favorite-DS5Gpq2s.js";
|
|
10
|
-
const f =
|
|
10
|
+
const f = u(/* @__PURE__ */ e.jsx("path", {
|
|
11
11
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
12
|
-
}), "Add"), S =
|
|
12
|
+
}), "Add"), S = u(/* @__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 =
|
|
14
|
+
}), "Share"), w = u(/* @__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
|
-
const
|
|
17
|
+
const l = [
|
|
18
18
|
{ name: "Primary", color: "primary.main" },
|
|
19
19
|
{ name: "Secondary", color: "secondary.main" },
|
|
20
20
|
{ name: "Success", color: "success.main" },
|
|
@@ -22,26 +22,26 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
22
22
|
{ name: "Error", color: "error.main" },
|
|
23
23
|
{ name: "Info", color: "info.main" }
|
|
24
24
|
];
|
|
25
|
-
return /* @__PURE__ */ e.jsx(
|
|
25
|
+
return /* @__PURE__ */ e.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(h, { children: [
|
|
26
26
|
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Color Palette" }),
|
|
27
|
-
/* @__PURE__ */ e.jsx(
|
|
27
|
+
/* @__PURE__ */ e.jsx(i, { direction: "row", flexWrap: "wrap", gap: 2, children: l.map((o) => /* @__PURE__ */ e.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
28
28
|
/* @__PURE__ */ e.jsx(
|
|
29
29
|
t,
|
|
30
30
|
{
|
|
31
31
|
sx: {
|
|
32
32
|
width: 60,
|
|
33
33
|
height: 60,
|
|
34
|
-
bgcolor:
|
|
34
|
+
bgcolor: o.color,
|
|
35
35
|
borderRadius: 1,
|
|
36
36
|
mb: 1,
|
|
37
37
|
boxShadow: 1
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
),
|
|
41
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
42
|
-
] },
|
|
41
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: o.name })
|
|
42
|
+
] }, o.name)) }),
|
|
43
43
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", sx: { mt: 3, mb: 2 }, children: "Background Colors" }),
|
|
44
|
-
/* @__PURE__ */ e.jsxs(
|
|
44
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", gap: 2, flexWrap: "wrap", children: [
|
|
45
45
|
/* @__PURE__ */ e.jsx(
|
|
46
46
|
t,
|
|
47
47
|
{
|
|
@@ -70,103 +70,79 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
70
70
|
)
|
|
71
71
|
] })
|
|
72
72
|
] }) });
|
|
73
|
-
}, T = () => /* @__PURE__ */ e.jsx(
|
|
73
|
+
}, T = () => /* @__PURE__ */ e.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(h, { children: [
|
|
74
74
|
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Typography System" }),
|
|
75
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(
|
|
76
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 3, children: [
|
|
77
77
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
78
78
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Headings" }),
|
|
79
|
-
/* @__PURE__ */ e.jsxs(
|
|
79
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 2, children: [
|
|
80
80
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
81
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h1",
|
|
82
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
81
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h1", gutterBottom: !0, children: "Display Large" }),
|
|
82
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h1 - 3.5rem (56px), Weight 600 - Used for hero sections and primary headings" })
|
|
83
83
|
] }),
|
|
84
84
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
85
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h2",
|
|
86
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
85
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h2", gutterBottom: !0, children: "Display Medium" }),
|
|
86
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h2 - 2.75rem (44px), Weight 600 - Used for page titles and major sections" })
|
|
87
87
|
] }),
|
|
88
88
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
89
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h3",
|
|
90
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
89
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h3", gutterBottom: !0, children: "Display Small" }),
|
|
90
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h3 - 2.25rem (36px), Weight 600 - Used for large section headings" })
|
|
91
91
|
] }),
|
|
92
92
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
93
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h4",
|
|
94
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
93
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h4", gutterBottom: !0, children: "Headline Large" }),
|
|
94
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h4 - 2rem (32px), Weight 600 - Used for card titles and content headings" })
|
|
95
95
|
] }),
|
|
96
96
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
97
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h5",
|
|
98
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
97
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Headline Medium" }),
|
|
98
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h5 - 1.5rem (24px), Weight 600 - Used for subsection headings" })
|
|
99
99
|
] }),
|
|
100
100
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
101
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h6",
|
|
102
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
101
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Headline Small" }),
|
|
102
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "h6 - 1.25rem (20px), Weight 600 - Used for component titles and labels" })
|
|
103
103
|
] })
|
|
104
104
|
] })
|
|
105
105
|
] }),
|
|
106
|
-
/* @__PURE__ */ e.jsx(
|
|
106
|
+
/* @__PURE__ */ e.jsx(m, {}),
|
|
107
107
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
108
108
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Body Text" }),
|
|
109
|
-
/* @__PURE__ */ e.jsxs(
|
|
109
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 2, children: [
|
|
110
110
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
111
|
-
/* @__PURE__ */ e.jsx(r, { variant: "body1",
|
|
112
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
111
|
+
/* @__PURE__ */ e.jsx(r, { 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__ */ e.jsx(r, { variant: "caption", children: "body1 - 1rem (16px), Weight 400, Line height 1.5" })
|
|
113
113
|
] }),
|
|
114
114
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
115
|
-
/* @__PURE__ */ e.jsx(r, { variant: "body2",
|
|
116
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
115
|
+
/* @__PURE__ */ e.jsx(r, { 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__ */ e.jsx(r, { variant: "caption", children: "body2 - 0.875rem (14px), Weight 400, Line height 1.43" })
|
|
117
117
|
] })
|
|
118
118
|
] })
|
|
119
119
|
] }),
|
|
120
|
-
/* @__PURE__ */ e.jsx(
|
|
120
|
+
/* @__PURE__ */ e.jsx(m, {}),
|
|
121
121
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
122
122
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Labels & Supporting Text" }),
|
|
123
|
-
/* @__PURE__ */ e.jsxs(
|
|
123
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 2, children: [
|
|
124
124
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
125
|
-
/* @__PURE__ */ e.jsx(r, { variant: "subtitle1",
|
|
126
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
125
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle1", gutterBottom: !0, children: "Subtitle Large - Used for prominent secondary text" }),
|
|
126
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "subtitle1 - 1rem (16px), Weight 500" })
|
|
127
127
|
] }),
|
|
128
128
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
129
|
-
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2",
|
|
130
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption",
|
|
129
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Subtitle Small - Used for form labels and secondary headings" }),
|
|
130
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "subtitle2 - 0.875rem (14px), Weight 500" })
|
|
131
131
|
] }),
|
|
132
132
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
133
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",
|
|
134
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "caption - 0.75rem (12px), Weight 400" })
|
|
135
135
|
] }),
|
|
136
136
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
137
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",
|
|
138
|
+
/* @__PURE__ */ e.jsx(r, { variant: "caption", children: "overline - 0.75rem (12px), Weight 400, Uppercase, Letter spacing 0.5px" })
|
|
139
139
|
] })
|
|
140
140
|
] })
|
|
141
141
|
] }),
|
|
142
|
-
/* @__PURE__ */ e.jsx(
|
|
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
|
-
] }),
|
|
150
|
-
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
151
|
-
/* @__PURE__ */ e.jsx(
|
|
152
|
-
r,
|
|
153
|
-
{
|
|
154
|
-
variant: "body2",
|
|
155
|
-
component: "a",
|
|
156
|
-
href: "#",
|
|
157
|
-
sx: { color: "primary.main", textDecoration: "none", "&:hover": { textDecoration: "underline" } },
|
|
158
|
-
gutterBottom: !0,
|
|
159
|
-
children: "Link Text - Interactive text elements"
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "Links inherit body variants with primary color and hover effects" })
|
|
163
|
-
] })
|
|
164
|
-
] })
|
|
165
|
-
] }),
|
|
166
|
-
/* @__PURE__ */ e.jsx(d, {}),
|
|
142
|
+
/* @__PURE__ */ e.jsx(m, {}),
|
|
167
143
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
168
144
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Text Color Variants" }),
|
|
169
|
-
/* @__PURE__ */ e.jsxs(
|
|
145
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 1, children: [
|
|
170
146
|
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.primary", children: "Primary Text - Main content color" }),
|
|
171
147
|
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.secondary", children: "Secondary Text - Supporting content color" }),
|
|
172
148
|
/* @__PURE__ */ e.jsx(r, { variant: "body1", color: "text.disabled", children: "Disabled Text - Inactive content color" }),
|
|
@@ -178,17 +154,17 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
178
154
|
] })
|
|
179
155
|
] })
|
|
180
156
|
] }) }), C = () => {
|
|
181
|
-
const [
|
|
182
|
-
return /* @__PURE__ */ e.jsx(
|
|
157
|
+
const [l, o] = g.useState("");
|
|
158
|
+
return /* @__PURE__ */ e.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(h, { children: [
|
|
183
159
|
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "SoloStylist Components" }),
|
|
184
|
-
/* @__PURE__ */ e.jsxs(
|
|
160
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 4, children: [
|
|
185
161
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
186
162
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Enhanced Buttons" }),
|
|
187
163
|
/* @__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(
|
|
164
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 3, children: [
|
|
189
165
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
190
166
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button Variants" }),
|
|
191
|
-
/* @__PURE__ */ e.jsxs(
|
|
167
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
192
168
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Contained" }),
|
|
193
169
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", children: "Outlined" }),
|
|
194
170
|
/* @__PURE__ */ e.jsx(n, { variant: "text", color: "primary", children: "Text" })
|
|
@@ -196,7 +172,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
196
172
|
] }),
|
|
197
173
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
198
174
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Contained)" }),
|
|
199
|
-
/* @__PURE__ */ e.jsxs(
|
|
175
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
200
176
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Primary" }),
|
|
201
177
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "secondary", children: "Secondary" }),
|
|
202
178
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "success", children: "Success" }),
|
|
@@ -207,7 +183,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
207
183
|
] }),
|
|
208
184
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
209
185
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants (Outlined)" }),
|
|
210
|
-
/* @__PURE__ */ e.jsxs(
|
|
186
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
211
187
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", children: "Primary" }),
|
|
212
188
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "secondary", children: "Secondary" }),
|
|
213
189
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "success", children: "Success" }),
|
|
@@ -218,7 +194,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
218
194
|
] }),
|
|
219
195
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
220
196
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button Sizes" }),
|
|
221
|
-
/* @__PURE__ */ e.jsxs(
|
|
197
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
222
198
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "small", children: "Small" }),
|
|
223
199
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "medium", children: "Medium" }),
|
|
224
200
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", size: "large", children: "Large" })
|
|
@@ -226,7 +202,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
226
202
|
] }),
|
|
227
203
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
228
204
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Button States" }),
|
|
229
|
-
/* @__PURE__ */ e.jsxs(
|
|
205
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
230
206
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", children: "Default" }),
|
|
231
207
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", disabled: !0, children: "Disabled" }),
|
|
232
208
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "primary", disabled: !0, children: "Disabled Outlined" }),
|
|
@@ -235,7 +211,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
235
211
|
] }),
|
|
236
212
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
237
213
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Buttons with Icons" }),
|
|
238
|
-
/* @__PURE__ */ e.jsxs(
|
|
214
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 2, flexWrap: "wrap", gap: 1, children: [
|
|
239
215
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "primary", startIcon: /* @__PURE__ */ e.jsx(f, {}), children: "Start Icon" }),
|
|
240
216
|
/* @__PURE__ */ e.jsx(n, { variant: "contained", color: "secondary", endIcon: /* @__PURE__ */ e.jsx(S, {}), children: "End Icon" }),
|
|
241
217
|
/* @__PURE__ */ e.jsx(n, { variant: "outlined", color: "success", startIcon: /* @__PURE__ */ e.jsx(w, {}), children: "Outlined + Icon" }),
|
|
@@ -246,20 +222,20 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
246
222
|
] }),
|
|
247
223
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
248
224
|
/* @__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(
|
|
225
|
+
/* @__PURE__ */ e.jsx(v, { label: "Sample Form", required: !0, children: /* @__PURE__ */ e.jsxs(i, { spacing: 3, children: [
|
|
250
226
|
/* @__PURE__ */ e.jsx(
|
|
251
|
-
|
|
227
|
+
p,
|
|
252
228
|
{
|
|
253
229
|
label: "Enhanced Text Field",
|
|
254
|
-
value:
|
|
255
|
-
onChange: (a) =>
|
|
230
|
+
value: l,
|
|
231
|
+
onChange: (a) => o(a.target.value),
|
|
256
232
|
placeholder: "Enter text here...",
|
|
257
233
|
helperText: "This is an enhanced STextField component",
|
|
258
234
|
fullWidth: !0
|
|
259
235
|
}
|
|
260
236
|
),
|
|
261
237
|
/* @__PURE__ */ e.jsx(
|
|
262
|
-
|
|
238
|
+
p,
|
|
263
239
|
{
|
|
264
240
|
label: "Password Field",
|
|
265
241
|
type: "password",
|
|
@@ -269,7 +245,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
269
245
|
}
|
|
270
246
|
),
|
|
271
247
|
/* @__PURE__ */ e.jsx(
|
|
272
|
-
|
|
248
|
+
p,
|
|
273
249
|
{
|
|
274
250
|
label: "Multiline Text",
|
|
275
251
|
multiline: !0,
|
|
@@ -283,32 +259,32 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
283
259
|
] }),
|
|
284
260
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
285
261
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Theme Controls" }),
|
|
286
|
-
/* @__PURE__ */ e.jsx(
|
|
262
|
+
/* @__PURE__ */ e.jsx(i, { spacing: 2, children: /* @__PURE__ */ e.jsxs(t, { children: [
|
|
287
263
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Theme Switch Component" }),
|
|
288
264
|
/* @__PURE__ */ e.jsx(y, {})
|
|
289
265
|
] }) })
|
|
290
266
|
] })
|
|
291
267
|
] })
|
|
292
268
|
] }) });
|
|
293
|
-
}, I = () => /* @__PURE__ */ e.jsx(
|
|
269
|
+
}, I = () => /* @__PURE__ */ e.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(h, { children: [
|
|
294
270
|
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Interactive Components" }),
|
|
295
|
-
/* @__PURE__ */ e.jsxs(
|
|
271
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 3, children: [
|
|
296
272
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
297
273
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Alerts" }),
|
|
298
|
-
/* @__PURE__ */ e.jsxs(
|
|
299
|
-
/* @__PURE__ */ e.jsx(
|
|
300
|
-
/* @__PURE__ */ e.jsx(
|
|
301
|
-
/* @__PURE__ */ e.jsx(
|
|
302
|
-
/* @__PURE__ */ e.jsx(
|
|
274
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 2, children: [
|
|
275
|
+
/* @__PURE__ */ e.jsx(x, { severity: "success", children: "Success alert - Operation completed successfully!" }),
|
|
276
|
+
/* @__PURE__ */ e.jsx(x, { severity: "warning", children: "Warning alert - Please review your input." }),
|
|
277
|
+
/* @__PURE__ */ e.jsx(x, { severity: "error", children: "Error alert - Something went wrong." }),
|
|
278
|
+
/* @__PURE__ */ e.jsx(x, { severity: "info", children: "Info alert - Here's some useful information." })
|
|
303
279
|
] })
|
|
304
280
|
] }),
|
|
305
281
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
306
282
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Chips & Tags" }),
|
|
307
283
|
/* @__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(
|
|
284
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: 3, children: [
|
|
309
285
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
310
286
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Color Variants" }),
|
|
311
|
-
/* @__PURE__ */ e.jsxs(
|
|
287
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 1, flexWrap: "wrap", gap: 1, children: [
|
|
312
288
|
/* @__PURE__ */ e.jsx(s, { label: "Default" }),
|
|
313
289
|
/* @__PURE__ */ e.jsx(s, { label: "Primary", color: "primary" }),
|
|
314
290
|
/* @__PURE__ */ e.jsx(s, { label: "Secondary", color: "secondary" }),
|
|
@@ -320,7 +296,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
320
296
|
] }),
|
|
321
297
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
322
298
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Chip Sizes" }),
|
|
323
|
-
/* @__PURE__ */ e.jsxs(
|
|
299
|
+
/* @__PURE__ */ e.jsxs(i, { direction: "row", spacing: 1, alignItems: "center", flexWrap: "wrap", gap: 1, children: [
|
|
324
300
|
/* @__PURE__ */ e.jsx(s, { label: "Small", color: "primary", size: "small" }),
|
|
325
301
|
/* @__PURE__ */ e.jsx(s, { label: "Medium", color: "primary", size: "medium" })
|
|
326
302
|
] })
|
|
@@ -329,15 +305,15 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
329
305
|
] })
|
|
330
306
|
] })
|
|
331
307
|
] }) }), W = () => {
|
|
332
|
-
const
|
|
333
|
-
return /* @__PURE__ */ e.jsx(
|
|
308
|
+
const l = [0, 1, 2, 4, 6, 8, 12, 16, 24];
|
|
309
|
+
return /* @__PURE__ */ e.jsx(d, { elevation: 2, sx: { borderRadius: 2 }, children: /* @__PURE__ */ e.jsxs(h, { children: [
|
|
334
310
|
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Shadow System" }),
|
|
335
311
|
/* @__PURE__ */ e.jsx(r, { variant: "body2", color: "text.secondary", gutterBottom: !0, children: "Material-UI elevation system with custom shadows" }),
|
|
336
|
-
/* @__PURE__ */ e.jsx(
|
|
312
|
+
/* @__PURE__ */ e.jsx(i, { direction: "row", flexWrap: "wrap", gap: 3, sx: { mt: 2 }, children: l.map((o) => /* @__PURE__ */ e.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
337
313
|
/* @__PURE__ */ e.jsx(
|
|
338
|
-
|
|
314
|
+
j,
|
|
339
315
|
{
|
|
340
|
-
elevation:
|
|
316
|
+
elevation: o,
|
|
341
317
|
sx: {
|
|
342
318
|
width: 80,
|
|
343
319
|
height: 80,
|
|
@@ -347,47 +323,34 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
347
323
|
mb: 1,
|
|
348
324
|
borderRadius: 2
|
|
349
325
|
},
|
|
350
|
-
children: /* @__PURE__ */ e.jsx(r, { variant: "h6", children:
|
|
326
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "h6", children: o })
|
|
351
327
|
}
|
|
352
328
|
),
|
|
353
|
-
/* @__PURE__ */ e.jsxs(r, { variant: "caption",
|
|
329
|
+
/* @__PURE__ */ e.jsxs(r, { variant: "caption", children: [
|
|
354
330
|
"Elevation ",
|
|
355
|
-
|
|
331
|
+
o
|
|
356
332
|
] })
|
|
357
|
-
] },
|
|
358
|
-
/* @__PURE__ */ e.jsx(
|
|
333
|
+
] }, o)) }),
|
|
334
|
+
/* @__PURE__ */ e.jsx(m, { sx: { my: 3 } }),
|
|
359
335
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Custom Shadow Effects" }),
|
|
360
|
-
/* @__PURE__ */ e.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
{
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
),
|
|
372
|
-
/* @__PURE__ */ e.jsx(
|
|
373
|
-
p,
|
|
374
|
-
{
|
|
375
|
-
sx: {
|
|
376
|
-
p: 3,
|
|
377
|
-
borderRadius: 2,
|
|
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
|
-
},
|
|
380
|
-
children: /* @__PURE__ */ e.jsx(r, { variant: "body2", children: "Theme-aware Shadow" })
|
|
381
|
-
}
|
|
382
|
-
)
|
|
383
|
-
] })
|
|
336
|
+
/* @__PURE__ */ e.jsx(i, { direction: "row", spacing: 3, flexWrap: "wrap", gap: 2, children: /* @__PURE__ */ e.jsx(
|
|
337
|
+
j,
|
|
338
|
+
{
|
|
339
|
+
sx: {
|
|
340
|
+
p: 3,
|
|
341
|
+
borderRadius: 2,
|
|
342
|
+
boxShadow: "var(--s-palette-baseShadow)"
|
|
343
|
+
},
|
|
344
|
+
children: /* @__PURE__ */ e.jsx(r, { variant: "body2", children: "Custom Base Shadow" })
|
|
345
|
+
}
|
|
346
|
+
) })
|
|
384
347
|
] }) });
|
|
385
|
-
},
|
|
386
|
-
title:
|
|
387
|
-
compact:
|
|
348
|
+
}, V = ({
|
|
349
|
+
title: l = "SoloStylist UI Kit Theme Demo",
|
|
350
|
+
compact: o = !1,
|
|
388
351
|
sections: a = ["colors", "typography", "components", "forms", "interactive", "shadows"]
|
|
389
352
|
}) => {
|
|
390
|
-
const
|
|
353
|
+
const c = g.useMemo(
|
|
391
354
|
() => ({
|
|
392
355
|
colors: a.includes("colors"),
|
|
393
356
|
typography: a.includes("typography"),
|
|
@@ -398,17 +361,17 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
398
361
|
}),
|
|
399
362
|
[a]
|
|
400
363
|
);
|
|
401
|
-
return /* @__PURE__ */ e.jsxs(t, { sx: { p:
|
|
364
|
+
return /* @__PURE__ */ e.jsxs(t, { sx: { p: o ? 2 : 3, maxWidth: 1200, mx: "auto" }, children: [
|
|
402
365
|
/* @__PURE__ */ e.jsxs(t, { sx: { mb: 4, textAlign: "center" }, children: [
|
|
403
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h3", component: "h1", gutterBottom: !0, children:
|
|
366
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h3", component: "h1", gutterBottom: !0, children: l }),
|
|
404
367
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "text.secondary", sx: { mb: 3 }, children: "Showcase of the SoloStylist UI Kit with modern theming capabilities" })
|
|
405
368
|
] }),
|
|
406
|
-
/* @__PURE__ */ e.jsxs(
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
(
|
|
410
|
-
|
|
411
|
-
|
|
369
|
+
/* @__PURE__ */ e.jsxs(i, { spacing: o ? 2 : 4, children: [
|
|
370
|
+
c.colors && /* @__PURE__ */ e.jsx(B, {}),
|
|
371
|
+
c.typography && /* @__PURE__ */ e.jsx(T, {}),
|
|
372
|
+
(c.components || c.forms) && /* @__PURE__ */ e.jsx(C, {}),
|
|
373
|
+
c.interactive && /* @__PURE__ */ e.jsx(I, {}),
|
|
374
|
+
c.shadows && /* @__PURE__ */ e.jsx(W, {})
|
|
412
375
|
] })
|
|
413
376
|
] });
|
|
414
377
|
};
|
|
@@ -428,5 +391,5 @@ Features:
|
|
|
428
391
|
} catch {
|
|
429
392
|
}
|
|
430
393
|
export {
|
|
431
|
-
|
|
394
|
+
V as default
|
|
432
395
|
};
|