@zazz-ui/core 0.6.3 → 0.8.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 (146) hide show
  1. package/AUTHORING.md +21 -20
  2. package/CHANGELOG.md +158 -0
  3. package/README.md +4 -4
  4. package/dist/sri.json +86 -83
  5. package/dist/zazz.css +1 -1
  6. package/dist/zazz.js +1 -1
  7. package/editor/zazz.css-data.json +4491 -1484
  8. package/editor/zazz.html-data.json +15 -3
  9. package/editor/zazz.language-data.json +108 -106
  10. package/editor/zazz.lint-data.json +2356 -2
  11. package/package.json +1 -1
  12. package/src/base/_defaults.css +413 -0
  13. package/src/base/_layers.css +6 -2
  14. package/src/base/_properties-2xl.css +20 -2
  15. package/src/base/_properties-active.css +32 -0
  16. package/src/base/_properties-checked.css +32 -0
  17. package/src/base/_properties-current.css +32 -0
  18. package/src/base/_properties-disabled.css +32 -0
  19. package/src/base/_properties-focus-visible.css +32 -0
  20. package/src/base/_properties-focus-within.css +32 -0
  21. package/src/base/_properties-hover.css +32 -0
  22. package/src/base/_properties-lg.css +20 -2
  23. package/src/base/_properties-md.css +20 -2
  24. package/src/base/_properties-open.css +32 -0
  25. package/src/base/_properties-sm.css +20 -2
  26. package/src/base/_properties-starting.css +16 -0
  27. package/src/base/_properties-stuck.css +16 -0
  28. package/src/base/_properties-xl.css +20 -2
  29. package/src/base/_properties.css +58 -9
  30. package/src/base/_shadows.css +46 -0
  31. package/src/base/_utilities-box.css +181 -23
  32. package/src/base/_utilities-color.css +1 -3
  33. package/src/base/_utilities-effects.css +39 -152
  34. package/src/base/_utilities-flow.css +80 -68
  35. package/src/base/_utilities-grid.css +21 -32
  36. package/src/base/_utilities-margin.css +1 -0
  37. package/src/base/_utilities-pseudo.css +58 -4
  38. package/src/base/_utilities-sizing.css +1 -3
  39. package/src/base/_utilities-spacing.css +197 -34
  40. package/src/base/_utilities-tier-2xl.css +10 -1
  41. package/src/base/_utilities-tier-active.css +16 -0
  42. package/src/base/_utilities-tier-checked.css +16 -0
  43. package/src/base/_utilities-tier-current.css +16 -0
  44. package/src/base/_utilities-tier-disabled.css +16 -0
  45. package/src/base/_utilities-tier-focus-visible.css +16 -0
  46. package/src/base/_utilities-tier-focus-within.css +16 -0
  47. package/src/base/_utilities-tier-hover.css +16 -0
  48. package/src/base/_utilities-tier-lg.css +10 -1
  49. package/src/base/_utilities-tier-md.css +10 -1
  50. package/src/base/_utilities-tier-open.css +16 -0
  51. package/src/base/_utilities-tier-sm.css +10 -1
  52. package/src/base/_utilities-tier-starting.css +8 -0
  53. package/src/base/_utilities-tier-stuck.css +8 -0
  54. package/src/base/_utilities-tier-xl.css +10 -1
  55. package/src/base/_utilities-typography.css +1 -9
  56. package/src/base/_variables.css +5 -85
  57. package/src/base/kit-styling.d.ts +11 -0
  58. package/src/base/kit-styling.d.ts.map +1 -0
  59. package/src/base/kit-styling.js +504 -0
  60. package/src/base/kit-styling.ts +507 -0
  61. package/src/base/reveal.d.ts +3 -3
  62. package/src/base/reveal.d.ts.map +1 -1
  63. package/src/base/reveal.js +34 -18
  64. package/src/base/reveal.ts +42 -20
  65. package/src/base/utilities.d.ts +28 -10
  66. package/src/base/utilities.d.ts.map +1 -1
  67. package/src/base/utilities.js +172 -44
  68. package/src/base/utilities.ts +188 -54
  69. package/src/index.css +2 -0
  70. package/src/manifest.d.ts.map +1 -1
  71. package/src/manifest.js +3 -1
  72. package/src/manifest.ts +3 -1
  73. package/src/primitives/avatar/avatar.html +2 -2
  74. package/src/primitives/badge/badge.css +14 -10
  75. package/src/primitives/button/button.css +17 -13
  76. package/src/primitives/button-group/button-group.css +13 -6
  77. package/src/primitives/callout/callout.css +6 -2
  78. package/src/primitives/card/card-subgrid.html +3 -3
  79. package/src/primitives/card/card.css +8 -4
  80. package/src/primitives/card/card.html +2 -2
  81. package/src/primitives/carousel/carousel.html +12 -12
  82. package/src/primitives/checkbox/checkbox.css +6 -2
  83. package/src/primitives/combobox/combobox.css +8 -4
  84. package/src/primitives/debug/audit-core.d.ts +8 -0
  85. package/src/primitives/debug/audit-core.d.ts.map +1 -1
  86. package/src/primitives/debug/audit-core.js +30 -6
  87. package/src/primitives/debug/audit-core.ts +49 -5
  88. package/src/primitives/debug/debug.d.ts +0 -15
  89. package/src/primitives/debug/debug.d.ts.map +1 -1
  90. package/src/primitives/debug/debug.js +11 -2
  91. package/src/primitives/debug/debug.ts +12 -1
  92. package/src/primitives/dialog/dialog-with-form.html +1 -1
  93. package/src/primitives/dialog/dialog.css +35 -14
  94. package/src/primitives/fields/fields.css +8 -4
  95. package/src/primitives/input/input.css +6 -2
  96. package/src/primitives/input-group/input-group.css +5 -1
  97. package/src/primitives/kbd/kbd.css +6 -2
  98. package/src/primitives/layout/layout.html +1 -1
  99. package/src/primitives/lightbox/lightbox.css +12 -16
  100. package/src/primitives/lightbox/lightbox.html +1 -1
  101. package/src/primitives/menu/menu.css +3 -3
  102. package/src/primitives/meter/meter.css +6 -2
  103. package/src/primitives/mobile-menu/mobile-menu.css +2 -2
  104. package/src/primitives/mobile-menu/mobile-menu.html +1 -1
  105. package/src/primitives/navigation-menu/navigation-menu-featured.html +1 -1
  106. package/src/primitives/navigation-menu/navigation-menu.css +4 -4
  107. package/src/primitives/navigation-menu/navigation-menu.html +1 -1
  108. package/src/primitives/otp/otp.css +6 -2
  109. package/src/primitives/password-group/password-group.css +5 -1
  110. package/src/primitives/popover/popover.css +8 -4
  111. package/src/primitives/progress/progress.css +6 -2
  112. package/src/primitives/radio/radio.css +6 -2
  113. package/src/primitives/reveal/reveal.css +17 -11
  114. package/src/primitives/select/select.css +15 -7
  115. package/src/primitives/slider/slider.css +7 -7
  116. package/src/primitives/switch/switch.css +6 -2
  117. package/src/primitives/tabs/tabs.css +10 -6
  118. package/src/primitives/tabs/tabs.html +6 -6
  119. package/src/primitives/textarea/textarea.css +6 -2
  120. package/src/primitives/toaster/toaster.css +2 -2
  121. package/src/primitives/toggle/toggle.css +9 -5
  122. package/src/primitives/toggle-group/toggle-group.css +13 -6
  123. package/src/primitives/toolbar/toolbar.html +1 -1
  124. package/src/primitives/tooltip/tooltip.css +6 -2
  125. package/src/primitives/utilities/aspect-ratio.html +3 -3
  126. package/src/primitives/utilities/basis.html +5 -5
  127. package/src/primitives/utilities/col-span.html +5 -5
  128. package/src/primitives/utilities/compose.html +2 -2
  129. package/src/primitives/utilities/flex-align.html +3 -3
  130. package/src/primitives/utilities/flex-direction.html +6 -6
  131. package/src/primitives/utilities/flex-grow.html +3 -3
  132. package/src/primitives/utilities/gap.html +9 -9
  133. package/src/primitives/utilities/grid-cols.html +6 -6
  134. package/src/primitives/utilities/grid-responsive.html +8 -8
  135. package/src/primitives/utilities/margin-auto.html +3 -3
  136. package/src/primitives/utilities/object-fit.html +3 -3
  137. package/src/primitives/utilities/order.html +3 -3
  138. package/src/primitives/utilities/overflow.html +2 -2
  139. package/src/primitives/utilities/padding-compose.html +6 -6
  140. package/src/primitives/utilities/padding.html +8 -8
  141. package/src/primitives/utilities/pile.html +1 -1
  142. package/src/primitives/utilities/position.html +2 -2
  143. package/src/primitives/utilities/responsive-flex.html +3 -3
  144. package/src/primitives/utilities/responsive-grid.html +8 -8
  145. package/src/primitives/utilities/size.html +5 -5
  146. package/src/primitives/utilities/width.html +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zazz-ui/core",
3
- "version": "0.6.3",
3
+ "version": "0.8.0",
4
4
  "description": "Zazz Design Framework — a zero-build, semantic-token CSS + vanilla JS UI kit built on modern web standards.",
5
5
  "keywords": [
6
6
  "cascade-layers",
@@ -0,0 +1,413 @@
1
+ /* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */
2
+
3
+ /* Tier-only rules: below every component, vendor, and legacy layer */
4
+ @layer defaults {
5
+
6
+ :where(:is([style*="--position--"], [style*="--group-position--"]):not(:is(header, footer, section, article), :is(sub, sup), [popover], body, dialog, input[type="checkbox"]:not([role="switch"]), label:has(> input[role="switch"]), main)) {
7
+ position: var(--_position-resolved, static);
8
+ }
9
+
10
+ :where(:is([style*="--anchor-name--"], [style*="--group-anchor-name--"])) {
11
+ anchor-name: var(--_anchor-name-resolved, none);
12
+ }
13
+
14
+ :where(:is([style*="--position-anchor--"], [style*="--group-position-anchor--"])) {
15
+ position-anchor: var(--_position-anchor-resolved, normal);
16
+ }
17
+
18
+ :where(:is([style*="--position-area--"], [style*="--group-position-area--"]):not([popover])) {
19
+ position-area: var(--_position-area-resolved, none);
20
+ }
21
+
22
+ :where(:is([style*="--flex-wrap--"], [style*="--group-flex-wrap--"])) {
23
+ flex-wrap: var(--_flex-wrap-resolved, nowrap);
24
+ }
25
+
26
+ :where(:is([style*="--grid-flow--"], [style*="--group-grid-flow--"])) {
27
+ grid-auto-flow: var(--_grid-flow-resolved, row);
28
+ }
29
+
30
+ :where(:is([style*="--auto-cols--"], [style*="--group-auto-cols--"])) {
31
+ grid-auto-columns: var(--_auto-cols-resolved, auto);
32
+ }
33
+
34
+ :where(:is([style*="--auto-rows--"], [style*="--group-auto-rows--"])) {
35
+ grid-auto-rows: var(--_auto-rows-resolved, auto);
36
+ }
37
+
38
+ :where(:is([style*="--items--"], [style*="--group-items--"]):not(input[type="checkbox"]:not([role="switch"]), kbd)) {
39
+ align-items: var(--_items-resolved, normal);
40
+ }
41
+
42
+ :where(:is([style*="--justify--"], [style*="--group-justify--"]):not(kbd)) {
43
+ justify-content: var(--_justify-resolved, normal);
44
+ }
45
+
46
+ :where(:is([style*="--place-items--"], [style*="--group-place-items--"]):not(input[type="checkbox"]:not([role="switch"]), kbd)) {
47
+ place-items: var(--_place-items-resolved, normal);
48
+ }
49
+
50
+ :where(:is([style*="--place-content--"], [style*="--group-place-content--"]):not([popover], kbd)) {
51
+ place-content: var(--_place-content-resolved, normal);
52
+ }
53
+
54
+ :where(:is([style*="--self--"], [style*="--group-self--"])) {
55
+ align-self: var(--_self-resolved, auto);
56
+ }
57
+
58
+ :where(:is([style*="--flex--"], [style*="--group-flex--"]):not(hr, input[role="switch"], input[type="checkbox"]:not([role="switch"]), main)) {
59
+ flex: var(--_flex-resolved, 0 1 auto);
60
+ }
61
+
62
+ :where(:is([style*="--shrink--"], [style*="--group-shrink--"]):not(hr, input[role="switch"], input[type="checkbox"]:not([role="switch"]), main)) {
63
+ flex-shrink: var(--_shrink-resolved, 1);
64
+ }
65
+
66
+ :where(:is([style*="--basis--"], [style*="--group-basis--"]):not(main)) {
67
+ flex-basis: var(--_basis-resolved, auto);
68
+ }
69
+
70
+ :where(:is([style*="--order--"], [style*="--group-order--"])) {
71
+ order: var(--_order-resolved, 0);
72
+ }
73
+
74
+ :where(:is([style*="--band--"], [style*="--group-band--"])) {
75
+ grid-column: var(--_band-resolved, auto);
76
+ }
77
+
78
+ :where(:is([style*="--col-span--"], [style*="--group-col-span--"])) {
79
+ grid-column: span var(--_col-span-resolved, 1) / span var(--_col-span-resolved, 1);
80
+ }
81
+
82
+ :where(:is([style*="--col-start--"], [style*="--group-col-start--"])) {
83
+ grid-column-start: var(--_col-start-resolved, auto);
84
+ }
85
+
86
+ :where(:is([style*="--col-end--"], [style*="--group-col-end--"])) {
87
+ grid-column-end: var(--_col-end-resolved, auto);
88
+ }
89
+
90
+ :where(:is([style*="--row-span--"], [style*="--group-row-span--"])) {
91
+ grid-row: span var(--_row-span-resolved, 1) / span var(--_row-span-resolved, 1);
92
+ }
93
+
94
+ :where(:is([style*="--row-start--"], [style*="--group-row-start--"])) {
95
+ grid-row-start: var(--_row-start-resolved, auto);
96
+ }
97
+
98
+ :where(:is([style*="--row-end--"], [style*="--group-row-end--"])) {
99
+ grid-row-end: var(--_row-end-resolved, auto);
100
+ }
101
+
102
+ :where(:is([style*="--grid-cols--"], [style*="--group-grid-cols--"])) {
103
+ grid-template-columns: repeat(var(--_grid-cols-resolved, 1), minmax(0, 1fr));
104
+ }
105
+ @container (width >= 40rem) {
106
+ :where([style*="--grid-cols--sm:"]) {
107
+ grid-template-columns: repeat(var(--_grid-cols-resolved), minmax(0, 1fr));
108
+ }
109
+ :where(:is([style*="--grid-cols--sm: subgrid"])) {
110
+ grid-template-columns: var(--_grid-cols-resolved);
111
+ }
112
+ }
113
+ @container (width >= 48rem) {
114
+ :where([style*="--grid-cols--md:"]) {
115
+ grid-template-columns: repeat(var(--_grid-cols-resolved), minmax(0, 1fr));
116
+ }
117
+ :where(:is([style*="--grid-cols--md: subgrid"])) {
118
+ grid-template-columns: var(--_grid-cols-resolved);
119
+ }
120
+ }
121
+ @container (width >= 64rem) {
122
+ :where([style*="--grid-cols--lg:"]) {
123
+ grid-template-columns: repeat(var(--_grid-cols-resolved), minmax(0, 1fr));
124
+ }
125
+ :where(:is([style*="--grid-cols--lg: subgrid"])) {
126
+ grid-template-columns: var(--_grid-cols-resolved);
127
+ }
128
+ }
129
+ @container (width >= 80rem) {
130
+ :where([style*="--grid-cols--xl:"]) {
131
+ grid-template-columns: repeat(var(--_grid-cols-resolved), minmax(0, 1fr));
132
+ }
133
+ :where(:is([style*="--grid-cols--xl: subgrid"])) {
134
+ grid-template-columns: var(--_grid-cols-resolved);
135
+ }
136
+ }
137
+ @container (width >= 96rem) {
138
+ :where([style*="--grid-cols--2xl:"]) {
139
+ grid-template-columns: repeat(var(--_grid-cols-resolved), minmax(0, 1fr));
140
+ }
141
+ :where(:is([style*="--grid-cols--2xl: subgrid"])) {
142
+ grid-template-columns: var(--_grid-cols-resolved);
143
+ }
144
+ }
145
+
146
+ :where(:is([style*="--grid-rows--"], [style*="--group-grid-rows--"])) {
147
+ grid-template-rows: repeat(var(--_grid-rows-resolved, 1), minmax(0, 1fr));
148
+ }
149
+ @container (width >= 40rem) {
150
+ :where([style*="--grid-rows--sm:"]) {
151
+ grid-template-rows: repeat(var(--_grid-rows-resolved), minmax(0, 1fr));
152
+ }
153
+ :where(:is([style*="--grid-rows--sm: subgrid"])) {
154
+ grid-template-rows: var(--_grid-rows-resolved);
155
+ }
156
+ }
157
+ @container (width >= 48rem) {
158
+ :where([style*="--grid-rows--md:"]) {
159
+ grid-template-rows: repeat(var(--_grid-rows-resolved), minmax(0, 1fr));
160
+ }
161
+ :where(:is([style*="--grid-rows--md: subgrid"])) {
162
+ grid-template-rows: var(--_grid-rows-resolved);
163
+ }
164
+ }
165
+ @container (width >= 64rem) {
166
+ :where([style*="--grid-rows--lg:"]) {
167
+ grid-template-rows: repeat(var(--_grid-rows-resolved), minmax(0, 1fr));
168
+ }
169
+ :where(:is([style*="--grid-rows--lg: subgrid"])) {
170
+ grid-template-rows: var(--_grid-rows-resolved);
171
+ }
172
+ }
173
+ @container (width >= 80rem) {
174
+ :where([style*="--grid-rows--xl:"]) {
175
+ grid-template-rows: repeat(var(--_grid-rows-resolved), minmax(0, 1fr));
176
+ }
177
+ :where(:is([style*="--grid-rows--xl: subgrid"])) {
178
+ grid-template-rows: var(--_grid-rows-resolved);
179
+ }
180
+ }
181
+ @container (width >= 96rem) {
182
+ :where([style*="--grid-rows--2xl:"]) {
183
+ grid-template-rows: repeat(var(--_grid-rows-resolved), minmax(0, 1fr));
184
+ }
185
+ :where(:is([style*="--grid-rows--2xl: subgrid"])) {
186
+ grid-template-rows: var(--_grid-rows-resolved);
187
+ }
188
+ }
189
+
190
+ :where(:is([style*="--template-cols--"], [style*="--group-template-cols--"])) {
191
+ grid-template-columns: var(--_template-cols-resolved, none);
192
+ }
193
+
194
+ :where(:is([style*="--template-rows--"], [style*="--group-template-rows--"])) {
195
+ grid-template-rows: var(--_template-rows-resolved, none);
196
+ }
197
+
198
+
199
+ :where(:is([style*="--p--"], [style*="--group-p--"]):not(code, kbd, select:is([multiple], [size]) optgroup option)) {
200
+ --_p-len: var(--_p-resolved, 0);
201
+ --_p-num: var(--_p-resolved, 0);
202
+ padding: calc(var(--_p-len) + var(--_p-num) * var(--spacing));
203
+ }
204
+
205
+ :where(:is([style*="--px--"], [style*="--group-px--"]):not(code, kbd, select:is([multiple], [size]) optgroup option)) {
206
+ --_px-len: var(--_px-resolved, 0);
207
+ --_px-num: var(--_px-resolved, 0);
208
+ padding-inline: calc(var(--_px-len) + var(--_px-num) * var(--spacing));
209
+ }
210
+
211
+ :where(:is([style*="--py--"], [style*="--group-py--"]):not(code, kbd)) {
212
+ --_py-len: var(--_py-resolved, 0);
213
+ --_py-num: var(--_py-resolved, 0);
214
+ padding-block: calc(var(--_py-len) + var(--_py-num) * var(--spacing));
215
+ }
216
+
217
+ :where(:is([style*="--pt--"], [style*="--group-pt--"]):not(code, kbd)) {
218
+ --_pt-len: var(--_pt-resolved, 0);
219
+ --_pt-num: var(--_pt-resolved, 0);
220
+ padding-block-start: calc(var(--_pt-len) + var(--_pt-num) * var(--spacing));
221
+ }
222
+
223
+ :where(:is([style*="--pb--"], [style*="--group-pb--"]):not(code, kbd)) {
224
+ --_pb-len: var(--_pb-resolved, 0);
225
+ --_pb-num: var(--_pb-resolved, 0);
226
+ padding-block-end: calc(var(--_pb-len) + var(--_pb-num) * var(--spacing));
227
+ }
228
+
229
+ :where(:is([style*="--pl--"], [style*="--group-pl--"]):not(code, kbd, select:is([multiple], [size]) optgroup option)) {
230
+ --_pl-len: var(--_pl-resolved, 0);
231
+ --_pl-num: var(--_pl-resolved, 0);
232
+ padding-inline-start: calc(var(--_pl-len) + var(--_pl-num) * var(--spacing));
233
+ }
234
+
235
+ :where(:is([style*="--pr--"], [style*="--group-pr--"]):not(code, kbd)) {
236
+ --_pr-len: var(--_pr-resolved, 0);
237
+ --_pr-num: var(--_pr-resolved, 0);
238
+ padding-inline-end: calc(var(--_pr-len) + var(--_pr-num) * var(--spacing));
239
+ }
240
+
241
+ :where(:is([style*="--gap--"], [style*="--group-gap--"]):not(kbd)) {
242
+ --_gap-len: var(--_gap-resolved, 0);
243
+ --_gap-num: var(--_gap-resolved, 0);
244
+ gap: calc(var(--_gap-len) + var(--_gap-num) * var(--spacing));
245
+ }
246
+
247
+ :where(:is([style*="--gap-x--"], [style*="--group-gap-x--"]):not(kbd)) {
248
+ --_gap-x-len: var(--_gap-x-resolved, 0);
249
+ --_gap-x-num: var(--_gap-x-resolved, 0);
250
+ column-gap: calc(var(--_gap-x-len) + var(--_gap-x-num) * var(--spacing));
251
+ }
252
+
253
+ :where(:is([style*="--gap-y--"], [style*="--group-gap-y--"]):not(kbd)) {
254
+ --_gap-y-len: var(--_gap-y-resolved, 0);
255
+ --_gap-y-num: var(--_gap-y-resolved, 0);
256
+ row-gap: calc(var(--_gap-y-len) + var(--_gap-y-num) * var(--spacing));
257
+ }
258
+
259
+
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+ :where(:is([style*="--aspect--"], [style*="--group-aspect--"])) {
281
+ aspect-ratio: var(--_aspect-resolved, auto);
282
+ }
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+ :where(:is([style*="--text-align--"], [style*="--group-text-align--"]):not(button)) {
291
+ text-align: var(--_text-align-resolved, start);
292
+ }
293
+
294
+
295
+ :where(:is([style*="--text-wrap--"], [style*="--group-text-wrap--"]):not(:is(h1, [data-ui~="text-h1"]), :is(h2, [data-ui~="text-h2"]), :is(h3, [data-ui~="text-h3"]), :is(h4, [data-ui~="text-h4"]), :is(h5, [data-ui~="text-h5"]), :is(h6, [data-ui~="text-h6"]), [data-ui~="text-display"], body)) {
296
+ text-wrap: var(--_text-wrap-resolved, wrap);
297
+ }
298
+
299
+
300
+ :where(:is([style*="--text-decoration--"], [style*="--group-text-decoration--"]):not([data-ui~="text-link"], abbr[title])) {
301
+ text-decoration-line: var(--_text-decoration-resolved, none);
302
+ }
303
+
304
+
305
+
306
+ :where(:is([style*="--bg--"], [style*="--group-bg--"]):not(:is(input[type="checkbox"]:not([role="switch"]), input[type="checkbox"]:not([role="switch"])), :is(progress, meter), [data-tooltip-slot~="content"], [data-ui~="meter"], [data-ui~="progress"], [popover], body, code, hr, hr[data-orientation="vertical"], html, input[role="switch"], input[type="checkbox"]:not([role="switch"]), kbd)) {
307
+ background-color: oklch(from var(--_bg-resolved, transparent) l c h / calc(alpha * var(--_bg-alpha-resolved, 1)));
308
+ }
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+
322
+
323
+
324
+
325
+ :where(:is([style*="--opacity--"], [style*="--group-opacity--"]):not([data-tooltip-slot~="content"], [popover], dialog, dialog[open], input[type="range"], label:has(> input[role="switch"]))) {
326
+ opacity: var(--_opacity-resolved, 1);
327
+ }
328
+
329
+ :where(:is([style*="--filter--"], [style*="--group-filter--"])) {
330
+ filter: var(--_filter-resolved, none);
331
+ }
332
+
333
+
334
+ :where(:is([style*="--backdrop-filter--"], [style*="--group-backdrop-filter--"])) {
335
+ backdrop-filter: var(--_backdrop-filter-resolved, none);
336
+ }
337
+
338
+ :where(:is([style*="--mix-blend--"], [style*="--group-mix-blend--"])) {
339
+ mix-blend-mode: var(--_mix-blend-resolved, normal);
340
+ }
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+
350
+ :where(:is([style*="--scale--"], [style*="--group-scale--"])) {
351
+ scale: var(--_scale-resolved, none);
352
+ }
353
+
354
+ :where(:is([style*="--translate--"], [style*="--group-translate--"])) {
355
+ translate: var(--_translate-resolved, none);
356
+ }
357
+
358
+ :where(:is([style*="--rotate--"], [style*="--group-rotate--"])) {
359
+ rotate: var(--_rotate-resolved, none);
360
+ }
361
+
362
+
363
+
364
+
365
+ :where(:is([style*="--radius--"], [style*="--group-radius--"]):not([data-ui~="meter"], [data-ui~="progress"], [popover], code, input[role="switch"], input[type="checkbox"]:not([role="switch"]), input[type="range"], kbd)) {
366
+ --_radius-len: var(--_radius-resolved, 0);
367
+ --_radius-num: var(--_radius-resolved, 0);
368
+ border-radius: calc(var(--_radius-len) + var(--_radius-num) * var(--spacing) * var(--radius-multiplier));
369
+ }
370
+
371
+ :where(:is([style*="--radius-t--"], [style*="--group-radius-t--"]):not([data-ui~="meter"], [data-ui~="progress"], [popover], code, input[role="switch"], input[type="checkbox"]:not([role="switch"]), input[type="range"], kbd)) {
372
+ --_radius-t-len: var(--_radius-t-resolved, 0);
373
+ --_radius-t-num: var(--_radius-t-resolved, 0);
374
+ border-start-start-radius: calc(var(--_radius-t-len) + var(--_radius-t-num) * var(--spacing) * var(--radius-multiplier));
375
+ border-start-end-radius: calc(var(--_radius-t-len) + var(--_radius-t-num) * var(--spacing) * var(--radius-multiplier));
376
+ }
377
+
378
+ :where(:is([style*="--radius-b--"], [style*="--group-radius-b--"]):not([data-ui~="meter"], [data-ui~="progress"], [popover], code, input[role="switch"], input[type="checkbox"]:not([role="switch"]), input[type="range"], kbd)) {
379
+ --_radius-b-len: var(--_radius-b-resolved, 0);
380
+ --_radius-b-num: var(--_radius-b-resolved, 0);
381
+ border-end-start-radius: calc(var(--_radius-b-len) + var(--_radius-b-num) * var(--spacing) * var(--radius-multiplier));
382
+ border-end-end-radius: calc(var(--_radius-b-len) + var(--_radius-b-num) * var(--spacing) * var(--radius-multiplier));
383
+ }
384
+
385
+ :where(:is([style*="--radius-l--"], [style*="--group-radius-l--"]):not([data-ui~="meter"], [data-ui~="progress"], [popover], code, input[role="switch"], input[type="checkbox"]:not([role="switch"]), input[type="range"], kbd)) {
386
+ --_radius-l-len: var(--_radius-l-resolved, 0);
387
+ --_radius-l-num: var(--_radius-l-resolved, 0);
388
+ border-start-start-radius: calc(var(--_radius-l-len) + var(--_radius-l-num) * var(--spacing) * var(--radius-multiplier));
389
+ border-end-start-radius: calc(var(--_radius-l-len) + var(--_radius-l-num) * var(--spacing) * var(--radius-multiplier));
390
+ }
391
+
392
+ :where(:is([style*="--radius-r--"], [style*="--group-radius-r--"]):not([data-ui~="meter"], [data-ui~="progress"], [popover], code, input[role="switch"], input[type="checkbox"]:not([role="switch"]), input[type="range"], kbd)) {
393
+ --_radius-r-len: var(--_radius-r-resolved, 0);
394
+ --_radius-r-num: var(--_radius-r-resolved, 0);
395
+ border-start-end-radius: calc(var(--_radius-r-len) + var(--_radius-r-num) * var(--spacing) * var(--radius-multiplier));
396
+ border-end-end-radius: calc(var(--_radius-r-len) + var(--_radius-r-num) * var(--spacing) * var(--radius-multiplier));
397
+ }
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+
409
+
410
+ :where(:is(:is([style*="--shadow--"], [style*="--ring--"], [style*="--ring-color--"], [style*="--ring-offset--"], [style*="--ring-offset-color--"], [style*="--elevation--"]), :is([style*="--group-shadow--"], [style*="--group-ring--"], [style*="--group-ring-color--"], [style*="--group-ring-offset--"], [style*="--group-ring-offset-color--"], [style*="--group-elevation--"])):not([popover], dialog, input[role="switch"], input[type="checkbox"]:not([role="switch"]))) {
411
+ box-shadow: var(--_focus-shadow, 0 0 #0000), 0 0 0 calc(abs(var(--_ring-offset-w, 0px)) * (1 - max(0, -1 * sign(var(--_ring-w, 0px))))) var(--_ring-offset-color-resolved, transparent), 0 0 0 calc((abs(var(--_ring-offset-w, 0px)) + abs(var(--_ring-w, 0px))) * (1 - max(0, -1 * sign(var(--_ring-w, 0px))))) var(--_ring-color-resolved, var(--color-ring)), inset 0 0 0 calc(abs(var(--_ring-offset-w, 0px)) * max(0, -1 * sign(var(--_ring-w, 0px)))) var(--_ring-offset-color-resolved, transparent), inset 0 0 0 calc((abs(var(--_ring-offset-w, 0px)) + abs(var(--_ring-w, 0px))) * max(0, -1 * sign(var(--_ring-w, 0px)))) var(--_ring-color-resolved, var(--color-ring)), var(--_shadow-resolved, var(--_elevation-shadow, 0 0 #0000));
412
+ }
413
+ }
@@ -1,16 +1,20 @@
1
1
  /**
2
2
  * _layers.css — Cascade layer order (must load first).
3
3
  *
4
- * @layer variables, reset, vendors, legacy, ui, overrides
4
+ * @layer variables, reset, defaults, vendors, legacy, ui, overrides
5
5
  * @sublayers legacy.imports, legacy.components, legacy.utilities,
6
6
  * legacy.migrations; ui.components, ui.plugins, ui.utilities
7
7
  *
8
+ * `defaults` holds the kit's tier-only utility rules (`_defaults.css`): above
9
+ * the reset, so a tier alone beats its zeroing, and below everything else, so
10
+ * any component, vendor, or legacy rule that sets the property keeps its value.
11
+ *
8
12
  * Never import styles into bare `legacy` or `ui`: un-sublayered rules form
9
13
  * an implicit final sublayer that outranks every named sublayer. Always target
10
14
  * a sublayer.
11
15
  */
12
16
 
13
- @layer variables, reset, vendors, legacy, ui, overrides;
17
+ @layer variables, reset, defaults, vendors, legacy, ui, overrides;
14
18
 
15
19
  @layer legacy {
16
20
  @layer imports, components, utilities, migrations;
@@ -5,10 +5,14 @@
5
5
  @property --_display-2xl { syntax: "*"; inherits: false; }
6
6
  @property --position--2xl { syntax: "*"; inherits: false; }
7
7
  @property --_position-2xl { syntax: "*"; inherits: false; }
8
+ @property --anchor-name--2xl { syntax: "*"; inherits: false; }
9
+ @property --_anchor-name-2xl { syntax: "*"; inherits: false; }
10
+ @property --position-anchor--2xl { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-2xl { syntax: "*"; inherits: false; }
12
+ @property --position-area--2xl { syntax: "*"; inherits: false; }
13
+ @property --_position-area-2xl { syntax: "*"; inherits: false; }
8
14
  @property --flex-wrap--2xl { syntax: "*"; inherits: false; }
9
15
  @property --_flex-wrap-2xl { syntax: "*"; inherits: false; }
10
- @property --shrink--2xl { syntax: "*"; inherits: false; }
11
- @property --_shrink-2xl { syntax: "*"; inherits: false; }
12
16
  @property --grid-flow--2xl { syntax: "*"; inherits: false; }
13
17
  @property --_grid-flow-2xl { syntax: "*"; inherits: false; }
14
18
  @property --auto-cols--2xl { syntax: "*"; inherits: false; }
@@ -27,6 +31,8 @@
27
31
  @property --_self-2xl { syntax: "*"; inherits: false; }
28
32
  @property --flex--2xl { syntax: "*"; inherits: false; }
29
33
  @property --_flex-2xl { syntax: "*"; inherits: false; }
34
+ @property --shrink--2xl { syntax: "*"; inherits: false; }
35
+ @property --_shrink-2xl { syntax: "*"; inherits: false; }
30
36
  @property --basis--2xl { syntax: "*"; inherits: false; }
31
37
  @property --_basis-2xl { syntax: "*"; inherits: false; }
32
38
  @property --order--2xl { syntax: "*"; inherits: false; }
@@ -169,6 +175,8 @@
169
175
  @property --_border-r-2xl { syntax: "*"; inherits: false; }
170
176
  @property --border-b--2xl { syntax: "*"; inherits: false; }
171
177
  @property --_border-b-2xl { syntax: "*"; inherits: false; }
178
+ @property --elevation--2xl { syntax: "*"; inherits: false; }
179
+ @property --_elevation-2xl { syntax: "*"; inherits: false; }
172
180
  @property --shadow-angle--2xl { syntax: "*"; inherits: false; }
173
181
  @property --_shadow-angle-2xl { syntax: "*"; inherits: false; }
174
182
  @property --ring--2xl { syntax: "*"; inherits: false; }
@@ -185,3 +193,13 @@
185
193
  @property --_transition-duration-2xl { syntax: "*"; inherits: false; }
186
194
  @property --transition-delay--2xl { syntax: "*"; inherits: false; }
187
195
  @property --_transition-delay-2xl { syntax: "*"; inherits: false; }
196
+ @property --radius--2xl { syntax: "*"; inherits: false; }
197
+ @property --_radius-2xl { syntax: "*"; inherits: false; }
198
+ @property --radius-t--2xl { syntax: "*"; inherits: false; }
199
+ @property --_radius-t-2xl { syntax: "*"; inherits: false; }
200
+ @property --radius-b--2xl { syntax: "*"; inherits: false; }
201
+ @property --_radius-b-2xl { syntax: "*"; inherits: false; }
202
+ @property --radius-l--2xl { syntax: "*"; inherits: false; }
203
+ @property --_radius-l-2xl { syntax: "*"; inherits: false; }
204
+ @property --radius-r--2xl { syntax: "*"; inherits: false; }
205
+ @property --_radius-r-2xl { syntax: "*"; inherits: false; }
@@ -1,6 +1,18 @@
1
1
  /* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */
2
2
 
3
3
  /* active tier registrations */
4
+ @property --anchor-name--active { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-active { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--active { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-active { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--active { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-active { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--active { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-active { syntax: "*"; inherits: false; }
12
+ @property --position-area--active { syntax: "*"; inherits: false; }
13
+ @property --_position-area-active { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--active { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-active { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--active { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-active { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--active { syntax: "*"; inherits: false; }
@@ -69,6 +81,22 @@
69
81
  @property --_opacity-active { syntax: "*"; inherits: false; }
70
82
  @property --group-opacity--active { syntax: "*"; inherits: false; }
71
83
  @property --_opacity-g-active { syntax: "*"; inherits: false; }
84
+ @property --filter--active { syntax: "*"; inherits: false; }
85
+ @property --_filter-active { syntax: "*"; inherits: false; }
86
+ @property --group-filter--active { syntax: "*"; inherits: false; }
87
+ @property --_filter-g-active { syntax: "*"; inherits: false; }
88
+ @property --elevation--active { syntax: "*"; inherits: false; }
89
+ @property --_elevation-active { syntax: "*"; inherits: false; }
90
+ @property --group-elevation--active { syntax: "*"; inherits: false; }
91
+ @property --_elevation-g-active { syntax: "*"; inherits: false; }
92
+ @property --backdrop-filter--active { syntax: "*"; inherits: false; }
93
+ @property --_backdrop-filter-active { syntax: "*"; inherits: false; }
94
+ @property --group-backdrop-filter--active { syntax: "*"; inherits: false; }
95
+ @property --_backdrop-filter-g-active { syntax: "*"; inherits: false; }
96
+ @property --mix-blend--active { syntax: "*"; inherits: false; }
97
+ @property --_mix-blend-active { syntax: "*"; inherits: false; }
98
+ @property --group-mix-blend--active { syntax: "*"; inherits: false; }
99
+ @property --_mix-blend-g-active { syntax: "*"; inherits: false; }
72
100
  @property --shadow--active { syntax: "*"; inherits: false; }
73
101
  @property --_shadow-active { syntax: "*"; inherits: false; }
74
102
  @property --group-shadow--active { syntax: "*"; inherits: false; }
@@ -117,3 +145,7 @@
117
145
  @property --_transition-delay-active { syntax: "*"; inherits: false; }
118
146
  @property --group-transition-delay--active { syntax: "*"; inherits: false; }
119
147
  @property --_transition-delay-g-active { syntax: "*"; inherits: false; }
148
+ @property --radius--active { syntax: "*"; inherits: false; }
149
+ @property --_radius-active { syntax: "*"; inherits: false; }
150
+ @property --group-radius--active { syntax: "*"; inherits: false; }
151
+ @property --_radius-g-active { syntax: "*"; inherits: false; }
@@ -1,6 +1,18 @@
1
1
  /* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */
2
2
 
3
3
  /* checked tier registrations */
4
+ @property --anchor-name--checked { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-checked { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--checked { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-checked { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--checked { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-checked { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--checked { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-checked { syntax: "*"; inherits: false; }
12
+ @property --position-area--checked { syntax: "*"; inherits: false; }
13
+ @property --_position-area-checked { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--checked { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-checked { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--checked { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-checked { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--checked { syntax: "*"; inherits: false; }
@@ -69,6 +81,22 @@
69
81
  @property --_opacity-checked { syntax: "*"; inherits: false; }
70
82
  @property --group-opacity--checked { syntax: "*"; inherits: false; }
71
83
  @property --_opacity-g-checked { syntax: "*"; inherits: false; }
84
+ @property --filter--checked { syntax: "*"; inherits: false; }
85
+ @property --_filter-checked { syntax: "*"; inherits: false; }
86
+ @property --group-filter--checked { syntax: "*"; inherits: false; }
87
+ @property --_filter-g-checked { syntax: "*"; inherits: false; }
88
+ @property --elevation--checked { syntax: "*"; inherits: false; }
89
+ @property --_elevation-checked { syntax: "*"; inherits: false; }
90
+ @property --group-elevation--checked { syntax: "*"; inherits: false; }
91
+ @property --_elevation-g-checked { syntax: "*"; inherits: false; }
92
+ @property --backdrop-filter--checked { syntax: "*"; inherits: false; }
93
+ @property --_backdrop-filter-checked { syntax: "*"; inherits: false; }
94
+ @property --group-backdrop-filter--checked { syntax: "*"; inherits: false; }
95
+ @property --_backdrop-filter-g-checked { syntax: "*"; inherits: false; }
96
+ @property --mix-blend--checked { syntax: "*"; inherits: false; }
97
+ @property --_mix-blend-checked { syntax: "*"; inherits: false; }
98
+ @property --group-mix-blend--checked { syntax: "*"; inherits: false; }
99
+ @property --_mix-blend-g-checked { syntax: "*"; inherits: false; }
72
100
  @property --shadow--checked { syntax: "*"; inherits: false; }
73
101
  @property --_shadow-checked { syntax: "*"; inherits: false; }
74
102
  @property --group-shadow--checked { syntax: "*"; inherits: false; }
@@ -117,3 +145,7 @@
117
145
  @property --_transition-delay-checked { syntax: "*"; inherits: false; }
118
146
  @property --group-transition-delay--checked { syntax: "*"; inherits: false; }
119
147
  @property --_transition-delay-g-checked { syntax: "*"; inherits: false; }
148
+ @property --radius--checked { syntax: "*"; inherits: false; }
149
+ @property --_radius-checked { syntax: "*"; inherits: false; }
150
+ @property --group-radius--checked { syntax: "*"; inherits: false; }
151
+ @property --_radius-g-checked { syntax: "*"; inherits: false; }
@@ -1,6 +1,18 @@
1
1
  /* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */
2
2
 
3
3
  /* current tier registrations */
4
+ @property --anchor-name--current { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-current { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--current { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-current { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--current { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-current { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--current { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-current { syntax: "*"; inherits: false; }
12
+ @property --position-area--current { syntax: "*"; inherits: false; }
13
+ @property --_position-area-current { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--current { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-current { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--current { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-current { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--current { syntax: "*"; inherits: false; }
@@ -69,6 +81,22 @@
69
81
  @property --_opacity-current { syntax: "*"; inherits: false; }
70
82
  @property --group-opacity--current { syntax: "*"; inherits: false; }
71
83
  @property --_opacity-g-current { syntax: "*"; inherits: false; }
84
+ @property --filter--current { syntax: "*"; inherits: false; }
85
+ @property --_filter-current { syntax: "*"; inherits: false; }
86
+ @property --group-filter--current { syntax: "*"; inherits: false; }
87
+ @property --_filter-g-current { syntax: "*"; inherits: false; }
88
+ @property --elevation--current { syntax: "*"; inherits: false; }
89
+ @property --_elevation-current { syntax: "*"; inherits: false; }
90
+ @property --group-elevation--current { syntax: "*"; inherits: false; }
91
+ @property --_elevation-g-current { syntax: "*"; inherits: false; }
92
+ @property --backdrop-filter--current { syntax: "*"; inherits: false; }
93
+ @property --_backdrop-filter-current { syntax: "*"; inherits: false; }
94
+ @property --group-backdrop-filter--current { syntax: "*"; inherits: false; }
95
+ @property --_backdrop-filter-g-current { syntax: "*"; inherits: false; }
96
+ @property --mix-blend--current { syntax: "*"; inherits: false; }
97
+ @property --_mix-blend-current { syntax: "*"; inherits: false; }
98
+ @property --group-mix-blend--current { syntax: "*"; inherits: false; }
99
+ @property --_mix-blend-g-current { syntax: "*"; inherits: false; }
72
100
  @property --shadow--current { syntax: "*"; inherits: false; }
73
101
  @property --_shadow-current { syntax: "*"; inherits: false; }
74
102
  @property --group-shadow--current { syntax: "*"; inherits: false; }
@@ -117,3 +145,7 @@
117
145
  @property --_transition-delay-current { syntax: "*"; inherits: false; }
118
146
  @property --group-transition-delay--current { syntax: "*"; inherits: false; }
119
147
  @property --_transition-delay-g-current { syntax: "*"; inherits: false; }
148
+ @property --radius--current { syntax: "*"; inherits: false; }
149
+ @property --_radius-current { syntax: "*"; inherits: false; }
150
+ @property --group-radius--current { syntax: "*"; inherits: false; }
151
+ @property --_radius-g-current { syntax: "*"; inherits: false; }