@zazz-ui/core 0.9.0 → 0.10.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/AUTHORING.md +21 -16
- package/CHANGELOG.md +111 -0
- package/README.md +3 -3
- package/dist/sri.json +89 -88
- package/dist/zazz.css +1 -1
- package/dist/zazz.js +1 -1
- package/editor/zazz.css-data.json +9042 -1944
- package/editor/zazz.html-data.json +31 -41
- package/editor/zazz.language-data.json +468 -233
- package/editor/zazz.lint-data.json +412 -396
- package/package.json +2 -3
- package/src/base/_defaults.css +59 -40
- package/src/base/_layers.css +5 -2
- package/src/base/_properties-2xl.css +10 -0
- package/src/base/_properties-active.css +8 -0
- package/src/base/_properties-checked.css +8 -0
- package/src/base/_properties-current.css +8 -0
- package/src/base/_properties-disabled.css +8 -0
- package/src/base/_properties-focus-visible.css +8 -0
- package/src/base/_properties-focus-within.css +8 -0
- package/src/base/_properties-hover.css +8 -0
- package/src/base/_properties-lg.css +10 -0
- package/src/base/_properties-md.css +10 -0
- package/src/base/_properties-open.css +8 -0
- package/src/base/_properties-sm.css +10 -0
- package/src/base/_properties-starting.css +4 -0
- package/src/base/_properties-stuck.css +4 -0
- package/src/base/_properties-xl.css +10 -0
- package/src/base/_properties.css +55 -15
- package/src/base/_reset.css +8 -4
- package/src/base/_typography.css +26 -9
- package/src/base/_utilities-box.css +63 -59
- package/src/base/_utilities-color.css +55 -8
- package/src/base/_utilities-effects.css +8 -0
- package/src/base/_utilities-flow.css +28 -5
- package/src/base/_utilities-pseudo.css +4 -0
- package/src/base/_utilities-spacing.css +8 -8
- package/src/base/_utilities-sr.css +98 -0
- package/src/base/_utilities-tier-2xl.css +5 -0
- package/src/base/_utilities-tier-active.css +5 -1
- package/src/base/_utilities-tier-checked.css +5 -1
- package/src/base/_utilities-tier-current.css +5 -1
- package/src/base/_utilities-tier-disabled.css +5 -1
- package/src/base/_utilities-tier-focus-visible.css +5 -1
- package/src/base/_utilities-tier-focus-within.css +5 -1
- package/src/base/_utilities-tier-hover.css +5 -1
- package/src/base/_utilities-tier-lg.css +5 -0
- package/src/base/_utilities-tier-md.css +5 -0
- package/src/base/_utilities-tier-open.css +5 -1
- package/src/base/_utilities-tier-sm.css +5 -0
- package/src/base/_utilities-tier-starting.css +2 -0
- package/src/base/_utilities-tier-stuck.css +3 -0
- package/src/base/_utilities-tier-xl.css +5 -0
- package/src/base/_utilities-typography.css +263 -3
- package/src/base/_variables.css +123 -57
- package/src/base/dialog-lifecycle.d.ts.map +1 -1
- package/src/base/dialog-lifecycle.js +4 -1
- package/src/base/dialog-lifecycle.ts +4 -1
- package/src/base/kit-styling.d.ts.map +1 -1
- package/src/base/kit-styling.js +90 -86
- package/src/base/kit-styling.ts +90 -86
- package/src/base/utilities.d.ts +23 -8
- package/src/base/utilities.d.ts.map +1 -1
- package/src/base/utilities.js +78 -3
- package/src/base/utilities.ts +95 -11
- package/src/head.d.ts.map +1 -1
- package/src/head.js +4 -5
- package/src/head.ts +4 -5
- package/src/index.css +3 -2
- package/src/manifest.d.ts.map +1 -1
- package/src/manifest.js +13 -3
- package/src/manifest.ts +13 -3
- package/src/primitives/alert-dialog/alert-dialog.css +1 -1
- package/src/primitives/autocomplete/autocomplete.css +4 -2
- package/src/primitives/avatar/avatar.html +4 -6
- package/src/primitives/badge/badge.css +66 -62
- package/src/primitives/breadcrumbs/breadcrumbs.html +1 -7
- package/src/primitives/button/button.css +47 -63
- package/src/primitives/button-group/button-group.css +4 -0
- package/src/primitives/callout/callout.css +22 -43
- package/src/primitives/card/card-subgrid.html +2 -3
- package/src/primitives/card/card.css +4 -0
- package/src/primitives/card/card.html +2 -3
- package/src/primitives/checkbox/checkbox.css +4 -0
- package/src/primitives/combobox/combobox.css +8 -1
- package/src/primitives/combobox/combobox.d.ts +23 -0
- package/src/primitives/combobox/combobox.d.ts.map +1 -1
- package/src/primitives/combobox/combobox.js +53 -2
- package/src/primitives/combobox/combobox.ts +51 -2
- package/src/primitives/command/command-actions.d.ts.map +1 -1
- package/src/primitives/command/command-actions.js +4 -9
- package/src/primitives/command/command-actions.ts +4 -9
- package/src/primitives/debug/audit-core.d.ts +1 -1
- package/src/primitives/debug/audit-core.d.ts.map +1 -1
- package/src/primitives/debug/audit-core.js +30 -3
- package/src/primitives/debug/audit-core.ts +40 -2
- package/src/primitives/debug/debug.d.ts.map +1 -1
- package/src/primitives/debug/debug.js +4 -1
- package/src/primitives/debug/debug.ts +4 -1
- package/src/primitives/dialog/dialog-with-form.html +1 -1
- package/src/primitives/dialog/dialog.css +19 -4
- package/src/primitives/fields/fields.css +11 -5
- package/src/primitives/group/group.css +18 -0
- package/src/primitives/group/group.html +26 -0
- package/src/primitives/input/input.css +14 -8
- package/src/primitives/input-group/input-group-password-group.html +1 -1
- package/src/primitives/input-group/input-group.css +12 -8
- package/src/primitives/kbd/kbd.css +4 -0
- package/src/primitives/lightbox/lightbox.css +13 -0
- package/src/primitives/lightbox/lightbox.html +2 -1
- package/src/primitives/menu/menu.css +3 -1
- package/src/primitives/meter/meter.css +10 -3
- package/src/primitives/navigation-menu/navigation-menu.css +5 -0
- package/src/primitives/navigation-menu/navigation-menu.html +2 -2
- package/src/primitives/otp/otp.css +4 -0
- package/src/primitives/password-group/password-group.css +13 -9
- package/src/primitives/password-group/password-group.html +1 -1
- package/src/primitives/popover/popover.css +6 -0
- package/src/primitives/progress/progress.css +5 -0
- package/src/primitives/radio/radio.css +3 -0
- package/src/primitives/select/select.css +17 -9
- package/src/primitives/slider/slider.css +8 -0
- package/src/primitives/switch/switch.css +56 -20
- package/src/primitives/tabs/tabs.css +18 -0
- package/src/primitives/textarea/textarea.css +19 -10
- package/src/primitives/toaster/toaster.css +8 -4
- package/src/primitives/toggle/toggle.css +10 -6
- package/src/primitives/toggle-group/toggle-group.css +4 -0
- package/src/primitives/tooltip/tooltip.css +4 -0
- package/src/primitives/utilities/pile.html +2 -3
- package/src/base/_switches.css +0 -148
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
* @uses @starting-style + visibility allow-discrete: hint <-> error swap
|
|
9
9
|
* @uses @supports (-webkit-touch-callout: none): iOS-only 16px field text,
|
|
10
10
|
* so a focused control does not zoom the page
|
|
11
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
12
|
+
* rounded corners
|
|
11
13
|
* @tokens --ui-field-*, --ui-field-group-* (Tier 3 owner; @layer variables)
|
|
12
14
|
* @consumedby input.css, textarea.css, select.css, input-group.css,
|
|
13
|
-
* password-group.css, otp.css, radio.css, checkbox.css,
|
|
15
|
+
* password-group.css, otp.css, radio.css, checkbox.css, switch.css,
|
|
14
16
|
* autocomplete.css, combobox.css, command.css,
|
|
15
17
|
* button.css (metrics: h/radius/px/icon/ring/border width+style; not font-size
|
|
16
18
|
* or leading, so the iOS 16px rule below reaches text controls only),
|
|
17
|
-
* toggle.css (via button.css), tabs.css (same metrics), badge.css (border/ring)
|
|
19
|
+
* toggle.css (via button.css), tabs.css (same metrics), badge.css (border/ring),
|
|
20
|
+
* menu.css (option gap)
|
|
18
21
|
*
|
|
19
22
|
* Identities: data-ui="field" (label + control + description wrapper),
|
|
20
23
|
* data-ui="field-group" (fieldset; data-ui="radio-group" shares its rules).
|
|
@@ -44,6 +47,7 @@
|
|
|
44
47
|
--ui-field-label-text: inherit;
|
|
45
48
|
--ui-field-ring-color: var(--color-ring);
|
|
46
49
|
--ui-field-radius: var(--radius-md);
|
|
50
|
+
--ui-field-corner-shape: var(--radius-corner-shape);
|
|
47
51
|
--ui-field-inset-child-radius: var(--radius-sm);
|
|
48
52
|
--ui-field-h: calc(var(--spacing) * 8);
|
|
49
53
|
--ui-field-font-size: var(--font-size-sm);
|
|
@@ -71,6 +75,7 @@
|
|
|
71
75
|
--ui-field-group-m: 0;
|
|
72
76
|
--ui-field-group-gap: var(--space-xs);
|
|
73
77
|
--ui-field-group-radius: var(--radius-lg);
|
|
78
|
+
--ui-field-group-corner-shape: var(--ui-field-corner-shape);
|
|
74
79
|
}
|
|
75
80
|
|
|
76
81
|
/* iOS zooms the page to any focused control that renders under 16px, so a
|
|
@@ -170,7 +175,7 @@
|
|
|
170
175
|
}
|
|
171
176
|
|
|
172
177
|
:where([data-ui~="field"]) [data-field-slot~="error"] {
|
|
173
|
-
color: var(--color-destructive);
|
|
178
|
+
color: var(--color-destructive-foreground);
|
|
174
179
|
opacity: 0;
|
|
175
180
|
translate: var(--ui-field-hint-translate--start);
|
|
176
181
|
visibility: hidden;
|
|
@@ -202,11 +207,11 @@
|
|
|
202
207
|
}
|
|
203
208
|
|
|
204
209
|
:where([data-ui~="field"]:has(:user-invalid)) [data-field-slot~="label"] {
|
|
205
|
-
--ui-field-label-text: var(--color-destructive);
|
|
210
|
+
--ui-field-label-text: var(--color-destructive-foreground);
|
|
206
211
|
}
|
|
207
212
|
|
|
208
213
|
:where([data-ui~="field"]:has(:user-invalid)) ::placeholder {
|
|
209
|
-
--placeholder-color: var(--color-destructive);
|
|
214
|
+
--placeholder-color: var(--color-destructive-foreground);
|
|
210
215
|
}
|
|
211
216
|
|
|
212
217
|
/* ---------------------------------------------------------------------------
|
|
@@ -231,6 +236,7 @@
|
|
|
231
236
|
border-radius: calc(
|
|
232
237
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
233
238
|
);
|
|
239
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-field-group-corner-shape));
|
|
234
240
|
--_p-len: var(--_p-resolved, var(--ui-field-group-p));
|
|
235
241
|
--_p-num: var(--_p-resolved, var(--ui-field-group-p));
|
|
236
242
|
padding: calc(var(--_p-len) + var(--_p-num) * var(--spacing));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* group.css: Group (ui-group | [data-ui~="group"]), the ancestor whose state
|
|
3
|
+
* its descendants' `--group-*` utilities follow (`--group-bg--hover`)
|
|
4
|
+
*
|
|
5
|
+
* @layer components
|
|
6
|
+
* @requires _layers.css
|
|
7
|
+
*
|
|
8
|
+
* The state selectors live in the generated tier setters. This file only gives
|
|
9
|
+
* the tag a display: the attribute form sits on a link, a button, a list item,
|
|
10
|
+
* and keeps what its host has. A custom element never matches `:disabled`, so
|
|
11
|
+
* `<ui-group>` takes `aria-disabled="true"` (with a role that allows it).
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
@layer ui.components {
|
|
15
|
+
:where(ui-group) {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<ui-group
|
|
2
|
+
style="
|
|
3
|
+
--display: block;
|
|
4
|
+
--p: 4;
|
|
5
|
+
--border: 1;
|
|
6
|
+
--radius: 2;
|
|
7
|
+
"
|
|
8
|
+
>
|
|
9
|
+
<p
|
|
10
|
+
style="
|
|
11
|
+
--font-weight: strong;
|
|
12
|
+
--text: var(--color-foreground);
|
|
13
|
+
--group-text--hover: var(--color-primary);
|
|
14
|
+
"
|
|
15
|
+
>
|
|
16
|
+
Hover anywhere on this card
|
|
17
|
+
</p>
|
|
18
|
+
<p
|
|
19
|
+
style="
|
|
20
|
+
--opacity: 0.7;
|
|
21
|
+
--group-opacity--hover: 1;
|
|
22
|
+
"
|
|
23
|
+
>
|
|
24
|
+
The text follows the group's state, not its own.
|
|
25
|
+
</p>
|
|
26
|
+
</ui-group>
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* @uses mask — calendar icon (not background-image, for color: currentColor)
|
|
8
8
|
* @uses @supports (-webkit-touch-callout: none) — iOS-only width fix for temporal
|
|
9
9
|
* inputs (webkit.org/b/301648)
|
|
10
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
11
|
+
* rounded corners
|
|
10
12
|
* @tokens --ui-input-* (@layer variables; surface colors and height read the
|
|
11
13
|
* --ui-field-* family directly)
|
|
12
14
|
*/
|
|
@@ -23,11 +25,13 @@
|
|
|
23
25
|
--ui-input-border-style: var(--ui-field-border-style);
|
|
24
26
|
--ui-input-border-color: var(--ui-field-border-color);
|
|
25
27
|
--ui-input-radius: var(--ui-field-radius);
|
|
28
|
+
--ui-input-corner-shape: var(--ui-field-corner-shape);
|
|
26
29
|
|
|
27
30
|
--ui-input-calendar-picker-color: currentColor;
|
|
28
31
|
--ui-input-calendar-picker-icon-size: calc(var(--spacing) * 4);
|
|
29
32
|
--ui-input-calendar-picker-size: calc(var(--spacing) * 6);
|
|
30
33
|
--ui-input-calendar-picker-radius: var(--ui-field-inset-child-radius);
|
|
34
|
+
--ui-input-calendar-picker-corner-shape: var(--ui-field-corner-shape);
|
|
31
35
|
--ui-input-calendar-picker-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'/%3E%3Crect x='40' y='40' width='176' height='176' rx='8' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'/%3E%3Cline x1='176' y1='24' x2='176' y2='56' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'/%3E%3Cline x1='80' y1='24' x2='80' y2='56' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'/%3E%3Cline x1='40' y1='88' x2='216' y2='88' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='16'/%3E%3C/svg%3E");
|
|
32
36
|
}
|
|
33
37
|
}
|
|
@@ -72,6 +76,7 @@
|
|
|
72
76
|
border-radius: calc(
|
|
73
77
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
74
78
|
);
|
|
79
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-input-corner-shape));
|
|
75
80
|
|
|
76
81
|
/* The ring is published to --_focus-shadow so a --shadow utility keeps
|
|
77
82
|
it; the transparent outline twin keeps focus visible in forced-colors */
|
|
@@ -147,6 +152,7 @@
|
|
|
147
152
|
inline-size: var(--ui-input-calendar-picker-size);
|
|
148
153
|
block-size: var(--ui-input-calendar-picker-size);
|
|
149
154
|
border-radius: var(--ui-input-calendar-picker-radius);
|
|
155
|
+
corner-shape: var(--ui-input-calendar-picker-corner-shape);
|
|
150
156
|
|
|
151
157
|
transition:
|
|
152
158
|
opacity var(--default-transition-duration) var(--default-transition-timing-function),
|
|
@@ -175,13 +181,13 @@
|
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
:where([data-ui~="input"]):user-invalid {
|
|
178
|
-
--ui-field-bg:
|
|
179
|
-
--ui-field-bg--hover:
|
|
180
|
-
--ui-field-border-color: var(--color-destructive);
|
|
181
|
-
--ui-field-border-color--hover: var(--color-destructive);
|
|
182
|
-
--ui-field-border-color--focus-within: var(--color-destructive);
|
|
183
|
-
--ui-field-ring-color: var(--color-destructive);
|
|
184
|
-
|
|
185
|
-
border-color: var(--color-destructive);
|
|
184
|
+
--ui-field-bg: var(--color-destructive);
|
|
185
|
+
--ui-field-bg--hover: oklch(from var(--color-destructive) calc(l - 0.025) c h);
|
|
186
|
+
--ui-field-border-color: var(--color-destructive-foreground);
|
|
187
|
+
--ui-field-border-color--hover: var(--color-destructive-foreground);
|
|
188
|
+
--ui-field-border-color--focus-within: var(--color-destructive-foreground);
|
|
189
|
+
--ui-field-ring-color: var(--color-destructive-foreground);
|
|
190
|
+
|
|
191
|
+
border-color: var(--color-destructive-foreground);
|
|
186
192
|
}
|
|
187
193
|
}
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
<span data-field-slot="hint" id="f-login-password-hint">Use eight or more characters.</span>
|
|
103
103
|
<span data-field-slot="error" role="alert">Password must be at least 8 characters.</span>
|
|
104
104
|
</div>
|
|
105
|
-
<span
|
|
105
|
+
<span style="--sr: only" id="f-login-password-warning"
|
|
106
106
|
>Warning: showing the password makes it visible to anyone near your screen.</span
|
|
107
107
|
>
|
|
108
108
|
</div>
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* @uses :focus-within — lifts shell ring/border as one field
|
|
8
8
|
* @uses :has() — restore padding when addons absent; invalid text color
|
|
9
9
|
* @uses data-input-group-align on the addon slot — inline-start/end, block-start/end
|
|
10
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
11
|
+
* rounded corners
|
|
10
12
|
* @tokens --ui-input-group-* (@layer variables)
|
|
11
13
|
* @presets data-input-group-align="inline-start | inline-end | block-start | block-end" on the addon slot
|
|
12
14
|
*/
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
border-radius: calc(
|
|
81
83
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
82
84
|
);
|
|
85
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-field-corner-shape));
|
|
83
86
|
|
|
84
87
|
--_ring-offset-width: 0px;
|
|
85
88
|
--_ring-width: 0px;
|
|
@@ -238,12 +241,13 @@
|
|
|
238
241
|
:where([data-ui~="input-group"]) [data-ui~="button"] {
|
|
239
242
|
flex-shrink: 0;
|
|
240
243
|
border-radius: var(--ui-field-inset-child-radius);
|
|
244
|
+
corner-shape: var(--ui-field-corner-shape);
|
|
241
245
|
}
|
|
242
246
|
|
|
243
247
|
:where([data-ui~="field"]:has(:user-invalid))
|
|
244
248
|
:where([data-ui~="input-group"])
|
|
245
249
|
[data-input-group-slot~="text"] {
|
|
246
|
-
--ui-input-group-text: var(--color-destructive);
|
|
250
|
+
--ui-input-group-text: var(--color-destructive-foreground);
|
|
247
251
|
}
|
|
248
252
|
}
|
|
249
253
|
|
|
@@ -257,13 +261,13 @@
|
|
|
257
261
|
}
|
|
258
262
|
|
|
259
263
|
:where([data-ui~="input-group"]):has(:user-invalid) {
|
|
260
|
-
--ui-field-bg:
|
|
261
|
-
--ui-field-bg--hover:
|
|
262
|
-
--ui-field-border-color: var(--color-destructive);
|
|
263
|
-
--ui-field-border-color--hover: var(--color-destructive);
|
|
264
|
-
--ui-field-border-color--focus-within: var(--color-destructive);
|
|
265
|
-
--ui-field-ring-color: var(--color-destructive);
|
|
264
|
+
--ui-field-bg: var(--color-destructive);
|
|
265
|
+
--ui-field-bg--hover: oklch(from var(--color-destructive) calc(l - 0.025) c h);
|
|
266
|
+
--ui-field-border-color: var(--color-destructive-foreground);
|
|
267
|
+
--ui-field-border-color--hover: var(--color-destructive-foreground);
|
|
268
|
+
--ui-field-border-color--focus-within: var(--color-destructive-foreground);
|
|
269
|
+
--ui-field-ring-color: var(--color-destructive-foreground);
|
|
266
270
|
|
|
267
|
-
border-color: var(--color-destructive);
|
|
271
|
+
border-color: var(--color-destructive-foreground);
|
|
268
272
|
}
|
|
269
273
|
}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* @layer variables, reset, components
|
|
5
5
|
* @requires _layers.css, _variables.css, _properties.css (--_*-resolved)
|
|
6
6
|
* @uses text-box: vertical trim (patchy browser support)
|
|
7
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
8
|
+
* rounded corners
|
|
7
9
|
* @tokens --ui-kbd-*, --ui-kbd-group-* (@layer variables)
|
|
8
10
|
* @consumedby button.css, tooltip.css (reassign --ui-kbd-* in scope), command.css (selects the group)
|
|
9
11
|
*
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
--ui-kbd-text: var(--color-muted-foreground);
|
|
28
30
|
--ui-kbd-border: 1px solid transparent;
|
|
29
31
|
--ui-kbd-radius: var(--radius-xs);
|
|
32
|
+
--ui-kbd-corner-shape: var(--radius-corner-shape);
|
|
30
33
|
|
|
31
34
|
/* metrics (dual-mode: a scale number or a length) */
|
|
32
35
|
--ui-kbd-px: var(--spacing);
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
border-radius: calc(
|
|
71
74
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
72
75
|
);
|
|
76
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-kbd-corner-shape));
|
|
73
77
|
overflow: hidden;
|
|
74
78
|
--_min-w-len: var(--_min-w-resolved, var(--ui-kbd-min-w));
|
|
75
79
|
--_min-w-num: var(--_min-w-resolved, var(--ui-kbd-min-w));
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* @uses @container — thumb column count at narrow widths
|
|
8
8
|
* @uses @starting-style — dialog slide scale/opacity on snap
|
|
9
9
|
* @uses Embla sync — requires zazz/scripts/embla.js for carousel behaviour
|
|
10
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
11
|
+
* rounded corners
|
|
10
12
|
* @tokens --ui-lightbox-* (@layer variables)
|
|
11
13
|
*/
|
|
12
14
|
|
|
@@ -15,7 +17,9 @@
|
|
|
15
17
|
--ui-lightbox-aspect: 3 / 2;
|
|
16
18
|
--ui-lightbox-object-fit: cover;
|
|
17
19
|
--ui-lightbox-slide-radius: var(--radius-lg);
|
|
20
|
+
--ui-lightbox-slide-corner-shape: var(--radius-corner-shape);
|
|
18
21
|
--ui-lightbox-thumb-radius: var(--radius-md);
|
|
22
|
+
--ui-lightbox-thumb-corner-shape: var(--radius-corner-shape);
|
|
19
23
|
--ui-lightbox-thumb-size: calc(var(--spacing) * 16);
|
|
20
24
|
--ui-lightbox-thumb-opacity: 0.5;
|
|
21
25
|
--ui-lightbox-thumb-opacity--active: 1;
|
|
@@ -82,6 +86,7 @@
|
|
|
82
86
|
[data-lightbox-slot~="stage"]
|
|
83
87
|
> [data-carousel-slot~="viewport"] {
|
|
84
88
|
border-radius: var(--ui-lightbox-slide-radius);
|
|
89
|
+
corner-shape: var(--ui-lightbox-slide-corner-shape);
|
|
85
90
|
background: var(--color-card);
|
|
86
91
|
}
|
|
87
92
|
|
|
@@ -90,6 +95,7 @@
|
|
|
90
95
|
> [data-carousel-slot~="viewport"]
|
|
91
96
|
> [data-carousel-slot~="container"] {
|
|
92
97
|
border-radius: var(--ui-lightbox-slide-radius);
|
|
98
|
+
corner-shape: var(--ui-lightbox-slide-corner-shape);
|
|
93
99
|
margin-inline-start: calc(var(--space-sm) * -1);
|
|
94
100
|
}
|
|
95
101
|
|
|
@@ -120,6 +126,7 @@
|
|
|
120
126
|
overflow: clip;
|
|
121
127
|
position: relative;
|
|
122
128
|
border-radius: var(--ui-lightbox-slide-radius);
|
|
129
|
+
corner-shape: var(--ui-lightbox-slide-corner-shape);
|
|
123
130
|
border: var(--ui-lightbox-img-border);
|
|
124
131
|
|
|
125
132
|
/* transparent twin of the inset ring for forced-colors / high-contrast modes */
|
|
@@ -138,6 +145,7 @@
|
|
|
138
145
|
inset: 0;
|
|
139
146
|
pointer-events: none;
|
|
140
147
|
border-radius: inherit;
|
|
148
|
+
corner-shape: inherit;
|
|
141
149
|
box-shadow: inset 0 0 0 var(--_ring-width) var(--color-ring);
|
|
142
150
|
transition: box-shadow var(--default-transition-duration)
|
|
143
151
|
var(--default-transition-timing-function);
|
|
@@ -217,6 +225,7 @@
|
|
|
217
225
|
flex: 1;
|
|
218
226
|
min-inline-size: 0;
|
|
219
227
|
border-radius: var(--ui-lightbox-thumb-radius);
|
|
228
|
+
corner-shape: var(--ui-lightbox-thumb-corner-shape);
|
|
220
229
|
}
|
|
221
230
|
|
|
222
231
|
:where(ui-lightbox, [data-ui~="lightbox"]) [data-lightbox-slot~="thumbs-prev"],
|
|
@@ -256,6 +265,7 @@
|
|
|
256
265
|
position: relative;
|
|
257
266
|
border: var(--ui-lightbox-img-border);
|
|
258
267
|
border-radius: var(--ui-lightbox-thumb-radius);
|
|
268
|
+
corner-shape: var(--ui-lightbox-thumb-corner-shape);
|
|
259
269
|
overflow: clip;
|
|
260
270
|
|
|
261
271
|
/* transparent twin of the inset ring for forced-colors / high-contrast modes */
|
|
@@ -271,6 +281,7 @@
|
|
|
271
281
|
inset: 0;
|
|
272
282
|
pointer-events: none;
|
|
273
283
|
border-radius: inherit;
|
|
284
|
+
corner-shape: inherit;
|
|
274
285
|
box-shadow: inset 0 0 0 var(--_ring-width) var(--_ring-fill);
|
|
275
286
|
transition: box-shadow var(--default-transition-duration)
|
|
276
287
|
var(--default-transition-timing-function);
|
|
@@ -334,6 +345,7 @@
|
|
|
334
345
|
[data-lightbox-slot~="thumb"]
|
|
335
346
|
img {
|
|
336
347
|
border-radius: var(--ui-lightbox-thumb-radius);
|
|
348
|
+
corner-shape: var(--ui-lightbox-thumb-corner-shape);
|
|
337
349
|
}
|
|
338
350
|
|
|
339
351
|
:where(ui-lightbox, [data-ui~="lightbox"])
|
|
@@ -438,6 +450,7 @@
|
|
|
438
450
|
--ui-lightbox-thumb-radius: var(--radius-xs);
|
|
439
451
|
|
|
440
452
|
border-radius: var(--ui-lightbox-slide-radius);
|
|
453
|
+
corner-shape: var(--ui-lightbox-slide-corner-shape);
|
|
441
454
|
border: var(--ui-lightbox-img-border);
|
|
442
455
|
overflow: clip;
|
|
443
456
|
inline-size: 100%;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* menu.css: Menu (ui-menu | [data-ui~="menu"]; slot data-menu-slot="popover")
|
|
3
3
|
*
|
|
4
4
|
* @layer variables, components
|
|
5
|
-
* @requires _layers.css, _variables.css, _properties.css (--_*-resolved), popover.css, button.css
|
|
5
|
+
* @requires _layers.css, _variables.css, _properties.css (--_*-resolved), popover.css, button.css, fields.css
|
|
6
6
|
* @uses popovertarget + [popover]: inherits Popover API from popover.css
|
|
7
7
|
* @uses interestfor: optional hover/focus open on the same trigger
|
|
8
8
|
* (Interest Invokers, Chromium 142+; polyfill via invokers)
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
@layer variables {
|
|
17
17
|
:root {
|
|
18
18
|
--ui-menu-button-radius: var(--radius-sm);
|
|
19
|
+
--ui-menu-button-corner-shape: var(--radius-corner-shape);
|
|
19
20
|
/* a scale number or a length */
|
|
20
21
|
--ui-menu-min-w: calc(var(--spacing) * 52);
|
|
21
22
|
--ui-menu-gap: var(--ui-field-option-gap);
|
|
@@ -56,5 +57,6 @@
|
|
|
56
57
|
|
|
57
58
|
:where(ui-menu, [data-ui~="menu"]) [data-menu-slot~="popover"] [data-ui~="button"] {
|
|
58
59
|
--ui-button-radius: var(--ui-menu-button-radius);
|
|
60
|
+
--ui-button-corner-shape: var(--ui-menu-button-corner-shape);
|
|
59
61
|
}
|
|
60
62
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* @uses Engines without typed attr() keep the vendor-pseudo fill;
|
|
15
15
|
* recorded degradation in Blink pre-133: themed track + thin
|
|
16
16
|
* centered fill (browser policy exception)
|
|
17
|
+
* @uses corner-shape — round by default, so circles stay circles; a hook takes any shape
|
|
17
18
|
* @tokens --ui-meter-* (@layer variables); geometry aliases --ui-progress-*
|
|
18
19
|
*/
|
|
19
20
|
|
|
@@ -24,13 +25,14 @@
|
|
|
24
25
|
--ui-meter-w: var(--ui-progress-w);
|
|
25
26
|
--ui-meter-h: var(--ui-progress-h);
|
|
26
27
|
--ui-meter-radius: var(--ui-progress-radius);
|
|
28
|
+
--ui-meter-corner-shape: var(--ui-progress-corner-shape);
|
|
27
29
|
--ui-meter-bg: var(--ui-progress-bg);
|
|
28
30
|
--ui-meter-track-border: var(--ui-progress-track-border);
|
|
29
31
|
|
|
30
32
|
/* Fills are semantic: a meter communicates good/bad, not completion */
|
|
31
|
-
--ui-meter-bar-bg: var(--color-success);
|
|
32
|
-
--ui-meter-bar-bg--suboptimum: var(--color-warning);
|
|
33
|
-
--ui-meter-bar-bg--even-less-good: var(--color-destructive);
|
|
33
|
+
--ui-meter-bar-bg: var(--color-success-foreground);
|
|
34
|
+
--ui-meter-bar-bg--suboptimum: var(--color-warning-foreground);
|
|
35
|
+
--ui-meter-bar-bg--even-less-good: var(--color-destructive-foreground);
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -57,6 +59,7 @@
|
|
|
57
59
|
border-radius: calc(
|
|
58
60
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
59
61
|
);
|
|
62
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-meter-corner-shape));
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
:where([data-ui~="meter"])::-webkit-meter-bar {
|
|
@@ -70,23 +73,27 @@
|
|
|
70
73
|
block-size: 100%;
|
|
71
74
|
background: var(--ui-meter-bar-bg);
|
|
72
75
|
border-radius: inherit;
|
|
76
|
+
corner-shape: inherit;
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
:where([data-ui~="meter"])::-webkit-meter-suboptimum-value {
|
|
76
80
|
block-size: 100%;
|
|
77
81
|
background: var(--ui-meter-bar-bg--suboptimum);
|
|
78
82
|
border-radius: inherit;
|
|
83
|
+
corner-shape: inherit;
|
|
79
84
|
}
|
|
80
85
|
|
|
81
86
|
:where([data-ui~="meter"])::-webkit-meter-even-less-good-value {
|
|
82
87
|
block-size: 100%;
|
|
83
88
|
background: var(--ui-meter-bar-bg--even-less-good);
|
|
84
89
|
border-radius: inherit;
|
|
90
|
+
corner-shape: inherit;
|
|
85
91
|
}
|
|
86
92
|
|
|
87
93
|
:where([data-ui~="meter"])::-moz-meter-bar {
|
|
88
94
|
block-size: 100%;
|
|
89
95
|
border-radius: inherit;
|
|
96
|
+
corner-shape: inherit;
|
|
90
97
|
}
|
|
91
98
|
|
|
92
99
|
:where([data-ui~="meter"]:-moz-meter-optimum)::-moz-meter-bar {
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* @uses :has(:popover-open): rotates the trigger's data-navigation-menu-slot="marker"
|
|
10
10
|
* chevron without JS
|
|
11
11
|
* @uses @starting-style: slide-down viewport reveal
|
|
12
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
13
|
+
* rounded corners
|
|
12
14
|
* @tokens --ui-navigation-menu-* (@layer variables)
|
|
13
15
|
* @presets on the popover slot: data-navigation-menu-variant="submenu",
|
|
14
16
|
* data-navigation-menu-size="container | root | screen",
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
|
|
24
26
|
--ui-navigation-menu-popover-shadow: var(--shadow-md);
|
|
25
27
|
--ui-navigation-menu-popover-child-radius: var(--radius-sm);
|
|
28
|
+
--ui-navigation-menu-popover-child-corner-shape: var(--radius-corner-shape);
|
|
26
29
|
--ui-navigation-menu-popover-gap: calc(var(--spacing) * 1.5);
|
|
27
30
|
--ui-navigation-menu-popover-w: min(var(--article-sm), 100% - var(--space-md));
|
|
28
31
|
--ui-navigation-menu-popover-viewport-display: grid;
|
|
@@ -136,6 +139,7 @@
|
|
|
136
139
|
padding: var(--ui-navigation-menu-popover-gap);
|
|
137
140
|
border: 0;
|
|
138
141
|
border-radius: var(--ui-navigation-menu-popover-child-radius);
|
|
142
|
+
corner-shape: var(--ui-navigation-menu-popover-child-corner-shape);
|
|
139
143
|
color: inherit;
|
|
140
144
|
font: inherit;
|
|
141
145
|
text-align: start;
|
|
@@ -194,6 +198,7 @@
|
|
|
194
198
|
flex-direction: column;
|
|
195
199
|
padding: var(--ui-navigation-menu-popover-gap);
|
|
196
200
|
border-radius: var(--ui-navigation-menu-popover-child-radius);
|
|
201
|
+
corner-shape: var(--ui-navigation-menu-popover-child-corner-shape);
|
|
197
202
|
text-decoration: none;
|
|
198
203
|
transition: background-color var(--default-transition-duration)
|
|
199
204
|
var(--default-transition-timing-function);
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
"
|
|
780
780
|
>
|
|
781
781
|
<fieldset data-ui="field-group">
|
|
782
|
-
<legend
|
|
782
|
+
<legend style="--sr: only">Sign in</legend>
|
|
783
783
|
<div
|
|
784
784
|
style="
|
|
785
785
|
--display: grid;
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
<div data-field-slot="description">
|
|
916
916
|
<span data-field-slot="error" role="alert">Incorrect email or password.</span>
|
|
917
917
|
</div>
|
|
918
|
-
<span
|
|
918
|
+
<span style="--sr: only" id="f-login-password-warning"
|
|
919
919
|
>Warning: showing the password makes it visible to anyone near your
|
|
920
920
|
screen.</span
|
|
921
921
|
>
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* stamped cell rail with transparent text/caret so autofill,
|
|
8
8
|
* paste, and focus stay native; never display:none
|
|
9
9
|
* @uses :focus-within: active-cell ring only while the input has focus
|
|
10
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
11
|
+
* rounded corners
|
|
10
12
|
* @tokens --ui-otp-* (@layer variables; aliases --ui-field-*)
|
|
11
13
|
* @see otp.ts: stamps the rail and mirrors value/caret into the cells
|
|
12
14
|
*/
|
|
@@ -20,6 +22,7 @@
|
|
|
20
22
|
--ui-otp-cell-border-style: var(--ui-field-border-style);
|
|
21
23
|
--ui-otp-cell-border-color: var(--ui-field-border-color);
|
|
22
24
|
--ui-otp-cell-radius: var(--ui-field-radius);
|
|
25
|
+
--ui-otp-cell-corner-shape: var(--ui-field-corner-shape);
|
|
23
26
|
--ui-otp-cell-font-size: var(--font-size-md);
|
|
24
27
|
--ui-otp-gap: calc(var(--spacing) * 1.5);
|
|
25
28
|
--ui-otp-separator-text: var(--color-muted-foreground);
|
|
@@ -90,6 +93,7 @@
|
|
|
90
93
|
border-radius: calc(
|
|
91
94
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
92
95
|
);
|
|
96
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-otp-cell-corner-shape));
|
|
93
97
|
|
|
94
98
|
transition: var(--default-transition);
|
|
95
99
|
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* @uses aria-pressed on toggle — show/hide icon swap via CSS (JS sets type +
|
|
9
9
|
* aria in password-group.ts)
|
|
10
10
|
* @uses Native reveal suppressed in _reset.css (::-ms-reveal, etc.)
|
|
11
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
12
|
+
* rounded corners
|
|
11
13
|
* @tokens --ui-password-group-* (@layer variables)
|
|
12
14
|
*/
|
|
13
15
|
|
|
@@ -73,6 +75,7 @@
|
|
|
73
75
|
border-radius: calc(
|
|
74
76
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
75
77
|
);
|
|
78
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-field-corner-shape));
|
|
76
79
|
|
|
77
80
|
/* the ring is a box-shadow; the transparent outline keeps focus visible in
|
|
78
81
|
forced-colors mode */
|
|
@@ -226,12 +229,13 @@
|
|
|
226
229
|
:where([data-ui~="password-group"]) [data-ui~="button"] {
|
|
227
230
|
flex-shrink: 0;
|
|
228
231
|
border-radius: var(--ui-field-inset-child-radius);
|
|
232
|
+
corner-shape: var(--ui-field-corner-shape);
|
|
229
233
|
}
|
|
230
234
|
|
|
231
235
|
:where([data-ui~="field"]:has(:user-invalid))
|
|
232
236
|
:where([data-ui~="password-group"])
|
|
233
237
|
[data-password-group-slot~="text"] {
|
|
234
|
-
--ui-password-group-text: var(--color-destructive);
|
|
238
|
+
--ui-password-group-text: var(--color-destructive-foreground);
|
|
235
239
|
}
|
|
236
240
|
|
|
237
241
|
/* Both icons ship in the markup; aria-pressed picks which one shows. */
|
|
@@ -262,13 +266,13 @@
|
|
|
262
266
|
}
|
|
263
267
|
|
|
264
268
|
:where([data-ui~="password-group"]):has(:user-invalid) {
|
|
265
|
-
--ui-field-bg:
|
|
266
|
-
--ui-field-bg--hover:
|
|
267
|
-
--ui-field-border-color: var(--color-destructive);
|
|
268
|
-
--ui-field-border-color--hover: var(--color-destructive);
|
|
269
|
-
--ui-field-border-color--focus-within: var(--color-destructive);
|
|
270
|
-
--ui-field-ring-color: var(--color-destructive);
|
|
271
|
-
|
|
272
|
-
border-color: var(--color-destructive);
|
|
269
|
+
--ui-field-bg: var(--color-destructive);
|
|
270
|
+
--ui-field-bg--hover: oklch(from var(--color-destructive) calc(l - 0.025) c h);
|
|
271
|
+
--ui-field-border-color: var(--color-destructive-foreground);
|
|
272
|
+
--ui-field-border-color--hover: var(--color-destructive-foreground);
|
|
273
|
+
--ui-field-border-color--focus-within: var(--color-destructive-foreground);
|
|
274
|
+
--ui-field-ring-color: var(--color-destructive-foreground);
|
|
275
|
+
|
|
276
|
+
border-color: var(--color-destructive-foreground);
|
|
273
277
|
}
|
|
274
278
|
}
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<span data-field-slot="hint" id="pw-preview-hint">Use eight or more characters.</span>
|
|
110
110
|
<span data-field-slot="error" role="alert">Password must be at least 8 characters.</span>
|
|
111
111
|
</div>
|
|
112
|
-
<span
|
|
112
|
+
<span style="--sr: only" id="pw-preview-warning"
|
|
113
113
|
>Warning: showing the password makes it visible to anyone near your screen.</span
|
|
114
114
|
>
|
|
115
115
|
</div>
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* @uses anchor-name, position-anchor, position-area, position-try-fallbacks:
|
|
9
9
|
* anchor positioning (gated behind @supports; Safari 26.x falls
|
|
10
10
|
* back to the UA-centered popover)
|
|
11
|
+
* @uses corner-shape — superellipse corners; unsupported browsers keep plain
|
|
12
|
+
* rounded corners
|
|
11
13
|
* @tokens --ui-popover-* (Tier 3 owner; @layer variables)
|
|
12
14
|
* @presets data-popover-side="top | bottom | left | right", data-popover-align="start | center | end"
|
|
13
15
|
* on the [popover] element (the identity is the native attribute)
|
|
@@ -20,7 +22,9 @@
|
|
|
20
22
|
/* Styles */
|
|
21
23
|
--ui-popover-border-color: var(--color-border);
|
|
22
24
|
--ui-popover-radius: var(--radius-md);
|
|
25
|
+
--ui-popover-corner-shape: var(--radius-corner-shape);
|
|
23
26
|
--ui-popover-button-radius: var(--radius-sm);
|
|
27
|
+
--ui-popover-button-corner-shape: var(--radius-corner-shape);
|
|
24
28
|
--ui-popover-shadow: var(--shadow-md);
|
|
25
29
|
--ui-popover-p: calc(var(--spacing) * 1.5);
|
|
26
30
|
--ui-popover-min-w: var(--article-xs);
|
|
@@ -61,6 +65,7 @@
|
|
|
61
65
|
border-radius: calc(
|
|
62
66
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
63
67
|
);
|
|
68
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-popover-corner-shape));
|
|
64
69
|
box-shadow: var(--_shadow-resolved, var(--ui-popover-shadow));
|
|
65
70
|
opacity: var(--ui-popover-opacity--start);
|
|
66
71
|
transform: scale(var(--ui-popover-scale--start)) translate3d(var(--ui-popover-translate--start));
|
|
@@ -130,6 +135,7 @@
|
|
|
130
135
|
|
|
131
136
|
:where([popover] [data-ui~="button"]) {
|
|
132
137
|
--ui-button-radius: var(--ui-popover-button-radius);
|
|
138
|
+
--ui-button-corner-shape: var(--ui-popover-button-corner-shape);
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
/* ===========================================================================
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* ::-moz-progress-bar) — never combine the two vendors in one
|
|
9
9
|
* selector list (an unknown pseudo invalidates the whole rule)
|
|
10
10
|
* @uses :indeterminate — animated stripe on the element background
|
|
11
|
+
* @uses corner-shape — round by default, so circles stay circles; a hook takes any shape
|
|
11
12
|
* @tokens --ui-progress-* (@layer variables)
|
|
12
13
|
* @consumedby meter.css
|
|
13
14
|
*/
|
|
@@ -17,6 +18,7 @@
|
|
|
17
18
|
--ui-progress-w: 100%;
|
|
18
19
|
--ui-progress-h: calc(var(--spacing) * 1.5);
|
|
19
20
|
--ui-progress-radius: var(--radius-full);
|
|
21
|
+
--ui-progress-corner-shape: round;
|
|
20
22
|
--ui-progress-bg: var(--color-muted);
|
|
21
23
|
--ui-progress-track-border: 1px solid transparent;
|
|
22
24
|
--ui-progress-bar-bg: var(--color-primary);
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
border-radius: calc(
|
|
47
49
|
var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier)
|
|
48
50
|
);
|
|
51
|
+
corner-shape: var(--_corner-shape-resolved, var(--ui-progress-corner-shape));
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
:where([data-ui~="progress"])::-webkit-progress-bar {
|
|
@@ -55,6 +58,7 @@
|
|
|
55
58
|
:where([data-ui~="progress"])::-webkit-progress-value {
|
|
56
59
|
background-color: var(--ui-progress-bar-bg);
|
|
57
60
|
border-radius: inherit;
|
|
61
|
+
corner-shape: inherit;
|
|
58
62
|
transition: inline-size var(--default-transition-duration)
|
|
59
63
|
var(--default-transition-timing-function);
|
|
60
64
|
}
|
|
@@ -62,6 +66,7 @@
|
|
|
62
66
|
:where([data-ui~="progress"])::-moz-progress-bar {
|
|
63
67
|
background-color: var(--ui-progress-bar-bg);
|
|
64
68
|
border-radius: inherit;
|
|
69
|
+
corner-shape: inherit;
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
/* Stripe on the element itself so it renders the same in every engine; the
|