@taprootio/espalier 6.13.1 → 6.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/custom-elements.json +1370 -1174
- package/dist/button/esp-button.d.ts +3 -0
- package/dist/button/esp-button.js +6 -6
- package/dist/header/esp-header.d.ts +18 -8
- package/dist/header/esp-header.js +59 -35
- package/dist/header/header-geometry-controller.js +1 -1
- package/dist/shared/blockquote-styles.d.ts +26 -0
- package/dist/shared/blockquote-styles.js +88 -0
- package/package.json +5 -1
package/custom-elements.json
CHANGED
|
@@ -6669,32 +6669,16 @@
|
|
|
6669
6669
|
},
|
|
6670
6670
|
{
|
|
6671
6671
|
"kind": "javascript-module",
|
|
6672
|
-
"path": "dist/
|
|
6672
|
+
"path": "dist/badge/esp-badge.js",
|
|
6673
6673
|
"declarations": [
|
|
6674
6674
|
{
|
|
6675
6675
|
"kind": "class",
|
|
6676
|
-
"description": "
|
|
6677
|
-
"name": "
|
|
6676
|
+
"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```",
|
|
6677
|
+
"name": "EspalierBadge",
|
|
6678
6678
|
"cssProperties": [
|
|
6679
6679
|
{
|
|
6680
|
-
"description": "
|
|
6681
|
-
"name": "--esp-
|
|
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"
|
|
6680
|
+
"description": "Border radius of the badge shell. Defaults to `999px`.",
|
|
6681
|
+
"name": "--esp-badge-border-radius"
|
|
6698
6682
|
},
|
|
6699
6683
|
{
|
|
6700
6684
|
"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.",
|
|
@@ -6753,29 +6737,67 @@
|
|
|
6753
6737
|
}
|
|
6754
6738
|
}
|
|
6755
6739
|
],
|
|
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
|
-
],
|
|
6762
6740
|
"slots": [
|
|
6763
6741
|
{
|
|
6764
|
-
"description": "
|
|
6742
|
+
"description": "Badge label text.",
|
|
6765
6743
|
"name": ""
|
|
6744
|
+
},
|
|
6745
|
+
{
|
|
6746
|
+
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
6747
|
+
"name": "icon"
|
|
6766
6748
|
}
|
|
6767
6749
|
],
|
|
6768
6750
|
"members": [
|
|
6769
6751
|
{
|
|
6770
6752
|
"kind": "field",
|
|
6771
|
-
"name": "
|
|
6753
|
+
"name": "intentEmitsTokens",
|
|
6772
6754
|
"type": {
|
|
6773
6755
|
"text": "boolean"
|
|
6774
6756
|
},
|
|
6775
|
-
"privacy": "
|
|
6757
|
+
"privacy": "protected",
|
|
6776
6758
|
"default": "false",
|
|
6777
|
-
"description": "Whether
|
|
6778
|
-
"
|
|
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
|
+
"privacy": "public",
|
|
6787
|
+
"default": "\"\"",
|
|
6788
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
6789
|
+
"attribute": "icon"
|
|
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
|
|
6779
6801
|
},
|
|
6780
6802
|
{
|
|
6781
6803
|
"kind": "field",
|
|
@@ -6903,20 +6925,6 @@
|
|
|
6903
6925
|
"module": "dist/shared/esp-element-base.js"
|
|
6904
6926
|
}
|
|
6905
6927
|
},
|
|
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
|
-
},
|
|
6920
6928
|
{
|
|
6921
6929
|
"kind": "field",
|
|
6922
6930
|
"name": "warnedUnknownIntents",
|
|
@@ -7504,13 +7512,21 @@
|
|
|
7504
7512
|
],
|
|
7505
7513
|
"attributes": [
|
|
7506
7514
|
{
|
|
7507
|
-
"name": "
|
|
7515
|
+
"name": "icon",
|
|
7508
7516
|
"type": {
|
|
7509
|
-
"text": "
|
|
7517
|
+
"text": "string"
|
|
7510
7518
|
},
|
|
7511
|
-
"default": "
|
|
7512
|
-
"description": "
|
|
7513
|
-
"fieldName": "
|
|
7519
|
+
"default": "\"\"",
|
|
7520
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
7521
|
+
"fieldName": "icon"
|
|
7522
|
+
},
|
|
7523
|
+
{
|
|
7524
|
+
"name": "size",
|
|
7525
|
+
"type": {
|
|
7526
|
+
"text": "EspalierBadgeSize"
|
|
7527
|
+
},
|
|
7528
|
+
"description": "Badge size.",
|
|
7529
|
+
"fieldName": "size"
|
|
7514
7530
|
},
|
|
7515
7531
|
{
|
|
7516
7532
|
"type": {
|
|
@@ -7565,66 +7581,78 @@
|
|
|
7565
7581
|
"name": "EspalierElementBase",
|
|
7566
7582
|
"module": "dist/shared/esp-element-base.js"
|
|
7567
7583
|
},
|
|
7568
|
-
"tagName": "esp-box",
|
|
7569
|
-
"customElement": true,
|
|
7570
7584
|
"docPageTitle": {
|
|
7571
|
-
"name": "
|
|
7585
|
+
"name": "Badge",
|
|
7572
7586
|
"description": ""
|
|
7573
7587
|
},
|
|
7574
7588
|
"docUrl": {
|
|
7575
|
-
"name": "/components/
|
|
7589
|
+
"name": "/components/badge",
|
|
7576
7590
|
"description": ""
|
|
7577
7591
|
},
|
|
7578
7592
|
"menuGroup": {
|
|
7579
|
-
"name": "
|
|
7580
|
-
"description": ""
|
|
7581
|
-
},
|
|
7582
|
-
"menuOrder": {
|
|
7583
|
-
"name": "3",
|
|
7584
|
-
"description": ""
|
|
7593
|
+
"name": "Data",
|
|
7594
|
+
"description": "Display"
|
|
7585
7595
|
},
|
|
7586
7596
|
"menuLabel": {
|
|
7587
|
-
"name": "
|
|
7597
|
+
"name": "Badge",
|
|
7588
7598
|
"description": ""
|
|
7589
7599
|
},
|
|
7590
7600
|
"menuIcon": {
|
|
7591
|
-
"name": "
|
|
7601
|
+
"name": "tags",
|
|
7592
7602
|
"description": ""
|
|
7593
7603
|
},
|
|
7604
|
+
"tagName": "esp-badge",
|
|
7605
|
+
"customElement": true,
|
|
7594
7606
|
"events": []
|
|
7595
7607
|
}
|
|
7596
7608
|
],
|
|
7597
7609
|
"exports": [
|
|
7598
7610
|
{
|
|
7599
7611
|
"kind": "js",
|
|
7600
|
-
"name": "
|
|
7612
|
+
"name": "EspalierBadge",
|
|
7601
7613
|
"declaration": {
|
|
7602
|
-
"name": "
|
|
7603
|
-
"module": "dist/
|
|
7614
|
+
"name": "EspalierBadge",
|
|
7615
|
+
"module": "dist/badge/esp-badge.js"
|
|
7604
7616
|
}
|
|
7605
7617
|
},
|
|
7606
7618
|
{
|
|
7607
7619
|
"kind": "custom-element-definition",
|
|
7608
|
-
"name": "esp-
|
|
7620
|
+
"name": "esp-badge",
|
|
7609
7621
|
"declaration": {
|
|
7610
|
-
"name": "
|
|
7611
|
-
"module": "dist/
|
|
7622
|
+
"name": "EspalierBadge",
|
|
7623
|
+
"module": "dist/badge/esp-badge.js"
|
|
7612
7624
|
}
|
|
7613
7625
|
}
|
|
7614
7626
|
]
|
|
7615
7627
|
},
|
|
7616
7628
|
{
|
|
7617
7629
|
"kind": "javascript-module",
|
|
7618
|
-
"path": "dist/
|
|
7630
|
+
"path": "dist/box/esp-box.js",
|
|
7619
7631
|
"declarations": [
|
|
7620
7632
|
{
|
|
7621
7633
|
"kind": "class",
|
|
7622
|
-
"description": "
|
|
7623
|
-
"name": "
|
|
7634
|
+
"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```",
|
|
7635
|
+
"name": "EspalierBox",
|
|
7624
7636
|
"cssProperties": [
|
|
7625
7637
|
{
|
|
7626
|
-
"description": "
|
|
7627
|
-
"name": "--esp-
|
|
7638
|
+
"description": "The background color of the box.",
|
|
7639
|
+
"name": "--esp-color-box-background"
|
|
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"
|
|
7628
7656
|
},
|
|
7629
7657
|
{
|
|
7630
7658
|
"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.",
|
|
@@ -7683,67 +7711,29 @@
|
|
|
7683
7711
|
}
|
|
7684
7712
|
}
|
|
7685
7713
|
],
|
|
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
|
+
],
|
|
7686
7720
|
"slots": [
|
|
7687
7721
|
{
|
|
7688
|
-
"description": "
|
|
7722
|
+
"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> ```",
|
|
7689
7723
|
"name": ""
|
|
7690
|
-
},
|
|
7691
|
-
{
|
|
7692
|
-
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
7693
|
-
"name": "icon"
|
|
7694
7724
|
}
|
|
7695
7725
|
],
|
|
7696
7726
|
"members": [
|
|
7697
7727
|
{
|
|
7698
7728
|
"kind": "field",
|
|
7699
|
-
"name": "
|
|
7729
|
+
"name": "fullScreen",
|
|
7700
7730
|
"type": {
|
|
7701
7731
|
"text": "boolean"
|
|
7702
7732
|
},
|
|
7703
|
-
"privacy": "protected",
|
|
7704
|
-
"default": "false",
|
|
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
7733
|
"privacy": "public",
|
|
7733
|
-
"default": "
|
|
7734
|
-
"description": "
|
|
7735
|
-
"attribute": "
|
|
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
|
|
7734
|
+
"default": "false",
|
|
7735
|
+
"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```",
|
|
7736
|
+
"attribute": "full-screen"
|
|
7747
7737
|
},
|
|
7748
7738
|
{
|
|
7749
7739
|
"kind": "field",
|
|
@@ -7871,6 +7861,20 @@
|
|
|
7871
7861
|
"module": "dist/shared/esp-element-base.js"
|
|
7872
7862
|
}
|
|
7873
7863
|
},
|
|
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
|
+
},
|
|
7874
7878
|
{
|
|
7875
7879
|
"kind": "field",
|
|
7876
7880
|
"name": "warnedUnknownIntents",
|
|
@@ -8458,21 +8462,13 @@
|
|
|
8458
8462
|
],
|
|
8459
8463
|
"attributes": [
|
|
8460
8464
|
{
|
|
8461
|
-
"name": "
|
|
8462
|
-
"type": {
|
|
8463
|
-
"text": "string"
|
|
8464
|
-
},
|
|
8465
|
-
"default": "\"\"",
|
|
8466
|
-
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
8467
|
-
"fieldName": "icon"
|
|
8468
|
-
},
|
|
8469
|
-
{
|
|
8470
|
-
"name": "size",
|
|
8465
|
+
"name": "full-screen",
|
|
8471
8466
|
"type": {
|
|
8472
|
-
"text": "
|
|
8467
|
+
"text": "boolean"
|
|
8473
8468
|
},
|
|
8474
|
-
"
|
|
8475
|
-
"
|
|
8469
|
+
"default": "false",
|
|
8470
|
+
"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```",
|
|
8471
|
+
"fieldName": "fullScreen"
|
|
8476
8472
|
},
|
|
8477
8473
|
{
|
|
8478
8474
|
"type": {
|
|
@@ -8527,46 +8523,50 @@
|
|
|
8527
8523
|
"name": "EspalierElementBase",
|
|
8528
8524
|
"module": "dist/shared/esp-element-base.js"
|
|
8529
8525
|
},
|
|
8526
|
+
"tagName": "esp-box",
|
|
8527
|
+
"customElement": true,
|
|
8530
8528
|
"docPageTitle": {
|
|
8531
|
-
"name": "
|
|
8529
|
+
"name": "Box",
|
|
8532
8530
|
"description": ""
|
|
8533
8531
|
},
|
|
8534
8532
|
"docUrl": {
|
|
8535
|
-
"name": "/components/
|
|
8533
|
+
"name": "/components/box",
|
|
8536
8534
|
"description": ""
|
|
8537
8535
|
},
|
|
8538
8536
|
"menuGroup": {
|
|
8539
|
-
"name": "
|
|
8540
|
-
"description": "
|
|
8537
|
+
"name": "Structure",
|
|
8538
|
+
"description": ""
|
|
8539
|
+
},
|
|
8540
|
+
"menuOrder": {
|
|
8541
|
+
"name": "3",
|
|
8542
|
+
"description": ""
|
|
8541
8543
|
},
|
|
8542
8544
|
"menuLabel": {
|
|
8543
|
-
"name": "
|
|
8545
|
+
"name": "Box",
|
|
8544
8546
|
"description": ""
|
|
8545
8547
|
},
|
|
8546
8548
|
"menuIcon": {
|
|
8547
|
-
"name": "
|
|
8549
|
+
"name": "box",
|
|
8548
8550
|
"description": ""
|
|
8549
8551
|
},
|
|
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": "EspalierBox",
|
|
8559
8559
|
"declaration": {
|
|
8560
|
-
"name": "
|
|
8561
|
-
"module": "dist/
|
|
8560
|
+
"name": "EspalierBox",
|
|
8561
|
+
"module": "dist/box/esp-box.js"
|
|
8562
8562
|
}
|
|
8563
8563
|
},
|
|
8564
8564
|
{
|
|
8565
8565
|
"kind": "custom-element-definition",
|
|
8566
|
-
"name": "esp-
|
|
8566
|
+
"name": "esp-box",
|
|
8567
8567
|
"declaration": {
|
|
8568
|
-
"name": "
|
|
8569
|
-
"module": "dist/
|
|
8568
|
+
"name": "EspalierBox",
|
|
8569
|
+
"module": "dist/box/esp-box.js"
|
|
8570
8570
|
}
|
|
8571
8571
|
}
|
|
8572
8572
|
]
|
|
@@ -11227,6 +11227,10 @@
|
|
|
11227
11227
|
"name": "aria-pressed",
|
|
11228
11228
|
"description": "Forwards a toggle's pressed state to the inner native button. Use `\"true\"` while the controlled content is active and `\"false\"` otherwise."
|
|
11229
11229
|
},
|
|
11230
|
+
{
|
|
11231
|
+
"name": "aria-label",
|
|
11232
|
+
"description": "Forwards an accessible name to the inner native control. An icon-only button falls back to `label` when it is absent. When the button shows text, keep the name containing the visible label."
|
|
11233
|
+
},
|
|
11230
11234
|
{
|
|
11231
11235
|
"description": "Renders the button with a borderless, transparent treatment for\nquiet icon or inline actions.\n\n```html\n<esp-button incognito icon-only icon=\"edit\" aria-label=\"Edit\"></esp-button>\n```",
|
|
11232
11236
|
"name": "incognito",
|
|
@@ -20755,87 +20759,71 @@
|
|
|
20755
20759
|
},
|
|
20756
20760
|
{
|
|
20757
20761
|
"kind": "javascript-module",
|
|
20758
|
-
"path": "dist/
|
|
20762
|
+
"path": "dist/file-upload/esp-file-upload.js",
|
|
20759
20763
|
"declarations": [
|
|
20760
20764
|
{
|
|
20761
20765
|
"kind": "class",
|
|
20762
|
-
"description": "
|
|
20763
|
-
"name": "
|
|
20764
|
-
"slots": [
|
|
20765
|
-
{
|
|
20766
|
-
"description": "Primary empty-state message.",
|
|
20767
|
-
"name": "heading"
|
|
20768
|
-
},
|
|
20769
|
-
{
|
|
20770
|
-
"description": "Supporting body text.",
|
|
20771
|
-
"name": ""
|
|
20772
|
-
},
|
|
20773
|
-
{
|
|
20774
|
-
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
20775
|
-
"name": "icon"
|
|
20776
|
-
},
|
|
20777
|
-
{
|
|
20778
|
-
"description": "Optional call-to-action button or link.",
|
|
20779
|
-
"name": "action"
|
|
20780
|
-
}
|
|
20781
|
-
],
|
|
20766
|
+
"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```",
|
|
20767
|
+
"name": "EspalierFileUpload",
|
|
20782
20768
|
"members": [
|
|
20783
20769
|
{
|
|
20784
20770
|
"kind": "field",
|
|
20785
|
-
"name": "
|
|
20786
|
-
"privacy": "private",
|
|
20787
|
-
"default": "new SlottedIconController(this)"
|
|
20788
|
-
},
|
|
20789
|
-
{
|
|
20790
|
-
"kind": "field",
|
|
20791
|
-
"name": "actionSlot",
|
|
20771
|
+
"name": "uploadInput",
|
|
20792
20772
|
"privacy": "private"
|
|
20793
20773
|
},
|
|
20794
20774
|
{
|
|
20795
20775
|
"kind": "field",
|
|
20796
|
-
"name": "
|
|
20776
|
+
"name": "processingFiles",
|
|
20797
20777
|
"type": {
|
|
20798
|
-
"text": "
|
|
20778
|
+
"text": "boolean"
|
|
20799
20779
|
},
|
|
20800
20780
|
"privacy": "private",
|
|
20801
|
-
"default": "
|
|
20781
|
+
"default": "false"
|
|
20802
20782
|
},
|
|
20803
20783
|
{
|
|
20804
20784
|
"kind": "field",
|
|
20805
|
-
"name": "
|
|
20785
|
+
"name": "accept",
|
|
20806
20786
|
"type": {
|
|
20807
|
-
"text": "
|
|
20787
|
+
"text": "string"
|
|
20808
20788
|
},
|
|
20809
|
-
"privacy": "
|
|
20810
|
-
"default": "
|
|
20789
|
+
"privacy": "public",
|
|
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"
|
|
20811
20793
|
},
|
|
20812
20794
|
{
|
|
20813
20795
|
"kind": "field",
|
|
20814
|
-
"name": "
|
|
20796
|
+
"name": "chooseText",
|
|
20815
20797
|
"type": {
|
|
20816
20798
|
"text": "string"
|
|
20817
20799
|
},
|
|
20818
20800
|
"privacy": "public",
|
|
20819
|
-
"default": "\"\"",
|
|
20820
|
-
"description": "
|
|
20821
|
-
"attribute": "
|
|
20801
|
+
"default": "\"Choose File\"",
|
|
20802
|
+
"description": "The text to display on the button.",
|
|
20803
|
+
"attribute": "choose-text"
|
|
20822
20804
|
},
|
|
20823
20805
|
{
|
|
20824
20806
|
"kind": "field",
|
|
20825
|
-
"name": "
|
|
20807
|
+
"name": "multiple",
|
|
20826
20808
|
"type": {
|
|
20827
|
-
"text": "
|
|
20809
|
+
"text": "boolean"
|
|
20828
20810
|
},
|
|
20829
20811
|
"privacy": "public",
|
|
20830
|
-
"
|
|
20831
|
-
"
|
|
20832
|
-
"
|
|
20812
|
+
"default": "false",
|
|
20813
|
+
"description": "Allow multiple files to be selected.",
|
|
20814
|
+
"attribute": "multiple"
|
|
20833
20815
|
},
|
|
20834
20816
|
{
|
|
20835
20817
|
"kind": "field",
|
|
20836
|
-
"name": "
|
|
20818
|
+
"name": "filesSelected",
|
|
20837
20819
|
"privacy": "private"
|
|
20838
20820
|
},
|
|
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
|
+
},
|
|
20839
20827
|
{
|
|
20840
20828
|
"kind": "field",
|
|
20841
20829
|
"name": "seedColorBacker",
|
|
@@ -21561,23 +21549,42 @@
|
|
|
21561
21549
|
}
|
|
21562
21550
|
}
|
|
21563
21551
|
],
|
|
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
|
+
],
|
|
21564
21561
|
"attributes": [
|
|
21565
21562
|
{
|
|
21566
|
-
"name": "
|
|
21563
|
+
"name": "accept",
|
|
21567
21564
|
"type": {
|
|
21568
21565
|
"text": "string"
|
|
21569
21566
|
},
|
|
21570
|
-
"default": "\"
|
|
21571
|
-
"description": "
|
|
21572
|
-
"fieldName": "
|
|
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"
|
|
21573
21570
|
},
|
|
21574
21571
|
{
|
|
21575
|
-
"name": "
|
|
21572
|
+
"name": "choose-text",
|
|
21576
21573
|
"type": {
|
|
21577
|
-
"text": "
|
|
21574
|
+
"text": "string"
|
|
21578
21575
|
},
|
|
21579
|
-
"
|
|
21580
|
-
"
|
|
21576
|
+
"default": "\"Choose File\"",
|
|
21577
|
+
"description": "The text to display on the button.",
|
|
21578
|
+
"fieldName": "chooseText"
|
|
21579
|
+
},
|
|
21580
|
+
{
|
|
21581
|
+
"name": "multiple",
|
|
21582
|
+
"type": {
|
|
21583
|
+
"text": "boolean"
|
|
21584
|
+
},
|
|
21585
|
+
"default": "false",
|
|
21586
|
+
"description": "Allow multiple files to be selected.",
|
|
21587
|
+
"fieldName": "multiple"
|
|
21581
21588
|
},
|
|
21582
21589
|
{
|
|
21583
21590
|
"type": {
|
|
@@ -21632,28 +21639,28 @@
|
|
|
21632
21639
|
"name": "EspalierElementBase",
|
|
21633
21640
|
"module": "dist/shared/esp-element-base.js"
|
|
21634
21641
|
},
|
|
21642
|
+
"tagName": "esp-file-upload",
|
|
21643
|
+
"customElement": true,
|
|
21635
21644
|
"docPageTitle": {
|
|
21636
|
-
"name": "
|
|
21637
|
-
"description": "
|
|
21645
|
+
"name": "File",
|
|
21646
|
+
"description": "Upload"
|
|
21638
21647
|
},
|
|
21639
21648
|
"docUrl": {
|
|
21640
|
-
"name": "/components/
|
|
21649
|
+
"name": "/components/file-upload",
|
|
21641
21650
|
"description": ""
|
|
21642
21651
|
},
|
|
21643
21652
|
"menuGroup": {
|
|
21644
|
-
"name": "
|
|
21645
|
-
"description": ""
|
|
21653
|
+
"name": "Form",
|
|
21654
|
+
"description": "Controls"
|
|
21646
21655
|
},
|
|
21647
21656
|
"menuLabel": {
|
|
21648
|
-
"name": "
|
|
21649
|
-
"description": "
|
|
21657
|
+
"name": "File",
|
|
21658
|
+
"description": "Upload"
|
|
21650
21659
|
},
|
|
21651
21660
|
"menuIcon": {
|
|
21652
|
-
"name": "
|
|
21661
|
+
"name": "upload",
|
|
21653
21662
|
"description": ""
|
|
21654
21663
|
},
|
|
21655
|
-
"tagName": "esp-empty-state",
|
|
21656
|
-
"customElement": true,
|
|
21657
21664
|
"cssProperties": [
|
|
21658
21665
|
{
|
|
21659
21666
|
"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.",
|
|
@@ -21711,96 +21718,111 @@
|
|
|
21711
21718
|
"module": "dist/shared/esp-element-base.js"
|
|
21712
21719
|
}
|
|
21713
21720
|
}
|
|
21714
|
-
]
|
|
21715
|
-
"events": []
|
|
21721
|
+
]
|
|
21716
21722
|
}
|
|
21717
21723
|
],
|
|
21718
21724
|
"exports": [
|
|
21719
21725
|
{
|
|
21720
21726
|
"kind": "js",
|
|
21721
|
-
"name": "
|
|
21727
|
+
"name": "EspalierFileUpload",
|
|
21722
21728
|
"declaration": {
|
|
21723
|
-
"name": "
|
|
21724
|
-
"module": "dist/
|
|
21729
|
+
"name": "EspalierFileUpload",
|
|
21730
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
21725
21731
|
}
|
|
21726
21732
|
},
|
|
21727
21733
|
{
|
|
21728
21734
|
"kind": "custom-element-definition",
|
|
21729
|
-
"name": "esp-
|
|
21735
|
+
"name": "esp-file-upload",
|
|
21730
21736
|
"declaration": {
|
|
21731
|
-
"name": "
|
|
21732
|
-
"module": "dist/
|
|
21737
|
+
"name": "EspalierFileUpload",
|
|
21738
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
21733
21739
|
}
|
|
21734
21740
|
}
|
|
21735
21741
|
]
|
|
21736
21742
|
},
|
|
21737
21743
|
{
|
|
21738
21744
|
"kind": "javascript-module",
|
|
21739
|
-
"path": "dist/
|
|
21745
|
+
"path": "dist/empty-state/esp-empty-state.js",
|
|
21740
21746
|
"declarations": [
|
|
21741
21747
|
{
|
|
21742
21748
|
"kind": "class",
|
|
21743
|
-
"description": "
|
|
21744
|
-
"name": "
|
|
21749
|
+
"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```",
|
|
21750
|
+
"name": "EspalierEmptyState",
|
|
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
|
+
],
|
|
21745
21769
|
"members": [
|
|
21746
21770
|
{
|
|
21747
21771
|
"kind": "field",
|
|
21748
|
-
"name": "
|
|
21772
|
+
"name": "iconSlot",
|
|
21773
|
+
"privacy": "private",
|
|
21774
|
+
"default": "new SlottedIconController(this)"
|
|
21775
|
+
},
|
|
21776
|
+
{
|
|
21777
|
+
"kind": "field",
|
|
21778
|
+
"name": "actionSlot",
|
|
21749
21779
|
"privacy": "private"
|
|
21750
21780
|
},
|
|
21751
21781
|
{
|
|
21752
21782
|
"kind": "field",
|
|
21753
|
-
"name": "
|
|
21783
|
+
"name": "sizeBacker",
|
|
21754
21784
|
"type": {
|
|
21755
|
-
"text": "
|
|
21785
|
+
"text": "EspalierEmptyStateSize"
|
|
21756
21786
|
},
|
|
21757
21787
|
"privacy": "private",
|
|
21758
|
-
"default": "
|
|
21788
|
+
"default": "\"medium\""
|
|
21759
21789
|
},
|
|
21760
21790
|
{
|
|
21761
21791
|
"kind": "field",
|
|
21762
|
-
"name": "
|
|
21792
|
+
"name": "hasSlottedAction",
|
|
21763
21793
|
"type": {
|
|
21764
|
-
"text": "
|
|
21794
|
+
"text": "boolean"
|
|
21765
21795
|
},
|
|
21766
|
-
"privacy": "
|
|
21767
|
-
"default": "
|
|
21768
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
21769
|
-
"attribute": "accept"
|
|
21796
|
+
"privacy": "private",
|
|
21797
|
+
"default": "false"
|
|
21770
21798
|
},
|
|
21771
21799
|
{
|
|
21772
21800
|
"kind": "field",
|
|
21773
|
-
"name": "
|
|
21801
|
+
"name": "icon",
|
|
21774
21802
|
"type": {
|
|
21775
21803
|
"text": "string"
|
|
21776
21804
|
},
|
|
21777
21805
|
"privacy": "public",
|
|
21778
|
-
"default": "\"
|
|
21779
|
-
"description": "
|
|
21780
|
-
"attribute": "
|
|
21806
|
+
"default": "\"\"",
|
|
21807
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
21808
|
+
"attribute": "icon"
|
|
21781
21809
|
},
|
|
21782
21810
|
{
|
|
21783
21811
|
"kind": "field",
|
|
21784
|
-
"name": "
|
|
21812
|
+
"name": "size",
|
|
21785
21813
|
"type": {
|
|
21786
|
-
"text": "
|
|
21814
|
+
"text": "EspalierEmptyStateSize"
|
|
21787
21815
|
},
|
|
21788
21816
|
"privacy": "public",
|
|
21789
|
-
"
|
|
21790
|
-
"
|
|
21791
|
-
"
|
|
21817
|
+
"description": "Empty-state scale.",
|
|
21818
|
+
"attribute": "size",
|
|
21819
|
+
"reflects": true
|
|
21792
21820
|
},
|
|
21793
21821
|
{
|
|
21794
21822
|
"kind": "field",
|
|
21795
|
-
"name": "
|
|
21823
|
+
"name": "handleActionSlotChange",
|
|
21796
21824
|
"privacy": "private"
|
|
21797
21825
|
},
|
|
21798
|
-
{
|
|
21799
|
-
"kind": "method",
|
|
21800
|
-
"name": "finishedProcessingFiles",
|
|
21801
|
-
"privacy": "public",
|
|
21802
|
-
"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."
|
|
21803
|
-
},
|
|
21804
21826
|
{
|
|
21805
21827
|
"kind": "field",
|
|
21806
21828
|
"name": "seedColorBacker",
|
|
@@ -22526,42 +22548,23 @@
|
|
|
22526
22548
|
}
|
|
22527
22549
|
}
|
|
22528
22550
|
],
|
|
22529
|
-
"events": [
|
|
22530
|
-
{
|
|
22531
|
-
"type": {
|
|
22532
|
-
"text": "CustomEvent<FileList>"
|
|
22533
|
-
},
|
|
22534
|
-
"description": "Fired after the user selects one or more files.",
|
|
22535
|
-
"name": "esp-file-upload-files-selected"
|
|
22536
|
-
}
|
|
22537
|
-
],
|
|
22538
22551
|
"attributes": [
|
|
22539
22552
|
{
|
|
22540
|
-
"name": "
|
|
22541
|
-
"type": {
|
|
22542
|
-
"text": "string"
|
|
22543
|
-
},
|
|
22544
|
-
"default": "\"*\"",
|
|
22545
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
22546
|
-
"fieldName": "accept"
|
|
22547
|
-
},
|
|
22548
|
-
{
|
|
22549
|
-
"name": "choose-text",
|
|
22553
|
+
"name": "icon",
|
|
22550
22554
|
"type": {
|
|
22551
22555
|
"text": "string"
|
|
22552
22556
|
},
|
|
22553
|
-
"default": "\"
|
|
22554
|
-
"description": "
|
|
22555
|
-
"fieldName": "
|
|
22557
|
+
"default": "\"\"",
|
|
22558
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
22559
|
+
"fieldName": "icon"
|
|
22556
22560
|
},
|
|
22557
22561
|
{
|
|
22558
|
-
"name": "
|
|
22562
|
+
"name": "size",
|
|
22559
22563
|
"type": {
|
|
22560
|
-
"text": "
|
|
22564
|
+
"text": "EspalierEmptyStateSize"
|
|
22561
22565
|
},
|
|
22562
|
-
"
|
|
22563
|
-
"
|
|
22564
|
-
"fieldName": "multiple"
|
|
22566
|
+
"description": "Empty-state scale.",
|
|
22567
|
+
"fieldName": "size"
|
|
22565
22568
|
},
|
|
22566
22569
|
{
|
|
22567
22570
|
"type": {
|
|
@@ -22616,28 +22619,28 @@
|
|
|
22616
22619
|
"name": "EspalierElementBase",
|
|
22617
22620
|
"module": "dist/shared/esp-element-base.js"
|
|
22618
22621
|
},
|
|
22619
|
-
"tagName": "esp-file-upload",
|
|
22620
|
-
"customElement": true,
|
|
22621
22622
|
"docPageTitle": {
|
|
22622
|
-
"name": "
|
|
22623
|
-
"description": "
|
|
22623
|
+
"name": "Empty",
|
|
22624
|
+
"description": "State"
|
|
22624
22625
|
},
|
|
22625
22626
|
"docUrl": {
|
|
22626
|
-
"name": "/components/
|
|
22627
|
+
"name": "/components/empty-state",
|
|
22627
22628
|
"description": ""
|
|
22628
22629
|
},
|
|
22629
22630
|
"menuGroup": {
|
|
22630
|
-
"name": "
|
|
22631
|
-
"description": "
|
|
22631
|
+
"name": "Feedback",
|
|
22632
|
+
"description": ""
|
|
22632
22633
|
},
|
|
22633
22634
|
"menuLabel": {
|
|
22634
|
-
"name": "
|
|
22635
|
-
"description": "
|
|
22635
|
+
"name": "Empty",
|
|
22636
|
+
"description": "State"
|
|
22636
22637
|
},
|
|
22637
22638
|
"menuIcon": {
|
|
22638
|
-
"name": "
|
|
22639
|
+
"name": "box",
|
|
22639
22640
|
"description": ""
|
|
22640
22641
|
},
|
|
22642
|
+
"tagName": "esp-empty-state",
|
|
22643
|
+
"customElement": true,
|
|
22641
22644
|
"cssProperties": [
|
|
22642
22645
|
{
|
|
22643
22646
|
"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.",
|
|
@@ -22695,24 +22698,25 @@
|
|
|
22695
22698
|
"module": "dist/shared/esp-element-base.js"
|
|
22696
22699
|
}
|
|
22697
22700
|
}
|
|
22698
|
-
]
|
|
22701
|
+
],
|
|
22702
|
+
"events": []
|
|
22699
22703
|
}
|
|
22700
22704
|
],
|
|
22701
22705
|
"exports": [
|
|
22702
22706
|
{
|
|
22703
22707
|
"kind": "js",
|
|
22704
|
-
"name": "
|
|
22708
|
+
"name": "EspalierEmptyState",
|
|
22705
22709
|
"declaration": {
|
|
22706
|
-
"name": "
|
|
22707
|
-
"module": "dist/
|
|
22710
|
+
"name": "EspalierEmptyState",
|
|
22711
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
22708
22712
|
}
|
|
22709
22713
|
},
|
|
22710
22714
|
{
|
|
22711
22715
|
"kind": "custom-element-definition",
|
|
22712
|
-
"name": "esp-
|
|
22716
|
+
"name": "esp-empty-state",
|
|
22713
22717
|
"declaration": {
|
|
22714
|
-
"name": "
|
|
22715
|
-
"module": "dist/
|
|
22718
|
+
"name": "EspalierEmptyState",
|
|
22719
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
22716
22720
|
}
|
|
22717
22721
|
}
|
|
22718
22722
|
]
|
|
@@ -33651,7 +33655,7 @@
|
|
|
33651
33655
|
"declarations": [
|
|
33652
33656
|
{
|
|
33653
33657
|
"kind": "class",
|
|
33654
|
-
"description": "Builds a site's top navigation bar. Use its four slots to add content:\n`topbar`, `brand`, `menu`, and `buttons`.\n\n`height-multiplier=\"
|
|
33658
|
+
"description": "Builds a site's top navigation bar. Use its four slots to add content:\n`topbar`, `brand`, `menu`, and `buttons`.\n\n`height-multiplier=\"3.8\"` enlarges the primary row and logo while preserving\ncontrol and extra-row sizes. In a fixed `esp-page`, `compact-size=\"standard\"`\nwith `scroll-behavior=\"compact\"` shrinks to `min-height-multiplier` (default 1).\nFor example, `min-height-multiplier=\"1.9\"` keeps a taller compact endpoint. Sticky,\nnormal and standalone hosts retain expanded geometry with these options.\nExpanded rows above 1.0 center navigation and use unframed icon controls,\nwithout the horizontal current-item underline. A compact minimum above 1.0\nkeeps this tall chrome; a baseline endpoint restores standard chrome.\nNavigation buttons keep theme-space margins and a smaller default padding;\nexplicit `--esp-button-padding` still wins. A full-screen drawer's existing\nclose control sits at the viewport's top/end corner.\nOptional generic/light/dark compact logos fall back to the regular logo until\nready; the larger expanded/compact brand width is reserved in either state.\n`data-esp-compact` reports resolved compaction for paint-only styling and\ninspection. Hook-keyed layout or typography changes are unsupported. Override\nthe height/logo inputs instead. Compaction holds while header keyboard focus\nor a header drawer/popover is open. The [`<esp-page>`](/components/page/)\nreadiness method waits for initial geometry. Scope light-DOM anchor clearance\nto `--esp-page-header-expanded-size`, capped by the usable viewport height.\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\nThe header works together with several companion components:\n[`<esp-menu>`](/components/menu/) provides the navigation\ncontainer, [`<esp-menu-item>`](/components/menu/item/)\nrenders individual links, and\n[`<esp-header-button>`](/components/header/button/) adds icon\nbuttons for global actions.\n\n```html\n<esp-header>\n <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div>\n <esp-menu slot=\"menu\" mode=\"horizontal\" style=\"background-color: green;\">\n <esp-menu-item label=\"menu\" url=\"#\"></esp-menu-item>\n </esp-menu>\n <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div>\n</esp-header>\n```",
|
|
33655
33659
|
"name": "EspalierHeader",
|
|
33656
33660
|
"cssProperties": [
|
|
33657
33661
|
{
|
|
@@ -34073,6 +34077,18 @@
|
|
|
34073
34077
|
"attribute": "height-multiplier",
|
|
34074
34078
|
"reflects": true
|
|
34075
34079
|
},
|
|
34080
|
+
{
|
|
34081
|
+
"kind": "field",
|
|
34082
|
+
"name": "minHeightMultiplier",
|
|
34083
|
+
"type": {
|
|
34084
|
+
"text": "number"
|
|
34085
|
+
},
|
|
34086
|
+
"privacy": "public",
|
|
34087
|
+
"default": "1",
|
|
34088
|
+
"description": "Scale the standard compact row and logo from 1.0 to 5.0 in tenths.\nInvalid values normalize to 1.0. The effective minimum is clamped to\nheightMultiplier without changing this authored value. Controls retain\nbaseline sizes. Only compact-size=\"standard\" in a fixed esp-page uses it.",
|
|
34089
|
+
"attribute": "min-height-multiplier",
|
|
34090
|
+
"reflects": true
|
|
34091
|
+
},
|
|
34076
34092
|
{
|
|
34077
34093
|
"kind": "field",
|
|
34078
34094
|
"name": "compactSize",
|
|
@@ -34080,7 +34096,7 @@
|
|
|
34080
34096
|
"text": "HeaderCompactSize"
|
|
34081
34097
|
},
|
|
34082
34098
|
"privacy": "public",
|
|
34083
|
-
"description": "`standard` compacts to the unscaled baseline
|
|
34099
|
+
"description": "`standard` compacts to minHeightMultiplier times the unscaled baseline.\n`compact` retains the legacy absolute compact-height token. New geometry compacts only in a fixed esp-page.",
|
|
34084
34100
|
"default": "\"compact\"",
|
|
34085
34101
|
"attribute": "compact-size",
|
|
34086
34102
|
"reflects": true
|
|
@@ -34248,7 +34264,7 @@
|
|
|
34248
34264
|
"kind": "field",
|
|
34249
34265
|
"name": "geometry",
|
|
34250
34266
|
"privacy": "private",
|
|
34251
|
-
"default": "new HeaderGeometryController(this, () => ({ heightMultiplier: this.heightMultiplier, compactSize: this.compactSize, compactLogo: Boolean(this.compactBrandLogo || this.lightCompactBrandLogo || this.darkCompactBrandLogo), }), () => this.syncBrandFitWidth())"
|
|
34267
|
+
"default": "new HeaderGeometryController(this, () => ({ heightMultiplier: this.heightMultiplier, minHeightMultiplier: this.minHeightMultiplier, compactSize: this.compactSize, compactLogo: Boolean(this.compactBrandLogo || this.lightCompactBrandLogo || this.darkCompactBrandLogo), }), () => this.syncBrandFitWidth(), () => this.runScrollStateUpdate(true))"
|
|
34252
34268
|
},
|
|
34253
34269
|
{
|
|
34254
34270
|
"kind": "field",
|
|
@@ -34664,7 +34680,13 @@
|
|
|
34664
34680
|
"type": {
|
|
34665
34681
|
"text": "void"
|
|
34666
34682
|
}
|
|
34667
|
-
}
|
|
34683
|
+
},
|
|
34684
|
+
"parameters": [
|
|
34685
|
+
{
|
|
34686
|
+
"name": "geometryOnly",
|
|
34687
|
+
"default": "false"
|
|
34688
|
+
}
|
|
34689
|
+
]
|
|
34668
34690
|
},
|
|
34669
34691
|
{
|
|
34670
34692
|
"kind": "field",
|
|
@@ -35858,12 +35880,21 @@
|
|
|
35858
35880
|
"description": "Scale the primary row from 1.0 to 5.0 in tenths. Controls and extra rows\nretain their baseline sizes. Invalid values normalize to 1.0.",
|
|
35859
35881
|
"fieldName": "heightMultiplier"
|
|
35860
35882
|
},
|
|
35883
|
+
{
|
|
35884
|
+
"name": "min-height-multiplier",
|
|
35885
|
+
"type": {
|
|
35886
|
+
"text": "number"
|
|
35887
|
+
},
|
|
35888
|
+
"default": "1",
|
|
35889
|
+
"description": "Scale the standard compact row and logo from 1.0 to 5.0 in tenths.\nInvalid values normalize to 1.0. The effective minimum is clamped to\nheightMultiplier without changing this authored value. Controls retain\nbaseline sizes. Only compact-size=\"standard\" in a fixed esp-page uses it.",
|
|
35890
|
+
"fieldName": "minHeightMultiplier"
|
|
35891
|
+
},
|
|
35861
35892
|
{
|
|
35862
35893
|
"name": "compact-size",
|
|
35863
35894
|
"type": {
|
|
35864
35895
|
"text": "HeaderCompactSize"
|
|
35865
35896
|
},
|
|
35866
|
-
"description": "`standard` compacts to the unscaled baseline
|
|
35897
|
+
"description": "`standard` compacts to minHeightMultiplier times the unscaled baseline.\n`compact` retains the legacy absolute compact-height token. New geometry compacts only in a fixed esp-page.",
|
|
35867
35898
|
"default": "\"compact\"",
|
|
35868
35899
|
"fieldName": "compactSize"
|
|
35869
35900
|
},
|
|
@@ -36251,6 +36282,66 @@
|
|
|
36251
36282
|
"privacy": "private",
|
|
36252
36283
|
"default": "false"
|
|
36253
36284
|
},
|
|
36285
|
+
{
|
|
36286
|
+
"kind": "field",
|
|
36287
|
+
"name": "compactEnabled",
|
|
36288
|
+
"type": {
|
|
36289
|
+
"text": "boolean"
|
|
36290
|
+
},
|
|
36291
|
+
"privacy": "private",
|
|
36292
|
+
"default": "false"
|
|
36293
|
+
},
|
|
36294
|
+
{
|
|
36295
|
+
"kind": "field",
|
|
36296
|
+
"name": "scrollDistance",
|
|
36297
|
+
"type": {
|
|
36298
|
+
"text": "number"
|
|
36299
|
+
},
|
|
36300
|
+
"privacy": "private",
|
|
36301
|
+
"default": "0"
|
|
36302
|
+
},
|
|
36303
|
+
{
|
|
36304
|
+
"kind": "field",
|
|
36305
|
+
"name": "heldPrimarySize",
|
|
36306
|
+
"type": {
|
|
36307
|
+
"text": "number | null"
|
|
36308
|
+
},
|
|
36309
|
+
"privacy": "private",
|
|
36310
|
+
"default": "null"
|
|
36311
|
+
},
|
|
36312
|
+
{
|
|
36313
|
+
"kind": "field",
|
|
36314
|
+
"name": "expandedPrimarySize",
|
|
36315
|
+
"type": {
|
|
36316
|
+
"text": "number"
|
|
36317
|
+
},
|
|
36318
|
+
"privacy": "private",
|
|
36319
|
+
"default": "0"
|
|
36320
|
+
},
|
|
36321
|
+
{
|
|
36322
|
+
"kind": "field",
|
|
36323
|
+
"name": "compactPrimarySize",
|
|
36324
|
+
"type": {
|
|
36325
|
+
"text": "number"
|
|
36326
|
+
},
|
|
36327
|
+
"privacy": "private",
|
|
36328
|
+
"default": "0"
|
|
36329
|
+
},
|
|
36330
|
+
{
|
|
36331
|
+
"kind": "field",
|
|
36332
|
+
"name": "compactHostSize",
|
|
36333
|
+
"type": {
|
|
36334
|
+
"text": "number"
|
|
36335
|
+
},
|
|
36336
|
+
"privacy": "private",
|
|
36337
|
+
"default": "0"
|
|
36338
|
+
},
|
|
36339
|
+
{
|
|
36340
|
+
"kind": "field",
|
|
36341
|
+
"name": "inputEndpoints",
|
|
36342
|
+
"privacy": "private",
|
|
36343
|
+
"default": "new Map<Element, { expanded: DOMRect; compact: DOMRect }>()"
|
|
36344
|
+
},
|
|
36254
36345
|
{
|
|
36255
36346
|
"kind": "field",
|
|
36256
36347
|
"name": "inlineSize",
|
|
@@ -36338,6 +36429,22 @@
|
|
|
36338
36429
|
},
|
|
36339
36430
|
"readonly": true
|
|
36340
36431
|
},
|
|
36432
|
+
{
|
|
36433
|
+
"kind": "field",
|
|
36434
|
+
"name": "minimumMultiplier",
|
|
36435
|
+
"type": {
|
|
36436
|
+
"text": "number"
|
|
36437
|
+
},
|
|
36438
|
+
"readonly": true
|
|
36439
|
+
},
|
|
36440
|
+
{
|
|
36441
|
+
"kind": "field",
|
|
36442
|
+
"name": "tallChrome",
|
|
36443
|
+
"type": {
|
|
36444
|
+
"text": "boolean"
|
|
36445
|
+
},
|
|
36446
|
+
"readonly": true
|
|
36447
|
+
},
|
|
36341
36448
|
{
|
|
36342
36449
|
"kind": "field",
|
|
36343
36450
|
"name": "standard",
|
|
@@ -36362,6 +36469,38 @@
|
|
|
36362
36469
|
},
|
|
36363
36470
|
"readonly": true
|
|
36364
36471
|
},
|
|
36472
|
+
{
|
|
36473
|
+
"kind": "field",
|
|
36474
|
+
"name": "scrollDriven",
|
|
36475
|
+
"type": {
|
|
36476
|
+
"text": "boolean"
|
|
36477
|
+
},
|
|
36478
|
+
"readonly": true
|
|
36479
|
+
},
|
|
36480
|
+
{
|
|
36481
|
+
"kind": "field",
|
|
36482
|
+
"name": "primarySize",
|
|
36483
|
+
"type": {
|
|
36484
|
+
"text": "number"
|
|
36485
|
+
},
|
|
36486
|
+
"readonly": true
|
|
36487
|
+
},
|
|
36488
|
+
{
|
|
36489
|
+
"kind": "field",
|
|
36490
|
+
"name": "progress",
|
|
36491
|
+
"type": {
|
|
36492
|
+
"text": "number"
|
|
36493
|
+
},
|
|
36494
|
+
"readonly": true
|
|
36495
|
+
},
|
|
36496
|
+
{
|
|
36497
|
+
"kind": "field",
|
|
36498
|
+
"name": "complete",
|
|
36499
|
+
"type": {
|
|
36500
|
+
"text": "boolean"
|
|
36501
|
+
},
|
|
36502
|
+
"readonly": true
|
|
36503
|
+
},
|
|
36365
36504
|
{
|
|
36366
36505
|
"kind": "field",
|
|
36367
36506
|
"name": "topbarCollapsed",
|
|
@@ -36544,6 +36683,24 @@
|
|
|
36544
36683
|
}
|
|
36545
36684
|
}
|
|
36546
36685
|
},
|
|
36686
|
+
{
|
|
36687
|
+
"kind": "method",
|
|
36688
|
+
"name": "matchesRowResize",
|
|
36689
|
+
"privacy": "private",
|
|
36690
|
+
"return": {
|
|
36691
|
+
"type": {
|
|
36692
|
+
"text": "boolean"
|
|
36693
|
+
}
|
|
36694
|
+
},
|
|
36695
|
+
"parameters": [
|
|
36696
|
+
{
|
|
36697
|
+
"name": "element",
|
|
36698
|
+
"type": {
|
|
36699
|
+
"text": "Element"
|
|
36700
|
+
}
|
|
36701
|
+
}
|
|
36702
|
+
]
|
|
36703
|
+
},
|
|
36547
36704
|
{
|
|
36548
36705
|
"kind": "method",
|
|
36549
36706
|
"name": "affectsLayout",
|
|
@@ -36598,7 +36755,7 @@
|
|
|
36598
36755
|
},
|
|
36599
36756
|
{
|
|
36600
36757
|
"kind": "method",
|
|
36601
|
-
"name": "
|
|
36758
|
+
"name": "measureEndpoints",
|
|
36602
36759
|
"privacy": "private",
|
|
36603
36760
|
"return": {
|
|
36604
36761
|
"type": {
|
|
@@ -77980,6 +78137,45 @@
|
|
|
77980
78137
|
}
|
|
77981
78138
|
]
|
|
77982
78139
|
},
|
|
78140
|
+
{
|
|
78141
|
+
"kind": "javascript-module",
|
|
78142
|
+
"path": "dist/shared/blockquote-styles.js",
|
|
78143
|
+
"declarations": [
|
|
78144
|
+
{
|
|
78145
|
+
"kind": "function",
|
|
78146
|
+
"name": "blockquoteStyles",
|
|
78147
|
+
"return": {
|
|
78148
|
+
"type": {
|
|
78149
|
+
"text": "CSSResult"
|
|
78150
|
+
}
|
|
78151
|
+
},
|
|
78152
|
+
"parameters": [
|
|
78153
|
+
{
|
|
78154
|
+
"name": "selector",
|
|
78155
|
+
"default": "\"blockquote\""
|
|
78156
|
+
},
|
|
78157
|
+
{
|
|
78158
|
+
"name": "options",
|
|
78159
|
+
"optional": true,
|
|
78160
|
+
"type": {
|
|
78161
|
+
"text": "{ figureSelector?: string }"
|
|
78162
|
+
}
|
|
78163
|
+
}
|
|
78164
|
+
],
|
|
78165
|
+
"description": "Style selected native blockquotes as themed panels with lead typography.\nUse the result in Lit's `static styles`, or emit its `.cssText` into a\ndocument stylesheet during server rendering. Importing this subpath needs\nno DOM and does not register any components.\n\nThe selector defaults to `blockquote` and is trimmed. Pass only trusted,\nstatic developer CSS: this helper is not a user-input sanitizer. Comma lists\nuse the browser's forgiving `:where()` parsing; invalid branches do not match.\nExplicitly empty quote or figure selectors throw `RangeError`.\n\nPass `options.figureSelector` to style native figures and their direct\ncaptions. This does not select their blockquotes. Attribution and safe URLs\nremain the consumer's responsibility; cite identifies a work, not a person.\nThe empty decorative opening mark uses a local SVG mask: a document CSP\nmust allow `img-src data:` (or the corresponding default-src fallback).\nA blocked/failed mask is transparent; forced colors hide the decoration.\n\nBase and child rules have zero specificity. A selected light-DOM paragraph\nreceives a color-only bridge over `esp-root`'s native paragraph ink. The\nconsumer keeps ownership of outer block rhythm, prose measure and font family."
|
|
78166
|
+
}
|
|
78167
|
+
],
|
|
78168
|
+
"exports": [
|
|
78169
|
+
{
|
|
78170
|
+
"kind": "js",
|
|
78171
|
+
"name": "blockquoteStyles",
|
|
78172
|
+
"declaration": {
|
|
78173
|
+
"name": "blockquoteStyles",
|
|
78174
|
+
"module": "dist/shared/blockquote-styles.js"
|
|
78175
|
+
}
|
|
78176
|
+
}
|
|
78177
|
+
]
|
|
78178
|
+
},
|
|
77983
78179
|
{
|
|
77984
78180
|
"kind": "javascript-module",
|
|
77985
78181
|
"path": "dist/shared/bus-events.js",
|
|
@@ -89557,60 +89753,40 @@
|
|
|
89557
89753
|
},
|
|
89558
89754
|
{
|
|
89559
89755
|
"kind": "javascript-module",
|
|
89560
|
-
"path": "dist/
|
|
89756
|
+
"path": "dist/tabs/esp-tab-group.js",
|
|
89561
89757
|
"declarations": [
|
|
89562
89758
|
{
|
|
89563
89759
|
"kind": "class",
|
|
89564
|
-
"description": "
|
|
89565
|
-
"name": "
|
|
89760
|
+
"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```",
|
|
89761
|
+
"name": "EspalierTabGroup",
|
|
89566
89762
|
"cssProperties": [
|
|
89567
89763
|
{
|
|
89568
|
-
"description": "
|
|
89569
|
-
"name": "--esp-
|
|
89570
|
-
},
|
|
89571
|
-
{
|
|
89572
|
-
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
89573
|
-
"name": "--esp-switch-height"
|
|
89574
|
-
},
|
|
89575
|
-
{
|
|
89576
|
-
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
89577
|
-
"name": "--esp-switch-thumb-size"
|
|
89578
|
-
},
|
|
89579
|
-
{
|
|
89580
|
-
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
89581
|
-
"name": "--esp-switch-track-color"
|
|
89582
|
-
},
|
|
89583
|
-
{
|
|
89584
|
-
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
89585
|
-
"name": "--esp-switch-track-color-on"
|
|
89586
|
-
},
|
|
89587
|
-
{
|
|
89588
|
-
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
89589
|
-
"name": "--esp-switch-thumb-color"
|
|
89764
|
+
"description": "Border color of the tab group container.",
|
|
89765
|
+
"name": "--esp-tab-color-border"
|
|
89590
89766
|
},
|
|
89591
89767
|
{
|
|
89592
|
-
"description": "
|
|
89593
|
-
"name": "--esp-
|
|
89768
|
+
"description": "Background color of the overall component.",
|
|
89769
|
+
"name": "--esp-tab-color-background"
|
|
89594
89770
|
},
|
|
89595
89771
|
{
|
|
89596
|
-
"description": "
|
|
89597
|
-
"name": "--esp-
|
|
89772
|
+
"description": "Background color of the tab strip.",
|
|
89773
|
+
"name": "--esp-tab-color-strip-background"
|
|
89598
89774
|
},
|
|
89599
89775
|
{
|
|
89600
|
-
"description": "
|
|
89601
|
-
"name": "--esp-
|
|
89776
|
+
"description": "Tab button hover background.",
|
|
89777
|
+
"name": "--esp-tab-color-button-hover"
|
|
89602
89778
|
},
|
|
89603
89779
|
{
|
|
89604
|
-
"description": "
|
|
89605
|
-
"name": "--esp-
|
|
89780
|
+
"description": "Active tab button background.",
|
|
89781
|
+
"name": "--esp-tab-color-button-active"
|
|
89606
89782
|
},
|
|
89607
89783
|
{
|
|
89608
|
-
"description": "Text color
|
|
89609
|
-
"name": "--esp-
|
|
89784
|
+
"description": "Text color for tab buttons.",
|
|
89785
|
+
"name": "--esp-tab-color-text"
|
|
89610
89786
|
},
|
|
89611
89787
|
{
|
|
89612
|
-
"description": "
|
|
89613
|
-
"name": "--esp-
|
|
89788
|
+
"description": "Padding inside the panel area and tab buttons.",
|
|
89789
|
+
"name": "--esp-tab-size-padding"
|
|
89614
89790
|
},
|
|
89615
89791
|
{
|
|
89616
89792
|
"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.",
|
|
@@ -89669,194 +89845,108 @@
|
|
|
89669
89845
|
}
|
|
89670
89846
|
}
|
|
89671
89847
|
],
|
|
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
|
+
],
|
|
89672
89862
|
"slots": [
|
|
89673
89863
|
{
|
|
89674
|
-
"description": "
|
|
89864
|
+
"description": "Place `esp-tab` elements in the default slot.",
|
|
89675
89865
|
"name": ""
|
|
89676
89866
|
}
|
|
89677
89867
|
],
|
|
89678
89868
|
"members": [
|
|
89679
89869
|
{
|
|
89680
89870
|
"kind": "field",
|
|
89681
|
-
"name": "
|
|
89682
|
-
"type": {
|
|
89683
|
-
"text": "boolean"
|
|
89684
|
-
},
|
|
89685
|
-
"static": true,
|
|
89686
|
-
"default": "true"
|
|
89687
|
-
},
|
|
89688
|
-
{
|
|
89689
|
-
"kind": "field",
|
|
89690
|
-
"name": "internals",
|
|
89871
|
+
"name": "panelsSlot",
|
|
89691
89872
|
"privacy": "private"
|
|
89692
89873
|
},
|
|
89693
89874
|
{
|
|
89694
89875
|
"kind": "field",
|
|
89695
|
-
"name": "
|
|
89696
|
-
"privacy": "private",
|
|
89697
|
-
"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; }, })"
|
|
89698
|
-
},
|
|
89699
|
-
{
|
|
89700
|
-
"kind": "field",
|
|
89701
|
-
"name": "formItemDescription",
|
|
89702
|
-
"privacy": "private",
|
|
89703
|
-
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
89704
|
-
},
|
|
89705
|
-
{
|
|
89706
|
-
"kind": "field",
|
|
89707
|
-
"name": "mode",
|
|
89708
|
-
"type": {
|
|
89709
|
-
"text": "\"switch\" | \"text\""
|
|
89710
|
-
},
|
|
89711
|
-
"privacy": "public",
|
|
89712
|
-
"default": "\"switch\"",
|
|
89713
|
-
"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.",
|
|
89714
|
-
"attribute": "mode",
|
|
89715
|
-
"reflects": true
|
|
89716
|
-
},
|
|
89717
|
-
{
|
|
89718
|
-
"kind": "field",
|
|
89719
|
-
"name": "offLabel",
|
|
89720
|
-
"type": {
|
|
89721
|
-
"text": "string"
|
|
89722
|
-
},
|
|
89723
|
-
"privacy": "public",
|
|
89724
|
-
"default": "\"\"",
|
|
89725
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
89726
|
-
"attribute": "off-label"
|
|
89727
|
-
},
|
|
89728
|
-
{
|
|
89729
|
-
"kind": "field",
|
|
89730
|
-
"name": "onLabel",
|
|
89731
|
-
"type": {
|
|
89732
|
-
"text": "string"
|
|
89733
|
-
},
|
|
89734
|
-
"privacy": "public",
|
|
89735
|
-
"default": "\"\"",
|
|
89736
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
89737
|
-
"attribute": "on-label"
|
|
89738
|
-
},
|
|
89739
|
-
{
|
|
89740
|
-
"kind": "field",
|
|
89741
|
-
"name": "checked",
|
|
89742
|
-
"type": {
|
|
89743
|
-
"text": "boolean"
|
|
89744
|
-
},
|
|
89745
|
-
"privacy": "public",
|
|
89746
|
-
"default": "false",
|
|
89747
|
-
"description": "Whether the switch is in the on state.",
|
|
89748
|
-
"attribute": "checked",
|
|
89749
|
-
"reflects": true
|
|
89750
|
-
},
|
|
89751
|
-
{
|
|
89752
|
-
"kind": "field",
|
|
89753
|
-
"name": "value",
|
|
89754
|
-
"type": {
|
|
89755
|
-
"text": "string"
|
|
89756
|
-
},
|
|
89757
|
-
"privacy": "public",
|
|
89758
|
-
"default": "\"\"",
|
|
89759
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
89760
|
-
"attribute": "value"
|
|
89761
|
-
},
|
|
89762
|
-
{
|
|
89763
|
-
"kind": "field",
|
|
89764
|
-
"name": "name",
|
|
89765
|
-
"type": {
|
|
89766
|
-
"text": "string"
|
|
89767
|
-
},
|
|
89768
|
-
"privacy": "public",
|
|
89769
|
-
"default": "\"\"",
|
|
89770
|
-
"description": "The name used when the switch participates in a `<form>`.",
|
|
89771
|
-
"attribute": "name",
|
|
89772
|
-
"reflects": true
|
|
89773
|
-
},
|
|
89774
|
-
{
|
|
89775
|
-
"kind": "field",
|
|
89776
|
-
"name": "required",
|
|
89876
|
+
"name": "disabled",
|
|
89777
89877
|
"type": {
|
|
89778
89878
|
"text": "boolean"
|
|
89779
89879
|
},
|
|
89780
89880
|
"privacy": "public",
|
|
89781
89881
|
"default": "false",
|
|
89782
|
-
"description": "
|
|
89783
|
-
"attribute": "
|
|
89882
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
89883
|
+
"attribute": "disabled",
|
|
89784
89884
|
"reflects": true
|
|
89785
89885
|
},
|
|
89786
89886
|
{
|
|
89787
89887
|
"kind": "field",
|
|
89788
|
-
"name": "
|
|
89789
|
-
"type": {
|
|
89790
|
-
"text": "string"
|
|
89791
|
-
},
|
|
89792
|
-
"privacy": "public",
|
|
89793
|
-
"default": "\"\"",
|
|
89794
|
-
"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```",
|
|
89795
|
-
"attribute": "required-message"
|
|
89796
|
-
},
|
|
89797
|
-
{
|
|
89798
|
-
"kind": "field",
|
|
89799
|
-
"name": "disabled",
|
|
89888
|
+
"name": "tabData",
|
|
89800
89889
|
"type": {
|
|
89801
|
-
"text": "
|
|
89890
|
+
"text": "TabData[]"
|
|
89802
89891
|
},
|
|
89803
|
-
"privacy": "
|
|
89804
|
-
"default": "
|
|
89805
|
-
"description": "Controls whether the switch is disabled.",
|
|
89806
|
-
"attribute": "disabled",
|
|
89807
|
-
"reflects": true
|
|
89892
|
+
"privacy": "private",
|
|
89893
|
+
"default": "[]"
|
|
89808
89894
|
},
|
|
89809
89895
|
{
|
|
89810
89896
|
"kind": "method",
|
|
89811
|
-
"name": "
|
|
89812
|
-
"privacy": "
|
|
89897
|
+
"name": "getTabs",
|
|
89898
|
+
"privacy": "private",
|
|
89813
89899
|
"return": {
|
|
89814
89900
|
"type": {
|
|
89815
|
-
"text": "
|
|
89816
|
-
}
|
|
89817
|
-
},
|
|
89818
|
-
"parameters": [
|
|
89819
|
-
{
|
|
89820
|
-
"name": "options",
|
|
89821
|
-
"optional": true,
|
|
89822
|
-
"type": {
|
|
89823
|
-
"text": "FocusOptions"
|
|
89824
|
-
}
|
|
89901
|
+
"text": "EspalierTab[]"
|
|
89825
89902
|
}
|
|
89826
|
-
|
|
89827
|
-
"description": "Focus the switch control."
|
|
89903
|
+
}
|
|
89828
89904
|
},
|
|
89829
89905
|
{
|
|
89830
89906
|
"kind": "method",
|
|
89831
|
-
"name": "
|
|
89832
|
-
"privacy": "
|
|
89907
|
+
"name": "syncTabData",
|
|
89908
|
+
"privacy": "private",
|
|
89833
89909
|
"return": {
|
|
89834
89910
|
"type": {
|
|
89835
89911
|
"text": "void"
|
|
89836
89912
|
}
|
|
89837
|
-
}
|
|
89838
|
-
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
89913
|
+
}
|
|
89839
89914
|
},
|
|
89840
89915
|
{
|
|
89841
89916
|
"kind": "method",
|
|
89842
|
-
"name": "
|
|
89843
|
-
"privacy": "
|
|
89917
|
+
"name": "activateTab",
|
|
89918
|
+
"privacy": "private",
|
|
89844
89919
|
"return": {
|
|
89845
89920
|
"type": {
|
|
89846
|
-
"text": "
|
|
89921
|
+
"text": "void"
|
|
89847
89922
|
}
|
|
89848
89923
|
},
|
|
89849
|
-
"
|
|
89924
|
+
"parameters": [
|
|
89925
|
+
{
|
|
89926
|
+
"name": "index",
|
|
89927
|
+
"type": {
|
|
89928
|
+
"text": "number"
|
|
89929
|
+
}
|
|
89930
|
+
}
|
|
89931
|
+
]
|
|
89850
89932
|
},
|
|
89851
89933
|
{
|
|
89852
89934
|
"kind": "method",
|
|
89853
|
-
"name": "
|
|
89935
|
+
"name": "handleTabClick",
|
|
89854
89936
|
"privacy": "private",
|
|
89855
89937
|
"return": {
|
|
89856
89938
|
"type": {
|
|
89857
89939
|
"text": "void"
|
|
89858
89940
|
}
|
|
89859
|
-
}
|
|
89941
|
+
},
|
|
89942
|
+
"parameters": [
|
|
89943
|
+
{
|
|
89944
|
+
"name": "index",
|
|
89945
|
+
"type": {
|
|
89946
|
+
"text": "number"
|
|
89947
|
+
}
|
|
89948
|
+
}
|
|
89949
|
+
]
|
|
89860
89950
|
},
|
|
89861
89951
|
{
|
|
89862
89952
|
"kind": "method",
|
|
@@ -89878,7 +89968,7 @@
|
|
|
89878
89968
|
},
|
|
89879
89969
|
{
|
|
89880
89970
|
"kind": "method",
|
|
89881
|
-
"name": "
|
|
89971
|
+
"name": "handleChildUpdated",
|
|
89882
89972
|
"privacy": "private",
|
|
89883
89973
|
"return": {
|
|
89884
89974
|
"type": {
|
|
@@ -89888,69 +89978,13 @@
|
|
|
89888
89978
|
},
|
|
89889
89979
|
{
|
|
89890
89980
|
"kind": "method",
|
|
89891
|
-
"name": "
|
|
89892
|
-
"privacy": "private",
|
|
89893
|
-
"return": {
|
|
89894
|
-
"type": {
|
|
89895
|
-
"text": "string"
|
|
89896
|
-
}
|
|
89897
|
-
}
|
|
89898
|
-
},
|
|
89899
|
-
{
|
|
89900
|
-
"kind": "method",
|
|
89901
|
-
"name": "getTextModeAriaLabel",
|
|
89981
|
+
"name": "handleSlotChange",
|
|
89902
89982
|
"privacy": "private",
|
|
89903
|
-
"return": {
|
|
89904
|
-
"type": {
|
|
89905
|
-
"text": "string"
|
|
89906
|
-
}
|
|
89907
|
-
}
|
|
89908
|
-
},
|
|
89909
|
-
{
|
|
89910
|
-
"kind": "method",
|
|
89911
|
-
"name": "formResetCallback",
|
|
89912
|
-
"return": {
|
|
89913
|
-
"type": {
|
|
89914
|
-
"text": "void"
|
|
89915
|
-
}
|
|
89916
|
-
},
|
|
89917
|
-
"description": "Called by the browser when the owning `<form>` is reset."
|
|
89918
|
-
},
|
|
89919
|
-
{
|
|
89920
|
-
"kind": "method",
|
|
89921
|
-
"name": "formStateRestoreCallback",
|
|
89922
|
-
"return": {
|
|
89923
|
-
"type": {
|
|
89924
|
-
"text": "void"
|
|
89925
|
-
}
|
|
89926
|
-
},
|
|
89927
|
-
"parameters": [
|
|
89928
|
-
{
|
|
89929
|
-
"name": "state",
|
|
89930
|
-
"type": {
|
|
89931
|
-
"text": "string"
|
|
89932
|
-
}
|
|
89933
|
-
}
|
|
89934
|
-
],
|
|
89935
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
89936
|
-
},
|
|
89937
|
-
{
|
|
89938
|
-
"kind": "method",
|
|
89939
|
-
"name": "formDisabledCallback",
|
|
89940
89983
|
"return": {
|
|
89941
89984
|
"type": {
|
|
89942
89985
|
"text": "void"
|
|
89943
89986
|
}
|
|
89944
|
-
}
|
|
89945
|
-
"parameters": [
|
|
89946
|
-
{
|
|
89947
|
-
"name": "isDisabled",
|
|
89948
|
-
"type": {
|
|
89949
|
-
"text": "boolean"
|
|
89950
|
-
}
|
|
89951
|
-
}
|
|
89952
|
-
],
|
|
89953
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
89987
|
+
}
|
|
89954
89988
|
},
|
|
89955
89989
|
{
|
|
89956
89990
|
"kind": "field",
|
|
@@ -90680,99 +90714,20 @@
|
|
|
90680
90714
|
"events": [
|
|
90681
90715
|
{
|
|
90682
90716
|
"type": {
|
|
90683
|
-
"text": "CustomEvent<{
|
|
90684
|
-
},
|
|
90685
|
-
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
90686
|
-
"name": "esp-value-changed"
|
|
90687
|
-
},
|
|
90688
|
-
{
|
|
90689
|
-
"type": {
|
|
90690
|
-
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
90717
|
+
"text": "CustomEvent<{ index: number; label: string }>"
|
|
90691
90718
|
},
|
|
90692
|
-
"description": "Fired
|
|
90693
|
-
"name": "esp-
|
|
90719
|
+
"description": "Fired when the active tab changes. The detail contains the `index` and `label` of the newly active tab.",
|
|
90720
|
+
"name": "esp-tab-group-changed"
|
|
90694
90721
|
}
|
|
90695
90722
|
],
|
|
90696
90723
|
"attributes": [
|
|
90697
|
-
{
|
|
90698
|
-
"name": "mode",
|
|
90699
|
-
"type": {
|
|
90700
|
-
"text": "\"switch\" | \"text\""
|
|
90701
|
-
},
|
|
90702
|
-
"default": "\"switch\"",
|
|
90703
|
-
"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.",
|
|
90704
|
-
"fieldName": "mode"
|
|
90705
|
-
},
|
|
90706
|
-
{
|
|
90707
|
-
"name": "off-label",
|
|
90708
|
-
"type": {
|
|
90709
|
-
"text": "string"
|
|
90710
|
-
},
|
|
90711
|
-
"default": "\"\"",
|
|
90712
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
90713
|
-
"fieldName": "offLabel"
|
|
90714
|
-
},
|
|
90715
|
-
{
|
|
90716
|
-
"name": "on-label",
|
|
90717
|
-
"type": {
|
|
90718
|
-
"text": "string"
|
|
90719
|
-
},
|
|
90720
|
-
"default": "\"\"",
|
|
90721
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
90722
|
-
"fieldName": "onLabel"
|
|
90723
|
-
},
|
|
90724
|
-
{
|
|
90725
|
-
"name": "checked",
|
|
90726
|
-
"type": {
|
|
90727
|
-
"text": "boolean"
|
|
90728
|
-
},
|
|
90729
|
-
"default": "false",
|
|
90730
|
-
"description": "Whether the switch is in the on state.",
|
|
90731
|
-
"fieldName": "checked"
|
|
90732
|
-
},
|
|
90733
|
-
{
|
|
90734
|
-
"name": "value",
|
|
90735
|
-
"type": {
|
|
90736
|
-
"text": "string"
|
|
90737
|
-
},
|
|
90738
|
-
"default": "\"\"",
|
|
90739
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
90740
|
-
"fieldName": "value"
|
|
90741
|
-
},
|
|
90742
|
-
{
|
|
90743
|
-
"name": "name",
|
|
90744
|
-
"type": {
|
|
90745
|
-
"text": "string"
|
|
90746
|
-
},
|
|
90747
|
-
"default": "\"\"",
|
|
90748
|
-
"description": "The name used when the switch participates in a `<form>`.",
|
|
90749
|
-
"fieldName": "name"
|
|
90750
|
-
},
|
|
90751
|
-
{
|
|
90752
|
-
"name": "required",
|
|
90753
|
-
"type": {
|
|
90754
|
-
"text": "boolean"
|
|
90755
|
-
},
|
|
90756
|
-
"default": "false",
|
|
90757
|
-
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
90758
|
-
"fieldName": "required"
|
|
90759
|
-
},
|
|
90760
|
-
{
|
|
90761
|
-
"name": "required-message",
|
|
90762
|
-
"type": {
|
|
90763
|
-
"text": "string"
|
|
90764
|
-
},
|
|
90765
|
-
"default": "\"\"",
|
|
90766
|
-
"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```",
|
|
90767
|
-
"fieldName": "requiredMessage"
|
|
90768
|
-
},
|
|
90769
90724
|
{
|
|
90770
90725
|
"name": "disabled",
|
|
90771
90726
|
"type": {
|
|
90772
90727
|
"text": "boolean"
|
|
90773
90728
|
},
|
|
90774
90729
|
"default": "false",
|
|
90775
|
-
"description": "
|
|
90730
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
90776
90731
|
"fieldName": "disabled"
|
|
90777
90732
|
},
|
|
90778
90733
|
{
|
|
@@ -90828,84 +90783,60 @@
|
|
|
90828
90783
|
"name": "EspalierElementBase",
|
|
90829
90784
|
"module": "dist/shared/esp-element-base.js"
|
|
90830
90785
|
},
|
|
90786
|
+
"tagName": "esp-tab-group",
|
|
90787
|
+
"customElement": true,
|
|
90831
90788
|
"docPageTitle": {
|
|
90832
|
-
"name": "
|
|
90833
|
-
"description": ""
|
|
90789
|
+
"name": "Tab",
|
|
90790
|
+
"description": "Group"
|
|
90834
90791
|
},
|
|
90835
90792
|
"docUrl": {
|
|
90836
|
-
"name": "/components/
|
|
90793
|
+
"name": "/components/tabs",
|
|
90837
90794
|
"description": ""
|
|
90838
90795
|
},
|
|
90839
90796
|
"menuGroup": {
|
|
90840
|
-
"name": "
|
|
90841
|
-
"description": "
|
|
90797
|
+
"name": "Navigation",
|
|
90798
|
+
"description": ""
|
|
90842
90799
|
},
|
|
90843
90800
|
"menuLabel": {
|
|
90844
|
-
"name": "
|
|
90845
|
-
"description": ""
|
|
90801
|
+
"name": "Tab",
|
|
90802
|
+
"description": "Group"
|
|
90846
90803
|
},
|
|
90847
90804
|
"menuIcon": {
|
|
90848
|
-
"name": "
|
|
90805
|
+
"name": "layout-navbar",
|
|
90849
90806
|
"description": ""
|
|
90850
|
-
}
|
|
90851
|
-
"tagName": "esp-switch",
|
|
90852
|
-
"customElement": true
|
|
90807
|
+
}
|
|
90853
90808
|
}
|
|
90854
90809
|
],
|
|
90855
90810
|
"exports": [
|
|
90856
90811
|
{
|
|
90857
90812
|
"kind": "js",
|
|
90858
|
-
"name": "
|
|
90813
|
+
"name": "EspalierTabGroup",
|
|
90859
90814
|
"declaration": {
|
|
90860
|
-
"name": "
|
|
90861
|
-
"module": "dist/
|
|
90815
|
+
"name": "EspalierTabGroup",
|
|
90816
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
90862
90817
|
}
|
|
90863
90818
|
},
|
|
90864
90819
|
{
|
|
90865
90820
|
"kind": "custom-element-definition",
|
|
90866
|
-
"name": "esp-
|
|
90821
|
+
"name": "esp-tab-group",
|
|
90867
90822
|
"declaration": {
|
|
90868
|
-
"name": "
|
|
90869
|
-
"module": "dist/
|
|
90823
|
+
"name": "EspalierTabGroup",
|
|
90824
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
90870
90825
|
}
|
|
90871
90826
|
}
|
|
90872
90827
|
]
|
|
90873
90828
|
},
|
|
90874
90829
|
{
|
|
90875
90830
|
"kind": "javascript-module",
|
|
90876
|
-
"path": "dist/tabs/esp-tab
|
|
90831
|
+
"path": "dist/tabs/esp-tab.js",
|
|
90877
90832
|
"declarations": [
|
|
90878
90833
|
{
|
|
90879
90834
|
"kind": "class",
|
|
90880
|
-
"description": "A
|
|
90881
|
-
"name": "
|
|
90835
|
+
"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```",
|
|
90836
|
+
"name": "EspalierTab",
|
|
90882
90837
|
"cssProperties": [
|
|
90883
90838
|
{
|
|
90884
|
-
"description": "
|
|
90885
|
-
"name": "--esp-tab-color-border"
|
|
90886
|
-
},
|
|
90887
|
-
{
|
|
90888
|
-
"description": "Background color of the overall component.",
|
|
90889
|
-
"name": "--esp-tab-color-background"
|
|
90890
|
-
},
|
|
90891
|
-
{
|
|
90892
|
-
"description": "Background color of the tab strip.",
|
|
90893
|
-
"name": "--esp-tab-color-strip-background"
|
|
90894
|
-
},
|
|
90895
|
-
{
|
|
90896
|
-
"description": "Tab button hover background.",
|
|
90897
|
-
"name": "--esp-tab-color-button-hover"
|
|
90898
|
-
},
|
|
90899
|
-
{
|
|
90900
|
-
"description": "Active tab button background.",
|
|
90901
|
-
"name": "--esp-tab-color-button-active"
|
|
90902
|
-
},
|
|
90903
|
-
{
|
|
90904
|
-
"description": "Text color for tab buttons.",
|
|
90905
|
-
"name": "--esp-tab-color-text"
|
|
90906
|
-
},
|
|
90907
|
-
{
|
|
90908
|
-
"description": "Padding inside the panel area and tab buttons.",
|
|
90839
|
+
"description": "Padding inside the panel area.",
|
|
90909
90840
|
"name": "--esp-tab-size-padding"
|
|
90910
90841
|
},
|
|
90911
90842
|
{
|
|
@@ -90967,144 +90898,51 @@
|
|
|
90967
90898
|
],
|
|
90968
90899
|
"cssParts": [
|
|
90969
90900
|
{
|
|
90970
|
-
"description": "The
|
|
90971
|
-
"name": "
|
|
90972
|
-
},
|
|
90973
|
-
{
|
|
90974
|
-
"description": "Each individual tab button in the strip.",
|
|
90975
|
-
"name": "tab-button"
|
|
90976
|
-
},
|
|
90977
|
-
{
|
|
90978
|
-
"description": "The panel area below the tab strip.",
|
|
90979
|
-
"name": "panels"
|
|
90901
|
+
"description": "The panel wrapper element.",
|
|
90902
|
+
"name": "panel"
|
|
90980
90903
|
}
|
|
90981
90904
|
],
|
|
90982
90905
|
"slots": [
|
|
90983
90906
|
{
|
|
90984
|
-
"description": "
|
|
90907
|
+
"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.",
|
|
90985
90908
|
"name": ""
|
|
90986
90909
|
}
|
|
90987
90910
|
],
|
|
90988
90911
|
"members": [
|
|
90989
90912
|
{
|
|
90990
90913
|
"kind": "field",
|
|
90991
|
-
"name": "
|
|
90992
|
-
"
|
|
90914
|
+
"name": "label",
|
|
90915
|
+
"type": {
|
|
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"
|
|
90993
90922
|
},
|
|
90994
90923
|
{
|
|
90995
90924
|
"kind": "field",
|
|
90996
|
-
"name": "
|
|
90925
|
+
"name": "active",
|
|
90997
90926
|
"type": {
|
|
90998
90927
|
"text": "boolean"
|
|
90999
90928
|
},
|
|
91000
90929
|
"privacy": "public",
|
|
91001
90930
|
"default": "false",
|
|
91002
|
-
"description": "
|
|
91003
|
-
"attribute": "
|
|
90931
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
90932
|
+
"attribute": "active",
|
|
91004
90933
|
"reflects": true
|
|
91005
90934
|
},
|
|
91006
90935
|
{
|
|
91007
90936
|
"kind": "field",
|
|
91008
|
-
"name": "
|
|
90937
|
+
"name": "disabled",
|
|
91009
90938
|
"type": {
|
|
91010
|
-
"text": "
|
|
91011
|
-
},
|
|
91012
|
-
"privacy": "private",
|
|
91013
|
-
"default": "[]"
|
|
91014
|
-
},
|
|
91015
|
-
{
|
|
91016
|
-
"kind": "method",
|
|
91017
|
-
"name": "getTabs",
|
|
91018
|
-
"privacy": "private",
|
|
91019
|
-
"return": {
|
|
91020
|
-
"type": {
|
|
91021
|
-
"text": "EspalierTab[]"
|
|
91022
|
-
}
|
|
91023
|
-
}
|
|
91024
|
-
},
|
|
91025
|
-
{
|
|
91026
|
-
"kind": "method",
|
|
91027
|
-
"name": "syncTabData",
|
|
91028
|
-
"privacy": "private",
|
|
91029
|
-
"return": {
|
|
91030
|
-
"type": {
|
|
91031
|
-
"text": "void"
|
|
91032
|
-
}
|
|
91033
|
-
}
|
|
91034
|
-
},
|
|
91035
|
-
{
|
|
91036
|
-
"kind": "method",
|
|
91037
|
-
"name": "activateTab",
|
|
91038
|
-
"privacy": "private",
|
|
91039
|
-
"return": {
|
|
91040
|
-
"type": {
|
|
91041
|
-
"text": "void"
|
|
91042
|
-
}
|
|
91043
|
-
},
|
|
91044
|
-
"parameters": [
|
|
91045
|
-
{
|
|
91046
|
-
"name": "index",
|
|
91047
|
-
"type": {
|
|
91048
|
-
"text": "number"
|
|
91049
|
-
}
|
|
91050
|
-
}
|
|
91051
|
-
]
|
|
91052
|
-
},
|
|
91053
|
-
{
|
|
91054
|
-
"kind": "method",
|
|
91055
|
-
"name": "handleTabClick",
|
|
91056
|
-
"privacy": "private",
|
|
91057
|
-
"return": {
|
|
91058
|
-
"type": {
|
|
91059
|
-
"text": "void"
|
|
91060
|
-
}
|
|
91061
|
-
},
|
|
91062
|
-
"parameters": [
|
|
91063
|
-
{
|
|
91064
|
-
"name": "index",
|
|
91065
|
-
"type": {
|
|
91066
|
-
"text": "number"
|
|
91067
|
-
}
|
|
91068
|
-
}
|
|
91069
|
-
]
|
|
91070
|
-
},
|
|
91071
|
-
{
|
|
91072
|
-
"kind": "method",
|
|
91073
|
-
"name": "handleKeyDown",
|
|
91074
|
-
"privacy": "private",
|
|
91075
|
-
"return": {
|
|
91076
|
-
"type": {
|
|
91077
|
-
"text": "void"
|
|
91078
|
-
}
|
|
90939
|
+
"text": "boolean"
|
|
91079
90940
|
},
|
|
91080
|
-
"
|
|
91081
|
-
|
|
91082
|
-
|
|
91083
|
-
|
|
91084
|
-
|
|
91085
|
-
}
|
|
91086
|
-
}
|
|
91087
|
-
]
|
|
91088
|
-
},
|
|
91089
|
-
{
|
|
91090
|
-
"kind": "method",
|
|
91091
|
-
"name": "handleChildUpdated",
|
|
91092
|
-
"privacy": "private",
|
|
91093
|
-
"return": {
|
|
91094
|
-
"type": {
|
|
91095
|
-
"text": "void"
|
|
91096
|
-
}
|
|
91097
|
-
}
|
|
91098
|
-
},
|
|
91099
|
-
{
|
|
91100
|
-
"kind": "method",
|
|
91101
|
-
"name": "handleSlotChange",
|
|
91102
|
-
"privacy": "private",
|
|
91103
|
-
"return": {
|
|
91104
|
-
"type": {
|
|
91105
|
-
"text": "void"
|
|
91106
|
-
}
|
|
91107
|
-
}
|
|
90941
|
+
"privacy": "public",
|
|
90942
|
+
"default": "false",
|
|
90943
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
90944
|
+
"attribute": "disabled",
|
|
90945
|
+
"reflects": true
|
|
91108
90946
|
},
|
|
91109
90947
|
{
|
|
91110
90948
|
"kind": "field",
|
|
@@ -91831,23 +91669,33 @@
|
|
|
91831
91669
|
}
|
|
91832
91670
|
}
|
|
91833
91671
|
],
|
|
91834
|
-
"events": [
|
|
91672
|
+
"events": [],
|
|
91673
|
+
"attributes": [
|
|
91835
91674
|
{
|
|
91675
|
+
"name": "label",
|
|
91836
91676
|
"type": {
|
|
91837
|
-
"text": "
|
|
91677
|
+
"text": "string"
|
|
91838
91678
|
},
|
|
91839
|
-
"
|
|
91840
|
-
"
|
|
91841
|
-
|
|
91842
|
-
|
|
91843
|
-
|
|
91679
|
+
"default": "\"\"",
|
|
91680
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
91681
|
+
"fieldName": "label"
|
|
91682
|
+
},
|
|
91683
|
+
{
|
|
91684
|
+
"name": "active",
|
|
91685
|
+
"type": {
|
|
91686
|
+
"text": "boolean"
|
|
91687
|
+
},
|
|
91688
|
+
"default": "false",
|
|
91689
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
91690
|
+
"fieldName": "active"
|
|
91691
|
+
},
|
|
91844
91692
|
{
|
|
91845
91693
|
"name": "disabled",
|
|
91846
91694
|
"type": {
|
|
91847
91695
|
"text": "boolean"
|
|
91848
91696
|
},
|
|
91849
91697
|
"default": "false",
|
|
91850
|
-
"description": "
|
|
91698
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
91851
91699
|
"fieldName": "disabled"
|
|
91852
91700
|
},
|
|
91853
91701
|
{
|
|
@@ -91903,61 +91751,97 @@
|
|
|
91903
91751
|
"name": "EspalierElementBase",
|
|
91904
91752
|
"module": "dist/shared/esp-element-base.js"
|
|
91905
91753
|
},
|
|
91906
|
-
"tagName": "esp-tab
|
|
91754
|
+
"tagName": "esp-tab",
|
|
91907
91755
|
"customElement": true,
|
|
91908
91756
|
"docPageTitle": {
|
|
91909
91757
|
"name": "Tab",
|
|
91910
|
-
"description": "
|
|
91758
|
+
"description": ""
|
|
91911
91759
|
},
|
|
91912
91760
|
"docUrl": {
|
|
91913
|
-
"name": "/components/tabs",
|
|
91761
|
+
"name": "/components/tabs/tab",
|
|
91914
91762
|
"description": ""
|
|
91915
91763
|
},
|
|
91916
91764
|
"menuGroup": {
|
|
91917
91765
|
"name": "Navigation",
|
|
91918
91766
|
"description": ""
|
|
91919
|
-
},
|
|
91920
|
-
"menuLabel": {
|
|
91921
|
-
"name": "Tab",
|
|
91922
|
-
"description": "Group"
|
|
91923
|
-
},
|
|
91924
|
-
"menuIcon": {
|
|
91925
|
-
"name": "layout-navbar",
|
|
91926
|
-
"description": ""
|
|
91927
91767
|
}
|
|
91928
91768
|
}
|
|
91929
91769
|
],
|
|
91930
91770
|
"exports": [
|
|
91931
91771
|
{
|
|
91932
91772
|
"kind": "js",
|
|
91933
|
-
"name": "
|
|
91773
|
+
"name": "EspalierTab",
|
|
91934
91774
|
"declaration": {
|
|
91935
|
-
"name": "
|
|
91936
|
-
"module": "dist/tabs/esp-tab
|
|
91775
|
+
"name": "EspalierTab",
|
|
91776
|
+
"module": "dist/tabs/esp-tab.js"
|
|
91937
91777
|
}
|
|
91938
91778
|
},
|
|
91939
91779
|
{
|
|
91940
91780
|
"kind": "custom-element-definition",
|
|
91941
|
-
"name": "esp-tab
|
|
91781
|
+
"name": "esp-tab",
|
|
91942
91782
|
"declaration": {
|
|
91943
|
-
"name": "
|
|
91944
|
-
"module": "dist/tabs/esp-tab
|
|
91783
|
+
"name": "EspalierTab",
|
|
91784
|
+
"module": "dist/tabs/esp-tab.js"
|
|
91945
91785
|
}
|
|
91946
91786
|
}
|
|
91947
91787
|
]
|
|
91948
91788
|
},
|
|
91949
91789
|
{
|
|
91950
91790
|
"kind": "javascript-module",
|
|
91951
|
-
"path": "dist/
|
|
91791
|
+
"path": "dist/switch/esp-switch.js",
|
|
91952
91792
|
"declarations": [
|
|
91953
91793
|
{
|
|
91954
91794
|
"kind": "class",
|
|
91955
|
-
"description": "
|
|
91956
|
-
"name": "
|
|
91795
|
+
"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.",
|
|
91796
|
+
"name": "EspalierSwitch",
|
|
91957
91797
|
"cssProperties": [
|
|
91958
91798
|
{
|
|
91959
|
-
"description": "
|
|
91960
|
-
"name": "--esp-
|
|
91799
|
+
"description": "The width of the switch track. Defaults to `calc(var(--esp-size-normal-to-medium) * 1.75)`.",
|
|
91800
|
+
"name": "--esp-switch-width"
|
|
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"
|
|
91961
91845
|
},
|
|
91962
91846
|
{
|
|
91963
91847
|
"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.",
|
|
@@ -92016,42 +91900,131 @@
|
|
|
92016
91900
|
}
|
|
92017
91901
|
}
|
|
92018
91902
|
],
|
|
92019
|
-
"cssParts": [
|
|
92020
|
-
{
|
|
92021
|
-
"description": "The panel wrapper element.",
|
|
92022
|
-
"name": "panel"
|
|
92023
|
-
}
|
|
92024
|
-
],
|
|
92025
91903
|
"slots": [
|
|
92026
91904
|
{
|
|
92027
|
-
"description": "The
|
|
91905
|
+
"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.",
|
|
92028
91906
|
"name": ""
|
|
92029
91907
|
}
|
|
92030
91908
|
],
|
|
92031
91909
|
"members": [
|
|
92032
91910
|
{
|
|
92033
91911
|
"kind": "field",
|
|
92034
|
-
"name": "
|
|
91912
|
+
"name": "formAssociated",
|
|
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",
|
|
92035
91951
|
"type": {
|
|
92036
91952
|
"text": "string"
|
|
92037
91953
|
},
|
|
92038
91954
|
"privacy": "public",
|
|
92039
91955
|
"default": "\"\"",
|
|
92040
|
-
"description": "
|
|
92041
|
-
"attribute": "label"
|
|
91956
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
91957
|
+
"attribute": "off-label"
|
|
92042
91958
|
},
|
|
92043
91959
|
{
|
|
92044
91960
|
"kind": "field",
|
|
92045
|
-
"name": "
|
|
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",
|
|
92046
91973
|
"type": {
|
|
92047
91974
|
"text": "boolean"
|
|
92048
91975
|
},
|
|
92049
91976
|
"privacy": "public",
|
|
92050
91977
|
"default": "false",
|
|
92051
|
-
"description": "Whether
|
|
92052
|
-
"attribute": "
|
|
91978
|
+
"description": "Whether the switch is in the on state.",
|
|
91979
|
+
"attribute": "checked",
|
|
92053
91980
|
"reflects": true
|
|
92054
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",
|
|
91996
|
+
"type": {
|
|
91997
|
+
"text": "string"
|
|
91998
|
+
},
|
|
91999
|
+
"privacy": "public",
|
|
92000
|
+
"default": "\"\"",
|
|
92001
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
92002
|
+
"attribute": "name",
|
|
92003
|
+
"reflects": true
|
|
92004
|
+
},
|
|
92005
|
+
{
|
|
92006
|
+
"kind": "field",
|
|
92007
|
+
"name": "required",
|
|
92008
|
+
"type": {
|
|
92009
|
+
"text": "boolean"
|
|
92010
|
+
},
|
|
92011
|
+
"privacy": "public",
|
|
92012
|
+
"default": "false",
|
|
92013
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
92014
|
+
"attribute": "required",
|
|
92015
|
+
"reflects": true
|
|
92016
|
+
},
|
|
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
|
+
},
|
|
92055
92028
|
{
|
|
92056
92029
|
"kind": "field",
|
|
92057
92030
|
"name": "disabled",
|
|
@@ -92060,10 +92033,156 @@
|
|
|
92060
92033
|
},
|
|
92061
92034
|
"privacy": "public",
|
|
92062
92035
|
"default": "false",
|
|
92063
|
-
"description": "
|
|
92036
|
+
"description": "Controls whether the switch is disabled.",
|
|
92064
92037
|
"attribute": "disabled",
|
|
92065
92038
|
"reflects": true
|
|
92066
92039
|
},
|
|
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
|
+
},
|
|
92067
92186
|
{
|
|
92068
92187
|
"kind": "field",
|
|
92069
92188
|
"name": "seedColorBacker",
|
|
@@ -92789,25 +92908,94 @@
|
|
|
92789
92908
|
}
|
|
92790
92909
|
}
|
|
92791
92910
|
],
|
|
92792
|
-
"events": [
|
|
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
|
+
],
|
|
92793
92927
|
"attributes": [
|
|
92794
92928
|
{
|
|
92795
|
-
"name": "
|
|
92929
|
+
"name": "mode",
|
|
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",
|
|
92796
92939
|
"type": {
|
|
92797
92940
|
"text": "string"
|
|
92798
92941
|
},
|
|
92799
92942
|
"default": "\"\"",
|
|
92800
|
-
"description": "
|
|
92801
|
-
"fieldName": "
|
|
92943
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
92944
|
+
"fieldName": "offLabel"
|
|
92802
92945
|
},
|
|
92803
92946
|
{
|
|
92804
|
-
"name": "
|
|
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",
|
|
92805
92957
|
"type": {
|
|
92806
92958
|
"text": "boolean"
|
|
92807
92959
|
},
|
|
92808
92960
|
"default": "false",
|
|
92809
|
-
"description": "Whether
|
|
92810
|
-
"fieldName": "
|
|
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",
|
|
92975
|
+
"type": {
|
|
92976
|
+
"text": "string"
|
|
92977
|
+
},
|
|
92978
|
+
"default": "\"\"",
|
|
92979
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
92980
|
+
"fieldName": "name"
|
|
92981
|
+
},
|
|
92982
|
+
{
|
|
92983
|
+
"name": "required",
|
|
92984
|
+
"type": {
|
|
92985
|
+
"text": "boolean"
|
|
92986
|
+
},
|
|
92987
|
+
"default": "false",
|
|
92988
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
92989
|
+
"fieldName": "required"
|
|
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"
|
|
92811
92999
|
},
|
|
92812
93000
|
{
|
|
92813
93001
|
"name": "disabled",
|
|
@@ -92815,7 +93003,7 @@
|
|
|
92815
93003
|
"text": "boolean"
|
|
92816
93004
|
},
|
|
92817
93005
|
"default": "false",
|
|
92818
|
-
"description": "
|
|
93006
|
+
"description": "Controls whether the switch is disabled.",
|
|
92819
93007
|
"fieldName": "disabled"
|
|
92820
93008
|
},
|
|
92821
93009
|
{
|
|
@@ -92871,37 +93059,45 @@
|
|
|
92871
93059
|
"name": "EspalierElementBase",
|
|
92872
93060
|
"module": "dist/shared/esp-element-base.js"
|
|
92873
93061
|
},
|
|
92874
|
-
"tagName": "esp-tab",
|
|
92875
|
-
"customElement": true,
|
|
92876
93062
|
"docPageTitle": {
|
|
92877
|
-
"name": "
|
|
93063
|
+
"name": "Switch",
|
|
92878
93064
|
"description": ""
|
|
92879
93065
|
},
|
|
92880
93066
|
"docUrl": {
|
|
92881
|
-
"name": "/components/
|
|
93067
|
+
"name": "/components/switch",
|
|
92882
93068
|
"description": ""
|
|
92883
93069
|
},
|
|
92884
93070
|
"menuGroup": {
|
|
92885
|
-
"name": "
|
|
93071
|
+
"name": "Form",
|
|
93072
|
+
"description": "Controls"
|
|
93073
|
+
},
|
|
93074
|
+
"menuLabel": {
|
|
93075
|
+
"name": "Switch",
|
|
92886
93076
|
"description": ""
|
|
92887
|
-
}
|
|
93077
|
+
},
|
|
93078
|
+
"menuIcon": {
|
|
93079
|
+
"name": "button",
|
|
93080
|
+
"description": ""
|
|
93081
|
+
},
|
|
93082
|
+
"tagName": "esp-switch",
|
|
93083
|
+
"customElement": true
|
|
92888
93084
|
}
|
|
92889
93085
|
],
|
|
92890
93086
|
"exports": [
|
|
92891
93087
|
{
|
|
92892
93088
|
"kind": "js",
|
|
92893
|
-
"name": "
|
|
93089
|
+
"name": "EspalierSwitch",
|
|
92894
93090
|
"declaration": {
|
|
92895
|
-
"name": "
|
|
92896
|
-
"module": "dist/
|
|
93091
|
+
"name": "EspalierSwitch",
|
|
93092
|
+
"module": "dist/switch/esp-switch.js"
|
|
92897
93093
|
}
|
|
92898
93094
|
},
|
|
92899
93095
|
{
|
|
92900
93096
|
"kind": "custom-element-definition",
|
|
92901
|
-
"name": "esp-
|
|
93097
|
+
"name": "esp-switch",
|
|
92902
93098
|
"declaration": {
|
|
92903
|
-
"name": "
|
|
92904
|
-
"module": "dist/
|
|
93099
|
+
"name": "EspalierSwitch",
|
|
93100
|
+
"module": "dist/switch/esp-switch.js"
|
|
92905
93101
|
}
|
|
92906
93102
|
}
|
|
92907
93103
|
]
|
|
@@ -102720,6 +102916,341 @@
|
|
|
102720
102916
|
}
|
|
102721
102917
|
]
|
|
102722
102918
|
},
|
|
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
|
+
},
|
|
102723
103254
|
{
|
|
102724
103255
|
"kind": "javascript-module",
|
|
102725
103256
|
"path": "dist/date-picker/helpers/calendar-grid.js",
|
|
@@ -103365,341 +103896,6 @@
|
|
|
103365
103896
|
"declarations": [],
|
|
103366
103897
|
"exports": []
|
|
103367
103898
|
},
|
|
103368
|
-
{
|
|
103369
|
-
"kind": "javascript-module",
|
|
103370
|
-
"path": "dist/root/helpers/compute-semantic-properties.js",
|
|
103371
|
-
"declarations": [
|
|
103372
|
-
{
|
|
103373
|
-
"kind": "function",
|
|
103374
|
-
"name": "computeSemanticProperties",
|
|
103375
|
-
"return": {
|
|
103376
|
-
"type": {
|
|
103377
|
-
"text": "Record<string, string>"
|
|
103378
|
-
}
|
|
103379
|
-
},
|
|
103380
|
-
"parameters": [
|
|
103381
|
-
{
|
|
103382
|
-
"name": "theme",
|
|
103383
|
-
"type": {
|
|
103384
|
-
"text": "EspalierTheme"
|
|
103385
|
-
}
|
|
103386
|
-
},
|
|
103387
|
-
{
|
|
103388
|
-
"name": "variants",
|
|
103389
|
-
"type": {
|
|
103390
|
-
"text": "Record<ColorSource, OklchColor>"
|
|
103391
|
-
}
|
|
103392
|
-
},
|
|
103393
|
-
{
|
|
103394
|
-
"name": "options",
|
|
103395
|
-
"default": "{}",
|
|
103396
|
-
"type": {
|
|
103397
|
-
"text": "ComputeSemanticPropertiesOptions"
|
|
103398
|
-
}
|
|
103399
|
-
}
|
|
103400
|
-
],
|
|
103401
|
-
"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."
|
|
103402
|
-
}
|
|
103403
|
-
],
|
|
103404
|
-
"exports": [
|
|
103405
|
-
{
|
|
103406
|
-
"kind": "js",
|
|
103407
|
-
"name": "computeSemanticProperties",
|
|
103408
|
-
"declaration": {
|
|
103409
|
-
"name": "computeSemanticProperties",
|
|
103410
|
-
"module": "dist/root/helpers/compute-semantic-properties.js"
|
|
103411
|
-
}
|
|
103412
|
-
}
|
|
103413
|
-
]
|
|
103414
|
-
},
|
|
103415
|
-
{
|
|
103416
|
-
"kind": "javascript-module",
|
|
103417
|
-
"path": "dist/root/helpers/compute-theme-properties.js",
|
|
103418
|
-
"declarations": [
|
|
103419
|
-
{
|
|
103420
|
-
"kind": "function",
|
|
103421
|
-
"name": "dataSeriesProperties",
|
|
103422
|
-
"return": {
|
|
103423
|
-
"type": {
|
|
103424
|
-
"text": "Record<string, string>"
|
|
103425
|
-
}
|
|
103426
|
-
},
|
|
103427
|
-
"parameters": [
|
|
103428
|
-
{
|
|
103429
|
-
"name": "theme",
|
|
103430
|
-
"type": {
|
|
103431
|
-
"text": "EspalierTheme"
|
|
103432
|
-
}
|
|
103433
|
-
},
|
|
103434
|
-
{
|
|
103435
|
-
"name": "seed",
|
|
103436
|
-
"type": {
|
|
103437
|
-
"text": "OklchColor"
|
|
103438
|
-
}
|
|
103439
|
-
},
|
|
103440
|
-
{
|
|
103441
|
-
"name": "resolve",
|
|
103442
|
-
"type": {
|
|
103443
|
-
"text": "(source: unknown, label: string) => string"
|
|
103444
|
-
}
|
|
103445
|
-
},
|
|
103446
|
-
{
|
|
103447
|
-
"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.",
|
|
103448
|
-
"name": "trace"
|
|
103449
|
-
}
|
|
103450
|
-
],
|
|
103451
|
-
"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."
|
|
103452
|
-
},
|
|
103453
|
-
{
|
|
103454
|
-
"kind": "function",
|
|
103455
|
-
"name": "computeThemeProperties",
|
|
103456
|
-
"return": {
|
|
103457
|
-
"type": {
|
|
103458
|
-
"text": "Record<string, string>"
|
|
103459
|
-
}
|
|
103460
|
-
},
|
|
103461
|
-
"parameters": [
|
|
103462
|
-
{
|
|
103463
|
-
"name": "theme",
|
|
103464
|
-
"type": {
|
|
103465
|
-
"text": "EspalierTheme"
|
|
103466
|
-
}
|
|
103467
|
-
},
|
|
103468
|
-
{
|
|
103469
|
-
"name": "scheme",
|
|
103470
|
-
"type": {
|
|
103471
|
-
"text": "\"light\" | \"dark\""
|
|
103472
|
-
}
|
|
103473
|
-
},
|
|
103474
|
-
{
|
|
103475
|
-
"name": "trace",
|
|
103476
|
-
"optional": true,
|
|
103477
|
-
"type": {
|
|
103478
|
-
"text": "ThemeFitTraceEntry[]"
|
|
103479
|
-
}
|
|
103480
|
-
}
|
|
103481
|
-
]
|
|
103482
|
-
}
|
|
103483
|
-
],
|
|
103484
|
-
"exports": [
|
|
103485
|
-
{
|
|
103486
|
-
"kind": "js",
|
|
103487
|
-
"name": "dataSeriesProperties",
|
|
103488
|
-
"declaration": {
|
|
103489
|
-
"name": "dataSeriesProperties",
|
|
103490
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103491
|
-
}
|
|
103492
|
-
},
|
|
103493
|
-
{
|
|
103494
|
-
"kind": "js",
|
|
103495
|
-
"name": "computeThemeProperties",
|
|
103496
|
-
"declaration": {
|
|
103497
|
-
"name": "computeThemeProperties",
|
|
103498
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103499
|
-
}
|
|
103500
|
-
}
|
|
103501
|
-
]
|
|
103502
|
-
},
|
|
103503
|
-
{
|
|
103504
|
-
"kind": "javascript-module",
|
|
103505
|
-
"path": "dist/root/helpers/compute-variants.js",
|
|
103506
|
-
"declarations": [],
|
|
103507
|
-
"exports": [
|
|
103508
|
-
{
|
|
103509
|
-
"kind": "js",
|
|
103510
|
-
"name": "computeVariants",
|
|
103511
|
-
"declaration": {
|
|
103512
|
-
"name": "computeVariants",
|
|
103513
|
-
"module": "../../shared/variant-engine.js"
|
|
103514
|
-
}
|
|
103515
|
-
},
|
|
103516
|
-
{
|
|
103517
|
-
"kind": "js",
|
|
103518
|
-
"name": "resolveMappingSource",
|
|
103519
|
-
"declaration": {
|
|
103520
|
-
"name": "resolveMappingSource",
|
|
103521
|
-
"module": "../../shared/variant-engine.js"
|
|
103522
|
-
}
|
|
103523
|
-
}
|
|
103524
|
-
]
|
|
103525
|
-
},
|
|
103526
|
-
{
|
|
103527
|
-
"kind": "javascript-module",
|
|
103528
|
-
"path": "dist/root/helpers/data-companion-properties.js",
|
|
103529
|
-
"declarations": [
|
|
103530
|
-
{
|
|
103531
|
-
"kind": "variable",
|
|
103532
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103533
|
-
"type": {
|
|
103534
|
-
"text": "number"
|
|
103535
|
-
},
|
|
103536
|
-
"default": "0.75",
|
|
103537
|
-
"description": "The series' share of the wash mix — the documented fill recipe."
|
|
103538
|
-
},
|
|
103539
|
-
{
|
|
103540
|
-
"kind": "variable",
|
|
103541
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103542
|
-
"type": {
|
|
103543
|
-
"text": "number"
|
|
103544
|
-
},
|
|
103545
|
-
"default": "0.12",
|
|
103546
|
-
"description": "The series' share of the subtle tint mix behind ordinary copy."
|
|
103547
|
-
},
|
|
103548
|
-
{
|
|
103549
|
-
"kind": "function",
|
|
103550
|
-
"name": "dataCompanionProperties",
|
|
103551
|
-
"return": {
|
|
103552
|
-
"type": {
|
|
103553
|
-
"text": "Record<string, string>"
|
|
103554
|
-
}
|
|
103555
|
-
},
|
|
103556
|
-
"parameters": [
|
|
103557
|
-
{
|
|
103558
|
-
"name": "properties",
|
|
103559
|
-
"type": {
|
|
103560
|
-
"text": "Record<string, string>"
|
|
103561
|
-
}
|
|
103562
|
-
},
|
|
103563
|
-
{
|
|
103564
|
-
"name": "inheritedSeries",
|
|
103565
|
-
"optional": true,
|
|
103566
|
-
"type": {
|
|
103567
|
-
"text": "Record<string, string>"
|
|
103568
|
-
}
|
|
103569
|
-
}
|
|
103570
|
-
],
|
|
103571
|
-
"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."
|
|
103572
|
-
}
|
|
103573
|
-
],
|
|
103574
|
-
"exports": [
|
|
103575
|
-
{
|
|
103576
|
-
"kind": "js",
|
|
103577
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103578
|
-
"declaration": {
|
|
103579
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103580
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103581
|
-
}
|
|
103582
|
-
},
|
|
103583
|
-
{
|
|
103584
|
-
"kind": "js",
|
|
103585
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103586
|
-
"declaration": {
|
|
103587
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103588
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103589
|
-
}
|
|
103590
|
-
},
|
|
103591
|
-
{
|
|
103592
|
-
"kind": "js",
|
|
103593
|
-
"name": "dataCompanionProperties",
|
|
103594
|
-
"declaration": {
|
|
103595
|
-
"name": "dataCompanionProperties",
|
|
103596
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103597
|
-
}
|
|
103598
|
-
}
|
|
103599
|
-
]
|
|
103600
|
-
},
|
|
103601
|
-
{
|
|
103602
|
-
"kind": "javascript-module",
|
|
103603
|
-
"path": "dist/root/helpers/lightness-key-to-css.js",
|
|
103604
|
-
"declarations": [
|
|
103605
|
-
{
|
|
103606
|
-
"kind": "function",
|
|
103607
|
-
"name": "lightnessKeyToCSS",
|
|
103608
|
-
"return": {
|
|
103609
|
-
"type": {
|
|
103610
|
-
"text": "string"
|
|
103611
|
-
}
|
|
103612
|
-
},
|
|
103613
|
-
"parameters": [
|
|
103614
|
-
{
|
|
103615
|
-
"name": "key",
|
|
103616
|
-
"type": {
|
|
103617
|
-
"text": "string"
|
|
103618
|
-
}
|
|
103619
|
-
}
|
|
103620
|
-
],
|
|
103621
|
-
"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```"
|
|
103622
|
-
}
|
|
103623
|
-
],
|
|
103624
|
-
"exports": [
|
|
103625
|
-
{
|
|
103626
|
-
"kind": "js",
|
|
103627
|
-
"name": "lightnessKeyToCSS",
|
|
103628
|
-
"declaration": {
|
|
103629
|
-
"name": "lightnessKeyToCSS",
|
|
103630
|
-
"module": "dist/root/helpers/lightness-key-to-css.js"
|
|
103631
|
-
}
|
|
103632
|
-
}
|
|
103633
|
-
]
|
|
103634
|
-
},
|
|
103635
|
-
{
|
|
103636
|
-
"kind": "javascript-module",
|
|
103637
|
-
"path": "dist/root/helpers/lightness-ramp-properties.js",
|
|
103638
|
-
"declarations": [
|
|
103639
|
-
{
|
|
103640
|
-
"kind": "function",
|
|
103641
|
-
"name": "lightnessRampProperties",
|
|
103642
|
-
"return": {
|
|
103643
|
-
"type": {
|
|
103644
|
-
"text": "Record<string, string>"
|
|
103645
|
-
}
|
|
103646
|
-
},
|
|
103647
|
-
"parameters": [
|
|
103648
|
-
{
|
|
103649
|
-
"name": "theme",
|
|
103650
|
-
"type": {
|
|
103651
|
-
"text": "EspalierTheme"
|
|
103652
|
-
}
|
|
103653
|
-
}
|
|
103654
|
-
],
|
|
103655
|
-
"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."
|
|
103656
|
-
}
|
|
103657
|
-
],
|
|
103658
|
-
"exports": [
|
|
103659
|
-
{
|
|
103660
|
-
"kind": "js",
|
|
103661
|
-
"name": "lightnessRampProperties",
|
|
103662
|
-
"declaration": {
|
|
103663
|
-
"name": "lightnessRampProperties",
|
|
103664
|
-
"module": "dist/root/helpers/lightness-ramp-properties.js"
|
|
103665
|
-
}
|
|
103666
|
-
}
|
|
103667
|
-
]
|
|
103668
|
-
},
|
|
103669
|
-
{
|
|
103670
|
-
"kind": "javascript-module",
|
|
103671
|
-
"path": "dist/root/helpers/surface-polarity-property.js",
|
|
103672
|
-
"declarations": [
|
|
103673
|
-
{
|
|
103674
|
-
"kind": "function",
|
|
103675
|
-
"name": "surfacePolarityProperty",
|
|
103676
|
-
"return": {
|
|
103677
|
-
"type": {
|
|
103678
|
-
"text": "Record<string, string>"
|
|
103679
|
-
}
|
|
103680
|
-
},
|
|
103681
|
-
"parameters": [
|
|
103682
|
-
{
|
|
103683
|
-
"name": "semantic",
|
|
103684
|
-
"type": {
|
|
103685
|
-
"text": "Readonly<Record<string, string>>"
|
|
103686
|
-
}
|
|
103687
|
-
}
|
|
103688
|
-
],
|
|
103689
|
-
"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."
|
|
103690
|
-
}
|
|
103691
|
-
],
|
|
103692
|
-
"exports": [
|
|
103693
|
-
{
|
|
103694
|
-
"kind": "js",
|
|
103695
|
-
"name": "surfacePolarityProperty",
|
|
103696
|
-
"declaration": {
|
|
103697
|
-
"name": "surfacePolarityProperty",
|
|
103698
|
-
"module": "dist/root/helpers/surface-polarity-property.js"
|
|
103699
|
-
}
|
|
103700
|
-
}
|
|
103701
|
-
]
|
|
103702
|
-
},
|
|
103703
103899
|
{
|
|
103704
103900
|
"kind": "javascript-module",
|
|
103705
103901
|
"path": "dist/shared/svgs/calendar-icon.js",
|