@zazz-ui/core 0.9.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/AUTHORING.md +21 -16
  2. package/CHANGELOG.md +144 -0
  3. package/README.md +3 -3
  4. package/dist/sri.json +89 -88
  5. package/dist/zazz.css +1 -1
  6. package/editor/zazz.css-data.json +8370 -1264
  7. package/editor/zazz.html-data.json +31 -41
  8. package/editor/zazz.language-data.json +516 -247
  9. package/editor/zazz.lint-data.json +654 -619
  10. package/package.json +2 -3
  11. package/src/base/_defaults.css +59 -40
  12. package/src/base/_layers.css +5 -2
  13. package/src/base/_properties-2xl.css +10 -0
  14. package/src/base/_properties-active.css +8 -0
  15. package/src/base/_properties-checked.css +8 -0
  16. package/src/base/_properties-current.css +8 -0
  17. package/src/base/_properties-disabled.css +8 -0
  18. package/src/base/_properties-focus-visible.css +8 -0
  19. package/src/base/_properties-focus-within.css +8 -0
  20. package/src/base/_properties-hover.css +8 -0
  21. package/src/base/_properties-lg.css +10 -0
  22. package/src/base/_properties-md.css +10 -0
  23. package/src/base/_properties-open.css +8 -0
  24. package/src/base/_properties-sm.css +10 -0
  25. package/src/base/_properties-starting.css +4 -0
  26. package/src/base/_properties-stuck.css +4 -0
  27. package/src/base/_properties-xl.css +10 -0
  28. package/src/base/_properties.css +55 -15
  29. package/src/base/_reset.css +8 -4
  30. package/src/base/_typography.css +26 -9
  31. package/src/base/_utilities-box.css +63 -59
  32. package/src/base/_utilities-color.css +55 -8
  33. package/src/base/_utilities-effects.css +8 -0
  34. package/src/base/_utilities-flow.css +28 -5
  35. package/src/base/_utilities-pseudo.css +4 -0
  36. package/src/base/_utilities-spacing.css +8 -8
  37. package/src/base/_utilities-sr.css +98 -0
  38. package/src/base/_utilities-tier-2xl.css +5 -0
  39. package/src/base/_utilities-tier-active.css +5 -1
  40. package/src/base/_utilities-tier-checked.css +5 -1
  41. package/src/base/_utilities-tier-current.css +5 -1
  42. package/src/base/_utilities-tier-disabled.css +5 -1
  43. package/src/base/_utilities-tier-focus-visible.css +5 -1
  44. package/src/base/_utilities-tier-focus-within.css +5 -1
  45. package/src/base/_utilities-tier-hover.css +5 -1
  46. package/src/base/_utilities-tier-lg.css +5 -0
  47. package/src/base/_utilities-tier-md.css +5 -0
  48. package/src/base/_utilities-tier-open.css +5 -1
  49. package/src/base/_utilities-tier-sm.css +5 -0
  50. package/src/base/_utilities-tier-starting.css +2 -0
  51. package/src/base/_utilities-tier-stuck.css +3 -0
  52. package/src/base/_utilities-tier-xl.css +5 -0
  53. package/src/base/_utilities-typography.css +263 -3
  54. package/src/base/_variables.css +151 -60
  55. package/src/base/kit-styling.d.ts.map +1 -1
  56. package/src/base/kit-styling.js +134 -128
  57. package/src/base/kit-styling.ts +134 -128
  58. package/src/base/utilities.d.ts +23 -8
  59. package/src/base/utilities.d.ts.map +1 -1
  60. package/src/base/utilities.js +78 -3
  61. package/src/base/utilities.ts +95 -11
  62. package/src/head.d.ts.map +1 -1
  63. package/src/head.js +4 -5
  64. package/src/head.ts +4 -5
  65. package/src/index.css +3 -2
  66. package/src/manifest.d.ts.map +1 -1
  67. package/src/manifest.js +13 -3
  68. package/src/manifest.ts +13 -3
  69. package/src/primitives/accordion/accordion.css +3 -0
  70. package/src/primitives/alert-dialog/alert-dialog.css +1 -1
  71. package/src/primitives/alert-dialog/alert-dialog.html +14 -14
  72. package/src/primitives/autocomplete/autocomplete.css +4 -2
  73. package/src/primitives/avatar/avatar.html +4 -6
  74. package/src/primitives/badge/badge.css +77 -56
  75. package/src/primitives/breadcrumbs/breadcrumbs.html +1 -7
  76. package/src/primitives/button/button.css +75 -60
  77. package/src/primitives/button-group/button-group.css +4 -0
  78. package/src/primitives/callout/callout.css +22 -43
  79. package/src/primitives/card/card-subgrid.html +2 -3
  80. package/src/primitives/card/card.css +4 -0
  81. package/src/primitives/card/card.html +2 -3
  82. package/src/primitives/checkbox/checkbox.css +13 -0
  83. package/src/primitives/combobox/combobox.css +25 -2
  84. package/src/primitives/command/command-actions.d.ts.map +1 -1
  85. package/src/primitives/command/command-actions.js +4 -9
  86. package/src/primitives/command/command-actions.ts +4 -9
  87. package/src/primitives/command/command-dialog.html +109 -107
  88. package/src/primitives/command/command.css +16 -8
  89. package/src/primitives/debug/audit-core.d.ts +1 -1
  90. package/src/primitives/debug/audit-core.d.ts.map +1 -1
  91. package/src/primitives/debug/audit-core.js +30 -3
  92. package/src/primitives/debug/audit-core.ts +40 -2
  93. package/src/primitives/dialog/dialog-with-form.html +1 -1
  94. package/src/primitives/dialog/dialog.css +111 -44
  95. package/src/primitives/fields/fields.css +11 -5
  96. package/src/primitives/group/group.css +18 -0
  97. package/src/primitives/group/group.html +26 -0
  98. package/src/primitives/input/input.css +16 -9
  99. package/src/primitives/input-group/input-group-password-group.html +1 -1
  100. package/src/primitives/input-group/input-group.css +19 -11
  101. package/src/primitives/kbd/kbd.css +4 -0
  102. package/src/primitives/lightbox/lightbox.css +17 -4
  103. package/src/primitives/lightbox/lightbox.html +2 -1
  104. package/src/primitives/menu/menu.css +3 -1
  105. package/src/primitives/meter/meter.css +10 -3
  106. package/src/primitives/mobile-menu/mobile-menu.css +17 -16
  107. package/src/primitives/mobile-menu/mobile-menu.html +4 -4
  108. package/src/primitives/navigation-menu/navigation-menu.css +8 -3
  109. package/src/primitives/navigation-menu/navigation-menu.html +2 -2
  110. package/src/primitives/otp/otp.css +7 -2
  111. package/src/primitives/password-group/password-group.css +20 -12
  112. package/src/primitives/password-group/password-group.html +1 -1
  113. package/src/primitives/popover/popover.css +29 -10
  114. package/src/primitives/progress/progress.css +5 -0
  115. package/src/primitives/radio/radio.css +15 -2
  116. package/src/primitives/scroll-fade/scroll-fade.css +1 -1
  117. package/src/primitives/select/select.css +42 -21
  118. package/src/primitives/slider/slider.css +11 -0
  119. package/src/primitives/switch/switch.css +67 -20
  120. package/src/primitives/tabs/tabs.css +20 -1
  121. package/src/primitives/textarea/textarea.css +19 -10
  122. package/src/primitives/toaster/toaster.css +8 -4
  123. package/src/primitives/toggle/toggle.css +37 -9
  124. package/src/primitives/toggle-group/toggle-group.css +4 -0
  125. package/src/primitives/tooltip/tooltip.css +44 -25
  126. package/src/primitives/utilities/pile.html +2 -3
  127. package/src/base/_switches.css +0 -148
@@ -15,6 +15,8 @@
15
15
  @property --_space-x-starting { syntax: "*"; inherits: false; }
16
16
  @property --space-y--starting { syntax: "*"; inherits: false; }
17
17
  @property --_space-y-starting { syntax: "*"; inherits: false; }
18
+ @property --text-wrap--starting { syntax: "*"; inherits: false; }
19
+ @property --_text-wrap-starting { syntax: "*"; inherits: false; }
18
20
  @property --text-decoration--starting { syntax: "*"; inherits: false; }
19
21
  @property --_text-decoration-starting { syntax: "*"; inherits: false; }
20
22
  @property --text--starting { syntax: "*"; inherits: false; }
@@ -71,6 +73,8 @@
71
73
  @property --_translate-starting { syntax: "*"; inherits: false; }
72
74
  @property --rotate--starting { syntax: "*"; inherits: false; }
73
75
  @property --_rotate-starting { syntax: "*"; inherits: false; }
76
+ @property --animation--starting { syntax: "*"; inherits: false; }
77
+ @property --_animation-starting { syntax: "*"; inherits: false; }
74
78
  @property --transition--starting { syntax: "*"; inherits: false; }
75
79
  @property --_transition-starting { syntax: "*"; inherits: false; }
76
80
  @property --transition-duration--starting { syntax: "*"; inherits: false; }
@@ -15,6 +15,8 @@
15
15
  @property --_space-x-stuck { syntax: "*"; inherits: false; }
16
16
  @property --space-y--stuck { syntax: "*"; inherits: false; }
17
17
  @property --_space-y-stuck { syntax: "*"; inherits: false; }
18
+ @property --text-wrap--stuck { syntax: "*"; inherits: false; }
19
+ @property --_text-wrap-stuck { syntax: "*"; inherits: false; }
18
20
  @property --text-decoration--stuck { syntax: "*"; inherits: false; }
19
21
  @property --_text-decoration-stuck { syntax: "*"; inherits: false; }
20
22
  @property --text--stuck { syntax: "*"; inherits: false; }
@@ -71,6 +73,8 @@
71
73
  @property --_translate-stuck { syntax: "*"; inherits: false; }
72
74
  @property --rotate--stuck { syntax: "*"; inherits: false; }
73
75
  @property --_rotate-stuck { syntax: "*"; inherits: false; }
76
+ @property --animation--stuck { syntax: "*"; inherits: false; }
77
+ @property --_animation-stuck { syntax: "*"; inherits: false; }
74
78
  @property --transition--stuck { syntax: "*"; inherits: false; }
75
79
  @property --_transition-stuck { syntax: "*"; inherits: false; }
76
80
  @property --transition-duration--stuck { syntax: "*"; inherits: false; }
@@ -159,6 +159,12 @@
159
159
  @property --_bg-xl { syntax: "*"; inherits: false; }
160
160
  @property --bg-alpha--xl { syntax: "*"; inherits: false; }
161
161
  @property --_bg-alpha-xl { syntax: "*"; inherits: false; }
162
+ @property --divide--xl { syntax: "*"; inherits: false; }
163
+ @property --_divide-xl { syntax: "*"; inherits: false; }
164
+ @property --divide-x--xl { syntax: "*"; inherits: false; }
165
+ @property --_divide-x-xl { syntax: "*"; inherits: false; }
166
+ @property --divide-y--xl { syntax: "*"; inherits: false; }
167
+ @property --_divide-y-xl { syntax: "*"; inherits: false; }
162
168
  @property --border-color--xl { syntax: "*"; inherits: false; }
163
169
  @property --_border-color-xl { syntax: "*"; inherits: false; }
164
170
  @property --border-width--xl { syntax: "*"; inherits: false; }
@@ -193,6 +199,8 @@
193
199
  @property --_ring-offset-color-xl { syntax: "*"; inherits: false; }
194
200
  @property --focus-ring--xl { syntax: "*"; inherits: false; }
195
201
  @property --_focus-ring-xl { syntax: "*"; inherits: false; }
202
+ @property --animation--xl { syntax: "*"; inherits: false; }
203
+ @property --_animation-xl { syntax: "*"; inherits: false; }
196
204
  @property --transition-duration--xl { syntax: "*"; inherits: false; }
197
205
  @property --_transition-duration-xl { syntax: "*"; inherits: false; }
198
206
  @property --transition-delay--xl { syntax: "*"; inherits: false; }
@@ -207,3 +215,5 @@
207
215
  @property --_radius-l-xl { syntax: "*"; inherits: false; }
208
216
  @property --radius-r--xl { syntax: "*"; inherits: false; }
209
217
  @property --_radius-r-xl { syntax: "*"; inherits: false; }
218
+ @property --isolation--xl { syntax: "*"; inherits: false; }
219
+ @property --_isolation-xl { syntax: "*"; inherits: false; }
@@ -146,16 +146,16 @@
146
146
  @property --_space-x-resolved { syntax: "*"; inherits: false; }
147
147
  @property --_space-x-len { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
148
148
  @property --_space-x-num { syntax: "<number>"; inherits: false; initial-value: 0; }
149
- @property --_space-x-a { syntax: "*"; inherits: false; }
150
- @property --_space-x-b { syntax: "*"; inherits: false; }
149
+ @property --_space-x-a { syntax: "*"; inherits: true; }
150
+ @property --_space-x-b { syntax: "*"; inherits: true; }
151
151
  @property --_space-x-slot { syntax: "*"; inherits: false; }
152
152
  @property --space-y { syntax: "*"; inherits: false; }
153
153
  @property --_space-y { syntax: "*"; inherits: false; }
154
154
  @property --_space-y-resolved { syntax: "*"; inherits: false; }
155
155
  @property --_space-y-len { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
156
156
  @property --_space-y-num { syntax: "<number>"; inherits: false; initial-value: 0; }
157
- @property --_space-y-a { syntax: "*"; inherits: false; }
158
- @property --_space-y-b { syntax: "*"; inherits: false; }
157
+ @property --_space-y-a { syntax: "*"; inherits: true; }
158
+ @property --_space-y-b { syntax: "*"; inherits: true; }
159
159
  @property --_space-y-slot { syntax: "*"; inherits: false; }
160
160
  @property --inset { syntax: "*"; inherits: false; }
161
161
  @property --_inset { syntax: "*"; inherits: false; }
@@ -292,6 +292,10 @@
292
292
  @property --text-wrap { syntax: "*"; inherits: false; }
293
293
  @property --_text-wrap { syntax: "*"; inherits: false; }
294
294
  @property --_text-wrap-resolved { syntax: "*"; inherits: false; }
295
+ @property --_text-wrap-a { syntax: "wrap | nowrap | auto | balance | pretty | stable | none"; inherits: false; initial-value: nowrap; }
296
+ @property --_text-wrap-b { syntax: "wrap | nowrap | auto | balance | pretty | stable"; inherits: false; initial-value: wrap; }
297
+ @property --_text-wrap-stuck-clip { syntax: "*"; inherits: false; }
298
+ @property --_text-wrap-stuck-end { syntax: "*"; inherits: false; }
295
299
  @property --line-clamp { syntax: "*"; inherits: false; }
296
300
  @property --_line-clamp { syntax: "*"; inherits: false; }
297
301
  @property --_line-clamp-resolved { syntax: "*"; inherits: false; }
@@ -322,6 +326,35 @@
322
326
  @property --bg-stops { syntax: "*"; inherits: false; }
323
327
  @property --_bg-stops { syntax: "*"; inherits: false; }
324
328
  @property --_bg-stops-resolved { syntax: "*"; inherits: false; }
329
+ @property --divide { syntax: "*"; inherits: false; }
330
+ @property --_divide { syntax: "*"; inherits: false; }
331
+ @property --_divide-resolved { syntax: "*"; inherits: false; }
332
+ @property --divide-x { syntax: "*"; inherits: false; }
333
+ @property --_divide-x { syntax: "*"; inherits: false; }
334
+ @property --_divide-x-resolved { syntax: "*"; inherits: false; }
335
+ @property --_divide-x-len { syntax: "<length>"; inherits: false; initial-value: 0px; }
336
+ @property --_divide-x-num { syntax: "<number>"; inherits: false; initial-value: 0; }
337
+ @property --_divide-x-is-len { syntax: "<number>"; inherits: false; initial-value: 0; }
338
+ @property --_divide-x-is-num { syntax: "<number>"; inherits: false; initial-value: 0; }
339
+ @property --_divide-x-clr { syntax: "<color>"; inherits: false; initial-value: transparent; }
340
+ @property --_divide-x-w { syntax: "*"; inherits: false; }
341
+ @property --_divide-x-c { syntax: "*"; inherits: false; }
342
+ @property --_divide-x-a { syntax: "*"; inherits: true; }
343
+ @property --_divide-x-b { syntax: "*"; inherits: true; }
344
+ @property --_divide-x-slot { syntax: "*"; inherits: false; }
345
+ @property --divide-y { syntax: "*"; inherits: false; }
346
+ @property --_divide-y { syntax: "*"; inherits: false; }
347
+ @property --_divide-y-resolved { syntax: "*"; inherits: false; }
348
+ @property --_divide-y-len { syntax: "<length>"; inherits: false; initial-value: 0px; }
349
+ @property --_divide-y-num { syntax: "<number>"; inherits: false; initial-value: 0; }
350
+ @property --_divide-y-is-len { syntax: "<number>"; inherits: false; initial-value: 0; }
351
+ @property --_divide-y-is-num { syntax: "<number>"; inherits: false; initial-value: 0; }
352
+ @property --_divide-y-clr { syntax: "<color>"; inherits: false; initial-value: transparent; }
353
+ @property --_divide-y-w { syntax: "*"; inherits: false; }
354
+ @property --_divide-y-c { syntax: "*"; inherits: false; }
355
+ @property --_divide-y-a { syntax: "*"; inherits: true; }
356
+ @property --_divide-y-b { syntax: "*"; inherits: true; }
357
+ @property --_divide-y-slot { syntax: "*"; inherits: false; }
325
358
  @property --border-color { syntax: "*"; inherits: false; }
326
359
  @property --_border-color { syntax: "*"; inherits: false; }
327
360
  @property --_border-color-resolved { syntax: "*"; inherits: false; }
@@ -460,6 +493,9 @@
460
493
  @property --rotate { syntax: "*"; inherits: false; }
461
494
  @property --_rotate { syntax: "*"; inherits: false; }
462
495
  @property --_rotate-resolved { syntax: "*"; inherits: false; }
496
+ @property --animation { syntax: "*"; inherits: false; }
497
+ @property --_animation { syntax: "*"; inherits: false; }
498
+ @property --_animation-resolved { syntax: "*"; inherits: false; }
463
499
  @property --transition { syntax: "*"; inherits: false; }
464
500
  @property --_transition { syntax: "*"; inherits: false; }
465
501
  @property --_transition-resolved { syntax: "*"; inherits: false; }
@@ -494,6 +530,12 @@
494
530
  @property --_radius-r-resolved { syntax: "*"; inherits: false; }
495
531
  @property --_radius-r-len { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
496
532
  @property --_radius-r-num { syntax: "<number>"; inherits: false; initial-value: 0; }
533
+ @property --corner-shape { syntax: "*"; inherits: false; }
534
+ @property --_corner-shape { syntax: "*"; inherits: false; }
535
+ @property --_corner-shape-resolved { syntax: "*"; inherits: false; }
536
+ @property --isolation { syntax: "*"; inherits: false; }
537
+ @property --_isolation { syntax: "*"; inherits: false; }
538
+ @property --_isolation-resolved { syntax: "*"; inherits: false; }
497
539
  @property --overflow { syntax: "*"; inherits: false; }
498
540
  @property --_overflow { syntax: "*"; inherits: false; }
499
541
  @property --_overflow-resolved { syntax: "*"; inherits: false; }
@@ -524,16 +566,6 @@
524
566
  @property --object-position { syntax: "*"; inherits: false; }
525
567
  @property --_object-position { syntax: "*"; inherits: false; }
526
568
  @property --_object-position-resolved { syntax: "*"; inherits: false; }
527
- @property --divide { syntax: "*"; inherits: false; }
528
- @property --_divide { syntax: "*"; inherits: false; }
529
- @property --_divide-resolved { syntax: "*"; inherits: false; }
530
- @property --_divide-len { syntax: "<length>"; inherits: false; initial-value: 0px; }
531
- @property --_divide-num { syntax: "<number>"; inherits: false; initial-value: 0; }
532
- @property --_divide-is-len { syntax: "<number>"; inherits: false; initial-value: 0; }
533
- @property --_divide-is-num { syntax: "<number>"; inherits: false; initial-value: 0; }
534
- @property --_divide-clr { syntax: "<color>"; inherits: false; initial-value: transparent; }
535
- @property --_divide-w { syntax: "*"; inherits: true; }
536
- @property --_divide-c { syntax: "*"; inherits: true; }
537
569
 
538
570
  /* Dual pairs on pseudo-elements */
539
571
  @property --_before-p-len { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
@@ -630,15 +662,23 @@
630
662
 
631
663
  /* Stuck state */
632
664
  @property --_stuck-on { syntax: "*"; inherits: false; }
665
+ @property --_stuck-type { syntax: "*"; inherits: false; }
633
666
  @property --_stuck-side { syntax: "top | right | bottom | left | block-start | block-end | inline-start | inline-end"; inherits: false; initial-value: top; }
634
667
  @property --_stuck-polyfill { syntax: "*"; inherits: true; }
635
668
  @property --stuck-state { syntax: "*"; inherits: false; }
636
669
 
637
- /* --display shorthands' flex-direction channel */
670
+ /* --display shorthands' flex-direction and pile channels */
638
671
  @property --_flex-direction { syntax: "*"; inherits: false; }
672
+ @property --_pile { syntax: "*"; inherits: false; }
639
673
  @property --_flex-direction-sm { syntax: "*"; inherits: false; }
674
+ @property --_pile-sm { syntax: "*"; inherits: false; }
640
675
  @property --_flex-direction-md { syntax: "*"; inherits: false; }
676
+ @property --_pile-md { syntax: "*"; inherits: false; }
641
677
  @property --_flex-direction-lg { syntax: "*"; inherits: false; }
678
+ @property --_pile-lg { syntax: "*"; inherits: false; }
642
679
  @property --_flex-direction-xl { syntax: "*"; inherits: false; }
680
+ @property --_pile-xl { syntax: "*"; inherits: false; }
643
681
  @property --_flex-direction-2xl { syntax: "*"; inherits: false; }
682
+ @property --_pile-2xl { syntax: "*"; inherits: false; }
644
683
  @property --_flex-direction-resolved { syntax: "*"; inherits: false; }
684
+ @property --_pile-resolved { syntax: "*"; inherits: false; }
@@ -6,7 +6,7 @@
6
6
  * @uses appearance: none — select chevron reset
7
7
  * @uses ::details-content — accordion open/close (see accordion.css for :where(ui-accordion, [data-ui~="accordion"]))
8
8
  * @uses container-type — html is the page's inline-size container, the one breakpoint
9
- * tiers read when nothing closer is (layout children and data-ui="container" are closer)
9
+ * tiers read when nothing closer is (layout children and any `--container-type` are closer)
10
10
  * @uses view-transition-name via the <main> tag - main-content and [data-transition-layer] —
11
11
  * global (animated in _view-transitions.css)
12
12
  * @uses text-box — vertical trim on headings
@@ -191,9 +191,11 @@
191
191
  :where(code) {
192
192
  --code-display: inline;
193
193
  --code-background: var(--color-muted);
194
- --code-border: 1px solid var(--color-muted);
194
+ --code-border-width: 1px;
195
+ --code-border-style: solid;
196
+ --code-border-color: var(--color-muted);
195
197
  --code-padding-inline: var(--spacing);
196
- --code-padding-block: 0em;
198
+ --code-padding-block: 0.025em;
197
199
  --code-radius: var(--radius-xs);
198
200
  --code-color: var(--color-foreground);
199
201
 
@@ -201,8 +203,9 @@
201
203
  background-color: var(--code-background);
202
204
  padding-inline: var(--code-padding-inline);
203
205
  padding-block: var(--code-padding-block);
204
- border: var(--code-border);
206
+ border: var(--code-border-width) var(--code-border-style) var(--code-border-color);
205
207
  border-radius: var(--code-radius);
208
+ corner-shape: var(--radius-corner-shape);
206
209
  color: var(--code-color);
207
210
  white-space: nowrap;
208
211
  overflow: hidden;
@@ -344,6 +347,7 @@
344
347
  inline-size: var(--search-cancel-size);
345
348
  block-size: var(--search-cancel-size);
346
349
  border-radius: var(--search-cancel-radius);
350
+ corner-shape: var(--radius-corner-shape);
347
351
 
348
352
  transition:
349
353
  opacity var(--default-transition-duration) var(--default-transition-timing-function),
@@ -11,8 +11,9 @@
11
11
  * @uses tan(atan2()) — divides two lengths into a plain number (a stand-in for
12
12
  * progress() that every engine supports); pow() — the type scale's steps
13
13
  * @uses font-optical-sizing — heading optical size
14
- * @uses @scope (prose) to (not-prose): prose rules stop at a not-prose
15
- * element; a prose nested inside it starts its own scope
14
+ * @uses text-wrap: pretty — h4–h6, @supports gated (Firefox lacks it; wrap fallback)
15
+ * @uses @scope (prose, a start slot) to (an end slot): prose rules stop at
16
+ * `data-prose-slot="end"`; a start slot or a prose inside it is a new root
16
17
  * @tokens --fluid, --typeset-base, --typeset-scale, --font-size-* (@layer variables);
17
18
  * --ui-prose-* (@layer variables); presets data-prose-size="sm" | "lg"
18
19
  */
@@ -85,7 +86,7 @@
85
86
  TYPOGRAPHY — prose component styles
86
87
  =========================================================================== */
87
88
 
88
- :where([data-ui~="prose"]) {
89
+ :where([data-ui~="prose"], [data-ui~="prose"] [data-prose-slot~="start"]) {
89
90
  flex-direction: column;
90
91
  display: flex;
91
92
  }
@@ -110,9 +111,9 @@
110
111
  --_prose-flow: 1.25;
111
112
  }
112
113
 
113
- /* Prose styles its descendants up to a not-prose boundary; a prose nested
114
- inside not-prose starts its own scope, so the nearest root wins. */
115
- @scope ([data-ui~="prose"]) to ([data-ui~="not-prose"]) {
114
+ /* Prose styles its descendants up to an `end` slot. A `start` slot inside one,
115
+ or a nested prose, is a root of its own, so the nearest root wins. */
116
+ @scope ([data-ui~="prose"], [data-ui~="prose"] [data-prose-slot~="start"]) to ([data-prose-slot~="end"]) {
116
117
  :where(figure) {
117
118
  inline-size: 100%;
118
119
  max-inline-size: 100%;
@@ -126,6 +127,7 @@
126
127
 
127
128
  :where(img, video) {
128
129
  border-radius: var(--ui-prose-img-radius);
130
+ corner-shape: var(--radius-corner-shape);
129
131
  border: var(--ui-prose-img-border);
130
132
  }
131
133
 
@@ -474,7 +476,14 @@
474
476
  line-height: var(--leading-h4);
475
477
  font-weight: var(--font-weight-heading);
476
478
  letter-spacing: var(--tracking-h4);
477
- text-wrap: var(--text-wrap-heading, pretty);
479
+ text-wrap: var(--text-wrap-heading, wrap);
480
+ /* pretty can't be a var() fallback: a var() value is only checked at
481
+ computed-value time, so Firefox (no pretty) would reset text-wrap.
482
+ Drop the gate once web-features text-wrap-pretty is Baseline widely
483
+ available (not yet Baseline as of 2026-11). */
484
+ @supports (text-wrap: pretty) {
485
+ text-wrap: var(--text-wrap-heading, pretty);
486
+ }
478
487
  font-feature-settings: var(--font-feature-heading);
479
488
  font-kerning: var(--font-kerning-heading);
480
489
  font-language-override: var(--font-language-heading);
@@ -496,7 +505,11 @@
496
505
  line-height: var(--leading-h5);
497
506
  font-weight: var(--font-weight-heading);
498
507
  letter-spacing: var(--tracking-h5);
499
- text-wrap: var(--text-wrap-heading, pretty);
508
+ text-wrap: var(--text-wrap-heading, wrap);
509
+ /* gated like h4 above */
510
+ @supports (text-wrap: pretty) {
511
+ text-wrap: var(--text-wrap-heading, pretty);
512
+ }
500
513
  font-feature-settings: var(--font-feature-heading);
501
514
  font-kerning: var(--font-kerning-heading);
502
515
  font-language-override: var(--font-language-heading);
@@ -518,7 +531,11 @@
518
531
  line-height: var(--leading-h6);
519
532
  font-weight: var(--font-weight-heading);
520
533
  letter-spacing: var(--tracking-h6);
521
- text-wrap: var(--text-wrap-heading, pretty);
534
+ text-wrap: var(--text-wrap-heading, wrap);
535
+ /* gated like h4 above */
536
+ @supports (text-wrap: pretty) {
537
+ text-wrap: var(--text-wrap-heading, pretty);
538
+ }
522
539
  font-feature-settings: var(--font-feature-heading);
523
540
  font-kerning: var(--font-kerning-heading);
524
541
  font-language-override: var(--font-language-heading);
@@ -18,43 +18,43 @@
18
18
  --_radius-num: var(--_radius-resolved);
19
19
  border-radius: calc(var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier));
20
20
  }
21
- :where([style*="--radius: full"]) { --_radius: var(--radius-full); }
21
+ :where([style*="--radius: full"]) { --_radius: var(--radius-full); corner-shape: round; }
22
22
  @starting-style {
23
23
  :where([style*="--radius--starting: full"]) { --_radius-starting: var(--radius-full); }
24
24
  }
25
- :where(:is(:disabled, [aria-disabled="true"])[style*="--radius--disabled: full"]) { --_radius-disabled: var(--radius-full); }
26
- :where([data-ui~="group"]:is(:disabled, [aria-disabled="true"]) [style*="--group-radius--disabled: full"]) { --_radius-g-disabled: var(--radius-full); }
27
- :where(:active[style*="--radius--active: full"]) { --_radius-active: var(--radius-full); }
28
- :where([data-ui~="group"]:active [style*="--group-radius--active: full"]) { --_radius-g-active: var(--radius-full); }
29
- :where(:focus-visible[style*="--radius--focus-visible: full"]) { --_radius-focus-visible: var(--radius-full); }
30
- :where([data-ui~="group"]:focus-visible [style*="--group-radius--focus-visible: full"]) { --_radius-g-focus-visible: var(--radius-full); }
31
- :where(:focus-within[style*="--radius--focus-within: full"]) { --_radius-focus-within: var(--radius-full); }
32
- :where([data-ui~="group"]:focus-within [style*="--group-radius--focus-within: full"]) { --_radius-g-focus-within: var(--radius-full); }
25
+ :where(:is(:disabled, [aria-disabled="true"])[style*="--radius--disabled: full"]) { --_radius-disabled: var(--radius-full); corner-shape: round; }
26
+ :where(:where(ui-group, [data-ui~="group"]):is(:disabled, [aria-disabled="true"]) [style*="--group-radius--disabled: full"]) { --_radius-g-disabled: var(--radius-full); corner-shape: round; }
27
+ :where(:active[style*="--radius--active: full"]) { --_radius-active: var(--radius-full); corner-shape: round; }
28
+ :where(:where(ui-group, [data-ui~="group"]):active [style*="--group-radius--active: full"]) { --_radius-g-active: var(--radius-full); corner-shape: round; }
29
+ :where(:focus-visible[style*="--radius--focus-visible: full"]) { --_radius-focus-visible: var(--radius-full); corner-shape: round; }
30
+ :where(:where(ui-group, [data-ui~="group"]):focus-visible [style*="--group-radius--focus-visible: full"]) { --_radius-g-focus-visible: var(--radius-full); corner-shape: round; }
31
+ :where(:focus-within[style*="--radius--focus-within: full"]) { --_radius-focus-within: var(--radius-full); corner-shape: round; }
32
+ :where(:where(ui-group, [data-ui~="group"]):focus-within [style*="--group-radius--focus-within: full"]) { --_radius-g-focus-within: var(--radius-full); corner-shape: round; }
33
33
  @media (hover: hover) {
34
- :where(:hover[style*="--radius--hover: full"]) { --_radius-hover: var(--radius-full); }
35
- :where([data-ui~="group"]:hover [style*="--group-radius--hover: full"]) { --_radius-g-hover: var(--radius-full); }
36
- }
37
- :where(:is(:checked, [aria-checked="true"])[style*="--radius--checked: full"]) { --_radius-checked: var(--radius-full); }
38
- :where([data-ui~="group"]:is(:checked, [aria-checked="true"]) [style*="--group-radius--checked: full"]) { --_radius-g-checked: var(--radius-full); }
39
- :where(:is([aria-current]:not([aria-current="false"]))[style*="--radius--current: full"]) { --_radius-current: var(--radius-full); }
40
- :where([data-ui~="group"]:is([aria-current]:not([aria-current="false"])) [style*="--group-radius--current: full"]) { --_radius-g-current: var(--radius-full); }
41
- :where(:is([open], :popover-open, [aria-expanded="true"])[style*="--radius--open: full"]) { --_radius-open: var(--radius-full); }
42
- :where([data-ui~="group"]:is([open], :popover-open, [aria-expanded="true"]) [style*="--group-radius--open: full"]) { --_radius-g-open: var(--radius-full); }
34
+ :where(:hover[style*="--radius--hover: full"]) { --_radius-hover: var(--radius-full); corner-shape: round; }
35
+ :where(:where(ui-group, [data-ui~="group"]):hover [style*="--group-radius--hover: full"]) { --_radius-g-hover: var(--radius-full); corner-shape: round; }
36
+ }
37
+ :where(:is(:checked, [aria-checked="true"])[style*="--radius--checked: full"]) { --_radius-checked: var(--radius-full); corner-shape: round; }
38
+ :where(:where(ui-group, [data-ui~="group"]):is(:checked, [aria-checked="true"]) [style*="--group-radius--checked: full"]) { --_radius-g-checked: var(--radius-full); corner-shape: round; }
39
+ :where(:is([aria-current]:not([aria-current="false"]))[style*="--radius--current: full"]) { --_radius-current: var(--radius-full); corner-shape: round; }
40
+ :where(:where(ui-group, [data-ui~="group"]):is([aria-current]:not([aria-current="false"])) [style*="--group-radius--current: full"]) { --_radius-g-current: var(--radius-full); corner-shape: round; }
41
+ :where(:is([open], :popover-open, [aria-expanded="true"])[style*="--radius--open: full"]) { --_radius-open: var(--radius-full); corner-shape: round; }
42
+ :where(:where(ui-group, [data-ui~="group"]):is([open], :popover-open, [aria-expanded="true"]) [style*="--group-radius--open: full"]) { --_radius-g-open: var(--radius-full); corner-shape: round; }
43
43
  :where([style*="--radius--stuck: full"]) { --_radius-stuck: var(--_stuck-on) var(--radius-full); }
44
44
  @container (width >= 40rem) {
45
- :where([style*="--radius--sm: full"]) { --_radius-sm: var(--radius-full); }
45
+ :where([style*="--radius--sm: full"]) { --_radius-sm: var(--radius-full); corner-shape: round; }
46
46
  }
47
47
  @container (width >= 48rem) {
48
- :where([style*="--radius--md: full"]) { --_radius-md: var(--radius-full); }
48
+ :where([style*="--radius--md: full"]) { --_radius-md: var(--radius-full); corner-shape: round; }
49
49
  }
50
50
  @container (width >= 64rem) {
51
- :where([style*="--radius--lg: full"]) { --_radius-lg: var(--radius-full); }
51
+ :where([style*="--radius--lg: full"]) { --_radius-lg: var(--radius-full); corner-shape: round; }
52
52
  }
53
53
  @container (width >= 80rem) {
54
- :where([style*="--radius--xl: full"]) { --_radius-xl: var(--radius-full); }
54
+ :where([style*="--radius--xl: full"]) { --_radius-xl: var(--radius-full); corner-shape: round; }
55
55
  }
56
56
  @container (width >= 96rem) {
57
- :where([style*="--radius--2xl: full"]) { --_radius-2xl: var(--radius-full); }
57
+ :where([style*="--radius--2xl: full"]) { --_radius-2xl: var(--radius-full); corner-shape: round; }
58
58
  }
59
59
 
60
60
  :where([style*="--radius-t:"], [style*="--radius-t--"]) {
@@ -67,7 +67,7 @@
67
67
  border-start-start-radius: calc(var(--_radius-t-len) + var(--_radius-t-num) * var(--spacing) * var(--radius-multiplier));
68
68
  border-start-end-radius: calc(var(--_radius-t-len) + var(--_radius-t-num) * var(--spacing) * var(--radius-multiplier));
69
69
  }
70
- :where(:is([style*="--radius:"]):is([style*="--radius-t--"], [style*="--group-radius-t--"])) {
70
+ :where(:is([style*="--radius:"])[style*="--radius-t--"]) {
71
71
  --_radius-t-len: var(--_radius-t-resolved, var(--_radius-resolved, 0));
72
72
  --_radius-t-num: var(--_radius-t-resolved, var(--_radius-resolved, 0));
73
73
  border-start-start-radius: calc(var(--_radius-t-len) + var(--_radius-t-num) * var(--spacing) * var(--radius-multiplier));
@@ -100,7 +100,7 @@
100
100
  border-end-start-radius: calc(var(--_radius-b-len) + var(--_radius-b-num) * var(--spacing) * var(--radius-multiplier));
101
101
  border-end-end-radius: calc(var(--_radius-b-len) + var(--_radius-b-num) * var(--spacing) * var(--radius-multiplier));
102
102
  }
103
- :where(:is([style*="--radius:"]):is([style*="--radius-b--"], [style*="--group-radius-b--"])) {
103
+ :where(:is([style*="--radius:"])[style*="--radius-b--"]) {
104
104
  --_radius-b-len: var(--_radius-b-resolved, var(--_radius-resolved, 0));
105
105
  --_radius-b-num: var(--_radius-b-resolved, var(--_radius-resolved, 0));
106
106
  border-end-start-radius: calc(var(--_radius-b-len) + var(--_radius-b-num) * var(--spacing) * var(--radius-multiplier));
@@ -133,7 +133,7 @@
133
133
  border-start-start-radius: calc(var(--_radius-l-len) + var(--_radius-l-num) * var(--spacing) * var(--radius-multiplier));
134
134
  border-end-start-radius: calc(var(--_radius-l-len) + var(--_radius-l-num) * var(--spacing) * var(--radius-multiplier));
135
135
  }
136
- :where(:is([style*="--radius:"]):is([style*="--radius-l--"], [style*="--group-radius-l--"])) {
136
+ :where(:is([style*="--radius:"])[style*="--radius-l--"]) {
137
137
  --_radius-l-len: var(--_radius-l-resolved, var(--_radius-resolved, 0));
138
138
  --_radius-l-num: var(--_radius-l-resolved, var(--_radius-resolved, 0));
139
139
  border-start-start-radius: calc(var(--_radius-l-len) + var(--_radius-l-num) * var(--spacing) * var(--radius-multiplier));
@@ -166,7 +166,7 @@
166
166
  border-start-end-radius: calc(var(--_radius-r-len) + var(--_radius-r-num) * var(--spacing) * var(--radius-multiplier));
167
167
  border-end-end-radius: calc(var(--_radius-r-len) + var(--_radius-r-num) * var(--spacing) * var(--radius-multiplier));
168
168
  }
169
- :where(:is([style*="--radius:"]):is([style*="--radius-r--"], [style*="--group-radius-r--"])) {
169
+ :where(:is([style*="--radius:"])[style*="--radius-r--"]) {
170
170
  --_radius-r-len: var(--_radius-r-resolved, var(--_radius-resolved, 0));
171
171
  --_radius-r-num: var(--_radius-r-resolved, var(--_radius-resolved, 0));
172
172
  border-start-end-radius: calc(var(--_radius-r-len) + var(--_radius-r-num) * var(--spacing) * var(--radius-multiplier));
@@ -189,6 +189,14 @@
189
189
  :where([style*="--radius-r--2xl: full"]) { --_radius-r-2xl: var(--radius-full); }
190
190
  }
191
191
 
192
+ :where([style*="--corner-shape:"], [style*="--corner-shape--"]) {
193
+ --_corner-shape-resolved: var(--_corner-shape);
194
+ }
195
+ :where([style*="--corner-shape:"]) {
196
+ --_corner-shape: var(--corner-shape);
197
+ corner-shape: var(--_corner-shape-resolved);
198
+ }
199
+
192
200
  :where([style*="--overflow:"], [style*="--overflow--"]) {
193
201
  --_overflow-resolved: var(--_overflow);
194
202
  }
@@ -269,40 +277,36 @@
269
277
  object-position: var(--_object-position-resolved);
270
278
  }
271
279
 
272
- :where([style*="--divide:"], [style*="--divide--"]) {
273
- --_divide-resolved: var(--_divide);
274
- }
275
- :where([style*="--divide:"]) {
276
- --_divide: var(--divide);
277
- --_divide-len: var(--_divide-resolved);
278
- --_divide-num: var(--_divide-resolved);
279
- --_divide-is-len: calc(sin(atan2(var(--_divide-resolved), 1px)) * 0 + 1);
280
- --_divide-is-num: calc(var(--_divide-resolved) * 0 + 1);
281
- --_divide-clr: var(--_divide-resolved);
282
- --_divide-w: calc(abs(var(--_divide-len)) + abs(var(--_divide-num)) * 1px + (1 - var(--_divide-is-num) - var(--_divide-is-len)) * 1px);
283
- --_divide-c: color-mix(in oklch, var(--_divide-clr) calc((1 - var(--_divide-is-num) - var(--_divide-is-len)) * 100%), var(--color-border));
280
+ :where([style*="--container:"]) { container: var(--container); }
281
+ :where([style*="--container-name:"]) { container-name: var(--container-name); }
282
+ :where([style*="--container-type:"]) { container-type: var(--container-type) var(--_stuck-type,); }
283
+ @container (width >= 40rem) {
284
+ :where([style*="--container--sm:"]) { container: var(--container--sm); }
285
+ :where([style*="--container-name--sm:"]) { container-name: var(--container-name--sm); }
286
+ :where([style*="--container-type--sm:"]) { container-type: var(--container-type--sm) var(--_stuck-type,); }
287
+ }
288
+ @container (width >= 48rem) {
289
+ :where([style*="--container--md:"]) { container: var(--container--md); }
290
+ :where([style*="--container-name--md:"]) { container-name: var(--container-name--md); }
291
+ :where([style*="--container-type--md:"]) { container-type: var(--container-type--md) var(--_stuck-type,); }
292
+ }
293
+ @container (width >= 64rem) {
294
+ :where([style*="--container--lg:"]) { container: var(--container--lg); }
295
+ :where([style*="--container-name--lg:"]) { container-name: var(--container-name--lg); }
296
+ :where([style*="--container-type--lg:"]) { container-type: var(--container-type--lg) var(--_stuck-type,); }
297
+ }
298
+ @container (width >= 80rem) {
299
+ :where([style*="--container--xl:"]) { container: var(--container--xl); }
300
+ :where([style*="--container-name--xl:"]) { container-name: var(--container-name--xl); }
301
+ :where([style*="--container-type--xl:"]) { container-type: var(--container-type--xl) var(--_stuck-type,); }
302
+ }
303
+ @container (width >= 96rem) {
304
+ :where([style*="--container--2xl:"]) { container: var(--container--2xl); }
305
+ :where([style*="--container-name--2xl:"]) { container-name: var(--container-name--2xl); }
306
+ :where([style*="--container-type--2xl:"]) { container-type: var(--container-type--2xl) var(--_stuck-type,); }
284
307
  }
285
308
 
286
309
 
287
310
 
288
- :where([style*="--border:"], [style*="--border-x:"], [style*="--border-l:"]) {
289
- border-inline-start-width: var(--_border-width-resolved, var(--_border-l-w, var(--_border-x-w, var(--_border-w))));
290
- border-inline-start-style: var(--_border-style-resolved, solid);
291
- border-inline-start-color: var(--_border-color-resolved, var(--_border-l-c, var(--_border-x-c, var(--_border-c))));
292
- }
293
- :where([style*="--border:"], [style*="--border-y:"], [style*="--border-t:"]) {
294
- border-block-start-width: var(--_border-width-resolved, var(--_border-t-w, var(--_border-y-w, var(--_border-w))));
295
- border-block-start-style: var(--_border-style-resolved, solid);
296
- border-block-start-color: var(--_border-color-resolved, var(--_border-t-c, var(--_border-y-c, var(--_border-c))));
297
- }
298
- :where([style*="--border:"], [style*="--border-x:"], [style*="--border-r:"]) {
299
- border-inline-end-width: var(--_border-width-resolved, var(--_border-r-w, var(--_border-x-w, var(--_border-w))));
300
- border-inline-end-style: var(--_border-style-resolved, solid);
301
- border-inline-end-color: var(--_border-color-resolved, var(--_border-r-c, var(--_border-x-c, var(--_border-c))));
302
- }
303
- :where([style*="--border:"], [style*="--border-y:"], [style*="--border-b:"]) {
304
- border-block-end-width: var(--_border-width-resolved, var(--_border-b-w, var(--_border-y-w, var(--_border-w))));
305
- border-block-end-style: var(--_border-style-resolved, solid);
306
- border-block-end-color: var(--_border-color-resolved, var(--_border-b-c, var(--_border-y-c, var(--_border-c))));
307
- }
311
+
308
312
  }
@@ -53,6 +53,53 @@
53
53
  --_bg-stops: var(--bg-stops);
54
54
  }
55
55
 
56
+ :where([style*="--divide"]) {
57
+ --_divide: var(--divide);
58
+ --_divide-resolved: var(--_divide-2xl, var(--_divide-xl, var(--_divide-lg, var(--_divide-md, var(--_divide-sm, var(--_divide, none))))));
59
+ --_divide-x: var(--divide-x);
60
+ --_divide-x-resolved: var(--_divide-x-2xl, var(--_divide-x-xl, var(--_divide-x-lg, var(--_divide-x-md, var(--_divide-x-sm, var(--_divide-x, var(--_divide-resolved)))))));
61
+ --_divide-x-len: var(--_divide-x-resolved);
62
+ --_divide-x-num: var(--_divide-x-resolved);
63
+ --_divide-x-is-len: calc(sin(atan2(var(--_divide-x-resolved), 1px)) * 0 + 1);
64
+ --_divide-x-is-num: calc(var(--_divide-x-resolved) * 0 + 1);
65
+ --_divide-x-clr: var(--_divide-x-resolved);
66
+ --_divide-x-w: calc(abs(var(--_divide-x-len)) + abs(var(--_divide-x-num)) * 1px + (1 - var(--_divide-x-is-num) - var(--_divide-x-is-len)) * 1px);
67
+ --_divide-x-c: color-mix(in oklch, var(--_divide-x-clr) calc((1 - var(--_divide-x-is-num) - var(--_divide-x-is-len)) * 100%), var(--color-border));
68
+ --_divide-x-a: var(--_divide-x-w) solid var(--_divide-x-c);
69
+ --_divide-x-slot: a;
70
+ --_divide-y: var(--divide-y);
71
+ --_divide-y-resolved: var(--_divide-y-2xl, var(--_divide-y-xl, var(--_divide-y-lg, var(--_divide-y-md, var(--_divide-y-sm, var(--_divide-y, var(--_divide-resolved)))))));
72
+ --_divide-y-len: var(--_divide-y-resolved);
73
+ --_divide-y-num: var(--_divide-y-resolved);
74
+ --_divide-y-is-len: calc(sin(atan2(var(--_divide-y-resolved), 1px)) * 0 + 1);
75
+ --_divide-y-is-num: calc(var(--_divide-y-resolved) * 0 + 1);
76
+ --_divide-y-clr: var(--_divide-y-resolved);
77
+ --_divide-y-w: calc(abs(var(--_divide-y-len)) + abs(var(--_divide-y-num)) * 1px + (1 - var(--_divide-y-is-num) - var(--_divide-y-is-len)) * 1px);
78
+ --_divide-y-c: color-mix(in oklch, var(--_divide-y-clr) calc((1 - var(--_divide-y-is-num) - var(--_divide-y-is-len)) * 100%), var(--color-border));
79
+ --_divide-y-a: var(--_divide-y-w) solid var(--_divide-y-c);
80
+ --_divide-y-slot: a;
81
+ }
82
+ @container style(--_divide-x-slot: a) {
83
+ :where([style*="--divide"]) { --_divide-x-b: var(--_divide-x-w) solid var(--_divide-x-c); --_divide-x-slot: b; }
84
+ }
85
+ @container style(--_divide-x-slot: a) and (not style(--_divide-x-resolved: none)) {
86
+ :where(:not(:last-child, dialog, [popover])) { --_divide-x-a: inherit; border-inline-end: var(--_divide-x-a); }
87
+ }
88
+ @container style(--_divide-x-slot: b) and (not style(--_divide-x-resolved: none)) {
89
+ :where(:not(:last-child, dialog, [popover])) { --_divide-x-b: inherit; border-inline-end: var(--_divide-x-b); }
90
+ }
91
+ @container style(--_divide-y-slot: a) {
92
+ :where([style*="--divide"]) { --_divide-y-b: var(--_divide-y-w) solid var(--_divide-y-c); --_divide-y-slot: b; }
93
+ }
94
+ @container style(--_divide-y-slot: a) and (not style(--_divide-y-resolved: none)) {
95
+ :where(:not(:last-child, dialog, [popover])) { --_divide-y-a: inherit; border-block-end: var(--_divide-y-a); }
96
+ }
97
+ @container style(--_divide-y-slot: b) and (not style(--_divide-y-resolved: none)) {
98
+ :where(:not(:last-child, dialog, [popover])) { --_divide-y-b: inherit; border-block-end: var(--_divide-y-b); }
99
+ }
100
+
101
+
102
+
56
103
  :where([style*="--border-color:"], [style*="--border-color--"], [style*="--group-border-color--"]) {
57
104
  --_border-color-resolved: var(--_border-color-starting, var(--_border-color-disabled, var(--_border-color-active, var(--_border-color-focus-visible, var(--_border-color-focus-within, var(--_border-color-hover, var(--_border-color-checked, var(--_border-color-current, var(--_border-color-open, var(--_border-color-g-disabled, var(--_border-color-g-active, var(--_border-color-g-focus-visible, var(--_border-color-g-focus-within, var(--_border-color-g-hover, var(--_border-color-g-checked, var(--_border-color-g-current, var(--_border-color-g-open, var(--_border-color-stuck, var(--_border-color-2xl, var(--_border-color-xl, var(--_border-color-lg, var(--_border-color-md, var(--_border-color-sm, var(--_border-color))))))))))))))))))))))));
58
105
  }
@@ -236,30 +283,30 @@
236
283
  background-image: none;
237
284
  }
238
285
  }
239
- :where([data-ui~="group"]:is([open], :popover-open, [aria-expanded="true"]) [style*="--group-bg--open: none"]) {
286
+ :where(:where(ui-group, [data-ui~="group"]):is([open], :popover-open, [aria-expanded="true"]) [style*="--group-bg--open: none"]) {
240
287
  background-image: none;
241
288
  }
242
- :where([data-ui~="group"]:is([aria-current]:not([aria-current="false"])) [style*="--group-bg--current: none"]) {
289
+ :where(:where(ui-group, [data-ui~="group"]):is([aria-current]:not([aria-current="false"])) [style*="--group-bg--current: none"]) {
243
290
  background-image: none;
244
291
  }
245
- :where([data-ui~="group"]:is(:checked, [aria-checked="true"]) [style*="--group-bg--checked: none"]) {
292
+ :where(:where(ui-group, [data-ui~="group"]):is(:checked, [aria-checked="true"]) [style*="--group-bg--checked: none"]) {
246
293
  background-image: none;
247
294
  }
248
295
  @media (hover: hover) {
249
- :where([data-ui~="group"]:hover [style*="--group-bg--hover: none"]) {
296
+ :where(:where(ui-group, [data-ui~="group"]):hover [style*="--group-bg--hover: none"]) {
250
297
  background-image: none;
251
298
  }
252
299
  }
253
- :where([data-ui~="group"]:focus-within [style*="--group-bg--focus-within: none"]) {
300
+ :where(:where(ui-group, [data-ui~="group"]):focus-within [style*="--group-bg--focus-within: none"]) {
254
301
  background-image: none;
255
302
  }
256
- :where([data-ui~="group"]:focus-visible [style*="--group-bg--focus-visible: none"]) {
303
+ :where(:where(ui-group, [data-ui~="group"]):focus-visible [style*="--group-bg--focus-visible: none"]) {
257
304
  background-image: none;
258
305
  }
259
- :where([data-ui~="group"]:active [style*="--group-bg--active: none"]) {
306
+ :where(:where(ui-group, [data-ui~="group"]):active [style*="--group-bg--active: none"]) {
260
307
  background-image: none;
261
308
  }
262
- :where([data-ui~="group"]:is(:disabled, [aria-disabled="true"]) [style*="--group-bg--disabled: none"]) {
309
+ :where(:where(ui-group, [data-ui~="group"]):is(:disabled, [aria-disabled="true"]) [style*="--group-bg--disabled: none"]) {
263
310
  background-image: none;
264
311
  }
265
312
  :where(:is([open], :popover-open, [aria-expanded="true"])[style*="--bg--open: none"]) {
@@ -123,6 +123,14 @@
123
123
  rotate: var(--_rotate-resolved);
124
124
  }
125
125
 
126
+ :where([style*="--animation:"], [style*="--animation--"], [style*="--group-animation--"]) {
127
+ --_animation-resolved: var(--_animation-starting, var(--_animation-disabled, var(--_animation-active, var(--_animation-focus-visible, var(--_animation-focus-within, var(--_animation-hover, var(--_animation-checked, var(--_animation-current, var(--_animation-open, var(--_animation-g-disabled, var(--_animation-g-active, var(--_animation-g-focus-visible, var(--_animation-g-focus-within, var(--_animation-g-hover, var(--_animation-g-checked, var(--_animation-g-current, var(--_animation-g-open, var(--_animation-stuck, var(--_animation-2xl, var(--_animation-xl, var(--_animation-lg, var(--_animation-md, var(--_animation-sm, var(--_animation))))))))))))))))))))))));
128
+ }
129
+ :where([style*="--animation:"]) {
130
+ --_animation: var(--animation);
131
+ animation: var(--_motion-off, var(--_animation-resolved));
132
+ }
133
+
126
134
  :where([style*="--transition:"], [style*="--transition--"], [style*="--group-transition--"]) {
127
135
  --_transition-resolved: var(--_transition-starting, var(--_transition-disabled, var(--_transition-active, var(--_transition-focus-visible, var(--_transition-focus-within, var(--_transition-hover, var(--_transition-checked, var(--_transition-current, var(--_transition-open, var(--_transition-g-disabled, var(--_transition-g-active, var(--_transition-g-focus-visible, var(--_transition-g-focus-within, var(--_transition-g-hover, var(--_transition-g-checked, var(--_transition-g-current, var(--_transition-g-open, var(--_transition-stuck, var(--_transition)))))))))))))))))));
128
136
  }