@solostylist/ui-kit 1.0.227 → 1.0.229

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.
Files changed (63) hide show
  1. package/dist/{FormControl-BbzvApma.js → FormControl-DsRIRfTs.js} +204 -177
  2. package/dist/{MenuItem-CwAhn4sd.js → MenuItem-IOMcBScJ.js} +2 -2
  3. package/dist/{MenuList-5C2nFAWS.js → MenuList-vtqACjea.js} +1 -1
  4. package/dist/{Modal-Cu5Cgh-q.js → Modal-CLdC2-Th.js} +372 -395
  5. package/dist/Popover-ZneFWo2r.js +333 -0
  6. package/dist/{checkbox-B5GlJYcB.js → checkbox-DC-OoGvh.js} +1 -1
  7. package/dist/s-chat-message/index.js +1 -1
  8. package/dist/s-chat-message/s-chat-message.js +1 -1
  9. package/dist/{s-chat-message-B9JOBvzP.js → s-chat-message-C-d9amiC.js} +2 -2
  10. package/dist/s-code-block/index.js +1 -1
  11. package/dist/s-code-block/s-code-block.js +1 -1
  12. package/dist/{s-code-block-B5k-1Acd.js → s-code-block-DEojINTt.js} +16 -11
  13. package/dist/s-comment-message/index.js +1 -1
  14. package/dist/s-comment-message/s-comment-message.js +1 -1
  15. package/dist/{s-comment-message-BPE5a6p6.js → s-comment-message-Dum0P6de.js} +2 -2
  16. package/dist/s-data-table/index.js +1 -1
  17. package/dist/s-data-table/s-data-table.d.ts +1 -5
  18. package/dist/s-data-table/s-data-table.js +1 -1
  19. package/dist/{s-data-table-D-esZw_W.js → s-data-table-DfGYIIvn.js} +202 -172
  20. package/dist/s-date-picker/index.js +1 -1
  21. package/dist/s-date-picker/picker-action-bar.d.ts +3 -7
  22. package/dist/s-date-picker/picker-action-bar.js +33 -19
  23. package/dist/s-date-picker/s-date-picker.js +1 -1
  24. package/dist/{s-date-picker-CdH1pta6.js → s-date-picker-C06rlE6_.js} +1 -1
  25. package/dist/s-datetime-picker/index.js +1 -1
  26. package/dist/s-datetime-picker/s-datetime-picker.js +1 -1
  27. package/dist/{s-datetime-picker-BHkWSJKj.js → s-datetime-picker-DnIK-QnQ.js} +24 -24
  28. package/dist/s-error-layout/s-error-layout.d.ts +2 -2
  29. package/dist/s-error-layout/s-error-layout.js +1 -1
  30. package/dist/s-language-switcher/index.js +1 -1
  31. package/dist/s-language-switcher/s-language-switcher.d.ts +2 -5
  32. package/dist/s-language-switcher/s-language-switcher.js +1 -1
  33. package/dist/s-language-switcher-B96dUknj.js +192 -0
  34. package/dist/s-link/s-link.d.ts +2 -2
  35. package/dist/s-link/s-link.js +8 -5
  36. package/dist/s-moving-border/s-moving-border.d.ts +6 -9
  37. package/dist/s-moving-border/s-moving-border.js +73 -81
  38. package/dist/s-pagination/s-pagination.js +2 -2
  39. package/dist/s-review/index.js +1 -1
  40. package/dist/s-review/s-review.js +1 -1
  41. package/dist/{s-review-CRnakHRo.js → s-review-CvTVBxTZ.js} +3 -3
  42. package/dist/s-skeleton/index.d.ts +1 -1
  43. package/dist/s-skeleton/s-skeleton.d.ts +25 -9
  44. package/dist/s-skeleton/s-skeleton.js +59 -63
  45. package/dist/s-text-editor/index.js +1 -1
  46. package/dist/s-text-editor/s-text-editor-toolbar.js +1 -1
  47. package/dist/s-text-editor/s-text-editor.js +1 -1
  48. package/dist/{s-text-editor-toolbar-BEFVwZ-B.js → s-text-editor-toolbar-ChtNCg2A.js} +900 -736
  49. package/dist/s-theme-demo/index.js +1 -1
  50. package/dist/s-theme-demo/s-theme-demo.js +1 -1
  51. package/dist/s-theme-demo-Bnv7lPIh.js +867 -0
  52. package/dist/theme/components/checkbox.d.ts +0 -9
  53. package/dist/theme/components/checkbox.js +1 -1
  54. package/dist/theme/components/components.js +1 -1
  55. package/dist/theme/components/month-calendar.d.ts +2 -0
  56. package/dist/theme/components/month-calendar.js +3 -1
  57. package/dist/theme/components/pickers-calendar-header.d.ts +14 -1
  58. package/dist/theme/components/pickers-calendar-header.js +5 -2
  59. package/dist/{useMobilePicker-Dw1IxoE6.js → useMobilePicker-CQA6fYLQ.js} +384 -384
  60. package/package.json +1 -1
  61. package/dist/Menu-Ct_sL_Dg.js +0 -497
  62. package/dist/s-language-switcher-UgSBC_n_.js +0 -199
  63. package/dist/s-theme-demo-Fktc-UlY.js +0 -857
@@ -1,857 +0,0 @@
1
- import { t as e } from "./createSvgIcon-HW-tbFcL.js";
2
- import { t } from "./s-theme-switch-DzXoVmQH.js";
3
- import { t as n } from "./Favorite-CbvuQfe4.js";
4
- import { t as r } from "./s-text-field-DD6nnwwU.js";
5
- import { SForm as i } from "./s-form/s-form.js";
6
- import { SButton as a } from "./s-button/s-button.js";
7
- import * as o from "react";
8
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
9
- import { Alert as l, Box as u, Card as d, CardContent as f, Chip as p, Divider as m, Paper as h, Stack as g, Typography as _ } from "@mui/material";
10
- //#region ../../node_modules/@mui/icons-material/Add.mjs
11
- var v = e(/* @__PURE__ */ s("path", { d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z" }), "Add"), y = e(/* @__PURE__ */ s("path", { 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" }), "Share"), b = e(/* @__PURE__ */ s("path", { 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" }), "Star"), x = () => /* @__PURE__ */ s(d, {
12
- elevation: 2,
13
- sx: { borderRadius: 2 },
14
- children: /* @__PURE__ */ c(f, { children: [
15
- /* @__PURE__ */ s(_, {
16
- variant: "h5",
17
- gutterBottom: !0,
18
- children: "Color Palette"
19
- }),
20
- /* @__PURE__ */ s(g, {
21
- direction: "row",
22
- sx: {
23
- flexWrap: "wrap",
24
- gap: 2
25
- },
26
- children: [
27
- {
28
- name: "Primary",
29
- color: "primary.main"
30
- },
31
- {
32
- name: "Secondary",
33
- color: "secondary.main"
34
- },
35
- {
36
- name: "Success",
37
- color: "success.main"
38
- },
39
- {
40
- name: "Warning",
41
- color: "warning.main"
42
- },
43
- {
44
- name: "Error",
45
- color: "error.main"
46
- },
47
- {
48
- name: "Info",
49
- color: "info.main"
50
- }
51
- ].map((e) => /* @__PURE__ */ c(u, {
52
- sx: { textAlign: "center" },
53
- children: [/* @__PURE__ */ s(u, { sx: {
54
- width: 60,
55
- height: 60,
56
- bgcolor: e.color,
57
- borderRadius: 1,
58
- mb: 1,
59
- boxShadow: 1
60
- } }), /* @__PURE__ */ s(_, {
61
- variant: "caption",
62
- children: e.name
63
- })]
64
- }, e.name))
65
- }),
66
- /* @__PURE__ */ s(_, {
67
- variant: "h6",
68
- sx: {
69
- mt: 3,
70
- mb: 2
71
- },
72
- children: "Background Colors"
73
- }),
74
- /* @__PURE__ */ c(g, {
75
- direction: "row",
76
- sx: {
77
- gap: 2,
78
- flexWrap: "wrap"
79
- },
80
- children: [/* @__PURE__ */ s(u, {
81
- sx: {
82
- p: 2,
83
- bgcolor: "background.default",
84
- border: 1,
85
- borderColor: "divider",
86
- borderRadius: 1
87
- },
88
- children: /* @__PURE__ */ s(_, {
89
- variant: "caption",
90
- children: "Default Background"
91
- })
92
- }), /* @__PURE__ */ s(u, {
93
- sx: {
94
- p: 2,
95
- bgcolor: "background.paper",
96
- border: 1,
97
- borderColor: "divider",
98
- borderRadius: 1
99
- },
100
- children: /* @__PURE__ */ s(_, {
101
- variant: "caption",
102
- children: "Paper Background"
103
- })
104
- })]
105
- })
106
- ] })
107
- }), S = () => /* @__PURE__ */ s(d, {
108
- elevation: 2,
109
- sx: { borderRadius: 2 },
110
- children: /* @__PURE__ */ c(f, { children: [
111
- /* @__PURE__ */ s(_, {
112
- variant: "h5",
113
- gutterBottom: !0,
114
- children: "Typography System"
115
- }),
116
- /* @__PURE__ */ s(_, {
117
- variant: "body2",
118
- gutterBottom: !0,
119
- sx: {
120
- color: "text.secondary",
121
- mb: 3
122
- },
123
- children: "Complete typography scale using Outfit font family with Material-UI variants"
124
- }),
125
- /* @__PURE__ */ c(g, {
126
- spacing: 3,
127
- children: [
128
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
129
- variant: "h6",
130
- color: "primary",
131
- gutterBottom: !0,
132
- children: "Headings"
133
- }), /* @__PURE__ */ c(g, {
134
- spacing: 2,
135
- children: [
136
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
137
- variant: "h1",
138
- gutterBottom: !0,
139
- children: "Display Large"
140
- }), /* @__PURE__ */ s(_, {
141
- variant: "caption",
142
- children: "h1 - 3.5rem (56px), Weight 600 - Used for hero sections and primary headings"
143
- })] }),
144
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
145
- variant: "h2",
146
- gutterBottom: !0,
147
- children: "Display Medium"
148
- }), /* @__PURE__ */ s(_, {
149
- variant: "caption",
150
- children: "h2 - 2.75rem (44px), Weight 600 - Used for page titles and major sections"
151
- })] }),
152
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
153
- variant: "h3",
154
- gutterBottom: !0,
155
- children: "Display Small"
156
- }), /* @__PURE__ */ s(_, {
157
- variant: "caption",
158
- children: "h3 - 2.25rem (36px), Weight 600 - Used for large section headings"
159
- })] }),
160
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
161
- variant: "h4",
162
- gutterBottom: !0,
163
- children: "Headline Large"
164
- }), /* @__PURE__ */ s(_, {
165
- variant: "caption",
166
- children: "h4 - 2rem (32px), Weight 600 - Used for card titles and content headings"
167
- })] }),
168
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
169
- variant: "h5",
170
- gutterBottom: !0,
171
- children: "Headline Medium"
172
- }), /* @__PURE__ */ s(_, {
173
- variant: "caption",
174
- children: "h5 - 1.5rem (24px), Weight 600 - Used for subsection headings"
175
- })] }),
176
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
177
- variant: "h6",
178
- gutterBottom: !0,
179
- children: "Headline Small"
180
- }), /* @__PURE__ */ s(_, {
181
- variant: "caption",
182
- children: "h6 - 1.25rem (20px), Weight 600 - Used for component titles and labels"
183
- })] })
184
- ]
185
- })] }),
186
- /* @__PURE__ */ s(m, {}),
187
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
188
- variant: "h6",
189
- color: "primary",
190
- gutterBottom: !0,
191
- children: "Body Text"
192
- }), /* @__PURE__ */ c(g, {
193
- spacing: 2,
194
- children: [/* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
195
- variant: "body1",
196
- gutterBottom: !0,
197
- 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."
198
- }), /* @__PURE__ */ s(_, {
199
- variant: "caption",
200
- children: "body1 - 1rem (16px), Weight 400, Line height 1.5"
201
- })] }), /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
202
- variant: "body2",
203
- gutterBottom: !0,
204
- children: "Body Medium - Secondary text style, often used for supporting information, captions, and less prominent content elements. Slightly smaller than body1 for hierarchy."
205
- }), /* @__PURE__ */ s(_, {
206
- variant: "caption",
207
- children: "body2 - 0.875rem (14px), Weight 400, Line height 1.43"
208
- })] })]
209
- })] }),
210
- /* @__PURE__ */ s(m, {}),
211
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
212
- variant: "h6",
213
- color: "primary",
214
- gutterBottom: !0,
215
- children: "Labels & Supporting Text"
216
- }), /* @__PURE__ */ c(g, {
217
- spacing: 2,
218
- children: [
219
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
220
- variant: "subtitle1",
221
- gutterBottom: !0,
222
- children: "Subtitle Large - Used for prominent secondary text"
223
- }), /* @__PURE__ */ s(_, {
224
- variant: "caption",
225
- children: "subtitle1 - 1rem (16px), Weight 500"
226
- })] }),
227
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
228
- variant: "subtitle2",
229
- gutterBottom: !0,
230
- children: "Subtitle Small - Used for form labels and secondary headings"
231
- }), /* @__PURE__ */ s(_, {
232
- variant: "caption",
233
- children: "subtitle2 - 0.875rem (14px), Weight 500"
234
- })] }),
235
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
236
- variant: "caption",
237
- component: "div",
238
- gutterBottom: !0,
239
- children: "Caption Text - Used for annotations, helper text, and fine print"
240
- }), /* @__PURE__ */ s(_, {
241
- variant: "caption",
242
- children: "caption - 0.75rem (12px), Weight 400"
243
- })] }),
244
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
245
- variant: "overline",
246
- component: "div",
247
- gutterBottom: !0,
248
- children: "OVERLINE TEXT - USED FOR LABELS AND CATEGORIES"
249
- }), /* @__PURE__ */ s(_, {
250
- variant: "caption",
251
- children: "overline - 0.75rem (12px), Weight 400, Uppercase, Letter spacing 0.5px"
252
- })] })
253
- ]
254
- })] }),
255
- /* @__PURE__ */ s(m, {}),
256
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
257
- variant: "h6",
258
- color: "primary",
259
- gutterBottom: !0,
260
- children: "Text Color Variants"
261
- }), /* @__PURE__ */ c(g, {
262
- spacing: 1,
263
- children: [
264
- /* @__PURE__ */ s(_, {
265
- variant: "body1",
266
- sx: { color: "text.primary" },
267
- children: "Primary Text - Main content color"
268
- }),
269
- /* @__PURE__ */ s(_, {
270
- variant: "body1",
271
- sx: { color: "text.secondary" },
272
- children: "Secondary Text - Supporting content color"
273
- }),
274
- /* @__PURE__ */ s(_, {
275
- variant: "body1",
276
- sx: { color: "text.disabled" },
277
- children: "Disabled Text - Inactive content color"
278
- }),
279
- /* @__PURE__ */ s(_, {
280
- variant: "body1",
281
- sx: { color: "primary.main" },
282
- children: "Primary Brand - Brand color text"
283
- }),
284
- /* @__PURE__ */ s(_, {
285
- variant: "body1",
286
- sx: { color: "success.main" },
287
- children: "Success Text - Positive feedback"
288
- }),
289
- /* @__PURE__ */ s(_, {
290
- variant: "body1",
291
- sx: { color: "warning.main" },
292
- children: "Warning Text - Caution indicators"
293
- }),
294
- /* @__PURE__ */ s(_, {
295
- variant: "body1",
296
- sx: { color: "error.main" },
297
- children: "Error Text - Error messages"
298
- })
299
- ]
300
- })] })
301
- ]
302
- })
303
- ] })
304
- }), C = () => {
305
- let [e, l] = o.useState("");
306
- return /* @__PURE__ */ s(d, {
307
- elevation: 2,
308
- sx: { borderRadius: 2 },
309
- children: /* @__PURE__ */ c(f, { children: [/* @__PURE__ */ s(_, {
310
- variant: "h5",
311
- gutterBottom: !0,
312
- children: "SoloStylist Components"
313
- }), /* @__PURE__ */ c(g, {
314
- spacing: 4,
315
- children: [
316
- /* @__PURE__ */ c(u, { children: [
317
- /* @__PURE__ */ s(_, {
318
- variant: "h6",
319
- gutterBottom: !0,
320
- children: "Enhanced Buttons"
321
- }),
322
- /* @__PURE__ */ s(_, {
323
- variant: "body2",
324
- gutterBottom: !0,
325
- sx: {
326
- color: "text.secondary",
327
- mb: 3
328
- },
329
- children: "Comprehensive button system with all variants, colors, and sizes"
330
- }),
331
- /* @__PURE__ */ c(g, {
332
- spacing: 3,
333
- children: [
334
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
335
- variant: "subtitle2",
336
- gutterBottom: !0,
337
- children: "Button Variants"
338
- }), /* @__PURE__ */ c(g, {
339
- direction: "row",
340
- spacing: 2,
341
- sx: {
342
- flexWrap: "wrap",
343
- gap: 1
344
- },
345
- children: [
346
- /* @__PURE__ */ s(a, {
347
- variant: "contained",
348
- color: "primary",
349
- children: "Contained"
350
- }),
351
- /* @__PURE__ */ s(a, {
352
- variant: "outlined",
353
- color: "primary",
354
- children: "Outlined"
355
- }),
356
- /* @__PURE__ */ s(a, {
357
- variant: "text",
358
- color: "primary",
359
- children: "Text"
360
- })
361
- ]
362
- })] }),
363
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
364
- variant: "subtitle2",
365
- gutterBottom: !0,
366
- children: "Color Variants (Contained)"
367
- }), /* @__PURE__ */ c(g, {
368
- direction: "row",
369
- spacing: 2,
370
- sx: {
371
- flexWrap: "wrap",
372
- gap: 1
373
- },
374
- children: [
375
- /* @__PURE__ */ s(a, {
376
- variant: "contained",
377
- color: "primary",
378
- children: "Primary"
379
- }),
380
- /* @__PURE__ */ s(a, {
381
- variant: "contained",
382
- color: "secondary",
383
- children: "Secondary"
384
- }),
385
- /* @__PURE__ */ s(a, {
386
- variant: "contained",
387
- color: "success",
388
- children: "Success"
389
- }),
390
- /* @__PURE__ */ s(a, {
391
- variant: "contained",
392
- color: "warning",
393
- children: "Warning"
394
- }),
395
- /* @__PURE__ */ s(a, {
396
- variant: "contained",
397
- color: "error",
398
- children: "Error"
399
- }),
400
- /* @__PURE__ */ s(a, {
401
- variant: "contained",
402
- color: "info",
403
- children: "Info"
404
- })
405
- ]
406
- })] }),
407
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
408
- variant: "subtitle2",
409
- gutterBottom: !0,
410
- children: "Color Variants (Outlined)"
411
- }), /* @__PURE__ */ c(g, {
412
- direction: "row",
413
- spacing: 2,
414
- sx: {
415
- flexWrap: "wrap",
416
- gap: 1
417
- },
418
- children: [
419
- /* @__PURE__ */ s(a, {
420
- variant: "outlined",
421
- color: "primary",
422
- children: "Primary"
423
- }),
424
- /* @__PURE__ */ s(a, {
425
- variant: "outlined",
426
- color: "secondary",
427
- children: "Secondary"
428
- }),
429
- /* @__PURE__ */ s(a, {
430
- variant: "outlined",
431
- color: "success",
432
- children: "Success"
433
- }),
434
- /* @__PURE__ */ s(a, {
435
- variant: "outlined",
436
- color: "warning",
437
- children: "Warning"
438
- }),
439
- /* @__PURE__ */ s(a, {
440
- variant: "outlined",
441
- color: "error",
442
- children: "Error"
443
- }),
444
- /* @__PURE__ */ s(a, {
445
- variant: "outlined",
446
- color: "info",
447
- children: "Info"
448
- })
449
- ]
450
- })] }),
451
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
452
- variant: "subtitle2",
453
- gutterBottom: !0,
454
- children: "Button Sizes"
455
- }), /* @__PURE__ */ c(g, {
456
- direction: "row",
457
- spacing: 2,
458
- sx: {
459
- alignItems: "center",
460
- flexWrap: "wrap",
461
- gap: 1
462
- },
463
- children: [
464
- /* @__PURE__ */ s(a, {
465
- variant: "contained",
466
- color: "primary",
467
- size: "small",
468
- children: "Small"
469
- }),
470
- /* @__PURE__ */ s(a, {
471
- variant: "contained",
472
- color: "primary",
473
- size: "medium",
474
- children: "Medium"
475
- }),
476
- /* @__PURE__ */ s(a, {
477
- variant: "contained",
478
- color: "primary",
479
- size: "large",
480
- children: "Large"
481
- })
482
- ]
483
- })] }),
484
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
485
- variant: "subtitle2",
486
- gutterBottom: !0,
487
- children: "Button States"
488
- }), /* @__PURE__ */ c(g, {
489
- direction: "row",
490
- spacing: 2,
491
- sx: {
492
- flexWrap: "wrap",
493
- gap: 1
494
- },
495
- children: [
496
- /* @__PURE__ */ s(a, {
497
- variant: "contained",
498
- color: "primary",
499
- children: "Default"
500
- }),
501
- /* @__PURE__ */ s(a, {
502
- variant: "contained",
503
- color: "primary",
504
- disabled: !0,
505
- children: "Disabled"
506
- }),
507
- /* @__PURE__ */ s(a, {
508
- variant: "outlined",
509
- color: "primary",
510
- disabled: !0,
511
- children: "Disabled Outlined"
512
- }),
513
- /* @__PURE__ */ s(a, {
514
- variant: "text",
515
- color: "primary",
516
- disabled: !0,
517
- children: "Disabled Text"
518
- })
519
- ]
520
- })] }),
521
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
522
- variant: "subtitle2",
523
- gutterBottom: !0,
524
- children: "Buttons with Icons"
525
- }), /* @__PURE__ */ c(g, {
526
- direction: "row",
527
- spacing: 2,
528
- sx: {
529
- flexWrap: "wrap",
530
- gap: 1
531
- },
532
- children: [
533
- /* @__PURE__ */ s(a, {
534
- variant: "contained",
535
- color: "primary",
536
- startIcon: /* @__PURE__ */ s(v, {}),
537
- children: "Start Icon"
538
- }),
539
- /* @__PURE__ */ s(a, {
540
- variant: "contained",
541
- color: "secondary",
542
- endIcon: /* @__PURE__ */ s(y, {}),
543
- children: "End Icon"
544
- }),
545
- /* @__PURE__ */ s(a, {
546
- variant: "outlined",
547
- color: "success",
548
- startIcon: /* @__PURE__ */ s(b, {}),
549
- children: "Outlined + Icon"
550
- }),
551
- /* @__PURE__ */ s(a, {
552
- variant: "text",
553
- color: "error",
554
- endIcon: /* @__PURE__ */ s(n, {}),
555
- children: "Text + Icon"
556
- })
557
- ]
558
- })] })
559
- ]
560
- })
561
- ] }),
562
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
563
- variant: "h6",
564
- gutterBottom: !0,
565
- children: "Form Components with SForm"
566
- }), /* @__PURE__ */ s(i, {
567
- label: "Sample Form",
568
- required: !0,
569
- children: /* @__PURE__ */ c(g, {
570
- spacing: 3,
571
- children: [
572
- /* @__PURE__ */ s(r, {
573
- label: "Enhanced Text Field",
574
- value: e,
575
- onChange: (e) => l(e.target.value),
576
- placeholder: "Enter text here...",
577
- helperText: "This is an enhanced STextField component"
578
- }),
579
- /* @__PURE__ */ s(r, {
580
- label: "Password Field",
581
- type: "password",
582
- placeholder: "Enter password...",
583
- helperText: "Password input with custom styling"
584
- }),
585
- /* @__PURE__ */ s(r, {
586
- label: "Multiline Text",
587
- multiline: !0,
588
- rows: 3,
589
- placeholder: "Enter multiple lines...",
590
- helperText: "Multiline text input"
591
- })
592
- ]
593
- })
594
- })] }),
595
- /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
596
- variant: "h6",
597
- gutterBottom: !0,
598
- children: "Theme Controls"
599
- }), /* @__PURE__ */ s(g, {
600
- spacing: 2,
601
- children: /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
602
- variant: "subtitle2",
603
- gutterBottom: !0,
604
- children: "Theme Switch Component"
605
- }), /* @__PURE__ */ s(t, {})] })
606
- })] })
607
- ]
608
- })] })
609
- });
610
- }, w = () => /* @__PURE__ */ s(d, {
611
- elevation: 2,
612
- sx: { borderRadius: 2 },
613
- children: /* @__PURE__ */ c(f, { children: [/* @__PURE__ */ s(_, {
614
- variant: "h5",
615
- gutterBottom: !0,
616
- children: "Interactive Components"
617
- }), /* @__PURE__ */ c(g, {
618
- spacing: 3,
619
- children: [/* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
620
- variant: "h6",
621
- gutterBottom: !0,
622
- children: "Alerts"
623
- }), /* @__PURE__ */ c(g, {
624
- spacing: 2,
625
- children: [
626
- /* @__PURE__ */ s(l, {
627
- severity: "success",
628
- children: "Success alert - Operation completed successfully!"
629
- }),
630
- /* @__PURE__ */ s(l, {
631
- severity: "warning",
632
- children: "Warning alert - Please review your input."
633
- }),
634
- /* @__PURE__ */ s(l, {
635
- severity: "error",
636
- children: "Error alert - Something went wrong."
637
- }),
638
- /* @__PURE__ */ s(l, {
639
- severity: "info",
640
- children: "Info alert - Here's some useful information."
641
- })
642
- ]
643
- })] }), /* @__PURE__ */ c(u, { children: [
644
- /* @__PURE__ */ s(_, {
645
- variant: "h6",
646
- gutterBottom: !0,
647
- children: "Chips & Tags"
648
- }),
649
- /* @__PURE__ */ s(_, {
650
- variant: "body2",
651
- gutterBottom: !0,
652
- sx: {
653
- color: "text.secondary",
654
- mb: 3
655
- },
656
- children: "Comprehensive chip system with all colors, variants, and interactive states"
657
- }),
658
- /* @__PURE__ */ c(g, {
659
- spacing: 3,
660
- children: [/* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
661
- variant: "subtitle2",
662
- gutterBottom: !0,
663
- children: "Color Variants"
664
- }), /* @__PURE__ */ c(g, {
665
- direction: "row",
666
- spacing: 1,
667
- sx: {
668
- flexWrap: "wrap",
669
- gap: 1
670
- },
671
- children: [
672
- /* @__PURE__ */ s(p, { label: "Default" }),
673
- /* @__PURE__ */ s(p, {
674
- label: "Primary",
675
- color: "primary"
676
- }),
677
- /* @__PURE__ */ s(p, {
678
- label: "Secondary",
679
- color: "secondary"
680
- }),
681
- /* @__PURE__ */ s(p, {
682
- label: "Success",
683
- color: "success"
684
- }),
685
- /* @__PURE__ */ s(p, {
686
- label: "Warning",
687
- color: "warning"
688
- }),
689
- /* @__PURE__ */ s(p, {
690
- label: "Error",
691
- color: "error"
692
- }),
693
- /* @__PURE__ */ s(p, {
694
- label: "Info",
695
- color: "info"
696
- })
697
- ]
698
- })] }), /* @__PURE__ */ c(u, { children: [/* @__PURE__ */ s(_, {
699
- variant: "subtitle2",
700
- gutterBottom: !0,
701
- children: "Chip Sizes"
702
- }), /* @__PURE__ */ c(g, {
703
- direction: "row",
704
- spacing: 1,
705
- sx: {
706
- alignItems: "center",
707
- flexWrap: "wrap",
708
- gap: 1
709
- },
710
- children: [/* @__PURE__ */ s(p, {
711
- label: "Small",
712
- color: "primary",
713
- size: "small"
714
- }), /* @__PURE__ */ s(p, {
715
- label: "Medium",
716
- color: "primary",
717
- size: "medium"
718
- })]
719
- })] })]
720
- })
721
- ] })]
722
- })] })
723
- }), T = () => /* @__PURE__ */ s(d, {
724
- elevation: 2,
725
- sx: { borderRadius: 2 },
726
- children: /* @__PURE__ */ c(f, { children: [
727
- /* @__PURE__ */ s(_, {
728
- variant: "h5",
729
- gutterBottom: !0,
730
- children: "Shadow System"
731
- }),
732
- /* @__PURE__ */ s(_, {
733
- variant: "body2",
734
- gutterBottom: !0,
735
- sx: { color: "text.secondary" },
736
- children: "Material-UI elevation system with custom shadows"
737
- }),
738
- /* @__PURE__ */ s(g, {
739
- direction: "row",
740
- sx: {
741
- flexWrap: "wrap",
742
- gap: 3,
743
- mt: 2
744
- },
745
- children: [
746
- 0,
747
- 1,
748
- 2,
749
- 4,
750
- 6,
751
- 8,
752
- 12,
753
- 16,
754
- 24
755
- ].map((e) => /* @__PURE__ */ c(u, {
756
- sx: { textAlign: "center" },
757
- children: [/* @__PURE__ */ s(h, {
758
- elevation: e,
759
- sx: {
760
- width: 80,
761
- height: 80,
762
- display: "flex",
763
- alignItems: "center",
764
- justifyContent: "center",
765
- mb: 1,
766
- borderRadius: 2
767
- },
768
- children: /* @__PURE__ */ s(_, {
769
- variant: "h6",
770
- children: e
771
- })
772
- }), /* @__PURE__ */ c(_, {
773
- variant: "caption",
774
- children: ["Elevation ", e]
775
- })]
776
- }, e))
777
- }),
778
- /* @__PURE__ */ s(m, { sx: { my: 3 } }),
779
- /* @__PURE__ */ s(_, {
780
- variant: "h6",
781
- gutterBottom: !0,
782
- children: "Custom Shadow Effects"
783
- }),
784
- /* @__PURE__ */ s(g, {
785
- direction: "row",
786
- spacing: 3,
787
- sx: {
788
- flexWrap: "wrap",
789
- gap: 2
790
- },
791
- children: /* @__PURE__ */ s(h, {
792
- sx: {
793
- p: 3,
794
- borderRadius: 2,
795
- boxShadow: "var(--s-palette-baseShadow)"
796
- },
797
- children: /* @__PURE__ */ s(_, {
798
- variant: "body2",
799
- children: "Custom Base Shadow"
800
- })
801
- })
802
- })
803
- ] })
804
- }), E = ({ title: e = "SoloStylist UI Kit Theme Demo", compact: t = !1, sections: n = [
805
- "colors",
806
- "typography",
807
- "components",
808
- "forms",
809
- "interactive",
810
- "shadows"
811
- ] }) => {
812
- let r = o.useMemo(() => ({
813
- colors: n.includes("colors"),
814
- typography: n.includes("typography"),
815
- components: n.includes("components"),
816
- forms: n.includes("forms"),
817
- shadows: n.includes("shadows"),
818
- interactive: n.includes("interactive")
819
- }), [n]);
820
- return /* @__PURE__ */ c(u, {
821
- sx: {
822
- p: t ? 2 : 3,
823
- maxWidth: 1200,
824
- mx: "auto"
825
- },
826
- children: [/* @__PURE__ */ c(u, {
827
- sx: {
828
- mb: 4,
829
- textAlign: "center"
830
- },
831
- children: [/* @__PURE__ */ s(_, {
832
- variant: "h3",
833
- component: "h1",
834
- gutterBottom: !0,
835
- children: e
836
- }), /* @__PURE__ */ s(_, {
837
- variant: "h6",
838
- sx: {
839
- color: "text.secondary",
840
- mb: 3
841
- },
842
- children: "Showcase of the SoloStylist UI Kit with modern theming capabilities"
843
- })]
844
- }), /* @__PURE__ */ c(g, {
845
- spacing: t ? 2 : 4,
846
- children: [
847
- r.colors && /* @__PURE__ */ s(x, {}),
848
- r.typography && /* @__PURE__ */ s(S, {}),
849
- (r.components || r.forms) && /* @__PURE__ */ s(C, {}),
850
- r.interactive && /* @__PURE__ */ s(w, {}),
851
- r.shadows && /* @__PURE__ */ s(T, {})
852
- ]
853
- })]
854
- });
855
- };
856
- //#endregion
857
- export { E as t };