@duskmoon-dev/core 1.15.0 → 1.16.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/dist/cjs/tailwind-plugin.cjs +38 -79
- package/dist/components/accordion.css +7 -7
- package/dist/components/alert.css +2 -2
- package/dist/components/appbar.css +5 -5
- package/dist/components/autocomplete.css +7 -7
- package/dist/components/avatar.css +5 -5
- package/dist/components/badge.css +3 -3
- package/dist/components/bottom-navigation.css +7 -7
- package/dist/components/bottomsheet.css +12 -12
- package/dist/components/button.css +19 -19
- package/dist/components/card.css +9 -2
- package/dist/components/cascader.css +9 -9
- package/dist/components/checkbox.css +1 -1
- package/dist/components/chip.css +12 -10
- package/dist/components/circle-menu.css +324 -0
- package/dist/components/code-block.css +133 -0
- package/dist/components/collapse.css +9 -9
- package/dist/components/datepicker.css +22 -22
- package/dist/components/dialog.css +5 -5
- package/dist/components/drawer.css +13 -13
- package/dist/components/file-upload.css +12 -12
- package/dist/components/form-group.css +162 -1
- package/dist/components/form.css +159 -22
- package/dist/components/index.css +1026 -385
- package/dist/components/input.css +23 -14
- package/dist/components/list.css +3 -3
- package/dist/components/markdown-body.css +6 -6
- package/dist/components/modal.css +7 -7
- package/dist/components/multi-select.css +16 -16
- package/dist/components/navigation.css +20 -20
- package/dist/components/nested-menu.css +5 -5
- package/dist/components/otp-input.css +5 -5
- package/dist/components/pin-input.css +5 -5
- package/dist/components/popover.css +15 -15
- package/dist/components/progress.css +2 -2
- package/dist/components/radio.css +2 -2
- package/dist/components/rating.css +1 -1
- package/dist/components/segment-control.css +6 -6
- package/dist/components/select.css +7 -7
- package/dist/components/skeleton.css +11 -11
- package/dist/components/slider.css +16 -16
- package/dist/components/snackbar.css +5 -5
- package/dist/components/stepper.css +9 -9
- package/dist/components/switch.css +1 -1
- package/dist/components/table.css +3 -3
- package/dist/components/textarea.css +5 -5
- package/dist/components/theme-controller.css +4 -4
- package/dist/components/time-input.css +10 -10
- package/dist/components/timeline.css +6 -6
- package/dist/components/toast.css +3 -3
- package/dist/components/toggle.css +8 -8
- package/dist/components/tooltip.css +1 -1
- package/dist/components/tree-select.css +14 -14
- package/dist/esm/components/accordion.js +7 -7
- package/dist/esm/components/alert.js +2 -2
- package/dist/esm/components/appbar.js +5 -5
- package/dist/esm/components/autocomplete.js +7 -7
- package/dist/esm/components/avatar.js +5 -5
- package/dist/esm/components/badge.js +3 -3
- package/dist/esm/components/bottom-navigation.js +7 -7
- package/dist/esm/components/bottomsheet.js +12 -12
- package/dist/esm/components/button.js +19 -19
- package/dist/esm/components/card.js +9 -2
- package/dist/esm/components/cascader.js +9 -9
- package/dist/esm/components/checkbox.js +1 -1
- package/dist/esm/components/chip.js +12 -10
- package/dist/esm/components/circle-menu.js +331 -0
- package/dist/esm/components/code-block.js +140 -0
- package/dist/esm/components/collapse.js +9 -9
- package/dist/esm/components/datepicker.js +22 -22
- package/dist/esm/components/dialog.js +5 -5
- package/dist/esm/components/drawer.js +13 -13
- package/dist/esm/components/file-upload.js +12 -12
- package/dist/esm/components/form-group.js +162 -1
- package/dist/esm/components/form.js +159 -22
- package/dist/esm/components/input.js +23 -14
- package/dist/esm/components/list.js +3 -3
- package/dist/esm/components/markdown-body.js +6 -6
- package/dist/esm/components/modal.js +7 -7
- package/dist/esm/components/multi-select.js +16 -16
- package/dist/esm/components/navigation.js +20 -20
- package/dist/esm/components/nested-menu.js +5 -5
- package/dist/esm/components/otp-input.js +5 -5
- package/dist/esm/components/pin-input.js +5 -5
- package/dist/esm/components/popover.js +15 -15
- package/dist/esm/components/progress.js +2 -2
- package/dist/esm/components/radio.js +2 -2
- package/dist/esm/components/rating.js +1 -1
- package/dist/esm/components/segment-control.js +6 -6
- package/dist/esm/components/select.js +7 -7
- package/dist/esm/components/skeleton.js +11 -11
- package/dist/esm/components/slider.js +16 -16
- package/dist/esm/components/snackbar.js +5 -5
- package/dist/esm/components/stepper.js +9 -9
- package/dist/esm/components/switch.js +1 -1
- package/dist/esm/components/table.js +3 -3
- package/dist/esm/components/textarea.js +5 -5
- package/dist/esm/components/theme-controller.js +4 -4
- package/dist/esm/components/time-input.js +10 -10
- package/dist/esm/components/timeline.js +6 -6
- package/dist/esm/components/toast.js +3 -3
- package/dist/esm/components/toggle.js +8 -8
- package/dist/esm/components/tooltip.js +1 -1
- package/dist/esm/components/tree-select.js +14 -14
- package/dist/esm/tailwind-plugin.js +38 -79
- package/dist/index.css +1435 -1137
- package/dist/index.min.css +1 -1
- package/dist/themes/{forest.css → generated/forest.css} +26 -94
- package/dist/themes/generated/moonlight.css +77 -0
- package/dist/themes/{ocean.css → generated/ocean.css} +26 -103
- package/dist/themes/generated/spacing.css +36 -0
- package/dist/themes/{sunset.css → generated/sunset.css} +26 -95
- package/dist/themes/generated/sunshine.css +77 -0
- package/dist/types/tailwind-plugin.d.ts +1 -0
- package/dist/types/tailwind-plugin.d.ts.map +1 -1
- package/dist/types/themes/generated/ts/types.d.ts +76 -0
- package/dist/types/themes/generated/ts/types.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/plugin.d.ts +1 -1
- package/dist/types/types/plugin.d.ts.map +1 -1
- package/dist/types/types/theme.d.ts +5 -152
- package/dist/types/types/theme.d.ts.map +1 -1
- package/package.json +11 -6
- package/dist/themes/moonlight.css +0 -271
- package/dist/themes/sunshine.css +0 -252
|
@@ -65,7 +65,7 @@ export const css = `/**
|
|
|
65
65
|
font-size: 0.875rem;
|
|
66
66
|
color: var(--color-on-surface);
|
|
67
67
|
text-decoration: none;
|
|
68
|
-
border-radius:
|
|
68
|
+
border-radius: var(--radius-sm);
|
|
69
69
|
cursor: pointer;
|
|
70
70
|
transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
|
|
71
71
|
white-space: nowrap;
|
|
@@ -80,8 +80,8 @@ export const css = `/**
|
|
|
80
80
|
.menu li > a:focus-visible,
|
|
81
81
|
.menu li > button:focus-visible,
|
|
82
82
|
.menu-item:focus-visible {
|
|
83
|
-
outline:
|
|
84
|
-
|
|
83
|
+
outline: none;
|
|
84
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.menu li > a.active,
|
|
@@ -217,9 +217,9 @@ export const css = `/**
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.breadcrumb-link:focus-visible {
|
|
220
|
-
outline:
|
|
221
|
-
|
|
222
|
-
border-radius:
|
|
220
|
+
outline: none;
|
|
221
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
222
|
+
border-radius: var(--radius-xs);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
/* Separator - Default shows "/" */
|
|
@@ -301,7 +301,7 @@ export const css = `/**
|
|
|
301
301
|
color: var(--color-on-surface-variant);
|
|
302
302
|
background-color: transparent;
|
|
303
303
|
border: none;
|
|
304
|
-
border-radius:
|
|
304
|
+
border-radius: var(--radius-xs);
|
|
305
305
|
cursor: pointer;
|
|
306
306
|
transition: background-color 150ms ease-in-out;
|
|
307
307
|
}
|
|
@@ -357,7 +357,7 @@ export const css = `/**
|
|
|
357
357
|
.breadcrumbs-contained {
|
|
358
358
|
padding: 0.75rem 1rem;
|
|
359
359
|
background-color: var(--color-surface-container);
|
|
360
|
-
border-radius:
|
|
360
|
+
border-radius: var(--radius-sm);
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
/* No Wrap Variant */
|
|
@@ -406,8 +406,8 @@ export const css = `/**
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
.tab:focus-visible {
|
|
409
|
-
outline:
|
|
410
|
-
|
|
409
|
+
outline: none;
|
|
410
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
.tab.tab-active,
|
|
@@ -424,13 +424,13 @@ export const css = `/**
|
|
|
424
424
|
/* Tabs Boxed */
|
|
425
425
|
.tabs-boxed {
|
|
426
426
|
background-color: var(--color-surface-container);
|
|
427
|
-
border-radius:
|
|
427
|
+
border-radius: var(--radius-sm);
|
|
428
428
|
padding: 0.25rem;
|
|
429
429
|
border: none;
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.tabs-boxed .tab {
|
|
433
|
-
border-radius:
|
|
433
|
+
border-radius: var(--radius-xs);
|
|
434
434
|
border-bottom: none;
|
|
435
435
|
margin-bottom: 0;
|
|
436
436
|
}
|
|
@@ -450,7 +450,7 @@ export const css = `/**
|
|
|
450
450
|
.tabs-lifted .tab {
|
|
451
451
|
border: 1px solid transparent;
|
|
452
452
|
border-bottom: none;
|
|
453
|
-
border-radius:
|
|
453
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
454
454
|
margin-bottom: -1px;
|
|
455
455
|
}
|
|
456
456
|
|
|
@@ -490,7 +490,7 @@ export const css = `/**
|
|
|
490
490
|
padding: 0.5rem;
|
|
491
491
|
background-color: var(--color-surface);
|
|
492
492
|
border: 1px solid var(--color-outline);
|
|
493
|
-
border-radius:
|
|
493
|
+
border-radius: var(--radius-sm);
|
|
494
494
|
box-shadow: var(--shadow-lg);
|
|
495
495
|
opacity: 0;
|
|
496
496
|
visibility: hidden;
|
|
@@ -557,7 +557,7 @@ export const css = `/**
|
|
|
557
557
|
color: var(--color-on-surface);
|
|
558
558
|
background-color: transparent;
|
|
559
559
|
border: 1px solid var(--color-outline);
|
|
560
|
-
border-radius:
|
|
560
|
+
border-radius: var(--radius-sm);
|
|
561
561
|
cursor: pointer;
|
|
562
562
|
transition: all 150ms ease-in-out;
|
|
563
563
|
white-space: nowrap;
|
|
@@ -599,8 +599,8 @@ export const css = `/**
|
|
|
599
599
|
.pagination-next:focus-visible,
|
|
600
600
|
.pagination li > a:focus-visible,
|
|
601
601
|
.pagination li > button:focus-visible {
|
|
602
|
-
outline:
|
|
603
|
-
|
|
602
|
+
outline: none;
|
|
603
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
.pagination-item:disabled,
|
|
@@ -658,7 +658,7 @@ export const css = `/**
|
|
|
658
658
|
color: var(--color-on-surface);
|
|
659
659
|
background-color: var(--color-surface);
|
|
660
660
|
border: 1px solid var(--color-outline);
|
|
661
|
-
border-radius:
|
|
661
|
+
border-radius: var(--radius-xs);
|
|
662
662
|
}
|
|
663
663
|
|
|
664
664
|
.pagination-input input:focus {
|
|
@@ -712,12 +712,12 @@ export const css = `/**
|
|
|
712
712
|
|
|
713
713
|
.pagination-compact .pagination-item:first-child,
|
|
714
714
|
.pagination-compact .pagination-prev {
|
|
715
|
-
border-radius:
|
|
715
|
+
border-radius: var(--radius-sm) 0 0 var(--radius-sm);
|
|
716
716
|
}
|
|
717
717
|
|
|
718
718
|
.pagination-compact .pagination-item:last-child,
|
|
719
719
|
.pagination-compact .pagination-next {
|
|
720
|
-
border-radius: 0
|
|
720
|
+
border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
|
|
721
721
|
}
|
|
722
722
|
|
|
723
723
|
/* Pagination Responsive */
|
|
@@ -62,8 +62,8 @@ export const css = `/**
|
|
|
62
62
|
|
|
63
63
|
.nested-menu li > a:focus-visible,
|
|
64
64
|
.nested-menu li > button:focus-visible {
|
|
65
|
-
outline:
|
|
66
|
-
|
|
65
|
+
outline: none;
|
|
66
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* Active state */
|
|
@@ -127,8 +127,8 @@ export const css = `/**
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.nested-menu summary:focus-visible {
|
|
130
|
-
outline:
|
|
131
|
-
|
|
130
|
+
outline: none;
|
|
131
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
/* Chevron indicator */
|
|
@@ -224,7 +224,7 @@ export const css = `/**
|
|
|
224
224
|
background-color: var(--color-surface);
|
|
225
225
|
border: 1px solid var(--color-outline-variant);
|
|
226
226
|
border-radius: var(--radius-card, 0.75rem);
|
|
227
|
-
box-shadow: var(--shadow-sm
|
|
227
|
+
box-shadow: var(--shadow-sm);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/* Compact — tighter padding throughout */
|
|
@@ -23,7 +23,7 @@ export const css = `/**
|
|
|
23
23
|
color: var(--color-on-surface);
|
|
24
24
|
background-color: var(--color-surface);
|
|
25
25
|
border: 2px solid currentColor;
|
|
26
|
-
border-radius:
|
|
26
|
+
border-radius: var(--radius-sm);
|
|
27
27
|
outline: none;
|
|
28
28
|
transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
|
|
29
29
|
caret-color: var(--color-primary);
|
|
@@ -62,7 +62,7 @@ export const css = `/**
|
|
|
62
62
|
width: 1rem;
|
|
63
63
|
height: 0.25rem;
|
|
64
64
|
background-color: var(--color-outline);
|
|
65
|
-
border-radius:
|
|
65
|
+
border-radius: var(--radius-xs);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/* Size Variants */
|
|
@@ -70,14 +70,14 @@ export const css = `/**
|
|
|
70
70
|
width: 2.5rem;
|
|
71
71
|
height: 3rem;
|
|
72
72
|
font-size: 1.25rem;
|
|
73
|
-
border-radius:
|
|
73
|
+
border-radius: var(--radius-xs);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.otp-input-lg .otp-input-field {
|
|
77
77
|
width: 3.5rem;
|
|
78
78
|
height: 4rem;
|
|
79
79
|
font-size: 1.75rem;
|
|
80
|
-
border-radius:
|
|
80
|
+
border-radius: var(--radius-sm);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* Compact Gap */
|
|
@@ -95,7 +95,7 @@ export const css = `/**
|
|
|
95
95
|
background-color: var(--color-surface-container);
|
|
96
96
|
border: none;
|
|
97
97
|
border-bottom: 2px solid var(--color-outline);
|
|
98
|
-
border-radius:
|
|
98
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.otp-input-filled .otp-input-field:focus {
|
|
@@ -23,7 +23,7 @@ export const css = `/**
|
|
|
23
23
|
color: var(--color-on-surface);
|
|
24
24
|
background-color: var(--color-surface);
|
|
25
25
|
border: 2px solid currentColor;
|
|
26
|
-
border-radius:
|
|
26
|
+
border-radius: var(--radius-sm);
|
|
27
27
|
outline: none;
|
|
28
28
|
transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
|
|
29
29
|
caret-color: var(--color-primary);
|
|
@@ -59,14 +59,14 @@ export const css = `/**
|
|
|
59
59
|
width: 2.5rem;
|
|
60
60
|
height: 3rem;
|
|
61
61
|
font-size: 1.25rem;
|
|
62
|
-
border-radius:
|
|
62
|
+
border-radius: var(--radius-xs);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.pin-input-lg .pin-input-field {
|
|
66
66
|
width: 3.5rem;
|
|
67
67
|
height: 4rem;
|
|
68
68
|
font-size: 1.75rem;
|
|
69
|
-
border-radius:
|
|
69
|
+
border-radius: var(--radius-sm);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* Compact Gap */
|
|
@@ -79,7 +79,7 @@ export const css = `/**
|
|
|
79
79
|
background-color: var(--color-surface-container);
|
|
80
80
|
border: none;
|
|
81
81
|
border-bottom: 2px solid var(--color-outline);
|
|
82
|
-
border-radius:
|
|
82
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.pin-input-filled .pin-input-field:focus {
|
|
@@ -91,7 +91,7 @@ export const css = `/**
|
|
|
91
91
|
.pin-input-circle .pin-input-field {
|
|
92
92
|
width: 3rem;
|
|
93
93
|
height: 3rem;
|
|
94
|
-
border-radius:
|
|
94
|
+
border-radius: var(--radius-full);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.pin-input-circle.pin-input-sm .pin-input-field {
|
|
@@ -20,7 +20,7 @@ export const css = `/**
|
|
|
20
20
|
padding: 1rem;
|
|
21
21
|
background-color: var(--color-surface);
|
|
22
22
|
border: 1px solid var(--color-outline-variant);
|
|
23
|
-
border-radius:
|
|
23
|
+
border-radius: var(--radius-md);
|
|
24
24
|
box-shadow: var(--shadow-lg);
|
|
25
25
|
opacity: 0;
|
|
26
26
|
visibility: hidden;
|
|
@@ -55,7 +55,7 @@ export const css = `/**
|
|
|
55
55
|
padding: 1rem;
|
|
56
56
|
background-color: var(--color-surface);
|
|
57
57
|
border: 1px solid var(--color-outline-variant);
|
|
58
|
-
border-radius:
|
|
58
|
+
border-radius: var(--radius-md);
|
|
59
59
|
box-shadow: var(--shadow-lg);
|
|
60
60
|
opacity: 0;
|
|
61
61
|
visibility: hidden;
|
|
@@ -221,7 +221,7 @@ export const css = `/**
|
|
|
221
221
|
color: var(--color-on-surface-variant);
|
|
222
222
|
background-color: transparent;
|
|
223
223
|
border: none;
|
|
224
|
-
border-radius:
|
|
224
|
+
border-radius: var(--radius-xs);
|
|
225
225
|
cursor: pointer;
|
|
226
226
|
transition: background-color 150ms ease-in-out;
|
|
227
227
|
}
|
|
@@ -231,8 +231,8 @@ export const css = `/**
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.popover-close:focus-visible {
|
|
234
|
-
outline:
|
|
235
|
-
|
|
234
|
+
outline: none;
|
|
235
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* Popover Body */
|
|
@@ -454,7 +454,7 @@ export const css = `/**
|
|
|
454
454
|
color: var(--color-on-surface);
|
|
455
455
|
background-color: transparent;
|
|
456
456
|
border: none;
|
|
457
|
-
border-radius:
|
|
457
|
+
border-radius: var(--radius-sm);
|
|
458
458
|
cursor: pointer;
|
|
459
459
|
text-align: left;
|
|
460
460
|
transition: background-color 150ms ease-in-out;
|
|
@@ -465,8 +465,8 @@ export const css = `/**
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
.popover-menu-item:focus-visible {
|
|
468
|
-
outline:
|
|
469
|
-
|
|
468
|
+
outline: none;
|
|
469
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
.popover-menu-item-icon {
|
|
@@ -509,7 +509,7 @@ export const css = `/**
|
|
|
509
509
|
margin: 0;
|
|
510
510
|
background-color: var(--color-surface);
|
|
511
511
|
border: 1px solid var(--color-outline-variant);
|
|
512
|
-
border-radius:
|
|
512
|
+
border-radius: var(--radius-md);
|
|
513
513
|
box-shadow: var(--shadow-lg);
|
|
514
514
|
opacity: 0;
|
|
515
515
|
transform: scale(0.95);
|
|
@@ -533,33 +533,33 @@ export const css = `/**
|
|
|
533
533
|
|
|
534
534
|
/* Native popover backdrop */
|
|
535
535
|
.popover[popover]::backdrop {
|
|
536
|
-
background-color:
|
|
536
|
+
background-color: transparent;
|
|
537
537
|
transition: background-color 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.popover[popover]:popover-open::backdrop {
|
|
541
|
-
background-color:
|
|
541
|
+
background-color: color-mix(in srgb, var(--color-scrim) 10%, transparent);
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
@starting-style {
|
|
545
545
|
.popover[popover]:popover-open::backdrop {
|
|
546
|
-
background-color:
|
|
546
|
+
background-color: transparent;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/* Native popover with modal backdrop */
|
|
551
551
|
.popover-modal[popover]::backdrop {
|
|
552
|
-
background-color:
|
|
552
|
+
background-color: transparent;
|
|
553
553
|
transition: background-color 150ms ease-out, overlay 150ms ease-out allow-discrete, display 150ms ease-out allow-discrete;
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.popover-modal[popover]:popover-open::backdrop {
|
|
557
|
-
background-color:
|
|
557
|
+
background-color: color-mix(in srgb, var(--color-scrim) 30%, transparent);
|
|
558
558
|
}
|
|
559
559
|
|
|
560
560
|
@starting-style {
|
|
561
561
|
.popover-modal[popover]:popover-open::backdrop {
|
|
562
|
-
background-color:
|
|
562
|
+
background-color: transparent;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
|
|
@@ -11,7 +11,7 @@ export const css = `/**
|
|
|
11
11
|
width: 100%;
|
|
12
12
|
height: 0.5rem;
|
|
13
13
|
background-color: var(--color-surface-container-highest);
|
|
14
|
-
border-radius:
|
|
14
|
+
border-radius: var(--radius-full);
|
|
15
15
|
overflow: hidden;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -22,7 +22,7 @@ export const css = `/**
|
|
|
22
22
|
left: 0;
|
|
23
23
|
height: 100%;
|
|
24
24
|
background-color: var(--color-primary);
|
|
25
|
-
border-radius:
|
|
25
|
+
border-radius: var(--radius-full);
|
|
26
26
|
transition: width 300ms ease-in-out;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -25,7 +25,7 @@ export const css = `/**
|
|
|
25
25
|
appearance: none;
|
|
26
26
|
background-color: transparent;
|
|
27
27
|
border: 2px solid var(--radio-border-color);
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius-full);
|
|
29
29
|
transition: border-color 150ms ease-in-out;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -34,7 +34,7 @@ export const css = `/**
|
|
|
34
34
|
content: "";
|
|
35
35
|
width: 0.5em;
|
|
36
36
|
height: 0.5em;
|
|
37
|
-
border-radius:
|
|
37
|
+
border-radius: var(--radius-full);
|
|
38
38
|
background-color: var(--radio-color);
|
|
39
39
|
transform: scale(0);
|
|
40
40
|
transition: transform 150ms ease-in-out;
|
|
@@ -184,7 +184,7 @@ export const css = `/**
|
|
|
184
184
|
.rating-item:focus-visible {
|
|
185
185
|
outline: none;
|
|
186
186
|
box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-warning) 20%, transparent);
|
|
187
|
-
border-radius:
|
|
187
|
+
border-radius: var(--radius-xs);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.rating-primary .rating-item:focus-visible { box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-primary) 20%, transparent); }
|
|
@@ -12,7 +12,7 @@ export const css = `/**
|
|
|
12
12
|
color: var(--color-on-surface);
|
|
13
13
|
background-color: var(--color-surface-container);
|
|
14
14
|
border: 1px solid var(--color-outline);
|
|
15
|
-
border-radius:
|
|
15
|
+
border-radius: var(--radius-xl);
|
|
16
16
|
padding: 0.25rem;
|
|
17
17
|
gap: 0.25rem;
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ export const css = `/**
|
|
|
31
31
|
color: var(--color-on-surface);
|
|
32
32
|
background-color: transparent;
|
|
33
33
|
border: none;
|
|
34
|
-
border-radius:
|
|
34
|
+
border-radius: var(--radius-lg);
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
|
|
37
37
|
user-select: none;
|
|
@@ -75,27 +75,27 @@ export const css = `/**
|
|
|
75
75
|
.segment-control-sm {
|
|
76
76
|
padding: 0.125rem;
|
|
77
77
|
gap: 0.125rem;
|
|
78
|
-
border-radius:
|
|
78
|
+
border-radius: var(--radius-lg);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.segment-control-sm .segment-item {
|
|
82
82
|
padding: 0.375rem 0.75rem;
|
|
83
83
|
font-size: 0.75rem;
|
|
84
84
|
line-height: 1rem;
|
|
85
|
-
border-radius:
|
|
85
|
+
border-radius: var(--radius-md);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.segment-control-lg {
|
|
89
89
|
padding: 0.375rem;
|
|
90
90
|
gap: 0.375rem;
|
|
91
|
-
border-radius:
|
|
91
|
+
border-radius: var(--radius-2xl);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.segment-control-lg .segment-item {
|
|
95
95
|
padding: 0.75rem 1.5rem;
|
|
96
96
|
font-size: 1rem;
|
|
97
97
|
line-height: 1.5rem;
|
|
98
|
-
border-radius:
|
|
98
|
+
border-radius: var(--radius-xl);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/* Color Variants */
|
|
@@ -15,7 +15,7 @@ export const css = `/**
|
|
|
15
15
|
color: var(--color-on-surface);
|
|
16
16
|
background-color: var(--color-surface);
|
|
17
17
|
border: 1px solid currentColor;
|
|
18
|
-
border-radius:
|
|
18
|
+
border-radius: var(--radius-sm);
|
|
19
19
|
outline: none;
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
appearance: none;
|
|
@@ -49,7 +49,7 @@ export const css = `/**
|
|
|
49
49
|
background-color: var(--color-surface-container);
|
|
50
50
|
border: none;
|
|
51
51
|
border-bottom: 2px solid var(--color-outline);
|
|
52
|
-
border-radius:
|
|
52
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.select-filled:hover:not(:disabled) {
|
|
@@ -74,7 +74,7 @@ export const css = `/**
|
|
|
74
74
|
.select-outlined {
|
|
75
75
|
background-color: transparent;
|
|
76
76
|
border: 1px solid var(--color-outline);
|
|
77
|
-
border-radius:
|
|
77
|
+
border-radius: var(--radius-sm);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/* Color Variants — base .select:focus-visible uses currentColor 20%, so no per-variant
|
|
@@ -94,7 +94,7 @@ export const css = `/**
|
|
|
94
94
|
padding: 0.375rem 2rem 0.375rem 0.625rem;
|
|
95
95
|
font-size: 0.75rem;
|
|
96
96
|
line-height: 1rem;
|
|
97
|
-
border-radius:
|
|
97
|
+
border-radius: var(--radius-xs);
|
|
98
98
|
background-size: 1rem 1rem;
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ export const css = `/**
|
|
|
102
102
|
padding: 0.5rem 2.25rem 0.5rem 0.75rem;
|
|
103
103
|
font-size: 0.875rem;
|
|
104
104
|
line-height: 1.25rem;
|
|
105
|
-
border-radius:
|
|
105
|
+
border-radius: var(--radius-xs);
|
|
106
106
|
background-size: 1.125rem 1.125rem;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ export const css = `/**
|
|
|
110
110
|
padding: 1rem 3rem 1rem 1.25rem;
|
|
111
111
|
font-size: 1.125rem;
|
|
112
112
|
line-height: 1.75rem;
|
|
113
|
-
border-radius:
|
|
113
|
+
border-radius: var(--radius-sm);
|
|
114
114
|
background-size: 1.5rem 1.5rem;
|
|
115
115
|
background-position: right 1rem center;
|
|
116
116
|
}
|
|
@@ -156,7 +156,7 @@ export const css = `/**
|
|
|
156
156
|
|
|
157
157
|
.select-multiple option {
|
|
158
158
|
padding: 0.5rem 0.75rem;
|
|
159
|
-
border-radius:
|
|
159
|
+
border-radius: var(--radius-xs);
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.select-multiple option:checked {
|
|
@@ -8,7 +8,7 @@ export const css = `/**
|
|
|
8
8
|
/* Base Skeleton */
|
|
9
9
|
.skeleton {
|
|
10
10
|
background-color: var(--color-surface-container-high);
|
|
11
|
-
border-radius:
|
|
11
|
+
border-radius: var(--radius-xs);
|
|
12
12
|
animation: skeleton-pulse 2s ease-in-out infinite;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,20 +16,20 @@ export const css = `/**
|
|
|
16
16
|
.skeleton-text {
|
|
17
17
|
height: 1rem;
|
|
18
18
|
width: 100%;
|
|
19
|
-
border-radius:
|
|
19
|
+
border-radius: var(--radius-xs);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.skeleton-circle {
|
|
23
|
-
border-radius:
|
|
23
|
+
border-radius: var(--radius-full);
|
|
24
24
|
aspect-ratio: 1;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.skeleton-rect {
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius-sm);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.skeleton-rounded {
|
|
32
|
-
border-radius:
|
|
32
|
+
border-radius: var(--radius-sm);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* Size Variants */
|
|
@@ -57,7 +57,7 @@ export const css = `/**
|
|
|
57
57
|
.skeleton-avatar {
|
|
58
58
|
width: 3rem;
|
|
59
59
|
height: 3rem;
|
|
60
|
-
border-radius:
|
|
60
|
+
border-radius: var(--radius-full);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.skeleton-avatar-sm {
|
|
@@ -73,18 +73,18 @@ export const css = `/**
|
|
|
73
73
|
.skeleton-button {
|
|
74
74
|
height: 2.5rem;
|
|
75
75
|
width: 6rem;
|
|
76
|
-
border-radius:
|
|
76
|
+
border-radius: var(--radius-sm);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.skeleton-image {
|
|
80
80
|
aspect-ratio: 16 / 9;
|
|
81
81
|
width: 100%;
|
|
82
|
-
border-radius:
|
|
82
|
+
border-radius: var(--radius-sm);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
.skeleton-card {
|
|
86
86
|
width: 100%;
|
|
87
|
-
border-radius:
|
|
87
|
+
border-radius: var(--radius-lg);
|
|
88
88
|
padding: 1rem;
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -93,7 +93,7 @@ export const css = `/**
|
|
|
93
93
|
height: 0.875rem;
|
|
94
94
|
width: 100%;
|
|
95
95
|
margin-bottom: 0.5rem;
|
|
96
|
-
border-radius:
|
|
96
|
+
border-radius: var(--radius-xs);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.skeleton-line:last-child {
|
|
@@ -187,7 +187,7 @@ export const css = `/**
|
|
|
187
187
|
.skeleton-table-cell {
|
|
188
188
|
flex: 1;
|
|
189
189
|
height: 1rem;
|
|
190
|
-
border-radius:
|
|
190
|
+
border-radius: var(--radius-xs);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/* List Skeleton */
|