sherick-ui 2.0.0 → 2.1.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.
- package/README.md +55 -199
- package/dist/cjs/components/Breadcrumb.cjs +47 -0
- package/dist/cjs/components/Breadcrumb.cjs.map +1 -0
- package/dist/cjs/components/Calendar.cjs +298 -0
- package/dist/cjs/components/Calendar.cjs.map +1 -0
- package/dist/cjs/components/Combobox.cjs +1 -1
- package/dist/cjs/components/Combobox.cjs.map +1 -1
- package/dist/cjs/components/Command.cjs +81 -0
- package/dist/cjs/components/Command.cjs.map +1 -0
- package/dist/cjs/components/CommandPalette.cjs +52 -0
- package/dist/cjs/components/CommandPalette.cjs.map +1 -0
- package/dist/cjs/components/DatePicker.cjs +107 -0
- package/dist/cjs/components/DatePicker.cjs.map +1 -0
- package/dist/cjs/components/DateRangePicker.cjs +165 -0
- package/dist/cjs/components/DateRangePicker.cjs.map +1 -0
- package/dist/cjs/components/FileUpload.cjs +203 -0
- package/dist/cjs/components/FileUpload.cjs.map +1 -0
- package/dist/cjs/components/Media.cjs +27 -0
- package/dist/cjs/components/Media.cjs.map +1 -0
- package/dist/cjs/components/Pagination.cjs +115 -0
- package/dist/cjs/components/Pagination.cjs.map +1 -0
- package/dist/cjs/components/Select.cjs +1 -1
- package/dist/cjs/components/Select.cjs.map +1 -1
- package/dist/cjs/components/Stepper.cjs +40 -0
- package/dist/cjs/components/Stepper.cjs.map +1 -0
- package/dist/cjs/components/Tabs.cjs +1 -1
- package/dist/cjs/components/Tabs.cjs.map +1 -1
- package/dist/cjs/components/TreeView.cjs +247 -0
- package/dist/cjs/components/TreeView.cjs.map +1 -0
- package/dist/cjs/components/date-family.cjs +191 -0
- package/dist/cjs/components/date-family.cjs.map +1 -0
- package/dist/cjs/components/date-field.cjs +90 -0
- package/dist/cjs/components/date-field.cjs.map +1 -0
- package/dist/cjs/components/fileUpload.rules.cjs +121 -0
- package/dist/cjs/components/fileUpload.rules.cjs.map +1 -0
- package/dist/cjs/components/tree.cjs +95 -0
- package/dist/cjs/components/tree.cjs.map +1 -0
- package/dist/cjs/components/ui.common.cjs +27 -7
- package/dist/cjs/components/ui.common.cjs.map +1 -1
- package/dist/cjs/components/ui.motion.cjs +3 -3
- package/dist/cjs/components/ui.motion.cjs.map +1 -1
- package/dist/cjs/dev.cjs +5 -0
- package/dist/cjs/dev.cjs.map +1 -1
- package/dist/cjs/index.cjs +22 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/components/Breadcrumb.js +43 -0
- package/dist/esm/components/Breadcrumb.js.map +1 -0
- package/dist/esm/components/Calendar.js +294 -0
- package/dist/esm/components/Calendar.js.map +1 -0
- package/dist/esm/components/Combobox.js +2 -2
- package/dist/esm/components/Combobox.js.map +1 -1
- package/dist/esm/components/Command.js +77 -0
- package/dist/esm/components/Command.js.map +1 -0
- package/dist/esm/components/CommandPalette.js +48 -0
- package/dist/esm/components/CommandPalette.js.map +1 -0
- package/dist/esm/components/DatePicker.js +103 -0
- package/dist/esm/components/DatePicker.js.map +1 -0
- package/dist/esm/components/DateRangePicker.js +161 -0
- package/dist/esm/components/DateRangePicker.js.map +1 -0
- package/dist/esm/components/FileUpload.js +199 -0
- package/dist/esm/components/FileUpload.js.map +1 -0
- package/dist/esm/components/Media.js +25 -0
- package/dist/esm/components/Media.js.map +1 -0
- package/dist/esm/components/Pagination.js +111 -0
- package/dist/esm/components/Pagination.js.map +1 -0
- package/dist/esm/components/Select.js +2 -2
- package/dist/esm/components/Select.js.map +1 -1
- package/dist/esm/components/Stepper.js +36 -0
- package/dist/esm/components/Stepper.js.map +1 -0
- package/dist/esm/components/Tabs.js +2 -2
- package/dist/esm/components/Tabs.js.map +1 -1
- package/dist/esm/components/TreeView.js +243 -0
- package/dist/esm/components/TreeView.js.map +1 -0
- package/dist/esm/components/date-family.js +173 -0
- package/dist/esm/components/date-family.js.map +1 -0
- package/dist/esm/components/date-field.js +84 -0
- package/dist/esm/components/date-field.js.map +1 -0
- package/dist/esm/components/fileUpload.rules.js +114 -0
- package/dist/esm/components/fileUpload.rules.js.map +1 -0
- package/dist/esm/components/tree.js +88 -0
- package/dist/esm/components/tree.js.map +1 -0
- package/dist/esm/components/ui.common.js +23 -8
- package/dist/esm/components/ui.common.js.map +1 -1
- package/dist/esm/components/ui.motion.js +3 -3
- package/dist/esm/components/ui.motion.js.map +1 -1
- package/dist/esm/dev.js +1 -1
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/styles.css +362 -20
- package/dist/theme.css +15 -9
- package/dist/types/dev.d.cts +8 -3
- package/dist/types/dev.d.ts +8 -3
- package/dist/types/index.d.cts +600 -66
- package/dist/types/index.d.ts +600 -66
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--sui-surface: 0.985 0.006 255;
|
|
8
8
|
--sui-surface-high: 0.925 0.014 255;
|
|
9
9
|
--sui-surface-float: 0.992 0.006 255;
|
|
10
|
+
--sui-media: 0.205 0.012 260;
|
|
10
11
|
--sui-ink: 0.245 0.018 260;
|
|
11
12
|
--sui-ink-muted: 0.480 0.018 260;
|
|
12
13
|
--sui-detail: 0.600 0.016 258;
|
|
@@ -32,12 +33,13 @@
|
|
|
32
33
|
--sui-elevation-floating: 0 16px 40px oklch(var(--sui-light-bottom) / 0.20), inset 0 1px 0 oklch(var(--sui-light-top) / 0.70);
|
|
33
34
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.19), inset 0 1px 0 oklch(var(--sui-light-top) / 0.55);
|
|
34
35
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.22), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.50);
|
|
36
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.21);
|
|
35
37
|
--sui-elevation-well: inset 0 3px 4px oklch(var(--sui-light-bottom) / 0.62), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.50);
|
|
36
|
-
--sui-glass-fill: 0.
|
|
38
|
+
--sui-glass-fill: 0.98;
|
|
37
39
|
--sui-glass-blur: 28px;
|
|
38
40
|
--sui-glass-saturation: 1.06;
|
|
39
41
|
--sui-glass-brightness: 1.012;
|
|
40
|
-
--sui-glass-dense-fill: 0.
|
|
42
|
+
--sui-glass-dense-fill: 0.99;
|
|
41
43
|
--sui-glass-dense-blur: 22px;
|
|
42
44
|
--sui-glass-dense-saturation: 1.05;
|
|
43
45
|
--sui-glass-dense-brightness: 1.008;
|
|
@@ -48,7 +50,7 @@
|
|
|
48
50
|
--sui-glass-hero-brightness: 1.0;
|
|
49
51
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.42) 0%, rgb(255 255 255 / 0.12) 14%, rgb(255 255 255 / 0) 46%, rgb(38 46 62 / 0.05) 100%);
|
|
50
52
|
--sui-surface-overlay: 0.993 0.005 258;
|
|
51
|
-
--sui-overlay-fill: 0.
|
|
53
|
+
--sui-overlay-fill: 0.99;
|
|
52
54
|
--sui-scrim-blur: 6px;
|
|
53
55
|
--sui-code-text: oklch(0.30 0.018 260);
|
|
54
56
|
--sui-code-comment: oklch(0.54 0.015 255);
|
|
@@ -65,6 +67,7 @@
|
|
|
65
67
|
--sui-surface: 0.245 0.014 260;
|
|
66
68
|
--sui-surface-high: 0.295 0.016 260;
|
|
67
69
|
--sui-surface-float: 0.27 0.018 260;
|
|
70
|
+
--sui-media: 0.205 0.012 260;
|
|
68
71
|
--sui-ink: 0.94 0.008 255;
|
|
69
72
|
--sui-ink-muted: 0.76 0.014 255;
|
|
70
73
|
--sui-detail: 0.600 0.014 256;
|
|
@@ -90,12 +93,13 @@
|
|
|
90
93
|
--sui-elevation-floating: 0 18px 44px oklch(var(--sui-light-bottom) / 0.38), inset 0 1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
91
94
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.08);
|
|
92
95
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
96
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.36);
|
|
93
97
|
--sui-elevation-well: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -2px 3px oklch(var(--sui-light-top) / 0.40);
|
|
94
|
-
--sui-glass-fill: 0.
|
|
98
|
+
--sui-glass-fill: 0.98;
|
|
95
99
|
--sui-glass-blur: 32px;
|
|
96
100
|
--sui-glass-saturation: 1.10;
|
|
97
101
|
--sui-glass-brightness: 1.01;
|
|
98
|
-
--sui-glass-dense-fill: 0.
|
|
102
|
+
--sui-glass-dense-fill: 0.99;
|
|
99
103
|
--sui-glass-dense-blur: 26px;
|
|
100
104
|
--sui-glass-dense-saturation: 1.08;
|
|
101
105
|
--sui-glass-dense-brightness: 1.01;
|
|
@@ -106,7 +110,7 @@
|
|
|
106
110
|
--sui-glass-hero-brightness: 1.0;
|
|
107
111
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.028) 0%, rgb(255 255 255 / 0.009) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
108
112
|
--sui-surface-overlay: 0.236 0.012 260;
|
|
109
|
-
--sui-overlay-fill: 0.
|
|
113
|
+
--sui-overlay-fill: 0.99;
|
|
110
114
|
--sui-scrim-blur: 6px;
|
|
111
115
|
--sui-code-text: #e2e8f0;
|
|
112
116
|
--sui-code-comment: #7a8aa3;
|
|
@@ -124,6 +128,7 @@
|
|
|
124
128
|
--sui-surface: 0.245 0.014 260;
|
|
125
129
|
--sui-surface-high: 0.295 0.016 260;
|
|
126
130
|
--sui-surface-float: 0.27 0.018 260;
|
|
131
|
+
--sui-media: 0.205 0.012 260;
|
|
127
132
|
--sui-ink: 0.94 0.008 255;
|
|
128
133
|
--sui-ink-muted: 0.76 0.014 255;
|
|
129
134
|
--sui-detail: 0.600 0.014 256;
|
|
@@ -149,12 +154,13 @@
|
|
|
149
154
|
--sui-elevation-floating: 0 18px 44px oklch(var(--sui-light-bottom) / 0.38), inset 0 1px 0 oklch(var(--sui-light-top) / 0.05);
|
|
150
155
|
--sui-elevation-control: 0 1px 2px oklch(var(--sui-light-bottom) / 0.30), inset 0 1px 0 oklch(var(--sui-light-top) / 0.08);
|
|
151
156
|
--sui-elevation-recessed: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -1px 0 oklch(var(--sui-light-top) / 0.06);
|
|
157
|
+
--sui-elevation-recessed-top: inset 0 5px 8px -5px oklch(var(--sui-light-bottom) / 0.36);
|
|
152
158
|
--sui-elevation-well: inset 0 1px 3px oklch(var(--sui-light-bottom) / 0.38), inset 0 -2px 3px oklch(var(--sui-light-top) / 0.40);
|
|
153
|
-
--sui-glass-fill: 0.
|
|
159
|
+
--sui-glass-fill: 0.98;
|
|
154
160
|
--sui-glass-blur: 32px;
|
|
155
161
|
--sui-glass-saturation: 1.10;
|
|
156
162
|
--sui-glass-brightness: 1.01;
|
|
157
|
-
--sui-glass-dense-fill: 0.
|
|
163
|
+
--sui-glass-dense-fill: 0.99;
|
|
158
164
|
--sui-glass-dense-blur: 26px;
|
|
159
165
|
--sui-glass-dense-saturation: 1.08;
|
|
160
166
|
--sui-glass-dense-brightness: 1.01;
|
|
@@ -165,7 +171,7 @@
|
|
|
165
171
|
--sui-glass-hero-brightness: 1.0;
|
|
166
172
|
--sui-glass-hero-gradient: linear-gradient(180deg, rgb(255 255 255 / 0.028) 0%, rgb(255 255 255 / 0.009) 12%, rgb(255 255 255 / 0) 44%, rgb(0 0 0 / 0.16) 100%);
|
|
167
173
|
--sui-surface-overlay: 0.236 0.012 260;
|
|
168
|
-
--sui-overlay-fill: 0.
|
|
174
|
+
--sui-overlay-fill: 0.99;
|
|
169
175
|
--sui-scrim-blur: 6px;
|
|
170
176
|
--sui-code-text: #e2e8f0;
|
|
171
177
|
--sui-code-comment: #7a8aa3;
|
|
@@ -234,9 +240,26 @@
|
|
|
234
240
|
--tw-backdrop-opacity: ;
|
|
235
241
|
--tw-backdrop-saturate: ;
|
|
236
242
|
--tw-backdrop-sepia: ;
|
|
237
|
-
}:where(.sui-scope).
|
|
243
|
+
}:where(.sui-scope).sr-only {
|
|
244
|
+
position: absolute;
|
|
245
|
+
width: 1px;
|
|
246
|
+
height: 1px;
|
|
247
|
+
padding: 0;
|
|
248
|
+
margin: -1px;
|
|
249
|
+
overflow: hidden;
|
|
250
|
+
clip: rect(0, 0, 0, 0);
|
|
251
|
+
white-space: nowrap;
|
|
252
|
+
border-width: 0
|
|
253
|
+
}
|
|
254
|
+
:where(.sui-scope).pointer-events-none {
|
|
255
|
+
pointer-events: none
|
|
256
|
+
}
|
|
257
|
+
:where(.sui-scope).visible {
|
|
238
258
|
visibility: visible
|
|
239
259
|
}
|
|
260
|
+
:where(.sui-scope).collapse {
|
|
261
|
+
visibility: collapse
|
|
262
|
+
}
|
|
240
263
|
:where(.sui-scope).static {
|
|
241
264
|
position: static
|
|
242
265
|
}
|
|
@@ -256,6 +279,10 @@
|
|
|
256
279
|
top: 0px;
|
|
257
280
|
bottom: 0px
|
|
258
281
|
}
|
|
282
|
+
:where(.sui-scope).inset-y-1 {
|
|
283
|
+
top: 0.25rem;
|
|
284
|
+
bottom: 0.25rem
|
|
285
|
+
}
|
|
259
286
|
:where(.sui-scope).bottom-0 {
|
|
260
287
|
bottom: 0px
|
|
261
288
|
}
|
|
@@ -268,6 +295,9 @@
|
|
|
268
295
|
:where(.sui-scope).end-1\.5 {
|
|
269
296
|
inset-inline-end: 0.375rem
|
|
270
297
|
}
|
|
298
|
+
:where(.sui-scope).end-2 {
|
|
299
|
+
inset-inline-end: 0.5rem
|
|
300
|
+
}
|
|
271
301
|
:where(.sui-scope).end-4 {
|
|
272
302
|
inset-inline-end: 1rem
|
|
273
303
|
}
|
|
@@ -289,9 +319,15 @@
|
|
|
289
319
|
:where(.sui-scope).top-0 {
|
|
290
320
|
top: 0px
|
|
291
321
|
}
|
|
322
|
+
:where(.sui-scope).top-1 {
|
|
323
|
+
top: 0.25rem
|
|
324
|
+
}
|
|
292
325
|
:where(.sui-scope).top-1\/2 {
|
|
293
326
|
top: 50%
|
|
294
327
|
}
|
|
328
|
+
:where(.sui-scope).top-2 {
|
|
329
|
+
top: 0.5rem
|
|
330
|
+
}
|
|
295
331
|
:where(.sui-scope).top-3 {
|
|
296
332
|
top: 0.75rem
|
|
297
333
|
}
|
|
@@ -316,6 +352,9 @@
|
|
|
316
352
|
:where(.sui-scope).z-\[calc\(1000-var\(--toast-index\)\)\] {
|
|
317
353
|
z-index: calc(1000 - var(--toast-index))
|
|
318
354
|
}
|
|
355
|
+
:where(.sui-scope).col-start-2 {
|
|
356
|
+
grid-column-start: 2
|
|
357
|
+
}
|
|
319
358
|
:where(.sui-scope).m-0 {
|
|
320
359
|
margin: 0px
|
|
321
360
|
}
|
|
@@ -372,6 +411,9 @@
|
|
|
372
411
|
:where(.sui-scope).-ms-4 {
|
|
373
412
|
margin-inline-start: -1rem
|
|
374
413
|
}
|
|
414
|
+
:where(.sui-scope).mb-0 {
|
|
415
|
+
margin-bottom: 0px
|
|
416
|
+
}
|
|
375
417
|
:where(.sui-scope).mb-2 {
|
|
376
418
|
margin-bottom: 0.5rem
|
|
377
419
|
}
|
|
@@ -387,9 +429,18 @@
|
|
|
387
429
|
:where(.sui-scope).ms-1 {
|
|
388
430
|
margin-inline-start: 0.25rem
|
|
389
431
|
}
|
|
432
|
+
:where(.sui-scope).ms-3 {
|
|
433
|
+
margin-inline-start: 0.75rem
|
|
434
|
+
}
|
|
435
|
+
:where(.sui-scope).mt-1 {
|
|
436
|
+
margin-top: 0.25rem
|
|
437
|
+
}
|
|
390
438
|
:where(.sui-scope).mt-2 {
|
|
391
439
|
margin-top: 0.5rem
|
|
392
440
|
}
|
|
441
|
+
:where(.sui-scope).mt-3 {
|
|
442
|
+
margin-top: 0.75rem
|
|
443
|
+
}
|
|
393
444
|
:where(.sui-scope).mt-4 {
|
|
394
445
|
margin-top: 1rem
|
|
395
446
|
}
|
|
@@ -429,9 +480,30 @@
|
|
|
429
480
|
:where(.sui-scope).table {
|
|
430
481
|
display: table
|
|
431
482
|
}
|
|
483
|
+
:where(.sui-scope).grid {
|
|
484
|
+
display: grid
|
|
485
|
+
}
|
|
486
|
+
:where(.sui-scope).contents {
|
|
487
|
+
display: contents
|
|
488
|
+
}
|
|
432
489
|
:where(.sui-scope).hidden {
|
|
433
490
|
display: none
|
|
434
491
|
}
|
|
492
|
+
:where(.sui-scope).aspect-\[21\/9\] {
|
|
493
|
+
aspect-ratio: 21/9
|
|
494
|
+
}
|
|
495
|
+
:where(.sui-scope).aspect-\[3\/4\] {
|
|
496
|
+
aspect-ratio: 3/4
|
|
497
|
+
}
|
|
498
|
+
:where(.sui-scope).aspect-\[4\/3\] {
|
|
499
|
+
aspect-ratio: 4/3
|
|
500
|
+
}
|
|
501
|
+
:where(.sui-scope).aspect-square {
|
|
502
|
+
aspect-ratio: 1 / 1
|
|
503
|
+
}
|
|
504
|
+
:where(.sui-scope).aspect-video {
|
|
505
|
+
aspect-ratio: 16 / 9
|
|
506
|
+
}
|
|
435
507
|
:where(.sui-scope).size-10 {
|
|
436
508
|
width: 2.5rem;
|
|
437
509
|
height: 2.5rem
|
|
@@ -470,6 +542,9 @@
|
|
|
470
542
|
:where(.sui-scope).h-1\.5 {
|
|
471
543
|
height: 0.375rem
|
|
472
544
|
}
|
|
545
|
+
:where(.sui-scope).h-11 {
|
|
546
|
+
height: 2.75rem
|
|
547
|
+
}
|
|
473
548
|
:where(.sui-scope).h-16 {
|
|
474
549
|
height: 4rem
|
|
475
550
|
}
|
|
@@ -485,6 +560,9 @@
|
|
|
485
560
|
:where(.sui-scope).h-8 {
|
|
486
561
|
height: 2rem
|
|
487
562
|
}
|
|
563
|
+
:where(.sui-scope).h-\[1lh\] {
|
|
564
|
+
height: 1lh
|
|
565
|
+
}
|
|
488
566
|
:where(.sui-scope).h-\[var\(--active-tab-height\)\] {
|
|
489
567
|
height: var(--active-tab-height)
|
|
490
568
|
}
|
|
@@ -494,6 +572,9 @@
|
|
|
494
572
|
:where(.sui-scope).h-\[var\(--sui-disclose-height\)\] {
|
|
495
573
|
height: var(--sui-disclose-height)
|
|
496
574
|
}
|
|
575
|
+
:where(.sui-scope).h-auto {
|
|
576
|
+
height: auto
|
|
577
|
+
}
|
|
497
578
|
:where(.sui-scope).h-full {
|
|
498
579
|
height: 100%
|
|
499
580
|
}
|
|
@@ -503,6 +584,9 @@
|
|
|
503
584
|
:where(.sui-scope).max-h-\[calc\(100dvh-3rem\)\] {
|
|
504
585
|
max-height: calc(100dvh - 3rem)
|
|
505
586
|
}
|
|
587
|
+
:where(.sui-scope).max-h-\[min\(24rem\2c 60dvh\)\] {
|
|
588
|
+
max-height: min(24rem, 60dvh)
|
|
589
|
+
}
|
|
506
590
|
:where(.sui-scope).max-h-\[var\(--available-height\)\] {
|
|
507
591
|
max-height: var(--available-height)
|
|
508
592
|
}
|
|
@@ -527,12 +611,18 @@
|
|
|
527
611
|
:where(.sui-scope).min-h-7 {
|
|
528
612
|
min-height: 1.75rem
|
|
529
613
|
}
|
|
614
|
+
:where(.sui-scope).min-h-\[3\.25rem\] {
|
|
615
|
+
min-height: 3.25rem
|
|
616
|
+
}
|
|
530
617
|
:where(.sui-scope).min-h-full {
|
|
531
618
|
min-height: 100%
|
|
532
619
|
}
|
|
533
620
|
:where(.sui-scope).w-0 {
|
|
534
621
|
width: 0px
|
|
535
622
|
}
|
|
623
|
+
:where(.sui-scope).w-1\.5 {
|
|
624
|
+
width: 0.375rem
|
|
625
|
+
}
|
|
536
626
|
:where(.sui-scope).w-16 {
|
|
537
627
|
width: 4rem
|
|
538
628
|
}
|
|
@@ -554,9 +644,15 @@
|
|
|
554
644
|
:where(.sui-scope).w-8 {
|
|
555
645
|
width: 2rem
|
|
556
646
|
}
|
|
647
|
+
:where(.sui-scope).w-\[17\.5rem\] {
|
|
648
|
+
width: 17.5rem
|
|
649
|
+
}
|
|
557
650
|
:where(.sui-scope).w-\[3\.25rem\] {
|
|
558
651
|
width: 3.25rem
|
|
559
652
|
}
|
|
653
|
+
:where(.sui-scope).w-\[calc\(100\%\+2\.5rem\)\] {
|
|
654
|
+
width: calc(100% + 2.5rem)
|
|
655
|
+
}
|
|
560
656
|
:where(.sui-scope).w-\[calc\(100\%-3rem\)\] {
|
|
561
657
|
width: calc(100% - 3rem)
|
|
562
658
|
}
|
|
@@ -602,6 +698,9 @@
|
|
|
602
698
|
:where(.sui-scope).min-w-max {
|
|
603
699
|
min-width: max-content
|
|
604
700
|
}
|
|
701
|
+
:where(.sui-scope).max-w-10 {
|
|
702
|
+
max-width: 2.5rem
|
|
703
|
+
}
|
|
605
704
|
:where(.sui-scope).max-w-\[min\(16rem\2c var\(--available-width\)\)\] {
|
|
606
705
|
max-width: min(16rem, var(--available-width))
|
|
607
706
|
}
|
|
@@ -623,6 +722,9 @@
|
|
|
623
722
|
:where(.sui-scope).max-w-lg {
|
|
624
723
|
max-width: 32rem
|
|
625
724
|
}
|
|
725
|
+
:where(.sui-scope).max-w-xl {
|
|
726
|
+
max-width: 36rem
|
|
727
|
+
}
|
|
626
728
|
:where(.sui-scope).max-w-xs {
|
|
627
729
|
max-width: 20rem
|
|
628
730
|
}
|
|
@@ -638,9 +740,20 @@
|
|
|
638
740
|
:where(.sui-scope).grow {
|
|
639
741
|
flex-grow: 1
|
|
640
742
|
}
|
|
743
|
+
:where(.sui-scope).table-fixed {
|
|
744
|
+
table-layout: fixed
|
|
745
|
+
}
|
|
641
746
|
:where(.sui-scope).border-collapse {
|
|
642
747
|
border-collapse: collapse
|
|
643
748
|
}
|
|
749
|
+
:where(.sui-scope).border-separate {
|
|
750
|
+
border-collapse: separate
|
|
751
|
+
}
|
|
752
|
+
:where(.sui-scope).border-spacing-0 {
|
|
753
|
+
--tw-border-spacing-x: 0px;
|
|
754
|
+
--tw-border-spacing-y: 0px;
|
|
755
|
+
border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y)
|
|
756
|
+
}
|
|
644
757
|
:where(.sui-scope).origin-bottom {
|
|
645
758
|
transform-origin: bottom
|
|
646
759
|
}
|
|
@@ -651,6 +764,18 @@
|
|
|
651
764
|
--tw-translate-y: -50%;
|
|
652
765
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
653
766
|
}
|
|
767
|
+
:where(.sui-scope).rotate-0 {
|
|
768
|
+
--tw-rotate: 0deg;
|
|
769
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
770
|
+
}
|
|
771
|
+
:where(.sui-scope).rotate-180 {
|
|
772
|
+
--tw-rotate: 180deg;
|
|
773
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
774
|
+
}
|
|
775
|
+
:where(.sui-scope).rotate-90 {
|
|
776
|
+
--tw-rotate: 90deg;
|
|
777
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
778
|
+
}
|
|
654
779
|
:where(.sui-scope).transform {
|
|
655
780
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
656
781
|
}
|
|
@@ -705,6 +830,18 @@
|
|
|
705
830
|
:where(.sui-scope).list-disc {
|
|
706
831
|
list-style-type: disc
|
|
707
832
|
}
|
|
833
|
+
:where(.sui-scope).list-none {
|
|
834
|
+
list-style-type: none
|
|
835
|
+
}
|
|
836
|
+
:where(.sui-scope).grid-cols-\[0\.375rem_minmax\(0\2c 1fr\)\] {
|
|
837
|
+
grid-template-columns: 0.375rem minmax(0,1fr)
|
|
838
|
+
}
|
|
839
|
+
:where(.sui-scope).grid-cols-\[1rem_minmax\(0\2c 1fr\)\] {
|
|
840
|
+
grid-template-columns: 1rem minmax(0,1fr)
|
|
841
|
+
}
|
|
842
|
+
:where(.sui-scope).grid-cols-\[repeat\(auto-fit\2c minmax\(min\(100\%\2c 14rem\)\2c 1fr\)\)\] {
|
|
843
|
+
grid-template-columns: repeat(auto-fit,minmax(min(100%, 14rem),1fr))
|
|
844
|
+
}
|
|
708
845
|
:where(.sui-scope).flex-col {
|
|
709
846
|
flex-direction: column
|
|
710
847
|
}
|
|
@@ -756,6 +893,18 @@
|
|
|
756
893
|
:where(.sui-scope).gap-4 {
|
|
757
894
|
gap: 1rem
|
|
758
895
|
}
|
|
896
|
+
:where(.sui-scope).gap-x-2 {
|
|
897
|
+
column-gap: 0.5rem
|
|
898
|
+
}
|
|
899
|
+
:where(.sui-scope).gap-x-4 {
|
|
900
|
+
column-gap: 1rem
|
|
901
|
+
}
|
|
902
|
+
:where(.sui-scope).gap-y-1 {
|
|
903
|
+
row-gap: 0.25rem
|
|
904
|
+
}
|
|
905
|
+
:where(.sui-scope).gap-y-3 {
|
|
906
|
+
row-gap: 0.75rem
|
|
907
|
+
}
|
|
759
908
|
:where(.sui-scope).space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
|
760
909
|
--tw-space-y-reverse: 0;
|
|
761
910
|
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
|
@@ -769,6 +918,9 @@
|
|
|
769
918
|
:where(.sui-scope).self-start {
|
|
770
919
|
align-self: flex-start
|
|
771
920
|
}
|
|
921
|
+
:where(.sui-scope).self-stretch {
|
|
922
|
+
align-self: stretch
|
|
923
|
+
}
|
|
772
924
|
:where(.sui-scope).overflow-auto {
|
|
773
925
|
overflow: auto
|
|
774
926
|
}
|
|
@@ -798,6 +950,9 @@
|
|
|
798
950
|
:where(.sui-scope).whitespace-nowrap {
|
|
799
951
|
white-space: nowrap
|
|
800
952
|
}
|
|
953
|
+
:where(.sui-scope).break-all {
|
|
954
|
+
word-break: break-all
|
|
955
|
+
}
|
|
801
956
|
:where(.sui-scope).rounded {
|
|
802
957
|
border-radius: 0.25rem
|
|
803
958
|
}
|
|
@@ -916,6 +1071,10 @@
|
|
|
916
1071
|
--tw-bg-opacity: 1;
|
|
917
1072
|
background-color: oklch(var(--sui-ink-muted) / var(--tw-bg-opacity, 1))
|
|
918
1073
|
}
|
|
1074
|
+
:where(.sui-scope).bg-sherick-media {
|
|
1075
|
+
--tw-bg-opacity: 1;
|
|
1076
|
+
background-color: oklch(var(--sui-media) / var(--tw-bg-opacity, 1))
|
|
1077
|
+
}
|
|
919
1078
|
:where(.sui-scope).bg-sherick-primary-strong {
|
|
920
1079
|
--tw-bg-opacity: 1;
|
|
921
1080
|
background-color: oklch(var(--sui-primary-strong) / var(--tw-bg-opacity, 1))
|
|
@@ -949,6 +1108,9 @@
|
|
|
949
1108
|
--tw-bg-opacity: 1;
|
|
950
1109
|
background-color: oklch(var(--sui-surface-high) / var(--tw-bg-opacity, 1))
|
|
951
1110
|
}
|
|
1111
|
+
:where(.sui-scope).bg-sherick-surface-high\/\[0\.35\] {
|
|
1112
|
+
background-color: oklch(var(--sui-surface-high) / 0.35)
|
|
1113
|
+
}
|
|
952
1114
|
:where(.sui-scope).bg-sherick-surface-high\/\[0\.56\] {
|
|
953
1115
|
background-color: oklch(var(--sui-surface-high) / 0.56)
|
|
954
1116
|
}
|
|
@@ -998,9 +1160,24 @@
|
|
|
998
1160
|
:where(.sui-scope).bg-clip-padding {
|
|
999
1161
|
background-clip: padding-box
|
|
1000
1162
|
}
|
|
1163
|
+
:where(.sui-scope).object-contain {
|
|
1164
|
+
object-fit: contain
|
|
1165
|
+
}
|
|
1001
1166
|
:where(.sui-scope).object-cover {
|
|
1002
1167
|
object-fit: cover
|
|
1003
1168
|
}
|
|
1169
|
+
:where(.sui-scope).object-bottom {
|
|
1170
|
+
object-position: bottom
|
|
1171
|
+
}
|
|
1172
|
+
:where(.sui-scope).object-center {
|
|
1173
|
+
object-position: center
|
|
1174
|
+
}
|
|
1175
|
+
:where(.sui-scope).object-top {
|
|
1176
|
+
object-position: top
|
|
1177
|
+
}
|
|
1178
|
+
:where(.sui-scope).p-0 {
|
|
1179
|
+
padding: 0px
|
|
1180
|
+
}
|
|
1004
1181
|
:where(.sui-scope).p-1 {
|
|
1005
1182
|
padding: 0.25rem
|
|
1006
1183
|
}
|
|
@@ -1013,6 +1190,9 @@
|
|
|
1013
1190
|
:where(.sui-scope).p-2\.5 {
|
|
1014
1191
|
padding: 0.625rem
|
|
1015
1192
|
}
|
|
1193
|
+
:where(.sui-scope).p-3 {
|
|
1194
|
+
padding: 0.75rem
|
|
1195
|
+
}
|
|
1016
1196
|
:where(.sui-scope).p-4 {
|
|
1017
1197
|
padding: 1rem
|
|
1018
1198
|
}
|
|
@@ -1022,10 +1202,18 @@
|
|
|
1022
1202
|
:where(.sui-scope).p-6 {
|
|
1023
1203
|
padding: 1.5rem
|
|
1024
1204
|
}
|
|
1205
|
+
:where(.sui-scope).px-0 {
|
|
1206
|
+
padding-left: 0px;
|
|
1207
|
+
padding-right: 0px
|
|
1208
|
+
}
|
|
1025
1209
|
:where(.sui-scope).px-1\.5 {
|
|
1026
1210
|
padding-left: 0.375rem;
|
|
1027
1211
|
padding-right: 0.375rem
|
|
1028
1212
|
}
|
|
1213
|
+
:where(.sui-scope).px-2 {
|
|
1214
|
+
padding-left: 0.5rem;
|
|
1215
|
+
padding-right: 0.5rem
|
|
1216
|
+
}
|
|
1029
1217
|
:where(.sui-scope).px-2\.5 {
|
|
1030
1218
|
padding-left: 0.625rem;
|
|
1031
1219
|
padding-right: 0.625rem
|
|
@@ -1054,6 +1242,10 @@
|
|
|
1054
1242
|
padding-left: 2rem;
|
|
1055
1243
|
padding-right: 2rem
|
|
1056
1244
|
}
|
|
1245
|
+
:where(.sui-scope).px-\[3\.25rem\] {
|
|
1246
|
+
padding-left: 3.25rem;
|
|
1247
|
+
padding-right: 3.25rem
|
|
1248
|
+
}
|
|
1057
1249
|
:where(.sui-scope).py-0\.5 {
|
|
1058
1250
|
padding-top: 0.125rem;
|
|
1059
1251
|
padding-bottom: 0.125rem
|
|
@@ -1103,21 +1295,42 @@
|
|
|
1103
1295
|
:where(.sui-scope).pe-16 {
|
|
1104
1296
|
padding-inline-end: 4rem
|
|
1105
1297
|
}
|
|
1298
|
+
:where(.sui-scope).pe-2 {
|
|
1299
|
+
padding-inline-end: 0.5rem
|
|
1300
|
+
}
|
|
1106
1301
|
:where(.sui-scope).pe-3 {
|
|
1107
1302
|
padding-inline-end: 0.75rem
|
|
1108
1303
|
}
|
|
1304
|
+
:where(.sui-scope).ps-11 {
|
|
1305
|
+
padding-inline-start: 2.75rem
|
|
1306
|
+
}
|
|
1307
|
+
:where(.sui-scope).ps-14 {
|
|
1308
|
+
padding-inline-start: 3.5rem
|
|
1309
|
+
}
|
|
1310
|
+
:where(.sui-scope).ps-2 {
|
|
1311
|
+
padding-inline-start: 0.5rem
|
|
1312
|
+
}
|
|
1313
|
+
:where(.sui-scope).ps-3 {
|
|
1314
|
+
padding-inline-start: 0.75rem
|
|
1315
|
+
}
|
|
1109
1316
|
:where(.sui-scope).ps-5 {
|
|
1110
1317
|
padding-inline-start: 1.25rem
|
|
1111
1318
|
}
|
|
1112
1319
|
:where(.sui-scope).ps-6 {
|
|
1113
1320
|
padding-inline-start: 1.5rem
|
|
1114
1321
|
}
|
|
1322
|
+
:where(.sui-scope).ps-8 {
|
|
1323
|
+
padding-inline-start: 2rem
|
|
1324
|
+
}
|
|
1115
1325
|
:where(.sui-scope).pt-1 {
|
|
1116
1326
|
padding-top: 0.25rem
|
|
1117
1327
|
}
|
|
1118
1328
|
:where(.sui-scope).pt-2 {
|
|
1119
1329
|
padding-top: 0.5rem
|
|
1120
1330
|
}
|
|
1331
|
+
:where(.sui-scope).pt-3 {
|
|
1332
|
+
padding-top: 0.75rem
|
|
1333
|
+
}
|
|
1121
1334
|
:where(.sui-scope).pt-4 {
|
|
1122
1335
|
padding-top: 1rem
|
|
1123
1336
|
}
|
|
@@ -1133,6 +1346,9 @@
|
|
|
1133
1346
|
:where(.sui-scope).text-start {
|
|
1134
1347
|
text-align: start
|
|
1135
1348
|
}
|
|
1349
|
+
:where(.sui-scope).align-top {
|
|
1350
|
+
vertical-align: top
|
|
1351
|
+
}
|
|
1136
1352
|
:where(.sui-scope).align-middle {
|
|
1137
1353
|
vertical-align: middle
|
|
1138
1354
|
}
|
|
@@ -1156,6 +1372,10 @@
|
|
|
1156
1372
|
:where(.sui-scope).text-\[11px\] {
|
|
1157
1373
|
font-size: 11px
|
|
1158
1374
|
}
|
|
1375
|
+
:where(.sui-scope).text-base {
|
|
1376
|
+
font-size: 1rem;
|
|
1377
|
+
line-height: 1.5rem
|
|
1378
|
+
}
|
|
1159
1379
|
:where(.sui-scope).text-lg {
|
|
1160
1380
|
font-size: 1.125rem;
|
|
1161
1381
|
line-height: 1.75rem
|
|
@@ -1265,6 +1485,9 @@
|
|
|
1265
1485
|
:where(.sui-scope).underline {
|
|
1266
1486
|
text-decoration-line: underline
|
|
1267
1487
|
}
|
|
1488
|
+
:where(.sui-scope).no-underline {
|
|
1489
|
+
text-decoration-line: none
|
|
1490
|
+
}
|
|
1268
1491
|
:where(.sui-scope).decoration-sherick-primary\/\[0\.35\] {
|
|
1269
1492
|
text-decoration-color: oklch(var(--sui-primary) / 0.35)
|
|
1270
1493
|
}
|
|
@@ -1307,6 +1530,11 @@
|
|
|
1307
1530
|
--tw-shadow-colored: var(--sui-elevation-recessed);
|
|
1308
1531
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1309
1532
|
}
|
|
1533
|
+
:where(.sui-scope).shadow-sherick-recessed-top {
|
|
1534
|
+
--tw-shadow: var(--sui-elevation-recessed-top);
|
|
1535
|
+
--tw-shadow-colored: var(--sui-elevation-recessed-top);
|
|
1536
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
|
|
1537
|
+
}
|
|
1310
1538
|
:where(.sui-scope).shadow-sherick-well {
|
|
1311
1539
|
--tw-shadow: var(--sui-elevation-well);
|
|
1312
1540
|
--tw-shadow-colored: var(--sui-elevation-well);
|
|
@@ -1520,6 +1748,12 @@
|
|
|
1520
1748
|
:where(.sui-scope).\[--sui-toast-stack-sign\:1\] {
|
|
1521
1749
|
--sui-toast-stack-sign: 1
|
|
1522
1750
|
}
|
|
1751
|
+
:where(.sui-scope).\[contain-intrinsic-inline-size\:14rem\] {
|
|
1752
|
+
contain-intrinsic-inline-size: 14rem
|
|
1753
|
+
}
|
|
1754
|
+
:where(.sui-scope).\[container-type\:inline-size\] {
|
|
1755
|
+
container-type: inline-size
|
|
1756
|
+
}
|
|
1523
1757
|
:where(.sui-scope).\[overflow-wrap\:anywhere\] {
|
|
1524
1758
|
overflow-wrap: anywhere
|
|
1525
1759
|
}
|
|
@@ -1558,6 +1792,16 @@
|
|
|
1558
1792
|
content: var(--tw-content);
|
|
1559
1793
|
inset: 0px
|
|
1560
1794
|
}
|
|
1795
|
+
:where(.sui-scope).before\:inset-x-0\.5::before {
|
|
1796
|
+
content: var(--tw-content);
|
|
1797
|
+
left: 0.125rem;
|
|
1798
|
+
right: 0.125rem
|
|
1799
|
+
}
|
|
1800
|
+
:where(.sui-scope).before\:inset-y-1\.5::before {
|
|
1801
|
+
content: var(--tw-content);
|
|
1802
|
+
top: 0.375rem;
|
|
1803
|
+
bottom: 0.375rem
|
|
1804
|
+
}
|
|
1561
1805
|
:where(.sui-scope).before\:rounded-\[inherit\]::before {
|
|
1562
1806
|
content: var(--tw-content);
|
|
1563
1807
|
border-radius: inherit
|
|
@@ -1604,15 +1848,18 @@
|
|
|
1604
1848
|
--tw-content: '';
|
|
1605
1849
|
content: var(--tw-content)
|
|
1606
1850
|
}
|
|
1851
|
+
:where(.sui-scope).first\:start-1:first-child {
|
|
1852
|
+
inset-inline-start: 0.25rem
|
|
1853
|
+
}
|
|
1607
1854
|
:where(.sui-scope).first\:mt-0:first-child {
|
|
1608
1855
|
margin-top: 0px
|
|
1609
1856
|
}
|
|
1857
|
+
:where(.sui-scope).last\:end-1:last-child {
|
|
1858
|
+
inset-inline-end: 0.25rem
|
|
1859
|
+
}
|
|
1610
1860
|
:where(.sui-scope).last\:border-b-0:last-child {
|
|
1611
1861
|
border-bottom-width: 0px
|
|
1612
1862
|
}
|
|
1613
|
-
:where(.sui-scope).focus-within\:bg-sherick-surface-high\/\[0\.9\]:focus-within {
|
|
1614
|
-
background-color: oklch(var(--sui-surface-high) / 0.9)
|
|
1615
|
-
}
|
|
1616
1863
|
:where(.sui-scope).hover\:bg-sherick-danger\/\[0\.10\]:hover {
|
|
1617
1864
|
background-color: oklch(var(--sui-danger) / 0.10)
|
|
1618
1865
|
}
|
|
@@ -1845,15 +2092,27 @@
|
|
|
1845
2092
|
:where(.sui-scope).data-\[starting-style\]\:opacity-0[data-starting-style] {
|
|
1846
2093
|
opacity: 0
|
|
1847
2094
|
}
|
|
2095
|
+
:where(.sui-scope).data-\[dragging\]\:outline[data-dragging] {
|
|
2096
|
+
outline-style: solid
|
|
2097
|
+
}
|
|
1848
2098
|
:where(.sui-scope).data-\[popup-open\]\:outline[data-popup-open] {
|
|
1849
2099
|
outline-style: solid
|
|
1850
2100
|
}
|
|
2101
|
+
:where(.sui-scope).data-\[dragging\]\:outline-2[data-dragging] {
|
|
2102
|
+
outline-width: 2px
|
|
2103
|
+
}
|
|
1851
2104
|
:where(.sui-scope).data-\[popup-open\]\:outline-2[data-popup-open] {
|
|
1852
2105
|
outline-width: 2px
|
|
1853
2106
|
}
|
|
2107
|
+
:where(.sui-scope).data-\[dragging\]\:outline-offset-\[3px\][data-dragging] {
|
|
2108
|
+
outline-offset: 3px
|
|
2109
|
+
}
|
|
1854
2110
|
:where(.sui-scope).data-\[popup-open\]\:outline-offset-\[3px\][data-popup-open] {
|
|
1855
2111
|
outline-offset: 3px
|
|
1856
2112
|
}
|
|
2113
|
+
:where(.sui-scope).data-\[dragging\]\:outline-sherick-focus[data-dragging] {
|
|
2114
|
+
outline-color: oklch(var(--sui-focus) / 1)
|
|
2115
|
+
}
|
|
1857
2116
|
:where(.sui-scope).data-\[popup-open\]\:outline-sherick-focus[data-popup-open] {
|
|
1858
2117
|
outline-color: oklch(var(--sui-focus) / 1)
|
|
1859
2118
|
}
|
|
@@ -1938,9 +2197,6 @@
|
|
|
1938
2197
|
content: var(--tw-content);
|
|
1939
2198
|
opacity: 0.05
|
|
1940
2199
|
}
|
|
1941
|
-
:where(.sui-scope).data-\[invalid\]\:focus-within\:bg-sherick-danger\/\[0\.13\]:focus-within[data-invalid] {
|
|
1942
|
-
background-color: oklch(var(--sui-danger) / 0.13)
|
|
1943
|
-
}
|
|
1944
2200
|
:where(.sui-scope).data-\[invalid\]\:hover\:bg-sherick-danger\/\[0\.10\]:hover[data-invalid] {
|
|
1945
2201
|
background-color: oklch(var(--sui-danger) / 0.10)
|
|
1946
2202
|
}
|
|
@@ -2069,6 +2325,10 @@
|
|
|
2069
2325
|
padding-inline-start: 1.75rem
|
|
2070
2326
|
}
|
|
2071
2327
|
}
|
|
2328
|
+
:where(.sui-scope).rtl\:-scale-x-100:where([dir="rtl"], [dir="rtl"] *) {
|
|
2329
|
+
--tw-scale-x: -1;
|
|
2330
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2331
|
+
}
|
|
2072
2332
|
:where(.sui-scope).rtl\:flex-row-reverse:where([dir="rtl"], [dir="rtl"] *) {
|
|
2073
2333
|
flex-direction: row-reverse
|
|
2074
2334
|
}
|
|
@@ -2076,9 +2336,18 @@
|
|
|
2076
2336
|
--tw-translate-x: -1.25rem;
|
|
2077
2337
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
|
|
2078
2338
|
}
|
|
2339
|
+
:where(.sui-scope).\[\&\&\]\:focus-within\:bg-sherick-surface-high\/\[0\.9\]:focus-within.\[\&\&\]\:focus-within\:bg-sherick-surface-high\/\[0\.9\]:focus-within {
|
|
2340
|
+
background-color: oklch(var(--sui-surface-high) / 0.9)
|
|
2341
|
+
}
|
|
2342
|
+
:where(.sui-scope).\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger\/\[0\.13\]:focus-within[data-invalid].\[\&\&\]\:data-\[invalid\]\:focus-within\:bg-sherick-danger\/\[0\.13\]:focus-within[data-invalid] {
|
|
2343
|
+
background-color: oklch(var(--sui-danger) / 0.13)
|
|
2344
|
+
}
|
|
2079
2345
|
:where(.sui-scope).\[\&\:has\(\+div\:not\(\[data-open\]\)\:hover\)\]\:opacity-0:has(+div:not([data-open]):hover) {
|
|
2080
2346
|
opacity: 0
|
|
2081
2347
|
}
|
|
2348
|
+
:where(.sui-scope).\[\&\:not\(\:first-child\)\]\:pt-1:not(:first-child) {
|
|
2349
|
+
padding-top: 0.25rem
|
|
2350
|
+
}
|
|
2082
2351
|
:where(.sui-scope).\[\&\:not\(\[data-disabled\]\)\:not\(\:disabled\)\]\:hover\:text-sherick-ink:hover:not([data-disabled]):not(:disabled) {
|
|
2083
2352
|
--tw-text-opacity: 1;
|
|
2084
2353
|
color: oklch(var(--sui-ink) / var(--tw-text-opacity, 1))
|
|
@@ -2126,9 +2395,65 @@
|
|
|
2126
2395
|
width: 1.25rem;
|
|
2127
2396
|
height: 1.25rem
|
|
2128
2397
|
}
|
|
2398
|
+
:where(.sui-scope).\[\&\>svg\]\:size-7>svg {
|
|
2399
|
+
width: 1.75rem;
|
|
2400
|
+
height: 1.75rem
|
|
2401
|
+
}
|
|
2129
2402
|
:where(.sui-scope).\[\&\[data-ending-style\]\:not\(\[data-swipe-direction\]\)\]\:\[transform\:translateY\(var\(--sui-toast-from-y\2c 150\%\)\)\][data-ending-style]:not([data-swipe-direction]) {
|
|
2130
2403
|
transform: translateY(var(--sui-toast-from-y,150%))
|
|
2131
2404
|
}
|
|
2405
|
+
:focus-visible>:where(.sui-scope).\[\:focus-visible\>\&\]\:ring-2 {
|
|
2406
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2407
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2408
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
|
|
2409
|
+
}
|
|
2410
|
+
:focus-visible>:where(.sui-scope).\[\:focus-visible\>\&\]\:ring-inset {
|
|
2411
|
+
--tw-ring-inset: inset
|
|
2412
|
+
}
|
|
2413
|
+
:focus-visible>:where(.sui-scope).\[\:focus-visible\>\&\]\:ring-sherick-focus {
|
|
2414
|
+
--tw-ring-opacity: 1;
|
|
2415
|
+
--tw-ring-color: oklch(var(--sui-focus) / var(--tw-ring-opacity, 1))
|
|
2416
|
+
}
|
|
2417
|
+
@container(min-width:32rem) {
|
|
2418
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:col-span-2 {
|
|
2419
|
+
grid-column: span 2 / span 2
|
|
2420
|
+
}
|
|
2421
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:flex {
|
|
2422
|
+
display: flex
|
|
2423
|
+
}
|
|
2424
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:hidden {
|
|
2425
|
+
display: none
|
|
2426
|
+
}
|
|
2427
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:h-1\.5 {
|
|
2428
|
+
height: 0.375rem
|
|
2429
|
+
}
|
|
2430
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:w-full {
|
|
2431
|
+
width: 100%
|
|
2432
|
+
}
|
|
2433
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:grid-cols-1 {
|
|
2434
|
+
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
2435
|
+
}
|
|
2436
|
+
:where(.sui-scope).\[\@container\(min-width\:32rem\)\]\:flex-row {
|
|
2437
|
+
flex-direction: row
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
@container(min-width:64rem) {
|
|
2441
|
+
:where(.sui-scope).\[\@container\(min-width\:64rem\)\]\:col-span-2 {
|
|
2442
|
+
grid-column: span 2 / span 2
|
|
2443
|
+
}
|
|
2444
|
+
:where(.sui-scope).\[\@container\(min-width\:64rem\)\]\:h-1\.5 {
|
|
2445
|
+
height: 0.375rem
|
|
2446
|
+
}
|
|
2447
|
+
:where(.sui-scope).\[\@container\(min-width\:64rem\)\]\:w-full {
|
|
2448
|
+
width: 100%
|
|
2449
|
+
}
|
|
2450
|
+
:where(.sui-scope).\[\@container\(min-width\:64rem\)\]\:grid-cols-1 {
|
|
2451
|
+
grid-template-columns: repeat(1, minmax(0, 1fr))
|
|
2452
|
+
}
|
|
2453
|
+
:where(.sui-scope).\[\@container\(min-width\:64rem\)\]\:flex-row {
|
|
2454
|
+
flex-direction: row
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2132
2457
|
[dir=rtl] :where(.sui-scope).\[\[dir\=rtl\]_\&\]\:\[--sui-indeterminate-direction\:-1\] {
|
|
2133
2458
|
--sui-indeterminate-direction: -1
|
|
2134
2459
|
}
|
|
@@ -2150,15 +2475,16 @@ div:not([data-open]):hover+:where(.sui-scope).\[div\:not\(\[data-open\]\)\:hover
|
|
|
2150
2475
|
border: 1px solid CanvasText;
|
|
2151
2476
|
}
|
|
2152
2477
|
|
|
2153
|
-
/*
|
|
2154
|
-
|
|
2155
|
-
toggle button — a chip or a segment. */
|
|
2478
|
+
/* Selection carried by tone or depth alone needs a boundary once forced colors flattens
|
|
2479
|
+
both. Calendar days and tree rows keep that boundary on the selected target, not its group. */
|
|
2156
2480
|
:where(.sui-scope)[role="switch"][aria-checked="true"]:not(:focus-visible),
|
|
2157
2481
|
:where(.sui-scope)[role="tab"][aria-selected="true"]:not(:focus-visible),
|
|
2158
2482
|
:where(.sui-scope)[role="checkbox"][aria-checked="true"]:not(:focus-visible),
|
|
2159
2483
|
:where(.sui-scope)[role="checkbox"][aria-checked="mixed"]:not(:focus-visible),
|
|
2160
2484
|
:where(.sui-scope)[role="radio"][aria-checked="true"]:not(:focus-visible),
|
|
2161
|
-
:where(.sui-scope)[aria-pressed="true"]:not(:focus-visible)
|
|
2485
|
+
:where(.sui-scope)[aria-pressed="true"]:not(:focus-visible),
|
|
2486
|
+
:where(.sui-scope)[role="gridcell"][aria-selected="true"] > :where(.sui-scope)[data-day]:not(:focus-visible),
|
|
2487
|
+
:where(.sui-scope)[data-sui-tree-value][aria-selected="true"]:not(:focus-visible) > :where(.sui-scope):first-child {
|
|
2162
2488
|
outline: 1px solid Highlight;
|
|
2163
2489
|
outline-offset: -2px;
|
|
2164
2490
|
}
|
|
@@ -2194,4 +2520,20 @@ div:not([data-open]):hover+:where(.sui-scope).\[div\:not\(\[data-open\]\)\:hover
|
|
|
2194
2520
|
outline: 2px solid Highlight;
|
|
2195
2521
|
outline-offset: 2px;
|
|
2196
2522
|
}
|
|
2523
|
+
|
|
2524
|
+
/* A tree's focus owner contains its descendants. Match parentFocusRingInset: only the
|
|
2525
|
+
direct row gets the boundary, and focus takes precedence over its selection outline.
|
|
2526
|
+
Also remove inactive options' transparent utility outlines, which forced colors makes
|
|
2527
|
+
opaque: only the active descendant should acquire a keyboard-target boundary. */
|
|
2528
|
+
:where(.sui-scope)[data-sui-tree-value],
|
|
2529
|
+
:where(.sui-scope)[role="option"]:not([data-highlighted]):not(:focus-visible) {
|
|
2530
|
+
outline: none;
|
|
2531
|
+
}
|
|
2532
|
+
:where(.sui-scope)[data-sui-tree-value]:focus-visible > :where(.sui-scope):first-child,
|
|
2533
|
+
/* Autocomplete keeps focus in its input; the highlighted option is still Enter's target,
|
|
2534
|
+
including a disabled-but-navigable option. Do not gate this on availability. */
|
|
2535
|
+
:where(.sui-scope)[role="option"][data-highlighted]:not(:focus-visible) {
|
|
2536
|
+
outline: 2px solid Highlight;
|
|
2537
|
+
outline-offset: -2px;
|
|
2538
|
+
}
|
|
2197
2539
|
}
|