@zazz-ui/core 0.12.3 → 0.13.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 (84) hide show
  1. package/AUTHORING.md +6 -6
  2. package/CHANGELOG.md +40 -0
  3. package/README.md +8 -6
  4. package/dist/sri.json +51 -51
  5. package/dist/zazz.css +1 -1
  6. package/dist/zazz.js +1 -1
  7. package/editor/zazz.css-data.json +1238 -3564
  8. package/editor/zazz.html-data.json +9 -0
  9. package/editor/zazz.language-data.json +21 -8
  10. package/editor/zazz.lint-data.json +1139 -1110
  11. package/package.json +5 -5
  12. package/src/base/_defaults.css +0 -83
  13. package/src/base/_properties-2xl.css +0 -8
  14. package/src/base/_properties-active.css +0 -4
  15. package/src/base/_properties-checked.css +0 -4
  16. package/src/base/_properties-current.css +0 -4
  17. package/src/base/_properties-disabled.css +0 -4
  18. package/src/base/_properties-focus-visible.css +0 -4
  19. package/src/base/_properties-focus-within.css +0 -4
  20. package/src/base/_properties-hover.css +0 -4
  21. package/src/base/_properties-lg.css +0 -8
  22. package/src/base/_properties-md.css +0 -8
  23. package/src/base/_properties-open.css +0 -4
  24. package/src/base/_properties-sm.css +0 -8
  25. package/src/base/_properties-starting.css +0 -26
  26. package/src/base/_properties-stuck.css +0 -2
  27. package/src/base/_properties-xl.css +0 -8
  28. package/src/base/_properties.css +23 -0
  29. package/src/base/_utilities-box.css +1 -6
  30. package/src/base/_utilities-color.css +1 -1
  31. package/src/base/_utilities-effects.css +7 -7
  32. package/src/base/_utilities-flow.css +54 -11
  33. package/src/base/_utilities-grid.css +5 -85
  34. package/src/base/_utilities-tier-2xl.css +0 -4
  35. package/src/base/_utilities-tier-active.css +0 -2
  36. package/src/base/_utilities-tier-checked.css +0 -2
  37. package/src/base/_utilities-tier-current.css +0 -2
  38. package/src/base/_utilities-tier-disabled.css +0 -2
  39. package/src/base/_utilities-tier-focus-visible.css +0 -2
  40. package/src/base/_utilities-tier-focus-within.css +0 -2
  41. package/src/base/_utilities-tier-hover.css +0 -2
  42. package/src/base/_utilities-tier-lg.css +0 -4
  43. package/src/base/_utilities-tier-md.css +0 -4
  44. package/src/base/_utilities-tier-open.css +0 -2
  45. package/src/base/_utilities-tier-sm.css +0 -4
  46. package/src/base/_utilities-tier-starting.css +0 -13
  47. package/src/base/_utilities-tier-stuck.css +0 -1
  48. package/src/base/_utilities-tier-xl.css +0 -4
  49. package/src/base/_utilities-typography.css +4 -8
  50. package/src/base/embla.d.ts.map +1 -1
  51. package/src/base/embla.js +223 -65
  52. package/src/base/embla.ts +245 -62
  53. package/src/base/kit-styling.d.ts.map +1 -1
  54. package/src/base/kit-styling.js +154 -150
  55. package/src/base/kit-styling.ts +154 -150
  56. package/src/base/utilities.d.ts +23 -7
  57. package/src/base/utilities.d.ts.map +1 -1
  58. package/src/base/utilities.js +91 -22
  59. package/src/base/utilities.ts +101 -23
  60. package/src/head.js +8 -8
  61. package/src/head.ts +8 -8
  62. package/src/manifest.d.ts.map +1 -1
  63. package/src/manifest.js +7 -1
  64. package/src/manifest.ts +7 -1
  65. package/src/primitives/carousel/carousel.css +4 -3
  66. package/src/primitives/carousel/carousel.d.ts +2 -1
  67. package/src/primitives/carousel/carousel.d.ts.map +1 -1
  68. package/src/primitives/carousel/carousel.js +2 -1
  69. package/src/primitives/carousel/carousel.ts +2 -1
  70. package/src/primitives/debug/audit-core.d.ts.map +1 -1
  71. package/src/primitives/debug/audit-core.js +46 -4
  72. package/src/primitives/debug/audit-core.ts +53 -4
  73. package/src/primitives/lightbox/lightbox.js +2 -2
  74. package/src/primitives/lightbox/lightbox.ts +2 -2
  75. package/src/primitives/tabs/tabs-underline.html +117 -0
  76. package/src/primitives/tabs/tabs.css +119 -27
  77. package/src/primitives/toggle/toggle.css +153 -40
  78. package/src/primitives/utilities/flex-direction.html +1 -1
  79. package/src/primitives/utilities/flex-reverse.html +136 -0
  80. package/src/primitives/utilities/gallery.html +289 -0
  81. package/src/primitives/utilities/inline-flex.html +45 -0
  82. package/src/primitives/utilities/subgrid-col.html +109 -0
  83. package/src/primitives/utilities/subgrid-row.html +98 -0
  84. package/src/primitives/utilities/subgrid.html +135 -0
package/src/head.ts CHANGED
@@ -106,27 +106,27 @@ const ESM_DEPENDENCIES: readonly CdnDependency[] = [
106
106
  },
107
107
  {
108
108
  name: "embla-carousel",
109
- version: "8.6.0",
109
+ version: "9.0.0-rc04",
110
110
  file: "esm/embla-carousel.esm.js",
111
- integrity: "sha384-GXjfyU1fSHHeweoYd3rwo7OBKYtkq+JcsDoe8VDRc6znCty2ZTzyVvX1DwqCE+9t",
111
+ integrity: "sha384-Qcz5VJ/iRhG3zPRMT8li6rYNSsXcCeSQ6URxPlQh7joEd/nNxRRkCZxlJoTZr3Ch",
112
112
  },
113
113
  {
114
114
  name: "embla-carousel-autoplay",
115
- version: "8.6.0",
115
+ version: "9.0.0-rc04",
116
116
  file: "esm/embla-carousel-autoplay.esm.js",
117
- integrity: "sha384-AX49yBc7zd/CT8ZqNMRiiqqVSV9xfxb27VwEGziPioT3wL4k4C5BW2qwefdWuN4J",
117
+ integrity: "sha384-dsPLKoLTpj/hIVD1I1zYA1kDCI32uRH4seU3ly+s7Lm9MdWVsj1OmE8HELhZ/Fm4",
118
118
  },
119
119
  {
120
120
  name: "embla-carousel-auto-scroll",
121
- version: "8.6.0",
121
+ version: "9.0.0-rc04",
122
122
  file: "esm/embla-carousel-auto-scroll.esm.js",
123
- integrity: "sha384-SPdnL1eic73WfM72zFEf0RJ5PdUC7TL3Yb5jOl1JC3/l4D7EsVxwO8wFnnezlMSu",
123
+ integrity: "sha384-bOWyJNYHSsncAhdIgavN6TjY6Bb/NRLV9fAon5xy9HquiFZbNYTjq2JZ5bq5nyb5",
124
124
  },
125
125
  {
126
126
  name: "embla-carousel-class-names",
127
- version: "8.6.0",
127
+ version: "9.0.0-rc04",
128
128
  file: "esm/embla-carousel-class-names.esm.js",
129
- integrity: "sha384-ZWno/FqzYeWE5Ils19GIhep1AZ5bMl0mp9wmm6baTJE4+pjMjOdTnE55SjUQAdVh",
129
+ integrity: "sha384-y8wWJW7HPdqr5guB+ZdF/o9FIRGg2KtH9TdoAttP7jjEU9bQlAzY0Fc5FiIMYQN1",
130
130
  },
131
131
  ];
132
132
 
@@ -1 +1 @@
1
- {"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["manifest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AAIH;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAIlC,yEAAyE;AACzE,MAAM,WAAW,cAAc;IAC7B,6EAA6E;IAC7E,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,qDAAqD;IACrD,EAAE,EAAE,MAAM,EAAE,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,0EAA0E;IAC1E,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;;;OAKG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,uDAAuD;IACvD,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,uGAAuG;IACvG,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAgBD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAggBrD,CAAC;AAIF;;;;;;GAMG;AACH;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,EAQhC,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,aAAa,EAAE,MAAM,EA4CjC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,EAMhC,CAAC;AAEF,0EAA0E;AAC1E,MAAM,WAAW,eAAe;IAC9B,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED;;;;;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UAAU,GACV,SAAS,GACT,iBAAiB,GACjB,OAAO,GACP,QAAQ,GACR,UAAU,GACV,UAAU,GACV,UAAU,GACV,MAAM,GACN,aAAa,GACb,KAAK,GACL,UAAU,GACV,MAAM,GACN,SAAS,CAAC;AAEd;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,EAAE,CAAC,CAmC/E,CAAC"}
package/src/manifest.js CHANGED
@@ -451,7 +451,7 @@ export const PRIMITIVES = {
451
451
  base: [],
452
452
  primitives: ["fields"],
453
453
  bare: [],
454
- examples: ["primitives/tabs/tabs.html"],
454
+ examples: ["primitives/tabs/tabs.html", "primitives/tabs/tabs-underline.html"],
455
455
  },
456
456
  textarea: {
457
457
  css: ["primitives/textarea/textarea.css"],
@@ -534,10 +534,16 @@ export const PRIMITIVES = {
534
534
  "primitives/utilities/compose.html",
535
535
  "primitives/utilities/flex-align.html",
536
536
  "primitives/utilities/flex-direction.html",
537
+ "primitives/utilities/flex-reverse.html",
538
+ "primitives/utilities/inline-flex.html",
537
539
  "primitives/utilities/flex-grow.html",
538
540
  "primitives/utilities/gap.html",
539
541
  "primitives/utilities/grid-cols.html",
540
542
  "primitives/utilities/pile.html",
543
+ "primitives/utilities/gallery.html",
544
+ "primitives/utilities/subgrid.html",
545
+ "primitives/utilities/subgrid-col.html",
546
+ "primitives/utilities/subgrid-row.html",
541
547
  "primitives/utilities/grid-responsive.html",
542
548
  "primitives/utilities/margin-auto.html",
543
549
  "primitives/utilities/object-fit.html",
package/src/manifest.ts CHANGED
@@ -487,7 +487,7 @@ export const PRIMITIVES: Record<string, PrimitiveEntry> = {
487
487
  base: [],
488
488
  primitives: ["fields"],
489
489
  bare: [],
490
- examples: ["primitives/tabs/tabs.html"],
490
+ examples: ["primitives/tabs/tabs.html", "primitives/tabs/tabs-underline.html"],
491
491
  },
492
492
  textarea: {
493
493
  css: ["primitives/textarea/textarea.css"],
@@ -570,10 +570,16 @@ export const PRIMITIVES: Record<string, PrimitiveEntry> = {
570
570
  "primitives/utilities/compose.html",
571
571
  "primitives/utilities/flex-align.html",
572
572
  "primitives/utilities/flex-direction.html",
573
+ "primitives/utilities/flex-reverse.html",
574
+ "primitives/utilities/inline-flex.html",
573
575
  "primitives/utilities/flex-grow.html",
574
576
  "primitives/utilities/gap.html",
575
577
  "primitives/utilities/grid-cols.html",
576
578
  "primitives/utilities/pile.html",
579
+ "primitives/utilities/gallery.html",
580
+ "primitives/utilities/subgrid.html",
581
+ "primitives/utilities/subgrid-col.html",
582
+ "primitives/utilities/subgrid-row.html",
577
583
  "primitives/utilities/grid-responsive.html",
578
584
  "primitives/utilities/margin-auto.html",
579
585
  "primitives/utilities/object-fit.html",
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @layer variables, components
5
5
  * @requires _layers.css, _variables.css
6
- * @uses data-carousel attributes — layout hooks only; behaviour from zazz/scripts/embla.js
6
+ * @uses data-carousel attributes — layout hooks only; behavior from base/embla.js (Embla v9)
7
7
  * @uses data-ui-dragging on :root — written by embla.js while a slide drags; the grabbing cursor page-wide
8
8
  * @uses container-type on viewport — basis-* / @sm:basis-* utils query [data-carousel-slot~="viewport"] width
9
9
  * @tokens --ui-carousel-* (@layer variables)
@@ -59,8 +59,9 @@
59
59
  :where(ui-carousel, [data-ui~="carousel"]) [data-carousel-slot~="slide"] {
60
60
  flex: 0 0 var(--ui-carousel-slide-basis);
61
61
  min-inline-size: var(--ui-carousel-slide-min-w);
62
- /* Embla loops by moving slides with transform; a transition on it (a link's
63
- default, say) sweeps a slide across the viewport. Animate a slide's child. */
62
+ /* Embla moves the container with transform, and with loop on also the slides
63
+ it wraps; a transition on a slide (a link's default, say) sweeps it across
64
+ the viewport. Animate a slide's child. */
64
65
  transition: none;
65
66
  }
66
67
 
@@ -37,7 +37,8 @@ declare class UiCarouselElement extends ZazzElement {
37
37
  */
38
38
  init(): void;
39
39
  /**
40
- * @returns The Embla API, or null before initialization.
40
+ * @returns The Embla v9 API (`goTo`, `goToNext`, `selectedSnap`, lowercase
41
+ * events such as `reinit`), or null before initialization.
41
42
  */
42
43
  get api(): EmblaCarouselType | null;
43
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["carousel.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAE5E,cAAM,iBAAkB,SAAQ,WAAW;IACzC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAUzC;IAED,SAAS,CAAC,QAAQ,IAAI,IAAI,CAazB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,CAEX;IAED;;OAEG;IACH,IAAI,GAAG,IAAI,iBAAiB,GAAG,IAAI,CAElC;CACF;AAID,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["carousel.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAE5E,cAAM,iBAAkB,SAAQ,WAAW;IACzC,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAUzC;IAED,SAAS,CAAC,QAAQ,IAAI,IAAI,CAazB;IAED;;;OAGG;IACH,IAAI,IAAI,IAAI,CAEX;IAED;;;OAGG;IACH,IAAI,GAAG,IAAI,iBAAiB,GAAG,IAAI,CAElC;CACF;AAID,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
@@ -32,7 +32,8 @@ class UiCarouselElement extends ZazzElement {
32
32
  EmblaInit.initRoot(this);
33
33
  }
34
34
  /**
35
- * @returns The Embla API, or null before initialization.
35
+ * @returns The Embla v9 API (`goTo`, `goToNext`, `selectedSnap`, lowercase
36
+ * events such as `reinit`), or null before initialization.
36
37
  */
37
38
  get api() {
38
39
  return this._emblaApi ?? null;
@@ -70,7 +70,8 @@ class UiCarouselElement extends ZazzElement {
70
70
  }
71
71
 
72
72
  /**
73
- * @returns The Embla API, or null before initialization.
73
+ * @returns The Embla v9 API (`goTo`, `goToNext`, `selectedSnap`, lowercase
74
+ * events such as `reinit`), or null before initialization.
74
75
  */
75
76
  get api(): EmblaCarouselType | null {
76
77
  return this._emblaApi ?? null;
@@ -1 +1 @@
1
- {"version":3,"file":"audit-core.d.ts","sourceRoot":"","sources":["audit-core.ts"],"names":[],"mappings":"AA8BA,sEAAsE;AACtE,MAAM,MAAM,MAAM,GACd,iBAAiB,GACjB,aAAa,GACb,mBAAmB,GACnB,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,mBAAmB,GACnB,YAAY,GACZ,gBAAgB,GAChB,qBAAqB,GACrB,gBAAgB,GAChB,qBAAqB,GACrB,kBAAkB,GAClB,cAAc,GACd,yBAAyB,GACzB,wBAAwB,GACxB,4BAA4B,GAC5B,eAAe,GACf,kBAAkB,GAClB,SAAS,CAAC;AAEd,eAAO,MAAM,QAAQ,EAAE,SAAS,MAAM,EAqBrC,CAAC;AAEF,iEAAiE;AACjE,MAAM,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UA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,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,SAAS,MAAM,EAAE,GAC5B,OAAO,CAOT;AAED,mHAAmH;AACnH,wBAAgB,aAAa,CAC3B,SAAS,EAAE,SAAS,MAAM,EAAE,EAC5B,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,GAClD,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAI1B;AAED,4DAA4D;AAC5D,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,GAAG,OAAO,EAAE,CA0a3E;AAED,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,EAAE,EAAE,CAAC,CAAC;IACN,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,2FAA2F;AAC3F,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;CACf;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAChC,IAAI,EAAE,OAAO,EACb,SAAS,EAAE,CAAC,EAAE,EACd,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,MAAM,EACvB,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,YAAY,GAAG,IAAI,EACvC,SAAS,GAAE,iBAAiB,GAAG,wBAA4C,GAC1E;IAAE,IAAI,EAAE,CAAC,EAAE,CAAC;IAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAA;CAAE,CAgD9C"}
@@ -7,7 +7,7 @@
7
7
  * where it can, the span of the declaration it is about (offsets into the
8
8
  * `style` attribute) and a suggested rewrite.
9
9
  */
10
- import { BORDER_SHORTHANDS, BOX_SHADOW_COMPOSITE, SHORTHAND_OF, DISPLAY_PILE, RETIRED_TOKENS, DISPLAY_SHORTHANDS, GRADIENT_TYPES, UTILITIES, PSEUDO_ONLY, FONT_WEIGHT_NAMES, STUCK_STATE, STATES, parseUtilityName, tiersOf, } from "../../base/utilities.js";
10
+ import { BORDER_SHORTHANDS, BOX_SHADOW_COMPOSITE, SHORTHAND_OF, RETIRED_TOKENS, DISPLAY_WORDS, GRADIENT_TYPES, UTILITIES, PSEUDO_ONLY, FONT_WEIGHT_NAMES, STUCK_STATE, STATES, parseUtilityName, tiersOf, } from "../../base/utilities.js";
11
11
  export const RULE_IDS = [
12
12
  "unknown-utility",
13
13
  "pseudo-form",
@@ -48,7 +48,7 @@ const FUNCTION = /^(calc|clamp|min|max|var|env|round|mod|rem|abs|sign)\(/;
48
48
  function gatedValue(utility, value) {
49
49
  return ((utility.keywords ?? []).includes(value) ||
50
50
  value in (utility.aliases ?? {}) ||
51
- (utility.name === "display" && (value in DISPLAY_SHORTHANDS || value === DISPLAY_PILE)) ||
51
+ (utility.name === "display" && DISPLAY_WORDS.includes(value)) ||
52
52
  (utility.emit === "text-wrap" && value === "truncate") ||
53
53
  (utility.name === "bg" && value === "none") ||
54
54
  (utility.name === "position" && value === "sticky"));
@@ -244,8 +244,50 @@ export function auditNode(node, context) {
244
244
  if (utility.emit === "border" && !isBorderValue(value, context.isColor)) {
245
245
  warn("border-value", `\`${name}: ${value}\` is not one color, number, or length; it draws a 1px transparent border. Use \`--border: 2\`, \`--border: var(--color-primary)\`, or set \`--border-style\` separately.`);
246
246
  }
247
+ // subgrid moved from the count utilities to the display
248
+ const subgridAxis = value === "subgrid" && !parsed.side && !parsed.group
249
+ ? /^grid-(col|row)s$/.exec(utility.name)?.[1]
250
+ : undefined;
251
+ if (subgridAxis) {
252
+ const tier = parsed.tier ? `--${parsed.tier}` : "";
253
+ const word = `subgrid-${subgridAxis}`;
254
+ const other = subgridAxis === "col" ? "subgrid-row" : "subgrid-col";
255
+ // the last one: a repeated declaration's later value is the one that applies
256
+ const display = [...parsedPairs]
257
+ .reverse()
258
+ .find(([pair]) => pair.name === "display" && !pair.side && !pair.group && pair.tier === parsed.tier)?.[2];
259
+ const text = node.getAttribute("style") ?? "";
260
+ // the edit: this declaration alone, or one edit over it and the display it folds into
261
+ let edit;
262
+ if (!display) {
263
+ edit = { span, text: `--display${tier}: ${word}` };
264
+ }
265
+ else if (["grid", other, word, "subgrid"].includes(display.value)) {
266
+ // a display that already takes this axis stays as it is, and the count just goes
267
+ const value = display.value === "grid" ? word : display.value === other ? "subgrid" : display.value;
268
+ const merged = `--display${tier}: ${value}`;
269
+ const displayFirst = display.span[0] < span[0];
270
+ const [first, second] = displayFirst ? [display.span, span] : [span, display.span];
271
+ const between = text.slice(first[1], second[0]);
272
+ edit = {
273
+ span: [first[0], second[1]],
274
+ text: displayFirst
275
+ ? merged + between.replace(/;\s*$/, "")
276
+ : between.replace(/^;\s*/, "") + merged,
277
+ };
278
+ }
279
+ // beside another display (inline-grid, a tier's flex) only the raw template says it
280
+ const template = `--${utility.name.replace(/^grid-/, "template-")}${tier}: subgrid`;
281
+ const rewrite = edit ? `--display${tier}: ${word}` : template;
282
+ warn("not-integer", `\`${name}: subgrid\` is gone: subgrid is a display. Write \`${rewrite}\`.`, {
283
+ description: `Write \`${rewrite}\`.`,
284
+ span: edit?.span ?? span,
285
+ text: edit?.text ?? template,
286
+ });
287
+ }
247
288
  // an integer utility emits `repeat(n, …)`, `span n`, or a count, so anything else silently does nothing
248
- if (utility.mode === "integer" &&
289
+ if (!subgridAxis &&
290
+ utility.mode === "integer" &&
249
291
  !/^\d+$/.test(value) &&
250
292
  !FUNCTION.test(value) &&
251
293
  !(utility.keywords ?? []).includes(value) &&
@@ -266,7 +308,7 @@ export function auditNode(node, context) {
266
308
  if (parsed.tier) {
267
309
  const tiers = tiersOf(utility);
268
310
  if (!tiers.includes(parsed.tier)) {
269
- warn("tier-unsupported", `\`${name}\` uses a tier the ${utility.family} family has no setter for; \`--${utility.name}\` takes ${tiers.length ? tiers.join(", ") : "no tiers"}.`);
311
+ warn("tier-unsupported", `\`${name}\` uses a tier \`--${utility.name}\` does not take; it takes ${tiers.length ? tiers.join(", ") : "no tiers"}.`);
270
312
  continue;
271
313
  }
272
314
  // a border shorthand is the base a border longhand's tier overrides
@@ -13,9 +13,8 @@ import {
13
13
  BORDER_SHORTHANDS,
14
14
  BOX_SHADOW_COMPOSITE,
15
15
  SHORTHAND_OF,
16
- DISPLAY_PILE,
17
16
  RETIRED_TOKENS,
18
- DISPLAY_SHORTHANDS,
17
+ DISPLAY_WORDS,
19
18
  GRADIENT_TYPES,
20
19
  UTILITIES,
21
20
  PSEUDO_ONLY,
@@ -152,7 +151,7 @@ function gatedValue(utility: Utility, value: string): boolean {
152
151
  return (
153
152
  (utility.keywords ?? []).includes(value) ||
154
153
  value in (utility.aliases ?? {}) ||
155
- (utility.name === "display" && (value in DISPLAY_SHORTHANDS || value === DISPLAY_PILE)) ||
154
+ (utility.name === "display" && DISPLAY_WORDS.includes(value)) ||
156
155
  (utility.emit === "text-wrap" && value === "truncate") ||
157
156
  (utility.name === "bg" && value === "none") ||
158
157
  (utility.name === "position" && value === "sticky")
@@ -399,8 +398,58 @@ export function auditNode(node: AuditNode, context: AuditContext): Finding[] {
399
398
  `\`${name}: ${value}\` is not one color, number, or length; it draws a 1px transparent border. Use \`--border: 2\`, \`--border: var(--color-primary)\`, or set \`--border-style\` separately.`,
400
399
  );
401
400
  }
401
+ // subgrid moved from the count utilities to the display
402
+ const subgridAxis =
403
+ value === "subgrid" && !parsed.side && !parsed.group
404
+ ? /^grid-(col|row)s$/.exec(utility.name)?.[1]
405
+ : undefined;
406
+ if (subgridAxis) {
407
+ const tier = parsed.tier ? `--${parsed.tier}` : "";
408
+ const word = `subgrid-${subgridAxis}`;
409
+ const other = subgridAxis === "col" ? "subgrid-row" : "subgrid-col";
410
+ // the last one: a repeated declaration's later value is the one that applies
411
+ const display = [...parsedPairs]
412
+ .reverse()
413
+ .find(
414
+ ([pair]) =>
415
+ pair.name === "display" && !pair.side && !pair.group && pair.tier === parsed.tier,
416
+ )?.[2];
417
+ const text = node.getAttribute("style") ?? "";
418
+ // the edit: this declaration alone, or one edit over it and the display it folds into
419
+ let edit: { span: Span; text: string } | undefined;
420
+ if (!display) {
421
+ edit = { span, text: `--display${tier}: ${word}` };
422
+ } else if (["grid", other, word, "subgrid"].includes(display.value)) {
423
+ // a display that already takes this axis stays as it is, and the count just goes
424
+ const value =
425
+ display.value === "grid" ? word : display.value === other ? "subgrid" : display.value;
426
+ const merged = `--display${tier}: ${value}`;
427
+ const displayFirst = display.span[0] < span[0];
428
+ const [first, second] = displayFirst ? [display.span, span] : [span, display.span];
429
+ const between = text.slice(first[1], second[0]);
430
+ edit = {
431
+ span: [first[0], second[1]],
432
+ text: displayFirst
433
+ ? merged + between.replace(/;\s*$/, "")
434
+ : between.replace(/^;\s*/, "") + merged,
435
+ };
436
+ }
437
+ // beside another display (inline-grid, a tier's flex) only the raw template says it
438
+ const template = `--${utility.name.replace(/^grid-/, "template-")}${tier}: subgrid`;
439
+ const rewrite = edit ? `--display${tier}: ${word}` : template;
440
+ warn(
441
+ "not-integer",
442
+ `\`${name}: subgrid\` is gone: subgrid is a display. Write \`${rewrite}\`.`,
443
+ {
444
+ description: `Write \`${rewrite}\`.`,
445
+ span: edit?.span ?? span,
446
+ text: edit?.text ?? template,
447
+ },
448
+ );
449
+ }
402
450
  // an integer utility emits `repeat(n, …)`, `span n`, or a count, so anything else silently does nothing
403
451
  if (
452
+ !subgridAxis &&
404
453
  utility.mode === "integer" &&
405
454
  !/^\d+$/.test(value) &&
406
455
  !FUNCTION.test(value) &&
@@ -430,7 +479,7 @@ export function auditNode(node: AuditNode, context: AuditContext): Finding[] {
430
479
  if (!tiers.includes(parsed.tier)) {
431
480
  warn(
432
481
  "tier-unsupported",
433
- `\`${name}\` uses a tier the ${utility.family} family has no setter for; \`--${utility.name}\` takes ${tiers.length ? tiers.join(", ") : "no tiers"}.`,
482
+ `\`${name}\` uses a tier \`--${utility.name}\` does not take; it takes ${tiers.length ? tiers.join(", ") : "no tiers"}.`,
434
483
  );
435
484
  continue;
436
485
  }
@@ -69,7 +69,7 @@ class UiLightbox extends ZazzElement {
69
69
  }
70
70
  const galleryApi = this.#galleryRoot()?._emblaApi;
71
71
  if (dialogRoot._emblaApi && galleryApi) {
72
- dialogRoot._emblaApi.scrollTo(galleryApi.selectedScrollSnap(), true);
72
+ dialogRoot._emblaApi.goTo(galleryApi.selectedSnap(), true);
73
73
  }
74
74
  const viewport = dialogRoot.querySelector('[data-carousel-slot~="viewport"]');
75
75
  if (viewport instanceof HTMLElement) {
@@ -85,7 +85,7 @@ class UiLightbox extends ZazzElement {
85
85
  const dialogApi = dialog.querySelector(':is(ui-carousel, [data-ui~="carousel"])')?._emblaApi;
86
86
  const galleryApi = this.#galleryRoot()?._emblaApi;
87
87
  if (dialogApi && galleryApi) {
88
- galleryApi.scrollTo(dialogApi.selectedScrollSnap());
88
+ galleryApi.goTo(dialogApi.selectedSnap());
89
89
  }
90
90
  }
91
91
  }
@@ -84,7 +84,7 @@ class UiLightbox extends ZazzElement {
84
84
 
85
85
  const galleryApi = this.#galleryRoot()?._emblaApi;
86
86
  if (dialogRoot._emblaApi && galleryApi) {
87
- dialogRoot._emblaApi.scrollTo(galleryApi.selectedScrollSnap(), true);
87
+ dialogRoot._emblaApi.goTo(galleryApi.selectedSnap(), true);
88
88
  }
89
89
 
90
90
  const viewport = dialogRoot.querySelector('[data-carousel-slot~="viewport"]');
@@ -102,7 +102,7 @@ class UiLightbox extends ZazzElement {
102
102
  const dialogApi = dialog.querySelector(':is(ui-carousel, [data-ui~="carousel"])')?._emblaApi;
103
103
  const galleryApi = this.#galleryRoot()?._emblaApi;
104
104
  if (dialogApi && galleryApi) {
105
- galleryApi.scrollTo(dialogApi.selectedScrollSnap());
105
+ galleryApi.goTo(dialogApi.selectedSnap());
106
106
  }
107
107
  }
108
108
  }
@@ -0,0 +1,117 @@
1
+ <!-- Tabs underline START -->
2
+ <ui-tabs data-tabs-variant="underline" style="--w: 100%">
3
+ <div data-tabs-slot="list" role="tablist">
4
+ <div data-tabs-slot="indicator" aria-hidden="true"></div>
5
+
6
+ <input type="radio" role="tab" name="tabs-group-3" id="tab-underline-1" checked />
7
+ <label for="tab-underline-1" data-tabs-slot="label">
8
+ <span data-tabs-slot="label-text">Account</span>
9
+ </label>
10
+
11
+ <input type="radio" role="tab" name="tabs-group-3" id="tab-underline-2" />
12
+ <label for="tab-underline-2" data-tabs-slot="label">
13
+ <span data-tabs-slot="label-text">Billing</span>
14
+ </label>
15
+
16
+ <input type="radio" role="tab" name="tabs-group-3" id="tab-underline-3" />
17
+ <label for="tab-underline-3" data-tabs-slot="label">
18
+ <span data-tabs-slot="label-text">Notifications</span>
19
+ </label>
20
+ </div>
21
+
22
+ <div
23
+ data-tabs-slot="panel"
24
+ role="tabpanel"
25
+ style="
26
+ --p: 4;
27
+ --w: 100%;
28
+ --text: var(--color-muted-foreground);
29
+ "
30
+ >
31
+ <p>Manage your profile, email, and password.</p>
32
+ </div>
33
+
34
+ <div
35
+ data-tabs-slot="panel"
36
+ role="tabpanel"
37
+ style="
38
+ --p: 4;
39
+ --w: 100%;
40
+ --text: var(--color-muted-foreground);
41
+ "
42
+ >
43
+ <p>Review invoices and update your payment method.</p>
44
+ </div>
45
+
46
+ <div
47
+ data-tabs-slot="panel"
48
+ role="tabpanel"
49
+ style="
50
+ --p: 4;
51
+ --w: 100%;
52
+ --text: var(--color-muted-foreground);
53
+ "
54
+ >
55
+ <p>Choose what we email you about and how often.</p>
56
+ </div>
57
+ </ui-tabs>
58
+ <!-- Tabs underline END -->
59
+
60
+ <!-- Tabs underline vertical START -->
61
+ <ui-tabs data-tabs-variant="underline" data-tabs-orientation="vertical" style="--w: 100%">
62
+ <div data-tabs-slot="list" role="tablist">
63
+ <div data-tabs-slot="indicator" aria-hidden="true"></div>
64
+
65
+ <input type="radio" role="tab" name="tabs-group-4" id="tab-underline-vertical-1" checked />
66
+ <label for="tab-underline-vertical-1" data-tabs-slot="label">
67
+ <span data-tabs-slot="label-text">Account</span>
68
+ </label>
69
+
70
+ <input type="radio" role="tab" name="tabs-group-4" id="tab-underline-vertical-2" />
71
+ <label for="tab-underline-vertical-2" data-tabs-slot="label">
72
+ <span data-tabs-slot="label-text">Billing</span>
73
+ </label>
74
+
75
+ <input type="radio" role="tab" name="tabs-group-4" id="tab-underline-vertical-3" />
76
+ <label for="tab-underline-vertical-3" data-tabs-slot="label">
77
+ <span data-tabs-slot="label-text">Notifications</span>
78
+ </label>
79
+ </div>
80
+
81
+ <div
82
+ data-tabs-slot="panel"
83
+ role="tabpanel"
84
+ style="
85
+ --p: 4;
86
+ --w: 100%;
87
+ --text: var(--color-muted-foreground);
88
+ "
89
+ >
90
+ <p>Manage your profile, email, and password.</p>
91
+ </div>
92
+
93
+ <div
94
+ data-tabs-slot="panel"
95
+ role="tabpanel"
96
+ style="
97
+ --p: 4;
98
+ --w: 100%;
99
+ --text: var(--color-muted-foreground);
100
+ "
101
+ >
102
+ <p>Review invoices and update your payment method.</p>
103
+ </div>
104
+
105
+ <div
106
+ data-tabs-slot="panel"
107
+ role="tabpanel"
108
+ style="
109
+ --p: 4;
110
+ --w: 100%;
111
+ --text: var(--color-muted-foreground);
112
+ "
113
+ >
114
+ <p>Choose what we email you about and how often.</p>
115
+ </div>
116
+ </ui-tabs>
117
+ <!-- Tabs underline vertical END -->