@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
@@ -103,12 +103,42 @@ export const FAMILY_TIERS = {
103
103
  effects: "states",
104
104
  box: "none",
105
105
  };
106
+ /**
107
+ * The utilities that compose into one `box-shadow` (the rings, shadow, and
108
+ * elevation): the composite's chains all end in a literal, so a tier alone
109
+ * works on them, like a no-base utility.
110
+ */
111
+ export const BOX_SHADOW_COMPOSITE = [
112
+ "shadow",
113
+ "ring",
114
+ "ring-color",
115
+ "ring-offset",
116
+ "ring-offset-color",
117
+ "elevation",
118
+ ];
119
+ /**
120
+ * The shorthands whose base a longhand's tier overrides, nearest first: `--p: 4;
121
+ * --px--md: 1` pads 4 below md and 1 inline from md. A shorthand's base is a
122
+ * base for its longhands' tiers.
123
+ */
124
+ export const SHORTHAND_OF = {
125
+ px: ["p"],
126
+ py: ["p"],
127
+ pt: ["py", "p"],
128
+ pb: ["py", "p"],
129
+ pl: ["px", "p"],
130
+ pr: ["px", "p"],
131
+ "gap-x": ["gap"],
132
+ "gap-y": ["gap"],
133
+ basis: ["flex"],
134
+ shrink: ["flex"],
135
+ "radius-t": ["radius"],
136
+ "radius-b": ["radius"],
137
+ "radius-l": ["radius"],
138
+ "radius-r": ["radius"],
139
+ };
106
140
  /** Gradient types: `--bg-<type>` emits `<type>-gradient(<prelude>, <--bg-stops>)`. */
107
141
  export const GRADIENT_TYPES = ["linear", "radial", "conic"];
108
- /** The size scale shared by the token keywords (`--shadow: md`). */
109
- export const SIZE_KEYWORDS = ["2xs", "xs", "sm", "md", "lg", "xl", "2xl"];
110
- /** `--shadow: md` → `var(--shadow-md)`. */
111
- const SHADOWS = Object.fromEntries(SIZE_KEYWORDS.map((size) => [size, `var(--shadow-${size})`]));
112
142
  /**
113
143
  * `--font-weight: strong` → `var(--font-weight-strong)`: the role weights, so a
114
144
  * theme's weights reach utilities. Standard names (`medium`) are not keywords:
@@ -177,24 +207,13 @@ export const BORDER_SIDES = [
177
207
  /** The four sizing keywords. Margin takes only `auto`. */
178
208
  export const SIZING_KEYWORDS = ["auto", "fit-content", "min-content", "max-content"];
179
209
  export const MARGIN_KEYWORDS = ["auto"];
180
- /** A layout places its children; a tier-only column utility there keeps the band below the tier. */
181
- const LAYOUT_CHILDREN = ["ui-layout > *", '[data-ui~="layout"] > *'];
182
210
  /**
183
- * Elements the reset or the prose scope pads (a prose list's indent, a quote's
184
- * inset, inline code, form controls): a tier-only padding utility there would
185
- * zero that padding below the tier, so they keep the base requirement.
211
+ * Keywords the side insets (`--top --right --bottom --left`) take besides a
212
+ * length: `auto` releases a side at a breakpoint (`--bottom: 0; --bottom--lg:
213
+ * auto` sticks to the bottom below lg only). Each keyword costs ~16 [style*=]
214
+ * substrings (SPEC claim 16), so the axis and `--inset` shorthands go without.
186
215
  */
187
- const BASE_PADDED = [
188
- '[data-ui~="prose"] :is(ul, ol, dd, blockquote, cite)',
189
- "code",
190
- "button",
191
- "input",
192
- "select",
193
- "textarea",
194
- "optgroup",
195
- ];
196
- /** Elements the reset paints: a tier-only `--bg` there would clear the paint below the tier. */
197
- const BASE_PAINTED = ["code", "hr"];
216
+ export const INSET_KEYWORDS = ["auto"];
198
217
  /**
199
218
  * Track-list keywords `--grid-cols` / `--grid-rows` take besides a count. `none`
200
219
  * is not one: `--template-cols: none` says the same, and every keyword
@@ -214,6 +233,37 @@ export const UTILITIES = [
214
233
  family: "flow",
215
234
  noBase: "static",
216
235
  },
236
+ // anchor positioning: states and breakpoints, so the hovered (or open, or
237
+ // current) element can claim the anchor a toolbar or popover is tethered to.
238
+ // `normal` is position-anchor's initial value. Engines on the older draft
239
+ // don't know it, so the declaration is invalid at computed-value time and
240
+ // falls back to their initial value, `auto`.
241
+ {
242
+ name: "anchor-name",
243
+ properties: ["anchor-name"],
244
+ mode: "raw",
245
+ family: "flow",
246
+ tiers: "both",
247
+ noBase: "none",
248
+ },
249
+ {
250
+ name: "position-anchor",
251
+ properties: ["position-anchor"],
252
+ mode: "raw",
253
+ family: "flow",
254
+ tiers: "both",
255
+ noBase: "normal",
256
+ },
257
+ // where the tethered element sits on its anchor's 3×3 grid (`block-start
258
+ // span-inline-end`); a popover keeps its own area under a tier alone
259
+ {
260
+ name: "position-area",
261
+ properties: ["position-area"],
262
+ mode: "raw",
263
+ family: "flow",
264
+ tiers: "both",
265
+ noBase: "none",
266
+ },
217
267
  {
218
268
  name: "flex-wrap",
219
269
  properties: ["flex-wrap"],
@@ -221,7 +271,6 @@ export const UTILITIES = [
221
271
  family: "flow",
222
272
  noBase: "nowrap",
223
273
  },
224
- { name: "shrink", properties: ["flex-shrink"], mode: "raw", family: "flow", noBase: "1" },
225
274
  {
226
275
  name: "grid-flow",
227
276
  properties: ["grid-auto-flow"],
@@ -268,6 +317,8 @@ export const UTILITIES = [
268
317
  },
269
318
  { name: "self", properties: ["align-self"], mode: "keyword", family: "flow", noBase: "auto" },
270
319
  { name: "flex", properties: ["flex"], mode: "raw", family: "flow", noBase: "0 1 auto" },
320
+ // after --flex, so its base beats the shorthand's
321
+ { name: "shrink", properties: ["flex-shrink"], mode: "raw", family: "flow", noBase: "1" },
271
322
  { name: "basis", properties: ["flex-basis"], mode: "raw", family: "flow", noBase: "auto" },
272
323
  { name: "order", properties: ["order"], mode: "raw", family: "flow", noBase: "0" },
273
324
  // a layout child's band (`layout-md`); any grid-column value works
@@ -277,7 +328,6 @@ export const UTILITIES = [
277
328
  mode: "raw",
278
329
  family: "flow",
279
330
  noBase: "auto",
280
- noBaseExclude: LAYOUT_CHILDREN,
281
331
  },
282
332
  // Tailwind's col-span / col-start / col-end (and row-*): span is a count,
283
333
  // start and end are line numbers; start and end follow span so they combine
@@ -288,7 +338,6 @@ export const UTILITIES = [
288
338
  family: "flow",
289
339
  emit: "span",
290
340
  noBase: "1",
291
- noBaseExclude: LAYOUT_CHILDREN,
292
341
  },
293
342
  {
294
343
  name: "col-start",
@@ -296,7 +345,6 @@ export const UTILITIES = [
296
345
  mode: "raw",
297
346
  family: "flow",
298
347
  noBase: "auto",
299
- noBaseExclude: LAYOUT_CHILDREN,
300
348
  },
301
349
  {
302
350
  name: "col-end",
@@ -304,7 +352,6 @@ export const UTILITIES = [
304
352
  mode: "raw",
305
353
  family: "flow",
306
354
  noBase: "auto",
307
- noBaseExclude: LAYOUT_CHILDREN,
308
355
  },
309
356
  {
310
357
  name: "row-span",
@@ -367,7 +414,7 @@ export const UTILITIES = [
367
414
  emit: "grid-fit",
368
415
  },
369
416
  // spacing: dual mode; padding and gap are on the no-base allowlist (the reset
370
- // zeroes padding, so `--px--md: 8` alone pads from md), except where the base pads
417
+ // zeroes padding, so `--px--md: 8` alone pads from md)
371
418
  ...[
372
419
  ["p", "padding"],
373
420
  ["px", "padding-inline"],
@@ -383,22 +430,47 @@ export const UTILITIES = [
383
430
  mode: "dual",
384
431
  family: "spacing",
385
432
  noBase: "0",
386
- noBaseExclude: BASE_PADDED,
387
433
  })),
388
434
  { name: "gap", properties: ["gap"], mode: "dual", family: "spacing", noBase: "0" },
389
435
  { name: "gap-x", properties: ["column-gap"], mode: "dual", family: "spacing", noBase: "0" },
390
436
  { name: "gap-y", properties: ["row-gap"], mode: "dual", family: "spacing", noBase: "0" },
391
- { name: "inset", pseudo: true, properties: ["inset"], mode: "dual", family: "spacing" },
437
+ {
438
+ name: "inset",
439
+ pseudo: true,
440
+ properties: ["inset"],
441
+ mode: "dual",
442
+ family: "spacing",
443
+ },
392
444
  // axis insets: left + right and top + bottom (logical, like the sides)
393
- { name: "inset-x", pseudo: true, properties: ["inset-inline"], mode: "dual", family: "spacing" },
394
- { name: "inset-y", pseudo: true, properties: ["inset-block"], mode: "dual", family: "spacing" },
395
- { name: "top", pseudo: true, properties: ["inset-block-start"], mode: "dual", family: "spacing" },
445
+ {
446
+ name: "inset-x",
447
+ pseudo: true,
448
+ properties: ["inset-inline"],
449
+ mode: "dual",
450
+ family: "spacing",
451
+ },
452
+ {
453
+ name: "inset-y",
454
+ pseudo: true,
455
+ properties: ["inset-block"],
456
+ mode: "dual",
457
+ family: "spacing",
458
+ },
459
+ {
460
+ name: "top",
461
+ pseudo: true,
462
+ properties: ["inset-block-start"],
463
+ mode: "dual",
464
+ family: "spacing",
465
+ keywords: INSET_KEYWORDS,
466
+ },
396
467
  {
397
468
  name: "bottom",
398
469
  pseudo: true,
399
470
  properties: ["inset-block-end"],
400
471
  mode: "dual",
401
472
  family: "spacing",
473
+ keywords: INSET_KEYWORDS,
402
474
  },
403
475
  {
404
476
  name: "left",
@@ -406,6 +478,7 @@ export const UTILITIES = [
406
478
  properties: ["inset-inline-start"],
407
479
  mode: "dual",
408
480
  family: "spacing",
481
+ keywords: INSET_KEYWORDS,
409
482
  },
410
483
  {
411
484
  name: "right",
@@ -413,6 +486,7 @@ export const UTILITIES = [
413
486
  properties: ["inset-inline-end"],
414
487
  mode: "dual",
415
488
  family: "spacing",
489
+ keywords: INSET_KEYWORDS,
416
490
  },
417
491
  // margin: dual mode plus `auto`
418
492
  { name: "m", properties: ["margin"], mode: "dual", family: "margin", keywords: MARGIN_KEYWORDS },
@@ -580,7 +654,6 @@ export const UTILITIES = [
580
654
  emit: "bg",
581
655
  pseudo: true,
582
656
  noBase: "transparent",
583
- noBaseExclude: BASE_PAINTED,
584
657
  },
585
658
  { name: "bg-alpha", properties: [], mode: "raw", family: "color", emit: "none" },
586
659
  // gradients: the type utility carries the prelude (direction, shape, position,
@@ -632,19 +705,54 @@ export const UTILITIES = [
632
705
  family: "effects",
633
706
  noBase: "1",
634
707
  },
708
+ {
709
+ name: "filter",
710
+ pseudo: true,
711
+ properties: ["filter"],
712
+ mode: "raw",
713
+ family: "effects",
714
+ noBase: "none",
715
+ },
716
+ // a height: a four-layer box-shadow with a negative spread, drawn with the elevation
717
+ // formula (generate-utilities.ts) in --shadow-angle's light and --shadow-tint; shares
718
+ // one box-shadow with --ring* and --shadow (an explicit --shadow wins)
719
+ {
720
+ name: "elevation",
721
+ properties: [],
722
+ mode: "raw",
723
+ family: "effects",
724
+ tiers: "both",
725
+ noBase: "0",
726
+ emit: "none",
727
+ },
728
+ {
729
+ name: "backdrop-filter",
730
+ pseudo: true,
731
+ properties: ["backdrop-filter"],
732
+ mode: "raw",
733
+ family: "effects",
734
+ noBase: "none",
735
+ },
736
+ {
737
+ name: "mix-blend",
738
+ pseudo: true,
739
+ properties: ["mix-blend-mode"],
740
+ mode: "keyword",
741
+ family: "effects",
742
+ noBase: "normal",
743
+ },
635
744
  {
636
745
  name: "shadow",
637
746
  properties: [],
638
747
  mode: "raw",
639
748
  family: "effects",
640
749
  emit: "none",
641
- aliases: SHADOWS,
642
750
  },
643
- // the shadow color for an element and its subtree: _variables.css re-declares the
644
- // --shadow-* tokens wherever this is set, so keyword, var(), and primitive shadows follow
645
- { name: "shadow-hue", properties: [], mode: "raw", family: "box", emit: "none" },
751
+ // the shadow color for an element and its subtree: _shadows.css re-declares the
752
+ // --shadow-* tokens wherever this is set, so var() and primitive shadows follow
753
+ { name: "shadow-tint", properties: [], mode: "raw", family: "box", emit: "none" },
646
754
  // the shadow's cast direction: the --shadow-* tokens rotate their offsets by it
647
- // (0deg casts down, clockwise), re-declared where it is set (_variables.css)
755
+ // (0deg casts down, clockwise), re-declared where it is set (_shadows.css)
648
756
  {
649
757
  name: "shadow-angle",
650
758
  properties: [],
@@ -734,28 +842,48 @@ export const UTILITIES = [
734
842
  tiers: "both",
735
843
  },
736
844
  // box: no tiers
845
+ // a number is that many --spacing steps times --radius-multiplier, like the
846
+ // --radius-* tokens (`--radius: 2.5` is --radius-md); `full` is the pill token
737
847
  {
738
- name: "rounded",
848
+ name: "radius",
739
849
  properties: ["border-radius"],
740
- mode: "raw",
850
+ mode: "dual",
741
851
  family: "box",
742
- pseudo: true,
852
+ tiers: "both",
743
853
  noBase: "0",
854
+ pseudo: true,
855
+ scale: "var(--spacing) * var(--radius-multiplier)",
856
+ aliases: { full: "var(--radius-full)" },
744
857
  },
745
- { name: "overflow", properties: ["overflow"], mode: "keyword", family: "box", noBase: "visible" },
858
+ // two logical corners each (Tailwind's rounded-t/-b/-l/-r), after --radius so they
859
+ // win over it; l and r follow the writing direction
860
+ ...[
861
+ ["radius-t", ["border-start-start-radius", "border-start-end-radius"]],
862
+ ["radius-b", ["border-end-start-radius", "border-end-end-radius"]],
863
+ ["radius-l", ["border-start-start-radius", "border-end-start-radius"]],
864
+ ["radius-r", ["border-start-end-radius", "border-end-end-radius"]],
865
+ ].map(([name, properties]) => ({
866
+ name,
867
+ properties,
868
+ mode: "dual",
869
+ family: "box",
870
+ tiers: "breakpoints",
871
+ noBase: "0",
872
+ scale: "var(--spacing) * var(--radius-multiplier)",
873
+ aliases: { full: "var(--radius-full)" },
874
+ })),
875
+ { name: "overflow", properties: ["overflow"], mode: "keyword", family: "box" },
746
876
  {
747
877
  name: "overflow-x",
748
878
  properties: ["overflow-x"],
749
879
  mode: "keyword",
750
880
  family: "box",
751
- noBase: "visible",
752
881
  },
753
882
  {
754
883
  name: "overflow-y",
755
884
  properties: ["overflow-y"],
756
885
  mode: "keyword",
757
886
  family: "box",
758
- noBase: "visible",
759
887
  },
760
888
  { name: "outline", pseudo: true, properties: ["outline"], mode: "raw", family: "box" },
761
889
  { name: "cursor", properties: ["cursor"], mode: "keyword", family: "box" },
@@ -767,7 +895,7 @@ export const UTILITIES = [
767
895
  family: "box",
768
896
  },
769
897
  { name: "visibility", pseudo: true, properties: ["visibility"], mode: "keyword", family: "box" },
770
- { name: "z", pseudo: true, properties: ["z-index"], mode: "raw", family: "box", noBase: "auto" },
898
+ { name: "z", pseudo: true, properties: ["z-index"], mode: "raw", family: "box" },
771
899
  { name: "object-fit", properties: ["object-fit"], mode: "keyword", family: "box" },
772
900
  { name: "object-position", properties: ["object-position"], mode: "raw", family: "box" },
773
901
  // the divider between children for the divide-x / divide-y switches: the