@openvoxproject/voxblocks 0.11.0 → 0.12.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 (41) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/voxblocks.css +1 -1
  3. package/dist/cdn/voxblocks.js +2011 -1475
  4. package/dist/types/components/accordion/vox-accordion.d.ts +0 -2
  5. package/dist/types/components/code-block/languages.d.ts +28 -0
  6. package/dist/types/components/code-block/vox-code-block.d.ts +34 -0
  7. package/dist/types/components/disclosure/vox-disclosure.d.ts +0 -2
  8. package/dist/types/components/dropdown/vox-dropdown.d.ts +0 -3
  9. package/dist/types/components/header/vox-header.d.ts +0 -2
  10. package/dist/types/components/pagination/vox-pagination.d.ts +4 -6
  11. package/dist/types/components/sidenav/vox-sidenav.d.ts +0 -4
  12. package/dist/types/index.d.ts +2 -0
  13. package/dist/types/internal/field.d.ts +0 -4
  14. package/dist/voxblocks.css +1 -1
  15. package/dist/voxblocks.js +1491 -955
  16. package/package.json +1 -1
  17. package/src/components/accordion/vox-accordion.ts +1 -6
  18. package/src/components/alert/vox-alert.ts +1 -5
  19. package/src/components/avatar/vox-avatar.ts +2 -9
  20. package/src/components/card/vox-card.ts +1 -1
  21. package/src/components/checkbox/vox-checkbox.ts +3 -4
  22. package/src/components/code-block/languages.ts +259 -0
  23. package/src/components/code-block/vox-code-block.ts +302 -0
  24. package/src/components/dialog/vox-dialog.ts +2 -2
  25. package/src/components/disclosure/vox-disclosure.ts +1 -6
  26. package/src/components/dropdown/vox-dropdown.ts +8 -32
  27. package/src/components/empty-state/vox-empty-state.ts +1 -1
  28. package/src/components/file-input/vox-file-input.ts +1 -4
  29. package/src/components/header/vox-header.ts +0 -10
  30. package/src/components/input/vox-input.ts +0 -2
  31. package/src/components/link-hub/vox-link-hub.ts +1 -1
  32. package/src/components/pagination/vox-pagination.ts +6 -9
  33. package/src/components/radio/vox-radio-group.ts +6 -17
  34. package/src/components/select/vox-select.ts +0 -3
  35. package/src/components/sidenav/vox-sidenav.ts +1 -16
  36. package/src/components/step-indicator/vox-step-indicator.ts +2 -16
  37. package/src/components/tabs/vox-tabs.ts +2 -26
  38. package/src/components/textarea/vox-textarea.ts +0 -2
  39. package/src/index.ts +2 -0
  40. package/src/internal/field.ts +2 -20
  41. package/src/tokens/tokens.css +24 -7
package/dist/voxblocks.js CHANGED
@@ -1,33 +1,33 @@
1
- import { css as d, LitElement as h, html as c, svg as l, nothing as v } from "lit";
2
- import { property as n, customElement as p, state as le, query as Ze } from "lit/decorators.js";
3
- import { classMap as bt } from "lit/directives/class-map.js";
4
- import { ifDefined as u } from "lit/directives/if-defined.js";
5
- import { live as dt } from "lit/directives/live.js";
6
- var mt = Object.defineProperty, yt = Object.getOwnPropertyDescriptor, V = (o, t, a, r) => {
7
- for (var e = r > 1 ? void 0 : r ? yt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1
+ import { css as d, LitElement as h, html as l, svg as c, nothing as v } from "lit";
2
+ import { property as n, customElement as p, state as Z, query as rt } from "lit/decorators.js";
3
+ import { classMap as Et } from "lit/directives/class-map.js";
4
+ import { ifDefined as E } from "lit/directives/if-defined.js";
5
+ import { live as Mt } from "lit/directives/live.js";
6
+ var At = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, V = (o, t, a, r) => {
7
+ for (var e = r > 1 ? void 0 : r ? Ht(t, a) : t, s = o.length - 1, i; s >= 0; s--)
8
8
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
9
- return r && e && mt(t, a, e), e;
9
+ return r && e && At(t, a, e), e;
10
10
  };
11
11
  let g = class extends h {
12
12
  constructor() {
13
13
  super(...arguments), this.variant = "brand", this.size = "md", this.type = "button", this.disabled = !1;
14
14
  }
15
15
  render() {
16
- const o = bt({
16
+ const o = Et({
17
17
  button: !0,
18
18
  [this.variant]: !0,
19
19
  [this.size]: !0
20
20
  });
21
- return this.href !== void 0 && !this.disabled ? c`
21
+ return this.href !== void 0 && !this.disabled ? l`
22
22
  <a
23
23
  class=${o}
24
24
  href=${this.href}
25
- target=${u(this.target)}
26
- rel=${u(this.target === "_blank" ? "noreferrer" : void 0)}
25
+ target=${E(this.target)}
26
+ rel=${E(this.target === "_blank" ? "noreferrer" : void 0)}
27
27
  >
28
28
  <slot></slot>
29
29
  </a>
30
- ` : c`
30
+ ` : l`
31
31
  <button class=${o} type=${this.type} ?disabled=${this.disabled}>
32
32
  <slot></slot>
33
33
  </button>
@@ -163,17 +163,17 @@ V([
163
163
  g = V([
164
164
  p("vox-button")
165
165
  ], g);
166
- var wt = Object.defineProperty, $t = Object.getOwnPropertyDescriptor, Ue = (o, t, a, r) => {
167
- for (var e = r > 1 ? void 0 : r ? $t(t, a) : t, s = o.length - 1, i; s >= 0; s--)
166
+ var Bt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, at = (o, t, a, r) => {
167
+ for (var e = r > 1 ? void 0 : r ? Nt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
168
168
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
169
- return r && e && wt(t, a, e), e;
169
+ return r && e && Bt(t, a, e), e;
170
170
  };
171
- let R = class extends h {
171
+ let K = class extends h {
172
172
  constructor() {
173
173
  super(...arguments), this.href = "#";
174
174
  }
175
175
  render() {
176
- return c`
176
+ return l`
177
177
  <a href=${this.href} target=${this.target ?? ""}>
178
178
  <slot></slot>
179
179
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
@@ -184,7 +184,7 @@ let R = class extends h {
184
184
  `;
185
185
  }
186
186
  };
187
- R.styles = d`
187
+ K.styles = d`
188
188
  :host {
189
189
  display: inline-block;
190
190
  font-family: var(--vox-font-family-base);
@@ -221,31 +221,31 @@ R.styles = d`
221
221
  transform: translateX(3px);
222
222
  }
223
223
  `;
224
- Ue([
224
+ at([
225
225
  n()
226
- ], R.prototype, "href", 2);
227
- Ue([
226
+ ], K.prototype, "href", 2);
227
+ at([
228
228
  n()
229
- ], R.prototype, "target", 2);
230
- R = Ue([
229
+ ], K.prototype, "target", 2);
230
+ K = at([
231
231
  p("vox-cta")
232
- ], R);
233
- var _t = Object.defineProperty, Ct = Object.getOwnPropertyDescriptor, Pe = (o, t, a, r) => {
234
- for (var e = r > 1 ? void 0 : r ? Ct(t, a) : t, s = o.length - 1, i; s >= 0; s--)
232
+ ], K);
233
+ var Tt = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, Ne = (o, t, a, r) => {
234
+ for (var e = r > 1 ? void 0 : r ? qt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
235
235
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
236
- return r && e && _t(t, a, e), e;
236
+ return r && e && Tt(t, a, e), e;
237
237
  };
238
- const ct = "vox-theme", be = "data-vox-theme";
239
- let z = class extends h {
238
+ const yt = "vox-theme", Oe = "data-vox-theme";
239
+ let A = class extends h {
240
240
  constructor() {
241
241
  super(...arguments), this.lightLabel = "Switch to dark theme", this.darkLabel = "Switch to light theme", this.dark = !1, this.media = window.matchMedia("(prefers-color-scheme: dark)"), this.handleSystemChange = (o) => {
242
- localStorage.getItem(ct) || document.documentElement.setAttribute(be, o.matches ? "dark" : "light");
242
+ localStorage.getItem(yt) || document.documentElement.setAttribute(Oe, o.matches ? "dark" : "light");
243
243
  };
244
244
  }
245
245
  connectedCallback() {
246
246
  super.connectedCallback(), this.syncFromDocument(), this.observer = new MutationObserver(() => this.syncFromDocument()), this.observer.observe(document.documentElement, {
247
247
  attributes: !0,
248
- attributeFilter: [be]
248
+ attributeFilter: [Oe]
249
249
  }), this.media.addEventListener("change", this.handleSystemChange);
250
250
  }
251
251
  disconnectedCallback() {
@@ -253,12 +253,12 @@ let z = class extends h {
253
253
  super.disconnectedCallback(), (o = this.observer) == null || o.disconnect(), this.media.removeEventListener("change", this.handleSystemChange);
254
254
  }
255
255
  syncFromDocument() {
256
- const o = document.documentElement.getAttribute(be) === "dark";
256
+ const o = document.documentElement.getAttribute(Oe) === "dark";
257
257
  this.dark = o, this.toggleAttribute("dark", o);
258
258
  }
259
259
  handleClick() {
260
260
  const o = this.dark ? "light" : "dark";
261
- document.documentElement.setAttribute(be, o), localStorage.setItem(ct, o), this.dispatchEvent(
261
+ document.documentElement.setAttribute(Oe, o), localStorage.setItem(yt, o), this.dispatchEvent(
262
262
  new CustomEvent("vox-theme-change", {
263
263
  detail: { theme: o },
264
264
  bubbles: !0,
@@ -268,7 +268,7 @@ let z = class extends h {
268
268
  }
269
269
  render() {
270
270
  const o = this.dark ? this.darkLabel : this.lightLabel;
271
- return c`
271
+ return l`
272
272
  <button
273
273
  type="button"
274
274
  role="switch"
@@ -291,7 +291,7 @@ let z = class extends h {
291
291
  `;
292
292
  }
293
293
  };
294
- z.styles = d`
294
+ A.styles = d`
295
295
  :host {
296
296
  display: inline-flex;
297
297
  }
@@ -350,118 +350,118 @@ z.styles = d`
350
350
  transform: translateX(20px);
351
351
  }
352
352
  `;
353
- Pe([
353
+ Ne([
354
354
  n({ attribute: "light-label" })
355
- ], z.prototype, "lightLabel", 2);
356
- Pe([
355
+ ], A.prototype, "lightLabel", 2);
356
+ Ne([
357
357
  n({ attribute: "dark-label" })
358
- ], z.prototype, "darkLabel", 2);
359
- Pe([
360
- le()
361
- ], z.prototype, "dark", 2);
362
- z = Pe([
358
+ ], A.prototype, "darkLabel", 2);
359
+ Ne([
360
+ Z()
361
+ ], A.prototype, "dark", 2);
362
+ A = Ne([
363
363
  p("vox-theme-toggle")
364
- ], z);
364
+ ], A);
365
365
  const y = {
366
366
  // Phase 1: shared UI baseline -----------------------------------------
367
- search: l`<circle cx="21" cy="21" r="13"/><path d="M30.5 30.5 L41 41"/>`,
368
- close: l`<path d="M14 14 L34 34 M34 14 L14 34"/>`,
369
- menu: l`<path d="M8 14 H40 M8 24 H40 M8 34 H40"/>`,
370
- "chevron-up": l`<path d="M14 28 L24 18 L34 28"/>`,
371
- "chevron-down": l`<path d="M14 20 L24 30 L34 20"/>`,
372
- "chevron-left": l`<path d="M28 14 L18 24 L28 34"/>`,
373
- "chevron-right": l`<path d="M20 14 L30 24 L20 34"/>`,
374
- "external-link": l`<path d="M36 26 V38 A4 4 0 0 1 32 42 H10 A4 4 0 0 1 6 38 V16 A4 4 0 0 1 10 12 H22"/><path d="M30 6 H42 V18"/><path d="M20 28 L42 6"/>`,
375
- copy: l`<rect x="8" y="14" width="24" height="24" rx="3"/><path d="M16 14 V10 A2 2 0 0 1 18 8 H38 A2 2 0 0 1 40 10 V30 A2 2 0 0 1 38 32 H34"/>`,
376
- check: l`<path d="M10 25 L20 35 L38 13"/>`,
377
- warning: l`<path d="M24 8 L44 40 H4 Z"/><path d="M24 20 V28"/><circle cx="24" cy="34" r="1.6" fill="currentColor" stroke="none"/>`,
378
- info: l`<circle cx="24" cy="24" r="17"/><path d="M24 22 V33"/><circle cx="24" cy="15.5" r="1.8" fill="currentColor" stroke="none"/>`,
379
- add: l`<path d="M24 10 V38 M10 24 H38"/>`,
380
- remove: l`<path d="M10 24 H38"/>`,
381
- edit: l`<path d="M30 8 L40 18 L18 40 L7 41 L8 30 Z"/><path d="M26 12 L36 22"/>`,
382
- delete: l`<path d="M10 14 H38"/><path d="M17 14 V9 A2 2 0 0 1 19 7 H29 A2 2 0 0 1 31 9 V14"/><path d="M13 14 L15 40 A2 2 0 0 0 17 42 H31 A2 2 0 0 0 33 40 L35 14"/><path d="M20 21 V35 M28 21 V35"/>`,
383
- filter: l`<path d="M6 10 H42 L28 26 V38 L20 42 V26 Z"/>`,
384
- sort: l`<path d="M14 30 V10 M14 10 L8 16 M14 10 L20 16"/><path d="M34 18 V38 M34 38 L28 32 M34 38 L40 32"/>`,
385
- calendar: l`<rect x="6" y="10" width="36" height="32" rx="3"/><path d="M6 20 H42"/><path d="M15 6 V14 M33 6 V14"/><circle cx="15" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="24" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="33" cy="28" r="1.6" fill="currentColor" stroke="none"/>`,
386
- clock: l`<circle cx="24" cy="24" r="17"/><path d="M24 14 V24 L32 29"/>`,
387
- person: l`<circle cx="24" cy="16" r="8"/><path d="M8 42 C8 31 15 26 24 26 C33 26 40 31 40 42"/>`,
388
- people: l`<circle cx="17" cy="16" r="7"/><circle cx="33" cy="18" r="6"/><path d="M4 41 C4 31 10 27 17 27 C21 27 24 28.3 26.3 30.5"/><path d="M24 41 C24 32 29 28 37 28 C43 28 44 32 44 41"/>`,
389
- lock: l`<rect x="10" y="21" width="28" height="21" rx="3"/><path d="M16 21 V15 A8 8 0 0 1 32 15 V21"/><circle cx="24" cy="31" r="2.2" fill="currentColor" stroke="none"/>`,
390
- eye: l`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/>`,
391
- "eye-slash": l`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/><path d="M6 6 L42 42"/>`,
392
- refresh: l`<path d="M46 8 L46 20 L34 20"/><path d="M2 40 L2 28 L14 28"/><path d="M7.02 18 A18 18 0 0 1 36.72 11.28 L46 20"/><path d="M2 28 L11.28 36.72 A18 18 0 0 0 40.98 30"/>`,
367
+ search: c`<circle cx="21" cy="21" r="13"/><path d="M30.5 30.5 L41 41"/>`,
368
+ close: c`<path d="M14 14 L34 34 M34 14 L14 34"/>`,
369
+ menu: c`<path d="M8 14 H40 M8 24 H40 M8 34 H40"/>`,
370
+ "chevron-up": c`<path d="M14 28 L24 18 L34 28"/>`,
371
+ "chevron-down": c`<path d="M14 20 L24 30 L34 20"/>`,
372
+ "chevron-left": c`<path d="M28 14 L18 24 L28 34"/>`,
373
+ "chevron-right": c`<path d="M20 14 L30 24 L20 34"/>`,
374
+ "external-link": c`<path d="M36 26 V38 A4 4 0 0 1 32 42 H10 A4 4 0 0 1 6 38 V16 A4 4 0 0 1 10 12 H22"/><path d="M30 6 H42 V18"/><path d="M20 28 L42 6"/>`,
375
+ copy: c`<rect x="8" y="14" width="24" height="24" rx="3"/><path d="M16 14 V10 A2 2 0 0 1 18 8 H38 A2 2 0 0 1 40 10 V30 A2 2 0 0 1 38 32 H34"/>`,
376
+ check: c`<path d="M10 25 L20 35 L38 13"/>`,
377
+ warning: c`<path d="M24 8 L44 40 H4 Z"/><path d="M24 20 V28"/><circle cx="24" cy="34" r="1.6" fill="currentColor" stroke="none"/>`,
378
+ info: c`<circle cx="24" cy="24" r="17"/><path d="M24 22 V33"/><circle cx="24" cy="15.5" r="1.8" fill="currentColor" stroke="none"/>`,
379
+ add: c`<path d="M24 10 V38 M10 24 H38"/>`,
380
+ remove: c`<path d="M10 24 H38"/>`,
381
+ edit: c`<path d="M30 8 L40 18 L18 40 L7 41 L8 30 Z"/><path d="M26 12 L36 22"/>`,
382
+ delete: c`<path d="M10 14 H38"/><path d="M17 14 V9 A2 2 0 0 1 19 7 H29 A2 2 0 0 1 31 9 V14"/><path d="M13 14 L15 40 A2 2 0 0 0 17 42 H31 A2 2 0 0 0 33 40 L35 14"/><path d="M20 21 V35 M28 21 V35"/>`,
383
+ filter: c`<path d="M6 10 H42 L28 26 V38 L20 42 V26 Z"/>`,
384
+ sort: c`<path d="M14 30 V10 M14 10 L8 16 M14 10 L20 16"/><path d="M34 18 V38 M34 38 L28 32 M34 38 L40 32"/>`,
385
+ calendar: c`<rect x="6" y="10" width="36" height="32" rx="3"/><path d="M6 20 H42"/><path d="M15 6 V14 M33 6 V14"/><circle cx="15" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="24" cy="28" r="1.6" fill="currentColor" stroke="none"/><circle cx="33" cy="28" r="1.6" fill="currentColor" stroke="none"/>`,
386
+ clock: c`<circle cx="24" cy="24" r="17"/><path d="M24 14 V24 L32 29"/>`,
387
+ person: c`<circle cx="24" cy="16" r="8"/><path d="M8 42 C8 31 15 26 24 26 C33 26 40 31 40 42"/>`,
388
+ people: c`<circle cx="17" cy="16" r="7"/><circle cx="33" cy="18" r="6"/><path d="M4 41 C4 31 10 27 17 27 C21 27 24 28.3 26.3 30.5"/><path d="M24 41 C24 32 29 28 37 28 C43 28 44 32 44 41"/>`,
389
+ lock: c`<rect x="10" y="21" width="28" height="21" rx="3"/><path d="M16 21 V15 A8 8 0 0 1 32 15 V21"/><circle cx="24" cy="31" r="2.2" fill="currentColor" stroke="none"/>`,
390
+ eye: c`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/>`,
391
+ "eye-slash": c`<path d="M4 24 C10 12 20 8 24 8 C28 8 38 12 44 24 C38 36 28 40 24 40 C20 40 10 36 4 24 Z"/><circle cx="24" cy="24" r="6"/><path d="M6 6 L42 42"/>`,
392
+ refresh: c`<path d="M46 8 L46 20 L34 20"/><path d="M2 40 L2 28 L14 28"/><path d="M7.02 18 A18 18 0 0 1 36.72 11.28 L46 20"/><path d="M2 28 L11.28 36.72 A18 18 0 0 0 40.98 30"/>`,
393
393
  // Phase 2: OpenVox marketing site --------------------------------------
394
- community: l`<circle cx="24" cy="10" r="5"/><circle cx="10" cy="34" r="5"/><circle cx="38" cy="34" r="5"/><path d="M24 15 L14 30 M24 15 L34 30 M15 34 H33"/>`,
395
- book: l`<path d="M24 12 C20 8 12 7 6 9 V37 C12 35 20 36 24 40 C28 36 36 35 42 37 V9 C36 7 28 8 24 12 Z"/><path d="M24 12 V40"/>`,
396
- terminal: l`<rect x="6" y="9" width="36" height="30" rx="3"/><path d="M14 19 L21 24 L14 29"/><path d="M25 30 H33"/>`,
397
- shield: l`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M17 23 L22 28 L32 17"/>`,
398
- roadmap: l`<path d="M6 38 C14 38 14 26 22 26 C30 26 30 14 38 14"/><circle cx="6" cy="38" r="3" fill="currentColor" stroke="none"/><circle cx="22" cy="26" r="3" fill="currentColor" stroke="none"/><circle cx="38" cy="14" r="3" fill="currentColor" stroke="none"/>`,
399
- help: l`<circle cx="24" cy="24" r="17"/><path d="M18 18 C18 13 30 13 30 19 C30 24 24 23 24 29"/><circle cx="24" cy="35" r="1.8" fill="currentColor" stroke="none"/>`,
400
- repository: l`<rect x="7" y="10" width="34" height="28" rx="3"/><path d="M18 20 L13 24 L18 28 M30 20 L35 24 L30 28"/>`,
401
- star: l`<path d="M24 6 L29 19 L43 19 L32 28 L36 42 L24 34 L12 42 L16 28 L5 19 L19 19 Z"/>`,
402
- chat: l`<path d="M8 10 H40 A2 2 0 0 1 42 12 V30 A2 2 0 0 1 40 32 H20 L12 40 V32 H8 A2 2 0 0 1 6 30 V12 A2 2 0 0 1 8 10 Z"/><path d="M14 18 H34 M14 24 H28"/>`,
403
- heart: l`<path d="M24 41 C10 32 4 23 4 15.5 C4 9 9 5 15 5 C19.5 5 22.5 7.5 24 11 C25.5 7.5 28.5 5 33 5 C39 5 44 9 44 15.5 C44 23 38 32 24 41 Z"/>`,
394
+ community: c`<circle cx="24" cy="10" r="5"/><circle cx="10" cy="34" r="5"/><circle cx="38" cy="34" r="5"/><path d="M24 15 L14 30 M24 15 L34 30 M15 34 H33"/>`,
395
+ book: c`<path d="M24 12 C20 8 12 7 6 9 V37 C12 35 20 36 24 40 C28 36 36 35 42 37 V9 C36 7 28 8 24 12 Z"/><path d="M24 12 V40"/>`,
396
+ terminal: c`<rect x="6" y="9" width="36" height="30" rx="3"/><path d="M14 19 L21 24 L14 29"/><path d="M25 30 H33"/>`,
397
+ shield: c`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M17 23 L22 28 L32 17"/>`,
398
+ roadmap: c`<path d="M6 38 C14 38 14 26 22 26 C30 26 30 14 38 14"/><circle cx="6" cy="38" r="3" fill="currentColor" stroke="none"/><circle cx="22" cy="26" r="3" fill="currentColor" stroke="none"/><circle cx="38" cy="14" r="3" fill="currentColor" stroke="none"/>`,
399
+ help: c`<circle cx="24" cy="24" r="17"/><path d="M18 18 C18 13 30 13 30 19 C30 24 24 23 24 29"/><circle cx="24" cy="35" r="1.8" fill="currentColor" stroke="none"/>`,
400
+ repository: c`<rect x="7" y="10" width="34" height="28" rx="3"/><path d="M18 20 L13 24 L18 28 M30 20 L35 24 L30 28"/>`,
401
+ star: c`<path d="M24 6 L29 19 L43 19 L32 28 L36 42 L24 34 L12 42 L16 28 L5 19 L19 19 Z"/>`,
402
+ chat: c`<path d="M8 10 H40 A2 2 0 0 1 42 12 V30 A2 2 0 0 1 40 32 H20 L12 40 V32 H8 A2 2 0 0 1 6 30 V12 A2 2 0 0 1 8 10 Z"/><path d="M14 18 H34 M14 24 H28"/>`,
403
+ heart: c`<path d="M24 41 C10 32 4 23 4 15.5 C4 9 9 5 15 5 C19.5 5 22.5 7.5 24 11 C25.5 7.5 28.5 5 33 5 C39 5 44 9 44 15.5 C44 23 38 32 24 41 Z"/>`,
404
404
  // Phase 3: module registry (Forge replacement) -------------------------
405
- module: l`<rect x="8" y="16" width="32" height="24" rx="3"/><path d="M8 24 H40"/><path d="M20 16 L24 24 L28 16"/>`,
406
- tag: l`<path d="M6 10 H26 L42 26 L26 42 H6 Z"/><circle cx="15" cy="19" r="3" fill="currentColor" stroke="none"/>`,
407
- dependency: l`<rect x="6" y="19" width="20" height="10" rx="5"/><rect x="22" y="19" width="20" height="10" rx="5"/>`,
408
- verified: l`<path d="M24 5 L31 10 L39 9 L40 17 L46 24 L40 31 L39 39 L31 38 L24 43 L17 38 L9 39 L8 31 L2 24 L8 17 L9 9 L17 10 Z"/><path d="M16 24 L21 29 L32 18"/>`,
409
- archived: l`<rect x="6" y="6" width="36" height="10" rx="2"/><rect x="10" y="16" width="28" height="26" rx="2"/><path d="M20 26 H28"/>`,
410
- publish: l`<path d="M24 6 V28 M24 6 L16 14 M24 6 L32 14"/><path d="M8 32 V38 A2 2 0 0 0 10 40 H38 A2 2 0 0 0 40 38 V32"/>`,
411
- changelog: l`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 24 H24"/><circle cx="34" cy="34" r="7"/><path d="M34 30 V34 L37 36"/>`,
412
- vulnerability: l`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M24 16 V26"/><circle cx="24" cy="32" r="1.8" fill="currentColor" stroke="none"/>`,
413
- gauge: l`<path d="M6 34 A18 18 0 0 1 42 34"/><path d="M24 34 L34 20"/><circle cx="24" cy="34" r="2.2" fill="currentColor" stroke="none"/>`,
414
- "file-tree": l`<path d="M6 12 H18 L22 17 H42 V38 H6 Z"/><path d="M26 24 H36 M26 30 H36"/>`,
415
- "check-circle": l`<circle cx="24" cy="24" r="17"/><path d="M15 24 L21 30 L33 17"/>`,
416
- "x-circle": l`<circle cx="24" cy="24" r="17"/><path d="M18 18 L30 30 M30 18 L18 30"/>`,
417
- fork: l`<circle cx="14" cy="10" r="4"/><circle cx="34" cy="10" r="4"/><circle cx="24" cy="38" r="4"/><path d="M14 14 V22 L24 32 M34 14 V22 L24 32 M24 32 V34"/>`,
418
- trending: l`<path d="M6 34 L18 22 L26 28 L42 10"/><path d="M32 10 H42 V20"/>`,
419
- collection: l`<rect x="10" y="6" width="28" height="10" rx="2"/><rect x="6" y="19" width="36" height="10" rx="2"/><rect x="10" y="32" width="28" height="10" rx="2"/>`,
405
+ module: c`<rect x="8" y="16" width="32" height="24" rx="3"/><path d="M8 24 H40"/><path d="M20 16 L24 24 L28 16"/>`,
406
+ tag: c`<path d="M6 10 H26 L42 26 L26 42 H6 Z"/><circle cx="15" cy="19" r="3" fill="currentColor" stroke="none"/>`,
407
+ dependency: c`<rect x="6" y="19" width="20" height="10" rx="5"/><rect x="22" y="19" width="20" height="10" rx="5"/>`,
408
+ verified: c`<path d="M24 5 L31 10 L39 9 L40 17 L46 24 L40 31 L39 39 L31 38 L24 43 L17 38 L9 39 L8 31 L2 24 L8 17 L9 9 L17 10 Z"/><path d="M16 24 L21 29 L32 18"/>`,
409
+ archived: c`<rect x="6" y="6" width="36" height="10" rx="2"/><rect x="10" y="16" width="28" height="26" rx="2"/><path d="M20 26 H28"/>`,
410
+ publish: c`<path d="M24 6 V28 M24 6 L16 14 M24 6 L32 14"/><path d="M8 32 V38 A2 2 0 0 0 10 40 H38 A2 2 0 0 0 40 38 V32"/>`,
411
+ changelog: c`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 24 H24"/><circle cx="34" cy="34" r="7"/><path d="M34 30 V34 L37 36"/>`,
412
+ vulnerability: c`<path d="M24 6 L40 12 V22 C40 33 33 40 24 43 C15 40 8 33 8 22 V12 Z"/><path d="M24 16 V26"/><circle cx="24" cy="32" r="1.8" fill="currentColor" stroke="none"/>`,
413
+ gauge: c`<path d="M6 34 A18 18 0 0 1 42 34"/><path d="M24 34 L34 20"/><circle cx="24" cy="34" r="2.2" fill="currentColor" stroke="none"/>`,
414
+ "file-tree": c`<path d="M6 12 H18 L22 17 H42 V38 H6 Z"/><path d="M26 24 H36 M26 30 H36"/>`,
415
+ "check-circle": c`<circle cx="24" cy="24" r="17"/><path d="M15 24 L21 30 L33 17"/>`,
416
+ "x-circle": c`<circle cx="24" cy="24" r="17"/><path d="M18 18 L30 30 M30 18 L18 30"/>`,
417
+ fork: c`<circle cx="14" cy="10" r="4"/><circle cx="34" cy="10" r="4"/><circle cx="24" cy="38" r="4"/><path d="M14 14 V22 L24 32 M34 14 V22 L24 32 M24 32 V34"/>`,
418
+ trending: c`<path d="M6 34 L18 22 L26 28 L42 10"/><path d="M32 10 H42 V20"/>`,
419
+ collection: c`<rect x="10" y="6" width="28" height="10" rx="2"/><rect x="6" y="19" width="36" height="10" rx="2"/><rect x="10" y="32" width="28" height="10" rx="2"/>`,
420
420
  // Phase 4: fleet console (Puppet Enterprise replacement) ---------------
421
- dashboard: l`<rect x="6" y="6" width="18" height="14" rx="2"/><rect x="28" y="6" width="14" height="8" rx="2"/><rect x="28" y="18" width="14" height="14" rx="2"/><rect x="6" y="24" width="18" height="18" rx="2"/>`,
422
- node: l`<rect x="10" y="14" width="28" height="20" rx="3"/><path d="M16 22 H22 M16 27 H22"/><circle cx="32" cy="24" r="2" fill="currentColor" stroke="none"/>`,
423
- "node-group": l`<rect x="6" y="10" width="24" height="9" rx="2"/><rect x="12" y="21" width="24" height="9" rx="2"/><rect x="18" y="32" width="24" height="9" rx="2"/>`,
424
- pulse: l`<path d="M4 24 H14 L19 12 L27 36 L32 24 H44"/>`,
425
- compliance: l`<rect x="9" y="6" width="30" height="36" rx="3"/><path d="M16 16 L19 19 L26 12 M16 26 L19 29 L26 22 M16 36 H30"/>`,
426
- report: l`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 34 V28 M22 34 V24 M28 34 V30"/>`,
427
- "activity-log": l`<path d="M14 8 V40"/><circle cx="14" cy="12" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="24" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="36" r="3" fill="currentColor" stroke="none"/><path d="M22 12 H40 M22 24 H40 M22 36 H34"/>`,
428
- bell: l`<path d="M12 32 V22 A12 12 0 0 1 36 22 V32 L40 38 H8 Z"/><path d="M20 38 A4 4 0 0 0 28 38"/>`,
429
- orchestrate: l`<circle cx="24" cy="24" r="17"/><path d="M19 15 L33 24 L19 33 Z"/>`,
430
- plan: l`<rect x="6" y="8" width="24" height="32" rx="3"/><path d="M12 16 H24 M12 22 H24 M12 28 H20"/><path d="M32 24 H44 M38 18 L44 24 L38 30"/>`,
431
- badge: l`<rect x="6" y="10" width="36" height="28" rx="3"/><circle cx="17" cy="21" r="5"/><path d="M10 32 C10 26 13 24 17 24 C21 24 24 26 24 32"/><path d="M30 18 H38 M30 24 H38 M30 30 H36"/>`,
432
- audit: l`<path d="M10 6 H26 L34 14 V42 H10 Z"/><path d="M26 6 V14 H34"/><path d="M16 24 H24 M16 30 H22"/><circle cx="33" cy="33" r="6"/><path d="M37.5 37.5 L43 43"/>`,
433
- key: l`<circle cx="16" cy="24" r="9"/><path d="M23 24 H42 M34 24 V31 M40 24 V29"/>`,
434
- layers: l`<path d="M24 6 L44 16 L24 26 L4 16 Z"/><path d="M4 26 L24 36 L44 26"/><path d="M4 34 L24 44 L44 34"/>`,
435
- classifier: l`<path d="M6 10 H24 L40 26 L24 42 H6 Z"/><circle cx="14" cy="18" r="3" fill="currentColor" stroke="none"/><circle cx="32" cy="26" r="3" fill="currentColor" stroke="none"/>`,
436
- deploy: l`<path d="M24 8 V34"/><path d="M24 8 L15 20 M24 8 L33 20"/><path d="M10 40 H38"/>`,
437
- metrics: l`<path d="M6 40 H42"/><path d="M6 40 V6"/><path d="M10 30 L18 22 L26 27 L38 12"/>`,
438
- schedule: l`<rect x="6" y="10" width="28" height="30" rx="3"/><path d="M6 18 H34"/><path d="M14 6 V14 M26 6 V14"/><circle cx="34" cy="34" r="10"/><path d="M34 28 V34 L38 37"/>`,
439
- backup: l`<path d="M24 6 V26 M24 26 L16 18 M24 26 L32 18"/><rect x="8" y="30" width="32" height="12" rx="2"/><path d="M8 36 H40"/>`,
440
- webhook: l`<circle cx="12" cy="14" r="6"/><circle cx="36" cy="34" r="6"/><path d="M17 17 L31 31"/><path d="M22 22 L20 28 L26 26 L24 32"/>`,
441
- organization: l`<rect x="10" y="10" width="28" height="32" rx="2"/><path d="M17 18 H21 M27 18 H31 M17 26 H21 M27 26 H31 M17 34 H21 M27 34 H31"/>`,
442
- drift: l`<rect x="6" y="12" width="20" height="20" rx="3"/><rect x="22" y="16" width="20" height="20" rx="3"/><path d="M20 24 H28"/>`,
421
+ dashboard: c`<rect x="6" y="6" width="18" height="14" rx="2"/><rect x="28" y="6" width="14" height="8" rx="2"/><rect x="28" y="18" width="14" height="14" rx="2"/><rect x="6" y="24" width="18" height="18" rx="2"/>`,
422
+ node: c`<rect x="10" y="14" width="28" height="20" rx="3"/><path d="M16 22 H22 M16 27 H22"/><circle cx="32" cy="24" r="2" fill="currentColor" stroke="none"/>`,
423
+ "node-group": c`<rect x="6" y="10" width="24" height="9" rx="2"/><rect x="12" y="21" width="24" height="9" rx="2"/><rect x="18" y="32" width="24" height="9" rx="2"/>`,
424
+ pulse: c`<path d="M4 24 H14 L19 12 L27 36 L32 24 H44"/>`,
425
+ compliance: c`<rect x="9" y="6" width="30" height="36" rx="3"/><path d="M16 16 L19 19 L26 12 M16 26 L19 29 L26 22 M16 36 H30"/>`,
426
+ report: c`<path d="M10 6 H28 L36 14 V42 H10 Z"/><path d="M28 6 V14 H36"/><path d="M16 34 V28 M22 34 V24 M28 34 V30"/>`,
427
+ "activity-log": c`<path d="M14 8 V40"/><circle cx="14" cy="12" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="24" r="3" fill="currentColor" stroke="none"/><circle cx="14" cy="36" r="3" fill="currentColor" stroke="none"/><path d="M22 12 H40 M22 24 H40 M22 36 H34"/>`,
428
+ bell: c`<path d="M12 32 V22 A12 12 0 0 1 36 22 V32 L40 38 H8 Z"/><path d="M20 38 A4 4 0 0 0 28 38"/>`,
429
+ orchestrate: c`<circle cx="24" cy="24" r="17"/><path d="M19 15 L33 24 L19 33 Z"/>`,
430
+ plan: c`<rect x="6" y="8" width="24" height="32" rx="3"/><path d="M12 16 H24 M12 22 H24 M12 28 H20"/><path d="M32 24 H44 M38 18 L44 24 L38 30"/>`,
431
+ badge: c`<rect x="6" y="10" width="36" height="28" rx="3"/><circle cx="17" cy="21" r="5"/><path d="M10 32 C10 26 13 24 17 24 C21 24 24 26 24 32"/><path d="M30 18 H38 M30 24 H38 M30 30 H36"/>`,
432
+ audit: c`<path d="M10 6 H26 L34 14 V42 H10 Z"/><path d="M26 6 V14 H34"/><path d="M16 24 H24 M16 30 H22"/><circle cx="33" cy="33" r="6"/><path d="M37.5 37.5 L43 43"/>`,
433
+ key: c`<circle cx="16" cy="24" r="9"/><path d="M23 24 H42 M34 24 V31 M40 24 V29"/>`,
434
+ layers: c`<path d="M24 6 L44 16 L24 26 L4 16 Z"/><path d="M4 26 L24 36 L44 26"/><path d="M4 34 L24 44 L44 34"/>`,
435
+ classifier: c`<path d="M6 10 H24 L40 26 L24 42 H6 Z"/><circle cx="14" cy="18" r="3" fill="currentColor" stroke="none"/><circle cx="32" cy="26" r="3" fill="currentColor" stroke="none"/>`,
436
+ deploy: c`<path d="M24 8 V34"/><path d="M24 8 L15 20 M24 8 L33 20"/><path d="M10 40 H38"/>`,
437
+ metrics: c`<path d="M6 40 H42"/><path d="M6 40 V6"/><path d="M10 30 L18 22 L26 27 L38 12"/>`,
438
+ schedule: c`<rect x="6" y="10" width="28" height="30" rx="3"/><path d="M6 18 H34"/><path d="M14 6 V14 M26 6 V14"/><circle cx="34" cy="34" r="10"/><path d="M34 28 V34 L38 37"/>`,
439
+ backup: c`<path d="M24 6 V26 M24 26 L16 18 M24 26 L32 18"/><rect x="8" y="30" width="32" height="12" rx="2"/><path d="M8 36 H40"/>`,
440
+ webhook: c`<circle cx="12" cy="14" r="6"/><circle cx="36" cy="34" r="6"/><path d="M17 17 L31 31"/><path d="M22 22 L20 28 L26 26 L24 32"/>`,
441
+ organization: c`<rect x="10" y="10" width="28" height="32" rx="2"/><path d="M17 18 H21 M27 18 H31 M17 26 H21 M27 26 H31 M17 34 H21 M27 34 H31"/>`,
442
+ drift: c`<rect x="6" y="12" width="20" height="20" rx="3"/><rect x="22" y="16" width="20" height="20" rx="3"/><path d="M20 24 H28"/>`,
443
443
  // Added later: consolidated from docs pages that predated vox-icon ------
444
- blocks: l`<rect x="7" y="7" width="15" height="15" rx="2.5"/><rect x="26" y="7" width="15" height="15" rx="2.5"/><rect x="7" y="26" width="15" height="15" rx="2.5"/><rect x="26" y="26" width="15" height="15" rx="2.5"/>`,
445
- plug: l`<path d="M16 6 V18 M32 6 V18 M12 18 H36 V28 C36 34 30 38 24 38 C18 38 12 34 12 28 Z"/><path d="M24 38 V44"/>`,
446
- ballot: l`<rect x="8" y="18" width="32" height="24" rx="2.5"/><path d="M8 26 H40"/><path d="M24 10 V26"/><path d="M18 6 L24 12 L30 6"/>`,
447
- sun: l`<circle cx="24" cy="24" r="8"/><path d="M24 4v4M24 40v4M9.86 9.86l2.82 2.82M35.32 35.32l2.82 2.82M4 24h4M40 24h4M12.68 35.32l-2.82 2.82M38.14 9.86l-2.82 2.82"/>`,
448
- moon: l`<path d="M42 25.58A18 18 0 1 1 22.42 6 14 14 0 0 0 42 25.58Z"/>`,
449
- github: l`<g transform="translate(4,4) scale(2.5)" fill="currentColor" stroke="none"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></g>`,
450
- accessibility: l`<circle cx="24" cy="24" r="18"/><circle cx="24" cy="16" r="2.6" fill="currentColor" stroke="none"/><path d="M14 21 H34 M24 21 V32 M24 25 L18 34 M24 25 L30 34"/>`,
451
- settings: l`<circle cx="24" cy="24" r="7"/><path d="M24 6 V12 M24 36 V42 M6 24 H12 M36 24 H42 M11 11 L15.2 15.2 M32.8 32.8 L37 37 M37 11 L32.8 15.2 M15.2 32.8 L11 37"/>`
444
+ blocks: c`<rect x="7" y="7" width="15" height="15" rx="2.5"/><rect x="26" y="7" width="15" height="15" rx="2.5"/><rect x="7" y="26" width="15" height="15" rx="2.5"/><rect x="26" y="26" width="15" height="15" rx="2.5"/>`,
445
+ plug: c`<path d="M16 6 V18 M32 6 V18 M12 18 H36 V28 C36 34 30 38 24 38 C18 38 12 34 12 28 Z"/><path d="M24 38 V44"/>`,
446
+ ballot: c`<rect x="8" y="18" width="32" height="24" rx="2.5"/><path d="M8 26 H40"/><path d="M24 10 V26"/><path d="M18 6 L24 12 L30 6"/>`,
447
+ sun: c`<circle cx="24" cy="24" r="8"/><path d="M24 4v4M24 40v4M9.86 9.86l2.82 2.82M35.32 35.32l2.82 2.82M4 24h4M40 24h4M12.68 35.32l-2.82 2.82M38.14 9.86l-2.82 2.82"/>`,
448
+ moon: c`<path d="M42 25.58A18 18 0 1 1 22.42 6 14 14 0 0 0 42 25.58Z"/>`,
449
+ github: c`<g transform="translate(4,4) scale(2.5)" fill="currentColor" stroke="none"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></g>`,
450
+ accessibility: c`<circle cx="24" cy="24" r="18"/><circle cx="24" cy="16" r="2.6" fill="currentColor" stroke="none"/><path d="M14 21 H34 M24 21 V32 M24 25 L18 34 M24 25 L30 34"/>`,
451
+ settings: c`<circle cx="24" cy="24" r="7"/><path d="M24 6 V12 M24 36 V42 M6 24 H12 M36 24 H42 M11 11 L15.2 15.2 M32.8 32.8 L37 37 M37 11 L32.8 15.2 M15.2 32.8 L11 37"/>`
452
452
  };
453
- var Ot = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, Ve = (o, t, a, r) => {
454
- for (var e = r > 1 ? void 0 : r ? Mt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
453
+ var It = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, Te = (o, t, a, r) => {
454
+ for (var e = r > 1 ? void 0 : r ? Rt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
455
455
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
456
- return r && e && Ot(t, a, e), e;
456
+ return r && e && It(t, a, e), e;
457
457
  };
458
- let E = class extends h {
458
+ let H = class extends h {
459
459
  constructor() {
460
460
  super(...arguments), this.name = "info", this.size = "md";
461
461
  }
462
462
  render() {
463
463
  const o = y[this.name];
464
- return o ? c`
464
+ return o ? l`
465
465
  <svg
466
466
  viewBox="0 0 48 48"
467
467
  fill="none"
@@ -478,7 +478,7 @@ let E = class extends h {
478
478
  ` : v;
479
479
  }
480
480
  };
481
- E.styles = d`
481
+ H.styles = d`
482
482
  :host {
483
483
  display: inline-flex;
484
484
  flex: none;
@@ -509,26 +509,26 @@ E.styles = d`
509
509
  height: 48px;
510
510
  }
511
511
  `;
512
- Ve([
512
+ Te([
513
513
  n()
514
- ], E.prototype, "name", 2);
515
- Ve([
514
+ ], H.prototype, "name", 2);
515
+ Te([
516
516
  n({ reflect: !0 })
517
- ], E.prototype, "size", 2);
518
- Ve([
517
+ ], H.prototype, "size", 2);
518
+ Te([
519
519
  n()
520
- ], E.prototype, "label", 2);
521
- E = Ve([
520
+ ], H.prototype, "label", 2);
521
+ H = Te([
522
522
  p("vox-icon")
523
- ], E);
524
- var kt = Object.defineProperty, N = (o, t, a, r) => {
523
+ ], H);
524
+ var Zt = Object.defineProperty, xe = (o, t, a, r) => {
525
525
  for (var e = void 0, s = o.length - 1, i; s >= 0; s--)
526
526
  (i = o[s]) && (e = i(t, a, e) || e);
527
- return e && kt(t, a, e), e;
527
+ return e && Zt(t, a, e), e;
528
528
  };
529
- const it = class it extends h {
529
+ const bt = class bt extends h {
530
530
  constructor() {
531
- super(), this.invalid = !1, this.name = "", this.label = "", this.note = "", this.disabled = !1, this.required = !1, this.internals = this.attachInternals();
531
+ super(), this.name = "", this.label = "", this.note = "", this.disabled = !1, this.required = !1, this.internals = this.attachInternals();
532
532
  }
533
533
  get form() {
534
534
  return this.internals.form;
@@ -547,44 +547,37 @@ const it = class it extends h {
547
547
  }
548
548
  /** Mirror a native inner control's validity onto the host element. */
549
549
  syncValidity(t) {
550
- this.internals.setValidity(t.validity, t.validationMessage, t), this.invalid = !t.validity.valid;
550
+ this.internals.setValidity(t.validity, t.validationMessage, t);
551
551
  }
552
552
  renderLabel(t) {
553
- return this.label ? c`
553
+ return this.label ? l`
554
554
  <label class="label" for=${t}>
555
- ${this.label}${this.required ? c`<span class="required-mark" aria-hidden="true"> *</span>` : v}
555
+ ${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : v}
556
556
  </label>
557
557
  ` : v;
558
558
  }
559
- /** `note`'s id when present, for `aria-describedby` on the native control. */
560
- get noteId() {
561
- return this.note ? "note" : void 0;
562
- }
563
559
  renderNote() {
564
- return this.note ? c`<p class="note" id="note">${this.note}</p>` : v;
560
+ return this.note ? l`<p class="note">${this.note}</p>` : v;
565
561
  }
566
562
  };
567
- it.formAssociated = !0;
568
- let x = it;
569
- N([
570
- le()
571
- ], x.prototype, "invalid");
572
- N([
563
+ bt.formAssociated = !0;
564
+ let x = bt;
565
+ xe([
573
566
  n()
574
567
  ], x.prototype, "name");
575
- N([
568
+ xe([
576
569
  n()
577
570
  ], x.prototype, "label");
578
- N([
571
+ xe([
579
572
  n()
580
573
  ], x.prototype, "note");
581
- N([
574
+ xe([
582
575
  n({ type: Boolean, reflect: !0 })
583
576
  ], x.prototype, "disabled");
584
- N([
577
+ xe([
585
578
  n({ type: Boolean, reflect: !0 })
586
579
  ], x.prototype, "required");
587
- const ce = d`
580
+ const ue = d`
588
581
  :host {
589
582
  display: block;
590
583
  font-family: var(--vox-font-family-base);
@@ -639,15 +632,6 @@ const ce = d`
639
632
  box-shadow: 0 0 0 3px var(--vox-color-brand-soft);
640
633
  }
641
634
 
642
- .control[aria-invalid='true'] {
643
- border-color: var(--vox-color-danger-1);
644
- }
645
-
646
- .control[aria-invalid='true']:focus {
647
- border-color: var(--vox-color-danger-1);
648
- box-shadow: 0 0 0 3px var(--vox-color-danger-soft);
649
- }
650
-
651
635
  /* Corner flattening when placed inside a <vox-input-group>. */
652
636
  :host([data-vox-group]) .control {
653
637
  border-radius: 0;
@@ -660,7 +644,7 @@ const ce = d`
660
644
  :host([data-vox-group='end']) .control {
661
645
  border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
662
646
  }
663
- `, pt = d`
647
+ `, Ot = d`
664
648
  :host {
665
649
  display: block;
666
650
  font-family: var(--vox-font-family-base);
@@ -689,12 +673,12 @@ const ce = d`
689
673
  margin: 0;
690
674
  }
691
675
  `;
692
- var Lt = Object.defineProperty, Pt = Object.getOwnPropertyDescriptor, Ke = (o, t, a, r) => {
693
- for (var e = r > 1 ? void 0 : r ? Pt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
676
+ var Ft = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, st = (o, t, a, r) => {
677
+ for (var e = r > 1 ? void 0 : r ? Ut(t, a) : t, s = o.length - 1, i; s >= 0; s--)
694
678
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
695
- return r && e && Lt(t, a, e), e;
679
+ return r && e && Ft(t, a, e), e;
696
680
  };
697
- let Z = class extends x {
681
+ let G = class extends x {
698
682
  constructor() {
699
683
  super(...arguments), this.checked = !1, this.value = "on";
700
684
  }
@@ -702,8 +686,8 @@ let Z = class extends x {
702
686
  this.checked = !1;
703
687
  }
704
688
  updated() {
705
- this.internals.setFormValue(this.checked ? this.value : null), this.invalid = this.required && !this.checked, this.internals.setValidity(
706
- this.invalid ? { valueMissing: !0 } : {},
689
+ this.internals.setFormValue(this.checked ? this.value : null), this.internals.setValidity(
690
+ this.required && !this.checked ? { valueMissing: !0 } : {},
707
691
  "Please check this box.",
708
692
  this.renderRoot.querySelector("input") ?? void 0
709
693
  );
@@ -712,14 +696,12 @@ let Z = class extends x {
712
696
  this.checked = o.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
713
697
  }
714
698
  render() {
715
- return c`
699
+ return l`
716
700
  <label class="check">
717
701
  <input
718
702
  type="checkbox"
719
703
  .checked=${this.checked}
720
704
  ?disabled=${this.disabled}
721
- ?required=${this.required}
722
- aria-invalid=${this.invalid ? "true" : "false"}
723
705
  @change=${this.handleChange}
724
706
  />
725
707
  <span class="box" aria-hidden="true">
@@ -732,8 +714,8 @@ let Z = class extends x {
732
714
  `;
733
715
  }
734
716
  };
735
- Z.styles = [
736
- pt,
717
+ G.styles = [
718
+ Ot,
737
719
  d`
738
720
  .box {
739
721
  flex: none;
@@ -773,21 +755,21 @@ Z.styles = [
773
755
  }
774
756
  `
775
757
  ];
776
- Ke([
758
+ st([
777
759
  n({ type: Boolean, reflect: !0 })
778
- ], Z.prototype, "checked", 2);
779
- Ke([
760
+ ], G.prototype, "checked", 2);
761
+ st([
780
762
  n()
781
- ], Z.prototype, "value", 2);
782
- Z = Ke([
763
+ ], G.prototype, "value", 2);
764
+ G = st([
783
765
  p("vox-checkbox")
784
- ], Z);
785
- var Vt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, T = (o, t, a, r) => {
786
- for (var e = r > 1 ? void 0 : r ? jt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
766
+ ], G);
767
+ var Kt = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, F = (o, t, a, r) => {
768
+ for (var e = r > 1 ? void 0 : r ? Gt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
787
769
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
788
- return r && e && Vt(t, a, e), e;
770
+ return r && e && Kt(t, a, e), e;
789
771
  };
790
- let b = class extends x {
772
+ let m = class extends x {
791
773
  constructor() {
792
774
  super(...arguments), this.multiple = !1, this.buttonLabel = "Choose a file", this.fileNames = [];
793
775
  }
@@ -799,25 +781,23 @@ let b = class extends x {
799
781
  this.fileNames = o.map((a) => a.name);
800
782
  const t = new FormData();
801
783
  for (const a of o) t.append(this.name, a);
802
- this.internals.setFormValue(o.length > 0 ? t : null), this.invalid = this.required && o.length === 0, this.internals.setValidity(
803
- this.invalid ? { valueMissing: !0 } : {},
784
+ this.internals.setFormValue(o.length > 0 ? t : null), this.internals.setValidity(
785
+ this.required && o.length === 0 ? { valueMissing: !0 } : {},
804
786
  "Please select a file.",
805
787
  this.inputEl
806
788
  ), this.dispatchEvent(new Event("change", { bubbles: !0 }));
807
789
  }
808
790
  render() {
809
- return c`
791
+ return l`
810
792
  <div class="field">
811
793
  ${this.renderLabel("file")}
812
794
  <label>
813
795
  <input
814
796
  id="file"
815
797
  type="file"
816
- accept=${u(this.accept)}
798
+ accept=${E(this.accept)}
817
799
  ?multiple=${this.multiple}
818
800
  ?disabled=${this.disabled}
819
- aria-describedby=${u(this.noteId)}
820
- aria-invalid=${this.invalid ? "true" : "false"}
821
801
  @change=${this.handleChange}
822
802
  />
823
803
  <span class="picker">
@@ -832,8 +812,8 @@ let b = class extends x {
832
812
  `;
833
813
  }
834
814
  };
835
- b.styles = [
836
- ce,
815
+ m.styles = [
816
+ ue,
837
817
  d`
838
818
  input {
839
819
  position: absolute;
@@ -882,30 +862,30 @@ b.styles = [
882
862
  }
883
863
  `
884
864
  ];
885
- T([
865
+ F([
886
866
  n()
887
- ], b.prototype, "accept", 2);
888
- T([
867
+ ], m.prototype, "accept", 2);
868
+ F([
889
869
  n({ type: Boolean })
890
- ], b.prototype, "multiple", 2);
891
- T([
870
+ ], m.prototype, "multiple", 2);
871
+ F([
892
872
  n({ attribute: "button-label" })
893
- ], b.prototype, "buttonLabel", 2);
894
- T([
895
- le()
896
- ], b.prototype, "fileNames", 2);
897
- T([
898
- Ze("input")
899
- ], b.prototype, "inputEl", 2);
900
- b = T([
873
+ ], m.prototype, "buttonLabel", 2);
874
+ F([
875
+ Z()
876
+ ], m.prototype, "fileNames", 2);
877
+ F([
878
+ rt("input")
879
+ ], m.prototype, "inputEl", 2);
880
+ m = F([
901
881
  p("vox-file-input")
902
- ], b);
903
- var Dt = Object.defineProperty, zt = Object.getOwnPropertyDescriptor, F = (o, t, a, r) => {
904
- for (var e = r > 1 ? void 0 : r ? zt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
882
+ ], m);
883
+ var Yt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, U = (o, t, a, r) => {
884
+ for (var e = r > 1 ? void 0 : r ? Xt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
905
885
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
906
- return r && e && Dt(t, a, e), e;
886
+ return r && e && Yt(t, a, e), e;
907
887
  };
908
- let m = class extends x {
888
+ let w = class extends x {
909
889
  constructor() {
910
890
  super(...arguments), this.type = "text", this.value = "", this.readonly = !1;
911
891
  }
@@ -928,22 +908,20 @@ let m = class extends x {
928
908
  this.dispatchEvent(new Event("change", { bubbles: !0 }));
929
909
  }
930
910
  render() {
931
- return c`
911
+ return l`
932
912
  <div class="field">
933
913
  ${this.renderLabel("input")}
934
914
  <input
935
915
  id="input"
936
916
  class="control"
937
917
  type=${this.type}
938
- .value=${dt(this.value)}
939
- placeholder=${u(this.placeholder)}
940
- autocomplete=${u(this.autocomplete)}
918
+ .value=${Mt(this.value)}
919
+ placeholder=${E(this.placeholder)}
920
+ autocomplete=${E(this.autocomplete)}
941
921
  ?required=${this.required}
942
922
  ?readonly=${this.readonly}
943
923
  ?disabled=${this.disabled}
944
924
  aria-label=${this.label ? v : "text input"}
945
- aria-describedby=${u(this.noteId)}
946
- aria-invalid=${this.invalid ? "true" : "false"}
947
925
  @input=${this.handleInput}
948
926
  @change=${this.handleChange}
949
927
  />
@@ -952,31 +930,31 @@ let m = class extends x {
952
930
  `;
953
931
  }
954
932
  };
955
- m.styles = ce;
956
- F([
933
+ w.styles = ue;
934
+ U([
957
935
  n()
958
- ], m.prototype, "type", 2);
959
- F([
936
+ ], w.prototype, "type", 2);
937
+ U([
960
938
  n()
961
- ], m.prototype, "value", 2);
962
- F([
939
+ ], w.prototype, "value", 2);
940
+ U([
963
941
  n()
964
- ], m.prototype, "placeholder", 2);
965
- F([
942
+ ], w.prototype, "placeholder", 2);
943
+ U([
966
944
  n()
967
- ], m.prototype, "autocomplete", 2);
968
- F([
945
+ ], w.prototype, "autocomplete", 2);
946
+ U([
969
947
  n({ type: Boolean, reflect: !0 })
970
- ], m.prototype, "readonly", 2);
971
- m = F([
948
+ ], w.prototype, "readonly", 2);
949
+ w = U([
972
950
  p("vox-input")
973
- ], m);
974
- var Et = Object.getOwnPropertyDescriptor, Ht = (o, t, a, r) => {
975
- for (var e = r > 1 ? void 0 : r ? Et(t, a) : t, s = o.length - 1, i; s >= 0; s--)
951
+ ], w);
952
+ var Wt = Object.getOwnPropertyDescriptor, Jt = (o, t, a, r) => {
953
+ for (var e = r > 1 ? void 0 : r ? Wt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
976
954
  (i = o[s]) && (e = i(e) || e);
977
955
  return e;
978
956
  };
979
- let Ie = class extends h {
957
+ let Ye = class extends h {
980
958
  handleSlotChange(o) {
981
959
  const t = o.target.assignedElements();
982
960
  t.forEach((a, r) => {
@@ -985,14 +963,14 @@ let Ie = class extends h {
985
963
  });
986
964
  }
987
965
  render() {
988
- return c`
966
+ return l`
989
967
  <div class="group" role="group">
990
968
  <slot @slotchange=${this.handleSlotChange}></slot>
991
969
  </div>
992
970
  `;
993
971
  }
994
972
  };
995
- Ie.styles = d`
973
+ Ye.styles = d`
996
974
  :host {
997
975
  display: block;
998
976
  font-family: var(--vox-font-family-base);
@@ -1034,15 +1012,15 @@ Ie.styles = d`
1034
1012
  border-left: none;
1035
1013
  }
1036
1014
  `;
1037
- Ie = Ht([
1015
+ Ye = Jt([
1038
1016
  p("vox-input-group")
1039
- ], Ie);
1040
- var St = Object.defineProperty, At = Object.getOwnPropertyDescriptor, je = (o, t, a, r) => {
1041
- for (var e = r > 1 ? void 0 : r ? At(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1017
+ ], Ye);
1018
+ var Qt = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, qe = (o, t, a, r) => {
1019
+ for (var e = r > 1 ? void 0 : r ? eo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1042
1020
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1043
- return r && e && St(t, a, e), e;
1021
+ return r && e && Qt(t, a, e), e;
1044
1022
  };
1045
- let H = class extends h {
1023
+ let B = class extends h {
1046
1024
  constructor() {
1047
1025
  super(...arguments), this.value = "", this.checked = !1, this.disabled = !1;
1048
1026
  }
@@ -1055,7 +1033,7 @@ let H = class extends h {
1055
1033
  (o.key === " " || o.key === "Enter") && (o.preventDefault(), this.select());
1056
1034
  }
1057
1035
  render() {
1058
- return c`
1036
+ return l`
1059
1037
  <span
1060
1038
  class="radio"
1061
1039
  role="radio"
@@ -1071,7 +1049,7 @@ let H = class extends h {
1071
1049
  `;
1072
1050
  }
1073
1051
  };
1074
- H.styles = d`
1052
+ B.styles = d`
1075
1053
  :host {
1076
1054
  display: block;
1077
1055
  font-family: var(--vox-font-family-base);
@@ -1120,24 +1098,24 @@ H.styles = d`
1120
1098
  outline-offset: 2px;
1121
1099
  }
1122
1100
  `;
1123
- je([
1101
+ qe([
1124
1102
  n()
1125
- ], H.prototype, "value", 2);
1126
- je([
1103
+ ], B.prototype, "value", 2);
1104
+ qe([
1127
1105
  n({ type: Boolean, reflect: !0 })
1128
- ], H.prototype, "checked", 2);
1129
- je([
1106
+ ], B.prototype, "checked", 2);
1107
+ qe([
1130
1108
  n({ type: Boolean, reflect: !0 })
1131
- ], H.prototype, "disabled", 2);
1132
- H = je([
1109
+ ], B.prototype, "disabled", 2);
1110
+ B = qe([
1133
1111
  p("vox-radio")
1134
- ], H);
1135
- var It = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, ht = (o, t, a, r) => {
1136
- for (var e = r > 1 ? void 0 : r ? Bt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1112
+ ], B);
1113
+ var to = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, kt = (o, t, a, r) => {
1114
+ for (var e = r > 1 ? void 0 : r ? oo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1137
1115
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1138
- return r && e && It(t, a, e), e;
1116
+ return r && e && to(t, a, e), e;
1139
1117
  };
1140
- let me = class extends x {
1118
+ let Pe = class extends x {
1141
1119
  constructor() {
1142
1120
  super(...arguments), this.value = "";
1143
1121
  }
@@ -1148,19 +1126,19 @@ let me = class extends x {
1148
1126
  this.value = "";
1149
1127
  }
1150
1128
  updated() {
1151
- this.internals.setFormValue(this.value || null), this.invalid = this.required && !this.value, this.internals.setValidity(
1152
- this.invalid ? { valueMissing: !0 } : {},
1129
+ this.internals.setFormValue(this.value || null), this.internals.setValidity(
1130
+ this.required && !this.value ? { valueMissing: !0 } : {},
1153
1131
  "Please select an option.",
1154
1132
  this
1155
1133
  ), this.syncRadios();
1156
1134
  }
1157
1135
  syncRadios() {
1158
- const o = this.radios, t = o.some((r) => r.value === this.value && this.value !== ""), a = o.find((r) => !r.disabled);
1159
- o.forEach((r) => {
1136
+ const o = this.radios, t = o.some((a) => a.value === this.value && this.value !== "");
1137
+ o.forEach((a, r) => {
1160
1138
  var s, i;
1161
- r.checked = this.value !== "" && r.value === this.value;
1162
- const e = t ? r.checked : r === a;
1163
- (i = (s = r.shadowRoot) == null ? void 0 : s.querySelector(".radio")) == null || i.setAttribute("tabindex", e ? "0" : "-1");
1139
+ a.checked = this.value !== "" && a.value === this.value;
1140
+ const e = t ? a.checked : r === 0;
1141
+ (i = (s = a.shadowRoot) == null ? void 0 : s.querySelector(".radio")) == null || i.setAttribute("tabindex", e ? "0" : "-1");
1164
1142
  });
1165
1143
  }
1166
1144
  handleSelect(o) {
@@ -1168,7 +1146,7 @@ let me = class extends x {
1168
1146
  !(t instanceof HTMLElement) || t.tagName !== "VOX-RADIO" || (o.stopPropagation(), this.value !== t.value && (this.value = t.value, this.dispatchEvent(new Event("change", { bubbles: !0 }))));
1169
1147
  }
1170
1148
  handleKeydown(o) {
1171
- var nt, lt;
1149
+ var _, Me;
1172
1150
  const a = {
1173
1151
  ArrowDown: 1,
1174
1152
  ArrowRight: 1,
@@ -1177,23 +1155,16 @@ let me = class extends x {
1177
1155
  }[o.key];
1178
1156
  if (!a) return;
1179
1157
  o.preventDefault();
1180
- const r = this.radios.filter((Ae) => !Ae.disabled);
1158
+ const r = this.radios.filter((Ge) => !Ge.disabled);
1181
1159
  if (r.length === 0) return;
1182
- const e = r.findIndex((Ae) => Ae.checked), s = (Math.max(e, 0) + a + r.length) % r.length, i = r[s];
1183
- i.select(), (lt = (nt = i.shadowRoot) == null ? void 0 : nt.querySelector(".radio")) == null || lt.focus();
1160
+ const e = r.findIndex((Ge) => Ge.checked), s = (Math.max(e, 0) + a + r.length) % r.length, i = r[s];
1161
+ i.select(), (Me = (_ = i.shadowRoot) == null ? void 0 : _.querySelector(".radio")) == null || Me.focus();
1184
1162
  }
1185
1163
  render() {
1186
- return c`
1187
- <div
1188
- class="field"
1189
- role="radiogroup"
1190
- aria-label=${this.label || v}
1191
- aria-describedby=${u(this.noteId)}
1192
- aria-invalid=${this.invalid ? "true" : "false"}
1193
- aria-required=${this.required ? "true" : "false"}
1194
- >
1195
- ${this.label ? c`<span class="label">
1196
- ${this.label}${this.required ? c`<span class="required-mark" aria-hidden="true"> *</span>` : ""}
1164
+ return l`
1165
+ <div class="field" role="radiogroup" aria-label=${this.label}>
1166
+ ${this.label ? l`<span class="label">
1167
+ ${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : ""}
1197
1168
  </span>` : ""}
1198
1169
  <div
1199
1170
  class="options"
@@ -1207,8 +1178,8 @@ let me = class extends x {
1207
1178
  `;
1208
1179
  }
1209
1180
  };
1210
- me.styles = [
1211
- ce,
1181
+ Pe.styles = [
1182
+ ue,
1212
1183
  d`
1213
1184
  .options {
1214
1185
  display: flex;
@@ -1218,18 +1189,18 @@ me.styles = [
1218
1189
  }
1219
1190
  `
1220
1191
  ];
1221
- ht([
1192
+ kt([
1222
1193
  n()
1223
- ], me.prototype, "value", 2);
1224
- me = ht([
1194
+ ], Pe.prototype, "value", 2);
1195
+ Pe = kt([
1225
1196
  p("vox-radio-group")
1226
- ], me);
1227
- var qt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Ge = (o, t, a, r) => {
1228
- for (var e = r > 1 ? void 0 : r ? Nt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1197
+ ], Pe);
1198
+ var ro = Object.defineProperty, ao = Object.getOwnPropertyDescriptor, it = (o, t, a, r) => {
1199
+ for (var e = r > 1 ? void 0 : r ? ao(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1229
1200
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1230
- return r && e && qt(t, a, e), e;
1201
+ return r && e && ro(t, a, e), e;
1231
1202
  };
1232
- let U = class extends x {
1203
+ let Y = class extends x {
1233
1204
  constructor() {
1234
1205
  super(...arguments), this.value = "";
1235
1206
  }
@@ -1250,7 +1221,7 @@ let U = class extends x {
1250
1221
  this.value = this.selectEl.value, this.dispatchEvent(new Event("change", { bubbles: !0 }));
1251
1222
  }
1252
1223
  render() {
1253
- return c`
1224
+ return l`
1254
1225
  <div class="field">
1255
1226
  ${this.renderLabel("select")}
1256
1227
  <select
@@ -1258,8 +1229,6 @@ let U = class extends x {
1258
1229
  class="control"
1259
1230
  ?required=${this.required}
1260
1231
  ?disabled=${this.disabled}
1261
- aria-describedby=${u(this.noteId)}
1262
- aria-invalid=${this.invalid ? "true" : "false"}
1263
1232
  @change=${this.handleChange}
1264
1233
  ></select>
1265
1234
  ${this.renderNote()}
@@ -1268,8 +1237,8 @@ let U = class extends x {
1268
1237
  `;
1269
1238
  }
1270
1239
  };
1271
- U.styles = [
1272
- ce,
1240
+ Y.styles = [
1241
+ ue,
1273
1242
  d`
1274
1243
  select.control {
1275
1244
  appearance: none;
@@ -1281,21 +1250,21 @@ U.styles = [
1281
1250
  }
1282
1251
  `
1283
1252
  ];
1284
- Ge([
1253
+ it([
1285
1254
  n()
1286
- ], U.prototype, "value", 2);
1287
- Ge([
1288
- Ze("select")
1289
- ], U.prototype, "selectEl", 2);
1290
- U = Ge([
1255
+ ], Y.prototype, "value", 2);
1256
+ it([
1257
+ rt("select")
1258
+ ], Y.prototype, "selectEl", 2);
1259
+ Y = it([
1291
1260
  p("vox-select")
1292
- ], U);
1293
- var Tt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, Xe = (o, t, a, r) => {
1294
- for (var e = r > 1 ? void 0 : r ? Ft(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1261
+ ], Y);
1262
+ var so = Object.defineProperty, io = Object.getOwnPropertyDescriptor, nt = (o, t, a, r) => {
1263
+ for (var e = r > 1 ? void 0 : r ? io(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1295
1264
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1296
- return r && e && Tt(t, a, e), e;
1265
+ return r && e && so(t, a, e), e;
1297
1266
  };
1298
- let K = class extends x {
1267
+ let X = class extends x {
1299
1268
  constructor() {
1300
1269
  super(...arguments), this.checked = !1, this.value = "on";
1301
1270
  }
@@ -1309,7 +1278,7 @@ let K = class extends x {
1309
1278
  this.checked = o.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
1310
1279
  }
1311
1280
  render() {
1312
- return c`
1281
+ return l`
1313
1282
  <label class="check">
1314
1283
  <input
1315
1284
  type="checkbox"
@@ -1324,8 +1293,8 @@ let K = class extends x {
1324
1293
  `;
1325
1294
  }
1326
1295
  };
1327
- K.styles = [
1328
- pt,
1296
+ X.styles = [
1297
+ Ot,
1329
1298
  d`
1330
1299
  .track {
1331
1300
  flex: none;
@@ -1364,21 +1333,21 @@ K.styles = [
1364
1333
  }
1365
1334
  `
1366
1335
  ];
1367
- Xe([
1336
+ nt([
1368
1337
  n({ type: Boolean, reflect: !0 })
1369
- ], K.prototype, "checked", 2);
1370
- Xe([
1338
+ ], X.prototype, "checked", 2);
1339
+ nt([
1371
1340
  n()
1372
- ], K.prototype, "value", 2);
1373
- K = Xe([
1341
+ ], X.prototype, "value", 2);
1342
+ X = nt([
1374
1343
  p("vox-switch")
1375
- ], K);
1376
- var Rt = Object.defineProperty, Zt = Object.getOwnPropertyDescriptor, de = (o, t, a, r) => {
1377
- for (var e = r > 1 ? void 0 : r ? Zt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1344
+ ], X);
1345
+ var no = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, fe = (o, t, a, r) => {
1346
+ for (var e = r > 1 ? void 0 : r ? lo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1378
1347
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1379
- return r && e && Rt(t, a, e), e;
1348
+ return r && e && no(t, a, e), e;
1380
1349
  };
1381
- let w = class extends x {
1350
+ let C = class extends x {
1382
1351
  constructor() {
1383
1352
  super(...arguments), this.value = "", this.rows = 4, this.readonly = !1;
1384
1353
  }
@@ -1401,20 +1370,18 @@ let w = class extends x {
1401
1370
  this.dispatchEvent(new Event("change", { bubbles: !0 }));
1402
1371
  }
1403
1372
  render() {
1404
- return c`
1373
+ return l`
1405
1374
  <div class="field">
1406
1375
  ${this.renderLabel("textarea")}
1407
1376
  <textarea
1408
1377
  id="textarea"
1409
1378
  class="control"
1410
1379
  rows=${this.rows}
1411
- .value=${dt(this.value)}
1412
- placeholder=${u(this.placeholder)}
1380
+ .value=${Mt(this.value)}
1381
+ placeholder=${E(this.placeholder)}
1413
1382
  ?required=${this.required}
1414
1383
  ?readonly=${this.readonly}
1415
1384
  ?disabled=${this.disabled}
1416
- aria-describedby=${u(this.noteId)}
1417
- aria-invalid=${this.invalid ? "true" : "false"}
1418
1385
  @input=${this.handleInput}
1419
1386
  @change=${this.handleChange}
1420
1387
  ></textarea>
@@ -1423,8 +1390,8 @@ let w = class extends x {
1423
1390
  `;
1424
1391
  }
1425
1392
  };
1426
- w.styles = [
1427
- ce,
1393
+ C.styles = [
1394
+ ue,
1428
1395
  d`
1429
1396
  textarea.control {
1430
1397
  resize: vertical;
@@ -1432,44 +1399,39 @@ w.styles = [
1432
1399
  }
1433
1400
  `
1434
1401
  ];
1435
- de([
1402
+ fe([
1436
1403
  n()
1437
- ], w.prototype, "value", 2);
1438
- de([
1404
+ ], C.prototype, "value", 2);
1405
+ fe([
1439
1406
  n()
1440
- ], w.prototype, "placeholder", 2);
1441
- de([
1407
+ ], C.prototype, "placeholder", 2);
1408
+ fe([
1442
1409
  n({ type: Number })
1443
- ], w.prototype, "rows", 2);
1444
- de([
1410
+ ], C.prototype, "rows", 2);
1411
+ fe([
1445
1412
  n({ type: Boolean, reflect: !0 })
1446
- ], w.prototype, "readonly", 2);
1447
- w = de([
1413
+ ], C.prototype, "readonly", 2);
1414
+ C = fe([
1448
1415
  p("vox-textarea")
1449
- ], w);
1450
- var Ut = Object.defineProperty, Kt = Object.getOwnPropertyDescriptor, pe = (o, t, a, r) => {
1451
- for (var e = r > 1 ? void 0 : r ? Kt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1416
+ ], C);
1417
+ var co = Object.defineProperty, po = Object.getOwnPropertyDescriptor, ge = (o, t, a, r) => {
1418
+ for (var e = r > 1 ? void 0 : r ? po(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1452
1419
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1453
- return r && e && Ut(t, a, e), e;
1420
+ return r && e && co(t, a, e), e;
1454
1421
  };
1455
- let $ = class extends h {
1422
+ let M = class extends h {
1456
1423
  constructor() {
1457
1424
  super(...arguments), this.alt = "", this.initials = "", this.size = "md";
1458
1425
  }
1459
1426
  render() {
1460
- const o = !this.src && this.alt;
1461
- return c`
1462
- <span
1463
- class="avatar"
1464
- role=${o ? "img" : v}
1465
- aria-label=${o ? this.alt : v}
1466
- >
1467
- ${this.src ? c`<img src=${this.src} alt=${this.alt} />` : this.initials}
1427
+ return l`
1428
+ <span class="avatar" role=${this.src ? "presentation" : "img"} aria-label=${this.alt}>
1429
+ ${this.src ? l`<img src=${this.src} alt=${this.alt} />` : this.initials}
1468
1430
  </span>
1469
1431
  `;
1470
1432
  }
1471
1433
  };
1472
- $.styles = d`
1434
+ M.styles = d`
1473
1435
  :host {
1474
1436
  display: inline-block;
1475
1437
  }
@@ -1517,27 +1479,27 @@ $.styles = d`
1517
1479
  font-size: 28px;
1518
1480
  }
1519
1481
  `;
1520
- pe([
1482
+ ge([
1521
1483
  n()
1522
- ], $.prototype, "src", 2);
1523
- pe([
1484
+ ], M.prototype, "src", 2);
1485
+ ge([
1524
1486
  n()
1525
- ], $.prototype, "alt", 2);
1526
- pe([
1487
+ ], M.prototype, "alt", 2);
1488
+ ge([
1527
1489
  n()
1528
- ], $.prototype, "initials", 2);
1529
- pe([
1490
+ ], M.prototype, "initials", 2);
1491
+ ge([
1530
1492
  n({ reflect: !0 })
1531
- ], $.prototype, "size", 2);
1532
- $ = pe([
1493
+ ], M.prototype, "size", 2);
1494
+ M = ge([
1533
1495
  p("vox-avatar")
1534
- ], $);
1535
- var Gt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, Qe = (o, t, a, r) => {
1536
- for (var e = r > 1 ? void 0 : r ? Xt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1496
+ ], M);
1497
+ var ho = Object.defineProperty, vo = Object.getOwnPropertyDescriptor, lt = (o, t, a, r) => {
1498
+ for (var e = r > 1 ? void 0 : r ? vo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1537
1499
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1538
- return r && e && Gt(t, a, e), e;
1500
+ return r && e && ho(t, a, e), e;
1539
1501
  };
1540
- let G = class extends h {
1502
+ let W = class extends h {
1541
1503
  constructor() {
1542
1504
  super(...arguments), this.heading = "", this.reverse = !1, this.hasActions = !1;
1543
1505
  }
@@ -1546,7 +1508,7 @@ let G = class extends h {
1546
1508
  this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
1547
1509
  }
1548
1510
  render() {
1549
- return c`
1511
+ return l`
1550
1512
  <div class="billboard">
1551
1513
  <div class="media"><slot name="media"></slot></div>
1552
1514
  <div class="content">
@@ -1560,7 +1522,7 @@ let G = class extends h {
1560
1522
  `;
1561
1523
  }
1562
1524
  };
1563
- G.styles = d`
1525
+ W.styles = d`
1564
1526
  :host {
1565
1527
  display: block;
1566
1528
  font-family: var(--vox-font-family-base);
@@ -1622,30 +1584,30 @@ G.styles = d`
1622
1584
  display: none;
1623
1585
  }
1624
1586
  `;
1625
- Qe([
1587
+ lt([
1626
1588
  n()
1627
- ], G.prototype, "heading", 2);
1628
- Qe([
1589
+ ], W.prototype, "heading", 2);
1590
+ lt([
1629
1591
  n({ type: Boolean, reflect: !0 })
1630
- ], G.prototype, "reverse", 2);
1631
- G = Qe([
1592
+ ], W.prototype, "reverse", 2);
1593
+ W = lt([
1632
1594
  p("vox-billboard")
1633
- ], G);
1634
- var Qt = Object.getOwnPropertyDescriptor, Wt = (o, t, a, r) => {
1635
- for (var e = r > 1 ? void 0 : r ? Qt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1595
+ ], W);
1596
+ var xo = Object.getOwnPropertyDescriptor, uo = (o, t, a, r) => {
1597
+ for (var e = r > 1 ? void 0 : r ? xo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1636
1598
  (i = o[s]) && (e = i(e) || e);
1637
1599
  return e;
1638
1600
  };
1639
- let Be = class extends h {
1601
+ let Xe = class extends h {
1640
1602
  render() {
1641
- return c`
1603
+ return l`
1642
1604
  <nav aria-label="Breadcrumbs">
1643
1605
  <slot></slot>
1644
1606
  </nav>
1645
1607
  `;
1646
1608
  }
1647
1609
  };
1648
- Be.styles = d`
1610
+ Xe.styles = d`
1649
1611
  :host {
1650
1612
  display: block;
1651
1613
  font-family: var(--vox-font-family-base);
@@ -1679,21 +1641,18 @@ Be.styles = d`
1679
1641
  color: var(--vox-color-text-3);
1680
1642
  }
1681
1643
  `;
1682
- Be = Wt([
1644
+ Xe = uo([
1683
1645
  p("vox-breadcrumbs")
1684
- ], Be);
1685
- var Yt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, De = (o, t, a, r) => {
1686
- for (var e = r > 1 ? void 0 : r ? Jt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1646
+ ], Xe);
1647
+ var fo = Object.defineProperty, go = Object.getOwnPropertyDescriptor, Ie = (o, t, a, r) => {
1648
+ for (var e = r > 1 ? void 0 : r ? go(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1687
1649
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1688
- return r && e && Yt(t, a, e), e;
1650
+ return r && e && fo(t, a, e), e;
1689
1651
  };
1690
- let S = class extends h {
1652
+ let N = class extends h {
1691
1653
  constructor() {
1692
1654
  super(...arguments), this.siteTitle = "", this.href = "/", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
1693
1655
  this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
1694
- }, this.handleFocusOut = (o) => {
1695
- const t = o.relatedTarget;
1696
- this.mobileOpen && !(t && this.contains(t)) && (this.mobileOpen = !1);
1697
1656
  }, this.handleKeydown = (o) => {
1698
1657
  var t;
1699
1658
  o.key === "Escape" && this.mobileOpen && (this.mobileOpen = !1, (t = this.renderRoot.querySelector(".menu-toggle")) == null || t.focus());
@@ -1704,17 +1663,17 @@ let S = class extends h {
1704
1663
  };
1705
1664
  }
1706
1665
  connectedCallback() {
1707
- super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("focusout", this.handleFocusOut);
1666
+ super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown);
1708
1667
  }
1709
1668
  disconnectedCallback() {
1710
- super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown), this.removeEventListener("focusout", this.handleFocusOut);
1669
+ super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
1711
1670
  }
1712
1671
  render() {
1713
- return c`
1672
+ return l`
1714
1673
  <header class="header">
1715
1674
  <a class="brand" href=${this.href}>
1716
1675
  <slot name="logo"></slot>
1717
- ${this.siteTitle ? c`<span>${this.siteTitle}</span>` : v}
1676
+ ${this.siteTitle ? l`<span>${this.siteTitle}</span>` : v}
1718
1677
  </a>
1719
1678
  <button
1720
1679
  type="button"
@@ -1749,7 +1708,7 @@ let S = class extends h {
1749
1708
  `;
1750
1709
  }
1751
1710
  };
1752
- S.styles = d`
1711
+ N.styles = d`
1753
1712
  :host {
1754
1713
  display: block;
1755
1714
  font-family: var(--vox-font-family-base);
@@ -1879,37 +1838,37 @@ S.styles = d`
1879
1838
  }
1880
1839
  }
1881
1840
  `;
1882
- De([
1841
+ Ie([
1883
1842
  n({ attribute: "site-title" })
1884
- ], S.prototype, "siteTitle", 2);
1885
- De([
1843
+ ], N.prototype, "siteTitle", 2);
1844
+ Ie([
1886
1845
  n()
1887
- ], S.prototype, "href", 2);
1888
- De([
1889
- le()
1890
- ], S.prototype, "mobileOpen", 2);
1891
- S = De([
1846
+ ], N.prototype, "href", 2);
1847
+ Ie([
1848
+ Z()
1849
+ ], N.prototype, "mobileOpen", 2);
1850
+ N = Ie([
1892
1851
  p("vox-header")
1893
- ], S);
1894
- var eo = Object.defineProperty, to = Object.getOwnPropertyDescriptor, he = (o, t, a, r) => {
1895
- for (var e = r > 1 ? void 0 : r ? to(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1852
+ ], N);
1853
+ var bo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, be = (o, t, a, r) => {
1854
+ for (var e = r > 1 ? void 0 : r ? yo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1896
1855
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1897
- return r && e && eo(t, a, e), e;
1856
+ return r && e && bo(t, a, e), e;
1898
1857
  };
1899
- let _ = class extends h {
1858
+ let O = class extends h {
1900
1859
  constructor() {
1901
1860
  super(...arguments), this.previousLabel = "", this.nextLabel = "";
1902
1861
  }
1903
1862
  render() {
1904
- return c`
1863
+ return l`
1905
1864
  <nav aria-label="Series">
1906
- ${this.previousHref ? c`
1865
+ ${this.previousHref ? l`
1907
1866
  <a href=${this.previousHref} rel="prev">
1908
1867
  <span class="direction">← Previous</span>
1909
1868
  <span class="title">${this.previousLabel}</span>
1910
1869
  </a>
1911
1870
  ` : v}
1912
- ${this.nextHref ? c`
1871
+ ${this.nextHref ? l`
1913
1872
  <a class="next" href=${this.nextHref} rel="next">
1914
1873
  <span class="direction">Next →</span>
1915
1874
  <span class="title">${this.nextLabel}</span>
@@ -1919,7 +1878,7 @@ let _ = class extends h {
1919
1878
  `;
1920
1879
  }
1921
1880
  };
1922
- _.styles = d`
1881
+ O.styles = d`
1923
1882
  :host {
1924
1883
  display: block;
1925
1884
  font-family: var(--vox-font-family-base);
@@ -1969,33 +1928,30 @@ _.styles = d`
1969
1928
  color: var(--vox-color-brand-1);
1970
1929
  }
1971
1930
  `;
1972
- he([
1931
+ be([
1973
1932
  n({ attribute: "previous-href" })
1974
- ], _.prototype, "previousHref", 2);
1975
- he([
1933
+ ], O.prototype, "previousHref", 2);
1934
+ be([
1976
1935
  n({ attribute: "previous-label" })
1977
- ], _.prototype, "previousLabel", 2);
1978
- he([
1936
+ ], O.prototype, "previousLabel", 2);
1937
+ be([
1979
1938
  n({ attribute: "next-href" })
1980
- ], _.prototype, "nextHref", 2);
1981
- he([
1939
+ ], O.prototype, "nextHref", 2);
1940
+ be([
1982
1941
  n({ attribute: "next-label" })
1983
- ], _.prototype, "nextLabel", 2);
1984
- _ = he([
1942
+ ], O.prototype, "nextLabel", 2);
1943
+ O = be([
1985
1944
  p("vox-series-nav")
1986
- ], _);
1987
- var oo = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, f = (o, t, a, r) => {
1988
- for (var e = r > 1 ? void 0 : r ? ro(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1945
+ ], O);
1946
+ var mo = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, f = (o, t, a, r) => {
1947
+ for (var e = r > 1 ? void 0 : r ? wo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1989
1948
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1990
- return r && e && oo(t, a, e), e;
1949
+ return r && e && mo(t, a, e), e;
1991
1950
  };
1992
- let A = class extends h {
1951
+ let T = class extends h {
1993
1952
  constructor() {
1994
1953
  super(...arguments), this.label = "Section", this.toggleLabel = "Menu", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
1995
1954
  this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
1996
- }, this.handleFocusOut = (o) => {
1997
- const t = o.relatedTarget;
1998
- this.mobileOpen && !(t && this.contains(t)) && (this.mobileOpen = !1);
1999
1955
  }, this.handleKeydown = (o) => {
2000
1956
  var t;
2001
1957
  o.key === "Escape" && this.mobileOpen && (this.mobileOpen = !1, (t = this.renderRoot.querySelector(".toggle")) == null || t.focus());
@@ -2006,13 +1962,13 @@ let A = class extends h {
2006
1962
  };
2007
1963
  }
2008
1964
  connectedCallback() {
2009
- super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("focusout", this.handleFocusOut);
1965
+ super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown);
2010
1966
  }
2011
1967
  disconnectedCallback() {
2012
- super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown), this.removeEventListener("focusout", this.handleFocusOut);
1968
+ super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
2013
1969
  }
2014
1970
  render() {
2015
- return c`
1971
+ return l`
2016
1972
  <button
2017
1973
  type="button"
2018
1974
  class="toggle"
@@ -2045,7 +2001,7 @@ let A = class extends h {
2045
2001
  `;
2046
2002
  }
2047
2003
  };
2048
- A.styles = d`
2004
+ T.styles = d`
2049
2005
  :host {
2050
2006
  display: block;
2051
2007
  font-family: var(--vox-font-family-base);
@@ -2107,29 +2063,28 @@ A.styles = d`
2107
2063
  `;
2108
2064
  f([
2109
2065
  n()
2110
- ], A.prototype, "label", 2);
2066
+ ], T.prototype, "label", 2);
2111
2067
  f([
2112
2068
  n({ attribute: "toggle-label" })
2113
- ], A.prototype, "toggleLabel", 2);
2069
+ ], T.prototype, "toggleLabel", 2);
2114
2070
  f([
2115
- le()
2116
- ], A.prototype, "mobileOpen", 2);
2117
- A = f([
2071
+ Z()
2072
+ ], T.prototype, "mobileOpen", 2);
2073
+ T = f([
2118
2074
  p("vox-sidenav")
2119
- ], A);
2120
- let C = class extends h {
2075
+ ], T);
2076
+ let J = class extends h {
2121
2077
  constructor() {
2122
- super(...arguments), this.heading = "", this.open = !1, this.itemsId = `vox-sidenav-group-items-${C.nextId++}`;
2078
+ super(...arguments), this.heading = "", this.open = !1;
2123
2079
  }
2124
2080
  toggle() {
2125
2081
  this.open = !this.open;
2126
2082
  }
2127
2083
  render() {
2128
- return c`
2084
+ return l`
2129
2085
  <button
2130
2086
  class="trigger"
2131
2087
  aria-expanded=${this.open ? "true" : "false"}
2132
- aria-controls=${this.itemsId}
2133
2088
  @click=${this.toggle}
2134
2089
  >
2135
2090
  ${this.heading}
@@ -2137,12 +2092,11 @@ let C = class extends h {
2137
2092
  <path d="m9 6 6 6-6 6" />
2138
2093
  </svg>
2139
2094
  </button>
2140
- <div id=${this.itemsId} class="items"><slot></slot></div>
2095
+ <div class="items"><slot></slot></div>
2141
2096
  `;
2142
2097
  }
2143
2098
  };
2144
- C.nextId = 0;
2145
- C.styles = d`
2099
+ J.styles = d`
2146
2100
  :host {
2147
2101
  display: block;
2148
2102
  font-family: var(--vox-font-family-base);
@@ -2201,14 +2155,14 @@ C.styles = d`
2201
2155
  `;
2202
2156
  f([
2203
2157
  n()
2204
- ], C.prototype, "heading", 2);
2158
+ ], J.prototype, "heading", 2);
2205
2159
  f([
2206
2160
  n({ type: Boolean, reflect: !0 })
2207
- ], C.prototype, "open", 2);
2208
- C = f([
2161
+ ], J.prototype, "open", 2);
2162
+ J = f([
2209
2163
  p("vox-sidenav-group")
2210
- ], C);
2211
- let X = class extends h {
2164
+ ], J);
2165
+ let Q = class extends h {
2212
2166
  constructor() {
2213
2167
  super(...arguments), this.href = "#", this.current = !1, this.hasIcon = !1;
2214
2168
  }
@@ -2217,7 +2171,7 @@ let X = class extends h {
2217
2171
  this.hasIcon = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
2218
2172
  }
2219
2173
  render() {
2220
- return c`
2174
+ return l`
2221
2175
  <a href=${this.href} aria-current=${this.current ? "page" : "false"}>
2222
2176
  <span class="icon ${this.hasIcon ? "has-icon" : ""}">
2223
2177
  <slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
@@ -2227,7 +2181,7 @@ let X = class extends h {
2227
2181
  `;
2228
2182
  }
2229
2183
  };
2230
- X.styles = d`
2184
+ Q.styles = d`
2231
2185
  :host {
2232
2186
  display: block;
2233
2187
  font-family: var(--vox-font-family-base);
@@ -2273,31 +2227,31 @@ X.styles = d`
2273
2227
  `;
2274
2228
  f([
2275
2229
  n()
2276
- ], X.prototype, "href", 2);
2230
+ ], Q.prototype, "href", 2);
2277
2231
  f([
2278
2232
  n({ type: Boolean, reflect: !0 })
2279
- ], X.prototype, "current", 2);
2280
- X = f([
2233
+ ], Q.prototype, "current", 2);
2234
+ Q = f([
2281
2235
  p("vox-sidenav-item")
2282
- ], X);
2283
- var ao = Object.defineProperty, so = Object.getOwnPropertyDescriptor, vt = (o, t, a, r) => {
2284
- for (var e = r > 1 ? void 0 : r ? so(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2236
+ ], Q);
2237
+ var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Lt = (o, t, a, r) => {
2238
+ for (var e = r > 1 ? void 0 : r ? _o(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2285
2239
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2286
- return r && e && ao(t, a, e), e;
2240
+ return r && e && $o(t, a, e), e;
2287
2241
  };
2288
- let ye = class extends h {
2242
+ let Ve = class extends h {
2289
2243
  constructor() {
2290
2244
  super(...arguments), this.label = "Secondary";
2291
2245
  }
2292
2246
  render() {
2293
- return c`
2247
+ return l`
2294
2248
  <nav aria-label=${this.label}>
2295
2249
  <slot></slot>
2296
2250
  </nav>
2297
2251
  `;
2298
2252
  }
2299
2253
  };
2300
- ye.styles = d`
2254
+ Ve.styles = d`
2301
2255
  :host {
2302
2256
  display: block;
2303
2257
  font-family: var(--vox-font-family-base);
@@ -2332,18 +2286,18 @@ ye.styles = d`
2332
2286
  border-bottom-color: var(--vox-color-brand-1);
2333
2287
  }
2334
2288
  `;
2335
- vt([
2289
+ Lt([
2336
2290
  n()
2337
- ], ye.prototype, "label", 2);
2338
- ye = vt([
2291
+ ], Ve.prototype, "label", 2);
2292
+ Ve = Lt([
2339
2293
  p("vox-subnav")
2340
- ], ye);
2341
- var io = Object.defineProperty, no = Object.getOwnPropertyDescriptor, j = (o, t, a, r) => {
2342
- for (var e = r > 1 ? void 0 : r ? no(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2294
+ ], Ve);
2295
+ var Co = Object.defineProperty, Mo = Object.getOwnPropertyDescriptor, j = (o, t, a, r) => {
2296
+ for (var e = r > 1 ? void 0 : r ? Mo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2343
2297
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2344
- return r && e && io(t, a, e), e;
2298
+ return r && e && Co(t, a, e), e;
2345
2299
  };
2346
- let qe = class extends h {
2300
+ let We = class extends h {
2347
2301
  get tabs() {
2348
2302
  return [...this.querySelectorAll("vox-tab")];
2349
2303
  }
@@ -2369,21 +2323,14 @@ let qe = class extends h {
2369
2323
  ));
2370
2324
  }
2371
2325
  handleKeydown(o) {
2372
- const t = this.tabs;
2373
- if (o.key === "Home" || o.key === "End") {
2374
- o.preventDefault();
2375
- const i = t[o.key === "Home" ? 0 : t.length - 1];
2376
- i.select(), i.focusTab();
2377
- return;
2378
- }
2379
- const r = { ArrowRight: 1, ArrowLeft: -1 }[o.key];
2380
- if (!r) return;
2326
+ const a = { ArrowRight: 1, ArrowLeft: -1 }[o.key];
2327
+ if (!a) return;
2381
2328
  o.preventDefault();
2382
- const e = t.findIndex((i) => i.selected), s = t[(e + r + t.length) % t.length];
2329
+ const r = this.tabs, e = r.findIndex((i) => i.selected), s = r[(e + a + r.length) % r.length];
2383
2330
  s.select(), s.focusTab();
2384
2331
  }
2385
2332
  render() {
2386
- return c`
2333
+ return l`
2387
2334
  <div
2388
2335
  class="tablist"
2389
2336
  role="tablist"
@@ -2396,7 +2343,7 @@ let qe = class extends h {
2396
2343
  `;
2397
2344
  }
2398
2345
  };
2399
- qe.styles = d`
2346
+ We.styles = d`
2400
2347
  :host {
2401
2348
  display: block;
2402
2349
  }
@@ -2407,10 +2354,10 @@ qe.styles = d`
2407
2354
  border-bottom: 1px solid var(--vox-color-divider);
2408
2355
  }
2409
2356
  `;
2410
- qe = j([
2357
+ We = j([
2411
2358
  p("vox-tabs")
2412
- ], qe);
2413
- let Q = class extends h {
2359
+ ], We);
2360
+ let ee = class extends h {
2414
2361
  constructor() {
2415
2362
  super(...arguments), this.panel = "", this.selected = !1;
2416
2363
  }
@@ -2424,13 +2371,11 @@ let Q = class extends h {
2424
2371
  (o = this.renderRoot.querySelector(".tab")) == null || o.focus();
2425
2372
  }
2426
2373
  render() {
2427
- return c`
2374
+ return l`
2428
2375
  <button
2429
- id="tab-${this.panel}"
2430
2376
  class="tab"
2431
2377
  role="tab"
2432
2378
  aria-selected=${this.selected ? "true" : "false"}
2433
- aria-controls="panel-${this.panel}"
2434
2379
  tabindex=${this.selected ? "0" : "-1"}
2435
2380
  @click=${this.select}
2436
2381
  >
@@ -2439,7 +2384,7 @@ let Q = class extends h {
2439
2384
  `;
2440
2385
  }
2441
2386
  };
2442
- Q.styles = d`
2387
+ ee.styles = d`
2443
2388
  :host {
2444
2389
  display: block;
2445
2390
  font-family: var(--vox-font-family-base);
@@ -2476,31 +2421,22 @@ Q.styles = d`
2476
2421
  `;
2477
2422
  j([
2478
2423
  n()
2479
- ], Q.prototype, "panel", 2);
2424
+ ], ee.prototype, "panel", 2);
2480
2425
  j([
2481
2426
  n({ type: Boolean, reflect: !0 })
2482
- ], Q.prototype, "selected", 2);
2483
- Q = j([
2427
+ ], ee.prototype, "selected", 2);
2428
+ ee = j([
2484
2429
  p("vox-tab")
2485
- ], Q);
2486
- let W = class extends h {
2430
+ ], ee);
2431
+ let te = class extends h {
2487
2432
  constructor() {
2488
2433
  super(...arguments), this.name = "", this.active = !1;
2489
2434
  }
2490
2435
  render() {
2491
- return c`
2492
- <div
2493
- id="panel-${this.name}"
2494
- role="tabpanel"
2495
- aria-labelledby="tab-${this.name}"
2496
- tabindex="0"
2497
- >
2498
- <slot></slot>
2499
- </div>
2500
- `;
2436
+ return l`<div role="tabpanel"><slot></slot></div>`;
2501
2437
  }
2502
2438
  };
2503
- W.styles = d`
2439
+ te.styles = d`
2504
2440
  :host {
2505
2441
  display: none;
2506
2442
  font-family: var(--vox-font-family-base);
@@ -2513,33 +2449,27 @@ W.styles = d`
2513
2449
  :host([active]) {
2514
2450
  display: block;
2515
2451
  }
2516
-
2517
- div:focus-visible {
2518
- outline: 2px solid var(--vox-color-brand-1);
2519
- outline-offset: 2px;
2520
- border-radius: var(--vox-radius-sm);
2521
- }
2522
2452
  `;
2523
2453
  j([
2524
2454
  n()
2525
- ], W.prototype, "name", 2);
2455
+ ], te.prototype, "name", 2);
2526
2456
  j([
2527
2457
  n({ type: Boolean, reflect: !0 })
2528
- ], W.prototype, "active", 2);
2529
- W = j([
2458
+ ], te.prototype, "active", 2);
2459
+ te = j([
2530
2460
  p("vox-tab-panel")
2531
- ], W);
2532
- var lo = Object.defineProperty, co = Object.getOwnPropertyDescriptor, ve = (o, t, a, r) => {
2533
- for (var e = r > 1 ? void 0 : r ? co(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2461
+ ], te);
2462
+ var Oo = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, ye = (o, t, a, r) => {
2463
+ for (var e = r > 1 ? void 0 : r ? ko(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2534
2464
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2535
- return r && e && lo(t, a, e), e;
2465
+ return r && e && Oo(t, a, e), e;
2536
2466
  };
2537
- let we = class extends h {
2467
+ let je = class extends h {
2538
2468
  constructor() {
2539
2469
  super(...arguments), this.heading = "On this page";
2540
2470
  }
2541
2471
  render() {
2542
- return c`
2472
+ return l`
2543
2473
  <div class="heading" id="vox-toc-heading">${this.heading}</div>
2544
2474
  <nav aria-labelledby="vox-toc-heading">
2545
2475
  <slot></slot>
@@ -2547,7 +2477,7 @@ let we = class extends h {
2547
2477
  `;
2548
2478
  }
2549
2479
  };
2550
- we.styles = d`
2480
+ je.styles = d`
2551
2481
  :host {
2552
2482
  display: block;
2553
2483
  font-family: var(--vox-font-family-base);
@@ -2568,13 +2498,13 @@ we.styles = d`
2568
2498
  border-left: 1px solid var(--vox-color-divider);
2569
2499
  }
2570
2500
  `;
2571
- ve([
2501
+ ye([
2572
2502
  n()
2573
- ], we.prototype, "heading", 2);
2574
- we = ve([
2503
+ ], je.prototype, "heading", 2);
2504
+ je = ye([
2575
2505
  p("vox-toc")
2576
- ], we);
2577
- let Y = class extends h {
2506
+ ], je);
2507
+ let oe = class extends h {
2578
2508
  constructor() {
2579
2509
  super(...arguments), this.href = "#", this.current = !1, this.hasChildren = !1;
2580
2510
  }
@@ -2583,7 +2513,7 @@ let Y = class extends h {
2583
2513
  this.hasChildren = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
2584
2514
  }
2585
2515
  render() {
2586
- return c`
2516
+ return l`
2587
2517
  <a href=${this.href} aria-current=${this.current ? "true" : "false"}>
2588
2518
  <slot></slot>
2589
2519
  </a>
@@ -2593,7 +2523,7 @@ let Y = class extends h {
2593
2523
  `;
2594
2524
  }
2595
2525
  };
2596
- Y.styles = d`
2526
+ oe.styles = d`
2597
2527
  :host {
2598
2528
  display: block;
2599
2529
  font-family: var(--vox-font-family-base);
@@ -2639,21 +2569,21 @@ Y.styles = d`
2639
2569
  display: none;
2640
2570
  }
2641
2571
  `;
2642
- ve([
2572
+ ye([
2643
2573
  n()
2644
- ], Y.prototype, "href", 2);
2645
- ve([
2574
+ ], oe.prototype, "href", 2);
2575
+ ye([
2646
2576
  n({ type: Boolean, reflect: !0 })
2647
- ], Y.prototype, "current", 2);
2648
- Y = ve([
2577
+ ], oe.prototype, "current", 2);
2578
+ oe = ye([
2649
2579
  p("vox-toc-item")
2650
- ], Y);
2651
- var po = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, xe = (o, t, a, r) => {
2652
- for (var e = r > 1 ? void 0 : r ? ho(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2580
+ ], oe);
2581
+ var Lo = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, me = (o, t, a, r) => {
2582
+ for (var e = r > 1 ? void 0 : r ? Po(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2653
2583
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2654
- return r && e && po(t, a, e), e;
2584
+ return r && e && Lo(t, a, e), e;
2655
2585
  };
2656
- let O = class extends h {
2586
+ let k = class extends h {
2657
2587
  constructor() {
2658
2588
  super(...arguments), this.heading = "", this.open = !1, this.lightDismiss = !1, this.hasFooter = !1;
2659
2589
  }
@@ -2679,14 +2609,14 @@ let O = class extends h {
2679
2609
  this.hasFooter = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
2680
2610
  }
2681
2611
  render() {
2682
- return c`
2612
+ return l`
2683
2613
  <dialog
2684
- aria-labelledby=${this.heading ? "heading" : v}
2614
+ aria-label=${this.heading || v}
2685
2615
  @close=${this.handleNativeClose}
2686
2616
  @click=${this.handleClick}
2687
2617
  >
2688
2618
  <div class="header">
2689
- <h2 class="heading" id="heading">${this.heading}</h2>
2619
+ <h2 class="heading">${this.heading}</h2>
2690
2620
  <button class="close" aria-label="Close dialog" @click=${this.close}>
2691
2621
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true">
2692
2622
  <path d="M18 6 6 18M6 6l12 12" />
@@ -2701,7 +2631,7 @@ let O = class extends h {
2701
2631
  `;
2702
2632
  }
2703
2633
  };
2704
- O.styles = d`
2634
+ k.styles = d`
2705
2635
  dialog {
2706
2636
  box-sizing: border-box;
2707
2637
  width: min(90vw, 480px);
@@ -2788,29 +2718,29 @@ O.styles = d`
2788
2718
  margin-bottom: 0;
2789
2719
  }
2790
2720
  `;
2791
- xe([
2721
+ me([
2792
2722
  n()
2793
- ], O.prototype, "heading", 2);
2794
- xe([
2723
+ ], k.prototype, "heading", 2);
2724
+ me([
2795
2725
  n({ type: Boolean })
2796
- ], O.prototype, "open", 2);
2797
- xe([
2726
+ ], k.prototype, "open", 2);
2727
+ me([
2798
2728
  n({ type: Boolean, attribute: "light-dismiss" })
2799
- ], O.prototype, "lightDismiss", 2);
2800
- xe([
2801
- Ze("dialog")
2802
- ], O.prototype, "dialogEl", 2);
2803
- O = xe([
2729
+ ], k.prototype, "lightDismiss", 2);
2730
+ me([
2731
+ rt("dialog")
2732
+ ], k.prototype, "dialogEl", 2);
2733
+ k = me([
2804
2734
  p("vox-dialog")
2805
- ], O);
2806
- var vo = Object.defineProperty, xo = Object.getOwnPropertyDescriptor, We = (o, t, a, r) => {
2807
- for (var e = r > 1 ? void 0 : r ? xo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2735
+ ], k);
2736
+ var Vo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, ct = (o, t, a, r) => {
2737
+ for (var e = r > 1 ? void 0 : r ? jo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2808
2738
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2809
- return r && e && vo(t, a, e), e;
2739
+ return r && e && Vo(t, a, e), e;
2810
2740
  };
2811
- let M = class extends h {
2741
+ let re = class extends h {
2812
2742
  constructor() {
2813
- super(...arguments), this.summary = "Show details", this.open = !1, this.panelId = `vox-disclosure-panel-${M.nextId++}`;
2743
+ super(...arguments), this.summary = "Show details", this.open = !1;
2814
2744
  }
2815
2745
  toggle() {
2816
2746
  this.open = !this.open, this.dispatchEvent(
@@ -2818,11 +2748,10 @@ let M = class extends h {
2818
2748
  );
2819
2749
  }
2820
2750
  render() {
2821
- return c`
2751
+ return l`
2822
2752
  <button
2823
2753
  class="trigger"
2824
2754
  aria-expanded=${this.open ? "true" : "false"}
2825
- aria-controls=${this.panelId}
2826
2755
  @click=${this.toggle}
2827
2756
  >
2828
2757
  <svg class="chevron" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
@@ -2830,14 +2759,13 @@ let M = class extends h {
2830
2759
  </svg>
2831
2760
  ${this.summary}
2832
2761
  </button>
2833
- <div id=${this.panelId} class="panel" ?hidden=${!this.open}>
2762
+ <div class="panel" ?hidden=${!this.open}>
2834
2763
  <slot></slot>
2835
2764
  </div>
2836
2765
  `;
2837
2766
  }
2838
2767
  };
2839
- M.nextId = 0;
2840
- M.styles = d`
2768
+ re.styles = d`
2841
2769
  :host {
2842
2770
  display: block;
2843
2771
  font-family: var(--vox-font-family-base);
@@ -2889,67 +2817,54 @@ M.styles = d`
2889
2817
  display: none;
2890
2818
  }
2891
2819
  `;
2892
- We([
2820
+ ct([
2893
2821
  n()
2894
- ], M.prototype, "summary", 2);
2895
- We([
2822
+ ], re.prototype, "summary", 2);
2823
+ ct([
2896
2824
  n({ type: Boolean, reflect: !0 })
2897
- ], M.prototype, "open", 2);
2898
- M = We([
2825
+ ], re.prototype, "open", 2);
2826
+ re = ct([
2899
2827
  p("vox-disclosure")
2900
- ], M);
2901
- var uo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, Ye = (o, t, a, r) => {
2902
- for (var e = r > 1 ? void 0 : r ? fo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2828
+ ], re);
2829
+ var zo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, dt = (o, t, a, r) => {
2830
+ for (var e = r > 1 ? void 0 : r ? Do(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2903
2831
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2904
- return r && e && uo(t, a, e), e;
2832
+ return r && e && zo(t, a, e), e;
2905
2833
  };
2906
- let J = class extends h {
2834
+ let ae = class extends h {
2907
2835
  constructor() {
2908
2836
  super(...arguments), this.label = "Menu", this.open = !1, this.handleOutsideClick = (o) => {
2909
2837
  this.open && !o.composedPath().includes(this) && (this.open = !1);
2910
- }, this.handleFocusOut = (o) => {
2911
- const t = o.relatedTarget;
2912
- this.open && !(t && this.contains(t)) && (this.open = !1);
2913
2838
  }, this.handleKeydown = (o) => {
2914
2839
  var t;
2915
2840
  if (o.key === "Escape" && this.open) {
2916
2841
  this.open = !1, (t = this.renderRoot.querySelector(".trigger")) == null || t.focus();
2917
2842
  return;
2918
2843
  }
2919
- if (o.key === "ArrowDown" || o.key === "ArrowUp") {
2844
+ if ((o.key === "ArrowDown" || o.key === "ArrowUp") && this.open) {
2920
2845
  o.preventDefault();
2921
- const a = o.key === "ArrowDown" ? 1 : -1;
2922
- if (!this.open) {
2923
- this.open = !0, this.updateComplete.then(
2924
- () => this.focusItem(o.key === "ArrowDown" ? 0 : -1)
2925
- );
2926
- return;
2927
- }
2928
- const e = [...this.querySelectorAll("a, button")].indexOf(document.activeElement);
2929
- this.focusItem(Math.max(e, 0) + a);
2846
+ const a = [...this.querySelectorAll("a, button")];
2847
+ if (a.length === 0) return;
2848
+ const r = document.activeElement, e = a.indexOf(r), s = o.key === "ArrowDown" ? 1 : -1;
2849
+ a[(Math.max(e, 0) + s + a.length) % a.length].focus();
2930
2850
  }
2931
2851
  };
2932
2852
  }
2933
2853
  connectedCallback() {
2934
- super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown), this.addEventListener("focusout", this.handleFocusOut);
2854
+ super.connectedCallback(), document.addEventListener("click", this.handleOutsideClick), this.addEventListener("keydown", this.handleKeydown);
2935
2855
  }
2936
2856
  disconnectedCallback() {
2937
- super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown), this.removeEventListener("focusout", this.handleFocusOut);
2938
- }
2939
- focusItem(o) {
2940
- const t = [...this.querySelectorAll("a, button")];
2941
- t.length !== 0 && t[(o + t.length) % t.length].focus();
2857
+ super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
2942
2858
  }
2943
2859
  toggle() {
2944
- this.open = !this.open, this.open && this.updateComplete.then(() => this.focusItem(0));
2860
+ this.open = !this.open;
2945
2861
  }
2946
2862
  render() {
2947
- return c`
2863
+ return l`
2948
2864
  <button
2949
2865
  class="trigger"
2950
2866
  aria-expanded=${this.open ? "true" : "false"}
2951
2867
  aria-haspopup="true"
2952
- aria-controls="menu"
2953
2868
  @click=${this.toggle}
2954
2869
  >
2955
2870
  ${this.label}
@@ -2957,13 +2872,13 @@ let J = class extends h {
2957
2872
  <path d="m6 9 6 6 6-6" />
2958
2873
  </svg>
2959
2874
  </button>
2960
- <div id="menu" class="menu">
2875
+ <div class="menu">
2961
2876
  <slot @click=${() => this.open = !1}></slot>
2962
2877
  </div>
2963
2878
  `;
2964
2879
  }
2965
2880
  };
2966
- J.styles = d`
2881
+ ae.styles = d`
2967
2882
  :host {
2968
2883
  position: relative;
2969
2884
  display: inline-block;
@@ -3062,21 +2977,21 @@ J.styles = d`
3062
2977
  border-top: 1px solid var(--vox-color-divider);
3063
2978
  }
3064
2979
  `;
3065
- Ye([
2980
+ dt([
3066
2981
  n()
3067
- ], J.prototype, "label", 2);
3068
- Ye([
2982
+ ], ae.prototype, "label", 2);
2983
+ dt([
3069
2984
  n({ type: Boolean, reflect: !0 })
3070
- ], J.prototype, "open", 2);
3071
- J = Ye([
2985
+ ], ae.prototype, "open", 2);
2986
+ ae = dt([
3072
2987
  p("vox-dropdown")
3073
- ], J);
3074
- var go = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, ue = (o, t, a, r) => {
3075
- for (var e = r > 1 ? void 0 : r ? bo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2988
+ ], ae);
2989
+ var So = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, we = (o, t, a, r) => {
2990
+ for (var e = r > 1 ? void 0 : r ? Eo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3076
2991
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3077
- return r && e && go(t, a, e), e;
2992
+ return r && e && So(t, a, e), e;
3078
2993
  };
3079
- let $e = class extends h {
2994
+ let ze = class extends h {
3080
2995
  constructor() {
3081
2996
  super(...arguments), this.single = !1;
3082
2997
  }
@@ -3090,10 +3005,10 @@ let $e = class extends h {
3090
3005
  );
3091
3006
  }
3092
3007
  render() {
3093
- return c`<slot @vox-toggle=${this.handleToggle}></slot>`;
3008
+ return l`<slot @vox-toggle=${this.handleToggle}></slot>`;
3094
3009
  }
3095
3010
  };
3096
- $e.styles = d`
3011
+ ze.styles = d`
3097
3012
  :host {
3098
3013
  display: block;
3099
3014
  border: 1px solid var(--vox-color-divider);
@@ -3105,15 +3020,15 @@ $e.styles = d`
3105
3020
  border-top: 1px solid var(--vox-color-divider);
3106
3021
  }
3107
3022
  `;
3108
- ue([
3023
+ we([
3109
3024
  n({ type: Boolean })
3110
- ], $e.prototype, "single", 2);
3111
- $e = ue([
3025
+ ], ze.prototype, "single", 2);
3026
+ ze = we([
3112
3027
  p("vox-accordion")
3113
- ], $e);
3114
- let k = class extends h {
3028
+ ], ze);
3029
+ let se = class extends h {
3115
3030
  constructor() {
3116
- super(...arguments), this.heading = "", this.open = !1, this.panelId = `vox-accordion-panel-${k.nextId++}`;
3031
+ super(...arguments), this.heading = "", this.open = !1;
3117
3032
  }
3118
3033
  toggle() {
3119
3034
  this.open = !this.open, this.dispatchEvent(
@@ -3121,12 +3036,11 @@ let k = class extends h {
3121
3036
  );
3122
3037
  }
3123
3038
  render() {
3124
- return c`
3039
+ return l`
3125
3040
  <h3 style="margin:0">
3126
3041
  <button
3127
3042
  class="trigger"
3128
3043
  aria-expanded=${this.open ? "true" : "false"}
3129
- aria-controls=${this.panelId}
3130
3044
  @click=${this.toggle}
3131
3045
  >
3132
3046
  ${this.heading}
@@ -3135,14 +3049,13 @@ let k = class extends h {
3135
3049
  </svg>
3136
3050
  </button>
3137
3051
  </h3>
3138
- <div id=${this.panelId} class="panel" ?hidden=${!this.open}>
3052
+ <div class="panel" ?hidden=${!this.open}>
3139
3053
  <slot></slot>
3140
3054
  </div>
3141
3055
  `;
3142
3056
  }
3143
3057
  };
3144
- k.nextId = 0;
3145
- k.styles = d`
3058
+ se.styles = d`
3146
3059
  :host {
3147
3060
  display: block;
3148
3061
  font-family: var(--vox-font-family-base);
@@ -3204,21 +3117,21 @@ k.styles = d`
3204
3117
  margin-bottom: 0;
3205
3118
  }
3206
3119
  `;
3207
- ue([
3120
+ we([
3208
3121
  n()
3209
- ], k.prototype, "heading", 2);
3210
- ue([
3122
+ ], se.prototype, "heading", 2);
3123
+ we([
3211
3124
  n({ type: Boolean, reflect: !0 })
3212
- ], k.prototype, "open", 2);
3213
- k = ue([
3125
+ ], se.prototype, "open", 2);
3126
+ se = we([
3214
3127
  p("vox-accordion-item")
3215
- ], k);
3216
- var mo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, fe = (o, t, a, r) => {
3217
- for (var e = r > 1 ? void 0 : r ? yo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3128
+ ], se);
3129
+ var Ao = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, $e = (o, t, a, r) => {
3130
+ for (var e = r > 1 ? void 0 : r ? Ho(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3218
3131
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3219
- return r && e && mo(t, a, e), e;
3132
+ return r && e && Ao(t, a, e), e;
3220
3133
  };
3221
- const wo = {
3134
+ const Bo = {
3222
3135
  info: "info",
3223
3136
  success: "check-circle",
3224
3137
  warning: "warning",
@@ -3234,12 +3147,8 @@ let L = class extends h {
3234
3147
  );
3235
3148
  }
3236
3149
  render() {
3237
- const o = this.variant === "danger" || this.variant === "warning";
3238
- return c`
3239
- <div
3240
- class="alert ${this.variant}"
3241
- role=${o ? "alert" : "status"}
3242
- >
3150
+ return l`
3151
+ <div class="alert ${this.variant}" role="alert">
3243
3152
  <svg
3244
3153
  class="icon"
3245
3154
  viewBox="0 0 48 48"
@@ -3250,13 +3159,13 @@ let L = class extends h {
3250
3159
  stroke-linejoin="round"
3251
3160
  aria-hidden="true"
3252
3161
  >
3253
- ${y[wo[this.variant]]}
3162
+ ${y[Bo[this.variant]]}
3254
3163
  </svg>
3255
3164
  <div class="body">
3256
- ${this.heading ? c`<p class="heading">${this.heading}</p>` : v}
3165
+ ${this.heading ? l`<p class="heading">${this.heading}</p>` : v}
3257
3166
  <slot></slot>
3258
3167
  </div>
3259
- ${this.dismissible ? c`
3168
+ ${this.dismissible ? l`
3260
3169
  <button class="close" aria-label="Dismiss" @click=${this.dismiss}>
3261
3170
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true">
3262
3171
  <path d="M18 6 6 18M6 6l12 12" />
@@ -3386,35 +3295,35 @@ L.styles = d`
3386
3295
  margin-bottom: 0;
3387
3296
  }
3388
3297
  `;
3389
- fe([
3298
+ $e([
3390
3299
  n()
3391
3300
  ], L.prototype, "variant", 2);
3392
- fe([
3301
+ $e([
3393
3302
  n()
3394
3303
  ], L.prototype, "heading", 2);
3395
- fe([
3304
+ $e([
3396
3305
  n({ type: Boolean })
3397
3306
  ], L.prototype, "dismissible", 2);
3398
- fe([
3307
+ $e([
3399
3308
  n({ type: Boolean, reflect: !0 })
3400
3309
  ], L.prototype, "open", 2);
3401
- L = fe([
3310
+ L = $e([
3402
3311
  p("vox-alert")
3403
3312
  ], L);
3404
- var $o = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, xt = (o, t, a, r) => {
3405
- for (var e = r > 1 ? void 0 : r ? _o(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3313
+ var No = Object.defineProperty, To = Object.getOwnPropertyDescriptor, Pt = (o, t, a, r) => {
3314
+ for (var e = r > 1 ? void 0 : r ? To(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3406
3315
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3407
- return r && e && $o(t, a, e), e;
3316
+ return r && e && No(t, a, e), e;
3408
3317
  };
3409
- let _e = class extends h {
3318
+ let De = class extends h {
3410
3319
  constructor() {
3411
3320
  super(...arguments), this.variant = "brand";
3412
3321
  }
3413
3322
  render() {
3414
- return c`<span class="badge ${this.variant}"><slot></slot></span>`;
3323
+ return l`<span class="badge ${this.variant}"><slot></slot></span>`;
3415
3324
  }
3416
3325
  };
3417
- _e.styles = d`
3326
+ De.styles = d`
3418
3327
  :host {
3419
3328
  display: inline-block;
3420
3329
  }
@@ -3456,24 +3365,24 @@ _e.styles = d`
3456
3365
  color: var(--vox-color-text-2);
3457
3366
  }
3458
3367
  `;
3459
- xt([
3368
+ Pt([
3460
3369
  n()
3461
- ], _e.prototype, "variant", 2);
3462
- _e = xt([
3370
+ ], De.prototype, "variant", 2);
3371
+ De = Pt([
3463
3372
  p("vox-badge")
3464
- ], _e);
3465
- var Co = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, Je = (o, t, a, r) => {
3466
- for (var e = r > 1 ? void 0 : r ? Oo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3373
+ ], De);
3374
+ var qo = Object.defineProperty, Io = Object.getOwnPropertyDescriptor, pt = (o, t, a, r) => {
3375
+ for (var e = r > 1 ? void 0 : r ? Io(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3467
3376
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3468
- return r && e && Co(t, a, e), e;
3377
+ return r && e && qo(t, a, e), e;
3469
3378
  };
3470
- let ee = class extends h {
3379
+ let ie = class extends h {
3471
3380
  constructor() {
3472
3381
  super(...arguments), this.date = "";
3473
3382
  }
3474
3383
  render() {
3475
3384
  const o = /* @__PURE__ */ new Date(`${this.date}T00:00:00`), t = !Number.isNaN(o.getTime()), a = t ? o.toLocaleString(this.locale, { month: "short" }) : "—", r = t ? o.getDate() : "–";
3476
- return c`
3385
+ return l`
3477
3386
  <time class="tile" datetime=${this.date}>
3478
3387
  <span class="month">${a}</span>
3479
3388
  <span class="day">${r}</span>
@@ -3481,7 +3390,7 @@ let ee = class extends h {
3481
3390
  `;
3482
3391
  }
3483
3392
  };
3484
- ee.styles = d`
3393
+ ie.styles = d`
3485
3394
  :host {
3486
3395
  display: inline-block;
3487
3396
  font-family: var(--vox-font-family-base);
@@ -3517,37 +3426,37 @@ ee.styles = d`
3517
3426
  color: var(--vox-color-text-1);
3518
3427
  }
3519
3428
  `;
3520
- Je([
3429
+ pt([
3521
3430
  n()
3522
- ], ee.prototype, "date", 2);
3523
- Je([
3431
+ ], ie.prototype, "date", 2);
3432
+ pt([
3524
3433
  n()
3525
- ], ee.prototype, "locale", 2);
3526
- ee = Je([
3434
+ ], ie.prototype, "locale", 2);
3435
+ ie = pt([
3527
3436
  p("vox-calendar-tile")
3528
- ], ee);
3529
- var Mo = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, et = (o, t, a, r) => {
3530
- for (var e = r > 1 ? void 0 : r ? ko(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3437
+ ], ie);
3438
+ var Ro = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, ht = (o, t, a, r) => {
3439
+ for (var e = r > 1 ? void 0 : r ? Zo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3531
3440
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3532
- return r && e && Mo(t, a, e), e;
3441
+ return r && e && Ro(t, a, e), e;
3533
3442
  };
3534
- const Lo = {
3443
+ const Fo = {
3535
3444
  info: "Info",
3536
3445
  tip: "Tip",
3537
3446
  warning: "Warning",
3538
3447
  danger: "Danger"
3539
- }, Po = {
3448
+ }, Uo = {
3540
3449
  info: "info",
3541
3450
  tip: "check-circle",
3542
3451
  warning: "warning",
3543
3452
  danger: "x-circle"
3544
3453
  };
3545
- let te = class extends h {
3454
+ let ne = class extends h {
3546
3455
  constructor() {
3547
3456
  super(...arguments), this.variant = "info";
3548
3457
  }
3549
3458
  render() {
3550
- return c`
3459
+ return l`
3551
3460
  <div class="callout ${this.variant}" role="note">
3552
3461
  <svg
3553
3462
  class="icon"
@@ -3559,17 +3468,17 @@ let te = class extends h {
3559
3468
  stroke-linejoin="round"
3560
3469
  aria-hidden="true"
3561
3470
  >
3562
- ${y[Po[this.variant]]}
3471
+ ${y[Uo[this.variant]]}
3563
3472
  </svg>
3564
3473
  <div class="content">
3565
- <p class="heading">${this.heading ?? Lo[this.variant]}</p>
3474
+ <p class="heading">${this.heading ?? Fo[this.variant]}</p>
3566
3475
  <slot></slot>
3567
3476
  </div>
3568
3477
  </div>
3569
3478
  `;
3570
3479
  }
3571
3480
  };
3572
- te.styles = d`
3481
+ ne.styles = d`
3573
3482
  :host {
3574
3483
  display: block;
3575
3484
  }
@@ -3652,21 +3561,21 @@ te.styles = d`
3652
3561
  margin-bottom: 0;
3653
3562
  }
3654
3563
  `;
3655
- et([
3564
+ ht([
3656
3565
  n()
3657
- ], te.prototype, "variant", 2);
3658
- et([
3566
+ ], ne.prototype, "variant", 2);
3567
+ ht([
3659
3568
  n()
3660
- ], te.prototype, "heading", 2);
3661
- te = et([
3569
+ ], ne.prototype, "heading", 2);
3570
+ ne = ht([
3662
3571
  p("vox-callout")
3663
- ], te);
3664
- var Vo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, ze = (o, t, a, r) => {
3665
- for (var e = r > 1 ? void 0 : r ? jo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3572
+ ], ne);
3573
+ var Ko = Object.defineProperty, Go = Object.getOwnPropertyDescriptor, Re = (o, t, a, r) => {
3574
+ for (var e = r > 1 ? void 0 : r ? Go(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3666
3575
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3667
- return r && e && Vo(t, a, e), e;
3576
+ return r && e && Ko(t, a, e), e;
3668
3577
  };
3669
- let I = class extends h {
3578
+ let q = class extends h {
3670
3579
  constructor() {
3671
3580
  super(...arguments), this.heading = "", this.hasIcon = !1, this.hasBadge = !1, this.hasFooter = !1;
3672
3581
  }
@@ -3683,11 +3592,11 @@ let I = class extends h {
3683
3592
  this.hasFooter = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
3684
3593
  }
3685
3594
  render() {
3686
- const o = c`
3595
+ const o = l`
3687
3596
  <div class="badge ${this.hasBadge ? "has-badge" : ""}">
3688
3597
  <slot name="badge" @slotchange=${this.handleBadgeSlotChange}></slot>
3689
3598
  </div>
3690
- <div class="icon ${this.hasIcon ? "has-icon" : ""}" aria-hidden="true">
3599
+ <div class="icon ${this.hasIcon ? "has-icon" : ""}">
3691
3600
  <slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
3692
3601
  </div>
3693
3602
  <h3 class="heading">${this.heading}</h3>
@@ -3696,10 +3605,10 @@ let I = class extends h {
3696
3605
  <slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
3697
3606
  </div>
3698
3607
  `;
3699
- return this.href !== void 0 ? c`<a class="card" href=${this.href} target=${this.target ?? v}>${o}</a>` : c`<div class="card">${o}</div>`;
3608
+ return this.href !== void 0 ? l`<a class="card" href=${this.href} target=${this.target ?? v}>${o}</a>` : l`<div class="card">${o}</div>`;
3700
3609
  }
3701
3610
  };
3702
- I.styles = d`
3611
+ q.styles = d`
3703
3612
  :host {
3704
3613
  display: block;
3705
3614
  }
@@ -3784,24 +3693,663 @@ I.styles = d`
3784
3693
  display: none;
3785
3694
  }
3786
3695
  `;
3787
- ze([
3696
+ Re([
3788
3697
  n()
3789
- ], I.prototype, "heading", 2);
3790
- ze([
3698
+ ], q.prototype, "heading", 2);
3699
+ Re([
3791
3700
  n()
3792
- ], I.prototype, "href", 2);
3793
- ze([
3701
+ ], q.prototype, "href", 2);
3702
+ Re([
3794
3703
  n()
3795
- ], I.prototype, "target", 2);
3796
- I = ze([
3704
+ ], q.prototype, "target", 2);
3705
+ q = Re([
3797
3706
  p("vox-card")
3798
- ], I);
3799
- var Do = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, ut = (o, t, a, r) => {
3800
- for (var e = r > 1 ? void 0 : r ? zo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3707
+ ], q);
3708
+ function Vt(o, t) {
3709
+ let a = t;
3710
+ for (; a < o.length && (o[a] === " " || o[a] === " "); ) a++;
3711
+ return a;
3712
+ }
3713
+ function z(o, t) {
3714
+ return {
3715
+ re: o,
3716
+ type: (a, r, e) => t.has(a) ? "keyword" : r[Vt(r, e)] === "(" ? "function" : "plain"
3717
+ };
3718
+ }
3719
+ function Je(o) {
3720
+ return {
3721
+ re: o,
3722
+ type: (t, a, r) => a[Vt(a, r)] === ":" ? "property" : "string"
3723
+ };
3724
+ }
3725
+ const _e = /-?\b\d+\.?\d*(?:[eE][+-]?\d+)?\b/y, $ = /"(?:\\.|[^"\\])*"/y, D = /'(?:\\.|[^'\\])*'/y, Ze = /#.*/y, Yo = /\/\/.*/y, jt = /\/\*[\s\S]*?\*\//y;
3726
+ function mt(o, t, a) {
3727
+ const r = o[o.length - 1];
3728
+ r && r.type === t ? r.text += a : o.push({ type: t, text: a });
3729
+ }
3730
+ function Xo(o, t) {
3731
+ const a = [];
3732
+ let r = 0;
3733
+ for (; r < o.length; ) {
3734
+ let e = !1;
3735
+ for (const s of t) {
3736
+ s.re.lastIndex = r;
3737
+ const i = s.re.exec(o);
3738
+ if (i && i.index === r && i[0].length > 0) {
3739
+ const _ = i[0], Me = typeof s.type == "function" ? s.type(_, o, r + _.length) : s.type;
3740
+ mt(a, Me, _), r += _.length, e = !0;
3741
+ break;
3742
+ }
3743
+ }
3744
+ e || (mt(a, "plain", o[r]), r++);
3745
+ }
3746
+ return a;
3747
+ }
3748
+ const Wo = /* @__PURE__ */ new Set([
3749
+ "if",
3750
+ "then",
3751
+ "elif",
3752
+ "else",
3753
+ "fi",
3754
+ "for",
3755
+ "while",
3756
+ "until",
3757
+ "do",
3758
+ "done",
3759
+ "case",
3760
+ "esac",
3761
+ "in",
3762
+ "function",
3763
+ "select",
3764
+ "time",
3765
+ "return",
3766
+ "exit",
3767
+ "break",
3768
+ "continue",
3769
+ "local",
3770
+ "export",
3771
+ "readonly",
3772
+ "declare",
3773
+ "unset",
3774
+ "shift",
3775
+ "eval",
3776
+ "exec",
3777
+ "trap",
3778
+ "set",
3779
+ "source",
3780
+ "alias",
3781
+ "unalias",
3782
+ "true",
3783
+ "false"
3784
+ ]), ke = [
3785
+ { re: Ze, type: "comment" },
3786
+ { re: /\$\{[^}]*\}|\$[A-Za-z_]\w*|\$[0-9@#?$!*_-]/y, type: "function" },
3787
+ { re: $, type: "string" },
3788
+ { re: D, type: "string" },
3789
+ { re: _e, type: "number" },
3790
+ z(/[A-Za-z_][\w-]*/y, Wo)
3791
+ ], Jo = /* @__PURE__ */ new Set([
3792
+ "true",
3793
+ "false",
3794
+ "yes",
3795
+ "no",
3796
+ "null",
3797
+ "on",
3798
+ "off",
3799
+ "True",
3800
+ "False",
3801
+ "Yes",
3802
+ "No",
3803
+ "Null",
3804
+ "On",
3805
+ "Off",
3806
+ "TRUE",
3807
+ "FALSE",
3808
+ "YES",
3809
+ "NO",
3810
+ "NULL",
3811
+ "ON",
3812
+ "OFF"
3813
+ ]), wt = [
3814
+ { re: Ze, type: "comment" },
3815
+ Je($),
3816
+ Je(D),
3817
+ { re: /[A-Za-z_][\w .-]*?(?=:(\s|$))/y, type: "property" },
3818
+ { re: /[&*!][A-Za-z_][\w:.]*/y, type: "function" },
3819
+ { re: _e, type: "number" },
3820
+ z(/[A-Za-z_][\w-]*/y, Jo)
3821
+ ], Qo = [
3822
+ Je($),
3823
+ { re: _e, type: "number" },
3824
+ z(/[A-Za-z_]\w*/y, /* @__PURE__ */ new Set(["true", "false", "null"]))
3825
+ ], er = /* @__PURE__ */ new Set([
3826
+ "const",
3827
+ "let",
3828
+ "var",
3829
+ "function",
3830
+ "return",
3831
+ "if",
3832
+ "else",
3833
+ "for",
3834
+ "while",
3835
+ "do",
3836
+ "switch",
3837
+ "case",
3838
+ "default",
3839
+ "break",
3840
+ "continue",
3841
+ "class",
3842
+ "extends",
3843
+ "super",
3844
+ "new",
3845
+ "this",
3846
+ "import",
3847
+ "export",
3848
+ "from",
3849
+ "as",
3850
+ "async",
3851
+ "await",
3852
+ "try",
3853
+ "catch",
3854
+ "finally",
3855
+ "throw",
3856
+ "typeof",
3857
+ "instanceof",
3858
+ "in",
3859
+ "of",
3860
+ "yield",
3861
+ "static",
3862
+ "get",
3863
+ "set",
3864
+ "void",
3865
+ "delete",
3866
+ "null",
3867
+ "undefined",
3868
+ "true",
3869
+ "false",
3870
+ "public",
3871
+ "private",
3872
+ "protected",
3873
+ "readonly",
3874
+ "interface",
3875
+ "type",
3876
+ "enum",
3877
+ "implements",
3878
+ "namespace",
3879
+ "declare",
3880
+ "abstract",
3881
+ "keyof",
3882
+ "satisfies"
3883
+ ]), Le = [
3884
+ { re: Yo, type: "comment" },
3885
+ { re: jt, type: "comment" },
3886
+ { re: $, type: "string" },
3887
+ { re: D, type: "string" },
3888
+ { re: /`(?:\\.|[^`\\])*`/y, type: "string" },
3889
+ { re: /-?\b0[xXbBoO][0-9a-fA-F]+\b|-?\b\d+\.?\d*(?:[eE][+-]?\d+)?\b/y, type: "number" },
3890
+ z(/[A-Za-z_$][\w$]*/y, er)
3891
+ ], tr = [
3892
+ { re: jt, type: "comment" },
3893
+ { re: $, type: "string" },
3894
+ { re: D, type: "string" },
3895
+ { re: /@[\w-]+/y, type: "keyword" },
3896
+ { re: /!important/y, type: "keyword" },
3897
+ { re: /#[0-9a-fA-F]{3,8}\b/y, type: "number" },
3898
+ { re: /-?\b\d+\.?\d*[a-zA-Z%]*\b/y, type: "number" },
3899
+ { re: /[a-zA-Z-]+(?=\s*:)/y, type: "property" },
3900
+ z(/[a-zA-Z-]+/y, /* @__PURE__ */ new Set())
3901
+ ], $t = [
3902
+ { re: /<!--[\s\S]*?-->/y, type: "comment" },
3903
+ { re: /<\/?[a-zA-Z][\w:-]*/y, type: "tag" },
3904
+ { re: /[a-zA-Z-][\w-]*(?=\s*=)/y, type: "property" },
3905
+ { re: $, type: "string" },
3906
+ { re: D, type: "string" },
3907
+ { re: /&[\w#]+;/y, type: "keyword" }
3908
+ ], or = /* @__PURE__ */ new Set([
3909
+ "def",
3910
+ "end",
3911
+ "if",
3912
+ "elsif",
3913
+ "else",
3914
+ "unless",
3915
+ "while",
3916
+ "until",
3917
+ "for",
3918
+ "in",
3919
+ "do",
3920
+ "class",
3921
+ "module",
3922
+ "begin",
3923
+ "rescue",
3924
+ "ensure",
3925
+ "raise",
3926
+ "return",
3927
+ "yield",
3928
+ "break",
3929
+ "next",
3930
+ "redo",
3931
+ "retry",
3932
+ "case",
3933
+ "when",
3934
+ "then",
3935
+ "and",
3936
+ "or",
3937
+ "not",
3938
+ "nil",
3939
+ "true",
3940
+ "false",
3941
+ "self",
3942
+ "super",
3943
+ "require",
3944
+ "require_relative",
3945
+ "include",
3946
+ "extend",
3947
+ "attr_accessor",
3948
+ "attr_reader",
3949
+ "attr_writer",
3950
+ "private",
3951
+ "protected",
3952
+ "public",
3953
+ "lambda",
3954
+ "proc",
3955
+ "new"
3956
+ ]), _t = [
3957
+ { re: Ze, type: "comment" },
3958
+ { re: /:[A-Za-z_]\w*[?!]?/y, type: "string" },
3959
+ { re: /@{1,2}[A-Za-z_]\w*|\$[A-Za-z_]\w*/y, type: "function" },
3960
+ { re: $, type: "string" },
3961
+ { re: D, type: "string" },
3962
+ { re: _e, type: "number" },
3963
+ { re: /[A-Z]\w*/y, type: "property" },
3964
+ z(/[a-z_]\w*[?!]?/y, or)
3965
+ ], rr = /* @__PURE__ */ new Set([
3966
+ "class",
3967
+ "define",
3968
+ "node",
3969
+ "inherits",
3970
+ "if",
3971
+ "elsif",
3972
+ "else",
3973
+ "unless",
3974
+ "case",
3975
+ "and",
3976
+ "or",
3977
+ "in",
3978
+ "undef",
3979
+ "true",
3980
+ "false",
3981
+ "default",
3982
+ "import",
3983
+ "include",
3984
+ "require",
3985
+ "contain",
3986
+ "function",
3987
+ "type",
3988
+ "application",
3989
+ "produces",
3990
+ "consumes",
3991
+ "private",
3992
+ "return",
3993
+ "break",
3994
+ "next",
3995
+ "each",
3996
+ "map",
3997
+ "filter",
3998
+ "reduce",
3999
+ "with",
4000
+ "String",
4001
+ "Integer",
4002
+ "Boolean",
4003
+ "Array",
4004
+ "Hash",
4005
+ "Optional",
4006
+ "Enum",
4007
+ "Variant",
4008
+ "Numeric",
4009
+ "Float",
4010
+ "Undef",
4011
+ "Any",
4012
+ "Pattern",
4013
+ "Regexp",
4014
+ "Sensitive",
4015
+ "Struct",
4016
+ "Tuple",
4017
+ "Type",
4018
+ "Callable",
4019
+ "Data",
4020
+ "Scalar"
4021
+ ]), Ct = [
4022
+ { re: Ze, type: "comment" },
4023
+ { re: $, type: "string" },
4024
+ { re: D, type: "string" },
4025
+ { re: /\$[\w:]+/y, type: "function" },
4026
+ { re: /[a-zA-Z_][\w:]*(?=\s*\{)/y, type: "tag" },
4027
+ { re: /[a-z_]\w*(?=\s*=>)/y, type: "property" },
4028
+ { re: _e, type: "number" },
4029
+ z(/[A-Za-z_][\w:]*/y, rr)
4030
+ ], ar = {
4031
+ bash: ke,
4032
+ sh: ke,
4033
+ shell: ke,
4034
+ zsh: ke,
4035
+ yaml: wt,
4036
+ yml: wt,
4037
+ json: Qo,
4038
+ javascript: Le,
4039
+ js: Le,
4040
+ typescript: Le,
4041
+ ts: Le,
4042
+ css: tr,
4043
+ html: $t,
4044
+ xml: $t,
4045
+ ruby: _t,
4046
+ rb: _t,
4047
+ puppet: Ct,
4048
+ pp: Ct
4049
+ }, sr = {
4050
+ bash: "Bash",
4051
+ sh: "Shell",
4052
+ shell: "Shell",
4053
+ zsh: "Zsh",
4054
+ yaml: "YAML",
4055
+ yml: "YAML",
4056
+ json: "JSON",
4057
+ javascript: "JavaScript",
4058
+ js: "JavaScript",
4059
+ typescript: "TypeScript",
4060
+ ts: "TypeScript",
4061
+ css: "CSS",
4062
+ html: "HTML",
4063
+ xml: "XML",
4064
+ ruby: "Ruby",
4065
+ rb: "Ruby",
4066
+ puppet: "Puppet",
4067
+ pp: "Puppet",
4068
+ plaintext: "Plain Text",
4069
+ text: "Plain Text"
4070
+ };
4071
+ function ir(o, t) {
4072
+ const a = ar[t];
4073
+ return a ? Xo(o, a) : [{ type: "plain", text: o }];
4074
+ }
4075
+ var nr = Object.defineProperty, lr = Object.getOwnPropertyDescriptor, b = (o, t, a, r) => {
4076
+ for (var e = r > 1 ? void 0 : r ? lr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3801
4077
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3802
- return r && e && Do(t, a, e), e;
4078
+ return r && e && nr(t, a, e), e;
3803
4079
  };
3804
- let Ce = class extends h {
4080
+ function cr(o) {
4081
+ const t = o.split(`
4082
+ `);
4083
+ for (; t.length && t[0].trim() === ""; ) t.shift();
4084
+ for (; t.length && t[t.length - 1].trim() === ""; ) t.pop();
4085
+ const a = t.filter((e) => e.trim() !== "").map((e) => {
4086
+ var s;
4087
+ return ((s = e.match(/^[ \t]*/)) == null ? void 0 : s[0].length) ?? 0;
4088
+ }), r = a.length ? Math.min(...a) : 0;
4089
+ return t.map((e) => e.slice(r)).join(`
4090
+ `);
4091
+ }
4092
+ function dr(o) {
4093
+ const t = [[]];
4094
+ for (const a of o)
4095
+ a.text.split(`
4096
+ `).forEach((r, e) => {
4097
+ e > 0 && t.push([]), r && t[t.length - 1].push({ type: a.type, text: r });
4098
+ });
4099
+ return t;
4100
+ }
4101
+ let u = class extends h {
4102
+ constructor() {
4103
+ super(...arguments), this.language = "", this.filename = "", this.lineNumbers = !1, this.noCopy = !1, this.noHeader = !1, this.noBorder = !1, this._code = "", this._copied = !1;
4104
+ }
4105
+ disconnectedCallback() {
4106
+ super.disconnectedCallback(), clearTimeout(this._copyResetTimer);
4107
+ }
4108
+ _handleSlotChange(o) {
4109
+ const a = o.target.assignedNodes({ flatten: !0 }).map((r) => r.textContent ?? "").join("");
4110
+ this._code = cr(a);
4111
+ }
4112
+ async _copy() {
4113
+ var o;
4114
+ try {
4115
+ await navigator.clipboard.writeText(this._code);
4116
+ } catch {
4117
+ const t = document.createElement("textarea");
4118
+ t.value = this._code, t.style.position = "fixed", t.style.opacity = "0", (o = this.shadowRoot) == null || o.appendChild(t), t.select(), document.execCommand("copy"), t.remove();
4119
+ }
4120
+ this._copied = !0, clearTimeout(this._copyResetTimer), this._copyResetTimer = setTimeout(() => {
4121
+ this._copied = !1;
4122
+ }, 1500);
4123
+ }
4124
+ render() {
4125
+ const o = sr[this.language] ?? this.language, t = dr(ir(this._code, this.language));
4126
+ return l`
4127
+ <div class="block">
4128
+ ${this.noHeader ? v : l`
4129
+ <div class="header">
4130
+ <span class="meta">
4131
+ ${this.filename ? l`<span class="filename">${this.filename}</span>` : v}
4132
+ ${o ? l`<span class="lang">${o}</span>` : v}
4133
+ </span>
4134
+ ${this.noCopy ? v : l`
4135
+ <button
4136
+ class="copy"
4137
+ type="button"
4138
+ @click=${this._copy}
4139
+ aria-label=${this._copied ? "Copied" : "Copy code"}
4140
+ >
4141
+ <svg viewBox="0 0 48 48" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
4142
+ ${y[this._copied ? "check" : "copy"]}
4143
+ </svg>
4144
+ </button>
4145
+ `}
4146
+ </div>
4147
+ `}
4148
+ <pre tabindex="0"><code>${t.map(
4149
+ (a) => l`<span class="line">${a.map(
4150
+ (r) => r.type === "plain" ? r.text : l`<span class="tok-${r.type}">${r.text}</span>`
4151
+ )}</span>`
4152
+ )}</code></pre>
4153
+ <span class="visually-hidden" aria-live="polite">${this._copied ? "Copied to clipboard" : ""}</span>
4154
+ </div>
4155
+ <slot @slotchange=${this._handleSlotChange}></slot>
4156
+ `;
4157
+ }
4158
+ };
4159
+ u.styles = d`
4160
+ :host {
4161
+ display: block;
4162
+ font-family: var(--vox-font-family-base);
4163
+ }
4164
+
4165
+ .block {
4166
+ border: 1px solid var(--vox-color-border);
4167
+ border-radius: var(--vox-radius-md);
4168
+ background-color: var(--vox-color-bg-alt);
4169
+ overflow: hidden;
4170
+ }
4171
+
4172
+ :host([no-border]) .block {
4173
+ border: none;
4174
+ }
4175
+
4176
+ .header {
4177
+ display: flex;
4178
+ align-items: center;
4179
+ justify-content: space-between;
4180
+ gap: var(--vox-space-3);
4181
+ padding: var(--vox-space-2) var(--vox-space-2) var(--vox-space-2) var(--vox-space-4);
4182
+ border-bottom: 1px solid var(--vox-color-divider);
4183
+ font-size: 12px;
4184
+ }
4185
+
4186
+ .meta {
4187
+ display: flex;
4188
+ align-items: baseline;
4189
+ gap: var(--vox-space-3);
4190
+ min-width: 0;
4191
+ overflow: hidden;
4192
+ color: var(--vox-color-text-2);
4193
+ }
4194
+
4195
+ .filename {
4196
+ color: var(--vox-color-text-1);
4197
+ font-family: var(--vox-font-family-mono);
4198
+ font-weight: 600;
4199
+ white-space: nowrap;
4200
+ overflow: hidden;
4201
+ text-overflow: ellipsis;
4202
+ }
4203
+
4204
+ .lang {
4205
+ flex: none;
4206
+ text-transform: uppercase;
4207
+ letter-spacing: 0.04em;
4208
+ }
4209
+
4210
+ .copy {
4211
+ flex: none;
4212
+ display: inline-flex;
4213
+ align-items: center;
4214
+ justify-content: center;
4215
+ width: 28px;
4216
+ height: 28px;
4217
+ padding: 0;
4218
+ border: none;
4219
+ border-radius: var(--vox-radius-sm);
4220
+ background: none;
4221
+ color: var(--vox-color-text-2);
4222
+ cursor: pointer;
4223
+ }
4224
+
4225
+ .copy:hover {
4226
+ background-color: var(--vox-color-brand-soft);
4227
+ color: var(--vox-color-brand-1);
4228
+ }
4229
+
4230
+ .copy:focus-visible {
4231
+ outline: 2px solid var(--vox-color-brand-1);
4232
+ outline-offset: 2px;
4233
+ }
4234
+
4235
+ .copy svg {
4236
+ width: 15px;
4237
+ height: 15px;
4238
+ }
4239
+
4240
+ pre {
4241
+ margin: 0;
4242
+ padding: var(--vox-space-4);
4243
+ overflow-x: auto;
4244
+ white-space: pre;
4245
+ tab-size: 2;
4246
+ }
4247
+
4248
+ pre:focus-visible {
4249
+ outline: 2px solid var(--vox-color-brand-1);
4250
+ outline-offset: -2px;
4251
+ }
4252
+
4253
+ code {
4254
+ font-family: var(--vox-font-family-mono);
4255
+ font-size: 13px;
4256
+ line-height: 1.7;
4257
+ color: var(--vox-color-text-1);
4258
+ }
4259
+
4260
+ .line {
4261
+ display: block;
4262
+ }
4263
+
4264
+ :host([line-numbers]) code {
4265
+ counter-reset: line;
4266
+ }
4267
+
4268
+ :host([line-numbers]) .line {
4269
+ padding-left: 3.5ch;
4270
+ position: relative;
4271
+ }
4272
+
4273
+ :host([line-numbers]) .line::before {
4274
+ counter-increment: line;
4275
+ content: counter(line);
4276
+ position: absolute;
4277
+ left: 0;
4278
+ width: 2.5ch;
4279
+ text-align: right;
4280
+ color: var(--vox-color-text-3);
4281
+ user-select: none;
4282
+ }
4283
+
4284
+ .tok-comment {
4285
+ color: var(--vox-code-comment);
4286
+ font-style: italic;
4287
+ }
4288
+ .tok-keyword {
4289
+ color: var(--vox-code-keyword);
4290
+ }
4291
+ .tok-string {
4292
+ color: var(--vox-code-string);
4293
+ }
4294
+ .tok-number {
4295
+ color: var(--vox-code-number);
4296
+ }
4297
+ .tok-function {
4298
+ color: var(--vox-code-function);
4299
+ }
4300
+ .tok-property {
4301
+ color: var(--vox-code-property);
4302
+ }
4303
+ .tok-tag {
4304
+ color: var(--vox-code-tag);
4305
+ }
4306
+
4307
+ slot {
4308
+ display: none;
4309
+ }
4310
+
4311
+ .visually-hidden {
4312
+ position: absolute;
4313
+ width: 1px;
4314
+ height: 1px;
4315
+ overflow: hidden;
4316
+ clip: rect(0 0 0 0);
4317
+ white-space: nowrap;
4318
+ }
4319
+ `;
4320
+ b([
4321
+ n()
4322
+ ], u.prototype, "language", 2);
4323
+ b([
4324
+ n()
4325
+ ], u.prototype, "filename", 2);
4326
+ b([
4327
+ n({ type: Boolean, attribute: "line-numbers", reflect: !0 })
4328
+ ], u.prototype, "lineNumbers", 2);
4329
+ b([
4330
+ n({ type: Boolean, attribute: "no-copy" })
4331
+ ], u.prototype, "noCopy", 2);
4332
+ b([
4333
+ n({ type: Boolean, attribute: "no-header" })
4334
+ ], u.prototype, "noHeader", 2);
4335
+ b([
4336
+ n({ type: Boolean, attribute: "no-border", reflect: !0 })
4337
+ ], u.prototype, "noBorder", 2);
4338
+ b([
4339
+ Z()
4340
+ ], u.prototype, "_code", 2);
4341
+ b([
4342
+ Z()
4343
+ ], u.prototype, "_copied", 2);
4344
+ u = b([
4345
+ p("vox-code-block")
4346
+ ], u);
4347
+ var pr = Object.defineProperty, hr = Object.getOwnPropertyDescriptor, zt = (o, t, a, r) => {
4348
+ for (var e = r > 1 ? void 0 : r ? hr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4349
+ (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4350
+ return r && e && pr(t, a, e), e;
4351
+ };
4352
+ let Se = class extends h {
3805
4353
  constructor() {
3806
4354
  super(...arguments), this.heading = "", this.hasBody = !1, this.hasActions = !1;
3807
4355
  }
@@ -3814,9 +4362,9 @@ let Ce = class extends h {
3814
4362
  this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
3815
4363
  }
3816
4364
  render() {
3817
- return c`
4365
+ return l`
3818
4366
  <div class="band">
3819
- ${this.heading ? c`<h2 class="heading">${this.heading}</h2>` : v}
4367
+ ${this.heading ? l`<h2 class="heading">${this.heading}</h2>` : v}
3820
4368
  <div class="body ${this.hasBody ? "has-content" : ""}">
3821
4369
  <slot @slotchange=${this.handleBodySlotChange}></slot>
3822
4370
  </div>
@@ -3827,7 +4375,7 @@ let Ce = class extends h {
3827
4375
  `;
3828
4376
  }
3829
4377
  };
3830
- Ce.styles = d`
4378
+ Se.styles = d`
3831
4379
  :host {
3832
4380
  display: block;
3833
4381
  font-family: var(--vox-font-family-base);
@@ -3882,25 +4430,25 @@ Ce.styles = d`
3882
4430
  display: none;
3883
4431
  }
3884
4432
  `;
3885
- ut([
4433
+ zt([
3886
4434
  n()
3887
- ], Ce.prototype, "heading", 2);
3888
- Ce = ut([
4435
+ ], Se.prototype, "heading", 2);
4436
+ Se = zt([
3889
4437
  p("vox-cta-band")
3890
- ], Ce);
3891
- var Eo = Object.defineProperty, Ho = Object.getOwnPropertyDescriptor, ft = (o, t, a, r) => {
3892
- for (var e = r > 1 ? void 0 : r ? Ho(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4438
+ ], Se);
4439
+ var vr = Object.defineProperty, xr = Object.getOwnPropertyDescriptor, Dt = (o, t, a, r) => {
4440
+ for (var e = r > 1 ? void 0 : r ? xr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3893
4441
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3894
- return r && e && Eo(t, a, e), e;
4442
+ return r && e && vr(t, a, e), e;
3895
4443
  };
3896
- let Oe = class extends h {
4444
+ let Ee = class extends h {
3897
4445
  constructor() {
3898
4446
  super(...arguments), this.heading = "";
3899
4447
  }
3900
4448
  render() {
3901
- return c`
4449
+ return l`
3902
4450
  <div class="empty">
3903
- <div class="icon" aria-hidden="true"><slot name="icon"></slot></div>
4451
+ <div class="icon"><slot name="icon"></slot></div>
3904
4452
  <h3 class="heading">${this.heading}</h3>
3905
4453
  <div class="body"><slot></slot></div>
3906
4454
  <div class="actions"><slot name="actions"></slot></div>
@@ -3908,7 +4456,7 @@ let Oe = class extends h {
3908
4456
  `;
3909
4457
  }
3910
4458
  };
3911
- Oe.styles = d`
4459
+ Ee.styles = d`
3912
4460
  :host {
3913
4461
  display: block;
3914
4462
  font-family: var(--vox-font-family-base);
@@ -3952,20 +4500,20 @@ Oe.styles = d`
3952
4500
  margin-top: var(--vox-space-4);
3953
4501
  }
3954
4502
  `;
3955
- ft([
4503
+ Dt([
3956
4504
  n()
3957
- ], Oe.prototype, "heading", 2);
3958
- Oe = ft([
4505
+ ], Ee.prototype, "heading", 2);
4506
+ Ee = Dt([
3959
4507
  p("vox-empty-state")
3960
- ], Oe);
3961
- var So = Object.defineProperty, Ao = Object.getOwnPropertyDescriptor, tt = (o, t, a, r) => {
3962
- for (var e = r > 1 ? void 0 : r ? Ao(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4508
+ ], Ee);
4509
+ var ur = Object.defineProperty, fr = Object.getOwnPropertyDescriptor, vt = (o, t, a, r) => {
4510
+ for (var e = r > 1 ? void 0 : r ? fr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3963
4511
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3964
- return r && e && So(t, a, e), e;
4512
+ return r && e && ur(t, a, e), e;
3965
4513
  };
3966
- let Ne = class extends h {
4514
+ let Qe = class extends h {
3967
4515
  render() {
3968
- return c`
4516
+ return l`
3969
4517
  <footer>
3970
4518
  <div class="inner">
3971
4519
  <div class="columns"><slot></slot></div>
@@ -3975,7 +4523,7 @@ let Ne = class extends h {
3975
4523
  `;
3976
4524
  }
3977
4525
  };
3978
- Ne.styles = d`
4526
+ Qe.styles = d`
3979
4527
  :host {
3980
4528
  display: block;
3981
4529
  font-family: var(--vox-font-family-base);
@@ -4003,21 +4551,21 @@ Ne.styles = d`
4003
4551
  color: var(--vox-color-text-3);
4004
4552
  }
4005
4553
  `;
4006
- Ne = tt([
4554
+ Qe = vt([
4007
4555
  p("vox-footer")
4008
- ], Ne);
4009
- let Me = class extends h {
4556
+ ], Qe);
4557
+ let Ae = class extends h {
4010
4558
  constructor() {
4011
4559
  super(...arguments), this.heading = "";
4012
4560
  }
4013
4561
  render() {
4014
- return c`
4562
+ return l`
4015
4563
  <h3 class="heading">${this.heading}</h3>
4016
4564
  <div class="links"><slot></slot></div>
4017
4565
  `;
4018
4566
  }
4019
4567
  };
4020
- Me.styles = d`
4568
+ Ae.styles = d`
4021
4569
  :host {
4022
4570
  display: block;
4023
4571
  font-family: var(--vox-font-family-base);
@@ -4049,18 +4597,18 @@ Me.styles = d`
4049
4597
  text-decoration: underline;
4050
4598
  }
4051
4599
  `;
4052
- tt([
4600
+ vt([
4053
4601
  n()
4054
- ], Me.prototype, "heading", 2);
4055
- Me = tt([
4602
+ ], Ae.prototype, "heading", 2);
4603
+ Ae = vt([
4056
4604
  p("vox-footer-column")
4057
- ], Me);
4058
- var Io = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, Ee = (o, t, a, r) => {
4059
- for (var e = r > 1 ? void 0 : r ? Bo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4605
+ ], Ae);
4606
+ var gr = Object.defineProperty, br = Object.getOwnPropertyDescriptor, Fe = (o, t, a, r) => {
4607
+ for (var e = r > 1 ? void 0 : r ? br(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4060
4608
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4061
- return r && e && Io(t, a, e), e;
4609
+ return r && e && gr(t, a, e), e;
4062
4610
  };
4063
- let B = class extends h {
4611
+ let I = class extends h {
4064
4612
  constructor() {
4065
4613
  super(...arguments), this.cols = 0, this.min = "240px", this.gap = "md";
4066
4614
  }
@@ -4068,10 +4616,10 @@ let B = class extends h {
4068
4616
  this.style.gridTemplateColumns = this.cols > 0 ? `repeat(${this.cols}, minmax(0, 1fr))` : `repeat(auto-fit, minmax(min(${this.min}, 100%), 1fr))`;
4069
4617
  }
4070
4618
  render() {
4071
- return c`<slot></slot>`;
4619
+ return l`<slot></slot>`;
4072
4620
  }
4073
4621
  };
4074
- B.styles = d`
4622
+ I.styles = d`
4075
4623
  :host {
4076
4624
  display: grid;
4077
4625
  }
@@ -4088,24 +4636,24 @@ B.styles = d`
4088
4636
  gap: var(--vox-space-6);
4089
4637
  }
4090
4638
  `;
4091
- Ee([
4639
+ Fe([
4092
4640
  n({ type: Number })
4093
- ], B.prototype, "cols", 2);
4094
- Ee([
4641
+ ], I.prototype, "cols", 2);
4642
+ Fe([
4095
4643
  n()
4096
- ], B.prototype, "min", 2);
4097
- Ee([
4644
+ ], I.prototype, "min", 2);
4645
+ Fe([
4098
4646
  n({ reflect: !0 })
4099
- ], B.prototype, "gap", 2);
4100
- B = Ee([
4647
+ ], I.prototype, "gap", 2);
4648
+ I = Fe([
4101
4649
  p("vox-grid")
4102
- ], B);
4103
- var qo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, ot = (o, t, a, r) => {
4104
- for (var e = r > 1 ? void 0 : r ? No(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4650
+ ], I);
4651
+ var yr = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, xt = (o, t, a, r) => {
4652
+ for (var e = r > 1 ? void 0 : r ? mr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4105
4653
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4106
- return r && e && qo(t, a, e), e;
4654
+ return r && e && yr(t, a, e), e;
4107
4655
  };
4108
- let oe = class extends h {
4656
+ let le = class extends h {
4109
4657
  constructor() {
4110
4658
  super(...arguments), this.eyebrow = "", this.heading = "", this.hasActions = !1;
4111
4659
  }
@@ -4114,9 +4662,9 @@ let oe = class extends h {
4114
4662
  this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
4115
4663
  }
4116
4664
  render() {
4117
- return c`
4665
+ return l`
4118
4666
  <header class="hero">
4119
- ${this.eyebrow ? c`<p class="eyebrow">${this.eyebrow}</p>` : v}
4667
+ ${this.eyebrow ? l`<p class="eyebrow">${this.eyebrow}</p>` : v}
4120
4668
  <h1 class="heading">${this.heading}</h1>
4121
4669
  <div class="body"><slot></slot></div>
4122
4670
  <div class="actions ${this.hasActions ? "has-content" : ""}">
@@ -4126,7 +4674,7 @@ let oe = class extends h {
4126
4674
  `;
4127
4675
  }
4128
4676
  };
4129
- oe.styles = d`
4677
+ le.styles = d`
4130
4678
  :host {
4131
4679
  display: block;
4132
4680
  font-family: var(--vox-font-family-base);
@@ -4183,36 +4731,36 @@ oe.styles = d`
4183
4731
  display: none;
4184
4732
  }
4185
4733
  `;
4186
- ot([
4734
+ xt([
4187
4735
  n()
4188
- ], oe.prototype, "eyebrow", 2);
4189
- ot([
4736
+ ], le.prototype, "eyebrow", 2);
4737
+ xt([
4190
4738
  n()
4191
- ], oe.prototype, "heading", 2);
4192
- oe = ot([
4739
+ ], le.prototype, "heading", 2);
4740
+ le = xt([
4193
4741
  p("vox-hero")
4194
- ], oe);
4195
- var To = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, He = (o, t, a, r) => {
4196
- for (var e = r > 1 ? void 0 : r ? Fo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4742
+ ], le);
4743
+ var wr = Object.defineProperty, $r = Object.getOwnPropertyDescriptor, Ue = (o, t, a, r) => {
4744
+ for (var e = r > 1 ? void 0 : r ? $r(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4197
4745
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4198
- return r && e && To(t, a, e), e;
4746
+ return r && e && wr(t, a, e), e;
4199
4747
  };
4200
- let Te = class extends h {
4748
+ let et = class extends h {
4201
4749
  render() {
4202
- return c`<slot></slot>`;
4750
+ return l`<slot></slot>`;
4203
4751
  }
4204
4752
  };
4205
- Te.styles = d`
4753
+ et.styles = d`
4206
4754
  :host {
4207
4755
  display: grid;
4208
4756
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
4209
4757
  gap: var(--vox-space-4);
4210
4758
  }
4211
4759
  `;
4212
- Te = He([
4760
+ et = Ue([
4213
4761
  p("vox-link-hub")
4214
- ], Te);
4215
- let re = class extends h {
4762
+ ], et);
4763
+ let ce = class extends h {
4216
4764
  constructor() {
4217
4765
  super(...arguments), this.href = "#", this.heading = "", this.hasIcon = !1;
4218
4766
  }
@@ -4221,10 +4769,10 @@ let re = class extends h {
4221
4769
  this.hasIcon = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
4222
4770
  }
4223
4771
  render() {
4224
- return c`
4772
+ return l`
4225
4773
  <a href=${this.href}>
4226
4774
  <span class="heading">
4227
- <span class="icon ${this.hasIcon ? "has-icon" : ""}" aria-hidden="true">
4775
+ <span class="icon ${this.hasIcon ? "has-icon" : ""}">
4228
4776
  <slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
4229
4777
  </span>
4230
4778
  ${this.heading}
@@ -4238,7 +4786,7 @@ let re = class extends h {
4238
4786
  `;
4239
4787
  }
4240
4788
  };
4241
- re.styles = d`
4789
+ ce.styles = d`
4242
4790
  :host {
4243
4791
  display: block;
4244
4792
  font-family: var(--vox-font-family-base);
@@ -4299,26 +4847,26 @@ re.styles = d`
4299
4847
  color: var(--vox-color-text-2);
4300
4848
  }
4301
4849
  `;
4302
- He([
4850
+ Ue([
4303
4851
  n()
4304
- ], re.prototype, "href", 2);
4305
- He([
4852
+ ], ce.prototype, "href", 2);
4853
+ Ue([
4306
4854
  n()
4307
- ], re.prototype, "heading", 2);
4308
- re = He([
4855
+ ], ce.prototype, "heading", 2);
4856
+ ce = Ue([
4309
4857
  p("vox-link-hub-item")
4310
- ], re);
4311
- var Ro = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, rt = (o, t, a, r) => {
4312
- for (var e = r > 1 ? void 0 : r ? Zo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4858
+ ], ce);
4859
+ var _r = Object.defineProperty, Cr = Object.getOwnPropertyDescriptor, ut = (o, t, a, r) => {
4860
+ for (var e = r > 1 ? void 0 : r ? Cr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4313
4861
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4314
- return r && e && Ro(t, a, e), e;
4862
+ return r && e && _r(t, a, e), e;
4315
4863
  };
4316
- let ae = class extends h {
4864
+ let de = class extends h {
4317
4865
  constructor() {
4318
4866
  super(...arguments), this.size = "md", this.label = "Loading";
4319
4867
  }
4320
4868
  render() {
4321
- return c`
4869
+ return l`
4322
4870
  <div role="status">
4323
4871
  <div class="spinner"></div>
4324
4872
  <span class="visually-hidden">${this.label}</span>
@@ -4326,7 +4874,7 @@ let ae = class extends h {
4326
4874
  `;
4327
4875
  }
4328
4876
  };
4329
- ae.styles = d`
4877
+ de.styles = d`
4330
4878
  :host {
4331
4879
  display: inline-block;
4332
4880
  }
@@ -4379,33 +4927,33 @@ ae.styles = d`
4379
4927
  white-space: nowrap;
4380
4928
  }
4381
4929
  `;
4382
- rt([
4930
+ ut([
4383
4931
  n({ reflect: !0 })
4384
- ], ae.prototype, "size", 2);
4385
- rt([
4932
+ ], de.prototype, "size", 2);
4933
+ ut([
4386
4934
  n()
4387
- ], ae.prototype, "label", 2);
4388
- ae = rt([
4935
+ ], de.prototype, "label", 2);
4936
+ de = ut([
4389
4937
  p("vox-loader")
4390
- ], ae);
4391
- var Uo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, gt = (o, t, a, r) => {
4392
- for (var e = r > 1 ? void 0 : r ? Ko(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4938
+ ], de);
4939
+ var Mr = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, St = (o, t, a, r) => {
4940
+ for (var e = r > 1 ? void 0 : r ? Or(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4393
4941
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4394
- return r && e && Uo(t, a, e), e;
4942
+ return r && e && Mr(t, a, e), e;
4395
4943
  };
4396
- let ke = class extends h {
4944
+ let He = class extends h {
4397
4945
  constructor() {
4398
4946
  super(...arguments), this.label = "Pagination";
4399
4947
  }
4400
4948
  render() {
4401
- return c`
4949
+ return l`
4402
4950
  <nav aria-label=${this.label}>
4403
4951
  <slot></slot>
4404
4952
  </nav>
4405
4953
  `;
4406
4954
  }
4407
4955
  };
4408
- ke.styles = d`
4956
+ He.styles = d`
4409
4957
  :host {
4410
4958
  display: block;
4411
4959
  font-family: var(--vox-font-family-base);
@@ -4417,8 +4965,7 @@ ke.styles = d`
4417
4965
  flex-wrap: wrap;
4418
4966
  }
4419
4967
 
4420
- ::slotted(a),
4421
- ::slotted(span) {
4968
+ ::slotted(a) {
4422
4969
  display: inline-flex;
4423
4970
  align-items: center;
4424
4971
  justify-content: center;
@@ -4440,42 +4987,42 @@ ke.styles = d`
4440
4987
  background-color: var(--vox-color-brand-soft);
4441
4988
  }
4442
4989
 
4443
- ::slotted([aria-current='page']) {
4990
+ ::slotted(a[aria-current='page']) {
4444
4991
  background-color: var(--vox-color-brand-3);
4445
4992
  color: var(--vox-color-text-inverse);
4446
4993
  font-weight: 600;
4447
4994
  }
4448
4995
  `;
4449
- gt([
4996
+ St([
4450
4997
  n()
4451
- ], ke.prototype, "label", 2);
4452
- ke = gt([
4998
+ ], He.prototype, "label", 2);
4999
+ He = St([
4453
5000
  p("vox-pagination")
4454
- ], ke);
4455
- var Go = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, at = (o, t, a, r) => {
4456
- for (var e = r > 1 ? void 0 : r ? Xo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5001
+ ], He);
5002
+ var kr = Object.defineProperty, Lr = Object.getOwnPropertyDescriptor, ft = (o, t, a, r) => {
5003
+ for (var e = r > 1 ? void 0 : r ? Lr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4457
5004
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4458
- return r && e && Go(t, a, e), e;
5005
+ return r && e && kr(t, a, e), e;
4459
5006
  };
4460
- let se = class extends h {
5007
+ let pe = class extends h {
4461
5008
  constructor() {
4462
5009
  super(...arguments), this.attribution = "", this.detail = "";
4463
5010
  }
4464
5011
  render() {
4465
- return c`
5012
+ return l`
4466
5013
  <blockquote>
4467
5014
  <div class="text"><slot></slot></div>
4468
- ${this.attribution ? c`
5015
+ ${this.attribution ? l`
4469
5016
  <footer>
4470
5017
  <span class="attribution">${this.attribution}</span>
4471
- ${this.detail ? c`<span class="detail"> — ${this.detail}</span>` : v}
5018
+ ${this.detail ? l`<span class="detail"> — ${this.detail}</span>` : v}
4472
5019
  </footer>
4473
5020
  ` : v}
4474
5021
  </blockquote>
4475
5022
  `;
4476
5023
  }
4477
5024
  };
4478
- se.styles = d`
5025
+ pe.styles = d`
4479
5026
  :host {
4480
5027
  display: block;
4481
5028
  font-family: var(--vox-font-family-base);
@@ -4517,21 +5064,21 @@ se.styles = d`
4517
5064
  color: var(--vox-color-text-2);
4518
5065
  }
4519
5066
  `;
4520
- at([
5067
+ ft([
4521
5068
  n()
4522
- ], se.prototype, "attribution", 2);
4523
- at([
5069
+ ], pe.prototype, "attribution", 2);
5070
+ ft([
4524
5071
  n()
4525
- ], se.prototype, "detail", 2);
4526
- se = at([
5072
+ ], pe.prototype, "detail", 2);
5073
+ pe = ft([
4527
5074
  p("vox-quote")
4528
- ], se);
4529
- var Qo = Object.defineProperty, Wo = Object.getOwnPropertyDescriptor, D = (o, t, a, r) => {
4530
- for (var e = r > 1 ? void 0 : r ? Wo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5075
+ ], pe);
5076
+ var Pr = Object.defineProperty, Vr = Object.getOwnPropertyDescriptor, S = (o, t, a, r) => {
5077
+ for (var e = r > 1 ? void 0 : r ? Vr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4531
5078
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4532
- return r && e && Qo(t, a, e), e;
5079
+ return r && e && Pr(t, a, e), e;
4533
5080
  };
4534
- let Le = class extends h {
5081
+ let Be = class extends h {
4535
5082
  constructor() {
4536
5083
  super(...arguments), this.heading = "", this.hasDescription = !1;
4537
5084
  }
@@ -4540,7 +5087,7 @@ let Le = class extends h {
4540
5087
  this.hasDescription = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
4541
5088
  }
4542
5089
  render() {
4543
- return c`
5090
+ return l`
4544
5091
  <h2 class="heading">${this.heading}</h2>
4545
5092
  <div class="description ${this.hasDescription ? "has-content" : ""}">
4546
5093
  <slot
@@ -4554,7 +5101,7 @@ let Le = class extends h {
4554
5101
  `;
4555
5102
  }
4556
5103
  };
4557
- Le.styles = d`
5104
+ Be.styles = d`
4558
5105
  :host {
4559
5106
  display: block;
4560
5107
  font-family: var(--vox-font-family-base);
@@ -4586,12 +5133,12 @@ Le.styles = d`
4586
5133
  margin-top: var(--vox-space-6);
4587
5134
  }
4588
5135
  `;
4589
- D([
5136
+ S([
4590
5137
  n()
4591
- ], Le.prototype, "heading", 2);
4592
- Le = D([
5138
+ ], Be.prototype, "heading", 2);
5139
+ Be = S([
4593
5140
  p("vox-sponsor-tier")
4594
- ], Le);
5141
+ ], Be);
4595
5142
  let P = class extends h {
4596
5143
  constructor() {
4597
5144
  super(...arguments), this.name = "", this.hasBody = !1;
@@ -4601,21 +5148,21 @@ let P = class extends h {
4601
5148
  this.hasBody = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
4602
5149
  }
4603
5150
  render() {
4604
- const o = c`
5151
+ const o = l`
4605
5152
  <div class="logo ${this.logo ? "has-logo" : ""}">
4606
- ${this.logo ? c`<img src=${this.logo} alt=${this.name} />` : v}
5153
+ ${this.logo ? l`<img src=${this.logo} alt=${this.name} />` : v}
4607
5154
  </div>
4608
5155
  <span class="name">${this.name}</span>
4609
5156
  <div class="body ${this.hasBody ? "has-content" : ""}">
4610
5157
  <slot @slotchange=${this.handleBodySlotChange}></slot>
4611
5158
  </div>
4612
5159
  `;
4613
- return this.href !== void 0 ? c`<a
5160
+ return this.href !== void 0 ? l`<a
4614
5161
  class="sponsor"
4615
5162
  href=${this.href}
4616
5163
  target=${this.target ?? v}
4617
5164
  >${o}</a
4618
- >` : c`<div class="sponsor">${o}</div>`;
5165
+ >` : l`<div class="sponsor">${o}</div>`;
4619
5166
  }
4620
5167
  };
4621
5168
  P.styles = d`
@@ -4684,39 +5231,39 @@ P.styles = d`
4684
5231
  display: none;
4685
5232
  }
4686
5233
  `;
4687
- D([
5234
+ S([
4688
5235
  n()
4689
5236
  ], P.prototype, "name", 2);
4690
- D([
5237
+ S([
4691
5238
  n()
4692
5239
  ], P.prototype, "href", 2);
4693
- D([
5240
+ S([
4694
5241
  n()
4695
5242
  ], P.prototype, "logo", 2);
4696
- D([
5243
+ S([
4697
5244
  n()
4698
5245
  ], P.prototype, "target", 2);
4699
- P = D([
5246
+ P = S([
4700
5247
  p("vox-sponsor")
4701
5248
  ], P);
4702
- var Yo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, st = (o, t, a, r) => {
4703
- for (var e = r > 1 ? void 0 : r ? Jo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5249
+ var jr = Object.defineProperty, zr = Object.getOwnPropertyDescriptor, gt = (o, t, a, r) => {
5250
+ for (var e = r > 1 ? void 0 : r ? zr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4704
5251
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4705
- return r && e && Yo(t, a, e), e;
5252
+ return r && e && jr(t, a, e), e;
4706
5253
  };
4707
- let ie = class extends h {
5254
+ let he = class extends h {
4708
5255
  constructor() {
4709
5256
  super(...arguments), this.value = "", this.label = "";
4710
5257
  }
4711
5258
  render() {
4712
- return c`
5259
+ return l`
4713
5260
  <div class="value">${this.value}</div>
4714
5261
  <div class="label">${this.label}</div>
4715
5262
  <div class="description"><slot></slot></div>
4716
5263
  `;
4717
5264
  }
4718
5265
  };
4719
- ie.styles = d`
5266
+ he.styles = d`
4720
5267
  :host {
4721
5268
  display: block;
4722
5269
  font-family: var(--vox-font-family-base);
@@ -4743,35 +5290,35 @@ ie.styles = d`
4743
5290
  color: var(--vox-color-text-2);
4744
5291
  }
4745
5292
  `;
4746
- st([
5293
+ gt([
4747
5294
  n()
4748
- ], ie.prototype, "value", 2);
4749
- st([
5295
+ ], he.prototype, "value", 2);
5296
+ gt([
4750
5297
  n()
4751
- ], ie.prototype, "label", 2);
4752
- ie = st([
5298
+ ], he.prototype, "label", 2);
5299
+ he = gt([
4753
5300
  p("vox-stat")
4754
- ], ie);
4755
- var er = Object.defineProperty, tr = Object.getOwnPropertyDescriptor, ge = (o, t, a, r) => {
4756
- for (var e = r > 1 ? void 0 : r ? tr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5301
+ ], he);
5302
+ var Dr = Object.defineProperty, Sr = Object.getOwnPropertyDescriptor, Ce = (o, t, a, r) => {
5303
+ for (var e = r > 1 ? void 0 : r ? Sr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4757
5304
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4758
- return r && e && er(t, a, e), e;
5305
+ return r && e && Dr(t, a, e), e;
4759
5306
  };
4760
- let Fe = class extends h {
5307
+ let tt = class extends h {
4761
5308
  numberSteps() {
4762
5309
  this.querySelectorAll("vox-step").forEach((o, t) => {
4763
5310
  o.number = t + 1;
4764
5311
  });
4765
5312
  }
4766
5313
  render() {
4767
- return c`
5314
+ return l`
4768
5315
  <div class="steps" role="list" aria-label="Progress">
4769
5316
  <slot @slotchange=${this.numberSteps}></slot>
4770
5317
  </div>
4771
5318
  `;
4772
5319
  }
4773
5320
  };
4774
- Fe.styles = d`
5321
+ tt.styles = d`
4775
5322
  :host {
4776
5323
  display: block;
4777
5324
  }
@@ -4785,34 +5332,31 @@ Fe.styles = d`
4785
5332
  flex: 1 1 0;
4786
5333
  }
4787
5334
  `;
4788
- Fe = ge([
5335
+ tt = Ce([
4789
5336
  p("vox-step-indicator")
4790
- ], Fe);
4791
- let q = class extends h {
5337
+ ], tt);
5338
+ let R = class extends h {
4792
5339
  constructor() {
4793
5340
  super(...arguments), this.label = "", this.state = "upcoming", this.number = 1;
4794
5341
  }
4795
5342
  render() {
4796
- return c`
5343
+ return l`
4797
5344
  <div
4798
5345
  class="step"
4799
5346
  role="listitem"
4800
5347
  aria-current=${this.state === "current" ? "step" : "false"}
4801
5348
  >
4802
5349
  <span class="marker">
4803
- ${this.state === "complete" ? c`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
5350
+ ${this.state === "complete" ? l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
4804
5351
  <path d="m4 12 5 5L20 6" />
4805
5352
  </svg>` : this.number}
4806
5353
  </span>
4807
- <span class="label">
4808
- ${this.label}
4809
- ${this.state !== "current" ? c`<span class="visually-hidden"> (${this.state})</span>` : v}
4810
- </span>
5354
+ <span class="label">${this.label}</span>
4811
5355
  </div>
4812
5356
  `;
4813
5357
  }
4814
5358
  };
4815
- q.styles = d`
5359
+ R.styles = d`
4816
5360
  :host {
4817
5361
  display: block;
4818
5362
  font-family: var(--vox-font-family-base);
@@ -4885,62 +5429,53 @@ q.styles = d`
4885
5429
  font-weight: 600;
4886
5430
  color: var(--vox-color-text-1);
4887
5431
  }
4888
-
4889
- .visually-hidden {
4890
- position: absolute;
4891
- width: 1px;
4892
- height: 1px;
4893
- overflow: hidden;
4894
- clip: rect(0 0 0 0);
4895
- white-space: nowrap;
4896
- }
4897
5432
  `;
4898
- ge([
5433
+ Ce([
4899
5434
  n()
4900
- ], q.prototype, "label", 2);
4901
- ge([
5435
+ ], R.prototype, "label", 2);
5436
+ Ce([
4902
5437
  n({ reflect: !0 })
4903
- ], q.prototype, "state", 2);
4904
- ge([
5438
+ ], R.prototype, "state", 2);
5439
+ Ce([
4905
5440
  n({ type: Number })
4906
- ], q.prototype, "number", 2);
4907
- q = ge([
5441
+ ], R.prototype, "number", 2);
5442
+ R = Ce([
4908
5443
  p("vox-step")
4909
- ], q);
4910
- var or = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, Se = (o, t, a, r) => {
4911
- for (var e = r > 1 ? void 0 : r ? rr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5444
+ ], R);
5445
+ var Er = Object.defineProperty, Ar = Object.getOwnPropertyDescriptor, Ke = (o, t, a, r) => {
5446
+ for (var e = r > 1 ? void 0 : r ? Ar(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4912
5447
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4913
- return r && e && or(t, a, e), e;
5448
+ return r && e && Er(t, a, e), e;
4914
5449
  };
4915
- let Re = class extends h {
5450
+ let ot = class extends h {
4916
5451
  render() {
4917
- return c`<slot></slot>`;
5452
+ return l`<slot></slot>`;
4918
5453
  }
4919
5454
  };
4920
- Re.styles = d`
5455
+ ot.styles = d`
4921
5456
  :host {
4922
5457
  display: block;
4923
5458
  }
4924
5459
  `;
4925
- Re = Se([
5460
+ ot = Ke([
4926
5461
  p("vox-timeline")
4927
- ], Re);
4928
- let ne = class extends h {
5462
+ ], ot);
5463
+ let ve = class extends h {
4929
5464
  constructor() {
4930
5465
  super(...arguments), this.heading = "", this.date = "";
4931
5466
  }
4932
5467
  render() {
4933
- return c`
5468
+ return l`
4934
5469
  <div class="item">
4935
5470
  <span class="dot" aria-hidden="true"></span>
4936
- ${this.date ? c`<div class="date">${this.date}</div>` : v}
5471
+ ${this.date ? l`<div class="date">${this.date}</div>` : v}
4937
5472
  <h3 class="heading">${this.heading}</h3>
4938
5473
  <div class="body"><slot></slot></div>
4939
5474
  </div>
4940
5475
  `;
4941
5476
  }
4942
5477
  };
4943
- ne.styles = d`
5478
+ ve.styles = d`
4944
5479
  :host {
4945
5480
  display: block;
4946
5481
  font-family: var(--vox-font-family-base);
@@ -4990,69 +5525,70 @@ ne.styles = d`
4990
5525
  color: var(--vox-color-text-2);
4991
5526
  }
4992
5527
  `;
4993
- Se([
5528
+ Ke([
4994
5529
  n()
4995
- ], ne.prototype, "heading", 2);
4996
- Se([
5530
+ ], ve.prototype, "heading", 2);
5531
+ Ke([
4997
5532
  n()
4998
- ], ne.prototype, "date", 2);
4999
- ne = Se([
5533
+ ], ve.prototype, "date", 2);
5534
+ ve = Ke([
5000
5535
  p("vox-timeline-item")
5001
- ], ne);
5536
+ ], ve);
5002
5537
  export {
5003
- $e as VoxAccordion,
5004
- k as VoxAccordionItem,
5538
+ ze as VoxAccordion,
5539
+ se as VoxAccordionItem,
5005
5540
  L as VoxAlert,
5006
- $ as VoxAvatar,
5007
- _e as VoxBadge,
5008
- G as VoxBillboard,
5009
- Be as VoxBreadcrumbs,
5541
+ M as VoxAvatar,
5542
+ De as VoxBadge,
5543
+ W as VoxBillboard,
5544
+ Xe as VoxBreadcrumbs,
5010
5545
  g as VoxButton,
5011
- ee as VoxCalendarTile,
5012
- te as VoxCallout,
5013
- I as VoxCard,
5014
- Z as VoxCheckbox,
5015
- R as VoxCta,
5016
- Ce as VoxCtaBand,
5017
- O as VoxDialog,
5018
- M as VoxDisclosure,
5019
- J as VoxDropdown,
5020
- Oe as VoxEmptyState,
5021
- b as VoxFileInput,
5022
- Ne as VoxFooter,
5023
- Me as VoxFooterColumn,
5024
- B as VoxGrid,
5025
- S as VoxHeader,
5026
- oe as VoxHero,
5027
- E as VoxIcon,
5028
- m as VoxInput,
5029
- Ie as VoxInputGroup,
5030
- Te as VoxLinkHub,
5031
- re as VoxLinkHubItem,
5032
- ae as VoxLoader,
5033
- ke as VoxPagination,
5034
- se as VoxQuote,
5035
- H as VoxRadio,
5036
- me as VoxRadioGroup,
5037
- U as VoxSelect,
5038
- _ as VoxSeriesNav,
5039
- A as VoxSidenav,
5040
- C as VoxSidenavGroup,
5041
- X as VoxSidenavItem,
5546
+ ie as VoxCalendarTile,
5547
+ ne as VoxCallout,
5548
+ q as VoxCard,
5549
+ G as VoxCheckbox,
5550
+ u as VoxCodeBlock,
5551
+ K as VoxCta,
5552
+ Se as VoxCtaBand,
5553
+ k as VoxDialog,
5554
+ re as VoxDisclosure,
5555
+ ae as VoxDropdown,
5556
+ Ee as VoxEmptyState,
5557
+ m as VoxFileInput,
5558
+ Qe as VoxFooter,
5559
+ Ae as VoxFooterColumn,
5560
+ I as VoxGrid,
5561
+ N as VoxHeader,
5562
+ le as VoxHero,
5563
+ H as VoxIcon,
5564
+ w as VoxInput,
5565
+ Ye as VoxInputGroup,
5566
+ et as VoxLinkHub,
5567
+ ce as VoxLinkHubItem,
5568
+ de as VoxLoader,
5569
+ He as VoxPagination,
5570
+ pe as VoxQuote,
5571
+ B as VoxRadio,
5572
+ Pe as VoxRadioGroup,
5573
+ Y as VoxSelect,
5574
+ O as VoxSeriesNav,
5575
+ T as VoxSidenav,
5576
+ J as VoxSidenavGroup,
5577
+ Q as VoxSidenavItem,
5042
5578
  P as VoxSponsor,
5043
- Le as VoxSponsorTier,
5044
- ie as VoxStat,
5045
- q as VoxStep,
5046
- Fe as VoxStepIndicator,
5047
- ye as VoxSubnav,
5048
- K as VoxSwitch,
5049
- Q as VoxTab,
5050
- W as VoxTabPanel,
5051
- qe as VoxTabs,
5052
- w as VoxTextarea,
5053
- z as VoxThemeToggle,
5054
- Re as VoxTimeline,
5055
- ne as VoxTimelineItem,
5056
- we as VoxToc,
5057
- Y as VoxTocItem
5579
+ Be as VoxSponsorTier,
5580
+ he as VoxStat,
5581
+ R as VoxStep,
5582
+ tt as VoxStepIndicator,
5583
+ Ve as VoxSubnav,
5584
+ X as VoxSwitch,
5585
+ ee as VoxTab,
5586
+ te as VoxTabPanel,
5587
+ We as VoxTabs,
5588
+ C as VoxTextarea,
5589
+ A as VoxThemeToggle,
5590
+ ot as VoxTimeline,
5591
+ ve as VoxTimelineItem,
5592
+ je as VoxToc,
5593
+ oe as VoxTocItem
5058
5594
  };