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