@monospaced/set-core 0.23.0 → 0.25.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.map +1 -1
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/banner/banner.d.ts.map +1 -1
- package/dist/components/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/box/box.d.ts.map +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/card/card.d.ts +2 -2
- package/dist/components/card/card.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/container/container.d.ts.map +1 -1
- package/dist/components/details/details.d.ts.map +1 -1
- package/dist/components/dither/dither.d.ts +49 -0
- package/dist/components/dither/dither.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts.map +1 -1
- package/dist/components/expander/expander.d.ts.map +1 -1
- package/dist/components/fieldset/fieldset.d.ts +1 -1
- package/dist/components/fieldset/fieldset.d.ts.map +1 -1
- package/dist/components/figure/figure.d.ts.map +1 -1
- package/dist/components/grid/grid.d.ts +16 -13
- 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.map +1 -1
- package/dist/components/image/image.d.ts +2 -1
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/inline/inline.d.ts.map +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.d.ts.map +1 -1
- package/dist/components/lightswitch/lightswitch.d.ts.map +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/menu/menu.d.ts.map +1 -1
- package/dist/components/nav/nav.d.ts.map +1 -1
- package/dist/components/page/page.d.ts.map +1 -1
- package/dist/components/panel/panel.d.ts +2 -2
- package/dist/components/panel/panel.d.ts.map +1 -1
- package/dist/components/pattern/pattern.d.ts +14 -7
- package/dist/components/pattern/pattern.d.ts.map +1 -1
- package/dist/components/poster/poster.d.ts.map +1 -1
- package/dist/components/prose/prose.d.ts.map +1 -1
- package/dist/components/radios/radios.d.ts.map +1 -1
- package/dist/components/range/range.d.ts.map +1 -1
- package/dist/components/root/root.d.ts.map +1 -1
- package/dist/components/sidebar/sidebar.d.ts +2 -2
- package/dist/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/components/stack/stack.d.ts.map +1 -1
- package/dist/components/surface/surface.d.ts +3 -1
- package/dist/components/surface/surface.d.ts.map +1 -1
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/text/text.d.ts.map +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- 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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +12 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +614 -216
- package/dist/index.js.map +1 -1
- package/dist/spec.d.ts +7 -0
- package/dist/spec.d.ts.map +1 -1
- package/dist/test/spec.d.ts.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -628,6 +628,7 @@ function f(e) {
|
|
|
628
628
|
}
|
|
629
629
|
var p = {
|
|
630
630
|
name: "icon",
|
|
631
|
+
category: "graphic",
|
|
631
632
|
description: "Use `icon` to render a Set icon.",
|
|
632
633
|
output: {
|
|
633
634
|
element: "svg",
|
|
@@ -855,6 +856,7 @@ function h(e = {}) {
|
|
|
855
856
|
}
|
|
856
857
|
var g = {
|
|
857
858
|
name: "spinner",
|
|
859
|
+
category: "status",
|
|
858
860
|
description: "Use `spinner` to indicate loading or in-progress state.",
|
|
859
861
|
output: {
|
|
860
862
|
element: "span",
|
|
@@ -1036,6 +1038,7 @@ function x(e, t) {
|
|
|
1036
1038
|
}
|
|
1037
1039
|
var S = {
|
|
1038
1040
|
name: "button",
|
|
1041
|
+
category: "control",
|
|
1039
1042
|
description: "Use `button` to let users trigger actions.",
|
|
1040
1043
|
output: {
|
|
1041
1044
|
element: "button",
|
|
@@ -1451,6 +1454,7 @@ function M() {
|
|
|
1451
1454
|
}
|
|
1452
1455
|
var N = {
|
|
1453
1456
|
name: "alert",
|
|
1457
|
+
category: "status",
|
|
1454
1458
|
description: "Use `alert` to surface short, important messages.",
|
|
1455
1459
|
output: {
|
|
1456
1460
|
element: C,
|
|
@@ -1700,11 +1704,12 @@ function F(e) {
|
|
|
1700
1704
|
children: y ? c === "end" ? [b, y] : [y, b] : [b]
|
|
1701
1705
|
};
|
|
1702
1706
|
}
|
|
1703
|
-
function
|
|
1707
|
+
function ee(e) {
|
|
1704
1708
|
return r(F(e));
|
|
1705
1709
|
}
|
|
1706
|
-
var
|
|
1710
|
+
var te = {
|
|
1707
1711
|
name: "link",
|
|
1712
|
+
category: "navigation",
|
|
1708
1713
|
description: "Use `link` to navigate to another page or resource.",
|
|
1709
1714
|
output: {
|
|
1710
1715
|
element: "a",
|
|
@@ -1985,8 +1990,8 @@ var ee = {
|
|
|
1985
1990
|
}
|
|
1986
1991
|
}
|
|
1987
1992
|
] }
|
|
1988
|
-
},
|
|
1989
|
-
function
|
|
1993
|
+
}, I = "set-banner", L = "set-banner-before-dismiss", R = "set-banner-dismiss", z = "Dismiss banner";
|
|
1994
|
+
function ne(e, t) {
|
|
1990
1995
|
let n = t.createElement("div");
|
|
1991
1996
|
return n.setAttribute("data-part", "close"), n.innerHTML = b({
|
|
1992
1997
|
appearance: "text",
|
|
@@ -1997,9 +2002,9 @@ function te(e, t) {
|
|
|
1997
2002
|
tone: "neutral"
|
|
1998
2003
|
}), n;
|
|
1999
2004
|
}
|
|
2000
|
-
function
|
|
2005
|
+
function re({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLabel: r = z, id: i, message: o, tone: s }) {
|
|
2001
2006
|
if (!!e != !!t) throw Error("actionHref and actionLabel must be provided together.");
|
|
2002
|
-
let c = a(i), l = r.trim() === "" ?
|
|
2007
|
+
let c = a(i), l = r.trim() === "" ? z : r, u = [{
|
|
2003
2008
|
kind: "text",
|
|
2004
2009
|
value: o
|
|
2005
2010
|
}];
|
|
@@ -2012,7 +2017,7 @@ function ne({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLab
|
|
|
2012
2017
|
underline: !0
|
|
2013
2018
|
}))), {
|
|
2014
2019
|
kind: "element",
|
|
2015
|
-
tag:
|
|
2020
|
+
tag: I,
|
|
2016
2021
|
attrs: {
|
|
2017
2022
|
class: "set-banner",
|
|
2018
2023
|
"data-set-content-theme": "dark",
|
|
@@ -2030,20 +2035,20 @@ function ne({ actionHref: e, actionLabel: t, dismissible: n = !0, dismissibleLab
|
|
|
2030
2035
|
}]
|
|
2031
2036
|
};
|
|
2032
2037
|
}
|
|
2033
|
-
function
|
|
2034
|
-
return r(
|
|
2038
|
+
function ie(e) {
|
|
2039
|
+
return r(re(e));
|
|
2035
2040
|
}
|
|
2036
|
-
function
|
|
2041
|
+
function ae() {
|
|
2037
2042
|
if (customElements.get("set-banner")) return;
|
|
2038
2043
|
class e extends HTMLElement {
|
|
2039
2044
|
#e = (e) => {
|
|
2040
2045
|
let t = e.target;
|
|
2041
2046
|
if (!(t instanceof Element) || !t.closest("[data-part=\"close\"]")) return;
|
|
2042
|
-
let n = new CustomEvent(
|
|
2047
|
+
let n = new CustomEvent(L, {
|
|
2043
2048
|
bubbles: !0,
|
|
2044
2049
|
cancelable: !0
|
|
2045
2050
|
});
|
|
2046
|
-
this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(
|
|
2051
|
+
this.dispatchEvent(n) && (this.dispatchEvent(new CustomEvent(R, { bubbles: !0 })), this.remove());
|
|
2047
2052
|
};
|
|
2048
2053
|
connectedCallback() {
|
|
2049
2054
|
this.removeEventListener("click", this.#e), this.hasAttribute("data-dismissible") && (this.#t(), this.addEventListener("click", this.#e));
|
|
@@ -2052,16 +2057,17 @@ function ie() {
|
|
|
2052
2057
|
this.removeEventListener("click", this.#e);
|
|
2053
2058
|
}
|
|
2054
2059
|
#t() {
|
|
2055
|
-
this.querySelector("[data-part=\"close\"]") || this.append(
|
|
2060
|
+
this.querySelector("[data-part=\"close\"]") || this.append(ne(this.getAttribute("data-dismissible-label") ?? z, this.ownerDocument));
|
|
2056
2061
|
}
|
|
2057
2062
|
}
|
|
2058
|
-
customElements.define(
|
|
2063
|
+
customElements.define(I, e);
|
|
2059
2064
|
}
|
|
2060
|
-
var
|
|
2065
|
+
var oe = {
|
|
2061
2066
|
name: "banner",
|
|
2067
|
+
category: "status",
|
|
2062
2068
|
description: "Use `banner` to display a prominent site-wide message.",
|
|
2063
2069
|
output: {
|
|
2064
|
-
element:
|
|
2070
|
+
element: I,
|
|
2065
2071
|
class: "set-banner"
|
|
2066
2072
|
},
|
|
2067
2073
|
content: {
|
|
@@ -2085,7 +2091,7 @@ var ae = {
|
|
|
2085
2091
|
type: { kind: "boolean" }
|
|
2086
2092
|
},
|
|
2087
2093
|
dismissibleLabel: {
|
|
2088
|
-
default:
|
|
2094
|
+
default: z,
|
|
2089
2095
|
description: "Accessible label for the dismiss control.",
|
|
2090
2096
|
ignoredWhen: "`dismissible` is false",
|
|
2091
2097
|
type: { kind: "string" }
|
|
@@ -2112,12 +2118,12 @@ var ae = {
|
|
|
2112
2118
|
}
|
|
2113
2119
|
},
|
|
2114
2120
|
events: {
|
|
2115
|
-
[
|
|
2121
|
+
[L]: {
|
|
2116
2122
|
bubbles: !0,
|
|
2117
2123
|
cancelable: !0,
|
|
2118
2124
|
description: "Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."
|
|
2119
2125
|
},
|
|
2120
|
-
[
|
|
2126
|
+
[R]: {
|
|
2121
2127
|
bubbles: !0,
|
|
2122
2128
|
description: "Fired after the banner has been removed by an allowed dismiss action."
|
|
2123
2129
|
}
|
|
@@ -2174,8 +2180,8 @@ var ae = {
|
|
|
2174
2180
|
}
|
|
2175
2181
|
}
|
|
2176
2182
|
] }
|
|
2177
|
-
},
|
|
2178
|
-
function
|
|
2183
|
+
}, B = "set-image";
|
|
2184
|
+
function se({ 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 }) {
|
|
2179
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) => {
|
|
2180
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();
|
|
2181
2187
|
if (!n) throw Error(`sources[${t}].srcSet must be non-empty.`);
|
|
@@ -2252,7 +2258,7 @@ function oe({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2252
2258
|
attrs: { "data-scheme": e },
|
|
2253
2259
|
children: [...r, n]
|
|
2254
2260
|
};
|
|
2255
|
-
}, N = "(prefers-reduced-motion: reduce)", P = (e, t) => t ? e.replaceAll("{scheme}", t) : e, F = (e, t) => t ? `${e}#${t}` : e,
|
|
2261
|
+
}, N = "(prefers-reduced-motion: reduce)", P = (e, t) => t ? e.replaceAll("{scheme}", t) : e, F = (e, t) => t ? `${e}#${t}` : e, ee = (e) => {
|
|
2256
2262
|
let n = E.filter((e) => e.stillSrc).map((t) => ({
|
|
2257
2263
|
kind: "element",
|
|
2258
2264
|
tag: "source",
|
|
@@ -2311,7 +2317,7 @@ function oe({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2311
2317
|
i
|
|
2312
2318
|
]
|
|
2313
2319
|
};
|
|
2314
|
-
},
|
|
2320
|
+
}, te = (e) => {
|
|
2315
2321
|
let t = "(prefers-reduced-motion: no-preference)", n = E.map((n) => {
|
|
2316
2322
|
if (n.leadSrc) return {
|
|
2317
2323
|
kind: "element",
|
|
@@ -2358,10 +2364,10 @@ function oe({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2358
2364
|
},
|
|
2359
2365
|
children: [...n, r]
|
|
2360
2366
|
};
|
|
2361
|
-
},
|
|
2362
|
-
return o &&
|
|
2367
|
+
}, I = (e) => k ? [ee(e), te(e)] : [ee(e)], L = D ? O ? [...I("light"), ...I("dark")] : I() : e ? [M("light"), M("dark")] : [M()], R = [];
|
|
2368
|
+
return o && R.push(`--set-image-block-size: ${o / 16}rem`), v && R.push(`--set-image-inline-size: ${v / 16}rem`), {
|
|
2363
2369
|
kind: "element",
|
|
2364
|
-
tag:
|
|
2370
|
+
tag: B,
|
|
2365
2371
|
attrs: {
|
|
2366
2372
|
class: "set-image",
|
|
2367
2373
|
"data-adaptive": !!e,
|
|
@@ -2374,15 +2380,15 @@ function oe({ adaptive: e, alt: t = "", aspectRatio: n, fit: r = "intrinsic", gr
|
|
|
2374
2380
|
"data-object-fit": y ? "cover" : void 0,
|
|
2375
2381
|
"data-radius": !!d,
|
|
2376
2382
|
id: b,
|
|
2377
|
-
style:
|
|
2383
|
+
style: R.length > 0 ? R.join("; ") : void 0
|
|
2378
2384
|
},
|
|
2379
|
-
children:
|
|
2385
|
+
children: L
|
|
2380
2386
|
};
|
|
2381
2387
|
}
|
|
2382
|
-
function
|
|
2383
|
-
return r(
|
|
2388
|
+
function ce(e) {
|
|
2389
|
+
return r(se(e));
|
|
2384
2390
|
}
|
|
2385
|
-
function
|
|
2391
|
+
function le() {
|
|
2386
2392
|
if (customElements.get("set-image")) return;
|
|
2387
2393
|
class e extends HTMLElement {
|
|
2388
2394
|
connectedCallback() {
|
|
@@ -2398,13 +2404,14 @@ function ce() {
|
|
|
2398
2404
|
t.complete && t.naturalWidth > 0 ? n() : (t.addEventListener("load", n, { once: !0 }), t.addEventListener("error", n, { once: !0 }));
|
|
2399
2405
|
}
|
|
2400
2406
|
}
|
|
2401
|
-
customElements.define(
|
|
2407
|
+
customElements.define(B, e);
|
|
2402
2408
|
}
|
|
2403
|
-
var
|
|
2409
|
+
var ue = {
|
|
2404
2410
|
name: "image",
|
|
2411
|
+
category: "graphic",
|
|
2405
2412
|
description: "Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",
|
|
2406
2413
|
output: {
|
|
2407
|
-
element:
|
|
2414
|
+
element: B,
|
|
2408
2415
|
class: "set-image"
|
|
2409
2416
|
},
|
|
2410
2417
|
content: { kind: "none" },
|
|
@@ -2727,7 +2734,7 @@ var le = {
|
|
|
2727
2734
|
}
|
|
2728
2735
|
}
|
|
2729
2736
|
] }
|
|
2730
|
-
},
|
|
2737
|
+
}, V = "set-lightswitch", de = "set-lightswitch-change", H = "set-theme", U = "Switch to dark theme", fe = "Switch to light theme";
|
|
2731
2738
|
function pe(e) {
|
|
2732
2739
|
return e === "dark" ? "light" : "dark";
|
|
2733
2740
|
}
|
|
@@ -2762,11 +2769,11 @@ function he(e, t) {
|
|
|
2762
2769
|
}]
|
|
2763
2770
|
};
|
|
2764
2771
|
}
|
|
2765
|
-
function ge({ appearance: e = "text", id: t, labelDark: n =
|
|
2766
|
-
let o = a(t), s = n.trim() === "" ?
|
|
2772
|
+
function ge({ appearance: e = "text", id: t, labelDark: n = U, labelLight: r = fe, size: i = "md" }) {
|
|
2773
|
+
let o = a(t), s = n.trim() === "" ? U : n, c = r.trim() === "" ? fe : r;
|
|
2767
2774
|
return {
|
|
2768
2775
|
kind: "element",
|
|
2769
|
-
tag:
|
|
2776
|
+
tag: V,
|
|
2770
2777
|
attrs: {
|
|
2771
2778
|
class: "set-lightswitch",
|
|
2772
2779
|
id: o
|
|
@@ -2794,7 +2801,7 @@ function ve() {
|
|
|
2794
2801
|
let t = e.target;
|
|
2795
2802
|
if (!(t instanceof Element) || !t.closest("button")) return;
|
|
2796
2803
|
let n = pe(this.#c());
|
|
2797
|
-
n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(
|
|
2804
|
+
n === this.#a() ? this.#i() : this.#r(n), this.#l(), this.dispatchEvent(new CustomEvent(de, {
|
|
2798
2805
|
bubbles: !0,
|
|
2799
2806
|
detail: {
|
|
2800
2807
|
stored: !!this.#n(),
|
|
@@ -2817,7 +2824,7 @@ function ve() {
|
|
|
2817
2824
|
}
|
|
2818
2825
|
#n() {
|
|
2819
2826
|
try {
|
|
2820
|
-
let e = this.#t()?.getItem(
|
|
2827
|
+
let e = this.#t()?.getItem(H);
|
|
2821
2828
|
return e === "light" || e === "dark" ? e : void 0;
|
|
2822
2829
|
} catch {
|
|
2823
2830
|
return;
|
|
@@ -2825,12 +2832,12 @@ function ve() {
|
|
|
2825
2832
|
}
|
|
2826
2833
|
#r(e) {
|
|
2827
2834
|
try {
|
|
2828
|
-
this.#t()?.setItem(
|
|
2835
|
+
this.#t()?.setItem(H, e);
|
|
2829
2836
|
} catch {}
|
|
2830
2837
|
}
|
|
2831
2838
|
#i() {
|
|
2832
2839
|
try {
|
|
2833
|
-
this.#t()?.removeItem(
|
|
2840
|
+
this.#t()?.removeItem(H);
|
|
2834
2841
|
} catch {}
|
|
2835
2842
|
}
|
|
2836
2843
|
#a() {
|
|
@@ -2854,13 +2861,14 @@ function ve() {
|
|
|
2854
2861
|
t ? e.setAttribute("data-set-theme", t) : e.removeAttribute("data-set-theme");
|
|
2855
2862
|
}
|
|
2856
2863
|
}
|
|
2857
|
-
customElements.define(
|
|
2864
|
+
customElements.define(V, e);
|
|
2858
2865
|
}
|
|
2859
2866
|
var ye = {
|
|
2860
2867
|
name: "lightswitch",
|
|
2868
|
+
category: "control",
|
|
2861
2869
|
description: "Use `lightswitch` to let users toggle between light and dark themes.",
|
|
2862
2870
|
output: {
|
|
2863
|
-
element:
|
|
2871
|
+
element: V,
|
|
2864
2872
|
class: "set-lightswitch"
|
|
2865
2873
|
},
|
|
2866
2874
|
content: { kind: "none" },
|
|
@@ -2882,7 +2890,7 @@ var ye = {
|
|
|
2882
2890
|
type: { kind: "string" }
|
|
2883
2891
|
},
|
|
2884
2892
|
labelDark: {
|
|
2885
|
-
default:
|
|
2893
|
+
default: U,
|
|
2886
2894
|
description: "Accessible label of the switch-to-dark action.",
|
|
2887
2895
|
type: { kind: "string" }
|
|
2888
2896
|
},
|
|
@@ -2904,7 +2912,7 @@ var ye = {
|
|
|
2904
2912
|
}
|
|
2905
2913
|
}
|
|
2906
2914
|
},
|
|
2907
|
-
events: { [
|
|
2915
|
+
events: { [de]: {
|
|
2908
2916
|
bubbles: !0,
|
|
2909
2917
|
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."
|
|
2910
2918
|
} },
|
|
@@ -3134,6 +3142,7 @@ function Ce() {
|
|
|
3134
3142
|
}
|
|
3135
3143
|
var we = {
|
|
3136
3144
|
name: "menu",
|
|
3145
|
+
category: "control",
|
|
3137
3146
|
description: "Use `menu` to show a list of actions from a trigger button.",
|
|
3138
3147
|
output: {
|
|
3139
3148
|
element: W,
|
|
@@ -3366,6 +3375,7 @@ function De(e = {}) {
|
|
|
3366
3375
|
}
|
|
3367
3376
|
var Oe = {
|
|
3368
3377
|
name: "expander",
|
|
3378
|
+
category: "control",
|
|
3369
3379
|
description: "Use `expander` as a toggle for disclosure regions such as menus.",
|
|
3370
3380
|
output: {
|
|
3371
3381
|
element: "button",
|
|
@@ -3589,6 +3599,7 @@ function Me() {
|
|
|
3589
3599
|
}
|
|
3590
3600
|
var Ne = {
|
|
3591
3601
|
name: "nav",
|
|
3602
|
+
category: "navigation",
|
|
3592
3603
|
description: "Use `nav` to render a primary navigation list.",
|
|
3593
3604
|
output: {
|
|
3594
3605
|
element: G,
|
|
@@ -3884,6 +3895,7 @@ function Ie() {
|
|
|
3884
3895
|
}
|
|
3885
3896
|
var Le = {
|
|
3886
3897
|
name: "range",
|
|
3898
|
+
category: "control",
|
|
3887
3899
|
description: "Use `range` to let users pick a numeric value along a scale.",
|
|
3888
3900
|
output: {
|
|
3889
3901
|
element: K,
|
|
@@ -4349,6 +4361,7 @@ function Ue() {
|
|
|
4349
4361
|
}
|
|
4350
4362
|
var We = {
|
|
4351
4363
|
name: "sidebar",
|
|
4364
|
+
category: "structure",
|
|
4352
4365
|
description: "Use `sidebar` for a side panel alongside main content.",
|
|
4353
4366
|
output: {
|
|
4354
4367
|
element: q,
|
|
@@ -4422,7 +4435,7 @@ var We = {
|
|
|
4422
4435
|
description: "Surface context. Applied to the inner panel.",
|
|
4423
4436
|
type: {
|
|
4424
4437
|
kind: "enum",
|
|
4425
|
-
values: ["default", "
|
|
4438
|
+
values: ["default", "brandSubtle"]
|
|
4426
4439
|
}
|
|
4427
4440
|
},
|
|
4428
4441
|
triggerLabel: {
|
|
@@ -4584,6 +4597,7 @@ function Je() {
|
|
|
4584
4597
|
}
|
|
4585
4598
|
var Ye = {
|
|
4586
4599
|
name: "video",
|
|
4600
|
+
category: "graphic",
|
|
4587
4601
|
description: "Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",
|
|
4588
4602
|
output: {
|
|
4589
4603
|
element: Y,
|
|
@@ -4925,6 +4939,7 @@ function ot(e) {
|
|
|
4925
4939
|
}
|
|
4926
4940
|
var st = {
|
|
4927
4941
|
name: "avatar",
|
|
4942
|
+
category: "graphic",
|
|
4928
4943
|
description: "Use `avatar` to visually represent a person, team, or entity.",
|
|
4929
4944
|
output: {
|
|
4930
4945
|
element: "span",
|
|
@@ -5104,6 +5119,7 @@ function lt(e) {
|
|
|
5104
5119
|
}
|
|
5105
5120
|
var ut = {
|
|
5106
5121
|
name: "badge",
|
|
5122
|
+
category: "status",
|
|
5107
5123
|
description: "Use `badge` to annotate content with a short label.",
|
|
5108
5124
|
output: {
|
|
5109
5125
|
element: "span",
|
|
@@ -5142,10 +5158,8 @@ var ut = {
|
|
|
5142
5158
|
kind: "enum",
|
|
5143
5159
|
values: [
|
|
5144
5160
|
"notification",
|
|
5145
|
-
"
|
|
5146
|
-
"pending",
|
|
5161
|
+
"attention",
|
|
5147
5162
|
"success",
|
|
5148
|
-
"warning",
|
|
5149
5163
|
"error"
|
|
5150
5164
|
]
|
|
5151
5165
|
}
|
|
@@ -5224,6 +5238,7 @@ function dt(e) {
|
|
|
5224
5238
|
}
|
|
5225
5239
|
var ft = {
|
|
5226
5240
|
name: "text",
|
|
5241
|
+
category: "typographic",
|
|
5227
5242
|
description: "Use `text` for inline or paragraph body copy.",
|
|
5228
5243
|
output: {
|
|
5229
5244
|
element: {
|
|
@@ -5457,6 +5472,7 @@ function mt(e) {
|
|
|
5457
5472
|
}
|
|
5458
5473
|
var ht = {
|
|
5459
5474
|
name: "blockquote",
|
|
5475
|
+
category: "typographic",
|
|
5460
5476
|
description: "Use `blockquote` to display a quote with attribution.",
|
|
5461
5477
|
output: {
|
|
5462
5478
|
element: "figure",
|
|
@@ -5572,6 +5588,7 @@ function _t(e) {
|
|
|
5572
5588
|
}
|
|
5573
5589
|
var vt = {
|
|
5574
5590
|
name: "box",
|
|
5591
|
+
category: "layout",
|
|
5575
5592
|
description: "Use `box` to inset content.",
|
|
5576
5593
|
output: {
|
|
5577
5594
|
element: "div",
|
|
@@ -5657,7 +5674,13 @@ var vt = {
|
|
|
5657
5674
|
description: "Surface context.",
|
|
5658
5675
|
type: {
|
|
5659
5676
|
kind: "enum",
|
|
5660
|
-
values: [
|
|
5677
|
+
values: [
|
|
5678
|
+
"default",
|
|
5679
|
+
"brandSubtle",
|
|
5680
|
+
"brand",
|
|
5681
|
+
"brandSecondary",
|
|
5682
|
+
"brandTertiary"
|
|
5683
|
+
]
|
|
5661
5684
|
}
|
|
5662
5685
|
}
|
|
5663
5686
|
},
|
|
@@ -5825,6 +5848,7 @@ function bt(e) {
|
|
|
5825
5848
|
}
|
|
5826
5849
|
var xt = {
|
|
5827
5850
|
name: "card",
|
|
5851
|
+
category: "structure",
|
|
5828
5852
|
description: "Use `card` to display a summary for a single topic.",
|
|
5829
5853
|
output: {
|
|
5830
5854
|
element: "div",
|
|
@@ -5883,7 +5907,7 @@ var xt = {
|
|
|
5883
5907
|
description: "Surface context.",
|
|
5884
5908
|
type: {
|
|
5885
5909
|
kind: "enum",
|
|
5886
|
-
values: ["default", "
|
|
5910
|
+
values: ["default", "brandSubtle"]
|
|
5887
5911
|
}
|
|
5888
5912
|
},
|
|
5889
5913
|
title: {
|
|
@@ -5977,6 +6001,7 @@ function Ct(e) {
|
|
|
5977
6001
|
}
|
|
5978
6002
|
var wt = {
|
|
5979
6003
|
name: "checkbox",
|
|
6004
|
+
category: "control",
|
|
5980
6005
|
description: "Use `checkbox` to let users toggle a single option on or off.",
|
|
5981
6006
|
output: {
|
|
5982
6007
|
element: "div",
|
|
@@ -5999,7 +6024,7 @@ var wt = {
|
|
|
5999
6024
|
type: { kind: "boolean" }
|
|
6000
6025
|
},
|
|
6001
6026
|
description: {
|
|
6002
|
-
description: "Helper text shown below the label.",
|
|
6027
|
+
description: "Helper text shown below the label. When invalid, put the error message here.",
|
|
6003
6028
|
type: { kind: "string" }
|
|
6004
6029
|
},
|
|
6005
6030
|
disabled: {
|
|
@@ -6207,6 +6232,7 @@ function Et(e) {
|
|
|
6207
6232
|
}
|
|
6208
6233
|
var Dt = {
|
|
6209
6234
|
name: "container",
|
|
6235
|
+
category: "layout",
|
|
6210
6236
|
description: "Use `container` to wrap page-level content.",
|
|
6211
6237
|
output: {
|
|
6212
6238
|
element: "div",
|
|
@@ -6342,6 +6368,7 @@ function kt(e) {
|
|
|
6342
6368
|
}
|
|
6343
6369
|
var At = {
|
|
6344
6370
|
name: "details",
|
|
6371
|
+
category: "structure",
|
|
6345
6372
|
description: "Use `details` to let users expand and collapse a section of content.",
|
|
6346
6373
|
output: {
|
|
6347
6374
|
element: "details",
|
|
@@ -6421,9 +6448,240 @@ var At = {
|
|
|
6421
6448
|
}
|
|
6422
6449
|
}
|
|
6423
6450
|
] }
|
|
6451
|
+
}, jt = 16;
|
|
6452
|
+
function Mt(e) {
|
|
6453
|
+
return e <= 0 ? 0 : e >= 100 ? jt : Math.min(15, Math.max(1, Math.round(e / 100 * jt)));
|
|
6454
|
+
}
|
|
6455
|
+
function Nt({ aspectRatio: e, blockSize: t, cell: n = "md", inlineSize: r, children: i, density: o = 50, id: s, ramp: c, tone: l = "default" } = {}) {
|
|
6456
|
+
let u = a(s), d = [];
|
|
6457
|
+
t && d.push(`--set-dither-block-size: ${t / 16}rem`), r && d.push(`--set-dither-inline-size: ${r / 16}rem`);
|
|
6458
|
+
let f = Mt(o), p = c ? Array.from({ length: f + 1 }, (e, t) => {
|
|
6459
|
+
let n = c === "inline-start" || c === "block-start" ? f - t : t;
|
|
6460
|
+
return {
|
|
6461
|
+
kind: "element",
|
|
6462
|
+
tag: "span",
|
|
6463
|
+
attrs: {
|
|
6464
|
+
class: "band",
|
|
6465
|
+
"data-band": String(t),
|
|
6466
|
+
"data-level": String(n)
|
|
6467
|
+
},
|
|
6468
|
+
children: []
|
|
6469
|
+
};
|
|
6470
|
+
}) : [];
|
|
6471
|
+
return {
|
|
6472
|
+
kind: "element",
|
|
6473
|
+
tag: "div",
|
|
6474
|
+
attrs: {
|
|
6475
|
+
class: "set-dither",
|
|
6476
|
+
"data-aspect-ratio": e,
|
|
6477
|
+
"data-block-size": t ? "" : void 0,
|
|
6478
|
+
"data-inline-size": r ? "" : void 0,
|
|
6479
|
+
"data-level": String(f),
|
|
6480
|
+
"data-ramp": c,
|
|
6481
|
+
"data-cell": n,
|
|
6482
|
+
"data-tone": l === "default" ? void 0 : l,
|
|
6483
|
+
id: u,
|
|
6484
|
+
style: d.length > 0 ? d.join("; ") : void 0
|
|
6485
|
+
},
|
|
6486
|
+
children: [...c ? [{
|
|
6487
|
+
kind: "element",
|
|
6488
|
+
tag: "span",
|
|
6489
|
+
attrs: {
|
|
6490
|
+
class: "ramp",
|
|
6491
|
+
"aria-hidden": "true"
|
|
6492
|
+
},
|
|
6493
|
+
children: p
|
|
6494
|
+
}] : [], ...i ? [{
|
|
6495
|
+
kind: "raw",
|
|
6496
|
+
html: i
|
|
6497
|
+
}] : []]
|
|
6498
|
+
};
|
|
6499
|
+
}
|
|
6500
|
+
function Pt(e = {}) {
|
|
6501
|
+
return r(Nt(e));
|
|
6502
|
+
}
|
|
6503
|
+
var Ft = {
|
|
6504
|
+
name: "dither",
|
|
6505
|
+
category: "graphic",
|
|
6506
|
+
description: "Use `dither` to render an ordered dither as a graphic or behind content.",
|
|
6507
|
+
output: {
|
|
6508
|
+
element: "div",
|
|
6509
|
+
class: "set-dither"
|
|
6510
|
+
},
|
|
6511
|
+
content: {
|
|
6512
|
+
kind: "html",
|
|
6513
|
+
prop: "children"
|
|
6514
|
+
},
|
|
6515
|
+
props: {
|
|
6516
|
+
aspectRatio: {
|
|
6517
|
+
description: "Aspect ratio of the box. Applies to any axis without an explicit size.",
|
|
6518
|
+
type: {
|
|
6519
|
+
kind: "enum",
|
|
6520
|
+
values: [
|
|
6521
|
+
"1:1",
|
|
6522
|
+
"4:5",
|
|
6523
|
+
"3:2",
|
|
6524
|
+
"16:9",
|
|
6525
|
+
"21:9"
|
|
6526
|
+
]
|
|
6527
|
+
}
|
|
6528
|
+
},
|
|
6529
|
+
blockSize: {
|
|
6530
|
+
description: "Block size in pixels, snapped to whole cells. Fills the parent when omitted.",
|
|
6531
|
+
type: { kind: "number" }
|
|
6532
|
+
},
|
|
6533
|
+
children: {
|
|
6534
|
+
description: "Content rendered over the dither.",
|
|
6535
|
+
type: { kind: "html" }
|
|
6536
|
+
},
|
|
6537
|
+
density: {
|
|
6538
|
+
default: 50,
|
|
6539
|
+
description: "Density from empty at 0 to solid at 100, snapped to 17 levels (0–16).",
|
|
6540
|
+
type: {
|
|
6541
|
+
kind: "number",
|
|
6542
|
+
min: 0,
|
|
6543
|
+
max: 100
|
|
6544
|
+
}
|
|
6545
|
+
},
|
|
6546
|
+
id: {
|
|
6547
|
+
description: "DOM id.",
|
|
6548
|
+
type: { kind: "string" }
|
|
6549
|
+
},
|
|
6550
|
+
inlineSize: {
|
|
6551
|
+
description: "Inline size in pixels, snapped to whole cells and never wider than the parent. Fills the parent when omitted.",
|
|
6552
|
+
type: { kind: "number" }
|
|
6553
|
+
},
|
|
6554
|
+
ramp: {
|
|
6555
|
+
description: "Ramp the dither from the selected edge, fading to empty at the opposite end.",
|
|
6556
|
+
type: {
|
|
6557
|
+
kind: "enum",
|
|
6558
|
+
values: [
|
|
6559
|
+
"inline-start",
|
|
6560
|
+
"inline-end",
|
|
6561
|
+
"block-start",
|
|
6562
|
+
"block-end"
|
|
6563
|
+
]
|
|
6564
|
+
}
|
|
6565
|
+
},
|
|
6566
|
+
cell: {
|
|
6567
|
+
default: "md",
|
|
6568
|
+
description: "Cell size.",
|
|
6569
|
+
type: {
|
|
6570
|
+
kind: "enum",
|
|
6571
|
+
values: [
|
|
6572
|
+
"sm",
|
|
6573
|
+
"md",
|
|
6574
|
+
"lg",
|
|
6575
|
+
"xl"
|
|
6576
|
+
]
|
|
6577
|
+
}
|
|
6578
|
+
},
|
|
6579
|
+
tone: {
|
|
6580
|
+
default: "default",
|
|
6581
|
+
description: "Semantic tone. Only `default` and `subtle` are contrast-safe for children. With `brand*` tones, place any children on a solid background, such as a Box.",
|
|
6582
|
+
type: {
|
|
6583
|
+
kind: "enum",
|
|
6584
|
+
values: [
|
|
6585
|
+
"default",
|
|
6586
|
+
"subtle",
|
|
6587
|
+
"brand",
|
|
6588
|
+
"brandSecondary",
|
|
6589
|
+
"brandTertiary",
|
|
6590
|
+
"brandSupport",
|
|
6591
|
+
"brandSupportSecondary",
|
|
6592
|
+
"brandSupportTertiary"
|
|
6593
|
+
]
|
|
6594
|
+
}
|
|
6595
|
+
}
|
|
6596
|
+
},
|
|
6597
|
+
events: {},
|
|
6598
|
+
rules: { attributes: [
|
|
6599
|
+
{
|
|
6600
|
+
target: { on: "host" },
|
|
6601
|
+
attribute: "data-aspect-ratio",
|
|
6602
|
+
condition: {
|
|
6603
|
+
kind: "when-provided",
|
|
6604
|
+
prop: "aspectRatio"
|
|
6605
|
+
},
|
|
6606
|
+
value: {
|
|
6607
|
+
kind: "prop",
|
|
6608
|
+
prop: "aspectRatio"
|
|
6609
|
+
}
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
target: { on: "host" },
|
|
6613
|
+
attribute: "data-block-size",
|
|
6614
|
+
condition: {
|
|
6615
|
+
kind: "when-truthy",
|
|
6616
|
+
prop: "blockSize"
|
|
6617
|
+
}
|
|
6618
|
+
},
|
|
6619
|
+
{
|
|
6620
|
+
target: { on: "host" },
|
|
6621
|
+
attribute: "data-inline-size",
|
|
6622
|
+
condition: {
|
|
6623
|
+
kind: "when-truthy",
|
|
6624
|
+
prop: "inlineSize"
|
|
6625
|
+
}
|
|
6626
|
+
},
|
|
6627
|
+
{
|
|
6628
|
+
target: { on: "host" },
|
|
6629
|
+
attribute: "data-ramp",
|
|
6630
|
+
condition: {
|
|
6631
|
+
kind: "when-provided",
|
|
6632
|
+
prop: "ramp"
|
|
6633
|
+
},
|
|
6634
|
+
value: {
|
|
6635
|
+
kind: "prop",
|
|
6636
|
+
prop: "ramp"
|
|
6637
|
+
}
|
|
6638
|
+
},
|
|
6639
|
+
{
|
|
6640
|
+
target: { on: "host" },
|
|
6641
|
+
attribute: "data-cell",
|
|
6642
|
+
condition: { kind: "always" },
|
|
6643
|
+
value: {
|
|
6644
|
+
kind: "prop",
|
|
6645
|
+
prop: "cell"
|
|
6646
|
+
}
|
|
6647
|
+
},
|
|
6648
|
+
{
|
|
6649
|
+
target: { on: "host" },
|
|
6650
|
+
attribute: "data-tone",
|
|
6651
|
+
condition: {
|
|
6652
|
+
kind: "when-in",
|
|
6653
|
+
prop: "tone",
|
|
6654
|
+
values: [
|
|
6655
|
+
"subtle",
|
|
6656
|
+
"brand",
|
|
6657
|
+
"brandSecondary",
|
|
6658
|
+
"brandTertiary",
|
|
6659
|
+
"brandSupport",
|
|
6660
|
+
"brandSupportSecondary",
|
|
6661
|
+
"brandSupportTertiary"
|
|
6662
|
+
]
|
|
6663
|
+
},
|
|
6664
|
+
value: {
|
|
6665
|
+
kind: "prop",
|
|
6666
|
+
prop: "tone"
|
|
6667
|
+
}
|
|
6668
|
+
},
|
|
6669
|
+
{
|
|
6670
|
+
target: { on: "host" },
|
|
6671
|
+
attribute: "id",
|
|
6672
|
+
condition: {
|
|
6673
|
+
kind: "when-non-empty",
|
|
6674
|
+
prop: "id"
|
|
6675
|
+
},
|
|
6676
|
+
value: {
|
|
6677
|
+
kind: "prop",
|
|
6678
|
+
prop: "id"
|
|
6679
|
+
}
|
|
6680
|
+
}
|
|
6681
|
+
] }
|
|
6424
6682
|
};
|
|
6425
6683
|
// src/components/divider/divider.ts
|
|
6426
|
-
function
|
|
6684
|
+
function It({ id: e, orientation: t = "horizontal", tone: n = "default" } = {}) {
|
|
6427
6685
|
let r = a(e);
|
|
6428
6686
|
return {
|
|
6429
6687
|
kind: "element",
|
|
@@ -6438,11 +6696,12 @@ function jt({ id: e, orientation: t = "horizontal", tone: n = "default" } = {})
|
|
|
6438
6696
|
children: []
|
|
6439
6697
|
};
|
|
6440
6698
|
}
|
|
6441
|
-
function
|
|
6442
|
-
return r(
|
|
6699
|
+
function Lt(e = {}) {
|
|
6700
|
+
return r(It(e));
|
|
6443
6701
|
}
|
|
6444
|
-
var
|
|
6702
|
+
var Rt = {
|
|
6445
6703
|
name: "divider",
|
|
6704
|
+
category: "layout",
|
|
6446
6705
|
description: "Use `divider` to separate sections with a rule.",
|
|
6447
6706
|
output: {
|
|
6448
6707
|
element: {
|
|
@@ -6538,7 +6797,7 @@ var Nt = {
|
|
|
6538
6797
|
] }
|
|
6539
6798
|
};
|
|
6540
6799
|
// src/components/fieldset/fieldset.ts
|
|
6541
|
-
function
|
|
6800
|
+
function zt({ children: e, description: t, disabled: n, id: r, invalid: a, legend: o, inlineSize: s = "full" }) {
|
|
6542
6801
|
let c = t?.trim(), l = r.trim();
|
|
6543
6802
|
if (!l) throw Error("id must be a non-empty string.");
|
|
6544
6803
|
if (!i(l)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -6579,11 +6838,12 @@ function Pt({ children: e, description: t, disabled: n, id: r, invalid: a, legen
|
|
|
6579
6838
|
children: p
|
|
6580
6839
|
};
|
|
6581
6840
|
}
|
|
6582
|
-
function
|
|
6583
|
-
return r(
|
|
6841
|
+
function Bt(e) {
|
|
6842
|
+
return r(zt(e));
|
|
6584
6843
|
}
|
|
6585
|
-
var
|
|
6844
|
+
var Vt = {
|
|
6586
6845
|
name: "fieldset",
|
|
6846
|
+
category: "control",
|
|
6587
6847
|
description: "Use `fieldset` to group related form controls under a legend.",
|
|
6588
6848
|
output: {
|
|
6589
6849
|
element: "fieldset",
|
|
@@ -6605,7 +6865,7 @@ var It = {
|
|
|
6605
6865
|
type: { kind: "html" }
|
|
6606
6866
|
},
|
|
6607
6867
|
description: {
|
|
6608
|
-
description: "Description shown below the legend
|
|
6868
|
+
description: "Description shown below the legend. When invalid, put the error message here.",
|
|
6609
6869
|
type: { kind: "string" }
|
|
6610
6870
|
},
|
|
6611
6871
|
disabled: {
|
|
@@ -6706,7 +6966,7 @@ var It = {
|
|
|
6706
6966
|
] }
|
|
6707
6967
|
};
|
|
6708
6968
|
// src/components/figure/figure.ts
|
|
6709
|
-
function
|
|
6969
|
+
function Ht({ align: e = "start", caption: t, children: n, id: r, inlineSize: i = "full", responsive: o = !1 }) {
|
|
6710
6970
|
let s = a(r);
|
|
6711
6971
|
return {
|
|
6712
6972
|
kind: "element",
|
|
@@ -6733,11 +6993,12 @@ function Lt({ align: e = "start", caption: t, children: n, id: r, inlineSize: i
|
|
|
6733
6993
|
}]
|
|
6734
6994
|
};
|
|
6735
6995
|
}
|
|
6736
|
-
function
|
|
6737
|
-
return r(
|
|
6996
|
+
function Ut(e) {
|
|
6997
|
+
return r(Ht(e));
|
|
6738
6998
|
}
|
|
6739
|
-
var
|
|
6999
|
+
var Wt = {
|
|
6740
7000
|
name: "figure",
|
|
7001
|
+
category: "structure",
|
|
6741
7002
|
description: "Use `figure` to present media with a caption.",
|
|
6742
7003
|
output: {
|
|
6743
7004
|
element: "figure",
|
|
@@ -6838,15 +7099,16 @@ var zt = {
|
|
|
6838
7099
|
}, Q = (e) => {
|
|
6839
7100
|
if (e !== void 0) return String(e);
|
|
6840
7101
|
};
|
|
6841
|
-
function
|
|
6842
|
-
let
|
|
7102
|
+
function Gt({ children: e, gap: t = "default", id: n, responsiveRowGap: r }) {
|
|
7103
|
+
let i = a(n);
|
|
6843
7104
|
return {
|
|
6844
7105
|
kind: "element",
|
|
6845
7106
|
tag: "div",
|
|
6846
7107
|
attrs: {
|
|
6847
7108
|
class: "set-grid",
|
|
6848
7109
|
"data-gap": t === "default" ? void 0 : t,
|
|
6849
|
-
|
|
7110
|
+
"data-responsive-row-gap": r,
|
|
7111
|
+
id: i
|
|
6850
7112
|
},
|
|
6851
7113
|
children: [{
|
|
6852
7114
|
kind: "element",
|
|
@@ -6859,10 +7121,10 @@ function Bt({ children: e, gap: t = "default", id: n }) {
|
|
|
6859
7121
|
}]
|
|
6860
7122
|
};
|
|
6861
7123
|
}
|
|
6862
|
-
function
|
|
6863
|
-
return r(
|
|
7124
|
+
function Kt(e) {
|
|
7125
|
+
return r(Gt(e));
|
|
6864
7126
|
}
|
|
6865
|
-
function
|
|
7127
|
+
function qt({ 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 }) {
|
|
6866
7128
|
let _ = a(l);
|
|
6867
7129
|
return {
|
|
6868
7130
|
kind: "element",
|
|
@@ -6891,12 +7153,13 @@ function Ht({ align: e, children: t, colSpan: n, colSpanNarrow: r, colSpanWide:
|
|
|
6891
7153
|
}] : []
|
|
6892
7154
|
};
|
|
6893
7155
|
}
|
|
6894
|
-
function
|
|
6895
|
-
return r(
|
|
7156
|
+
function Jt(e) {
|
|
7157
|
+
return r(qt(e));
|
|
6896
7158
|
}
|
|
6897
|
-
var
|
|
7159
|
+
var Yt = {
|
|
6898
7160
|
name: "grid",
|
|
6899
|
-
|
|
7161
|
+
category: "layout",
|
|
7162
|
+
description: "Use `grid` to lay out content in a 12-column grid that responds to its container.",
|
|
6900
7163
|
output: {
|
|
6901
7164
|
element: "div",
|
|
6902
7165
|
class: "set-grid"
|
|
@@ -6925,40 +7188,72 @@ var Wt = {
|
|
|
6925
7188
|
id: {
|
|
6926
7189
|
description: "DOM id.",
|
|
6927
7190
|
type: { kind: "string" }
|
|
7191
|
+
},
|
|
7192
|
+
responsiveRowGap: {
|
|
7193
|
+
description: "Responsive row gap. Overrides the row axis of `gap`.",
|
|
7194
|
+
type: {
|
|
7195
|
+
kind: "enum",
|
|
7196
|
+
values: [
|
|
7197
|
+
"md",
|
|
7198
|
+
"lg",
|
|
7199
|
+
"xl"
|
|
7200
|
+
]
|
|
7201
|
+
}
|
|
6928
7202
|
}
|
|
6929
7203
|
},
|
|
6930
7204
|
events: {},
|
|
6931
|
-
rules: { attributes: [
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
7205
|
+
rules: { attributes: [
|
|
7206
|
+
{
|
|
7207
|
+
target: { on: "host" },
|
|
7208
|
+
attribute: "data-gap",
|
|
7209
|
+
condition: {
|
|
7210
|
+
kind: "when-in",
|
|
7211
|
+
prop: "gap",
|
|
7212
|
+
values: ["expanded", "none"]
|
|
7213
|
+
},
|
|
7214
|
+
value: {
|
|
7215
|
+
kind: "prop",
|
|
7216
|
+
prop: "gap"
|
|
7217
|
+
}
|
|
6938
7218
|
},
|
|
6939
|
-
|
|
6940
|
-
|
|
6941
|
-
|
|
6942
|
-
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
7219
|
+
{
|
|
7220
|
+
target: { on: "host" },
|
|
7221
|
+
attribute: "data-responsive-row-gap",
|
|
7222
|
+
condition: {
|
|
7223
|
+
kind: "when-in",
|
|
7224
|
+
prop: "responsiveRowGap",
|
|
7225
|
+
values: [
|
|
7226
|
+
"md",
|
|
7227
|
+
"lg",
|
|
7228
|
+
"xl"
|
|
7229
|
+
]
|
|
7230
|
+
},
|
|
7231
|
+
value: {
|
|
7232
|
+
kind: "prop",
|
|
7233
|
+
prop: "responsiveRowGap"
|
|
7234
|
+
}
|
|
6949
7235
|
},
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
|
|
7236
|
+
{
|
|
7237
|
+
target: { on: "host" },
|
|
7238
|
+
attribute: "id",
|
|
7239
|
+
condition: {
|
|
7240
|
+
kind: "when-non-empty",
|
|
7241
|
+
prop: "id"
|
|
7242
|
+
},
|
|
7243
|
+
value: {
|
|
7244
|
+
kind: "prop",
|
|
7245
|
+
prop: "id"
|
|
7246
|
+
}
|
|
6953
7247
|
}
|
|
6954
|
-
|
|
7248
|
+
] }
|
|
6955
7249
|
}, $ = {
|
|
6956
7250
|
kind: "number",
|
|
6957
7251
|
min: 1,
|
|
6958
7252
|
max: 12,
|
|
6959
7253
|
integer: !0
|
|
6960
|
-
},
|
|
7254
|
+
}, Xt = {
|
|
6961
7255
|
name: "grid-item",
|
|
7256
|
+
category: "layout",
|
|
6962
7257
|
description: "Use `grid-item` to place content within a `grid` layout.",
|
|
6963
7258
|
output: {
|
|
6964
7259
|
element: "div",
|
|
@@ -6996,11 +7291,11 @@ var Wt = {
|
|
|
6996
7291
|
}
|
|
6997
7292
|
},
|
|
6998
7293
|
colSpan: {
|
|
6999
|
-
description: "Columns spanned
|
|
7294
|
+
description: "Columns spanned when the grid's container is at its default width.",
|
|
7000
7295
|
type: $
|
|
7001
7296
|
},
|
|
7002
7297
|
colStart: {
|
|
7003
|
-
description: "Starting column
|
|
7298
|
+
description: "Starting column when the grid's container is at its default width.",
|
|
7004
7299
|
type: $
|
|
7005
7300
|
},
|
|
7006
7301
|
id: {
|
|
@@ -7008,43 +7303,43 @@ var Wt = {
|
|
|
7008
7303
|
type: { kind: "string" }
|
|
7009
7304
|
},
|
|
7010
7305
|
rowSpan: {
|
|
7011
|
-
description: "Rows spanned
|
|
7306
|
+
description: "Rows spanned when the grid's container is at its default width.",
|
|
7012
7307
|
type: $
|
|
7013
7308
|
},
|
|
7014
7309
|
rowSpanNarrow: {
|
|
7015
|
-
description: "Rows spanned
|
|
7310
|
+
description: "Rows spanned when the grid's container is narrow.",
|
|
7016
7311
|
type: $
|
|
7017
7312
|
},
|
|
7018
7313
|
rowSpanWide: {
|
|
7019
|
-
description: "Rows spanned
|
|
7314
|
+
description: "Rows spanned when the grid's container is wide.",
|
|
7020
7315
|
type: $
|
|
7021
7316
|
},
|
|
7022
7317
|
rowStart: {
|
|
7023
|
-
description: "Starting row
|
|
7318
|
+
description: "Starting row when the grid's container is at its default width.",
|
|
7024
7319
|
type: $
|
|
7025
7320
|
},
|
|
7026
7321
|
rowStartNarrow: {
|
|
7027
|
-
description: "Starting row
|
|
7322
|
+
description: "Starting row when the grid's container is narrow.",
|
|
7028
7323
|
type: $
|
|
7029
7324
|
},
|
|
7030
7325
|
rowStartWide: {
|
|
7031
|
-
description: "Starting row
|
|
7326
|
+
description: "Starting row when the grid's container is wide.",
|
|
7032
7327
|
type: $
|
|
7033
7328
|
},
|
|
7034
7329
|
colSpanNarrow: {
|
|
7035
|
-
description: "Columns spanned
|
|
7330
|
+
description: "Columns spanned when the grid's container is narrow.",
|
|
7036
7331
|
type: $
|
|
7037
7332
|
},
|
|
7038
7333
|
colStartNarrow: {
|
|
7039
|
-
description: "Starting column
|
|
7334
|
+
description: "Starting column when the grid's container is narrow.",
|
|
7040
7335
|
type: $
|
|
7041
7336
|
},
|
|
7042
7337
|
colSpanWide: {
|
|
7043
|
-
description: "Columns spanned
|
|
7338
|
+
description: "Columns spanned when the grid's container is wide.",
|
|
7044
7339
|
type: $
|
|
7045
7340
|
},
|
|
7046
7341
|
colStartWide: {
|
|
7047
|
-
description: "Starting column
|
|
7342
|
+
description: "Starting column when the grid's container is wide.",
|
|
7048
7343
|
type: $
|
|
7049
7344
|
}
|
|
7050
7345
|
},
|
|
@@ -7233,7 +7528,7 @@ var Wt = {
|
|
|
7233
7528
|
] }
|
|
7234
7529
|
};
|
|
7235
7530
|
// src/components/heading/heading.ts
|
|
7236
|
-
function
|
|
7531
|
+
function Zt({ align: e = "start", children: t, id: n, level: r, linkVisited: i = !0, opticalAlign: o, responsive: s, size: c = "md" }) {
|
|
7237
7532
|
let l = a(n);
|
|
7238
7533
|
return {
|
|
7239
7534
|
kind: "element",
|
|
@@ -7253,11 +7548,12 @@ function Kt({ align: e = "start", children: t, id: n, level: r, linkVisited: i =
|
|
|
7253
7548
|
}]
|
|
7254
7549
|
};
|
|
7255
7550
|
}
|
|
7256
|
-
function
|
|
7257
|
-
return r(
|
|
7551
|
+
function Qt(e) {
|
|
7552
|
+
return r(Zt(e));
|
|
7258
7553
|
}
|
|
7259
|
-
var
|
|
7554
|
+
var $t = {
|
|
7260
7555
|
name: "heading",
|
|
7556
|
+
category: "typographic",
|
|
7261
7557
|
description: "Use `heading` to render heading text with consistent type.",
|
|
7262
7558
|
output: {
|
|
7263
7559
|
element: {
|
|
@@ -7326,12 +7622,12 @@ var Jt = {
|
|
|
7326
7622
|
},
|
|
7327
7623
|
responsive: {
|
|
7328
7624
|
default: !1,
|
|
7329
|
-
description: "Scales type across breakpoints.",
|
|
7625
|
+
description: "Scales type across breakpoints. No effect on display sizes, which are fluid.",
|
|
7330
7626
|
type: { kind: "boolean" }
|
|
7331
7627
|
},
|
|
7332
7628
|
size: {
|
|
7333
7629
|
default: "md",
|
|
7334
|
-
description: "Size variant.",
|
|
7630
|
+
description: "Size variant. Display sizes scale fluidly with their container from the 3xl floor to their cap, and fit at least 10 characters at any width.",
|
|
7335
7631
|
type: {
|
|
7336
7632
|
kind: "enum",
|
|
7337
7633
|
values: [
|
|
@@ -7343,7 +7639,9 @@ var Jt = {
|
|
|
7343
7639
|
"2xl",
|
|
7344
7640
|
"3xl",
|
|
7345
7641
|
"4xl",
|
|
7346
|
-
"
|
|
7642
|
+
"display-sm",
|
|
7643
|
+
"display-md",
|
|
7644
|
+
"display-lg"
|
|
7347
7645
|
]
|
|
7348
7646
|
}
|
|
7349
7647
|
}
|
|
@@ -7416,7 +7714,7 @@ var Jt = {
|
|
|
7416
7714
|
] }
|
|
7417
7715
|
};
|
|
7418
7716
|
// src/components/inline/inline.ts
|
|
7419
|
-
function
|
|
7717
|
+
function en({ align: e = "center", as: t = "div", children: n, gap: r = "md", id: i, justify: o = "start", nowrap: s }) {
|
|
7420
7718
|
let c = a(i);
|
|
7421
7719
|
return {
|
|
7422
7720
|
kind: "element",
|
|
@@ -7435,11 +7733,12 @@ function Yt({ align: e = "center", as: t = "div", children: n, gap: r = "md", id
|
|
|
7435
7733
|
}] : []
|
|
7436
7734
|
};
|
|
7437
7735
|
}
|
|
7438
|
-
function
|
|
7439
|
-
return r(
|
|
7736
|
+
function tn(e) {
|
|
7737
|
+
return r(en(e));
|
|
7440
7738
|
}
|
|
7441
|
-
var
|
|
7739
|
+
var nn = {
|
|
7442
7740
|
name: "inline",
|
|
7741
|
+
category: "layout",
|
|
7443
7742
|
description: "Use `inline` to lay out content in a horizontal row.",
|
|
7444
7743
|
output: {
|
|
7445
7744
|
element: {
|
|
@@ -7581,7 +7880,7 @@ var Zt = {
|
|
|
7581
7880
|
] }
|
|
7582
7881
|
};
|
|
7583
7882
|
// src/components/input/input.ts
|
|
7584
|
-
function
|
|
7883
|
+
function rn({ 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" }) {
|
|
7585
7884
|
let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = c?.trim(), x = m;
|
|
7586
7885
|
if (!g) throw Error("id must be a non-empty string.");
|
|
7587
7886
|
if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -7639,11 +7938,12 @@ function Qt({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
|
|
|
7639
7938
|
children: k
|
|
7640
7939
|
};
|
|
7641
7940
|
}
|
|
7642
|
-
function
|
|
7643
|
-
return r(
|
|
7941
|
+
function an(e) {
|
|
7942
|
+
return r(rn(e));
|
|
7644
7943
|
}
|
|
7645
|
-
var
|
|
7944
|
+
var on = {
|
|
7646
7945
|
name: "input",
|
|
7946
|
+
category: "control",
|
|
7647
7947
|
description: "Use `input` to collect a single line of text from users.",
|
|
7648
7948
|
output: {
|
|
7649
7949
|
element: "div",
|
|
@@ -7668,7 +7968,7 @@ var en = {
|
|
|
7668
7968
|
}
|
|
7669
7969
|
},
|
|
7670
7970
|
description: {
|
|
7671
|
-
description: "Helper text shown below the input
|
|
7971
|
+
description: "Helper text shown below the input. When invalid, put the error message here.",
|
|
7672
7972
|
type: { kind: "string" }
|
|
7673
7973
|
},
|
|
7674
7974
|
disabled: {
|
|
@@ -7981,7 +8281,7 @@ var en = {
|
|
|
7981
8281
|
}
|
|
7982
8282
|
}
|
|
7983
8283
|
] }
|
|
7984
|
-
},
|
|
8284
|
+
}, sn = "0 0 6714.6 1200", cn = "0 0 600 1200", ln = [
|
|
7985
8285
|
{
|
|
7986
8286
|
x: 0,
|
|
7987
8287
|
y: 0
|
|
@@ -8014,11 +8314,11 @@ var en = {
|
|
|
8014
8314
|
x: 450,
|
|
8015
8315
|
y: 900
|
|
8016
8316
|
}
|
|
8017
|
-
],
|
|
8317
|
+
], un = "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", dn = 1163, fn = () => ({
|
|
8018
8318
|
kind: "element",
|
|
8019
8319
|
tag: "g",
|
|
8020
8320
|
attrs: { class: "mark" },
|
|
8021
|
-
children:
|
|
8321
|
+
children: ln.map(({ x: e, y: t }) => ({
|
|
8022
8322
|
kind: "element",
|
|
8023
8323
|
tag: "rect",
|
|
8024
8324
|
attrs: {
|
|
@@ -8029,20 +8329,20 @@ var en = {
|
|
|
8029
8329
|
},
|
|
8030
8330
|
children: []
|
|
8031
8331
|
}))
|
|
8032
|
-
}),
|
|
8332
|
+
}), pn = () => ({
|
|
8033
8333
|
kind: "element",
|
|
8034
8334
|
tag: "g",
|
|
8035
8335
|
attrs: {
|
|
8036
8336
|
class: "word",
|
|
8037
|
-
transform: `translate(${
|
|
8337
|
+
transform: `translate(${dn} 0)`
|
|
8038
8338
|
},
|
|
8039
8339
|
children: [{
|
|
8040
8340
|
kind: "element",
|
|
8041
8341
|
tag: "path",
|
|
8042
|
-
attrs: { d:
|
|
8342
|
+
attrs: { d: un },
|
|
8043
8343
|
children: []
|
|
8044
8344
|
}]
|
|
8045
|
-
}),
|
|
8345
|
+
}), mn = (e, t) => ({
|
|
8046
8346
|
kind: "element",
|
|
8047
8347
|
tag: "svg",
|
|
8048
8348
|
attrs: {
|
|
@@ -8052,14 +8352,14 @@ var en = {
|
|
|
8052
8352
|
},
|
|
8053
8353
|
children: t
|
|
8054
8354
|
});
|
|
8055
|
-
function
|
|
8056
|
-
return
|
|
8355
|
+
function hn() {
|
|
8356
|
+
return mn(sn, [fn(), pn()]);
|
|
8057
8357
|
}
|
|
8058
|
-
function
|
|
8059
|
-
return
|
|
8358
|
+
function gn() {
|
|
8359
|
+
return mn(cn, [fn()]);
|
|
8060
8360
|
}
|
|
8061
8361
|
// src/components/logo/logo.ts
|
|
8062
|
-
function
|
|
8362
|
+
function _n({ animated: e, id: t, label: n, size: r = "md", tone: i = "default", variant: o = "primary" }) {
|
|
8063
8363
|
let s = a(t), c = !!e && (o === "primary" || o === "graphic"), l = [{
|
|
8064
8364
|
kind: "element",
|
|
8065
8365
|
tag: "span",
|
|
@@ -8069,7 +8369,7 @@ function fn({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
|
|
|
8069
8369
|
value: n
|
|
8070
8370
|
}]
|
|
8071
8371
|
}];
|
|
8072
|
-
return c && l.push(o === "graphic" ?
|
|
8372
|
+
return c && l.push(o === "graphic" ? gn() : hn()), {
|
|
8073
8373
|
kind: "element",
|
|
8074
8374
|
tag: "div",
|
|
8075
8375
|
attrs: {
|
|
@@ -8083,11 +8383,12 @@ function fn({ animated: e, id: t, label: n, size: r = "md", tone: i = "default",
|
|
|
8083
8383
|
children: l
|
|
8084
8384
|
};
|
|
8085
8385
|
}
|
|
8086
|
-
function
|
|
8087
|
-
return r(
|
|
8386
|
+
function vn(e) {
|
|
8387
|
+
return r(_n(e));
|
|
8088
8388
|
}
|
|
8089
|
-
var
|
|
8389
|
+
var yn = {
|
|
8090
8390
|
name: "logo",
|
|
8391
|
+
category: "graphic",
|
|
8091
8392
|
description: "Use `logo` to display the brand mark.",
|
|
8092
8393
|
output: {
|
|
8093
8394
|
element: "div",
|
|
@@ -8219,7 +8520,7 @@ var mn = {
|
|
|
8219
8520
|
] }
|
|
8220
8521
|
};
|
|
8221
8522
|
// src/components/page/page.ts
|
|
8222
|
-
function
|
|
8523
|
+
function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, headerBorder: o, headerSize: s = "md", id: c, stickyHeader: l }) {
|
|
8223
8524
|
let u = a(c), d = [];
|
|
8224
8525
|
return e && d.push({
|
|
8225
8526
|
kind: "raw",
|
|
@@ -8262,11 +8563,12 @@ function hn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
|
|
|
8262
8563
|
children: d
|
|
8263
8564
|
};
|
|
8264
8565
|
}
|
|
8265
|
-
function
|
|
8266
|
-
return r(
|
|
8566
|
+
function xn(e) {
|
|
8567
|
+
return r(bn(e));
|
|
8267
8568
|
}
|
|
8268
|
-
var
|
|
8569
|
+
var Sn = {
|
|
8269
8570
|
name: "page",
|
|
8571
|
+
category: "structure",
|
|
8270
8572
|
description: "Use `page` as the primary layout for header, main, and footer regions.",
|
|
8271
8573
|
output: {
|
|
8272
8574
|
element: "div",
|
|
@@ -8406,7 +8708,7 @@ var _n = {
|
|
|
8406
8708
|
] }
|
|
8407
8709
|
};
|
|
8408
8710
|
// src/components/panel/panel.ts
|
|
8409
|
-
function
|
|
8711
|
+
function Cn({ children: e, id: t, padding: n = "md", surface: r }) {
|
|
8410
8712
|
return {
|
|
8411
8713
|
kind: "element",
|
|
8412
8714
|
tag: "div",
|
|
@@ -8422,11 +8724,12 @@ function vn({ children: e, id: t, padding: n = "md", surface: r }) {
|
|
|
8422
8724
|
}] : []
|
|
8423
8725
|
};
|
|
8424
8726
|
}
|
|
8425
|
-
function
|
|
8426
|
-
return r(
|
|
8727
|
+
function wn(e) {
|
|
8728
|
+
return r(Cn(e));
|
|
8427
8729
|
}
|
|
8428
|
-
var
|
|
8730
|
+
var Tn = {
|
|
8429
8731
|
name: "panel",
|
|
8732
|
+
category: "structure",
|
|
8430
8733
|
description: "Use `panel` to group related content in a contained region.",
|
|
8431
8734
|
output: {
|
|
8432
8735
|
element: "div",
|
|
@@ -8463,7 +8766,7 @@ var bn = {
|
|
|
8463
8766
|
description: "Surface context.",
|
|
8464
8767
|
type: {
|
|
8465
8768
|
kind: "enum",
|
|
8466
|
-
values: ["default", "
|
|
8769
|
+
values: ["default", "brandSubtle"]
|
|
8467
8770
|
}
|
|
8468
8771
|
}
|
|
8469
8772
|
},
|
|
@@ -8505,30 +8808,35 @@ var bn = {
|
|
|
8505
8808
|
] }
|
|
8506
8809
|
};
|
|
8507
8810
|
// src/components/pattern/pattern.ts
|
|
8508
|
-
function
|
|
8509
|
-
let
|
|
8510
|
-
return {
|
|
8811
|
+
function En({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineSize: i, id: o, tone: s = "default", variant: c = "tile" } = {}) {
|
|
8812
|
+
let l = a(o), u = [];
|
|
8813
|
+
return t && u.push(`--set-pattern-block-size: ${t / 16}rem`), i && u.push(`--set-pattern-inline-size: ${i / 16}rem`), {
|
|
8511
8814
|
kind: "element",
|
|
8512
8815
|
tag: "div",
|
|
8513
8816
|
attrs: {
|
|
8514
8817
|
class: "set-pattern",
|
|
8515
|
-
"data-
|
|
8516
|
-
"data-
|
|
8517
|
-
"data-
|
|
8518
|
-
|
|
8818
|
+
"data-aspect-ratio": e,
|
|
8819
|
+
"data-block-size": t ? "" : void 0,
|
|
8820
|
+
"data-inline-size": i ? "" : void 0,
|
|
8821
|
+
"data-cell": n,
|
|
8822
|
+
"data-tone": s === "default" ? void 0 : s,
|
|
8823
|
+
"data-variant": c,
|
|
8824
|
+
id: l,
|
|
8825
|
+
style: u.length > 0 ? u.join("; ") : void 0
|
|
8519
8826
|
},
|
|
8520
|
-
children:
|
|
8827
|
+
children: r ? [{
|
|
8521
8828
|
kind: "raw",
|
|
8522
|
-
html:
|
|
8829
|
+
html: r
|
|
8523
8830
|
}] : []
|
|
8524
8831
|
};
|
|
8525
8832
|
}
|
|
8526
|
-
function
|
|
8527
|
-
return r(
|
|
8833
|
+
function Dn(e = {}) {
|
|
8834
|
+
return r(En(e));
|
|
8528
8835
|
}
|
|
8529
|
-
var
|
|
8836
|
+
var On = {
|
|
8530
8837
|
name: "pattern",
|
|
8531
|
-
|
|
8838
|
+
category: "graphic",
|
|
8839
|
+
description: "Use `pattern` to render a repeating brand tile as a graphic or behind content.",
|
|
8532
8840
|
output: {
|
|
8533
8841
|
element: "div",
|
|
8534
8842
|
class: "set-pattern"
|
|
@@ -8538,29 +8846,55 @@ var Cn = {
|
|
|
8538
8846
|
prop: "children"
|
|
8539
8847
|
},
|
|
8540
8848
|
props: {
|
|
8849
|
+
aspectRatio: {
|
|
8850
|
+
description: "Aspect ratio of the box. Applies to any axis without an explicit size.",
|
|
8851
|
+
type: {
|
|
8852
|
+
kind: "enum",
|
|
8853
|
+
values: [
|
|
8854
|
+
"1:1",
|
|
8855
|
+
"4:5",
|
|
8856
|
+
"3:2",
|
|
8857
|
+
"16:9",
|
|
8858
|
+
"21:9"
|
|
8859
|
+
]
|
|
8860
|
+
}
|
|
8861
|
+
},
|
|
8862
|
+
blockSize: {
|
|
8863
|
+
description: "Block size in pixels, snapped to whole cells. Fills the parent when omitted.",
|
|
8864
|
+
type: { kind: "number" }
|
|
8865
|
+
},
|
|
8541
8866
|
children: {
|
|
8542
|
-
description: "Content rendered
|
|
8867
|
+
description: "Content rendered over the pattern.",
|
|
8543
8868
|
type: { kind: "html" }
|
|
8544
8869
|
},
|
|
8545
8870
|
id: {
|
|
8546
8871
|
description: "DOM id.",
|
|
8547
8872
|
type: { kind: "string" }
|
|
8548
8873
|
},
|
|
8874
|
+
inlineSize: {
|
|
8875
|
+
description: "Inline size in pixels, snapped to whole cells and never wider than the parent. Fills the parent when omitted.",
|
|
8876
|
+
type: { kind: "number" }
|
|
8877
|
+
},
|
|
8549
8878
|
tone: {
|
|
8550
8879
|
default: "default",
|
|
8551
|
-
description: "Semantic tone.",
|
|
8880
|
+
description: "Semantic tone. Only `default` and `subtle` are contrast-safe for children. With `brand*` tones, place any children on a solid background, such as a Box.",
|
|
8552
8881
|
type: {
|
|
8553
8882
|
kind: "enum",
|
|
8554
8883
|
values: [
|
|
8555
8884
|
"default",
|
|
8556
8885
|
"subtle",
|
|
8557
|
-
"
|
|
8886
|
+
"brand",
|
|
8887
|
+
"brandSecondary",
|
|
8888
|
+
"brandTertiary",
|
|
8889
|
+
"brandSupport",
|
|
8890
|
+
"brandSupportSecondary",
|
|
8891
|
+
"brandSupportTertiary"
|
|
8558
8892
|
]
|
|
8559
8893
|
}
|
|
8560
8894
|
},
|
|
8561
|
-
|
|
8895
|
+
cell: {
|
|
8562
8896
|
default: "md",
|
|
8563
|
-
description: "
|
|
8897
|
+
description: "Cell size.",
|
|
8564
8898
|
type: {
|
|
8565
8899
|
kind: "enum",
|
|
8566
8900
|
values: [
|
|
@@ -8568,8 +8902,7 @@ var Cn = {
|
|
|
8568
8902
|
"sm",
|
|
8569
8903
|
"md",
|
|
8570
8904
|
"lg",
|
|
8571
|
-
"xl"
|
|
8572
|
-
"fill"
|
|
8905
|
+
"xl"
|
|
8573
8906
|
]
|
|
8574
8907
|
}
|
|
8575
8908
|
},
|
|
@@ -8588,6 +8921,34 @@ var Cn = {
|
|
|
8588
8921
|
},
|
|
8589
8922
|
events: {},
|
|
8590
8923
|
rules: { attributes: [
|
|
8924
|
+
{
|
|
8925
|
+
target: { on: "host" },
|
|
8926
|
+
attribute: "data-aspect-ratio",
|
|
8927
|
+
condition: {
|
|
8928
|
+
kind: "when-provided",
|
|
8929
|
+
prop: "aspectRatio"
|
|
8930
|
+
},
|
|
8931
|
+
value: {
|
|
8932
|
+
kind: "prop",
|
|
8933
|
+
prop: "aspectRatio"
|
|
8934
|
+
}
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
target: { on: "host" },
|
|
8938
|
+
attribute: "data-block-size",
|
|
8939
|
+
condition: {
|
|
8940
|
+
kind: "when-truthy",
|
|
8941
|
+
prop: "blockSize"
|
|
8942
|
+
}
|
|
8943
|
+
},
|
|
8944
|
+
{
|
|
8945
|
+
target: { on: "host" },
|
|
8946
|
+
attribute: "data-inline-size",
|
|
8947
|
+
condition: {
|
|
8948
|
+
kind: "when-truthy",
|
|
8949
|
+
prop: "inlineSize"
|
|
8950
|
+
}
|
|
8951
|
+
},
|
|
8591
8952
|
{
|
|
8592
8953
|
target: { on: "host" },
|
|
8593
8954
|
attribute: "data-variant",
|
|
@@ -8599,11 +8960,11 @@ var Cn = {
|
|
|
8599
8960
|
},
|
|
8600
8961
|
{
|
|
8601
8962
|
target: { on: "host" },
|
|
8602
|
-
attribute: "data-
|
|
8963
|
+
attribute: "data-cell",
|
|
8603
8964
|
condition: { kind: "always" },
|
|
8604
8965
|
value: {
|
|
8605
8966
|
kind: "prop",
|
|
8606
|
-
prop: "
|
|
8967
|
+
prop: "cell"
|
|
8607
8968
|
}
|
|
8608
8969
|
},
|
|
8609
8970
|
{
|
|
@@ -8612,7 +8973,15 @@ var Cn = {
|
|
|
8612
8973
|
condition: {
|
|
8613
8974
|
kind: "when-in",
|
|
8614
8975
|
prop: "tone",
|
|
8615
|
-
values: [
|
|
8976
|
+
values: [
|
|
8977
|
+
"subtle",
|
|
8978
|
+
"brand",
|
|
8979
|
+
"brandSecondary",
|
|
8980
|
+
"brandTertiary",
|
|
8981
|
+
"brandSupport",
|
|
8982
|
+
"brandSupportSecondary",
|
|
8983
|
+
"brandSupportTertiary"
|
|
8984
|
+
]
|
|
8616
8985
|
},
|
|
8617
8986
|
value: {
|
|
8618
8987
|
kind: "prop",
|
|
@@ -8634,15 +9003,15 @@ var Cn = {
|
|
|
8634
9003
|
] }
|
|
8635
9004
|
};
|
|
8636
9005
|
// src/components/poster/poster.ts
|
|
8637
|
-
function
|
|
8638
|
-
return
|
|
9006
|
+
function kn(e) {
|
|
9007
|
+
return ce({
|
|
8639
9008
|
...e,
|
|
8640
9009
|
alt: "",
|
|
8641
9010
|
fit: "cover",
|
|
8642
9011
|
priority: !0
|
|
8643
9012
|
});
|
|
8644
9013
|
}
|
|
8645
|
-
function
|
|
9014
|
+
function An({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
8646
9015
|
let o = a(n), s = t ? i ?? "default" : i, c = [{
|
|
8647
9016
|
kind: "element",
|
|
8648
9017
|
tag: "div",
|
|
@@ -8672,11 +9041,12 @@ function Tn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
|
8672
9041
|
children: c
|
|
8673
9042
|
};
|
|
8674
9043
|
}
|
|
8675
|
-
function
|
|
8676
|
-
return r(
|
|
9044
|
+
function jn(e) {
|
|
9045
|
+
return r(An(e));
|
|
8677
9046
|
}
|
|
8678
|
-
var
|
|
9047
|
+
var Mn = {
|
|
8679
9048
|
name: "poster",
|
|
9049
|
+
category: "structure",
|
|
8680
9050
|
description: "Use `poster` to layer content over background media.",
|
|
8681
9051
|
output: {
|
|
8682
9052
|
element: "div",
|
|
@@ -8718,7 +9088,13 @@ var Dn = {
|
|
|
8718
9088
|
description: "Surface context.",
|
|
8719
9089
|
type: {
|
|
8720
9090
|
kind: "enum",
|
|
8721
|
-
values: [
|
|
9091
|
+
values: [
|
|
9092
|
+
"default",
|
|
9093
|
+
"brandSubtle",
|
|
9094
|
+
"brand",
|
|
9095
|
+
"brandSecondary",
|
|
9096
|
+
"brandTertiary"
|
|
9097
|
+
]
|
|
8722
9098
|
}
|
|
8723
9099
|
}
|
|
8724
9100
|
},
|
|
@@ -8784,7 +9160,7 @@ var Dn = {
|
|
|
8784
9160
|
] }
|
|
8785
9161
|
};
|
|
8786
9162
|
// src/components/prose/prose.ts
|
|
8787
|
-
function
|
|
9163
|
+
function Nn({ align: e = "start", children: t, hangingPunctuation: n, id: r, linkVisited: i = !0, measured: o = !0, monospaced: s, responsive: c }) {
|
|
8788
9164
|
let l = a(r);
|
|
8789
9165
|
return {
|
|
8790
9166
|
kind: "element",
|
|
@@ -8805,11 +9181,12 @@ function On({ align: e = "start", children: t, hangingPunctuation: n, id: r, lin
|
|
|
8805
9181
|
}]
|
|
8806
9182
|
};
|
|
8807
9183
|
}
|
|
8808
|
-
function
|
|
8809
|
-
return r(
|
|
9184
|
+
function Pn(e) {
|
|
9185
|
+
return r(Nn(e));
|
|
8810
9186
|
}
|
|
8811
|
-
var
|
|
9187
|
+
var Fn = {
|
|
8812
9188
|
name: "prose",
|
|
9189
|
+
category: "typographic",
|
|
8813
9190
|
description: "Use `prose` to style rich-text markup.",
|
|
8814
9191
|
output: {
|
|
8815
9192
|
element: "div",
|
|
@@ -8948,7 +9325,7 @@ var An = {
|
|
|
8948
9325
|
] }
|
|
8949
9326
|
};
|
|
8950
9327
|
// src/components/radios/radios.ts
|
|
8951
|
-
function
|
|
9328
|
+
function In({ description: e, disabled: t, id: n, invalid: a, radios: o, legend: s, name: c, orientation: l = "vertical", required: u, size: d = "md", value: f }) {
|
|
8952
9329
|
let p = n.trim(), m = c.trim(), h = f?.trim();
|
|
8953
9330
|
if (!p) throw Error("id must be a non-empty string.");
|
|
8954
9331
|
if (!i(p)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -9013,7 +9390,7 @@ function jn({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
|
|
|
9013
9390
|
children: r
|
|
9014
9391
|
};
|
|
9015
9392
|
});
|
|
9016
|
-
return
|
|
9393
|
+
return zt({
|
|
9017
9394
|
children: r({
|
|
9018
9395
|
kind: "element",
|
|
9019
9396
|
tag: "div",
|
|
@@ -9031,11 +9408,12 @@ function jn({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
|
|
|
9031
9408
|
legend: s
|
|
9032
9409
|
});
|
|
9033
9410
|
}
|
|
9034
|
-
function
|
|
9035
|
-
return r(
|
|
9411
|
+
function Ln(e) {
|
|
9412
|
+
return r(In(e));
|
|
9036
9413
|
}
|
|
9037
|
-
var
|
|
9414
|
+
var Rn = {
|
|
9038
9415
|
name: "radios",
|
|
9416
|
+
category: "control",
|
|
9039
9417
|
description: "Use `radios` to let users select one option from a short list.",
|
|
9040
9418
|
output: {
|
|
9041
9419
|
element: "fieldset",
|
|
@@ -9245,7 +9623,7 @@ var Nn = {
|
|
|
9245
9623
|
] }
|
|
9246
9624
|
};
|
|
9247
9625
|
// src/components/root/root.ts
|
|
9248
|
-
function
|
|
9626
|
+
function zn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children: r, dir: i, id: o, lang: s, theme: c }) {
|
|
9249
9627
|
let l = a(o);
|
|
9250
9628
|
return {
|
|
9251
9629
|
kind: "element",
|
|
@@ -9266,11 +9644,12 @@ function Pn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children:
|
|
|
9266
9644
|
}] : []
|
|
9267
9645
|
};
|
|
9268
9646
|
}
|
|
9269
|
-
function
|
|
9270
|
-
return r(
|
|
9647
|
+
function Bn(e) {
|
|
9648
|
+
return r(zn(e));
|
|
9271
9649
|
}
|
|
9272
|
-
var
|
|
9650
|
+
var Vn = {
|
|
9273
9651
|
name: "root",
|
|
9652
|
+
category: "environment",
|
|
9274
9653
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
9275
9654
|
output: {
|
|
9276
9655
|
element: "div",
|
|
@@ -9412,7 +9791,7 @@ var In = {
|
|
|
9412
9791
|
] }
|
|
9413
9792
|
};
|
|
9414
9793
|
// src/components/stack/stack.ts
|
|
9415
|
-
function
|
|
9794
|
+
function Hn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", id: i, responsive: o }) {
|
|
9416
9795
|
let s = a(i);
|
|
9417
9796
|
return {
|
|
9418
9797
|
kind: "element",
|
|
@@ -9430,11 +9809,12 @@ function Ln({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", i
|
|
|
9430
9809
|
}] : []
|
|
9431
9810
|
};
|
|
9432
9811
|
}
|
|
9433
|
-
function
|
|
9434
|
-
return r(
|
|
9812
|
+
function Un(e) {
|
|
9813
|
+
return r(Hn(e));
|
|
9435
9814
|
}
|
|
9436
|
-
var
|
|
9815
|
+
var Wn = {
|
|
9437
9816
|
name: "stack",
|
|
9817
|
+
category: "layout",
|
|
9438
9818
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
9439
9819
|
output: {
|
|
9440
9820
|
element: {
|
|
@@ -9553,7 +9933,7 @@ var zn = {
|
|
|
9553
9933
|
] }
|
|
9554
9934
|
};
|
|
9555
9935
|
// src/components/surface/surface.ts
|
|
9556
|
-
function
|
|
9936
|
+
function Gn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
9557
9937
|
return {
|
|
9558
9938
|
kind: "element",
|
|
9559
9939
|
tag: "div",
|
|
@@ -9569,11 +9949,12 @@ function Bn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
|
9569
9949
|
}]
|
|
9570
9950
|
};
|
|
9571
9951
|
}
|
|
9572
|
-
function
|
|
9573
|
-
return r(
|
|
9952
|
+
function Kn(e) {
|
|
9953
|
+
return r(Gn(e));
|
|
9574
9954
|
}
|
|
9575
|
-
var
|
|
9955
|
+
var qn = {
|
|
9576
9956
|
name: "surface",
|
|
9957
|
+
category: "environment",
|
|
9577
9958
|
description: "Use `surface` to set a colour context for nested content.",
|
|
9578
9959
|
output: {
|
|
9579
9960
|
element: "div",
|
|
@@ -9605,7 +9986,13 @@ var Hn = {
|
|
|
9605
9986
|
description: "Surface context.",
|
|
9606
9987
|
type: {
|
|
9607
9988
|
kind: "enum",
|
|
9608
|
-
values: [
|
|
9989
|
+
values: [
|
|
9990
|
+
"default",
|
|
9991
|
+
"brandSubtle",
|
|
9992
|
+
"brand",
|
|
9993
|
+
"brandSecondary",
|
|
9994
|
+
"brandTertiary"
|
|
9995
|
+
]
|
|
9609
9996
|
}
|
|
9610
9997
|
}
|
|
9611
9998
|
},
|
|
@@ -9647,7 +10034,7 @@ var Hn = {
|
|
|
9647
10034
|
] }
|
|
9648
10035
|
};
|
|
9649
10036
|
// src/components/switch/switch.ts
|
|
9650
|
-
function
|
|
10037
|
+
function Jn({ checked: e, description: t, disabled: n, id: r, label: i, name: o, size: s = "md", value: c }) {
|
|
9651
10038
|
let l = a(r), u = t?.trim();
|
|
9652
10039
|
if (u && !l) throw Error("id must be provided when description is provided.");
|
|
9653
10040
|
let d = u ? `${l}-description` : void 0, f = [{
|
|
@@ -9700,11 +10087,12 @@ function Un({ checked: e, description: t, disabled: n, id: r, label: i, name: o,
|
|
|
9700
10087
|
children: f
|
|
9701
10088
|
};
|
|
9702
10089
|
}
|
|
9703
|
-
function
|
|
9704
|
-
return r(
|
|
10090
|
+
function Yn(e) {
|
|
10091
|
+
return r(Jn(e));
|
|
9705
10092
|
}
|
|
9706
|
-
var
|
|
10093
|
+
var Xn = {
|
|
9707
10094
|
name: "switch",
|
|
10095
|
+
category: "control",
|
|
9708
10096
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
9709
10097
|
output: {
|
|
9710
10098
|
element: "div",
|
|
@@ -9879,7 +10267,7 @@ var Gn = {
|
|
|
9879
10267
|
] }
|
|
9880
10268
|
};
|
|
9881
10269
|
// src/components/textarea/textarea.ts
|
|
9882
|
-
function
|
|
10270
|
+
function Zn({ 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" }) {
|
|
9883
10271
|
let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = m;
|
|
9884
10272
|
if (!g) throw Error("id must be a non-empty string.");
|
|
9885
10273
|
if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -9939,11 +10327,12 @@ function Kn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
|
|
|
9939
10327
|
children: w
|
|
9940
10328
|
};
|
|
9941
10329
|
}
|
|
9942
|
-
function
|
|
9943
|
-
return r(
|
|
10330
|
+
function Qn(e) {
|
|
10331
|
+
return r(Zn(e));
|
|
9944
10332
|
}
|
|
9945
|
-
var
|
|
10333
|
+
var $n = {
|
|
9946
10334
|
name: "textarea",
|
|
10335
|
+
category: "control",
|
|
9947
10336
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
9948
10337
|
output: {
|
|
9949
10338
|
element: "div",
|
|
@@ -9975,7 +10364,7 @@ var Jn = {
|
|
|
9975
10364
|
}
|
|
9976
10365
|
},
|
|
9977
10366
|
description: {
|
|
9978
|
-
description: "Helper text shown below the textarea
|
|
10367
|
+
description: "Helper text shown below the textarea. When invalid, put the error message here.",
|
|
9979
10368
|
type: { kind: "string" }
|
|
9980
10369
|
},
|
|
9981
10370
|
disabled: {
|
|
@@ -10264,11 +10653,20 @@ var Jn = {
|
|
|
10264
10653
|
}
|
|
10265
10654
|
}
|
|
10266
10655
|
] }
|
|
10267
|
-
}
|
|
10656
|
+
}, er = [
|
|
10657
|
+
"control",
|
|
10658
|
+
"environment",
|
|
10659
|
+
"graphic",
|
|
10660
|
+
"layout",
|
|
10661
|
+
"navigation",
|
|
10662
|
+
"status",
|
|
10663
|
+
"structure",
|
|
10664
|
+
"typographic"
|
|
10665
|
+
], tr = (e) => e.charAt(0).toUpperCase() + e.slice(1), nr = (e) => `${tr(e.category)}/${tr(e.name)}`;
|
|
10268
10666
|
// src/index.ts
|
|
10269
|
-
function
|
|
10270
|
-
M(),
|
|
10667
|
+
function rr() {
|
|
10668
|
+
M(), ae(), le(), ve(), Ce(), Me(), Ie(), Ue(), Je();
|
|
10271
10669
|
}
|
|
10272
|
-
export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS, N as SET_ALERT_SPEC, C as SET_ALERT_TAG_NAME, st as SET_AVATAR_SPEC, ut as SET_BADGE_SPEC,
|
|
10670
|
+
export { w as SET_ALERT_EVENT_BEFORE_DISMISS, T as SET_ALERT_EVENT_DISMISS, N as SET_ALERT_SPEC, C as SET_ALERT_TAG_NAME, st as SET_AVATAR_SPEC, ut as SET_BADGE_SPEC, L as SET_BANNER_EVENT_BEFORE_DISMISS, R as SET_BANNER_EVENT_DISMISS, oe as SET_BANNER_SPEC, I as SET_BANNER_TAG_NAME, ht as SET_BLOCKQUOTE_SPEC, vt as SET_BOX_SPEC, S as SET_BUTTON_SPEC, xt as SET_CARD_SPEC, wt as SET_CHECKBOX_SPEC, er as SET_COMPONENT_CATEGORIES, Dt as SET_CONTAINER_SPEC, At as SET_DETAILS_SPEC, Ft as SET_DITHER_SPEC, Rt as SET_DIVIDER_SPEC, Oe as SET_EXPANDER_SPEC, Vt as SET_FIELDSET_SPEC, Wt as SET_FIGURE_SPEC, Xt as SET_GRID_ITEM_SPEC, Yt as SET_GRID_SPEC, $t as SET_HEADING_SPEC, l as SET_ICON_NAMES, p as SET_ICON_SPEC, ue as SET_IMAGE_SPEC, B as SET_IMAGE_TAG_NAME, nn as SET_INLINE_SPEC, on as SET_INPUT_SPEC, de as SET_LIGHTSWITCH_EVENT_CHANGE, ye as SET_LIGHTSWITCH_SPEC, H as SET_LIGHTSWITCH_STORAGE_KEY, V as SET_LIGHTSWITCH_TAG_NAME, te as SET_LINK_SPEC, yn as SET_LOGO_SPEC, be as SET_MENU_EVENT_CHOOSE, we as SET_MENU_SPEC, W as SET_MENU_TAG_NAME, Ne as SET_NAV_SPEC, G as SET_NAV_TAG_NAME, Sn as SET_PAGE_SPEC, Tn as SET_PANEL_SPEC, On as SET_PATTERN_SPEC, Mn as SET_POSTER_SPEC, Fn as SET_PROSE_SPEC, Rn as SET_RADIOS_SPEC, Le as SET_RANGE_SPEC, K as SET_RANGE_TAG_NAME, Vn as SET_ROOT_SPEC, We as SET_SIDEBAR_SPEC, q as SET_SIDEBAR_TAG_NAME, g as SET_SPINNER_SPEC, Wn as SET_STACK_SPEC, qn as SET_SURFACE_SPEC, Xn as SET_SWITCH_SPEC, $n as SET_TEXTAREA_SPEC, ft as SET_TEXT_SPEC, Ye as SET_VIDEO_SPEC, Y as SET_VIDEO_TAG_NAME, x as applySetButtonActivity, A as buildSetAlert, at as buildSetAvatar, ct as buildSetBadge, re as buildSetBanner, pt as buildSetBlockquote, gt as buildSetBox, y as buildSetButton, yt as buildSetCard, St as buildSetCheckbox, Tt as buildSetContainer, Ot as buildSetDetails, Nt as buildSetDither, It as buildSetDivider, Ee as buildSetExpander, zt as buildSetFieldset, Ht as buildSetFigure, Gt as buildSetGrid, qt as buildSetGridItem, Zt as buildSetHeading, d as buildSetIcon, se as buildSetImage, en as buildSetInline, rn as buildSetInput, ge as buildSetLightswitch, F as buildSetLink, _n as buildSetLogo, xe as buildSetMenu, Ae as buildSetNav, bn as buildSetPage, Cn as buildSetPanel, En as buildSetPattern, An as buildSetPoster, Nn as buildSetProse, In as buildSetRadios, Pe as buildSetRange, zn as buildSetRoot, Ve as buildSetSidebar, m as buildSetSpinner, Hn as buildSetStack, Gn as buildSetSurface, Jn as buildSetSwitch, Z as buildSetText, Zn as buildSetTextarea, Ge as buildSetVideo, M as defineSetAlert, ae as defineSetBanner, rr as defineSetComponents, le as defineSetImage, ve as defineSetLightswitch, Ce as defineSetMenu, Me as defineSetNav, Ie as defineSetRange, Ue as defineSetSidebar, Je as defineSetVideo, Mt as ditherLevel, t as escapeHtml, Qe as getSetInitials, j as renderSetAlert, ot as renderSetAvatar, lt as renderSetBadge, ie as renderSetBanner, mt as renderSetBlockquote, _t as renderSetBox, b as renderSetButton, bt as renderSetCard, Ct as renderSetCheckbox, Et as renderSetContainer, kt as renderSetDetails, Pt as renderSetDither, Lt as renderSetDivider, De as renderSetExpander, Bt as renderSetFieldset, Ut as renderSetFigure, Kt as renderSetGrid, Jt as renderSetGridItem, Qt as renderSetHeading, f as renderSetIcon, ce as renderSetImage, tn as renderSetInline, an as renderSetInput, _e as renderSetLightswitch, ee as renderSetLink, vn as renderSetLogo, Se as renderSetMenu, je as renderSetNav, xn as renderSetPage, wn as renderSetPanel, Dn as renderSetPattern, jn as renderSetPoster, kn as renderSetPosterImage, Pn as renderSetProse, Ln as renderSetRadios, Fe as renderSetRange, Bn as renderSetRoot, He as renderSetSidebar, h as renderSetSpinner, Un as renderSetStack, Kn as renderSetSurface, Yn as renderSetSwitch, dt as renderSetText, Qn as renderSetTextarea, Ke as renderSetVideo, r as serializeSetNode, nr as specToStoryTitle };
|
|
10273
10671
|
|
|
10274
10672
|
//# sourceMappingURL=index.js.map
|