@scalewing/react 0.2.0 → 0.3.0

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 (58) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +13 -2
  3. package/dist/components/Accordion.d.ts +8 -0
  4. package/dist/components/Accordion.js +14 -0
  5. package/dist/components/AppHeader.d.ts +5 -0
  6. package/dist/components/AppHeader.js +7 -0
  7. package/dist/components/Badge.d.ts +13 -0
  8. package/dist/components/Badge.js +7 -0
  9. package/dist/components/BarChart.d.ts +16 -0
  10. package/dist/components/BarChart.js +13 -0
  11. package/dist/components/Box.d.ts +1 -1
  12. package/dist/components/Button.d.ts +1 -1
  13. package/dist/components/Dialog.d.ts +8 -0
  14. package/dist/components/Dialog.js +36 -0
  15. package/dist/components/Field.d.ts +4 -1
  16. package/dist/components/Field.js +2 -2
  17. package/dist/components/Nav.d.ts +3 -0
  18. package/dist/components/Nav.js +7 -0
  19. package/dist/components/SegmentedControl.d.ts +19 -0
  20. package/dist/components/SegmentedControl.js +28 -0
  21. package/dist/components/Select.d.ts +17 -0
  22. package/dist/components/Select.js +107 -0
  23. package/dist/components/Split.d.ts +8 -0
  24. package/dist/components/Split.js +117 -0
  25. package/dist/components/Table.d.ts +32 -0
  26. package/dist/components/Table.js +24 -0
  27. package/dist/components/Text.d.ts +3 -3
  28. package/dist/components/Text.js +2 -1
  29. package/dist/components/Toast.d.ts +10 -0
  30. package/dist/components/Toast.js +61 -0
  31. package/dist/index.d.ts +17 -1
  32. package/dist/index.js +11 -0
  33. package/dist/palette/amber.css +21 -0
  34. package/dist/palette/capri.css +21 -0
  35. package/dist/palette/cerulean.css +21 -0
  36. package/dist/palette/cornflower.css +21 -0
  37. package/dist/palette/fuchsia.css +21 -0
  38. package/dist/palette/harvest.css +31 -0
  39. package/dist/palette/ink.css +21 -0
  40. package/dist/palette/mocha.css +31 -0
  41. package/dist/palette/navy.css +21 -0
  42. package/dist/palette/postcard.css +31 -0
  43. package/dist/palette/raspberry.css +21 -0
  44. package/dist/palette/sky.css +21 -0
  45. package/dist/palette/soft-blue.css +21 -0
  46. package/dist/palette/sunburst.css +31 -0
  47. package/dist/palette/synthwave.css +26 -0
  48. package/dist/palette/tangerine.css +21 -0
  49. package/dist/select-list.d.ts +7 -0
  50. package/dist/select-list.js +24 -0
  51. package/dist/split-size.d.ts +18 -0
  52. package/dist/split-size.js +94 -0
  53. package/dist/styles.css +1084 -12
  54. package/dist/theme/ThemeProvider.d.ts +4 -3
  55. package/dist/theme/ThemeProvider.js +8 -3
  56. package/dist/toast-travel.d.ts +16 -0
  57. package/dist/toast-travel.js +42 -0
  58. package/package.json +7 -3
package/dist/styles.css CHANGED
@@ -1,11 +1,11 @@
1
1
  /* Generated by @scalewing/tokens. Do not edit by hand. */
2
2
  :root,
3
3
  [data-theme='light'] {
4
- --sw-color-background: #F5F5F7;
4
+ --sw-color-background: #FFFFFF;
5
5
  --sw-color-surface: #FFFFFF;
6
6
  --sw-color-text: #1D1D1F;
7
7
  --sw-color-muted: #6E6E73;
8
- --sw-color-accent: #0B615E;
8
+ --sw-color-accent: #5B3DF5;
9
9
  --sw-color-onAccent: #FFFFFF;
10
10
  --sw-color-danger: #B42318;
11
11
  --sw-color-onDanger: #FFFFFF;
@@ -24,6 +24,8 @@
24
24
  --sw-radius-md: 16px;
25
25
  --sw-radius-lg: 24px;
26
26
  --sw-radius-pill: 999px;
27
+ --sw-control-xs-min-height: 28px;
28
+ --sw-control-xs-padding-inline: 10px;
27
29
  --sw-control-sm-min-height: 32px;
28
30
  --sw-control-sm-padding-inline: 12px;
29
31
  --sw-control-md-min-height: 44px;
@@ -32,13 +34,25 @@
32
34
  --sw-elevation-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
33
35
  --sw-elevation-md: 0 16px 48px rgba(0, 0, 0, 0.1);
34
36
  --sw-disabled-opacity: 0.4;
37
+ --sw-quiet-opacity: 0.55;
35
38
  --sw-focus-ring-width: 2px;
36
39
  --sw-focus-ring-offset: 2px;
37
40
  --sw-container-max: 72rem;
41
+ --sw-dialog-max: 32rem;
42
+ --sw-select-max: 16rem;
43
+ --sw-split-min: 14rem;
44
+ --sw-split-size: 22rem;
45
+ --sw-split-max: 32rem;
46
+ --sw-motion-fast: 120ms;
47
+ --sw-motion-default: 180ms;
48
+ --sw-motion-travel: 1400ms;
49
+ --sw-motion-easing: cubic-bezier(0.2, 0, 0, 1);
50
+ --sw-motion-travel-easing: linear;
38
51
  --sw-glass-blur: 24px;
39
- --sw-glass-saturate: 1.8;
40
- --sw-glass-fill: rgba(255, 255, 255, 0.78);
41
- --sw-glass-border: rgba(255, 255, 255, 0.62);
52
+ --sw-glass-saturate: 1;
53
+ --sw-glass-fill: rgba(255, 255, 255, 1);
54
+ --sw-glass-border: rgba(210, 210, 215, 1);
55
+ --sw-glass-specular: rgba(255, 255, 255, 0);
42
56
  }
43
57
 
44
58
  [data-theme='dark'] {
@@ -46,7 +60,7 @@
46
60
  --sw-color-surface: #1C1C1E;
47
61
  --sw-color-text: #F5F5F7;
48
62
  --sw-color-muted: #A1A1A6;
49
- --sw-color-accent: #7EDAD6;
63
+ --sw-color-accent: #A78BFA;
50
64
  --sw-color-onAccent: #101214;
51
65
  --sw-color-danger: #F97066;
52
66
  --sw-color-onDanger: #101214;
@@ -65,6 +79,8 @@
65
79
  --sw-radius-md: 16px;
66
80
  --sw-radius-lg: 24px;
67
81
  --sw-radius-pill: 999px;
82
+ --sw-control-xs-min-height: 28px;
83
+ --sw-control-xs-padding-inline: 10px;
68
84
  --sw-control-sm-min-height: 32px;
69
85
  --sw-control-sm-padding-inline: 12px;
70
86
  --sw-control-md-min-height: 44px;
@@ -73,13 +89,390 @@
73
89
  --sw-elevation-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
74
90
  --sw-elevation-md: 0 16px 48px rgba(0, 0, 0, 0.1);
75
91
  --sw-disabled-opacity: 0.4;
92
+ --sw-quiet-opacity: 0.55;
76
93
  --sw-focus-ring-width: 2px;
77
94
  --sw-focus-ring-offset: 2px;
78
95
  --sw-container-max: 72rem;
96
+ --sw-dialog-max: 32rem;
97
+ --sw-select-max: 16rem;
98
+ --sw-split-min: 14rem;
99
+ --sw-split-size: 22rem;
100
+ --sw-split-max: 32rem;
101
+ --sw-motion-fast: 120ms;
102
+ --sw-motion-default: 180ms;
103
+ --sw-motion-travel: 1400ms;
104
+ --sw-motion-easing: cubic-bezier(0.2, 0, 0, 1);
105
+ --sw-motion-travel-easing: linear;
106
+ --sw-glass-blur: 24px;
107
+ --sw-glass-saturate: 1.8;
108
+ --sw-glass-fill: rgba(53, 48, 70, 0.72);
109
+ --sw-glass-border: rgba(220, 209, 253, 0.22);
110
+ --sw-glass-specular: rgba(237, 232, 254, 0.28);
111
+ }
112
+
113
+ [data-theme='light'][data-palette='cerulean'] {
114
+ --sw-color-accent: #0066CC;
115
+ --sw-color-onAccent: #FFFFFF;
116
+ --sw-glass-blur: 24px;
117
+ --sw-glass-saturate: 1;
118
+ --sw-glass-fill: rgba(255, 255, 255, 1);
119
+ --sw-glass-border: rgba(210, 210, 215, 1);
120
+ --sw-glass-specular: rgba(255, 255, 255, 0);
121
+ }
122
+
123
+ [data-theme='dark'][data-palette='cerulean'] {
124
+ --sw-color-accent: #5AC8FA;
125
+ --sw-color-onAccent: #101214;
126
+ --sw-glass-blur: 24px;
127
+ --sw-glass-saturate: 1.8;
128
+ --sw-glass-fill: rgba(39, 59, 70, 0.72);
129
+ --sw-glass-border: rgba(189, 233, 253, 0.22);
130
+ --sw-glass-specular: rgba(222, 244, 254, 0.28);
131
+ }
132
+
133
+ [data-theme='light'][data-palette='navy'] {
134
+ --sw-color-accent: #0A2540;
135
+ --sw-color-onAccent: #FFFFFF;
136
+ --sw-glass-blur: 24px;
137
+ --sw-glass-saturate: 1;
138
+ --sw-glass-fill: rgba(255, 255, 255, 1);
139
+ --sw-glass-border: rgba(210, 210, 215, 1);
140
+ --sw-glass-specular: rgba(255, 255, 255, 0);
141
+ }
142
+
143
+ [data-theme='dark'][data-palette='navy'] {
144
+ --sw-color-accent: #7EB8FF;
145
+ --sw-color-onAccent: #101214;
146
+ --sw-glass-blur: 24px;
147
+ --sw-glass-saturate: 1.8;
148
+ --sw-glass-fill: rgba(46, 56, 71, 0.72);
149
+ --sw-glass-border: rgba(203, 227, 255, 0.22);
150
+ --sw-glass-specular: rgba(229, 241, 255, 0.28);
151
+ }
152
+
153
+ [data-theme='light'][data-palette='sky'] {
154
+ --sw-color-accent: #0369A1;
155
+ --sw-color-onAccent: #FFFFFF;
156
+ --sw-glass-blur: 24px;
157
+ --sw-glass-saturate: 1;
158
+ --sw-glass-fill: rgba(255, 255, 255, 1);
159
+ --sw-glass-border: rgba(210, 210, 215, 1);
160
+ --sw-glass-specular: rgba(255, 255, 255, 0);
161
+ }
162
+
163
+ [data-theme='dark'][data-palette='sky'] {
164
+ --sw-color-accent: #38BDF8;
165
+ --sw-color-onAccent: #101214;
166
+ --sw-glass-blur: 24px;
167
+ --sw-glass-saturate: 1.8;
168
+ --sw-glass-fill: rgba(33, 57, 69, 0.72);
169
+ --sw-glass-border: rgba(175, 229, 252, 0.22);
170
+ --sw-glass-specular: rgba(215, 242, 254, 0.28);
171
+ }
172
+
173
+ [data-theme='light'][data-palette='ink'] {
174
+ --sw-color-accent: #1D1D1F;
175
+ --sw-color-onAccent: #FFFFFF;
176
+ --sw-glass-blur: 24px;
177
+ --sw-glass-saturate: 1;
178
+ --sw-glass-fill: rgba(255, 255, 255, 1);
179
+ --sw-glass-border: rgba(210, 210, 215, 1);
180
+ --sw-glass-specular: rgba(255, 255, 255, 0);
181
+ }
182
+
183
+ [data-theme='dark'][data-palette='ink'] {
184
+ --sw-color-accent: #F5F5F7;
185
+ --sw-color-onAccent: #101214;
186
+ --sw-glass-blur: 24px;
187
+ --sw-glass-saturate: 1.8;
188
+ --sw-glass-fill: rgba(67, 67, 69, 0.72);
189
+ --sw-glass-border: rgba(251, 251, 252, 0.22);
190
+ --sw-glass-specular: rgba(253, 253, 253, 0.28);
191
+ }
192
+
193
+ [data-theme='light'][data-palette='cornflower'] {
194
+ --sw-color-accent: #4F6BED;
195
+ --sw-color-onAccent: #FFFFFF;
196
+ --sw-glass-blur: 24px;
197
+ --sw-glass-saturate: 1;
198
+ --sw-glass-fill: rgba(255, 255, 255, 1);
199
+ --sw-glass-border: rgba(210, 210, 215, 1);
200
+ --sw-glass-specular: rgba(255, 255, 255, 0);
201
+ }
202
+
203
+ [data-theme='dark'][data-palette='cornflower'] {
204
+ --sw-color-accent: #93A4FF;
205
+ --sw-color-onAccent: #101214;
206
+ --sw-glass-blur: 24px;
207
+ --sw-glass-saturate: 1.8;
208
+ --sw-glass-fill: rgba(49, 52, 71, 0.72);
209
+ --sw-glass-border: rgba(212, 219, 255, 0.22);
210
+ --sw-glass-specular: rgba(233, 237, 255, 0.28);
211
+ }
212
+
213
+ [data-theme='light'][data-palette='soft-blue'] {
214
+ --sw-color-accent: #3B6FD4;
215
+ --sw-color-onAccent: #FFFFFF;
216
+ --sw-glass-blur: 24px;
217
+ --sw-glass-saturate: 1;
218
+ --sw-glass-fill: rgba(255, 255, 255, 1);
219
+ --sw-glass-border: rgba(210, 210, 215, 1);
220
+ --sw-glass-specular: rgba(255, 255, 255, 0);
221
+ }
222
+
223
+ [data-theme='dark'][data-palette='soft-blue'] {
224
+ --sw-color-accent: #8BB8FF;
225
+ --sw-color-onAccent: #101214;
226
+ --sw-glass-blur: 24px;
227
+ --sw-glass-saturate: 1.8;
228
+ --sw-glass-fill: rgba(48, 56, 71, 0.72);
229
+ --sw-glass-border: rgba(209, 227, 255, 0.22);
230
+ --sw-glass-specular: rgba(232, 241, 255, 0.28);
231
+ }
232
+
233
+ [data-theme='light'][data-palette='capri'] {
234
+ --sw-color-accent: #0077B6;
235
+ --sw-color-onAccent: #FFFFFF;
236
+ --sw-glass-blur: 24px;
237
+ --sw-glass-saturate: 1;
238
+ --sw-glass-fill: rgba(255, 255, 255, 1);
239
+ --sw-glass-border: rgba(210, 210, 215, 1);
240
+ --sw-glass-specular: rgba(255, 255, 255, 0);
241
+ }
242
+
243
+ [data-theme='dark'][data-palette='capri'] {
244
+ --sw-color-accent: #48CAE4;
245
+ --sw-color-onAccent: #101214;
79
246
  --sw-glass-blur: 24px;
80
247
  --sw-glass-saturate: 1.8;
81
- --sw-glass-fill: rgba(28, 28, 30, 0.72);
82
- --sw-glass-border: rgba(255, 255, 255, 0.16);
248
+ --sw-glass-fill: rgba(36, 59, 66, 0.72);
249
+ --sw-glass-border: rgba(182, 234, 244, 0.22);
250
+ --sw-glass-specular: rgba(218, 244, 250, 0.28);
251
+ }
252
+
253
+ [data-theme='light'][data-palette='raspberry'] {
254
+ --sw-color-accent: #DB2777;
255
+ --sw-color-onAccent: #FFFFFF;
256
+ --sw-glass-blur: 24px;
257
+ --sw-glass-saturate: 1;
258
+ --sw-glass-fill: rgba(255, 255, 255, 1);
259
+ --sw-glass-border: rgba(210, 210, 215, 1);
260
+ --sw-glass-specular: rgba(255, 255, 255, 0);
261
+ }
262
+
263
+ [data-theme='dark'][data-palette='raspberry'] {
264
+ --sw-color-accent: #F472B6;
265
+ --sw-color-onAccent: #101214;
266
+ --sw-glass-blur: 24px;
267
+ --sw-glass-saturate: 1.8;
268
+ --sw-glass-fill: rgba(67, 43, 57, 0.72);
269
+ --sw-glass-border: rgba(251, 199, 226, 0.22);
270
+ --sw-glass-specular: rgba(253, 227, 240, 0.28);
271
+ }
272
+
273
+ [data-theme='light'][data-palette='tangerine'] {
274
+ --sw-color-accent: #C2410C;
275
+ --sw-color-onAccent: #FFFFFF;
276
+ --sw-glass-blur: 24px;
277
+ --sw-glass-saturate: 1;
278
+ --sw-glass-fill: rgba(255, 255, 255, 1);
279
+ --sw-glass-border: rgba(210, 210, 215, 1);
280
+ --sw-glass-specular: rgba(255, 255, 255, 0);
281
+ }
282
+
283
+ [data-theme='dark'][data-palette='tangerine'] {
284
+ --sw-color-accent: #FB923C;
285
+ --sw-color-onAccent: #101214;
286
+ --sw-glass-blur: 24px;
287
+ --sw-glass-saturate: 1.8;
288
+ --sw-glass-fill: rgba(68, 49, 35, 0.72);
289
+ --sw-glass-border: rgba(253, 211, 177, 0.22);
290
+ --sw-glass-specular: rgba(254, 233, 216, 0.28);
291
+ }
292
+
293
+ [data-theme='light'][data-palette='amber'] {
294
+ --sw-color-accent: #B45309;
295
+ --sw-color-onAccent: #FFFFFF;
296
+ --sw-glass-blur: 24px;
297
+ --sw-glass-saturate: 1;
298
+ --sw-glass-fill: rgba(255, 255, 255, 1);
299
+ --sw-glass-border: rgba(210, 210, 215, 1);
300
+ --sw-glass-specular: rgba(255, 255, 255, 0);
301
+ }
302
+
303
+ [data-theme='dark'][data-palette='amber'] {
304
+ --sw-color-accent: #FCD34D;
305
+ --sw-color-onAccent: #101214;
306
+ --sw-glass-blur: 24px;
307
+ --sw-glass-saturate: 1.8;
308
+ --sw-glass-fill: rgba(68, 61, 38, 0.72);
309
+ --sw-glass-border: rgba(254, 237, 184, 0.22);
310
+ --sw-glass-specular: rgba(254, 246, 219, 0.28);
311
+ }
312
+
313
+ [data-theme='light'][data-palette='fuchsia'] {
314
+ --sw-color-accent: #C026D3;
315
+ --sw-color-onAccent: #FFFFFF;
316
+ --sw-glass-blur: 24px;
317
+ --sw-glass-saturate: 1;
318
+ --sw-glass-fill: rgba(255, 255, 255, 1);
319
+ --sw-glass-border: rgba(210, 210, 215, 1);
320
+ --sw-glass-specular: rgba(255, 255, 255, 0);
321
+ }
322
+
323
+ [data-theme='dark'][data-palette='fuchsia'] {
324
+ --sw-color-accent: #E879F9;
325
+ --sw-color-onAccent: #101214;
326
+ --sw-glass-blur: 24px;
327
+ --sw-glass-saturate: 1.8;
328
+ --sw-glass-fill: rgba(65, 45, 69, 0.72);
329
+ --sw-glass-border: rgba(246, 201, 253, 0.22);
330
+ --sw-glass-specular: rgba(250, 228, 254, 0.28);
331
+ }
332
+
333
+ [data-theme='light'][data-palette='sunburst'] {
334
+ --sw-color-background: #F6DCAC;
335
+ --sw-color-surface: #FBF0D8;
336
+ --sw-color-text: #1D1D1F;
337
+ --sw-color-muted: #5C5346;
338
+ --sw-color-accent: #A33B20;
339
+ --sw-color-onAccent: #FFFFFF;
340
+ --sw-color-border: #E5C48A;
341
+ --sw-glass-blur: 24px;
342
+ --sw-glass-saturate: 1;
343
+ --sw-glass-fill: rgba(255, 255, 255, 1);
344
+ --sw-glass-border: rgba(210, 210, 215, 1);
345
+ --sw-glass-specular: rgba(255, 255, 255, 0);
346
+ }
347
+
348
+ [data-theme='dark'][data-palette='sunburst'] {
349
+ --sw-color-background: #012D4E;
350
+ --sw-color-surface: #0A3D5C;
351
+ --sw-color-text: #F6DCAC;
352
+ --sw-color-muted: #C4A882;
353
+ --sw-color-accent: #FAA968;
354
+ --sw-color-onAccent: #101214;
355
+ --sw-color-border: #1A5A70;
356
+ --sw-glass-blur: 24px;
357
+ --sw-glass-saturate: 1.8;
358
+ --sw-glass-fill: rgba(68, 53, 43, 0.72);
359
+ --sw-glass-border: rgba(253, 221, 195, 0.22);
360
+ --sw-glass-specular: rgba(254, 238, 225, 0.28);
361
+ }
362
+
363
+ [data-theme='light'][data-palette='harvest'] {
364
+ --sw-color-background: #E3DCC8;
365
+ --sw-color-surface: #EBE6D6;
366
+ --sw-color-text: #1D1D1F;
367
+ --sw-color-muted: #5C5346;
368
+ --sw-color-accent: #3E3E24;
369
+ --sw-color-onAccent: #FFFFFF;
370
+ --sw-color-border: #C9C2AE;
371
+ --sw-glass-blur: 24px;
372
+ --sw-glass-saturate: 1;
373
+ --sw-glass-fill: rgba(255, 255, 255, 1);
374
+ --sw-glass-border: rgba(210, 210, 215, 1);
375
+ --sw-glass-specular: rgba(255, 255, 255, 0);
376
+ }
377
+
378
+ [data-theme='dark'][data-palette='harvest'] {
379
+ --sw-color-background: #263E24;
380
+ --sw-color-surface: #2F4A2C;
381
+ --sw-color-text: #E3DCC8;
382
+ --sw-color-muted: #B8B090;
383
+ --sw-color-accent: #CEA453;
384
+ --sw-color-onAccent: #101214;
385
+ --sw-color-border: #3D5238;
386
+ --sw-glass-blur: 24px;
387
+ --sw-glass-saturate: 1.8;
388
+ --sw-glass-fill: rgba(60, 52, 40, 0.72);
389
+ --sw-glass-border: rgba(235, 219, 186, 0.22);
390
+ --sw-glass-specular: rgba(245, 237, 221, 0.28);
391
+ }
392
+
393
+ [data-theme='light'][data-palette='postcard'] {
394
+ --sw-color-background: #E4E4CC;
395
+ --sw-color-surface: #EEEEDD;
396
+ --sw-color-text: #1B2130;
397
+ --sw-color-muted: #5C5346;
398
+ --sw-color-accent: #A33B2B;
399
+ --sw-color-onAccent: #FFFFFF;
400
+ --sw-color-border: #D0D0B8;
401
+ --sw-glass-blur: 24px;
402
+ --sw-glass-saturate: 1;
403
+ --sw-glass-fill: rgba(255, 255, 255, 1);
404
+ --sw-glass-border: rgba(210, 210, 215, 1);
405
+ --sw-glass-specular: rgba(255, 255, 255, 0);
406
+ }
407
+
408
+ [data-theme='dark'][data-palette='postcard'] {
409
+ --sw-color-background: #1B2130;
410
+ --sw-color-surface: #252B40;
411
+ --sw-color-text: #E4E4CC;
412
+ --sw-color-muted: #B8B49A;
413
+ --sw-color-accent: #EEAF90;
414
+ --sw-color-onAccent: #101214;
415
+ --sw-color-border: #3A4158;
416
+ --sw-glass-blur: 24px;
417
+ --sw-glass-saturate: 1.8;
418
+ --sw-glass-fill: rgba(66, 54, 51, 0.72);
419
+ --sw-glass-border: rgba(248, 223, 211, 0.22);
420
+ --sw-glass-specular: rgba(252, 239, 233, 0.28);
421
+ }
422
+
423
+ [data-theme='light'][data-palette='mocha'] {
424
+ --sw-color-background: #F3E3C3;
425
+ --sw-color-surface: #F8EEE0;
426
+ --sw-color-text: #473333;
427
+ --sw-color-muted: #6B5348;
428
+ --sw-color-accent: #473333;
429
+ --sw-color-onAccent: #FFFFFF;
430
+ --sw-color-border: #E0CBA8;
431
+ --sw-glass-blur: 24px;
432
+ --sw-glass-saturate: 1;
433
+ --sw-glass-fill: rgba(255, 255, 255, 1);
434
+ --sw-glass-border: rgba(210, 210, 215, 1);
435
+ --sw-glass-specular: rgba(255, 255, 255, 0);
436
+ }
437
+
438
+ [data-theme='dark'][data-palette='mocha'] {
439
+ --sw-color-background: #473333;
440
+ --sw-color-surface: #5A4242;
441
+ --sw-color-text: #F3E3C3;
442
+ --sw-color-muted: #D4C4A8;
443
+ --sw-color-accent: #E8C69F;
444
+ --sw-color-onAccent: #101214;
445
+ --sw-color-border: #6B5353;
446
+ --sw-glass-blur: 24px;
447
+ --sw-glass-saturate: 1.8;
448
+ --sw-glass-fill: rgba(65, 59, 53, 0.72);
449
+ --sw-glass-border: rgba(246, 232, 217, 0.22);
450
+ --sw-glass-specular: rgba(250, 244, 236, 0.28);
451
+ }
452
+
453
+ [data-theme='light'][data-palette='synthwave'] {
454
+ --sw-color-accent: #D81B60;
455
+ --sw-color-onAccent: #FFFFFF;
456
+ --sw-glass-blur: 24px;
457
+ --sw-glass-saturate: 1;
458
+ --sw-glass-fill: rgba(255, 255, 255, 1);
459
+ --sw-glass-border: rgba(210, 210, 215, 1);
460
+ --sw-glass-specular: rgba(255, 255, 255, 0);
461
+ }
462
+
463
+ [data-theme='dark'][data-palette='synthwave'] {
464
+ --sw-color-background: #1A0533;
465
+ --sw-color-surface: #241043;
466
+ --sw-color-text: #F5F5F7;
467
+ --sw-color-muted: #C9B8E8;
468
+ --sw-color-accent: #FF2A6D;
469
+ --sw-color-onAccent: #101214;
470
+ --sw-color-border: #4A2C6A;
471
+ --sw-glass-blur: 24px;
472
+ --sw-glass-saturate: 1.8;
473
+ --sw-glass-fill: rgba(69, 31, 44, 0.72);
474
+ --sw-glass-border: rgba(255, 170, 197, 0.22);
475
+ --sw-glass-specular: rgba(255, 212, 226, 0.28);
83
476
  }
84
477
 
85
478
  html,
@@ -100,6 +493,10 @@ body {
100
493
  -moz-osx-font-smoothing: grayscale;
101
494
  }
102
495
 
496
+ [data-theme] [data-theme] {
497
+ min-height: 0;
498
+ }
499
+
103
500
  [data-theme='light'] {
104
501
  color-scheme: light;
105
502
  }
@@ -122,16 +519,54 @@ body {
122
519
  outline-offset: var(--sw-focus-ring-offset);
123
520
  }
124
521
 
125
- [data-theme] :is(input[type='text'], input[type='email'], input[type='number'], input[type='search'], input[type='url'], input[type='password'], input:not([type]), select, textarea) {
522
+ [data-theme] :is(input[type='text'], input[type='email'], input[type='number'], input[type='search'], input[type='url'], input[type='password'], input:not([type]), textarea) {
126
523
  background-color: var(--sw-glass-fill);
127
524
  border: 1px solid var(--sw-color-border);
128
525
  border-radius: var(--sw-radius-sm);
129
- box-sizing: border-box;
130
526
  color: inherit;
131
527
  font-family: inherit;
132
528
  font-size: inherit;
529
+ padding-inline: var(--sw-control-md-padding-inline);
530
+ box-sizing: border-box;
133
531
  min-height: var(--sw-control-md-min-height);
532
+ }
533
+
534
+ [data-theme] select {
535
+ background-color: var(--sw-glass-fill);
536
+ border: 1px solid var(--sw-color-border);
537
+ border-radius: var(--sw-radius-sm);
538
+ color: inherit;
539
+ font-family: inherit;
540
+ font-size: inherit;
134
541
  padding-inline: var(--sw-control-md-padding-inline);
542
+ appearance: none;
543
+ background-image:
544
+ linear-gradient(45deg, transparent 50%, var(--sw-color-muted) 50%),
545
+ linear-gradient(135deg, var(--sw-color-muted) 50%, transparent 50%);
546
+ background-position:
547
+ calc(100% - var(--sw-space-4)) calc(50% - 1px),
548
+ calc(100% - calc(var(--sw-space-4) - var(--sw-space-1))) calc(50% - 1px);
549
+ background-repeat: no-repeat;
550
+ background-size: var(--sw-space-1) var(--sw-space-1),
551
+ var(--sw-space-1) var(--sw-space-1);
552
+ box-sizing: content-box;
553
+ height: calc(var(--sw-control-md-min-height) - 1px - 1px);
554
+ min-height: 0;
555
+ padding-inline-end: calc(
556
+ var(--sw-control-md-padding-inline) + var(--sw-space-5)
557
+ );
558
+ }
559
+
560
+ [data-theme] :is(input[type='text'], input[type='email'], input[type='number'], input[type='search'], input[type='url'], input[type='password'], input:not([type]), textarea):focus,
561
+ [data-theme] select:focus {
562
+ box-shadow: none;
563
+ outline: none;
564
+ }
565
+
566
+ [data-theme] :is(input[type='text'], input[type='email'], input[type='number'], input[type='search'], input[type='url'], input[type='password'], input:not([type]), textarea):focus-visible,
567
+ [data-theme] select:focus-visible {
568
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
569
+ outline-offset: var(--sw-focus-ring-offset);
135
570
  }
136
571
 
137
572
  .sw-padding-0 { padding: var(--sw-space-0); }
@@ -238,6 +673,7 @@ body {
238
673
  .sw-card-glass {
239
674
  background: var(--sw-glass-fill);
240
675
  border: 1px solid var(--sw-glass-border);
676
+ box-shadow: inset 0 1px 0 var(--sw-glass-specular);
241
677
  backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
242
678
  -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
243
679
  }
@@ -255,7 +691,16 @@ body {
255
691
 
256
692
  @media (prefers-reduced-transparency: reduce) {
257
693
  .sw-card-glass,
258
- .sw-button-secondary {
694
+ .sw-app-header,
695
+ .sw-button-secondary,
696
+ .sw-badge-neutral,
697
+ .sw-segmented,
698
+ .sw-table-sticky thead th,
699
+ .sw-bar-chart-track,
700
+ .sw-dialog,
701
+ .sw-accordion,
702
+ .sw-select-list,
703
+ .sw-toast {
259
704
  background: var(--sw-color-surface);
260
705
  backdrop-filter: none;
261
706
  -webkit-backdrop-filter: none;
@@ -268,12 +713,17 @@ body {
268
713
  white-space: nowrap;
269
714
  }
270
715
 
716
+ .sw-tabular {
717
+ font-variant-numeric: tabular-nums;
718
+ }
719
+
271
720
  .sw-text-display { font-family: var(--sw-font-sans); font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.8px; }
272
721
  .sw-text-heading { font-family: var(--sw-font-sans); font-size: 28px; line-height: 34px; font-weight: 600; letter-spacing: -0.45px; }
273
722
  .sw-text-title { font-family: var(--sw-font-sans); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.3px; }
274
723
  .sw-text-body { font-family: var(--sw-font-sans); font-size: 17px; line-height: 25px; font-weight: 400; letter-spacing: -0.2px; }
275
724
  .sw-text-label { font-family: var(--sw-font-sans); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -0.2px; }
276
725
  .sw-text-caption { font-family: var(--sw-font-sans); font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: -0.08px; }
726
+ .sw-text-data { font-family: var(--sw-font-sans); font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: -0.08px; font-variant-numeric: tabular-nums; }
277
727
 
278
728
  .sw-button {
279
729
  appearance: none;
@@ -303,9 +753,631 @@ body {
303
753
  opacity: var(--sw-disabled-opacity);
304
754
  }
305
755
 
756
+ .sw-button[aria-pressed='false'] {
757
+ opacity: var(--sw-quiet-opacity);
758
+ }
759
+
306
760
  .sw-button-primary { background: var(--sw-color-accent); border-color: transparent; color: var(--sw-color-onAccent); }
307
- .sw-button-secondary { background: var(--sw-glass-fill); border-color: var(--sw-glass-border); color: var(--sw-color-text); backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate)); -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate)); }
761
+ .sw-button-secondary { background: var(--sw-color-surface); border-color: var(--sw-color-border); color: var(--sw-color-text); }
308
762
  .sw-button-ghost { background: transparent; border-color: transparent; color: var(--sw-color-accent); }
309
763
  .sw-button-danger { background: var(--sw-color-danger); border-color: transparent; color: var(--sw-color-onDanger); }
764
+ .sw-button-xs { min-height: 28px; padding-inline: 10px; }
310
765
  .sw-button-sm { min-height: 32px; padding-inline: 12px; }
311
766
  .sw-button-md { min-height: 44px; padding-inline: 16px; }
767
+
768
+ .sw-badge {
769
+ align-items: center;
770
+ border: 1px solid transparent;
771
+ border-radius: var(--sw-radius-pill);
772
+ box-sizing: border-box;
773
+ display: inline-flex;
774
+ font-family: var(--sw-font-sans);
775
+ font-size: 13px;
776
+ font-weight: 600;
777
+ letter-spacing: -0.08px;
778
+ line-height: 18px;
779
+ }
780
+
781
+ .sw-badge-md {
782
+ min-height: var(--sw-control-xs-min-height);
783
+ padding-inline: var(--sw-control-xs-padding-inline);
784
+ }
785
+
786
+ .sw-badge-sm {
787
+ padding-inline: var(--sw-space-2);
788
+ }
789
+
790
+ .sw-badge-neutral {
791
+ background: var(--sw-glass-fill);
792
+ border-color: var(--sw-color-border);
793
+ color: var(--sw-color-text);
794
+ }
795
+
796
+ .sw-badge-accent {
797
+ background: transparent;
798
+ border-color: var(--sw-color-accent);
799
+ color: var(--sw-color-accent);
800
+ }
801
+
802
+ .sw-badge-success {
803
+ background: transparent;
804
+ border-color: var(--sw-color-success);
805
+ color: var(--sw-color-success);
806
+ }
807
+
808
+ .sw-badge-danger {
809
+ background: transparent;
810
+ border-color: var(--sw-color-danger);
811
+ color: var(--sw-color-danger);
812
+ }
813
+
814
+ .sw-segmented {
815
+ background: var(--sw-glass-fill);
816
+ border: 1px solid var(--sw-glass-border);
817
+ border-radius: var(--sw-radius-pill);
818
+ box-sizing: border-box;
819
+ display: inline-flex;
820
+ gap: 2px;
821
+ padding: 2px;
822
+ }
823
+
824
+ .sw-segmented-item {
825
+ appearance: none;
826
+ background: transparent;
827
+ border: 0;
828
+ border-radius: var(--sw-radius-pill);
829
+ color: var(--sw-color-muted);
830
+ cursor: pointer;
831
+ font-family: var(--sw-font-sans);
832
+ font-size: 13px;
833
+ font-weight: 600;
834
+ letter-spacing: -0.08px;
835
+ line-height: 18px;
836
+ min-height: var(--sw-control-xs-min-height);
837
+ padding-inline: var(--sw-control-xs-padding-inline);
838
+ }
839
+
840
+ .sw-segmented-item:focus-visible {
841
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
842
+ outline-offset: var(--sw-focus-ring-offset);
843
+ }
844
+
845
+ .sw-segmented-item-selected {
846
+ background: var(--sw-color-surface);
847
+ color: var(--sw-color-text);
848
+ }
849
+
850
+ .sw-table-wrap {
851
+ overflow: auto;
852
+ width: 100%;
853
+ }
854
+
855
+ .sw-table {
856
+ border-collapse: collapse;
857
+ width: 100%;
858
+ }
859
+
860
+ .sw-table th,
861
+ .sw-table td {
862
+ border-bottom: 1px solid var(--sw-color-border);
863
+ padding: var(--sw-space-2) var(--sw-space-3);
864
+ text-align: start;
865
+ vertical-align: middle;
866
+ }
867
+
868
+ .sw-table th {
869
+ color: var(--sw-color-muted);
870
+ font-family: var(--sw-font-sans);
871
+ font-size: 13px;
872
+ font-weight: 600;
873
+ letter-spacing: -0.08px;
874
+ line-height: 18px;
875
+ }
876
+
877
+ .sw-table-end {
878
+ text-align: end;
879
+ }
880
+
881
+ .sw-table-numeric {
882
+ font-variant-numeric: tabular-nums;
883
+ text-align: end;
884
+ }
885
+
886
+ .sw-table-clip {
887
+ max-width: 0;
888
+ overflow: hidden;
889
+ }
890
+
891
+ .sw-table-sticky thead th {
892
+ background: var(--sw-glass-fill);
893
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
894
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
895
+ position: sticky;
896
+ top: 0;
897
+ z-index: 1;
898
+ }
899
+
900
+ .sw-table-compact th,
901
+ .sw-table-compact td {
902
+ padding: var(--sw-space-1) var(--sw-space-2);
903
+ }
904
+
905
+ .sw-table-row-selected > :first-child {
906
+ padding-inline-start: var(--sw-space-5);
907
+ position: relative;
908
+ }
909
+
910
+ .sw-table-compact .sw-table-row-selected > :first-child {
911
+ padding-inline-start: var(--sw-space-4);
912
+ }
913
+
914
+ .sw-table-row-selected > :first-child::before {
915
+ background: var(--sw-color-accent);
916
+ border-radius: var(--sw-radius-pill);
917
+ content: '';
918
+ height: var(--sw-space-2);
919
+ inset-block-start: 50%;
920
+ inset-inline-start: var(--sw-space-2);
921
+ position: absolute;
922
+ transform: translateY(-50%);
923
+ width: var(--sw-space-2);
924
+ }
925
+
926
+ .sw-table-compact .sw-table-row-selected > :first-child::before {
927
+ inset-inline-start: var(--sw-space-1);
928
+ }
929
+
930
+ .sw-bar-chart {
931
+ display: grid;
932
+ gap: var(--sw-space-2);
933
+ }
934
+
935
+ .sw-bar-chart-plot {
936
+ display: grid;
937
+ gap: var(--sw-space-2);
938
+ list-style: none;
939
+ margin: 0;
940
+ padding: 0;
941
+ }
942
+
943
+ .sw-bar-chart-row,
944
+ .sw-bar-chart-axis {
945
+ align-items: center;
946
+ display: grid;
947
+ gap: var(--sw-space-3);
948
+ grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(var(--sw-space-8), max-content);
949
+ }
950
+
951
+ .sw-bar-chart-label {
952
+ color: var(--sw-color-muted);
953
+ font-family: var(--sw-font-sans);
954
+ font-size: 13px;
955
+ font-weight: 400;
956
+ letter-spacing: -0.08px;
957
+ line-height: 18px;
958
+ min-width: 0;
959
+ overflow: hidden;
960
+ text-overflow: ellipsis;
961
+ white-space: nowrap;
962
+ }
963
+
964
+ .sw-bar-chart-track {
965
+ background: var(--sw-glass-fill);
966
+ border: 1px solid var(--sw-color-border);
967
+ border-radius: var(--sw-radius-pill);
968
+ height: var(--sw-space-3);
969
+ min-width: 0;
970
+ overflow: hidden;
971
+ }
972
+
973
+ .sw-bar-chart-fill {
974
+ background: var(--sw-color-accent);
975
+ border-radius: inherit;
976
+ display: block;
977
+ height: 100%;
978
+ width: calc(var(--sw-bar-fill, 0) * 100%);
979
+ }
980
+
981
+ .sw-bar-chart-fill-negative {
982
+ background: var(--sw-color-danger);
983
+ }
984
+
985
+ .sw-bar-chart-value {
986
+ color: var(--sw-color-text);
987
+ font-family: var(--sw-font-sans);
988
+ font-size: 13px;
989
+ font-variant-numeric: tabular-nums;
990
+ font-weight: 500;
991
+ letter-spacing: -0.08px;
992
+ line-height: 18px;
993
+ text-align: end;
994
+ }
995
+
996
+ .sw-bar-chart-axis {
997
+ color: var(--sw-color-muted);
998
+ font-family: var(--sw-font-sans);
999
+ font-size: 13px;
1000
+ font-weight: 400;
1001
+ letter-spacing: -0.08px;
1002
+ line-height: 18px;
1003
+ }
1004
+
1005
+ .sw-bar-chart-axis-track {
1006
+ display: flex;
1007
+ justify-content: space-between;
1008
+ }
1009
+
1010
+ .sw-app-header {
1011
+ background: var(--sw-glass-fill);
1012
+ border: 1px solid var(--sw-glass-border);
1013
+ border-radius: var(--sw-radius-lg);
1014
+ box-shadow: inset 0 1px 0 var(--sw-glass-specular);
1015
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1016
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1017
+ }
1018
+
1019
+ .sw-app-header-sticky {
1020
+ position: sticky;
1021
+ top: 0;
1022
+ z-index: 2;
1023
+ }
1024
+
1025
+ .sw-nav {
1026
+ align-items: center;
1027
+ display: inline-flex;
1028
+ flex-wrap: wrap;
1029
+ gap: var(--sw-space-3);
1030
+ }
1031
+
1032
+ .sw-nav a {
1033
+ font-size: 15px;
1034
+ font-weight: 600;
1035
+ letter-spacing: -0.2px;
1036
+ line-height: 20px;
1037
+ }
1038
+
1039
+ .sw-nav a[aria-current='page'] {
1040
+ color: var(--sw-color-text);
1041
+ }
1042
+
1043
+ .sw-field-xs :is(select, input, textarea) {
1044
+ font-size: 13px;
1045
+ letter-spacing: -0.08px;
1046
+ line-height: 18px;
1047
+ min-height: var(--sw-control-xs-min-height);
1048
+ padding-inline: var(--sw-control-xs-padding-inline);
1049
+ }
1050
+
1051
+ .sw-field-xs select {
1052
+ background-position:
1053
+ calc(100% - var(--sw-space-3)) calc(50% - 1px),
1054
+ calc(100% - calc(var(--sw-space-3) - var(--sw-space-1))) calc(50% - 1px);
1055
+ height: calc(var(--sw-control-xs-min-height) - 1px - 1px);
1056
+ min-height: 0;
1057
+ padding-inline-end: calc(
1058
+ var(--sw-control-xs-padding-inline) + var(--sw-space-5)
1059
+ );
1060
+ }
1061
+
1062
+ .sw-dialog {
1063
+ background: var(--sw-glass-fill);
1064
+ border: 1px solid var(--sw-glass-border);
1065
+ border-radius: var(--sw-radius-lg);
1066
+ box-shadow: inset 0 1px 0 var(--sw-glass-specular);
1067
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1068
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1069
+ box-sizing: border-box;
1070
+ color: var(--sw-color-text);
1071
+ margin: auto;
1072
+ max-height: min(100vh - var(--sw-space-8), 100dvh - var(--sw-space-8));
1073
+ max-width: min(var(--sw-dialog-max), calc(100vw - var(--sw-space-8)));
1074
+ overflow: auto;
1075
+ width: calc(100% - var(--sw-space-8));
1076
+ }
1077
+
1078
+ .sw-dialog::backdrop {
1079
+ background: color-mix(in srgb, var(--sw-color-text) 28%, transparent);
1080
+ }
1081
+
1082
+ .sw-dialog:focus-visible {
1083
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
1084
+ outline-offset: var(--sw-focus-ring-offset);
1085
+ }
1086
+
1087
+ .sw-accordion {
1088
+ background: var(--sw-glass-fill);
1089
+ border: 1px solid var(--sw-glass-border);
1090
+ border-radius: var(--sw-radius-lg);
1091
+ box-shadow: inset 0 1px 0 var(--sw-glass-specular);
1092
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1093
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1094
+ color: var(--sw-color-text);
1095
+ }
1096
+
1097
+ .sw-accordion-summary {
1098
+ cursor: pointer;
1099
+ display: list-item;
1100
+ min-height: var(--sw-control-md-min-height);
1101
+ }
1102
+
1103
+ .sw-accordion-summary::-webkit-details-marker {
1104
+ color: var(--sw-color-muted);
1105
+ }
1106
+
1107
+ .sw-accordion-summary::marker {
1108
+ color: var(--sw-color-muted);
1109
+ }
1110
+
1111
+ .sw-accordion-summary:focus-visible {
1112
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
1113
+ outline-offset: var(--sw-focus-ring-offset);
1114
+ }
1115
+
1116
+ .sw-select {
1117
+ max-width: 100%;
1118
+ width: max-content;
1119
+ }
1120
+
1121
+ .sw-select-control {
1122
+ position: relative;
1123
+ }
1124
+
1125
+ .sw-select-trigger {
1126
+ appearance: none;
1127
+ -webkit-appearance: none;
1128
+ background-color: var(--sw-glass-fill);
1129
+ background-image:
1130
+ linear-gradient(45deg, transparent 50%, var(--sw-color-muted) 50%),
1131
+ linear-gradient(135deg, var(--sw-color-muted) 50%, transparent 50%);
1132
+ background-repeat: no-repeat;
1133
+ background-size: var(--sw-space-1) var(--sw-space-1),
1134
+ var(--sw-space-1) var(--sw-space-1);
1135
+ background-position:
1136
+ calc(100% - var(--sw-space-4)) calc(50% - 1px),
1137
+ calc(100% - calc(var(--sw-space-4) - var(--sw-space-1))) calc(50% - 1px);
1138
+ border: 1px solid var(--sw-color-border);
1139
+ border-radius: var(--sw-radius-sm);
1140
+ box-sizing: border-box;
1141
+ color: var(--sw-color-text);
1142
+ cursor: pointer;
1143
+ display: inline-flex;
1144
+ font-family: inherit;
1145
+ font-size: inherit;
1146
+ letter-spacing: inherit;
1147
+ line-height: inherit;
1148
+ margin: 0;
1149
+ min-height: var(--sw-control-md-min-height);
1150
+ padding-block: 0;
1151
+ padding-inline: var(--sw-control-md-padding-inline);
1152
+ padding-inline-end: calc(
1153
+ var(--sw-control-md-padding-inline) + var(--sw-space-5)
1154
+ );
1155
+ text-align: start;
1156
+ white-space: nowrap;
1157
+ }
1158
+
1159
+ .sw-select-trigger:focus {
1160
+ box-shadow: none;
1161
+ outline: none;
1162
+ }
1163
+
1164
+ .sw-select-trigger:focus-visible {
1165
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
1166
+ outline-offset: var(--sw-focus-ring-offset);
1167
+ }
1168
+
1169
+ .sw-select-xs .sw-select-trigger {
1170
+ background-position:
1171
+ calc(100% - var(--sw-space-3)) calc(50% - 1px),
1172
+ calc(100% - calc(var(--sw-space-3) - var(--sw-space-1))) calc(50% - 1px);
1173
+ font-size: 13px;
1174
+ letter-spacing: -0.08px;
1175
+ line-height: 18px;
1176
+ min-height: var(--sw-control-xs-min-height);
1177
+ padding-inline: var(--sw-control-xs-padding-inline);
1178
+ padding-inline-end: calc(
1179
+ var(--sw-control-xs-padding-inline) + var(--sw-space-5)
1180
+ );
1181
+ }
1182
+
1183
+ .sw-select-list {
1184
+ background: var(--sw-glass-fill);
1185
+ border: 1px solid var(--sw-glass-border);
1186
+ border-radius: var(--sw-radius-sm);
1187
+ box-shadow: var(--sw-elevation-sm), inset 0 1px 0 var(--sw-glass-specular);
1188
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1189
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1190
+ box-sizing: border-box;
1191
+ color: var(--sw-color-text);
1192
+ inset-inline-start: 0;
1193
+ margin: var(--sw-space-1) 0 0;
1194
+ max-height: var(--sw-select-max);
1195
+ max-width: var(--sw-dialog-max);
1196
+ min-width: 100%;
1197
+ overflow: auto;
1198
+ padding: var(--sw-space-1);
1199
+ position: absolute;
1200
+ width: max-content;
1201
+ z-index: 3;
1202
+ }
1203
+
1204
+ .sw-select-option {
1205
+ border-radius: var(--sw-radius-sm);
1206
+ box-sizing: border-box;
1207
+ cursor: pointer;
1208
+ display: flex;
1209
+ align-items: center;
1210
+ min-height: var(--sw-control-xs-min-height);
1211
+ padding-inline: var(--sw-control-xs-padding-inline);
1212
+ }
1213
+
1214
+ .sw-select-option[aria-selected='true'] {
1215
+ font-weight: 600;
1216
+ }
1217
+
1218
+ .sw-select-option[data-active='true'] {
1219
+ background: color-mix(in srgb, var(--sw-color-muted) 16%, transparent);
1220
+ }
1221
+
1222
+ .sw-select-xs .sw-select-option {
1223
+ font-size: 13px;
1224
+ letter-spacing: -0.08px;
1225
+ line-height: 18px;
1226
+ }
1227
+
1228
+ .sw-select-action {
1229
+ border-top: 1px solid var(--sw-color-border);
1230
+ color: var(--sw-color-accent);
1231
+ margin-top: var(--sw-space-1);
1232
+ }
1233
+
1234
+ .sw-split {
1235
+ align-items: stretch;
1236
+ align-self: start;
1237
+ display: flex;
1238
+ flex: 0 0 auto;
1239
+ flex-direction: row;
1240
+ min-width: 0;
1241
+ }
1242
+
1243
+ .sw-split-pane {
1244
+ box-sizing: border-box;
1245
+ max-width: var(--sw-split-max);
1246
+ min-width: 0;
1247
+ overflow: auto;
1248
+ width: var(--sw-split-size);
1249
+ }
1250
+
1251
+ .sw-split[data-collapsed] .sw-split-pane {
1252
+ display: none;
1253
+ }
1254
+
1255
+ .sw-split-handle {
1256
+ align-items: flex-start;
1257
+ background: transparent;
1258
+ border: 0;
1259
+ box-sizing: border-box;
1260
+ cursor: col-resize;
1261
+ display: flex;
1262
+ flex: none;
1263
+ justify-content: center;
1264
+ margin: 0;
1265
+ min-height: var(--sw-control-md-min-height);
1266
+ min-width: var(--sw-control-xs-min-height);
1267
+ padding: var(--sw-space-5) 0 0;
1268
+ touch-action: none;
1269
+ user-select: none;
1270
+ }
1271
+
1272
+ .sw-split-handle:hover,
1273
+ .sw-split-handle:focus-visible {
1274
+ background: color-mix(in srgb, var(--sw-color-muted) 16%, transparent);
1275
+ }
1276
+
1277
+ .sw-split-handle:focus-visible {
1278
+ outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
1279
+ outline-offset: var(--sw-focus-ring-offset);
1280
+ }
1281
+
1282
+ .sw-split[data-collapsed] .sw-split-handle {
1283
+ cursor: e-resize;
1284
+ }
1285
+
1286
+ .sw-split-grip {
1287
+ border-inline-end: var(--sw-focus-ring-width) solid var(--sw-color-muted);
1288
+ border-inline-start: var(--sw-focus-ring-width) solid var(--sw-color-muted);
1289
+ box-sizing: border-box;
1290
+ display: block;
1291
+ height: var(--sw-space-6);
1292
+ position: sticky;
1293
+ top: var(--sw-space-5);
1294
+ width: var(--sw-space-2);
1295
+ }
1296
+
1297
+ .sw-toast {
1298
+ background: var(--sw-glass-fill);
1299
+ border: 1px solid var(--sw-glass-border);
1300
+ border-radius: var(--sw-radius-lg);
1301
+ box-shadow: inset 0 1px 0 var(--sw-glass-specular);
1302
+ backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1303
+ -webkit-backdrop-filter: blur(var(--sw-glass-blur)) saturate(var(--sw-glass-saturate));
1304
+ box-sizing: border-box;
1305
+ color: var(--sw-color-text);
1306
+ inset: unset;
1307
+ bottom: var(--sw-space-6);
1308
+ left: 50%;
1309
+ margin: 0;
1310
+ overflow: visible;
1311
+ pointer-events: none;
1312
+ position: fixed;
1313
+ translate: -50% 0;
1314
+ width: max-content;
1315
+ }
1316
+
1317
+ .sw-toast:popover-open {
1318
+ animation: sw-toast-float var(--sw-motion-default) var(--sw-motion-easing);
1319
+ }
1320
+
1321
+ .sw-toast-travel {
1322
+ bottom: auto;
1323
+ left: 0;
1324
+ top: 0;
1325
+ translate: var(--sw-toast-from-x) var(--sw-toast-from-y);
1326
+ }
1327
+
1328
+ .sw-toast-travel:popover-open {
1329
+ animation: sw-toast-travel var(--sw-motion-travel)
1330
+ var(--sw-motion-travel-easing) forwards;
1331
+ }
1332
+
1333
+ @keyframes sw-toast-float {
1334
+ from {
1335
+ opacity: 0;
1336
+ translate: -50% var(--sw-space-3);
1337
+ }
1338
+ to {
1339
+ opacity: 1;
1340
+ translate: -50% 0;
1341
+ }
1342
+ }
1343
+
1344
+ @keyframes sw-toast-travel {
1345
+ 0% {
1346
+ opacity: 1;
1347
+ scale: 0.6;
1348
+ translate: var(--sw-toast-from-x) var(--sw-toast-from-y);
1349
+ }
1350
+ 16% {
1351
+ opacity: 1;
1352
+ scale: 1.2;
1353
+ translate: var(--sw-toast-from-x) var(--sw-toast-from-y);
1354
+ }
1355
+ 42% {
1356
+ opacity: 1;
1357
+ scale: 1;
1358
+ translate: var(--sw-toast-to-x) var(--sw-toast-to-y);
1359
+ }
1360
+ 78% {
1361
+ opacity: 1;
1362
+ scale: 1;
1363
+ translate: var(--sw-toast-to-x) var(--sw-toast-to-y);
1364
+ }
1365
+ 100% {
1366
+ opacity: 0;
1367
+ scale: 0.94;
1368
+ translate: var(--sw-toast-to-x) var(--sw-toast-to-y);
1369
+ }
1370
+ }
1371
+
1372
+ @media (prefers-reduced-motion: reduce) {
1373
+ .sw-toast:popover-open,
1374
+ .sw-toast-travel:popover-open {
1375
+ animation: none;
1376
+ }
1377
+
1378
+ .sw-toast-travel:popover-open {
1379
+ opacity: 1;
1380
+ scale: 1;
1381
+ translate: var(--sw-toast-to-x) var(--sw-toast-to-y);
1382
+ }
1383
+ }