@taprootio/espalier 2.4.0 → 2.5.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 +9 -0
- package/custom-elements.json +760 -539
- package/dist/footer/esp-footer.d.ts +32 -1
- package/dist/footer/esp-footer.js +18 -11
- package/dist/header/esp-header.d.ts +59 -6
- package/dist/header/esp-header.js +13 -14
- package/dist/shared/configured-brand.js +4 -4
- package/dist/shared/events.d.ts +7 -0
- package/dist/shared/events.js +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -18406,7 +18406,7 @@
|
|
|
18406
18406
|
"declarations": [
|
|
18407
18407
|
{
|
|
18408
18408
|
"kind": "class",
|
|
18409
|
-
"description": "A responsive site footer with structured spaces for branding, feature\nartwork, link groups, supporting actions, and legal or utility content.\nIts background remains full-bleed while its content automatically aligns\nto the surface of a containing [`<esp-page>`](/components/page/).\n\nUse [`<esp-footer-link-group>`](/components/footer/link-group/) children for\nordinary navigation columns. `columns` is a maximum: the grid always drops\ncolumns when they no longer fit.\n\n```html\n<esp-footer\n brand-logo=\"/assets/
|
|
18409
|
+
"description": "A responsive site footer with structured spaces for branding, feature\nartwork, link groups, supporting actions, and legal or utility content.\nIts background remains full-bleed while its content automatically aligns\nto the surface of a containing [`<esp-page>`](/components/page/).\n\nUse [`<esp-footer-link-group>`](/components/footer/link-group/) children for\nordinary navigation columns. `columns` is a maximum: the grid always drops\ncolumns when they no longer fit.\n\n```html\n<esp-footer\n light-brand-logo=\"/assets/logo-light.svg\"\n dark-brand-logo=\"/assets/logo-dark.svg\"\n brand-text=\"Espalier\"\n brand-href=\"/\"\n brand-alt=\"Espalier logo\"\n light-brand-color=\"oklch(0.35 0.12 216)\"\n dark-brand-color=\"oklch(0.9 0.08 216)\"\n columns=\"3\">\n <esp-footer-link-group heading=\"Explore\">\n <a href=\"/components\">Components</a>\n <a href=\"/api\">API</a>\n </esp-footer-link-group>\n <esp-footer-link-group heading=\"Learn\">\n <a href=\"/guides/getting-started\">Getting started</a>\n <a href=\"/guides/styling\">Styling</a>\n </esp-footer-link-group>\n <p slot=\"aside\">Themeable web components built on web standards.</p>\n <div slot=\"bottom\">Copyright 2026 Example Organization</div>\n</esp-footer>\n```\n\nA slotted brand replaces configured branding, while the media slot accepts\na responsive `picture`, native image, or `esp-image`. Media spans the\nsurface-aligned content well; use the decorative background layer for\nedge-to-edge artwork:\n\n```html\n<esp-footer columns=\"4\">\n <picture slot=\"media\">\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"/assets/canvas-bg-dark.jpg\" />\n <img\n src=\"/assets/canvas-bg.jpg\"\n alt=\"A colorful floral pattern\"\n style=\"display: block; width: 100%; height: auto;\" />\n </picture>\n <a slot=\"brand\" href=\"/\" aria-label=\"Espalier home\">\n <img src=\"/assets/espalier-logo.svg\" alt=\"Espalier\" />\n </a>\n <esp-footer-link-group heading=\"Product\">\n <a href=\"/components\">Components</a>\n </esp-footer-link-group>\n</esp-footer>\n```\n\nDecorative art uses an image layer independent of the base color. The same\nAPI supports a repeating landscape band or one large cover image:\n\n```html\n<style>\n esp-footer.mountains {\n --esp-footer-background: oklch(0.48 0.12 145);\n --esp-footer-background-image-opacity: 0.55;\n --esp-footer-background-image:\n linear-gradient(to bottom, transparent 8rem, oklch(0.48 0.12 145)),\n url(\"/assets/espalier-geometric-texture.png\");\n --esp-footer-background-repeat: no-repeat, repeat-x;\n --esp-footer-background-position: 0 0, top;\n --esp-footer-background-size: 100% 100%, auto 10rem;\n --esp-footer-padding-block: 6rem;\n }\n\n esp-footer.photo {\n --esp-footer-background: oklch(0.2 0.04 216);\n --esp-footer-heading-color: white;\n --esp-footer-background-image:\n linear-gradient(oklch(0.1 0 0 / 0.55), oklch(0.1 0 0 / 0.55)),\n url(\"/assets/canvas-bg.jpg\");\n --esp-footer-background-repeat: no-repeat;\n --esp-footer-background-position: center;\n --esp-footer-background-size: cover;\n }\n</style>\n<esp-footer class=\"mountains\" brand-text=\"Mountain Studio\"></esp-footer>\n<esp-footer class=\"photo\" brand-text=\"Photo Studio\"></esp-footer>\n```\n\nSurface alignment is automatic inside `esp-page`; opt out only when the\nfooter's content should also span the entire bar:\n\n```html\n<esp-page align=\"center\" style=\"--esp-page-max-width: 36rem;\">\n <main>Surface-aligned page content</main>\n <esp-footer slot=\"footer\" brand-text=\"Aligned Studio\" columns=\"3\">\n <esp-footer-link-group heading=\"Explore\">\n <a href=\"/work\">Work</a>\n <a href=\"/about\">About</a>\n </esp-footer-link-group>\n </esp-footer>\n</esp-page>\n\n<esp-footer full-bleed-content brand-text=\"Full-width Studio\"></esp-footer>\n```",
|
|
18410
18410
|
"name": "EspalierFooter",
|
|
18411
18411
|
"cssProperties": [
|
|
18412
18412
|
{
|
|
@@ -18654,6 +18654,28 @@
|
|
|
18654
18654
|
"description": "Configured brand logo URL used when the `brand` slot is empty.",
|
|
18655
18655
|
"attribute": "brand-logo"
|
|
18656
18656
|
},
|
|
18657
|
+
{
|
|
18658
|
+
"kind": "field",
|
|
18659
|
+
"name": "lightBrandLogo",
|
|
18660
|
+
"type": {
|
|
18661
|
+
"text": "string"
|
|
18662
|
+
},
|
|
18663
|
+
"privacy": "public",
|
|
18664
|
+
"default": "\"\"",
|
|
18665
|
+
"description": "Configured brand logo URL used in light scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
18666
|
+
"attribute": "light-brand-logo"
|
|
18667
|
+
},
|
|
18668
|
+
{
|
|
18669
|
+
"kind": "field",
|
|
18670
|
+
"name": "darkBrandLogo",
|
|
18671
|
+
"type": {
|
|
18672
|
+
"text": "string"
|
|
18673
|
+
},
|
|
18674
|
+
"privacy": "public",
|
|
18675
|
+
"default": "\"\"",
|
|
18676
|
+
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
18677
|
+
"attribute": "dark-brand-logo"
|
|
18678
|
+
},
|
|
18657
18679
|
{
|
|
18658
18680
|
"kind": "field",
|
|
18659
18681
|
"name": "brandHref",
|
|
@@ -18676,6 +18698,39 @@
|
|
|
18676
18698
|
"description": "Accessible text for a configured logo.",
|
|
18677
18699
|
"attribute": "brand-alt"
|
|
18678
18700
|
},
|
|
18701
|
+
{
|
|
18702
|
+
"kind": "field",
|
|
18703
|
+
"name": "brandColor",
|
|
18704
|
+
"type": {
|
|
18705
|
+
"text": "string"
|
|
18706
|
+
},
|
|
18707
|
+
"privacy": "public",
|
|
18708
|
+
"default": "\"\"",
|
|
18709
|
+
"description": "Optional configured brand color. Scheme-specific colors override it;\nwhen all configured colors are empty, `--esp-footer-heading-color`\nremains the fallback.",
|
|
18710
|
+
"attribute": "brand-color"
|
|
18711
|
+
},
|
|
18712
|
+
{
|
|
18713
|
+
"kind": "field",
|
|
18714
|
+
"name": "lightBrandColor",
|
|
18715
|
+
"type": {
|
|
18716
|
+
"text": "string"
|
|
18717
|
+
},
|
|
18718
|
+
"privacy": "public",
|
|
18719
|
+
"default": "\"\"",
|
|
18720
|
+
"description": "Configured brand color used in light scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-footer-heading-color`.",
|
|
18721
|
+
"attribute": "light-brand-color"
|
|
18722
|
+
},
|
|
18723
|
+
{
|
|
18724
|
+
"kind": "field",
|
|
18725
|
+
"name": "darkBrandColor",
|
|
18726
|
+
"type": {
|
|
18727
|
+
"text": "string"
|
|
18728
|
+
},
|
|
18729
|
+
"privacy": "public",
|
|
18730
|
+
"default": "\"\"",
|
|
18731
|
+
"description": "Configured brand color used in dark scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-footer-heading-color`.",
|
|
18732
|
+
"attribute": "dark-brand-color"
|
|
18733
|
+
},
|
|
18679
18734
|
{
|
|
18680
18735
|
"kind": "field",
|
|
18681
18736
|
"name": "columns",
|
|
@@ -19212,6 +19267,24 @@
|
|
|
19212
19267
|
"description": "Configured brand logo URL used when the `brand` slot is empty.",
|
|
19213
19268
|
"fieldName": "brandLogo"
|
|
19214
19269
|
},
|
|
19270
|
+
{
|
|
19271
|
+
"name": "light-brand-logo",
|
|
19272
|
+
"type": {
|
|
19273
|
+
"text": "string"
|
|
19274
|
+
},
|
|
19275
|
+
"default": "\"\"",
|
|
19276
|
+
"description": "Configured brand logo URL used in light scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
19277
|
+
"fieldName": "lightBrandLogo"
|
|
19278
|
+
},
|
|
19279
|
+
{
|
|
19280
|
+
"name": "dark-brand-logo",
|
|
19281
|
+
"type": {
|
|
19282
|
+
"text": "string"
|
|
19283
|
+
},
|
|
19284
|
+
"default": "\"\"",
|
|
19285
|
+
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
19286
|
+
"fieldName": "darkBrandLogo"
|
|
19287
|
+
},
|
|
19215
19288
|
{
|
|
19216
19289
|
"name": "brand-href",
|
|
19217
19290
|
"type": {
|
|
@@ -19230,6 +19303,33 @@
|
|
|
19230
19303
|
"description": "Accessible text for a configured logo.",
|
|
19231
19304
|
"fieldName": "brandAlt"
|
|
19232
19305
|
},
|
|
19306
|
+
{
|
|
19307
|
+
"name": "brand-color",
|
|
19308
|
+
"type": {
|
|
19309
|
+
"text": "string"
|
|
19310
|
+
},
|
|
19311
|
+
"default": "\"\"",
|
|
19312
|
+
"description": "Optional configured brand color. Scheme-specific colors override it;\nwhen all configured colors are empty, `--esp-footer-heading-color`\nremains the fallback.",
|
|
19313
|
+
"fieldName": "brandColor"
|
|
19314
|
+
},
|
|
19315
|
+
{
|
|
19316
|
+
"name": "light-brand-color",
|
|
19317
|
+
"type": {
|
|
19318
|
+
"text": "string"
|
|
19319
|
+
},
|
|
19320
|
+
"default": "\"\"",
|
|
19321
|
+
"description": "Configured brand color used in light scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-footer-heading-color`.",
|
|
19322
|
+
"fieldName": "lightBrandColor"
|
|
19323
|
+
},
|
|
19324
|
+
{
|
|
19325
|
+
"name": "dark-brand-color",
|
|
19326
|
+
"type": {
|
|
19327
|
+
"text": "string"
|
|
19328
|
+
},
|
|
19329
|
+
"default": "\"\"",
|
|
19330
|
+
"description": "Configured brand color used in dark scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-footer-heading-color`.",
|
|
19331
|
+
"fieldName": "darkBrandColor"
|
|
19332
|
+
},
|
|
19233
19333
|
{
|
|
19234
19334
|
"name": "columns",
|
|
19235
19335
|
"type": {
|
|
@@ -22578,11 +22678,11 @@
|
|
|
22578
22678
|
"name": "brand"
|
|
22579
22679
|
},
|
|
22580
22680
|
{
|
|
22581
|
-
"description": "Place site navigation here. The `menu` slot should be populated with an [`<esp-menu>`](/components/menu/) containing [`<esp-menu-item>`](/components/menu/item/) children: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\"> <esp-menu-item label=\"Mammals\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Reptiles\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Amphibians\" url=\"#\"></esp-menu-item> </esp-menu> <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div> </esp-header> ``` When there are too many `<esp-menu-item>`s on the screen, a burger button automatically appears that slides the full menu into view. Resize the screen to see the responsive behavior: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\"> <esp-menu-item label=\"Primates\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Carnivora\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Rodentia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Chiroptera\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Cetacea\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Artiodactyla\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Perissodactyla\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Lagomorpha\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Sirenia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Proboscidea\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Marsupialia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Monotremata\" url=\"#\"></esp-menu-item> </esp-menu> <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div> </esp-header> ``` Published-site headers can be configured without custom brand markup. Pair `layout`, `menu-display`, `theme-toggle`, and `scroll-behavior` with `esp-page header-position` when the shell should stay fixed or sticky: ```html <esp-page header-position=\"fixed\"> <esp-header slot=\"header\" layout=\"centered-brand\" brand-logo=\"/assets/
|
|
22681
|
+
"description": "Place site navigation here. The `menu` slot should be populated with an [`<esp-menu>`](/components/menu/) containing [`<esp-menu-item>`](/components/menu/item/) children: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\"> <esp-menu-item label=\"Mammals\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Reptiles\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Amphibians\" url=\"#\"></esp-menu-item> </esp-menu> <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div> </esp-header> ``` When there are too many `<esp-menu-item>`s on the screen, a burger button automatically appears that slides the full menu into view. Resize the screen to see the responsive behavior: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\"> <esp-menu-item label=\"Primates\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Carnivora\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Rodentia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Chiroptera\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Cetacea\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Artiodactyla\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Perissodactyla\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Lagomorpha\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Sirenia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Proboscidea\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Marsupialia\" url=\"#\"></esp-menu-item> <esp-menu-item label=\"Monotremata\" url=\"#\"></esp-menu-item> </esp-menu> <div slot=\"buttons\" style=\"background-color: yellow;\" class=\"header-example\">buttons</div> </esp-header> ``` Published-site headers can be configured without custom brand markup. Pair `layout`, `menu-display`, `theme-toggle`, and `scroll-behavior` with `esp-page header-position` when the shell should stay fixed or sticky: ```html <esp-page header-position=\"fixed\"> <esp-header slot=\"header\" layout=\"centered-brand\" light-brand-logo=\"/assets/logo-light.svg\" dark-brand-logo=\"/assets/logo-dark.svg\" brand-text=\"Espalier\" brand-href=\"/\" brand-alt=\"Espalier logo\" light-brand-color=\"oklch(0.35 0.12 216)\" dark-brand-color=\"oklch(0.9 0.08 216)\" brand-align=\"center\" menu-display=\"auto\" theme-toggle=\"visible\" scroll-behavior=\"compact elevate progress\"> <esp-menu slot=\"menu\" mode=\"horizontal\"> <esp-menu-item label=\"Shop\" url=\"/shop\"></esp-menu-item> <esp-menu-item label=\"About\" url=\"/about\"></esp-menu-item> </esp-menu> </esp-header> </esp-page> ```",
|
|
22582
22682
|
"name": "menu"
|
|
22583
22683
|
},
|
|
22584
22684
|
{
|
|
22585
|
-
"description": "Place icon buttons for global actions here. The `buttons` slot should contain [`<esp-header-button>`](/components/header/button/) instances. Each button can reference the configured SVG sprite with `icon` and fires a `clicked` event when activated: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\" style=\"background-color: green;\"> <esp-menu-item label=\"menu\" url=\"#\"></esp-menu-item> </esp-menu> <esp-header-button slot=\"buttons\" icon=\"cog\" aria-label=\"Settings\"></esp-header-button> <esp-header-button slot=\"buttons\" icon=\"user-circle\" aria-label=\"Profile\"></esp-header-button> </esp-header> ```",
|
|
22685
|
+
"description": "Place icon buttons for global actions here. The `buttons` slot should contain [`<esp-header-button>`](/components/header/button/) instances. Each button can reference the configured SVG sprite with `icon` and fires a `clicked` event when activated: ```html <esp-header> <div slot=\"brand\" style=\"background-color: red;\" class=\"header-example\">brand</div> <esp-menu slot=\"menu\" mode=\"horizontal\" style=\"background-color: green;\"> <esp-menu-item label=\"menu\" url=\"#\"></esp-menu-item> </esp-menu> <esp-header-button slot=\"buttons\" icon=\"cog\" aria-label=\"Settings\"></esp-header-button> <esp-header-button slot=\"buttons\" icon=\"user-circle\" aria-label=\"Profile\"></esp-header-button> </esp-header> ``` The built-in theme toggle emits `esp-theme-toggle` only for a visitor activation, so a host can persist explicit choices without treating automatic scheme resolution as intent: ```js const root = document.querySelector(\"esp-root\"); root.addEventListener(\"esp-theme-toggle\", (event) => { localStorage.setItem(\"scheme\", event.detail.scheme); }); ```",
|
|
22586
22686
|
"name": "buttons"
|
|
22587
22687
|
}
|
|
22588
22688
|
],
|
|
@@ -22659,8 +22759,8 @@
|
|
|
22659
22759
|
"text": "HeaderLayout"
|
|
22660
22760
|
},
|
|
22661
22761
|
"privacy": "public",
|
|
22662
|
-
"default": "\"standard\"",
|
|
22663
22762
|
"description": "Header layout style.\n\n- `standard` places brand, menu, and actions on one row.\n- `centered-brand` centers the brand between left navigation and actions.\n- `extended` puts navigation on a second row on wide screens.\n- `extended-centered` centers the brand and second-row navigation.\n- `minimal` keeps only brand/actions inline and uses the drawer menu.\n\n```html\n<div style=\"display: grid; gap: var(--esp-size-padding);\">\n <esp-header\n brand-logo=\"/assets/favicon.svg\"\n brand-text=\"Espalier\"\n brand-href=\"#\"\n brand-alt=\"Espalier logo\"\n layout=\"standard\"\n theme-toggle=\"visible\">\n <esp-menu slot=\"menu\" mode=\"horizontal\">\n <esp-menu-item label=\"Components\" url=\"#components\"></esp-menu-item>\n <esp-menu-item label=\"Guides\" url=\"#guides\"></esp-menu-item>\n </esp-menu>\n </esp-header>\n\n <div\n style=\"\n display: grid;\n gap: var(--esp-size-small);\n \">\n <esp-form-item label=\"Header layout\">\n <esp-pick-one>\n <esp-picker-item text=\"Standard\" value=\"standard\" selected></esp-picker-item>\n <esp-picker-item text=\"Centered brand\" value=\"centered-brand\"></esp-picker-item>\n <esp-picker-item text=\"Extended\" value=\"extended\"></esp-picker-item>\n <esp-picker-item text=\"Extended centered\" value=\"extended-centered\"></esp-picker-item>\n <esp-picker-item text=\"Minimal\" value=\"minimal\"></esp-picker-item>\n </esp-pick-one>\n </esp-form-item>\n </div>\n</div>\n<script>\n const header = findByTagName(\"esp-header\")[0];\n const picker = findByTagName(\"esp-pick-one\")[0];\n\n function applyLayout(event) {\n header.layout = event.detail?.value || picker.value || \"standard\";\n }\n\n picker.addEventListener(\"value-changed\", applyLayout);\n</script>\n```",
|
|
22763
|
+
"default": "\"standard\"",
|
|
22664
22764
|
"attribute": "layout",
|
|
22665
22765
|
"reflects": true
|
|
22666
22766
|
},
|
|
@@ -22686,6 +22786,28 @@
|
|
|
22686
22786
|
"description": "Configured brand logo URL used when the `brand` slot is empty.",
|
|
22687
22787
|
"attribute": "brand-logo"
|
|
22688
22788
|
},
|
|
22789
|
+
{
|
|
22790
|
+
"kind": "field",
|
|
22791
|
+
"name": "lightBrandLogo",
|
|
22792
|
+
"type": {
|
|
22793
|
+
"text": "string"
|
|
22794
|
+
},
|
|
22795
|
+
"privacy": "public",
|
|
22796
|
+
"default": "\"\"",
|
|
22797
|
+
"description": "Configured brand logo URL used in light scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
22798
|
+
"attribute": "light-brand-logo"
|
|
22799
|
+
},
|
|
22800
|
+
{
|
|
22801
|
+
"kind": "field",
|
|
22802
|
+
"name": "darkBrandLogo",
|
|
22803
|
+
"type": {
|
|
22804
|
+
"text": "string"
|
|
22805
|
+
},
|
|
22806
|
+
"privacy": "public",
|
|
22807
|
+
"default": "\"\"",
|
|
22808
|
+
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
22809
|
+
"attribute": "dark-brand-logo"
|
|
22810
|
+
},
|
|
22689
22811
|
{
|
|
22690
22812
|
"kind": "field",
|
|
22691
22813
|
"name": "brandHref",
|
|
@@ -22719,6 +22841,28 @@
|
|
|
22719
22841
|
"description": "Optional configured brand color. Prefer theme fields for\nproduct-wide brand typography and this property for a local\nheader override.",
|
|
22720
22842
|
"attribute": "brand-color"
|
|
22721
22843
|
},
|
|
22844
|
+
{
|
|
22845
|
+
"kind": "field",
|
|
22846
|
+
"name": "lightBrandColor",
|
|
22847
|
+
"type": {
|
|
22848
|
+
"text": "string"
|
|
22849
|
+
},
|
|
22850
|
+
"privacy": "public",
|
|
22851
|
+
"default": "\"\"",
|
|
22852
|
+
"description": "Configured brand color used in light scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-header-brand-color`.",
|
|
22853
|
+
"attribute": "light-brand-color"
|
|
22854
|
+
},
|
|
22855
|
+
{
|
|
22856
|
+
"kind": "field",
|
|
22857
|
+
"name": "darkBrandColor",
|
|
22858
|
+
"type": {
|
|
22859
|
+
"text": "string"
|
|
22860
|
+
},
|
|
22861
|
+
"privacy": "public",
|
|
22862
|
+
"default": "\"\"",
|
|
22863
|
+
"description": "Configured brand color used in dark scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-header-brand-color`.",
|
|
22864
|
+
"attribute": "dark-brand-color"
|
|
22865
|
+
},
|
|
22722
22866
|
{
|
|
22723
22867
|
"kind": "field",
|
|
22724
22868
|
"name": "brandAlign",
|
|
@@ -22726,8 +22870,8 @@
|
|
|
22726
22870
|
"text": "HeaderBrandAlign"
|
|
22727
22871
|
},
|
|
22728
22872
|
"privacy": "public",
|
|
22729
|
-
"default": "\"start\"",
|
|
22730
22873
|
"description": "Horizontal placement of the brand content inside its grid area.",
|
|
22874
|
+
"default": "\"start\"",
|
|
22731
22875
|
"attribute": "brand-align",
|
|
22732
22876
|
"reflects": true
|
|
22733
22877
|
},
|
|
@@ -22738,8 +22882,8 @@
|
|
|
22738
22882
|
"text": "HeaderBrandWrap"
|
|
22739
22883
|
},
|
|
22740
22884
|
"privacy": "public",
|
|
22741
|
-
"default": "\"truncate\"",
|
|
22742
22885
|
"description": "Long-brand behavior for configured brand text.",
|
|
22886
|
+
"default": "\"truncate\"",
|
|
22743
22887
|
"attribute": "brand-wrap",
|
|
22744
22888
|
"reflects": true
|
|
22745
22889
|
},
|
|
@@ -22750,8 +22894,8 @@
|
|
|
22750
22894
|
"text": "HeaderMenuDisplay"
|
|
22751
22895
|
},
|
|
22752
22896
|
"privacy": "public",
|
|
22753
|
-
"default": "\"auto\"",
|
|
22754
22897
|
"description": "Navigation display intent. `auto` tries inline navigation before\nusing a drawer, `drawer` always uses the burger/drawer pattern,\nand `inline` leaves overflow handling to the slotted menu.",
|
|
22898
|
+
"default": "\"auto\"",
|
|
22755
22899
|
"attribute": "menu-display",
|
|
22756
22900
|
"reflects": true
|
|
22757
22901
|
},
|
|
@@ -22762,8 +22906,8 @@
|
|
|
22762
22906
|
"text": "HeaderThemeToggle"
|
|
22763
22907
|
},
|
|
22764
22908
|
"privacy": "public",
|
|
22765
|
-
"default": "\"hidden\"",
|
|
22766
22909
|
"description": "Whether the header renders its built-in light/dark toggle.\nConsumers can still provide their own control in the `buttons`\nslot when this is `hidden`.",
|
|
22910
|
+
"default": "\"hidden\"",
|
|
22767
22911
|
"attribute": "theme-toggle",
|
|
22768
22912
|
"reflects": true
|
|
22769
22913
|
},
|
|
@@ -23662,6 +23806,25 @@
|
|
|
23662
23806
|
}
|
|
23663
23807
|
}
|
|
23664
23808
|
],
|
|
23809
|
+
"events": [
|
|
23810
|
+
{
|
|
23811
|
+
"type": {
|
|
23812
|
+
"text": "CustomEvent<EspThemeToggleEventDetail>"
|
|
23813
|
+
},
|
|
23814
|
+
"description": "Fired after the built-in theme toggle changes the nearest `esp-root`. Bubbles and crosses the shadow boundary.",
|
|
23815
|
+
"name": "esp-theme-toggle"
|
|
23816
|
+
},
|
|
23817
|
+
{
|
|
23818
|
+
"name": "value-changed",
|
|
23819
|
+
"type": {
|
|
23820
|
+
"text": "CustomEvent"
|
|
23821
|
+
},
|
|
23822
|
+
"inheritedFrom": {
|
|
23823
|
+
"name": "EspalierElementBase",
|
|
23824
|
+
"module": "dist/shared/esp-element-base.js"
|
|
23825
|
+
}
|
|
23826
|
+
}
|
|
23827
|
+
],
|
|
23665
23828
|
"attributes": [
|
|
23666
23829
|
{
|
|
23667
23830
|
"name": "show-burger",
|
|
@@ -23677,8 +23840,8 @@
|
|
|
23677
23840
|
"type": {
|
|
23678
23841
|
"text": "HeaderLayout"
|
|
23679
23842
|
},
|
|
23680
|
-
"default": "\"standard\"",
|
|
23681
23843
|
"description": "Header layout style.\n\n- `standard` places brand, menu, and actions on one row.\n- `centered-brand` centers the brand between left navigation and actions.\n- `extended` puts navigation on a second row on wide screens.\n- `extended-centered` centers the brand and second-row navigation.\n- `minimal` keeps only brand/actions inline and uses the drawer menu.\n\n```html\n<div style=\"display: grid; gap: var(--esp-size-padding);\">\n <esp-header\n brand-logo=\"/assets/favicon.svg\"\n brand-text=\"Espalier\"\n brand-href=\"#\"\n brand-alt=\"Espalier logo\"\n layout=\"standard\"\n theme-toggle=\"visible\">\n <esp-menu slot=\"menu\" mode=\"horizontal\">\n <esp-menu-item label=\"Components\" url=\"#components\"></esp-menu-item>\n <esp-menu-item label=\"Guides\" url=\"#guides\"></esp-menu-item>\n </esp-menu>\n </esp-header>\n\n <div\n style=\"\n display: grid;\n gap: var(--esp-size-small);\n \">\n <esp-form-item label=\"Header layout\">\n <esp-pick-one>\n <esp-picker-item text=\"Standard\" value=\"standard\" selected></esp-picker-item>\n <esp-picker-item text=\"Centered brand\" value=\"centered-brand\"></esp-picker-item>\n <esp-picker-item text=\"Extended\" value=\"extended\"></esp-picker-item>\n <esp-picker-item text=\"Extended centered\" value=\"extended-centered\"></esp-picker-item>\n <esp-picker-item text=\"Minimal\" value=\"minimal\"></esp-picker-item>\n </esp-pick-one>\n </esp-form-item>\n </div>\n</div>\n<script>\n const header = findByTagName(\"esp-header\")[0];\n const picker = findByTagName(\"esp-pick-one\")[0];\n\n function applyLayout(event) {\n header.layout = event.detail?.value || picker.value || \"standard\";\n }\n\n picker.addEventListener(\"value-changed\", applyLayout);\n</script>\n```",
|
|
23844
|
+
"default": "\"standard\"",
|
|
23682
23845
|
"fieldName": "layout"
|
|
23683
23846
|
},
|
|
23684
23847
|
{
|
|
@@ -23699,6 +23862,24 @@
|
|
|
23699
23862
|
"description": "Configured brand logo URL used when the `brand` slot is empty.",
|
|
23700
23863
|
"fieldName": "brandLogo"
|
|
23701
23864
|
},
|
|
23865
|
+
{
|
|
23866
|
+
"name": "light-brand-logo",
|
|
23867
|
+
"type": {
|
|
23868
|
+
"text": "string"
|
|
23869
|
+
},
|
|
23870
|
+
"default": "\"\"",
|
|
23871
|
+
"description": "Configured brand logo URL used in light scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
23872
|
+
"fieldName": "lightBrandLogo"
|
|
23873
|
+
},
|
|
23874
|
+
{
|
|
23875
|
+
"name": "dark-brand-logo",
|
|
23876
|
+
"type": {
|
|
23877
|
+
"text": "string"
|
|
23878
|
+
},
|
|
23879
|
+
"default": "\"\"",
|
|
23880
|
+
"description": "Configured brand logo URL used in dark scheme. A non-empty value\noverrides `brand-logo`; an empty value falls back to it.",
|
|
23881
|
+
"fieldName": "darkBrandLogo"
|
|
23882
|
+
},
|
|
23702
23883
|
{
|
|
23703
23884
|
"name": "brand-href",
|
|
23704
23885
|
"type": {
|
|
@@ -23726,13 +23907,31 @@
|
|
|
23726
23907
|
"description": "Optional configured brand color. Prefer theme fields for\nproduct-wide brand typography and this property for a local\nheader override.",
|
|
23727
23908
|
"fieldName": "brandColor"
|
|
23728
23909
|
},
|
|
23910
|
+
{
|
|
23911
|
+
"name": "light-brand-color",
|
|
23912
|
+
"type": {
|
|
23913
|
+
"text": "string"
|
|
23914
|
+
},
|
|
23915
|
+
"default": "\"\"",
|
|
23916
|
+
"description": "Configured brand color used in light scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-header-brand-color`.",
|
|
23917
|
+
"fieldName": "lightBrandColor"
|
|
23918
|
+
},
|
|
23919
|
+
{
|
|
23920
|
+
"name": "dark-brand-color",
|
|
23921
|
+
"type": {
|
|
23922
|
+
"text": "string"
|
|
23923
|
+
},
|
|
23924
|
+
"default": "\"\"",
|
|
23925
|
+
"description": "Configured brand color used in dark scheme. A non-empty value\noverrides `brand-color`; an empty value falls back to it and then\n`--esp-header-brand-color`.",
|
|
23926
|
+
"fieldName": "darkBrandColor"
|
|
23927
|
+
},
|
|
23729
23928
|
{
|
|
23730
23929
|
"name": "brand-align",
|
|
23731
23930
|
"type": {
|
|
23732
23931
|
"text": "HeaderBrandAlign"
|
|
23733
23932
|
},
|
|
23734
|
-
"default": "\"start\"",
|
|
23735
23933
|
"description": "Horizontal placement of the brand content inside its grid area.",
|
|
23934
|
+
"default": "\"start\"",
|
|
23736
23935
|
"fieldName": "brandAlign"
|
|
23737
23936
|
},
|
|
23738
23937
|
{
|
|
@@ -23740,8 +23939,8 @@
|
|
|
23740
23939
|
"type": {
|
|
23741
23940
|
"text": "HeaderBrandWrap"
|
|
23742
23941
|
},
|
|
23743
|
-
"default": "\"truncate\"",
|
|
23744
23942
|
"description": "Long-brand behavior for configured brand text.",
|
|
23943
|
+
"default": "\"truncate\"",
|
|
23745
23944
|
"fieldName": "brandWrap"
|
|
23746
23945
|
},
|
|
23747
23946
|
{
|
|
@@ -23749,8 +23948,8 @@
|
|
|
23749
23948
|
"type": {
|
|
23750
23949
|
"text": "HeaderMenuDisplay"
|
|
23751
23950
|
},
|
|
23752
|
-
"default": "\"auto\"",
|
|
23753
23951
|
"description": "Navigation display intent. `auto` tries inline navigation before\nusing a drawer, `drawer` always uses the burger/drawer pattern,\nand `inline` leaves overflow handling to the slotted menu.",
|
|
23952
|
+
"default": "\"auto\"",
|
|
23754
23953
|
"fieldName": "menuDisplay"
|
|
23755
23954
|
},
|
|
23756
23955
|
{
|
|
@@ -23758,8 +23957,8 @@
|
|
|
23758
23957
|
"type": {
|
|
23759
23958
|
"text": "HeaderThemeToggle"
|
|
23760
23959
|
},
|
|
23761
|
-
"default": "\"hidden\"",
|
|
23762
23960
|
"description": "Whether the header renders its built-in light/dark toggle.\nConsumers can still provide their own control in the `buttons`\nslot when this is `hidden`.",
|
|
23961
|
+
"default": "\"hidden\"",
|
|
23763
23962
|
"fieldName": "themeToggle"
|
|
23764
23963
|
},
|
|
23765
23964
|
{
|
|
@@ -23858,19 +24057,7 @@
|
|
|
23858
24057
|
"menuIcon": {
|
|
23859
24058
|
"name": "layout-navbar",
|
|
23860
24059
|
"description": ""
|
|
23861
|
-
}
|
|
23862
|
-
"events": [
|
|
23863
|
-
{
|
|
23864
|
-
"name": "value-changed",
|
|
23865
|
-
"type": {
|
|
23866
|
-
"text": "CustomEvent"
|
|
23867
|
-
},
|
|
23868
|
-
"inheritedFrom": {
|
|
23869
|
-
"name": "EspalierElementBase",
|
|
23870
|
-
"module": "dist/shared/esp-element-base.js"
|
|
23871
|
-
}
|
|
23872
|
-
}
|
|
23873
|
-
]
|
|
24060
|
+
}
|
|
23874
24061
|
}
|
|
23875
24062
|
],
|
|
23876
24063
|
"exports": [
|
|
@@ -47039,6 +47226,24 @@
|
|
|
47039
47226
|
"kind": "javascript-module",
|
|
47040
47227
|
"path": "dist/shared/configured-brand.js",
|
|
47041
47228
|
"declarations": [
|
|
47229
|
+
{
|
|
47230
|
+
"kind": "function",
|
|
47231
|
+
"name": "resolveConfiguredBrand",
|
|
47232
|
+
"return": {
|
|
47233
|
+
"type": {
|
|
47234
|
+
"text": "ResolvedConfiguredBrand"
|
|
47235
|
+
}
|
|
47236
|
+
},
|
|
47237
|
+
"parameters": [
|
|
47238
|
+
{
|
|
47239
|
+
"name": "{\n scheme,\n brandLogo,\n brandColor,\n lightBrandLogo,\n darkBrandLogo,\n lightBrandColor,\n darkBrandColor,\n}",
|
|
47240
|
+
"type": {
|
|
47241
|
+
"text": "ConfiguredBrandConfiguration"
|
|
47242
|
+
}
|
|
47243
|
+
}
|
|
47244
|
+
],
|
|
47245
|
+
"description": "Resolve the configured-brand logo and color for the active scheme.\nNon-empty scheme values take precedence over generic values. Empty\nscheme values are treated as absent so generic configuration and the\nconsuming component's CSS-token defaults remain available."
|
|
47246
|
+
},
|
|
47042
47247
|
{
|
|
47043
47248
|
"kind": "function",
|
|
47044
47249
|
"name": "renderConfiguredBrand",
|
|
@@ -47054,6 +47259,14 @@
|
|
|
47054
47259
|
}
|
|
47055
47260
|
],
|
|
47056
47261
|
"exports": [
|
|
47262
|
+
{
|
|
47263
|
+
"kind": "js",
|
|
47264
|
+
"name": "resolveConfiguredBrand",
|
|
47265
|
+
"declaration": {
|
|
47266
|
+
"name": "resolveConfiguredBrand",
|
|
47267
|
+
"module": "dist/shared/configured-brand.js"
|
|
47268
|
+
}
|
|
47269
|
+
},
|
|
47057
47270
|
{
|
|
47058
47271
|
"kind": "js",
|
|
47059
47272
|
"name": "renderConfiguredBrand",
|
|
@@ -48231,9 +48444,9 @@
|
|
|
48231
48444
|
"kind": "variable",
|
|
48232
48445
|
"name": "ESP_EVENTS",
|
|
48233
48446
|
"type": {
|
|
48234
|
-
"text": "{\n // ── Form value events ───────────────────────────────────────\n VALUE_CHANGED: \"value-changed\",\n VALIDITY_CHANGED: \"validity-changed\",\n\n // ── Click events ────────────────────────────────────────────\n CLICKED: \"clicked\",\n\n // ── Form submission events ──────────────────────────────────\n ESP_SUBMIT: \"esp-submit\",\n ESP_SUBMIT_RESPONSE: \"esp-submit-response\",\n ESP_SUBMIT_ERROR: \"esp-submit-error\",\n\n // ── Navigation / layout events ──────────────────────────────\n ESP_TAB_CHANGED: \"esp-tab-changed\",\n ESP_TAB_UPDATED: \"esp-tab-updated\",\n ESP_TOGGLE: \"esp-toggle\",\n ESP_ACCORDION_CHANGE: \"esp-accordion-change\",\n DRAWER_OPENED: \"drawer-opened\",\n DRAWER_CLOSED: \"drawer-closed\",\n FLYOUT_OPENED: \"flyout-opened\",\n FLYOUT_CLOSED: \"flyout-closed\",\n FLYOUT_STATE_CHANGED: \"flyout-state-changed\",\n\n // ── Popover DOM events ──────────────────────────────────────\n POPOVER_OPENED: \"popover-opened\",\n POPOVER_CLOSED: \"popover-closed\",\n\n // ── Grid events ─────────────────────────────────────────────\n GRID_EVENT: \"grid-event\",\n GRID_LOAD_START: \"esp-grid-load-start\",\n GRID_LOAD_SUCCESS: \"esp-grid-load-success\",\n GRID_LOAD_ERROR: \"esp-grid-load-error\",\n GRID_ITEMS_CHANGED: \"esp-grid-items-changed\",\n\n // ── Info events ─────────────────────────────────────────────\n DESTROY: \"destroy\",\n\n // ── Upload events ───────────────────────────────────────────\n FILE_SELECTED: \"file-selected\",\n FILE_REMOVED: \"file-removed\",\n FILES_SELECTED: \"files-selected\",\n FILES_REJECTED: \"files-rejected\",\n UPLOAD_RETRY: \"upload-retry\",\n RETRY_UPLOAD: \"retry-upload\",\n IMAGES_REORDERED: \"images-reordered\",\n\n // ── Search events ───────────────────────────────────────────\n SEARCH_REQUESTED: \"search-requested\",\n RESULT_SELECTED: \"result-selected\",\n SEARCH_CLOSED: \"search-closed\",\n\n // ── Picker internal events ──────────────────────────────────\n SELECTION_CHANGED: \"selection-changed\",\n CLOSE_MENU: \"close-menu\",\n REMOVE_IMAGE: \"remove-image\",\n}"
|
|
48447
|
+
"text": "{\n // ── Form value events ───────────────────────────────────────\n VALUE_CHANGED: \"value-changed\",\n VALIDITY_CHANGED: \"validity-changed\",\n\n // ── Click events ────────────────────────────────────────────\n CLICKED: \"clicked\",\n\n // ── Form submission events ──────────────────────────────────\n ESP_SUBMIT: \"esp-submit\",\n ESP_SUBMIT_RESPONSE: \"esp-submit-response\",\n ESP_SUBMIT_ERROR: \"esp-submit-error\",\n\n // ── Navigation / layout events ──────────────────────────────\n ESP_TAB_CHANGED: \"esp-tab-changed\",\n ESP_TAB_UPDATED: \"esp-tab-updated\",\n ESP_TOGGLE: \"esp-toggle\",\n ESP_ACCORDION_CHANGE: \"esp-accordion-change\",\n DRAWER_OPENED: \"drawer-opened\",\n DRAWER_CLOSED: \"drawer-closed\",\n ESP_THEME_TOGGLE: \"esp-theme-toggle\",\n FLYOUT_OPENED: \"flyout-opened\",\n FLYOUT_CLOSED: \"flyout-closed\",\n FLYOUT_STATE_CHANGED: \"flyout-state-changed\",\n\n // ── Popover DOM events ──────────────────────────────────────\n POPOVER_OPENED: \"popover-opened\",\n POPOVER_CLOSED: \"popover-closed\",\n\n // ── Grid events ─────────────────────────────────────────────\n GRID_EVENT: \"grid-event\",\n GRID_LOAD_START: \"esp-grid-load-start\",\n GRID_LOAD_SUCCESS: \"esp-grid-load-success\",\n GRID_LOAD_ERROR: \"esp-grid-load-error\",\n GRID_ITEMS_CHANGED: \"esp-grid-items-changed\",\n\n // ── Info events ─────────────────────────────────────────────\n DESTROY: \"destroy\",\n\n // ── Upload events ───────────────────────────────────────────\n FILE_SELECTED: \"file-selected\",\n FILE_REMOVED: \"file-removed\",\n FILES_SELECTED: \"files-selected\",\n FILES_REJECTED: \"files-rejected\",\n UPLOAD_RETRY: \"upload-retry\",\n RETRY_UPLOAD: \"retry-upload\",\n IMAGES_REORDERED: \"images-reordered\",\n\n // ── Search events ───────────────────────────────────────────\n SEARCH_REQUESTED: \"search-requested\",\n RESULT_SELECTED: \"result-selected\",\n SEARCH_CLOSED: \"search-closed\",\n\n // ── Picker internal events ──────────────────────────────────\n SELECTION_CHANGED: \"selection-changed\",\n CLOSE_MENU: \"close-menu\",\n REMOVE_IMAGE: \"remove-image\",\n}"
|
|
48235
48448
|
},
|
|
48236
|
-
"default": "{ // ── Form value events ─────────────────────────────────────── VALUE_CHANGED: \"value-changed\", VALIDITY_CHANGED: \"validity-changed\", // ── Click events ──────────────────────────────────────────── CLICKED: \"clicked\", // ── Form submission events ────────────────────────────────── ESP_SUBMIT: \"esp-submit\", ESP_SUBMIT_RESPONSE: \"esp-submit-response\", ESP_SUBMIT_ERROR: \"esp-submit-error\", // ── Navigation / layout events ────────────────────────────── ESP_TAB_CHANGED: \"esp-tab-changed\", ESP_TAB_UPDATED: \"esp-tab-updated\", ESP_TOGGLE: \"esp-toggle\", ESP_ACCORDION_CHANGE: \"esp-accordion-change\", DRAWER_OPENED: \"drawer-opened\", DRAWER_CLOSED: \"drawer-closed\", FLYOUT_OPENED: \"flyout-opened\", FLYOUT_CLOSED: \"flyout-closed\", FLYOUT_STATE_CHANGED: \"flyout-state-changed\", // ── Popover DOM events ────────────────────────────────────── POPOVER_OPENED: \"popover-opened\", POPOVER_CLOSED: \"popover-closed\", // ── Grid events ───────────────────────────────────────────── GRID_EVENT: \"grid-event\", GRID_LOAD_START: \"esp-grid-load-start\", GRID_LOAD_SUCCESS: \"esp-grid-load-success\", GRID_LOAD_ERROR: \"esp-grid-load-error\", GRID_ITEMS_CHANGED: \"esp-grid-items-changed\", // ── Info events ───────────────────────────────────────────── DESTROY: \"destroy\", // ── Upload events ─────────────────────────────────────────── FILE_SELECTED: \"file-selected\", FILE_REMOVED: \"file-removed\", FILES_SELECTED: \"files-selected\", FILES_REJECTED: \"files-rejected\", UPLOAD_RETRY: \"upload-retry\", RETRY_UPLOAD: \"retry-upload\", IMAGES_REORDERED: \"images-reordered\", // ── Search events ─────────────────────────────────────────── SEARCH_REQUESTED: \"search-requested\", RESULT_SELECTED: \"result-selected\", SEARCH_CLOSED: \"search-closed\", // ── Picker internal events ────────────────────────────────── SELECTION_CHANGED: \"selection-changed\", CLOSE_MENU: \"close-menu\", REMOVE_IMAGE: \"remove-image\", }",
|
|
48449
|
+
"default": "{ // ── Form value events ─────────────────────────────────────── VALUE_CHANGED: \"value-changed\", VALIDITY_CHANGED: \"validity-changed\", // ── Click events ──────────────────────────────────────────── CLICKED: \"clicked\", // ── Form submission events ────────────────────────────────── ESP_SUBMIT: \"esp-submit\", ESP_SUBMIT_RESPONSE: \"esp-submit-response\", ESP_SUBMIT_ERROR: \"esp-submit-error\", // ── Navigation / layout events ────────────────────────────── ESP_TAB_CHANGED: \"esp-tab-changed\", ESP_TAB_UPDATED: \"esp-tab-updated\", ESP_TOGGLE: \"esp-toggle\", ESP_ACCORDION_CHANGE: \"esp-accordion-change\", DRAWER_OPENED: \"drawer-opened\", DRAWER_CLOSED: \"drawer-closed\", ESP_THEME_TOGGLE: \"esp-theme-toggle\", FLYOUT_OPENED: \"flyout-opened\", FLYOUT_CLOSED: \"flyout-closed\", FLYOUT_STATE_CHANGED: \"flyout-state-changed\", // ── Popover DOM events ────────────────────────────────────── POPOVER_OPENED: \"popover-opened\", POPOVER_CLOSED: \"popover-closed\", // ── Grid events ───────────────────────────────────────────── GRID_EVENT: \"grid-event\", GRID_LOAD_START: \"esp-grid-load-start\", GRID_LOAD_SUCCESS: \"esp-grid-load-success\", GRID_LOAD_ERROR: \"esp-grid-load-error\", GRID_ITEMS_CHANGED: \"esp-grid-items-changed\", // ── Info events ───────────────────────────────────────────── DESTROY: \"destroy\", // ── Upload events ─────────────────────────────────────────── FILE_SELECTED: \"file-selected\", FILE_REMOVED: \"file-removed\", FILES_SELECTED: \"files-selected\", FILES_REJECTED: \"files-rejected\", UPLOAD_RETRY: \"upload-retry\", RETRY_UPLOAD: \"retry-upload\", IMAGES_REORDERED: \"images-reordered\", // ── Search events ─────────────────────────────────────────── SEARCH_REQUESTED: \"search-requested\", RESULT_SELECTED: \"result-selected\", SEARCH_CLOSED: \"search-closed\", // ── Picker internal events ────────────────────────────────── SELECTION_CHANGED: \"selection-changed\", CLOSE_MENU: \"close-menu\", REMOVE_IMAGE: \"remove-image\", }",
|
|
48237
48450
|
"description": "Canonical event name strings for every CustomEvent in the library.\n\nUse these instead of raw strings to catch typos at compile time:\n\n```ts\nel.addEventListener(ESP_EVENTS.VALUE_CHANGED, handler);\n```"
|
|
48238
48451
|
}
|
|
48239
48452
|
],
|
|
@@ -48382,6 +48595,14 @@
|
|
|
48382
48595
|
"module": "../font-picker/esp-font-picker.js"
|
|
48383
48596
|
}
|
|
48384
48597
|
},
|
|
48598
|
+
{
|
|
48599
|
+
"kind": "js",
|
|
48600
|
+
"name": "EspThemeToggleEventDetail",
|
|
48601
|
+
"declaration": {
|
|
48602
|
+
"name": "EspThemeToggleEventDetail",
|
|
48603
|
+
"module": "../header/esp-header.js"
|
|
48604
|
+
}
|
|
48605
|
+
},
|
|
48385
48606
|
{
|
|
48386
48607
|
"kind": "js",
|
|
48387
48608
|
"name": "UploadEventDetail",
|
|
@@ -51990,32 +52211,60 @@
|
|
|
51990
52211
|
},
|
|
51991
52212
|
{
|
|
51992
52213
|
"kind": "javascript-module",
|
|
51993
|
-
"path": "dist/
|
|
52214
|
+
"path": "dist/switch/esp-switch.js",
|
|
51994
52215
|
"declarations": [
|
|
51995
52216
|
{
|
|
51996
52217
|
"kind": "class",
|
|
51997
|
-
"description": "A
|
|
51998
|
-
"name": "
|
|
52218
|
+
"description": "A toggle switch for boolean on/off values. Uses a CSS-only\ntrack-and-thumb design with a smooth sliding transition.\nFunctionally equivalent to a checkbox but visually communicates\nan immediate state change rather than a deferred selection.\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.",
|
|
52219
|
+
"name": "EspalierSwitch",
|
|
51999
52220
|
"cssProperties": [
|
|
52000
52221
|
{
|
|
52001
|
-
"description": "
|
|
52002
|
-
"name": "--esp-
|
|
52003
|
-
"default": "var(--esp-size-normal-to-medium)"
|
|
52222
|
+
"description": "The width of the switch track. Defaults to `calc(var(--esp-size-normal-to-medium) * 1.75)`.",
|
|
52223
|
+
"name": "--esp-switch-width"
|
|
52004
52224
|
},
|
|
52005
52225
|
{
|
|
52006
|
-
"description": "
|
|
52007
|
-
"name": "--esp-
|
|
52008
|
-
"default": "var(--esp-status-indicator-width)"
|
|
52226
|
+
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
52227
|
+
"name": "--esp-switch-height"
|
|
52009
52228
|
},
|
|
52010
52229
|
{
|
|
52011
|
-
"description": "
|
|
52012
|
-
"name": "--esp-
|
|
52013
|
-
"default": "999px"
|
|
52230
|
+
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
52231
|
+
"name": "--esp-switch-thumb-size"
|
|
52014
52232
|
},
|
|
52015
52233
|
{
|
|
52016
|
-
"description": "
|
|
52017
|
-
"name": "--esp-
|
|
52018
|
-
|
|
52234
|
+
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
52235
|
+
"name": "--esp-switch-track-color"
|
|
52236
|
+
},
|
|
52237
|
+
{
|
|
52238
|
+
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
52239
|
+
"name": "--esp-switch-track-color-on"
|
|
52240
|
+
},
|
|
52241
|
+
{
|
|
52242
|
+
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
52243
|
+
"name": "--esp-switch-thumb-color"
|
|
52244
|
+
},
|
|
52245
|
+
{
|
|
52246
|
+
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
52247
|
+
"name": "--esp-switch-focus-shadow"
|
|
52248
|
+
},
|
|
52249
|
+
{
|
|
52250
|
+
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
52251
|
+
"name": "--esp-switch-text-padding"
|
|
52252
|
+
},
|
|
52253
|
+
{
|
|
52254
|
+
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
52255
|
+
"name": "--esp-switch-text-font-size"
|
|
52256
|
+
},
|
|
52257
|
+
{
|
|
52258
|
+
"description": "Text color of the active label in text mode. Defaults to `var(--esp-color-action-text)`.",
|
|
52259
|
+
"name": "--esp-switch-text-active-color"
|
|
52260
|
+
},
|
|
52261
|
+
{
|
|
52262
|
+
"description": "Text color of the inactive label in text mode. Defaults to `var(--esp-color-layer-1)`.",
|
|
52263
|
+
"name": "--esp-switch-text-inactive-color"
|
|
52264
|
+
},
|
|
52265
|
+
{
|
|
52266
|
+
"description": "Background color of the sliding highlight in text mode. Defaults to `var(--esp-color-action-background)`.",
|
|
52267
|
+
"name": "--esp-switch-text-highlight-color"
|
|
52019
52268
|
},
|
|
52020
52269
|
{
|
|
52021
52270
|
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
@@ -52076,144 +52325,186 @@
|
|
|
52076
52325
|
],
|
|
52077
52326
|
"slots": [
|
|
52078
52327
|
{
|
|
52079
|
-
"description": "
|
|
52328
|
+
"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.",
|
|
52080
52329
|
"name": ""
|
|
52081
|
-
},
|
|
52082
|
-
{
|
|
52083
|
-
"description": "Optional custom status icon. When provided, it overrides both the `icon` attribute and built-in variant icon.",
|
|
52084
|
-
"name": "icon"
|
|
52085
52330
|
}
|
|
52086
52331
|
],
|
|
52087
52332
|
"members": [
|
|
52088
52333
|
{
|
|
52089
52334
|
"kind": "field",
|
|
52090
|
-
"name": "
|
|
52335
|
+
"name": "formAssociated",
|
|
52336
|
+
"type": {
|
|
52337
|
+
"text": "boolean"
|
|
52338
|
+
},
|
|
52339
|
+
"static": true,
|
|
52340
|
+
"default": "true"
|
|
52341
|
+
},
|
|
52342
|
+
{
|
|
52343
|
+
"kind": "field",
|
|
52344
|
+
"name": "internals",
|
|
52091
52345
|
"privacy": "private"
|
|
52092
52346
|
},
|
|
52093
52347
|
{
|
|
52094
52348
|
"kind": "field",
|
|
52095
|
-
"name": "
|
|
52349
|
+
"name": "formCtrl",
|
|
52096
52350
|
"privacy": "private",
|
|
52097
|
-
"default": "new
|
|
52351
|
+
"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; }, })"
|
|
52098
52352
|
},
|
|
52099
52353
|
{
|
|
52100
52354
|
"kind": "field",
|
|
52101
|
-
"name": "
|
|
52102
|
-
"type": {
|
|
52103
|
-
"text": "EspalierStatusIndicatorPlacement"
|
|
52104
|
-
},
|
|
52355
|
+
"name": "formItemDescription",
|
|
52105
52356
|
"privacy": "private",
|
|
52106
|
-
"default": "\"
|
|
52357
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
52107
52358
|
},
|
|
52108
52359
|
{
|
|
52109
52360
|
"kind": "field",
|
|
52110
|
-
"name": "
|
|
52361
|
+
"name": "mode",
|
|
52111
52362
|
"type": {
|
|
52112
|
-
"text": "
|
|
52363
|
+
"text": "\"switch\" | \"text\""
|
|
52113
52364
|
},
|
|
52114
|
-
"privacy": "
|
|
52115
|
-
"default": "\"
|
|
52365
|
+
"privacy": "public",
|
|
52366
|
+
"default": "\"switch\"",
|
|
52367
|
+
"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.",
|
|
52368
|
+
"attribute": "mode",
|
|
52369
|
+
"reflects": true
|
|
52116
52370
|
},
|
|
52117
52371
|
{
|
|
52118
52372
|
"kind": "field",
|
|
52119
|
-
"name": "
|
|
52120
|
-
"
|
|
52121
|
-
|
|
52122
|
-
|
|
52373
|
+
"name": "offLabel",
|
|
52374
|
+
"type": {
|
|
52375
|
+
"text": "string"
|
|
52376
|
+
},
|
|
52377
|
+
"privacy": "public",
|
|
52378
|
+
"default": "\"\"",
|
|
52379
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
52380
|
+
"attribute": "off-label"
|
|
52123
52381
|
},
|
|
52124
52382
|
{
|
|
52125
52383
|
"kind": "field",
|
|
52126
|
-
"name": "
|
|
52384
|
+
"name": "onLabel",
|
|
52127
52385
|
"type": {
|
|
52128
|
-
"text": "
|
|
52386
|
+
"text": "string"
|
|
52129
52387
|
},
|
|
52130
|
-
"privacy": "
|
|
52131
|
-
"default": "
|
|
52388
|
+
"privacy": "public",
|
|
52389
|
+
"default": "\"\"",
|
|
52390
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
52391
|
+
"attribute": "on-label"
|
|
52132
52392
|
},
|
|
52133
52393
|
{
|
|
52134
52394
|
"kind": "field",
|
|
52135
|
-
"name": "
|
|
52395
|
+
"name": "checked",
|
|
52136
52396
|
"type": {
|
|
52137
52397
|
"text": "boolean"
|
|
52138
52398
|
},
|
|
52139
|
-
"privacy": "
|
|
52140
|
-
"default": "false"
|
|
52399
|
+
"privacy": "public",
|
|
52400
|
+
"default": "false",
|
|
52401
|
+
"description": "Whether the switch is in the on state.",
|
|
52402
|
+
"attribute": "checked",
|
|
52403
|
+
"reflects": true
|
|
52141
52404
|
},
|
|
52142
52405
|
{
|
|
52143
52406
|
"kind": "field",
|
|
52144
|
-
"name": "
|
|
52407
|
+
"name": "value",
|
|
52145
52408
|
"type": {
|
|
52146
52409
|
"text": "string"
|
|
52147
52410
|
},
|
|
52148
52411
|
"privacy": "public",
|
|
52149
52412
|
"default": "\"\"",
|
|
52150
|
-
"description": "
|
|
52151
|
-
"attribute": "
|
|
52413
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
52414
|
+
"attribute": "value"
|
|
52152
52415
|
},
|
|
52153
52416
|
{
|
|
52154
52417
|
"kind": "field",
|
|
52155
|
-
"name": "
|
|
52418
|
+
"name": "name",
|
|
52156
52419
|
"type": {
|
|
52157
52420
|
"text": "string"
|
|
52158
52421
|
},
|
|
52159
52422
|
"privacy": "public",
|
|
52160
52423
|
"default": "\"\"",
|
|
52161
|
-
"description": "
|
|
52162
|
-
"attribute": "
|
|
52424
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
52425
|
+
"attribute": "name",
|
|
52426
|
+
"reflects": true
|
|
52163
52427
|
},
|
|
52164
52428
|
{
|
|
52165
52429
|
"kind": "field",
|
|
52166
|
-
"name": "
|
|
52430
|
+
"name": "required",
|
|
52167
52431
|
"type": {
|
|
52168
|
-
"text": "
|
|
52432
|
+
"text": "boolean"
|
|
52169
52433
|
},
|
|
52170
52434
|
"privacy": "public",
|
|
52171
|
-
"
|
|
52172
|
-
"
|
|
52435
|
+
"default": "false",
|
|
52436
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
52437
|
+
"attribute": "required",
|
|
52173
52438
|
"reflects": true
|
|
52174
52439
|
},
|
|
52175
52440
|
{
|
|
52176
52441
|
"kind": "field",
|
|
52177
|
-
"name": "
|
|
52442
|
+
"name": "requiredMessage",
|
|
52178
52443
|
"type": {
|
|
52179
|
-
"text": "
|
|
52444
|
+
"text": "string"
|
|
52180
52445
|
},
|
|
52181
52446
|
"privacy": "public",
|
|
52182
|
-
"
|
|
52183
|
-
"
|
|
52184
|
-
"
|
|
52447
|
+
"default": "\"\"",
|
|
52448
|
+
"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```",
|
|
52449
|
+
"attribute": "required-message"
|
|
52185
52450
|
},
|
|
52186
52451
|
{
|
|
52187
52452
|
"kind": "field",
|
|
52188
|
-
"name": "
|
|
52453
|
+
"name": "disabled",
|
|
52189
52454
|
"type": {
|
|
52190
|
-
"text": "
|
|
52455
|
+
"text": "boolean"
|
|
52191
52456
|
},
|
|
52192
|
-
"privacy": "
|
|
52193
|
-
"
|
|
52457
|
+
"privacy": "public",
|
|
52458
|
+
"default": "false",
|
|
52459
|
+
"description": "Controls whether the switch is disabled.",
|
|
52460
|
+
"attribute": "disabled",
|
|
52461
|
+
"reflects": true
|
|
52194
52462
|
},
|
|
52195
52463
|
{
|
|
52196
|
-
"kind": "
|
|
52197
|
-
"name": "
|
|
52198
|
-
"
|
|
52199
|
-
|
|
52464
|
+
"kind": "method",
|
|
52465
|
+
"name": "focus",
|
|
52466
|
+
"privacy": "public",
|
|
52467
|
+
"return": {
|
|
52468
|
+
"type": {
|
|
52469
|
+
"text": "void"
|
|
52470
|
+
}
|
|
52200
52471
|
},
|
|
52201
|
-
"
|
|
52202
|
-
|
|
52472
|
+
"parameters": [
|
|
52473
|
+
{
|
|
52474
|
+
"name": "options",
|
|
52475
|
+
"optional": true,
|
|
52476
|
+
"type": {
|
|
52477
|
+
"text": "FocusOptions"
|
|
52478
|
+
}
|
|
52479
|
+
}
|
|
52480
|
+
],
|
|
52481
|
+
"description": "Focus the switch control."
|
|
52203
52482
|
},
|
|
52204
52483
|
{
|
|
52205
52484
|
"kind": "method",
|
|
52206
|
-
"name": "
|
|
52207
|
-
"privacy": "
|
|
52485
|
+
"name": "validate",
|
|
52486
|
+
"privacy": "public",
|
|
52208
52487
|
"return": {
|
|
52209
52488
|
"type": {
|
|
52210
52489
|
"text": "void"
|
|
52211
52490
|
}
|
|
52212
|
-
}
|
|
52491
|
+
},
|
|
52492
|
+
"description": "Re-run constraint validation and dispatch `validity-changed`."
|
|
52213
52493
|
},
|
|
52214
52494
|
{
|
|
52215
52495
|
"kind": "method",
|
|
52216
|
-
"name": "
|
|
52496
|
+
"name": "checkValidity",
|
|
52497
|
+
"privacy": "public",
|
|
52498
|
+
"return": {
|
|
52499
|
+
"type": {
|
|
52500
|
+
"text": "boolean"
|
|
52501
|
+
}
|
|
52502
|
+
},
|
|
52503
|
+
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
52504
|
+
},
|
|
52505
|
+
{
|
|
52506
|
+
"kind": "method",
|
|
52507
|
+
"name": "toggle",
|
|
52217
52508
|
"privacy": "private",
|
|
52218
52509
|
"return": {
|
|
52219
52510
|
"type": {
|
|
@@ -52222,18 +52513,26 @@
|
|
|
52222
52513
|
}
|
|
52223
52514
|
},
|
|
52224
52515
|
{
|
|
52225
|
-
"kind": "
|
|
52226
|
-
"name": "
|
|
52227
|
-
"privacy": "private"
|
|
52228
|
-
|
|
52229
|
-
|
|
52230
|
-
|
|
52231
|
-
|
|
52232
|
-
|
|
52516
|
+
"kind": "method",
|
|
52517
|
+
"name": "handleKeyDown",
|
|
52518
|
+
"privacy": "private",
|
|
52519
|
+
"return": {
|
|
52520
|
+
"type": {
|
|
52521
|
+
"text": "void"
|
|
52522
|
+
}
|
|
52523
|
+
},
|
|
52524
|
+
"parameters": [
|
|
52525
|
+
{
|
|
52526
|
+
"name": "ev",
|
|
52527
|
+
"type": {
|
|
52528
|
+
"text": "KeyboardEvent"
|
|
52529
|
+
}
|
|
52530
|
+
}
|
|
52531
|
+
]
|
|
52233
52532
|
},
|
|
52234
52533
|
{
|
|
52235
52534
|
"kind": "method",
|
|
52236
|
-
"name": "
|
|
52535
|
+
"name": "handleLabelSlotChange",
|
|
52237
52536
|
"privacy": "private",
|
|
52238
52537
|
"return": {
|
|
52239
52538
|
"type": {
|
|
@@ -52241,67 +52540,71 @@
|
|
|
52241
52540
|
}
|
|
52242
52541
|
}
|
|
52243
52542
|
},
|
|
52244
|
-
{
|
|
52245
|
-
"kind": "field",
|
|
52246
|
-
"name": "handleClick",
|
|
52247
|
-
"privacy": "private"
|
|
52248
|
-
},
|
|
52249
|
-
{
|
|
52250
|
-
"kind": "field",
|
|
52251
|
-
"name": "handleKeydown",
|
|
52252
|
-
"privacy": "private"
|
|
52253
|
-
},
|
|
52254
52543
|
{
|
|
52255
52544
|
"kind": "method",
|
|
52256
|
-
"name": "
|
|
52257
|
-
"privacy": "private"
|
|
52545
|
+
"name": "getCurrentTextModeLabel",
|
|
52546
|
+
"privacy": "private",
|
|
52547
|
+
"return": {
|
|
52548
|
+
"type": {
|
|
52549
|
+
"text": "string"
|
|
52550
|
+
}
|
|
52551
|
+
}
|
|
52258
52552
|
},
|
|
52259
52553
|
{
|
|
52260
52554
|
"kind": "method",
|
|
52261
|
-
"name": "
|
|
52262
|
-
"privacy": "private"
|
|
52555
|
+
"name": "getTextModeAriaLabel",
|
|
52556
|
+
"privacy": "private",
|
|
52557
|
+
"return": {
|
|
52558
|
+
"type": {
|
|
52559
|
+
"text": "string"
|
|
52560
|
+
}
|
|
52561
|
+
}
|
|
52263
52562
|
},
|
|
52264
52563
|
{
|
|
52265
|
-
"kind": "
|
|
52266
|
-
"name": "
|
|
52267
|
-
"
|
|
52268
|
-
"
|
|
52564
|
+
"kind": "method",
|
|
52565
|
+
"name": "formResetCallback",
|
|
52566
|
+
"return": {
|
|
52567
|
+
"type": {
|
|
52568
|
+
"text": "void"
|
|
52569
|
+
}
|
|
52269
52570
|
},
|
|
52270
|
-
"
|
|
52271
|
-
"default": "\"neutral\"",
|
|
52272
|
-
"inheritedFrom": {
|
|
52273
|
-
"name": "EspalierIntentElementBase",
|
|
52274
|
-
"module": "dist/shared/esp-intent-element-base.js"
|
|
52275
|
-
}
|
|
52571
|
+
"description": "Called by the browser when the owning `<form>` is reset."
|
|
52276
52572
|
},
|
|
52277
52573
|
{
|
|
52278
|
-
"kind": "
|
|
52279
|
-
"name": "
|
|
52280
|
-
"
|
|
52281
|
-
"
|
|
52574
|
+
"kind": "method",
|
|
52575
|
+
"name": "formStateRestoreCallback",
|
|
52576
|
+
"return": {
|
|
52577
|
+
"type": {
|
|
52578
|
+
"text": "void"
|
|
52579
|
+
}
|
|
52282
52580
|
},
|
|
52283
|
-
"
|
|
52284
|
-
|
|
52285
|
-
|
|
52286
|
-
|
|
52287
|
-
|
|
52288
|
-
|
|
52289
|
-
|
|
52290
|
-
|
|
52581
|
+
"parameters": [
|
|
52582
|
+
{
|
|
52583
|
+
"name": "state",
|
|
52584
|
+
"type": {
|
|
52585
|
+
"text": "string"
|
|
52586
|
+
}
|
|
52587
|
+
}
|
|
52588
|
+
],
|
|
52589
|
+
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
52291
52590
|
},
|
|
52292
52591
|
{
|
|
52293
52592
|
"kind": "method",
|
|
52294
|
-
"name": "
|
|
52295
|
-
"privacy": "protected",
|
|
52593
|
+
"name": "formDisabledCallback",
|
|
52296
52594
|
"return": {
|
|
52297
52595
|
"type": {
|
|
52298
|
-
"text": "
|
|
52596
|
+
"text": "void"
|
|
52299
52597
|
}
|
|
52300
52598
|
},
|
|
52301
|
-
"
|
|
52302
|
-
|
|
52303
|
-
|
|
52304
|
-
|
|
52599
|
+
"parameters": [
|
|
52600
|
+
{
|
|
52601
|
+
"name": "isDisabled",
|
|
52602
|
+
"type": {
|
|
52603
|
+
"text": "boolean"
|
|
52604
|
+
}
|
|
52605
|
+
}
|
|
52606
|
+
],
|
|
52607
|
+
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
52305
52608
|
},
|
|
52306
52609
|
{
|
|
52307
52610
|
"kind": "field",
|
|
@@ -52483,6 +52786,21 @@
|
|
|
52483
52786
|
"module": "dist/shared/esp-element-base.js"
|
|
52484
52787
|
}
|
|
52485
52788
|
},
|
|
52789
|
+
{
|
|
52790
|
+
"kind": "field",
|
|
52791
|
+
"name": "variant",
|
|
52792
|
+
"type": {
|
|
52793
|
+
"text": "EspalierVariant"
|
|
52794
|
+
},
|
|
52795
|
+
"privacy": "public",
|
|
52796
|
+
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
52797
|
+
"attribute": "variant",
|
|
52798
|
+
"reflects": true,
|
|
52799
|
+
"inheritedFrom": {
|
|
52800
|
+
"name": "EspalierElementBase",
|
|
52801
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52802
|
+
}
|
|
52803
|
+
},
|
|
52486
52804
|
{
|
|
52487
52805
|
"kind": "method",
|
|
52488
52806
|
"name": "syncRootFromDom",
|
|
@@ -52690,6 +53008,20 @@
|
|
|
52690
53008
|
"module": "dist/shared/esp-element-base.js"
|
|
52691
53009
|
}
|
|
52692
53010
|
},
|
|
53011
|
+
{
|
|
53012
|
+
"kind": "method",
|
|
53013
|
+
"name": "getVariantColorSource",
|
|
53014
|
+
"privacy": "protected",
|
|
53015
|
+
"return": {
|
|
53016
|
+
"type": {
|
|
53017
|
+
"text": "ColorSource | \"\""
|
|
53018
|
+
}
|
|
53019
|
+
},
|
|
53020
|
+
"inheritedFrom": {
|
|
53021
|
+
"name": "EspalierElementBase",
|
|
53022
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53023
|
+
}
|
|
53024
|
+
},
|
|
52693
53025
|
{
|
|
52694
53026
|
"kind": "method",
|
|
52695
53027
|
"name": "setVariantTokenProperty",
|
|
@@ -52733,52 +53065,100 @@
|
|
|
52733
53065
|
}
|
|
52734
53066
|
}
|
|
52735
53067
|
],
|
|
53068
|
+
"events": [
|
|
53069
|
+
{
|
|
53070
|
+
"name": "value-changed",
|
|
53071
|
+
"type": {
|
|
53072
|
+
"text": "CustomEvent"
|
|
53073
|
+
},
|
|
53074
|
+
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
53075
|
+
"inheritedFrom": {
|
|
53076
|
+
"name": "EspalierElementBase",
|
|
53077
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53078
|
+
}
|
|
53079
|
+
}
|
|
53080
|
+
],
|
|
52736
53081
|
"attributes": [
|
|
52737
53082
|
{
|
|
52738
|
-
"name": "
|
|
53083
|
+
"name": "mode",
|
|
53084
|
+
"type": {
|
|
53085
|
+
"text": "\"switch\" | \"text\""
|
|
53086
|
+
},
|
|
53087
|
+
"default": "\"switch\"",
|
|
53088
|
+
"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.",
|
|
53089
|
+
"fieldName": "mode"
|
|
53090
|
+
},
|
|
53091
|
+
{
|
|
53092
|
+
"name": "off-label",
|
|
52739
53093
|
"type": {
|
|
52740
53094
|
"text": "string"
|
|
52741
53095
|
},
|
|
52742
53096
|
"default": "\"\"",
|
|
52743
|
-
"description": "
|
|
52744
|
-
"fieldName": "
|
|
53097
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
53098
|
+
"fieldName": "offLabel"
|
|
52745
53099
|
},
|
|
52746
53100
|
{
|
|
52747
|
-
"name": "label",
|
|
53101
|
+
"name": "on-label",
|
|
52748
53102
|
"type": {
|
|
52749
53103
|
"text": "string"
|
|
52750
53104
|
},
|
|
52751
53105
|
"default": "\"\"",
|
|
52752
|
-
"description": "
|
|
52753
|
-
"fieldName": "
|
|
53106
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
53107
|
+
"fieldName": "onLabel"
|
|
52754
53108
|
},
|
|
52755
53109
|
{
|
|
52756
|
-
"name": "
|
|
53110
|
+
"name": "checked",
|
|
52757
53111
|
"type": {
|
|
52758
|
-
"text": "
|
|
53112
|
+
"text": "boolean"
|
|
52759
53113
|
},
|
|
52760
|
-
"
|
|
52761
|
-
"
|
|
53114
|
+
"default": "false",
|
|
53115
|
+
"description": "Whether the switch is in the on state.",
|
|
53116
|
+
"fieldName": "checked"
|
|
52762
53117
|
},
|
|
52763
53118
|
{
|
|
52764
|
-
"name": "
|
|
53119
|
+
"name": "value",
|
|
52765
53120
|
"type": {
|
|
52766
|
-
"text": "
|
|
53121
|
+
"text": "string"
|
|
52767
53122
|
},
|
|
52768
|
-
"
|
|
52769
|
-
"
|
|
53123
|
+
"default": "\"\"",
|
|
53124
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
53125
|
+
"fieldName": "value"
|
|
52770
53126
|
},
|
|
52771
53127
|
{
|
|
52772
|
-
"name": "
|
|
53128
|
+
"name": "name",
|
|
52773
53129
|
"type": {
|
|
52774
|
-
"text": "
|
|
53130
|
+
"text": "string"
|
|
52775
53131
|
},
|
|
52776
|
-
"
|
|
52777
|
-
"
|
|
52778
|
-
"
|
|
52779
|
-
|
|
52780
|
-
|
|
52781
|
-
|
|
53132
|
+
"default": "\"\"",
|
|
53133
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
53134
|
+
"fieldName": "name"
|
|
53135
|
+
},
|
|
53136
|
+
{
|
|
53137
|
+
"name": "required",
|
|
53138
|
+
"type": {
|
|
53139
|
+
"text": "boolean"
|
|
53140
|
+
},
|
|
53141
|
+
"default": "false",
|
|
53142
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
53143
|
+
"fieldName": "required"
|
|
53144
|
+
},
|
|
53145
|
+
{
|
|
53146
|
+
"name": "required-message",
|
|
53147
|
+
"type": {
|
|
53148
|
+
"text": "string"
|
|
53149
|
+
},
|
|
53150
|
+
"default": "\"\"",
|
|
53151
|
+
"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```",
|
|
53152
|
+
"fieldName": "requiredMessage"
|
|
53153
|
+
},
|
|
53154
|
+
{
|
|
53155
|
+
"name": "disabled",
|
|
53156
|
+
"type": {
|
|
53157
|
+
"text": "boolean"
|
|
53158
|
+
},
|
|
53159
|
+
"default": "false",
|
|
53160
|
+
"description": "Controls whether the switch is disabled.",
|
|
53161
|
+
"fieldName": "disabled"
|
|
52782
53162
|
},
|
|
52783
53163
|
{
|
|
52784
53164
|
"name": "scheme",
|
|
@@ -52792,123 +53172,95 @@
|
|
|
52792
53172
|
"name": "EspalierElementBase",
|
|
52793
53173
|
"module": "dist/shared/esp-element-base.js"
|
|
52794
53174
|
}
|
|
53175
|
+
},
|
|
53176
|
+
{
|
|
53177
|
+
"name": "variant",
|
|
53178
|
+
"type": {
|
|
53179
|
+
"text": "EspalierVariant"
|
|
53180
|
+
},
|
|
53181
|
+
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
53182
|
+
"fieldName": "variant",
|
|
53183
|
+
"inheritedFrom": {
|
|
53184
|
+
"name": "EspalierElementBase",
|
|
53185
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53186
|
+
}
|
|
52795
53187
|
}
|
|
52796
53188
|
],
|
|
52797
53189
|
"superclass": {
|
|
52798
|
-
"name": "
|
|
52799
|
-
"module": "dist/shared/esp-
|
|
53190
|
+
"name": "EspalierElementBase",
|
|
53191
|
+
"module": "dist/shared/esp-element-base.js"
|
|
52800
53192
|
},
|
|
52801
53193
|
"docPageTitle": {
|
|
52802
|
-
"name": "
|
|
52803
|
-
"description": "
|
|
53194
|
+
"name": "Switch",
|
|
53195
|
+
"description": ""
|
|
52804
53196
|
},
|
|
52805
53197
|
"docUrl": {
|
|
52806
|
-
"name": "/components/
|
|
53198
|
+
"name": "/components/switch",
|
|
52807
53199
|
"description": ""
|
|
52808
53200
|
},
|
|
52809
53201
|
"menuGroup": {
|
|
52810
|
-
"name": "
|
|
52811
|
-
"description": ""
|
|
53202
|
+
"name": "Form",
|
|
53203
|
+
"description": "Controls"
|
|
52812
53204
|
},
|
|
52813
53205
|
"menuLabel": {
|
|
52814
|
-
"name": "
|
|
52815
|
-
"description": "
|
|
53206
|
+
"name": "Switch",
|
|
53207
|
+
"description": ""
|
|
52816
53208
|
},
|
|
52817
53209
|
"menuIcon": {
|
|
52818
|
-
"name": "
|
|
53210
|
+
"name": "button",
|
|
52819
53211
|
"description": ""
|
|
52820
53212
|
},
|
|
52821
|
-
"tagName": "esp-
|
|
52822
|
-
"customElement": true
|
|
52823
|
-
"events": [
|
|
52824
|
-
{
|
|
52825
|
-
"name": "value-changed",
|
|
52826
|
-
"type": {
|
|
52827
|
-
"text": "CustomEvent"
|
|
52828
|
-
},
|
|
52829
|
-
"inheritedFrom": {
|
|
52830
|
-
"name": "EspalierElementBase",
|
|
52831
|
-
"module": "dist/shared/esp-element-base.js"
|
|
52832
|
-
}
|
|
52833
|
-
}
|
|
52834
|
-
]
|
|
53213
|
+
"tagName": "esp-switch",
|
|
53214
|
+
"customElement": true
|
|
52835
53215
|
}
|
|
52836
53216
|
],
|
|
52837
53217
|
"exports": [
|
|
52838
53218
|
{
|
|
52839
53219
|
"kind": "js",
|
|
52840
|
-
"name": "
|
|
53220
|
+
"name": "EspalierSwitch",
|
|
52841
53221
|
"declaration": {
|
|
52842
|
-
"name": "
|
|
52843
|
-
"module": "dist/
|
|
53222
|
+
"name": "EspalierSwitch",
|
|
53223
|
+
"module": "dist/switch/esp-switch.js"
|
|
52844
53224
|
}
|
|
52845
53225
|
},
|
|
52846
53226
|
{
|
|
52847
53227
|
"kind": "custom-element-definition",
|
|
52848
|
-
"name": "esp-
|
|
53228
|
+
"name": "esp-switch",
|
|
52849
53229
|
"declaration": {
|
|
52850
|
-
"name": "
|
|
52851
|
-
"module": "dist/
|
|
53230
|
+
"name": "EspalierSwitch",
|
|
53231
|
+
"module": "dist/switch/esp-switch.js"
|
|
52852
53232
|
}
|
|
52853
53233
|
}
|
|
52854
53234
|
]
|
|
52855
53235
|
},
|
|
52856
53236
|
{
|
|
52857
53237
|
"kind": "javascript-module",
|
|
52858
|
-
"path": "dist/
|
|
53238
|
+
"path": "dist/status-indicator/esp-status-indicator.js",
|
|
52859
53239
|
"declarations": [
|
|
52860
53240
|
{
|
|
52861
53241
|
"kind": "class",
|
|
52862
|
-
"description": "A
|
|
52863
|
-
"name": "
|
|
53242
|
+
"description": "A compact, keyboard-accessible status icon that reveals explanatory\ncontent in an `esp-popover` on hover, focus, or tap.\n\n```html\n<esp-status-indicator\n variant=\"warning\"\n label=\"Image processing delayed\"\n placement=\"right\">\n The image is still queued. It will retry automatically.\n</esp-status-indicator>\n\n<esp-status-indicator variant=\"success\" label=\"Published\">\n This page is live and visible to visitors.\n</esp-status-indicator>\n```\n\n### Chrome modes\n\nThe `chrome` attribute controls the chip treatment around the icon.\n`pill` (the default) renders the filled circular background, `outline`\nkeeps only the border, and `none` drops both — leaving just the\nvariant-colored icon and its popover affordance. `chrome=\"none\"` is the\nright choice when the indicator sits inside dense metadata rows where\na full pill would feel heavy.\n\n```html\n<esp-box style=\"display: flex; gap: var(--esp-size-normal); align-items: center;\">\n <esp-status-indicator variant=\"success\" label=\"Pill (default)\">\n Pill chrome wraps the icon in a filled circle.\n </esp-status-indicator>\n\n <esp-status-indicator chrome=\"outline\" variant=\"success\" label=\"Outline\">\n Outline chrome keeps the border but drops the fill.\n </esp-status-indicator>\n\n <esp-status-indicator chrome=\"none\" variant=\"success\" label=\"None\">\n None drops the chrome entirely — just the variant-colored icon.\n </esp-status-indicator>\n</esp-box>\n```\n\n### Wide chip with a non-square SVG\n\nThe built-in `icon` attribute pulls from the Espalier sprite, which is\nauthored for **square** glyphs at the chip's default size. When you\nneed a non-square mark — a file-type badge, a short token of text, a\npill of dimensions — slot your own SVG into the `icon` slot and size\nthe chip through the three CSS hooks: `--esp-status-indicator-width`,\n`--esp-status-indicator-height`, and `--esp-status-indicator-border-radius`.\n\nThe slotted SVG fills the chip, so give it a matching `viewBox` and\nuse `chrome=\"none\"` if you don't want the chip's pill background\nfighting your art.\n\n```html\n<style>\n .file-type-indicator {\n --esp-status-indicator-width: calc(var(--esp-size-big-to-large) * 2.5);\n --esp-status-indicator-height: var(--esp-size-big-to-large);\n --esp-status-indicator-border-radius: var(--esp-size-border-radius);\n color: var(--esp-color-link);\n }\n\n .file-type-indicator svg text {\n fill: var(--esp-color-background);\n font-family: var(--esp-font-body);\n font-size: 14px;\n font-weight: 600;\n text-anchor: middle;\n }\n</style>\n\n<esp-status-indicator\n class=\"file-type-indicator\"\n chrome=\"none\"\n label=\"Original file type\">\n <svg slot=\"icon\" viewBox=\"0 0 72 32\" aria-hidden=\"true\">\n <rect x=\"0\" y=\"0\" width=\"72\" height=\"32\" rx=\"6\" ry=\"6\" fill=\"currentColor\"/>\n <text x=\"36\" y=\"21\">JPG</text>\n </svg>\n <strong>Original file type</strong>\n <p>Uploaded as a JPEG; responsive variants are generated on demand.</p>\n</esp-status-indicator>\n```\n\n### Rich popover content\n\nThe default slot accepts any HTML, not just plain text. Small blocks\nof structured content — a heading, a list of values, a definition\nlist — render inside the popover and are clamped by\n`--esp-status-indicator-popover-max-width` (default `32ch`). Raise the\nhook when the content needs more room.\n\n```html\n<style>\n .responsive-layers-indicator {\n --esp-status-indicator-popover-max-width: 24rem;\n }\n\n .responsive-layers-indicator ul {\n margin: var(--esp-size-tiny) 0 0;\n padding-left: var(--esp-size-normal);\n }\n</style>\n\n<esp-status-indicator\n class=\"responsive-layers-indicator\"\n variant=\"success\"\n icon=\"layers-intersect\"\n label=\"Responsive layers ready\">\n <strong>Responsive layers ready</strong>\n <ul>\n <li>320w — mobile</li>\n <li>640w — tablet</li>\n <li>1280w — desktop</li>\n <li>1920w — large desktop</li>\n </ul>\n</esp-status-indicator>\n```",
|
|
53243
|
+
"name": "EspalierStatusIndicator",
|
|
52864
53244
|
"cssProperties": [
|
|
52865
53245
|
{
|
|
52866
|
-
"description": "
|
|
52867
|
-
"name": "--esp-
|
|
52868
|
-
|
|
52869
|
-
{
|
|
52870
|
-
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
52871
|
-
"name": "--esp-switch-height"
|
|
52872
|
-
},
|
|
52873
|
-
{
|
|
52874
|
-
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
52875
|
-
"name": "--esp-switch-thumb-size"
|
|
52876
|
-
},
|
|
52877
|
-
{
|
|
52878
|
-
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
52879
|
-
"name": "--esp-switch-track-color"
|
|
52880
|
-
},
|
|
52881
|
-
{
|
|
52882
|
-
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
52883
|
-
"name": "--esp-switch-track-color-on"
|
|
52884
|
-
},
|
|
52885
|
-
{
|
|
52886
|
-
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
52887
|
-
"name": "--esp-switch-thumb-color"
|
|
52888
|
-
},
|
|
52889
|
-
{
|
|
52890
|
-
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
52891
|
-
"name": "--esp-switch-focus-shadow"
|
|
52892
|
-
},
|
|
52893
|
-
{
|
|
52894
|
-
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
52895
|
-
"name": "--esp-switch-text-padding"
|
|
52896
|
-
},
|
|
52897
|
-
{
|
|
52898
|
-
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
52899
|
-
"name": "--esp-switch-text-font-size"
|
|
53246
|
+
"description": "Width of the indicator chip. Override on the host to render a non-square indicator (for example, a file-type badge).",
|
|
53247
|
+
"name": "--esp-status-indicator-width",
|
|
53248
|
+
"default": "var(--esp-size-normal-to-medium)"
|
|
52900
53249
|
},
|
|
52901
53250
|
{
|
|
52902
|
-
"description": "
|
|
52903
|
-
"name": "--esp-
|
|
53251
|
+
"description": "Height of the indicator chip. Defaults to the width so the chip stays square.",
|
|
53252
|
+
"name": "--esp-status-indicator-height",
|
|
53253
|
+
"default": "var(--esp-status-indicator-width)"
|
|
52904
53254
|
},
|
|
52905
53255
|
{
|
|
52906
|
-
"description": "
|
|
52907
|
-
"name": "--esp-
|
|
53256
|
+
"description": "Corner radius of the indicator chip. Lower it (for example, to `var(--esp-size-border-radius)`) for a rounded-rectangle chip.",
|
|
53257
|
+
"name": "--esp-status-indicator-border-radius",
|
|
53258
|
+
"default": "999px"
|
|
52908
53259
|
},
|
|
52909
53260
|
{
|
|
52910
|
-
"description": "
|
|
52911
|
-
"name": "--esp-
|
|
53261
|
+
"description": "Maximum width of the popover body. Raise this when slotting structured content such as a `<ul>` of values.",
|
|
53262
|
+
"name": "--esp-status-indicator-popover-max-width",
|
|
53263
|
+
"default": "32ch"
|
|
52912
53264
|
},
|
|
52913
53265
|
{
|
|
52914
53266
|
"description": "Background color of the shared field shell. Defaults to `var(--esp-color-layer-2)`.",
|
|
@@ -52969,186 +53321,144 @@
|
|
|
52969
53321
|
],
|
|
52970
53322
|
"slots": [
|
|
52971
53323
|
{
|
|
52972
|
-
"description": "
|
|
53324
|
+
"description": "Body of the popover that opens when the indicator is hovered, focused, or tapped. Accepts plain text or arbitrary HTML — small blocks of structured content (lists, key/value pairs) render inside the popover at `--esp-status-indicator-popover-max-width`.",
|
|
52973
53325
|
"name": ""
|
|
53326
|
+
},
|
|
53327
|
+
{
|
|
53328
|
+
"description": "Optional custom status icon. When provided, it overrides both the `icon` attribute and built-in variant icon.",
|
|
53329
|
+
"name": "icon"
|
|
52974
53330
|
}
|
|
52975
53331
|
],
|
|
52976
53332
|
"members": [
|
|
52977
53333
|
{
|
|
52978
53334
|
"kind": "field",
|
|
52979
|
-
"name": "
|
|
52980
|
-
"type": {
|
|
52981
|
-
"text": "boolean"
|
|
52982
|
-
},
|
|
52983
|
-
"static": true,
|
|
52984
|
-
"default": "true"
|
|
52985
|
-
},
|
|
52986
|
-
{
|
|
52987
|
-
"kind": "field",
|
|
52988
|
-
"name": "internals",
|
|
53335
|
+
"name": "popoverRef",
|
|
52989
53336
|
"privacy": "private"
|
|
52990
53337
|
},
|
|
52991
53338
|
{
|
|
52992
53339
|
"kind": "field",
|
|
52993
|
-
"name": "
|
|
53340
|
+
"name": "iconSlot",
|
|
52994
53341
|
"privacy": "private",
|
|
52995
|
-
"default": "new
|
|
53342
|
+
"default": "new SlottedIconController(this)"
|
|
52996
53343
|
},
|
|
52997
53344
|
{
|
|
52998
53345
|
"kind": "field",
|
|
52999
|
-
"name": "
|
|
53346
|
+
"name": "placementBacker",
|
|
53347
|
+
"type": {
|
|
53348
|
+
"text": "EspalierStatusIndicatorPlacement"
|
|
53349
|
+
},
|
|
53000
53350
|
"privacy": "private",
|
|
53001
|
-
"default": "
|
|
53351
|
+
"default": "\"top\""
|
|
53002
53352
|
},
|
|
53003
53353
|
{
|
|
53004
53354
|
"kind": "field",
|
|
53005
|
-
"name": "
|
|
53355
|
+
"name": "chromeBacker",
|
|
53006
53356
|
"type": {
|
|
53007
|
-
"text": "
|
|
53357
|
+
"text": "EspalierStatusIndicatorChrome"
|
|
53008
53358
|
},
|
|
53009
|
-
"privacy": "
|
|
53010
|
-
"default": "\"
|
|
53011
|
-
"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.",
|
|
53012
|
-
"attribute": "mode",
|
|
53013
|
-
"reflects": true
|
|
53359
|
+
"privacy": "private",
|
|
53360
|
+
"default": "\"pill\""
|
|
53014
53361
|
},
|
|
53015
53362
|
{
|
|
53016
53363
|
"kind": "field",
|
|
53017
|
-
"name": "
|
|
53018
|
-
"
|
|
53019
|
-
|
|
53020
|
-
}
|
|
53021
|
-
"privacy": "public",
|
|
53022
|
-
"default": "\"\"",
|
|
53023
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
53024
|
-
"attribute": "off-label"
|
|
53364
|
+
"name": "descriptionId",
|
|
53365
|
+
"privacy": "private",
|
|
53366
|
+
"readonly": true,
|
|
53367
|
+
"default": "`esp-status-indicator-${++statusIndicatorIdCounter}`"
|
|
53025
53368
|
},
|
|
53026
53369
|
{
|
|
53027
53370
|
"kind": "field",
|
|
53028
|
-
"name": "
|
|
53371
|
+
"name": "open",
|
|
53029
53372
|
"type": {
|
|
53030
|
-
"text": "
|
|
53373
|
+
"text": "boolean"
|
|
53031
53374
|
},
|
|
53032
|
-
"privacy": "
|
|
53033
|
-
"default": "
|
|
53034
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
53035
|
-
"attribute": "on-label"
|
|
53375
|
+
"privacy": "private",
|
|
53376
|
+
"default": "false"
|
|
53036
53377
|
},
|
|
53037
53378
|
{
|
|
53038
53379
|
"kind": "field",
|
|
53039
|
-
"name": "
|
|
53380
|
+
"name": "popoverPinned",
|
|
53040
53381
|
"type": {
|
|
53041
53382
|
"text": "boolean"
|
|
53042
53383
|
},
|
|
53043
|
-
"privacy": "
|
|
53044
|
-
"default": "false"
|
|
53045
|
-
"description": "Whether the switch is in the on state.",
|
|
53046
|
-
"attribute": "checked",
|
|
53047
|
-
"reflects": true
|
|
53384
|
+
"privacy": "private",
|
|
53385
|
+
"default": "false"
|
|
53048
53386
|
},
|
|
53049
53387
|
{
|
|
53050
53388
|
"kind": "field",
|
|
53051
|
-
"name": "
|
|
53389
|
+
"name": "icon",
|
|
53052
53390
|
"type": {
|
|
53053
53391
|
"text": "string"
|
|
53054
53392
|
},
|
|
53055
53393
|
"privacy": "public",
|
|
53056
53394
|
"default": "\"\"",
|
|
53057
|
-
"description": "
|
|
53058
|
-
"attribute": "
|
|
53395
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
53396
|
+
"attribute": "icon"
|
|
53059
53397
|
},
|
|
53060
53398
|
{
|
|
53061
53399
|
"kind": "field",
|
|
53062
|
-
"name": "
|
|
53400
|
+
"name": "label",
|
|
53063
53401
|
"type": {
|
|
53064
53402
|
"text": "string"
|
|
53065
53403
|
},
|
|
53066
53404
|
"privacy": "public",
|
|
53067
53405
|
"default": "\"\"",
|
|
53068
|
-
"description": "
|
|
53069
|
-
"attribute": "
|
|
53070
|
-
"reflects": true
|
|
53406
|
+
"description": "Accessible label for the indicator button.",
|
|
53407
|
+
"attribute": "label"
|
|
53071
53408
|
},
|
|
53072
53409
|
{
|
|
53073
53410
|
"kind": "field",
|
|
53074
|
-
"name": "
|
|
53411
|
+
"name": "placement",
|
|
53075
53412
|
"type": {
|
|
53076
|
-
"text": "
|
|
53413
|
+
"text": "EspalierStatusIndicatorPlacement"
|
|
53077
53414
|
},
|
|
53078
53415
|
"privacy": "public",
|
|
53079
|
-
"
|
|
53080
|
-
"
|
|
53081
|
-
"attribute": "required",
|
|
53416
|
+
"description": "Preferred popover placement.",
|
|
53417
|
+
"attribute": "placement",
|
|
53082
53418
|
"reflects": true
|
|
53083
53419
|
},
|
|
53084
53420
|
{
|
|
53085
53421
|
"kind": "field",
|
|
53086
|
-
"name": "
|
|
53422
|
+
"name": "chrome",
|
|
53087
53423
|
"type": {
|
|
53088
|
-
"text": "
|
|
53424
|
+
"text": "EspalierStatusIndicatorChrome"
|
|
53089
53425
|
},
|
|
53090
53426
|
"privacy": "public",
|
|
53091
|
-
"
|
|
53092
|
-
"
|
|
53093
|
-
"
|
|
53427
|
+
"description": "Visual chrome around the status icon. `pill` renders the filled\ncircular treatment, `outline` keeps only the border, and `none`\nrenders the variant-colored icon alone.",
|
|
53428
|
+
"attribute": "chrome",
|
|
53429
|
+
"reflects": true
|
|
53094
53430
|
},
|
|
53095
53431
|
{
|
|
53096
53432
|
"kind": "field",
|
|
53097
|
-
"name": "
|
|
53433
|
+
"name": "attach",
|
|
53098
53434
|
"type": {
|
|
53099
|
-
"text": "
|
|
53435
|
+
"text": "\"left\" | \"right\" | \"above\" | \"below\""
|
|
53100
53436
|
},
|
|
53101
|
-
"privacy": "
|
|
53102
|
-
"
|
|
53103
|
-
"description": "Controls whether the switch is disabled.",
|
|
53104
|
-
"attribute": "disabled",
|
|
53105
|
-
"reflects": true
|
|
53437
|
+
"privacy": "private",
|
|
53438
|
+
"readonly": true
|
|
53106
53439
|
},
|
|
53107
53440
|
{
|
|
53108
|
-
"kind": "
|
|
53109
|
-
"name": "
|
|
53110
|
-
"
|
|
53111
|
-
|
|
53112
|
-
"type": {
|
|
53113
|
-
"text": "void"
|
|
53114
|
-
}
|
|
53441
|
+
"kind": "field",
|
|
53442
|
+
"name": "accessibleLabel",
|
|
53443
|
+
"type": {
|
|
53444
|
+
"text": "string"
|
|
53115
53445
|
},
|
|
53116
|
-
"
|
|
53117
|
-
|
|
53118
|
-
"name": "options",
|
|
53119
|
-
"optional": true,
|
|
53120
|
-
"type": {
|
|
53121
|
-
"text": "FocusOptions"
|
|
53122
|
-
}
|
|
53123
|
-
}
|
|
53124
|
-
],
|
|
53125
|
-
"description": "Focus the switch control."
|
|
53446
|
+
"privacy": "private",
|
|
53447
|
+
"readonly": true
|
|
53126
53448
|
},
|
|
53127
53449
|
{
|
|
53128
53450
|
"kind": "method",
|
|
53129
|
-
"name": "
|
|
53130
|
-
"privacy": "
|
|
53451
|
+
"name": "syncPlacementAttribute",
|
|
53452
|
+
"privacy": "private",
|
|
53131
53453
|
"return": {
|
|
53132
53454
|
"type": {
|
|
53133
53455
|
"text": "void"
|
|
53134
53456
|
}
|
|
53135
|
-
}
|
|
53136
|
-
"description": "Re-run constraint validation and dispatch `validity-changed`."
|
|
53137
|
-
},
|
|
53138
|
-
{
|
|
53139
|
-
"kind": "method",
|
|
53140
|
-
"name": "checkValidity",
|
|
53141
|
-
"privacy": "public",
|
|
53142
|
-
"return": {
|
|
53143
|
-
"type": {
|
|
53144
|
-
"text": "boolean"
|
|
53145
|
-
}
|
|
53146
|
-
},
|
|
53147
|
-
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
53457
|
+
}
|
|
53148
53458
|
},
|
|
53149
53459
|
{
|
|
53150
53460
|
"kind": "method",
|
|
53151
|
-
"name": "
|
|
53461
|
+
"name": "syncChromeAttribute",
|
|
53152
53462
|
"privacy": "private",
|
|
53153
53463
|
"return": {
|
|
53154
53464
|
"type": {
|
|
@@ -53157,26 +53467,18 @@
|
|
|
53157
53467
|
}
|
|
53158
53468
|
},
|
|
53159
53469
|
{
|
|
53160
|
-
"kind": "
|
|
53161
|
-
"name": "
|
|
53162
|
-
"privacy": "private"
|
|
53163
|
-
|
|
53164
|
-
|
|
53165
|
-
|
|
53166
|
-
|
|
53167
|
-
|
|
53168
|
-
"parameters": [
|
|
53169
|
-
{
|
|
53170
|
-
"name": "ev",
|
|
53171
|
-
"type": {
|
|
53172
|
-
"text": "KeyboardEvent"
|
|
53173
|
-
}
|
|
53174
|
-
}
|
|
53175
|
-
]
|
|
53470
|
+
"kind": "field",
|
|
53471
|
+
"name": "handlePopoverOpened",
|
|
53472
|
+
"privacy": "private"
|
|
53473
|
+
},
|
|
53474
|
+
{
|
|
53475
|
+
"kind": "field",
|
|
53476
|
+
"name": "handlePopoverClosed",
|
|
53477
|
+
"privacy": "private"
|
|
53176
53478
|
},
|
|
53177
53479
|
{
|
|
53178
53480
|
"kind": "method",
|
|
53179
|
-
"name": "
|
|
53481
|
+
"name": "pinPopoverOpen",
|
|
53180
53482
|
"privacy": "private",
|
|
53181
53483
|
"return": {
|
|
53182
53484
|
"type": {
|
|
@@ -53185,70 +53487,66 @@
|
|
|
53185
53487
|
}
|
|
53186
53488
|
},
|
|
53187
53489
|
{
|
|
53188
|
-
"kind": "
|
|
53189
|
-
"name": "
|
|
53190
|
-
"privacy": "private"
|
|
53191
|
-
|
|
53192
|
-
|
|
53193
|
-
|
|
53194
|
-
|
|
53195
|
-
|
|
53490
|
+
"kind": "field",
|
|
53491
|
+
"name": "handleClick",
|
|
53492
|
+
"privacy": "private"
|
|
53493
|
+
},
|
|
53494
|
+
{
|
|
53495
|
+
"kind": "field",
|
|
53496
|
+
"name": "handleKeydown",
|
|
53497
|
+
"privacy": "private"
|
|
53196
53498
|
},
|
|
53197
53499
|
{
|
|
53198
53500
|
"kind": "method",
|
|
53199
|
-
"name": "
|
|
53200
|
-
"privacy": "private"
|
|
53201
|
-
"return": {
|
|
53202
|
-
"type": {
|
|
53203
|
-
"text": "string"
|
|
53204
|
-
}
|
|
53205
|
-
}
|
|
53501
|
+
"name": "renderDefaultIcon",
|
|
53502
|
+
"privacy": "private"
|
|
53206
53503
|
},
|
|
53207
53504
|
{
|
|
53208
53505
|
"kind": "method",
|
|
53209
|
-
"name": "
|
|
53210
|
-
"
|
|
53211
|
-
|
|
53212
|
-
|
|
53213
|
-
|
|
53506
|
+
"name": "renderIcon",
|
|
53507
|
+
"privacy": "private"
|
|
53508
|
+
},
|
|
53509
|
+
{
|
|
53510
|
+
"kind": "field",
|
|
53511
|
+
"name": "intentVariantBacker",
|
|
53512
|
+
"type": {
|
|
53513
|
+
"text": "EspalierIntentVariant"
|
|
53214
53514
|
},
|
|
53215
|
-
"
|
|
53515
|
+
"privacy": "protected",
|
|
53516
|
+
"default": "\"neutral\"",
|
|
53517
|
+
"inheritedFrom": {
|
|
53518
|
+
"name": "EspalierIntentElementBase",
|
|
53519
|
+
"module": "dist/shared/esp-intent-element-base.js"
|
|
53520
|
+
}
|
|
53216
53521
|
},
|
|
53217
53522
|
{
|
|
53218
|
-
"kind": "
|
|
53219
|
-
"name": "
|
|
53220
|
-
"
|
|
53221
|
-
"
|
|
53222
|
-
"text": "void"
|
|
53223
|
-
}
|
|
53523
|
+
"kind": "field",
|
|
53524
|
+
"name": "variant",
|
|
53525
|
+
"type": {
|
|
53526
|
+
"text": "EspalierVariant"
|
|
53224
53527
|
},
|
|
53225
|
-
"
|
|
53226
|
-
|
|
53227
|
-
|
|
53228
|
-
|
|
53229
|
-
|
|
53230
|
-
|
|
53231
|
-
|
|
53232
|
-
|
|
53233
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
53528
|
+
"privacy": "public",
|
|
53529
|
+
"description": "Semantic visual treatment. One of `neutral`, `success`, `warning`, `danger`, `info`.",
|
|
53530
|
+
"attribute": "variant",
|
|
53531
|
+
"reflects": true,
|
|
53532
|
+
"inheritedFrom": {
|
|
53533
|
+
"name": "EspalierElementBase",
|
|
53534
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53535
|
+
}
|
|
53234
53536
|
},
|
|
53235
53537
|
{
|
|
53236
53538
|
"kind": "method",
|
|
53237
|
-
"name": "
|
|
53539
|
+
"name": "getVariantColorSource",
|
|
53540
|
+
"privacy": "protected",
|
|
53238
53541
|
"return": {
|
|
53239
53542
|
"type": {
|
|
53240
|
-
"text": "
|
|
53543
|
+
"text": "\"\""
|
|
53241
53544
|
}
|
|
53242
53545
|
},
|
|
53243
|
-
"
|
|
53244
|
-
|
|
53245
|
-
|
|
53246
|
-
|
|
53247
|
-
"text": "boolean"
|
|
53248
|
-
}
|
|
53249
|
-
}
|
|
53250
|
-
],
|
|
53251
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
53546
|
+
"inheritedFrom": {
|
|
53547
|
+
"name": "EspalierElementBase",
|
|
53548
|
+
"module": "dist/shared/esp-element-base.js"
|
|
53549
|
+
}
|
|
53252
53550
|
},
|
|
53253
53551
|
{
|
|
53254
53552
|
"kind": "field",
|
|
@@ -53430,21 +53728,6 @@
|
|
|
53430
53728
|
"module": "dist/shared/esp-element-base.js"
|
|
53431
53729
|
}
|
|
53432
53730
|
},
|
|
53433
|
-
{
|
|
53434
|
-
"kind": "field",
|
|
53435
|
-
"name": "variant",
|
|
53436
|
-
"type": {
|
|
53437
|
-
"text": "EspalierVariant"
|
|
53438
|
-
},
|
|
53439
|
-
"privacy": "public",
|
|
53440
|
-
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
53441
|
-
"attribute": "variant",
|
|
53442
|
-
"reflects": true,
|
|
53443
|
-
"inheritedFrom": {
|
|
53444
|
-
"name": "EspalierElementBase",
|
|
53445
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53446
|
-
}
|
|
53447
|
-
},
|
|
53448
53731
|
{
|
|
53449
53732
|
"kind": "method",
|
|
53450
53733
|
"name": "syncRootFromDom",
|
|
@@ -53652,20 +53935,6 @@
|
|
|
53652
53935
|
"module": "dist/shared/esp-element-base.js"
|
|
53653
53936
|
}
|
|
53654
53937
|
},
|
|
53655
|
-
{
|
|
53656
|
-
"kind": "method",
|
|
53657
|
-
"name": "getVariantColorSource",
|
|
53658
|
-
"privacy": "protected",
|
|
53659
|
-
"return": {
|
|
53660
|
-
"type": {
|
|
53661
|
-
"text": "ColorSource | \"\""
|
|
53662
|
-
}
|
|
53663
|
-
},
|
|
53664
|
-
"inheritedFrom": {
|
|
53665
|
-
"name": "EspalierElementBase",
|
|
53666
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53667
|
-
}
|
|
53668
|
-
},
|
|
53669
53938
|
{
|
|
53670
53939
|
"kind": "method",
|
|
53671
53940
|
"name": "setVariantTokenProperty",
|
|
@@ -53709,100 +53978,52 @@
|
|
|
53709
53978
|
}
|
|
53710
53979
|
}
|
|
53711
53980
|
],
|
|
53712
|
-
"events": [
|
|
53713
|
-
{
|
|
53714
|
-
"name": "value-changed",
|
|
53715
|
-
"type": {
|
|
53716
|
-
"text": "CustomEvent"
|
|
53717
|
-
},
|
|
53718
|
-
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
53719
|
-
"inheritedFrom": {
|
|
53720
|
-
"name": "EspalierElementBase",
|
|
53721
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53722
|
-
}
|
|
53723
|
-
}
|
|
53724
|
-
],
|
|
53725
53981
|
"attributes": [
|
|
53726
53982
|
{
|
|
53727
|
-
"name": "
|
|
53728
|
-
"type": {
|
|
53729
|
-
"text": "\"switch\" | \"text\""
|
|
53730
|
-
},
|
|
53731
|
-
"default": "\"switch\"",
|
|
53732
|
-
"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.",
|
|
53733
|
-
"fieldName": "mode"
|
|
53734
|
-
},
|
|
53735
|
-
{
|
|
53736
|
-
"name": "off-label",
|
|
53737
|
-
"type": {
|
|
53738
|
-
"text": "string"
|
|
53739
|
-
},
|
|
53740
|
-
"default": "\"\"",
|
|
53741
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
53742
|
-
"fieldName": "offLabel"
|
|
53743
|
-
},
|
|
53744
|
-
{
|
|
53745
|
-
"name": "on-label",
|
|
53746
|
-
"type": {
|
|
53747
|
-
"text": "string"
|
|
53748
|
-
},
|
|
53749
|
-
"default": "\"\"",
|
|
53750
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
53751
|
-
"fieldName": "onLabel"
|
|
53752
|
-
},
|
|
53753
|
-
{
|
|
53754
|
-
"name": "checked",
|
|
53755
|
-
"type": {
|
|
53756
|
-
"text": "boolean"
|
|
53757
|
-
},
|
|
53758
|
-
"default": "false",
|
|
53759
|
-
"description": "Whether the switch is in the on state.",
|
|
53760
|
-
"fieldName": "checked"
|
|
53761
|
-
},
|
|
53762
|
-
{
|
|
53763
|
-
"name": "value",
|
|
53983
|
+
"name": "icon",
|
|
53764
53984
|
"type": {
|
|
53765
53985
|
"text": "string"
|
|
53766
53986
|
},
|
|
53767
53987
|
"default": "\"\"",
|
|
53768
|
-
"description": "
|
|
53769
|
-
"fieldName": "
|
|
53988
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
53989
|
+
"fieldName": "icon"
|
|
53770
53990
|
},
|
|
53771
53991
|
{
|
|
53772
|
-
"name": "
|
|
53992
|
+
"name": "label",
|
|
53773
53993
|
"type": {
|
|
53774
53994
|
"text": "string"
|
|
53775
53995
|
},
|
|
53776
53996
|
"default": "\"\"",
|
|
53777
|
-
"description": "
|
|
53778
|
-
"fieldName": "
|
|
53997
|
+
"description": "Accessible label for the indicator button.",
|
|
53998
|
+
"fieldName": "label"
|
|
53779
53999
|
},
|
|
53780
54000
|
{
|
|
53781
|
-
"name": "
|
|
54001
|
+
"name": "placement",
|
|
53782
54002
|
"type": {
|
|
53783
|
-
"text": "
|
|
54003
|
+
"text": "EspalierStatusIndicatorPlacement"
|
|
53784
54004
|
},
|
|
53785
|
-
"
|
|
53786
|
-
"
|
|
53787
|
-
"fieldName": "required"
|
|
54005
|
+
"description": "Preferred popover placement.",
|
|
54006
|
+
"fieldName": "placement"
|
|
53788
54007
|
},
|
|
53789
54008
|
{
|
|
53790
|
-
"name": "
|
|
54009
|
+
"name": "chrome",
|
|
53791
54010
|
"type": {
|
|
53792
|
-
"text": "
|
|
54011
|
+
"text": "EspalierStatusIndicatorChrome"
|
|
53793
54012
|
},
|
|
53794
|
-
"
|
|
53795
|
-
"
|
|
53796
|
-
"fieldName": "requiredMessage"
|
|
54013
|
+
"description": "Visual chrome around the status icon. `pill` renders the filled\ncircular treatment, `outline` keeps only the border, and `none`\nrenders the variant-colored icon alone.",
|
|
54014
|
+
"fieldName": "chrome"
|
|
53797
54015
|
},
|
|
53798
54016
|
{
|
|
53799
|
-
"name": "
|
|
54017
|
+
"name": "variant",
|
|
53800
54018
|
"type": {
|
|
53801
|
-
"text": "
|
|
54019
|
+
"text": "EspalierVariant"
|
|
53802
54020
|
},
|
|
53803
|
-
"
|
|
53804
|
-
"
|
|
53805
|
-
"
|
|
54021
|
+
"description": "Semantic visual treatment. One of `neutral`, `success`, `warning`, `danger`, `info`.",
|
|
54022
|
+
"fieldName": "variant",
|
|
54023
|
+
"inheritedFrom": {
|
|
54024
|
+
"name": "EspalierElementBase",
|
|
54025
|
+
"module": "dist/shared/esp-element-base.js"
|
|
54026
|
+
}
|
|
53806
54027
|
},
|
|
53807
54028
|
{
|
|
53808
54029
|
"name": "scheme",
|
|
@@ -53816,63 +54037,63 @@
|
|
|
53816
54037
|
"name": "EspalierElementBase",
|
|
53817
54038
|
"module": "dist/shared/esp-element-base.js"
|
|
53818
54039
|
}
|
|
53819
|
-
},
|
|
53820
|
-
{
|
|
53821
|
-
"name": "variant",
|
|
53822
|
-
"type": {
|
|
53823
|
-
"text": "EspalierVariant"
|
|
53824
|
-
},
|
|
53825
|
-
"description": "The [color variant](/guides/color/variants) of the element.",
|
|
53826
|
-
"fieldName": "variant",
|
|
53827
|
-
"inheritedFrom": {
|
|
53828
|
-
"name": "EspalierElementBase",
|
|
53829
|
-
"module": "dist/shared/esp-element-base.js"
|
|
53830
|
-
}
|
|
53831
54040
|
}
|
|
53832
54041
|
],
|
|
53833
54042
|
"superclass": {
|
|
53834
|
-
"name": "
|
|
53835
|
-
"module": "dist/shared/esp-element-base.js"
|
|
54043
|
+
"name": "EspalierIntentElementBase",
|
|
54044
|
+
"module": "dist/shared/esp-intent-element-base.js"
|
|
53836
54045
|
},
|
|
53837
54046
|
"docPageTitle": {
|
|
53838
|
-
"name": "
|
|
53839
|
-
"description": ""
|
|
54047
|
+
"name": "Status",
|
|
54048
|
+
"description": "Indicator"
|
|
53840
54049
|
},
|
|
53841
54050
|
"docUrl": {
|
|
53842
|
-
"name": "/components/
|
|
54051
|
+
"name": "/components/status-indicator",
|
|
53843
54052
|
"description": ""
|
|
53844
54053
|
},
|
|
53845
54054
|
"menuGroup": {
|
|
53846
|
-
"name": "
|
|
53847
|
-
"description": "
|
|
54055
|
+
"name": "Feedback",
|
|
54056
|
+
"description": ""
|
|
53848
54057
|
},
|
|
53849
54058
|
"menuLabel": {
|
|
53850
|
-
"name": "
|
|
53851
|
-
"description": ""
|
|
54059
|
+
"name": "Status",
|
|
54060
|
+
"description": "Indicator"
|
|
53852
54061
|
},
|
|
53853
54062
|
"menuIcon": {
|
|
53854
|
-
"name": "
|
|
54063
|
+
"name": "info",
|
|
53855
54064
|
"description": ""
|
|
53856
54065
|
},
|
|
53857
|
-
"tagName": "esp-
|
|
53858
|
-
"customElement": true
|
|
54066
|
+
"tagName": "esp-status-indicator",
|
|
54067
|
+
"customElement": true,
|
|
54068
|
+
"events": [
|
|
54069
|
+
{
|
|
54070
|
+
"name": "value-changed",
|
|
54071
|
+
"type": {
|
|
54072
|
+
"text": "CustomEvent"
|
|
54073
|
+
},
|
|
54074
|
+
"inheritedFrom": {
|
|
54075
|
+
"name": "EspalierElementBase",
|
|
54076
|
+
"module": "dist/shared/esp-element-base.js"
|
|
54077
|
+
}
|
|
54078
|
+
}
|
|
54079
|
+
]
|
|
53859
54080
|
}
|
|
53860
54081
|
],
|
|
53861
54082
|
"exports": [
|
|
53862
54083
|
{
|
|
53863
54084
|
"kind": "js",
|
|
53864
|
-
"name": "
|
|
54085
|
+
"name": "EspalierStatusIndicator",
|
|
53865
54086
|
"declaration": {
|
|
53866
|
-
"name": "
|
|
53867
|
-
"module": "dist/
|
|
54087
|
+
"name": "EspalierStatusIndicator",
|
|
54088
|
+
"module": "dist/status-indicator/esp-status-indicator.js"
|
|
53868
54089
|
}
|
|
53869
54090
|
},
|
|
53870
54091
|
{
|
|
53871
54092
|
"kind": "custom-element-definition",
|
|
53872
|
-
"name": "esp-
|
|
54093
|
+
"name": "esp-status-indicator",
|
|
53873
54094
|
"declaration": {
|
|
53874
|
-
"name": "
|
|
53875
|
-
"module": "dist/
|
|
54095
|
+
"name": "EspalierStatusIndicator",
|
|
54096
|
+
"module": "dist/status-indicator/esp-status-indicator.js"
|
|
53876
54097
|
}
|
|
53877
54098
|
}
|
|
53878
54099
|
]
|