@zazz-ui/core 0.8.4 → 0.9.1

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 (35) hide show
  1. package/AUTHORING.md +1 -1
  2. package/CHANGELOG.md +75 -0
  3. package/README.md +2 -2
  4. package/dist/sri.json +20 -20
  5. package/dist/zazz.css +1 -1
  6. package/dist/zazz.js +1 -1
  7. package/editor/zazz.css-data.json +19 -15
  8. package/editor/zazz.html-data.json +12 -0
  9. package/editor/zazz.language-data.json +227 -85
  10. package/package.json +1 -1
  11. package/src/base/_typography.css +166 -35
  12. package/src/base/_variables.css +47 -38
  13. package/src/base/dialog-lifecycle.d.ts.map +1 -1
  14. package/src/base/dialog-lifecycle.js +4 -1
  15. package/src/base/dialog-lifecycle.ts +4 -1
  16. package/src/primitives/badge/badge.css +3 -6
  17. package/src/primitives/button/button.css +3 -6
  18. package/src/primitives/checkbox/checkbox.css +2 -2
  19. package/src/primitives/combobox/combobox.d.ts +23 -0
  20. package/src/primitives/combobox/combobox.d.ts.map +1 -1
  21. package/src/primitives/combobox/combobox.js +53 -2
  22. package/src/primitives/combobox/combobox.ts +51 -2
  23. package/src/primitives/command/command.css +2 -3
  24. package/src/primitives/debug/debug.d.ts.map +1 -1
  25. package/src/primitives/debug/debug.js +4 -1
  26. package/src/primitives/debug/debug.ts +4 -1
  27. package/src/primitives/fields/fields.css +5 -5
  28. package/src/primitives/input-group/input-group.css +4 -4
  29. package/src/primitives/layout/layout.css +2 -2
  30. package/src/primitives/lightbox/lightbox.css +4 -4
  31. package/src/primitives/mobile-menu/mobile-menu.css +2 -2
  32. package/src/primitives/password-group/password-group.css +4 -4
  33. package/src/primitives/radio/radio.css +3 -3
  34. package/src/primitives/switch/switch.css +5 -5
  35. package/src/primitives/tabs/tabs.css +3 -3
@@ -31,6 +31,11 @@
31
31
  * this control is inert without its script (the hidden input still submits a
32
32
  * server-set value, but no tags render).
33
33
  *
34
+ * Scripts read and set the selection through the element's `value` property,
35
+ * which mirrors `<select>.value`: setting it moves the selection, the label,
36
+ * and the hidden input without focusing the input or dispatching `change`; an
37
+ * unknown value clears the selection.
38
+ *
34
39
  * Attributes on the root: `data-combobox-variant="multiselect"`, `data-combobox-sort="score"`,
35
40
  * `data-combobox-filter="none"` (another source filters; the engine only navigates),
36
41
  * `data-combobox-min-length="<n>"`, `data-combobox-label-remove="Remove {label}"`.
@@ -513,16 +518,60 @@ class UiCombobox extends TypeaheadElement {
513
518
  /**
514
519
  * @description Empties the committed state: label, hidden value, tags, and
515
520
  * `aria-selected` all clear together.
521
+ *
522
+ * @param notify - Whether to dispatch `change` (a script setting `value` stays silent).
516
523
  * @private
517
524
  */
518
- #clearSelection(): void {
525
+ #clearSelection(notify = true): void {
519
526
  this.#committedLabel = "";
520
527
  const multiselect = this.#multiselect();
521
528
  for (const item of this.items()) {
522
529
  if (multiselect) item.setAttribute("aria-selected", "false");
523
530
  else item.removeAttribute("aria-selected");
524
531
  }
525
- this.#syncSelection(true);
532
+ if (this.searchInput) this.searchInput.value = "";
533
+ this.query.set("");
534
+ this.#syncSelection(notify);
535
+ }
536
+
537
+ /**
538
+ * @description The selected item's form value (`data-combobox-value`, or its
539
+ * label), like `<select>.value`; the empty string when nothing is selected.
540
+ * In the multiselect variant it is the first selected value.
541
+ *
542
+ * @returns The committed form value.
543
+ */
544
+ get value(): string {
545
+ const selected = this.#selectedItems()[0];
546
+ return selected ? this.#itemFormValue(selected) : "";
547
+ }
548
+
549
+ /**
550
+ * @description Selects the item carrying this form value, as a script sets
551
+ * `<select>.value`: the label, the hidden input, and `aria-selected` follow,
552
+ * but no `change` is dispatched and focus stays where it was. A value no
553
+ * row carries clears the selection; in the multiselect variant the value
554
+ * becomes the whole selection, as `<select multiple>.value` does.
555
+ *
556
+ * @param value - The form value to select.
557
+ */
558
+ set value(value: string) {
559
+ const match = this.items().find((item) => this.#itemFormValue(item) === value);
560
+ if (!match) {
561
+ this.#clearSelection(false);
562
+ return;
563
+ }
564
+ const multiselect = this.#multiselect();
565
+ for (const other of this.items()) {
566
+ if (multiselect) other.setAttribute("aria-selected", "false");
567
+ else other.removeAttribute("aria-selected");
568
+ }
569
+ match.setAttribute("aria-selected", "true");
570
+ this.#committedLabel = multiselect ? "" : this.itemValue(match);
571
+ const input = this.searchInput;
572
+ if (input) input.value = this.#committedLabel;
573
+ this.query.set("");
574
+ this.#syncSelection(false);
526
575
  }
527
576
 
528
577
  /**
@@ -19,8 +19,7 @@
19
19
  --ui-command-option-gap: var(--ui-field-option-gap);
20
20
  --ui-command-input-p: calc(var(--spacing) * 3);
21
21
  --ui-command-input-border: 1px solid var(--color-border);
22
- --ui-command-group-label-padding: calc(var(--spacing) * 2) calc(var(--spacing) * 2)
23
- var(--spacing);
22
+ --ui-command-group-label-p: calc(var(--spacing) * 2) calc(var(--spacing) * 2) var(--spacing);
24
23
  --ui-command-footer-p: calc(var(--spacing) * 2);
25
24
  --ui-command-footer-border: 1px solid var(--color-border);
26
25
  --ui-command-shadow: var(--ui-menu-shadow);
@@ -121,7 +120,7 @@
121
120
  }
122
121
 
123
122
  :where(ui-command, [data-ui~="command"]) [data-command-slot~="group-label"] {
124
- padding: var(--ui-command-group-label-padding);
123
+ padding: var(--ui-command-group-label-p);
125
124
  /* Score ranking writes order -1000..0 on sibling items; keep the label first */
126
125
  order: -1001;
127
126
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["debug.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAML,KAAK,MAAM,EACZ,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,+GAA+G;IAC/G,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AA+CD,8EAA8E;AAC9E,wBAAgB,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,EAAE,CAmB1E;AAED,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG;IAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAyCtF;AAED,eAAO,MAAM,aAAa,8KACiJ,CAAC;AAI5K,cAAM,OAAQ,SAAQ,WAAW;IAC/B,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAgDzC;CACF;AAID,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["debug.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,WAAW,EAAqB,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAML,KAAK,MAAM,EACZ,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,+GAA+G;IAC/G,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IACjC,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AA+CD,8EAA8E;AAC9E,wBAAgB,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,YAAiB,GAAG,OAAO,EAAE,CAmB1E;AAED,MAAM,WAAW,IAAI;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG;IAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,EAAE,CAAA;CAAE,CAyCtF;AAED,eAAO,MAAM,aAAa,8KACiJ,CAAC;AAI5K,cAAM,OAAQ,SAAQ,WAAW;IAC/B,SAAS,CAAC,KAAK,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAmDzC;CACF;AAID,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -160,7 +160,10 @@ class UiDebug extends ZazzElement {
160
160
  report();
161
161
  });
162
162
  });
163
- observer.observe(document.body, {
163
+ // The root, not <body>: swap navigation replaces the whole <body>, and a
164
+ // persisted <ui-debug> would otherwise watch the old one. `report` reads
165
+ // `document.body` on each run, so it always audits the current page.
166
+ observer.observe(document.documentElement, {
164
167
  attributes: true,
165
168
  attributeFilter: ["style", "data-ui"],
166
169
  childList: true,
@@ -204,7 +204,10 @@ class UiDebug extends ZazzElement {
204
204
  report();
205
205
  });
206
206
  });
207
- observer.observe(document.body, {
207
+ // The root, not <body>: swap navigation replaces the whole <body>, and a
208
+ // persisted <ui-debug> would otherwise watch the old one. `report` reads
209
+ // `document.body` on each run, so it always audits the current page.
210
+ observer.observe(document.documentElement, {
208
211
  attributes: true,
209
212
  attributeFilter: ["style", "data-ui"],
210
213
  childList: true,
@@ -49,7 +49,7 @@
49
49
  --ui-field-font-size: var(--font-size-sm);
50
50
  --ui-field-leading: 1;
51
51
  --ui-field-px: calc(var(--spacing) * 2.5);
52
- --ui-field-addon-padding: var(--spacing);
52
+ --ui-field-addon-p: var(--spacing);
53
53
  --ui-field-gap: calc(var(--spacing) * 2);
54
54
  --ui-field-option-gap: 1px;
55
55
  --ui-field-icon-size: calc(var(--spacing) * 4);
@@ -255,14 +255,14 @@
255
255
  :where([data-ui~="field"][data-field-orientation="horizontal"]) {
256
256
  --ui-field-horizontal-display: flex;
257
257
  --ui-field-horizontal-flex-direction: row;
258
- --ui-field-horizontal-align-items: center;
259
- --ui-field-horizontal-justify-content: flex-start;
258
+ --ui-field-horizontal-items: center;
259
+ --ui-field-horizontal-justify: flex-start;
260
260
  --ui-field-horizontal-gap: var(--space-xs);
261
261
 
262
262
  display: var(--_display-resolved, var(--ui-field-horizontal-display));
263
263
  flex-direction: var(--_flex-direction-resolved, var(--ui-field-horizontal-flex-direction));
264
- align-items: var(--_items-resolved, var(--ui-field-horizontal-align-items));
265
- justify-content: var(--_justify-resolved, var(--ui-field-horizontal-justify-content));
264
+ align-items: var(--_items-resolved, var(--ui-field-horizontal-items));
265
+ justify-content: var(--_justify-resolved, var(--ui-field-horizontal-justify));
266
266
  --_gap-len: var(--_gap-resolved, var(--ui-field-horizontal-gap));
267
267
  --_gap-num: var(--_gap-resolved, var(--ui-field-horizontal-gap));
268
268
  }
@@ -181,7 +181,7 @@
181
181
  white-space: nowrap;
182
182
  block-size: var(--ui-field-h);
183
183
  min-inline-size: var(--ui-field-h);
184
- padding-inline: var(--ui-field-addon-padding);
184
+ padding-inline: var(--ui-field-addon-p);
185
185
  }
186
186
 
187
187
  :where([data-ui~="input-group"]) [data-input-group-slot~="addon"] > svg {
@@ -205,7 +205,7 @@
205
205
  [data-input-group-slot~="addon"][data-input-group-align="block-start"] {
206
206
  order: -2;
207
207
  flex-basis: 100%;
208
- padding-block: var(--ui-field-addon-padding);
208
+ padding-block: var(--ui-field-addon-p);
209
209
  align-items: flex-start;
210
210
  }
211
211
 
@@ -213,7 +213,7 @@
213
213
  [data-input-group-slot~="addon"][data-input-group-align="block-end"] {
214
214
  order: 2;
215
215
  flex-basis: 100%;
216
- padding-block: var(--ui-field-addon-padding);
216
+ padding-block: var(--ui-field-addon-p);
217
217
  align-items: flex-end;
218
218
  }
219
219
 
@@ -222,7 +222,7 @@
222
222
  display: inline-flex;
223
223
  align-items: center;
224
224
  gap: var(--space-xs);
225
- padding-inline: var(--ui-field-addon-padding);
225
+ padding-inline: var(--ui-field-addon-p);
226
226
  font-size: var(--ui-input-group-font-size);
227
227
  font-weight: var(--ui-input-group-font-weight);
228
228
  color: var(--ui-input-group-text);
@@ -35,7 +35,7 @@
35
35
  /* each child's container type: inline-size so tiers inside a band follow it;
36
36
  set normal on a layout to opt its children out */
37
37
  --ui-layout-child-container: inline-size;
38
- --ui-layout-template-columns: [layout-bleed-start] var(--ui-layout-gutters) [layout-full-start]
38
+ --ui-layout-template-cols: [layout-bleed-start] var(--ui-layout-gutters) [layout-full-start]
39
39
  minmax(0, 1fr) [layout-2xl-start]
40
40
  clamp(
41
41
  0rem,
@@ -91,7 +91,7 @@
91
91
  @layer ui.components {
92
92
  :where(ui-layout, [data-ui~="layout"]) {
93
93
  display: grid;
94
- grid-template-columns: var(--ui-layout-template-columns);
94
+ grid-template-columns: var(--ui-layout-template-cols);
95
95
  /* the bands are positioned exactly by the template: no column gap */
96
96
  column-gap: 0;
97
97
  /* children sit at the block start and stretch across their band */
@@ -19,7 +19,7 @@
19
19
  --ui-lightbox-thumb-size: calc(var(--spacing) * 16);
20
20
  --ui-lightbox-thumb-opacity: 0.5;
21
21
  --ui-lightbox-thumb-opacity--active: 1;
22
- --ui-lightbox-thumb-columns: 6;
22
+ --ui-lightbox-thumb-cols: 6;
23
23
  --ui-lightbox-thumb-gap: calc(var(--spacing) * 1.5);
24
24
  --ui-lightbox-img-border: 1px solid var(--color-faded);
25
25
 
@@ -59,7 +59,7 @@
59
59
 
60
60
  @container (width <= 40rem) {
61
61
  :where(ui-lightbox, [data-ui~="lightbox"]) {
62
- --ui-lightbox-thumb-columns: 4;
62
+ --ui-lightbox-thumb-cols: 4;
63
63
  }
64
64
  }
65
65
 
@@ -242,8 +242,8 @@
242
242
  [data-lightbox-slot~="stage"]
243
243
  [data-lightbox-slot~="thumb"] {
244
244
  max-inline-size: calc(
245
- (100% - (var(--ui-lightbox-thumb-gap) * (var(--ui-lightbox-thumb-columns) - 1))) /
246
- var(--ui-lightbox-thumb-columns)
245
+ (100% - (var(--ui-lightbox-thumb-gap) * (var(--ui-lightbox-thumb-cols) - 1))) /
246
+ var(--ui-lightbox-thumb-cols)
247
247
  );
248
248
  }
249
249
 
@@ -18,7 +18,7 @@
18
18
  --ui-mobile-menu-bg: var(--color-background);
19
19
  --ui-mobile-menu-text: var(--color-foreground);
20
20
  --ui-mobile-menu-backdrop-color: var(--color-faded-foreground);
21
- --ui-mobile-menu-header-padding-inline: var(--space-md) var(--space-xs);
21
+ --ui-mobile-menu-header-px: var(--space-md) var(--space-xs);
22
22
  --ui-mobile-menu-header-py: var(--space-xs);
23
23
  --ui-mobile-menu-body-px: var(--space-sm);
24
24
  --ui-mobile-menu-body-py: var(--space-md);
@@ -88,7 +88,7 @@
88
88
  display: flex;
89
89
  align-items: center;
90
90
  justify-content: space-between;
91
- padding-inline: var(--ui-mobile-menu-header-padding-inline);
91
+ padding-inline: var(--ui-mobile-menu-header-px);
92
92
  padding-block: var(--ui-mobile-menu-header-py);
93
93
  border-block-end: 1px solid var(--color-border);
94
94
  position: sticky;
@@ -171,7 +171,7 @@
171
171
  white-space: nowrap;
172
172
  block-size: var(--ui-field-h);
173
173
  min-inline-size: var(--ui-field-h);
174
- padding-inline: var(--ui-field-addon-padding);
174
+ padding-inline: var(--ui-field-addon-p);
175
175
  }
176
176
 
177
177
  :where([data-ui~="password-group"]) [data-password-group-slot~="addon"] > svg {
@@ -195,7 +195,7 @@
195
195
  [data-password-group-slot~="addon"][data-password-group-align="block-start"] {
196
196
  order: -2;
197
197
  flex-basis: 100%;
198
- padding-block: var(--ui-field-addon-padding);
198
+ padding-block: var(--ui-field-addon-p);
199
199
  align-items: flex-start;
200
200
  }
201
201
 
@@ -203,7 +203,7 @@
203
203
  [data-password-group-slot~="addon"][data-password-group-align="block-end"] {
204
204
  order: 2;
205
205
  flex-basis: 100%;
206
- padding-block: var(--ui-field-addon-padding);
206
+ padding-block: var(--ui-field-addon-p);
207
207
  align-items: flex-end;
208
208
  }
209
209
 
@@ -211,7 +211,7 @@
211
211
  display: inline-flex;
212
212
  align-items: center;
213
213
  gap: var(--space-xs);
214
- padding-inline: var(--ui-field-addon-padding);
214
+ padding-inline: var(--ui-field-addon-p);
215
215
  font-size: var(--ui-password-group-font-size);
216
216
  font-weight: var(--ui-password-group-font-weight);
217
217
  color: var(--ui-password-group-text);
@@ -12,7 +12,7 @@
12
12
  --ui-radio-size: calc(var(--spacing) * 4.5);
13
13
  --ui-radio-bg: var(--ui-field-bg);
14
14
  --ui-radio-bg--checked: var(--color-primary);
15
- --ui-radio-dot-foreground: var(--color-primary-foreground);
15
+ --ui-radio-dot-color: var(--color-primary-foreground);
16
16
  --ui-radio-border-width: var(--ui-field-border-width);
17
17
  --ui-radio-border-style: var(--ui-field-border-style);
18
18
  --ui-radio-border-color: var(--ui-field-border-color);
@@ -29,7 +29,7 @@
29
29
  /* ===========================================================================
30
30
  RADIO — data-ui="radio" (+ data-ui="radio-group")
31
31
  - appearance: none redraws the circle from theme tokens; the checked dot is a
32
- masked ::before so it tracks --ui-radio-dot-foreground, not color alone.
32
+ masked ::before so it tracks --ui-radio-dot-color, not color alone.
33
33
  - Group by shared `name` inside a <fieldset>/<legend> or [data-ui~="radio-group"].
34
34
  =========================================================================== */
35
35
 
@@ -97,7 +97,7 @@
97
97
  :where([data-ui~="radio"]):checked {
98
98
  background-color: var(--_bg-resolved, var(--ui-radio-bg--checked));
99
99
  border-color: var(--_border-color-resolved, var(--ui-radio-border-color--checked));
100
- color: var(--ui-radio-dot-foreground);
100
+ color: var(--ui-radio-dot-color);
101
101
  }
102
102
 
103
103
  /* masked ::before dot painted in currentColor; the :where() closes before
@@ -12,13 +12,13 @@
12
12
  @layer variables {
13
13
  :root {
14
14
  --ui-switch-track-w: calc(var(--spacing) * 7);
15
- --ui-switch-track-padding: calc(var(--spacing) * 0.5);
16
- --ui-switch-track-h: calc(var(--ui-switch-track-w) / 2 + var(--ui-switch-track-padding));
15
+ --ui-switch-track-p: calc(var(--spacing) * 0.5);
16
+ --ui-switch-track-h: calc(var(--ui-switch-track-w) / 2 + var(--ui-switch-track-p));
17
17
  --ui-switch-thumb-bg: var(--color-background);
18
18
  --ui-switch-thumb-bg--hover: var(--color-primary-foreground);
19
- --ui-switch-thumb-size: calc((var(--ui-switch-track-w) / 2) - var(--ui-switch-track-padding));
19
+ --ui-switch-thumb-size: calc((var(--ui-switch-track-w) / 2) - var(--ui-switch-track-p));
20
20
  --ui-switch-thumb-shadow: var(--shadow-xs);
21
- --ui-switch-thumb-translate: var(--ui-switch-track-padding), -50%;
21
+ --ui-switch-thumb-translate: var(--ui-switch-track-p), -50%;
22
22
  --ui-switch-thumb-scale: 1;
23
23
  --ui-switch-track-bg: var(--color-input);
24
24
  --ui-switch-track-bg--hover: oklch(from var(--color-input) l c h / calc(alpha + 0.04));
@@ -58,7 +58,7 @@
58
58
  &:has(> input[role="switch"]:checked)::after {
59
59
  background-color: var(--ui-switch-thumb-bg--hover);
60
60
  --ui-switch-thumb-translate:
61
- calc(var(--ui-switch-track-padding) + var(--ui-switch-thumb-size)), -50%;
61
+ calc(var(--ui-switch-track-p) + var(--ui-switch-thumb-size)), -50%;
62
62
  }
63
63
 
64
64
  @media (hover: hover) {
@@ -16,7 +16,7 @@
16
16
  /* metrics default to the shared --ui-field-* family so the track matches
17
17
  adjacent fields and buttons; --ui-tabs-label-min-h is deliberately shorter */
18
18
  --ui-tabs-gap: var(--space-xs);
19
- --ui-tabs-track-padding: calc(var(--spacing) * 0.5);
19
+ --ui-tabs-track-p: calc(var(--spacing) * 0.5);
20
20
  --ui-tabs-track-radius: var(--ui-field-radius);
21
21
  --ui-tabs-track-gap: calc(var(--spacing) * 0.5);
22
22
  --ui-tabs-track-bg: var(--color-muted);
@@ -24,7 +24,7 @@
24
24
  --ui-tabs-indicator-bg: var(--color-card);
25
25
  --ui-tabs-indicator-radius: var(--ui-field-inset-child-radius);
26
26
  --ui-tabs-indicator-shadow: var(--shadow-xs);
27
- --ui-tabs-indicator-inset: var(--ui-tabs-track-padding);
27
+ --ui-tabs-indicator-inset: var(--ui-tabs-track-p);
28
28
 
29
29
  --ui-tabs-label-font-family: var(--font-family-body);
30
30
  --ui-tabs-label-font-size: var(--font-size-sm);
@@ -61,7 +61,7 @@
61
61
  display: inline-flex;
62
62
  align-items: center;
63
63
  gap: var(--ui-tabs-track-gap);
64
- padding: var(--ui-tabs-track-padding);
64
+ padding: var(--ui-tabs-track-p);
65
65
  --_radius-len: var(--_radius-resolved, var(--ui-tabs-track-radius));
66
66
  --_radius-num: var(--_radius-resolved, var(--ui-tabs-track-radius));
67
67
  border-radius: calc(