@solostylist/ui-kit 1.0.170 → 1.0.171
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 +244 -277
- 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-message/s-chat-message.js +77 -99
- 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-glow-button/s-glow-button.js +4 -5
- 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-scroll-reveal/s-scroll-reveal.js +2 -2
- package/dist/s-stripe/s-stripe.js +2 -2
- package/dist/s-tabs/s-tab-panel.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 +51 -88
- 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 +5 -0
- package/dist/theme/theme-primitives.js +22 -17
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
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 o, Card as
|
|
3
|
+
import { Box as t, Typography as r, Stack as o, 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
|
-
import { SForm as
|
|
6
|
-
import { STextField as
|
|
7
|
-
import
|
|
8
|
-
import { c as
|
|
5
|
+
import { SForm as y } from "../s-form/s-form.js";
|
|
6
|
+
import { STextField as p } from "../s-text-field/s-text-field.js";
|
|
7
|
+
import v from "../s-theme-switch/s-theme-switch.js";
|
|
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
17
|
const c = [
|
|
@@ -22,7 +22,7 @@ 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
27
|
/* @__PURE__ */ e.jsx(o, { direction: "row", flexWrap: "wrap", gap: 2, children: c.map((i) => /* @__PURE__ */ e.jsxs(t, { sx: { textAlign: "center" }, children: [
|
|
28
28
|
/* @__PURE__ */ e.jsx(
|
|
@@ -70,7 +70,7 @@ 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
76
|
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
@@ -78,55 +78,55 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
78
78
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", color: "primary", gutterBottom: !0, children: "Headings" }),
|
|
79
79
|
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
80
80
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
81
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h1",
|
|
81
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h1", gutterBottom: !0, children: "Display Large" }),
|
|
82
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
84
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
85
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h2",
|
|
85
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h2", gutterBottom: !0, children: "Display Medium" }),
|
|
86
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
88
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
89
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h3",
|
|
89
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h3", gutterBottom: !0, children: "Display Small" }),
|
|
90
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
92
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
93
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h4",
|
|
93
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h4", gutterBottom: !0, children: "Headline Large" }),
|
|
94
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
96
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
97
|
-
/* @__PURE__ */ e.jsx(r, { variant: "h5",
|
|
97
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h5", gutterBottom: !0, children: "Headline Medium" }),
|
|
98
98
|
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", 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",
|
|
101
|
+
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Headline Small" }),
|
|
102
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__ */ 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
109
|
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
110
110
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
111
|
-
/* @__PURE__ */ e.jsx(r, { variant: "body1",
|
|
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
112
|
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", 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",
|
|
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
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__ */ 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
123
|
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
124
124
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
125
|
-
/* @__PURE__ */ e.jsx(r, { variant: "subtitle1",
|
|
125
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle1", gutterBottom: !0, children: "Subtitle Large - Used for prominent secondary text" }),
|
|
126
126
|
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "subtitle1 - 1rem (16px), Weight 500" })
|
|
127
127
|
] }),
|
|
128
128
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
129
|
-
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2",
|
|
129
|
+
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Subtitle Small - Used for form labels and secondary headings" }),
|
|
130
130
|
/* @__PURE__ */ e.jsx(r, { variant: "caption", color: "text.secondary", children: "subtitle2 - 0.875rem (14px), Weight 500" })
|
|
131
131
|
] }),
|
|
132
132
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
@@ -139,31 +139,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
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
145
|
/* @__PURE__ */ e.jsxs(o, { spacing: 1, children: [
|
|
@@ -179,7 +155,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
179
155
|
] })
|
|
180
156
|
] }) }), C = () => {
|
|
181
157
|
const [c, i] = g.useState("");
|
|
182
|
-
return /* @__PURE__ */ e.jsx(
|
|
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
160
|
/* @__PURE__ */ e.jsxs(o, { spacing: 4, children: [
|
|
185
161
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
@@ -246,9 +222,9 @@ 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(
|
|
225
|
+
/* @__PURE__ */ e.jsx(y, { label: "Sample Form", required: !0, children: /* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
250
226
|
/* @__PURE__ */ e.jsx(
|
|
251
|
-
|
|
227
|
+
p,
|
|
252
228
|
{
|
|
253
229
|
label: "Enhanced Text Field",
|
|
254
230
|
value: c,
|
|
@@ -259,7 +235,7 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
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,
|
|
@@ -285,21 +261,21 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
285
261
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Theme Controls" }),
|
|
286
262
|
/* @__PURE__ */ e.jsx(o, { spacing: 2, children: /* @__PURE__ */ e.jsxs(t, { children: [
|
|
287
263
|
/* @__PURE__ */ e.jsx(r, { variant: "subtitle2", gutterBottom: !0, children: "Theme Switch Component" }),
|
|
288
|
-
/* @__PURE__ */ e.jsx(
|
|
264
|
+
/* @__PURE__ */ e.jsx(v, {})
|
|
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
271
|
/* @__PURE__ */ e.jsxs(o, { spacing: 3, children: [
|
|
296
272
|
/* @__PURE__ */ e.jsxs(t, { children: [
|
|
297
273
|
/* @__PURE__ */ e.jsx(r, { variant: "h6", gutterBottom: !0, children: "Alerts" }),
|
|
298
274
|
/* @__PURE__ */ e.jsxs(o, { spacing: 2, children: [
|
|
299
|
-
/* @__PURE__ */ e.jsx(
|
|
300
|
-
/* @__PURE__ */ e.jsx(
|
|
301
|
-
/* @__PURE__ */ e.jsx(
|
|
302
|
-
/* @__PURE__ */ e.jsx(
|
|
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: [
|
|
@@ -330,12 +306,12 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
330
306
|
] })
|
|
331
307
|
] }) }), W = () => {
|
|
332
308
|
const c = [0, 1, 2, 4, 6, 8, 12, 16, 24];
|
|
333
|
-
return /* @__PURE__ */ e.jsx(
|
|
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
312
|
/* @__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
313
|
/* @__PURE__ */ e.jsx(
|
|
338
|
-
|
|
314
|
+
j,
|
|
339
315
|
{
|
|
340
316
|
elevation: i,
|
|
341
317
|
sx: {
|
|
@@ -355,34 +331,21 @@ const f = j(/* @__PURE__ */ e.jsx("path", {
|
|
|
355
331
|
i
|
|
356
332
|
] })
|
|
357
333
|
] }, i)) }),
|
|
358
|
-
/* @__PURE__ */ e.jsx(
|
|
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(o, { 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
|
-
},
|
|
348
|
+
}, V = ({
|
|
386
349
|
title: c = "SoloStylist UI Kit Theme Demo",
|
|
387
350
|
compact: i = !1,
|
|
388
351
|
sections: a = ["colors", "typography", "components", "forms", "interactive", "shadows"]
|
|
@@ -424,9 +387,9 @@ Features:
|
|
|
424
387
|
- Interactive Material-UI components
|
|
425
388
|
- Shadow system visualization
|
|
426
389
|
- 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" | "
|
|
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" | "colors" | "shadows" | "forms" | "interactive")[]' } } } };
|
|
428
391
|
} catch {
|
|
429
392
|
}
|
|
430
393
|
export {
|
|
431
|
-
|
|
394
|
+
V as default
|
|
432
395
|
};
|
|
@@ -57,11 +57,11 @@ const o = ({
|
|
|
57
57
|
};
|
|
58
58
|
o.displayName = "SThemeProvider";
|
|
59
59
|
try {
|
|
60
|
-
o.displayName = "SThemeProvider", o.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "SThemeProvider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
60
|
+
o.displayName = "SThemeProvider", o.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "SThemeProvider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"dark"' }, { value: '"light"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
|
|
61
61
|
} catch {
|
|
62
62
|
}
|
|
63
63
|
try {
|
|
64
|
-
sthemeprovider.displayName = "sthemeprovider", sthemeprovider.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "sthemeprovider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
64
|
+
sthemeprovider.displayName = "sthemeprovider", sthemeprovider.__docgenInfo = { description: "Central theme provider for the design system.", displayName: "sthemeprovider", props: { children: { defaultValue: null, description: "Child components to receive theme context", name: "children", required: !0, type: { name: "ReactNode" } }, disableCustomTheme: { defaultValue: null, description: "Disable custom theme for testing/docs (falls back to no theme)", name: "disableCustomTheme", required: !1, type: { name: "boolean" } }, themeComponents: { defaultValue: null, description: "Additional theme component overrides", name: "themeComponents", required: !1, type: { name: 'Components<Omit<Theme, "components">>' } }, defaultMode: { defaultValue: { value: "system" }, description: "Default color mode (defaults to 'system')", name: "defaultMode", required: !1, type: { name: "enum", value: [{ value: '"dark"' }, { value: '"light"' }, { value: '"system"' }] } }, theme: { defaultValue: null, description: "Custom theme object to merge with internal theme", name: "theme", required: !1, type: { name: "Theme" } } } };
|
|
65
65
|
} catch {
|
|
66
66
|
}
|
|
67
67
|
export {
|
|
@@ -37,7 +37,7 @@ const M = m(/* @__PURE__ */ e.jsx("path", {
|
|
|
37
37
|
return /* @__PURE__ */ e.jsx(w, { ref: n, onClick: h, sx: d, children: u ? /* @__PURE__ */ e.jsx(v, {}) : /* @__PURE__ */ e.jsx(M, {}) });
|
|
38
38
|
};
|
|
39
39
|
try {
|
|
40
|
-
sthemeswitch.displayName = "sthemeswitch", sthemeswitch.__docgenInfo = { description: "", displayName: "sthemeswitch", props: { mode: { defaultValue: null, description: "", name: "mode", required: !1, type: { name: "enum", value: [{ value: '"
|
|
40
|
+
sthemeswitch.displayName = "sthemeswitch", sthemeswitch.__docgenInfo = { description: "", displayName: "sthemeswitch", props: { mode: { defaultValue: null, description: "", name: "mode", required: !1, type: { name: "enum", value: [{ value: '"dark"' }, { value: '"light"' }, { value: '"system"' }] } }, setMode: { defaultValue: null, description: "", name: "setMode", required: !1, type: { name: "((mode: SThemeMode) => void)" } }, sx: { defaultValue: null, description: "", name: "sx", required: !1, type: { name: "SxProps<Theme>" } } } };
|
|
41
41
|
} catch {
|
|
42
42
|
}
|
|
43
43
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { STwoPaneLayout as n } from "./s-two-pane-layout.js";
|
|
2
2
|
try {
|
|
3
|
-
stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"
|
|
3
|
+
stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
|
|
4
4
|
} catch {
|
|
5
5
|
}
|
|
6
6
|
try {
|
|
@@ -68,11 +68,11 @@ const r = ({
|
|
|
68
68
|
};
|
|
69
69
|
r.displayName = "STwoPaneLayout";
|
|
70
70
|
try {
|
|
71
|
-
r.displayName = "STwoPaneLayout", r.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "STwoPaneLayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"
|
|
71
|
+
r.displayName = "STwoPaneLayout", r.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "STwoPaneLayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
|
|
72
72
|
} catch {
|
|
73
73
|
}
|
|
74
74
|
try {
|
|
75
|
-
stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"
|
|
75
|
+
stwopanelayout.displayName = "stwopanelayout", stwopanelayout.__docgenInfo = { description: "A flexible two-pane layout component with customizable sidebar and content areas.", displayName: "stwopanelayout", props: { sidebar: { defaultValue: null, description: "Content to display in the sidebar pane", name: "sidebar", required: !0, type: { name: "ReactNode" } }, content: { defaultValue: null, description: "Content to display in the main content pane", name: "content", required: !0, type: { name: "ReactNode" } }, sidebarWidth: { defaultValue: { value: "280" }, description: "Width of the sidebar in pixels. Default: 280", name: "sidebarWidth", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "calc(100vh - 65px)" }, description: "Container height. Can be a CSS value or 'auto'. Default: 'calc(100vh - 65px)'", name: "height", required: !1, type: { name: "string | number" } }, containerSx: { defaultValue: null, description: "Custom styles for the main container", name: "containerSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarSx: { defaultValue: null, description: "Custom styles for the sidebar container", name: "sidebarSx", required: !1, type: { name: "SxProps<Theme>" } }, contentSx: { defaultValue: null, description: "Custom styles for the content container", name: "contentSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarHeaderSx: { defaultValue: null, description: "Custom styles for the sidebar header", name: "sidebarHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, contentHeaderSx: { defaultValue: null, description: "Custom styles for the content header", name: "contentHeaderSx", required: !1, type: { name: "SxProps<Theme>" } }, sidebarScrollSx: { defaultValue: null, description: "Custom styles for the sidebar scrollable area", name: "sidebarScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, contentScrollSx: { defaultValue: null, description: "Custom styles for the content scrollable area", name: "contentScrollSx", required: !1, type: { name: "SxProps<Theme>" } }, disableBorder: { defaultValue: { value: "false" }, description: "Hide border between sidebar and content. Default: false", name: "disableBorder", required: !1, type: { name: "boolean" } }, sidebarHeader: { defaultValue: null, description: "Optional header content for the sidebar", name: "sidebarHeader", required: !1, type: { name: "ReactNode" } }, contentHeader: { defaultValue: null, description: "Optional header content for the main content area", name: "contentHeader", required: !1, type: { name: "ReactNode" } }, enableSidebarScroll: { defaultValue: { value: "true" }, description: "Enable scrollbar for sidebar. Default: true", name: "enableSidebarScroll", required: !1, type: { name: "boolean" } }, enableContentScroll: { defaultValue: { value: "false" }, description: "Enable scrollbar for content. Default: false", name: "enableContentScroll", required: !1, type: { name: "boolean" } }, sidebarPosition: { defaultValue: { value: "left" }, description: "Sidebar position. Default: 'left'", name: "sidebarPosition", required: !1, type: { name: "enum", value: [{ value: '"right"' }, { value: '"left"' }] } }, sidebarPadding: { defaultValue: { value: "1" }, description: "Padding for sidebar content. Default: 1", name: "sidebarPadding", required: !1, type: { name: "string | number" } }, contentPadding: { defaultValue: { value: "1" }, description: "Padding for main content. Default: 0", name: "contentPadding", required: !1, type: { name: "string | number" } }, sidebarHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for sidebar header. Default: 2", name: "sidebarHeaderPadding", required: !1, type: { name: "string | number" } }, contentHeaderPadding: { defaultValue: { value: "2" }, description: "Padding for content header. Default: 2", name: "contentHeaderPadding", required: !1, type: { name: "string | number" } } } };
|
|
76
76
|
} catch {
|
|
77
77
|
}
|
|
78
78
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as h } from "../jsx-runtime-OVHDjVDe.js";
|
|
2
2
|
import { useState as a, useEffect as _ } from "react";
|
|
3
3
|
import { Typography as V, Box as v } from "@mui/material";
|
|
4
|
-
const
|
|
4
|
+
const o = ({
|
|
5
5
|
text: t,
|
|
6
6
|
speed: p = 100,
|
|
7
7
|
cursor: g = "|",
|
|
@@ -11,17 +11,17 @@ const s = ({
|
|
|
11
11
|
delay: c = 1500,
|
|
12
12
|
...b
|
|
13
13
|
}) => {
|
|
14
|
-
const [n, m] = a(""), [i, y] = a(0), [l, f] = a(!1), [w, T] = a(0),
|
|
14
|
+
const [n, m] = a(""), [i, y] = a(0), [l, f] = a(!1), [w, T] = a(0), s = Array.isArray(t) ? t : [t], r = s[w] || "";
|
|
15
15
|
return _(() => {
|
|
16
16
|
if (!r) return;
|
|
17
17
|
const q = setTimeout(
|
|
18
18
|
() => {
|
|
19
|
-
l ? n.length > 0 ? m((e) => e.slice(0, -1)) : (f(!1), y(0), T((e) => (e + 1) %
|
|
19
|
+
l ? n.length > 0 ? m((e) => e.slice(0, -1)) : (f(!1), y(0), T((e) => (e + 1) % s.length)) : i < r.length ? (m((e) => e + r[i]), y((e) => e + 1)) : u && setTimeout(() => f(!0), c);
|
|
20
20
|
},
|
|
21
21
|
l ? d : p
|
|
22
22
|
);
|
|
23
23
|
return () => clearTimeout(q);
|
|
24
|
-
}, [i, l, r, u, p, d, c, n,
|
|
24
|
+
}, [i, l, r, u, p, d, c, n, s.length]), /* @__PURE__ */ h.jsxs(V, { ...b, children: [
|
|
25
25
|
n,
|
|
26
26
|
/* @__PURE__ */ h.jsx(
|
|
27
27
|
v,
|
|
@@ -39,9 +39,9 @@ const s = ({
|
|
|
39
39
|
)
|
|
40
40
|
] });
|
|
41
41
|
};
|
|
42
|
-
|
|
42
|
+
o.displayName = "STypewriterText";
|
|
43
43
|
try {
|
|
44
|
-
|
|
44
|
+
o.displayName = "STypewriterText", o.__docgenInfo = { description: "An animated text component that creates a typewriter effect with customizable speed and looping.", displayName: "STypewriterText", props: { text: { defaultValue: null, description: "The text to display with typewriter effect. Can be a single string or array of strings for sequential display.", name: "text", required: !0, type: { name: "string | string[]" } }, speed: { defaultValue: { value: "100" }, description: "Speed of typing animation in milliseconds per character", name: "speed", required: !1, type: { name: "number" } }, cursor: { defaultValue: { value: "|" }, description: "Character to display as the typing cursor", name: "cursor", required: !1, type: { name: "string" } }, cursorBlinking: { defaultValue: { value: "true" }, description: "Whether the cursor should blink", name: "cursorBlinking", required: !1, type: { name: "boolean" } }, loop: { defaultValue: { value: "false" }, description: "Whether to loop the animation continuously", name: "loop", required: !1, type: { name: "boolean" } }, deleteSpeed: { defaultValue: { value: "50" }, description: "Speed of deletion animation in milliseconds per character (when looping)", name: "deleteSpeed", required: !1, type: { name: "number" } }, delay: { defaultValue: { value: "1500" }, description: "Delay in milliseconds before deleting text (when looping)", name: "delay", required: !1, type: { name: "number" } } } };
|
|
45
45
|
} catch {
|
|
46
46
|
}
|
|
47
47
|
try {
|
|
@@ -49,6 +49,6 @@ try {
|
|
|
49
49
|
} catch {
|
|
50
50
|
}
|
|
51
51
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
o as STypewriterText,
|
|
53
|
+
o as default
|
|
54
54
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SZoomImage as r } from "./s-zoom-image.js";
|
|
2
2
|
try {
|
|
3
|
-
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: {
|
|
3
|
+
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
4
4
|
} catch {
|
|
5
5
|
}
|
|
6
6
|
try {
|
|
@@ -84,11 +84,11 @@ const o = L.forwardRef(
|
|
|
84
84
|
);
|
|
85
85
|
o.displayName = "SZoomImage";
|
|
86
86
|
try {
|
|
87
|
-
o.displayName = "SZoomImage", o.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "SZoomImage", props: {
|
|
87
|
+
o.displayName = "SZoomImage", o.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "SZoomImage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
88
88
|
} catch {
|
|
89
89
|
}
|
|
90
90
|
try {
|
|
91
|
-
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: {
|
|
91
|
+
szoomimage.displayName = "szoomimage", szoomimage.__docgenInfo = { description: "An interactive image component with smooth zoom-on-hover functionality and built-in lazy loading.", displayName: "szoomimage", props: { borderRadius: { defaultValue: { value: "1.5" }, description: "Border radius (number uses theme spacing, string accepts any CSS unit)", name: "borderRadius", required: !1, type: { name: "string | number" } }, width: { defaultValue: { value: "100%" }, description: "Image width for lazy loading skeleton", name: "width", required: !1, type: { name: "string | number" } }, height: { defaultValue: { value: "100%" }, description: "Image height for lazy loading skeleton", name: "height", required: !1, type: { name: "string | number" } }, transitionDuration: { defaultValue: { value: "0.3" }, description: "Duration of the spring animation in seconds", name: "transitionDuration", required: !1, type: { name: "number" } }, src: { defaultValue: null, description: "Image source URL", name: "src", required: !0, type: { name: "string" } }, alt: { defaultValue: null, description: "Alternative text for accessibility", name: "alt", required: !0, type: { name: "string" } }, zoomScale: { defaultValue: { value: "1.2" }, description: "Scale factor to apply on zoom", name: "zoomScale", required: !1, type: { name: "number" } }, imgStyle: { defaultValue: null, description: "Custom styles applied to the image element", name: "imgStyle", required: !1, type: { name: "CSSProperties" } }, imgClassName: { defaultValue: null, description: "Custom class name for the image element", name: "imgClassName", required: !1, type: { name: "string" } }, skeletonVariant: { defaultValue: { value: "rounded" }, description: "Skeleton variant while loading", name: "skeletonVariant", required: !1, type: { name: "enum", value: [{ value: '"text"' }, { value: '"rectangular"' }, { value: '"rounded"' }, { value: '"circular"' }] } } } };
|
|
92
92
|
} catch {
|
|
93
93
|
}
|
|
94
94
|
export {
|
|
@@ -450,6 +450,7 @@ export declare const typography: {
|
|
|
450
450
|
};
|
|
451
451
|
h3: {
|
|
452
452
|
fontSize: string;
|
|
453
|
+
fontWeight: number;
|
|
453
454
|
lineHeight: number;
|
|
454
455
|
};
|
|
455
456
|
h4: {
|
|
@@ -460,13 +461,16 @@ export declare const typography: {
|
|
|
460
461
|
h5: {
|
|
461
462
|
fontSize: string;
|
|
462
463
|
fontWeight: number;
|
|
464
|
+
lineHeight: number;
|
|
463
465
|
};
|
|
464
466
|
h6: {
|
|
465
467
|
fontSize: string;
|
|
466
468
|
fontWeight: number;
|
|
469
|
+
lineHeight: number;
|
|
467
470
|
};
|
|
468
471
|
subtitle1: {
|
|
469
472
|
fontSize: string;
|
|
473
|
+
fontWeight: number;
|
|
470
474
|
};
|
|
471
475
|
subtitle2: {
|
|
472
476
|
fontSize: string;
|
|
@@ -474,6 +478,7 @@ export declare const typography: {
|
|
|
474
478
|
};
|
|
475
479
|
body1: {
|
|
476
480
|
fontSize: string;
|
|
481
|
+
fontWeight: number;
|
|
477
482
|
};
|
|
478
483
|
body2: {
|
|
479
484
|
fontSize: string;
|