@solostylist/ui-kit 1.0.112 → 1.0.114

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 (91) hide show
  1. package/dist/{Box-Deehc8LF.js → Box-BVty_s6i.js} +3 -3
  2. package/dist/{ButtonBase-B-mcxJe8.js → ButtonBase-mQcNFFZT.js} +4 -4
  3. package/dist/{ChevronRight-BB4jrtLy.js → ChevronRight-DHNkZLlo.js} +1 -1
  4. package/dist/{Close-DqRHeMAW.js → Close-NkxvAwQr.js} +1 -1
  5. package/dist/DefaultPropsProvider-B--diaQ3.js +56 -0
  6. package/dist/{ExpandMore-CE1RzE_y.js → ExpandMore-DpFPV8W9.js} +1 -1
  7. package/dist/Favorite-DpJ7EDHh.js +8 -0
  8. package/dist/GlobalStyles-OdaYqxTO.js +59 -0
  9. package/dist/{Menu-HtTElywx.js → Menu-CcW81QRb.js} +311 -324
  10. package/dist/{MenuItem-DzviefY7.js → MenuItem-DGNNylSd.js} +5 -5
  11. package/dist/{Paper-pJ5bSU59.js → Paper-BUFfm5KI.js} +7 -7
  12. package/dist/{Select-C9Hk7BA8.js → Select-CWgjtbUU.js} +370 -387
  13. package/dist/{Stack-TRopps6s.js → Stack-CQ7zBwkJ.js} +5 -5
  14. package/dist/{TransitionGroup--1HPPUFY.js → TransitionGroup-Buyx2ey4.js} +1 -1
  15. package/dist/{Typography-DGEEI1Q-.js → Typography-fMf8hWqG.js} +4 -4
  16. package/dist/assets/s-overlay-scrollbar.css +9 -0
  17. package/dist/{createSvgIcon-DCQI9UV5.js → createSvgIcon-PpKM6urg.js} +104 -130
  18. package/dist/{createTheme-YLBX8GSj.js → createTheme-ubqb7_yU.js} +1 -0
  19. package/dist/defaultTheme-CtLmY7I4.js +5 -0
  20. package/dist/{extendSxProp-BNyKHzap.js → extendSxProp-5t2om437.js} +1 -1
  21. package/dist/index-N6ZbgVEG.js +33 -0
  22. package/dist/index-h98nw21y.js +44 -0
  23. package/dist/main.d.ts +6 -2
  24. package/dist/main.js +110 -104
  25. package/dist/{mergeSlotProps-N1VTlioP.js → mergeSlotProps-DKFm7I5M.js} +1 -1
  26. package/dist/s-accordion/s-accordion.js +8 -8
  27. package/dist/s-carousel/s-carousel.js +1 -1
  28. package/dist/s-chat-input/s-chat-input.js +2 -2
  29. package/dist/s-chat-message/s-chat-message.js +1 -1
  30. package/dist/s-comment-message/s-comment-message.js +35 -36
  31. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  32. package/dist/s-data-table/s-data-table.js +5 -5
  33. package/dist/s-date-picker/s-date-picker.js +7 -7
  34. package/dist/s-datetime-picker/s-datetime-picker.js +15 -14
  35. package/dist/s-dialog/s-dialog.js +1 -1
  36. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  37. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  38. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  39. package/dist/s-file-icon/s-file-icon.js +1 -1
  40. package/dist/s-flex-box/s-flex-box.js +1 -1
  41. package/dist/s-image-comparison/s-image-comparison.js +1 -1
  42. package/dist/s-image-modal/s-image-modal.js +2 -2
  43. package/dist/s-label/s-label.js +1 -1
  44. package/dist/s-localization-provider/s-localization-provider.js +1 -1
  45. package/dist/s-multi-select/s-multi-select.js +3 -3
  46. package/dist/s-overlay-scrollbar/index.d.ts +2 -0
  47. package/dist/s-overlay-scrollbar/index.js +4 -0
  48. package/dist/s-overlay-scrollbar/package.json +5 -0
  49. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.d.ts +8 -0
  50. package/dist/s-overlay-scrollbar/s-overlay-scrollbar.js +25 -0
  51. package/dist/s-review/s-review.js +1 -1
  52. package/dist/s-smart-text-field/s-smart-text-field.js +2 -2
  53. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  54. package/dist/s-text-editor/s-text-editor.js +1 -1
  55. package/dist/s-text-field/s-text-field.js +1 -1
  56. package/dist/s-text-shimmer/s-text-shimmer.js +7 -7
  57. package/dist/s-theme-demo/index.d.ts +2 -0
  58. package/dist/s-theme-demo/index.js +4 -0
  59. package/dist/s-theme-demo/package.json +5 -0
  60. package/dist/s-theme-demo/s-theme-demo.d.ts +31 -0
  61. package/dist/s-theme-demo/s-theme-demo.js +417 -0
  62. package/dist/s-theme-provider/index.d.ts +2 -0
  63. package/dist/s-theme-provider/index.js +5 -2
  64. package/dist/s-theme-provider/s-theme-provider.d.ts +2 -2
  65. package/dist/s-theme-provider/s-theme-provider.js +13 -13
  66. package/dist/s-theme-provider/use-theme.d.ts +51 -0
  67. package/dist/s-theme-provider/use-theme.js +670 -0
  68. package/dist/s-theme-switch/index.d.ts +2 -0
  69. package/dist/s-theme-switch/index.js +4 -0
  70. package/dist/s-theme-switch/package.json +5 -0
  71. package/dist/s-theme-switch/s-theme-switch.d.ts +6 -0
  72. package/dist/s-theme-switch/s-theme-switch.js +43 -0
  73. package/dist/s-tip/s-tip.js +3 -3
  74. package/dist/{styled-DOEEZAON.js → styled-C9vD3j80.js} +2 -2
  75. package/dist/theme/components/avatar.js +1 -1
  76. package/dist/theme/components/chip.js +92 -30
  77. package/dist/theme/components/components.d.ts +2 -0
  78. package/dist/theme/components/tooltip.d.ts +2 -0
  79. package/dist/theme/components/tooltip.js +4 -2
  80. package/dist/theme/customizations/inputs.js +1 -1
  81. package/dist/theme/customizations/navigation.js +2 -1
  82. package/dist/theme/theme-primitives.d.ts +97 -0
  83. package/dist/theme/theme-primitives.js +290 -87
  84. package/dist/useId-CK6Kn3Tn.js +21 -0
  85. package/dist/{useMobilePicker-c5_EH1sg.js → useMobilePicker-kwoV49Bq.js} +99 -97
  86. package/dist/{useTheme-w9o5xUBz.js → useTheme-BRW1H8JQ.js} +1 -1
  87. package/dist/{useThemeProps-CPsDWmFG.js → useThemeProps-DEztVr97.js} +1 -1
  88. package/dist/{warning-KQY_8msi.js → warning-Dcl59VWg.js} +3 -3
  89. package/package.json +3 -2
  90. package/dist/defaultTheme-DXvvOU_p.js +0 -5
  91. package/dist/index-B3csTTDl.js +0 -95
@@ -1,6 +1,6 @@
1
- import { a as i } from "../createTheme-YLBX8GSj.js";
2
- import { a as s } from "../colorManipulator-ep5lERxB.js";
3
- const a = i(), r = {
1
+ import { a as b } from "../createTheme-ubqb7_yU.js";
2
+ import { a as l } from "../colorManipulator-ep5lERxB.js";
3
+ const h = b(), e = {
4
4
  50: "hsl(210, 100%, 95%)",
5
5
  100: "hsl(210, 100%, 92%)",
6
6
  200: "hsl(210, 100%, 80%)",
@@ -11,28 +11,40 @@ const a = i(), r = {
11
11
  700: "hsl(210, 100%, 35%)",
12
12
  800: "hsl(210, 100%, 16%)",
13
13
  900: "hsl(210, 100%, 21%)"
14
- }, h = {
15
- 50: "rgb(243, 246, 250)",
16
- // hsl(220, 35%, 97%)
17
- 100: "rgb(235, 238, 244)",
18
- // hsl(220, 30%, 94%)
19
- 200: "rgb(218, 222, 231)",
20
- // hsl(220, 20%, 88%)
21
- 300: "rgb(194, 201, 214)",
22
- // hsl(220, 20%, 80%)
23
- 400: "rgb(148, 160, 184)",
24
- // hsl(220, 20%, 65%)
25
- 500: "rgb(86, 100, 129)",
26
- // hsl(220, 20%, 42%)
27
- 600: "rgb(71, 83, 107)",
28
- // hsl(220, 20%, 35%)
29
- 700: "rgb(51, 60, 77)",
30
- // hsl(220, 20%, 25%)
31
- 800: "rgb(11, 14, 20)",
32
- // hsl(220, 30%, 6%)
33
- 900: "rgb(5, 7, 10)"
34
- // hsl(220, 35%, 3%)
35
- }, l = {
14
+ }, s = {
15
+ 50: "hsl(220, 60%, 98%)",
16
+ 100: "hsl(220, 55%, 95%)",
17
+ 200: "hsl(220, 50%, 88%)",
18
+ 300: "hsl(220, 45%, 75%)",
19
+ 400: "hsl(220, 70%, 58%)",
20
+ 500: "hsl(220, 85%, 47%)",
21
+ 600: "hsl(220, 90%, 39%)",
22
+ 700: "hsl(220, 95%, 31%)",
23
+ 800: "hsl(220, 100%, 24%)",
24
+ 900: "hsl(220, 100%, 18%)"
25
+ }, r = {
26
+ 50: "hsl(220, 35%, 97%)",
27
+ 100: "hsl(220, 30%, 94%)",
28
+ 200: "hsl(220, 20%, 88%)",
29
+ 300: "hsl(220, 20%, 80%)",
30
+ 400: "hsl(220, 20%, 65%)",
31
+ 500: "hsl(220, 20%, 42%)",
32
+ 600: "hsl(220, 20%, 35%)",
33
+ 700: "hsl(220, 20%, 25%)",
34
+ 800: "hsl(220, 30%, 6%)",
35
+ 900: "hsl(220, 35%, 3%)"
36
+ }, T = {
37
+ 50: "hsl(210, 20%, 98%)",
38
+ 100: "hsl(210, 15%, 95%)",
39
+ 200: "hsl(210, 12%, 89%)",
40
+ 300: "hsl(210, 10%, 78%)",
41
+ 400: "hsl(210, 9%, 65%)",
42
+ 500: "hsl(210, 8%, 50%)",
43
+ 600: "hsl(210, 12%, 42%)",
44
+ 700: "hsl(210, 18%, 35%)",
45
+ 800: "hsl(210, 24%, 28%)",
46
+ 900: "hsl(210, 30%, 22%)"
47
+ }, i = {
36
48
  50: "hsl(120, 80%, 98%)",
37
49
  100: "hsl(120, 75%, 94%)",
38
50
  200: "hsl(120, 75%, 87%)",
@@ -43,6 +55,17 @@ const a = i(), r = {
43
55
  700: "hsl(120, 75%, 16%)",
44
56
  800: "hsl(120, 84%, 10%)",
45
57
  900: "hsl(120, 87%, 6%)"
58
+ }, n = {
59
+ 50: "hsl(151, 60%, 98%)",
60
+ 100: "hsl(151, 55%, 95%)",
61
+ 200: "hsl(151, 50%, 88%)",
62
+ 300: "hsl(151, 45%, 78%)",
63
+ 400: "hsl(151, 65%, 62%)",
64
+ 500: "hsl(151, 75%, 47%)",
65
+ 600: "hsl(151, 85%, 38%)",
66
+ 700: "hsl(151, 90%, 30%)",
67
+ 800: "hsl(151, 95%, 23%)",
68
+ 900: "hsl(151, 100%, 17%)"
46
69
  }, o = {
47
70
  50: "hsl(45, 100%, 97%)",
48
71
  100: "hsl(45, 92%, 90%)",
@@ -54,7 +77,18 @@ const a = i(), r = {
54
77
  700: "hsl(45, 94%, 20%)",
55
78
  800: "hsl(45, 95%, 16%)",
56
79
  900: "hsl(45, 93%, 12%)"
57
- }, f = {
80
+ }, g = {
81
+ 50: "hsl(48, 100%, 98%)",
82
+ 100: "hsl(48, 95%, 94%)",
83
+ 200: "hsl(48, 90%, 86%)",
84
+ 300: "hsl(48, 85%, 72%)",
85
+ 400: "hsl(48, 88%, 58%)",
86
+ 500: "hsl(48, 92%, 50%)",
87
+ 600: "hsl(48, 95%, 42%)",
88
+ 700: "hsl(48, 100%, 35%)",
89
+ 800: "hsl(48, 100%, 28%)",
90
+ 900: "hsl(48, 100%, 22%)"
91
+ }, p = {
58
92
  50: "hsl(210, 100%, 98%)",
59
93
  100: "hsl(210, 95%, 94%)",
60
94
  200: "hsl(210, 90%, 87%)",
@@ -65,7 +99,18 @@ const a = i(), r = {
65
99
  700: "hsl(210, 95%, 25%)",
66
100
  800: "hsl(210, 100%, 15%)",
67
101
  900: "hsl(210, 100%, 10%)"
68
- }, g = {
102
+ }, d = {
103
+ 50: "hsl(204, 100%, 98%)",
104
+ 100: "hsl(204, 95%, 94%)",
105
+ 200: "hsl(204, 90%, 86%)",
106
+ 300: "hsl(204, 85%, 74%)",
107
+ 400: "hsl(204, 88%, 60%)",
108
+ 500: "hsl(204, 92%, 48%)",
109
+ 600: "hsl(204, 95%, 40%)",
110
+ 700: "hsl(204, 100%, 32%)",
111
+ 800: "hsl(204, 100%, 25%)",
112
+ 900: "hsl(204, 100%, 19%)"
113
+ }, c = {
69
114
  50: "hsl(0, 100%, 97%)",
70
115
  100: "hsl(0, 92%, 90%)",
71
116
  200: "hsl(0, 94%, 80%)",
@@ -76,7 +121,18 @@ const a = i(), r = {
76
121
  700: "hsl(0, 94%, 18%)",
77
122
  800: "hsl(0, 95%, 12%)",
78
123
  900: "hsl(0, 93%, 6%)"
79
- }, y = {
124
+ }, f = {
125
+ 50: "hsl(356, 100%, 98%)",
126
+ 100: "hsl(356, 95%, 94%)",
127
+ 200: "hsl(356, 90%, 87%)",
128
+ 300: "hsl(356, 85%, 75%)",
129
+ 400: "hsl(356, 88%, 61%)",
130
+ 500: "hsl(356, 92%, 50%)",
131
+ 600: "hsl(356, 95%, 42%)",
132
+ 700: "hsl(356, 100%, 34%)",
133
+ 800: "hsl(356, 100%, 27%)",
134
+ 900: "hsl(356, 100%, 21%)"
135
+ }, w = {
80
136
  50: "hsl(270, 100%, 98%)",
81
137
  100: "hsl(270, 95%, 94%)",
82
138
  200: "hsl(270, 90%, 87%)",
@@ -87,7 +143,18 @@ const a = i(), r = {
87
143
  700: "hsl(270, 75%, 25%)",
88
144
  800: "hsl(270, 80%, 15%)",
89
145
  900: "hsl(270, 85%, 10%)"
90
- }, t = {
146
+ }, S = {
147
+ 50: "hsl(280, 60%, 98%)",
148
+ 100: "hsl(280, 55%, 95%)",
149
+ 200: "hsl(280, 50%, 88%)",
150
+ 300: "hsl(280, 45%, 78%)",
151
+ 400: "hsl(280, 65%, 65%)",
152
+ 500: "hsl(280, 75%, 52%)",
153
+ 600: "hsl(280, 85%, 42%)",
154
+ 700: "hsl(280, 90%, 34%)",
155
+ 800: "hsl(280, 95%, 27%)",
156
+ 900: "hsl(280, 100%, 21%)"
157
+ }, a = {
91
158
  0: "rgba(0,0,0,0)",
92
159
  10: "rgba(0,0,0,0.1)",
93
160
  20: "rgba(0,0,0,0.2)",
@@ -99,7 +166,7 @@ const a = i(), r = {
99
166
  80: "rgba(0,0,0,0.8)",
100
167
  90: "rgba(0,0,0,0.9)",
101
168
  100: "rgba(0,0,0,1)"
102
- }, e = {
169
+ }, t = {
103
170
  0: "rgba(255,255,255,0)",
104
171
  10: "rgba(255,255,255,0.1)",
105
172
  20: "rgba(255,255,255,0.2)",
@@ -111,7 +178,7 @@ const a = i(), r = {
111
178
  80: "rgba(255,255,255,0.8)",
112
179
  90: "rgba(255,255,255,0.9)",
113
180
  100: "rgba(255,255,255,1)"
114
- }, n = {
181
+ }, m = {
115
182
  palette: {
116
183
  gradient: {
117
184
  primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%);",
@@ -120,27 +187,27 @@ const a = i(), r = {
120
187
  sky: "linear-gradient(to right, transparent, #0ea5e9, transparent)"
121
188
  },
122
189
  blackAlpha: {
123
- zero: t[0],
190
+ zero: a[0],
124
191
  // không có
125
- light: t[10],
192
+ light: a[10],
126
193
  // nhẹ, subtle
127
- medium: t[50],
194
+ medium: a[50],
128
195
  // vừa, balanced
129
- dark: t[80],
196
+ dark: a[80],
130
197
  // đậm, mạnh
131
- full: t[100]
198
+ full: a[100]
132
199
  // đầy đủ
133
200
  },
134
201
  whiteAlpha: {
135
- zero: e[0],
202
+ zero: t[0],
136
203
  // không có
137
- light: e[10],
204
+ light: t[10],
138
205
  // nhẹ, subtle
139
- medium: e[50],
206
+ medium: t[50],
140
207
  // vừa, balanced
141
- dark: e[80],
208
+ dark: t[80],
142
209
  // đậm, mạnh
143
- full: e[100]
210
+ full: t[100]
144
211
  // đầy đủ
145
212
  },
146
213
  ui: {
@@ -153,113 +220,249 @@ const a = i(), r = {
153
220
  }
154
221
  },
155
222
  primary: {
156
- contrastText: r[50],
157
- light: r[300],
158
- main: r[400],
159
- dark: r[700],
223
+ contrastText: e[50],
224
+ light: e[400],
225
+ main: e[500],
226
+ dark: e[700],
160
227
  white: "#ffffff",
161
228
  black: "#000000"
162
229
  },
163
230
  info: {
164
- contrastText: r[300],
165
- light: r[500],
166
- main: r[700],
167
- dark: r[900]
231
+ contrastText: p[50],
232
+ light: p[400],
233
+ main: p[500],
234
+ dark: p[700]
168
235
  },
169
236
  warning: {
237
+ contrastText: o[50],
170
238
  light: o[400],
171
239
  main: o[500],
172
240
  dark: o[700]
173
241
  },
174
242
  error: {
175
- light: g[400],
176
- main: g[500],
177
- dark: g[700]
243
+ contrastText: c[50],
244
+ light: c[400],
245
+ main: c[500],
246
+ dark: c[700]
178
247
  },
179
248
  success: {
180
- light: l[400],
181
- main: l[500],
182
- dark: l[700]
249
+ contrastText: i[50],
250
+ light: i[400],
251
+ main: i[500],
252
+ dark: i[700]
183
253
  },
184
- grey: h,
185
- divider: s(h[700], 0.6),
254
+ grey: r,
255
+ divider: l(r[700], 0.6),
186
256
  background: {
187
- default: h[900],
257
+ default: r[900],
188
258
  paper: "hsl(220, 30%, 7%)"
189
259
  },
190
260
  text: {
191
261
  primary: "rgb(255, 255, 255)",
192
- secondary: h[400]
262
+ secondary: r[400]
193
263
  },
194
264
  action: {
195
- hover: s(h[600], 0.2),
196
- selected: s(h[600], 0.3)
265
+ hover: l(r[600], 0.2),
266
+ selected: l(r[600], 0.3)
197
267
  },
198
268
  baseShadow: "hsla(220, 30%, 5%, 0.7) 0px 4px 16px 0px, hsla(220, 25%, 10%, 0.8) 0px 8px 16px -5px"
199
269
  }
200
- }, p = n, m = { light: p, dark: n }, x = {
270
+ }, y = {
271
+ palette: {
272
+ gradient: {
273
+ primary: "linear-gradient(90deg, #1469be 0%, #43ecff 100%);",
274
+ secondary: "linear-gradient(90deg, #0088F6 0%, #1DDD83 77.25%)",
275
+ indigo: "linear-gradient(to right, transparent, #6366f1, transparent)",
276
+ sky: "linear-gradient(to right, transparent, #0ea5e9, transparent)"
277
+ },
278
+ blackAlpha: {
279
+ zero: a[0],
280
+ // transparent
281
+ light: a[10],
282
+ // very subtle overlay for light theme
283
+ medium: a[50],
284
+ // light overlay for light theme
285
+ dark: a[80],
286
+ // moderate overlay for light theme
287
+ full: a[100]
288
+ // opaque black
289
+ },
290
+ whiteAlpha: {
291
+ zero: t[0],
292
+ // transparent
293
+ light: t[10],
294
+ // strong white overlay for light theme
295
+ medium: t[50],
296
+ // stronger white overlay
297
+ dark: t[80],
298
+ // very strong white overlay
299
+ full: t[100]
300
+ // opaque white
301
+ },
302
+ ui: {
303
+ pulse: {
304
+ shadowLight: `${l(s[500], 0.12)}`,
305
+ shadowMedium: `${l(s[500], 0.18)}`,
306
+ ring: `${l(s[500], 0.3)}`,
307
+ background: `${l(s[500], 0.05)}`,
308
+ radialGradient: `radial-gradient(circle, ${l(s[500], 0.08)} 0%, ${l(s[500], 0.03)} 50%, transparent 100%)`
309
+ }
310
+ },
311
+ primary: {
312
+ contrastText: s[50],
313
+ light: s[200],
314
+ // Light brand color for light theme
315
+ main: s[500],
316
+ // Main brand color optimized for light backgrounds
317
+ dark: s[700],
318
+ // Dark brand color for strong contrast
319
+ white: "#ffffff",
320
+ black: "#000000"
321
+ },
322
+ info: {
323
+ contrastText: d[50],
324
+ light: d[200],
325
+ // Light blue for light theme
326
+ main: d[500],
327
+ // Main blue for light theme
328
+ dark: d[700]
329
+ // Dark blue for light theme
330
+ },
331
+ warning: {
332
+ contrastText: g[50],
333
+ light: g[200],
334
+ // Light orange for light theme
335
+ main: g[500],
336
+ // Main orange for light theme
337
+ dark: g[700]
338
+ // Dark orange for light theme
339
+ },
340
+ error: {
341
+ contrastText: f[50],
342
+ light: f[200],
343
+ // Light red for light theme
344
+ main: f[500],
345
+ // Main red for light theme
346
+ dark: f[700]
347
+ // Dark red for light theme
348
+ },
349
+ success: {
350
+ contrastText: n[50],
351
+ light: n[200],
352
+ // Light green for light theme
353
+ main: n[500],
354
+ // Main green for light theme
355
+ dark: n[700]
356
+ // Dark green for light theme
357
+ },
358
+ grey: r,
359
+ divider: "hsl(214, 32%, 91%)",
360
+ // Sophisticated light dividers
361
+ background: {
362
+ default: "#f8fafc",
363
+ // Premium light background (slate-inspired)
364
+ paper: "#ffffff",
365
+ // Pure white for elevated surfaces
366
+ surface: s[50],
367
+ // Subtle brand-tinted surface
368
+ elevated: "#ffffff"
369
+ // Elevated surfaces (modals, dropdowns)
370
+ },
371
+ text: {
372
+ primary: "hsl(222, 84%, 4.9%)",
373
+ // Premium dark text (almost black with subtle hue)
374
+ secondary: "hsl(215, 16%, 47%)",
375
+ // Balanced secondary text
376
+ tertiary: "hsl(215, 14%, 65%)",
377
+ // Light secondary text
378
+ disabled: "hsl(215, 14%, 75%)"
379
+ // Disabled text
380
+ },
381
+ action: {
382
+ hover: l(s[500], 0.08),
383
+ // Brand-tinted hover
384
+ selected: l(s[500], 0.12),
385
+ // Brand-tinted selection
386
+ disabled: "hsl(215, 14%, 75%)",
387
+ // Disabled state
388
+ disabledBackground: "hsl(215, 20%, 95%)",
389
+ // Disabled background
390
+ focus: l(s[500], 0.16)
391
+ // Prominent focus state
392
+ },
393
+ baseShadow: "rgba(15, 23, 42, 0.08) 0px 2px 8px 0px, rgba(15, 23, 42, 0.04) 0px 1px 2px -1px"
394
+ // Premium shadows with subtle slate tint
395
+ }
396
+ }, z = { light: y, dark: m }, R = {
201
397
  fontFamily: "Outfit, sans-serif",
202
398
  h1: {
203
- fontSize: a.typography.pxToRem(48),
399
+ fontSize: h.typography.pxToRem(48),
204
400
  fontWeight: 600,
205
401
  lineHeight: 1.2,
206
402
  letterSpacing: -0.5
207
403
  },
208
404
  h2: {
209
- fontSize: a.typography.pxToRem(36),
405
+ fontSize: h.typography.pxToRem(36),
210
406
  fontWeight: 600,
211
407
  lineHeight: 1.2
212
408
  },
213
409
  h3: {
214
- fontSize: a.typography.pxToRem(30),
410
+ fontSize: h.typography.pxToRem(30),
215
411
  lineHeight: 1.2
216
412
  },
217
413
  h4: {
218
- fontSize: a.typography.pxToRem(24),
414
+ fontSize: h.typography.pxToRem(24),
219
415
  fontWeight: 600,
220
416
  lineHeight: 1.5
221
417
  },
222
418
  h5: {
223
- fontSize: a.typography.pxToRem(20),
419
+ fontSize: h.typography.pxToRem(20),
224
420
  fontWeight: 600
225
421
  },
226
422
  h6: {
227
- fontSize: a.typography.pxToRem(18),
423
+ fontSize: h.typography.pxToRem(18),
228
424
  fontWeight: 600
229
425
  },
230
426
  subtitle1: {
231
- fontSize: a.typography.pxToRem(18)
427
+ fontSize: h.typography.pxToRem(18)
232
428
  },
233
429
  subtitle2: {
234
- fontSize: a.typography.pxToRem(14),
430
+ fontSize: h.typography.pxToRem(14),
235
431
  fontWeight: 500
236
432
  },
237
433
  body1: {
238
- fontSize: a.typography.pxToRem(14)
434
+ fontSize: h.typography.pxToRem(14)
239
435
  },
240
436
  body2: {
241
- fontSize: a.typography.pxToRem(14),
437
+ fontSize: h.typography.pxToRem(14),
242
438
  fontWeight: 400
243
439
  },
244
440
  caption: {
245
- fontSize: a.typography.pxToRem(12),
441
+ fontSize: h.typography.pxToRem(12),
246
442
  fontWeight: 400
247
443
  }
248
- }, u = {
444
+ }, W = {
249
445
  borderRadius: 8
250
- }, b = ["none", "var(--s-palette-baseShadow)", ...a.shadows.slice(2)], S = b;
446
+ }, x = ["none", "var(--s-palette-baseShadow)", ...h.shadows.slice(2)], v = x;
251
447
  export {
252
- t as blackAlpha,
253
- f as blue,
254
- r as brand,
255
- m as colorSchemes,
256
- h as gray,
257
- l as green,
448
+ a as blackAlpha,
449
+ p as blue,
450
+ e as brand,
451
+ z as colorSchemes,
452
+ r as gray,
453
+ i as green,
454
+ d as lightBlue,
455
+ s as lightBrand,
456
+ T as lightGray,
457
+ n as lightGreen,
458
+ g as lightOrange,
459
+ S as lightPurple,
460
+ f as lightRed,
258
461
  o as orange,
259
- y as purple,
260
- g as red,
261
- S as shadows,
262
- u as shape,
263
- x as typography,
264
- e as whiteAlpha
462
+ w as purple,
463
+ c as red,
464
+ v as shadows,
465
+ W as shape,
466
+ R as typography,
467
+ t as whiteAlpha
265
468
  };
@@ -0,0 +1,21 @@
1
+ import * as u from "react";
2
+ let n = 0;
3
+ function o(t) {
4
+ const [e, a] = u.useState(t), c = t || e;
5
+ return u.useEffect(() => {
6
+ e == null && (n += 1, a(`mui-${n}`));
7
+ }, [e]), c;
8
+ }
9
+ const f = {
10
+ ...u
11
+ }, s = f.useId;
12
+ function l(t) {
13
+ if (s !== void 0) {
14
+ const e = s();
15
+ return t ?? e;
16
+ }
17
+ return o(t);
18
+ }
19
+ export {
20
+ l as u
21
+ };