@openvoxproject/voxblocks 0.10.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 +1691 -1051
- 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/index.d.ts +2 -0
- package/dist/voxblocks.css +1 -1
- package/dist/voxblocks.js +1692 -1052
- package/package.json +1 -1
- package/src/components/code-block/languages.ts +259 -0
- package/src/components/code-block/vox-code-block.ts +302 -0
- package/src/index.ts +2 -0
- package/src/tokens/tokens.css +17 -0
package/dist/voxblocks.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { css as d, LitElement 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 ?
|
|
8
|
-
(i =
|
|
9
|
-
return r && e &&
|
|
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
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
9
|
+
return r && e && At(t, a, e), e;
|
|
10
10
|
};
|
|
11
|
-
let
|
|
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
|
|
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
|
-
class=${
|
|
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
|
-
` :
|
|
31
|
-
<button class=${
|
|
30
|
+
` : l`
|
|
31
|
+
<button class=${o} type=${this.type} ?disabled=${this.disabled}>
|
|
32
32
|
<slot></slot>
|
|
33
33
|
</button>
|
|
34
34
|
`;
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
g.styles = d`
|
|
38
38
|
:host {
|
|
39
39
|
display: inline-block;
|
|
40
40
|
}
|
|
@@ -142,38 +142,38 @@ f.styles = d`
|
|
|
142
142
|
border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
|
|
143
143
|
}
|
|
144
144
|
`;
|
|
145
|
-
|
|
145
|
+
V([
|
|
146
146
|
n()
|
|
147
|
-
],
|
|
148
|
-
|
|
147
|
+
], g.prototype, "variant", 2);
|
|
148
|
+
V([
|
|
149
149
|
n()
|
|
150
|
-
],
|
|
151
|
-
|
|
150
|
+
], g.prototype, "size", 2);
|
|
151
|
+
V([
|
|
152
152
|
n()
|
|
153
|
-
],
|
|
154
|
-
|
|
153
|
+
], g.prototype, "href", 2);
|
|
154
|
+
V([
|
|
155
155
|
n()
|
|
156
|
-
],
|
|
157
|
-
|
|
156
|
+
], g.prototype, "target", 2);
|
|
157
|
+
V([
|
|
158
158
|
n()
|
|
159
|
-
],
|
|
160
|
-
|
|
159
|
+
], g.prototype, "type", 2);
|
|
160
|
+
V([
|
|
161
161
|
n({ type: Boolean, reflect: !0 })
|
|
162
|
-
],
|
|
163
|
-
|
|
162
|
+
], g.prototype, "disabled", 2);
|
|
163
|
+
g = V([
|
|
164
164
|
p("vox-button")
|
|
165
|
-
],
|
|
166
|
-
var
|
|
167
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
168
|
-
(i =
|
|
169
|
-
return r && e &&
|
|
165
|
+
], g);
|
|
166
|
+
var Bt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, at = (o, t, a, r) => {
|
|
167
|
+
for (var e = r > 1 ? void 0 : r ? Nt(t, a) : t, s = o.length - 1, i; s >= 0; s--)
|
|
168
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || 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 N = class extends v {
|
|
|
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,60 +221,60 @@ N.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 ?
|
|
235
|
-
(i =
|
|
236
|
-
return r && e &&
|
|
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
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || 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
|
-
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 = (
|
|
242
|
-
localStorage.getItem(
|
|
241
|
+
super(...arguments), this.lightLabel = "Switch to dark theme", this.darkLabel = "Switch to light theme", this.dark = !1, this.media = window.matchMedia("(prefers-color-scheme: dark)"), this.handleSystemChange = (o) => {
|
|
242
|
+
localStorage.getItem(yt) || document.documentElement.setAttribute(Oe, o.matches ? "dark" : "light");
|
|
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() {
|
|
252
|
-
var
|
|
253
|
-
super.disconnectedCallback(), (
|
|
252
|
+
var o;
|
|
253
|
+
super.disconnectedCallback(), (o = this.observer) == null || o.disconnect(), this.media.removeEventListener("change", this.handleSystemChange);
|
|
254
254
|
}
|
|
255
255
|
syncFromDocument() {
|
|
256
|
-
const
|
|
257
|
-
this.dark =
|
|
256
|
+
const o = document.documentElement.getAttribute(Oe) === "dark";
|
|
257
|
+
this.dark = o, this.toggleAttribute("dark", o);
|
|
258
258
|
}
|
|
259
259
|
handleClick() {
|
|
260
|
-
const
|
|
261
|
-
document.documentElement.setAttribute(
|
|
260
|
+
const o = this.dark ? "light" : "dark";
|
|
261
|
+
document.documentElement.setAttribute(Oe, o), localStorage.setItem(yt, o), this.dispatchEvent(
|
|
262
262
|
new CustomEvent("vox-theme-change", {
|
|
263
|
-
detail: { theme:
|
|
263
|
+
detail: { theme: o },
|
|
264
264
|
bubbles: !0,
|
|
265
265
|
composed: !0
|
|
266
266
|
})
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
render() {
|
|
270
|
-
const
|
|
271
|
-
return
|
|
270
|
+
const o = this.dark ? this.darkLabel : this.lightLabel;
|
|
271
|
+
return l`
|
|
272
272
|
<button
|
|
273
273
|
type="button"
|
|
274
274
|
role="switch"
|
|
275
275
|
aria-checked=${this.dark}
|
|
276
|
-
aria-label=${
|
|
277
|
-
title=${
|
|
276
|
+
aria-label=${o}
|
|
277
|
+
title=${o}
|
|
278
278
|
@click=${this.handleClick}
|
|
279
279
|
>
|
|
280
280
|
<span class="track">
|
|
@@ -291,7 +291,7 @@ let V = class extends v {
|
|
|
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 @@ V.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
|
-
],
|
|
365
|
-
const
|
|
364
|
+
], A);
|
|
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 ?
|
|
455
|
-
(i =
|
|
456
|
-
return r && e &&
|
|
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
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || 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
|
-
const
|
|
464
|
-
return
|
|
463
|
+
const o = y[this.name];
|
|
464
|
+
return o ? l`
|
|
465
465
|
<svg
|
|
466
466
|
viewBox="0 0 48 48"
|
|
467
467
|
fill="none"
|
|
@@ -469,16 +469,16 @@ let j = class extends v {
|
|
|
469
469
|
stroke-width="2"
|
|
470
470
|
stroke-linecap="round"
|
|
471
471
|
stroke-linejoin="round"
|
|
472
|
-
role=${this.label ? "img" :
|
|
473
|
-
aria-hidden=${this.label ?
|
|
474
|
-
aria-label=${this.label ??
|
|
472
|
+
role=${this.label ? "img" : v}
|
|
473
|
+
aria-hidden=${this.label ? v : "true"}
|
|
474
|
+
aria-label=${this.label ?? v}
|
|
475
475
|
>
|
|
476
|
-
${
|
|
476
|
+
${o}
|
|
477
477
|
</svg>
|
|
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,24 +509,24 @@ j.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
|
|
525
|
-
for (var e = void 0, s =
|
|
526
|
-
(i =
|
|
527
|
-
return e &&
|
|
523
|
+
], H);
|
|
524
|
+
var Zt = Object.defineProperty, xe = (o, t, a, r) => {
|
|
525
|
+
for (var e = void 0, s = o.length - 1, i; s >= 0; s--)
|
|
526
|
+
(i = o[s]) && (e = i(t, a, e) || e);
|
|
527
|
+
return e && Zt(t, a, e), e;
|
|
528
528
|
};
|
|
529
|
-
const
|
|
529
|
+
const bt = class bt extends h {
|
|
530
530
|
constructor() {
|
|
531
531
|
super(), this.name = "", this.label = "", this.note = "", this.disabled = !1, this.required = !1, this.internals = this.attachInternals();
|
|
532
532
|
}
|
|
@@ -546,38 +546,38 @@ const io = class io extends v {
|
|
|
546
546
|
return this.internals.reportValidity();
|
|
547
547
|
}
|
|
548
548
|
/** Mirror a native inner control's validity onto the host element. */
|
|
549
|
-
syncValidity(
|
|
550
|
-
this.internals.setValidity(
|
|
549
|
+
syncValidity(t) {
|
|
550
|
+
this.internals.setValidity(t.validity, t.validationMessage, t);
|
|
551
551
|
}
|
|
552
|
-
renderLabel(
|
|
553
|
-
return this.label ?
|
|
554
|
-
<label class="label" for=${
|
|
555
|
-
${this.label}${this.required ?
|
|
552
|
+
renderLabel(t) {
|
|
553
|
+
return this.label ? l`
|
|
554
|
+
<label class="label" for=${t}>
|
|
555
|
+
${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : v}
|
|
556
556
|
</label>
|
|
557
|
-
` :
|
|
557
|
+
` : v;
|
|
558
558
|
}
|
|
559
559
|
renderNote() {
|
|
560
|
-
return this.note ?
|
|
560
|
+
return this.note ? l`<p class="note">${this.note}</p>` : v;
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
|
-
|
|
564
|
-
let x =
|
|
565
|
-
|
|
563
|
+
bt.formAssociated = !0;
|
|
564
|
+
let x = bt;
|
|
565
|
+
xe([
|
|
566
566
|
n()
|
|
567
567
|
], x.prototype, "name");
|
|
568
|
-
|
|
568
|
+
xe([
|
|
569
569
|
n()
|
|
570
570
|
], x.prototype, "label");
|
|
571
|
-
|
|
571
|
+
xe([
|
|
572
572
|
n()
|
|
573
573
|
], x.prototype, "note");
|
|
574
|
-
|
|
574
|
+
xe([
|
|
575
575
|
n({ type: Boolean, reflect: !0 })
|
|
576
576
|
], x.prototype, "disabled");
|
|
577
|
-
|
|
577
|
+
xe([
|
|
578
578
|
n({ type: Boolean, reflect: !0 })
|
|
579
579
|
], x.prototype, "required");
|
|
580
|
-
const
|
|
580
|
+
const ue = d`
|
|
581
581
|
:host {
|
|
582
582
|
display: block;
|
|
583
583
|
font-family: var(--vox-font-family-base);
|
|
@@ -644,7 +644,7 @@ const le = d`
|
|
|
644
644
|
:host([data-vox-group='end']) .control {
|
|
645
645
|
border-radius: 0 var(--vox-radius-md) var(--vox-radius-md) 0;
|
|
646
646
|
}
|
|
647
|
-
`,
|
|
647
|
+
`, Ot = d`
|
|
648
648
|
:host {
|
|
649
649
|
display: block;
|
|
650
650
|
font-family: var(--vox-font-family-base);
|
|
@@ -673,12 +673,12 @@ const le = d`
|
|
|
673
673
|
margin: 0;
|
|
674
674
|
}
|
|
675
675
|
`;
|
|
676
|
-
var
|
|
677
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
678
|
-
(i =
|
|
679
|
-
return r && e &&
|
|
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--)
|
|
678
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
679
|
+
return r && e && Ft(t, a, e), e;
|
|
680
680
|
};
|
|
681
|
-
let
|
|
681
|
+
let G = class extends x {
|
|
682
682
|
constructor() {
|
|
683
683
|
super(...arguments), this.checked = !1, this.value = "on";
|
|
684
684
|
}
|
|
@@ -692,11 +692,11 @@ let I = class extends x {
|
|
|
692
692
|
this.renderRoot.querySelector("input") ?? void 0
|
|
693
693
|
);
|
|
694
694
|
}
|
|
695
|
-
handleChange(
|
|
696
|
-
this.checked =
|
|
695
|
+
handleChange(o) {
|
|
696
|
+
this.checked = o.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
697
697
|
}
|
|
698
698
|
render() {
|
|
699
|
-
return
|
|
699
|
+
return l`
|
|
700
700
|
<label class="check">
|
|
701
701
|
<input
|
|
702
702
|
type="checkbox"
|
|
@@ -714,8 +714,8 @@ let I = class extends x {
|
|
|
714
714
|
`;
|
|
715
715
|
}
|
|
716
716
|
};
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
G.styles = [
|
|
718
|
+
Ot,
|
|
719
719
|
d`
|
|
720
720
|
.box {
|
|
721
721
|
flex: none;
|
|
@@ -755,21 +755,21 @@ I.styles = [
|
|
|
755
755
|
}
|
|
756
756
|
`
|
|
757
757
|
];
|
|
758
|
-
|
|
758
|
+
st([
|
|
759
759
|
n({ type: Boolean, reflect: !0 })
|
|
760
|
-
],
|
|
761
|
-
|
|
760
|
+
], G.prototype, "checked", 2);
|
|
761
|
+
st([
|
|
762
762
|
n()
|
|
763
|
-
],
|
|
764
|
-
|
|
763
|
+
], G.prototype, "value", 2);
|
|
764
|
+
G = st([
|
|
765
765
|
p("vox-checkbox")
|
|
766
|
-
],
|
|
767
|
-
var
|
|
768
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
769
|
-
(i =
|
|
770
|
-
return r && e &&
|
|
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--)
|
|
769
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
770
|
+
return r && e && Kt(t, a, e), e;
|
|
771
771
|
};
|
|
772
|
-
let
|
|
772
|
+
let m = class extends x {
|
|
773
773
|
constructor() {
|
|
774
774
|
super(...arguments), this.multiple = !1, this.buttonLabel = "Choose a file", this.fileNames = [];
|
|
775
775
|
}
|
|
@@ -777,25 +777,25 @@ let g = class extends x {
|
|
|
777
777
|
this.fileNames = [], this.inputEl && (this.inputEl.value = ""), this.internals.setFormValue(null);
|
|
778
778
|
}
|
|
779
779
|
handleChange() {
|
|
780
|
-
const
|
|
781
|
-
this.fileNames =
|
|
782
|
-
const
|
|
783
|
-
for (const a of
|
|
784
|
-
this.internals.setFormValue(
|
|
785
|
-
this.required &&
|
|
780
|
+
const o = [...this.inputEl.files ?? []];
|
|
781
|
+
this.fileNames = o.map((a) => a.name);
|
|
782
|
+
const t = new FormData();
|
|
783
|
+
for (const a of o) t.append(this.name, a);
|
|
784
|
+
this.internals.setFormValue(o.length > 0 ? t : null), this.internals.setValidity(
|
|
785
|
+
this.required && o.length === 0 ? { valueMissing: !0 } : {},
|
|
786
786
|
"Please select a file.",
|
|
787
787
|
this.inputEl
|
|
788
788
|
), this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
789
789
|
}
|
|
790
790
|
render() {
|
|
791
|
-
return
|
|
791
|
+
return l`
|
|
792
792
|
<div class="field">
|
|
793
793
|
${this.renderLabel("file")}
|
|
794
794
|
<label>
|
|
795
795
|
<input
|
|
796
796
|
id="file"
|
|
797
797
|
type="file"
|
|
798
|
-
accept=${
|
|
798
|
+
accept=${E(this.accept)}
|
|
799
799
|
?multiple=${this.multiple}
|
|
800
800
|
?disabled=${this.disabled}
|
|
801
801
|
@change=${this.handleChange}
|
|
@@ -812,8 +812,8 @@ let g = class extends x {
|
|
|
812
812
|
`;
|
|
813
813
|
}
|
|
814
814
|
};
|
|
815
|
-
|
|
816
|
-
|
|
815
|
+
m.styles = [
|
|
816
|
+
ue,
|
|
817
817
|
d`
|
|
818
818
|
input {
|
|
819
819
|
position: absolute;
|
|
@@ -862,30 +862,30 @@ g.styles = [
|
|
|
862
862
|
}
|
|
863
863
|
`
|
|
864
864
|
];
|
|
865
|
-
|
|
865
|
+
F([
|
|
866
866
|
n()
|
|
867
|
-
],
|
|
868
|
-
|
|
867
|
+
], m.prototype, "accept", 2);
|
|
868
|
+
F([
|
|
869
869
|
n({ type: Boolean })
|
|
870
|
-
],
|
|
871
|
-
|
|
870
|
+
], m.prototype, "multiple", 2);
|
|
871
|
+
F([
|
|
872
872
|
n({ attribute: "button-label" })
|
|
873
|
-
],
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
],
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
],
|
|
880
|
-
|
|
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([
|
|
881
881
|
p("vox-file-input")
|
|
882
|
-
],
|
|
883
|
-
var
|
|
884
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
885
|
-
(i =
|
|
886
|
-
return r && e &&
|
|
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--)
|
|
885
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
886
|
+
return r && e && Yt(t, a, e), e;
|
|
887
887
|
};
|
|
888
|
-
let
|
|
888
|
+
let w = class extends x {
|
|
889
889
|
constructor() {
|
|
890
890
|
super(...arguments), this.type = "text", this.value = "", this.readonly = !1;
|
|
891
891
|
}
|
|
@@ -894,34 +894,34 @@ let b = class extends x {
|
|
|
894
894
|
}
|
|
895
895
|
updated() {
|
|
896
896
|
this.internals.setFormValue(this.value);
|
|
897
|
-
const
|
|
898
|
-
|
|
897
|
+
const o = this.renderRoot.querySelector("input");
|
|
898
|
+
o && this.syncValidity(o);
|
|
899
899
|
}
|
|
900
|
-
focus(
|
|
901
|
-
var
|
|
902
|
-
(
|
|
900
|
+
focus(o) {
|
|
901
|
+
var t;
|
|
902
|
+
(t = this.renderRoot.querySelector("input")) == null || t.focus(o);
|
|
903
903
|
}
|
|
904
|
-
handleInput(
|
|
905
|
-
this.value =
|
|
904
|
+
handleInput(o) {
|
|
905
|
+
this.value = o.target.value;
|
|
906
906
|
}
|
|
907
907
|
handleChange() {
|
|
908
908
|
this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
909
909
|
}
|
|
910
910
|
render() {
|
|
911
|
-
return
|
|
911
|
+
return l`
|
|
912
912
|
<div class="field">
|
|
913
913
|
${this.renderLabel("input")}
|
|
914
914
|
<input
|
|
915
915
|
id="input"
|
|
916
916
|
class="control"
|
|
917
917
|
type=${this.type}
|
|
918
|
-
.value=${
|
|
919
|
-
placeholder=${
|
|
920
|
-
autocomplete=${
|
|
918
|
+
.value=${Mt(this.value)}
|
|
919
|
+
placeholder=${E(this.placeholder)}
|
|
920
|
+
autocomplete=${E(this.autocomplete)}
|
|
921
921
|
?required=${this.required}
|
|
922
922
|
?readonly=${this.readonly}
|
|
923
923
|
?disabled=${this.disabled}
|
|
924
|
-
aria-label=${this.label ?
|
|
924
|
+
aria-label=${this.label ? v : "text input"}
|
|
925
925
|
@input=${this.handleInput}
|
|
926
926
|
@change=${this.handleChange}
|
|
927
927
|
/>
|
|
@@ -930,47 +930,47 @@ let b = class extends x {
|
|
|
930
930
|
`;
|
|
931
931
|
}
|
|
932
932
|
};
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
w.styles = ue;
|
|
934
|
+
U([
|
|
935
935
|
n()
|
|
936
|
-
],
|
|
937
|
-
|
|
936
|
+
], w.prototype, "type", 2);
|
|
937
|
+
U([
|
|
938
938
|
n()
|
|
939
|
-
],
|
|
940
|
-
|
|
939
|
+
], w.prototype, "value", 2);
|
|
940
|
+
U([
|
|
941
941
|
n()
|
|
942
|
-
],
|
|
943
|
-
|
|
942
|
+
], w.prototype, "placeholder", 2);
|
|
943
|
+
U([
|
|
944
944
|
n()
|
|
945
|
-
],
|
|
946
|
-
|
|
945
|
+
], w.prototype, "autocomplete", 2);
|
|
946
|
+
U([
|
|
947
947
|
n({ type: Boolean, reflect: !0 })
|
|
948
|
-
],
|
|
949
|
-
|
|
948
|
+
], w.prototype, "readonly", 2);
|
|
949
|
+
w = U([
|
|
950
950
|
p("vox-input")
|
|
951
|
-
],
|
|
952
|
-
var
|
|
953
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
954
|
-
(i =
|
|
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--)
|
|
954
|
+
(i = o[s]) && (e = i(e) || e);
|
|
955
955
|
return e;
|
|
956
956
|
};
|
|
957
|
-
let
|
|
958
|
-
handleSlotChange(
|
|
959
|
-
const
|
|
960
|
-
|
|
961
|
-
const e = r === 0 ? "start" : r ===
|
|
957
|
+
let Ye = class extends h {
|
|
958
|
+
handleSlotChange(o) {
|
|
959
|
+
const t = o.target.assignedElements();
|
|
960
|
+
t.forEach((a, r) => {
|
|
961
|
+
const e = r === 0 ? "start" : r === t.length - 1 ? "end" : "middle";
|
|
962
962
|
a.setAttribute("data-vox-group", e);
|
|
963
963
|
});
|
|
964
964
|
}
|
|
965
965
|
render() {
|
|
966
|
-
return
|
|
966
|
+
return l`
|
|
967
967
|
<div class="group" role="group">
|
|
968
968
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
969
969
|
</div>
|
|
970
970
|
`;
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
|
-
|
|
973
|
+
Ye.styles = d`
|
|
974
974
|
:host {
|
|
975
975
|
display: block;
|
|
976
976
|
font-family: var(--vox-font-family-base);
|
|
@@ -1012,15 +1012,15 @@ Be.styles = d`
|
|
|
1012
1012
|
border-left: none;
|
|
1013
1013
|
}
|
|
1014
1014
|
`;
|
|
1015
|
-
|
|
1015
|
+
Ye = Jt([
|
|
1016
1016
|
p("vox-input-group")
|
|
1017
|
-
],
|
|
1018
|
-
var
|
|
1019
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1020
|
-
(i =
|
|
1021
|
-
return r && e &&
|
|
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--)
|
|
1020
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1021
|
+
return r && e && Qt(t, a, e), e;
|
|
1022
1022
|
};
|
|
1023
|
-
let
|
|
1023
|
+
let B = class extends h {
|
|
1024
1024
|
constructor() {
|
|
1025
1025
|
super(...arguments), this.value = "", this.checked = !1, this.disabled = !1;
|
|
1026
1026
|
}
|
|
@@ -1029,11 +1029,11 @@ let D = class extends v {
|
|
|
1029
1029
|
new CustomEvent("vox-radio-select", { bubbles: !0, composed: !0 })
|
|
1030
1030
|
);
|
|
1031
1031
|
}
|
|
1032
|
-
handleKeydown(
|
|
1033
|
-
(
|
|
1032
|
+
handleKeydown(o) {
|
|
1033
|
+
(o.key === " " || o.key === "Enter") && (o.preventDefault(), this.select());
|
|
1034
1034
|
}
|
|
1035
1035
|
render() {
|
|
1036
|
-
return
|
|
1036
|
+
return l`
|
|
1037
1037
|
<span
|
|
1038
1038
|
class="radio"
|
|
1039
1039
|
role="radio"
|
|
@@ -1049,7 +1049,7 @@ let D = class extends v {
|
|
|
1049
1049
|
`;
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
|
-
|
|
1052
|
+
B.styles = d`
|
|
1053
1053
|
:host {
|
|
1054
1054
|
display: block;
|
|
1055
1055
|
font-family: var(--vox-font-family-base);
|
|
@@ -1098,24 +1098,24 @@ D.styles = d`
|
|
|
1098
1098
|
outline-offset: 2px;
|
|
1099
1099
|
}
|
|
1100
1100
|
`;
|
|
1101
|
-
|
|
1101
|
+
qe([
|
|
1102
1102
|
n()
|
|
1103
|
-
],
|
|
1104
|
-
|
|
1103
|
+
], B.prototype, "value", 2);
|
|
1104
|
+
qe([
|
|
1105
1105
|
n({ type: Boolean, reflect: !0 })
|
|
1106
|
-
],
|
|
1107
|
-
|
|
1106
|
+
], B.prototype, "checked", 2);
|
|
1107
|
+
qe([
|
|
1108
1108
|
n({ type: Boolean, reflect: !0 })
|
|
1109
|
-
],
|
|
1110
|
-
|
|
1109
|
+
], B.prototype, "disabled", 2);
|
|
1110
|
+
B = qe([
|
|
1111
1111
|
p("vox-radio")
|
|
1112
|
-
],
|
|
1113
|
-
var
|
|
1114
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1115
|
-
(i =
|
|
1116
|
-
return r && e &&
|
|
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--)
|
|
1115
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1116
|
+
return r && e && to(t, a, e), e;
|
|
1117
1117
|
};
|
|
1118
|
-
let
|
|
1118
|
+
let Pe = class extends x {
|
|
1119
1119
|
constructor() {
|
|
1120
1120
|
super(...arguments), this.value = "";
|
|
1121
1121
|
}
|
|
@@ -1133,38 +1133,38 @@ let be = class extends x {
|
|
|
1133
1133
|
), this.syncRadios();
|
|
1134
1134
|
}
|
|
1135
1135
|
syncRadios() {
|
|
1136
|
-
const
|
|
1137
|
-
|
|
1136
|
+
const o = this.radios, t = o.some((a) => a.value === this.value && this.value !== "");
|
|
1137
|
+
o.forEach((a, r) => {
|
|
1138
1138
|
var s, i;
|
|
1139
1139
|
a.checked = this.value !== "" && a.value === this.value;
|
|
1140
|
-
const e =
|
|
1140
|
+
const e = t ? a.checked : r === 0;
|
|
1141
1141
|
(i = (s = a.shadowRoot) == null ? void 0 : s.querySelector(".radio")) == null || i.setAttribute("tabindex", e ? "0" : "-1");
|
|
1142
1142
|
});
|
|
1143
1143
|
}
|
|
1144
|
-
handleSelect(
|
|
1145
|
-
const
|
|
1146
|
-
!(
|
|
1144
|
+
handleSelect(o) {
|
|
1145
|
+
const t = o.target;
|
|
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 }))));
|
|
1147
1147
|
}
|
|
1148
|
-
handleKeydown(
|
|
1149
|
-
var
|
|
1148
|
+
handleKeydown(o) {
|
|
1149
|
+
var _, Me;
|
|
1150
1150
|
const a = {
|
|
1151
1151
|
ArrowDown: 1,
|
|
1152
1152
|
ArrowRight: 1,
|
|
1153
1153
|
ArrowUp: -1,
|
|
1154
1154
|
ArrowLeft: -1
|
|
1155
|
-
}[
|
|
1155
|
+
}[o.key];
|
|
1156
1156
|
if (!a) return;
|
|
1157
|
-
|
|
1158
|
-
const r = this.radios.filter((
|
|
1157
|
+
o.preventDefault();
|
|
1158
|
+
const r = this.radios.filter((Ge) => !Ge.disabled);
|
|
1159
1159
|
if (r.length === 0) return;
|
|
1160
|
-
const e = r.findIndex((
|
|
1161
|
-
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();
|
|
1162
1162
|
}
|
|
1163
1163
|
render() {
|
|
1164
|
-
return
|
|
1164
|
+
return l`
|
|
1165
1165
|
<div class="field" role="radiogroup" aria-label=${this.label}>
|
|
1166
|
-
${this.label ?
|
|
1167
|
-
${this.label}${this.required ?
|
|
1166
|
+
${this.label ? l`<span class="label">
|
|
1167
|
+
${this.label}${this.required ? l`<span class="required-mark" aria-hidden="true"> *</span>` : ""}
|
|
1168
1168
|
</span>` : ""}
|
|
1169
1169
|
<div
|
|
1170
1170
|
class="options"
|
|
@@ -1178,8 +1178,8 @@ let be = class extends x {
|
|
|
1178
1178
|
`;
|
|
1179
1179
|
}
|
|
1180
1180
|
};
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
Pe.styles = [
|
|
1182
|
+
ue,
|
|
1183
1183
|
d`
|
|
1184
1184
|
.options {
|
|
1185
1185
|
display: flex;
|
|
@@ -1189,18 +1189,18 @@ be.styles = [
|
|
|
1189
1189
|
}
|
|
1190
1190
|
`
|
|
1191
1191
|
];
|
|
1192
|
-
|
|
1192
|
+
kt([
|
|
1193
1193
|
n()
|
|
1194
|
-
],
|
|
1195
|
-
|
|
1194
|
+
], Pe.prototype, "value", 2);
|
|
1195
|
+
Pe = kt([
|
|
1196
1196
|
p("vox-radio-group")
|
|
1197
|
-
],
|
|
1198
|
-
var
|
|
1199
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1200
|
-
(i =
|
|
1201
|
-
return r && e &&
|
|
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--)
|
|
1200
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1201
|
+
return r && e && ro(t, a, e), e;
|
|
1202
1202
|
};
|
|
1203
|
-
let
|
|
1203
|
+
let Y = class extends x {
|
|
1204
1204
|
constructor() {
|
|
1205
1205
|
super(...arguments), this.value = "";
|
|
1206
1206
|
}
|
|
@@ -1212,16 +1212,16 @@ let T = class extends x {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
syncOptions() {
|
|
1214
1214
|
if (!this.selectEl) return;
|
|
1215
|
-
const
|
|
1216
|
-
|
|
1217
|
-
...
|
|
1215
|
+
const o = this.renderRoot.querySelector("slot");
|
|
1216
|
+
o && (this.selectEl.replaceChildren(
|
|
1217
|
+
...o.assignedElements().filter((t) => t instanceof HTMLOptionElement || t instanceof HTMLOptGroupElement).map((t) => t.cloneNode(!0))
|
|
1218
1218
|
), this.value && (this.selectEl.value = this.value), this.value = this.selectEl.value);
|
|
1219
1219
|
}
|
|
1220
1220
|
handleChange() {
|
|
1221
1221
|
this.value = this.selectEl.value, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1222
1222
|
}
|
|
1223
1223
|
render() {
|
|
1224
|
-
return
|
|
1224
|
+
return l`
|
|
1225
1225
|
<div class="field">
|
|
1226
1226
|
${this.renderLabel("select")}
|
|
1227
1227
|
<select
|
|
@@ -1237,8 +1237,8 @@ let T = class extends x {
|
|
|
1237
1237
|
`;
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
|
-
|
|
1241
|
-
|
|
1240
|
+
Y.styles = [
|
|
1241
|
+
ue,
|
|
1242
1242
|
d`
|
|
1243
1243
|
select.control {
|
|
1244
1244
|
appearance: none;
|
|
@@ -1250,21 +1250,21 @@ T.styles = [
|
|
|
1250
1250
|
}
|
|
1251
1251
|
`
|
|
1252
1252
|
];
|
|
1253
|
-
|
|
1253
|
+
it([
|
|
1254
1254
|
n()
|
|
1255
|
-
],
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
],
|
|
1259
|
-
|
|
1255
|
+
], Y.prototype, "value", 2);
|
|
1256
|
+
it([
|
|
1257
|
+
rt("select")
|
|
1258
|
+
], Y.prototype, "selectEl", 2);
|
|
1259
|
+
Y = it([
|
|
1260
1260
|
p("vox-select")
|
|
1261
|
-
],
|
|
1262
|
-
var
|
|
1263
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1264
|
-
(i =
|
|
1265
|
-
return r && e &&
|
|
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--)
|
|
1264
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1265
|
+
return r && e && so(t, a, e), e;
|
|
1266
1266
|
};
|
|
1267
|
-
let
|
|
1267
|
+
let X = class extends x {
|
|
1268
1268
|
constructor() {
|
|
1269
1269
|
super(...arguments), this.checked = !1, this.value = "on";
|
|
1270
1270
|
}
|
|
@@ -1274,11 +1274,11 @@ let R = class extends x {
|
|
|
1274
1274
|
updated() {
|
|
1275
1275
|
this.internals.setFormValue(this.checked ? this.value : null);
|
|
1276
1276
|
}
|
|
1277
|
-
handleChange(
|
|
1278
|
-
this.checked =
|
|
1277
|
+
handleChange(o) {
|
|
1278
|
+
this.checked = o.target.checked, this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1279
1279
|
}
|
|
1280
1280
|
render() {
|
|
1281
|
-
return
|
|
1281
|
+
return l`
|
|
1282
1282
|
<label class="check">
|
|
1283
1283
|
<input
|
|
1284
1284
|
type="checkbox"
|
|
@@ -1293,8 +1293,8 @@ let R = class extends x {
|
|
|
1293
1293
|
`;
|
|
1294
1294
|
}
|
|
1295
1295
|
};
|
|
1296
|
-
|
|
1297
|
-
|
|
1296
|
+
X.styles = [
|
|
1297
|
+
Ot,
|
|
1298
1298
|
d`
|
|
1299
1299
|
.track {
|
|
1300
1300
|
flex: none;
|
|
@@ -1333,21 +1333,21 @@ R.styles = [
|
|
|
1333
1333
|
}
|
|
1334
1334
|
`
|
|
1335
1335
|
];
|
|
1336
|
-
|
|
1336
|
+
nt([
|
|
1337
1337
|
n({ type: Boolean, reflect: !0 })
|
|
1338
|
-
],
|
|
1339
|
-
|
|
1338
|
+
], X.prototype, "checked", 2);
|
|
1339
|
+
nt([
|
|
1340
1340
|
n()
|
|
1341
|
-
],
|
|
1342
|
-
|
|
1341
|
+
], X.prototype, "value", 2);
|
|
1342
|
+
X = nt([
|
|
1343
1343
|
p("vox-switch")
|
|
1344
|
-
],
|
|
1345
|
-
var
|
|
1346
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1347
|
-
(i =
|
|
1348
|
-
return r && e &&
|
|
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--)
|
|
1347
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1348
|
+
return r && e && no(t, a, e), e;
|
|
1349
1349
|
};
|
|
1350
|
-
let
|
|
1350
|
+
let C = class extends x {
|
|
1351
1351
|
constructor() {
|
|
1352
1352
|
super(...arguments), this.value = "", this.rows = 4, this.readonly = !1;
|
|
1353
1353
|
}
|
|
@@ -1356,29 +1356,29 @@ let y = class extends x {
|
|
|
1356
1356
|
}
|
|
1357
1357
|
updated() {
|
|
1358
1358
|
this.internals.setFormValue(this.value);
|
|
1359
|
-
const
|
|
1360
|
-
|
|
1359
|
+
const o = this.renderRoot.querySelector("textarea");
|
|
1360
|
+
o && this.syncValidity(o);
|
|
1361
1361
|
}
|
|
1362
|
-
focus(
|
|
1363
|
-
var
|
|
1364
|
-
(
|
|
1362
|
+
focus(o) {
|
|
1363
|
+
var t;
|
|
1364
|
+
(t = this.renderRoot.querySelector("textarea")) == null || t.focus(o);
|
|
1365
1365
|
}
|
|
1366
|
-
handleInput(
|
|
1367
|
-
this.value =
|
|
1366
|
+
handleInput(o) {
|
|
1367
|
+
this.value = o.target.value;
|
|
1368
1368
|
}
|
|
1369
1369
|
handleChange() {
|
|
1370
1370
|
this.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
1371
1371
|
}
|
|
1372
1372
|
render() {
|
|
1373
|
-
return
|
|
1373
|
+
return l`
|
|
1374
1374
|
<div class="field">
|
|
1375
1375
|
${this.renderLabel("textarea")}
|
|
1376
1376
|
<textarea
|
|
1377
1377
|
id="textarea"
|
|
1378
1378
|
class="control"
|
|
1379
1379
|
rows=${this.rows}
|
|
1380
|
-
.value=${
|
|
1381
|
-
placeholder=${
|
|
1380
|
+
.value=${Mt(this.value)}
|
|
1381
|
+
placeholder=${E(this.placeholder)}
|
|
1382
1382
|
?required=${this.required}
|
|
1383
1383
|
?readonly=${this.readonly}
|
|
1384
1384
|
?disabled=${this.disabled}
|
|
@@ -1390,8 +1390,8 @@ let y = class extends x {
|
|
|
1390
1390
|
`;
|
|
1391
1391
|
}
|
|
1392
1392
|
};
|
|
1393
|
-
|
|
1394
|
-
|
|
1393
|
+
C.styles = [
|
|
1394
|
+
ue,
|
|
1395
1395
|
d`
|
|
1396
1396
|
textarea.control {
|
|
1397
1397
|
resize: vertical;
|
|
@@ -1399,39 +1399,39 @@ y.styles = [
|
|
|
1399
1399
|
}
|
|
1400
1400
|
`
|
|
1401
1401
|
];
|
|
1402
|
-
|
|
1402
|
+
fe([
|
|
1403
1403
|
n()
|
|
1404
|
-
],
|
|
1405
|
-
|
|
1404
|
+
], C.prototype, "value", 2);
|
|
1405
|
+
fe([
|
|
1406
1406
|
n()
|
|
1407
|
-
],
|
|
1408
|
-
|
|
1407
|
+
], C.prototype, "placeholder", 2);
|
|
1408
|
+
fe([
|
|
1409
1409
|
n({ type: Number })
|
|
1410
|
-
],
|
|
1411
|
-
|
|
1410
|
+
], C.prototype, "rows", 2);
|
|
1411
|
+
fe([
|
|
1412
1412
|
n({ type: Boolean, reflect: !0 })
|
|
1413
|
-
],
|
|
1414
|
-
|
|
1413
|
+
], C.prototype, "readonly", 2);
|
|
1414
|
+
C = fe([
|
|
1415
1415
|
p("vox-textarea")
|
|
1416
|
-
],
|
|
1417
|
-
var
|
|
1418
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1419
|
-
(i =
|
|
1420
|
-
return r && e &&
|
|
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--)
|
|
1419
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1420
|
+
return r && e && co(t, a, e), e;
|
|
1421
1421
|
};
|
|
1422
|
-
let
|
|
1422
|
+
let M = class extends h {
|
|
1423
1423
|
constructor() {
|
|
1424
1424
|
super(...arguments), this.alt = "", this.initials = "", this.size = "md";
|
|
1425
1425
|
}
|
|
1426
1426
|
render() {
|
|
1427
|
-
return
|
|
1427
|
+
return l`
|
|
1428
1428
|
<span class="avatar" role=${this.src ? "presentation" : "img"} aria-label=${this.alt}>
|
|
1429
|
-
${this.src ?
|
|
1429
|
+
${this.src ? l`<img src=${this.src} alt=${this.alt} />` : this.initials}
|
|
1430
1430
|
</span>
|
|
1431
1431
|
`;
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
|
-
|
|
1434
|
+
M.styles = d`
|
|
1435
1435
|
:host {
|
|
1436
1436
|
display: inline-block;
|
|
1437
1437
|
}
|
|
@@ -1479,36 +1479,36 @@ w.styles = d`
|
|
|
1479
1479
|
font-size: 28px;
|
|
1480
1480
|
}
|
|
1481
1481
|
`;
|
|
1482
|
-
|
|
1482
|
+
ge([
|
|
1483
1483
|
n()
|
|
1484
|
-
],
|
|
1485
|
-
|
|
1484
|
+
], M.prototype, "src", 2);
|
|
1485
|
+
ge([
|
|
1486
1486
|
n()
|
|
1487
|
-
],
|
|
1488
|
-
|
|
1487
|
+
], M.prototype, "alt", 2);
|
|
1488
|
+
ge([
|
|
1489
1489
|
n()
|
|
1490
|
-
],
|
|
1491
|
-
|
|
1490
|
+
], M.prototype, "initials", 2);
|
|
1491
|
+
ge([
|
|
1492
1492
|
n({ reflect: !0 })
|
|
1493
|
-
],
|
|
1494
|
-
|
|
1493
|
+
], M.prototype, "size", 2);
|
|
1494
|
+
M = ge([
|
|
1495
1495
|
p("vox-avatar")
|
|
1496
|
-
],
|
|
1497
|
-
var
|
|
1498
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1499
|
-
(i =
|
|
1500
|
-
return r && e &&
|
|
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--)
|
|
1499
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1500
|
+
return r && e && ho(t, a, e), e;
|
|
1501
1501
|
};
|
|
1502
|
-
let
|
|
1502
|
+
let W = class extends h {
|
|
1503
1503
|
constructor() {
|
|
1504
1504
|
super(...arguments), this.heading = "", this.reverse = !1, this.hasActions = !1;
|
|
1505
1505
|
}
|
|
1506
|
-
handleActionsSlotChange(
|
|
1507
|
-
const
|
|
1508
|
-
this.hasActions =
|
|
1506
|
+
handleActionsSlotChange(o) {
|
|
1507
|
+
const t = o.target;
|
|
1508
|
+
this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
1509
1509
|
}
|
|
1510
1510
|
render() {
|
|
1511
|
-
return
|
|
1511
|
+
return l`
|
|
1512
1512
|
<div class="billboard">
|
|
1513
1513
|
<div class="media"><slot name="media"></slot></div>
|
|
1514
1514
|
<div class="content">
|
|
@@ -1522,7 +1522,7 @@ let F = class extends v {
|
|
|
1522
1522
|
`;
|
|
1523
1523
|
}
|
|
1524
1524
|
};
|
|
1525
|
-
|
|
1525
|
+
W.styles = d`
|
|
1526
1526
|
:host {
|
|
1527
1527
|
display: block;
|
|
1528
1528
|
font-family: var(--vox-font-family-base);
|
|
@@ -1584,30 +1584,30 @@ F.styles = d`
|
|
|
1584
1584
|
display: none;
|
|
1585
1585
|
}
|
|
1586
1586
|
`;
|
|
1587
|
-
|
|
1587
|
+
lt([
|
|
1588
1588
|
n()
|
|
1589
|
-
],
|
|
1590
|
-
|
|
1589
|
+
], W.prototype, "heading", 2);
|
|
1590
|
+
lt([
|
|
1591
1591
|
n({ type: Boolean, reflect: !0 })
|
|
1592
|
-
],
|
|
1593
|
-
|
|
1592
|
+
], W.prototype, "reverse", 2);
|
|
1593
|
+
W = lt([
|
|
1594
1594
|
p("vox-billboard")
|
|
1595
|
-
],
|
|
1596
|
-
var
|
|
1597
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1598
|
-
(i =
|
|
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--)
|
|
1598
|
+
(i = o[s]) && (e = i(e) || e);
|
|
1599
1599
|
return e;
|
|
1600
1600
|
};
|
|
1601
|
-
let
|
|
1601
|
+
let Xe = class extends h {
|
|
1602
1602
|
render() {
|
|
1603
|
-
return
|
|
1603
|
+
return l`
|
|
1604
1604
|
<nav aria-label="Breadcrumbs">
|
|
1605
1605
|
<slot></slot>
|
|
1606
1606
|
</nav>
|
|
1607
1607
|
`;
|
|
1608
1608
|
}
|
|
1609
1609
|
};
|
|
1610
|
-
|
|
1610
|
+
Xe.styles = d`
|
|
1611
1611
|
:host {
|
|
1612
1612
|
display: block;
|
|
1613
1613
|
font-family: var(--vox-font-family-base);
|
|
@@ -1641,21 +1641,21 @@ qe.styles = d`
|
|
|
1641
1641
|
color: var(--vox-color-text-3);
|
|
1642
1642
|
}
|
|
1643
1643
|
`;
|
|
1644
|
-
|
|
1644
|
+
Xe = uo([
|
|
1645
1645
|
p("vox-breadcrumbs")
|
|
1646
|
-
],
|
|
1647
|
-
var
|
|
1648
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1649
|
-
(i =
|
|
1650
|
-
return r && e &&
|
|
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--)
|
|
1649
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1650
|
+
return r && e && fo(t, a, e), e;
|
|
1651
1651
|
};
|
|
1652
|
-
let
|
|
1652
|
+
let N = class extends h {
|
|
1653
1653
|
constructor() {
|
|
1654
|
-
super(...arguments), this.siteTitle = "", this.href = "/", this.mobileOpen = !1, this.handleOutsideClick = (
|
|
1655
|
-
this.mobileOpen && !
|
|
1656
|
-
}, this.handleKeydown = (
|
|
1657
|
-
var
|
|
1658
|
-
|
|
1654
|
+
super(...arguments), this.siteTitle = "", this.href = "/", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
|
|
1655
|
+
this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
|
|
1656
|
+
}, this.handleKeydown = (o) => {
|
|
1657
|
+
var t;
|
|
1658
|
+
o.key === "Escape" && this.mobileOpen && (this.mobileOpen = !1, (t = this.renderRoot.querySelector(".menu-toggle")) == null || t.focus());
|
|
1659
1659
|
}, this.toggleMobileMenu = () => {
|
|
1660
1660
|
this.mobileOpen = !this.mobileOpen;
|
|
1661
1661
|
}, this.closeMobileMenu = () => {
|
|
@@ -1669,11 +1669,11 @@ let z = class extends v {
|
|
|
1669
1669
|
super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
|
|
1670
1670
|
}
|
|
1671
1671
|
render() {
|
|
1672
|
-
return
|
|
1672
|
+
return l`
|
|
1673
1673
|
<header class="header">
|
|
1674
1674
|
<a class="brand" href=${this.href}>
|
|
1675
1675
|
<slot name="logo"></slot>
|
|
1676
|
-
${this.siteTitle ?
|
|
1676
|
+
${this.siteTitle ? l`<span>${this.siteTitle}</span>` : v}
|
|
1677
1677
|
</a>
|
|
1678
1678
|
<button
|
|
1679
1679
|
type="button"
|
|
@@ -1693,7 +1693,7 @@ let z = class extends v {
|
|
|
1693
1693
|
stroke-linejoin="round"
|
|
1694
1694
|
aria-hidden="true"
|
|
1695
1695
|
>
|
|
1696
|
-
${this.mobileOpen ?
|
|
1696
|
+
${this.mobileOpen ? y.close : y.menu}
|
|
1697
1697
|
</svg>
|
|
1698
1698
|
</button>
|
|
1699
1699
|
<div id="nav-wrap" class="nav-wrap${this.mobileOpen ? " open" : ""}">
|
|
@@ -1708,7 +1708,7 @@ let z = class extends v {
|
|
|
1708
1708
|
`;
|
|
1709
1709
|
}
|
|
1710
1710
|
};
|
|
1711
|
-
|
|
1711
|
+
N.styles = d`
|
|
1712
1712
|
:host {
|
|
1713
1713
|
display: block;
|
|
1714
1714
|
font-family: var(--vox-font-family-base);
|
|
@@ -1838,47 +1838,47 @@ z.styles = d`
|
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
1840
|
`;
|
|
1841
|
-
|
|
1841
|
+
Ie([
|
|
1842
1842
|
n({ attribute: "site-title" })
|
|
1843
|
-
],
|
|
1844
|
-
|
|
1843
|
+
], N.prototype, "siteTitle", 2);
|
|
1844
|
+
Ie([
|
|
1845
1845
|
n()
|
|
1846
|
-
],
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
],
|
|
1850
|
-
|
|
1846
|
+
], N.prototype, "href", 2);
|
|
1847
|
+
Ie([
|
|
1848
|
+
Z()
|
|
1849
|
+
], N.prototype, "mobileOpen", 2);
|
|
1850
|
+
N = Ie([
|
|
1851
1851
|
p("vox-header")
|
|
1852
|
-
],
|
|
1853
|
-
var
|
|
1854
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1855
|
-
(i =
|
|
1856
|
-
return r && e &&
|
|
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--)
|
|
1855
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1856
|
+
return r && e && bo(t, a, e), e;
|
|
1857
1857
|
};
|
|
1858
|
-
let
|
|
1858
|
+
let O = class extends h {
|
|
1859
1859
|
constructor() {
|
|
1860
1860
|
super(...arguments), this.previousLabel = "", this.nextLabel = "";
|
|
1861
1861
|
}
|
|
1862
1862
|
render() {
|
|
1863
|
-
return
|
|
1863
|
+
return l`
|
|
1864
1864
|
<nav aria-label="Series">
|
|
1865
|
-
${this.previousHref ?
|
|
1865
|
+
${this.previousHref ? l`
|
|
1866
1866
|
<a href=${this.previousHref} rel="prev">
|
|
1867
1867
|
<span class="direction">← Previous</span>
|
|
1868
1868
|
<span class="title">${this.previousLabel}</span>
|
|
1869
1869
|
</a>
|
|
1870
|
-
` :
|
|
1871
|
-
${this.nextHref ?
|
|
1870
|
+
` : v}
|
|
1871
|
+
${this.nextHref ? l`
|
|
1872
1872
|
<a class="next" href=${this.nextHref} rel="next">
|
|
1873
1873
|
<span class="direction">Next →</span>
|
|
1874
1874
|
<span class="title">${this.nextLabel}</span>
|
|
1875
1875
|
</a>
|
|
1876
|
-
` :
|
|
1876
|
+
` : v}
|
|
1877
1877
|
</nav>
|
|
1878
1878
|
`;
|
|
1879
1879
|
}
|
|
1880
1880
|
};
|
|
1881
|
-
|
|
1881
|
+
O.styles = d`
|
|
1882
1882
|
:host {
|
|
1883
1883
|
display: block;
|
|
1884
1884
|
font-family: var(--vox-font-family-base);
|
|
@@ -1928,37 +1928,37 @@ $.styles = d`
|
|
|
1928
1928
|
color: var(--vox-color-brand-1);
|
|
1929
1929
|
}
|
|
1930
1930
|
`;
|
|
1931
|
-
|
|
1931
|
+
be([
|
|
1932
1932
|
n({ attribute: "previous-href" })
|
|
1933
|
-
],
|
|
1934
|
-
|
|
1933
|
+
], O.prototype, "previousHref", 2);
|
|
1934
|
+
be([
|
|
1935
1935
|
n({ attribute: "previous-label" })
|
|
1936
|
-
],
|
|
1937
|
-
|
|
1936
|
+
], O.prototype, "previousLabel", 2);
|
|
1937
|
+
be([
|
|
1938
1938
|
n({ attribute: "next-href" })
|
|
1939
|
-
],
|
|
1940
|
-
|
|
1939
|
+
], O.prototype, "nextHref", 2);
|
|
1940
|
+
be([
|
|
1941
1941
|
n({ attribute: "next-label" })
|
|
1942
|
-
],
|
|
1943
|
-
|
|
1942
|
+
], O.prototype, "nextLabel", 2);
|
|
1943
|
+
O = be([
|
|
1944
1944
|
p("vox-series-nav")
|
|
1945
|
-
],
|
|
1946
|
-
var
|
|
1947
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
1948
|
-
(i =
|
|
1949
|
-
return r && e &&
|
|
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--)
|
|
1948
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
1949
|
+
return r && e && mo(t, a, e), e;
|
|
1950
1950
|
};
|
|
1951
|
-
let
|
|
1951
|
+
let T = class extends h {
|
|
1952
1952
|
constructor() {
|
|
1953
|
-
super(...arguments), this.label = "Section", this.toggleLabel = "Menu", this.mobileOpen = !1, this.handleOutsideClick = (
|
|
1954
|
-
this.mobileOpen && !
|
|
1955
|
-
}, this.handleKeydown = (
|
|
1956
|
-
var
|
|
1957
|
-
|
|
1953
|
+
super(...arguments), this.label = "Section", this.toggleLabel = "Menu", this.mobileOpen = !1, this.handleOutsideClick = (o) => {
|
|
1954
|
+
this.mobileOpen && !o.composedPath().includes(this) && (this.mobileOpen = !1);
|
|
1955
|
+
}, this.handleKeydown = (o) => {
|
|
1956
|
+
var t;
|
|
1957
|
+
o.key === "Escape" && this.mobileOpen && (this.mobileOpen = !1, (t = this.renderRoot.querySelector(".toggle")) == null || t.focus());
|
|
1958
1958
|
}, this.toggleMobile = () => {
|
|
1959
1959
|
this.mobileOpen = !this.mobileOpen;
|
|
1960
|
-
}, this.handleNavClick = (
|
|
1961
|
-
|
|
1960
|
+
}, this.handleNavClick = (o) => {
|
|
1961
|
+
o.composedPath().some((t) => t instanceof HTMLAnchorElement) && (this.mobileOpen = !1);
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
1964
1964
|
connectedCallback() {
|
|
@@ -1968,7 +1968,7 @@ let H = class extends v {
|
|
|
1968
1968
|
super.disconnectedCallback(), document.removeEventListener("click", this.handleOutsideClick), this.removeEventListener("keydown", this.handleKeydown);
|
|
1969
1969
|
}
|
|
1970
1970
|
render() {
|
|
1971
|
-
return
|
|
1971
|
+
return l`
|
|
1972
1972
|
<button
|
|
1973
1973
|
type="button"
|
|
1974
1974
|
class="toggle"
|
|
@@ -1987,7 +1987,7 @@ let H = class extends v {
|
|
|
1987
1987
|
stroke-linejoin="round"
|
|
1988
1988
|
aria-hidden="true"
|
|
1989
1989
|
>
|
|
1990
|
-
${this.mobileOpen ?
|
|
1990
|
+
${this.mobileOpen ? y.close : y.menu}
|
|
1991
1991
|
</svg>
|
|
1992
1992
|
</button>
|
|
1993
1993
|
<nav
|
|
@@ -2001,7 +2001,7 @@ let H = class extends v {
|
|
|
2001
2001
|
`;
|
|
2002
2002
|
}
|
|
2003
2003
|
};
|
|
2004
|
-
|
|
2004
|
+
T.styles = d`
|
|
2005
2005
|
:host {
|
|
2006
2006
|
display: block;
|
|
2007
2007
|
font-family: var(--vox-font-family-base);
|
|
@@ -2061,19 +2061,19 @@ H.styles = d`
|
|
|
2061
2061
|
}
|
|
2062
2062
|
}
|
|
2063
2063
|
`;
|
|
2064
|
-
|
|
2064
|
+
f([
|
|
2065
2065
|
n()
|
|
2066
|
-
],
|
|
2067
|
-
|
|
2066
|
+
], T.prototype, "label", 2);
|
|
2067
|
+
f([
|
|
2068
2068
|
n({ attribute: "toggle-label" })
|
|
2069
|
-
],
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
],
|
|
2073
|
-
|
|
2069
|
+
], T.prototype, "toggleLabel", 2);
|
|
2070
|
+
f([
|
|
2071
|
+
Z()
|
|
2072
|
+
], T.prototype, "mobileOpen", 2);
|
|
2073
|
+
T = f([
|
|
2074
2074
|
p("vox-sidenav")
|
|
2075
|
-
],
|
|
2076
|
-
let
|
|
2075
|
+
], T);
|
|
2076
|
+
let J = class extends h {
|
|
2077
2077
|
constructor() {
|
|
2078
2078
|
super(...arguments), this.heading = "", this.open = !1;
|
|
2079
2079
|
}
|
|
@@ -2081,7 +2081,7 @@ let Z = class extends v {
|
|
|
2081
2081
|
this.open = !this.open;
|
|
2082
2082
|
}
|
|
2083
2083
|
render() {
|
|
2084
|
-
return
|
|
2084
|
+
return l`
|
|
2085
2085
|
<button
|
|
2086
2086
|
class="trigger"
|
|
2087
2087
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -2096,7 +2096,7 @@ let Z = class extends v {
|
|
|
2096
2096
|
`;
|
|
2097
2097
|
}
|
|
2098
2098
|
};
|
|
2099
|
-
|
|
2099
|
+
J.styles = d`
|
|
2100
2100
|
:host {
|
|
2101
2101
|
display: block;
|
|
2102
2102
|
font-family: var(--vox-font-family-base);
|
|
@@ -2153,25 +2153,25 @@ Z.styles = d`
|
|
|
2153
2153
|
display: flex;
|
|
2154
2154
|
}
|
|
2155
2155
|
`;
|
|
2156
|
-
|
|
2156
|
+
f([
|
|
2157
2157
|
n()
|
|
2158
|
-
],
|
|
2159
|
-
|
|
2158
|
+
], J.prototype, "heading", 2);
|
|
2159
|
+
f([
|
|
2160
2160
|
n({ type: Boolean, reflect: !0 })
|
|
2161
|
-
],
|
|
2162
|
-
|
|
2161
|
+
], J.prototype, "open", 2);
|
|
2162
|
+
J = f([
|
|
2163
2163
|
p("vox-sidenav-group")
|
|
2164
|
-
],
|
|
2165
|
-
let
|
|
2164
|
+
], J);
|
|
2165
|
+
let Q = class extends h {
|
|
2166
2166
|
constructor() {
|
|
2167
2167
|
super(...arguments), this.href = "#", this.current = !1, this.hasIcon = !1;
|
|
2168
2168
|
}
|
|
2169
|
-
handleIconSlotChange(
|
|
2170
|
-
const
|
|
2171
|
-
this.hasIcon =
|
|
2169
|
+
handleIconSlotChange(o) {
|
|
2170
|
+
const t = o.target;
|
|
2171
|
+
this.hasIcon = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
2172
2172
|
}
|
|
2173
2173
|
render() {
|
|
2174
|
-
return
|
|
2174
|
+
return l`
|
|
2175
2175
|
<a href=${this.href} aria-current=${this.current ? "page" : "false"}>
|
|
2176
2176
|
<span class="icon ${this.hasIcon ? "has-icon" : ""}">
|
|
2177
2177
|
<slot name="icon" @slotchange=${this.handleIconSlotChange}></slot>
|
|
@@ -2181,7 +2181,7 @@ let K = class extends v {
|
|
|
2181
2181
|
`;
|
|
2182
2182
|
}
|
|
2183
2183
|
};
|
|
2184
|
-
|
|
2184
|
+
Q.styles = d`
|
|
2185
2185
|
:host {
|
|
2186
2186
|
display: block;
|
|
2187
2187
|
font-family: var(--vox-font-family-base);
|
|
@@ -2225,33 +2225,33 @@ K.styles = d`
|
|
|
2225
2225
|
display: none;
|
|
2226
2226
|
}
|
|
2227
2227
|
`;
|
|
2228
|
-
|
|
2228
|
+
f([
|
|
2229
2229
|
n()
|
|
2230
|
-
],
|
|
2231
|
-
|
|
2230
|
+
], Q.prototype, "href", 2);
|
|
2231
|
+
f([
|
|
2232
2232
|
n({ type: Boolean, reflect: !0 })
|
|
2233
|
-
],
|
|
2234
|
-
|
|
2233
|
+
], Q.prototype, "current", 2);
|
|
2234
|
+
Q = f([
|
|
2235
2235
|
p("vox-sidenav-item")
|
|
2236
|
-
],
|
|
2237
|
-
var
|
|
2238
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2239
|
-
(i =
|
|
2240
|
-
return r && e &&
|
|
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--)
|
|
2239
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2240
|
+
return r && e && $o(t, a, e), e;
|
|
2241
2241
|
};
|
|
2242
|
-
let
|
|
2242
|
+
let Ve = class extends h {
|
|
2243
2243
|
constructor() {
|
|
2244
2244
|
super(...arguments), this.label = "Secondary";
|
|
2245
2245
|
}
|
|
2246
2246
|
render() {
|
|
2247
|
-
return
|
|
2247
|
+
return l`
|
|
2248
2248
|
<nav aria-label=${this.label}>
|
|
2249
2249
|
<slot></slot>
|
|
2250
2250
|
</nav>
|
|
2251
2251
|
`;
|
|
2252
2252
|
}
|
|
2253
2253
|
};
|
|
2254
|
-
|
|
2254
|
+
Ve.styles = d`
|
|
2255
2255
|
:host {
|
|
2256
2256
|
display: block;
|
|
2257
2257
|
font-family: var(--vox-font-family-base);
|
|
@@ -2286,18 +2286,18 @@ me.styles = d`
|
|
|
2286
2286
|
border-bottom-color: var(--vox-color-brand-1);
|
|
2287
2287
|
}
|
|
2288
2288
|
`;
|
|
2289
|
-
|
|
2289
|
+
Lt([
|
|
2290
2290
|
n()
|
|
2291
|
-
],
|
|
2292
|
-
|
|
2291
|
+
], Ve.prototype, "label", 2);
|
|
2292
|
+
Ve = Lt([
|
|
2293
2293
|
p("vox-subnav")
|
|
2294
|
-
],
|
|
2295
|
-
var
|
|
2296
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2297
|
-
(i =
|
|
2298
|
-
return r && e &&
|
|
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--)
|
|
2297
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2298
|
+
return r && e && Co(t, a, e), e;
|
|
2299
2299
|
};
|
|
2300
|
-
let
|
|
2300
|
+
let We = class extends h {
|
|
2301
2301
|
get tabs() {
|
|
2302
2302
|
return [...this.querySelectorAll("vox-tab")];
|
|
2303
2303
|
}
|
|
@@ -2305,32 +2305,32 @@ let Ne = class extends v {
|
|
|
2305
2305
|
return [...this.querySelectorAll("vox-tab-panel")];
|
|
2306
2306
|
}
|
|
2307
2307
|
sync() {
|
|
2308
|
-
const
|
|
2309
|
-
|
|
2310
|
-
const
|
|
2308
|
+
const o = this.tabs;
|
|
2309
|
+
o.length > 0 && !o.some((a) => a.selected) && (o[0].selected = !0);
|
|
2310
|
+
const t = o.find((a) => a.selected);
|
|
2311
2311
|
this.panels.forEach((a) => {
|
|
2312
|
-
a.active = a.name === (
|
|
2312
|
+
a.active = a.name === (t == null ? void 0 : t.panel);
|
|
2313
2313
|
});
|
|
2314
2314
|
}
|
|
2315
|
-
handleSelect(
|
|
2316
|
-
const
|
|
2317
|
-
|
|
2315
|
+
handleSelect(o) {
|
|
2316
|
+
const t = o.target;
|
|
2317
|
+
t.tagName === "VOX-TAB" && (this.tabs.forEach((a) => a.selected = a === t), this.sync(), this.dispatchEvent(
|
|
2318
2318
|
new CustomEvent("vox-tab-change", {
|
|
2319
|
-
detail: { panel:
|
|
2319
|
+
detail: { panel: t.panel },
|
|
2320
2320
|
bubbles: !0,
|
|
2321
2321
|
composed: !0
|
|
2322
2322
|
})
|
|
2323
2323
|
));
|
|
2324
2324
|
}
|
|
2325
|
-
handleKeydown(
|
|
2326
|
-
const a = { ArrowRight: 1, ArrowLeft: -1 }[
|
|
2325
|
+
handleKeydown(o) {
|
|
2326
|
+
const a = { ArrowRight: 1, ArrowLeft: -1 }[o.key];
|
|
2327
2327
|
if (!a) return;
|
|
2328
|
-
|
|
2328
|
+
o.preventDefault();
|
|
2329
2329
|
const r = this.tabs, e = r.findIndex((i) => i.selected), s = r[(e + a + r.length) % r.length];
|
|
2330
2330
|
s.select(), s.focusTab();
|
|
2331
2331
|
}
|
|
2332
2332
|
render() {
|
|
2333
|
-
return
|
|
2333
|
+
return l`
|
|
2334
2334
|
<div
|
|
2335
2335
|
class="tablist"
|
|
2336
2336
|
role="tablist"
|
|
@@ -2343,7 +2343,7 @@ let Ne = class extends v {
|
|
|
2343
2343
|
`;
|
|
2344
2344
|
}
|
|
2345
2345
|
};
|
|
2346
|
-
|
|
2346
|
+
We.styles = d`
|
|
2347
2347
|
:host {
|
|
2348
2348
|
display: block;
|
|
2349
2349
|
}
|
|
@@ -2354,10 +2354,10 @@ Ne.styles = d`
|
|
|
2354
2354
|
border-bottom: 1px solid var(--vox-color-divider);
|
|
2355
2355
|
}
|
|
2356
2356
|
`;
|
|
2357
|
-
|
|
2357
|
+
We = j([
|
|
2358
2358
|
p("vox-tabs")
|
|
2359
|
-
],
|
|
2360
|
-
let
|
|
2359
|
+
], We);
|
|
2360
|
+
let ee = class extends h {
|
|
2361
2361
|
constructor() {
|
|
2362
2362
|
super(...arguments), this.panel = "", this.selected = !1;
|
|
2363
2363
|
}
|
|
@@ -2367,11 +2367,11 @@ let U = class extends v {
|
|
|
2367
2367
|
);
|
|
2368
2368
|
}
|
|
2369
2369
|
focusTab() {
|
|
2370
|
-
var
|
|
2371
|
-
(
|
|
2370
|
+
var o;
|
|
2371
|
+
(o = this.renderRoot.querySelector(".tab")) == null || o.focus();
|
|
2372
2372
|
}
|
|
2373
2373
|
render() {
|
|
2374
|
-
return
|
|
2374
|
+
return l`
|
|
2375
2375
|
<button
|
|
2376
2376
|
class="tab"
|
|
2377
2377
|
role="tab"
|
|
@@ -2384,7 +2384,7 @@ let U = class extends v {
|
|
|
2384
2384
|
`;
|
|
2385
2385
|
}
|
|
2386
2386
|
};
|
|
2387
|
-
|
|
2387
|
+
ee.styles = d`
|
|
2388
2388
|
:host {
|
|
2389
2389
|
display: block;
|
|
2390
2390
|
font-family: var(--vox-font-family-base);
|
|
@@ -2419,24 +2419,24 @@ U.styles = d`
|
|
|
2419
2419
|
border-bottom-color: var(--vox-color-brand-1);
|
|
2420
2420
|
}
|
|
2421
2421
|
`;
|
|
2422
|
-
|
|
2422
|
+
j([
|
|
2423
2423
|
n()
|
|
2424
|
-
],
|
|
2425
|
-
|
|
2424
|
+
], ee.prototype, "panel", 2);
|
|
2425
|
+
j([
|
|
2426
2426
|
n({ type: Boolean, reflect: !0 })
|
|
2427
|
-
],
|
|
2428
|
-
|
|
2427
|
+
], ee.prototype, "selected", 2);
|
|
2428
|
+
ee = j([
|
|
2429
2429
|
p("vox-tab")
|
|
2430
|
-
],
|
|
2431
|
-
let
|
|
2430
|
+
], ee);
|
|
2431
|
+
let te = class extends h {
|
|
2432
2432
|
constructor() {
|
|
2433
2433
|
super(...arguments), this.name = "", this.active = !1;
|
|
2434
2434
|
}
|
|
2435
2435
|
render() {
|
|
2436
|
-
return
|
|
2436
|
+
return l`<div role="tabpanel"><slot></slot></div>`;
|
|
2437
2437
|
}
|
|
2438
2438
|
};
|
|
2439
|
-
|
|
2439
|
+
te.styles = d`
|
|
2440
2440
|
:host {
|
|
2441
2441
|
display: none;
|
|
2442
2442
|
font-family: var(--vox-font-family-base);
|
|
@@ -2450,26 +2450,26 @@ G.styles = d`
|
|
|
2450
2450
|
display: block;
|
|
2451
2451
|
}
|
|
2452
2452
|
`;
|
|
2453
|
-
|
|
2453
|
+
j([
|
|
2454
2454
|
n()
|
|
2455
|
-
],
|
|
2456
|
-
|
|
2455
|
+
], te.prototype, "name", 2);
|
|
2456
|
+
j([
|
|
2457
2457
|
n({ type: Boolean, reflect: !0 })
|
|
2458
|
-
],
|
|
2459
|
-
|
|
2458
|
+
], te.prototype, "active", 2);
|
|
2459
|
+
te = j([
|
|
2460
2460
|
p("vox-tab-panel")
|
|
2461
|
-
],
|
|
2462
|
-
var
|
|
2463
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2464
|
-
(i =
|
|
2465
|
-
return r && e &&
|
|
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--)
|
|
2464
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2465
|
+
return r && e && Oo(t, a, e), e;
|
|
2466
2466
|
};
|
|
2467
|
-
let
|
|
2467
|
+
let je = class extends h {
|
|
2468
2468
|
constructor() {
|
|
2469
2469
|
super(...arguments), this.heading = "On this page";
|
|
2470
2470
|
}
|
|
2471
2471
|
render() {
|
|
2472
|
-
return
|
|
2472
|
+
return l`
|
|
2473
2473
|
<div class="heading" id="vox-toc-heading">${this.heading}</div>
|
|
2474
2474
|
<nav aria-labelledby="vox-toc-heading">
|
|
2475
2475
|
<slot></slot>
|
|
@@ -2477,7 +2477,7 @@ let ye = class extends v {
|
|
|
2477
2477
|
`;
|
|
2478
2478
|
}
|
|
2479
2479
|
};
|
|
2480
|
-
|
|
2480
|
+
je.styles = d`
|
|
2481
2481
|
:host {
|
|
2482
2482
|
display: block;
|
|
2483
2483
|
font-family: var(--vox-font-family-base);
|
|
@@ -2498,22 +2498,22 @@ ye.styles = d`
|
|
|
2498
2498
|
border-left: 1px solid var(--vox-color-divider);
|
|
2499
2499
|
}
|
|
2500
2500
|
`;
|
|
2501
|
-
|
|
2501
|
+
ye([
|
|
2502
2502
|
n()
|
|
2503
|
-
],
|
|
2504
|
-
|
|
2503
|
+
], je.prototype, "heading", 2);
|
|
2504
|
+
je = ye([
|
|
2505
2505
|
p("vox-toc")
|
|
2506
|
-
],
|
|
2507
|
-
let
|
|
2506
|
+
], je);
|
|
2507
|
+
let oe = class extends h {
|
|
2508
2508
|
constructor() {
|
|
2509
2509
|
super(...arguments), this.href = "#", this.current = !1, this.hasChildren = !1;
|
|
2510
2510
|
}
|
|
2511
|
-
handleChildrenSlotChange(
|
|
2512
|
-
const
|
|
2513
|
-
this.hasChildren =
|
|
2511
|
+
handleChildrenSlotChange(o) {
|
|
2512
|
+
const t = o.target;
|
|
2513
|
+
this.hasChildren = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
2514
2514
|
}
|
|
2515
2515
|
render() {
|
|
2516
|
-
return
|
|
2516
|
+
return l`
|
|
2517
2517
|
<a href=${this.href} aria-current=${this.current ? "true" : "false"}>
|
|
2518
2518
|
<slot></slot>
|
|
2519
2519
|
</a>
|
|
@@ -2523,7 +2523,7 @@ let X = class extends v {
|
|
|
2523
2523
|
`;
|
|
2524
2524
|
}
|
|
2525
2525
|
};
|
|
2526
|
-
|
|
2526
|
+
oe.styles = d`
|
|
2527
2527
|
:host {
|
|
2528
2528
|
display: block;
|
|
2529
2529
|
font-family: var(--vox-font-family-base);
|
|
@@ -2569,21 +2569,21 @@ X.styles = d`
|
|
|
2569
2569
|
display: none;
|
|
2570
2570
|
}
|
|
2571
2571
|
`;
|
|
2572
|
-
|
|
2572
|
+
ye([
|
|
2573
2573
|
n()
|
|
2574
|
-
],
|
|
2575
|
-
|
|
2574
|
+
], oe.prototype, "href", 2);
|
|
2575
|
+
ye([
|
|
2576
2576
|
n({ type: Boolean, reflect: !0 })
|
|
2577
|
-
],
|
|
2578
|
-
|
|
2577
|
+
], oe.prototype, "current", 2);
|
|
2578
|
+
oe = ye([
|
|
2579
2579
|
p("vox-toc-item")
|
|
2580
|
-
],
|
|
2581
|
-
var
|
|
2582
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2583
|
-
(i =
|
|
2584
|
-
return r && e &&
|
|
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--)
|
|
2583
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2584
|
+
return r && e && Lo(t, a, e), e;
|
|
2585
2585
|
};
|
|
2586
|
-
let
|
|
2586
|
+
let k = class extends h {
|
|
2587
2587
|
constructor() {
|
|
2588
2588
|
super(...arguments), this.heading = "", this.open = !1, this.lightDismiss = !1, this.hasFooter = !1;
|
|
2589
2589
|
}
|
|
@@ -2601,17 +2601,17 @@ let _ = class extends v {
|
|
|
2601
2601
|
new CustomEvent("vox-close", { bubbles: !0, composed: !0 })
|
|
2602
2602
|
);
|
|
2603
2603
|
}
|
|
2604
|
-
handleClick(
|
|
2605
|
-
this.lightDismiss &&
|
|
2604
|
+
handleClick(o) {
|
|
2605
|
+
this.lightDismiss && o.target === this.dialogEl && this.close();
|
|
2606
2606
|
}
|
|
2607
|
-
handleFooterSlotChange(
|
|
2608
|
-
const
|
|
2609
|
-
this.hasFooter =
|
|
2607
|
+
handleFooterSlotChange(o) {
|
|
2608
|
+
const t = o.target;
|
|
2609
|
+
this.hasFooter = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
2610
2610
|
}
|
|
2611
2611
|
render() {
|
|
2612
|
-
return
|
|
2612
|
+
return l`
|
|
2613
2613
|
<dialog
|
|
2614
|
-
aria-label=${this.heading ||
|
|
2614
|
+
aria-label=${this.heading || v}
|
|
2615
2615
|
@close=${this.handleNativeClose}
|
|
2616
2616
|
@click=${this.handleClick}
|
|
2617
2617
|
>
|
|
@@ -2631,7 +2631,7 @@ let _ = class extends v {
|
|
|
2631
2631
|
`;
|
|
2632
2632
|
}
|
|
2633
2633
|
};
|
|
2634
|
-
|
|
2634
|
+
k.styles = d`
|
|
2635
2635
|
dialog {
|
|
2636
2636
|
box-sizing: border-box;
|
|
2637
2637
|
width: min(90vw, 480px);
|
|
@@ -2718,27 +2718,27 @@ _.styles = d`
|
|
|
2718
2718
|
margin-bottom: 0;
|
|
2719
2719
|
}
|
|
2720
2720
|
`;
|
|
2721
|
-
|
|
2721
|
+
me([
|
|
2722
2722
|
n()
|
|
2723
|
-
],
|
|
2724
|
-
|
|
2723
|
+
], k.prototype, "heading", 2);
|
|
2724
|
+
me([
|
|
2725
2725
|
n({ type: Boolean })
|
|
2726
|
-
],
|
|
2727
|
-
|
|
2726
|
+
], k.prototype, "open", 2);
|
|
2727
|
+
me([
|
|
2728
2728
|
n({ type: Boolean, attribute: "light-dismiss" })
|
|
2729
|
-
],
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
],
|
|
2733
|
-
|
|
2729
|
+
], k.prototype, "lightDismiss", 2);
|
|
2730
|
+
me([
|
|
2731
|
+
rt("dialog")
|
|
2732
|
+
], k.prototype, "dialogEl", 2);
|
|
2733
|
+
k = me([
|
|
2734
2734
|
p("vox-dialog")
|
|
2735
|
-
],
|
|
2736
|
-
var
|
|
2737
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2738
|
-
(i =
|
|
2739
|
-
return r && e &&
|
|
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--)
|
|
2738
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2739
|
+
return r && e && Vo(t, a, e), e;
|
|
2740
2740
|
};
|
|
2741
|
-
let
|
|
2741
|
+
let re = class extends h {
|
|
2742
2742
|
constructor() {
|
|
2743
2743
|
super(...arguments), this.summary = "Show details", this.open = !1;
|
|
2744
2744
|
}
|
|
@@ -2748,7 +2748,7 @@ let Q = class extends v {
|
|
|
2748
2748
|
);
|
|
2749
2749
|
}
|
|
2750
2750
|
render() {
|
|
2751
|
-
return
|
|
2751
|
+
return l`
|
|
2752
2752
|
<button
|
|
2753
2753
|
class="trigger"
|
|
2754
2754
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -2765,7 +2765,7 @@ let Q = class extends v {
|
|
|
2765
2765
|
`;
|
|
2766
2766
|
}
|
|
2767
2767
|
};
|
|
2768
|
-
|
|
2768
|
+
re.styles = d`
|
|
2769
2769
|
:host {
|
|
2770
2770
|
display: block;
|
|
2771
2771
|
font-family: var(--vox-font-family-base);
|
|
@@ -2817,35 +2817,35 @@ Q.styles = d`
|
|
|
2817
2817
|
display: none;
|
|
2818
2818
|
}
|
|
2819
2819
|
`;
|
|
2820
|
-
|
|
2820
|
+
ct([
|
|
2821
2821
|
n()
|
|
2822
|
-
],
|
|
2823
|
-
|
|
2822
|
+
], re.prototype, "summary", 2);
|
|
2823
|
+
ct([
|
|
2824
2824
|
n({ type: Boolean, reflect: !0 })
|
|
2825
|
-
],
|
|
2826
|
-
|
|
2825
|
+
], re.prototype, "open", 2);
|
|
2826
|
+
re = ct([
|
|
2827
2827
|
p("vox-disclosure")
|
|
2828
|
-
],
|
|
2829
|
-
var
|
|
2830
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2831
|
-
(i =
|
|
2832
|
-
return r && e &&
|
|
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--)
|
|
2831
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2832
|
+
return r && e && zo(t, a, e), e;
|
|
2833
2833
|
};
|
|
2834
|
-
let
|
|
2834
|
+
let ae = class extends h {
|
|
2835
2835
|
constructor() {
|
|
2836
|
-
super(...arguments), this.label = "Menu", this.open = !1, this.handleOutsideClick = (
|
|
2837
|
-
this.open && !
|
|
2838
|
-
}, this.handleKeydown = (
|
|
2839
|
-
var
|
|
2840
|
-
if (
|
|
2841
|
-
this.open = !1, (
|
|
2836
|
+
super(...arguments), this.label = "Menu", this.open = !1, this.handleOutsideClick = (o) => {
|
|
2837
|
+
this.open && !o.composedPath().includes(this) && (this.open = !1);
|
|
2838
|
+
}, this.handleKeydown = (o) => {
|
|
2839
|
+
var t;
|
|
2840
|
+
if (o.key === "Escape" && this.open) {
|
|
2841
|
+
this.open = !1, (t = this.renderRoot.querySelector(".trigger")) == null || t.focus();
|
|
2842
2842
|
return;
|
|
2843
2843
|
}
|
|
2844
|
-
if ((
|
|
2845
|
-
|
|
2844
|
+
if ((o.key === "ArrowDown" || o.key === "ArrowUp") && this.open) {
|
|
2845
|
+
o.preventDefault();
|
|
2846
2846
|
const a = [...this.querySelectorAll("a, button")];
|
|
2847
2847
|
if (a.length === 0) return;
|
|
2848
|
-
const r = document.activeElement, e = a.indexOf(r), s =
|
|
2848
|
+
const r = document.activeElement, e = a.indexOf(r), s = o.key === "ArrowDown" ? 1 : -1;
|
|
2849
2849
|
a[(Math.max(e, 0) + s + a.length) % a.length].focus();
|
|
2850
2850
|
}
|
|
2851
2851
|
};
|
|
@@ -2860,7 +2860,7 @@ let W = class extends v {
|
|
|
2860
2860
|
this.open = !this.open;
|
|
2861
2861
|
}
|
|
2862
2862
|
render() {
|
|
2863
|
-
return
|
|
2863
|
+
return l`
|
|
2864
2864
|
<button
|
|
2865
2865
|
class="trigger"
|
|
2866
2866
|
aria-expanded=${this.open ? "true" : "false"}
|
|
@@ -2878,7 +2878,7 @@ let W = class extends v {
|
|
|
2878
2878
|
`;
|
|
2879
2879
|
}
|
|
2880
2880
|
};
|
|
2881
|
-
|
|
2881
|
+
ae.styles = d`
|
|
2882
2882
|
:host {
|
|
2883
2883
|
position: relative;
|
|
2884
2884
|
display: inline-block;
|
|
@@ -2977,38 +2977,38 @@ W.styles = d`
|
|
|
2977
2977
|
border-top: 1px solid var(--vox-color-divider);
|
|
2978
2978
|
}
|
|
2979
2979
|
`;
|
|
2980
|
-
|
|
2980
|
+
dt([
|
|
2981
2981
|
n()
|
|
2982
|
-
],
|
|
2983
|
-
|
|
2982
|
+
], ae.prototype, "label", 2);
|
|
2983
|
+
dt([
|
|
2984
2984
|
n({ type: Boolean, reflect: !0 })
|
|
2985
|
-
],
|
|
2986
|
-
|
|
2985
|
+
], ae.prototype, "open", 2);
|
|
2986
|
+
ae = dt([
|
|
2987
2987
|
p("vox-dropdown")
|
|
2988
|
-
],
|
|
2989
|
-
var
|
|
2990
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
2991
|
-
(i =
|
|
2992
|
-
return r && e &&
|
|
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--)
|
|
2991
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
2992
|
+
return r && e && So(t, a, e), e;
|
|
2993
2993
|
};
|
|
2994
|
-
let
|
|
2994
|
+
let ze = class extends h {
|
|
2995
2995
|
constructor() {
|
|
2996
2996
|
super(...arguments), this.single = !1;
|
|
2997
2997
|
}
|
|
2998
|
-
handleToggle(
|
|
2998
|
+
handleToggle(o) {
|
|
2999
2999
|
if (!this.single) return;
|
|
3000
|
-
const
|
|
3001
|
-
|
|
3000
|
+
const t = o.target;
|
|
3001
|
+
t.open && this.querySelectorAll("vox-accordion-item").forEach(
|
|
3002
3002
|
(a) => {
|
|
3003
|
-
a !==
|
|
3003
|
+
a !== t && (a.open = !1);
|
|
3004
3004
|
}
|
|
3005
3005
|
);
|
|
3006
3006
|
}
|
|
3007
3007
|
render() {
|
|
3008
|
-
return
|
|
3008
|
+
return l`<slot @vox-toggle=${this.handleToggle}></slot>`;
|
|
3009
3009
|
}
|
|
3010
3010
|
};
|
|
3011
|
-
|
|
3011
|
+
ze.styles = d`
|
|
3012
3012
|
:host {
|
|
3013
3013
|
display: block;
|
|
3014
3014
|
border: 1px solid var(--vox-color-divider);
|
|
@@ -3020,13 +3020,13 @@ we.styles = d`
|
|
|
3020
3020
|
border-top: 1px solid var(--vox-color-divider);
|
|
3021
3021
|
}
|
|
3022
3022
|
`;
|
|
3023
|
-
|
|
3023
|
+
we([
|
|
3024
3024
|
n({ type: Boolean })
|
|
3025
|
-
],
|
|
3026
|
-
|
|
3025
|
+
], ze.prototype, "single", 2);
|
|
3026
|
+
ze = we([
|
|
3027
3027
|
p("vox-accordion")
|
|
3028
|
-
],
|
|
3029
|
-
let
|
|
3028
|
+
], ze);
|
|
3029
|
+
let se = class extends h {
|
|
3030
3030
|
constructor() {
|
|
3031
3031
|
super(...arguments), this.heading = "", this.open = !1;
|
|
3032
3032
|
}
|
|
@@ -3036,7 +3036,7 @@ let Y = class extends v {
|
|
|
3036
3036
|
);
|
|
3037
3037
|
}
|
|
3038
3038
|
render() {
|
|
3039
|
-
return
|
|
3039
|
+
return l`
|
|
3040
3040
|
<h3 style="margin:0">
|
|
3041
3041
|
<button
|
|
3042
3042
|
class="trigger"
|
|
@@ -3055,7 +3055,7 @@ let Y = class extends v {
|
|
|
3055
3055
|
`;
|
|
3056
3056
|
}
|
|
3057
3057
|
};
|
|
3058
|
-
|
|
3058
|
+
se.styles = d`
|
|
3059
3059
|
:host {
|
|
3060
3060
|
display: block;
|
|
3061
3061
|
font-family: var(--vox-font-family-base);
|
|
@@ -3117,27 +3117,27 @@ Y.styles = d`
|
|
|
3117
3117
|
margin-bottom: 0;
|
|
3118
3118
|
}
|
|
3119
3119
|
`;
|
|
3120
|
-
|
|
3120
|
+
we([
|
|
3121
3121
|
n()
|
|
3122
|
-
],
|
|
3123
|
-
|
|
3122
|
+
], se.prototype, "heading", 2);
|
|
3123
|
+
we([
|
|
3124
3124
|
n({ type: Boolean, reflect: !0 })
|
|
3125
|
-
],
|
|
3126
|
-
|
|
3125
|
+
], se.prototype, "open", 2);
|
|
3126
|
+
se = we([
|
|
3127
3127
|
p("vox-accordion-item")
|
|
3128
|
-
],
|
|
3129
|
-
var
|
|
3130
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3131
|
-
(i =
|
|
3132
|
-
return r && e &&
|
|
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--)
|
|
3131
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
3132
|
+
return r && e && Ao(t, a, e), e;
|
|
3133
3133
|
};
|
|
3134
|
-
const
|
|
3134
|
+
const Bo = {
|
|
3135
3135
|
info: "info",
|
|
3136
3136
|
success: "check-circle",
|
|
3137
3137
|
warning: "warning",
|
|
3138
3138
|
danger: "x-circle"
|
|
3139
3139
|
};
|
|
3140
|
-
let
|
|
3140
|
+
let L = class extends h {
|
|
3141
3141
|
constructor() {
|
|
3142
3142
|
super(...arguments), this.variant = "info", this.heading = "", this.dismissible = !1, this.open = !0;
|
|
3143
3143
|
}
|
|
@@ -3147,7 +3147,7 @@ let C = class extends v {
|
|
|
3147
3147
|
);
|
|
3148
3148
|
}
|
|
3149
3149
|
render() {
|
|
3150
|
-
return
|
|
3150
|
+
return l`
|
|
3151
3151
|
<div class="alert ${this.variant}" role="alert">
|
|
3152
3152
|
<svg
|
|
3153
3153
|
class="icon"
|
|
@@ -3159,24 +3159,24 @@ let C = class extends v {
|
|
|
3159
3159
|
stroke-linejoin="round"
|
|
3160
3160
|
aria-hidden="true"
|
|
3161
3161
|
>
|
|
3162
|
-
${
|
|
3162
|
+
${y[Bo[this.variant]]}
|
|
3163
3163
|
</svg>
|
|
3164
3164
|
<div class="body">
|
|
3165
|
-
${this.heading ?
|
|
3165
|
+
${this.heading ? l`<p class="heading">${this.heading}</p>` : v}
|
|
3166
3166
|
<slot></slot>
|
|
3167
3167
|
</div>
|
|
3168
|
-
${this.dismissible ?
|
|
3168
|
+
${this.dismissible ? l`
|
|
3169
3169
|
<button class="close" aria-label="Dismiss" @click=${this.dismiss}>
|
|
3170
3170
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true">
|
|
3171
3171
|
<path d="M18 6 6 18M6 6l12 12" />
|
|
3172
3172
|
</svg>
|
|
3173
3173
|
</button>
|
|
3174
|
-
` :
|
|
3174
|
+
` : v}
|
|
3175
3175
|
</div>
|
|
3176
3176
|
`;
|
|
3177
3177
|
}
|
|
3178
3178
|
};
|
|
3179
|
-
|
|
3179
|
+
L.styles = d`
|
|
3180
3180
|
:host {
|
|
3181
3181
|
display: block;
|
|
3182
3182
|
font-family: var(--vox-font-family-base);
|
|
@@ -3295,35 +3295,35 @@ C.styles = d`
|
|
|
3295
3295
|
margin-bottom: 0;
|
|
3296
3296
|
}
|
|
3297
3297
|
`;
|
|
3298
|
-
|
|
3298
|
+
$e([
|
|
3299
3299
|
n()
|
|
3300
|
-
],
|
|
3301
|
-
|
|
3300
|
+
], L.prototype, "variant", 2);
|
|
3301
|
+
$e([
|
|
3302
3302
|
n()
|
|
3303
|
-
],
|
|
3304
|
-
|
|
3303
|
+
], L.prototype, "heading", 2);
|
|
3304
|
+
$e([
|
|
3305
3305
|
n({ type: Boolean })
|
|
3306
|
-
],
|
|
3307
|
-
|
|
3306
|
+
], L.prototype, "dismissible", 2);
|
|
3307
|
+
$e([
|
|
3308
3308
|
n({ type: Boolean, reflect: !0 })
|
|
3309
|
-
],
|
|
3310
|
-
|
|
3309
|
+
], L.prototype, "open", 2);
|
|
3310
|
+
L = $e([
|
|
3311
3311
|
p("vox-alert")
|
|
3312
|
-
],
|
|
3313
|
-
var
|
|
3314
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3315
|
-
(i =
|
|
3316
|
-
return r && e &&
|
|
3312
|
+
], L);
|
|
3313
|
+
var No = Object.defineProperty, To = Object.getOwnPropertyDescriptor, Pt = (o, t, a, r) => {
|
|
3314
|
+
for (var e = r > 1 ? void 0 : r ? To(t, a) : t, s = o.length - 1, i; s >= 0; s--)
|
|
3315
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
3316
|
+
return r && e && No(t, a, e), e;
|
|
3317
3317
|
};
|
|
3318
|
-
let
|
|
3318
|
+
let De = class extends h {
|
|
3319
3319
|
constructor() {
|
|
3320
3320
|
super(...arguments), this.variant = "brand";
|
|
3321
3321
|
}
|
|
3322
3322
|
render() {
|
|
3323
|
-
return
|
|
3323
|
+
return l`<span class="badge ${this.variant}"><slot></slot></span>`;
|
|
3324
3324
|
}
|
|
3325
3325
|
};
|
|
3326
|
-
|
|
3326
|
+
De.styles = d`
|
|
3327
3327
|
:host {
|
|
3328
3328
|
display: inline-block;
|
|
3329
3329
|
}
|
|
@@ -3365,24 +3365,24 @@ $e.styles = d`
|
|
|
3365
3365
|
color: var(--vox-color-text-2);
|
|
3366
3366
|
}
|
|
3367
3367
|
`;
|
|
3368
|
-
|
|
3368
|
+
Pt([
|
|
3369
3369
|
n()
|
|
3370
|
-
],
|
|
3371
|
-
|
|
3370
|
+
], De.prototype, "variant", 2);
|
|
3371
|
+
De = Pt([
|
|
3372
3372
|
p("vox-badge")
|
|
3373
|
-
],
|
|
3374
|
-
var
|
|
3375
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3376
|
-
(i =
|
|
3377
|
-
return r && e &&
|
|
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--)
|
|
3376
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
3377
|
+
return r && e && qo(t, a, e), e;
|
|
3378
3378
|
};
|
|
3379
|
-
let
|
|
3379
|
+
let ie = class extends h {
|
|
3380
3380
|
constructor() {
|
|
3381
3381
|
super(...arguments), this.date = "";
|
|
3382
3382
|
}
|
|
3383
3383
|
render() {
|
|
3384
|
-
const
|
|
3385
|
-
return
|
|
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() : "–";
|
|
3385
|
+
return l`
|
|
3386
3386
|
<time class="tile" datetime=${this.date}>
|
|
3387
3387
|
<span class="month">${a}</span>
|
|
3388
3388
|
<span class="day">${r}</span>
|
|
@@ -3390,7 +3390,7 @@ let J = class extends v {
|
|
|
3390
3390
|
`;
|
|
3391
3391
|
}
|
|
3392
3392
|
};
|
|
3393
|
-
|
|
3393
|
+
ie.styles = d`
|
|
3394
3394
|
:host {
|
|
3395
3395
|
display: inline-block;
|
|
3396
3396
|
font-family: var(--vox-font-family-base);
|
|
@@ -3426,37 +3426,37 @@ J.styles = d`
|
|
|
3426
3426
|
color: var(--vox-color-text-1);
|
|
3427
3427
|
}
|
|
3428
3428
|
`;
|
|
3429
|
-
|
|
3429
|
+
pt([
|
|
3430
3430
|
n()
|
|
3431
|
-
],
|
|
3432
|
-
|
|
3431
|
+
], ie.prototype, "date", 2);
|
|
3432
|
+
pt([
|
|
3433
3433
|
n()
|
|
3434
|
-
],
|
|
3435
|
-
|
|
3434
|
+
], ie.prototype, "locale", 2);
|
|
3435
|
+
ie = pt([
|
|
3436
3436
|
p("vox-calendar-tile")
|
|
3437
|
-
],
|
|
3438
|
-
var
|
|
3439
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3440
|
-
(i =
|
|
3441
|
-
return r && e &&
|
|
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--)
|
|
3440
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
3441
|
+
return r && e && Ro(t, a, e), e;
|
|
3442
3442
|
};
|
|
3443
|
-
const
|
|
3443
|
+
const Fo = {
|
|
3444
3444
|
info: "Info",
|
|
3445
3445
|
tip: "Tip",
|
|
3446
3446
|
warning: "Warning",
|
|
3447
3447
|
danger: "Danger"
|
|
3448
|
-
},
|
|
3448
|
+
}, Uo = {
|
|
3449
3449
|
info: "info",
|
|
3450
3450
|
tip: "check-circle",
|
|
3451
3451
|
warning: "warning",
|
|
3452
3452
|
danger: "x-circle"
|
|
3453
3453
|
};
|
|
3454
|
-
let
|
|
3454
|
+
let ne = class extends h {
|
|
3455
3455
|
constructor() {
|
|
3456
3456
|
super(...arguments), this.variant = "info";
|
|
3457
3457
|
}
|
|
3458
3458
|
render() {
|
|
3459
|
-
return
|
|
3459
|
+
return l`
|
|
3460
3460
|
<div class="callout ${this.variant}" role="note">
|
|
3461
3461
|
<svg
|
|
3462
3462
|
class="icon"
|
|
@@ -3468,17 +3468,17 @@ let ee = class extends v {
|
|
|
3468
3468
|
stroke-linejoin="round"
|
|
3469
3469
|
aria-hidden="true"
|
|
3470
3470
|
>
|
|
3471
|
-
${
|
|
3471
|
+
${y[Uo[this.variant]]}
|
|
3472
3472
|
</svg>
|
|
3473
3473
|
<div class="content">
|
|
3474
|
-
<p class="heading">${this.heading ??
|
|
3474
|
+
<p class="heading">${this.heading ?? Fo[this.variant]}</p>
|
|
3475
3475
|
<slot></slot>
|
|
3476
3476
|
</div>
|
|
3477
3477
|
</div>
|
|
3478
3478
|
`;
|
|
3479
3479
|
}
|
|
3480
3480
|
};
|
|
3481
|
-
|
|
3481
|
+
ne.styles = d`
|
|
3482
3482
|
:host {
|
|
3483
3483
|
display: block;
|
|
3484
3484
|
}
|
|
@@ -3561,38 +3561,38 @@ ee.styles = d`
|
|
|
3561
3561
|
margin-bottom: 0;
|
|
3562
3562
|
}
|
|
3563
3563
|
`;
|
|
3564
|
-
|
|
3564
|
+
ht([
|
|
3565
3565
|
n()
|
|
3566
|
-
],
|
|
3567
|
-
|
|
3566
|
+
], ne.prototype, "variant", 2);
|
|
3567
|
+
ht([
|
|
3568
3568
|
n()
|
|
3569
|
-
],
|
|
3570
|
-
|
|
3569
|
+
], ne.prototype, "heading", 2);
|
|
3570
|
+
ne = ht([
|
|
3571
3571
|
p("vox-callout")
|
|
3572
|
-
],
|
|
3573
|
-
var
|
|
3574
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3575
|
-
(i =
|
|
3576
|
-
return r && e &&
|
|
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--)
|
|
3575
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
3576
|
+
return r && e && Ko(t, a, e), e;
|
|
3577
3577
|
};
|
|
3578
|
-
let
|
|
3578
|
+
let q = class extends h {
|
|
3579
3579
|
constructor() {
|
|
3580
3580
|
super(...arguments), this.heading = "", this.hasIcon = !1, this.hasBadge = !1, this.hasFooter = !1;
|
|
3581
3581
|
}
|
|
3582
|
-
handleIconSlotChange(
|
|
3583
|
-
const
|
|
3584
|
-
this.hasIcon =
|
|
3582
|
+
handleIconSlotChange(o) {
|
|
3583
|
+
const t = o.target;
|
|
3584
|
+
this.hasIcon = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3585
3585
|
}
|
|
3586
|
-
handleBadgeSlotChange(
|
|
3587
|
-
const
|
|
3588
|
-
this.hasBadge =
|
|
3586
|
+
handleBadgeSlotChange(o) {
|
|
3587
|
+
const t = o.target;
|
|
3588
|
+
this.hasBadge = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3589
3589
|
}
|
|
3590
|
-
handleFooterSlotChange(
|
|
3591
|
-
const
|
|
3592
|
-
this.hasFooter =
|
|
3590
|
+
handleFooterSlotChange(o) {
|
|
3591
|
+
const t = o.target;
|
|
3592
|
+
this.hasFooter = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3593
3593
|
}
|
|
3594
3594
|
render() {
|
|
3595
|
-
const
|
|
3595
|
+
const o = l`
|
|
3596
3596
|
<div class="badge ${this.hasBadge ? "has-badge" : ""}">
|
|
3597
3597
|
<slot name="badge" @slotchange=${this.handleBadgeSlotChange}></slot>
|
|
3598
3598
|
</div>
|
|
@@ -3605,10 +3605,10 @@ let E = class extends v {
|
|
|
3605
3605
|
<slot name="footer" @slotchange=${this.handleFooterSlotChange}></slot>
|
|
3606
3606
|
</div>
|
|
3607
3607
|
`;
|
|
3608
|
-
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>`;
|
|
3609
3609
|
}
|
|
3610
3610
|
};
|
|
3611
|
-
|
|
3611
|
+
q.styles = d`
|
|
3612
3612
|
:host {
|
|
3613
3613
|
display: block;
|
|
3614
3614
|
}
|
|
@@ -3693,39 +3693,678 @@ E.styles = d`
|
|
|
3693
3693
|
display: none;
|
|
3694
3694
|
}
|
|
3695
3695
|
`;
|
|
3696
|
-
|
|
3696
|
+
Re([
|
|
3697
3697
|
n()
|
|
3698
|
-
],
|
|
3699
|
-
|
|
3698
|
+
], q.prototype, "heading", 2);
|
|
3699
|
+
Re([
|
|
3700
3700
|
n()
|
|
3701
|
-
],
|
|
3702
|
-
|
|
3701
|
+
], q.prototype, "href", 2);
|
|
3702
|
+
Re([
|
|
3703
3703
|
n()
|
|
3704
|
-
],
|
|
3705
|
-
|
|
3704
|
+
], q.prototype, "target", 2);
|
|
3705
|
+
q = Re([
|
|
3706
3706
|
p("vox-card")
|
|
3707
|
-
],
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
return
|
|
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--)
|
|
4077
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4078
|
+
return r && e && nr(t, a, e), e;
|
|
3712
4079
|
};
|
|
3713
|
-
|
|
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 {
|
|
3714
4353
|
constructor() {
|
|
3715
4354
|
super(...arguments), this.heading = "", this.hasBody = !1, this.hasActions = !1;
|
|
3716
4355
|
}
|
|
3717
|
-
handleBodySlotChange(
|
|
3718
|
-
const
|
|
3719
|
-
this.hasBody =
|
|
4356
|
+
handleBodySlotChange(o) {
|
|
4357
|
+
const t = o.target;
|
|
4358
|
+
this.hasBody = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3720
4359
|
}
|
|
3721
|
-
handleActionsSlotChange(
|
|
3722
|
-
const
|
|
3723
|
-
this.hasActions =
|
|
4360
|
+
handleActionsSlotChange(o) {
|
|
4361
|
+
const t = o.target;
|
|
4362
|
+
this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
3724
4363
|
}
|
|
3725
4364
|
render() {
|
|
3726
|
-
return
|
|
4365
|
+
return l`
|
|
3727
4366
|
<div class="band">
|
|
3728
|
-
${this.heading ?
|
|
4367
|
+
${this.heading ? l`<h2 class="heading">${this.heading}</h2>` : v}
|
|
3729
4368
|
<div class="body ${this.hasBody ? "has-content" : ""}">
|
|
3730
4369
|
<slot @slotchange=${this.handleBodySlotChange}></slot>
|
|
3731
4370
|
</div>
|
|
@@ -3736,7 +4375,7 @@ let _e = class extends v {
|
|
|
3736
4375
|
`;
|
|
3737
4376
|
}
|
|
3738
4377
|
};
|
|
3739
|
-
|
|
4378
|
+
Se.styles = d`
|
|
3740
4379
|
:host {
|
|
3741
4380
|
display: block;
|
|
3742
4381
|
font-family: var(--vox-font-family-base);
|
|
@@ -3791,23 +4430,23 @@ _e.styles = d`
|
|
|
3791
4430
|
display: none;
|
|
3792
4431
|
}
|
|
3793
4432
|
`;
|
|
3794
|
-
|
|
4433
|
+
zt([
|
|
3795
4434
|
n()
|
|
3796
|
-
],
|
|
3797
|
-
|
|
4435
|
+
], Se.prototype, "heading", 2);
|
|
4436
|
+
Se = zt([
|
|
3798
4437
|
p("vox-cta-band")
|
|
3799
|
-
],
|
|
3800
|
-
var
|
|
3801
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3802
|
-
(i =
|
|
3803
|
-
return r && e &&
|
|
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--)
|
|
4441
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4442
|
+
return r && e && vr(t, a, e), e;
|
|
3804
4443
|
};
|
|
3805
|
-
let
|
|
4444
|
+
let Ee = class extends h {
|
|
3806
4445
|
constructor() {
|
|
3807
4446
|
super(...arguments), this.heading = "";
|
|
3808
4447
|
}
|
|
3809
4448
|
render() {
|
|
3810
|
-
return
|
|
4449
|
+
return l`
|
|
3811
4450
|
<div class="empty">
|
|
3812
4451
|
<div class="icon"><slot name="icon"></slot></div>
|
|
3813
4452
|
<h3 class="heading">${this.heading}</h3>
|
|
@@ -3817,7 +4456,7 @@ let Ce = class extends v {
|
|
|
3817
4456
|
`;
|
|
3818
4457
|
}
|
|
3819
4458
|
};
|
|
3820
|
-
|
|
4459
|
+
Ee.styles = d`
|
|
3821
4460
|
:host {
|
|
3822
4461
|
display: block;
|
|
3823
4462
|
font-family: var(--vox-font-family-base);
|
|
@@ -3861,20 +4500,20 @@ Ce.styles = d`
|
|
|
3861
4500
|
margin-top: var(--vox-space-4);
|
|
3862
4501
|
}
|
|
3863
4502
|
`;
|
|
3864
|
-
|
|
4503
|
+
Dt([
|
|
3865
4504
|
n()
|
|
3866
|
-
],
|
|
3867
|
-
|
|
4505
|
+
], Ee.prototype, "heading", 2);
|
|
4506
|
+
Ee = Dt([
|
|
3868
4507
|
p("vox-empty-state")
|
|
3869
|
-
],
|
|
3870
|
-
var
|
|
3871
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3872
|
-
(i =
|
|
3873
|
-
return r && e &&
|
|
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--)
|
|
4511
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4512
|
+
return r && e && ur(t, a, e), e;
|
|
3874
4513
|
};
|
|
3875
|
-
let
|
|
4514
|
+
let Qe = class extends h {
|
|
3876
4515
|
render() {
|
|
3877
|
-
return
|
|
4516
|
+
return l`
|
|
3878
4517
|
<footer>
|
|
3879
4518
|
<div class="inner">
|
|
3880
4519
|
<div class="columns"><slot></slot></div>
|
|
@@ -3884,7 +4523,7 @@ let Ie = class extends v {
|
|
|
3884
4523
|
`;
|
|
3885
4524
|
}
|
|
3886
4525
|
};
|
|
3887
|
-
|
|
4526
|
+
Qe.styles = d`
|
|
3888
4527
|
:host {
|
|
3889
4528
|
display: block;
|
|
3890
4529
|
font-family: var(--vox-font-family-base);
|
|
@@ -3912,21 +4551,21 @@ Ie.styles = d`
|
|
|
3912
4551
|
color: var(--vox-color-text-3);
|
|
3913
4552
|
}
|
|
3914
4553
|
`;
|
|
3915
|
-
|
|
4554
|
+
Qe = vt([
|
|
3916
4555
|
p("vox-footer")
|
|
3917
|
-
],
|
|
3918
|
-
let
|
|
4556
|
+
], Qe);
|
|
4557
|
+
let Ae = class extends h {
|
|
3919
4558
|
constructor() {
|
|
3920
4559
|
super(...arguments), this.heading = "";
|
|
3921
4560
|
}
|
|
3922
4561
|
render() {
|
|
3923
|
-
return
|
|
4562
|
+
return l`
|
|
3924
4563
|
<h3 class="heading">${this.heading}</h3>
|
|
3925
4564
|
<div class="links"><slot></slot></div>
|
|
3926
4565
|
`;
|
|
3927
4566
|
}
|
|
3928
4567
|
};
|
|
3929
|
-
|
|
4568
|
+
Ae.styles = d`
|
|
3930
4569
|
:host {
|
|
3931
4570
|
display: block;
|
|
3932
4571
|
font-family: var(--vox-font-family-base);
|
|
@@ -3958,18 +4597,18 @@ Me.styles = d`
|
|
|
3958
4597
|
text-decoration: underline;
|
|
3959
4598
|
}
|
|
3960
4599
|
`;
|
|
3961
|
-
|
|
4600
|
+
vt([
|
|
3962
4601
|
n()
|
|
3963
|
-
],
|
|
3964
|
-
|
|
4602
|
+
], Ae.prototype, "heading", 2);
|
|
4603
|
+
Ae = vt([
|
|
3965
4604
|
p("vox-footer-column")
|
|
3966
|
-
],
|
|
3967
|
-
var
|
|
3968
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
3969
|
-
(i =
|
|
3970
|
-
return r && e &&
|
|
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--)
|
|
4608
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4609
|
+
return r && e && gr(t, a, e), e;
|
|
3971
4610
|
};
|
|
3972
|
-
let
|
|
4611
|
+
let I = class extends h {
|
|
3973
4612
|
constructor() {
|
|
3974
4613
|
super(...arguments), this.cols = 0, this.min = "240px", this.gap = "md";
|
|
3975
4614
|
}
|
|
@@ -3977,10 +4616,10 @@ let S = class extends v {
|
|
|
3977
4616
|
this.style.gridTemplateColumns = this.cols > 0 ? `repeat(${this.cols}, minmax(0, 1fr))` : `repeat(auto-fit, minmax(min(${this.min}, 100%), 1fr))`;
|
|
3978
4617
|
}
|
|
3979
4618
|
render() {
|
|
3980
|
-
return
|
|
4619
|
+
return l`<slot></slot>`;
|
|
3981
4620
|
}
|
|
3982
4621
|
};
|
|
3983
|
-
|
|
4622
|
+
I.styles = d`
|
|
3984
4623
|
:host {
|
|
3985
4624
|
display: grid;
|
|
3986
4625
|
}
|
|
@@ -3997,35 +4636,35 @@ S.styles = d`
|
|
|
3997
4636
|
gap: var(--vox-space-6);
|
|
3998
4637
|
}
|
|
3999
4638
|
`;
|
|
4000
|
-
|
|
4639
|
+
Fe([
|
|
4001
4640
|
n({ type: Number })
|
|
4002
|
-
],
|
|
4003
|
-
|
|
4641
|
+
], I.prototype, "cols", 2);
|
|
4642
|
+
Fe([
|
|
4004
4643
|
n()
|
|
4005
|
-
],
|
|
4006
|
-
|
|
4644
|
+
], I.prototype, "min", 2);
|
|
4645
|
+
Fe([
|
|
4007
4646
|
n({ reflect: !0 })
|
|
4008
|
-
],
|
|
4009
|
-
|
|
4647
|
+
], I.prototype, "gap", 2);
|
|
4648
|
+
I = Fe([
|
|
4010
4649
|
p("vox-grid")
|
|
4011
|
-
],
|
|
4012
|
-
var
|
|
4013
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4014
|
-
(i =
|
|
4015
|
-
return r && e &&
|
|
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--)
|
|
4653
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4654
|
+
return r && e && yr(t, a, e), e;
|
|
4016
4655
|
};
|
|
4017
|
-
let
|
|
4656
|
+
let le = class extends h {
|
|
4018
4657
|
constructor() {
|
|
4019
4658
|
super(...arguments), this.eyebrow = "", this.heading = "", this.hasActions = !1;
|
|
4020
4659
|
}
|
|
4021
|
-
handleActionsSlotChange(
|
|
4022
|
-
const
|
|
4023
|
-
this.hasActions =
|
|
4660
|
+
handleActionsSlotChange(o) {
|
|
4661
|
+
const t = o.target;
|
|
4662
|
+
this.hasActions = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4024
4663
|
}
|
|
4025
4664
|
render() {
|
|
4026
|
-
return
|
|
4665
|
+
return l`
|
|
4027
4666
|
<header class="hero">
|
|
4028
|
-
${this.eyebrow ?
|
|
4667
|
+
${this.eyebrow ? l`<p class="eyebrow">${this.eyebrow}</p>` : v}
|
|
4029
4668
|
<h1 class="heading">${this.heading}</h1>
|
|
4030
4669
|
<div class="body"><slot></slot></div>
|
|
4031
4670
|
<div class="actions ${this.hasActions ? "has-content" : ""}">
|
|
@@ -4035,7 +4674,7 @@ let oe = class extends v {
|
|
|
4035
4674
|
`;
|
|
4036
4675
|
}
|
|
4037
4676
|
};
|
|
4038
|
-
|
|
4677
|
+
le.styles = d`
|
|
4039
4678
|
:host {
|
|
4040
4679
|
display: block;
|
|
4041
4680
|
font-family: var(--vox-font-family-base);
|
|
@@ -4092,45 +4731,45 @@ oe.styles = d`
|
|
|
4092
4731
|
display: none;
|
|
4093
4732
|
}
|
|
4094
4733
|
`;
|
|
4095
|
-
|
|
4734
|
+
xt([
|
|
4096
4735
|
n()
|
|
4097
|
-
],
|
|
4098
|
-
|
|
4736
|
+
], le.prototype, "eyebrow", 2);
|
|
4737
|
+
xt([
|
|
4099
4738
|
n()
|
|
4100
|
-
],
|
|
4101
|
-
|
|
4739
|
+
], le.prototype, "heading", 2);
|
|
4740
|
+
le = xt([
|
|
4102
4741
|
p("vox-hero")
|
|
4103
|
-
],
|
|
4104
|
-
var
|
|
4105
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4106
|
-
(i =
|
|
4107
|
-
return r && e &&
|
|
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--)
|
|
4745
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4746
|
+
return r && e && wr(t, a, e), e;
|
|
4108
4747
|
};
|
|
4109
|
-
let
|
|
4748
|
+
let et = class extends h {
|
|
4110
4749
|
render() {
|
|
4111
|
-
return
|
|
4750
|
+
return l`<slot></slot>`;
|
|
4112
4751
|
}
|
|
4113
4752
|
};
|
|
4114
|
-
|
|
4753
|
+
et.styles = d`
|
|
4115
4754
|
:host {
|
|
4116
4755
|
display: grid;
|
|
4117
4756
|
grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
|
|
4118
4757
|
gap: var(--vox-space-4);
|
|
4119
4758
|
}
|
|
4120
4759
|
`;
|
|
4121
|
-
|
|
4760
|
+
et = Ue([
|
|
4122
4761
|
p("vox-link-hub")
|
|
4123
|
-
],
|
|
4124
|
-
let
|
|
4762
|
+
], et);
|
|
4763
|
+
let ce = class extends h {
|
|
4125
4764
|
constructor() {
|
|
4126
4765
|
super(...arguments), this.href = "#", this.heading = "", this.hasIcon = !1;
|
|
4127
4766
|
}
|
|
4128
|
-
handleIconSlotChange(
|
|
4129
|
-
const
|
|
4130
|
-
this.hasIcon =
|
|
4767
|
+
handleIconSlotChange(o) {
|
|
4768
|
+
const t = o.target;
|
|
4769
|
+
this.hasIcon = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4131
4770
|
}
|
|
4132
4771
|
render() {
|
|
4133
|
-
return
|
|
4772
|
+
return l`
|
|
4134
4773
|
<a href=${this.href}>
|
|
4135
4774
|
<span class="heading">
|
|
4136
4775
|
<span class="icon ${this.hasIcon ? "has-icon" : ""}">
|
|
@@ -4147,7 +4786,7 @@ let te = class extends v {
|
|
|
4147
4786
|
`;
|
|
4148
4787
|
}
|
|
4149
4788
|
};
|
|
4150
|
-
|
|
4789
|
+
ce.styles = d`
|
|
4151
4790
|
:host {
|
|
4152
4791
|
display: block;
|
|
4153
4792
|
font-family: var(--vox-font-family-base);
|
|
@@ -4208,26 +4847,26 @@ te.styles = d`
|
|
|
4208
4847
|
color: var(--vox-color-text-2);
|
|
4209
4848
|
}
|
|
4210
4849
|
`;
|
|
4211
|
-
|
|
4850
|
+
Ue([
|
|
4212
4851
|
n()
|
|
4213
|
-
],
|
|
4214
|
-
|
|
4852
|
+
], ce.prototype, "href", 2);
|
|
4853
|
+
Ue([
|
|
4215
4854
|
n()
|
|
4216
|
-
],
|
|
4217
|
-
|
|
4855
|
+
], ce.prototype, "heading", 2);
|
|
4856
|
+
ce = Ue([
|
|
4218
4857
|
p("vox-link-hub-item")
|
|
4219
|
-
],
|
|
4220
|
-
var
|
|
4221
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4222
|
-
(i =
|
|
4223
|
-
return r && e &&
|
|
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--)
|
|
4861
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4862
|
+
return r && e && _r(t, a, e), e;
|
|
4224
4863
|
};
|
|
4225
|
-
let
|
|
4864
|
+
let de = class extends h {
|
|
4226
4865
|
constructor() {
|
|
4227
4866
|
super(...arguments), this.size = "md", this.label = "Loading";
|
|
4228
4867
|
}
|
|
4229
4868
|
render() {
|
|
4230
|
-
return
|
|
4869
|
+
return l`
|
|
4231
4870
|
<div role="status">
|
|
4232
4871
|
<div class="spinner"></div>
|
|
4233
4872
|
<span class="visually-hidden">${this.label}</span>
|
|
@@ -4235,7 +4874,7 @@ let re = class extends v {
|
|
|
4235
4874
|
`;
|
|
4236
4875
|
}
|
|
4237
4876
|
};
|
|
4238
|
-
|
|
4877
|
+
de.styles = d`
|
|
4239
4878
|
:host {
|
|
4240
4879
|
display: inline-block;
|
|
4241
4880
|
}
|
|
@@ -4288,33 +4927,33 @@ re.styles = d`
|
|
|
4288
4927
|
white-space: nowrap;
|
|
4289
4928
|
}
|
|
4290
4929
|
`;
|
|
4291
|
-
|
|
4930
|
+
ut([
|
|
4292
4931
|
n({ reflect: !0 })
|
|
4293
|
-
],
|
|
4294
|
-
|
|
4932
|
+
], de.prototype, "size", 2);
|
|
4933
|
+
ut([
|
|
4295
4934
|
n()
|
|
4296
|
-
],
|
|
4297
|
-
|
|
4935
|
+
], de.prototype, "label", 2);
|
|
4936
|
+
de = ut([
|
|
4298
4937
|
p("vox-loader")
|
|
4299
|
-
],
|
|
4300
|
-
var
|
|
4301
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4302
|
-
(i =
|
|
4303
|
-
return r && e &&
|
|
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--)
|
|
4941
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
4942
|
+
return r && e && Mr(t, a, e), e;
|
|
4304
4943
|
};
|
|
4305
|
-
let
|
|
4944
|
+
let He = class extends h {
|
|
4306
4945
|
constructor() {
|
|
4307
4946
|
super(...arguments), this.label = "Pagination";
|
|
4308
4947
|
}
|
|
4309
4948
|
render() {
|
|
4310
|
-
return
|
|
4949
|
+
return l`
|
|
4311
4950
|
<nav aria-label=${this.label}>
|
|
4312
4951
|
<slot></slot>
|
|
4313
4952
|
</nav>
|
|
4314
4953
|
`;
|
|
4315
4954
|
}
|
|
4316
4955
|
};
|
|
4317
|
-
|
|
4956
|
+
He.styles = d`
|
|
4318
4957
|
:host {
|
|
4319
4958
|
display: block;
|
|
4320
4959
|
font-family: var(--vox-font-family-base);
|
|
@@ -4354,36 +4993,36 @@ Oe.styles = d`
|
|
|
4354
4993
|
font-weight: 600;
|
|
4355
4994
|
}
|
|
4356
4995
|
`;
|
|
4357
|
-
|
|
4996
|
+
St([
|
|
4358
4997
|
n()
|
|
4359
|
-
],
|
|
4360
|
-
|
|
4998
|
+
], He.prototype, "label", 2);
|
|
4999
|
+
He = St([
|
|
4361
5000
|
p("vox-pagination")
|
|
4362
|
-
],
|
|
4363
|
-
var
|
|
4364
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4365
|
-
(i =
|
|
4366
|
-
return r && e &&
|
|
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--)
|
|
5004
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
5005
|
+
return r && e && kr(t, a, e), e;
|
|
4367
5006
|
};
|
|
4368
|
-
let
|
|
5007
|
+
let pe = class extends h {
|
|
4369
5008
|
constructor() {
|
|
4370
5009
|
super(...arguments), this.attribution = "", this.detail = "";
|
|
4371
5010
|
}
|
|
4372
5011
|
render() {
|
|
4373
|
-
return
|
|
5012
|
+
return l`
|
|
4374
5013
|
<blockquote>
|
|
4375
5014
|
<div class="text"><slot></slot></div>
|
|
4376
|
-
${this.attribution ?
|
|
5015
|
+
${this.attribution ? l`
|
|
4377
5016
|
<footer>
|
|
4378
5017
|
<span class="attribution">${this.attribution}</span>
|
|
4379
|
-
${this.detail ?
|
|
5018
|
+
${this.detail ? l`<span class="detail"> — ${this.detail}</span>` : v}
|
|
4380
5019
|
</footer>
|
|
4381
|
-
` :
|
|
5020
|
+
` : v}
|
|
4382
5021
|
</blockquote>
|
|
4383
5022
|
`;
|
|
4384
5023
|
}
|
|
4385
5024
|
};
|
|
4386
|
-
|
|
5025
|
+
pe.styles = d`
|
|
4387
5026
|
:host {
|
|
4388
5027
|
display: block;
|
|
4389
5028
|
font-family: var(--vox-font-family-base);
|
|
@@ -4425,30 +5064,30 @@ ae.styles = d`
|
|
|
4425
5064
|
color: var(--vox-color-text-2);
|
|
4426
5065
|
}
|
|
4427
5066
|
`;
|
|
4428
|
-
|
|
5067
|
+
ft([
|
|
4429
5068
|
n()
|
|
4430
|
-
],
|
|
4431
|
-
|
|
5069
|
+
], pe.prototype, "attribution", 2);
|
|
5070
|
+
ft([
|
|
4432
5071
|
n()
|
|
4433
|
-
],
|
|
4434
|
-
|
|
5072
|
+
], pe.prototype, "detail", 2);
|
|
5073
|
+
pe = ft([
|
|
4435
5074
|
p("vox-quote")
|
|
4436
|
-
],
|
|
4437
|
-
var
|
|
4438
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4439
|
-
(i =
|
|
4440
|
-
return r && e &&
|
|
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--)
|
|
5078
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
5079
|
+
return r && e && Pr(t, a, e), e;
|
|
4441
5080
|
};
|
|
4442
|
-
let
|
|
5081
|
+
let Be = class extends h {
|
|
4443
5082
|
constructor() {
|
|
4444
5083
|
super(...arguments), this.heading = "", this.hasDescription = !1;
|
|
4445
5084
|
}
|
|
4446
|
-
handleDescriptionSlotChange(
|
|
4447
|
-
const
|
|
4448
|
-
this.hasDescription =
|
|
5085
|
+
handleDescriptionSlotChange(o) {
|
|
5086
|
+
const t = o.target;
|
|
5087
|
+
this.hasDescription = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4449
5088
|
}
|
|
4450
5089
|
render() {
|
|
4451
|
-
return
|
|
5090
|
+
return l`
|
|
4452
5091
|
<h2 class="heading">${this.heading}</h2>
|
|
4453
5092
|
<div class="description ${this.hasDescription ? "has-content" : ""}">
|
|
4454
5093
|
<slot
|
|
@@ -4462,7 +5101,7 @@ let ke = class extends v {
|
|
|
4462
5101
|
`;
|
|
4463
5102
|
}
|
|
4464
5103
|
};
|
|
4465
|
-
|
|
5104
|
+
Be.styles = d`
|
|
4466
5105
|
:host {
|
|
4467
5106
|
display: block;
|
|
4468
5107
|
font-family: var(--vox-font-family-base);
|
|
@@ -4494,39 +5133,39 @@ ke.styles = d`
|
|
|
4494
5133
|
margin-top: var(--vox-space-6);
|
|
4495
5134
|
}
|
|
4496
5135
|
`;
|
|
4497
|
-
|
|
5136
|
+
S([
|
|
4498
5137
|
n()
|
|
4499
|
-
],
|
|
4500
|
-
|
|
5138
|
+
], Be.prototype, "heading", 2);
|
|
5139
|
+
Be = S([
|
|
4501
5140
|
p("vox-sponsor-tier")
|
|
4502
|
-
],
|
|
4503
|
-
let
|
|
5141
|
+
], Be);
|
|
5142
|
+
let P = class extends h {
|
|
4504
5143
|
constructor() {
|
|
4505
5144
|
super(...arguments), this.name = "", this.hasBody = !1;
|
|
4506
5145
|
}
|
|
4507
|
-
handleBodySlotChange(
|
|
4508
|
-
const
|
|
4509
|
-
this.hasBody =
|
|
5146
|
+
handleBodySlotChange(o) {
|
|
5147
|
+
const t = o.target;
|
|
5148
|
+
this.hasBody = t.assignedNodes({ flatten: !0 }).length > 0, this.requestUpdate();
|
|
4510
5149
|
}
|
|
4511
5150
|
render() {
|
|
4512
|
-
const
|
|
5151
|
+
const o = l`
|
|
4513
5152
|
<div class="logo ${this.logo ? "has-logo" : ""}">
|
|
4514
|
-
${this.logo ?
|
|
5153
|
+
${this.logo ? l`<img src=${this.logo} alt=${this.name} />` : v}
|
|
4515
5154
|
</div>
|
|
4516
5155
|
<span class="name">${this.name}</span>
|
|
4517
5156
|
<div class="body ${this.hasBody ? "has-content" : ""}">
|
|
4518
5157
|
<slot @slotchange=${this.handleBodySlotChange}></slot>
|
|
4519
5158
|
</div>
|
|
4520
5159
|
`;
|
|
4521
|
-
return this.href !== void 0 ?
|
|
5160
|
+
return this.href !== void 0 ? l`<a
|
|
4522
5161
|
class="sponsor"
|
|
4523
5162
|
href=${this.href}
|
|
4524
|
-
target=${this.target ??
|
|
4525
|
-
>${
|
|
4526
|
-
>` :
|
|
5163
|
+
target=${this.target ?? v}
|
|
5164
|
+
>${o}</a
|
|
5165
|
+
>` : l`<div class="sponsor">${o}</div>`;
|
|
4527
5166
|
}
|
|
4528
5167
|
};
|
|
4529
|
-
|
|
5168
|
+
P.styles = d`
|
|
4530
5169
|
:host {
|
|
4531
5170
|
display: block;
|
|
4532
5171
|
}
|
|
@@ -4592,39 +5231,39 @@ M.styles = d`
|
|
|
4592
5231
|
display: none;
|
|
4593
5232
|
}
|
|
4594
5233
|
`;
|
|
4595
|
-
|
|
5234
|
+
S([
|
|
4596
5235
|
n()
|
|
4597
|
-
],
|
|
4598
|
-
|
|
5236
|
+
], P.prototype, "name", 2);
|
|
5237
|
+
S([
|
|
4599
5238
|
n()
|
|
4600
|
-
],
|
|
4601
|
-
|
|
5239
|
+
], P.prototype, "href", 2);
|
|
5240
|
+
S([
|
|
4602
5241
|
n()
|
|
4603
|
-
],
|
|
4604
|
-
|
|
5242
|
+
], P.prototype, "logo", 2);
|
|
5243
|
+
S([
|
|
4605
5244
|
n()
|
|
4606
|
-
],
|
|
4607
|
-
|
|
5245
|
+
], P.prototype, "target", 2);
|
|
5246
|
+
P = S([
|
|
4608
5247
|
p("vox-sponsor")
|
|
4609
|
-
],
|
|
4610
|
-
var
|
|
4611
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4612
|
-
(i =
|
|
4613
|
-
return r && e &&
|
|
5248
|
+
], P);
|
|
5249
|
+
var jr = Object.defineProperty, zr = Object.getOwnPropertyDescriptor, gt = (o, t, a, r) => {
|
|
5250
|
+
for (var e = r > 1 ? void 0 : r ? zr(t, a) : t, s = o.length - 1, i; s >= 0; s--)
|
|
5251
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
5252
|
+
return r && e && jr(t, a, e), e;
|
|
4614
5253
|
};
|
|
4615
|
-
let
|
|
5254
|
+
let he = class extends h {
|
|
4616
5255
|
constructor() {
|
|
4617
5256
|
super(...arguments), this.value = "", this.label = "";
|
|
4618
5257
|
}
|
|
4619
5258
|
render() {
|
|
4620
|
-
return
|
|
5259
|
+
return l`
|
|
4621
5260
|
<div class="value">${this.value}</div>
|
|
4622
5261
|
<div class="label">${this.label}</div>
|
|
4623
5262
|
<div class="description"><slot></slot></div>
|
|
4624
5263
|
`;
|
|
4625
5264
|
}
|
|
4626
5265
|
};
|
|
4627
|
-
|
|
5266
|
+
he.styles = d`
|
|
4628
5267
|
:host {
|
|
4629
5268
|
display: block;
|
|
4630
5269
|
font-family: var(--vox-font-family-base);
|
|
@@ -4651,35 +5290,35 @@ se.styles = d`
|
|
|
4651
5290
|
color: var(--vox-color-text-2);
|
|
4652
5291
|
}
|
|
4653
5292
|
`;
|
|
4654
|
-
|
|
5293
|
+
gt([
|
|
4655
5294
|
n()
|
|
4656
|
-
],
|
|
4657
|
-
|
|
5295
|
+
], he.prototype, "value", 2);
|
|
5296
|
+
gt([
|
|
4658
5297
|
n()
|
|
4659
|
-
],
|
|
4660
|
-
|
|
5298
|
+
], he.prototype, "label", 2);
|
|
5299
|
+
he = gt([
|
|
4661
5300
|
p("vox-stat")
|
|
4662
|
-
],
|
|
4663
|
-
var
|
|
4664
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4665
|
-
(i =
|
|
4666
|
-
return r && e &&
|
|
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--)
|
|
5304
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
5305
|
+
return r && e && Dr(t, a, e), e;
|
|
4667
5306
|
};
|
|
4668
|
-
let
|
|
5307
|
+
let tt = class extends h {
|
|
4669
5308
|
numberSteps() {
|
|
4670
|
-
this.querySelectorAll("vox-step").forEach((
|
|
4671
|
-
|
|
5309
|
+
this.querySelectorAll("vox-step").forEach((o, t) => {
|
|
5310
|
+
o.number = t + 1;
|
|
4672
5311
|
});
|
|
4673
5312
|
}
|
|
4674
5313
|
render() {
|
|
4675
|
-
return
|
|
5314
|
+
return l`
|
|
4676
5315
|
<div class="steps" role="list" aria-label="Progress">
|
|
4677
5316
|
<slot @slotchange=${this.numberSteps}></slot>
|
|
4678
5317
|
</div>
|
|
4679
5318
|
`;
|
|
4680
5319
|
}
|
|
4681
5320
|
};
|
|
4682
|
-
|
|
5321
|
+
tt.styles = d`
|
|
4683
5322
|
:host {
|
|
4684
5323
|
display: block;
|
|
4685
5324
|
}
|
|
@@ -4693,22 +5332,22 @@ Re.styles = d`
|
|
|
4693
5332
|
flex: 1 1 0;
|
|
4694
5333
|
}
|
|
4695
5334
|
`;
|
|
4696
|
-
|
|
5335
|
+
tt = Ce([
|
|
4697
5336
|
p("vox-step-indicator")
|
|
4698
|
-
],
|
|
4699
|
-
let
|
|
5337
|
+
], tt);
|
|
5338
|
+
let R = class extends h {
|
|
4700
5339
|
constructor() {
|
|
4701
5340
|
super(...arguments), this.label = "", this.state = "upcoming", this.number = 1;
|
|
4702
5341
|
}
|
|
4703
5342
|
render() {
|
|
4704
|
-
return
|
|
5343
|
+
return l`
|
|
4705
5344
|
<div
|
|
4706
5345
|
class="step"
|
|
4707
5346
|
role="listitem"
|
|
4708
5347
|
aria-current=${this.state === "current" ? "step" : "false"}
|
|
4709
5348
|
>
|
|
4710
5349
|
<span class="marker">
|
|
4711
|
-
${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">
|
|
4712
5351
|
<path d="m4 12 5 5L20 6" />
|
|
4713
5352
|
</svg>` : this.number}
|
|
4714
5353
|
</span>
|
|
@@ -4717,7 +5356,7 @@ let A = class extends v {
|
|
|
4717
5356
|
`;
|
|
4718
5357
|
}
|
|
4719
5358
|
};
|
|
4720
|
-
|
|
5359
|
+
R.styles = d`
|
|
4721
5360
|
:host {
|
|
4722
5361
|
display: block;
|
|
4723
5362
|
font-family: var(--vox-font-family-base);
|
|
@@ -4791,52 +5430,52 @@ A.styles = d`
|
|
|
4791
5430
|
color: var(--vox-color-text-1);
|
|
4792
5431
|
}
|
|
4793
5432
|
`;
|
|
4794
|
-
|
|
5433
|
+
Ce([
|
|
4795
5434
|
n()
|
|
4796
|
-
],
|
|
4797
|
-
|
|
5435
|
+
], R.prototype, "label", 2);
|
|
5436
|
+
Ce([
|
|
4798
5437
|
n({ reflect: !0 })
|
|
4799
|
-
],
|
|
4800
|
-
|
|
5438
|
+
], R.prototype, "state", 2);
|
|
5439
|
+
Ce([
|
|
4801
5440
|
n({ type: Number })
|
|
4802
|
-
],
|
|
4803
|
-
|
|
5441
|
+
], R.prototype, "number", 2);
|
|
5442
|
+
R = Ce([
|
|
4804
5443
|
p("vox-step")
|
|
4805
|
-
],
|
|
4806
|
-
var
|
|
4807
|
-
for (var e = r > 1 ? void 0 : r ?
|
|
4808
|
-
(i =
|
|
4809
|
-
return r && e &&
|
|
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--)
|
|
5447
|
+
(i = o[s]) && (e = (r ? i(t, a, e) : i(e)) || e);
|
|
5448
|
+
return r && e && Er(t, a, e), e;
|
|
4810
5449
|
};
|
|
4811
|
-
let
|
|
5450
|
+
let ot = class extends h {
|
|
4812
5451
|
render() {
|
|
4813
|
-
return
|
|
5452
|
+
return l`<slot></slot>`;
|
|
4814
5453
|
}
|
|
4815
5454
|
};
|
|
4816
|
-
|
|
5455
|
+
ot.styles = d`
|
|
4817
5456
|
:host {
|
|
4818
5457
|
display: block;
|
|
4819
5458
|
}
|
|
4820
5459
|
`;
|
|
4821
|
-
|
|
5460
|
+
ot = Ke([
|
|
4822
5461
|
p("vox-timeline")
|
|
4823
|
-
],
|
|
4824
|
-
let
|
|
5462
|
+
], ot);
|
|
5463
|
+
let ve = class extends h {
|
|
4825
5464
|
constructor() {
|
|
4826
5465
|
super(...arguments), this.heading = "", this.date = "";
|
|
4827
5466
|
}
|
|
4828
5467
|
render() {
|
|
4829
|
-
return
|
|
5468
|
+
return l`
|
|
4830
5469
|
<div class="item">
|
|
4831
5470
|
<span class="dot" aria-hidden="true"></span>
|
|
4832
|
-
${this.date ?
|
|
5471
|
+
${this.date ? l`<div class="date">${this.date}</div>` : v}
|
|
4833
5472
|
<h3 class="heading">${this.heading}</h3>
|
|
4834
5473
|
<div class="body"><slot></slot></div>
|
|
4835
5474
|
</div>
|
|
4836
5475
|
`;
|
|
4837
5476
|
}
|
|
4838
5477
|
};
|
|
4839
|
-
|
|
5478
|
+
ve.styles = d`
|
|
4840
5479
|
:host {
|
|
4841
5480
|
display: block;
|
|
4842
5481
|
font-family: var(--vox-font-family-base);
|
|
@@ -4886,69 +5525,70 @@ ie.styles = d`
|
|
|
4886
5525
|
color: var(--vox-color-text-2);
|
|
4887
5526
|
}
|
|
4888
5527
|
`;
|
|
4889
|
-
|
|
5528
|
+
Ke([
|
|
4890
5529
|
n()
|
|
4891
|
-
],
|
|
4892
|
-
|
|
5530
|
+
], ve.prototype, "heading", 2);
|
|
5531
|
+
Ke([
|
|
4893
5532
|
n()
|
|
4894
|
-
],
|
|
4895
|
-
|
|
5533
|
+
], ve.prototype, "date", 2);
|
|
5534
|
+
ve = Ke([
|
|
4896
5535
|
p("vox-timeline-item")
|
|
4897
|
-
],
|
|
5536
|
+
], ve);
|
|
4898
5537
|
export {
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
5538
|
+
ze as VoxAccordion,
|
|
5539
|
+
se as VoxAccordionItem,
|
|
5540
|
+
L as VoxAlert,
|
|
5541
|
+
M as VoxAvatar,
|
|
5542
|
+
De as VoxBadge,
|
|
5543
|
+
W as VoxBillboard,
|
|
5544
|
+
Xe as VoxBreadcrumbs,
|
|
5545
|
+
g as VoxButton,
|
|
5546
|
+
ie as VoxCalendarTile,
|
|
5547
|
+
ne as VoxCallout,
|
|
5548
|
+
q as VoxCard,
|
|
5549
|
+
G as VoxCheckbox,
|
|
5550
|
+
u as VoxCodeBlock,
|
|
5551
|
+
K as VoxCta,
|
|
5552
|
+
Se as VoxCtaBand,
|
|
5553
|
+
k as VoxDialog,
|
|
5554
|
+
re as VoxDisclosure,
|
|
5555
|
+
ae as VoxDropdown,
|
|
5556
|
+
Ee as VoxEmptyState,
|
|
5557
|
+
m as VoxFileInput,
|
|
5558
|
+
Qe as VoxFooter,
|
|
5559
|
+
Ae as VoxFooterColumn,
|
|
5560
|
+
I as VoxGrid,
|
|
5561
|
+
N as VoxHeader,
|
|
5562
|
+
le as VoxHero,
|
|
5563
|
+
H as VoxIcon,
|
|
5564
|
+
w as VoxInput,
|
|
5565
|
+
Ye as VoxInputGroup,
|
|
5566
|
+
et as VoxLinkHub,
|
|
5567
|
+
ce as VoxLinkHubItem,
|
|
5568
|
+
de as VoxLoader,
|
|
5569
|
+
He as VoxPagination,
|
|
5570
|
+
pe as VoxQuote,
|
|
5571
|
+
B as VoxRadio,
|
|
5572
|
+
Pe as VoxRadioGroup,
|
|
5573
|
+
Y as VoxSelect,
|
|
5574
|
+
O as VoxSeriesNav,
|
|
5575
|
+
T as VoxSidenav,
|
|
5576
|
+
J as VoxSidenavGroup,
|
|
5577
|
+
Q as VoxSidenavItem,
|
|
5578
|
+
P as VoxSponsor,
|
|
5579
|
+
Be as VoxSponsorTier,
|
|
5580
|
+
he as VoxStat,
|
|
5581
|
+
R as VoxStep,
|
|
5582
|
+
tt as VoxStepIndicator,
|
|
5583
|
+
Ve as VoxSubnav,
|
|
5584
|
+
X as VoxSwitch,
|
|
5585
|
+
ee as VoxTab,
|
|
5586
|
+
te as VoxTabPanel,
|
|
5587
|
+
We as VoxTabs,
|
|
5588
|
+
C as VoxTextarea,
|
|
5589
|
+
A as VoxThemeToggle,
|
|
5590
|
+
ot as VoxTimeline,
|
|
5591
|
+
ve as VoxTimelineItem,
|
|
5592
|
+
je as VoxToc,
|
|
5593
|
+
oe as VoxTocItem
|
|
4954
5594
|
};
|