@monospaced/set-core 0.25.0 → 0.26.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/avatar/avatar.d.ts.map +1 -1
- package/dist/components/inline/inline.d.ts +2 -1
- package/dist/components/inline/inline.d.ts.map +1 -1
- package/dist/components/nav/nav.d.ts.map +1 -1
- package/dist/components/page/page.d.ts +14 -5
- package/dist/components/page/page.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 +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +160 -148
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/dist/components/panel/panel.d.ts +0 -31
- package/dist/components/panel/panel.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,15 +26,14 @@ export { buildSetGrid, buildSetGridItem, renderSetGrid, renderSetGridItem, SET_G
|
|
|
26
26
|
export { buildSetHeading, renderSetHeading, SET_HEADING_SPEC, type SetHeadingProps, type SetHeadingSize, } from "./components/heading/heading";
|
|
27
27
|
export { buildSetIcon, renderSetIcon, SET_ICON_NAMES, SET_ICON_SPEC, type SetIconMirrorMode, type SetIconName, type SetIconProps, type SetIconSize, } from "./components/icon/icon";
|
|
28
28
|
export { buildSetImage, defineSetImage, renderSetImage, SET_IMAGE_SPEC, SET_IMAGE_TAG_NAME, type SetImageAspectRatio, type SetImageFit, type SetImageGravity, type SetImageProps, type SetImageScheme, type SetImageSource, } from "./components/image/image";
|
|
29
|
-
export { buildSetInline, renderSetInline, SET_INLINE_SPEC, type SetInlineAs, type SetInlineGap, type SetInlineJustify, type SetInlineProps, } from "./components/inline/inline";
|
|
29
|
+
export { buildSetInline, renderSetInline, SET_INLINE_SPEC, type SetInlineAlign, type SetInlineAs, type SetInlineGap, type SetInlineJustify, type SetInlineProps, } from "./components/inline/inline";
|
|
30
30
|
export { buildSetInput, renderSetInput, SET_INPUT_SPEC, type SetInputProps, type SetInputType, } from "./components/input/input";
|
|
31
31
|
export { buildSetLightswitch, defineSetLightswitch, renderSetLightswitch, SET_LIGHTSWITCH_EVENT_CHANGE, SET_LIGHTSWITCH_SPEC, SET_LIGHTSWITCH_STORAGE_KEY, SET_LIGHTSWITCH_TAG_NAME, type SetLightswitchAppearance, type SetLightswitchProps, type SetLightswitchSize, } from "./components/lightswitch/lightswitch";
|
|
32
32
|
export { buildSetLink, renderSetLink, SET_LINK_SPEC, type SetLinkAppearance, type SetLinkCurrent, type SetLinkLabelVisibility, type SetLinkPlacement, type SetLinkProps, type SetLinkSize, type SetLinkTarget, type SetLinkTone, } from "./components/link/link";
|
|
33
33
|
export { buildSetLogo, renderSetLogo, SET_LOGO_SPEC, type SetLogoProps, type SetLogoSize, type SetLogoTone, type SetLogoVariant, } from "./components/logo/logo";
|
|
34
34
|
export { buildSetMenu, defineSetMenu, renderSetMenu, SET_MENU_EVENT_CHOOSE, SET_MENU_SPEC, SET_MENU_TAG_NAME, type SetMenuAlign, type SetMenuItem, type SetMenuProps, } from "./components/menu/menu";
|
|
35
35
|
export { buildSetNav, defineSetNav, renderSetNav, SET_NAV_SPEC, SET_NAV_TAG_NAME, type SetNavCollapsible, type SetNavCurrent, type SetNavExpanderPosition, type SetNavItem, type SetNavProps, type SetNavSize, } from "./components/nav/nav";
|
|
36
|
-
export { buildSetPage, renderSetPage, SET_PAGE_SPEC, type SetPageHeaderBorder, type SetPageHeaderSize, type
|
|
37
|
-
export { buildSetPanel, renderSetPanel, SET_PANEL_SPEC, type SetPanelPadding, type SetPanelProps, } from "./components/panel/panel";
|
|
36
|
+
export { buildSetPage, renderSetPage, SET_PAGE_SPEC, type SetPageHeaderBackground, type SetPageHeaderBorder, type SetPageHeaderSize, type SetPageHeaderSticky, type SetPageProps, } from "./components/page/page";
|
|
38
37
|
export { buildSetPattern, renderSetPattern, SET_PATTERN_SPEC, type SetPatternCell, type SetPatternProps, type SetPatternTone, type SetPatternVariant, } from "./components/pattern/pattern";
|
|
39
38
|
export { buildSetPoster, renderSetPoster, renderSetPosterImage, SET_POSTER_SPEC, type SetPosterAdaptiveMedia, type SetPosterImageProps, type SetPosterMedia, type SetPosterProps, type SetPosterSurface, } from "./components/poster/poster";
|
|
40
39
|
export { buildSetProse, renderSetProse, SET_PROSE_SPEC, type SetProseHangingPunctuation, type SetProseProps, } from "./components/prose/prose";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAYtB;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAU1C;AAED,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,+BAA+B,EAC/B,wBAAwB,EACxB,eAAe,EACf,mBAAmB,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,oCA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B,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,KAAK,WAAW,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,cAAc,GACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,UAAU,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAYtB;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAU1C;AAED,OAAO,EACL,aAAa,EACb,cAAc,EACd,cAAc,EACd,8BAA8B,EAC9B,uBAAuB,EACvB,cAAc,EACd,kBAAkB,EAClB,KAAK,a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AgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,aAAa,EACb,eAAe,EACf,aAAa,EACb,YAAY,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AACpE,YAAY,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,eAAe,EACf,aAAa,GACd,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3646,7 +3646,7 @@ var Ne = {
|
|
|
3646
3646
|
},
|
|
3647
3647
|
expanderPosition: {
|
|
3648
3648
|
default: "start",
|
|
3649
|
-
description: "
|
|
3649
|
+
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
3650
|
type: {
|
|
3651
3651
|
kind: "enum",
|
|
3652
3652
|
values: ["start", "end"]
|
|
@@ -3657,7 +3657,7 @@ var Ne = {
|
|
|
3657
3657
|
type: { kind: "string" }
|
|
3658
3658
|
},
|
|
3659
3659
|
collapsible: {
|
|
3660
|
-
description: "When to collapse the nav behind an expander.",
|
|
3660
|
+
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
3661
|
type: {
|
|
3662
3662
|
kind: "enum",
|
|
3663
3663
|
values: ["always", "belowTablet"]
|
|
@@ -4970,7 +4970,7 @@ var st = {
|
|
|
4970
4970
|
}
|
|
4971
4971
|
},
|
|
4972
4972
|
color: {
|
|
4973
|
-
description: "Background color swatch.
|
|
4973
|
+
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
4974
|
type: {
|
|
4975
4975
|
kind: "enum",
|
|
4976
4976
|
values: [
|
|
@@ -7766,13 +7766,14 @@ var nn = {
|
|
|
7766
7766
|
},
|
|
7767
7767
|
align: {
|
|
7768
7768
|
default: "center",
|
|
7769
|
-
description: "Aligns items on the cross axis.",
|
|
7769
|
+
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
7770
|
type: {
|
|
7771
7771
|
kind: "enum",
|
|
7772
7772
|
values: [
|
|
7773
7773
|
"start",
|
|
7774
7774
|
"center",
|
|
7775
|
-
"end"
|
|
7775
|
+
"end",
|
|
7776
|
+
"baseline"
|
|
7776
7777
|
]
|
|
7777
7778
|
}
|
|
7778
7779
|
},
|
|
@@ -7824,7 +7825,11 @@ var nn = {
|
|
|
7824
7825
|
condition: {
|
|
7825
7826
|
kind: "when-in",
|
|
7826
7827
|
prop: "align",
|
|
7827
|
-
values: [
|
|
7828
|
+
values: [
|
|
7829
|
+
"start",
|
|
7830
|
+
"end",
|
|
7831
|
+
"baseline"
|
|
7832
|
+
]
|
|
7828
7833
|
},
|
|
7829
7834
|
value: {
|
|
7830
7835
|
kind: "prop",
|
|
@@ -8520,20 +8525,25 @@ var yn = {
|
|
|
8520
8525
|
] }
|
|
8521
8526
|
};
|
|
8522
8527
|
// src/components/page/page.ts
|
|
8523
|
-
function bn({ banner: e, centerMain: t, children: n, footer: r, header: i,
|
|
8524
|
-
let
|
|
8525
|
-
return e &&
|
|
8528
|
+
function bn({ 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 }) {
|
|
8529
|
+
let p = a(f), m = c ? d ?? "default" : d, h = [];
|
|
8530
|
+
return e && h.push({
|
|
8526
8531
|
kind: "raw",
|
|
8527
8532
|
html: e
|
|
8528
|
-
}),
|
|
8533
|
+
}), h.push({
|
|
8529
8534
|
kind: "element",
|
|
8530
8535
|
tag: "header",
|
|
8531
|
-
attrs: {
|
|
8536
|
+
attrs: {
|
|
8537
|
+
class: "header",
|
|
8538
|
+
"data-background": o === "default" ? void 0 : o,
|
|
8539
|
+
"data-set-content-theme": c,
|
|
8540
|
+
"data-set-surface": m
|
|
8541
|
+
},
|
|
8532
8542
|
children: [{
|
|
8533
8543
|
kind: "raw",
|
|
8534
8544
|
html: i
|
|
8535
8545
|
}]
|
|
8536
|
-
}),
|
|
8546
|
+
}), h.push({
|
|
8537
8547
|
kind: "element",
|
|
8538
8548
|
tag: "main",
|
|
8539
8549
|
attrs: { class: "main" },
|
|
@@ -8541,7 +8551,7 @@ function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
|
|
|
8541
8551
|
kind: "raw",
|
|
8542
8552
|
html: n
|
|
8543
8553
|
}] : []
|
|
8544
|
-
}),
|
|
8554
|
+
}), h.push({
|
|
8545
8555
|
kind: "element",
|
|
8546
8556
|
tag: "footer",
|
|
8547
8557
|
attrs: { class: "footer" },
|
|
@@ -8555,12 +8565,12 @@ function bn({ banner: e, centerMain: t, children: n, footer: r, header: i, heade
|
|
|
8555
8565
|
attrs: {
|
|
8556
8566
|
class: "set-page",
|
|
8557
8567
|
"data-center-main": t,
|
|
8558
|
-
"data-header-border":
|
|
8559
|
-
"data-header-size":
|
|
8560
|
-
"data-sticky
|
|
8561
|
-
id:
|
|
8568
|
+
"data-header-border": s,
|
|
8569
|
+
"data-header-size": l,
|
|
8570
|
+
"data-header-sticky": u,
|
|
8571
|
+
id: p
|
|
8562
8572
|
},
|
|
8563
|
-
children:
|
|
8573
|
+
children: h
|
|
8564
8574
|
};
|
|
8565
8575
|
}
|
|
8566
8576
|
function xn(e) {
|
|
@@ -8610,20 +8620,39 @@ var Sn = {
|
|
|
8610
8620
|
type: { kind: "boolean" }
|
|
8611
8621
|
},
|
|
8612
8622
|
header: {
|
|
8613
|
-
description: "Header content.",
|
|
8623
|
+
description: "Header content. The header centres it vertically in its reserved block size.",
|
|
8614
8624
|
required: !0,
|
|
8615
8625
|
type: { kind: "html" }
|
|
8616
8626
|
},
|
|
8627
|
+
headerBackground: {
|
|
8628
|
+
default: "default",
|
|
8629
|
+
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.",
|
|
8630
|
+
type: {
|
|
8631
|
+
kind: "enum",
|
|
8632
|
+
values: [
|
|
8633
|
+
"default",
|
|
8634
|
+
"panel",
|
|
8635
|
+
"transparent"
|
|
8636
|
+
]
|
|
8637
|
+
}
|
|
8638
|
+
},
|
|
8617
8639
|
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).",
|
|
8640
|
+
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
8641
|
type: {
|
|
8620
8642
|
kind: "enum",
|
|
8621
8643
|
values: ["always", "scroll"]
|
|
8622
8644
|
}
|
|
8623
8645
|
},
|
|
8646
|
+
headerContentTheme: {
|
|
8647
|
+
description: "Absolute theme lock for content rendered inside the header.",
|
|
8648
|
+
type: {
|
|
8649
|
+
kind: "enum",
|
|
8650
|
+
values: ["light", "dark"]
|
|
8651
|
+
}
|
|
8652
|
+
},
|
|
8624
8653
|
headerSize: {
|
|
8625
8654
|
default: "md",
|
|
8626
|
-
description: "Reserves a minimum block size on the header. `--set-page-header-block-size`
|
|
8655
|
+
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
8656
|
type: {
|
|
8628
8657
|
kind: "enum",
|
|
8629
8658
|
values: [
|
|
@@ -8633,17 +8662,30 @@ var Sn = {
|
|
|
8633
8662
|
]
|
|
8634
8663
|
}
|
|
8635
8664
|
},
|
|
8636
|
-
|
|
8637
|
-
description: "DOM id.",
|
|
8638
|
-
type: { kind: "string" }
|
|
8639
|
-
},
|
|
8640
|
-
stickyHeader: {
|
|
8665
|
+
headerSticky: {
|
|
8641
8666
|
description: "When the header stays stuck to the top of the viewport.",
|
|
8642
8667
|
type: {
|
|
8643
8668
|
kind: "enum",
|
|
8644
8669
|
values: ["always", "belowNotebook"]
|
|
8645
8670
|
}
|
|
8646
8671
|
},
|
|
8672
|
+
headerSurface: {
|
|
8673
|
+
description: "Surface context of the header. Inherits the surrounding context when omitted.",
|
|
8674
|
+
type: {
|
|
8675
|
+
kind: "enum",
|
|
8676
|
+
values: [
|
|
8677
|
+
"default",
|
|
8678
|
+
"brandSubtle",
|
|
8679
|
+
"brand",
|
|
8680
|
+
"brandSecondary",
|
|
8681
|
+
"brandTertiary"
|
|
8682
|
+
]
|
|
8683
|
+
}
|
|
8684
|
+
},
|
|
8685
|
+
id: {
|
|
8686
|
+
description: "DOM id.",
|
|
8687
|
+
type: { kind: "string" }
|
|
8688
|
+
},
|
|
8647
8689
|
footer: {
|
|
8648
8690
|
description: "Footer content.",
|
|
8649
8691
|
required: !0,
|
|
@@ -8683,114 +8725,84 @@ var Sn = {
|
|
|
8683
8725
|
},
|
|
8684
8726
|
{
|
|
8685
8727
|
target: { on: "host" },
|
|
8686
|
-
attribute: "data-sticky
|
|
8728
|
+
attribute: "data-header-sticky",
|
|
8687
8729
|
condition: {
|
|
8688
8730
|
kind: "when-provided",
|
|
8689
|
-
prop: "
|
|
8731
|
+
prop: "headerSticky"
|
|
8690
8732
|
},
|
|
8691
8733
|
value: {
|
|
8692
8734
|
kind: "prop",
|
|
8693
|
-
prop: "
|
|
8735
|
+
prop: "headerSticky"
|
|
8694
8736
|
}
|
|
8695
8737
|
},
|
|
8696
8738
|
{
|
|
8697
|
-
target: {
|
|
8698
|
-
|
|
8739
|
+
target: {
|
|
8740
|
+
on: "descendant",
|
|
8741
|
+
selector: ":scope > .header"
|
|
8742
|
+
},
|
|
8743
|
+
attribute: "data-background",
|
|
8699
8744
|
condition: {
|
|
8700
|
-
kind: "when-
|
|
8701
|
-
prop: "
|
|
8745
|
+
kind: "when-in",
|
|
8746
|
+
prop: "headerBackground",
|
|
8747
|
+
values: ["panel", "transparent"]
|
|
8702
8748
|
},
|
|
8703
8749
|
value: {
|
|
8704
8750
|
kind: "prop",
|
|
8705
|
-
prop: "
|
|
8751
|
+
prop: "headerBackground"
|
|
8706
8752
|
}
|
|
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
|
-
},
|
|
8721
|
-
children: e ? [{
|
|
8722
|
-
kind: "raw",
|
|
8723
|
-
html: e
|
|
8724
|
-
}] : []
|
|
8725
|
-
};
|
|
8726
|
-
}
|
|
8727
|
-
function wn(e) {
|
|
8728
|
-
return r(Cn(e));
|
|
8729
|
-
}
|
|
8730
|
-
var Tn = {
|
|
8731
|
-
name: "panel",
|
|
8732
|
-
category: "structure",
|
|
8733
|
-
description: "Use `panel` to group related content in a contained region.",
|
|
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
8753
|
},
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8754
|
+
{
|
|
8755
|
+
target: {
|
|
8756
|
+
on: "descendant",
|
|
8757
|
+
selector: ":scope > .header"
|
|
8758
|
+
},
|
|
8759
|
+
attribute: "data-set-content-theme",
|
|
8760
|
+
condition: {
|
|
8761
|
+
kind: "when-provided",
|
|
8762
|
+
prop: "headerContentTheme"
|
|
8763
|
+
},
|
|
8764
|
+
value: {
|
|
8765
|
+
kind: "prop",
|
|
8766
|
+
prop: "headerContentTheme"
|
|
8763
8767
|
}
|
|
8764
8768
|
},
|
|
8765
|
-
surface: {
|
|
8766
|
-
description: "Surface context.",
|
|
8767
|
-
type: {
|
|
8768
|
-
kind: "enum",
|
|
8769
|
-
values: ["default", "brandSubtle"]
|
|
8770
|
-
}
|
|
8771
|
-
}
|
|
8772
|
-
},
|
|
8773
|
-
events: {},
|
|
8774
|
-
rules: { attributes: [
|
|
8775
8769
|
{
|
|
8776
|
-
target: {
|
|
8777
|
-
|
|
8778
|
-
|
|
8770
|
+
target: {
|
|
8771
|
+
on: "descendant",
|
|
8772
|
+
selector: ":scope > .header"
|
|
8773
|
+
},
|
|
8774
|
+
attribute: "data-set-surface",
|
|
8775
|
+
condition: {
|
|
8776
|
+
kind: "all",
|
|
8777
|
+
of: [{
|
|
8778
|
+
kind: "when-provided",
|
|
8779
|
+
prop: "headerContentTheme"
|
|
8780
|
+
}, {
|
|
8781
|
+
kind: "not",
|
|
8782
|
+
of: {
|
|
8783
|
+
kind: "when-provided",
|
|
8784
|
+
prop: "headerSurface"
|
|
8785
|
+
}
|
|
8786
|
+
}]
|
|
8787
|
+
},
|
|
8779
8788
|
value: {
|
|
8780
|
-
kind: "
|
|
8781
|
-
|
|
8789
|
+
kind: "literal",
|
|
8790
|
+
text: "default"
|
|
8782
8791
|
}
|
|
8783
8792
|
},
|
|
8784
8793
|
{
|
|
8785
|
-
target: {
|
|
8794
|
+
target: {
|
|
8795
|
+
on: "descendant",
|
|
8796
|
+
selector: ":scope > .header"
|
|
8797
|
+
},
|
|
8786
8798
|
attribute: "data-set-surface",
|
|
8787
8799
|
condition: {
|
|
8788
8800
|
kind: "when-provided",
|
|
8789
|
-
prop: "
|
|
8801
|
+
prop: "headerSurface"
|
|
8790
8802
|
},
|
|
8791
8803
|
value: {
|
|
8792
8804
|
kind: "prop",
|
|
8793
|
-
prop: "
|
|
8805
|
+
prop: "headerSurface"
|
|
8794
8806
|
}
|
|
8795
8807
|
},
|
|
8796
8808
|
{
|
|
@@ -8808,7 +8820,7 @@ var Tn = {
|
|
|
8808
8820
|
] }
|
|
8809
8821
|
};
|
|
8810
8822
|
// src/components/pattern/pattern.ts
|
|
8811
|
-
function
|
|
8823
|
+
function Cn({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineSize: i, id: o, tone: s = "default", variant: c = "tile" } = {}) {
|
|
8812
8824
|
let l = a(o), u = [];
|
|
8813
8825
|
return t && u.push(`--set-pattern-block-size: ${t / 16}rem`), i && u.push(`--set-pattern-inline-size: ${i / 16}rem`), {
|
|
8814
8826
|
kind: "element",
|
|
@@ -8830,10 +8842,10 @@ function En({ aspectRatio: e, blockSize: t, cell: n = "md", children: r, inlineS
|
|
|
8830
8842
|
}] : []
|
|
8831
8843
|
};
|
|
8832
8844
|
}
|
|
8833
|
-
function
|
|
8834
|
-
return r(
|
|
8845
|
+
function wn(e = {}) {
|
|
8846
|
+
return r(Cn(e));
|
|
8835
8847
|
}
|
|
8836
|
-
var
|
|
8848
|
+
var Tn = {
|
|
8837
8849
|
name: "pattern",
|
|
8838
8850
|
category: "graphic",
|
|
8839
8851
|
description: "Use `pattern` to render a repeating brand tile as a graphic or behind content.",
|
|
@@ -9003,7 +9015,7 @@ var On = {
|
|
|
9003
9015
|
] }
|
|
9004
9016
|
};
|
|
9005
9017
|
// src/components/poster/poster.ts
|
|
9006
|
-
function
|
|
9018
|
+
function En(e) {
|
|
9007
9019
|
return ce({
|
|
9008
9020
|
...e,
|
|
9009
9021
|
alt: "",
|
|
@@ -9011,7 +9023,7 @@ function kn(e) {
|
|
|
9011
9023
|
priority: !0
|
|
9012
9024
|
});
|
|
9013
9025
|
}
|
|
9014
|
-
function
|
|
9026
|
+
function Dn({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
9015
9027
|
let o = a(n), s = t ? i ?? "default" : i, c = [{
|
|
9016
9028
|
kind: "element",
|
|
9017
9029
|
tag: "div",
|
|
@@ -9041,10 +9053,10 @@ function An({ children: e, contentTheme: t, id: n, media: r, surface: i }) {
|
|
|
9041
9053
|
children: c
|
|
9042
9054
|
};
|
|
9043
9055
|
}
|
|
9044
|
-
function
|
|
9045
|
-
return r(
|
|
9056
|
+
function On(e) {
|
|
9057
|
+
return r(Dn(e));
|
|
9046
9058
|
}
|
|
9047
|
-
var
|
|
9059
|
+
var kn = {
|
|
9048
9060
|
name: "poster",
|
|
9049
9061
|
category: "structure",
|
|
9050
9062
|
description: "Use `poster` to layer content over background media.",
|
|
@@ -9160,7 +9172,7 @@ var Mn = {
|
|
|
9160
9172
|
] }
|
|
9161
9173
|
};
|
|
9162
9174
|
// src/components/prose/prose.ts
|
|
9163
|
-
function
|
|
9175
|
+
function An({ align: e = "start", children: t, hangingPunctuation: n, id: r, linkVisited: i = !0, measured: o = !0, monospaced: s, responsive: c }) {
|
|
9164
9176
|
let l = a(r);
|
|
9165
9177
|
return {
|
|
9166
9178
|
kind: "element",
|
|
@@ -9181,10 +9193,10 @@ function Nn({ align: e = "start", children: t, hangingPunctuation: n, id: r, lin
|
|
|
9181
9193
|
}]
|
|
9182
9194
|
};
|
|
9183
9195
|
}
|
|
9184
|
-
function
|
|
9185
|
-
return r(
|
|
9196
|
+
function jn(e) {
|
|
9197
|
+
return r(An(e));
|
|
9186
9198
|
}
|
|
9187
|
-
var
|
|
9199
|
+
var Mn = {
|
|
9188
9200
|
name: "prose",
|
|
9189
9201
|
category: "typographic",
|
|
9190
9202
|
description: "Use `prose` to style rich-text markup.",
|
|
@@ -9325,7 +9337,7 @@ var Fn = {
|
|
|
9325
9337
|
] }
|
|
9326
9338
|
};
|
|
9327
9339
|
// src/components/radios/radios.ts
|
|
9328
|
-
function
|
|
9340
|
+
function Nn({ 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
9341
|
let p = n.trim(), m = c.trim(), h = f?.trim();
|
|
9330
9342
|
if (!p) throw Error("id must be a non-empty string.");
|
|
9331
9343
|
if (!i(p)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -9408,10 +9420,10 @@ function In({ description: e, disabled: t, id: n, invalid: a, radios: o, legend:
|
|
|
9408
9420
|
legend: s
|
|
9409
9421
|
});
|
|
9410
9422
|
}
|
|
9411
|
-
function
|
|
9412
|
-
return r(
|
|
9423
|
+
function Pn(e) {
|
|
9424
|
+
return r(Nn(e));
|
|
9413
9425
|
}
|
|
9414
|
-
var
|
|
9426
|
+
var Fn = {
|
|
9415
9427
|
name: "radios",
|
|
9416
9428
|
category: "control",
|
|
9417
9429
|
description: "Use `radios` to let users select one option from a short list.",
|
|
@@ -9623,7 +9635,7 @@ var Rn = {
|
|
|
9623
9635
|
] }
|
|
9624
9636
|
};
|
|
9625
9637
|
// src/components/root/root.ts
|
|
9626
|
-
function
|
|
9638
|
+
function In({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children: r, dir: i, id: o, lang: s, theme: c }) {
|
|
9627
9639
|
let l = a(o);
|
|
9628
9640
|
return {
|
|
9629
9641
|
kind: "element",
|
|
@@ -9644,10 +9656,10 @@ function zn({ appOverscrollBehavior: e, appRoot: t, brand: n = "mnsp", children:
|
|
|
9644
9656
|
}] : []
|
|
9645
9657
|
};
|
|
9646
9658
|
}
|
|
9647
|
-
function
|
|
9648
|
-
return r(
|
|
9659
|
+
function Ln(e) {
|
|
9660
|
+
return r(In(e));
|
|
9649
9661
|
}
|
|
9650
|
-
var
|
|
9662
|
+
var Rn = {
|
|
9651
9663
|
name: "root",
|
|
9652
9664
|
category: "environment",
|
|
9653
9665
|
description: "Mandatory top-level `root` wrapper for the Set system.",
|
|
@@ -9791,7 +9803,7 @@ var Vn = {
|
|
|
9791
9803
|
] }
|
|
9792
9804
|
};
|
|
9793
9805
|
// src/components/stack/stack.ts
|
|
9794
|
-
function
|
|
9806
|
+
function zn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", id: i, responsive: o }) {
|
|
9795
9807
|
let s = a(i);
|
|
9796
9808
|
return {
|
|
9797
9809
|
kind: "element",
|
|
@@ -9809,10 +9821,10 @@ function Hn({ align: e = "stretch", as: t = "div", children: n, gap: r = "md", i
|
|
|
9809
9821
|
}] : []
|
|
9810
9822
|
};
|
|
9811
9823
|
}
|
|
9812
|
-
function
|
|
9813
|
-
return r(
|
|
9824
|
+
function Bn(e) {
|
|
9825
|
+
return r(zn(e));
|
|
9814
9826
|
}
|
|
9815
|
-
var
|
|
9827
|
+
var Vn = {
|
|
9816
9828
|
name: "stack",
|
|
9817
9829
|
category: "layout",
|
|
9818
9830
|
description: "Use `stack` to lay out content in a vertical column.",
|
|
@@ -9933,7 +9945,7 @@ var Wn = {
|
|
|
9933
9945
|
] }
|
|
9934
9946
|
};
|
|
9935
9947
|
// src/components/surface/surface.ts
|
|
9936
|
-
function
|
|
9948
|
+
function Hn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
9937
9949
|
return {
|
|
9938
9950
|
kind: "element",
|
|
9939
9951
|
tag: "div",
|
|
@@ -9949,10 +9961,10 @@ function Gn({ children: e, contentTheme: t, id: n, variant: r = "default" }) {
|
|
|
9949
9961
|
}]
|
|
9950
9962
|
};
|
|
9951
9963
|
}
|
|
9952
|
-
function
|
|
9953
|
-
return r(
|
|
9964
|
+
function Un(e) {
|
|
9965
|
+
return r(Hn(e));
|
|
9954
9966
|
}
|
|
9955
|
-
var
|
|
9967
|
+
var Wn = {
|
|
9956
9968
|
name: "surface",
|
|
9957
9969
|
category: "environment",
|
|
9958
9970
|
description: "Use `surface` to set a colour context for nested content.",
|
|
@@ -10034,7 +10046,7 @@ var qn = {
|
|
|
10034
10046
|
] }
|
|
10035
10047
|
};
|
|
10036
10048
|
// src/components/switch/switch.ts
|
|
10037
|
-
function
|
|
10049
|
+
function Gn({ checked: e, description: t, disabled: n, id: r, label: i, name: o, size: s = "md", value: c }) {
|
|
10038
10050
|
let l = a(r), u = t?.trim();
|
|
10039
10051
|
if (u && !l) throw Error("id must be provided when description is provided.");
|
|
10040
10052
|
let d = u ? `${l}-description` : void 0, f = [{
|
|
@@ -10087,10 +10099,10 @@ function Jn({ checked: e, description: t, disabled: n, id: r, label: i, name: o,
|
|
|
10087
10099
|
children: f
|
|
10088
10100
|
};
|
|
10089
10101
|
}
|
|
10090
|
-
function
|
|
10091
|
-
return r(
|
|
10102
|
+
function Kn(e) {
|
|
10103
|
+
return r(Gn(e));
|
|
10092
10104
|
}
|
|
10093
|
-
var
|
|
10105
|
+
var qn = {
|
|
10094
10106
|
name: "switch",
|
|
10095
10107
|
category: "control",
|
|
10096
10108
|
description: "Use `switch` to let users instantly toggle a setting on or off.",
|
|
@@ -10267,7 +10279,7 @@ var Xn = {
|
|
|
10267
10279
|
] }
|
|
10268
10280
|
};
|
|
10269
10281
|
// src/components/textarea/textarea.ts
|
|
10270
|
-
function
|
|
10282
|
+
function Jn({ 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
10283
|
let g = r.trim(), _ = t?.trim(), v = e !== !1 && e?.trim(), y = s?.trim(), b = m;
|
|
10272
10284
|
if (!g) throw Error("id must be a non-empty string.");
|
|
10273
10285
|
if (!i(g)) throw Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");
|
|
@@ -10327,10 +10339,10 @@ function Zn({ autocomplete: e, description: t, disabled: n, id: r, invalid: a, l
|
|
|
10327
10339
|
children: w
|
|
10328
10340
|
};
|
|
10329
10341
|
}
|
|
10330
|
-
function
|
|
10331
|
-
return r(
|
|
10342
|
+
function Yn(e) {
|
|
10343
|
+
return r(Jn(e));
|
|
10332
10344
|
}
|
|
10333
|
-
var
|
|
10345
|
+
var Xn = {
|
|
10334
10346
|
name: "textarea",
|
|
10335
10347
|
category: "control",
|
|
10336
10348
|
description: "Use `textarea` to collect multiple lines of text from users.",
|
|
@@ -10653,7 +10665,7 @@ var $n = {
|
|
|
10653
10665
|
}
|
|
10654
10666
|
}
|
|
10655
10667
|
] }
|
|
10656
|
-
},
|
|
10668
|
+
}, Zn = [
|
|
10657
10669
|
"control",
|
|
10658
10670
|
"environment",
|
|
10659
10671
|
"graphic",
|
|
@@ -10662,11 +10674,11 @@ var $n = {
|
|
|
10662
10674
|
"status",
|
|
10663
10675
|
"structure",
|
|
10664
10676
|
"typographic"
|
|
10665
|
-
],
|
|
10677
|
+
], Qn = (e) => e.charAt(0).toUpperCase() + e.slice(1), $n = (e) => `${Qn(e.category)}/${Qn(e.name)}`;
|
|
10666
10678
|
// src/index.ts
|
|
10667
|
-
function
|
|
10679
|
+
function er() {
|
|
10668
10680
|
M(), ae(), le(), ve(), Ce(), Me(), Ie(), Ue(), Je();
|
|
10669
10681
|
}
|
|
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,
|
|
10682
|
+
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, Zn 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_PATTERN_SPEC, kn as SET_POSTER_SPEC, Mn as SET_PROSE_SPEC, Fn as SET_RADIOS_SPEC, Le as SET_RANGE_SPEC, K as SET_RANGE_TAG_NAME, Rn as SET_ROOT_SPEC, We as SET_SIDEBAR_SPEC, q as SET_SIDEBAR_TAG_NAME, g as SET_SPINNER_SPEC, Vn as SET_STACK_SPEC, Wn as SET_SURFACE_SPEC, qn as SET_SWITCH_SPEC, Xn 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 buildSetPattern, Dn as buildSetPoster, An as buildSetProse, Nn as buildSetRadios, Pe as buildSetRange, In as buildSetRoot, Ve as buildSetSidebar, m as buildSetSpinner, zn as buildSetStack, Hn as buildSetSurface, Gn as buildSetSwitch, Z as buildSetText, Jn as buildSetTextarea, Ge as buildSetVideo, M as defineSetAlert, ae as defineSetBanner, er 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 renderSetPattern, On as renderSetPoster, En as renderSetPosterImage, jn as renderSetProse, Pn as renderSetRadios, Fe as renderSetRange, Ln as renderSetRoot, He as renderSetSidebar, h as renderSetSpinner, Bn as renderSetStack, Un as renderSetSurface, Kn as renderSetSwitch, dt as renderSetText, Yn as renderSetTextarea, Ke as renderSetVideo, r as serializeSetNode, $n as specToStoryTitle };
|
|
10671
10683
|
|
|
10672
10684
|
//# sourceMappingURL=index.js.map
|