@openvoxproject/voxblocks 0.12.0 → 0.15.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.
package/dist/voxblocks.js CHANGED
@@ -1,19 +1,19 @@
1
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--)
2
+ import { property as n, customElement as p, state as $, query as J } from "lit/decorators.js";
3
+ import { classMap as Vt } from "lit/directives/class-map.js";
4
+ import { ifDefined as u } from "lit/directives/if-defined.js";
5
+ import { live as Fe } from "lit/directives/live.js";
6
+ var qt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, B = (o, t, a, r) => {
7
+ for (var e = r > 1 ? void 0 : r ? Nt(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 && At(t, a, e), e;
9
+ return r && e && qt(t, a, e), e;
10
10
  };
11
- let g = class extends h {
11
+ let C = 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 = Et({
16
+ const o = Vt({
17
17
  button: !0,
18
18
  [this.variant]: !0,
19
19
  [this.size]: !0
@@ -22,8 +22,8 @@ let g = class extends h {
22
22
  <a
23
23
  class=${o}
24
24
  href=${this.href}
25
- target=${E(this.target)}
26
- rel=${E(this.target === "_blank" ? "noreferrer" : void 0)}
25
+ target=${u(this.target)}
26
+ rel=${u(this.target === "_blank" ? "noreferrer" : void 0)}
27
27
  >
28
28
  <slot></slot>
29
29
  </a>
@@ -34,7 +34,7 @@ let g = class extends h {
34
34
  `;
35
35
  }
36
36
  };
37
- g.styles = d`
37
+ C.styles = d`
38
38
  :host {
39
39
  display: inline-block;
40
40
  }
@@ -142,33 +142,33 @@ g.styles = d`
142
142
  border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
143
143
  }
144
144
  `;
145
- V([
145
+ B([
146
146
  n()
147
- ], g.prototype, "variant", 2);
148
- V([
147
+ ], C.prototype, "variant", 2);
148
+ B([
149
149
  n()
150
- ], g.prototype, "size", 2);
151
- V([
150
+ ], C.prototype, "size", 2);
151
+ B([
152
152
  n()
153
- ], g.prototype, "href", 2);
154
- V([
153
+ ], C.prototype, "href", 2);
154
+ B([
155
155
  n()
156
- ], g.prototype, "target", 2);
157
- V([
156
+ ], C.prototype, "target", 2);
157
+ B([
158
158
  n()
159
- ], g.prototype, "type", 2);
160
- V([
159
+ ], C.prototype, "type", 2);
160
+ B([
161
161
  n({ type: Boolean, reflect: !0 })
162
- ], g.prototype, "disabled", 2);
163
- g = V([
162
+ ], C.prototype, "disabled", 2);
163
+ C = B([
164
164
  p("vox-button")
165
- ], g);
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--)
165
+ ], C);
166
+ var Tt = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, dt = (o, t, a, r) => {
167
+ for (var e = r > 1 ? void 0 : r ? Rt(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 && Bt(t, a, e), e;
169
+ return r && e && Tt(t, a, e), e;
170
170
  };
171
- let K = class extends h {
171
+ let te = class extends h {
172
172
  constructor() {
173
173
  super(...arguments), this.href = "#";
174
174
  }
@@ -184,7 +184,7 @@ let K = class extends h {
184
184
  `;
185
185
  }
186
186
  };
187
- K.styles = d`
187
+ te.styles = d`
188
188
  :host {
189
189
  display: inline-block;
190
190
  font-family: var(--vox-font-family-base);
@@ -221,31 +221,31 @@ K.styles = d`
221
221
  transform: translateX(3px);
222
222
  }
223
223
  `;
224
- at([
224
+ dt([
225
225
  n()
226
- ], K.prototype, "href", 2);
227
- at([
226
+ ], te.prototype, "href", 2);
227
+ dt([
228
228
  n()
229
- ], K.prototype, "target", 2);
230
- K = at([
229
+ ], te.prototype, "target", 2);
230
+ te = dt([
231
231
  p("vox-cta")
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--)
232
+ ], te);
233
+ var Zt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, Ke = (o, t, a, r) => {
234
+ for (var e = r > 1 ? void 0 : r ? Ft(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 && Tt(t, a, e), e;
236
+ return r && e && Zt(t, a, e), e;
237
237
  };
238
- const yt = "vox-theme", Oe = "data-vox-theme";
239
- let A = class extends h {
238
+ const Ct = "vox-theme", je = "data-vox-theme";
239
+ let Z = 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(yt) || document.documentElement.setAttribute(Oe, o.matches ? "dark" : "light");
242
+ localStorage.getItem(Ct) || document.documentElement.setAttribute(je, 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: [Oe]
248
+ attributeFilter: [je]
249
249
  }), this.media.addEventListener("change", this.handleSystemChange);
250
250
  }
251
251
  disconnectedCallback() {
@@ -253,12 +253,12 @@ let A = 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(Oe) === "dark";
256
+ const o = document.documentElement.getAttribute(je) === "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(Oe, o), localStorage.setItem(yt, o), this.dispatchEvent(
261
+ document.documentElement.setAttribute(je, o), localStorage.setItem(Ct, o), this.dispatchEvent(
262
262
  new CustomEvent("vox-theme-change", {
263
263
  detail: { theme: o },
264
264
  bubbles: !0,
@@ -291,7 +291,7 @@ let A = class extends h {
291
291
  `;
292
292
  }
293
293
  };
294
- A.styles = d`
294
+ Z.styles = d`
295
295
  :host {
296
296
  display: inline-flex;
297
297
  }
@@ -350,19 +350,19 @@ A.styles = d`
350
350
  transform: translateX(20px);
351
351
  }
352
352
  `;
353
- Ne([
353
+ Ke([
354
354
  n({ attribute: "light-label" })
355
- ], A.prototype, "lightLabel", 2);
356
- Ne([
355
+ ], Z.prototype, "lightLabel", 2);
356
+ Ke([
357
357
  n({ attribute: "dark-label" })
358
- ], A.prototype, "darkLabel", 2);
359
- Ne([
360
- Z()
361
- ], A.prototype, "dark", 2);
362
- A = Ne([
358
+ ], Z.prototype, "darkLabel", 2);
359
+ Ke([
360
+ $()
361
+ ], Z.prototype, "dark", 2);
362
+ Z = Ke([
363
363
  p("vox-theme-toggle")
364
- ], A);
365
- const y = {
364
+ ], Z);
365
+ const O = {
366
366
  // Phase 1: shared UI baseline -----------------------------------------
367
367
  search: c`<circle cx="21" cy="21" r="13"/><path d="M30.5 30.5 L41 41"/>`,
368
368
  close: c`<path d="M14 14 L34 34 M34 14 L14 34"/>`,
@@ -450,17 +450,17 @@ const y = {
450
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
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 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--)
453
+ var Kt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, Ue = (o, t, a, r) => {
454
+ for (var e = r > 1 ? void 0 : r ? Ut(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 && It(t, a, e), e;
456
+ return r && e && Kt(t, a, e), e;
457
457
  };
458
- let H = class extends h {
458
+ let F = class extends h {
459
459
  constructor() {
460
460
  super(...arguments), this.name = "info", this.size = "md";
461
461
  }
462
462
  render() {
463
- const o = y[this.name];
463
+ const o = O[this.name];
464
464
  return o ? l`
465
465
  <svg
466
466
  viewBox="0 0 48 48"
@@ -478,7 +478,7 @@ let H = class extends h {
478
478
  ` : v;
479
479
  }
480
480
  };
481
- H.styles = d`
481
+ F.styles = d`
482
482
  :host {
483
483
  display: inline-flex;
484
484
  flex: none;
@@ -509,24 +509,24 @@ H.styles = d`
509
509
  height: 48px;
510
510
  }
511
511
  `;
512
- Te([
512
+ Ue([
513
513
  n()
514
- ], H.prototype, "name", 2);
515
- Te([
514
+ ], F.prototype, "name", 2);
515
+ Ue([
516
516
  n({ reflect: !0 })
517
- ], H.prototype, "size", 2);
518
- Te([
517
+ ], F.prototype, "size", 2);
518
+ Ue([
519
519
  n()
520
- ], H.prototype, "label", 2);
521
- H = Te([
520
+ ], F.prototype, "label", 2);
521
+ F = Ue([
522
522
  p("vox-icon")
523
- ], H);
524
- var Zt = Object.defineProperty, xe = (o, t, a, r) => {
523
+ ], F);
524
+ var Gt = Object.defineProperty, we = (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 && Zt(t, a, e), e;
527
+ return e && Gt(t, a, e), e;
528
528
  };
529
- const bt = class bt extends h {
529
+ const _t = class _t extends h {
530
530
  constructor() {
531
531
  super(), this.name = "", this.label = "", this.note = "", this.disabled = !1, this.required = !1, this.internals = this.attachInternals();
532
532
  }
@@ -560,24 +560,24 @@ const bt = class bt extends h {
560
560
  return this.note ? l`<p class="note">${this.note}</p>` : v;
561
561
  }
562
562
  };
563
- bt.formAssociated = !0;
564
- let x = bt;
565
- xe([
563
+ _t.formAssociated = !0;
564
+ let x = _t;
565
+ we([
566
566
  n()
567
567
  ], x.prototype, "name");
568
- xe([
568
+ we([
569
569
  n()
570
570
  ], x.prototype, "label");
571
- xe([
571
+ we([
572
572
  n()
573
573
  ], x.prototype, "note");
574
- xe([
574
+ we([
575
575
  n({ type: Boolean, reflect: !0 })
576
576
  ], x.prototype, "disabled");
577
- xe([
577
+ we([
578
578
  n({ type: Boolean, reflect: !0 })
579
579
  ], x.prototype, "required");
580
- const ue = d`
580
+ const I = d`
581
581
  :host {
582
582
  display: block;
583
583
  font-family: var(--vox-font-family-base);
@@ -644,7 +644,7 @@ const ue = d`
644
644
  :host([data-vox-group='end']) .control {
645
645
  border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
646
646
  }
647
- `, Ot = d`
647
+ `, zt = d`
648
648
  :host {
649
649
  display: block;
650
650
  font-family: var(--vox-font-family-base);
@@ -673,12 +673,12 @@ const ue = d`
673
673
  margin: 0;
674
674
  }
675
675
  `;
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--)
676
+ var Yt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, pt = (o, t, a, r) => {
677
+ for (var e = r > 1 ? void 0 : r ? Wt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
678
678
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
679
- return r && e && Ft(t, a, e), e;
679
+ return r && e && Yt(t, a, e), e;
680
680
  };
681
- let G = class extends x {
681
+ let oe = class extends x {
682
682
  constructor() {
683
683
  super(...arguments), this.checked = !1, this.value = "on";
684
684
  }
@@ -714,8 +714,8 @@ let G = class extends x {
714
714
  `;
715
715
  }
716
716
  };
717
- G.styles = [
718
- Ot,
717
+ oe.styles = [
718
+ zt,
719
719
  d`
720
720
  .box {
721
721
  flex: none;
@@ -755,21 +755,320 @@ G.styles = [
755
755
  }
756
756
  `
757
757
  ];
758
- st([
758
+ pt([
759
759
  n({ type: Boolean, reflect: !0 })
760
- ], G.prototype, "checked", 2);
761
- st([
760
+ ], oe.prototype, "checked", 2);
761
+ pt([
762
762
  n()
763
- ], G.prototype, "value", 2);
764
- G = st([
763
+ ], oe.prototype, "value", 2);
764
+ oe = pt([
765
765
  p("vox-checkbox")
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--)
766
+ ], oe);
767
+ var Xt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, m = (o, t, a, r) => {
768
+ for (var e = r > 1 ? void 0 : r ? Jt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
769
769
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
770
- return r && e && Kt(t, a, e), e;
770
+ return r && e && Xt(t, a, e), e;
771
+ };
772
+ let g = class extends x {
773
+ constructor() {
774
+ super(...arguments), this.value = "", this.allowCustom = !1, this.emptyText = "No matches", this.query = "", this.open = !1, this.activeIndex = -1, this.options = [];
775
+ }
776
+ get filtered() {
777
+ const o = this.query.trim().toLowerCase();
778
+ return !o || o === this.selectedLabel.toLowerCase() ? this.options : this.options.filter((t) => t.label.toLowerCase().includes(o));
779
+ }
780
+ get selectedLabel() {
781
+ var o;
782
+ return ((o = this.options.find((t) => t.value === this.value)) == null ? void 0 : o.label) ?? "";
783
+ }
784
+ willUpdate(o) {
785
+ var t;
786
+ o.has("value") && ((t = this.shadowRoot) == null ? void 0 : t.activeElement) === null && (this.query = this.selectedLabel);
787
+ }
788
+ formResetCallback() {
789
+ this.value = "", this.query = "", this.close();
790
+ }
791
+ updated() {
792
+ this.internals.setFormValue(this.value || null), this.internals.setValidity(
793
+ this.required && !this.value ? { valueMissing: !0 } : {},
794
+ "Please select an option.",
795
+ this.inputEl
796
+ );
797
+ }
798
+ focus(o) {
799
+ var t;
800
+ (t = this.inputEl) == null || t.focus(o);
801
+ }
802
+ readOptions() {
803
+ this.options = [...this.querySelectorAll("option")].map((o) => {
804
+ var t;
805
+ return {
806
+ value: o.value,
807
+ label: ((t = o.textContent) == null ? void 0 : t.trim()) ?? "",
808
+ disabled: o.disabled
809
+ };
810
+ }), this.value && !this.query && (this.query = this.selectedLabel);
811
+ }
812
+ openList() {
813
+ if (this.open || this.disabled) return;
814
+ this.open = !0;
815
+ const o = this.filtered.findIndex((t) => t.value === this.value);
816
+ this.activeIndex = o;
817
+ }
818
+ close() {
819
+ this.open = !1, this.activeIndex = -1;
820
+ }
821
+ select(o) {
822
+ o.disabled || (this.value = o.value, this.query = o.label, this.close(), this.dispatchEvent(new Event("change", { bubbles: !0 })));
823
+ }
824
+ moveActive(o) {
825
+ const t = this.filtered;
826
+ if (t.length === 0 || t.filter((e) => !e.disabled).length === 0) return;
827
+ let r = this.activeIndex;
828
+ for (let e = 0; e < t.length && (r = (r + o + t.length) % t.length, !!t[r].disabled); e++)
829
+ ;
830
+ this.activeIndex = r, this.scrollActiveIntoView();
831
+ }
832
+ scrollActiveIntoView() {
833
+ this.updateComplete.then(() => {
834
+ var o, t;
835
+ (t = (o = this.listboxEl) == null ? void 0 : o.querySelector("[data-active]")) == null || t.scrollIntoView({ block: "nearest" });
836
+ });
837
+ }
838
+ handleInput(o) {
839
+ this.query = o.target.value, this.openList(), this.activeIndex = -1, this.allowCustom && (this.value = this.query);
840
+ }
841
+ handleKeydown(o) {
842
+ switch (o.key) {
843
+ case "ArrowDown":
844
+ o.preventDefault(), this.open ? this.moveActive(1) : (this.openList(), this.activeIndex === -1 && this.moveActive(1));
845
+ break;
846
+ case "ArrowUp":
847
+ o.preventDefault(), this.open || (this.openList(), this.activeIndex = this.filtered.length), this.moveActive(-1);
848
+ break;
849
+ case "Home":
850
+ if (!this.open) return;
851
+ o.preventDefault(), this.activeIndex = -1, this.moveActive(1);
852
+ break;
853
+ case "End":
854
+ if (!this.open) return;
855
+ o.preventDefault(), this.activeIndex = this.filtered.length, this.moveActive(-1);
856
+ break;
857
+ case "Enter": {
858
+ if (!this.open) return;
859
+ const t = this.filtered[this.activeIndex];
860
+ t && (o.preventDefault(), this.select(t));
861
+ break;
862
+ }
863
+ case "Escape":
864
+ o.preventDefault(), this.open ? this.close() : (this.value || this.query) && (this.query = "", this.value = "", this.dispatchEvent(new Event("change", { bubbles: !0 })));
865
+ break;
866
+ case "Tab":
867
+ this.close();
868
+ break;
869
+ }
870
+ }
871
+ handleBlur() {
872
+ if (this.close(), !this.allowCustom) {
873
+ if (this.query === "") {
874
+ this.value && (this.value = "", this.dispatchEvent(new Event("change", { bubbles: !0 })));
875
+ return;
876
+ }
877
+ this.query = this.selectedLabel;
878
+ }
879
+ }
880
+ optionId(o) {
881
+ return `option-${o}`;
882
+ }
883
+ render() {
884
+ const o = this.filtered, t = this.open && this.activeIndex >= 0 ? this.optionId(this.activeIndex) : void 0;
885
+ return l`
886
+ <div class="field">
887
+ ${this.renderLabel("combobox")}
888
+ <div class="combo">
889
+ <input
890
+ id="combobox"
891
+ class="control"
892
+ type="text"
893
+ role="combobox"
894
+ .value=${Fe(this.query)}
895
+ placeholder=${u(this.placeholder)}
896
+ autocomplete="off"
897
+ aria-expanded=${this.open ? "true" : "false"}
898
+ aria-controls="listbox"
899
+ aria-autocomplete="list"
900
+ aria-activedescendant=${u(t)}
901
+ aria-label=${this.label ? v : "combobox"}
902
+ ?required=${this.required}
903
+ ?disabled=${this.disabled}
904
+ @input=${this.handleInput}
905
+ @keydown=${this.handleKeydown}
906
+ @blur=${this.handleBlur}
907
+ @mousedown=${this.openList}
908
+ />
909
+ <ul
910
+ class="listbox"
911
+ id="listbox"
912
+ role="listbox"
913
+ aria-label=${this.label || "options"}
914
+ ?hidden=${!this.open}
915
+ >
916
+ ${o.length === 0 ? l`<li class="empty" role="presentation">${this.emptyText}</li>` : o.map(
917
+ (a, r) => l`
918
+ <li
919
+ id=${this.optionId(r)}
920
+ class=${Vt({ option: !0 })}
921
+ role="option"
922
+ aria-selected=${a.value === this.value ? "true" : "false"}
923
+ aria-disabled=${a.disabled ? "true" : "false"}
924
+ ?data-active=${r === this.activeIndex}
925
+ @mousedown=${(e) => {
926
+ e.preventDefault(), this.select(a);
927
+ }}
928
+ >
929
+ ${a.label}
930
+ </li>
931
+ `
932
+ )}
933
+ </ul>
934
+ </div>
935
+ ${this.renderNote()}
936
+ <span class="sr-only" role="status" aria-live="polite">
937
+ ${this.open ? `${o.length} ${o.length === 1 ? "option" : "options"} available` : ""}
938
+ </span>
939
+ </div>
940
+ <div hidden><slot @slotchange=${this.readOptions}></slot></div>
941
+ `;
942
+ }
943
+ };
944
+ g.styles = [
945
+ I,
946
+ d`
947
+ /*
948
+ * The popup anchors to this shell, not to .field: an absolutely
949
+ * positioned child of a flex container takes its static position from
950
+ * the container's content-box origin, which would put it over the label.
951
+ */
952
+ .combo {
953
+ position: relative;
954
+ }
955
+
956
+ .control {
957
+ padding-right: var(--vox-space-8);
958
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
959
+ background-repeat: no-repeat;
960
+ background-position: right var(--vox-space-3) center;
961
+ }
962
+
963
+ .listbox {
964
+ position: absolute;
965
+ z-index: 20;
966
+ top: calc(100% + var(--vox-space-1));
967
+ left: 0;
968
+ right: 0;
969
+ margin: 0;
970
+ padding: var(--vox-space-1);
971
+ max-height: 15rem;
972
+ overflow-y: auto;
973
+ list-style: none;
974
+ background-color: var(--vox-color-bg-elv);
975
+ border: 1px solid var(--vox-color-border);
976
+ border-radius: var(--vox-radius-md);
977
+ box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
978
+ }
979
+
980
+ .option {
981
+ padding: var(--vox-space-2) var(--vox-space-3);
982
+ border-radius: var(--vox-radius-sm);
983
+ font-size: 14px;
984
+ line-height: 1.5;
985
+ color: var(--vox-color-text-1);
986
+ cursor: pointer;
987
+ }
988
+
989
+ /*
990
+ * Focus stays on the input, so the active option is styled rather than
991
+ * focused. Colour alone can't carry it (WCAG 1.4.1) — the selected
992
+ * option also gets a check mark.
993
+ */
994
+ .option[data-active] {
995
+ background-color: var(--vox-color-brand-soft);
996
+ outline: 2px solid var(--vox-color-brand-1);
997
+ outline-offset: -2px;
998
+ }
999
+
1000
+ .option[aria-selected='true'] {
1001
+ font-weight: 600;
1002
+ }
1003
+
1004
+ .option[aria-selected='true']::after {
1005
+ content: ' ✓';
1006
+ color: var(--vox-color-brand-1);
1007
+ }
1008
+
1009
+ .option[aria-disabled='true'] {
1010
+ color: var(--vox-color-text-3);
1011
+ cursor: not-allowed;
1012
+ }
1013
+
1014
+ .empty {
1015
+ padding: var(--vox-space-2) var(--vox-space-3);
1016
+ font-size: 14px;
1017
+ color: var(--vox-color-text-2);
1018
+ }
1019
+
1020
+ /* Announced, never shown. */
1021
+ .sr-only {
1022
+ position: absolute;
1023
+ width: 1px;
1024
+ height: 1px;
1025
+ padding: 0;
1026
+ margin: -1px;
1027
+ overflow: hidden;
1028
+ clip-path: inset(50%);
1029
+ white-space: nowrap;
1030
+ }
1031
+ `
1032
+ ];
1033
+ m([
1034
+ n()
1035
+ ], g.prototype, "value", 2);
1036
+ m([
1037
+ n()
1038
+ ], g.prototype, "placeholder", 2);
1039
+ m([
1040
+ n({ type: Boolean, attribute: "allow-custom" })
1041
+ ], g.prototype, "allowCustom", 2);
1042
+ m([
1043
+ n({ attribute: "empty-text" })
1044
+ ], g.prototype, "emptyText", 2);
1045
+ m([
1046
+ $()
1047
+ ], g.prototype, "query", 2);
1048
+ m([
1049
+ $()
1050
+ ], g.prototype, "open", 2);
1051
+ m([
1052
+ $()
1053
+ ], g.prototype, "activeIndex", 2);
1054
+ m([
1055
+ $()
1056
+ ], g.prototype, "options", 2);
1057
+ m([
1058
+ J("input")
1059
+ ], g.prototype, "inputEl", 2);
1060
+ m([
1061
+ J(".listbox")
1062
+ ], g.prototype, "listboxEl", 2);
1063
+ g = m([
1064
+ p("vox-combobox")
1065
+ ], g);
1066
+ var Qt = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, Q = (o, t, a, r) => {
1067
+ for (var e = r > 1 ? void 0 : r ? eo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1068
+ (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1069
+ return r && e && Qt(t, a, e), e;
771
1070
  };
772
- let m = class extends x {
1071
+ let M = class extends x {
773
1072
  constructor() {
774
1073
  super(...arguments), this.multiple = !1, this.buttonLabel = "Choose a file", this.fileNames = [];
775
1074
  }
@@ -795,7 +1094,7 @@ let m = class extends x {
795
1094
  <input
796
1095
  id="file"
797
1096
  type="file"
798
- accept=${E(this.accept)}
1097
+ accept=${u(this.accept)}
799
1098
  ?multiple=${this.multiple}
800
1099
  ?disabled=${this.disabled}
801
1100
  @change=${this.handleChange}
@@ -812,8 +1111,8 @@ let m = class extends x {
812
1111
  `;
813
1112
  }
814
1113
  };
815
- m.styles = [
816
- ue,
1114
+ M.styles = [
1115
+ I,
817
1116
  d`
818
1117
  input {
819
1118
  position: absolute;
@@ -862,33 +1161,50 @@ m.styles = [
862
1161
  }
863
1162
  `
864
1163
  ];
865
- F([
1164
+ Q([
866
1165
  n()
867
- ], m.prototype, "accept", 2);
868
- F([
1166
+ ], M.prototype, "accept", 2);
1167
+ Q([
869
1168
  n({ type: Boolean })
870
- ], m.prototype, "multiple", 2);
871
- F([
1169
+ ], M.prototype, "multiple", 2);
1170
+ Q([
872
1171
  n({ attribute: "button-label" })
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([
1172
+ ], M.prototype, "buttonLabel", 2);
1173
+ Q([
1174
+ $()
1175
+ ], M.prototype, "fileNames", 2);
1176
+ Q([
1177
+ J("input")
1178
+ ], M.prototype, "inputEl", 2);
1179
+ M = Q([
881
1180
  p("vox-file-input")
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--)
1181
+ ], M);
1182
+ var to = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, b = (o, t, a, r) => {
1183
+ for (var e = r > 1 ? void 0 : r ? oo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
885
1184
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
886
- return r && e && Yt(t, a, e), e;
1185
+ return r && e && to(t, a, e), e;
887
1186
  };
888
- let w = class extends x {
1187
+ const ro = {
1188
+ text: "text input",
1189
+ email: "email address",
1190
+ number: "number",
1191
+ password: "password",
1192
+ search: "search",
1193
+ tel: "telephone number",
1194
+ url: "web address",
1195
+ date: "date",
1196
+ time: "time",
1197
+ "datetime-local": "date and time",
1198
+ month: "month",
1199
+ week: "week"
1200
+ };
1201
+ let f = class extends x {
889
1202
  constructor() {
890
1203
  super(...arguments), this.type = "text", this.value = "", this.readonly = !1;
891
1204
  }
1205
+ get accessibleName() {
1206
+ return ro[this.type] ?? `${this.type} input`;
1207
+ }
892
1208
  formResetCallback() {
893
1209
  this.value = "";
894
1210
  }
@@ -915,13 +1231,20 @@ let w = class extends x {
915
1231
  id="input"
916
1232
  class="control"
917
1233
  type=${this.type}
918
- .value=${Mt(this.value)}
919
- placeholder=${E(this.placeholder)}
920
- autocomplete=${E(this.autocomplete)}
1234
+ min=${u(this.min)}
1235
+ max=${u(this.max)}
1236
+ step=${u(this.step)}
1237
+ .value=${Fe(this.value)}
1238
+ placeholder=${u(this.placeholder)}
1239
+ autocomplete=${u(this.autocomplete)}
1240
+ pattern=${u(this.pattern)}
1241
+ minlength=${u(this.minlength)}
1242
+ maxlength=${u(this.maxlength)}
1243
+ inputmode=${u(this.inputmode)}
921
1244
  ?required=${this.required}
922
1245
  ?readonly=${this.readonly}
923
1246
  ?disabled=${this.disabled}
924
- aria-label=${this.label ? v : "text input"}
1247
+ aria-label=${this.label ? v : this.accessibleName}
925
1248
  @input=${this.handleInput}
926
1249
  @change=${this.handleChange}
927
1250
  />
@@ -930,31 +1253,52 @@ let w = class extends x {
930
1253
  `;
931
1254
  }
932
1255
  };
933
- w.styles = ue;
934
- U([
1256
+ f.styles = I;
1257
+ b([
935
1258
  n()
936
- ], w.prototype, "type", 2);
937
- U([
1259
+ ], f.prototype, "type", 2);
1260
+ b([
938
1261
  n()
939
- ], w.prototype, "value", 2);
940
- U([
1262
+ ], f.prototype, "value", 2);
1263
+ b([
941
1264
  n()
942
- ], w.prototype, "placeholder", 2);
943
- U([
1265
+ ], f.prototype, "placeholder", 2);
1266
+ b([
944
1267
  n()
945
- ], w.prototype, "autocomplete", 2);
946
- U([
1268
+ ], f.prototype, "autocomplete", 2);
1269
+ b([
947
1270
  n({ type: Boolean, reflect: !0 })
948
- ], w.prototype, "readonly", 2);
949
- w = U([
1271
+ ], f.prototype, "readonly", 2);
1272
+ b([
1273
+ n()
1274
+ ], f.prototype, "min", 2);
1275
+ b([
1276
+ n()
1277
+ ], f.prototype, "max", 2);
1278
+ b([
1279
+ n()
1280
+ ], f.prototype, "step", 2);
1281
+ b([
1282
+ n()
1283
+ ], f.prototype, "pattern", 2);
1284
+ b([
1285
+ n()
1286
+ ], f.prototype, "minlength", 2);
1287
+ b([
1288
+ n()
1289
+ ], f.prototype, "maxlength", 2);
1290
+ b([
1291
+ n()
1292
+ ], f.prototype, "inputmode", 2);
1293
+ f = b([
950
1294
  p("vox-input")
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--)
1295
+ ], f);
1296
+ var ao = Object.getOwnPropertyDescriptor, so = (o, t, a, r) => {
1297
+ for (var e = r > 1 ? void 0 : r ? ao(t, a) : t, s = o.length - 1, i; s >= 0; s--)
954
1298
  (i = o[s]) && (e = i(e) || e);
955
1299
  return e;
956
1300
  };
957
- let Ye = class extends h {
1301
+ let ot = class extends h {
958
1302
  handleSlotChange(o) {
959
1303
  const t = o.target.assignedElements();
960
1304
  t.forEach((a, r) => {
@@ -970,7 +1314,7 @@ let Ye = class extends h {
970
1314
  `;
971
1315
  }
972
1316
  };
973
- Ye.styles = d`
1317
+ ot.styles = d`
974
1318
  :host {
975
1319
  display: block;
976
1320
  font-family: var(--vox-font-family-base);
@@ -1012,15 +1356,15 @@ Ye.styles = d`
1012
1356
  border-left: none;
1013
1357
  }
1014
1358
  `;
1015
- Ye = Jt([
1359
+ ot = so([
1016
1360
  p("vox-input-group")
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--)
1361
+ ], ot);
1362
+ var io = Object.defineProperty, no = Object.getOwnPropertyDescriptor, Ge = (o, t, a, r) => {
1363
+ for (var e = r > 1 ? void 0 : r ? no(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1020
1364
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1021
- return r && e && Qt(t, a, e), e;
1365
+ return r && e && io(t, a, e), e;
1022
1366
  };
1023
- let B = class extends h {
1367
+ let K = class extends h {
1024
1368
  constructor() {
1025
1369
  super(...arguments), this.value = "", this.checked = !1, this.disabled = !1;
1026
1370
  }
@@ -1049,7 +1393,7 @@ let B = class extends h {
1049
1393
  `;
1050
1394
  }
1051
1395
  };
1052
- B.styles = d`
1396
+ K.styles = d`
1053
1397
  :host {
1054
1398
  display: block;
1055
1399
  font-family: var(--vox-font-family-base);
@@ -1098,24 +1442,24 @@ B.styles = d`
1098
1442
  outline-offset: 2px;
1099
1443
  }
1100
1444
  `;
1101
- qe([
1445
+ Ge([
1102
1446
  n()
1103
- ], B.prototype, "value", 2);
1104
- qe([
1447
+ ], K.prototype, "value", 2);
1448
+ Ge([
1105
1449
  n({ type: Boolean, reflect: !0 })
1106
- ], B.prototype, "checked", 2);
1107
- qe([
1450
+ ], K.prototype, "checked", 2);
1451
+ Ge([
1108
1452
  n({ type: Boolean, reflect: !0 })
1109
- ], B.prototype, "disabled", 2);
1110
- B = qe([
1453
+ ], K.prototype, "disabled", 2);
1454
+ K = Ge([
1111
1455
  p("vox-radio")
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--)
1456
+ ], K);
1457
+ var lo = Object.defineProperty, co = Object.getOwnPropertyDescriptor, jt = (o, t, a, r) => {
1458
+ for (var e = r > 1 ? void 0 : r ? co(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1115
1459
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1116
- return r && e && to(t, a, e), e;
1460
+ return r && e && lo(t, a, e), e;
1117
1461
  };
1118
- let Pe = class extends x {
1462
+ let Ae = class extends x {
1119
1463
  constructor() {
1120
1464
  super(...arguments), this.value = "";
1121
1465
  }
@@ -1146,7 +1490,7 @@ let Pe = class extends x {
1146
1490
  !(t instanceof HTMLElement) || t.tagName !== "VOX-RADIO" || (o.stopPropagation(), this.value !== t.value && (this.value = t.value, this.dispatchEvent(new Event("change", { bubbles: !0 }))));
1147
1491
  }
1148
1492
  handleKeydown(o) {
1149
- var _, Me;
1493
+ var z, ze;
1150
1494
  const a = {
1151
1495
  ArrowDown: 1,
1152
1496
  ArrowRight: 1,
@@ -1155,10 +1499,10 @@ let Pe = class extends x {
1155
1499
  }[o.key];
1156
1500
  if (!a) return;
1157
1501
  o.preventDefault();
1158
- const r = this.radios.filter((Ge) => !Ge.disabled);
1502
+ const r = this.radios.filter((tt) => !tt.disabled);
1159
1503
  if (r.length === 0) return;
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();
1504
+ const e = r.findIndex((tt) => tt.checked), s = (Math.max(e, 0) + a + r.length) % r.length, i = r[s];
1505
+ i.select(), (ze = (z = i.shadowRoot) == null ? void 0 : z.querySelector(".radio")) == null || ze.focus();
1162
1506
  }
1163
1507
  render() {
1164
1508
  return l`
@@ -1178,8 +1522,8 @@ let Pe = class extends x {
1178
1522
  `;
1179
1523
  }
1180
1524
  };
1181
- Pe.styles = [
1182
- ue,
1525
+ Ae.styles = [
1526
+ I,
1183
1527
  d`
1184
1528
  .options {
1185
1529
  display: flex;
@@ -1189,36 +1533,239 @@ Pe.styles = [
1189
1533
  }
1190
1534
  `
1191
1535
  ];
1192
- kt([
1536
+ jt([
1193
1537
  n()
1194
- ], Pe.prototype, "value", 2);
1195
- Pe = kt([
1538
+ ], Ae.prototype, "value", 2);
1539
+ Ae = jt([
1196
1540
  p("vox-radio-group")
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--)
1541
+ ], Ae);
1542
+ var po = Object.defineProperty, ho = Object.getOwnPropertyDescriptor, P = (o, t, a, r) => {
1543
+ for (var e = r > 1 ? void 0 : r ? ho(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1200
1544
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1201
- return r && e && ro(t, a, e), e;
1545
+ return r && e && po(t, a, e), e;
1202
1546
  };
1203
- let Y = class extends x {
1547
+ let w = class extends x {
1204
1548
  constructor() {
1205
- super(...arguments), this.value = "";
1549
+ super(...arguments), this.value = "", this.min = "0", this.max = "100", this.step = "1", this.showValue = !1, this.unit = "", this.defaultValue = "";
1550
+ }
1551
+ connectedCallback() {
1552
+ if (super.connectedCallback(), this.value === "") {
1553
+ const o = (Number(this.min) + Number(this.max)) / 2;
1554
+ this.value = String(Number.isFinite(o) ? o : this.min);
1555
+ }
1556
+ this.defaultValue = this.value;
1557
+ }
1558
+ formResetCallback() {
1559
+ this.value = this.defaultValue;
1560
+ }
1561
+ updated() {
1562
+ this.internals.setFormValue(this.value), this.inputEl && this.syncValidity(this.inputEl);
1563
+ }
1564
+ focus(o) {
1565
+ var t;
1566
+ (t = this.inputEl) == null || t.focus(o);
1567
+ }
1568
+ handleInput(o) {
1569
+ this.value = o.target.value;
1570
+ }
1571
+ handleChange() {
1572
+ this.dispatchEvent(new Event("change", { bubbles: !0 }));
1573
+ }
1574
+ render() {
1575
+ const o = this.unit ? `${this.value}${this.unit}` : this.value;
1576
+ return l`
1577
+ <div class="field">
1578
+ ${this.renderLabel("range")}
1579
+ <div class="row">
1580
+ <input
1581
+ id="range"
1582
+ class="control"
1583
+ type="range"
1584
+ min=${this.min}
1585
+ max=${this.max}
1586
+ step=${this.step}
1587
+ .value=${Fe(this.value)}
1588
+ ?disabled=${this.disabled}
1589
+ aria-label=${this.label ? v : "slider"}
1590
+ aria-valuetext=${u(this.unit ? o : void 0)}
1591
+ @input=${this.handleInput}
1592
+ @change=${this.handleChange}
1593
+ />
1594
+ ${this.showValue ? l`<span class="readout" aria-hidden="true">${o}</span>` : v}
1595
+ </div>
1596
+ ${this.renderNote()}
1597
+ </div>
1598
+ `;
1599
+ }
1600
+ };
1601
+ w.styles = [
1602
+ I,
1603
+ d`
1604
+ .row {
1605
+ display: flex;
1606
+ align-items: center;
1607
+ gap: var(--vox-space-3);
1608
+ }
1609
+
1610
+ .readout {
1611
+ flex: none;
1612
+ min-width: 3.5ch;
1613
+ font-size: 14px;
1614
+ font-variant-numeric: tabular-nums;
1615
+ color: var(--vox-color-text-2);
1616
+ text-align: right;
1617
+ }
1618
+
1619
+ input.control {
1620
+ appearance: none;
1621
+ -webkit-appearance: none;
1622
+ padding: 0;
1623
+ border: none;
1624
+ background: transparent;
1625
+ cursor: pointer;
1626
+ /* Room for the thumb's focus ring at both ends of the track. */
1627
+ height: 24px;
1628
+ }
1629
+
1630
+ input.control:focus {
1631
+ outline: none;
1632
+ border: none;
1633
+ box-shadow: none;
1634
+ }
1635
+
1636
+ input.control:disabled {
1637
+ cursor: not-allowed;
1638
+ }
1639
+
1640
+ /*
1641
+ * Track and thumb need vendor-prefixed selectors, and a browser drops
1642
+ * the whole rule if it doesn't recognise one — so no grouping here.
1643
+ */
1644
+ input.control::-webkit-slider-runnable-track {
1645
+ height: 6px;
1646
+ border-radius: var(--vox-radius-full);
1647
+ /* 3:1 against the page background, per WCAG 1.4.11. */
1648
+ background-color: var(--vox-color-border);
1649
+ }
1650
+
1651
+ input.control::-moz-range-track {
1652
+ height: 6px;
1653
+ border-radius: var(--vox-radius-full);
1654
+ background-color: var(--vox-color-border);
1655
+ }
1656
+
1657
+ input.control::-webkit-slider-thumb {
1658
+ appearance: none;
1659
+ -webkit-appearance: none;
1660
+ width: 20px;
1661
+ height: 20px;
1662
+ margin-top: -7px;
1663
+ border: 2px solid var(--vox-color-bg);
1664
+ border-radius: var(--vox-radius-full);
1665
+ background-color: var(--vox-color-brand-1);
1666
+ transition: box-shadow var(--vox-transition-fast);
1667
+ }
1668
+
1669
+ input.control::-moz-range-thumb {
1670
+ width: 20px;
1671
+ height: 20px;
1672
+ border: 2px solid var(--vox-color-bg);
1673
+ border-radius: var(--vox-radius-full);
1674
+ background-color: var(--vox-color-brand-1);
1675
+ transition: box-shadow var(--vox-transition-fast);
1676
+ }
1677
+
1678
+ input.control:focus-visible::-webkit-slider-thumb {
1679
+ box-shadow: 0 0 0 3px var(--vox-color-brand-soft);
1680
+ }
1681
+
1682
+ input.control:focus-visible::-moz-range-thumb {
1683
+ box-shadow: 0 0 0 3px var(--vox-color-brand-soft);
1684
+ }
1685
+
1686
+ @media (prefers-reduced-motion: reduce) {
1687
+ input.control::-webkit-slider-thumb,
1688
+ input.control::-moz-range-thumb {
1689
+ transition: none;
1690
+ }
1691
+ }
1692
+ `
1693
+ ];
1694
+ P([
1695
+ n()
1696
+ ], w.prototype, "value", 2);
1697
+ P([
1698
+ n()
1699
+ ], w.prototype, "min", 2);
1700
+ P([
1701
+ n()
1702
+ ], w.prototype, "max", 2);
1703
+ P([
1704
+ n()
1705
+ ], w.prototype, "step", 2);
1706
+ P([
1707
+ n({ type: Boolean, attribute: "show-value" })
1708
+ ], w.prototype, "showValue", 2);
1709
+ P([
1710
+ n()
1711
+ ], w.prototype, "unit", 2);
1712
+ P([
1713
+ J("input")
1714
+ ], w.prototype, "inputEl", 2);
1715
+ w = P([
1716
+ p("vox-range")
1717
+ ], w);
1718
+ var vo = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, ee = (o, t, a, r) => {
1719
+ for (var e = r > 1 ? void 0 : r ? uo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1720
+ (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1721
+ return r && e && vo(t, a, e), e;
1722
+ };
1723
+ let L = class extends x {
1724
+ constructor() {
1725
+ super(...arguments), this.value = "", this.multiple = !1, this.values = [];
1206
1726
  }
1207
1727
  formResetCallback() {
1208
- this.value = "", this.syncOptions();
1728
+ this.value = "", this.values = [], this.syncOptions();
1209
1729
  }
1210
1730
  updated() {
1211
- this.internals.setFormValue(this.value), this.selectEl && this.syncValidity(this.selectEl);
1731
+ this.internals.setFormValue(this.multiple ? this.formData() : this.value), this.selectEl && this.syncValidity(this.selectEl);
1732
+ }
1733
+ focus(o) {
1734
+ var t;
1735
+ (t = this.selectEl) == null || t.focus(o);
1736
+ }
1737
+ /**
1738
+ * A multi-select submits one entry per selection, which only FormData can
1739
+ * express. Without a `name` there is nothing to key them on, so submit
1740
+ * nothing — matching a native select with no name.
1741
+ */
1742
+ formData() {
1743
+ if (!this.name) return null;
1744
+ const o = new FormData();
1745
+ for (const t of this.values) o.append(this.name, t);
1746
+ return o;
1212
1747
  }
1213
1748
  syncOptions() {
1214
1749
  if (!this.selectEl) return;
1215
1750
  const o = this.renderRoot.querySelector("slot");
1216
- o && (this.selectEl.replaceChildren(
1217
- ...o.assignedElements().filter((t) => t instanceof HTMLOptionElement || t instanceof HTMLOptGroupElement).map((t) => t.cloneNode(!0))
1218
- ), this.value && (this.selectEl.value = this.value), this.value = this.selectEl.value);
1751
+ if (o) {
1752
+ if (this.selectEl.replaceChildren(
1753
+ ...o.assignedElements().filter((t) => t instanceof HTMLOptionElement || t instanceof HTMLOptGroupElement).map((t) => t.cloneNode(!0))
1754
+ ), this.multiple) {
1755
+ const t = new Set(this.values);
1756
+ for (const a of this.selectEl.options)
1757
+ a.selected = t.has(a.value);
1758
+ this.values = this.selected();
1759
+ return;
1760
+ }
1761
+ this.value && (this.selectEl.value = this.value), this.value = this.selectEl.value;
1762
+ }
1763
+ }
1764
+ selected() {
1765
+ return [...this.selectEl.selectedOptions].map((o) => o.value);
1219
1766
  }
1220
1767
  handleChange() {
1221
- this.value = this.selectEl.value, this.dispatchEvent(new Event("change", { bubbles: !0 }));
1768
+ this.multiple ? (this.values = this.selected(), this.value = this.values[0] ?? "") : this.value = this.selectEl.value, this.dispatchEvent(new Event("change", { bubbles: !0 }));
1222
1769
  }
1223
1770
  render() {
1224
1771
  return l`
@@ -1227,8 +1774,11 @@ let Y = class extends x {
1227
1774
  <select
1228
1775
  id="select"
1229
1776
  class="control"
1777
+ ?multiple=${this.multiple}
1778
+ size=${u(this.multiple ? this.size ?? 4 : void 0)}
1230
1779
  ?required=${this.required}
1231
1780
  ?disabled=${this.disabled}
1781
+ aria-label=${this.label ? v : "options"}
1232
1782
  @change=${this.handleChange}
1233
1783
  ></select>
1234
1784
  ${this.renderNote()}
@@ -1237,8 +1787,8 @@ let Y = class extends x {
1237
1787
  `;
1238
1788
  }
1239
1789
  };
1240
- Y.styles = [
1241
- ue,
1790
+ L.styles = [
1791
+ I,
1242
1792
  d`
1243
1793
  select.control {
1244
1794
  appearance: none;
@@ -1248,23 +1798,44 @@ Y.styles = [
1248
1798
  background-position: right var(--vox-space-3) center;
1249
1799
  cursor: pointer;
1250
1800
  }
1801
+
1802
+ /* A list box has no collapsed affordance, so drop the chevron. */
1803
+ :host([multiple]) select.control {
1804
+ appearance: none;
1805
+ padding-right: var(--vox-space-3);
1806
+ background-image: none;
1807
+ cursor: default;
1808
+ }
1809
+
1810
+ :host([multiple]) select.control option {
1811
+ padding: var(--vox-space-1) var(--vox-space-2);
1812
+ }
1251
1813
  `
1252
1814
  ];
1253
- it([
1815
+ ee([
1254
1816
  n()
1255
- ], Y.prototype, "value", 2);
1256
- it([
1257
- rt("select")
1258
- ], Y.prototype, "selectEl", 2);
1259
- Y = it([
1817
+ ], L.prototype, "value", 2);
1818
+ ee([
1819
+ n({ type: Boolean, reflect: !0 })
1820
+ ], L.prototype, "multiple", 2);
1821
+ ee([
1822
+ n({ type: Number })
1823
+ ], L.prototype, "size", 2);
1824
+ ee([
1825
+ n({ type: Array })
1826
+ ], L.prototype, "values", 2);
1827
+ ee([
1828
+ J("select")
1829
+ ], L.prototype, "selectEl", 2);
1830
+ L = ee([
1260
1831
  p("vox-select")
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--)
1832
+ ], L);
1833
+ var xo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, ht = (o, t, a, r) => {
1834
+ for (var e = r > 1 ? void 0 : r ? fo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1264
1835
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1265
- return r && e && so(t, a, e), e;
1836
+ return r && e && xo(t, a, e), e;
1266
1837
  };
1267
- let X = class extends x {
1838
+ let re = class extends x {
1268
1839
  constructor() {
1269
1840
  super(...arguments), this.checked = !1, this.value = "on";
1270
1841
  }
@@ -1293,8 +1864,8 @@ let X = class extends x {
1293
1864
  `;
1294
1865
  }
1295
1866
  };
1296
- X.styles = [
1297
- Ot,
1867
+ re.styles = [
1868
+ zt,
1298
1869
  d`
1299
1870
  .track {
1300
1871
  flex: none;
@@ -1333,21 +1904,21 @@ X.styles = [
1333
1904
  }
1334
1905
  `
1335
1906
  ];
1336
- nt([
1907
+ ht([
1337
1908
  n({ type: Boolean, reflect: !0 })
1338
- ], X.prototype, "checked", 2);
1339
- nt([
1909
+ ], re.prototype, "checked", 2);
1910
+ ht([
1340
1911
  n()
1341
- ], X.prototype, "value", 2);
1342
- X = nt([
1912
+ ], re.prototype, "value", 2);
1913
+ re = ht([
1343
1914
  p("vox-switch")
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--)
1915
+ ], re);
1916
+ var go = Object.defineProperty, bo = Object.getOwnPropertyDescriptor, $e = (o, t, a, r) => {
1917
+ for (var e = r > 1 ? void 0 : r ? bo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1347
1918
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1348
- return r && e && no(t, a, e), e;
1919
+ return r && e && go(t, a, e), e;
1349
1920
  };
1350
- let C = class extends x {
1921
+ let j = class extends x {
1351
1922
  constructor() {
1352
1923
  super(...arguments), this.value = "", this.rows = 4, this.readonly = !1;
1353
1924
  }
@@ -1377,8 +1948,8 @@ let C = class extends x {
1377
1948
  id="textarea"
1378
1949
  class="control"
1379
1950
  rows=${this.rows}
1380
- .value=${Mt(this.value)}
1381
- placeholder=${E(this.placeholder)}
1951
+ .value=${Fe(this.value)}
1952
+ placeholder=${u(this.placeholder)}
1382
1953
  ?required=${this.required}
1383
1954
  ?readonly=${this.readonly}
1384
1955
  ?disabled=${this.disabled}
@@ -1390,8 +1961,8 @@ let C = class extends x {
1390
1961
  `;
1391
1962
  }
1392
1963
  };
1393
- C.styles = [
1394
- ue,
1964
+ j.styles = [
1965
+ I,
1395
1966
  d`
1396
1967
  textarea.control {
1397
1968
  resize: vertical;
@@ -1399,27 +1970,27 @@ C.styles = [
1399
1970
  }
1400
1971
  `
1401
1972
  ];
1402
- fe([
1973
+ $e([
1403
1974
  n()
1404
- ], C.prototype, "value", 2);
1405
- fe([
1975
+ ], j.prototype, "value", 2);
1976
+ $e([
1406
1977
  n()
1407
- ], C.prototype, "placeholder", 2);
1408
- fe([
1978
+ ], j.prototype, "placeholder", 2);
1979
+ $e([
1409
1980
  n({ type: Number })
1410
- ], C.prototype, "rows", 2);
1411
- fe([
1981
+ ], j.prototype, "rows", 2);
1982
+ $e([
1412
1983
  n({ type: Boolean, reflect: !0 })
1413
- ], C.prototype, "readonly", 2);
1414
- C = fe([
1984
+ ], j.prototype, "readonly", 2);
1985
+ j = $e([
1415
1986
  p("vox-textarea")
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--)
1987
+ ], j);
1988
+ var yo = Object.defineProperty, mo = Object.getOwnPropertyDescriptor, _e = (o, t, a, r) => {
1989
+ for (var e = r > 1 ? void 0 : r ? mo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1419
1990
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1420
- return r && e && co(t, a, e), e;
1991
+ return r && e && yo(t, a, e), e;
1421
1992
  };
1422
- let M = class extends h {
1993
+ let E = class extends h {
1423
1994
  constructor() {
1424
1995
  super(...arguments), this.alt = "", this.initials = "", this.size = "md";
1425
1996
  }
@@ -1431,7 +2002,7 @@ let M = class extends h {
1431
2002
  `;
1432
2003
  }
1433
2004
  };
1434
- M.styles = d`
2005
+ E.styles = d`
1435
2006
  :host {
1436
2007
  display: inline-block;
1437
2008
  }
@@ -1479,27 +2050,27 @@ M.styles = d`
1479
2050
  font-size: 28px;
1480
2051
  }
1481
2052
  `;
1482
- ge([
2053
+ _e([
1483
2054
  n()
1484
- ], M.prototype, "src", 2);
1485
- ge([
2055
+ ], E.prototype, "src", 2);
2056
+ _e([
1486
2057
  n()
1487
- ], M.prototype, "alt", 2);
1488
- ge([
2058
+ ], E.prototype, "alt", 2);
2059
+ _e([
1489
2060
  n()
1490
- ], M.prototype, "initials", 2);
1491
- ge([
2061
+ ], E.prototype, "initials", 2);
2062
+ _e([
1492
2063
  n({ reflect: !0 })
1493
- ], M.prototype, "size", 2);
1494
- M = ge([
2064
+ ], E.prototype, "size", 2);
2065
+ E = _e([
1495
2066
  p("vox-avatar")
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--)
2067
+ ], E);
2068
+ var wo = Object.defineProperty, $o = Object.getOwnPropertyDescriptor, vt = (o, t, a, r) => {
2069
+ for (var e = r > 1 ? void 0 : r ? $o(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1499
2070
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1500
- return r && e && ho(t, a, e), e;
2071
+ return r && e && wo(t, a, e), e;
1501
2072
  };
1502
- let W = class extends h {
2073
+ let ae = class extends h {
1503
2074
  constructor() {
1504
2075
  super(...arguments), this.heading = "", this.reverse = !1, this.hasActions = !1;
1505
2076
  }
@@ -1522,7 +2093,7 @@ let W = class extends h {
1522
2093
  `;
1523
2094
  }
1524
2095
  };
1525
- W.styles = d`
2096
+ ae.styles = d`
1526
2097
  :host {
1527
2098
  display: block;
1528
2099
  font-family: var(--vox-font-family-base);
@@ -1584,21 +2155,21 @@ W.styles = d`
1584
2155
  display: none;
1585
2156
  }
1586
2157
  `;
1587
- lt([
2158
+ vt([
1588
2159
  n()
1589
- ], W.prototype, "heading", 2);
1590
- lt([
2160
+ ], ae.prototype, "heading", 2);
2161
+ vt([
1591
2162
  n({ type: Boolean, reflect: !0 })
1592
- ], W.prototype, "reverse", 2);
1593
- W = lt([
2163
+ ], ae.prototype, "reverse", 2);
2164
+ ae = vt([
1594
2165
  p("vox-billboard")
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--)
2166
+ ], ae);
2167
+ var _o = Object.getOwnPropertyDescriptor, Co = (o, t, a, r) => {
2168
+ for (var e = r > 1 ? void 0 : r ? _o(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1598
2169
  (i = o[s]) && (e = i(e) || e);
1599
2170
  return e;
1600
2171
  };
1601
- let Xe = class extends h {
2172
+ let rt = class extends h {
1602
2173
  render() {
1603
2174
  return l`
1604
2175
  <nav aria-label="Breadcrumbs">
@@ -1607,7 +2178,7 @@ let Xe = class extends h {
1607
2178
  `;
1608
2179
  }
1609
2180
  };
1610
- Xe.styles = d`
2181
+ rt.styles = d`
1611
2182
  :host {
1612
2183
  display: block;
1613
2184
  font-family: var(--vox-font-family-base);
@@ -1641,15 +2212,15 @@ Xe.styles = d`
1641
2212
  color: var(--vox-color-text-3);
1642
2213
  }
1643
2214
  `;
1644
- Xe = uo([
2215
+ rt = Co([
1645
2216
  p("vox-breadcrumbs")
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--)
2217
+ ], rt);
2218
+ var ko = Object.defineProperty, Oo = Object.getOwnPropertyDescriptor, Ye = (o, t, a, r) => {
2219
+ for (var e = r > 1 ? void 0 : r ? Oo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1649
2220
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1650
- return r && e && fo(t, a, e), e;
2221
+ return r && e && ko(t, a, e), e;
1651
2222
  };
1652
- let N = class extends h {
2223
+ let U = class extends h {
1653
2224
  constructor() {
1654
2225
  super(...arguments), this.siteTitle = "", this.href = "/", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
1655
2226
  this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
@@ -1693,7 +2264,7 @@ let N = class extends h {
1693
2264
  stroke-linejoin="round"
1694
2265
  aria-hidden="true"
1695
2266
  >
1696
- ${this.mobileOpen ? y.close : y.menu}
2267
+ ${this.mobileOpen ? O.close : O.menu}
1697
2268
  </svg>
1698
2269
  </button>
1699
2270
  <div id="nav-wrap" class="nav-wrap${this.mobileOpen ? " open" : ""}">
@@ -1708,7 +2279,7 @@ let N = class extends h {
1708
2279
  `;
1709
2280
  }
1710
2281
  };
1711
- N.styles = d`
2282
+ U.styles = d`
1712
2283
  :host {
1713
2284
  display: block;
1714
2285
  font-family: var(--vox-font-family-base);
@@ -1838,24 +2409,24 @@ N.styles = d`
1838
2409
  }
1839
2410
  }
1840
2411
  `;
1841
- Ie([
2412
+ Ye([
1842
2413
  n({ attribute: "site-title" })
1843
- ], N.prototype, "siteTitle", 2);
1844
- Ie([
2414
+ ], U.prototype, "siteTitle", 2);
2415
+ Ye([
1845
2416
  n()
1846
- ], N.prototype, "href", 2);
1847
- Ie([
1848
- Z()
1849
- ], N.prototype, "mobileOpen", 2);
1850
- N = Ie([
2417
+ ], U.prototype, "href", 2);
2418
+ Ye([
2419
+ $()
2420
+ ], U.prototype, "mobileOpen", 2);
2421
+ U = Ye([
1851
2422
  p("vox-header")
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--)
2423
+ ], U);
2424
+ var Mo = Object.defineProperty, Lo = Object.getOwnPropertyDescriptor, Ce = (o, t, a, r) => {
2425
+ for (var e = r > 1 ? void 0 : r ? Lo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1855
2426
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1856
- return r && e && bo(t, a, e), e;
2427
+ return r && e && Mo(t, a, e), e;
1857
2428
  };
1858
- let O = class extends h {
2429
+ let D = class extends h {
1859
2430
  constructor() {
1860
2431
  super(...arguments), this.previousLabel = "", this.nextLabel = "";
1861
2432
  }
@@ -1878,7 +2449,7 @@ let O = class extends h {
1878
2449
  `;
1879
2450
  }
1880
2451
  };
1881
- O.styles = d`
2452
+ D.styles = d`
1882
2453
  :host {
1883
2454
  display: block;
1884
2455
  font-family: var(--vox-font-family-base);
@@ -1928,27 +2499,27 @@ O.styles = d`
1928
2499
  color: var(--vox-color-brand-1);
1929
2500
  }
1930
2501
  `;
1931
- be([
2502
+ Ce([
1932
2503
  n({ attribute: "previous-href" })
1933
- ], O.prototype, "previousHref", 2);
1934
- be([
2504
+ ], D.prototype, "previousHref", 2);
2505
+ Ce([
1935
2506
  n({ attribute: "previous-label" })
1936
- ], O.prototype, "previousLabel", 2);
1937
- be([
2507
+ ], D.prototype, "previousLabel", 2);
2508
+ Ce([
1938
2509
  n({ attribute: "next-href" })
1939
- ], O.prototype, "nextHref", 2);
1940
- be([
2510
+ ], D.prototype, "nextHref", 2);
2511
+ Ce([
1941
2512
  n({ attribute: "next-label" })
1942
- ], O.prototype, "nextLabel", 2);
1943
- O = be([
2513
+ ], D.prototype, "nextLabel", 2);
2514
+ D = Ce([
1944
2515
  p("vox-series-nav")
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--)
2516
+ ], D);
2517
+ var Po = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, _ = (o, t, a, r) => {
2518
+ for (var e = r > 1 ? void 0 : r ? Vo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
1948
2519
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
1949
- return r && e && mo(t, a, e), e;
2520
+ return r && e && Po(t, a, e), e;
1950
2521
  };
1951
- let T = class extends h {
2522
+ let G = class extends h {
1952
2523
  constructor() {
1953
2524
  super(...arguments), this.label = "Section", this.toggleLabel = "Menu", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
1954
2525
  this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
@@ -1987,7 +2558,7 @@ let T = class extends h {
1987
2558
  stroke-linejoin="round"
1988
2559
  aria-hidden="true"
1989
2560
  >
1990
- ${this.mobileOpen ? y.close : y.menu}
2561
+ ${this.mobileOpen ? O.close : O.menu}
1991
2562
  </svg>
1992
2563
  </button>
1993
2564
  <nav
@@ -2001,7 +2572,7 @@ let T = class extends h {
2001
2572
  `;
2002
2573
  }
2003
2574
  };
2004
- T.styles = d`
2575
+ G.styles = d`
2005
2576
  :host {
2006
2577
  display: block;
2007
2578
  font-family: var(--vox-font-family-base);
@@ -2061,19 +2632,19 @@ T.styles = d`
2061
2632
  }
2062
2633
  }
2063
2634
  `;
2064
- f([
2635
+ _([
2065
2636
  n()
2066
- ], T.prototype, "label", 2);
2067
- f([
2637
+ ], G.prototype, "label", 2);
2638
+ _([
2068
2639
  n({ attribute: "toggle-label" })
2069
- ], T.prototype, "toggleLabel", 2);
2070
- f([
2071
- Z()
2072
- ], T.prototype, "mobileOpen", 2);
2073
- T = f([
2640
+ ], G.prototype, "toggleLabel", 2);
2641
+ _([
2642
+ $()
2643
+ ], G.prototype, "mobileOpen", 2);
2644
+ G = _([
2074
2645
  p("vox-sidenav")
2075
- ], T);
2076
- let J = class extends h {
2646
+ ], G);
2647
+ let se = class extends h {
2077
2648
  constructor() {
2078
2649
  super(...arguments), this.heading = "", this.open = !1;
2079
2650
  }
@@ -2096,7 +2667,7 @@ let J = class extends h {
2096
2667
  `;
2097
2668
  }
2098
2669
  };
2099
- J.styles = d`
2670
+ se.styles = d`
2100
2671
  :host {
2101
2672
  display: block;
2102
2673
  font-family: var(--vox-font-family-base);
@@ -2153,16 +2724,16 @@ J.styles = d`
2153
2724
  display: flex;
2154
2725
  }
2155
2726
  `;
2156
- f([
2727
+ _([
2157
2728
  n()
2158
- ], J.prototype, "heading", 2);
2159
- f([
2729
+ ], se.prototype, "heading", 2);
2730
+ _([
2160
2731
  n({ type: Boolean, reflect: !0 })
2161
- ], J.prototype, "open", 2);
2162
- J = f([
2732
+ ], se.prototype, "open", 2);
2733
+ se = _([
2163
2734
  p("vox-sidenav-group")
2164
- ], J);
2165
- let Q = class extends h {
2735
+ ], se);
2736
+ let ie = class extends h {
2166
2737
  constructor() {
2167
2738
  super(...arguments), this.href = "#", this.current = !1, this.hasIcon = !1;
2168
2739
  }
@@ -2181,7 +2752,7 @@ let Q = class extends h {
2181
2752
  `;
2182
2753
  }
2183
2754
  };
2184
- Q.styles = d`
2755
+ ie.styles = d`
2185
2756
  :host {
2186
2757
  display: block;
2187
2758
  font-family: var(--vox-font-family-base);
@@ -2225,21 +2796,21 @@ Q.styles = d`
2225
2796
  display: none;
2226
2797
  }
2227
2798
  `;
2228
- f([
2799
+ _([
2229
2800
  n()
2230
- ], Q.prototype, "href", 2);
2231
- f([
2801
+ ], ie.prototype, "href", 2);
2802
+ _([
2232
2803
  n({ type: Boolean, reflect: !0 })
2233
- ], Q.prototype, "current", 2);
2234
- Q = f([
2804
+ ], ie.prototype, "current", 2);
2805
+ ie = _([
2235
2806
  p("vox-sidenav-item")
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--)
2807
+ ], ie);
2808
+ var zo = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Et = (o, t, a, r) => {
2809
+ for (var e = r > 1 ? void 0 : r ? jo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2239
2810
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2240
- return r && e && $o(t, a, e), e;
2811
+ return r && e && zo(t, a, e), e;
2241
2812
  };
2242
- let Ve = class extends h {
2813
+ let Se = class extends h {
2243
2814
  constructor() {
2244
2815
  super(...arguments), this.label = "Secondary";
2245
2816
  }
@@ -2251,7 +2822,7 @@ let Ve = class extends h {
2251
2822
  `;
2252
2823
  }
2253
2824
  };
2254
- Ve.styles = d`
2825
+ Se.styles = d`
2255
2826
  :host {
2256
2827
  display: block;
2257
2828
  font-family: var(--vox-font-family-base);
@@ -2286,18 +2857,18 @@ Ve.styles = d`
2286
2857
  border-bottom-color: var(--vox-color-brand-1);
2287
2858
  }
2288
2859
  `;
2289
- Lt([
2860
+ Et([
2290
2861
  n()
2291
- ], Ve.prototype, "label", 2);
2292
- Ve = Lt([
2862
+ ], Se.prototype, "label", 2);
2863
+ Se = Et([
2293
2864
  p("vox-subnav")
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--)
2865
+ ], Se);
2866
+ var Eo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, q = (o, t, a, r) => {
2867
+ for (var e = r > 1 ? void 0 : r ? Do(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2297
2868
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2298
- return r && e && Co(t, a, e), e;
2869
+ return r && e && Eo(t, a, e), e;
2299
2870
  };
2300
- let We = class extends h {
2871
+ let at = class extends h {
2301
2872
  get tabs() {
2302
2873
  return [...this.querySelectorAll("vox-tab")];
2303
2874
  }
@@ -2343,7 +2914,7 @@ let We = class extends h {
2343
2914
  `;
2344
2915
  }
2345
2916
  };
2346
- We.styles = d`
2917
+ at.styles = d`
2347
2918
  :host {
2348
2919
  display: block;
2349
2920
  }
@@ -2354,10 +2925,10 @@ We.styles = d`
2354
2925
  border-bottom: 1px solid var(--vox-color-divider);
2355
2926
  }
2356
2927
  `;
2357
- We = j([
2928
+ at = q([
2358
2929
  p("vox-tabs")
2359
- ], We);
2360
- let ee = class extends h {
2930
+ ], at);
2931
+ let ne = class extends h {
2361
2932
  constructor() {
2362
2933
  super(...arguments), this.panel = "", this.selected = !1;
2363
2934
  }
@@ -2384,7 +2955,7 @@ let ee = class extends h {
2384
2955
  `;
2385
2956
  }
2386
2957
  };
2387
- ee.styles = d`
2958
+ ne.styles = d`
2388
2959
  :host {
2389
2960
  display: block;
2390
2961
  font-family: var(--vox-font-family-base);
@@ -2419,16 +2990,16 @@ ee.styles = d`
2419
2990
  border-bottom-color: var(--vox-color-brand-1);
2420
2991
  }
2421
2992
  `;
2422
- j([
2993
+ q([
2423
2994
  n()
2424
- ], ee.prototype, "panel", 2);
2425
- j([
2995
+ ], ne.prototype, "panel", 2);
2996
+ q([
2426
2997
  n({ type: Boolean, reflect: !0 })
2427
- ], ee.prototype, "selected", 2);
2428
- ee = j([
2998
+ ], ne.prototype, "selected", 2);
2999
+ ne = q([
2429
3000
  p("vox-tab")
2430
- ], ee);
2431
- let te = class extends h {
3001
+ ], ne);
3002
+ let le = class extends h {
2432
3003
  constructor() {
2433
3004
  super(...arguments), this.name = "", this.active = !1;
2434
3005
  }
@@ -2436,7 +3007,7 @@ let te = class extends h {
2436
3007
  return l`<div role="tabpanel"><slot></slot></div>`;
2437
3008
  }
2438
3009
  };
2439
- te.styles = d`
3010
+ le.styles = d`
2440
3011
  :host {
2441
3012
  display: none;
2442
3013
  font-family: var(--vox-font-family-base);
@@ -2450,21 +3021,21 @@ te.styles = d`
2450
3021
  display: block;
2451
3022
  }
2452
3023
  `;
2453
- j([
3024
+ q([
2454
3025
  n()
2455
- ], te.prototype, "name", 2);
2456
- j([
3026
+ ], le.prototype, "name", 2);
3027
+ q([
2457
3028
  n({ type: Boolean, reflect: !0 })
2458
- ], te.prototype, "active", 2);
2459
- te = j([
3029
+ ], le.prototype, "active", 2);
3030
+ le = q([
2460
3031
  p("vox-tab-panel")
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--)
3032
+ ], le);
3033
+ var Ao = Object.defineProperty, So = Object.getOwnPropertyDescriptor, ke = (o, t, a, r) => {
3034
+ for (var e = r > 1 ? void 0 : r ? So(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2464
3035
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2465
- return r && e && Oo(t, a, e), e;
3036
+ return r && e && Ao(t, a, e), e;
2466
3037
  };
2467
- let je = class extends h {
3038
+ let He = class extends h {
2468
3039
  constructor() {
2469
3040
  super(...arguments), this.heading = "On this page";
2470
3041
  }
@@ -2477,7 +3048,7 @@ let je = class extends h {
2477
3048
  `;
2478
3049
  }
2479
3050
  };
2480
- je.styles = d`
3051
+ He.styles = d`
2481
3052
  :host {
2482
3053
  display: block;
2483
3054
  font-family: var(--vox-font-family-base);
@@ -2498,13 +3069,13 @@ je.styles = d`
2498
3069
  border-left: 1px solid var(--vox-color-divider);
2499
3070
  }
2500
3071
  `;
2501
- ye([
3072
+ ke([
2502
3073
  n()
2503
- ], je.prototype, "heading", 2);
2504
- je = ye([
3074
+ ], He.prototype, "heading", 2);
3075
+ He = ke([
2505
3076
  p("vox-toc")
2506
- ], je);
2507
- let oe = class extends h {
3077
+ ], He);
3078
+ let ce = class extends h {
2508
3079
  constructor() {
2509
3080
  super(...arguments), this.href = "#", this.current = !1, this.hasChildren = !1;
2510
3081
  }
@@ -2523,7 +3094,7 @@ let oe = class extends h {
2523
3094
  `;
2524
3095
  }
2525
3096
  };
2526
- oe.styles = d`
3097
+ ce.styles = d`
2527
3098
  :host {
2528
3099
  display: block;
2529
3100
  font-family: var(--vox-font-family-base);
@@ -2569,21 +3140,21 @@ oe.styles = d`
2569
3140
  display: none;
2570
3141
  }
2571
3142
  `;
2572
- ye([
3143
+ ke([
2573
3144
  n()
2574
- ], oe.prototype, "href", 2);
2575
- ye([
3145
+ ], ce.prototype, "href", 2);
3146
+ ke([
2576
3147
  n({ type: Boolean, reflect: !0 })
2577
- ], oe.prototype, "current", 2);
2578
- oe = ye([
3148
+ ], ce.prototype, "current", 2);
3149
+ ce = ke([
2579
3150
  p("vox-toc-item")
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--)
3151
+ ], ce);
3152
+ var Ho = Object.defineProperty, Bo = Object.getOwnPropertyDescriptor, Oe = (o, t, a, r) => {
3153
+ for (var e = r > 1 ? void 0 : r ? Bo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2583
3154
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2584
- return r && e && Lo(t, a, e), e;
3155
+ return r && e && Ho(t, a, e), e;
2585
3156
  };
2586
- let k = class extends h {
3157
+ let A = class extends h {
2587
3158
  constructor() {
2588
3159
  super(...arguments), this.heading = "", this.open = !1, this.lightDismiss = !1, this.hasFooter = !1;
2589
3160
  }
@@ -2631,7 +3202,7 @@ let k = class extends h {
2631
3202
  `;
2632
3203
  }
2633
3204
  };
2634
- k.styles = d`
3205
+ A.styles = d`
2635
3206
  dialog {
2636
3207
  box-sizing: border-box;
2637
3208
  width: min(90vw, 480px);
@@ -2718,27 +3289,27 @@ k.styles = d`
2718
3289
  margin-bottom: 0;
2719
3290
  }
2720
3291
  `;
2721
- me([
3292
+ Oe([
2722
3293
  n()
2723
- ], k.prototype, "heading", 2);
2724
- me([
3294
+ ], A.prototype, "heading", 2);
3295
+ Oe([
2725
3296
  n({ type: Boolean })
2726
- ], k.prototype, "open", 2);
2727
- me([
3297
+ ], A.prototype, "open", 2);
3298
+ Oe([
2728
3299
  n({ type: Boolean, attribute: "light-dismiss" })
2729
- ], k.prototype, "lightDismiss", 2);
2730
- me([
2731
- rt("dialog")
2732
- ], k.prototype, "dialogEl", 2);
2733
- k = me([
3300
+ ], A.prototype, "lightDismiss", 2);
3301
+ Oe([
3302
+ J("dialog")
3303
+ ], A.prototype, "dialogEl", 2);
3304
+ A = Oe([
2734
3305
  p("vox-dialog")
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--)
3306
+ ], A);
3307
+ var Io = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, ut = (o, t, a, r) => {
3308
+ for (var e = r > 1 ? void 0 : r ? qo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2738
3309
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2739
- return r && e && Vo(t, a, e), e;
3310
+ return r && e && Io(t, a, e), e;
2740
3311
  };
2741
- let re = class extends h {
3312
+ let de = class extends h {
2742
3313
  constructor() {
2743
3314
  super(...arguments), this.summary = "Show details", this.open = !1;
2744
3315
  }
@@ -2765,7 +3336,7 @@ let re = class extends h {
2765
3336
  `;
2766
3337
  }
2767
3338
  };
2768
- re.styles = d`
3339
+ de.styles = d`
2769
3340
  :host {
2770
3341
  display: block;
2771
3342
  font-family: var(--vox-font-family-base);
@@ -2817,21 +3388,21 @@ re.styles = d`
2817
3388
  display: none;
2818
3389
  }
2819
3390
  `;
2820
- ct([
3391
+ ut([
2821
3392
  n()
2822
- ], re.prototype, "summary", 2);
2823
- ct([
3393
+ ], de.prototype, "summary", 2);
3394
+ ut([
2824
3395
  n({ type: Boolean, reflect: !0 })
2825
- ], re.prototype, "open", 2);
2826
- re = ct([
3396
+ ], de.prototype, "open", 2);
3397
+ de = ut([
2827
3398
  p("vox-disclosure")
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--)
3399
+ ], de);
3400
+ var No = Object.defineProperty, To = Object.getOwnPropertyDescriptor, xt = (o, t, a, r) => {
3401
+ for (var e = r > 1 ? void 0 : r ? To(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2831
3402
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2832
- return r && e && zo(t, a, e), e;
3403
+ return r && e && No(t, a, e), e;
2833
3404
  };
2834
- let ae = class extends h {
3405
+ let pe = class extends h {
2835
3406
  constructor() {
2836
3407
  super(...arguments), this.label = "Menu", this.open = !1, this.handleOutsideClick = (o) => {
2837
3408
  this.open && !o.composedPath().includes(this) && (this.open = !1);
@@ -2878,7 +3449,7 @@ let ae = class extends h {
2878
3449
  `;
2879
3450
  }
2880
3451
  };
2881
- ae.styles = d`
3452
+ pe.styles = d`
2882
3453
  :host {
2883
3454
  position: relative;
2884
3455
  display: inline-block;
@@ -2977,21 +3548,21 @@ ae.styles = d`
2977
3548
  border-top: 1px solid var(--vox-color-divider);
2978
3549
  }
2979
3550
  `;
2980
- dt([
3551
+ xt([
2981
3552
  n()
2982
- ], ae.prototype, "label", 2);
2983
- dt([
3553
+ ], pe.prototype, "label", 2);
3554
+ xt([
2984
3555
  n({ type: Boolean, reflect: !0 })
2985
- ], ae.prototype, "open", 2);
2986
- ae = dt([
3556
+ ], pe.prototype, "open", 2);
3557
+ pe = xt([
2987
3558
  p("vox-dropdown")
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--)
3559
+ ], pe);
3560
+ var Ro = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, Me = (o, t, a, r) => {
3561
+ for (var e = r > 1 ? void 0 : r ? Zo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
2991
3562
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
2992
- return r && e && So(t, a, e), e;
3563
+ return r && e && Ro(t, a, e), e;
2993
3564
  };
2994
- let ze = class extends h {
3565
+ let Be = class extends h {
2995
3566
  constructor() {
2996
3567
  super(...arguments), this.single = !1;
2997
3568
  }
@@ -3008,7 +3579,7 @@ let ze = class extends h {
3008
3579
  return l`<slot @vox-toggle=${this.handleToggle}></slot>`;
3009
3580
  }
3010
3581
  };
3011
- ze.styles = d`
3582
+ Be.styles = d`
3012
3583
  :host {
3013
3584
  display: block;
3014
3585
  border: 1px solid var(--vox-color-divider);
@@ -3020,13 +3591,13 @@ ze.styles = d`
3020
3591
  border-top: 1px solid var(--vox-color-divider);
3021
3592
  }
3022
3593
  `;
3023
- we([
3594
+ Me([
3024
3595
  n({ type: Boolean })
3025
- ], ze.prototype, "single", 2);
3026
- ze = we([
3596
+ ], Be.prototype, "single", 2);
3597
+ Be = Me([
3027
3598
  p("vox-accordion")
3028
- ], ze);
3029
- let se = class extends h {
3599
+ ], Be);
3600
+ let he = class extends h {
3030
3601
  constructor() {
3031
3602
  super(...arguments), this.heading = "", this.open = !1;
3032
3603
  }
@@ -3055,7 +3626,7 @@ let se = class extends h {
3055
3626
  `;
3056
3627
  }
3057
3628
  };
3058
- se.styles = d`
3629
+ he.styles = d`
3059
3630
  :host {
3060
3631
  display: block;
3061
3632
  font-family: var(--vox-font-family-base);
@@ -3117,27 +3688,27 @@ se.styles = d`
3117
3688
  margin-bottom: 0;
3118
3689
  }
3119
3690
  `;
3120
- we([
3691
+ Me([
3121
3692
  n()
3122
- ], se.prototype, "heading", 2);
3123
- we([
3693
+ ], he.prototype, "heading", 2);
3694
+ Me([
3124
3695
  n({ type: Boolean, reflect: !0 })
3125
- ], se.prototype, "open", 2);
3126
- se = we([
3696
+ ], he.prototype, "open", 2);
3697
+ he = Me([
3127
3698
  p("vox-accordion-item")
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--)
3699
+ ], he);
3700
+ var Fo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, Le = (o, t, a, r) => {
3701
+ for (var e = r > 1 ? void 0 : r ? Ko(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3131
3702
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3132
- return r && e && Ao(t, a, e), e;
3703
+ return r && e && Fo(t, a, e), e;
3133
3704
  };
3134
- const Bo = {
3705
+ const Uo = {
3135
3706
  info: "info",
3136
3707
  success: "check-circle",
3137
3708
  warning: "warning",
3138
3709
  danger: "x-circle"
3139
3710
  };
3140
- let L = class extends h {
3711
+ let S = class extends h {
3141
3712
  constructor() {
3142
3713
  super(...arguments), this.variant = "info", this.heading = "", this.dismissible = !1, this.open = !0;
3143
3714
  }
@@ -3159,7 +3730,7 @@ let L = class extends h {
3159
3730
  stroke-linejoin="round"
3160
3731
  aria-hidden="true"
3161
3732
  >
3162
- ${y[Bo[this.variant]]}
3733
+ ${O[Uo[this.variant]]}
3163
3734
  </svg>
3164
3735
  <div class="body">
3165
3736
  ${this.heading ? l`<p class="heading">${this.heading}</p>` : v}
@@ -3176,7 +3747,7 @@ let L = class extends h {
3176
3747
  `;
3177
3748
  }
3178
3749
  };
3179
- L.styles = d`
3750
+ S.styles = d`
3180
3751
  :host {
3181
3752
  display: block;
3182
3753
  font-family: var(--vox-font-family-base);
@@ -3295,27 +3866,27 @@ L.styles = d`
3295
3866
  margin-bottom: 0;
3296
3867
  }
3297
3868
  `;
3298
- $e([
3869
+ Le([
3299
3870
  n()
3300
- ], L.prototype, "variant", 2);
3301
- $e([
3871
+ ], S.prototype, "variant", 2);
3872
+ Le([
3302
3873
  n()
3303
- ], L.prototype, "heading", 2);
3304
- $e([
3874
+ ], S.prototype, "heading", 2);
3875
+ Le([
3305
3876
  n({ type: Boolean })
3306
- ], L.prototype, "dismissible", 2);
3307
- $e([
3877
+ ], S.prototype, "dismissible", 2);
3878
+ Le([
3308
3879
  n({ type: Boolean, reflect: !0 })
3309
- ], L.prototype, "open", 2);
3310
- L = $e([
3880
+ ], S.prototype, "open", 2);
3881
+ S = Le([
3311
3882
  p("vox-alert")
3312
- ], L);
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--)
3883
+ ], S);
3884
+ var Go = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Dt = (o, t, a, r) => {
3885
+ for (var e = r > 1 ? void 0 : r ? Yo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3315
3886
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3316
- return r && e && No(t, a, e), e;
3887
+ return r && e && Go(t, a, e), e;
3317
3888
  };
3318
- let De = class extends h {
3889
+ let Ie = class extends h {
3319
3890
  constructor() {
3320
3891
  super(...arguments), this.variant = "brand";
3321
3892
  }
@@ -3323,7 +3894,7 @@ let De = class extends h {
3323
3894
  return l`<span class="badge ${this.variant}"><slot></slot></span>`;
3324
3895
  }
3325
3896
  };
3326
- De.styles = d`
3897
+ Ie.styles = d`
3327
3898
  :host {
3328
3899
  display: inline-block;
3329
3900
  }
@@ -3365,18 +3936,18 @@ De.styles = d`
3365
3936
  color: var(--vox-color-text-2);
3366
3937
  }
3367
3938
  `;
3368
- Pt([
3939
+ Dt([
3369
3940
  n()
3370
- ], De.prototype, "variant", 2);
3371
- De = Pt([
3941
+ ], Ie.prototype, "variant", 2);
3942
+ Ie = Dt([
3372
3943
  p("vox-badge")
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--)
3944
+ ], Ie);
3945
+ var Wo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, ft = (o, t, a, r) => {
3946
+ for (var e = r > 1 ? void 0 : r ? Xo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3376
3947
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3377
- return r && e && qo(t, a, e), e;
3948
+ return r && e && Wo(t, a, e), e;
3378
3949
  };
3379
- let ie = class extends h {
3950
+ let ve = class extends h {
3380
3951
  constructor() {
3381
3952
  super(...arguments), this.date = "";
3382
3953
  }
@@ -3390,7 +3961,7 @@ let ie = class extends h {
3390
3961
  `;
3391
3962
  }
3392
3963
  };
3393
- ie.styles = d`
3964
+ ve.styles = d`
3394
3965
  :host {
3395
3966
  display: inline-block;
3396
3967
  font-family: var(--vox-font-family-base);
@@ -3426,32 +3997,32 @@ ie.styles = d`
3426
3997
  color: var(--vox-color-text-1);
3427
3998
  }
3428
3999
  `;
3429
- pt([
4000
+ ft([
3430
4001
  n()
3431
- ], ie.prototype, "date", 2);
3432
- pt([
4002
+ ], ve.prototype, "date", 2);
4003
+ ft([
3433
4004
  n()
3434
- ], ie.prototype, "locale", 2);
3435
- ie = pt([
4005
+ ], ve.prototype, "locale", 2);
4006
+ ve = ft([
3436
4007
  p("vox-calendar-tile")
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--)
4008
+ ], ve);
4009
+ var Jo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, gt = (o, t, a, r) => {
4010
+ for (var e = r > 1 ? void 0 : r ? Qo(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3440
4011
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3441
- return r && e && Ro(t, a, e), e;
4012
+ return r && e && Jo(t, a, e), e;
3442
4013
  };
3443
- const Fo = {
4014
+ const er = {
3444
4015
  info: "Info",
3445
4016
  tip: "Tip",
3446
4017
  warning: "Warning",
3447
4018
  danger: "Danger"
3448
- }, Uo = {
4019
+ }, tr = {
3449
4020
  info: "info",
3450
4021
  tip: "check-circle",
3451
4022
  warning: "warning",
3452
4023
  danger: "x-circle"
3453
4024
  };
3454
- let ne = class extends h {
4025
+ let ue = class extends h {
3455
4026
  constructor() {
3456
4027
  super(...arguments), this.variant = "info";
3457
4028
  }
@@ -3468,17 +4039,17 @@ let ne = class extends h {
3468
4039
  stroke-linejoin="round"
3469
4040
  aria-hidden="true"
3470
4041
  >
3471
- ${y[Uo[this.variant]]}
4042
+ ${O[tr[this.variant]]}
3472
4043
  </svg>
3473
4044
  <div class="content">
3474
- <p class="heading">${this.heading ?? Fo[this.variant]}</p>
4045
+ <p class="heading">${this.heading ?? er[this.variant]}</p>
3475
4046
  <slot></slot>
3476
4047
  </div>
3477
4048
  </div>
3478
4049
  `;
3479
4050
  }
3480
4051
  };
3481
- ne.styles = d`
4052
+ ue.styles = d`
3482
4053
  :host {
3483
4054
  display: block;
3484
4055
  }
@@ -3561,21 +4132,21 @@ ne.styles = d`
3561
4132
  margin-bottom: 0;
3562
4133
  }
3563
4134
  `;
3564
- ht([
4135
+ gt([
3565
4136
  n()
3566
- ], ne.prototype, "variant", 2);
3567
- ht([
4137
+ ], ue.prototype, "variant", 2);
4138
+ gt([
3568
4139
  n()
3569
- ], ne.prototype, "heading", 2);
3570
- ne = ht([
4140
+ ], ue.prototype, "heading", 2);
4141
+ ue = gt([
3571
4142
  p("vox-callout")
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--)
4143
+ ], ue);
4144
+ var or = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, We = (o, t, a, r) => {
4145
+ for (var e = r > 1 ? void 0 : r ? rr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
3575
4146
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
3576
- return r && e && Ko(t, a, e), e;
4147
+ return r && e && or(t, a, e), e;
3577
4148
  };
3578
- let q = class extends h {
4149
+ let Y = class extends h {
3579
4150
  constructor() {
3580
4151
  super(...arguments), this.heading = "", this.hasIcon = !1, this.hasBadge = !1, this.hasFooter = !1;
3581
4152
  }
@@ -3608,7 +4179,7 @@ let q = class extends h {
3608
4179
  return this.href !== void 0 ? l`<a class="card" href=${this.href} target=${this.target ?? v}>${o}</a>` : l`<div class="card">${o}</div>`;
3609
4180
  }
3610
4181
  };
3611
- q.styles = d`
4182
+ Y.styles = d`
3612
4183
  :host {
3613
4184
  display: block;
3614
4185
  }
@@ -3693,41 +4264,41 @@ q.styles = d`
3693
4264
  display: none;
3694
4265
  }
3695
4266
  `;
3696
- Re([
4267
+ We([
3697
4268
  n()
3698
- ], q.prototype, "heading", 2);
3699
- Re([
4269
+ ], Y.prototype, "heading", 2);
4270
+ We([
3700
4271
  n()
3701
- ], q.prototype, "href", 2);
3702
- Re([
4272
+ ], Y.prototype, "href", 2);
4273
+ We([
3703
4274
  n()
3704
- ], q.prototype, "target", 2);
3705
- q = Re([
4275
+ ], Y.prototype, "target", 2);
4276
+ Y = We([
3706
4277
  p("vox-card")
3707
- ], q);
3708
- function Vt(o, t) {
4278
+ ], Y);
4279
+ function At(o, t) {
3709
4280
  let a = t;
3710
4281
  for (; a < o.length && (o[a] === " " || o[a] === " "); ) a++;
3711
4282
  return a;
3712
4283
  }
3713
- function z(o, t) {
4284
+ function N(o, t) {
3714
4285
  return {
3715
4286
  re: o,
3716
- type: (a, r, e) => t.has(a) ? "keyword" : r[Vt(r, e)] === "(" ? "function" : "plain"
4287
+ type: (a, r, e) => t.has(a) ? "keyword" : r[At(r, e)] === "(" ? "function" : "plain"
3717
4288
  };
3718
4289
  }
3719
- function Je(o) {
4290
+ function st(o) {
3720
4291
  return {
3721
4292
  re: o,
3722
- type: (t, a, r) => a[Vt(a, r)] === ":" ? "property" : "string"
4293
+ type: (t, a, r) => a[At(a, r)] === ":" ? "property" : "string"
3723
4294
  };
3724
4295
  }
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) {
4296
+ const Pe = /-?\b\d+\.?\d*(?:[eE][+-]?\d+)?\b/y, V = /"(?:\\.|[^"\\])*"/y, T = /'(?:\\.|[^'\\])*'/y, Xe = /#.*/y, ar = /\/\/.*/y, St = /\/\*[\s\S]*?\*\//y;
4297
+ function kt(o, t, a) {
3727
4298
  const r = o[o.length - 1];
3728
4299
  r && r.type === t ? r.text += a : o.push({ type: t, text: a });
3729
4300
  }
3730
- function Xo(o, t) {
4301
+ function sr(o, t) {
3731
4302
  const a = [];
3732
4303
  let r = 0;
3733
4304
  for (; r < o.length; ) {
@@ -3736,16 +4307,16 @@ function Xo(o, t) {
3736
4307
  s.re.lastIndex = r;
3737
4308
  const i = s.re.exec(o);
3738
4309
  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;
4310
+ const z = i[0], ze = typeof s.type == "function" ? s.type(z, o, r + z.length) : s.type;
4311
+ kt(a, ze, z), r += z.length, e = !0;
3741
4312
  break;
3742
4313
  }
3743
4314
  }
3744
- e || (mt(a, "plain", o[r]), r++);
4315
+ e || (kt(a, "plain", o[r]), r++);
3745
4316
  }
3746
4317
  return a;
3747
4318
  }
3748
- const Wo = /* @__PURE__ */ new Set([
4319
+ const ir = /* @__PURE__ */ new Set([
3749
4320
  "if",
3750
4321
  "then",
3751
4322
  "elif",
@@ -3781,14 +4352,14 @@ const Wo = /* @__PURE__ */ new Set([
3781
4352
  "unalias",
3782
4353
  "true",
3783
4354
  "false"
3784
- ]), ke = [
3785
- { re: Ze, type: "comment" },
4355
+ ]), Ee = [
4356
+ { re: Xe, type: "comment" },
3786
4357
  { 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([
4358
+ { re: V, type: "string" },
4359
+ { re: T, type: "string" },
4360
+ { re: Pe, type: "number" },
4361
+ N(/[A-Za-z_][\w-]*/y, ir)
4362
+ ], nr = /* @__PURE__ */ new Set([
3792
4363
  "true",
3793
4364
  "false",
3794
4365
  "yes",
@@ -3810,19 +4381,19 @@ const Wo = /* @__PURE__ */ new Set([
3810
4381
  "NULL",
3811
4382
  "ON",
3812
4383
  "OFF"
3813
- ]), wt = [
3814
- { re: Ze, type: "comment" },
3815
- Je($),
3816
- Je(D),
4384
+ ]), Ot = [
4385
+ { re: Xe, type: "comment" },
4386
+ st(V),
4387
+ st(T),
3817
4388
  { re: /[A-Za-z_][\w .-]*?(?=:(\s|$))/y, type: "property" },
3818
4389
  { 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([
4390
+ { re: Pe, type: "number" },
4391
+ N(/[A-Za-z_][\w-]*/y, nr)
4392
+ ], lr = [
4393
+ st(V),
4394
+ { re: Pe, type: "number" },
4395
+ N(/[A-Za-z_]\w*/y, /* @__PURE__ */ new Set(["true", "false", "null"]))
4396
+ ], cr = /* @__PURE__ */ new Set([
3826
4397
  "const",
3827
4398
  "let",
3828
4399
  "var",
@@ -3880,32 +4451,32 @@ const Wo = /* @__PURE__ */ new Set([
3880
4451
  "abstract",
3881
4452
  "keyof",
3882
4453
  "satisfies"
3883
- ]), Le = [
3884
- { re: Yo, type: "comment" },
3885
- { re: jt, type: "comment" },
3886
- { re: $, type: "string" },
3887
- { re: D, type: "string" },
4454
+ ]), De = [
4455
+ { re: ar, type: "comment" },
4456
+ { re: St, type: "comment" },
4457
+ { re: V, type: "string" },
4458
+ { re: T, type: "string" },
3888
4459
  { re: /`(?:\\.|[^`\\])*`/y, type: "string" },
3889
4460
  { 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" },
4461
+ N(/[A-Za-z_$][\w$]*/y, cr)
4462
+ ], dr = [
4463
+ { re: St, type: "comment" },
4464
+ { re: V, type: "string" },
4465
+ { re: T, type: "string" },
3895
4466
  { re: /@[\w-]+/y, type: "keyword" },
3896
4467
  { re: /!important/y, type: "keyword" },
3897
4468
  { re: /#[0-9a-fA-F]{3,8}\b/y, type: "number" },
3898
4469
  { re: /-?\b\d+\.?\d*[a-zA-Z%]*\b/y, type: "number" },
3899
4470
  { re: /[a-zA-Z-]+(?=\s*:)/y, type: "property" },
3900
- z(/[a-zA-Z-]+/y, /* @__PURE__ */ new Set())
3901
- ], $t = [
4471
+ N(/[a-zA-Z-]+/y, /* @__PURE__ */ new Set())
4472
+ ], Mt = [
3902
4473
  { re: /<!--[\s\S]*?-->/y, type: "comment" },
3903
4474
  { re: /<\/?[a-zA-Z][\w:-]*/y, type: "tag" },
3904
4475
  { re: /[a-zA-Z-][\w-]*(?=\s*=)/y, type: "property" },
3905
- { re: $, type: "string" },
3906
- { re: D, type: "string" },
4476
+ { re: V, type: "string" },
4477
+ { re: T, type: "string" },
3907
4478
  { re: /&[\w#]+;/y, type: "keyword" }
3908
- ], or = /* @__PURE__ */ new Set([
4479
+ ], pr = /* @__PURE__ */ new Set([
3909
4480
  "def",
3910
4481
  "end",
3911
4482
  "if",
@@ -3953,16 +4524,16 @@ const Wo = /* @__PURE__ */ new Set([
3953
4524
  "lambda",
3954
4525
  "proc",
3955
4526
  "new"
3956
- ]), _t = [
3957
- { re: Ze, type: "comment" },
4527
+ ]), Lt = [
4528
+ { re: Xe, type: "comment" },
3958
4529
  { re: /:[A-Za-z_]\w*[?!]?/y, type: "string" },
3959
4530
  { 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" },
4531
+ { re: V, type: "string" },
4532
+ { re: T, type: "string" },
4533
+ { re: Pe, type: "number" },
3963
4534
  { re: /[A-Z]\w*/y, type: "property" },
3964
- z(/[a-z_]\w*[?!]?/y, or)
3965
- ], rr = /* @__PURE__ */ new Set([
4535
+ N(/[a-z_]\w*[?!]?/y, pr)
4536
+ ], hr = /* @__PURE__ */ new Set([
3966
4537
  "class",
3967
4538
  "define",
3968
4539
  "node",
@@ -4018,35 +4589,35 @@ const Wo = /* @__PURE__ */ new Set([
4018
4589
  "Callable",
4019
4590
  "Data",
4020
4591
  "Scalar"
4021
- ]), Ct = [
4022
- { re: Ze, type: "comment" },
4023
- { re: $, type: "string" },
4024
- { re: D, type: "string" },
4592
+ ]), Pt = [
4593
+ { re: Xe, type: "comment" },
4594
+ { re: V, type: "string" },
4595
+ { re: T, type: "string" },
4025
4596
  { re: /\$[\w:]+/y, type: "function" },
4026
4597
  { re: /[a-zA-Z_][\w:]*(?=\s*\{)/y, type: "tag" },
4027
4598
  { 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 = {
4599
+ { re: Pe, type: "number" },
4600
+ N(/[A-Za-z_][\w:]*/y, hr)
4601
+ ], vr = {
4602
+ bash: Ee,
4603
+ sh: Ee,
4604
+ shell: Ee,
4605
+ zsh: Ee,
4606
+ yaml: Ot,
4607
+ yml: Ot,
4608
+ json: lr,
4609
+ javascript: De,
4610
+ js: De,
4611
+ typescript: De,
4612
+ ts: De,
4613
+ css: dr,
4614
+ html: Mt,
4615
+ xml: Mt,
4616
+ ruby: Lt,
4617
+ rb: Lt,
4618
+ puppet: Pt,
4619
+ pp: Pt
4620
+ }, ur = {
4050
4621
  bash: "Bash",
4051
4622
  sh: "Shell",
4052
4623
  shell: "Shell",
@@ -4068,16 +4639,16 @@ const Wo = /* @__PURE__ */ new Set([
4068
4639
  plaintext: "Plain Text",
4069
4640
  text: "Plain Text"
4070
4641
  };
4071
- function ir(o, t) {
4072
- const a = ar[t];
4073
- return a ? Xo(o, a) : [{ type: "plain", text: o }];
4642
+ function xr(o, t) {
4643
+ const a = vr[t];
4644
+ return a ? sr(o, a) : [{ type: "plain", text: o }];
4074
4645
  }
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--)
4646
+ var fr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, k = (o, t, a, r) => {
4647
+ for (var e = r > 1 ? void 0 : r ? gr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4077
4648
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4078
- return r && e && nr(t, a, e), e;
4649
+ return r && e && fr(t, a, e), e;
4079
4650
  };
4080
- function cr(o) {
4651
+ function br(o) {
4081
4652
  const t = o.split(`
4082
4653
  `);
4083
4654
  for (; t.length && t[0].trim() === ""; ) t.shift();
@@ -4089,7 +4660,7 @@ function cr(o) {
4089
4660
  return t.map((e) => e.slice(r)).join(`
4090
4661
  `);
4091
4662
  }
4092
- function dr(o) {
4663
+ function yr(o) {
4093
4664
  const t = [[]];
4094
4665
  for (const a of o)
4095
4666
  a.text.split(`
@@ -4098,7 +4669,7 @@ function dr(o) {
4098
4669
  });
4099
4670
  return t;
4100
4671
  }
4101
- let u = class extends h {
4672
+ let y = class extends h {
4102
4673
  constructor() {
4103
4674
  super(...arguments), this.language = "", this.filename = "", this.lineNumbers = !1, this.noCopy = !1, this.noHeader = !1, this.noBorder = !1, this._code = "", this._copied = !1;
4104
4675
  }
@@ -4107,7 +4678,7 @@ let u = class extends h {
4107
4678
  }
4108
4679
  _handleSlotChange(o) {
4109
4680
  const a = o.target.assignedNodes({ flatten: !0 }).map((r) => r.textContent ?? "").join("");
4110
- this._code = cr(a);
4681
+ this._code = br(a);
4111
4682
  }
4112
4683
  async _copy() {
4113
4684
  var o;
@@ -4122,7 +4693,7 @@ let u = class extends h {
4122
4693
  }, 1500);
4123
4694
  }
4124
4695
  render() {
4125
- const o = sr[this.language] ?? this.language, t = dr(ir(this._code, this.language));
4696
+ const o = ur[this.language] ?? this.language, t = yr(xr(this._code, this.language));
4126
4697
  return l`
4127
4698
  <div class="block">
4128
4699
  ${this.noHeader ? v : l`
@@ -4139,7 +4710,7 @@ let u = class extends h {
4139
4710
  aria-label=${this._copied ? "Copied" : "Copy code"}
4140
4711
  >
4141
4712
  <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"]}
4713
+ ${O[this._copied ? "check" : "copy"]}
4143
4714
  </svg>
4144
4715
  </button>
4145
4716
  `}
@@ -4156,7 +4727,7 @@ let u = class extends h {
4156
4727
  `;
4157
4728
  }
4158
4729
  };
4159
- u.styles = d`
4730
+ y.styles = d`
4160
4731
  :host {
4161
4732
  display: block;
4162
4733
  font-family: var(--vox-font-family-base);
@@ -4317,39 +4888,39 @@ u.styles = d`
4317
4888
  white-space: nowrap;
4318
4889
  }
4319
4890
  `;
4320
- b([
4891
+ k([
4321
4892
  n()
4322
- ], u.prototype, "language", 2);
4323
- b([
4893
+ ], y.prototype, "language", 2);
4894
+ k([
4324
4895
  n()
4325
- ], u.prototype, "filename", 2);
4326
- b([
4896
+ ], y.prototype, "filename", 2);
4897
+ k([
4327
4898
  n({ type: Boolean, attribute: "line-numbers", reflect: !0 })
4328
- ], u.prototype, "lineNumbers", 2);
4329
- b([
4899
+ ], y.prototype, "lineNumbers", 2);
4900
+ k([
4330
4901
  n({ type: Boolean, attribute: "no-copy" })
4331
- ], u.prototype, "noCopy", 2);
4332
- b([
4902
+ ], y.prototype, "noCopy", 2);
4903
+ k([
4333
4904
  n({ type: Boolean, attribute: "no-header" })
4334
- ], u.prototype, "noHeader", 2);
4335
- b([
4905
+ ], y.prototype, "noHeader", 2);
4906
+ k([
4336
4907
  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([
4908
+ ], y.prototype, "noBorder", 2);
4909
+ k([
4910
+ $()
4911
+ ], y.prototype, "_code", 2);
4912
+ k([
4913
+ $()
4914
+ ], y.prototype, "_copied", 2);
4915
+ y = k([
4345
4916
  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--)
4917
+ ], y);
4918
+ var mr = Object.defineProperty, wr = Object.getOwnPropertyDescriptor, Ht = (o, t, a, r) => {
4919
+ for (var e = r > 1 ? void 0 : r ? wr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4349
4920
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4350
- return r && e && pr(t, a, e), e;
4921
+ return r && e && mr(t, a, e), e;
4351
4922
  };
4352
- let Se = class extends h {
4923
+ let qe = class extends h {
4353
4924
  constructor() {
4354
4925
  super(...arguments), this.heading = "", this.hasBody = !1, this.hasActions = !1;
4355
4926
  }
@@ -4375,7 +4946,7 @@ let Se = class extends h {
4375
4946
  `;
4376
4947
  }
4377
4948
  };
4378
- Se.styles = d`
4949
+ qe.styles = d`
4379
4950
  :host {
4380
4951
  display: block;
4381
4952
  font-family: var(--vox-font-family-base);
@@ -4430,18 +5001,18 @@ Se.styles = d`
4430
5001
  display: none;
4431
5002
  }
4432
5003
  `;
4433
- zt([
5004
+ Ht([
4434
5005
  n()
4435
- ], Se.prototype, "heading", 2);
4436
- Se = zt([
5006
+ ], qe.prototype, "heading", 2);
5007
+ qe = Ht([
4437
5008
  p("vox-cta-band")
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--)
5009
+ ], qe);
5010
+ var $r = Object.defineProperty, _r = Object.getOwnPropertyDescriptor, Bt = (o, t, a, r) => {
5011
+ for (var e = r > 1 ? void 0 : r ? _r(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4441
5012
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4442
- return r && e && vr(t, a, e), e;
5013
+ return r && e && $r(t, a, e), e;
4443
5014
  };
4444
- let Ee = class extends h {
5015
+ let Ne = class extends h {
4445
5016
  constructor() {
4446
5017
  super(...arguments), this.heading = "";
4447
5018
  }
@@ -4456,7 +5027,7 @@ let Ee = class extends h {
4456
5027
  `;
4457
5028
  }
4458
5029
  };
4459
- Ee.styles = d`
5030
+ Ne.styles = d`
4460
5031
  :host {
4461
5032
  display: block;
4462
5033
  font-family: var(--vox-font-family-base);
@@ -4500,18 +5071,18 @@ Ee.styles = d`
4500
5071
  margin-top: var(--vox-space-4);
4501
5072
  }
4502
5073
  `;
4503
- Dt([
5074
+ Bt([
4504
5075
  n()
4505
- ], Ee.prototype, "heading", 2);
4506
- Ee = Dt([
5076
+ ], Ne.prototype, "heading", 2);
5077
+ Ne = Bt([
4507
5078
  p("vox-empty-state")
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--)
5079
+ ], Ne);
5080
+ var Cr = Object.defineProperty, kr = Object.getOwnPropertyDescriptor, bt = (o, t, a, r) => {
5081
+ for (var e = r > 1 ? void 0 : r ? kr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4511
5082
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4512
- return r && e && ur(t, a, e), e;
5083
+ return r && e && Cr(t, a, e), e;
4513
5084
  };
4514
- let Qe = class extends h {
5085
+ let it = class extends h {
4515
5086
  render() {
4516
5087
  return l`
4517
5088
  <footer>
@@ -4523,7 +5094,7 @@ let Qe = class extends h {
4523
5094
  `;
4524
5095
  }
4525
5096
  };
4526
- Qe.styles = d`
5097
+ it.styles = d`
4527
5098
  :host {
4528
5099
  display: block;
4529
5100
  font-family: var(--vox-font-family-base);
@@ -4551,10 +5122,10 @@ Qe.styles = d`
4551
5122
  color: var(--vox-color-text-3);
4552
5123
  }
4553
5124
  `;
4554
- Qe = vt([
5125
+ it = bt([
4555
5126
  p("vox-footer")
4556
- ], Qe);
4557
- let Ae = class extends h {
5127
+ ], it);
5128
+ let Te = class extends h {
4558
5129
  constructor() {
4559
5130
  super(...arguments), this.heading = "";
4560
5131
  }
@@ -4565,7 +5136,7 @@ let Ae = class extends h {
4565
5136
  `;
4566
5137
  }
4567
5138
  };
4568
- Ae.styles = d`
5139
+ Te.styles = d`
4569
5140
  :host {
4570
5141
  display: block;
4571
5142
  font-family: var(--vox-font-family-base);
@@ -4597,18 +5168,18 @@ Ae.styles = d`
4597
5168
  text-decoration: underline;
4598
5169
  }
4599
5170
  `;
4600
- vt([
5171
+ bt([
4601
5172
  n()
4602
- ], Ae.prototype, "heading", 2);
4603
- Ae = vt([
5173
+ ], Te.prototype, "heading", 2);
5174
+ Te = bt([
4604
5175
  p("vox-footer-column")
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--)
5176
+ ], Te);
5177
+ var Or = Object.defineProperty, Mr = Object.getOwnPropertyDescriptor, Je = (o, t, a, r) => {
5178
+ for (var e = r > 1 ? void 0 : r ? Mr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4608
5179
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4609
- return r && e && gr(t, a, e), e;
5180
+ return r && e && Or(t, a, e), e;
4610
5181
  };
4611
- let I = class extends h {
5182
+ let W = class extends h {
4612
5183
  constructor() {
4613
5184
  super(...arguments), this.cols = 0, this.min = "240px", this.gap = "md";
4614
5185
  }
@@ -4619,7 +5190,7 @@ let I = class extends h {
4619
5190
  return l`<slot></slot>`;
4620
5191
  }
4621
5192
  };
4622
- I.styles = d`
5193
+ W.styles = d`
4623
5194
  :host {
4624
5195
  display: grid;
4625
5196
  }
@@ -4636,24 +5207,24 @@ I.styles = d`
4636
5207
  gap: var(--vox-space-6);
4637
5208
  }
4638
5209
  `;
4639
- Fe([
5210
+ Je([
4640
5211
  n({ type: Number })
4641
- ], I.prototype, "cols", 2);
4642
- Fe([
5212
+ ], W.prototype, "cols", 2);
5213
+ Je([
4643
5214
  n()
4644
- ], I.prototype, "min", 2);
4645
- Fe([
5215
+ ], W.prototype, "min", 2);
5216
+ Je([
4646
5217
  n({ reflect: !0 })
4647
- ], I.prototype, "gap", 2);
4648
- I = Fe([
5218
+ ], W.prototype, "gap", 2);
5219
+ W = Je([
4649
5220
  p("vox-grid")
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--)
5221
+ ], W);
5222
+ var Lr = Object.defineProperty, Pr = Object.getOwnPropertyDescriptor, yt = (o, t, a, r) => {
5223
+ for (var e = r > 1 ? void 0 : r ? Pr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4653
5224
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4654
- return r && e && yr(t, a, e), e;
5225
+ return r && e && Lr(t, a, e), e;
4655
5226
  };
4656
- let le = class extends h {
5227
+ let xe = class extends h {
4657
5228
  constructor() {
4658
5229
  super(...arguments), this.eyebrow = "", this.heading = "", this.hasActions = !1;
4659
5230
  }
@@ -4674,7 +5245,7 @@ let le = class extends h {
4674
5245
  `;
4675
5246
  }
4676
5247
  };
4677
- le.styles = d`
5248
+ xe.styles = d`
4678
5249
  :host {
4679
5250
  display: block;
4680
5251
  font-family: var(--vox-font-family-base);
@@ -4731,36 +5302,36 @@ le.styles = d`
4731
5302
  display: none;
4732
5303
  }
4733
5304
  `;
4734
- xt([
5305
+ yt([
4735
5306
  n()
4736
- ], le.prototype, "eyebrow", 2);
4737
- xt([
5307
+ ], xe.prototype, "eyebrow", 2);
5308
+ yt([
4738
5309
  n()
4739
- ], le.prototype, "heading", 2);
4740
- le = xt([
5310
+ ], xe.prototype, "heading", 2);
5311
+ xe = yt([
4741
5312
  p("vox-hero")
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--)
5313
+ ], xe);
5314
+ var Vr = Object.defineProperty, zr = Object.getOwnPropertyDescriptor, Qe = (o, t, a, r) => {
5315
+ for (var e = r > 1 ? void 0 : r ? zr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4745
5316
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4746
- return r && e && wr(t, a, e), e;
5317
+ return r && e && Vr(t, a, e), e;
4747
5318
  };
4748
- let et = class extends h {
5319
+ let nt = class extends h {
4749
5320
  render() {
4750
5321
  return l`<slot></slot>`;
4751
5322
  }
4752
5323
  };
4753
- et.styles = d`
5324
+ nt.styles = d`
4754
5325
  :host {
4755
5326
  display: grid;
4756
5327
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
4757
5328
  gap: var(--vox-space-4);
4758
5329
  }
4759
5330
  `;
4760
- et = Ue([
5331
+ nt = Qe([
4761
5332
  p("vox-link-hub")
4762
- ], et);
4763
- let ce = class extends h {
5333
+ ], nt);
5334
+ let fe = class extends h {
4764
5335
  constructor() {
4765
5336
  super(...arguments), this.href = "#", this.heading = "", this.hasIcon = !1;
4766
5337
  }
@@ -4786,7 +5357,7 @@ let ce = class extends h {
4786
5357
  `;
4787
5358
  }
4788
5359
  };
4789
- ce.styles = d`
5360
+ fe.styles = d`
4790
5361
  :host {
4791
5362
  display: block;
4792
5363
  font-family: var(--vox-font-family-base);
@@ -4847,21 +5418,21 @@ ce.styles = d`
4847
5418
  color: var(--vox-color-text-2);
4848
5419
  }
4849
5420
  `;
4850
- Ue([
5421
+ Qe([
4851
5422
  n()
4852
- ], ce.prototype, "href", 2);
4853
- Ue([
5423
+ ], fe.prototype, "href", 2);
5424
+ Qe([
4854
5425
  n()
4855
- ], ce.prototype, "heading", 2);
4856
- ce = Ue([
5426
+ ], fe.prototype, "heading", 2);
5427
+ fe = Qe([
4857
5428
  p("vox-link-hub-item")
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--)
5429
+ ], fe);
5430
+ var jr = Object.defineProperty, Er = Object.getOwnPropertyDescriptor, mt = (o, t, a, r) => {
5431
+ for (var e = r > 1 ? void 0 : r ? Er(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4861
5432
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4862
- return r && e && _r(t, a, e), e;
5433
+ return r && e && jr(t, a, e), e;
4863
5434
  };
4864
- let de = class extends h {
5435
+ let ge = class extends h {
4865
5436
  constructor() {
4866
5437
  super(...arguments), this.size = "md", this.label = "Loading";
4867
5438
  }
@@ -4874,7 +5445,7 @@ let de = class extends h {
4874
5445
  `;
4875
5446
  }
4876
5447
  };
4877
- de.styles = d`
5448
+ ge.styles = d`
4878
5449
  :host {
4879
5450
  display: inline-block;
4880
5451
  }
@@ -4927,21 +5498,21 @@ de.styles = d`
4927
5498
  white-space: nowrap;
4928
5499
  }
4929
5500
  `;
4930
- ut([
5501
+ mt([
4931
5502
  n({ reflect: !0 })
4932
- ], de.prototype, "size", 2);
4933
- ut([
5503
+ ], ge.prototype, "size", 2);
5504
+ mt([
4934
5505
  n()
4935
- ], de.prototype, "label", 2);
4936
- de = ut([
5506
+ ], ge.prototype, "label", 2);
5507
+ ge = mt([
4937
5508
  p("vox-loader")
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--)
5509
+ ], ge);
5510
+ var Dr = Object.defineProperty, Ar = Object.getOwnPropertyDescriptor, It = (o, t, a, r) => {
5511
+ for (var e = r > 1 ? void 0 : r ? Ar(t, a) : t, s = o.length - 1, i; s >= 0; s--)
4941
5512
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
4942
- return r && e && Mr(t, a, e), e;
5513
+ return r && e && Dr(t, a, e), e;
4943
5514
  };
4944
- let He = class extends h {
5515
+ let Re = class extends h {
4945
5516
  constructor() {
4946
5517
  super(...arguments), this.label = "Pagination";
4947
5518
  }
@@ -4953,7 +5524,7 @@ let He = class extends h {
4953
5524
  `;
4954
5525
  }
4955
5526
  };
4956
- He.styles = d`
5527
+ Re.styles = d`
4957
5528
  :host {
4958
5529
  display: block;
4959
5530
  font-family: var(--vox-font-family-base);
@@ -4993,18 +5564,18 @@ He.styles = d`
4993
5564
  font-weight: 600;
4994
5565
  }
4995
5566
  `;
4996
- St([
5567
+ It([
4997
5568
  n()
4998
- ], He.prototype, "label", 2);
4999
- He = St([
5569
+ ], Re.prototype, "label", 2);
5570
+ Re = It([
5000
5571
  p("vox-pagination")
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--)
5572
+ ], Re);
5573
+ var Sr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, wt = (o, t, a, r) => {
5574
+ for (var e = r > 1 ? void 0 : r ? Hr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5004
5575
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
5005
- return r && e && kr(t, a, e), e;
5576
+ return r && e && Sr(t, a, e), e;
5006
5577
  };
5007
- let pe = class extends h {
5578
+ let be = class extends h {
5008
5579
  constructor() {
5009
5580
  super(...arguments), this.attribution = "", this.detail = "";
5010
5581
  }
@@ -5022,7 +5593,7 @@ let pe = class extends h {
5022
5593
  `;
5023
5594
  }
5024
5595
  };
5025
- pe.styles = d`
5596
+ be.styles = d`
5026
5597
  :host {
5027
5598
  display: block;
5028
5599
  font-family: var(--vox-font-family-base);
@@ -5064,21 +5635,21 @@ pe.styles = d`
5064
5635
  color: var(--vox-color-text-2);
5065
5636
  }
5066
5637
  `;
5067
- ft([
5638
+ wt([
5068
5639
  n()
5069
- ], pe.prototype, "attribution", 2);
5070
- ft([
5640
+ ], be.prototype, "attribution", 2);
5641
+ wt([
5071
5642
  n()
5072
- ], pe.prototype, "detail", 2);
5073
- pe = ft([
5643
+ ], be.prototype, "detail", 2);
5644
+ be = wt([
5074
5645
  p("vox-quote")
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--)
5646
+ ], be);
5647
+ var Br = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, R = (o, t, a, r) => {
5648
+ for (var e = r > 1 ? void 0 : r ? Ir(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5078
5649
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
5079
- return r && e && Pr(t, a, e), e;
5650
+ return r && e && Br(t, a, e), e;
5080
5651
  };
5081
- let Be = class extends h {
5652
+ let Ze = class extends h {
5082
5653
  constructor() {
5083
5654
  super(...arguments), this.heading = "", this.hasDescription = !1;
5084
5655
  }
@@ -5101,7 +5672,7 @@ let Be = class extends h {
5101
5672
  `;
5102
5673
  }
5103
5674
  };
5104
- Be.styles = d`
5675
+ Ze.styles = d`
5105
5676
  :host {
5106
5677
  display: block;
5107
5678
  font-family: var(--vox-font-family-base);
@@ -5133,13 +5704,13 @@ Be.styles = d`
5133
5704
  margin-top: var(--vox-space-6);
5134
5705
  }
5135
5706
  `;
5136
- S([
5707
+ R([
5137
5708
  n()
5138
- ], Be.prototype, "heading", 2);
5139
- Be = S([
5709
+ ], Ze.prototype, "heading", 2);
5710
+ Ze = R([
5140
5711
  p("vox-sponsor-tier")
5141
- ], Be);
5142
- let P = class extends h {
5712
+ ], Ze);
5713
+ let H = class extends h {
5143
5714
  constructor() {
5144
5715
  super(...arguments), this.name = "", this.hasBody = !1;
5145
5716
  }
@@ -5165,7 +5736,7 @@ let P = class extends h {
5165
5736
  >` : l`<div class="sponsor">${o}</div>`;
5166
5737
  }
5167
5738
  };
5168
- P.styles = d`
5739
+ H.styles = d`
5169
5740
  :host {
5170
5741
  display: block;
5171
5742
  }
@@ -5231,27 +5802,27 @@ P.styles = d`
5231
5802
  display: none;
5232
5803
  }
5233
5804
  `;
5234
- S([
5805
+ R([
5235
5806
  n()
5236
- ], P.prototype, "name", 2);
5237
- S([
5807
+ ], H.prototype, "name", 2);
5808
+ R([
5238
5809
  n()
5239
- ], P.prototype, "href", 2);
5240
- S([
5810
+ ], H.prototype, "href", 2);
5811
+ R([
5241
5812
  n()
5242
- ], P.prototype, "logo", 2);
5243
- S([
5813
+ ], H.prototype, "logo", 2);
5814
+ R([
5244
5815
  n()
5245
- ], P.prototype, "target", 2);
5246
- P = S([
5816
+ ], H.prototype, "target", 2);
5817
+ H = R([
5247
5818
  p("vox-sponsor")
5248
- ], P);
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--)
5819
+ ], H);
5820
+ var qr = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, $t = (o, t, a, r) => {
5821
+ for (var e = r > 1 ? void 0 : r ? Nr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5251
5822
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
5252
- return r && e && jr(t, a, e), e;
5823
+ return r && e && qr(t, a, e), e;
5253
5824
  };
5254
- let he = class extends h {
5825
+ let ye = class extends h {
5255
5826
  constructor() {
5256
5827
  super(...arguments), this.value = "", this.label = "";
5257
5828
  }
@@ -5263,7 +5834,7 @@ let he = class extends h {
5263
5834
  `;
5264
5835
  }
5265
5836
  };
5266
- he.styles = d`
5837
+ ye.styles = d`
5267
5838
  :host {
5268
5839
  display: block;
5269
5840
  font-family: var(--vox-font-family-base);
@@ -5290,21 +5861,21 @@ he.styles = d`
5290
5861
  color: var(--vox-color-text-2);
5291
5862
  }
5292
5863
  `;
5293
- gt([
5864
+ $t([
5294
5865
  n()
5295
- ], he.prototype, "value", 2);
5296
- gt([
5866
+ ], ye.prototype, "value", 2);
5867
+ $t([
5297
5868
  n()
5298
- ], he.prototype, "label", 2);
5299
- he = gt([
5869
+ ], ye.prototype, "label", 2);
5870
+ ye = $t([
5300
5871
  p("vox-stat")
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--)
5872
+ ], ye);
5873
+ var Tr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, Ve = (o, t, a, r) => {
5874
+ for (var e = r > 1 ? void 0 : r ? Rr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5304
5875
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
5305
- return r && e && Dr(t, a, e), e;
5876
+ return r && e && Tr(t, a, e), e;
5306
5877
  };
5307
- let tt = class extends h {
5878
+ let lt = class extends h {
5308
5879
  numberSteps() {
5309
5880
  this.querySelectorAll("vox-step").forEach((o, t) => {
5310
5881
  o.number = t + 1;
@@ -5318,7 +5889,7 @@ let tt = class extends h {
5318
5889
  `;
5319
5890
  }
5320
5891
  };
5321
- tt.styles = d`
5892
+ lt.styles = d`
5322
5893
  :host {
5323
5894
  display: block;
5324
5895
  }
@@ -5332,10 +5903,10 @@ tt.styles = d`
5332
5903
  flex: 1 1 0;
5333
5904
  }
5334
5905
  `;
5335
- tt = Ce([
5906
+ lt = Ve([
5336
5907
  p("vox-step-indicator")
5337
- ], tt);
5338
- let R = class extends h {
5908
+ ], lt);
5909
+ let X = class extends h {
5339
5910
  constructor() {
5340
5911
  super(...arguments), this.label = "", this.state = "upcoming", this.number = 1;
5341
5912
  }
@@ -5356,7 +5927,7 @@ let R = class extends h {
5356
5927
  `;
5357
5928
  }
5358
5929
  };
5359
- R.styles = d`
5930
+ X.styles = d`
5360
5931
  :host {
5361
5932
  display: block;
5362
5933
  font-family: var(--vox-font-family-base);
@@ -5430,37 +6001,37 @@ R.styles = d`
5430
6001
  color: var(--vox-color-text-1);
5431
6002
  }
5432
6003
  `;
5433
- Ce([
6004
+ Ve([
5434
6005
  n()
5435
- ], R.prototype, "label", 2);
5436
- Ce([
6006
+ ], X.prototype, "label", 2);
6007
+ Ve([
5437
6008
  n({ reflect: !0 })
5438
- ], R.prototype, "state", 2);
5439
- Ce([
6009
+ ], X.prototype, "state", 2);
6010
+ Ve([
5440
6011
  n({ type: Number })
5441
- ], R.prototype, "number", 2);
5442
- R = Ce([
6012
+ ], X.prototype, "number", 2);
6013
+ X = Ve([
5443
6014
  p("vox-step")
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--)
6015
+ ], X);
6016
+ var Zr = Object.defineProperty, Fr = Object.getOwnPropertyDescriptor, et = (o, t, a, r) => {
6017
+ for (var e = r > 1 ? void 0 : r ? Fr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
5447
6018
  (i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
5448
- return r && e && Er(t, a, e), e;
6019
+ return r && e && Zr(t, a, e), e;
5449
6020
  };
5450
- let ot = class extends h {
6021
+ let ct = class extends h {
5451
6022
  render() {
5452
6023
  return l`<slot></slot>`;
5453
6024
  }
5454
6025
  };
5455
- ot.styles = d`
6026
+ ct.styles = d`
5456
6027
  :host {
5457
6028
  display: block;
5458
6029
  }
5459
6030
  `;
5460
- ot = Ke([
6031
+ ct = et([
5461
6032
  p("vox-timeline")
5462
- ], ot);
5463
- let ve = class extends h {
6033
+ ], ct);
6034
+ let me = class extends h {
5464
6035
  constructor() {
5465
6036
  super(...arguments), this.heading = "", this.date = "";
5466
6037
  }
@@ -5475,7 +6046,7 @@ let ve = class extends h {
5475
6046
  `;
5476
6047
  }
5477
6048
  };
5478
- ve.styles = d`
6049
+ me.styles = d`
5479
6050
  :host {
5480
6051
  display: block;
5481
6052
  font-family: var(--vox-font-family-base);
@@ -5525,70 +6096,72 @@ ve.styles = d`
5525
6096
  color: var(--vox-color-text-2);
5526
6097
  }
5527
6098
  `;
5528
- Ke([
6099
+ et([
5529
6100
  n()
5530
- ], ve.prototype, "heading", 2);
5531
- Ke([
6101
+ ], me.prototype, "heading", 2);
6102
+ et([
5532
6103
  n()
5533
- ], ve.prototype, "date", 2);
5534
- ve = Ke([
6104
+ ], me.prototype, "date", 2);
6105
+ me = et([
5535
6106
  p("vox-timeline-item")
5536
- ], ve);
6107
+ ], me);
5537
6108
  export {
5538
- ze as VoxAccordion,
5539
- se as VoxAccordionItem,
5540
- L as VoxAlert,
5541
- M as VoxAvatar,
5542
- De as VoxBadge,
5543
- W as VoxBillboard,
5544
- Xe as VoxBreadcrumbs,
5545
- g as VoxButton,
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,
5578
- P as VoxSponsor,
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
6109
+ Be as VoxAccordion,
6110
+ he as VoxAccordionItem,
6111
+ S as VoxAlert,
6112
+ E as VoxAvatar,
6113
+ Ie as VoxBadge,
6114
+ ae as VoxBillboard,
6115
+ rt as VoxBreadcrumbs,
6116
+ C as VoxButton,
6117
+ ve as VoxCalendarTile,
6118
+ ue as VoxCallout,
6119
+ Y as VoxCard,
6120
+ oe as VoxCheckbox,
6121
+ y as VoxCodeBlock,
6122
+ g as VoxCombobox,
6123
+ te as VoxCta,
6124
+ qe as VoxCtaBand,
6125
+ A as VoxDialog,
6126
+ de as VoxDisclosure,
6127
+ pe as VoxDropdown,
6128
+ Ne as VoxEmptyState,
6129
+ M as VoxFileInput,
6130
+ it as VoxFooter,
6131
+ Te as VoxFooterColumn,
6132
+ W as VoxGrid,
6133
+ U as VoxHeader,
6134
+ xe as VoxHero,
6135
+ F as VoxIcon,
6136
+ f as VoxInput,
6137
+ ot as VoxInputGroup,
6138
+ nt as VoxLinkHub,
6139
+ fe as VoxLinkHubItem,
6140
+ ge as VoxLoader,
6141
+ Re as VoxPagination,
6142
+ be as VoxQuote,
6143
+ K as VoxRadio,
6144
+ Ae as VoxRadioGroup,
6145
+ w as VoxRange,
6146
+ L as VoxSelect,
6147
+ D as VoxSeriesNav,
6148
+ G as VoxSidenav,
6149
+ se as VoxSidenavGroup,
6150
+ ie as VoxSidenavItem,
6151
+ H as VoxSponsor,
6152
+ Ze as VoxSponsorTier,
6153
+ ye as VoxStat,
6154
+ X as VoxStep,
6155
+ lt as VoxStepIndicator,
6156
+ Se as VoxSubnav,
6157
+ re as VoxSwitch,
6158
+ ne as VoxTab,
6159
+ le as VoxTabPanel,
6160
+ at as VoxTabs,
6161
+ j as VoxTextarea,
6162
+ Z as VoxThemeToggle,
6163
+ ct as VoxTimeline,
6164
+ me as VoxTimelineItem,
6165
+ He as VoxToc,
6166
+ ce as VoxTocItem
5594
6167
  };