@zazz-ui/core 0.6.2 → 0.7.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 (97) hide show
  1. package/AUTHORING.md +5 -3
  2. package/CHANGELOG.md +38 -0
  3. package/README.md +3 -3
  4. package/dist/csp-D72qtdXZ.js +1 -0
  5. package/dist/sri.json +54 -49
  6. package/dist/zazz.css +1 -1
  7. package/dist/zazz.js +1 -1
  8. package/editor/zazz.css-data.json +312 -24
  9. package/editor/zazz.language-data.json +9 -9
  10. package/editor/zazz.lint-data.json +2028 -0
  11. package/package.json +1 -1
  12. package/src/base/_defaults.css +367 -0
  13. package/src/base/_layers.css +6 -2
  14. package/src/base/_properties-2xl.css +8 -2
  15. package/src/base/_properties-active.css +12 -0
  16. package/src/base/_properties-checked.css +12 -0
  17. package/src/base/_properties-current.css +12 -0
  18. package/src/base/_properties-disabled.css +12 -0
  19. package/src/base/_properties-focus-visible.css +12 -0
  20. package/src/base/_properties-focus-within.css +12 -0
  21. package/src/base/_properties-hover.css +12 -0
  22. package/src/base/_properties-lg.css +8 -2
  23. package/src/base/_properties-md.css +8 -2
  24. package/src/base/_properties-open.css +12 -0
  25. package/src/base/_properties-sm.css +8 -2
  26. package/src/base/_properties-starting.css +6 -0
  27. package/src/base/_properties-stuck.css +6 -0
  28. package/src/base/_properties-xl.css +8 -2
  29. package/src/base/_properties.css +12 -3
  30. package/src/base/_utilities-box.css +0 -15
  31. package/src/base/_utilities-effects.css +0 -15
  32. package/src/base/_utilities-flow.css +79 -68
  33. package/src/base/_utilities-grid.css +20 -32
  34. package/src/base/_utilities-sizing.css +0 -3
  35. package/src/base/_utilities-spacing.css +36 -11
  36. package/src/base/_utilities-tier-2xl.css +4 -1
  37. package/src/base/_utilities-tier-active.css +6 -0
  38. package/src/base/_utilities-tier-checked.css +6 -0
  39. package/src/base/_utilities-tier-current.css +6 -0
  40. package/src/base/_utilities-tier-disabled.css +6 -0
  41. package/src/base/_utilities-tier-focus-visible.css +6 -0
  42. package/src/base/_utilities-tier-focus-within.css +6 -0
  43. package/src/base/_utilities-tier-hover.css +6 -0
  44. package/src/base/_utilities-tier-lg.css +4 -1
  45. package/src/base/_utilities-tier-md.css +4 -1
  46. package/src/base/_utilities-tier-open.css +6 -0
  47. package/src/base/_utilities-tier-sm.css +4 -1
  48. package/src/base/_utilities-tier-starting.css +3 -0
  49. package/src/base/_utilities-tier-stuck.css +3 -0
  50. package/src/base/_utilities-tier-xl.css +4 -1
  51. package/src/base/_utilities-typography.css +0 -9
  52. package/src/base/csp.d.ts +19 -0
  53. package/src/base/csp.d.ts.map +1 -0
  54. package/src/base/csp.js +131 -0
  55. package/src/base/csp.ts +137 -0
  56. package/src/base/declarations.d.ts +36 -0
  57. package/src/base/declarations.d.ts.map +1 -0
  58. package/src/base/declarations.js +70 -0
  59. package/src/base/declarations.ts +97 -0
  60. package/src/base/kit-styling.d.ts +11 -0
  61. package/src/base/kit-styling.d.ts.map +1 -0
  62. package/src/base/kit-styling.js +467 -0
  63. package/src/base/kit-styling.ts +470 -0
  64. package/src/base/style-format.d.ts +3 -22
  65. package/src/base/style-format.d.ts.map +1 -1
  66. package/src/base/style-format.js +4 -62
  67. package/src/base/style-format.ts +4 -71
  68. package/src/base/utilities.d.ts +14 -6
  69. package/src/base/utilities.d.ts.map +1 -1
  70. package/src/base/utilities.js +81 -29
  71. package/src/base/utilities.ts +92 -38
  72. package/src/head.d.ts +6 -0
  73. package/src/head.d.ts.map +1 -1
  74. package/src/head.js +21 -14
  75. package/src/head.ts +38 -11
  76. package/src/index.css +1 -0
  77. package/src/index.js +22 -0
  78. package/src/index.ts +19 -0
  79. package/src/manifest.d.ts +21 -1
  80. package/src/manifest.d.ts.map +1 -1
  81. package/src/manifest.js +12 -2
  82. package/src/manifest.ts +27 -2
  83. package/src/primitives/debug/audit-core.d.ts +9 -1
  84. package/src/primitives/debug/audit-core.d.ts.map +1 -1
  85. package/src/primitives/debug/audit-core.js +58 -8
  86. package/src/primitives/debug/audit-core.ts +84 -7
  87. package/src/primitives/debug/debug.d.ts +0 -15
  88. package/src/primitives/debug/debug.d.ts.map +1 -1
  89. package/src/primitives/debug/debug.js +11 -2
  90. package/src/primitives/debug/debug.ts +12 -1
  91. package/src/primitives/prose/prose.html +3 -3
  92. package/src/primitives/table/table-size-sm.html +12 -12
  93. package/src/primitives/utilities/aspect-ratio.html +1 -0
  94. package/src/primitives/utilities/margin-auto.html +1 -1
  95. package/src/primitives/utilities/overflow.html +5 -6
  96. package/src/primitives/utilities/position.html +1 -1
  97. package/src/primitives/utilities/width.html +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zazz-ui/core",
3
- "version": "0.6.2",
3
+ "version": "0.7.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,367 @@
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
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+ :where(:is([style*="--scale--"], [style*="--group-scale--"])) {
338
+ scale: var(--_scale-resolved, none);
339
+ }
340
+
341
+ :where(:is([style*="--translate--"], [style*="--group-translate--"])) {
342
+ translate: var(--_translate-resolved, none);
343
+ }
344
+
345
+ :where(:is([style*="--rotate--"], [style*="--group-rotate--"])) {
346
+ rotate: var(--_rotate-resolved, none);
347
+ }
348
+
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ :where(:is(:is([style*="--shadow--"], [style*="--ring--"], [style*="--ring-color--"], [style*="--ring-offset--"], [style*="--ring-offset-color--"]), :is([style*="--group-shadow--"], [style*="--group-ring--"], [style*="--group-ring-color--"], [style*="--group-ring-offset--"], [style*="--group-ring-offset-color--"])):not([popover], dialog, input[role="switch"], input[type="checkbox"]:not([role="switch"]))) {
365
+ 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, 0 0 #0000);
366
+ }
367
+ }
@@ -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; }
@@ -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; }
@@ -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; }
@@ -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; }
@@ -1,6 +1,18 @@
1
1
  /* Generated by scripts/generate-utilities.ts from src/base/utilities.ts — do not edit. */
2
2
 
3
3
  /* disabled tier registrations */
4
+ @property --anchor-name--disabled { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-disabled { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--disabled { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-disabled { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--disabled { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-disabled { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--disabled { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-disabled { syntax: "*"; inherits: false; }
12
+ @property --position-area--disabled { syntax: "*"; inherits: false; }
13
+ @property --_position-area-disabled { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--disabled { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-disabled { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--disabled { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-disabled { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--disabled { 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
  /* focus-visible tier registrations */
4
+ @property --anchor-name--focus-visible { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-focus-visible { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--focus-visible { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-focus-visible { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--focus-visible { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-focus-visible { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--focus-visible { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-focus-visible { syntax: "*"; inherits: false; }
12
+ @property --position-area--focus-visible { syntax: "*"; inherits: false; }
13
+ @property --_position-area-focus-visible { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--focus-visible { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-focus-visible { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--focus-visible { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-focus-visible { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--focus-visible { 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
  /* focus-within tier registrations */
4
+ @property --anchor-name--focus-within { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-focus-within { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--focus-within { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-focus-within { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--focus-within { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-focus-within { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--focus-within { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-focus-within { syntax: "*"; inherits: false; }
12
+ @property --position-area--focus-within { syntax: "*"; inherits: false; }
13
+ @property --_position-area-focus-within { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--focus-within { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-focus-within { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--focus-within { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-focus-within { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--focus-within { 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
  /* hover tier registrations */
4
+ @property --anchor-name--hover { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-hover { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--hover { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-hover { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--hover { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-hover { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--hover { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-hover { syntax: "*"; inherits: false; }
12
+ @property --position-area--hover { syntax: "*"; inherits: false; }
13
+ @property --_position-area-hover { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--hover { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-hover { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--hover { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-hover { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--hover { syntax: "*"; inherits: false; }
@@ -5,10 +5,14 @@
5
5
  @property --_display-lg { syntax: "*"; inherits: false; }
6
6
  @property --position--lg { syntax: "*"; inherits: false; }
7
7
  @property --_position-lg { syntax: "*"; inherits: false; }
8
+ @property --anchor-name--lg { syntax: "*"; inherits: false; }
9
+ @property --_anchor-name-lg { syntax: "*"; inherits: false; }
10
+ @property --position-anchor--lg { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-lg { syntax: "*"; inherits: false; }
12
+ @property --position-area--lg { syntax: "*"; inherits: false; }
13
+ @property --_position-area-lg { syntax: "*"; inherits: false; }
8
14
  @property --flex-wrap--lg { syntax: "*"; inherits: false; }
9
15
  @property --_flex-wrap-lg { syntax: "*"; inherits: false; }
10
- @property --shrink--lg { syntax: "*"; inherits: false; }
11
- @property --_shrink-lg { syntax: "*"; inherits: false; }
12
16
  @property --grid-flow--lg { syntax: "*"; inherits: false; }
13
17
  @property --_grid-flow-lg { syntax: "*"; inherits: false; }
14
18
  @property --auto-cols--lg { syntax: "*"; inherits: false; }
@@ -27,6 +31,8 @@
27
31
  @property --_self-lg { syntax: "*"; inherits: false; }
28
32
  @property --flex--lg { syntax: "*"; inherits: false; }
29
33
  @property --_flex-lg { syntax: "*"; inherits: false; }
34
+ @property --shrink--lg { syntax: "*"; inherits: false; }
35
+ @property --_shrink-lg { syntax: "*"; inherits: false; }
30
36
  @property --basis--lg { syntax: "*"; inherits: false; }
31
37
  @property --_basis-lg { syntax: "*"; inherits: false; }
32
38
  @property --order--lg { syntax: "*"; inherits: false; }
@@ -5,10 +5,14 @@
5
5
  @property --_display-md { syntax: "*"; inherits: false; }
6
6
  @property --position--md { syntax: "*"; inherits: false; }
7
7
  @property --_position-md { syntax: "*"; inherits: false; }
8
+ @property --anchor-name--md { syntax: "*"; inherits: false; }
9
+ @property --_anchor-name-md { syntax: "*"; inherits: false; }
10
+ @property --position-anchor--md { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-md { syntax: "*"; inherits: false; }
12
+ @property --position-area--md { syntax: "*"; inherits: false; }
13
+ @property --_position-area-md { syntax: "*"; inherits: false; }
8
14
  @property --flex-wrap--md { syntax: "*"; inherits: false; }
9
15
  @property --_flex-wrap-md { syntax: "*"; inherits: false; }
10
- @property --shrink--md { syntax: "*"; inherits: false; }
11
- @property --_shrink-md { syntax: "*"; inherits: false; }
12
16
  @property --grid-flow--md { syntax: "*"; inherits: false; }
13
17
  @property --_grid-flow-md { syntax: "*"; inherits: false; }
14
18
  @property --auto-cols--md { syntax: "*"; inherits: false; }
@@ -27,6 +31,8 @@
27
31
  @property --_self-md { syntax: "*"; inherits: false; }
28
32
  @property --flex--md { syntax: "*"; inherits: false; }
29
33
  @property --_flex-md { syntax: "*"; inherits: false; }
34
+ @property --shrink--md { syntax: "*"; inherits: false; }
35
+ @property --_shrink-md { syntax: "*"; inherits: false; }
30
36
  @property --basis--md { syntax: "*"; inherits: false; }
31
37
  @property --_basis-md { syntax: "*"; inherits: false; }
32
38
  @property --order--md { 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
  /* open tier registrations */
4
+ @property --anchor-name--open { syntax: "*"; inherits: false; }
5
+ @property --_anchor-name-open { syntax: "*"; inherits: false; }
6
+ @property --group-anchor-name--open { syntax: "*"; inherits: false; }
7
+ @property --_anchor-name-g-open { syntax: "*"; inherits: false; }
8
+ @property --position-anchor--open { syntax: "*"; inherits: false; }
9
+ @property --_position-anchor-open { syntax: "*"; inherits: false; }
10
+ @property --group-position-anchor--open { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-g-open { syntax: "*"; inherits: false; }
12
+ @property --position-area--open { syntax: "*"; inherits: false; }
13
+ @property --_position-area-open { syntax: "*"; inherits: false; }
14
+ @property --group-position-area--open { syntax: "*"; inherits: false; }
15
+ @property --_position-area-g-open { syntax: "*"; inherits: false; }
4
16
  @property --template-cols--open { syntax: "*"; inherits: false; }
5
17
  @property --_template-cols-open { syntax: "*"; inherits: false; }
6
18
  @property --group-template-cols--open { syntax: "*"; inherits: false; }
@@ -5,10 +5,14 @@
5
5
  @property --_display-sm { syntax: "*"; inherits: false; }
6
6
  @property --position--sm { syntax: "*"; inherits: false; }
7
7
  @property --_position-sm { syntax: "*"; inherits: false; }
8
+ @property --anchor-name--sm { syntax: "*"; inherits: false; }
9
+ @property --_anchor-name-sm { syntax: "*"; inherits: false; }
10
+ @property --position-anchor--sm { syntax: "*"; inherits: false; }
11
+ @property --_position-anchor-sm { syntax: "*"; inherits: false; }
12
+ @property --position-area--sm { syntax: "*"; inherits: false; }
13
+ @property --_position-area-sm { syntax: "*"; inherits: false; }
8
14
  @property --flex-wrap--sm { syntax: "*"; inherits: false; }
9
15
  @property --_flex-wrap-sm { syntax: "*"; inherits: false; }
10
- @property --shrink--sm { syntax: "*"; inherits: false; }
11
- @property --_shrink-sm { syntax: "*"; inherits: false; }
12
16
  @property --grid-flow--sm { syntax: "*"; inherits: false; }
13
17
  @property --_grid-flow-sm { syntax: "*"; inherits: false; }
14
18
  @property --auto-cols--sm { syntax: "*"; inherits: false; }
@@ -27,6 +31,8 @@
27
31
  @property --_self-sm { syntax: "*"; inherits: false; }
28
32
  @property --flex--sm { syntax: "*"; inherits: false; }
29
33
  @property --_flex-sm { syntax: "*"; inherits: false; }
34
+ @property --shrink--sm { syntax: "*"; inherits: false; }
35
+ @property --_shrink-sm { syntax: "*"; inherits: false; }
30
36
  @property --basis--sm { syntax: "*"; inherits: false; }
31
37
  @property --_basis-sm { syntax: "*"; inherits: false; }
32
38
  @property --order--sm { syntax: "*"; inherits: false; }