@taprootio/espalier 6.14.0 → 6.15.1
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/CHANGELOG.md +16 -0
- package/custom-elements.json +1221 -1170
- package/dist/footer/esp-footer-link-group.js +1 -1
- package/dist/footer/esp-footer.d.ts +2 -1
- package/dist/footer/esp-footer.js +5 -4
- package/dist/header/esp-header.js +13 -13
- package/dist/root/esp-root.js +34 -1
- package/espalier.css-data.json +5 -1
- package/espalier.token-manifest.json +7 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -6669,16 +6669,32 @@
|
|
|
6669
6669
|
},
|
|
6670
6670
|
{
|
|
6671
6671
|
"kind": "javascript-module",
|
|
6672
|
-
"path": "dist/
|
|
6672
|
+
"path": "dist/box/esp-box.js",
|
|
6673
6673
|
"declarations": [
|
|
6674
6674
|
{
|
|
6675
6675
|
"kind": "class",
|
|
6676
|
-
"description": "
|
|
6677
|
-
"name": "
|
|
6676
|
+
"description": "Groups related content in a themed container. Style its `box` CSS part\nto create cards, forms, or other grouped regions.\n\nA field fills one layer above the surface it sits on.\nUse `surface-layer=\"1|2|3|4\"` to select the default painted layer.\n\n```html\n<esp-box>\n <h2>Box things</h2>\n <p>Things grouped visually.</p>\n</esp-box>\n```\n\n**What esp-box is not:** a full-bleed page band. The box is a *card* —\nit paints its own raised surface (`--esp-color-layer-1`), carries\npadding, and fills its container's height. A band is\n[`esp-section`](/components/section): it paints the local canvas edge\nto edge with a centered well and hosts a theme zone (`context=\"…\"`)\nwith nothing to neutralize. Keep boxes for what they are for — cards,\npanels, and form surfaces — and replace any pre-3.2 \"neutralized box\"\nband with a bare section.\n\nSelect a raised form surface with `surface-layer`; fields follow it automatically.\n\n```html\n<esp-box surface-layer=\"2\">\n <esp-input placeholder=\"Search\"></esp-input>\n <esp-input readonly value=\"A read-only value\"></esp-input>\n</esp-box>\n```",
|
|
6677
|
+
"name": "EspalierBox",
|
|
6678
6678
|
"cssProperties": [
|
|
6679
6679
|
{
|
|
6680
|
-
"description": "
|
|
6681
|
-
"name": "--esp-
|
|
6680
|
+
"description": "The background color of the box.",
|
|
6681
|
+
"name": "--esp-color-box-background"
|
|
6682
|
+
},
|
|
6683
|
+
{
|
|
6684
|
+
"description": "Adds a layer in the background of the box. Intended for background images or gradients.",
|
|
6685
|
+
"name": "--esp-box-background"
|
|
6686
|
+
},
|
|
6687
|
+
{
|
|
6688
|
+
"description": "The opacity of the background layer.",
|
|
6689
|
+
"name": "--esp-box-background-opacity"
|
|
6690
|
+
},
|
|
6691
|
+
{
|
|
6692
|
+
"description": "The padding inside the box.",
|
|
6693
|
+
"name": "--esp-size-box-padding"
|
|
6694
|
+
},
|
|
6695
|
+
{
|
|
6696
|
+
"description": "The box's drop shadow. Defaults to the theme's `--esp-shadow-1` elevation. ```html <style> esp-root[scheme=\"light\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-paper-texture.png) repeat; --esp-box-background-opacity: .5; } } esp-root[scheme=\"dark\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-geometric-texture.png) repeat; --esp-box-background-opacity: .5; } } </style> <esp-box class=\"box-with-bg\"> <h2>Box with background image</h2> <p>I have a different generated background texture in dark mode than light mode.</p> </esp-box> ```",
|
|
6697
|
+
"name": "--esp-box-shadow"
|
|
6682
6698
|
},
|
|
6683
6699
|
{
|
|
6684
6700
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -6737,67 +6753,29 @@
|
|
|
6737
6753
|
}
|
|
6738
6754
|
}
|
|
6739
6755
|
],
|
|
6756
|
+
"cssParts": [
|
|
6757
|
+
{
|
|
6758
|
+
"description": "The box element. The default style is a padded element displayed as a box. Style the CSS part to create cards, forms, and other UI elements. Here is a card style: ```html <style> esp-box.card-box::part(box) { display: grid; grid-template-rows: min-content min-content; gap: var(--esp-size-padding); padding: 0; } esp-box.card-box header { background: oklch(from var(--esp-color-complementary) var(--esp-l-text) c h); color: oklch(from var(--esp-color-complementary) var(--esp-l-surface) c h); font-size: var(--esp-size-big-to-large); padding: var(--esp-size-padding); line-height: 1.1; font-family: var(--esp-font-headings, var(--esp-font-body, system-ui, sans-serif)); } esp-box.card-box div { padding: var(--esp-size-padding); } </style> <esp-box class=\"card-box\"> <header>Box as a card</header> <div> <p>Card content.</p> </div> </esp-box> ```",
|
|
6759
|
+
"name": "box"
|
|
6760
|
+
}
|
|
6761
|
+
],
|
|
6740
6762
|
"slots": [
|
|
6741
6763
|
{
|
|
6742
|
-
"description": "
|
|
6764
|
+
"description": "The default slot holds elements to display in the box. ```html <esp-box> <h2>Slotted Content</h2> <p>Goes in the box</p> </esp-box> ```",
|
|
6743
6765
|
"name": ""
|
|
6744
|
-
},
|
|
6745
|
-
{
|
|
6746
|
-
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
6747
|
-
"name": "icon"
|
|
6748
6766
|
}
|
|
6749
6767
|
],
|
|
6750
6768
|
"members": [
|
|
6751
6769
|
{
|
|
6752
6770
|
"kind": "field",
|
|
6753
|
-
"name": "
|
|
6771
|
+
"name": "fullScreen",
|
|
6754
6772
|
"type": {
|
|
6755
6773
|
"text": "boolean"
|
|
6756
6774
|
},
|
|
6757
|
-
"privacy": "protected",
|
|
6758
|
-
"default": "false",
|
|
6759
|
-
"description": "Whether a non-neutral intent emits its inline tokens\n(`--esp-color-primary` and the filled-action pair). Interactive\ncontrols need them; chrome whose intent treatment is class-based\n(badges, callouts, status pills — see `intentSurfaceTokens`) opts\nout so a decorative intent never rewrites inherited tokens for\nslotted content.",
|
|
6760
|
-
"inheritedFrom": {
|
|
6761
|
-
"name": "EspalierElementBase",
|
|
6762
|
-
"module": "dist/shared/esp-element-base.js"
|
|
6763
|
-
}
|
|
6764
|
-
},
|
|
6765
|
-
{
|
|
6766
|
-
"kind": "field",
|
|
6767
|
-
"name": "iconSlot",
|
|
6768
|
-
"privacy": "private",
|
|
6769
|
-
"default": "new SlottedIconController(this)"
|
|
6770
|
-
},
|
|
6771
|
-
{
|
|
6772
|
-
"kind": "field",
|
|
6773
|
-
"name": "sizeBacker",
|
|
6774
|
-
"type": {
|
|
6775
|
-
"text": "EspalierBadgeSize"
|
|
6776
|
-
},
|
|
6777
|
-
"privacy": "private",
|
|
6778
|
-
"default": "\"small\""
|
|
6779
|
-
},
|
|
6780
|
-
{
|
|
6781
|
-
"kind": "field",
|
|
6782
|
-
"name": "icon",
|
|
6783
|
-
"type": {
|
|
6784
|
-
"text": "string"
|
|
6785
|
-
},
|
|
6786
6775
|
"privacy": "public",
|
|
6787
|
-
"default": "
|
|
6788
|
-
"description": "
|
|
6789
|
-
"attribute": "
|
|
6790
|
-
},
|
|
6791
|
-
{
|
|
6792
|
-
"kind": "field",
|
|
6793
|
-
"name": "size",
|
|
6794
|
-
"type": {
|
|
6795
|
-
"text": "EspalierBadgeSize"
|
|
6796
|
-
},
|
|
6797
|
-
"privacy": "public",
|
|
6798
|
-
"description": "Badge size.",
|
|
6799
|
-
"attribute": "size",
|
|
6800
|
-
"reflects": true
|
|
6776
|
+
"default": "false",
|
|
6777
|
+
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box>\n <h2>Box things</h2>\n <esp-box>\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"esp-clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```\n\nA full-screen box fills the viewport. Inside a\n[bounded dialog](/components/dialog) it fills exactly the dialog's\nrectangle instead: it takes its position and size from the same\n`--esp-dialog-inset-*` custom properties, set on the `esp-dialog` or any\nancestor of the box.\n\n```html\n<style>\n esp-dialog.bounded-box {\n --esp-dialog-inset-block-start: 6rem;\n --esp-dialog-inset-inline-start: 3rem;\n --esp-dialog-inset-inline-end: 3rem;\n --esp-dialog-inset-block-end: 2rem;\n }\n</style>\n<esp-dialog class=\"bounded-box\" full-screen>\n <esp-box full-screen>\n <h2>Box in a bounded dialog</h2>\n <p>This box fills the rectangle the dialog is bounded to.</p>\n <esp-button intent=\"danger\" label=\"Close\"></esp-button>\n </esp-box>\n</esp-dialog>\n<esp-button label=\"Show Dialog\"></esp-button>\n<script>\n const theDialog = findByTagName(\"esp-dialog\")[0];\n const buttons = findByTagName(\"esp-button\");\n buttons[0].addEventListener(\"esp-clicked\", () => {\n theDialog.toggleOpen();\n });\n buttons[1].addEventListener(\"esp-clicked\", () => {\n theDialog.toggleOpen();\n });\n</script>\n```",
|
|
6778
|
+
"attribute": "full-screen"
|
|
6801
6779
|
},
|
|
6802
6780
|
{
|
|
6803
6781
|
"kind": "field",
|
|
@@ -6925,6 +6903,20 @@
|
|
|
6925
6903
|
"module": "dist/shared/esp-element-base.js"
|
|
6926
6904
|
}
|
|
6927
6905
|
},
|
|
6906
|
+
{
|
|
6907
|
+
"kind": "field",
|
|
6908
|
+
"name": "intentEmitsTokens",
|
|
6909
|
+
"type": {
|
|
6910
|
+
"text": "boolean"
|
|
6911
|
+
},
|
|
6912
|
+
"privacy": "protected",
|
|
6913
|
+
"default": "true",
|
|
6914
|
+
"description": "Whether a non-neutral intent emits its inline tokens\n(`--esp-color-primary` and the filled-action pair). Interactive\ncontrols need them; chrome whose intent treatment is class-based\n(badges, callouts, status pills — see `intentSurfaceTokens`) opts\nout so a decorative intent never rewrites inherited tokens for\nslotted content.",
|
|
6915
|
+
"inheritedFrom": {
|
|
6916
|
+
"name": "EspalierElementBase",
|
|
6917
|
+
"module": "dist/shared/esp-element-base.js"
|
|
6918
|
+
}
|
|
6919
|
+
},
|
|
6928
6920
|
{
|
|
6929
6921
|
"kind": "field",
|
|
6930
6922
|
"name": "warnedUnknownIntents",
|
|
@@ -7512,21 +7504,13 @@
|
|
|
7512
7504
|
],
|
|
7513
7505
|
"attributes": [
|
|
7514
7506
|
{
|
|
7515
|
-
"name": "
|
|
7516
|
-
"type": {
|
|
7517
|
-
"text": "string"
|
|
7518
|
-
},
|
|
7519
|
-
"default": "\"\"",
|
|
7520
|
-
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
7521
|
-
"fieldName": "icon"
|
|
7522
|
-
},
|
|
7523
|
-
{
|
|
7524
|
-
"name": "size",
|
|
7507
|
+
"name": "full-screen",
|
|
7525
7508
|
"type": {
|
|
7526
|
-
"text": "
|
|
7509
|
+
"text": "boolean"
|
|
7527
7510
|
},
|
|
7528
|
-
"
|
|
7529
|
-
"
|
|
7511
|
+
"default": "false",
|
|
7512
|
+
"description": "Whether the box should take up the full screen. Useful when\ndisplaying a dialog in full-screen mode.\n\n```html\n<esp-box>\n <h2>Box things</h2>\n <esp-box>\n <h2>Box in box</h2>\n <esp-button label=\"Toggle full screen\"></esp-button>\n </esp-box>\n</esp-box>\n<script>\n let fullScreen = false;\n const theBox = findByTagName(\"esp-box\")[0];\n const theButton = findByTagName(\"esp-button\")[0];\n theButton.addEventListener(\"esp-clicked\", () => {\n fullScreen = !fullScreen;\n\n if(fullScreen) {\n theBox.setAttribute(\"full-screen\", true);\n } else {\n theBox.removeAttribute(\"full-screen\");\n }\n });\n</script>\n```\n\nA full-screen box fills the viewport. Inside a\n[bounded dialog](/components/dialog) it fills exactly the dialog's\nrectangle instead: it takes its position and size from the same\n`--esp-dialog-inset-*` custom properties, set on the `esp-dialog` or any\nancestor of the box.\n\n```html\n<style>\n esp-dialog.bounded-box {\n --esp-dialog-inset-block-start: 6rem;\n --esp-dialog-inset-inline-start: 3rem;\n --esp-dialog-inset-inline-end: 3rem;\n --esp-dialog-inset-block-end: 2rem;\n }\n</style>\n<esp-dialog class=\"bounded-box\" full-screen>\n <esp-box full-screen>\n <h2>Box in a bounded dialog</h2>\n <p>This box fills the rectangle the dialog is bounded to.</p>\n <esp-button intent=\"danger\" label=\"Close\"></esp-button>\n </esp-box>\n</esp-dialog>\n<esp-button label=\"Show Dialog\"></esp-button>\n<script>\n const theDialog = findByTagName(\"esp-dialog\")[0];\n const buttons = findByTagName(\"esp-button\");\n buttons[0].addEventListener(\"esp-clicked\", () => {\n theDialog.toggleOpen();\n });\n buttons[1].addEventListener(\"esp-clicked\", () => {\n theDialog.toggleOpen();\n });\n</script>\n```",
|
|
7513
|
+
"fieldName": "fullScreen"
|
|
7530
7514
|
},
|
|
7531
7515
|
{
|
|
7532
7516
|
"type": {
|
|
@@ -7581,78 +7565,66 @@
|
|
|
7581
7565
|
"name": "EspalierElementBase",
|
|
7582
7566
|
"module": "dist/shared/esp-element-base.js"
|
|
7583
7567
|
},
|
|
7568
|
+
"tagName": "esp-box",
|
|
7569
|
+
"customElement": true,
|
|
7584
7570
|
"docPageTitle": {
|
|
7585
|
-
"name": "
|
|
7571
|
+
"name": "Box",
|
|
7586
7572
|
"description": ""
|
|
7587
7573
|
},
|
|
7588
7574
|
"docUrl": {
|
|
7589
|
-
"name": "/components/
|
|
7575
|
+
"name": "/components/box",
|
|
7590
7576
|
"description": ""
|
|
7591
7577
|
},
|
|
7592
7578
|
"menuGroup": {
|
|
7593
|
-
"name": "
|
|
7594
|
-
"description": "
|
|
7579
|
+
"name": "Structure",
|
|
7580
|
+
"description": ""
|
|
7581
|
+
},
|
|
7582
|
+
"menuOrder": {
|
|
7583
|
+
"name": "3",
|
|
7584
|
+
"description": ""
|
|
7595
7585
|
},
|
|
7596
7586
|
"menuLabel": {
|
|
7597
|
-
"name": "
|
|
7587
|
+
"name": "Box",
|
|
7598
7588
|
"description": ""
|
|
7599
7589
|
},
|
|
7600
7590
|
"menuIcon": {
|
|
7601
|
-
"name": "
|
|
7591
|
+
"name": "box",
|
|
7602
7592
|
"description": ""
|
|
7603
7593
|
},
|
|
7604
|
-
"tagName": "esp-badge",
|
|
7605
|
-
"customElement": true,
|
|
7606
7594
|
"events": []
|
|
7607
7595
|
}
|
|
7608
7596
|
],
|
|
7609
7597
|
"exports": [
|
|
7610
7598
|
{
|
|
7611
7599
|
"kind": "js",
|
|
7612
|
-
"name": "
|
|
7600
|
+
"name": "EspalierBox",
|
|
7613
7601
|
"declaration": {
|
|
7614
|
-
"name": "
|
|
7615
|
-
"module": "dist/
|
|
7602
|
+
"name": "EspalierBox",
|
|
7603
|
+
"module": "dist/box/esp-box.js"
|
|
7616
7604
|
}
|
|
7617
7605
|
},
|
|
7618
7606
|
{
|
|
7619
7607
|
"kind": "custom-element-definition",
|
|
7620
|
-
"name": "esp-
|
|
7608
|
+
"name": "esp-box",
|
|
7621
7609
|
"declaration": {
|
|
7622
|
-
"name": "
|
|
7623
|
-
"module": "dist/
|
|
7610
|
+
"name": "EspalierBox",
|
|
7611
|
+
"module": "dist/box/esp-box.js"
|
|
7624
7612
|
}
|
|
7625
7613
|
}
|
|
7626
7614
|
]
|
|
7627
7615
|
},
|
|
7628
7616
|
{
|
|
7629
7617
|
"kind": "javascript-module",
|
|
7630
|
-
"path": "dist/
|
|
7618
|
+
"path": "dist/badge/esp-badge.js",
|
|
7631
7619
|
"declarations": [
|
|
7632
7620
|
{
|
|
7633
7621
|
"kind": "class",
|
|
7634
|
-
"description": "
|
|
7635
|
-
"name": "
|
|
7622
|
+
"description": "A compact status chip for counts, labels, and semantic state.\n\nBadges truncate long labels with an ellipsis when their container\nconstrains them. Leave enough inline space for critical status text\nthat must remain fully visible.\n\n```html\n<div style=\"display: flex; flex-wrap: wrap; gap: var(--esp-size-tiny);\">\n <esp-badge>Draft</esp-badge>\n <esp-badge intent=\"success\" icon=\"circle-dot\">Published</esp-badge>\n <esp-badge intent=\"warning\">Pending review</esp-badge>\n <esp-badge intent=\"danger\" icon=\"circle-x\">Banned</esp-badge>\n <esp-badge intent=\"info\" size=\"medium\" icon=\"info-i\">12 updates</esp-badge>\n</div>\n```",
|
|
7623
|
+
"name": "EspalierBadge",
|
|
7636
7624
|
"cssProperties": [
|
|
7637
7625
|
{
|
|
7638
|
-
"description": "
|
|
7639
|
-
"name": "--esp-
|
|
7640
|
-
},
|
|
7641
|
-
{
|
|
7642
|
-
"description": "Adds a layer in the background of the box. Intended for background images or gradients.",
|
|
7643
|
-
"name": "--esp-box-background"
|
|
7644
|
-
},
|
|
7645
|
-
{
|
|
7646
|
-
"description": "The opacity of the background layer.",
|
|
7647
|
-
"name": "--esp-box-background-opacity"
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"description": "The padding inside the box.",
|
|
7651
|
-
"name": "--esp-size-box-padding"
|
|
7652
|
-
},
|
|
7653
|
-
{
|
|
7654
|
-
"description": "The box's drop shadow. Defaults to the theme's `--esp-shadow-1` elevation. ```html <style> esp-root[scheme=\"light\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-paper-texture.png) repeat; --esp-box-background-opacity: .5; } } esp-root[scheme=\"dark\"] { esp-box.box-with-bg { --esp-box-background: url(/assets/espalier-geometric-texture.png) repeat; --esp-box-background-opacity: .5; } } </style> <esp-box class=\"box-with-bg\"> <h2>Box with background image</h2> <p>I have a different generated background texture in dark mode than light mode.</p> </esp-box> ```",
|
|
7655
|
-
"name": "--esp-box-shadow"
|
|
7626
|
+
"description": "Border radius of the badge shell. Defaults to `999px`.",
|
|
7627
|
+
"name": "--esp-badge-border-radius"
|
|
7656
7628
|
},
|
|
7657
7629
|
{
|
|
7658
7630
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -7711,29 +7683,67 @@
|
|
|
7711
7683
|
}
|
|
7712
7684
|
}
|
|
7713
7685
|
],
|
|
7714
|
-
"cssParts": [
|
|
7715
|
-
{
|
|
7716
|
-
"description": "The box element. The default style is a padded element displayed as a box. Style the CSS part to create cards, forms, and other UI elements. Here is a card style: ```html <style> esp-box.card-box::part(box) { display: grid; grid-template-rows: min-content min-content; gap: var(--esp-size-padding); padding: 0; } esp-box.card-box header { background: oklch(from var(--esp-color-complementary) var(--esp-l-text) c h); color: oklch(from var(--esp-color-complementary) var(--esp-l-surface) c h); font-size: var(--esp-size-big-to-large); padding: var(--esp-size-padding); line-height: 1.1; font-family: var(--esp-font-headings, var(--esp-font-body, system-ui, sans-serif)); } esp-box.card-box div { padding: var(--esp-size-padding); } </style> <esp-box class=\"card-box\"> <header>Box as a card</header> <div> <p>Card content.</p> </div> </esp-box> ```",
|
|
7717
|
-
"name": "box"
|
|
7718
|
-
}
|
|
7719
|
-
],
|
|
7720
7686
|
"slots": [
|
|
7721
7687
|
{
|
|
7722
|
-
"description": "
|
|
7688
|
+
"description": "Badge label text.",
|
|
7723
7689
|
"name": ""
|
|
7690
|
+
},
|
|
7691
|
+
{
|
|
7692
|
+
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
7693
|
+
"name": "icon"
|
|
7724
7694
|
}
|
|
7725
7695
|
],
|
|
7726
7696
|
"members": [
|
|
7727
7697
|
{
|
|
7728
7698
|
"kind": "field",
|
|
7729
|
-
"name": "
|
|
7699
|
+
"name": "intentEmitsTokens",
|
|
7730
7700
|
"type": {
|
|
7731
7701
|
"text": "boolean"
|
|
7732
7702
|
},
|
|
7733
|
-
"privacy": "
|
|
7703
|
+
"privacy": "protected",
|
|
7734
7704
|
"default": "false",
|
|
7735
|
-
"description": "Whether
|
|
7736
|
-
"
|
|
7705
|
+
"description": "Whether a non-neutral intent emits its inline tokens\n(`--esp-color-primary` and the filled-action pair). Interactive\ncontrols need them; chrome whose intent treatment is class-based\n(badges, callouts, status pills — see `intentSurfaceTokens`) opts\nout so a decorative intent never rewrites inherited tokens for\nslotted content.",
|
|
7706
|
+
"inheritedFrom": {
|
|
7707
|
+
"name": "EspalierElementBase",
|
|
7708
|
+
"module": "dist/shared/esp-element-base.js"
|
|
7709
|
+
}
|
|
7710
|
+
},
|
|
7711
|
+
{
|
|
7712
|
+
"kind": "field",
|
|
7713
|
+
"name": "iconSlot",
|
|
7714
|
+
"privacy": "private",
|
|
7715
|
+
"default": "new SlottedIconController(this)"
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"kind": "field",
|
|
7719
|
+
"name": "sizeBacker",
|
|
7720
|
+
"type": {
|
|
7721
|
+
"text": "EspalierBadgeSize"
|
|
7722
|
+
},
|
|
7723
|
+
"privacy": "private",
|
|
7724
|
+
"default": "\"small\""
|
|
7725
|
+
},
|
|
7726
|
+
{
|
|
7727
|
+
"kind": "field",
|
|
7728
|
+
"name": "icon",
|
|
7729
|
+
"type": {
|
|
7730
|
+
"text": "string"
|
|
7731
|
+
},
|
|
7732
|
+
"privacy": "public",
|
|
7733
|
+
"default": "\"\"",
|
|
7734
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
7735
|
+
"attribute": "icon"
|
|
7736
|
+
},
|
|
7737
|
+
{
|
|
7738
|
+
"kind": "field",
|
|
7739
|
+
"name": "size",
|
|
7740
|
+
"type": {
|
|
7741
|
+
"text": "EspalierBadgeSize"
|
|
7742
|
+
},
|
|
7743
|
+
"privacy": "public",
|
|
7744
|
+
"description": "Badge size.",
|
|
7745
|
+
"attribute": "size",
|
|
7746
|
+
"reflects": true
|
|
7737
7747
|
},
|
|
7738
7748
|
{
|
|
7739
7749
|
"kind": "field",
|
|
@@ -7861,20 +7871,6 @@
|
|
|
7861
7871
|
"module": "dist/shared/esp-element-base.js"
|
|
7862
7872
|
}
|
|
7863
7873
|
},
|
|
7864
|
-
{
|
|
7865
|
-
"kind": "field",
|
|
7866
|
-
"name": "intentEmitsTokens",
|
|
7867
|
-
"type": {
|
|
7868
|
-
"text": "boolean"
|
|
7869
|
-
},
|
|
7870
|
-
"privacy": "protected",
|
|
7871
|
-
"default": "true",
|
|
7872
|
-
"description": "Whether a non-neutral intent emits its inline tokens\n(`--esp-color-primary` and the filled-action pair). Interactive\ncontrols need them; chrome whose intent treatment is class-based\n(badges, callouts, status pills — see `intentSurfaceTokens`) opts\nout so a decorative intent never rewrites inherited tokens for\nslotted content.",
|
|
7873
|
-
"inheritedFrom": {
|
|
7874
|
-
"name": "EspalierElementBase",
|
|
7875
|
-
"module": "dist/shared/esp-element-base.js"
|
|
7876
|
-
}
|
|
7877
|
-
},
|
|
7878
7874
|
{
|
|
7879
7875
|
"kind": "field",
|
|
7880
7876
|
"name": "warnedUnknownIntents",
|
|
@@ -8462,13 +8458,21 @@
|
|
|
8462
8458
|
],
|
|
8463
8459
|
"attributes": [
|
|
8464
8460
|
{
|
|
8465
|
-
"name": "
|
|
8461
|
+
"name": "icon",
|
|
8466
8462
|
"type": {
|
|
8467
|
-
"text": "
|
|
8463
|
+
"text": "string"
|
|
8468
8464
|
},
|
|
8469
|
-
"default": "
|
|
8470
|
-
"description": "
|
|
8471
|
-
"fieldName": "
|
|
8465
|
+
"default": "\"\"",
|
|
8466
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
8467
|
+
"fieldName": "icon"
|
|
8468
|
+
},
|
|
8469
|
+
{
|
|
8470
|
+
"name": "size",
|
|
8471
|
+
"type": {
|
|
8472
|
+
"text": "EspalierBadgeSize"
|
|
8473
|
+
},
|
|
8474
|
+
"description": "Badge size.",
|
|
8475
|
+
"fieldName": "size"
|
|
8472
8476
|
},
|
|
8473
8477
|
{
|
|
8474
8478
|
"type": {
|
|
@@ -8523,50 +8527,46 @@
|
|
|
8523
8527
|
"name": "EspalierElementBase",
|
|
8524
8528
|
"module": "dist/shared/esp-element-base.js"
|
|
8525
8529
|
},
|
|
8526
|
-
"tagName": "esp-box",
|
|
8527
|
-
"customElement": true,
|
|
8528
8530
|
"docPageTitle": {
|
|
8529
|
-
"name": "
|
|
8531
|
+
"name": "Badge",
|
|
8530
8532
|
"description": ""
|
|
8531
8533
|
},
|
|
8532
8534
|
"docUrl": {
|
|
8533
|
-
"name": "/components/
|
|
8535
|
+
"name": "/components/badge",
|
|
8534
8536
|
"description": ""
|
|
8535
8537
|
},
|
|
8536
8538
|
"menuGroup": {
|
|
8537
|
-
"name": "
|
|
8538
|
-
"description": ""
|
|
8539
|
-
},
|
|
8540
|
-
"menuOrder": {
|
|
8541
|
-
"name": "3",
|
|
8542
|
-
"description": ""
|
|
8539
|
+
"name": "Data",
|
|
8540
|
+
"description": "Display"
|
|
8543
8541
|
},
|
|
8544
8542
|
"menuLabel": {
|
|
8545
|
-
"name": "
|
|
8543
|
+
"name": "Badge",
|
|
8546
8544
|
"description": ""
|
|
8547
8545
|
},
|
|
8548
8546
|
"menuIcon": {
|
|
8549
|
-
"name": "
|
|
8547
|
+
"name": "tags",
|
|
8550
8548
|
"description": ""
|
|
8551
8549
|
},
|
|
8550
|
+
"tagName": "esp-badge",
|
|
8551
|
+
"customElement": true,
|
|
8552
8552
|
"events": []
|
|
8553
8553
|
}
|
|
8554
8554
|
],
|
|
8555
8555
|
"exports": [
|
|
8556
8556
|
{
|
|
8557
8557
|
"kind": "js",
|
|
8558
|
-
"name": "
|
|
8558
|
+
"name": "EspalierBadge",
|
|
8559
8559
|
"declaration": {
|
|
8560
|
-
"name": "
|
|
8561
|
-
"module": "dist/
|
|
8560
|
+
"name": "EspalierBadge",
|
|
8561
|
+
"module": "dist/badge/esp-badge.js"
|
|
8562
8562
|
}
|
|
8563
8563
|
},
|
|
8564
8564
|
{
|
|
8565
8565
|
"kind": "custom-element-definition",
|
|
8566
|
-
"name": "esp-
|
|
8566
|
+
"name": "esp-badge",
|
|
8567
8567
|
"declaration": {
|
|
8568
|
-
"name": "
|
|
8569
|
-
"module": "dist/
|
|
8568
|
+
"name": "EspalierBadge",
|
|
8569
|
+
"module": "dist/badge/esp-badge.js"
|
|
8570
8570
|
}
|
|
8571
8571
|
}
|
|
8572
8572
|
]
|
|
@@ -20759,71 +20759,87 @@
|
|
|
20759
20759
|
},
|
|
20760
20760
|
{
|
|
20761
20761
|
"kind": "javascript-module",
|
|
20762
|
-
"path": "dist/
|
|
20762
|
+
"path": "dist/empty-state/esp-empty-state.js",
|
|
20763
20763
|
"declarations": [
|
|
20764
20764
|
{
|
|
20765
20765
|
"kind": "class",
|
|
20766
|
-
"description": "
|
|
20767
|
-
"name": "
|
|
20766
|
+
"description": "A centered empty-state layout for list, grid, and page-level\nzero-item states.\n\n```html\n<esp-empty-state icon=\"photo-up\">\n <span slot=\"heading\">No images yet</span>\n Upload the first image to start building this library.\n <esp-button slot=\"action\" label=\"Upload Image\"></esp-button>\n</esp-empty-state>\n\n<esp-empty-state size=\"large\" icon=\"users\">\n <span slot=\"heading\">No members yet</span>\n Invite teammates when you are ready to collaborate.\n</esp-empty-state>\n```",
|
|
20767
|
+
"name": "EspalierEmptyState",
|
|
20768
|
+
"slots": [
|
|
20769
|
+
{
|
|
20770
|
+
"description": "Primary empty-state message.",
|
|
20771
|
+
"name": "heading"
|
|
20772
|
+
},
|
|
20773
|
+
{
|
|
20774
|
+
"description": "Supporting body text.",
|
|
20775
|
+
"name": ""
|
|
20776
|
+
},
|
|
20777
|
+
{
|
|
20778
|
+
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
20779
|
+
"name": "icon"
|
|
20780
|
+
},
|
|
20781
|
+
{
|
|
20782
|
+
"description": "Optional call-to-action button or link.",
|
|
20783
|
+
"name": "action"
|
|
20784
|
+
}
|
|
20785
|
+
],
|
|
20768
20786
|
"members": [
|
|
20769
20787
|
{
|
|
20770
20788
|
"kind": "field",
|
|
20771
|
-
"name": "
|
|
20789
|
+
"name": "iconSlot",
|
|
20790
|
+
"privacy": "private",
|
|
20791
|
+
"default": "new SlottedIconController(this)"
|
|
20792
|
+
},
|
|
20793
|
+
{
|
|
20794
|
+
"kind": "field",
|
|
20795
|
+
"name": "actionSlot",
|
|
20772
20796
|
"privacy": "private"
|
|
20773
20797
|
},
|
|
20774
20798
|
{
|
|
20775
20799
|
"kind": "field",
|
|
20776
|
-
"name": "
|
|
20800
|
+
"name": "sizeBacker",
|
|
20777
20801
|
"type": {
|
|
20778
|
-
"text": "
|
|
20802
|
+
"text": "EspalierEmptyStateSize"
|
|
20779
20803
|
},
|
|
20780
20804
|
"privacy": "private",
|
|
20781
|
-
"default": "
|
|
20805
|
+
"default": "\"medium\""
|
|
20782
20806
|
},
|
|
20783
20807
|
{
|
|
20784
20808
|
"kind": "field",
|
|
20785
|
-
"name": "
|
|
20809
|
+
"name": "hasSlottedAction",
|
|
20786
20810
|
"type": {
|
|
20787
|
-
"text": "
|
|
20811
|
+
"text": "boolean"
|
|
20788
20812
|
},
|
|
20789
|
-
"privacy": "
|
|
20790
|
-
"default": "
|
|
20791
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
20792
|
-
"attribute": "accept"
|
|
20813
|
+
"privacy": "private",
|
|
20814
|
+
"default": "false"
|
|
20793
20815
|
},
|
|
20794
20816
|
{
|
|
20795
20817
|
"kind": "field",
|
|
20796
|
-
"name": "
|
|
20818
|
+
"name": "icon",
|
|
20797
20819
|
"type": {
|
|
20798
20820
|
"text": "string"
|
|
20799
20821
|
},
|
|
20800
20822
|
"privacy": "public",
|
|
20801
|
-
"default": "\"
|
|
20802
|
-
"description": "
|
|
20803
|
-
"attribute": "
|
|
20823
|
+
"default": "\"\"",
|
|
20824
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
20825
|
+
"attribute": "icon"
|
|
20804
20826
|
},
|
|
20805
20827
|
{
|
|
20806
20828
|
"kind": "field",
|
|
20807
|
-
"name": "
|
|
20829
|
+
"name": "size",
|
|
20808
20830
|
"type": {
|
|
20809
|
-
"text": "
|
|
20831
|
+
"text": "EspalierEmptyStateSize"
|
|
20810
20832
|
},
|
|
20811
20833
|
"privacy": "public",
|
|
20812
|
-
"
|
|
20813
|
-
"
|
|
20814
|
-
"
|
|
20834
|
+
"description": "Empty-state scale.",
|
|
20835
|
+
"attribute": "size",
|
|
20836
|
+
"reflects": true
|
|
20815
20837
|
},
|
|
20816
20838
|
{
|
|
20817
20839
|
"kind": "field",
|
|
20818
|
-
"name": "
|
|
20840
|
+
"name": "handleActionSlotChange",
|
|
20819
20841
|
"privacy": "private"
|
|
20820
20842
|
},
|
|
20821
|
-
{
|
|
20822
|
-
"kind": "method",
|
|
20823
|
-
"name": "finishedProcessingFiles",
|
|
20824
|
-
"privacy": "public",
|
|
20825
|
-
"description": "The `esp-file-upload-files-selected` event sets the file upload to a processing state.\nCall this method when you have finished processing the selected files\nto reset the file upload."
|
|
20826
|
-
},
|
|
20827
20843
|
{
|
|
20828
20844
|
"kind": "field",
|
|
20829
20845
|
"name": "seedColorBacker",
|
|
@@ -21549,42 +21565,23 @@
|
|
|
21549
21565
|
}
|
|
21550
21566
|
}
|
|
21551
21567
|
],
|
|
21552
|
-
"events": [
|
|
21553
|
-
{
|
|
21554
|
-
"type": {
|
|
21555
|
-
"text": "CustomEvent<FileList>"
|
|
21556
|
-
},
|
|
21557
|
-
"description": "Fired after the user selects one or more files.",
|
|
21558
|
-
"name": "esp-file-upload-files-selected"
|
|
21559
|
-
}
|
|
21560
|
-
],
|
|
21561
21568
|
"attributes": [
|
|
21562
21569
|
{
|
|
21563
|
-
"name": "
|
|
21564
|
-
"type": {
|
|
21565
|
-
"text": "string"
|
|
21566
|
-
},
|
|
21567
|
-
"default": "\"*\"",
|
|
21568
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
21569
|
-
"fieldName": "accept"
|
|
21570
|
-
},
|
|
21571
|
-
{
|
|
21572
|
-
"name": "choose-text",
|
|
21570
|
+
"name": "icon",
|
|
21573
21571
|
"type": {
|
|
21574
21572
|
"text": "string"
|
|
21575
21573
|
},
|
|
21576
|
-
"default": "\"
|
|
21577
|
-
"description": "
|
|
21578
|
-
"fieldName": "
|
|
21574
|
+
"default": "\"\"",
|
|
21575
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
21576
|
+
"fieldName": "icon"
|
|
21579
21577
|
},
|
|
21580
21578
|
{
|
|
21581
|
-
"name": "
|
|
21579
|
+
"name": "size",
|
|
21582
21580
|
"type": {
|
|
21583
|
-
"text": "
|
|
21581
|
+
"text": "EspalierEmptyStateSize"
|
|
21584
21582
|
},
|
|
21585
|
-
"
|
|
21586
|
-
"
|
|
21587
|
-
"fieldName": "multiple"
|
|
21583
|
+
"description": "Empty-state scale.",
|
|
21584
|
+
"fieldName": "size"
|
|
21588
21585
|
},
|
|
21589
21586
|
{
|
|
21590
21587
|
"type": {
|
|
@@ -21639,28 +21636,28 @@
|
|
|
21639
21636
|
"name": "EspalierElementBase",
|
|
21640
21637
|
"module": "dist/shared/esp-element-base.js"
|
|
21641
21638
|
},
|
|
21642
|
-
"tagName": "esp-file-upload",
|
|
21643
|
-
"customElement": true,
|
|
21644
21639
|
"docPageTitle": {
|
|
21645
|
-
"name": "
|
|
21646
|
-
"description": "
|
|
21640
|
+
"name": "Empty",
|
|
21641
|
+
"description": "State"
|
|
21647
21642
|
},
|
|
21648
21643
|
"docUrl": {
|
|
21649
|
-
"name": "/components/
|
|
21644
|
+
"name": "/components/empty-state",
|
|
21650
21645
|
"description": ""
|
|
21651
21646
|
},
|
|
21652
21647
|
"menuGroup": {
|
|
21653
|
-
"name": "
|
|
21654
|
-
"description": "
|
|
21648
|
+
"name": "Feedback",
|
|
21649
|
+
"description": ""
|
|
21655
21650
|
},
|
|
21656
21651
|
"menuLabel": {
|
|
21657
|
-
"name": "
|
|
21658
|
-
"description": "
|
|
21652
|
+
"name": "Empty",
|
|
21653
|
+
"description": "State"
|
|
21659
21654
|
},
|
|
21660
21655
|
"menuIcon": {
|
|
21661
|
-
"name": "
|
|
21656
|
+
"name": "box",
|
|
21662
21657
|
"description": ""
|
|
21663
21658
|
},
|
|
21659
|
+
"tagName": "esp-empty-state",
|
|
21660
|
+
"customElement": true,
|
|
21664
21661
|
"cssProperties": [
|
|
21665
21662
|
{
|
|
21666
21663
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -21718,111 +21715,96 @@
|
|
|
21718
21715
|
"module": "dist/shared/esp-element-base.js"
|
|
21719
21716
|
}
|
|
21720
21717
|
}
|
|
21721
|
-
]
|
|
21718
|
+
],
|
|
21719
|
+
"events": []
|
|
21722
21720
|
}
|
|
21723
21721
|
],
|
|
21724
21722
|
"exports": [
|
|
21725
21723
|
{
|
|
21726
21724
|
"kind": "js",
|
|
21727
|
-
"name": "
|
|
21725
|
+
"name": "EspalierEmptyState",
|
|
21728
21726
|
"declaration": {
|
|
21729
|
-
"name": "
|
|
21730
|
-
"module": "dist/
|
|
21727
|
+
"name": "EspalierEmptyState",
|
|
21728
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
21731
21729
|
}
|
|
21732
21730
|
},
|
|
21733
21731
|
{
|
|
21734
21732
|
"kind": "custom-element-definition",
|
|
21735
|
-
"name": "esp-
|
|
21733
|
+
"name": "esp-empty-state",
|
|
21736
21734
|
"declaration": {
|
|
21737
|
-
"name": "
|
|
21738
|
-
"module": "dist/
|
|
21735
|
+
"name": "EspalierEmptyState",
|
|
21736
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
21739
21737
|
}
|
|
21740
21738
|
}
|
|
21741
21739
|
]
|
|
21742
21740
|
},
|
|
21743
21741
|
{
|
|
21744
21742
|
"kind": "javascript-module",
|
|
21745
|
-
"path": "dist/
|
|
21743
|
+
"path": "dist/file-upload/esp-file-upload.js",
|
|
21746
21744
|
"declarations": [
|
|
21747
21745
|
{
|
|
21748
21746
|
"kind": "class",
|
|
21749
|
-
"description": "
|
|
21750
|
-
"name": "
|
|
21751
|
-
"slots": [
|
|
21752
|
-
{
|
|
21753
|
-
"description": "Primary empty-state message.",
|
|
21754
|
-
"name": "heading"
|
|
21755
|
-
},
|
|
21756
|
-
{
|
|
21757
|
-
"description": "Supporting body text.",
|
|
21758
|
-
"name": ""
|
|
21759
|
-
},
|
|
21760
|
-
{
|
|
21761
|
-
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
21762
|
-
"name": "icon"
|
|
21763
|
-
},
|
|
21764
|
-
{
|
|
21765
|
-
"description": "Optional call-to-action button or link.",
|
|
21766
|
-
"name": "action"
|
|
21767
|
-
}
|
|
21768
|
-
],
|
|
21747
|
+
"description": "Used to upload files.\n\n```html\n<esp-file-upload choose-text=\"Upload Document\"></esp-file-upload>\n<script>\n const theFileUpload = findByTagName(\"esp-file-upload\")[0];\n theFileUpload.addEventListener(\"esp-file-upload-files-selected\", () => {\n showToast({\n message: `You selected a file!`,\n icon: \"info-i\",\n duration: 2,\n onClosed: () => {\n theFileUpload.finishedProcessingFiles();\n },\n });\n });\n</script>\n```",
|
|
21748
|
+
"name": "EspalierFileUpload",
|
|
21769
21749
|
"members": [
|
|
21770
21750
|
{
|
|
21771
21751
|
"kind": "field",
|
|
21772
|
-
"name": "
|
|
21773
|
-
"privacy": "private",
|
|
21774
|
-
"default": "new SlottedIconController(this)"
|
|
21775
|
-
},
|
|
21776
|
-
{
|
|
21777
|
-
"kind": "field",
|
|
21778
|
-
"name": "actionSlot",
|
|
21752
|
+
"name": "uploadInput",
|
|
21779
21753
|
"privacy": "private"
|
|
21780
21754
|
},
|
|
21781
21755
|
{
|
|
21782
21756
|
"kind": "field",
|
|
21783
|
-
"name": "
|
|
21757
|
+
"name": "processingFiles",
|
|
21784
21758
|
"type": {
|
|
21785
|
-
"text": "
|
|
21759
|
+
"text": "boolean"
|
|
21786
21760
|
},
|
|
21787
21761
|
"privacy": "private",
|
|
21788
|
-
"default": "
|
|
21762
|
+
"default": "false"
|
|
21789
21763
|
},
|
|
21790
21764
|
{
|
|
21791
21765
|
"kind": "field",
|
|
21792
|
-
"name": "
|
|
21766
|
+
"name": "accept",
|
|
21793
21767
|
"type": {
|
|
21794
|
-
"text": "
|
|
21768
|
+
"text": "string"
|
|
21795
21769
|
},
|
|
21796
|
-
"privacy": "
|
|
21797
|
-
"default": "
|
|
21770
|
+
"privacy": "public",
|
|
21771
|
+
"default": "\"*\"",
|
|
21772
|
+
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
21773
|
+
"attribute": "accept"
|
|
21798
21774
|
},
|
|
21799
21775
|
{
|
|
21800
21776
|
"kind": "field",
|
|
21801
|
-
"name": "
|
|
21777
|
+
"name": "chooseText",
|
|
21802
21778
|
"type": {
|
|
21803
21779
|
"text": "string"
|
|
21804
21780
|
},
|
|
21805
21781
|
"privacy": "public",
|
|
21806
|
-
"default": "\"\"",
|
|
21807
|
-
"description": "
|
|
21808
|
-
"attribute": "
|
|
21782
|
+
"default": "\"Choose File\"",
|
|
21783
|
+
"description": "The text to display on the button.",
|
|
21784
|
+
"attribute": "choose-text"
|
|
21809
21785
|
},
|
|
21810
21786
|
{
|
|
21811
21787
|
"kind": "field",
|
|
21812
|
-
"name": "
|
|
21788
|
+
"name": "multiple",
|
|
21813
21789
|
"type": {
|
|
21814
|
-
"text": "
|
|
21790
|
+
"text": "boolean"
|
|
21815
21791
|
},
|
|
21816
21792
|
"privacy": "public",
|
|
21817
|
-
"
|
|
21818
|
-
"
|
|
21819
|
-
"
|
|
21793
|
+
"default": "false",
|
|
21794
|
+
"description": "Allow multiple files to be selected.",
|
|
21795
|
+
"attribute": "multiple"
|
|
21820
21796
|
},
|
|
21821
21797
|
{
|
|
21822
21798
|
"kind": "field",
|
|
21823
|
-
"name": "
|
|
21799
|
+
"name": "filesSelected",
|
|
21824
21800
|
"privacy": "private"
|
|
21825
21801
|
},
|
|
21802
|
+
{
|
|
21803
|
+
"kind": "method",
|
|
21804
|
+
"name": "finishedProcessingFiles",
|
|
21805
|
+
"privacy": "public",
|
|
21806
|
+
"description": "The `esp-file-upload-files-selected` event sets the file upload to a processing state.\nCall this method when you have finished processing the selected files\nto reset the file upload."
|
|
21807
|
+
},
|
|
21826
21808
|
{
|
|
21827
21809
|
"kind": "field",
|
|
21828
21810
|
"name": "seedColorBacker",
|
|
@@ -22548,23 +22530,42 @@
|
|
|
22548
22530
|
}
|
|
22549
22531
|
}
|
|
22550
22532
|
],
|
|
22533
|
+
"events": [
|
|
22534
|
+
{
|
|
22535
|
+
"type": {
|
|
22536
|
+
"text": "CustomEvent<FileList>"
|
|
22537
|
+
},
|
|
22538
|
+
"description": "Fired after the user selects one or more files.",
|
|
22539
|
+
"name": "esp-file-upload-files-selected"
|
|
22540
|
+
}
|
|
22541
|
+
],
|
|
22551
22542
|
"attributes": [
|
|
22552
22543
|
{
|
|
22553
|
-
"name": "
|
|
22544
|
+
"name": "accept",
|
|
22554
22545
|
"type": {
|
|
22555
22546
|
"text": "string"
|
|
22556
22547
|
},
|
|
22557
|
-
"default": "\"
|
|
22558
|
-
"description": "
|
|
22559
|
-
"fieldName": "
|
|
22548
|
+
"default": "\"*\"",
|
|
22549
|
+
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
22550
|
+
"fieldName": "accept"
|
|
22560
22551
|
},
|
|
22561
22552
|
{
|
|
22562
|
-
"name": "
|
|
22553
|
+
"name": "choose-text",
|
|
22563
22554
|
"type": {
|
|
22564
|
-
"text": "
|
|
22555
|
+
"text": "string"
|
|
22565
22556
|
},
|
|
22566
|
-
"
|
|
22567
|
-
"
|
|
22557
|
+
"default": "\"Choose File\"",
|
|
22558
|
+
"description": "The text to display on the button.",
|
|
22559
|
+
"fieldName": "chooseText"
|
|
22560
|
+
},
|
|
22561
|
+
{
|
|
22562
|
+
"name": "multiple",
|
|
22563
|
+
"type": {
|
|
22564
|
+
"text": "boolean"
|
|
22565
|
+
},
|
|
22566
|
+
"default": "false",
|
|
22567
|
+
"description": "Allow multiple files to be selected.",
|
|
22568
|
+
"fieldName": "multiple"
|
|
22568
22569
|
},
|
|
22569
22570
|
{
|
|
22570
22571
|
"type": {
|
|
@@ -22619,28 +22620,28 @@
|
|
|
22619
22620
|
"name": "EspalierElementBase",
|
|
22620
22621
|
"module": "dist/shared/esp-element-base.js"
|
|
22621
22622
|
},
|
|
22623
|
+
"tagName": "esp-file-upload",
|
|
22624
|
+
"customElement": true,
|
|
22622
22625
|
"docPageTitle": {
|
|
22623
|
-
"name": "
|
|
22624
|
-
"description": "
|
|
22626
|
+
"name": "File",
|
|
22627
|
+
"description": "Upload"
|
|
22625
22628
|
},
|
|
22626
22629
|
"docUrl": {
|
|
22627
|
-
"name": "/components/
|
|
22630
|
+
"name": "/components/file-upload",
|
|
22628
22631
|
"description": ""
|
|
22629
22632
|
},
|
|
22630
22633
|
"menuGroup": {
|
|
22631
|
-
"name": "
|
|
22632
|
-
"description": ""
|
|
22634
|
+
"name": "Form",
|
|
22635
|
+
"description": "Controls"
|
|
22633
22636
|
},
|
|
22634
22637
|
"menuLabel": {
|
|
22635
|
-
"name": "
|
|
22636
|
-
"description": "
|
|
22638
|
+
"name": "File",
|
|
22639
|
+
"description": "Upload"
|
|
22637
22640
|
},
|
|
22638
22641
|
"menuIcon": {
|
|
22639
|
-
"name": "
|
|
22642
|
+
"name": "upload",
|
|
22640
22643
|
"description": ""
|
|
22641
22644
|
},
|
|
22642
|
-
"tagName": "esp-empty-state",
|
|
22643
|
-
"customElement": true,
|
|
22644
22645
|
"cssProperties": [
|
|
22645
22646
|
{
|
|
22646
22647
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -22698,25 +22699,24 @@
|
|
|
22698
22699
|
"module": "dist/shared/esp-element-base.js"
|
|
22699
22700
|
}
|
|
22700
22701
|
}
|
|
22701
|
-
]
|
|
22702
|
-
"events": []
|
|
22702
|
+
]
|
|
22703
22703
|
}
|
|
22704
22704
|
],
|
|
22705
22705
|
"exports": [
|
|
22706
22706
|
{
|
|
22707
22707
|
"kind": "js",
|
|
22708
|
-
"name": "
|
|
22708
|
+
"name": "EspalierFileUpload",
|
|
22709
22709
|
"declaration": {
|
|
22710
|
-
"name": "
|
|
22711
|
-
"module": "dist/
|
|
22710
|
+
"name": "EspalierFileUpload",
|
|
22711
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
22712
22712
|
}
|
|
22713
22713
|
},
|
|
22714
22714
|
{
|
|
22715
22715
|
"kind": "custom-element-definition",
|
|
22716
|
-
"name": "esp-
|
|
22716
|
+
"name": "esp-file-upload",
|
|
22717
22717
|
"declaration": {
|
|
22718
|
-
"name": "
|
|
22719
|
-
"module": "dist/
|
|
22718
|
+
"name": "EspalierFileUpload",
|
|
22719
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
22720
22720
|
}
|
|
22721
22721
|
}
|
|
22722
22722
|
]
|
|
@@ -28667,7 +28667,11 @@
|
|
|
28667
28667
|
"name": "--esp-footer-link-hover-color"
|
|
28668
28668
|
},
|
|
28669
28669
|
{
|
|
28670
|
-
"description": "
|
|
28670
|
+
"description": "Hovered link background. Defaults to `var(--esp-color-link-hover-bg)`.",
|
|
28671
|
+
"name": "--esp-footer-link-hover-bg"
|
|
28672
|
+
},
|
|
28673
|
+
{
|
|
28674
|
+
"description": "Focus-visible outline for footer links. Defaults to `2px solid var(--esp-footer-link-color, var(--esp-color-link))`.",
|
|
28671
28675
|
"name": "--esp-footer-focus-outline"
|
|
28672
28676
|
},
|
|
28673
28677
|
{
|
|
@@ -34331,21 +34335,68 @@
|
|
|
34331
34335
|
"privacy": "private",
|
|
34332
34336
|
"default": "false"
|
|
34333
34337
|
},
|
|
34338
|
+
{
|
|
34339
|
+
"kind": "field",
|
|
34340
|
+
"name": "pointerActivation",
|
|
34341
|
+
"type": {
|
|
34342
|
+
"text": "{ pointerId: number; path: EventTarget[] } | null"
|
|
34343
|
+
},
|
|
34344
|
+
"privacy": "private",
|
|
34345
|
+
"default": "null"
|
|
34346
|
+
},
|
|
34334
34347
|
{
|
|
34335
34348
|
"kind": "field",
|
|
34336
34349
|
"name": "onGeometryKeyboard",
|
|
34337
34350
|
"privacy": "private"
|
|
34338
34351
|
},
|
|
34352
|
+
{
|
|
34353
|
+
"kind": "method",
|
|
34354
|
+
"name": "geometryPointerBlocked",
|
|
34355
|
+
"privacy": "private",
|
|
34356
|
+
"return": {
|
|
34357
|
+
"type": {
|
|
34358
|
+
"text": "boolean"
|
|
34359
|
+
}
|
|
34360
|
+
},
|
|
34361
|
+
"parameters": [
|
|
34362
|
+
{
|
|
34363
|
+
"name": "path",
|
|
34364
|
+
"type": {
|
|
34365
|
+
"text": "EventTarget[]"
|
|
34366
|
+
}
|
|
34367
|
+
}
|
|
34368
|
+
]
|
|
34369
|
+
},
|
|
34339
34370
|
{
|
|
34340
34371
|
"kind": "field",
|
|
34341
34372
|
"name": "onGeometryPointer",
|
|
34342
34373
|
"privacy": "private"
|
|
34343
34374
|
},
|
|
34375
|
+
{
|
|
34376
|
+
"kind": "field",
|
|
34377
|
+
"name": "releaseGeometryPointer",
|
|
34378
|
+
"privacy": "private"
|
|
34379
|
+
},
|
|
34344
34380
|
{
|
|
34345
34381
|
"kind": "field",
|
|
34346
34382
|
"name": "onGeometryPointerEnd",
|
|
34347
34383
|
"privacy": "private"
|
|
34348
34384
|
},
|
|
34385
|
+
{
|
|
34386
|
+
"kind": "field",
|
|
34387
|
+
"name": "onGeometryClick",
|
|
34388
|
+
"privacy": "private"
|
|
34389
|
+
},
|
|
34390
|
+
{
|
|
34391
|
+
"kind": "field",
|
|
34392
|
+
"name": "onGeometryDrag",
|
|
34393
|
+
"privacy": "private"
|
|
34394
|
+
},
|
|
34395
|
+
{
|
|
34396
|
+
"kind": "field",
|
|
34397
|
+
"name": "onGeometryBlur",
|
|
34398
|
+
"privacy": "private"
|
|
34399
|
+
},
|
|
34349
34400
|
{
|
|
34350
34401
|
"kind": "field",
|
|
34351
34402
|
"name": "openHeaderPopovers",
|
|
@@ -74597,7 +74648,7 @@
|
|
|
74597
74648
|
"kind": "field",
|
|
74598
74649
|
"name": "lightDomStyles",
|
|
74599
74650
|
"static": true,
|
|
74600
|
-
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } `",
|
|
74651
|
+
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } /* ── Footer color scope ───────────────────────────────── */ /* esp-footer documents --esp-footer-color and --esp-footer-link-color as its text and link colors, but the base rules above set paragraph and link colors directly and outrank the footer's own rules (a page-level rule even beats ::slotted). These restate them one element higher so the footer variables win (ESP0261). The :not([class]) rule is needed to outrank the bold-link rule above. Hover and focus come last because they tie with it at (0,1,3). */ esp-root esp-footer :is(p, ul, ol, li) { color: var(--esp-footer-color, var(--esp-color-text)); } esp-root esp-footer :is(h1, h2, h3, h4, h5, h6) { color: var(--esp-footer-heading-color, var(--esp-color-headings)); } esp-root esp-footer a, esp-root esp-footer a:not([class]) { color: var(--esp-footer-link-color, var(--esp-color-link)); } esp-root esp-footer a:hover { color: var(--esp-footer-link-hover-color, var(--esp-color-link-hover)); background-color: var(--esp-footer-link-hover-bg, var(--esp-color-link-hover-bg)); } esp-root esp-footer a:focus-visible { outline: var( --esp-footer-focus-outline, 2px solid var(--esp-footer-link-color, var(--esp-color-link)) ); outline-offset: 3px; } /* Only bare links take the ring's corner radius; a classed link keeps its own shape, such as a pill or button, while focused. */ esp-root esp-footer a:not([class]):focus-visible { border-radius: var(--esp-size-border-radius); } `",
|
|
74601
74652
|
"description": "Light-DOM styles injected into `document.head` so that\nslotted content (headings, links, code blocks, lists, etc.)\ninherits the design-system tokens defined on `:host`.\nSelectors are scoped to `esp-root` descendants to avoid\nleaking into content outside the root."
|
|
74602
74653
|
}
|
|
74603
74654
|
],
|
|
@@ -89753,40 +89804,60 @@
|
|
|
89753
89804
|
},
|
|
89754
89805
|
{
|
|
89755
89806
|
"kind": "javascript-module",
|
|
89756
|
-
"path": "dist/
|
|
89807
|
+
"path": "dist/switch/esp-switch.js",
|
|
89757
89808
|
"declarations": [
|
|
89758
89809
|
{
|
|
89759
89810
|
"kind": "class",
|
|
89760
|
-
"description": "
|
|
89761
|
-
"name": "
|
|
89811
|
+
"description": "An on/off switch for settings that take effect immediately. Use a\ncheckbox when the choice should be applied with a later form submission.\n\n```html\n<esp-box>\n <esp-form-item label=\"Notifications\">\n <esp-switch value=\"notifications\">\n Enable notifications\n </esp-switch>\n </esp-form-item>\n</esp-box>\n```\n\n```html\n<esp-box>\n <esp-switch checked value=\"dark-mode\">\n Dark mode\n </esp-switch>\n <esp-switch disabled value=\"disabled-opt\">\n Disabled option\n </esp-switch>\n</esp-box>\n```\n\n### Text mode\n\nSet `mode=\"text\"` with `off-label` and `on-label` to render a\ntwo-option text toggle instead of a track and thumb. This is\nideal for binary choices like a billing-period selector:\n\n```html\n<esp-box>\n <esp-switch\n mode=\"text\"\n off-label=\"Monthly\"\n on-label=\"Annual\"\n value=\"annual\"\n >Billing period</esp-switch>\n</esp-box>\n```\n\nThe slotted text is visually hidden in text mode and folded\ninto the control's accessible label together with the current\nselected option. Screen readers will announce both the label\nand the active choice while the `off-label` / `on-label`\ntext is presented visually.",
|
|
89812
|
+
"name": "EspalierSwitch",
|
|
89762
89813
|
"cssProperties": [
|
|
89763
89814
|
{
|
|
89764
|
-
"description": "
|
|
89765
|
-
"name": "--esp-
|
|
89815
|
+
"description": "The width of the switch track. Defaults to `calc(var(--esp-size-normal-to-medium) * 1.75)`.",
|
|
89816
|
+
"name": "--esp-switch-width"
|
|
89766
89817
|
},
|
|
89767
89818
|
{
|
|
89768
|
-
"description": "
|
|
89769
|
-
"name": "--esp-
|
|
89819
|
+
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
89820
|
+
"name": "--esp-switch-height"
|
|
89770
89821
|
},
|
|
89771
89822
|
{
|
|
89772
|
-
"description": "
|
|
89773
|
-
"name": "--esp-
|
|
89823
|
+
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
89824
|
+
"name": "--esp-switch-thumb-size"
|
|
89774
89825
|
},
|
|
89775
89826
|
{
|
|
89776
|
-
"description": "
|
|
89777
|
-
"name": "--esp-
|
|
89827
|
+
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
89828
|
+
"name": "--esp-switch-track-color"
|
|
89778
89829
|
},
|
|
89779
89830
|
{
|
|
89780
|
-
"description": "
|
|
89781
|
-
"name": "--esp-
|
|
89831
|
+
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
89832
|
+
"name": "--esp-switch-track-color-on"
|
|
89782
89833
|
},
|
|
89783
89834
|
{
|
|
89784
|
-
"description": "
|
|
89785
|
-
"name": "--esp-
|
|
89835
|
+
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
89836
|
+
"name": "--esp-switch-thumb-color"
|
|
89786
89837
|
},
|
|
89787
89838
|
{
|
|
89788
|
-
"description": "
|
|
89789
|
-
"name": "--esp-
|
|
89839
|
+
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
89840
|
+
"name": "--esp-switch-focus-shadow"
|
|
89841
|
+
},
|
|
89842
|
+
{
|
|
89843
|
+
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
89844
|
+
"name": "--esp-switch-text-padding"
|
|
89845
|
+
},
|
|
89846
|
+
{
|
|
89847
|
+
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
89848
|
+
"name": "--esp-switch-text-font-size"
|
|
89849
|
+
},
|
|
89850
|
+
{
|
|
89851
|
+
"description": "Text color of the active label in text mode. Defaults to `var(--esp-color-action-text)`.",
|
|
89852
|
+
"name": "--esp-switch-text-active-color"
|
|
89853
|
+
},
|
|
89854
|
+
{
|
|
89855
|
+
"description": "Text color of the inactive label in text mode. Defaults to `var(--esp-color-layer-1)`.",
|
|
89856
|
+
"name": "--esp-switch-text-inactive-color"
|
|
89857
|
+
},
|
|
89858
|
+
{
|
|
89859
|
+
"description": "Background color of the sliding highlight in text mode. Defaults to `var(--esp-color-action-background)`.",
|
|
89860
|
+
"name": "--esp-switch-text-highlight-color"
|
|
89790
89861
|
},
|
|
89791
89862
|
{
|
|
89792
89863
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -89845,108 +89916,194 @@
|
|
|
89845
89916
|
}
|
|
89846
89917
|
}
|
|
89847
89918
|
],
|
|
89848
|
-
"cssParts": [
|
|
89849
|
-
{
|
|
89850
|
-
"description": "The tab strip container.",
|
|
89851
|
-
"name": "tab-list"
|
|
89852
|
-
},
|
|
89853
|
-
{
|
|
89854
|
-
"description": "Each individual tab button in the strip.",
|
|
89855
|
-
"name": "tab-button"
|
|
89856
|
-
},
|
|
89857
|
-
{
|
|
89858
|
-
"description": "The panel area below the tab strip.",
|
|
89859
|
-
"name": "panels"
|
|
89860
|
-
}
|
|
89861
|
-
],
|
|
89862
89919
|
"slots": [
|
|
89863
89920
|
{
|
|
89864
|
-
"description": "
|
|
89921
|
+
"description": "The label text for the switch. In default mode this renders beside the track; in text mode it is visually hidden and included in the control's accessible label.",
|
|
89865
89922
|
"name": ""
|
|
89866
89923
|
}
|
|
89867
89924
|
],
|
|
89868
89925
|
"members": [
|
|
89869
89926
|
{
|
|
89870
89927
|
"kind": "field",
|
|
89871
|
-
"name": "
|
|
89928
|
+
"name": "formAssociated",
|
|
89929
|
+
"type": {
|
|
89930
|
+
"text": "boolean"
|
|
89931
|
+
},
|
|
89932
|
+
"static": true,
|
|
89933
|
+
"default": "true"
|
|
89934
|
+
},
|
|
89935
|
+
{
|
|
89936
|
+
"kind": "field",
|
|
89937
|
+
"name": "internals",
|
|
89872
89938
|
"privacy": "private"
|
|
89873
89939
|
},
|
|
89874
89940
|
{
|
|
89875
89941
|
"kind": "field",
|
|
89876
|
-
"name": "
|
|
89942
|
+
"name": "formCtrl",
|
|
89943
|
+
"privacy": "private",
|
|
89944
|
+
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => (this.checked ? this.value || \"on\" : null), getValidity: () => { if (this.required && !this.checked) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please toggle this switch to continue.\", }; } return null; }, onReset: () => { this.checked = false; }, onRestore: (state: string) => { this.checked = state === \"on\" || state === this.value; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
89945
|
+
},
|
|
89946
|
+
{
|
|
89947
|
+
"kind": "field",
|
|
89948
|
+
"name": "formItemDescription",
|
|
89949
|
+
"privacy": "private",
|
|
89950
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
89951
|
+
},
|
|
89952
|
+
{
|
|
89953
|
+
"kind": "field",
|
|
89954
|
+
"name": "mode",
|
|
89955
|
+
"type": {
|
|
89956
|
+
"text": "\"switch\" | \"text\""
|
|
89957
|
+
},
|
|
89958
|
+
"privacy": "public",
|
|
89959
|
+
"default": "\"switch\"",
|
|
89960
|
+
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
89961
|
+
"attribute": "mode",
|
|
89962
|
+
"reflects": true
|
|
89963
|
+
},
|
|
89964
|
+
{
|
|
89965
|
+
"kind": "field",
|
|
89966
|
+
"name": "offLabel",
|
|
89967
|
+
"type": {
|
|
89968
|
+
"text": "string"
|
|
89969
|
+
},
|
|
89970
|
+
"privacy": "public",
|
|
89971
|
+
"default": "\"\"",
|
|
89972
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
89973
|
+
"attribute": "off-label"
|
|
89974
|
+
},
|
|
89975
|
+
{
|
|
89976
|
+
"kind": "field",
|
|
89977
|
+
"name": "onLabel",
|
|
89978
|
+
"type": {
|
|
89979
|
+
"text": "string"
|
|
89980
|
+
},
|
|
89981
|
+
"privacy": "public",
|
|
89982
|
+
"default": "\"\"",
|
|
89983
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
89984
|
+
"attribute": "on-label"
|
|
89985
|
+
},
|
|
89986
|
+
{
|
|
89987
|
+
"kind": "field",
|
|
89988
|
+
"name": "checked",
|
|
89877
89989
|
"type": {
|
|
89878
89990
|
"text": "boolean"
|
|
89879
89991
|
},
|
|
89880
89992
|
"privacy": "public",
|
|
89881
89993
|
"default": "false",
|
|
89882
|
-
"description": "
|
|
89883
|
-
"attribute": "
|
|
89994
|
+
"description": "Whether the switch is in the on state.",
|
|
89995
|
+
"attribute": "checked",
|
|
89884
89996
|
"reflects": true
|
|
89885
89997
|
},
|
|
89886
89998
|
{
|
|
89887
89999
|
"kind": "field",
|
|
89888
|
-
"name": "
|
|
90000
|
+
"name": "value",
|
|
89889
90001
|
"type": {
|
|
89890
|
-
"text": "
|
|
90002
|
+
"text": "string"
|
|
89891
90003
|
},
|
|
89892
|
-
"privacy": "
|
|
89893
|
-
"default": "
|
|
90004
|
+
"privacy": "public",
|
|
90005
|
+
"default": "\"\"",
|
|
90006
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
90007
|
+
"attribute": "value"
|
|
90008
|
+
},
|
|
90009
|
+
{
|
|
90010
|
+
"kind": "field",
|
|
90011
|
+
"name": "name",
|
|
90012
|
+
"type": {
|
|
90013
|
+
"text": "string"
|
|
90014
|
+
},
|
|
90015
|
+
"privacy": "public",
|
|
90016
|
+
"default": "\"\"",
|
|
90017
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
90018
|
+
"attribute": "name",
|
|
90019
|
+
"reflects": true
|
|
90020
|
+
},
|
|
90021
|
+
{
|
|
90022
|
+
"kind": "field",
|
|
90023
|
+
"name": "required",
|
|
90024
|
+
"type": {
|
|
90025
|
+
"text": "boolean"
|
|
90026
|
+
},
|
|
90027
|
+
"privacy": "public",
|
|
90028
|
+
"default": "false",
|
|
90029
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
90030
|
+
"attribute": "required",
|
|
90031
|
+
"reflects": true
|
|
90032
|
+
},
|
|
90033
|
+
{
|
|
90034
|
+
"kind": "field",
|
|
90035
|
+
"name": "requiredMessage",
|
|
90036
|
+
"type": {
|
|
90037
|
+
"text": "string"
|
|
90038
|
+
},
|
|
90039
|
+
"privacy": "public",
|
|
90040
|
+
"default": "\"\"",
|
|
90041
|
+
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
90042
|
+
"attribute": "required-message"
|
|
90043
|
+
},
|
|
90044
|
+
{
|
|
90045
|
+
"kind": "field",
|
|
90046
|
+
"name": "disabled",
|
|
90047
|
+
"type": {
|
|
90048
|
+
"text": "boolean"
|
|
90049
|
+
},
|
|
90050
|
+
"privacy": "public",
|
|
90051
|
+
"default": "false",
|
|
90052
|
+
"description": "Controls whether the switch is disabled.",
|
|
90053
|
+
"attribute": "disabled",
|
|
90054
|
+
"reflects": true
|
|
89894
90055
|
},
|
|
89895
90056
|
{
|
|
89896
90057
|
"kind": "method",
|
|
89897
|
-
"name": "
|
|
89898
|
-
"privacy": "
|
|
90058
|
+
"name": "focus",
|
|
90059
|
+
"privacy": "public",
|
|
89899
90060
|
"return": {
|
|
89900
90061
|
"type": {
|
|
89901
|
-
"text": "
|
|
90062
|
+
"text": "void"
|
|
89902
90063
|
}
|
|
89903
|
-
}
|
|
90064
|
+
},
|
|
90065
|
+
"parameters": [
|
|
90066
|
+
{
|
|
90067
|
+
"name": "options",
|
|
90068
|
+
"optional": true,
|
|
90069
|
+
"type": {
|
|
90070
|
+
"text": "FocusOptions"
|
|
90071
|
+
}
|
|
90072
|
+
}
|
|
90073
|
+
],
|
|
90074
|
+
"description": "Focus the switch control."
|
|
89904
90075
|
},
|
|
89905
90076
|
{
|
|
89906
90077
|
"kind": "method",
|
|
89907
|
-
"name": "
|
|
89908
|
-
"privacy": "
|
|
90078
|
+
"name": "validate",
|
|
90079
|
+
"privacy": "public",
|
|
89909
90080
|
"return": {
|
|
89910
90081
|
"type": {
|
|
89911
90082
|
"text": "void"
|
|
89912
90083
|
}
|
|
89913
|
-
}
|
|
90084
|
+
},
|
|
90085
|
+
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
89914
90086
|
},
|
|
89915
90087
|
{
|
|
89916
90088
|
"kind": "method",
|
|
89917
|
-
"name": "
|
|
89918
|
-
"privacy": "
|
|
90089
|
+
"name": "checkValidity",
|
|
90090
|
+
"privacy": "public",
|
|
89919
90091
|
"return": {
|
|
89920
90092
|
"type": {
|
|
89921
|
-
"text": "
|
|
90093
|
+
"text": "boolean"
|
|
89922
90094
|
}
|
|
89923
90095
|
},
|
|
89924
|
-
"
|
|
89925
|
-
{
|
|
89926
|
-
"name": "index",
|
|
89927
|
-
"type": {
|
|
89928
|
-
"text": "number"
|
|
89929
|
-
}
|
|
89930
|
-
}
|
|
89931
|
-
]
|
|
90096
|
+
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
89932
90097
|
},
|
|
89933
90098
|
{
|
|
89934
90099
|
"kind": "method",
|
|
89935
|
-
"name": "
|
|
90100
|
+
"name": "toggle",
|
|
89936
90101
|
"privacy": "private",
|
|
89937
90102
|
"return": {
|
|
89938
90103
|
"type": {
|
|
89939
90104
|
"text": "void"
|
|
89940
90105
|
}
|
|
89941
|
-
}
|
|
89942
|
-
"parameters": [
|
|
89943
|
-
{
|
|
89944
|
-
"name": "index",
|
|
89945
|
-
"type": {
|
|
89946
|
-
"text": "number"
|
|
89947
|
-
}
|
|
89948
|
-
}
|
|
89949
|
-
]
|
|
90106
|
+
}
|
|
89950
90107
|
},
|
|
89951
90108
|
{
|
|
89952
90109
|
"kind": "method",
|
|
@@ -89968,7 +90125,7 @@
|
|
|
89968
90125
|
},
|
|
89969
90126
|
{
|
|
89970
90127
|
"kind": "method",
|
|
89971
|
-
"name": "
|
|
90128
|
+
"name": "handleLabelSlotChange",
|
|
89972
90129
|
"privacy": "private",
|
|
89973
90130
|
"return": {
|
|
89974
90131
|
"type": {
|
|
@@ -89978,14 +90135,70 @@
|
|
|
89978
90135
|
},
|
|
89979
90136
|
{
|
|
89980
90137
|
"kind": "method",
|
|
89981
|
-
"name": "
|
|
90138
|
+
"name": "getCurrentTextModeLabel",
|
|
89982
90139
|
"privacy": "private",
|
|
89983
90140
|
"return": {
|
|
89984
90141
|
"type": {
|
|
89985
|
-
"text": "
|
|
90142
|
+
"text": "string"
|
|
90143
|
+
}
|
|
90144
|
+
}
|
|
90145
|
+
},
|
|
90146
|
+
{
|
|
90147
|
+
"kind": "method",
|
|
90148
|
+
"name": "getTextModeAriaLabel",
|
|
90149
|
+
"privacy": "private",
|
|
90150
|
+
"return": {
|
|
90151
|
+
"type": {
|
|
90152
|
+
"text": "string"
|
|
89986
90153
|
}
|
|
89987
90154
|
}
|
|
89988
90155
|
},
|
|
90156
|
+
{
|
|
90157
|
+
"kind": "method",
|
|
90158
|
+
"name": "formResetCallback",
|
|
90159
|
+
"return": {
|
|
90160
|
+
"type": {
|
|
90161
|
+
"text": "void"
|
|
90162
|
+
}
|
|
90163
|
+
},
|
|
90164
|
+
"description": "Called by the browser when the owning `<form>` is reset."
|
|
90165
|
+
},
|
|
90166
|
+
{
|
|
90167
|
+
"kind": "method",
|
|
90168
|
+
"name": "formStateRestoreCallback",
|
|
90169
|
+
"return": {
|
|
90170
|
+
"type": {
|
|
90171
|
+
"text": "void"
|
|
90172
|
+
}
|
|
90173
|
+
},
|
|
90174
|
+
"parameters": [
|
|
90175
|
+
{
|
|
90176
|
+
"name": "state",
|
|
90177
|
+
"type": {
|
|
90178
|
+
"text": "string"
|
|
90179
|
+
}
|
|
90180
|
+
}
|
|
90181
|
+
],
|
|
90182
|
+
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
90183
|
+
},
|
|
90184
|
+
{
|
|
90185
|
+
"kind": "method",
|
|
90186
|
+
"name": "formDisabledCallback",
|
|
90187
|
+
"return": {
|
|
90188
|
+
"type": {
|
|
90189
|
+
"text": "void"
|
|
90190
|
+
}
|
|
90191
|
+
},
|
|
90192
|
+
"parameters": [
|
|
90193
|
+
{
|
|
90194
|
+
"name": "isDisabled",
|
|
90195
|
+
"type": {
|
|
90196
|
+
"text": "boolean"
|
|
90197
|
+
}
|
|
90198
|
+
}
|
|
90199
|
+
],
|
|
90200
|
+
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
90201
|
+
},
|
|
89989
90202
|
{
|
|
89990
90203
|
"kind": "field",
|
|
89991
90204
|
"name": "seedColorBacker",
|
|
@@ -90714,20 +90927,99 @@
|
|
|
90714
90927
|
"events": [
|
|
90715
90928
|
{
|
|
90716
90929
|
"type": {
|
|
90717
|
-
"text": "CustomEvent<{
|
|
90930
|
+
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
90718
90931
|
},
|
|
90719
|
-
"description": "Fired when the
|
|
90720
|
-
"name": "esp-
|
|
90932
|
+
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
90933
|
+
"name": "esp-value-changed"
|
|
90934
|
+
},
|
|
90935
|
+
{
|
|
90936
|
+
"type": {
|
|
90937
|
+
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
90938
|
+
},
|
|
90939
|
+
"description": "Fired whenever constraint validation runs.",
|
|
90940
|
+
"name": "esp-validity-changed"
|
|
90721
90941
|
}
|
|
90722
90942
|
],
|
|
90723
90943
|
"attributes": [
|
|
90944
|
+
{
|
|
90945
|
+
"name": "mode",
|
|
90946
|
+
"type": {
|
|
90947
|
+
"text": "\"switch\" | \"text\""
|
|
90948
|
+
},
|
|
90949
|
+
"default": "\"switch\"",
|
|
90950
|
+
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
90951
|
+
"fieldName": "mode"
|
|
90952
|
+
},
|
|
90953
|
+
{
|
|
90954
|
+
"name": "off-label",
|
|
90955
|
+
"type": {
|
|
90956
|
+
"text": "string"
|
|
90957
|
+
},
|
|
90958
|
+
"default": "\"\"",
|
|
90959
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
90960
|
+
"fieldName": "offLabel"
|
|
90961
|
+
},
|
|
90962
|
+
{
|
|
90963
|
+
"name": "on-label",
|
|
90964
|
+
"type": {
|
|
90965
|
+
"text": "string"
|
|
90966
|
+
},
|
|
90967
|
+
"default": "\"\"",
|
|
90968
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
90969
|
+
"fieldName": "onLabel"
|
|
90970
|
+
},
|
|
90971
|
+
{
|
|
90972
|
+
"name": "checked",
|
|
90973
|
+
"type": {
|
|
90974
|
+
"text": "boolean"
|
|
90975
|
+
},
|
|
90976
|
+
"default": "false",
|
|
90977
|
+
"description": "Whether the switch is in the on state.",
|
|
90978
|
+
"fieldName": "checked"
|
|
90979
|
+
},
|
|
90980
|
+
{
|
|
90981
|
+
"name": "value",
|
|
90982
|
+
"type": {
|
|
90983
|
+
"text": "string"
|
|
90984
|
+
},
|
|
90985
|
+
"default": "\"\"",
|
|
90986
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
90987
|
+
"fieldName": "value"
|
|
90988
|
+
},
|
|
90989
|
+
{
|
|
90990
|
+
"name": "name",
|
|
90991
|
+
"type": {
|
|
90992
|
+
"text": "string"
|
|
90993
|
+
},
|
|
90994
|
+
"default": "\"\"",
|
|
90995
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
90996
|
+
"fieldName": "name"
|
|
90997
|
+
},
|
|
90998
|
+
{
|
|
90999
|
+
"name": "required",
|
|
91000
|
+
"type": {
|
|
91001
|
+
"text": "boolean"
|
|
91002
|
+
},
|
|
91003
|
+
"default": "false",
|
|
91004
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
91005
|
+
"fieldName": "required"
|
|
91006
|
+
},
|
|
91007
|
+
{
|
|
91008
|
+
"name": "required-message",
|
|
91009
|
+
"type": {
|
|
91010
|
+
"text": "string"
|
|
91011
|
+
},
|
|
91012
|
+
"default": "\"\"",
|
|
91013
|
+
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
91014
|
+
"fieldName": "requiredMessage"
|
|
91015
|
+
},
|
|
90724
91016
|
{
|
|
90725
91017
|
"name": "disabled",
|
|
90726
91018
|
"type": {
|
|
90727
91019
|
"text": "boolean"
|
|
90728
91020
|
},
|
|
90729
91021
|
"default": "false",
|
|
90730
|
-
"description": "
|
|
91022
|
+
"description": "Controls whether the switch is disabled.",
|
|
90731
91023
|
"fieldName": "disabled"
|
|
90732
91024
|
},
|
|
90733
91025
|
{
|
|
@@ -90783,60 +91075,84 @@
|
|
|
90783
91075
|
"name": "EspalierElementBase",
|
|
90784
91076
|
"module": "dist/shared/esp-element-base.js"
|
|
90785
91077
|
},
|
|
90786
|
-
"tagName": "esp-tab-group",
|
|
90787
|
-
"customElement": true,
|
|
90788
91078
|
"docPageTitle": {
|
|
90789
|
-
"name": "
|
|
90790
|
-
"description": "
|
|
91079
|
+
"name": "Switch",
|
|
91080
|
+
"description": ""
|
|
90791
91081
|
},
|
|
90792
91082
|
"docUrl": {
|
|
90793
|
-
"name": "/components/
|
|
91083
|
+
"name": "/components/switch",
|
|
90794
91084
|
"description": ""
|
|
90795
91085
|
},
|
|
90796
91086
|
"menuGroup": {
|
|
90797
|
-
"name": "
|
|
90798
|
-
"description": ""
|
|
91087
|
+
"name": "Form",
|
|
91088
|
+
"description": "Controls"
|
|
90799
91089
|
},
|
|
90800
91090
|
"menuLabel": {
|
|
90801
|
-
"name": "
|
|
90802
|
-
"description": "
|
|
91091
|
+
"name": "Switch",
|
|
91092
|
+
"description": ""
|
|
90803
91093
|
},
|
|
90804
91094
|
"menuIcon": {
|
|
90805
|
-
"name": "
|
|
91095
|
+
"name": "button",
|
|
90806
91096
|
"description": ""
|
|
90807
|
-
}
|
|
91097
|
+
},
|
|
91098
|
+
"tagName": "esp-switch",
|
|
91099
|
+
"customElement": true
|
|
90808
91100
|
}
|
|
90809
91101
|
],
|
|
90810
91102
|
"exports": [
|
|
90811
91103
|
{
|
|
90812
91104
|
"kind": "js",
|
|
90813
|
-
"name": "
|
|
91105
|
+
"name": "EspalierSwitch",
|
|
90814
91106
|
"declaration": {
|
|
90815
|
-
"name": "
|
|
90816
|
-
"module": "dist/
|
|
91107
|
+
"name": "EspalierSwitch",
|
|
91108
|
+
"module": "dist/switch/esp-switch.js"
|
|
90817
91109
|
}
|
|
90818
91110
|
},
|
|
90819
91111
|
{
|
|
90820
91112
|
"kind": "custom-element-definition",
|
|
90821
|
-
"name": "esp-
|
|
91113
|
+
"name": "esp-switch",
|
|
90822
91114
|
"declaration": {
|
|
90823
|
-
"name": "
|
|
90824
|
-
"module": "dist/
|
|
91115
|
+
"name": "EspalierSwitch",
|
|
91116
|
+
"module": "dist/switch/esp-switch.js"
|
|
90825
91117
|
}
|
|
90826
91118
|
}
|
|
90827
91119
|
]
|
|
90828
91120
|
},
|
|
90829
91121
|
{
|
|
90830
91122
|
"kind": "javascript-module",
|
|
90831
|
-
"path": "dist/tabs/esp-tab.js",
|
|
91123
|
+
"path": "dist/tabs/esp-tab-group.js",
|
|
90832
91124
|
"declarations": [
|
|
90833
91125
|
{
|
|
90834
91126
|
"kind": "class",
|
|
90835
|
-
"description": "A
|
|
90836
|
-
"name": "
|
|
91127
|
+
"description": "A tabbed interface that groups multiple\n[esp-tab](/components/tabs) elements. The tab strip is\ngenerated automatically from each child's `label` attribute.\nOnly one tab panel is visible at a time.\n\nA field fills one layer above the surface it sits on.\nUse `surface-layer=\"1|2|3|4\"` to select the default painted layer.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Overview\">\n <p>Overview content goes here.</p>\n </esp-tab>\n <esp-tab label=\"Details\">\n <p>Detailed information lives here.</p>\n </esp-tab>\n <esp-tab label=\"Settings\">\n <p>Configuration options.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet `active` on a child `esp-tab` to make it the initially\nvisible panel:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Alpha\">\n <p>Alpha panel.</p>\n </esp-tab>\n <esp-tab label=\"Beta\" active>\n <p>Beta starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\nIndividual tabs can be disabled:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Available\">\n <p>You can select this tab.</p>\n </esp-tab>\n <esp-tab label=\"Locked\" disabled>\n <p>This tab cannot be reached.</p>\n </esp-tab>\n <esp-tab label=\"Also available\">\n <p>This tab works too.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled group\n\nSet `disabled` on the group to disable all tabs at once:\n\n```html\n<esp-tab-group disabled>\n <esp-tab label=\"One\">\n <p>All tabs are disabled.</p>\n </esp-tab>\n <esp-tab label=\"Two\">\n <p>Cannot switch to this.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Zone theming\n\nTab groups pick up zone theming from a `context` attribute:\n\n```html\n<esp-tab-group context=\"quiet\">\n <esp-tab label=\"First\">\n <p>Zone-correct content.</p>\n </esp-tab>\n <esp-tab label=\"Second\">\n <p>More content.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Listening for tab changes\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Tab 1\">\n <p>First panel.</p>\n </esp-tab>\n <esp-tab label=\"Tab 2\">\n <p>Second panel.</p>\n </esp-tab>\n</esp-tab-group>\n<script>\n const tabs = findByTagName(\"esp-tab-group\")[0];\n tabs.addEventListener(\"esp-tab-group-changed\", (ev) => {\n console.log(\"Switched to:\", ev.detail.label, \"at index\", ev.detail.index);\n });\n</script>\n```",
|
|
91128
|
+
"name": "EspalierTabGroup",
|
|
90837
91129
|
"cssProperties": [
|
|
90838
91130
|
{
|
|
90839
|
-
"description": "
|
|
91131
|
+
"description": "Border color of the tab group container.",
|
|
91132
|
+
"name": "--esp-tab-color-border"
|
|
91133
|
+
},
|
|
91134
|
+
{
|
|
91135
|
+
"description": "Background color of the overall component.",
|
|
91136
|
+
"name": "--esp-tab-color-background"
|
|
91137
|
+
},
|
|
91138
|
+
{
|
|
91139
|
+
"description": "Background color of the tab strip.",
|
|
91140
|
+
"name": "--esp-tab-color-strip-background"
|
|
91141
|
+
},
|
|
91142
|
+
{
|
|
91143
|
+
"description": "Tab button hover background.",
|
|
91144
|
+
"name": "--esp-tab-color-button-hover"
|
|
91145
|
+
},
|
|
91146
|
+
{
|
|
91147
|
+
"description": "Active tab button background.",
|
|
91148
|
+
"name": "--esp-tab-color-button-active"
|
|
91149
|
+
},
|
|
91150
|
+
{
|
|
91151
|
+
"description": "Text color for tab buttons.",
|
|
91152
|
+
"name": "--esp-tab-color-text"
|
|
91153
|
+
},
|
|
91154
|
+
{
|
|
91155
|
+
"description": "Padding inside the panel area and tab buttons.",
|
|
90840
91156
|
"name": "--esp-tab-size-padding"
|
|
90841
91157
|
},
|
|
90842
91158
|
{
|
|
@@ -90898,51 +91214,144 @@
|
|
|
90898
91214
|
],
|
|
90899
91215
|
"cssParts": [
|
|
90900
91216
|
{
|
|
90901
|
-
"description": "The
|
|
90902
|
-
"name": "
|
|
91217
|
+
"description": "The tab strip container.",
|
|
91218
|
+
"name": "tab-list"
|
|
91219
|
+
},
|
|
91220
|
+
{
|
|
91221
|
+
"description": "Each individual tab button in the strip.",
|
|
91222
|
+
"name": "tab-button"
|
|
91223
|
+
},
|
|
91224
|
+
{
|
|
91225
|
+
"description": "The panel area below the tab strip.",
|
|
91226
|
+
"name": "panels"
|
|
90903
91227
|
}
|
|
90904
91228
|
],
|
|
90905
91229
|
"slots": [
|
|
90906
91230
|
{
|
|
90907
|
-
"description": "
|
|
91231
|
+
"description": "Place `esp-tab` elements in the default slot.",
|
|
90908
91232
|
"name": ""
|
|
90909
91233
|
}
|
|
90910
91234
|
],
|
|
90911
91235
|
"members": [
|
|
90912
91236
|
{
|
|
90913
91237
|
"kind": "field",
|
|
90914
|
-
"name": "
|
|
90915
|
-
"
|
|
90916
|
-
"text": "string"
|
|
90917
|
-
},
|
|
90918
|
-
"privacy": "public",
|
|
90919
|
-
"default": "\"\"",
|
|
90920
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
90921
|
-
"attribute": "label"
|
|
91238
|
+
"name": "panelsSlot",
|
|
91239
|
+
"privacy": "private"
|
|
90922
91240
|
},
|
|
90923
91241
|
{
|
|
90924
91242
|
"kind": "field",
|
|
90925
|
-
"name": "
|
|
91243
|
+
"name": "disabled",
|
|
90926
91244
|
"type": {
|
|
90927
91245
|
"text": "boolean"
|
|
90928
91246
|
},
|
|
90929
91247
|
"privacy": "public",
|
|
90930
91248
|
"default": "false",
|
|
90931
|
-
"description": "
|
|
90932
|
-
"attribute": "
|
|
91249
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
91250
|
+
"attribute": "disabled",
|
|
90933
91251
|
"reflects": true
|
|
90934
91252
|
},
|
|
90935
91253
|
{
|
|
90936
91254
|
"kind": "field",
|
|
90937
|
-
"name": "
|
|
91255
|
+
"name": "tabData",
|
|
90938
91256
|
"type": {
|
|
90939
|
-
"text": "
|
|
91257
|
+
"text": "TabData[]"
|
|
90940
91258
|
},
|
|
90941
|
-
"privacy": "
|
|
90942
|
-
"default": "
|
|
90943
|
-
|
|
90944
|
-
|
|
90945
|
-
"
|
|
91259
|
+
"privacy": "private",
|
|
91260
|
+
"default": "[]"
|
|
91261
|
+
},
|
|
91262
|
+
{
|
|
91263
|
+
"kind": "method",
|
|
91264
|
+
"name": "getTabs",
|
|
91265
|
+
"privacy": "private",
|
|
91266
|
+
"return": {
|
|
91267
|
+
"type": {
|
|
91268
|
+
"text": "EspalierTab[]"
|
|
91269
|
+
}
|
|
91270
|
+
}
|
|
91271
|
+
},
|
|
91272
|
+
{
|
|
91273
|
+
"kind": "method",
|
|
91274
|
+
"name": "syncTabData",
|
|
91275
|
+
"privacy": "private",
|
|
91276
|
+
"return": {
|
|
91277
|
+
"type": {
|
|
91278
|
+
"text": "void"
|
|
91279
|
+
}
|
|
91280
|
+
}
|
|
91281
|
+
},
|
|
91282
|
+
{
|
|
91283
|
+
"kind": "method",
|
|
91284
|
+
"name": "activateTab",
|
|
91285
|
+
"privacy": "private",
|
|
91286
|
+
"return": {
|
|
91287
|
+
"type": {
|
|
91288
|
+
"text": "void"
|
|
91289
|
+
}
|
|
91290
|
+
},
|
|
91291
|
+
"parameters": [
|
|
91292
|
+
{
|
|
91293
|
+
"name": "index",
|
|
91294
|
+
"type": {
|
|
91295
|
+
"text": "number"
|
|
91296
|
+
}
|
|
91297
|
+
}
|
|
91298
|
+
]
|
|
91299
|
+
},
|
|
91300
|
+
{
|
|
91301
|
+
"kind": "method",
|
|
91302
|
+
"name": "handleTabClick",
|
|
91303
|
+
"privacy": "private",
|
|
91304
|
+
"return": {
|
|
91305
|
+
"type": {
|
|
91306
|
+
"text": "void"
|
|
91307
|
+
}
|
|
91308
|
+
},
|
|
91309
|
+
"parameters": [
|
|
91310
|
+
{
|
|
91311
|
+
"name": "index",
|
|
91312
|
+
"type": {
|
|
91313
|
+
"text": "number"
|
|
91314
|
+
}
|
|
91315
|
+
}
|
|
91316
|
+
]
|
|
91317
|
+
},
|
|
91318
|
+
{
|
|
91319
|
+
"kind": "method",
|
|
91320
|
+
"name": "handleKeyDown",
|
|
91321
|
+
"privacy": "private",
|
|
91322
|
+
"return": {
|
|
91323
|
+
"type": {
|
|
91324
|
+
"text": "void"
|
|
91325
|
+
}
|
|
91326
|
+
},
|
|
91327
|
+
"parameters": [
|
|
91328
|
+
{
|
|
91329
|
+
"name": "ev",
|
|
91330
|
+
"type": {
|
|
91331
|
+
"text": "KeyboardEvent"
|
|
91332
|
+
}
|
|
91333
|
+
}
|
|
91334
|
+
]
|
|
91335
|
+
},
|
|
91336
|
+
{
|
|
91337
|
+
"kind": "method",
|
|
91338
|
+
"name": "handleChildUpdated",
|
|
91339
|
+
"privacy": "private",
|
|
91340
|
+
"return": {
|
|
91341
|
+
"type": {
|
|
91342
|
+
"text": "void"
|
|
91343
|
+
}
|
|
91344
|
+
}
|
|
91345
|
+
},
|
|
91346
|
+
{
|
|
91347
|
+
"kind": "method",
|
|
91348
|
+
"name": "handleSlotChange",
|
|
91349
|
+
"privacy": "private",
|
|
91350
|
+
"return": {
|
|
91351
|
+
"type": {
|
|
91352
|
+
"text": "void"
|
|
91353
|
+
}
|
|
91354
|
+
}
|
|
90946
91355
|
},
|
|
90947
91356
|
{
|
|
90948
91357
|
"kind": "field",
|
|
@@ -91669,33 +92078,23 @@
|
|
|
91669
92078
|
}
|
|
91670
92079
|
}
|
|
91671
92080
|
],
|
|
91672
|
-
"events": [
|
|
91673
|
-
"attributes": [
|
|
91674
|
-
{
|
|
91675
|
-
"name": "label",
|
|
91676
|
-
"type": {
|
|
91677
|
-
"text": "string"
|
|
91678
|
-
},
|
|
91679
|
-
"default": "\"\"",
|
|
91680
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
91681
|
-
"fieldName": "label"
|
|
91682
|
-
},
|
|
92081
|
+
"events": [
|
|
91683
92082
|
{
|
|
91684
|
-
"name": "active",
|
|
91685
92083
|
"type": {
|
|
91686
|
-
"text": "
|
|
92084
|
+
"text": "CustomEvent<{ index: number; label: string }>"
|
|
91687
92085
|
},
|
|
91688
|
-
"
|
|
91689
|
-
"
|
|
91690
|
-
|
|
91691
|
-
|
|
92086
|
+
"description": "Fired when the active tab changes. The detail contains the `index` and `label` of the newly active tab.",
|
|
92087
|
+
"name": "esp-tab-group-changed"
|
|
92088
|
+
}
|
|
92089
|
+
],
|
|
92090
|
+
"attributes": [
|
|
91692
92091
|
{
|
|
91693
92092
|
"name": "disabled",
|
|
91694
92093
|
"type": {
|
|
91695
92094
|
"text": "boolean"
|
|
91696
92095
|
},
|
|
91697
92096
|
"default": "false",
|
|
91698
|
-
"description": "
|
|
92097
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
91699
92098
|
"fieldName": "disabled"
|
|
91700
92099
|
},
|
|
91701
92100
|
{
|
|
@@ -91751,97 +92150,61 @@
|
|
|
91751
92150
|
"name": "EspalierElementBase",
|
|
91752
92151
|
"module": "dist/shared/esp-element-base.js"
|
|
91753
92152
|
},
|
|
91754
|
-
"tagName": "esp-tab",
|
|
92153
|
+
"tagName": "esp-tab-group",
|
|
91755
92154
|
"customElement": true,
|
|
91756
92155
|
"docPageTitle": {
|
|
91757
92156
|
"name": "Tab",
|
|
91758
|
-
"description": ""
|
|
92157
|
+
"description": "Group"
|
|
91759
92158
|
},
|
|
91760
92159
|
"docUrl": {
|
|
91761
|
-
"name": "/components/tabs
|
|
92160
|
+
"name": "/components/tabs",
|
|
91762
92161
|
"description": ""
|
|
91763
92162
|
},
|
|
91764
92163
|
"menuGroup": {
|
|
91765
92164
|
"name": "Navigation",
|
|
91766
92165
|
"description": ""
|
|
92166
|
+
},
|
|
92167
|
+
"menuLabel": {
|
|
92168
|
+
"name": "Tab",
|
|
92169
|
+
"description": "Group"
|
|
92170
|
+
},
|
|
92171
|
+
"menuIcon": {
|
|
92172
|
+
"name": "layout-navbar",
|
|
92173
|
+
"description": ""
|
|
91767
92174
|
}
|
|
91768
92175
|
}
|
|
91769
92176
|
],
|
|
91770
92177
|
"exports": [
|
|
91771
92178
|
{
|
|
91772
92179
|
"kind": "js",
|
|
91773
|
-
"name": "
|
|
92180
|
+
"name": "EspalierTabGroup",
|
|
91774
92181
|
"declaration": {
|
|
91775
|
-
"name": "
|
|
91776
|
-
"module": "dist/tabs/esp-tab.js"
|
|
92182
|
+
"name": "EspalierTabGroup",
|
|
92183
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
91777
92184
|
}
|
|
91778
92185
|
},
|
|
91779
92186
|
{
|
|
91780
92187
|
"kind": "custom-element-definition",
|
|
91781
|
-
"name": "esp-tab",
|
|
92188
|
+
"name": "esp-tab-group",
|
|
91782
92189
|
"declaration": {
|
|
91783
|
-
"name": "
|
|
91784
|
-
"module": "dist/tabs/esp-tab.js"
|
|
92190
|
+
"name": "EspalierTabGroup",
|
|
92191
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
91785
92192
|
}
|
|
91786
92193
|
}
|
|
91787
92194
|
]
|
|
91788
92195
|
},
|
|
91789
92196
|
{
|
|
91790
92197
|
"kind": "javascript-module",
|
|
91791
|
-
"path": "dist/
|
|
92198
|
+
"path": "dist/tabs/esp-tab.js",
|
|
91792
92199
|
"declarations": [
|
|
91793
92200
|
{
|
|
91794
92201
|
"kind": "class",
|
|
91795
|
-
"description": "
|
|
91796
|
-
"name": "
|
|
92202
|
+
"description": "A single tab panel used inside\n[esp-tab-group](/components/tabs). Each tab provides a\n`label` that appears in the generated tab strip and a default\nslot for the panel content.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"First\">\n <p>Content for the first tab.</p>\n </esp-tab>\n <esp-tab label=\"Second\">\n <p>Content for the second tab.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet the `active` attribute to make a tab active on load:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"One\">\n <p>Not active by default.</p>\n </esp-tab>\n <esp-tab label=\"Two\" active>\n <p>This tab starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Enabled\">\n <p>This tab works normally.</p>\n </esp-tab>\n <esp-tab label=\"Disabled\" disabled>\n <p>Cannot reach this panel.</p>\n </esp-tab>\n</esp-tab-group>\n```",
|
|
92203
|
+
"name": "EspalierTab",
|
|
91797
92204
|
"cssProperties": [
|
|
91798
92205
|
{
|
|
91799
|
-
"description": "
|
|
91800
|
-
"name": "--esp-
|
|
91801
|
-
},
|
|
91802
|
-
{
|
|
91803
|
-
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
91804
|
-
"name": "--esp-switch-height"
|
|
91805
|
-
},
|
|
91806
|
-
{
|
|
91807
|
-
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
91808
|
-
"name": "--esp-switch-thumb-size"
|
|
91809
|
-
},
|
|
91810
|
-
{
|
|
91811
|
-
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
91812
|
-
"name": "--esp-switch-track-color"
|
|
91813
|
-
},
|
|
91814
|
-
{
|
|
91815
|
-
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
91816
|
-
"name": "--esp-switch-track-color-on"
|
|
91817
|
-
},
|
|
91818
|
-
{
|
|
91819
|
-
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
91820
|
-
"name": "--esp-switch-thumb-color"
|
|
91821
|
-
},
|
|
91822
|
-
{
|
|
91823
|
-
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
91824
|
-
"name": "--esp-switch-focus-shadow"
|
|
91825
|
-
},
|
|
91826
|
-
{
|
|
91827
|
-
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
91828
|
-
"name": "--esp-switch-text-padding"
|
|
91829
|
-
},
|
|
91830
|
-
{
|
|
91831
|
-
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
91832
|
-
"name": "--esp-switch-text-font-size"
|
|
91833
|
-
},
|
|
91834
|
-
{
|
|
91835
|
-
"description": "Text color of the active label in text mode. Defaults to `var(--esp-color-action-text)`.",
|
|
91836
|
-
"name": "--esp-switch-text-active-color"
|
|
91837
|
-
},
|
|
91838
|
-
{
|
|
91839
|
-
"description": "Text color of the inactive label in text mode. Defaults to `var(--esp-color-layer-1)`.",
|
|
91840
|
-
"name": "--esp-switch-text-inactive-color"
|
|
91841
|
-
},
|
|
91842
|
-
{
|
|
91843
|
-
"description": "Background color of the sliding highlight in text mode. Defaults to `var(--esp-color-action-background)`.",
|
|
91844
|
-
"name": "--esp-switch-text-highlight-color"
|
|
92206
|
+
"description": "Padding inside the panel area.",
|
|
92207
|
+
"name": "--esp-tab-size-padding"
|
|
91845
92208
|
},
|
|
91846
92209
|
{
|
|
91847
92210
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -91900,131 +92263,42 @@
|
|
|
91900
92263
|
}
|
|
91901
92264
|
}
|
|
91902
92265
|
],
|
|
92266
|
+
"cssParts": [
|
|
92267
|
+
{
|
|
92268
|
+
"description": "The panel wrapper element.",
|
|
92269
|
+
"name": "panel"
|
|
92270
|
+
}
|
|
92271
|
+
],
|
|
91903
92272
|
"slots": [
|
|
91904
92273
|
{
|
|
91905
|
-
"description": "The
|
|
92274
|
+
"description": "The default slot holds the panel content displayed when this tab is active. Label, active-state, and disabled-state updates are reported through a private coordination event consumed by the parent tab group.",
|
|
91906
92275
|
"name": ""
|
|
91907
92276
|
}
|
|
91908
92277
|
],
|
|
91909
92278
|
"members": [
|
|
91910
92279
|
{
|
|
91911
92280
|
"kind": "field",
|
|
91912
|
-
"name": "
|
|
91913
|
-
"type": {
|
|
91914
|
-
"text": "boolean"
|
|
91915
|
-
},
|
|
91916
|
-
"static": true,
|
|
91917
|
-
"default": "true"
|
|
91918
|
-
},
|
|
91919
|
-
{
|
|
91920
|
-
"kind": "field",
|
|
91921
|
-
"name": "internals",
|
|
91922
|
-
"privacy": "private"
|
|
91923
|
-
},
|
|
91924
|
-
{
|
|
91925
|
-
"kind": "field",
|
|
91926
|
-
"name": "formCtrl",
|
|
91927
|
-
"privacy": "private",
|
|
91928
|
-
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => (this.checked ? this.value || \"on\" : null), getValidity: () => { if (this.required && !this.checked) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please toggle this switch to continue.\", }; } return null; }, onReset: () => { this.checked = false; }, onRestore: (state: string) => { this.checked = state === \"on\" || state === this.value; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
91929
|
-
},
|
|
91930
|
-
{
|
|
91931
|
-
"kind": "field",
|
|
91932
|
-
"name": "formItemDescription",
|
|
91933
|
-
"privacy": "private",
|
|
91934
|
-
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
91935
|
-
},
|
|
91936
|
-
{
|
|
91937
|
-
"kind": "field",
|
|
91938
|
-
"name": "mode",
|
|
91939
|
-
"type": {
|
|
91940
|
-
"text": "\"switch\" | \"text\""
|
|
91941
|
-
},
|
|
91942
|
-
"privacy": "public",
|
|
91943
|
-
"default": "\"switch\"",
|
|
91944
|
-
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
91945
|
-
"attribute": "mode",
|
|
91946
|
-
"reflects": true
|
|
91947
|
-
},
|
|
91948
|
-
{
|
|
91949
|
-
"kind": "field",
|
|
91950
|
-
"name": "offLabel",
|
|
91951
|
-
"type": {
|
|
91952
|
-
"text": "string"
|
|
91953
|
-
},
|
|
91954
|
-
"privacy": "public",
|
|
91955
|
-
"default": "\"\"",
|
|
91956
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
91957
|
-
"attribute": "off-label"
|
|
91958
|
-
},
|
|
91959
|
-
{
|
|
91960
|
-
"kind": "field",
|
|
91961
|
-
"name": "onLabel",
|
|
91962
|
-
"type": {
|
|
91963
|
-
"text": "string"
|
|
91964
|
-
},
|
|
91965
|
-
"privacy": "public",
|
|
91966
|
-
"default": "\"\"",
|
|
91967
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
91968
|
-
"attribute": "on-label"
|
|
91969
|
-
},
|
|
91970
|
-
{
|
|
91971
|
-
"kind": "field",
|
|
91972
|
-
"name": "checked",
|
|
91973
|
-
"type": {
|
|
91974
|
-
"text": "boolean"
|
|
91975
|
-
},
|
|
91976
|
-
"privacy": "public",
|
|
91977
|
-
"default": "false",
|
|
91978
|
-
"description": "Whether the switch is in the on state.",
|
|
91979
|
-
"attribute": "checked",
|
|
91980
|
-
"reflects": true
|
|
91981
|
-
},
|
|
91982
|
-
{
|
|
91983
|
-
"kind": "field",
|
|
91984
|
-
"name": "value",
|
|
91985
|
-
"type": {
|
|
91986
|
-
"text": "string"
|
|
91987
|
-
},
|
|
91988
|
-
"privacy": "public",
|
|
91989
|
-
"default": "\"\"",
|
|
91990
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
91991
|
-
"attribute": "value"
|
|
91992
|
-
},
|
|
91993
|
-
{
|
|
91994
|
-
"kind": "field",
|
|
91995
|
-
"name": "name",
|
|
92281
|
+
"name": "label",
|
|
91996
92282
|
"type": {
|
|
91997
92283
|
"text": "string"
|
|
91998
92284
|
},
|
|
91999
92285
|
"privacy": "public",
|
|
92000
92286
|
"default": "\"\"",
|
|
92001
|
-
"description": "The
|
|
92002
|
-
"attribute": "
|
|
92003
|
-
"reflects": true
|
|
92287
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
92288
|
+
"attribute": "label"
|
|
92004
92289
|
},
|
|
92005
92290
|
{
|
|
92006
92291
|
"kind": "field",
|
|
92007
|
-
"name": "
|
|
92292
|
+
"name": "active",
|
|
92008
92293
|
"type": {
|
|
92009
92294
|
"text": "boolean"
|
|
92010
92295
|
},
|
|
92011
92296
|
"privacy": "public",
|
|
92012
92297
|
"default": "false",
|
|
92013
|
-
"description": "
|
|
92014
|
-
"attribute": "
|
|
92298
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
92299
|
+
"attribute": "active",
|
|
92015
92300
|
"reflects": true
|
|
92016
92301
|
},
|
|
92017
|
-
{
|
|
92018
|
-
"kind": "field",
|
|
92019
|
-
"name": "requiredMessage",
|
|
92020
|
-
"type": {
|
|
92021
|
-
"text": "string"
|
|
92022
|
-
},
|
|
92023
|
-
"privacy": "public",
|
|
92024
|
-
"default": "\"\"",
|
|
92025
|
-
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
92026
|
-
"attribute": "required-message"
|
|
92027
|
-
},
|
|
92028
92302
|
{
|
|
92029
92303
|
"kind": "field",
|
|
92030
92304
|
"name": "disabled",
|
|
@@ -92033,156 +92307,10 @@
|
|
|
92033
92307
|
},
|
|
92034
92308
|
"privacy": "public",
|
|
92035
92309
|
"default": "false",
|
|
92036
|
-
"description": "
|
|
92310
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
92037
92311
|
"attribute": "disabled",
|
|
92038
92312
|
"reflects": true
|
|
92039
92313
|
},
|
|
92040
|
-
{
|
|
92041
|
-
"kind": "method",
|
|
92042
|
-
"name": "focus",
|
|
92043
|
-
"privacy": "public",
|
|
92044
|
-
"return": {
|
|
92045
|
-
"type": {
|
|
92046
|
-
"text": "void"
|
|
92047
|
-
}
|
|
92048
|
-
},
|
|
92049
|
-
"parameters": [
|
|
92050
|
-
{
|
|
92051
|
-
"name": "options",
|
|
92052
|
-
"optional": true,
|
|
92053
|
-
"type": {
|
|
92054
|
-
"text": "FocusOptions"
|
|
92055
|
-
}
|
|
92056
|
-
}
|
|
92057
|
-
],
|
|
92058
|
-
"description": "Focus the switch control."
|
|
92059
|
-
},
|
|
92060
|
-
{
|
|
92061
|
-
"kind": "method",
|
|
92062
|
-
"name": "validate",
|
|
92063
|
-
"privacy": "public",
|
|
92064
|
-
"return": {
|
|
92065
|
-
"type": {
|
|
92066
|
-
"text": "void"
|
|
92067
|
-
}
|
|
92068
|
-
},
|
|
92069
|
-
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
92070
|
-
},
|
|
92071
|
-
{
|
|
92072
|
-
"kind": "method",
|
|
92073
|
-
"name": "checkValidity",
|
|
92074
|
-
"privacy": "public",
|
|
92075
|
-
"return": {
|
|
92076
|
-
"type": {
|
|
92077
|
-
"text": "boolean"
|
|
92078
|
-
}
|
|
92079
|
-
},
|
|
92080
|
-
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
92081
|
-
},
|
|
92082
|
-
{
|
|
92083
|
-
"kind": "method",
|
|
92084
|
-
"name": "toggle",
|
|
92085
|
-
"privacy": "private",
|
|
92086
|
-
"return": {
|
|
92087
|
-
"type": {
|
|
92088
|
-
"text": "void"
|
|
92089
|
-
}
|
|
92090
|
-
}
|
|
92091
|
-
},
|
|
92092
|
-
{
|
|
92093
|
-
"kind": "method",
|
|
92094
|
-
"name": "handleKeyDown",
|
|
92095
|
-
"privacy": "private",
|
|
92096
|
-
"return": {
|
|
92097
|
-
"type": {
|
|
92098
|
-
"text": "void"
|
|
92099
|
-
}
|
|
92100
|
-
},
|
|
92101
|
-
"parameters": [
|
|
92102
|
-
{
|
|
92103
|
-
"name": "ev",
|
|
92104
|
-
"type": {
|
|
92105
|
-
"text": "KeyboardEvent"
|
|
92106
|
-
}
|
|
92107
|
-
}
|
|
92108
|
-
]
|
|
92109
|
-
},
|
|
92110
|
-
{
|
|
92111
|
-
"kind": "method",
|
|
92112
|
-
"name": "handleLabelSlotChange",
|
|
92113
|
-
"privacy": "private",
|
|
92114
|
-
"return": {
|
|
92115
|
-
"type": {
|
|
92116
|
-
"text": "void"
|
|
92117
|
-
}
|
|
92118
|
-
}
|
|
92119
|
-
},
|
|
92120
|
-
{
|
|
92121
|
-
"kind": "method",
|
|
92122
|
-
"name": "getCurrentTextModeLabel",
|
|
92123
|
-
"privacy": "private",
|
|
92124
|
-
"return": {
|
|
92125
|
-
"type": {
|
|
92126
|
-
"text": "string"
|
|
92127
|
-
}
|
|
92128
|
-
}
|
|
92129
|
-
},
|
|
92130
|
-
{
|
|
92131
|
-
"kind": "method",
|
|
92132
|
-
"name": "getTextModeAriaLabel",
|
|
92133
|
-
"privacy": "private",
|
|
92134
|
-
"return": {
|
|
92135
|
-
"type": {
|
|
92136
|
-
"text": "string"
|
|
92137
|
-
}
|
|
92138
|
-
}
|
|
92139
|
-
},
|
|
92140
|
-
{
|
|
92141
|
-
"kind": "method",
|
|
92142
|
-
"name": "formResetCallback",
|
|
92143
|
-
"return": {
|
|
92144
|
-
"type": {
|
|
92145
|
-
"text": "void"
|
|
92146
|
-
}
|
|
92147
|
-
},
|
|
92148
|
-
"description": "Called by the browser when the owning `<form>` is reset."
|
|
92149
|
-
},
|
|
92150
|
-
{
|
|
92151
|
-
"kind": "method",
|
|
92152
|
-
"name": "formStateRestoreCallback",
|
|
92153
|
-
"return": {
|
|
92154
|
-
"type": {
|
|
92155
|
-
"text": "void"
|
|
92156
|
-
}
|
|
92157
|
-
},
|
|
92158
|
-
"parameters": [
|
|
92159
|
-
{
|
|
92160
|
-
"name": "state",
|
|
92161
|
-
"type": {
|
|
92162
|
-
"text": "string"
|
|
92163
|
-
}
|
|
92164
|
-
}
|
|
92165
|
-
],
|
|
92166
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
92167
|
-
},
|
|
92168
|
-
{
|
|
92169
|
-
"kind": "method",
|
|
92170
|
-
"name": "formDisabledCallback",
|
|
92171
|
-
"return": {
|
|
92172
|
-
"type": {
|
|
92173
|
-
"text": "void"
|
|
92174
|
-
}
|
|
92175
|
-
},
|
|
92176
|
-
"parameters": [
|
|
92177
|
-
{
|
|
92178
|
-
"name": "isDisabled",
|
|
92179
|
-
"type": {
|
|
92180
|
-
"text": "boolean"
|
|
92181
|
-
}
|
|
92182
|
-
}
|
|
92183
|
-
],
|
|
92184
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
92185
|
-
},
|
|
92186
92314
|
{
|
|
92187
92315
|
"kind": "field",
|
|
92188
92316
|
"name": "seedColorBacker",
|
|
@@ -92908,94 +93036,25 @@
|
|
|
92908
93036
|
}
|
|
92909
93037
|
}
|
|
92910
93038
|
],
|
|
92911
|
-
"events": [
|
|
92912
|
-
{
|
|
92913
|
-
"type": {
|
|
92914
|
-
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
92915
|
-
},
|
|
92916
|
-
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
92917
|
-
"name": "esp-value-changed"
|
|
92918
|
-
},
|
|
92919
|
-
{
|
|
92920
|
-
"type": {
|
|
92921
|
-
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
92922
|
-
},
|
|
92923
|
-
"description": "Fired whenever constraint validation runs.",
|
|
92924
|
-
"name": "esp-validity-changed"
|
|
92925
|
-
}
|
|
92926
|
-
],
|
|
93039
|
+
"events": [],
|
|
92927
93040
|
"attributes": [
|
|
92928
93041
|
{
|
|
92929
|
-
"name": "
|
|
92930
|
-
"type": {
|
|
92931
|
-
"text": "\"switch\" | \"text\""
|
|
92932
|
-
},
|
|
92933
|
-
"default": "\"switch\"",
|
|
92934
|
-
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
92935
|
-
"fieldName": "mode"
|
|
92936
|
-
},
|
|
92937
|
-
{
|
|
92938
|
-
"name": "off-label",
|
|
92939
|
-
"type": {
|
|
92940
|
-
"text": "string"
|
|
92941
|
-
},
|
|
92942
|
-
"default": "\"\"",
|
|
92943
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
92944
|
-
"fieldName": "offLabel"
|
|
92945
|
-
},
|
|
92946
|
-
{
|
|
92947
|
-
"name": "on-label",
|
|
92948
|
-
"type": {
|
|
92949
|
-
"text": "string"
|
|
92950
|
-
},
|
|
92951
|
-
"default": "\"\"",
|
|
92952
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
92953
|
-
"fieldName": "onLabel"
|
|
92954
|
-
},
|
|
92955
|
-
{
|
|
92956
|
-
"name": "checked",
|
|
92957
|
-
"type": {
|
|
92958
|
-
"text": "boolean"
|
|
92959
|
-
},
|
|
92960
|
-
"default": "false",
|
|
92961
|
-
"description": "Whether the switch is in the on state.",
|
|
92962
|
-
"fieldName": "checked"
|
|
92963
|
-
},
|
|
92964
|
-
{
|
|
92965
|
-
"name": "value",
|
|
92966
|
-
"type": {
|
|
92967
|
-
"text": "string"
|
|
92968
|
-
},
|
|
92969
|
-
"default": "\"\"",
|
|
92970
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
92971
|
-
"fieldName": "value"
|
|
92972
|
-
},
|
|
92973
|
-
{
|
|
92974
|
-
"name": "name",
|
|
93042
|
+
"name": "label",
|
|
92975
93043
|
"type": {
|
|
92976
93044
|
"text": "string"
|
|
92977
93045
|
},
|
|
92978
93046
|
"default": "\"\"",
|
|
92979
|
-
"description": "The
|
|
92980
|
-
"fieldName": "
|
|
93047
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
93048
|
+
"fieldName": "label"
|
|
92981
93049
|
},
|
|
92982
93050
|
{
|
|
92983
|
-
"name": "
|
|
93051
|
+
"name": "active",
|
|
92984
93052
|
"type": {
|
|
92985
93053
|
"text": "boolean"
|
|
92986
93054
|
},
|
|
92987
93055
|
"default": "false",
|
|
92988
|
-
"description": "
|
|
92989
|
-
"fieldName": "
|
|
92990
|
-
},
|
|
92991
|
-
{
|
|
92992
|
-
"name": "required-message",
|
|
92993
|
-
"type": {
|
|
92994
|
-
"text": "string"
|
|
92995
|
-
},
|
|
92996
|
-
"default": "\"\"",
|
|
92997
|
-
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
92998
|
-
"fieldName": "requiredMessage"
|
|
93056
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
93057
|
+
"fieldName": "active"
|
|
92999
93058
|
},
|
|
93000
93059
|
{
|
|
93001
93060
|
"name": "disabled",
|
|
@@ -93003,7 +93062,7 @@
|
|
|
93003
93062
|
"text": "boolean"
|
|
93004
93063
|
},
|
|
93005
93064
|
"default": "false",
|
|
93006
|
-
"description": "
|
|
93065
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
93007
93066
|
"fieldName": "disabled"
|
|
93008
93067
|
},
|
|
93009
93068
|
{
|
|
@@ -93059,45 +93118,37 @@
|
|
|
93059
93118
|
"name": "EspalierElementBase",
|
|
93060
93119
|
"module": "dist/shared/esp-element-base.js"
|
|
93061
93120
|
},
|
|
93121
|
+
"tagName": "esp-tab",
|
|
93122
|
+
"customElement": true,
|
|
93062
93123
|
"docPageTitle": {
|
|
93063
|
-
"name": "
|
|
93124
|
+
"name": "Tab",
|
|
93064
93125
|
"description": ""
|
|
93065
93126
|
},
|
|
93066
93127
|
"docUrl": {
|
|
93067
|
-
"name": "/components/
|
|
93128
|
+
"name": "/components/tabs/tab",
|
|
93068
93129
|
"description": ""
|
|
93069
93130
|
},
|
|
93070
93131
|
"menuGroup": {
|
|
93071
|
-
"name": "
|
|
93072
|
-
"description": "Controls"
|
|
93073
|
-
},
|
|
93074
|
-
"menuLabel": {
|
|
93075
|
-
"name": "Switch",
|
|
93076
|
-
"description": ""
|
|
93077
|
-
},
|
|
93078
|
-
"menuIcon": {
|
|
93079
|
-
"name": "button",
|
|
93132
|
+
"name": "Navigation",
|
|
93080
93133
|
"description": ""
|
|
93081
|
-
}
|
|
93082
|
-
"tagName": "esp-switch",
|
|
93083
|
-
"customElement": true
|
|
93134
|
+
}
|
|
93084
93135
|
}
|
|
93085
93136
|
],
|
|
93086
93137
|
"exports": [
|
|
93087
93138
|
{
|
|
93088
93139
|
"kind": "js",
|
|
93089
|
-
"name": "
|
|
93140
|
+
"name": "EspalierTab",
|
|
93090
93141
|
"declaration": {
|
|
93091
|
-
"name": "
|
|
93092
|
-
"module": "dist/
|
|
93142
|
+
"name": "EspalierTab",
|
|
93143
|
+
"module": "dist/tabs/esp-tab.js"
|
|
93093
93144
|
}
|
|
93094
93145
|
},
|
|
93095
93146
|
{
|
|
93096
93147
|
"kind": "custom-element-definition",
|
|
93097
|
-
"name": "esp-
|
|
93148
|
+
"name": "esp-tab",
|
|
93098
93149
|
"declaration": {
|
|
93099
|
-
"name": "
|
|
93100
|
-
"module": "dist/
|
|
93150
|
+
"name": "EspalierTab",
|
|
93151
|
+
"module": "dist/tabs/esp-tab.js"
|
|
93101
93152
|
}
|
|
93102
93153
|
}
|
|
93103
93154
|
]
|
|
@@ -102916,341 +102967,6 @@
|
|
|
102916
102967
|
}
|
|
102917
102968
|
]
|
|
102918
102969
|
},
|
|
102919
|
-
{
|
|
102920
|
-
"kind": "javascript-module",
|
|
102921
|
-
"path": "dist/root/helpers/compute-semantic-properties.js",
|
|
102922
|
-
"declarations": [
|
|
102923
|
-
{
|
|
102924
|
-
"kind": "function",
|
|
102925
|
-
"name": "computeSemanticProperties",
|
|
102926
|
-
"return": {
|
|
102927
|
-
"type": {
|
|
102928
|
-
"text": "Record<string, string>"
|
|
102929
|
-
}
|
|
102930
|
-
},
|
|
102931
|
-
"parameters": [
|
|
102932
|
-
{
|
|
102933
|
-
"name": "theme",
|
|
102934
|
-
"type": {
|
|
102935
|
-
"text": "EspalierTheme"
|
|
102936
|
-
}
|
|
102937
|
-
},
|
|
102938
|
-
{
|
|
102939
|
-
"name": "variants",
|
|
102940
|
-
"type": {
|
|
102941
|
-
"text": "Record<ColorSource, OklchColor>"
|
|
102942
|
-
}
|
|
102943
|
-
},
|
|
102944
|
-
{
|
|
102945
|
-
"name": "options",
|
|
102946
|
-
"default": "{}",
|
|
102947
|
-
"type": {
|
|
102948
|
-
"text": "ComputeSemanticPropertiesOptions"
|
|
102949
|
-
}
|
|
102950
|
-
}
|
|
102951
|
-
],
|
|
102952
|
-
"description": "Derive the complete twenty-three-token semantic table for a resolved theme.\n\nRoot output, context scopes, and intent overlays all use\nthis function so their APCA pairings cannot drift apart."
|
|
102953
|
-
}
|
|
102954
|
-
],
|
|
102955
|
-
"exports": [
|
|
102956
|
-
{
|
|
102957
|
-
"kind": "js",
|
|
102958
|
-
"name": "computeSemanticProperties",
|
|
102959
|
-
"declaration": {
|
|
102960
|
-
"name": "computeSemanticProperties",
|
|
102961
|
-
"module": "dist/root/helpers/compute-semantic-properties.js"
|
|
102962
|
-
}
|
|
102963
|
-
}
|
|
102964
|
-
]
|
|
102965
|
-
},
|
|
102966
|
-
{
|
|
102967
|
-
"kind": "javascript-module",
|
|
102968
|
-
"path": "dist/root/helpers/compute-theme-properties.js",
|
|
102969
|
-
"declarations": [
|
|
102970
|
-
{
|
|
102971
|
-
"kind": "function",
|
|
102972
|
-
"name": "dataSeriesProperties",
|
|
102973
|
-
"return": {
|
|
102974
|
-
"type": {
|
|
102975
|
-
"text": "Record<string, string>"
|
|
102976
|
-
}
|
|
102977
|
-
},
|
|
102978
|
-
"parameters": [
|
|
102979
|
-
{
|
|
102980
|
-
"name": "theme",
|
|
102981
|
-
"type": {
|
|
102982
|
-
"text": "EspalierTheme"
|
|
102983
|
-
}
|
|
102984
|
-
},
|
|
102985
|
-
{
|
|
102986
|
-
"name": "seed",
|
|
102987
|
-
"type": {
|
|
102988
|
-
"text": "OklchColor"
|
|
102989
|
-
}
|
|
102990
|
-
},
|
|
102991
|
-
{
|
|
102992
|
-
"name": "resolve",
|
|
102993
|
-
"type": {
|
|
102994
|
-
"text": "(source: unknown, label: string) => string"
|
|
102995
|
-
}
|
|
102996
|
-
},
|
|
102997
|
-
{
|
|
102998
|
-
"description": "Optional sink for the theme fit report (ESP0163). When\nsupplied, each semantic derivation is appended as it is emitted —\nthe emitted value read back out of the property record, and the\npre-enforcement value taken from the derivation itself — so a report\ndescribes this run rather than re-deriving it. When omitted the\npipeline does no reporting work at all.",
|
|
102999
|
-
"name": "trace"
|
|
103000
|
-
}
|
|
103001
|
-
],
|
|
103002
|
-
"description": "Emit the categorical series identities from a theme's data palette.\n\nShared between the root emission and the zone-table path (the zone\ncompanions need the identities without re-emitting them), so the two\ncan never resolve a palette differently."
|
|
103003
|
-
},
|
|
103004
|
-
{
|
|
103005
|
-
"kind": "function",
|
|
103006
|
-
"name": "computeThemeProperties",
|
|
103007
|
-
"return": {
|
|
103008
|
-
"type": {
|
|
103009
|
-
"text": "Record<string, string>"
|
|
103010
|
-
}
|
|
103011
|
-
},
|
|
103012
|
-
"parameters": [
|
|
103013
|
-
{
|
|
103014
|
-
"name": "theme",
|
|
103015
|
-
"type": {
|
|
103016
|
-
"text": "EspalierTheme"
|
|
103017
|
-
}
|
|
103018
|
-
},
|
|
103019
|
-
{
|
|
103020
|
-
"name": "scheme",
|
|
103021
|
-
"type": {
|
|
103022
|
-
"text": "\"light\" | \"dark\""
|
|
103023
|
-
}
|
|
103024
|
-
},
|
|
103025
|
-
{
|
|
103026
|
-
"name": "trace",
|
|
103027
|
-
"optional": true,
|
|
103028
|
-
"type": {
|
|
103029
|
-
"text": "ThemeFitTraceEntry[]"
|
|
103030
|
-
}
|
|
103031
|
-
}
|
|
103032
|
-
]
|
|
103033
|
-
}
|
|
103034
|
-
],
|
|
103035
|
-
"exports": [
|
|
103036
|
-
{
|
|
103037
|
-
"kind": "js",
|
|
103038
|
-
"name": "dataSeriesProperties",
|
|
103039
|
-
"declaration": {
|
|
103040
|
-
"name": "dataSeriesProperties",
|
|
103041
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103042
|
-
}
|
|
103043
|
-
},
|
|
103044
|
-
{
|
|
103045
|
-
"kind": "js",
|
|
103046
|
-
"name": "computeThemeProperties",
|
|
103047
|
-
"declaration": {
|
|
103048
|
-
"name": "computeThemeProperties",
|
|
103049
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103050
|
-
}
|
|
103051
|
-
}
|
|
103052
|
-
]
|
|
103053
|
-
},
|
|
103054
|
-
{
|
|
103055
|
-
"kind": "javascript-module",
|
|
103056
|
-
"path": "dist/root/helpers/compute-variants.js",
|
|
103057
|
-
"declarations": [],
|
|
103058
|
-
"exports": [
|
|
103059
|
-
{
|
|
103060
|
-
"kind": "js",
|
|
103061
|
-
"name": "computeVariants",
|
|
103062
|
-
"declaration": {
|
|
103063
|
-
"name": "computeVariants",
|
|
103064
|
-
"module": "../../shared/variant-engine.js"
|
|
103065
|
-
}
|
|
103066
|
-
},
|
|
103067
|
-
{
|
|
103068
|
-
"kind": "js",
|
|
103069
|
-
"name": "resolveMappingSource",
|
|
103070
|
-
"declaration": {
|
|
103071
|
-
"name": "resolveMappingSource",
|
|
103072
|
-
"module": "../../shared/variant-engine.js"
|
|
103073
|
-
}
|
|
103074
|
-
}
|
|
103075
|
-
]
|
|
103076
|
-
},
|
|
103077
|
-
{
|
|
103078
|
-
"kind": "javascript-module",
|
|
103079
|
-
"path": "dist/root/helpers/data-companion-properties.js",
|
|
103080
|
-
"declarations": [
|
|
103081
|
-
{
|
|
103082
|
-
"kind": "variable",
|
|
103083
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103084
|
-
"type": {
|
|
103085
|
-
"text": "number"
|
|
103086
|
-
},
|
|
103087
|
-
"default": "0.75",
|
|
103088
|
-
"description": "The series' share of the wash mix — the documented fill recipe."
|
|
103089
|
-
},
|
|
103090
|
-
{
|
|
103091
|
-
"kind": "variable",
|
|
103092
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103093
|
-
"type": {
|
|
103094
|
-
"text": "number"
|
|
103095
|
-
},
|
|
103096
|
-
"default": "0.12",
|
|
103097
|
-
"description": "The series' share of the subtle tint mix behind ordinary copy."
|
|
103098
|
-
},
|
|
103099
|
-
{
|
|
103100
|
-
"kind": "function",
|
|
103101
|
-
"name": "dataCompanionProperties",
|
|
103102
|
-
"return": {
|
|
103103
|
-
"type": {
|
|
103104
|
-
"text": "Record<string, string>"
|
|
103105
|
-
}
|
|
103106
|
-
},
|
|
103107
|
-
"parameters": [
|
|
103108
|
-
{
|
|
103109
|
-
"name": "properties",
|
|
103110
|
-
"type": {
|
|
103111
|
-
"text": "Record<string, string>"
|
|
103112
|
-
}
|
|
103113
|
-
},
|
|
103114
|
-
{
|
|
103115
|
-
"name": "inheritedSeries",
|
|
103116
|
-
"optional": true,
|
|
103117
|
-
"type": {
|
|
103118
|
-
"text": "Record<string, string>"
|
|
103119
|
-
}
|
|
103120
|
-
}
|
|
103121
|
-
],
|
|
103122
|
-
"description": "Compute the wash, tint, and ink companions for every series token\npresent in an emitted property table, against that table's own background.\n\nReads the *emitted* strings — the same read-back principle as the fit\nreport — so a companion can never disagree with the identity token or\nthe background it composes with. Zone tables pass their own table and\nget zone-correct companions; tables without series tokens (a zone\ntable, which inherits the root's identities) take them from\n`inheritedSeries`, the root-emitted table."
|
|
103123
|
-
}
|
|
103124
|
-
],
|
|
103125
|
-
"exports": [
|
|
103126
|
-
{
|
|
103127
|
-
"kind": "js",
|
|
103128
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103129
|
-
"declaration": {
|
|
103130
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103131
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103132
|
-
}
|
|
103133
|
-
},
|
|
103134
|
-
{
|
|
103135
|
-
"kind": "js",
|
|
103136
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103137
|
-
"declaration": {
|
|
103138
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103139
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103140
|
-
}
|
|
103141
|
-
},
|
|
103142
|
-
{
|
|
103143
|
-
"kind": "js",
|
|
103144
|
-
"name": "dataCompanionProperties",
|
|
103145
|
-
"declaration": {
|
|
103146
|
-
"name": "dataCompanionProperties",
|
|
103147
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103148
|
-
}
|
|
103149
|
-
}
|
|
103150
|
-
]
|
|
103151
|
-
},
|
|
103152
|
-
{
|
|
103153
|
-
"kind": "javascript-module",
|
|
103154
|
-
"path": "dist/root/helpers/lightness-key-to-css.js",
|
|
103155
|
-
"declarations": [
|
|
103156
|
-
{
|
|
103157
|
-
"kind": "function",
|
|
103158
|
-
"name": "lightnessKeyToCSS",
|
|
103159
|
-
"return": {
|
|
103160
|
-
"type": {
|
|
103161
|
-
"text": "string"
|
|
103162
|
-
}
|
|
103163
|
-
},
|
|
103164
|
-
"parameters": [
|
|
103165
|
-
{
|
|
103166
|
-
"name": "key",
|
|
103167
|
-
"type": {
|
|
103168
|
-
"text": "string"
|
|
103169
|
-
}
|
|
103170
|
-
}
|
|
103171
|
-
],
|
|
103172
|
-
"description": "Map a camelCase import(\"../../shared/theme.js\").LightnessKey\nto its CSS custom-property name.\n\n```\nraised1 → --esp-l-raised-1\nsurface → --esp-l-surface\n```"
|
|
103173
|
-
}
|
|
103174
|
-
],
|
|
103175
|
-
"exports": [
|
|
103176
|
-
{
|
|
103177
|
-
"kind": "js",
|
|
103178
|
-
"name": "lightnessKeyToCSS",
|
|
103179
|
-
"declaration": {
|
|
103180
|
-
"name": "lightnessKeyToCSS",
|
|
103181
|
-
"module": "dist/root/helpers/lightness-key-to-css.js"
|
|
103182
|
-
}
|
|
103183
|
-
}
|
|
103184
|
-
]
|
|
103185
|
-
},
|
|
103186
|
-
{
|
|
103187
|
-
"kind": "javascript-module",
|
|
103188
|
-
"path": "dist/root/helpers/lightness-ramp-properties.js",
|
|
103189
|
-
"declarations": [
|
|
103190
|
-
{
|
|
103191
|
-
"kind": "function",
|
|
103192
|
-
"name": "lightnessRampProperties",
|
|
103193
|
-
"return": {
|
|
103194
|
-
"type": {
|
|
103195
|
-
"text": "Record<string, string>"
|
|
103196
|
-
}
|
|
103197
|
-
},
|
|
103198
|
-
"parameters": [
|
|
103199
|
-
{
|
|
103200
|
-
"name": "theme",
|
|
103201
|
-
"type": {
|
|
103202
|
-
"text": "EspalierTheme"
|
|
103203
|
-
}
|
|
103204
|
-
}
|
|
103205
|
-
],
|
|
103206
|
-
"description": "The `--esp-l-*` ramp custom properties for a theme, in the percentage\nformat consumers expect inside relative color syntax — for example\n`oklch(from var(--esp-color-danger) var(--esp-l-raised-2) c h)`.\n\nEmitted by `<esp-root>` for the page and re-emitted by context zones\nfrom their merged theme, so ramp-derived styling — the `.intent-*`\nsurface classes, component chrome — re-derives against the zone's\nactual ramp instead of the root's. Without the zone emission a dark\nzone's class-styled chrome mixes provenance: a surface placed by the\nroot's light ramp under ink drawn from the zone's dark-surface table."
|
|
103207
|
-
}
|
|
103208
|
-
],
|
|
103209
|
-
"exports": [
|
|
103210
|
-
{
|
|
103211
|
-
"kind": "js",
|
|
103212
|
-
"name": "lightnessRampProperties",
|
|
103213
|
-
"declaration": {
|
|
103214
|
-
"name": "lightnessRampProperties",
|
|
103215
|
-
"module": "dist/root/helpers/lightness-ramp-properties.js"
|
|
103216
|
-
}
|
|
103217
|
-
}
|
|
103218
|
-
]
|
|
103219
|
-
},
|
|
103220
|
-
{
|
|
103221
|
-
"kind": "javascript-module",
|
|
103222
|
-
"path": "dist/root/helpers/surface-polarity-property.js",
|
|
103223
|
-
"declarations": [
|
|
103224
|
-
{
|
|
103225
|
-
"kind": "function",
|
|
103226
|
-
"name": "surfacePolarityProperty",
|
|
103227
|
-
"return": {
|
|
103228
|
-
"type": {
|
|
103229
|
-
"text": "Record<string, string>"
|
|
103230
|
-
}
|
|
103231
|
-
},
|
|
103232
|
-
"parameters": [
|
|
103233
|
-
{
|
|
103234
|
-
"name": "semantic",
|
|
103235
|
-
"type": {
|
|
103236
|
-
"text": "Readonly<Record<string, string>>"
|
|
103237
|
-
}
|
|
103238
|
-
}
|
|
103239
|
-
],
|
|
103240
|
-
"description": "The private `--_esp-surface-polarity` number for a semantic table: `1`\nwhere the zone's text is darker than its background (a light zone), `0`\nwhere it is lighter.\n\nEmitted by `<esp-root>` and re-emitted by context zones beside their\nsemantic table. Component chrome that nudges a fill on hover or focus\nreads it to move away from the zone's ink. The root scheme cannot decide\nthis, because an inverted context flips polarity inside one scheme. It is\na bare number so relative colors can use it in channel arithmetic, which\nthe percentage `--esp-l-*` ramp cannot join."
|
|
103241
|
-
}
|
|
103242
|
-
],
|
|
103243
|
-
"exports": [
|
|
103244
|
-
{
|
|
103245
|
-
"kind": "js",
|
|
103246
|
-
"name": "surfacePolarityProperty",
|
|
103247
|
-
"declaration": {
|
|
103248
|
-
"name": "surfacePolarityProperty",
|
|
103249
|
-
"module": "dist/root/helpers/surface-polarity-property.js"
|
|
103250
|
-
}
|
|
103251
|
-
}
|
|
103252
|
-
]
|
|
103253
|
-
},
|
|
103254
102970
|
{
|
|
103255
102971
|
"kind": "javascript-module",
|
|
103256
102972
|
"path": "dist/date-picker/helpers/calendar-grid.js",
|
|
@@ -103896,6 +103612,341 @@
|
|
|
103896
103612
|
"declarations": [],
|
|
103897
103613
|
"exports": []
|
|
103898
103614
|
},
|
|
103615
|
+
{
|
|
103616
|
+
"kind": "javascript-module",
|
|
103617
|
+
"path": "dist/root/helpers/compute-semantic-properties.js",
|
|
103618
|
+
"declarations": [
|
|
103619
|
+
{
|
|
103620
|
+
"kind": "function",
|
|
103621
|
+
"name": "computeSemanticProperties",
|
|
103622
|
+
"return": {
|
|
103623
|
+
"type": {
|
|
103624
|
+
"text": "Record<string, string>"
|
|
103625
|
+
}
|
|
103626
|
+
},
|
|
103627
|
+
"parameters": [
|
|
103628
|
+
{
|
|
103629
|
+
"name": "theme",
|
|
103630
|
+
"type": {
|
|
103631
|
+
"text": "EspalierTheme"
|
|
103632
|
+
}
|
|
103633
|
+
},
|
|
103634
|
+
{
|
|
103635
|
+
"name": "variants",
|
|
103636
|
+
"type": {
|
|
103637
|
+
"text": "Record<ColorSource, OklchColor>"
|
|
103638
|
+
}
|
|
103639
|
+
},
|
|
103640
|
+
{
|
|
103641
|
+
"name": "options",
|
|
103642
|
+
"default": "{}",
|
|
103643
|
+
"type": {
|
|
103644
|
+
"text": "ComputeSemanticPropertiesOptions"
|
|
103645
|
+
}
|
|
103646
|
+
}
|
|
103647
|
+
],
|
|
103648
|
+
"description": "Derive the complete twenty-three-token semantic table for a resolved theme.\n\nRoot output, context scopes, and intent overlays all use\nthis function so their APCA pairings cannot drift apart."
|
|
103649
|
+
}
|
|
103650
|
+
],
|
|
103651
|
+
"exports": [
|
|
103652
|
+
{
|
|
103653
|
+
"kind": "js",
|
|
103654
|
+
"name": "computeSemanticProperties",
|
|
103655
|
+
"declaration": {
|
|
103656
|
+
"name": "computeSemanticProperties",
|
|
103657
|
+
"module": "dist/root/helpers/compute-semantic-properties.js"
|
|
103658
|
+
}
|
|
103659
|
+
}
|
|
103660
|
+
]
|
|
103661
|
+
},
|
|
103662
|
+
{
|
|
103663
|
+
"kind": "javascript-module",
|
|
103664
|
+
"path": "dist/root/helpers/compute-theme-properties.js",
|
|
103665
|
+
"declarations": [
|
|
103666
|
+
{
|
|
103667
|
+
"kind": "function",
|
|
103668
|
+
"name": "dataSeriesProperties",
|
|
103669
|
+
"return": {
|
|
103670
|
+
"type": {
|
|
103671
|
+
"text": "Record<string, string>"
|
|
103672
|
+
}
|
|
103673
|
+
},
|
|
103674
|
+
"parameters": [
|
|
103675
|
+
{
|
|
103676
|
+
"name": "theme",
|
|
103677
|
+
"type": {
|
|
103678
|
+
"text": "EspalierTheme"
|
|
103679
|
+
}
|
|
103680
|
+
},
|
|
103681
|
+
{
|
|
103682
|
+
"name": "seed",
|
|
103683
|
+
"type": {
|
|
103684
|
+
"text": "OklchColor"
|
|
103685
|
+
}
|
|
103686
|
+
},
|
|
103687
|
+
{
|
|
103688
|
+
"name": "resolve",
|
|
103689
|
+
"type": {
|
|
103690
|
+
"text": "(source: unknown, label: string) => string"
|
|
103691
|
+
}
|
|
103692
|
+
},
|
|
103693
|
+
{
|
|
103694
|
+
"description": "Optional sink for the theme fit report (ESP0163). When\nsupplied, each semantic derivation is appended as it is emitted —\nthe emitted value read back out of the property record, and the\npre-enforcement value taken from the derivation itself — so a report\ndescribes this run rather than re-deriving it. When omitted the\npipeline does no reporting work at all.",
|
|
103695
|
+
"name": "trace"
|
|
103696
|
+
}
|
|
103697
|
+
],
|
|
103698
|
+
"description": "Emit the categorical series identities from a theme's data palette.\n\nShared between the root emission and the zone-table path (the zone\ncompanions need the identities without re-emitting them), so the two\ncan never resolve a palette differently."
|
|
103699
|
+
},
|
|
103700
|
+
{
|
|
103701
|
+
"kind": "function",
|
|
103702
|
+
"name": "computeThemeProperties",
|
|
103703
|
+
"return": {
|
|
103704
|
+
"type": {
|
|
103705
|
+
"text": "Record<string, string>"
|
|
103706
|
+
}
|
|
103707
|
+
},
|
|
103708
|
+
"parameters": [
|
|
103709
|
+
{
|
|
103710
|
+
"name": "theme",
|
|
103711
|
+
"type": {
|
|
103712
|
+
"text": "EspalierTheme"
|
|
103713
|
+
}
|
|
103714
|
+
},
|
|
103715
|
+
{
|
|
103716
|
+
"name": "scheme",
|
|
103717
|
+
"type": {
|
|
103718
|
+
"text": "\"light\" | \"dark\""
|
|
103719
|
+
}
|
|
103720
|
+
},
|
|
103721
|
+
{
|
|
103722
|
+
"name": "trace",
|
|
103723
|
+
"optional": true,
|
|
103724
|
+
"type": {
|
|
103725
|
+
"text": "ThemeFitTraceEntry[]"
|
|
103726
|
+
}
|
|
103727
|
+
}
|
|
103728
|
+
]
|
|
103729
|
+
}
|
|
103730
|
+
],
|
|
103731
|
+
"exports": [
|
|
103732
|
+
{
|
|
103733
|
+
"kind": "js",
|
|
103734
|
+
"name": "dataSeriesProperties",
|
|
103735
|
+
"declaration": {
|
|
103736
|
+
"name": "dataSeriesProperties",
|
|
103737
|
+
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103738
|
+
}
|
|
103739
|
+
},
|
|
103740
|
+
{
|
|
103741
|
+
"kind": "js",
|
|
103742
|
+
"name": "computeThemeProperties",
|
|
103743
|
+
"declaration": {
|
|
103744
|
+
"name": "computeThemeProperties",
|
|
103745
|
+
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103746
|
+
}
|
|
103747
|
+
}
|
|
103748
|
+
]
|
|
103749
|
+
},
|
|
103750
|
+
{
|
|
103751
|
+
"kind": "javascript-module",
|
|
103752
|
+
"path": "dist/root/helpers/compute-variants.js",
|
|
103753
|
+
"declarations": [],
|
|
103754
|
+
"exports": [
|
|
103755
|
+
{
|
|
103756
|
+
"kind": "js",
|
|
103757
|
+
"name": "computeVariants",
|
|
103758
|
+
"declaration": {
|
|
103759
|
+
"name": "computeVariants",
|
|
103760
|
+
"module": "../../shared/variant-engine.js"
|
|
103761
|
+
}
|
|
103762
|
+
},
|
|
103763
|
+
{
|
|
103764
|
+
"kind": "js",
|
|
103765
|
+
"name": "resolveMappingSource",
|
|
103766
|
+
"declaration": {
|
|
103767
|
+
"name": "resolveMappingSource",
|
|
103768
|
+
"module": "../../shared/variant-engine.js"
|
|
103769
|
+
}
|
|
103770
|
+
}
|
|
103771
|
+
]
|
|
103772
|
+
},
|
|
103773
|
+
{
|
|
103774
|
+
"kind": "javascript-module",
|
|
103775
|
+
"path": "dist/root/helpers/data-companion-properties.js",
|
|
103776
|
+
"declarations": [
|
|
103777
|
+
{
|
|
103778
|
+
"kind": "variable",
|
|
103779
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103780
|
+
"type": {
|
|
103781
|
+
"text": "number"
|
|
103782
|
+
},
|
|
103783
|
+
"default": "0.75",
|
|
103784
|
+
"description": "The series' share of the wash mix — the documented fill recipe."
|
|
103785
|
+
},
|
|
103786
|
+
{
|
|
103787
|
+
"kind": "variable",
|
|
103788
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103789
|
+
"type": {
|
|
103790
|
+
"text": "number"
|
|
103791
|
+
},
|
|
103792
|
+
"default": "0.12",
|
|
103793
|
+
"description": "The series' share of the subtle tint mix behind ordinary copy."
|
|
103794
|
+
},
|
|
103795
|
+
{
|
|
103796
|
+
"kind": "function",
|
|
103797
|
+
"name": "dataCompanionProperties",
|
|
103798
|
+
"return": {
|
|
103799
|
+
"type": {
|
|
103800
|
+
"text": "Record<string, string>"
|
|
103801
|
+
}
|
|
103802
|
+
},
|
|
103803
|
+
"parameters": [
|
|
103804
|
+
{
|
|
103805
|
+
"name": "properties",
|
|
103806
|
+
"type": {
|
|
103807
|
+
"text": "Record<string, string>"
|
|
103808
|
+
}
|
|
103809
|
+
},
|
|
103810
|
+
{
|
|
103811
|
+
"name": "inheritedSeries",
|
|
103812
|
+
"optional": true,
|
|
103813
|
+
"type": {
|
|
103814
|
+
"text": "Record<string, string>"
|
|
103815
|
+
}
|
|
103816
|
+
}
|
|
103817
|
+
],
|
|
103818
|
+
"description": "Compute the wash, tint, and ink companions for every series token\npresent in an emitted property table, against that table's own background.\n\nReads the *emitted* strings — the same read-back principle as the fit\nreport — so a companion can never disagree with the identity token or\nthe background it composes with. Zone tables pass their own table and\nget zone-correct companions; tables without series tokens (a zone\ntable, which inherits the root's identities) take them from\n`inheritedSeries`, the root-emitted table."
|
|
103819
|
+
}
|
|
103820
|
+
],
|
|
103821
|
+
"exports": [
|
|
103822
|
+
{
|
|
103823
|
+
"kind": "js",
|
|
103824
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103825
|
+
"declaration": {
|
|
103826
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103827
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103828
|
+
}
|
|
103829
|
+
},
|
|
103830
|
+
{
|
|
103831
|
+
"kind": "js",
|
|
103832
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103833
|
+
"declaration": {
|
|
103834
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103835
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103836
|
+
}
|
|
103837
|
+
},
|
|
103838
|
+
{
|
|
103839
|
+
"kind": "js",
|
|
103840
|
+
"name": "dataCompanionProperties",
|
|
103841
|
+
"declaration": {
|
|
103842
|
+
"name": "dataCompanionProperties",
|
|
103843
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103844
|
+
}
|
|
103845
|
+
}
|
|
103846
|
+
]
|
|
103847
|
+
},
|
|
103848
|
+
{
|
|
103849
|
+
"kind": "javascript-module",
|
|
103850
|
+
"path": "dist/root/helpers/lightness-key-to-css.js",
|
|
103851
|
+
"declarations": [
|
|
103852
|
+
{
|
|
103853
|
+
"kind": "function",
|
|
103854
|
+
"name": "lightnessKeyToCSS",
|
|
103855
|
+
"return": {
|
|
103856
|
+
"type": {
|
|
103857
|
+
"text": "string"
|
|
103858
|
+
}
|
|
103859
|
+
},
|
|
103860
|
+
"parameters": [
|
|
103861
|
+
{
|
|
103862
|
+
"name": "key",
|
|
103863
|
+
"type": {
|
|
103864
|
+
"text": "string"
|
|
103865
|
+
}
|
|
103866
|
+
}
|
|
103867
|
+
],
|
|
103868
|
+
"description": "Map a camelCase import(\"../../shared/theme.js\").LightnessKey\nto its CSS custom-property name.\n\n```\nraised1 → --esp-l-raised-1\nsurface → --esp-l-surface\n```"
|
|
103869
|
+
}
|
|
103870
|
+
],
|
|
103871
|
+
"exports": [
|
|
103872
|
+
{
|
|
103873
|
+
"kind": "js",
|
|
103874
|
+
"name": "lightnessKeyToCSS",
|
|
103875
|
+
"declaration": {
|
|
103876
|
+
"name": "lightnessKeyToCSS",
|
|
103877
|
+
"module": "dist/root/helpers/lightness-key-to-css.js"
|
|
103878
|
+
}
|
|
103879
|
+
}
|
|
103880
|
+
]
|
|
103881
|
+
},
|
|
103882
|
+
{
|
|
103883
|
+
"kind": "javascript-module",
|
|
103884
|
+
"path": "dist/root/helpers/lightness-ramp-properties.js",
|
|
103885
|
+
"declarations": [
|
|
103886
|
+
{
|
|
103887
|
+
"kind": "function",
|
|
103888
|
+
"name": "lightnessRampProperties",
|
|
103889
|
+
"return": {
|
|
103890
|
+
"type": {
|
|
103891
|
+
"text": "Record<string, string>"
|
|
103892
|
+
}
|
|
103893
|
+
},
|
|
103894
|
+
"parameters": [
|
|
103895
|
+
{
|
|
103896
|
+
"name": "theme",
|
|
103897
|
+
"type": {
|
|
103898
|
+
"text": "EspalierTheme"
|
|
103899
|
+
}
|
|
103900
|
+
}
|
|
103901
|
+
],
|
|
103902
|
+
"description": "The `--esp-l-*` ramp custom properties for a theme, in the percentage\nformat consumers expect inside relative color syntax — for example\n`oklch(from var(--esp-color-danger) var(--esp-l-raised-2) c h)`.\n\nEmitted by `<esp-root>` for the page and re-emitted by context zones\nfrom their merged theme, so ramp-derived styling — the `.intent-*`\nsurface classes, component chrome — re-derives against the zone's\nactual ramp instead of the root's. Without the zone emission a dark\nzone's class-styled chrome mixes provenance: a surface placed by the\nroot's light ramp under ink drawn from the zone's dark-surface table."
|
|
103903
|
+
}
|
|
103904
|
+
],
|
|
103905
|
+
"exports": [
|
|
103906
|
+
{
|
|
103907
|
+
"kind": "js",
|
|
103908
|
+
"name": "lightnessRampProperties",
|
|
103909
|
+
"declaration": {
|
|
103910
|
+
"name": "lightnessRampProperties",
|
|
103911
|
+
"module": "dist/root/helpers/lightness-ramp-properties.js"
|
|
103912
|
+
}
|
|
103913
|
+
}
|
|
103914
|
+
]
|
|
103915
|
+
},
|
|
103916
|
+
{
|
|
103917
|
+
"kind": "javascript-module",
|
|
103918
|
+
"path": "dist/root/helpers/surface-polarity-property.js",
|
|
103919
|
+
"declarations": [
|
|
103920
|
+
{
|
|
103921
|
+
"kind": "function",
|
|
103922
|
+
"name": "surfacePolarityProperty",
|
|
103923
|
+
"return": {
|
|
103924
|
+
"type": {
|
|
103925
|
+
"text": "Record<string, string>"
|
|
103926
|
+
}
|
|
103927
|
+
},
|
|
103928
|
+
"parameters": [
|
|
103929
|
+
{
|
|
103930
|
+
"name": "semantic",
|
|
103931
|
+
"type": {
|
|
103932
|
+
"text": "Readonly<Record<string, string>>"
|
|
103933
|
+
}
|
|
103934
|
+
}
|
|
103935
|
+
],
|
|
103936
|
+
"description": "The private `--_esp-surface-polarity` number for a semantic table: `1`\nwhere the zone's text is darker than its background (a light zone), `0`\nwhere it is lighter.\n\nEmitted by `<esp-root>` and re-emitted by context zones beside their\nsemantic table. Component chrome that nudges a fill on hover or focus\nreads it to move away from the zone's ink. The root scheme cannot decide\nthis, because an inverted context flips polarity inside one scheme. It is\na bare number so relative colors can use it in channel arithmetic, which\nthe percentage `--esp-l-*` ramp cannot join."
|
|
103937
|
+
}
|
|
103938
|
+
],
|
|
103939
|
+
"exports": [
|
|
103940
|
+
{
|
|
103941
|
+
"kind": "js",
|
|
103942
|
+
"name": "surfacePolarityProperty",
|
|
103943
|
+
"declaration": {
|
|
103944
|
+
"name": "surfacePolarityProperty",
|
|
103945
|
+
"module": "dist/root/helpers/surface-polarity-property.js"
|
|
103946
|
+
}
|
|
103947
|
+
}
|
|
103948
|
+
]
|
|
103949
|
+
},
|
|
103899
103950
|
{
|
|
103900
103951
|
"kind": "javascript-module",
|
|
103901
103952
|
"path": "dist/shared/svgs/calendar-icon.js",
|