@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
|
@@ -10,7 +10,7 @@ export const css = `/**
|
|
|
10
10
|
position: fixed;
|
|
11
11
|
inset: 0;
|
|
12
12
|
z-index: 1100;
|
|
13
|
-
background-color:
|
|
13
|
+
background-color: color-mix(in srgb, var(--color-scrim) 50%, transparent);
|
|
14
14
|
opacity: 0;
|
|
15
15
|
visibility: hidden;
|
|
16
16
|
transition: opacity 300ms ease-out, visibility 300ms ease-out;
|
|
@@ -32,8 +32,8 @@ export const css = `/**
|
|
|
32
32
|
flex-direction: column;
|
|
33
33
|
max-height: 90vh;
|
|
34
34
|
background-color: var(--color-surface);
|
|
35
|
-
border-radius:
|
|
36
|
-
box-shadow: 0 -25px 50px -12px
|
|
35
|
+
border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
|
|
36
|
+
box-shadow: 0 -25px 50px -12px color-mix(in srgb, var(--color-shadow) 25%, transparent);
|
|
37
37
|
transform: translateY(100%);
|
|
38
38
|
transition: transform 300ms ease-out;
|
|
39
39
|
padding-bottom: env(safe-area-inset-bottom, 0);
|
|
@@ -57,7 +57,7 @@ export const css = `/**
|
|
|
57
57
|
width: 2rem;
|
|
58
58
|
height: 0.25rem;
|
|
59
59
|
background-color: var(--color-outline-variant);
|
|
60
|
-
border-radius:
|
|
60
|
+
border-radius: var(--radius-full);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.bottomsheet-handle:active {
|
|
@@ -89,7 +89,7 @@ export const css = `/**
|
|
|
89
89
|
color: var(--color-on-surface-variant);
|
|
90
90
|
background-color: transparent;
|
|
91
91
|
border: none;
|
|
92
|
-
border-radius:
|
|
92
|
+
border-radius: var(--radius-full);
|
|
93
93
|
cursor: pointer;
|
|
94
94
|
transition: background-color 150ms ease-in-out;
|
|
95
95
|
}
|
|
@@ -99,8 +99,8 @@ export const css = `/**
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.bottomsheet-close:focus-visible {
|
|
102
|
-
outline:
|
|
103
|
-
|
|
102
|
+
outline: none;
|
|
103
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, currentColor 20%, transparent);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* Bottom Sheet Content */
|
|
@@ -204,7 +204,7 @@ export const css = `/**
|
|
|
204
204
|
color: var(--color-on-surface);
|
|
205
205
|
background-color: transparent;
|
|
206
206
|
border: none;
|
|
207
|
-
border-radius:
|
|
207
|
+
border-radius: var(--radius-md);
|
|
208
208
|
cursor: pointer;
|
|
209
209
|
transition: background-color 150ms ease-in-out;
|
|
210
210
|
}
|
|
@@ -221,7 +221,7 @@ export const css = `/**
|
|
|
221
221
|
height: 3rem;
|
|
222
222
|
font-size: 1.5rem;
|
|
223
223
|
background-color: var(--color-surface-container-high);
|
|
224
|
-
border-radius:
|
|
224
|
+
border-radius: var(--radius-full);
|
|
225
225
|
color: var(--color-on-surface-variant);
|
|
226
226
|
}
|
|
227
227
|
|
|
@@ -243,7 +243,7 @@ export const css = `/**
|
|
|
243
243
|
/* Persistent (non-modal) */
|
|
244
244
|
.bottomsheet-persistent {
|
|
245
245
|
position: absolute;
|
|
246
|
-
box-shadow: 0 -4px 6px -1px
|
|
246
|
+
box-shadow: 0 -4px 6px -1px color-mix(in srgb, var(--color-shadow) 10%, transparent);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
/* Expandable Heights */
|
|
@@ -274,7 +274,7 @@ export const css = `/**
|
|
|
274
274
|
width: 0.25rem;
|
|
275
275
|
height: 1rem;
|
|
276
276
|
background-color: var(--color-outline-variant);
|
|
277
|
-
border-radius:
|
|
277
|
+
border-radius: var(--radius-full);
|
|
278
278
|
cursor: pointer;
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -309,7 +309,7 @@ export const css = `/**
|
|
|
309
309
|
width: 24rem;
|
|
310
310
|
max-width: calc(100vw - 3.5rem);
|
|
311
311
|
max-height: 100vh;
|
|
312
|
-
border-radius:
|
|
312
|
+
border-radius: var(--radius-lg) 0 0 var(--radius-lg);
|
|
313
313
|
transform: translateX(100%);
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -26,7 +26,7 @@ export const css = `/**
|
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
user-select: none;
|
|
28
28
|
border: 1px solid transparent;
|
|
29
|
-
border-radius:
|
|
29
|
+
border-radius: var(--radius-sm);
|
|
30
30
|
transition: all 150ms ease-in-out;
|
|
31
31
|
background-color: var(--color-surface-container);
|
|
32
32
|
color: var(--btn-text-color);
|
|
@@ -99,7 +99,7 @@ export const css = `/**
|
|
|
99
99
|
.btn-outlined {
|
|
100
100
|
--btn-text-color: var(--color-on-surface);
|
|
101
101
|
background-color: transparent;
|
|
102
|
-
border:
|
|
102
|
+
border-color: var(--color-outline);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.btn-outline:hover,
|
|
@@ -111,7 +111,7 @@ export const css = `/**
|
|
|
111
111
|
.btn-outline.btn-primary,
|
|
112
112
|
.btn-outlined.btn-primary {
|
|
113
113
|
--btn-text-color: var(--color-primary);
|
|
114
|
-
border-color:
|
|
114
|
+
border-color: currentColor;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.btn-outline.btn-primary:hover,
|
|
@@ -123,7 +123,7 @@ export const css = `/**
|
|
|
123
123
|
.btn-outline.btn-secondary,
|
|
124
124
|
.btn-outlined.btn-secondary {
|
|
125
125
|
--btn-text-color: var(--color-secondary);
|
|
126
|
-
border-color:
|
|
126
|
+
border-color: currentColor;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.btn-outline.btn-secondary:hover,
|
|
@@ -135,7 +135,7 @@ export const css = `/**
|
|
|
135
135
|
.btn-outline.btn-tertiary,
|
|
136
136
|
.btn-outlined.btn-tertiary {
|
|
137
137
|
--btn-text-color: var(--color-tertiary);
|
|
138
|
-
border-color:
|
|
138
|
+
border-color: currentColor;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.btn-outline.btn-tertiary:hover,
|
|
@@ -147,7 +147,7 @@ export const css = `/**
|
|
|
147
147
|
.btn-outline.btn-info,
|
|
148
148
|
.btn-outlined.btn-info {
|
|
149
149
|
--btn-text-color: var(--color-info);
|
|
150
|
-
border-color:
|
|
150
|
+
border-color: currentColor;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.btn-outline.btn-info:hover,
|
|
@@ -159,7 +159,7 @@ export const css = `/**
|
|
|
159
159
|
.btn-outline.btn-success,
|
|
160
160
|
.btn-outlined.btn-success {
|
|
161
161
|
--btn-text-color: var(--color-success);
|
|
162
|
-
border-color:
|
|
162
|
+
border-color: currentColor;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.btn-outline.btn-success:hover,
|
|
@@ -171,7 +171,7 @@ export const css = `/**
|
|
|
171
171
|
.btn-outline.btn-warning,
|
|
172
172
|
.btn-outlined.btn-warning {
|
|
173
173
|
--btn-text-color: var(--color-warning);
|
|
174
|
-
border-color:
|
|
174
|
+
border-color: currentColor;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.btn-outline.btn-warning:hover,
|
|
@@ -183,7 +183,7 @@ export const css = `/**
|
|
|
183
183
|
.btn-outline.btn-error,
|
|
184
184
|
.btn-outlined.btn-error {
|
|
185
185
|
--btn-text-color: var(--color-error);
|
|
186
|
-
border-color:
|
|
186
|
+
border-color: currentColor;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
.btn-outline.btn-error:hover,
|
|
@@ -421,7 +421,7 @@ export const css = `/**
|
|
|
421
421
|
--btn-py: 0.25rem;
|
|
422
422
|
font-size: 0.75rem;
|
|
423
423
|
line-height: 1rem;
|
|
424
|
-
border-radius:
|
|
424
|
+
border-radius: var(--radius-xs);
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.btn-sm {
|
|
@@ -429,7 +429,7 @@ export const css = `/**
|
|
|
429
429
|
--btn-py: 0.375rem;
|
|
430
430
|
font-size: 0.8125rem;
|
|
431
431
|
line-height: 1.125rem;
|
|
432
|
-
border-radius:
|
|
432
|
+
border-radius: var(--radius-xs);
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
.btn-md {
|
|
@@ -437,7 +437,7 @@ export const css = `/**
|
|
|
437
437
|
--btn-py: 0.625rem;
|
|
438
438
|
font-size: 0.875rem;
|
|
439
439
|
line-height: 1.25rem;
|
|
440
|
-
border-radius:
|
|
440
|
+
border-radius: var(--radius-sm);
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
.btn-lg {
|
|
@@ -445,7 +445,7 @@ export const css = `/**
|
|
|
445
445
|
--btn-py: 0.875rem;
|
|
446
446
|
font-size: 1rem;
|
|
447
447
|
line-height: 1.5rem;
|
|
448
|
-
border-radius:
|
|
448
|
+
border-radius: var(--radius-sm);
|
|
449
449
|
}
|
|
450
450
|
|
|
451
451
|
/* Block Button */
|
|
@@ -464,13 +464,13 @@ export const css = `/**
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.btn-group .btn:first-child {
|
|
467
|
-
border-top-left-radius:
|
|
468
|
-
border-bottom-left-radius:
|
|
467
|
+
border-top-left-radius: var(--radius-sm);
|
|
468
|
+
border-bottom-left-radius: var(--radius-sm);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
.btn-group .btn:last-child {
|
|
472
|
-
border-top-right-radius:
|
|
473
|
-
border-bottom-right-radius:
|
|
472
|
+
border-top-right-radius: var(--radius-sm);
|
|
473
|
+
border-bottom-right-radius: var(--radius-sm);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
.btn-group .btn:not(:first-child) {
|
|
@@ -491,7 +491,7 @@ export const css = `/**
|
|
|
491
491
|
height: 1rem;
|
|
492
492
|
border: 2px solid var(--btn-text-color);
|
|
493
493
|
border-right-color: transparent;
|
|
494
|
-
border-radius:
|
|
494
|
+
border-radius: var(--radius-full);
|
|
495
495
|
animation: btn-spin 0.6s linear infinite;
|
|
496
496
|
}
|
|
497
497
|
|
|
@@ -505,7 +505,7 @@ export const css = `/**
|
|
|
505
505
|
.btn-circle {
|
|
506
506
|
--btn-p: 0.625rem;
|
|
507
507
|
--btn-py: 0.625rem;
|
|
508
|
-
border-radius:
|
|
508
|
+
border-radius: var(--radius-full);
|
|
509
509
|
aspect-ratio: 1;
|
|
510
510
|
}
|
|
511
511
|
|
|
@@ -11,7 +11,7 @@ export const css = `/**
|
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
position: relative;
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
border-radius:
|
|
14
|
+
border-radius: var(--radius-lg);
|
|
15
15
|
background-color: var(--color-surface);
|
|
16
16
|
color: var(--color-on-surface);
|
|
17
17
|
box-shadow: var(--shadow-sm);
|
|
@@ -245,7 +245,7 @@ export const css = `/**
|
|
|
245
245
|
.card-full-image .card-body {
|
|
246
246
|
position: relative;
|
|
247
247
|
z-index: 1;
|
|
248
|
-
background: linear-gradient(to top,
|
|
248
|
+
background: linear-gradient(to top, color-mix(in srgb, var(--color-shadow) 70%, transparent), transparent);
|
|
249
249
|
color: white;
|
|
250
250
|
margin-top: auto;
|
|
251
251
|
min-height: 50%;
|
|
@@ -254,6 +254,13 @@ export const css = `/**
|
|
|
254
254
|
.card-full-image .card-title {
|
|
255
255
|
color: white;
|
|
256
256
|
}
|
|
257
|
+
|
|
258
|
+
/* Reduce Motion */
|
|
259
|
+
@media (prefers-reduced-motion: reduce) {
|
|
260
|
+
.card {
|
|
261
|
+
transition: none;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
257
264
|
}
|
|
258
265
|
`;
|
|
259
266
|
|
|
@@ -25,7 +25,7 @@ export const css = `/**
|
|
|
25
25
|
color: var(--color-on-surface);
|
|
26
26
|
background-color: var(--color-surface);
|
|
27
27
|
border: 1px solid currentColor;
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius-sm);
|
|
29
29
|
cursor: pointer;
|
|
30
30
|
transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
|
|
31
31
|
}
|
|
@@ -104,7 +104,7 @@ export const css = `/**
|
|
|
104
104
|
color: var(--color-on-surface-variant);
|
|
105
105
|
background-color: transparent;
|
|
106
106
|
border: none;
|
|
107
|
-
border-radius:
|
|
107
|
+
border-radius: var(--radius-full);
|
|
108
108
|
cursor: pointer;
|
|
109
109
|
flex-shrink: 0;
|
|
110
110
|
transition: background-color 150ms ease-in-out;
|
|
@@ -124,7 +124,7 @@ export const css = `/**
|
|
|
124
124
|
margin-top: 0.25rem;
|
|
125
125
|
background-color: var(--color-surface);
|
|
126
126
|
border: 1px solid var(--color-outline-variant);
|
|
127
|
-
border-radius:
|
|
127
|
+
border-radius: var(--radius-sm);
|
|
128
128
|
box-shadow: var(--shadow-md);
|
|
129
129
|
overflow: hidden;
|
|
130
130
|
}
|
|
@@ -225,7 +225,7 @@ export const css = `/**
|
|
|
225
225
|
color: var(--color-on-surface);
|
|
226
226
|
background-color: transparent;
|
|
227
227
|
border: none;
|
|
228
|
-
border-radius:
|
|
228
|
+
border-radius: var(--radius-xs);
|
|
229
229
|
cursor: pointer;
|
|
230
230
|
text-align: left;
|
|
231
231
|
width: 100%;
|
|
@@ -295,7 +295,7 @@ export const css = `/**
|
|
|
295
295
|
color: var(--color-on-surface);
|
|
296
296
|
background-color: var(--color-surface-container);
|
|
297
297
|
border: none;
|
|
298
|
-
border-radius:
|
|
298
|
+
border-radius: var(--radius-xs);
|
|
299
299
|
outline: none;
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -319,7 +319,7 @@ export const css = `/**
|
|
|
319
319
|
.cascader-sm .cascader-trigger {
|
|
320
320
|
padding: 0.5rem 0.75rem;
|
|
321
321
|
font-size: 0.875rem;
|
|
322
|
-
border-radius:
|
|
322
|
+
border-radius: var(--radius-xs);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.cascader-sm .cascader-panel {
|
|
@@ -335,7 +335,7 @@ export const css = `/**
|
|
|
335
335
|
.cascader-lg .cascader-trigger {
|
|
336
336
|
padding: 1rem 1.25rem;
|
|
337
337
|
font-size: 1.125rem;
|
|
338
|
-
border-radius:
|
|
338
|
+
border-radius: var(--radius-sm);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
.cascader-lg .cascader-panel {
|
|
@@ -359,7 +359,7 @@ export const css = `/**
|
|
|
359
359
|
background-color: var(--color-surface-container);
|
|
360
360
|
border: none;
|
|
361
361
|
border-bottom: 2px solid var(--color-outline);
|
|
362
|
-
border-radius:
|
|
362
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
.cascader-filled .cascader-trigger:focus {
|
|
@@ -446,7 +446,7 @@ export const css = `/**
|
|
|
446
446
|
height: 1rem;
|
|
447
447
|
border: 2px solid var(--color-outline);
|
|
448
448
|
border-top-color: var(--color-primary);
|
|
449
|
-
border-radius:
|
|
449
|
+
border-radius: var(--radius-full);
|
|
450
450
|
animation: cascader-spin 0.8s linear infinite;
|
|
451
451
|
}
|
|
452
452
|
|
|
@@ -25,7 +25,7 @@ export const css = `/**
|
|
|
25
25
|
appearance: none;
|
|
26
26
|
background-color: transparent;
|
|
27
27
|
border: 2px solid var(--checkbox-border-color);
|
|
28
|
-
border-radius:
|
|
28
|
+
border-radius: var(--radius-xs);
|
|
29
29
|
transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -14,10 +14,10 @@ export const css = `/**
|
|
|
14
14
|
font-size: 0.875rem;
|
|
15
15
|
font-weight: 500;
|
|
16
16
|
line-height: 1.25rem;
|
|
17
|
-
border-radius:
|
|
17
|
+
border-radius: var(--radius-sm);
|
|
18
18
|
background-color: var(--color-surface-container);
|
|
19
19
|
color: var(--color-on-surface);
|
|
20
|
-
border: 1px solid
|
|
20
|
+
border: 1px solid currentColor;
|
|
21
21
|
cursor: default;
|
|
22
22
|
transition: all 150ms ease-in-out;
|
|
23
23
|
}
|
|
@@ -44,6 +44,7 @@ export const css = `/**
|
|
|
44
44
|
.chip-primary {
|
|
45
45
|
background-color: var(--color-primary);
|
|
46
46
|
color: var(--color-primary-content);
|
|
47
|
+
border-color: var(--color-primary);
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
.chip-primary:hover {
|
|
@@ -53,6 +54,7 @@ export const css = `/**
|
|
|
53
54
|
.chip-secondary {
|
|
54
55
|
background-color: var(--color-secondary);
|
|
55
56
|
color: var(--color-secondary-content);
|
|
57
|
+
border-color: var(--color-secondary);
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
.chip-secondary:hover {
|
|
@@ -62,6 +64,7 @@ export const css = `/**
|
|
|
62
64
|
.chip-tertiary {
|
|
63
65
|
background-color: var(--color-tertiary);
|
|
64
66
|
color: var(--color-tertiary-content);
|
|
67
|
+
border-color: var(--color-tertiary);
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
.chip-tertiary:hover {
|
|
@@ -71,6 +74,7 @@ export const css = `/**
|
|
|
71
74
|
.chip-info {
|
|
72
75
|
background-color: var(--color-info);
|
|
73
76
|
color: var(--color-info-content);
|
|
77
|
+
border-color: var(--color-info);
|
|
74
78
|
}
|
|
75
79
|
|
|
76
80
|
.chip-info:hover {
|
|
@@ -80,6 +84,7 @@ export const css = `/**
|
|
|
80
84
|
.chip-success {
|
|
81
85
|
background-color: var(--color-success);
|
|
82
86
|
color: var(--color-success-content);
|
|
87
|
+
border-color: var(--color-success);
|
|
83
88
|
}
|
|
84
89
|
|
|
85
90
|
.chip-success:hover {
|
|
@@ -89,6 +94,7 @@ export const css = `/**
|
|
|
89
94
|
.chip-warning {
|
|
90
95
|
background-color: var(--color-warning);
|
|
91
96
|
color: var(--color-warning-content);
|
|
97
|
+
border-color: var(--color-warning);
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
.chip-warning:hover {
|
|
@@ -98,6 +104,7 @@ export const css = `/**
|
|
|
98
104
|
.chip-error {
|
|
99
105
|
background-color: var(--color-error);
|
|
100
106
|
color: var(--color-error-content);
|
|
107
|
+
border-color: var(--color-error);
|
|
101
108
|
}
|
|
102
109
|
|
|
103
110
|
.chip-error:hover {
|
|
@@ -115,7 +122,6 @@ export const css = `/**
|
|
|
115
122
|
}
|
|
116
123
|
|
|
117
124
|
.chip-outlined.chip-primary {
|
|
118
|
-
border-color: var(--color-primary);
|
|
119
125
|
color: var(--color-primary);
|
|
120
126
|
}
|
|
121
127
|
|
|
@@ -124,7 +130,6 @@ export const css = `/**
|
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
.chip-outlined.chip-secondary {
|
|
127
|
-
border-color: var(--color-secondary);
|
|
128
133
|
color: var(--color-secondary);
|
|
129
134
|
}
|
|
130
135
|
|
|
@@ -133,7 +138,6 @@ export const css = `/**
|
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
.chip-outlined.chip-tertiary {
|
|
136
|
-
border-color: var(--color-tertiary);
|
|
137
141
|
color: var(--color-tertiary);
|
|
138
142
|
}
|
|
139
143
|
|
|
@@ -142,7 +146,6 @@ export const css = `/**
|
|
|
142
146
|
}
|
|
143
147
|
|
|
144
148
|
.chip-outlined.chip-info {
|
|
145
|
-
border-color: var(--color-info);
|
|
146
149
|
color: var(--color-info);
|
|
147
150
|
}
|
|
148
151
|
|
|
@@ -151,7 +154,6 @@ export const css = `/**
|
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
.chip-outlined.chip-success {
|
|
154
|
-
border-color: var(--color-success);
|
|
155
157
|
color: var(--color-success);
|
|
156
158
|
}
|
|
157
159
|
|
|
@@ -160,7 +162,6 @@ export const css = `/**
|
|
|
160
162
|
}
|
|
161
163
|
|
|
162
164
|
.chip-outlined.chip-warning {
|
|
163
|
-
border-color: var(--color-warning);
|
|
164
165
|
color: var(--color-warning);
|
|
165
166
|
}
|
|
166
167
|
|
|
@@ -169,7 +170,6 @@ export const css = `/**
|
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
.chip-outlined.chip-error {
|
|
172
|
-
border-color: var(--color-error);
|
|
173
173
|
color: var(--color-error);
|
|
174
174
|
}
|
|
175
175
|
|
|
@@ -180,6 +180,7 @@ export const css = `/**
|
|
|
180
180
|
/* Tonal/Soft Variant */
|
|
181
181
|
.chip-tonal {
|
|
182
182
|
background-color: var(--color-surface-container-high);
|
|
183
|
+
border-color: transparent;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
186
|
.chip-tonal.chip-primary {
|
|
@@ -286,7 +287,7 @@ export const css = `/**
|
|
|
286
287
|
opacity: 0.7;
|
|
287
288
|
background-color: transparent;
|
|
288
289
|
border: none;
|
|
289
|
-
border-radius:
|
|
290
|
+
border-radius: var(--radius-full);
|
|
290
291
|
cursor: pointer;
|
|
291
292
|
transition: opacity 150ms ease-in-out;
|
|
292
293
|
}
|
|
@@ -299,6 +300,7 @@ export const css = `/**
|
|
|
299
300
|
.chip-selected {
|
|
300
301
|
background-color: var(--color-primary);
|
|
301
302
|
color: var(--color-primary-content);
|
|
303
|
+
border-color: var(--color-primary);
|
|
302
304
|
}
|
|
303
305
|
|
|
304
306
|
.chip-selected.chip-outlined {
|