@monospaced/set-core 0.25.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/alert/alert.d.ts +3 -3
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/avatar/avatar.d.ts +3 -3
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts +2 -2
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/banner/banner.d.ts +2 -2
- package/dist/components/banner/banner.d.ts.map +1 -1
- package/dist/components/blockquote/blockquote.d.ts +3 -3
- package/dist/components/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/box/box.d.ts +3 -3
- package/dist/components/box/box.d.ts.map +1 -1
- package/dist/components/button/button.d.ts +3 -3
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/card/card.d.ts +4 -4
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +3 -3
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/container/container.d.ts +2 -2
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/details/details.d.ts +3 -3
- package/dist/components/details/details.d.ts.map +1 -1
- package/dist/components/dither/dither.d.ts +3 -3
- package/dist/components/dither/dither.d.ts.map +1 -1
- package/dist/components/divider/divider.d.ts +2 -2
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/expander/expander.d.ts +2 -2
- package/dist/components/expander/expander.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.d.ts +3 -3
- package/dist/components/fieldset/fieldset.d.ts.map +1 -1
- package/dist/components/figure/figure.d.ts +3 -3
- package/dist/components/figure/figure.d.ts.map +1 -1
- package/dist/components/grid/grid.d.ts +3 -3
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts +3 -3
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/icon/icon.d.ts +2 -2
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/image/image.d.ts +3 -3
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/inline/inline.d.ts +5 -4
- package/dist/components/inline/inline.d.ts.map +1 -1
- package/dist/components/input/input.d.ts +3 -3
- package/dist/components/input/input.d.ts.map +1 -1
- package/dist/components/lightswitch/lightswitch.d.ts +2 -2
- package/dist/components/lightswitch/lightswitch.d.ts.map +1 -1
- package/dist/components/link/link.d.ts +2 -2
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/logo/logo.d.ts +2 -2
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/logo/logos-animated.d.ts +1 -1
- package/dist/components/logo/logos-animated.d.ts.map +1 -1
- package/dist/components/menu/menu.d.ts +5 -5
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/nav/nav.d.ts +2 -2
- package/dist/components/nav/nav.d.ts.map +1 -1
- package/dist/components/page/page.d.ts +16 -7
- package/dist/components/page/page.d.ts.map +1 -1
- package/dist/components/pattern/pattern.d.ts +3 -3
- package/dist/components/pattern/pattern.d.ts.map +1 -1
- package/dist/components/poster/poster.d.ts +5 -5
- package/dist/components/poster/poster.d.ts.map +1 -1
- package/dist/components/prose/prose.d.ts +3 -3
- package/dist/components/prose/prose.d.ts.map +1 -1
- package/dist/components/radios/radios.d.ts +3 -3
- package/dist/components/radios/radios.d.ts.map +1 -1
- package/dist/components/range/range.d.ts +3 -3
- package/dist/components/range/range.d.ts.map +1 -1
- package/dist/components/root/root.d.ts +2 -2
- package/dist/components/root/root.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +4 -4
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts +2 -2
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/stack/stack.d.ts +2 -2
- package/dist/components/stack/stack.d.ts.map +1 -1
- package/dist/components/surface/surface.d.ts +3 -3
- package/dist/components/surface/surface.d.ts.map +1 -1
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/text/text.d.ts +3 -3
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/textarea/textarea.d.ts +3 -3
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- package/dist/components/video/video.d.ts +2 -2
- package/dist/components/video/video.d.ts.map +1 -1
- package/dist/core-mnsp.css +1 -1
- package/dist/core-wrfr.css +1 -1
- package/dist/core.css +1 -1
- package/dist/helpers/scheme.d.ts +11 -0
- package/dist/helpers/scheme.d.ts.map +1 -0
- package/dist/index.d.ts +51 -48
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +680 -437
- package/dist/index.js.map +1 -1
- package/dist/runtime/canvas.d.ts +41 -0
- package/dist/runtime/canvas.d.ts.map +1 -0
- package/dist/runtime/dither.d.ts +68 -0
- package/dist/runtime/dither.d.ts.map +1 -0
- package/dist/runtime/easing.d.ts +13 -0
- package/dist/runtime/easing.d.ts.map +1 -0
- package/dist/runtime/frames.d.ts +22 -0
- package/dist/runtime/frames.d.ts.map +1 -0
- package/dist/runtime/tokens.d.ts +86 -0
- package/dist/runtime/tokens.d.ts.map +1 -0
- package/package.json +12 -7
- package/dist/components/panel/panel.d.ts +0 -31
- package/dist/components/panel/panel.d.ts.map +0 -1
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +0 -1
- package/dist/test/spec.d.ts +0 -14
- package/dist/test/spec.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1452,7 +1452,7 @@ function M() {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
customElements.define(C, e);
|
|
1454
1454
|
}
|
|
1455
|
-
var
|
|
1455
|
+
var ee = {
|
|
1456
1456
|
name: "alert",
|
|
1457
1457
|
category: "status",
|
|
1458
1458
|
description: "Use `alert` to surface short, important messages.",
|
|
@@ -1661,13 +1661,13 @@ var N = {
|
|
|
1661
1661
|
] }
|
|
1662
1662
|
};
|
|
1663
1663
|
// src/components/link/link.ts
|
|
1664
|
-
function
|
|
1664
|
+
function N(e) {
|
|
1665
1665
|
if (e) return e === !0 || e;
|
|
1666
1666
|
}
|
|
1667
|
-
function
|
|
1667
|
+
function P(e) {
|
|
1668
1668
|
let { appearance: t = "text", current: n, download: r, href: i, id: o, icon: s, iconPlacement: c = "start", label: l, labelVisibility: u = "visible", rel: d, size: f = "md", target: p, tone: m = "default", underline: h } = e, g = a(o), _ = s?.trim() || void 0;
|
|
1669
1669
|
if (u !== "visible" && !_) throw Error("labelVisibility requires icon when label is not visible.");
|
|
1670
|
-
let v =
|
|
1670
|
+
let v = N(r), y = _ ? {
|
|
1671
1671
|
kind: "element",
|
|
1672
1672
|
tag: "span",
|
|
1673
1673
|
attrs: { class: "icon-wrapper" },
|
|
@@ -1704,10 +1704,10 @@ function F(e) {
|
|
|
1704
1704
|
children: y ? c === "end" ? [b, y] : [y, b] : [b]
|
|
1705
1705
|
};
|
|
1706
1706
|
}
|
|
1707
|
-
function
|
|
1708
|
-
return r(
|
|
1707
|
+
function te(e) {
|
|
1708
|
+
return r(P(e));
|
|
1709
1709
|
}
|
|
1710
|
-
var
|
|
1710
|
+
var ne = {
|
|
1711
1711
|
name: "link",
|
|
1712
1712
|
category: "navigation",
|
|
1713
1713
|
description: "Use `link` to navigate to another page or resource.",
|
|
@@ -1990,8 +1990,8 @@ var te = {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
}
|
|
1992
1992
|
] }
|
|
1993
|
-
},
|
|
1994
|
-
function
|
|
1993
|
+
}, F = "set-banner", I = "set-banner-before-dismiss", L = "set-banner-dismiss", R = "Dismiss banner";
|
|
1994
|
+
function re(e, t) {
|
|
1995
1995
|
let n = t.createElement("div");
|
|
1996
1996
|
return n.setAttribute("data-part", "close"), n.innerHTML = b({
|
|
1997
1997
|
appearance: "text",
|
|
@@ -2002,22 +2002,22 @@ function ne(e, t) {
|
|
|
2002
2002
|
tone: "neutral"
|
|
2003
2003
|
}), n;
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function ie({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLabel: r = R, id: i, message: o, tone: s }) {
|
|
2006
2006
|
if (!!e != !!t) throw Error("actionHref and actionLabel must be provided together.");
|
|
2007
|
-
let c = a(i), l = r.trim() === "" ?
|
|
2007
|
+
let c = a(i), l = r.trim() === "" ? R : r, u = [{
|
|
2008
2008
|
kind: "text",
|
|
2009
2009
|
value: o
|
|
2010
2010
|
}];
|
|
2011
2011
|
return e && t && (u.push({
|
|
2012
2012
|
kind: "text",
|
|
2013
2013
|
value: " "
|
|
2014
|
-
}), u.push(
|
|
2014
|
+
}), u.push(P({
|
|
2015
2015
|
href: e,
|
|
2016
2016
|
label: t,
|
|
2017
2017
|
underline: !0
|
|
2018
2018
|
}))), {
|
|
2019
2019
|
kind: "element",
|
|
2020
|
-
tag:
|
|
2020
|
+
tag: F,
|
|
2021
2021
|
attrs: {
|
|
2022
2022
|
class: "set-banner",
|
|
2023
2023
|
"data-set-content-theme": "dark",
|
|
@@ -2035,20 +2035,20 @@ function re({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLab
|
|
|
2035
2035
|
}]
|
|
2036
2036
|
};
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2039
|
-
return r(
|
|
2038
|
+
function ae(e) {
|
|
2039
|
+
return r(ie(e));
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2041
|
+
function oe() {
|
|
2042
2042
|
if (customElements.get("set-banner")) return;
|
|
2043
2043
|
class e extends HTMLElement {
|
|
2044
2044
|
#e = (e) => {
|
|
2045
2045
|
let t = e.target;
|
|
2046
2046
|
if (!(t instanceof Element) || !t.closest("[data-part=\"close\"]")) return;
|
|
2047
|
-
let n = new CustomEvent(
|
|
2047
|
+
let n = new CustomEvent(I, {
|
|
2048
2048
|
bubbles: !0,
|
|
2049
2049
|
cancelable: !0
|
|
2050
2050
|
});
|
|
2051
|
-
this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(
|
|
2051
|
+
this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(L, { bubbles: !0 })), this.remove());
|
|
2052
2052
|
};
|
|
2053
2053
|
connectedCallback() {
|
|
2054
2054
|
this.removeEventListener("click", this.#e), this.hasAttribute("data-dismissible") && (this.#t(), this.addEventListener("click", this.#e));
|
|
@@ -2057,17 +2057,17 @@ function ae() {
|
|
|
2057
2057
|
this.removeEventListener("click", this.#e);
|
|
2058
2058
|
}
|
|
2059
2059
|
#t() {
|
|
2060
|
-
this.querySelector("[data-part=\"close\"]") || this.append(
|
|
2060
|
+
this.querySelector("[data-part=\"close\"]") || this.append(re(this.getAttribute("data-dismissible-label") ?? R, this.ownerDocument));
|
|
2061
2061
|
}
|
|
2062
2062
|
}
|
|
2063
|
-
customElements.define(
|
|
2063
|
+
customElements.define(F, e);
|
|
2064
2064
|
}
|
|
2065
|
-
var
|
|
2065
|
+
var se = {
|
|
2066
2066
|
name: "banner",
|
|
2067
2067
|
category: "status",
|
|
2068
2068
|
description: "Use `banner` to display a prominent site-wide message.",
|
|
2069
2069
|
output: {
|
|
2070
|
-
element:
|
|
2070
|
+
element: F,
|
|
2071
2071
|
class: "set-banner"
|
|
2072
2072
|
},
|
|
2073
2073
|
content: {
|
|
@@ -2091,7 +2091,7 @@ var oe = {
|
|
|
2091
2091
|
type: { kind: "boolean" }
|
|
2092
2092
|
},
|
|
2093
2093
|
dismissibleLabel: {
|
|
2094
|
-
default:
|
|
2094
|
+
default: R,
|
|
2095
2095
|
description: "Accessible label for the dismiss control.",
|
|
2096
2096
|
ignoredWhen: "`dismissible` is false",
|
|
2097
2097
|
type: { kind: "string" }
|
|
@@ -2118,12 +2118,12 @@ var oe = {
|
|
|
2118
2118
|
}
|
|
2119
2119
|
},
|
|
2120
2120
|
events: {
|
|
2121
|
-
[
|
|
2121
|
+
[I]: {
|
|
2122
2122
|
bubbles: !0,
|
|
2123
2123
|
cancelable: !0,
|
|
2124
2124
|
description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
|
|
2125
2125
|
},
|
|
2126
|
-
[
|
|
2126
|
+
[L]: {
|
|
2127
2127
|
bubbles: !0,
|
|
2128
2128
|
description: "Fired after the banner has been removed by an allowed dismiss action."
|
|
2129
2129
|
}
|
|
@@ -2180,8 +2180,8 @@ var oe = {
|
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
2182
|
] }
|
|
2183
|
-
},
|
|
2184
|
-
function
|
|
2183
|
+
}, z = "set-image";
|
|
2184
|
+
function ce({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gravity: i = "C", height: o, id: s, lazy: c, leadSrc: l, priority: u, radius: d, shadow: f, sizes: p, sources: m, src: h, srcSet: g, stillSrc: _, width: v }) {
|
|
2185
2185
|
let y = r === "cover", b = a(s), x = h.trim(), S = g?.trim(), C = l?.trim(), w = _?.trim(), T = p?.trim(), E = m?.map((e, t) => {
|
|
2186
2186
|
let n = e.srcSet.trim(), r = e.media?.trim(), i = e.type?.trim(), a = e.sizes?.trim(), o = e.leadSrc?.trim(), s = e.stillSrc?.trim();
|
|
2187
2187
|
if (!n) throw Error(`sources[${t}].srcSet must be non-empty.`);
|
|
@@ -2258,14 +2258,22 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2258
2258
|
attrs: { "data-scheme": e },
|
|
2259
2259
|
children: [...r, n]
|
|
2260
2260
|
};
|
|
2261
|
-
},
|
|
2261
|
+
}, ee = "(prefers-reduced-motion: reduce)", N = (e, t) => t ? e.replaceAll("{scheme}", t) : e, P = (e, t) => t ? `${e}#${t}` : e, te = (e, t) => {
|
|
2262
|
+
if (!t) return e;
|
|
2263
|
+
let n = [], r = 0, i = 0;
|
|
2264
|
+
for (let e = 0; e < t.length; e += 1) {
|
|
2265
|
+
let a = t[e];
|
|
2266
|
+
a === "(" ? r += 1 : a === ")" ? --r : a === "," && r === 0 && (n.push(t.slice(i, e)), i = e + 1);
|
|
2267
|
+
}
|
|
2268
|
+
return n.push(t.slice(i)), n.map((e) => e.trim()).filter(Boolean).map((t) => `${e} and ${t}`).join(", ");
|
|
2269
|
+
}, ne = (e) => {
|
|
2262
2270
|
let n = E.filter((e) => e.stillSrc).map((t) => ({
|
|
2263
2271
|
kind: "element",
|
|
2264
2272
|
tag: "source",
|
|
2265
2273
|
attrs: {
|
|
2266
2274
|
height: t.height ? String(t.height) : void 0,
|
|
2267
|
-
media:
|
|
2268
|
-
srcset:
|
|
2275
|
+
media: te(ee, t.media),
|
|
2276
|
+
srcset: P(t.stillSrc, e),
|
|
2269
2277
|
width: t.width ? String(t.width) : void 0
|
|
2270
2278
|
},
|
|
2271
2279
|
children: []
|
|
@@ -2274,8 +2282,8 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2274
2282
|
kind: "element",
|
|
2275
2283
|
tag: "source",
|
|
2276
2284
|
attrs: {
|
|
2277
|
-
media:
|
|
2278
|
-
srcset:
|
|
2285
|
+
media: ee,
|
|
2286
|
+
srcset: P(w, e)
|
|
2279
2287
|
},
|
|
2280
2288
|
children: []
|
|
2281
2289
|
});
|
|
@@ -2286,7 +2294,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2286
2294
|
height: t.height ? String(t.height) : void 0,
|
|
2287
2295
|
media: t.media,
|
|
2288
2296
|
sizes: t.sizes,
|
|
2289
|
-
srcset:
|
|
2297
|
+
srcset: N(t.srcSet, e),
|
|
2290
2298
|
type: t.type,
|
|
2291
2299
|
width: t.width ? String(t.width) : void 0
|
|
2292
2300
|
},
|
|
@@ -2301,8 +2309,8 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2301
2309
|
height: y ? void 0 : o ? String(o) : void 0,
|
|
2302
2310
|
loading: c && !u ? "lazy" : void 0,
|
|
2303
2311
|
sizes: E.length > 0 ? void 0 : T || void 0,
|
|
2304
|
-
src:
|
|
2305
|
-
srcset: S ?
|
|
2312
|
+
src: N(x, e),
|
|
2313
|
+
srcset: S ? N(S, e) : void 0,
|
|
2306
2314
|
width: y ? void 0 : v ? String(v) : void 0
|
|
2307
2315
|
},
|
|
2308
2316
|
children: []
|
|
@@ -2317,16 +2325,16 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2317
2325
|
i
|
|
2318
2326
|
]
|
|
2319
2327
|
};
|
|
2320
|
-
},
|
|
2328
|
+
}, F = (e) => {
|
|
2321
2329
|
let t = "(prefers-reduced-motion: no-preference)", n = E.map((n) => {
|
|
2322
2330
|
if (n.leadSrc) return {
|
|
2323
2331
|
kind: "element",
|
|
2324
2332
|
tag: "source",
|
|
2325
2333
|
attrs: {
|
|
2326
2334
|
height: n.height ? String(n.height) : void 0,
|
|
2327
|
-
media:
|
|
2335
|
+
media: te(t, n.media),
|
|
2328
2336
|
sizes: n.sizes,
|
|
2329
|
-
srcset:
|
|
2337
|
+
srcset: N(n.leadSrc, e),
|
|
2330
2338
|
type: n.type,
|
|
2331
2339
|
width: n.width ? String(n.width) : void 0
|
|
2332
2340
|
},
|
|
@@ -2339,7 +2347,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2339
2347
|
attrs: {
|
|
2340
2348
|
media: t,
|
|
2341
2349
|
sizes: E.length > 0 ? void 0 : T || void 0,
|
|
2342
|
-
srcset:
|
|
2350
|
+
srcset: N(C, e)
|
|
2343
2351
|
},
|
|
2344
2352
|
children: []
|
|
2345
2353
|
});
|
|
@@ -2350,7 +2358,7 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2350
2358
|
alt: "",
|
|
2351
2359
|
class: "img",
|
|
2352
2360
|
height: y ? void 0 : o ? String(o) : void 0,
|
|
2353
|
-
src:
|
|
2361
|
+
src: P(w, e),
|
|
2354
2362
|
width: y ? void 0 : v ? String(v) : void 0
|
|
2355
2363
|
},
|
|
2356
2364
|
children: []
|
|
@@ -2364,10 +2372,10 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2364
2372
|
},
|
|
2365
2373
|
children: [...n, r]
|
|
2366
2374
|
};
|
|
2367
|
-
}, I = (e) => k ? [
|
|
2375
|
+
}, I = (e) => k ? [ne(e), F(e)] : [ne(e)], L = D ? O ? [...I("light"), ...I("dark")] : I() : e ? [M("light"), M("dark")] : [M()], R = [];
|
|
2368
2376
|
return o && R.push(`--set-image-block-size: ${o / 16}rem`), v && R.push(`--set-image-inline-size: ${v / 16}rem`), {
|
|
2369
2377
|
kind: "element",
|
|
2370
|
-
tag:
|
|
2378
|
+
tag: z,
|
|
2371
2379
|
attrs: {
|
|
2372
2380
|
class: "set-image",
|
|
2373
2381
|
"data-adaptive": !!e,
|
|
@@ -2385,10 +2393,10 @@ function se({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2385
2393
|
children: L
|
|
2386
2394
|
};
|
|
2387
2395
|
}
|
|
2388
|
-
function
|
|
2389
|
-
return r(
|
|
2396
|
+
function le(e) {
|
|
2397
|
+
return r(ce(e));
|
|
2390
2398
|
}
|
|
2391
|
-
function
|
|
2399
|
+
function ue() {
|
|
2392
2400
|
if (customElements.get("set-image")) return;
|
|
2393
2401
|
class e extends HTMLElement {
|
|
2394
2402
|
connectedCallback() {
|
|
@@ -2404,14 +2412,14 @@ function le() {
|
|
|
2404
2412
|
t.complete && t.naturalWidth > 0 ? n() : (t.addEventListener("load", n, { once: !0 }), t.addEventListener("error", n, { once: !0 }));
|
|
2405
2413
|
}
|
|
2406
2414
|
}
|
|
2407
|
-
customElements.define(
|
|
2415
|
+
customElements.define(z, e);
|
|
2408
2416
|
}
|
|
2409
|
-
var
|
|
2417
|
+
var de = {
|
|
2410
2418
|
name: "image",
|
|
2411
2419
|
category: "graphic",
|
|
2412
2420
|
description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
|
|
2413
2421
|
output: {
|
|
2414
|
-
element:
|
|
2422
|
+
element: z,
|
|
2415
2423
|
class: "set-image"
|
|
2416
2424
|
},
|
|
2417
2425
|
content: { kind: "none" },
|
|
@@ -2734,14 +2742,17 @@ var ue = {
|
|
|
2734
2742
|
}
|
|
2735
2743
|
}
|
|
2736
2744
|
] }
|
|
2737
|
-
},
|
|
2738
|
-
|
|
2745
|
+
}, fe = "(prefers-color-scheme: dark)", pe = (e, t) => {
|
|
2746
|
+
let n = (e.ownerDocument ?? e).defaultView;
|
|
2747
|
+
if (n && typeof n.matchMedia == "function") return n.matchMedia(t);
|
|
2748
|
+
}, me = (e) => pe(e, "(prefers-color-scheme: dark)")?.matches ? "dark" : "light", B = "set-lightswitch", he = "set-lightswitch-change", V = "set-theme", ge = "Switch to dark theme", _e = "Switch to light theme";
|
|
2749
|
+
function ve(e) {
|
|
2739
2750
|
return e === "dark" ? "light" : "dark";
|
|
2740
2751
|
}
|
|
2741
|
-
function
|
|
2752
|
+
function ye(e) {
|
|
2742
2753
|
return e === "dark" ? "moon" : "sunny";
|
|
2743
2754
|
}
|
|
2744
|
-
function
|
|
2755
|
+
function be(e, t) {
|
|
2745
2756
|
return {
|
|
2746
2757
|
kind: "element",
|
|
2747
2758
|
tag: "span",
|
|
@@ -2755,7 +2766,7 @@ function he(e, t) {
|
|
|
2755
2766
|
attrs: { class: "icon-wrapper" },
|
|
2756
2767
|
children: [d({
|
|
2757
2768
|
ariaHidden: !0,
|
|
2758
|
-
name:
|
|
2769
|
+
name: ye(e),
|
|
2759
2770
|
size: "fill"
|
|
2760
2771
|
})]
|
|
2761
2772
|
}, {
|
|
@@ -2769,11 +2780,11 @@ function he(e, t) {
|
|
|
2769
2780
|
}]
|
|
2770
2781
|
};
|
|
2771
2782
|
}
|
|
2772
|
-
function
|
|
2773
|
-
let o = a(t), s = n.trim() === "" ?
|
|
2783
|
+
function xe({ appearance: e = "text", id: t, labelDark: n = ge, labelLight: r = _e, size: i = "md" }) {
|
|
2784
|
+
let o = a(t), s = n.trim() === "" ? ge : n, c = r.trim() === "" ? _e : r;
|
|
2774
2785
|
return {
|
|
2775
2786
|
kind: "element",
|
|
2776
|
-
tag:
|
|
2787
|
+
tag: B,
|
|
2777
2788
|
attrs: {
|
|
2778
2789
|
class: "set-lightswitch",
|
|
2779
2790
|
id: o
|
|
@@ -2787,21 +2798,21 @@ function ge({ appearance: e = "text", id: t, labelDark: n = U, labelLight: r = f
|
|
|
2787
2798
|
"data-size": i,
|
|
2788
2799
|
type: "button"
|
|
2789
2800
|
},
|
|
2790
|
-
children: [
|
|
2801
|
+
children: [be("dark", s), be("light", c)]
|
|
2791
2802
|
}]
|
|
2792
2803
|
};
|
|
2793
2804
|
}
|
|
2794
|
-
function
|
|
2795
|
-
return r(
|
|
2805
|
+
function Se(e) {
|
|
2806
|
+
return r(xe(e));
|
|
2796
2807
|
}
|
|
2797
|
-
function
|
|
2808
|
+
function Ce() {
|
|
2798
2809
|
if (customElements.get("set-lightswitch")) return;
|
|
2799
2810
|
class e extends HTMLElement {
|
|
2800
2811
|
#e = (e) => {
|
|
2801
2812
|
let t = e.target;
|
|
2802
2813
|
if (!(t instanceof Element) || !t.closest("button")) return;
|
|
2803
|
-
let n =
|
|
2804
|
-
n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(
|
|
2814
|
+
let n = ve(this.#c());
|
|
2815
|
+
n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(he, {
|
|
2805
2816
|
bubbles: !0,
|
|
2806
2817
|
detail: {
|
|
2807
2818
|
stored: !!this.#n(),
|
|
@@ -2824,7 +2835,7 @@ function ve() {
|
|
|
2824
2835
|
}
|
|
2825
2836
|
#n() {
|
|
2826
2837
|
try {
|
|
2827
|
-
let e = this.#t()?.getItem(
|
|
2838
|
+
let e = this.#t()?.getItem(V);
|
|
2828
2839
|
return e === "light" || e === "dark" ? e : void 0;
|
|
2829
2840
|
} catch {
|
|
2830
2841
|
return;
|
|
@@ -2832,17 +2843,16 @@ function ve() {
|
|
|
2832
2843
|
}
|
|
2833
2844
|
#r(e) {
|
|
2834
2845
|
try {
|
|
2835
|
-
this.#t()?.setItem(
|
|
2846
|
+
this.#t()?.setItem(V, e);
|
|
2836
2847
|
} catch {}
|
|
2837
2848
|
}
|
|
2838
2849
|
#i() {
|
|
2839
2850
|
try {
|
|
2840
|
-
this.#t()?.removeItem(
|
|
2851
|
+
this.#t()?.removeItem(V);
|
|
2841
2852
|
} catch {}
|
|
2842
2853
|
}
|
|
2843
2854
|
#a() {
|
|
2844
|
-
|
|
2845
|
-
return !e || typeof e.matchMedia != "function" ? "light" : e.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
2855
|
+
return me(this);
|
|
2846
2856
|
}
|
|
2847
2857
|
#o() {
|
|
2848
2858
|
return this.closest(".set");
|
|
@@ -2861,14 +2871,14 @@ function ve() {
|
|
|
2861
2871
|
t ? e.setAttribute("data-set-theme", t) : e.removeAttribute("data-set-theme");
|
|
2862
2872
|
}
|
|
2863
2873
|
}
|
|
2864
|
-
customElements.define(
|
|
2874
|
+
customElements.define(B, e);
|
|
2865
2875
|
}
|
|
2866
|
-
var
|
|
2876
|
+
var we = {
|
|
2867
2877
|
name: "lightswitch",
|
|
2868
2878
|
category: "control",
|
|
2869
2879
|
description: "Use `lightswitch` to let users toggle between light and dark themes.",
|
|
2870
2880
|
output: {
|
|
2871
|
-
element:
|
|
2881
|
+
element: B,
|
|
2872
2882
|
class: "set-lightswitch"
|
|
2873
2883
|
},
|
|
2874
2884
|
content: { kind: "none" },
|
|
@@ -2890,12 +2900,12 @@ var ye = {
|
|
|
2890
2900
|
type: { kind: "string" }
|
|
2891
2901
|
},
|
|
2892
2902
|
labelDark: {
|
|
2893
|
-
default:
|
|
2903
|
+
default: ge,
|
|
2894
2904
|
description: "Accessible label of the switch-to-dark action.",
|
|
2895
2905
|
type: { kind: "string" }
|
|
2896
2906
|
},
|
|
2897
2907
|
labelLight: {
|
|
2898
|
-
default:
|
|
2908
|
+
default: _e,
|
|
2899
2909
|
description: "Accessible label of the switch-to-light action.",
|
|
2900
2910
|
type: { kind: "string" }
|
|
2901
2911
|
},
|
|
@@ -2912,7 +2922,7 @@ var ye = {
|
|
|
2912
2922
|
}
|
|
2913
2923
|
}
|
|
2914
2924
|
},
|
|
2915
|
-
events: { [
|
|
2925
|
+
events: { [he]: {
|
|
2916
2926
|
bubbles: !0,
|
|
2917
2927
|
description: "Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."
|
|
2918
2928
|
} },
|
|
@@ -2978,8 +2988,8 @@ var ye = {
|
|
|
2978
2988
|
}
|
|
2979
2989
|
}
|
|
2980
2990
|
] }
|
|
2981
|
-
},
|
|
2982
|
-
function
|
|
2991
|
+
}, H = "set-menu", Te = "set-menu-choose";
|
|
2992
|
+
function Ee({ align: e = "start", id: t, items: n, size: r = "md", triggerActivity: a, triggerIcon: o, triggerIconMirrored: s, triggerIconPlacement: c, triggerLabel: l, triggerLabelVisibility: u }) {
|
|
2983
2993
|
let d = t.trim();
|
|
2984
2994
|
if (!d) throw Error("id must be a non-empty string.");
|
|
2985
2995
|
if (!i(d)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -3001,7 +3011,7 @@ function xe({ align: e = "start", id: t, items: n, size: r = "md", triggerActivi
|
|
|
3001
3011
|
}));
|
|
3002
3012
|
return {
|
|
3003
3013
|
kind: "element",
|
|
3004
|
-
tag:
|
|
3014
|
+
tag: H,
|
|
3005
3015
|
attrs: {
|
|
3006
3016
|
class: "set-menu",
|
|
3007
3017
|
"data-align": e === "start" ? void 0 : e,
|
|
@@ -3042,10 +3052,10 @@ function xe({ align: e = "start", id: t, items: n, size: r = "md", triggerActivi
|
|
|
3042
3052
|
}]
|
|
3043
3053
|
};
|
|
3044
3054
|
}
|
|
3045
|
-
function
|
|
3046
|
-
return r(
|
|
3055
|
+
function De(e) {
|
|
3056
|
+
return r(Ee(e));
|
|
3047
3057
|
}
|
|
3048
|
-
function
|
|
3058
|
+
function Oe() {
|
|
3049
3059
|
if (customElements.get("set-menu")) return;
|
|
3050
3060
|
class e extends HTMLElement {
|
|
3051
3061
|
#e;
|
|
@@ -3094,7 +3104,7 @@ function Ce() {
|
|
|
3094
3104
|
}
|
|
3095
3105
|
#f(e) {
|
|
3096
3106
|
let t = Array.from(this.querySelectorAll("[role=\"menuitem\"]")).indexOf(e);
|
|
3097
|
-
this.dispatchEvent(new CustomEvent(
|
|
3107
|
+
this.dispatchEvent(new CustomEvent(Te, {
|
|
3098
3108
|
bubbles: !0,
|
|
3099
3109
|
detail: {
|
|
3100
3110
|
id: e.getAttribute("data-item-id") || void 0,
|
|
@@ -3138,14 +3148,14 @@ function Ce() {
|
|
|
3138
3148
|
this.#e && this.removeEventListener("click", this.#e), this.#t && this.ownerDocument.removeEventListener("click", this.#t), this.#r && this.removeEventListener("keydown", this.#r), this.#n && this.removeEventListener("focusout", this.#n), this.#e = void 0, this.#t = void 0, this.#n = void 0, this.#r = void 0;
|
|
3139
3149
|
}
|
|
3140
3150
|
}
|
|
3141
|
-
customElements.define(
|
|
3151
|
+
customElements.define(H, e);
|
|
3142
3152
|
}
|
|
3143
|
-
var
|
|
3153
|
+
var ke = {
|
|
3144
3154
|
name: "menu",
|
|
3145
3155
|
category: "control",
|
|
3146
3156
|
description: "Use `menu` to show a list of actions from a trigger button.",
|
|
3147
3157
|
output: {
|
|
3148
|
-
element:
|
|
3158
|
+
element: H,
|
|
3149
3159
|
class: "set-menu"
|
|
3150
3160
|
},
|
|
3151
3161
|
content: {
|
|
@@ -3241,7 +3251,7 @@ var we = {
|
|
|
3241
3251
|
}
|
|
3242
3252
|
}
|
|
3243
3253
|
},
|
|
3244
|
-
events: { [
|
|
3254
|
+
events: { [Te]: {
|
|
3245
3255
|
bubbles: !0,
|
|
3246
3256
|
description: "Fired when a menu item is activated.",
|
|
3247
3257
|
detail: "{ id?: string; index: number; label: string }"
|
|
@@ -3335,9 +3345,9 @@ var we = {
|
|
|
3335
3345
|
condition: { kind: "always" }
|
|
3336
3346
|
}
|
|
3337
3347
|
] }
|
|
3338
|
-
},
|
|
3339
|
-
function
|
|
3340
|
-
let o = a(n), s = r.trim() === "" ?
|
|
3348
|
+
}, Ae = "Menu";
|
|
3349
|
+
function je({ controlsId: e, expanded: t, id: n, label: r = Ae, size: i = "md" } = {}) {
|
|
3350
|
+
let o = a(n), s = r.trim() === "" ? Ae : r;
|
|
3341
3351
|
return {
|
|
3342
3352
|
kind: "element",
|
|
3343
3353
|
tag: "button",
|
|
@@ -3370,10 +3380,10 @@ function Ee({ controlsId: e, expanded: t, id: n, label: r = Te, size: i = "md" }
|
|
|
3370
3380
|
}]
|
|
3371
3381
|
};
|
|
3372
3382
|
}
|
|
3373
|
-
function
|
|
3374
|
-
return r(
|
|
3383
|
+
function Me(e = {}) {
|
|
3384
|
+
return r(je(e));
|
|
3375
3385
|
}
|
|
3376
|
-
var
|
|
3386
|
+
var Ne = {
|
|
3377
3387
|
name: "expander",
|
|
3378
3388
|
category: "control",
|
|
3379
3389
|
description: "Use `expander` as a toggle for disclosure regions such as menus.",
|
|
@@ -3400,7 +3410,7 @@ var Oe = {
|
|
|
3400
3410
|
type: { kind: "string" }
|
|
3401
3411
|
},
|
|
3402
3412
|
label: {
|
|
3403
|
-
default:
|
|
3413
|
+
default: Ae,
|
|
3404
3414
|
description: "Accessible label.",
|
|
3405
3415
|
type: { kind: "text" }
|
|
3406
3416
|
},
|
|
@@ -3471,8 +3481,8 @@ var Oe = {
|
|
|
3471
3481
|
}
|
|
3472
3482
|
}
|
|
3473
3483
|
] }
|
|
3474
|
-
},
|
|
3475
|
-
function
|
|
3484
|
+
}, U = "set-nav", Pe = "data-set-scroll-locked";
|
|
3485
|
+
function Fe({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition: r = "start", id: o, items: s, label: c, size: l = "md" }) {
|
|
3476
3486
|
let u = a(o), d = n?.trim() || void 0, f = t?.trim();
|
|
3477
3487
|
if (e && !f) throw Error("contentId must be a non-empty string when collapsible is set.");
|
|
3478
3488
|
if (f && !i(f)) throw Error("contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -3496,7 +3506,7 @@ function Ae({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition:
|
|
|
3496
3506
|
}));
|
|
3497
3507
|
return {
|
|
3498
3508
|
kind: "element",
|
|
3499
|
-
tag:
|
|
3509
|
+
tag: U,
|
|
3500
3510
|
attrs: {
|
|
3501
3511
|
class: "set-nav",
|
|
3502
3512
|
"data-collapsible": e,
|
|
@@ -3529,10 +3539,10 @@ function Ae({ collapsible: e, contentId: t, expanderLabel: n, expanderPosition:
|
|
|
3529
3539
|
}]
|
|
3530
3540
|
};
|
|
3531
3541
|
}
|
|
3532
|
-
function
|
|
3533
|
-
return r(
|
|
3542
|
+
function Ie(e) {
|
|
3543
|
+
return r(Fe(e));
|
|
3534
3544
|
}
|
|
3535
|
-
function
|
|
3545
|
+
function Le() {
|
|
3536
3546
|
if (customElements.get("set-nav")) return;
|
|
3537
3547
|
class e extends HTMLElement {
|
|
3538
3548
|
#e;
|
|
@@ -3555,7 +3565,7 @@ function Me() {
|
|
|
3555
3565
|
let e = this.#i();
|
|
3556
3566
|
if (!e || e.querySelector("[data-part=\"expander\"]")) return;
|
|
3557
3567
|
let t = e.querySelector(".content");
|
|
3558
|
-
t && e.insertAdjacentHTML("afterbegin", `<div data-part="expander">${
|
|
3568
|
+
t && e.insertAdjacentHTML("afterbegin", `<div data-part="expander">${Me({
|
|
3559
3569
|
controlsId: t.id || void 0,
|
|
3560
3570
|
label: this.getAttribute("data-expander-label") || void 0,
|
|
3561
3571
|
size: this.getAttribute("data-size") === "sm" ? "md" : "lg"
|
|
@@ -3585,7 +3595,7 @@ function Me() {
|
|
|
3585
3595
|
}
|
|
3586
3596
|
#u(e) {
|
|
3587
3597
|
let t = this.ownerDocument.documentElement;
|
|
3588
|
-
t && (e ? t.setAttribute(
|
|
3598
|
+
t && (e ? t.setAttribute(Pe, "") : t.removeAttribute(Pe));
|
|
3589
3599
|
}
|
|
3590
3600
|
#d() {
|
|
3591
3601
|
this.#e &&= (this.removeEventListener("click", this.#e), void 0);
|
|
@@ -3595,14 +3605,14 @@ function Me() {
|
|
|
3595
3605
|
this.#n && e && e.removeEventListener("keydown", this.#n), this.#t && this.#r && this.#t.removeEventListener("change", this.#r), this.#n = void 0, this.#r = void 0, this.#t = void 0;
|
|
3596
3606
|
}
|
|
3597
3607
|
}
|
|
3598
|
-
customElements.define(
|
|
3608
|
+
customElements.define(U, e);
|
|
3599
3609
|
}
|
|
3600
|
-
var
|
|
3610
|
+
var Re = {
|
|
3601
3611
|
name: "nav",
|
|
3602
3612
|
category: "navigation",
|
|
3603
3613
|
description: "Use `nav` to render a primary navigation list.",
|
|
3604
3614
|
output: {
|
|
3605
|
-
element:
|
|
3615
|
+
element: U,
|
|
3606
3616
|
class: "set-nav"
|
|
3607
3617
|
},
|
|
3608
3618
|
content: {
|
|
@@ -3646,7 +3656,7 @@ var Ne = {
|
|
|
3646
3656
|
},
|
|
3647
3657
|
expanderPosition: {
|
|
3648
3658
|
default: "start",
|
|
3649
|
-
description: "
|
|
3659
|
+
description: "Which edge of the row the nav sits at while it is collapsed: `start` when it is the first item in its row, `end` when it is the last. Ignored unless `collapsible` is set.",
|
|
3650
3660
|
type: {
|
|
3651
3661
|
kind: "enum",
|
|
3652
3662
|
values: ["start", "end"]
|
|
@@ -3657,7 +3667,7 @@ var Ne = {
|
|
|
3657
3667
|
type: { kind: "string" }
|
|
3658
3668
|
},
|
|
3659
3669
|
collapsible: {
|
|
3660
|
-
description: "When to collapse the nav behind an expander.",
|
|
3670
|
+
description: "When to collapse the nav behind an expander. While it is collapsed, the nav must be the first or last item in its row, so the expander sits at the row's edge. With `belowTablet`, this applies only below tablet: above it, the nav can sit anywhere in the row. If the two positions differ, wrap the nav and move the wrapper with CSS `order` below the tablet breakpoint.",
|
|
3661
3671
|
type: {
|
|
3662
3672
|
kind: "enum",
|
|
3663
3673
|
values: ["always", "belowTablet"]
|
|
@@ -3773,8 +3783,8 @@ var Ne = {
|
|
|
3773
3783
|
}
|
|
3774
3784
|
}
|
|
3775
3785
|
] }
|
|
3776
|
-
},
|
|
3777
|
-
function
|
|
3786
|
+
}, W = "set-range";
|
|
3787
|
+
function ze({ description: e, disabled: t, id: n, inlineSize: r = "full", label: a, max: o, min: s, name: c, size: l = "md", step: u, value: d }) {
|
|
3778
3788
|
let f = n.trim(), p = e?.trim(), m = c?.trim();
|
|
3779
3789
|
if (!f) throw Error("id must be a non-empty string.");
|
|
3780
3790
|
if (!i(f)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -3835,7 +3845,7 @@ function Pe({ description: e, disabled: t, id: n, inlineSize: r = "full", label:
|
|
|
3835
3845
|
}]
|
|
3836
3846
|
}), {
|
|
3837
3847
|
kind: "element",
|
|
3838
|
-
tag:
|
|
3848
|
+
tag: W,
|
|
3839
3849
|
attrs: {
|
|
3840
3850
|
class: "set-range",
|
|
3841
3851
|
"data-inline-size": r === "fit" ? "fit" : void 0,
|
|
@@ -3844,10 +3854,10 @@ function Pe({ description: e, disabled: t, id: n, inlineSize: r = "full", label:
|
|
|
3844
3854
|
children: g
|
|
3845
3855
|
};
|
|
3846
3856
|
}
|
|
3847
|
-
function
|
|
3848
|
-
return r(
|
|
3857
|
+
function Be(e) {
|
|
3858
|
+
return r(ze(e));
|
|
3849
3859
|
}
|
|
3850
|
-
function
|
|
3860
|
+
function Ve() {
|
|
3851
3861
|
if (customElements.get("set-range")) return;
|
|
3852
3862
|
class e extends HTMLElement {
|
|
3853
3863
|
#e;
|
|
@@ -3891,14 +3901,14 @@ function Ie() {
|
|
|
3891
3901
|
this.#e &&= (delete this.#e.value, void 0);
|
|
3892
3902
|
}
|
|
3893
3903
|
}
|
|
3894
|
-
customElements.define(
|
|
3904
|
+
customElements.define(W, e);
|
|
3895
3905
|
}
|
|
3896
|
-
var
|
|
3906
|
+
var He = {
|
|
3897
3907
|
name: "range",
|
|
3898
3908
|
category: "control",
|
|
3899
3909
|
description: "Use `range` to let users pick a numeric value along a scale.",
|
|
3900
3910
|
output: {
|
|
3901
|
-
element:
|
|
3911
|
+
element: W,
|
|
3902
3912
|
class: "set-range"
|
|
3903
3913
|
},
|
|
3904
3914
|
content: {
|
|
@@ -4124,8 +4134,8 @@ var Le = {
|
|
|
4124
4134
|
}
|
|
4125
4135
|
}
|
|
4126
4136
|
] }
|
|
4127
|
-
},
|
|
4128
|
-
function
|
|
4137
|
+
}, G = "set-sidebar", Ue = "(min-width: 68em)", K = "Collapse sidebar", q = "Open sidebar";
|
|
4138
|
+
function We(e, t) {
|
|
4129
4139
|
return `<div data-part="close">${b({
|
|
4130
4140
|
appearance: "text",
|
|
4131
4141
|
icon: "panel-left",
|
|
@@ -4137,8 +4147,8 @@ function Be(e, t) {
|
|
|
4137
4147
|
type: "button"
|
|
4138
4148
|
})}</div>`;
|
|
4139
4149
|
}
|
|
4140
|
-
function
|
|
4141
|
-
let u = s.trim(), d = r.trim() ||
|
|
4150
|
+
function Ge({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n, collapseLabel: r = K, footer: a, header: o, id: s, surface: c, triggerLabel: l = q }) {
|
|
4151
|
+
let u = s.trim(), d = r.trim() || K, f = l.trim() || q;
|
|
4142
4152
|
if (!u) throw Error("id must be a non-empty string.");
|
|
4143
4153
|
if (!i(u)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
4144
4154
|
let p = [{
|
|
@@ -4170,11 +4180,11 @@ function Ve({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n
|
|
|
4170
4180
|
let m = `${u}-panel`;
|
|
4171
4181
|
return {
|
|
4172
4182
|
kind: "element",
|
|
4173
|
-
tag:
|
|
4183
|
+
tag: G,
|
|
4174
4184
|
attrs: {
|
|
4175
4185
|
class: "set-sidebar",
|
|
4176
4186
|
"data-above-notebook": e,
|
|
4177
|
-
"data-collapse-label": d ===
|
|
4187
|
+
"data-collapse-label": d === K ? void 0 : d,
|
|
4178
4188
|
"data-button-size": t,
|
|
4179
4189
|
id: u
|
|
4180
4190
|
},
|
|
@@ -4216,10 +4226,10 @@ function Ve({ aboveNotebook: e = "persistent", buttonSize: t = "md", children: n
|
|
|
4216
4226
|
]
|
|
4217
4227
|
};
|
|
4218
4228
|
}
|
|
4219
|
-
function
|
|
4220
|
-
return r(
|
|
4229
|
+
function Ke(e) {
|
|
4230
|
+
return r(Ge(e));
|
|
4221
4231
|
}
|
|
4222
|
-
function
|
|
4232
|
+
function qe() {
|
|
4223
4233
|
if (customElements.get("set-sidebar")) return;
|
|
4224
4234
|
class e extends HTMLElement {
|
|
4225
4235
|
#e;
|
|
@@ -4260,8 +4270,8 @@ function Ue() {
|
|
|
4260
4270
|
#u() {
|
|
4261
4271
|
let e = this.#i();
|
|
4262
4272
|
if (!e || e.querySelector("[data-part=\"close\"]")) return;
|
|
4263
|
-
let t = e.querySelector(".header"), n = this.getAttribute("data-collapse-label") ||
|
|
4264
|
-
t?.insertAdjacentHTML("beforeend",
|
|
4273
|
+
let t = e.querySelector(".header"), n = this.getAttribute("data-collapse-label") || K, r = this.getAttribute("data-button-size") ?? "md";
|
|
4274
|
+
t?.insertAdjacentHTML("beforeend", We(n, r));
|
|
4265
4275
|
}
|
|
4266
4276
|
#d() {
|
|
4267
4277
|
this.querySelector("[data-part=\"close\"]")?.remove();
|
|
@@ -4335,7 +4345,7 @@ function Ue() {
|
|
|
4335
4345
|
}
|
|
4336
4346
|
#v() {
|
|
4337
4347
|
let e = this.ownerDocument.defaultView;
|
|
4338
|
-
e && (typeof e.matchMedia == "function" && (this.#e = e.matchMedia(
|
|
4348
|
+
e && (typeof e.matchMedia == "function" && (this.#e = e.matchMedia(Ue), this.#r = () => {
|
|
4339
4349
|
this.#h();
|
|
4340
4350
|
}, this.#e.addEventListener("change", this.#r), this.#h()), this.#t = (e) => {
|
|
4341
4351
|
let t = e.target;
|
|
@@ -4357,14 +4367,14 @@ function Ue() {
|
|
|
4357
4367
|
this.#t && this.removeEventListener("click", this.#t), this.#n && this.removeEventListener("keydown", this.#n), this.#e && this.#r && this.#e.removeEventListener("change", this.#r), this.#t = void 0, this.#n = void 0, this.#e = void 0, this.#r = void 0;
|
|
4358
4368
|
}
|
|
4359
4369
|
}
|
|
4360
|
-
customElements.define(
|
|
4370
|
+
customElements.define(G, e);
|
|
4361
4371
|
}
|
|
4362
|
-
var
|
|
4372
|
+
var Je = {
|
|
4363
4373
|
name: "sidebar",
|
|
4364
4374
|
category: "structure",
|
|
4365
4375
|
description: "Use `sidebar` for a side panel alongside main content.",
|
|
4366
4376
|
output: {
|
|
4367
|
-
element:
|
|
4377
|
+
element: G,
|
|
4368
4378
|
class: "set-sidebar"
|
|
4369
4379
|
},
|
|
4370
4380
|
content: {
|
|
@@ -4414,7 +4424,7 @@ var We = {
|
|
|
4414
4424
|
type: { kind: "html" }
|
|
4415
4425
|
},
|
|
4416
4426
|
collapseLabel: {
|
|
4417
|
-
default:
|
|
4427
|
+
default: K,
|
|
4418
4428
|
description: "Accessible label for the collapse button.",
|
|
4419
4429
|
type: { kind: "string" }
|
|
4420
4430
|
},
|
|
@@ -4439,7 +4449,7 @@ var We = {
|
|
|
4439
4449
|
}
|
|
4440
4450
|
},
|
|
4441
4451
|
triggerLabel: {
|
|
4442
|
-
default:
|
|
4452
|
+
default: q,
|
|
4443
4453
|
description: "Accessible label for the open button.",
|
|
4444
4454
|
type: { kind: "string" }
|
|
4445
4455
|
}
|
|
@@ -4477,7 +4487,7 @@ var We = {
|
|
|
4477
4487
|
of: {
|
|
4478
4488
|
kind: "when-equals",
|
|
4479
4489
|
prop: "collapseLabel",
|
|
4480
|
-
to:
|
|
4490
|
+
to: K
|
|
4481
4491
|
}
|
|
4482
4492
|
}]
|
|
4483
4493
|
},
|
|
@@ -4535,13 +4545,13 @@ var We = {
|
|
|
4535
4545
|
}
|
|
4536
4546
|
}
|
|
4537
4547
|
] }
|
|
4538
|
-
},
|
|
4539
|
-
function
|
|
4548
|
+
}, J = "set-video";
|
|
4549
|
+
function Ye({ autoPlay: e, controls: t, fit: n = "intrinsic", height: r, id: i, loop: o, muted: s, playsInline: c, poster: l, preload: u, src: d, width: f }) {
|
|
4540
4550
|
let p = a(i), m = d.trim(), h = l?.trim();
|
|
4541
4551
|
if (!m) throw Error("src must be a non-empty string.");
|
|
4542
4552
|
return {
|
|
4543
4553
|
kind: "element",
|
|
4544
|
-
tag:
|
|
4554
|
+
tag: J,
|
|
4545
4555
|
attrs: {
|
|
4546
4556
|
class: "set-video",
|
|
4547
4557
|
"data-fluid": n === "fluid",
|
|
@@ -4567,11 +4577,11 @@ function Ge({ autoPlay: e, controls: t, fit: n = "intrinsic", height: r, id: i,
|
|
|
4567
4577
|
}]
|
|
4568
4578
|
};
|
|
4569
4579
|
}
|
|
4570
|
-
function
|
|
4571
|
-
return r(
|
|
4580
|
+
function Xe(e) {
|
|
4581
|
+
return r(Ye(e));
|
|
4572
4582
|
}
|
|
4573
|
-
var
|
|
4574
|
-
function
|
|
4583
|
+
var Ze = "(prefers-reduced-motion: reduce)";
|
|
4584
|
+
function Qe() {
|
|
4575
4585
|
if (customElements.get("set-video")) return;
|
|
4576
4586
|
class e extends HTMLElement {
|
|
4577
4587
|
#e = !1;
|
|
@@ -4581,7 +4591,7 @@ function Je() {
|
|
|
4581
4591
|
let e = this.querySelector("video");
|
|
4582
4592
|
if (!e || (this.#e ||= e.hasAttribute("autoplay"), !this.#e)) return;
|
|
4583
4593
|
let t = this.ownerDocument.defaultView;
|
|
4584
|
-
t && typeof t.matchMedia == "function" && (this.#t = t.matchMedia(
|
|
4594
|
+
t && typeof t.matchMedia == "function" && (this.#t = t.matchMedia(Ze), this.#n = () => {
|
|
4585
4595
|
this.#r();
|
|
4586
4596
|
}, this.#t.addEventListener("change", this.#n), this.#r());
|
|
4587
4597
|
}
|
|
@@ -4593,14 +4603,14 @@ function Je() {
|
|
|
4593
4603
|
e && this.#t && (this.#t.matches ? (e.removeAttribute("autoplay"), e.pause()) : (e.setAttribute("autoplay", ""), e.paused && e.play()?.catch?.(() => {})));
|
|
4594
4604
|
}
|
|
4595
4605
|
}
|
|
4596
|
-
customElements.define(
|
|
4606
|
+
customElements.define(J, e);
|
|
4597
4607
|
}
|
|
4598
|
-
var
|
|
4608
|
+
var $e = {
|
|
4599
4609
|
name: "video",
|
|
4600
4610
|
category: "graphic",
|
|
4601
4611
|
description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
|
|
4602
4612
|
output: {
|
|
4603
|
-
element:
|
|
4613
|
+
element: J,
|
|
4604
4614
|
class: "set-video"
|
|
4605
4615
|
},
|
|
4606
4616
|
content: { kind: "none" },
|
|
@@ -4806,53 +4816,53 @@ var Ye = {
|
|
|
4806
4816
|
] }
|
|
4807
4817
|
};
|
|
4808
4818
|
// src/components/avatar/get-initials.ts
|
|
4809
|
-
function
|
|
4819
|
+
function et(e) {
|
|
4810
4820
|
return e ? /[A-Za-z]/.test(e) : !1;
|
|
4811
4821
|
}
|
|
4812
|
-
function
|
|
4822
|
+
function tt(e) {
|
|
4813
4823
|
return /^[a-z]/.test(e);
|
|
4814
4824
|
}
|
|
4815
|
-
function
|
|
4825
|
+
function Y(e) {
|
|
4816
4826
|
let t = e.charAt(0);
|
|
4817
|
-
return
|
|
4827
|
+
return et(t) ? t : void 0;
|
|
4818
4828
|
}
|
|
4819
|
-
function
|
|
4829
|
+
function nt(e) {
|
|
4820
4830
|
let t = o(e);
|
|
4821
4831
|
if (!t) return;
|
|
4822
|
-
let n = t.split(" "), r =
|
|
4832
|
+
let n = t.split(" "), r = Y(n[0]);
|
|
4823
4833
|
if (!r) return;
|
|
4824
4834
|
let i = [r.toUpperCase()];
|
|
4825
4835
|
if (n.length === 1) return i[0];
|
|
4826
|
-
let a = n.slice(1).find(
|
|
4836
|
+
let a = n.slice(1).find(tt);
|
|
4827
4837
|
if (a) {
|
|
4828
|
-
let e =
|
|
4838
|
+
let e = Y(a);
|
|
4829
4839
|
return e ? `${i[0]}${e}` : void 0;
|
|
4830
4840
|
}
|
|
4831
4841
|
if (n.length === 2) {
|
|
4832
|
-
let e =
|
|
4842
|
+
let e = Y(n[1]);
|
|
4833
4843
|
if (!e) return;
|
|
4834
4844
|
i.push(e);
|
|
4835
4845
|
let t = n[1].split("-").filter(Boolean);
|
|
4836
4846
|
if (t.length === 2) {
|
|
4837
|
-
let e =
|
|
4847
|
+
let e = Y(t[1]);
|
|
4838
4848
|
e && i.push(e);
|
|
4839
4849
|
}
|
|
4840
4850
|
return i.slice(0, 3).join("");
|
|
4841
4851
|
}
|
|
4842
4852
|
if (n.length === 3) {
|
|
4843
|
-
let e =
|
|
4853
|
+
let e = Y(n[1]), t = Y(n[2]);
|
|
4844
4854
|
return !e || !t ? void 0 : (i.push(e, t), i.slice(0, 3).join(""));
|
|
4845
4855
|
}
|
|
4846
|
-
let s =
|
|
4856
|
+
let s = Y(n.at(-1) || "");
|
|
4847
4857
|
if (s) return i.push(s), i.slice(0, 3).join("");
|
|
4848
4858
|
}
|
|
4849
4859
|
// src/components/avatar/avatar.ts
|
|
4850
|
-
var
|
|
4860
|
+
var rt = {
|
|
4851
4861
|
bot: "robot-1",
|
|
4852
4862
|
organization: "city-6",
|
|
4853
4863
|
person: "user-1",
|
|
4854
4864
|
team: "member"
|
|
4855
|
-
},
|
|
4865
|
+
}, it = [
|
|
4856
4866
|
"01",
|
|
4857
4867
|
"02",
|
|
4858
4868
|
"03",
|
|
@@ -4863,12 +4873,12 @@ var $e = {
|
|
|
4863
4873
|
"08",
|
|
4864
4874
|
"09"
|
|
4865
4875
|
];
|
|
4866
|
-
function
|
|
4876
|
+
function at(e) {
|
|
4867
4877
|
let t = 5381;
|
|
4868
4878
|
for (let n of e) t = t * 33 ^ n.charCodeAt(0);
|
|
4869
4879
|
return t >>> 0;
|
|
4870
4880
|
}
|
|
4871
|
-
function
|
|
4881
|
+
function ot(e) {
|
|
4872
4882
|
if (e == null) return;
|
|
4873
4883
|
let t = o(e);
|
|
4874
4884
|
if (t) {
|
|
@@ -4877,18 +4887,18 @@ function nt(e) {
|
|
|
4877
4887
|
return t;
|
|
4878
4888
|
}
|
|
4879
4889
|
}
|
|
4880
|
-
function
|
|
4890
|
+
function st({ alt: e, ariaHidden: t, name: n }) {
|
|
4881
4891
|
if (!t) return o(e) || o(n) || "Avatar";
|
|
4882
4892
|
}
|
|
4883
|
-
function
|
|
4884
|
-
return e || (t ?
|
|
4893
|
+
function ct({ color: e, name: t }) {
|
|
4894
|
+
return e || (t ? it[at(t) % it.length] : "neutral");
|
|
4885
4895
|
}
|
|
4886
|
-
function
|
|
4887
|
-
let f = a(i), p =
|
|
4896
|
+
function lt({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, initials: s, name: c, size: l = "md", src: u }) {
|
|
4897
|
+
let f = a(i), p = ot(s), m = o(c), h = o(u), g = st({
|
|
4888
4898
|
alt: e,
|
|
4889
4899
|
ariaHidden: t,
|
|
4890
4900
|
name: m
|
|
4891
|
-
}), _ = p ||
|
|
4901
|
+
}), _ = p || nt(m), v = !!h, y = ct({
|
|
4892
4902
|
color: n,
|
|
4893
4903
|
name: m
|
|
4894
4904
|
}), b = {
|
|
@@ -4924,7 +4934,7 @@ function at({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, init
|
|
|
4924
4934
|
attrs: { class: "icon-wrapper" },
|
|
4925
4935
|
children: [d({
|
|
4926
4936
|
ariaHidden: !0,
|
|
4927
|
-
name:
|
|
4937
|
+
name: rt[r],
|
|
4928
4938
|
size: "fill"
|
|
4929
4939
|
})]
|
|
4930
4940
|
}, {
|
|
@@ -4934,10 +4944,10 @@ function at({ alt: e, ariaHidden: t, color: n, entity: r = "person", id: i, init
|
|
|
4934
4944
|
children: [x]
|
|
4935
4945
|
};
|
|
4936
4946
|
}
|
|
4937
|
-
function
|
|
4938
|
-
return r(
|
|
4947
|
+
function ut(e) {
|
|
4948
|
+
return r(lt(e));
|
|
4939
4949
|
}
|
|
4940
|
-
var
|
|
4950
|
+
var dt = {
|
|
4941
4951
|
name: "avatar",
|
|
4942
4952
|
category: "graphic",
|
|
4943
4953
|
description: "Use `avatar` to visually represent a person, team, or entity.",
|
|
@@ -4970,7 +4980,7 @@ var st = {
|
|
|
4970
4980
|
}
|
|
4971
4981
|
},
|
|
4972
4982
|
color: {
|
|
4973
|
-
description: "Background color swatch.
|
|
4983
|
+
description: "Background color swatch. Leave unset for a named person, team or organization: the color derives from the name, so each one is distinguishable. `neutral` is the fallback for an avatar with no name.",
|
|
4974
4984
|
type: {
|
|
4975
4985
|
kind: "enum",
|
|
4976
4986
|
values: [
|
|
@@ -5096,7 +5106,7 @@ var st = {
|
|
|
5096
5106
|
] }
|
|
5097
5107
|
};
|
|
5098
5108
|
// src/components/badge/badge.ts
|
|
5099
|
-
function
|
|
5109
|
+
function ft({ floating: e, id: t, label: n, size: r = "md", tone: i }) {
|
|
5100
5110
|
let o = a(t);
|
|
5101
5111
|
return {
|
|
5102
5112
|
kind: "element",
|
|
@@ -5114,10 +5124,10 @@ function ct({ floating: e, id: t, label: n, size: r = "md", tone: i }) {
|
|
|
5114
5124
|
}]
|
|
5115
5125
|
};
|
|
5116
5126
|
}
|
|
5117
|
-
function
|
|
5118
|
-
return r(
|
|
5127
|
+
function pt(e) {
|
|
5128
|
+
return r(ft(e));
|
|
5119
5129
|
}
|
|
5120
|
-
var
|
|
5130
|
+
var mt = {
|
|
5121
5131
|
name: "badge",
|
|
5122
5132
|
category: "status",
|
|
5123
5133
|
description: "Use `badge` to annotate content with a short label.",
|
|
@@ -5211,7 +5221,7 @@ var ut = {
|
|
|
5211
5221
|
] }
|
|
5212
5222
|
};
|
|
5213
5223
|
// src/components/text/text.ts
|
|
5214
|
-
function
|
|
5224
|
+
function X({ align: e, as: t, children: n, id: r, linkVisited: i = !0, measured: o, monospaced: s, responsive: c, size: l = "md", tone: u = "default" }) {
|
|
5215
5225
|
let d = a(r), f = t === "p" ? "p" : "span", p = f === "p", m = p ? e ?? "start" : void 0;
|
|
5216
5226
|
return {
|
|
5217
5227
|
kind: "element",
|
|
@@ -5233,10 +5243,10 @@ function Z({ align: e, as: t, children: n, id: r, linkVisited: i = !0, measured:
|
|
|
5233
5243
|
}]
|
|
5234
5244
|
};
|
|
5235
5245
|
}
|
|
5236
|
-
function
|
|
5237
|
-
return r(
|
|
5246
|
+
function ht(e) {
|
|
5247
|
+
return r(X(e));
|
|
5238
5248
|
}
|
|
5239
|
-
var
|
|
5249
|
+
var gt = {
|
|
5240
5250
|
name: "text",
|
|
5241
5251
|
category: "typographic",
|
|
5242
5252
|
description: "Use `text` for inline or paragraph body copy.",
|
|
@@ -5432,7 +5442,7 @@ var ft = {
|
|
|
5432
5442
|
] }
|
|
5433
5443
|
};
|
|
5434
5444
|
// src/components/blockquote/blockquote.ts
|
|
5435
|
-
function
|
|
5445
|
+
function _t({ align: e = "start", attribution: t, id: n, measured: r = !0, quote: i, responsive: o = !1, size: s = "md" }) {
|
|
5436
5446
|
let c = a(n);
|
|
5437
5447
|
return {
|
|
5438
5448
|
kind: "element",
|
|
@@ -5446,7 +5456,7 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
|
|
|
5446
5456
|
kind: "element",
|
|
5447
5457
|
tag: "blockquote",
|
|
5448
5458
|
attrs: { class: "quote" },
|
|
5449
|
-
children: [
|
|
5459
|
+
children: [X({
|
|
5450
5460
|
align: e,
|
|
5451
5461
|
as: "p",
|
|
5452
5462
|
children: i,
|
|
@@ -5458,7 +5468,7 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
|
|
|
5458
5468
|
kind: "element",
|
|
5459
5469
|
tag: "figcaption",
|
|
5460
5470
|
attrs: { class: "attribution" },
|
|
5461
|
-
children: [
|
|
5471
|
+
children: [X({
|
|
5462
5472
|
as: "span",
|
|
5463
5473
|
children: t,
|
|
5464
5474
|
responsive: o,
|
|
@@ -5467,10 +5477,10 @@ function pt({ align: e = "start", attribution: t, id: n, measured: r = !0, quote
|
|
|
5467
5477
|
}]
|
|
5468
5478
|
};
|
|
5469
5479
|
}
|
|
5470
|
-
function
|
|
5471
|
-
return r(
|
|
5480
|
+
function vt(e) {
|
|
5481
|
+
return r(_t(e));
|
|
5472
5482
|
}
|
|
5473
|
-
var
|
|
5483
|
+
var yt = {
|
|
5474
5484
|
name: "blockquote",
|
|
5475
5485
|
category: "typographic",
|
|
5476
5486
|
description: "Use `blockquote` to display a quote with attribution.",
|
|
@@ -5561,7 +5571,7 @@ var ht = {
|
|
|
5561
5571
|
}] }
|
|
5562
5572
|
};
|
|
5563
5573
|
// src/components/box/box.ts
|
|
5564
|
-
function
|
|
5574
|
+
function bt({ background: e = "default", border: t, children: n, id: r, paddingBlock: i = "md", paddingInline: o = "md", radius: s, responsive: c, surface: l }) {
|
|
5565
5575
|
let u = a(r);
|
|
5566
5576
|
return {
|
|
5567
5577
|
kind: "element",
|
|
@@ -5583,10 +5593,10 @@ function gt({ background: e = "default", border: t, children: n, id: r, paddingB
|
|
|
5583
5593
|
}] : []
|
|
5584
5594
|
};
|
|
5585
5595
|
}
|
|
5586
|
-
function
|
|
5587
|
-
return r(
|
|
5596
|
+
function xt(e) {
|
|
5597
|
+
return r(bt(e));
|
|
5588
5598
|
}
|
|
5589
|
-
var
|
|
5599
|
+
var St = {
|
|
5590
5600
|
name: "box",
|
|
5591
5601
|
category: "layout",
|
|
5592
5602
|
description: "Use `box` to inset content.",
|
|
@@ -5772,7 +5782,7 @@ var vt = {
|
|
|
5772
5782
|
] }
|
|
5773
5783
|
};
|
|
5774
5784
|
// src/components/card/card.ts
|
|
5775
|
-
function
|
|
5785
|
+
function Ct({ description: e, headingLevel: t, href: n, id: r, note: i, surface: o, title: s }) {
|
|
5776
5786
|
let c = a(r), l = t ? `h${t}` : "div", u = n ? [{
|
|
5777
5787
|
kind: "element",
|
|
5778
5788
|
tag: "a",
|
|
@@ -5843,10 +5853,10 @@ function yt({ description: e, headingLevel: t, href: n, id: r, note: i, surface:
|
|
|
5843
5853
|
children: p
|
|
5844
5854
|
};
|
|
5845
5855
|
}
|
|
5846
|
-
function
|
|
5847
|
-
return r(
|
|
5856
|
+
function wt(e) {
|
|
5857
|
+
return r(Ct(e));
|
|
5848
5858
|
}
|
|
5849
|
-
var
|
|
5859
|
+
var Tt = {
|
|
5850
5860
|
name: "card",
|
|
5851
5861
|
category: "structure",
|
|
5852
5862
|
description: "Use `card` to display a summary for a single topic.",
|
|
@@ -5942,7 +5952,7 @@ var xt = {
|
|
|
5942
5952
|
}] }
|
|
5943
5953
|
};
|
|
5944
5954
|
// src/components/checkbox/checkbox.ts
|
|
5945
|
-
function
|
|
5955
|
+
function Et({ checked: e, description: t, disabled: n, id: r, invalid: i, label: o, name: s, required: c, size: l = "md", value: u }) {
|
|
5946
5956
|
let d = a(r), f = t?.trim();
|
|
5947
5957
|
if (f && !d) throw Error("id must be provided when description is provided.");
|
|
5948
5958
|
let p = f ? `${d}-description` : void 0, m = !!n, h = [{
|
|
@@ -5996,10 +6006,10 @@ function St({ checked: e, description: t, disabled: n, id: r, invalid: i, label:
|
|
|
5996
6006
|
children: h
|
|
5997
6007
|
};
|
|
5998
6008
|
}
|
|
5999
|
-
function
|
|
6000
|
-
return r(
|
|
6009
|
+
function Dt(e) {
|
|
6010
|
+
return r(Et(e));
|
|
6001
6011
|
}
|
|
6002
|
-
var
|
|
6012
|
+
var Ot = {
|
|
6003
6013
|
name: "checkbox",
|
|
6004
6014
|
category: "control",
|
|
6005
6015
|
description: "Use `checkbox` to let users toggle a single option on or off.",
|
|
@@ -6210,7 +6220,7 @@ var wt = {
|
|
|
6210
6220
|
] }
|
|
6211
6221
|
};
|
|
6212
6222
|
// src/components/container/container.ts
|
|
6213
|
-
function
|
|
6223
|
+
function kt({ children: e, gutter: t = "default", id: n, maxInlineSize: r = "default" }) {
|
|
6214
6224
|
let i = a(n);
|
|
6215
6225
|
return {
|
|
6216
6226
|
kind: "element",
|
|
@@ -6227,10 +6237,10 @@ function Tt({ children: e, gutter: t = "default", id: n, maxInlineSize: r = "def
|
|
|
6227
6237
|
}] : []
|
|
6228
6238
|
};
|
|
6229
6239
|
}
|
|
6230
|
-
function
|
|
6231
|
-
return r(
|
|
6240
|
+
function At(e) {
|
|
6241
|
+
return r(kt(e));
|
|
6232
6242
|
}
|
|
6233
|
-
var
|
|
6243
|
+
var jt = {
|
|
6234
6244
|
name: "container",
|
|
6235
6245
|
category: "layout",
|
|
6236
6246
|
description: "Use `container` to wrap page-level content.",
|
|
@@ -6319,7 +6329,7 @@ var Dt = {
|
|
|
6319
6329
|
] }
|
|
6320
6330
|
};
|
|
6321
6331
|
// src/components/details/details.ts
|
|
6322
|
-
function
|
|
6332
|
+
function Mt({ children: e, id: t, open: n, summary: r, inlineSize: i = "full" }) {
|
|
6323
6333
|
let o = a(t);
|
|
6324
6334
|
return {
|
|
6325
6335
|
kind: "element",
|
|
@@ -6363,10 +6373,10 @@ function Ot({ children: e, id: t, open: n, summary: r, inlineSize: i = "full" })
|
|
|
6363
6373
|
}]
|
|
6364
6374
|
};
|
|
6365
6375
|
}
|
|
6366
|
-
function
|
|
6367
|
-
return r(
|
|
6376
|
+
function Nt(e) {
|
|
6377
|
+
return r(Mt(e));
|
|
6368
6378
|
}
|
|
6369
|
-
var
|
|
6379
|
+
var Pt = {
|
|
6370
6380
|
name: "details",
|
|
6371
6381
|
category: "structure",
|
|
6372
6382
|
description: "Use `details` to let users expand and collapse a section of content.",
|
|
@@ -6448,14 +6458,14 @@ var At = {
|
|
|
6448
6458
|
}
|
|
6449
6459
|
}
|
|
6450
6460
|
] }
|
|
6451
|
-
},
|
|
6452
|
-
function
|
|
6453
|
-
return e <= 0 ? 0 : e >= 100 ?
|
|
6461
|
+
}, Ft = 16;
|
|
6462
|
+
function It(e) {
|
|
6463
|
+
return e <= 0 ? 0 : e >= 100 ? Ft : Math.min(15, Math.max(1, Math.round(e / 100 * Ft)));
|
|
6454
6464
|
}
|
|
6455
|
-
function
|
|
6465
|
+
function Lt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, children: i, density: o = 50, id: s, ramp: c, tone: l = "default" } = {}) {
|
|
6456
6466
|
let u = a(s), d = [];
|
|
6457
6467
|
t && d.push(`--set-dither-block-size: ${t / 16}rem`), r && d.push(`--set-dither-inline-size: ${r / 16}rem`);
|
|
6458
|
-
let f =
|
|
6468
|
+
let f = It(o), p = c ? Array.from({ length: f + 1 }, (e, t) => {
|
|
6459
6469
|
let n = c === "inline-start" || c === "block-start" ? f - t : t;
|
|
6460
6470
|
return {
|
|
6461
6471
|
kind: "element",
|
|
@@ -6497,10 +6507,10 @@ function Nt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, child
|
|
|
6497
6507
|
}] : []]
|
|
6498
6508
|
};
|
|
6499
6509
|
}
|
|
6500
|
-
function
|
|
6501
|
-
return r(
|
|
6510
|
+
function Rt(e = {}) {
|
|
6511
|
+
return r(Lt(e));
|
|
6502
6512
|
}
|
|
6503
|
-
var
|
|
6513
|
+
var zt = {
|
|
6504
6514
|
name: "dither",
|
|
6505
6515
|
category: "graphic",
|
|
6506
6516
|
description: "Use `dither` to render an ordered dither as a graphic or behind content.",
|
|
@@ -6681,7 +6691,7 @@ var Ft = {
|
|
|
6681
6691
|
] }
|
|
6682
6692
|
};
|
|
6683
6693
|
// src/components/divider/divider.ts
|
|
6684
|
-
function
|
|
6694
|
+
function Bt({ id: e, orientation: t = "horizontal", tone: n = "default" } = {}) {
|
|
6685
6695
|
let r = a(e);
|
|
6686
6696
|
return {
|
|
6687
6697
|
kind: "element",
|
|
@@ -6696,10 +6706,10 @@ function It({ id: e, orientation: t = "horizontal", tone: n = "default" } = {})
|
|
|
6696
6706
|
children: []
|
|
6697
6707
|
};
|
|
6698
6708
|
}
|
|
6699
|
-
function
|
|
6700
|
-
return r(
|
|
6709
|
+
function Vt(e = {}) {
|
|
6710
|
+
return r(Bt(e));
|
|
6701
6711
|
}
|
|
6702
|
-
var
|
|
6712
|
+
var Ht = {
|
|
6703
6713
|
name: "divider",
|
|
6704
6714
|
category: "layout",
|
|
6705
6715
|
description: "Use `divider` to separate sections with a rule.",
|
|
@@ -6797,7 +6807,7 @@ var Rt = {
|
|
|
6797
6807
|
] }
|
|
6798
6808
|
};
|
|
6799
6809
|
// src/components/fieldset/fieldset.ts
|
|
6800
|
-
function
|
|
6810
|
+
function Ut({ children: e, description: t, disabled: n, id: r, invalid: a, legend: o, inlineSize: s = "full" }) {
|
|
6801
6811
|
let c = t?.trim(), l = r.trim();
|
|
6802
6812
|
if (!l) throw Error("id must be a non-empty string.");
|
|
6803
6813
|
if (!i(l)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -6838,10 +6848,10 @@ function zt({ children: e, description: t, disabled: n, id: r, invalid: a, legen
|
|
|
6838
6848
|
children: p
|
|
6839
6849
|
};
|
|
6840
6850
|
}
|
|
6841
|
-
function
|
|
6842
|
-
return r(
|
|
6851
|
+
function Wt(e) {
|
|
6852
|
+
return r(Ut(e));
|
|
6843
6853
|
}
|
|
6844
|
-
var
|
|
6854
|
+
var Gt = {
|
|
6845
6855
|
name: "fieldset",
|
|
6846
6856
|
category: "control",
|
|
6847
6857
|
description: "Use `fieldset` to group related form controls under a legend.",
|
|
@@ -6966,7 +6976,7 @@ var Vt = {
|
|
|
6966
6976
|
] }
|
|
6967
6977
|
};
|
|
6968
6978
|
// src/components/figure/figure.ts
|
|
6969
|
-
function
|
|
6979
|
+
function Kt({ align: e = "start", caption: t, children: n, id: r, inlineSize: i = "full", responsive: o = !1 }) {
|
|
6970
6980
|
let s = a(r);
|
|
6971
6981
|
return {
|
|
6972
6982
|
kind: "element",
|
|
@@ -6984,7 +6994,7 @@ function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i
|
|
|
6984
6994
|
kind: "element",
|
|
6985
6995
|
tag: "figcaption",
|
|
6986
6996
|
attrs: { class: "figcaption" },
|
|
6987
|
-
children: [
|
|
6997
|
+
children: [X({
|
|
6988
6998
|
as: "span",
|
|
6989
6999
|
children: t,
|
|
6990
7000
|
responsive: o,
|
|
@@ -6993,10 +7003,10 @@ function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i
|
|
|
6993
7003
|
}]
|
|
6994
7004
|
};
|
|
6995
7005
|
}
|
|
6996
|
-
function
|
|
6997
|
-
return r(
|
|
7006
|
+
function qt(e) {
|
|
7007
|
+
return r(Kt(e));
|
|
6998
7008
|
}
|
|
6999
|
-
var
|
|
7009
|
+
var Jt = {
|
|
7000
7010
|
name: "figure",
|
|
7001
7011
|
category: "structure",
|
|
7002
7012
|
description: "Use `figure` to present media with a caption.",
|
|
@@ -7096,10 +7106,10 @@ var Wt = {
|
|
|
7096
7106
|
}
|
|
7097
7107
|
}
|
|
7098
7108
|
] }
|
|
7099
|
-
},
|
|
7109
|
+
}, Z = (e) => {
|
|
7100
7110
|
if (e !== void 0) return String(e);
|
|
7101
7111
|
};
|
|
7102
|
-
function
|
|
7112
|
+
function Yt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
|
|
7103
7113
|
let i = a(n);
|
|
7104
7114
|
return {
|
|
7105
7115
|
kind: "element",
|
|
@@ -7121,10 +7131,10 @@ function Gt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
|
|
|
7121
7131
|
}]
|
|
7122
7132
|
};
|
|
7123
7133
|
}
|
|
7124
|
-
function
|
|
7125
|
-
return r(
|
|
7134
|
+
function Xt(e) {
|
|
7135
|
+
return r(Yt(e));
|
|
7126
7136
|
}
|
|
7127
|
-
function
|
|
7137
|
+
function Zt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide: i, colStart: o, colStartNarrow: s, colStartWide: c, id: l, justify: u, rowSpan: d, rowSpanNarrow: f, rowSpanWide: p, rowStart: m, rowStartNarrow: h, rowStartWide: g }) {
|
|
7128
7138
|
let _ = a(l);
|
|
7129
7139
|
return {
|
|
7130
7140
|
kind: "element",
|
|
@@ -7133,18 +7143,18 @@ function qt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide:
|
|
|
7133
7143
|
class: "set-grid-item",
|
|
7134
7144
|
"data-align": e,
|
|
7135
7145
|
"data-justify": u,
|
|
7136
|
-
"data-col-span-narrow":
|
|
7137
|
-
"data-col-start-narrow":
|
|
7138
|
-
"data-col-span":
|
|
7139
|
-
"data-col-start":
|
|
7140
|
-
"data-col-span-wide":
|
|
7141
|
-
"data-col-start-wide":
|
|
7142
|
-
"data-row-span-narrow":
|
|
7143
|
-
"data-row-start-narrow":
|
|
7144
|
-
"data-row-span":
|
|
7145
|
-
"data-row-start":
|
|
7146
|
-
"data-row-span-wide":
|
|
7147
|
-
"data-row-start-wide":
|
|
7146
|
+
"data-col-span-narrow": Z(r),
|
|
7147
|
+
"data-col-start-narrow": Z(s),
|
|
7148
|
+
"data-col-span": Z(n),
|
|
7149
|
+
"data-col-start": Z(o),
|
|
7150
|
+
"data-col-span-wide": Z(i),
|
|
7151
|
+
"data-col-start-wide": Z(c),
|
|
7152
|
+
"data-row-span-narrow": Z(f),
|
|
7153
|
+
"data-row-start-narrow": Z(h),
|
|
7154
|
+
"data-row-span": Z(d),
|
|
7155
|
+
"data-row-start": Z(m),
|
|
7156
|
+
"data-row-span-wide": Z(p),
|
|
7157
|
+
"data-row-start-wide": Z(g),
|
|
7148
7158
|
id: _
|
|
7149
7159
|
},
|
|
7150
7160
|
children: t ? [{
|
|
@@ -7153,10 +7163,10 @@ function qt({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide:
|
|
|
7153
7163
|
}] : []
|
|
7154
7164
|
};
|
|
7155
7165
|
}
|
|
7156
|
-
function
|
|
7157
|
-
return r(
|
|
7166
|
+
function Qt(e) {
|
|
7167
|
+
return r(Zt(e));
|
|
7158
7168
|
}
|
|
7159
|
-
var
|
|
7169
|
+
var $t = {
|
|
7160
7170
|
name: "grid",
|
|
7161
7171
|
category: "layout",
|
|
7162
7172
|
description: "Use `grid` to lay out content in a 12-column grid that responds to its container.",
|
|
@@ -7246,12 +7256,12 @@ var Yt = {
|
|
|
7246
7256
|
}
|
|
7247
7257
|
}
|
|
7248
7258
|
] }
|
|
7249
|
-
},
|
|
7259
|
+
}, Q = {
|
|
7250
7260
|
kind: "number",
|
|
7251
7261
|
min: 1,
|
|
7252
7262
|
max: 12,
|
|
7253
7263
|
integer: !0
|
|
7254
|
-
},
|
|
7264
|
+
}, en = {
|
|
7255
7265
|
name: "grid-item",
|
|
7256
7266
|
category: "layout",
|
|
7257
7267
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
@@ -7292,11 +7302,11 @@ var Yt = {
|
|
|
7292
7302
|
},
|
|
7293
7303
|
colSpan: {
|
|
7294
7304
|
description: "Columns spanned when the grid's container is at its default width.",
|
|
7295
|
-
type:
|
|
7305
|
+
type: Q
|
|
7296
7306
|
},
|
|
7297
7307
|
colStart: {
|
|
7298
7308
|
description: "Starting column when the grid's container is at its default width.",
|
|
7299
|
-
type:
|
|
7309
|
+
type: Q
|
|
7300
7310
|
},
|
|
7301
7311
|
id: {
|
|
7302
7312
|
description: "DOM id.",
|
|
@@ -7304,43 +7314,43 @@ var Yt = {
|
|
|
7304
7314
|
},
|
|
7305
7315
|
rowSpan: {
|
|
7306
7316
|
description: "Rows spanned when the grid's container is at its default width.",
|
|
7307
|
-
type:
|
|
7317
|
+
type: Q
|
|
7308
7318
|
},
|
|
7309
7319
|
rowSpanNarrow: {
|
|
7310
7320
|
description: "Rows spanned when the grid's container is narrow.",
|
|
7311
|
-
type:
|
|
7321
|
+
type: Q
|
|
7312
7322
|
},
|
|
7313
7323
|
rowSpanWide: {
|
|
7314
7324
|
description: "Rows spanned when the grid's container is wide.",
|
|
7315
|
-
type:
|
|
7325
|
+
type: Q
|
|
7316
7326
|
},
|
|
7317
7327
|
rowStart: {
|
|
7318
7328
|
description: "Starting row when the grid's container is at its default width.",
|
|
7319
|
-
type:
|
|
7329
|
+
type: Q
|
|
7320
7330
|
},
|
|
7321
7331
|
rowStartNarrow: {
|
|
7322
7332
|
description: "Starting row when the grid's container is narrow.",
|
|
7323
|
-
type:
|
|
7333
|
+
type: Q
|
|
7324
7334
|
},
|
|
7325
7335
|
rowStartWide: {
|
|
7326
7336
|
description: "Starting row when the grid's container is wide.",
|
|
7327
|
-
type:
|
|
7337
|
+
type: Q
|
|
7328
7338
|
},
|
|
7329
7339
|
colSpanNarrow: {
|
|
7330
7340
|
description: "Columns spanned when the grid's container is narrow.",
|
|
7331
|
-
type:
|
|
7341
|
+
type: Q
|
|
7332
7342
|
},
|
|
7333
7343
|
colStartNarrow: {
|
|
7334
7344
|
description: "Starting column when the grid's container is narrow.",
|
|
7335
|
-
type:
|
|
7345
|
+
type: Q
|
|
7336
7346
|
},
|
|
7337
7347
|
colSpanWide: {
|
|
7338
7348
|
description: "Columns spanned when the grid's container is wide.",
|
|
7339
|
-
type:
|
|
7349
|
+
type: Q
|
|
7340
7350
|
},
|
|
7341
7351
|
colStartWide: {
|
|
7342
7352
|
description: "Starting column when the grid's container is wide.",
|
|
7343
|
-
type:
|
|
7353
|
+
type: Q
|
|
7344
7354
|
}
|
|
7345
7355
|
},
|
|
7346
7356
|
events: {},
|
|
@@ -7528,7 +7538,7 @@ var Yt = {
|
|
|
7528
7538
|
] }
|
|
7529
7539
|
};
|
|
7530
7540
|
// src/components/heading/heading.ts
|
|
7531
|
-
function
|
|
7541
|
+
function tn({ align: e = "start", children: t, id: n, level: r, linkVisited: i = !0, opticalAlign: o, responsive: s, size: c = "md" }) {
|
|
7532
7542
|
let l = a(n);
|
|
7533
7543
|
return {
|
|
7534
7544
|
kind: "element",
|
|
@@ -7548,10 +7558,10 @@ function Zt({ align: e = "start", children: t, id: n, level: r, linkVisited: i =
|
|
|
7548
7558
|
}]
|
|
7549
7559
|
};
|
|
7550
7560
|
}
|
|
7551
|
-
function
|
|
7552
|
-
return r(
|
|
7561
|
+
function nn(e) {
|
|
7562
|
+
return r(tn(e));
|
|
7553
7563
|
}
|
|
7554
|
-
var
|
|
7564
|
+
var rn = {
|
|
7555
7565
|
name: "heading",
|
|
7556
7566
|
category: "typographic",
|
|
7557
7567
|
description: "Use `heading` to render heading text with consistent type.",
|
|
@@ -7714,7 +7724,7 @@ var $t = {
|
|
|
7714
7724
|
] }
|
|
7715
7725
|
};
|
|
7716
7726
|
// src/components/inline/inline.ts
|
|
7717
|
-
function
|
|
7727
|
+
function an({ align: e = "center", as: t = "div", children: n, gap: r = "md", id: i, justify: o = "start", nowrap: s }) {
|
|
7718
7728
|
let c = a(i);
|
|
7719
7729
|
return {
|
|
7720
7730
|
kind: "element",
|
|
@@ -7733,10 +7743,10 @@ function en({ align: e = "center", as: t = "div", children: n, gap: r = "md", id
|
|
|
7733
7743
|
}] : []
|
|
7734
7744
|
};
|
|
7735
7745
|
}
|
|
7736
|
-
function
|
|
7737
|
-
return r(
|
|
7746
|
+
function on(e) {
|
|
7747
|
+
return r(an(e));
|
|
7738
7748
|
}
|
|
7739
|
-
var
|
|
7749
|
+
var sn = {
|
|
7740
7750
|
name: "inline",
|
|
7741
7751
|
category: "layout",
|
|
7742
7752
|
description: "Use `inline` to lay out content in a horizontal row.",
|
|
@@ -7766,13 +7776,14 @@ var nn = {
|
|
|
7766
7776
|
},
|
|
7767
7777
|
align: {
|
|
7768
7778
|
default: "center",
|
|
7769
|
-
description: "Aligns items on the cross axis.",
|
|
7779
|
+
description: "Aligns items on the cross axis. `baseline` lines up the first line of text in each item, for a row of different type sizes.",
|
|
7770
7780
|
type: {
|
|
7771
7781
|
kind: "enum",
|
|
7772
7782
|
values: [
|
|
7773
7783
|
"start",
|
|
7774
7784
|
"center",
|
|
7775
|
-
"end"
|
|
7785
|
+
"end",
|
|
7786
|
+
"baseline"
|
|
7776
7787
|
]
|
|
7777
7788
|
}
|
|
7778
7789
|
},
|
|
@@ -7824,7 +7835,11 @@ var nn = {
|
|
|
7824
7835
|
condition: {
|
|
7825
7836
|
kind: "when-in",
|
|
7826
7837
|
prop: "align",
|
|
7827
|
-
values: [
|
|
7838
|
+
values: [
|
|
7839
|
+
"start",
|
|
7840
|
+
"end",
|
|
7841
|
+
"baseline"
|
|
7842
|
+
]
|
|
7828
7843
|
},
|
|
7829
7844
|
value: {
|
|
7830
7845
|
kind: "prop",
|
|
@@ -7880,7 +7895,7 @@ var nn = {
|
|
|
7880
7895
|
] }
|
|
7881
7896
|
};
|
|
7882
7897
|
// src/components/input/input.ts
|
|
7883
|
-
function
|
|
7898
|
+
function cn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, pattern: c, readOnly: l, required: u, size: d = "md", spellcheck: f, type: p = "text", value: m, inlineSize: h = "full" }) {
|
|
7884
7899
|
let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = c?.trim(), x = m;
|
|
7885
7900
|
if (!g) throw Error("id must be a non-empty string.");
|
|
7886
7901
|
if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -7938,10 +7953,10 @@ function rn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
|
|
|
7938
7953
|
children: k
|
|
7939
7954
|
};
|
|
7940
7955
|
}
|
|
7941
|
-
function
|
|
7942
|
-
return r(
|
|
7956
|
+
function ln(e) {
|
|
7957
|
+
return r(cn(e));
|
|
7943
7958
|
}
|
|
7944
|
-
var
|
|
7959
|
+
var un = {
|
|
7945
7960
|
name: "input",
|
|
7946
7961
|
category: "control",
|
|
7947
7962
|
description: "Use `input` to collect a single line of text from users.",
|
|
@@ -8281,7 +8296,7 @@ var on = {
|
|
|
8281
8296
|
}
|
|
8282
8297
|
}
|
|
8283
8298
|
] }
|
|
8284
|
-
},
|
|
8299
|
+
}, dn = "0 0 6714.6 1200", fn = "0 0 600 1200", pn = [
|
|
8285
8300
|
{
|
|
8286
8301
|
x: 0,
|
|
8287
8302
|
y: 0
|
|
@@ -8314,11 +8329,11 @@ var on = {
|
|
|
8314
8329
|
x: 450,
|
|
8315
8330
|
y: 900
|
|
8316
8331
|
}
|
|
8317
|
-
],
|
|
8332
|
+
], mn = "M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180", hn = 1163, gn = () => ({
|
|
8318
8333
|
kind: "element",
|
|
8319
8334
|
tag: "g",
|
|
8320
8335
|
attrs: { class: "mark" },
|
|
8321
|
-
children:
|
|
8336
|
+
children: pn.map(({ x: e, y: t }) => ({
|
|
8322
8337
|
kind: "element",
|
|
8323
8338
|
tag: "rect",
|
|
8324
8339
|
attrs: {
|
|
@@ -8329,20 +8344,20 @@ var on = {
|
|
|
8329
8344
|
},
|
|
8330
8345
|
children: []
|
|
8331
8346
|
}))
|
|
8332
|
-
}),
|
|
8347
|
+
}), _n = () => ({
|
|
8333
8348
|
kind: "element",
|
|
8334
8349
|
tag: "g",
|
|
8335
8350
|
attrs: {
|
|
8336
8351
|
class: "word",
|
|
8337
|
-
transform: `translate(${
|
|
8352
|
+
transform: `translate(${hn} 0)`
|
|
8338
8353
|
},
|
|
8339
8354
|
children: [{
|
|
8340
8355
|
kind: "element",
|
|
8341
8356
|
tag: "path",
|
|
8342
|
-
attrs: { d:
|
|
8357
|
+
attrs: { d: mn },
|
|
8343
8358
|
children: []
|
|
8344
8359
|
}]
|
|
8345
|
-
}),
|
|
8360
|
+
}), vn = (e, t) => ({
|
|
8346
8361
|
kind: "element",
|
|
8347
8362
|
tag: "svg",
|
|
8348
8363
|
attrs: {
|
|
@@ -8352,14 +8367,14 @@ var on = {
|
|
|
8352
8367
|
},
|
|
8353
8368
|
children: t
|
|
8354
8369
|
});
|
|
8355
|
-
function
|
|
8356
|
-
return
|
|
8370
|
+
function yn() {
|
|
8371
|
+
return vn(dn, [gn(), _n()]);
|
|
8357
8372
|
}
|
|
8358
|
-
function
|
|
8359
|
-
return
|
|
8373
|
+
function bn() {
|
|
8374
|
+
return vn(fn, [gn()]);
|
|
8360
8375
|
}
|
|
8361
8376
|
// src/components/logo/logo.ts
|
|
8362
|
-
function
|
|
8377
|
+
function xn({ animated: e, id: t, label: n, size: r = "md", tone: i = "default", variant: o = "primary" }) {
|
|
8363
8378
|
let s = a(t), c = !!e && (o === "primary" || o === "graphic"), l = [{
|
|
8364
8379
|
kind: "element",
|
|
8365
8380
|
tag: "span",
|
|
@@ -8369,7 +8384,7 @@ function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
|
|
|
8369
8384
|
value: n
|
|
8370
8385
|
}]
|
|
8371
8386
|
}];
|
|
8372
|
-
return c && l.push(o === "graphic" ?
|
|
8387
|
+
return c && l.push(o === "graphic" ? bn() : yn()), {
|
|
8373
8388
|
kind: "element",
|
|
8374
8389
|
tag: "div",
|
|
8375
8390
|
attrs: {
|
|
@@ -8383,10 +8398,10 @@ function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
|
|
|
8383
8398
|
children: l
|
|
8384
8399
|
};
|
|
8385
8400
|
}
|
|
8386
|
-
function
|
|
8387
|
-
return r(
|
|
8401
|
+
function Sn(e) {
|
|
8402
|
+
return r(xn(e));
|
|
8388
8403
|
}
|
|
8389
|
-
var
|
|
8404
|
+
var Cn = {
|
|
8390
8405
|
name: "logo",
|
|
8391
8406
|
category: "graphic",
|
|
8392
8407
|
description: "Use `logo` to display the brand mark.",
|
|
@@ -8520,20 +8535,25 @@ var yn = {
|
|
|
8520
8535
|
] }
|
|
8521
8536
|
};
|
|
8522
8537
|
// src/components/page/page.ts
|
|
8523
|
-
function
|
|
8524
|
-
let
|
|
8525
|
-
return e &&
|
|
8538
|
+
function wn({ banner: e, centerMain: t, children: n, footer: r, header: i, headerBackground: o = "default", headerBorder: s, headerContentTheme: c, headerSize: l = "md", headerSticky: u, headerSurface: d, id: f }) {
|
|
8539
|
+
let p = a(f), m = c ? d ?? "default" : d, h = [];
|
|
8540
|
+
return e && h.push({
|
|
8526
8541
|
kind: "raw",
|
|
8527
8542
|
html: e
|
|
8528
|
-
}),
|
|
8543
|
+
}), h.push({
|
|
8529
8544
|
kind: "element",
|
|
8530
8545
|
tag: "header",
|
|
8531
|
-
attrs: {
|
|
8546
|
+
attrs: {
|
|
8547
|
+
class: "header",
|
|
8548
|
+
"data-background": o === "default" ? void 0 : o,
|
|
8549
|
+
"data-set-content-theme": c,
|
|
8550
|
+
"data-set-surface": m
|
|
8551
|
+
},
|
|
8532
8552
|
children: [{
|
|
8533
8553
|
kind: "raw",
|
|
8534
8554
|
html: i
|
|
8535
8555
|
}]
|
|
8536
|
-
}),
|
|
8556
|
+
}), h.push({
|
|
8537
8557
|
kind: "element",
|
|
8538
8558
|
tag: "main",
|
|
8539
8559
|
attrs: { class: "main" },
|
|
@@ -8541,7 +8561,7 @@ function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
|
|
|
8541
8561
|
kind: "raw",
|
|
8542
8562
|
html: n
|
|
8543
8563
|
}] : []
|
|
8544
|
-
}),
|
|
8564
|
+
}), h.push({
|
|
8545
8565
|
kind: "element",
|
|
8546
8566
|
tag: "footer",
|
|
8547
8567
|
attrs: { class: "footer" },
|
|
@@ -8555,18 +8575,18 @@ function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
|
|
|
8555
8575
|
attrs: {
|
|
8556
8576
|
class: "set-page",
|
|
8557
8577
|
"data-center-main": t,
|
|
8558
|
-
"data-header-border":
|
|
8559
|
-
"data-header-size":
|
|
8560
|
-
"data-sticky
|
|
8561
|
-
id:
|
|
8578
|
+
"data-header-border": s,
|
|
8579
|
+
"data-header-size": l,
|
|
8580
|
+
"data-header-sticky": u,
|
|
8581
|
+
id: p
|
|
8562
8582
|
},
|
|
8563
|
-
children:
|
|
8583
|
+
children: h
|
|
8564
8584
|
};
|
|
8565
8585
|
}
|
|
8566
|
-
function
|
|
8567
|
-
return r(
|
|
8586
|
+
function Tn(e) {
|
|
8587
|
+
return r(wn(e));
|
|
8568
8588
|
}
|
|
8569
|
-
var
|
|
8589
|
+
var En = {
|
|
8570
8590
|
name: "page",
|
|
8571
8591
|
category: "structure",
|
|
8572
8592
|
description: "Use `page` as the primary layout for header, main, and footer regions.",
|
|
@@ -8610,20 +8630,39 @@ var Sn = {
|
|
|
8610
8630
|
type: { kind: "boolean" }
|
|
8611
8631
|
},
|
|
8612
8632
|
header: {
|
|
8613
|
-
description: "Header content.",
|
|
8633
|
+
description: "Header content. The header centres it vertically in its reserved block size.",
|
|
8614
8634
|
required: !0,
|
|
8615
8635
|
type: { kind: "html" }
|
|
8616
8636
|
},
|
|
8637
|
+
headerBackground: {
|
|
8638
|
+
default: "default",
|
|
8639
|
+
description: "Background of the header itself, so a sticky header is opaque over scrolled content. `'transparent'` for a see-through header on purpose, such as over a hero.",
|
|
8640
|
+
type: {
|
|
8641
|
+
kind: "enum",
|
|
8642
|
+
values: [
|
|
8643
|
+
"default",
|
|
8644
|
+
"panel",
|
|
8645
|
+
"transparent"
|
|
8646
|
+
]
|
|
8647
|
+
}
|
|
8648
|
+
},
|
|
8617
8649
|
headerBorder: {
|
|
8618
|
-
description: "Bottom border on the header. `'always'` is persistent; `'scroll'` fades in only when a sticky header is stuck (browsers without `container-type: scroll-state` fall back to always-on).",
|
|
8650
|
+
description: "Bottom border on the header, in the header's own surface. `'always'` is persistent; `'scroll'` fades in only when a sticky header is stuck (browsers without `container-type: scroll-state` fall back to always-on).",
|
|
8619
8651
|
type: {
|
|
8620
8652
|
kind: "enum",
|
|
8621
8653
|
values: ["always", "scroll"]
|
|
8622
8654
|
}
|
|
8623
8655
|
},
|
|
8656
|
+
headerContentTheme: {
|
|
8657
|
+
description: "Absolute theme lock for content rendered inside the header.",
|
|
8658
|
+
type: {
|
|
8659
|
+
kind: "enum",
|
|
8660
|
+
values: ["light", "dark"]
|
|
8661
|
+
}
|
|
8662
|
+
},
|
|
8624
8663
|
headerSize: {
|
|
8625
8664
|
default: "md",
|
|
8626
|
-
description: "Reserves a minimum block size on the header. `--set-page-header-block-size`
|
|
8665
|
+
description: "Reserves a minimum block size on the header. `--set-layout-page-header-block-size-current` holds the size in effect, for anything that must line up with it, such as a sticky element below the header.",
|
|
8627
8666
|
type: {
|
|
8628
8667
|
kind: "enum",
|
|
8629
8668
|
values: [
|
|
@@ -8633,17 +8672,30 @@ var Sn = {
|
|
|
8633
8672
|
]
|
|
8634
8673
|
}
|
|
8635
8674
|
},
|
|
8636
|
-
|
|
8637
|
-
description: "DOM id.",
|
|
8638
|
-
type: { kind: "string" }
|
|
8639
|
-
},
|
|
8640
|
-
stickyHeader: {
|
|
8675
|
+
headerSticky: {
|
|
8641
8676
|
description: "When the header stays stuck to the top of the viewport.",
|
|
8642
8677
|
type: {
|
|
8643
8678
|
kind: "enum",
|
|
8644
8679
|
values: ["always", "belowNotebook"]
|
|
8645
8680
|
}
|
|
8646
8681
|
},
|
|
8682
|
+
headerSurface: {
|
|
8683
|
+
description: "Surface context of the header. Inherits the surrounding context when omitted.",
|
|
8684
|
+
type: {
|
|
8685
|
+
kind: "enum",
|
|
8686
|
+
values: [
|
|
8687
|
+
"default",
|
|
8688
|
+
"brandSubtle",
|
|
8689
|
+
"brand",
|
|
8690
|
+
"brandSecondary",
|
|
8691
|
+
"brandTertiary"
|
|
8692
|
+
]
|
|
8693
|
+
}
|
|
8694
|
+
},
|
|
8695
|
+
id: {
|
|
8696
|
+
description: "DOM id.",
|
|
8697
|
+
type: { kind: "string" }
|
|
8698
|
+
},
|
|
8647
8699
|
footer: {
|
|
8648
8700
|
description: "Footer content.",
|
|
8649
8701
|
required: !0,
|
|
@@ -8683,114 +8735,84 @@ var Sn = {
|
|
|
8683
8735
|
},
|
|
8684
8736
|
{
|
|
8685
8737
|
target: { on: "host" },
|
|
8686
|
-
attribute: "data-sticky
|
|
8738
|
+
attribute: "data-header-sticky",
|
|
8687
8739
|
condition: {
|
|
8688
8740
|
kind: "when-provided",
|
|
8689
|
-
prop: "
|
|
8741
|
+
prop: "headerSticky"
|
|
8690
8742
|
},
|
|
8691
8743
|
value: {
|
|
8692
8744
|
kind: "prop",
|
|
8693
|
-
prop: "
|
|
8745
|
+
prop: "headerSticky"
|
|
8694
8746
|
}
|
|
8695
8747
|
},
|
|
8696
8748
|
{
|
|
8697
|
-
target: {
|
|
8698
|
-
|
|
8749
|
+
target: {
|
|
8750
|
+
on: "descendant",
|
|
8751
|
+
selector: ":scope > .header"
|
|
8752
|
+
},
|
|
8753
|
+
attribute: "data-background",
|
|
8699
8754
|
condition: {
|
|
8700
|
-
kind: "when-
|
|
8701
|
-
prop: "
|
|
8755
|
+
kind: "when-in",
|
|
8756
|
+
prop: "headerBackground",
|
|
8757
|
+
values: ["panel", "transparent"]
|
|
8702
8758
|
},
|
|
8703
8759
|
value: {
|
|
8704
8760
|
kind: "prop",
|
|
8705
|
-
prop: "
|
|
8761
|
+
prop: "headerBackground"
|
|
8706
8762
|
}
|
|
8707
|
-
}
|
|
8708
|
-
] }
|
|
8709
|
-
};
|
|
8710
|
-
// src/components/panel/panel.ts
|
|
8711
|
-
function Cn({ children: e, id: t, padding: n = "md", surface: r }) {
|
|
8712
|
-
return {
|
|
8713
|
-
kind: "element",
|
|
8714
|
-
tag: "div",
|
|
8715
|
-
attrs: {
|
|
8716
|
-
class: "set-panel",
|
|
8717
|
-
"data-padding": n,
|
|
8718
|
-
"data-set-surface": r,
|
|
8719
|
-
id: a(t)
|
|
8720
8763
|
},
|
|
8721
|
-
|
|
8722
|
-
|
|
8723
|
-
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
output: {
|
|
8735
|
-
element: "div",
|
|
8736
|
-
class: "set-panel"
|
|
8737
|
-
},
|
|
8738
|
-
content: {
|
|
8739
|
-
kind: "html",
|
|
8740
|
-
prop: "children"
|
|
8741
|
-
},
|
|
8742
|
-
props: {
|
|
8743
|
-
children: {
|
|
8744
|
-
description: "Content rendered inside the panel.",
|
|
8745
|
-
type: { kind: "html" }
|
|
8746
|
-
},
|
|
8747
|
-
id: {
|
|
8748
|
-
description: "DOM id.",
|
|
8749
|
-
type: { kind: "string" }
|
|
8750
|
-
},
|
|
8751
|
-
padding: {
|
|
8752
|
-
default: "md",
|
|
8753
|
-
description: "Inner spacing scale.",
|
|
8754
|
-
type: {
|
|
8755
|
-
kind: "enum",
|
|
8756
|
-
values: [
|
|
8757
|
-
"xs",
|
|
8758
|
-
"sm",
|
|
8759
|
-
"md",
|
|
8760
|
-
"lg",
|
|
8761
|
-
"xl"
|
|
8762
|
-
]
|
|
8764
|
+
{
|
|
8765
|
+
target: {
|
|
8766
|
+
on: "descendant",
|
|
8767
|
+
selector: ":scope > .header"
|
|
8768
|
+
},
|
|
8769
|
+
attribute: "data-set-content-theme",
|
|
8770
|
+
condition: {
|
|
8771
|
+
kind: "when-provided",
|
|
8772
|
+
prop: "headerContentTheme"
|
|
8773
|
+
},
|
|
8774
|
+
value: {
|
|
8775
|
+
kind: "prop",
|
|
8776
|
+
prop: "headerContentTheme"
|
|
8763
8777
|
}
|
|
8764
8778
|
},
|
|
8765
|
-
surface: {
|
|
8766
|
-
description: "Surface context.",
|
|
8767
|
-
type: {
|
|
8768
|
-
kind: "enum",
|
|
8769
|
-
values: ["default", "brandSubtle"]
|
|
8770
|
-
}
|
|
8771
|
-
}
|
|
8772
|
-
},
|
|
8773
|
-
events: {},
|
|
8774
|
-
rules: { attributes: [
|
|
8775
8779
|
{
|
|
8776
|
-
target: {
|
|
8777
|
-
|
|
8778
|
-
|
|
8780
|
+
target: {
|
|
8781
|
+
on: "descendant",
|
|
8782
|
+
selector: ":scope > .header"
|
|
8783
|
+
},
|
|
8784
|
+
attribute: "data-set-surface",
|
|
8785
|
+
condition: {
|
|
8786
|
+
kind: "all",
|
|
8787
|
+
of: [{
|
|
8788
|
+
kind: "when-provided",
|
|
8789
|
+
prop: "headerContentTheme"
|
|
8790
|
+
}, {
|
|
8791
|
+
kind: "not",
|
|
8792
|
+
of: {
|
|
8793
|
+
kind: "when-provided",
|
|
8794
|
+
prop: "headerSurface"
|
|
8795
|
+
}
|
|
8796
|
+
}]
|
|
8797
|
+
},
|
|
8779
8798
|
value: {
|
|
8780
|
-
kind: "
|
|
8781
|
-
|
|
8799
|
+
kind: "literal",
|
|
8800
|
+
text: "default"
|
|
8782
8801
|
}
|
|
8783
8802
|
},
|
|
8784
8803
|
{
|
|
8785
|
-
target: {
|
|
8804
|
+
target: {
|
|
8805
|
+
on: "descendant",
|
|
8806
|
+
selector: ":scope > .header"
|
|
8807
|
+
},
|
|
8786
8808
|
attribute: "data-set-surface",
|
|
8787
8809
|
condition: {
|
|
8788
8810
|
kind: "when-provided",
|
|
8789
|
-
prop: "
|
|
8811
|
+
prop: "headerSurface"
|
|
8790
8812
|
},
|
|
8791
8813
|
value: {
|
|
8792
8814
|
kind: "prop",
|
|
8793
|
-
prop: "
|
|
8815
|
+
prop: "headerSurface"
|
|
8794
8816
|
}
|
|
8795
8817
|
},
|
|
8796
8818
|
{
|
|
@@ -8808,7 +8830,7 @@ var Tn = {
|
|
|
8808
8830
|
] }
|
|
8809
8831
|
};
|
|
8810
8832
|
// src/components/pattern/pattern.ts
|
|
8811
|
-
function
|
|
8833
|
+
function Dn({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineSize: i, id: o, tone: s = "default", variant: c = "tile" } = {}) {
|
|
8812
8834
|
let l = a(o), u = [];
|
|
8813
8835
|
return t && u.push(`--set-pattern-block-size: ${t / 16}rem`), i && u.push(`--set-pattern-inline-size: ${i / 16}rem`), {
|
|
8814
8836
|
kind: "element",
|
|
@@ -8830,10 +8852,10 @@ function En({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineS
|
|
|
8830
8852
|
}] : []
|
|
8831
8853
|
};
|
|
8832
8854
|
}
|
|
8833
|
-
function
|
|
8834
|
-
return r(
|
|
8855
|
+
function On(e = {}) {
|
|
8856
|
+
return r(Dn(e));
|
|
8835
8857
|
}
|
|
8836
|
-
var
|
|
8858
|
+
var kn = {
|
|
8837
8859
|
name: "pattern",
|
|
8838
8860
|
category: "graphic",
|
|
8839
8861
|
description: "Use `pattern` to render a repeating brand tile as a graphic or behind content.",
|
|
@@ -9003,15 +9025,15 @@ var On = {
|
|
|
9003
9025
|
] }
|
|
9004
9026
|
};
|
|
9005
9027
|
// src/components/poster/poster.ts
|
|
9006
|
-
function
|
|
9007
|
-
return
|
|
9028
|
+
function An(e) {
|
|
9029
|
+
return le({
|
|
9008
9030
|
...e,
|
|
9009
9031
|
alt: "",
|
|
9010
9032
|
fit: "cover",
|
|
9011
9033
|
priority: !0
|
|
9012
9034
|
});
|
|
9013
9035
|
}
|
|
9014
|
-
function
|
|
9036
|
+
function jn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
9015
9037
|
let o = a(n), s = t ? i ?? "default" : i, c = [{
|
|
9016
9038
|
kind: "element",
|
|
9017
9039
|
tag: "div",
|
|
@@ -9041,10 +9063,10 @@ function An({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
|
9041
9063
|
children: c
|
|
9042
9064
|
};
|
|
9043
9065
|
}
|
|
9044
|
-
function
|
|
9045
|
-
return r(
|
|
9066
|
+
function Mn(e) {
|
|
9067
|
+
return r(jn(e));
|
|
9046
9068
|
}
|
|
9047
|
-
var
|
|
9069
|
+
var Nn = {
|
|
9048
9070
|
name: "poster",
|
|
9049
9071
|
category: "structure",
|
|
9050
9072
|
description: "Use `poster` to layer content over background media.",
|
|
@@ -9160,7 +9182,7 @@ var Mn = {
|
|
|
9160
9182
|
] }
|
|
9161
9183
|
};
|
|
9162
9184
|
// src/components/prose/prose.ts
|
|
9163
|
-
function
|
|
9185
|
+
function Pn({ align: e = "start", children: t, hangingPunctuation: n, id: r, linkVisited: i = !0, measured: o = !0, monospaced: s, responsive: c }) {
|
|
9164
9186
|
let l = a(r);
|
|
9165
9187
|
return {
|
|
9166
9188
|
kind: "element",
|
|
@@ -9181,10 +9203,10 @@ function Nn({ align: e = "start", children: t, hangingPunctuation: n, id: r, lin
|
|
|
9181
9203
|
}]
|
|
9182
9204
|
};
|
|
9183
9205
|
}
|
|
9184
|
-
function
|
|
9185
|
-
return r(
|
|
9206
|
+
function Fn(e) {
|
|
9207
|
+
return r(Pn(e));
|
|
9186
9208
|
}
|
|
9187
|
-
var
|
|
9209
|
+
var In = {
|
|
9188
9210
|
name: "prose",
|
|
9189
9211
|
category: "typographic",
|
|
9190
9212
|
description: "Use `prose` to style rich-text markup.",
|
|
@@ -9325,7 +9347,7 @@ var Fn = {
|
|
|
9325
9347
|
] }
|
|
9326
9348
|
};
|
|
9327
9349
|
// src/components/radios/radios.ts
|
|
9328
|
-
function
|
|
9350
|
+
function Ln({ description: e, disabled: t, id: n, invalid: a, radios: o, legend: s, name: c, orientation: l = "vertical", required: u, size: d = "md", value: f }) {
|
|
9329
9351
|
let p = n.trim(), m = c.trim(), h = f?.trim();
|
|
9330
9352
|
if (!p) throw Error("id must be a non-empty string.");
|
|
9331
9353
|
if (!i(p)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -9390,7 +9412,7 @@ function In({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
|
|
|
9390
9412
|
children: r
|
|
9391
9413
|
};
|
|
9392
9414
|
});
|
|
9393
|
-
return
|
|
9415
|
+
return Ut({
|
|
9394
9416
|
children: r({
|
|
9395
9417
|
kind: "element",
|
|
9396
9418
|
tag: "div",
|
|
@@ -9408,10 +9430,10 @@ function In({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
|
|
|
9408
9430
|
legend: s
|
|
9409
9431
|
});
|
|
9410
9432
|
}
|
|
9411
|
-
function
|
|
9412
|
-
return r(
|
|
9433
|
+
function Rn(e) {
|
|
9434
|
+
return r(Ln(e));
|
|
9413
9435
|
}
|
|
9414
|
-
var
|
|
9436
|
+
var zn = {
|
|
9415
9437
|
name: "radios",
|
|
9416
9438
|
category: "control",
|
|
9417
9439
|
description: "Use `radios` to let users select one option from a short list.",
|
|
@@ -9623,7 +9645,7 @@ var Rn = {
|
|
|
9623
9645
|
] }
|
|
9624
9646
|
};
|
|
9625
9647
|
// src/components/root/root.ts
|
|
9626
|
-
function
|
|
9648
|
+
function Bn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children: r, dir: i, id: o, lang: s, theme: c }) {
|
|
9627
9649
|
let l = a(o);
|
|
9628
9650
|
return {
|
|
9629
9651
|
kind: "element",
|
|
@@ -9644,10 +9666,10 @@ function zn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children:
|
|
|
9644
9666
|
}] : []
|
|
9645
9667
|
};
|
|
9646
9668
|
}
|
|
9647
|
-
function
|
|
9648
|
-
return r(
|
|
9669
|
+
function Vn(e) {
|
|
9670
|
+
return r(Bn(e));
|
|
9649
9671
|
}
|
|
9650
|
-
var
|
|
9672
|
+
var Hn = {
|
|
9651
9673
|
name: "root",
|
|
9652
9674
|
category: "environment",
|
|
9653
9675
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
@@ -9791,7 +9813,7 @@ var Vn = {
|
|
|
9791
9813
|
] }
|
|
9792
9814
|
};
|
|
9793
9815
|
// src/components/stack/stack.ts
|
|
9794
|
-
function
|
|
9816
|
+
function Un({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", id: i, responsive: o }) {
|
|
9795
9817
|
let s = a(i);
|
|
9796
9818
|
return {
|
|
9797
9819
|
kind: "element",
|
|
@@ -9809,10 +9831,10 @@ function Hn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", i
|
|
|
9809
9831
|
}] : []
|
|
9810
9832
|
};
|
|
9811
9833
|
}
|
|
9812
|
-
function
|
|
9813
|
-
return r(
|
|
9834
|
+
function Wn(e) {
|
|
9835
|
+
return r(Un(e));
|
|
9814
9836
|
}
|
|
9815
|
-
var
|
|
9837
|
+
var Gn = {
|
|
9816
9838
|
name: "stack",
|
|
9817
9839
|
category: "layout",
|
|
9818
9840
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
@@ -9933,7 +9955,7 @@ var Wn = {
|
|
|
9933
9955
|
] }
|
|
9934
9956
|
};
|
|
9935
9957
|
// src/components/surface/surface.ts
|
|
9936
|
-
function
|
|
9958
|
+
function Kn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
9937
9959
|
return {
|
|
9938
9960
|
kind: "element",
|
|
9939
9961
|
tag: "div",
|
|
@@ -9949,10 +9971,10 @@ function Gn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
|
9949
9971
|
}]
|
|
9950
9972
|
};
|
|
9951
9973
|
}
|
|
9952
|
-
function
|
|
9953
|
-
return r(
|
|
9974
|
+
function qn(e) {
|
|
9975
|
+
return r(Kn(e));
|
|
9954
9976
|
}
|
|
9955
|
-
var
|
|
9977
|
+
var Jn = {
|
|
9956
9978
|
name: "surface",
|
|
9957
9979
|
category: "environment",
|
|
9958
9980
|
description: "Use `surface` to set a colour context for nested content.",
|
|
@@ -10034,7 +10056,7 @@ var qn = {
|
|
|
10034
10056
|
] }
|
|
10035
10057
|
};
|
|
10036
10058
|
// src/components/switch/switch.ts
|
|
10037
|
-
function
|
|
10059
|
+
function Yn({ checked: e, description: t, disabled: n, id: r, label: i, name: o, size: s = "md", value: c }) {
|
|
10038
10060
|
let l = a(r), u = t?.trim();
|
|
10039
10061
|
if (u && !l) throw Error("id must be provided when description is provided.");
|
|
10040
10062
|
let d = u ? `${l}-description` : void 0, f = [{
|
|
@@ -10087,10 +10109,10 @@ function Jn({ checked: e, description: t, disabled: n, id: r, label: i, name: o,
|
|
|
10087
10109
|
children: f
|
|
10088
10110
|
};
|
|
10089
10111
|
}
|
|
10090
|
-
function
|
|
10091
|
-
return r(
|
|
10112
|
+
function Xn(e) {
|
|
10113
|
+
return r(Yn(e));
|
|
10092
10114
|
}
|
|
10093
|
-
var
|
|
10115
|
+
var Zn = {
|
|
10094
10116
|
name: "switch",
|
|
10095
10117
|
category: "control",
|
|
10096
10118
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
@@ -10267,7 +10289,7 @@ var Xn = {
|
|
|
10267
10289
|
] }
|
|
10268
10290
|
};
|
|
10269
10291
|
// src/components/textarea/textarea.ts
|
|
10270
|
-
function
|
|
10292
|
+
function Qn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, label: o, name: s, readOnly: c, required: l, resize: u = "vertical", rows: d = 2, size: f = "md", spellcheck: p, value: m, inlineSize: h = "full" }) {
|
|
10271
10293
|
let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = m;
|
|
10272
10294
|
if (!g) throw Error("id must be a non-empty string.");
|
|
10273
10295
|
if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -10327,10 +10349,10 @@ function Zn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
|
|
|
10327
10349
|
children: w
|
|
10328
10350
|
};
|
|
10329
10351
|
}
|
|
10330
|
-
function
|
|
10331
|
-
return r(
|
|
10352
|
+
function $n(e) {
|
|
10353
|
+
return r(Qn(e));
|
|
10332
10354
|
}
|
|
10333
|
-
var
|
|
10355
|
+
var er = {
|
|
10334
10356
|
name: "textarea",
|
|
10335
10357
|
category: "control",
|
|
10336
10358
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
@@ -10653,7 +10675,228 @@ var $n = {
|
|
|
10653
10675
|
}
|
|
10654
10676
|
}
|
|
10655
10677
|
] }
|
|
10656
|
-
}
|
|
10678
|
+
};
|
|
10679
|
+
// src/runtime/canvas.ts
|
|
10680
|
+
function tr(e, { aspectRatio: t, maxWidth: n = 4096, onResize: r }) {
|
|
10681
|
+
let i = e.ownerDocument.defaultView, a = (a) => {
|
|
10682
|
+
let o = e.clientWidth, s = e.clientHeight;
|
|
10683
|
+
if (o === 0) return;
|
|
10684
|
+
let c = i?.devicePixelRatio || 1, l = c;
|
|
10685
|
+
o * l > n && (l = Math.max(1, Math.floor(n / o)));
|
|
10686
|
+
let u = l === c ? a : void 0, d = u?.inlineSize ?? Math.round(o * l), f = t ? Math.round(d / t) : u?.blockSize ?? Math.round(s * l);
|
|
10687
|
+
(d !== e.width || f !== e.height) && (e.width = d, e.height = f, r({
|
|
10688
|
+
height: f,
|
|
10689
|
+
ratio: d / o,
|
|
10690
|
+
width: d
|
|
10691
|
+
}));
|
|
10692
|
+
}, o = new ResizeObserver(([e]) => {
|
|
10693
|
+
a(e?.devicePixelContentBoxSize?.[0]);
|
|
10694
|
+
});
|
|
10695
|
+
return o.observe(e), a(), () => {
|
|
10696
|
+
o.disconnect();
|
|
10697
|
+
};
|
|
10698
|
+
}
|
|
10699
|
+
// src/runtime/dither.ts
|
|
10700
|
+
var nr = [
|
|
10701
|
+
0,
|
|
10702
|
+
2,
|
|
10703
|
+
3,
|
|
10704
|
+
1
|
|
10705
|
+
], rr = /* @__PURE__ */ new Map([[2, nr]]), ir = (e) => {
|
|
10706
|
+
let t = rr.get(e);
|
|
10707
|
+
if (t) return t;
|
|
10708
|
+
let n = e / 2, r = ir(n), i = [];
|
|
10709
|
+
for (let t = 0; t < e; t += 1) for (let a = 0; a < e; a += 1) {
|
|
10710
|
+
let e = r[t % n * n + a % n] ?? 0, o = (t >= n ? 2 : 0) + +(a >= n);
|
|
10711
|
+
i.push(4 * e + (nr[o] ?? 0));
|
|
10712
|
+
}
|
|
10713
|
+
return rr.set(e, i), i;
|
|
10714
|
+
};
|
|
10715
|
+
function ar(e = 4) {
|
|
10716
|
+
let t = e * e;
|
|
10717
|
+
return ir(e).map((e) => (e + .5) / t);
|
|
10718
|
+
}
|
|
10719
|
+
function or(e, t = 4) {
|
|
10720
|
+
return ar(t).flatMap((n, r) => e > n ? [[r % t, Math.floor(r / t)]] : []);
|
|
10721
|
+
}
|
|
10722
|
+
function sr(e, { cell: t = 1, color: n, size: r = 4, tone: i }) {
|
|
10723
|
+
let a = Math.max(1, Math.round(t)), o = new OffscreenCanvas(a * r, a * r), s = o.getContext("2d");
|
|
10724
|
+
if (!s) return null;
|
|
10725
|
+
s.fillStyle = n;
|
|
10726
|
+
for (let [e, t] of or(i, r)) s.fillRect(e * a, t * a, a, a);
|
|
10727
|
+
return e.createPattern(o, "repeat");
|
|
10728
|
+
}
|
|
10729
|
+
function cr(e, t, n, r, i, a) {
|
|
10730
|
+
let o = sr(e, a);
|
|
10731
|
+
if (!o) return;
|
|
10732
|
+
let [s, c] = a.origin ?? [t, n];
|
|
10733
|
+
o.setTransform(new DOMMatrix([
|
|
10734
|
+
1,
|
|
10735
|
+
0,
|
|
10736
|
+
0,
|
|
10737
|
+
1,
|
|
10738
|
+
s,
|
|
10739
|
+
c
|
|
10740
|
+
])), e.save(), e.fillStyle = o, e.fillRect(t, n, r, i), e.restore();
|
|
10741
|
+
}
|
|
10742
|
+
// src/runtime/frames.ts
|
|
10743
|
+
var lr = "(prefers-reduced-motion: reduce)";
|
|
10744
|
+
function ur(e, { onFrame: t, period: n }) {
|
|
10745
|
+
let r = e.ownerDocument, i = r.defaultView, a = pe(e, lr);
|
|
10746
|
+
if (!i || !(n > 0)) return () => {};
|
|
10747
|
+
let o = 0, s = !1, c = 0, l, u = (e) => {
|
|
10748
|
+
l ??= e - o * n;
|
|
10749
|
+
let r = Math.floor((e - l) / n);
|
|
10750
|
+
r !== o && (o = r, t(o)), c = i.requestAnimationFrame(u);
|
|
10751
|
+
}, d = () => {
|
|
10752
|
+
s && !r.hidden && !a?.matches ? c ||= i.requestAnimationFrame(u) : (i.cancelAnimationFrame(c), c = 0, l = void 0, a?.matches && o !== 0 && (o = 0, t(o)));
|
|
10753
|
+
}, f = new IntersectionObserver(([e]) => {
|
|
10754
|
+
s = e?.isIntersecting ?? !1, d();
|
|
10755
|
+
});
|
|
10756
|
+
return f.observe(e), r.addEventListener("visibilitychange", d), a?.addEventListener("change", d), () => {
|
|
10757
|
+
f.disconnect(), r.removeEventListener("visibilitychange", d), a?.removeEventListener("change", d), i.cancelAnimationFrame(c), c = 0;
|
|
10758
|
+
};
|
|
10759
|
+
}
|
|
10760
|
+
// src/runtime/easing.ts
|
|
10761
|
+
var dr = {
|
|
10762
|
+
ease: [
|
|
10763
|
+
.25,
|
|
10764
|
+
.1,
|
|
10765
|
+
.25,
|
|
10766
|
+
1
|
|
10767
|
+
],
|
|
10768
|
+
"ease-in": [
|
|
10769
|
+
.42,
|
|
10770
|
+
0,
|
|
10771
|
+
1,
|
|
10772
|
+
1
|
|
10773
|
+
],
|
|
10774
|
+
"ease-in-out": [
|
|
10775
|
+
.42,
|
|
10776
|
+
0,
|
|
10777
|
+
.58,
|
|
10778
|
+
1
|
|
10779
|
+
],
|
|
10780
|
+
"ease-out": [
|
|
10781
|
+
0,
|
|
10782
|
+
0,
|
|
10783
|
+
.58,
|
|
10784
|
+
1
|
|
10785
|
+
]
|
|
10786
|
+
}, fr = {
|
|
10787
|
+
"step-end": "steps(1, end)",
|
|
10788
|
+
"step-start": "steps(1, start)"
|
|
10789
|
+
}, pr = (e, t, n, r) => {
|
|
10790
|
+
let i = (e, t, n) => 3 * e * (1 - n) * (1 - n) * n + 3 * t * (1 - n) * n * n + n * n * n;
|
|
10791
|
+
return (a) => {
|
|
10792
|
+
if (a <= 0) return 0;
|
|
10793
|
+
if (a >= 1) return 1;
|
|
10794
|
+
let o = 0, s = 1;
|
|
10795
|
+
for (let t = 0; t < 24; t += 1) {
|
|
10796
|
+
let t = (o + s) / 2;
|
|
10797
|
+
i(e, n, t) < a ? o = t : s = t;
|
|
10798
|
+
}
|
|
10799
|
+
return i(t, r, (o + s) / 2);
|
|
10800
|
+
};
|
|
10801
|
+
}, mr = (e, t) => {
|
|
10802
|
+
let n = t === "jump-both" ? e + 1 : t === "jump-none" ? e - 1 : e, r = [
|
|
10803
|
+
"jump-start",
|
|
10804
|
+
"start",
|
|
10805
|
+
"jump-both"
|
|
10806
|
+
].includes(t);
|
|
10807
|
+
return (t) => {
|
|
10808
|
+
if (t <= 0) return r ? 1 / n : 0;
|
|
10809
|
+
if (t >= 1) return 1;
|
|
10810
|
+
let i = Math.floor(t * e) + +!!r;
|
|
10811
|
+
return Math.min(1, i / n);
|
|
10812
|
+
};
|
|
10813
|
+
}, hr = (e) => {
|
|
10814
|
+
let t = fr[e] ?? e;
|
|
10815
|
+
if (t === "linear") return (e) => Math.min(1, Math.max(0, e));
|
|
10816
|
+
let n = dr[t];
|
|
10817
|
+
if (n) return pr(...n);
|
|
10818
|
+
let r = /^cubic-bezier\(([^)]+)\)$/.exec(t);
|
|
10819
|
+
if (r) {
|
|
10820
|
+
let e = (r[1] ?? "").split(",").map(Number), [t = 0, n = 0, i = 1, a = 1] = e;
|
|
10821
|
+
return e.length === 4 && e.every(Number.isFinite) ? pr(t, n, i, a) : void 0;
|
|
10822
|
+
}
|
|
10823
|
+
let i = /^steps\((\d+)(?:,\s*([a-z-]+))?\)$/.exec(t);
|
|
10824
|
+
if (i) {
|
|
10825
|
+
let e = Number(i[1]), t = i[2] ?? "end";
|
|
10826
|
+
return e > +(t === "jump-none") ? mr(e, t) : void 0;
|
|
10827
|
+
}
|
|
10828
|
+
}, gr = [
|
|
10829
|
+
"data-set-brand",
|
|
10830
|
+
"data-set-content-theme",
|
|
10831
|
+
"data-set-surface",
|
|
10832
|
+
"data-set-theme"
|
|
10833
|
+
], _r = [fe, "(forced-colors: active)"], vr = (e, t) => e.ownerDocument.defaultView?.getComputedStyle(e).getPropertyValue(t).trim() || void 0, $ = (e, t, n) => {
|
|
10834
|
+
if (!vr(e, t)) return;
|
|
10835
|
+
let r = e.ownerDocument, i = r.createElement("span");
|
|
10836
|
+
i.hidden = !0, i.style.setProperty(n, `var(${t})`), e.append(i);
|
|
10837
|
+
let a = r.defaultView?.getComputedStyle(i).getPropertyValue(n).trim();
|
|
10838
|
+
return i.remove(), a || void 0;
|
|
10839
|
+
}, yr = /* @__PURE__ */ new WeakMap(), br = (e) => {
|
|
10840
|
+
if (!yr.has(e)) {
|
|
10841
|
+
let t = e.createElement("canvas");
|
|
10842
|
+
t.width = 1, t.height = 1, yr.set(e, t.getContext("2d", { willReadFrequently: !0 }));
|
|
10843
|
+
}
|
|
10844
|
+
return yr.get(e) ?? null;
|
|
10845
|
+
};
|
|
10846
|
+
function xr(e, t) {
|
|
10847
|
+
let n = $(e, t, "color"), r = n ? br(e.ownerDocument) : null;
|
|
10848
|
+
if (!n || !r) return;
|
|
10849
|
+
r.clearRect(0, 0, 1, 1), r.fillStyle = n, r.fillRect(0, 0, 1, 1);
|
|
10850
|
+
let [i = 0, a = 0, o = 0, s = 0] = r.getImageData(0, 0, 1, 1).data, c = s / 255;
|
|
10851
|
+
return {
|
|
10852
|
+
alpha: c,
|
|
10853
|
+
b: o / 255,
|
|
10854
|
+
css: c === 1 ? `rgb(${i} ${a} ${o})` : `rgb(${i} ${a} ${o} / ${c})`,
|
|
10855
|
+
g: a / 255,
|
|
10856
|
+
r: i / 255
|
|
10857
|
+
};
|
|
10858
|
+
}
|
|
10859
|
+
function Sr(e, t) {
|
|
10860
|
+
let n = $(e, t, "transition-timing-function");
|
|
10861
|
+
return n ? hr(n) : void 0;
|
|
10862
|
+
}
|
|
10863
|
+
function Cr(e, t) {
|
|
10864
|
+
let n = $(e, t, "transition-duration"), r = n ? Number.parseFloat(n) : NaN;
|
|
10865
|
+
return Number.isFinite(r) ? r * 1e3 : void 0;
|
|
10866
|
+
}
|
|
10867
|
+
function wr(e, t, n = "px") {
|
|
10868
|
+
let r = $(e, t, "outline-offset"), i = r?.endsWith("px") ? Number.parseFloat(r) : NaN;
|
|
10869
|
+
if (!Number.isFinite(i)) return;
|
|
10870
|
+
if (n === "px") return i;
|
|
10871
|
+
let a = e.ownerDocument.documentElement, o = e.ownerDocument.defaultView;
|
|
10872
|
+
return i / (Number.parseFloat(o?.getComputedStyle(a).fontSize ?? "") || 16);
|
|
10873
|
+
}
|
|
10874
|
+
function Tr(e, t) {
|
|
10875
|
+
return vr(e, t);
|
|
10876
|
+
}
|
|
10877
|
+
function Er(e, t) {
|
|
10878
|
+
let n = e.ownerDocument, r = n.defaultView, i = 0, a = () => {
|
|
10879
|
+
!i && r && (i = r.requestAnimationFrame(() => {
|
|
10880
|
+
i = 0, t();
|
|
10881
|
+
}));
|
|
10882
|
+
}, o = new MutationObserver((t) => {
|
|
10883
|
+
t.some((t) => t.target.contains(e)) && a();
|
|
10884
|
+
});
|
|
10885
|
+
o.observe(n.documentElement, {
|
|
10886
|
+
attributeFilter: gr,
|
|
10887
|
+
attributes: !0,
|
|
10888
|
+
subtree: !0
|
|
10889
|
+
});
|
|
10890
|
+
let s = _r.map((t) => pe(e, t));
|
|
10891
|
+
for (let e of s) e?.addEventListener("change", a);
|
|
10892
|
+
return () => {
|
|
10893
|
+
o.disconnect();
|
|
10894
|
+
for (let e of s) e?.removeEventListener("change", a);
|
|
10895
|
+
i && r?.cancelAnimationFrame(i), i = 0;
|
|
10896
|
+
};
|
|
10897
|
+
}
|
|
10898
|
+
// src/spec.ts
|
|
10899
|
+
var Dr = [
|
|
10657
10900
|
"control",
|
|
10658
10901
|
"environment",
|
|
10659
10902
|
"graphic",
|
|
@@ -10662,11 +10905,11 @@ var $n = {
|
|
|
10662
10905
|
"status",
|
|
10663
10906
|
"structure",
|
|
10664
10907
|
"typographic"
|
|
10665
|
-
],
|
|
10908
|
+
], Or = (e) => e.charAt(0).toUpperCase() + e.slice(1), kr = (e) => `${Or(e.category)}/${Or(e.name)}`;
|
|
10666
10909
|
// src/index.ts
|
|
10667
|
-
function
|
|
10668
|
-
M(),
|
|
10910
|
+
function Ar() {
|
|
10911
|
+
M(), oe(), ue(), Ce(), Oe(), Le(), Ve(), qe(), Qe();
|
|
10669
10912
|
}
|
|
10670
|
-
export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS,
|
|
10913
|
+
export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS, ee as SET_ALERT_SPEC, C as SET_ALERT_TAG_NAME, dt as SET_AVATAR_SPEC, mt as SET_BADGE_SPEC, I as SET_BANNER_EVENT_BEFORE_DISMISS, L as SET_BANNER_EVENT_DISMISS, se as SET_BANNER_SPEC, F as SET_BANNER_TAG_NAME, yt as SET_BLOCKQUOTE_SPEC, St as SET_BOX_SPEC, S as SET_BUTTON_SPEC, Tt as SET_CARD_SPEC, Ot as SET_CHECKBOX_SPEC, Dr as SET_COMPONENT_CATEGORIES, jt as SET_CONTAINER_SPEC, Pt as SET_DETAILS_SPEC, zt as SET_DITHER_SPEC, Ht as SET_DIVIDER_SPEC, Ne as SET_EXPANDER_SPEC, Gt as SET_FIELDSET_SPEC, Jt as SET_FIGURE_SPEC, en as SET_GRID_ITEM_SPEC, $t as SET_GRID_SPEC, rn as SET_HEADING_SPEC, l as SET_ICON_NAMES, p as SET_ICON_SPEC, de as SET_IMAGE_SPEC, z as SET_IMAGE_TAG_NAME, sn as SET_INLINE_SPEC, un as SET_INPUT_SPEC, he as SET_LIGHTSWITCH_EVENT_CHANGE, we as SET_LIGHTSWITCH_SPEC, V as SET_LIGHTSWITCH_STORAGE_KEY, B as SET_LIGHTSWITCH_TAG_NAME, ne as SET_LINK_SPEC, Cn as SET_LOGO_SPEC, Te as SET_MENU_EVENT_CHOOSE, ke as SET_MENU_SPEC, H as SET_MENU_TAG_NAME, Re as SET_NAV_SPEC, U as SET_NAV_TAG_NAME, En as SET_PAGE_SPEC, kn as SET_PATTERN_SPEC, Nn as SET_POSTER_SPEC, In as SET_PROSE_SPEC, zn as SET_RADIOS_SPEC, He as SET_RANGE_SPEC, W as SET_RANGE_TAG_NAME, Hn as SET_ROOT_SPEC, Je as SET_SIDEBAR_SPEC, G as SET_SIDEBAR_TAG_NAME, g as SET_SPINNER_SPEC, Gn as SET_STACK_SPEC, Jn as SET_SURFACE_SPEC, Zn as SET_SWITCH_SPEC, er as SET_TEXTAREA_SPEC, gt as SET_TEXT_SPEC, $e as SET_VIDEO_SPEC, J as SET_VIDEO_TAG_NAME, x as applySetButtonActivity, A as buildSetAlert, lt as buildSetAvatar, ft as buildSetBadge, ie as buildSetBanner, _t as buildSetBlockquote, bt as buildSetBox, y as buildSetButton, Ct as buildSetCard, Et as buildSetCheckbox, kt as buildSetContainer, Mt as buildSetDetails, Lt as buildSetDither, Bt as buildSetDivider, je as buildSetExpander, Ut as buildSetFieldset, Kt as buildSetFigure, Yt as buildSetGrid, Zt as buildSetGridItem, tn as buildSetHeading, d as buildSetIcon, ce as buildSetImage, an as buildSetInline, cn as buildSetInput, xe as buildSetLightswitch, P as buildSetLink, xn as buildSetLogo, Ee as buildSetMenu, Fe as buildSetNav, wn as buildSetPage, Dn as buildSetPattern, jn as buildSetPoster, Pn as buildSetProse, Ln as buildSetRadios, ze as buildSetRange, Bn as buildSetRoot, Ge as buildSetSidebar, m as buildSetSpinner, Un as buildSetStack, Kn as buildSetSurface, Yn as buildSetSwitch, X as buildSetText, Qn as buildSetTextarea, Ye as buildSetVideo, sr as createSetDitherPattern, M as defineSetAlert, oe as defineSetBanner, Ar as defineSetComponents, ue as defineSetImage, Ce as defineSetLightswitch, Oe as defineSetMenu, Le as defineSetNav, Ve as defineSetRange, qe as defineSetSidebar, Qe as defineSetVideo, It as ditherLevel, t as escapeHtml, cr as fillSetDither, ar as getSetBayerMatrix, or as getSetDitherCells, nt as getSetInitials, j as renderSetAlert, ut as renderSetAvatar, pt as renderSetBadge, ae as renderSetBanner, vt as renderSetBlockquote, xt as renderSetBox, b as renderSetButton, wt as renderSetCard, Dt as renderSetCheckbox, At as renderSetContainer, Nt as renderSetDetails, Rt as renderSetDither, Vt as renderSetDivider, Me as renderSetExpander, Wt as renderSetFieldset, qt as renderSetFigure, Xt as renderSetGrid, Qt as renderSetGridItem, nn as renderSetHeading, f as renderSetIcon, le as renderSetImage, on as renderSetInline, ln as renderSetInput, Se as renderSetLightswitch, te as renderSetLink, Sn as renderSetLogo, De as renderSetMenu, Ie as renderSetNav, Tn as renderSetPage, On as renderSetPattern, Mn as renderSetPoster, An as renderSetPosterImage, Fn as renderSetProse, Rn as renderSetRadios, Be as renderSetRange, Vn as renderSetRoot, Ke as renderSetSidebar, h as renderSetSpinner, Wn as renderSetStack, qn as renderSetSurface, Xn as renderSetSwitch, ht as renderSetText, $n as renderSetTextarea, Xe as renderSetVideo, xr as resolveSetColor, Sr as resolveSetEasing, wr as resolveSetLength, Tr as resolveSetString, Cr as resolveSetTime, ur as runSetFrames, r as serializeSetNode, tr as sizeSetCanvas, kr as specToStoryTitle, Er as watchSetTokens };
|
|
10671
10914
|
|
|
10672
10915
|
//# sourceMappingURL=index.js.map
|