@taprootio/espalier 6.14.0 → 6.15.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 +10 -0
- package/custom-elements.json +1024 -1020
- package/dist/footer/esp-footer-link-group.js +1 -1
- package/dist/footer/esp-footer.d.ts +2 -1
- package/dist/footer/esp-footer.js +5 -4
- package/dist/root/esp-root.js +34 -1
- package/espalier.css-data.json +5 -1
- package/espalier.token-manifest.json +7 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -20759,71 +20759,87 @@
|
|
|
20759
20759
|
},
|
|
20760
20760
|
{
|
|
20761
20761
|
"kind": "javascript-module",
|
|
20762
|
-
"path": "dist/
|
|
20762
|
+
"path": "dist/empty-state/esp-empty-state.js",
|
|
20763
20763
|
"declarations": [
|
|
20764
20764
|
{
|
|
20765
20765
|
"kind": "class",
|
|
20766
|
-
"description": "
|
|
20767
|
-
"name": "
|
|
20766
|
+
"description": "A centered empty-state layout for list, grid, and page-level\nzero-item states.\n\n```html\n<esp-empty-state icon=\"photo-up\">\n <span slot=\"heading\">No images yet</span>\n Upload the first image to start building this library.\n <esp-button slot=\"action\" label=\"Upload Image\"></esp-button>\n</esp-empty-state>\n\n<esp-empty-state size=\"large\" icon=\"users\">\n <span slot=\"heading\">No members yet</span>\n Invite teammates when you are ready to collaborate.\n</esp-empty-state>\n```",
|
|
20767
|
+
"name": "EspalierEmptyState",
|
|
20768
|
+
"slots": [
|
|
20769
|
+
{
|
|
20770
|
+
"description": "Primary empty-state message.",
|
|
20771
|
+
"name": "heading"
|
|
20772
|
+
},
|
|
20773
|
+
{
|
|
20774
|
+
"description": "Supporting body text.",
|
|
20775
|
+
"name": ""
|
|
20776
|
+
},
|
|
20777
|
+
{
|
|
20778
|
+
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
20779
|
+
"name": "icon"
|
|
20780
|
+
},
|
|
20781
|
+
{
|
|
20782
|
+
"description": "Optional call-to-action button or link.",
|
|
20783
|
+
"name": "action"
|
|
20784
|
+
}
|
|
20785
|
+
],
|
|
20768
20786
|
"members": [
|
|
20769
20787
|
{
|
|
20770
20788
|
"kind": "field",
|
|
20771
|
-
"name": "
|
|
20789
|
+
"name": "iconSlot",
|
|
20790
|
+
"privacy": "private",
|
|
20791
|
+
"default": "new SlottedIconController(this)"
|
|
20792
|
+
},
|
|
20793
|
+
{
|
|
20794
|
+
"kind": "field",
|
|
20795
|
+
"name": "actionSlot",
|
|
20772
20796
|
"privacy": "private"
|
|
20773
20797
|
},
|
|
20774
20798
|
{
|
|
20775
20799
|
"kind": "field",
|
|
20776
|
-
"name": "
|
|
20800
|
+
"name": "sizeBacker",
|
|
20777
20801
|
"type": {
|
|
20778
|
-
"text": "
|
|
20802
|
+
"text": "EspalierEmptyStateSize"
|
|
20779
20803
|
},
|
|
20780
20804
|
"privacy": "private",
|
|
20781
|
-
"default": "
|
|
20805
|
+
"default": "\"medium\""
|
|
20782
20806
|
},
|
|
20783
20807
|
{
|
|
20784
20808
|
"kind": "field",
|
|
20785
|
-
"name": "
|
|
20809
|
+
"name": "hasSlottedAction",
|
|
20786
20810
|
"type": {
|
|
20787
|
-
"text": "
|
|
20811
|
+
"text": "boolean"
|
|
20788
20812
|
},
|
|
20789
|
-
"privacy": "
|
|
20790
|
-
"default": "
|
|
20791
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
20792
|
-
"attribute": "accept"
|
|
20813
|
+
"privacy": "private",
|
|
20814
|
+
"default": "false"
|
|
20793
20815
|
},
|
|
20794
20816
|
{
|
|
20795
20817
|
"kind": "field",
|
|
20796
|
-
"name": "
|
|
20818
|
+
"name": "icon",
|
|
20797
20819
|
"type": {
|
|
20798
20820
|
"text": "string"
|
|
20799
20821
|
},
|
|
20800
20822
|
"privacy": "public",
|
|
20801
|
-
"default": "\"
|
|
20802
|
-
"description": "
|
|
20803
|
-
"attribute": "
|
|
20823
|
+
"default": "\"\"",
|
|
20824
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
20825
|
+
"attribute": "icon"
|
|
20804
20826
|
},
|
|
20805
20827
|
{
|
|
20806
20828
|
"kind": "field",
|
|
20807
|
-
"name": "
|
|
20829
|
+
"name": "size",
|
|
20808
20830
|
"type": {
|
|
20809
|
-
"text": "
|
|
20831
|
+
"text": "EspalierEmptyStateSize"
|
|
20810
20832
|
},
|
|
20811
20833
|
"privacy": "public",
|
|
20812
|
-
"
|
|
20813
|
-
"
|
|
20814
|
-
"
|
|
20834
|
+
"description": "Empty-state scale.",
|
|
20835
|
+
"attribute": "size",
|
|
20836
|
+
"reflects": true
|
|
20815
20837
|
},
|
|
20816
20838
|
{
|
|
20817
20839
|
"kind": "field",
|
|
20818
|
-
"name": "
|
|
20840
|
+
"name": "handleActionSlotChange",
|
|
20819
20841
|
"privacy": "private"
|
|
20820
20842
|
},
|
|
20821
|
-
{
|
|
20822
|
-
"kind": "method",
|
|
20823
|
-
"name": "finishedProcessingFiles",
|
|
20824
|
-
"privacy": "public",
|
|
20825
|
-
"description": "The `esp-file-upload-files-selected` event sets the file upload to a processing state.\nCall this method when you have finished processing the selected files\nto reset the file upload."
|
|
20826
|
-
},
|
|
20827
20843
|
{
|
|
20828
20844
|
"kind": "field",
|
|
20829
20845
|
"name": "seedColorBacker",
|
|
@@ -21549,42 +21565,23 @@
|
|
|
21549
21565
|
}
|
|
21550
21566
|
}
|
|
21551
21567
|
],
|
|
21552
|
-
"events": [
|
|
21553
|
-
{
|
|
21554
|
-
"type": {
|
|
21555
|
-
"text": "CustomEvent<FileList>"
|
|
21556
|
-
},
|
|
21557
|
-
"description": "Fired after the user selects one or more files.",
|
|
21558
|
-
"name": "esp-file-upload-files-selected"
|
|
21559
|
-
}
|
|
21560
|
-
],
|
|
21561
21568
|
"attributes": [
|
|
21562
21569
|
{
|
|
21563
|
-
"name": "
|
|
21564
|
-
"type": {
|
|
21565
|
-
"text": "string"
|
|
21566
|
-
},
|
|
21567
|
-
"default": "\"*\"",
|
|
21568
|
-
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
21569
|
-
"fieldName": "accept"
|
|
21570
|
-
},
|
|
21571
|
-
{
|
|
21572
|
-
"name": "choose-text",
|
|
21570
|
+
"name": "icon",
|
|
21573
21571
|
"type": {
|
|
21574
21572
|
"text": "string"
|
|
21575
21573
|
},
|
|
21576
|
-
"default": "\"
|
|
21577
|
-
"description": "
|
|
21578
|
-
"fieldName": "
|
|
21574
|
+
"default": "\"\"",
|
|
21575
|
+
"description": "Optional icon name from the Espalier SVG sprite.",
|
|
21576
|
+
"fieldName": "icon"
|
|
21579
21577
|
},
|
|
21580
21578
|
{
|
|
21581
|
-
"name": "
|
|
21579
|
+
"name": "size",
|
|
21582
21580
|
"type": {
|
|
21583
|
-
"text": "
|
|
21581
|
+
"text": "EspalierEmptyStateSize"
|
|
21584
21582
|
},
|
|
21585
|
-
"
|
|
21586
|
-
"
|
|
21587
|
-
"fieldName": "multiple"
|
|
21583
|
+
"description": "Empty-state scale.",
|
|
21584
|
+
"fieldName": "size"
|
|
21588
21585
|
},
|
|
21589
21586
|
{
|
|
21590
21587
|
"type": {
|
|
@@ -21639,28 +21636,28 @@
|
|
|
21639
21636
|
"name": "EspalierElementBase",
|
|
21640
21637
|
"module": "dist/shared/esp-element-base.js"
|
|
21641
21638
|
},
|
|
21642
|
-
"tagName": "esp-file-upload",
|
|
21643
|
-
"customElement": true,
|
|
21644
21639
|
"docPageTitle": {
|
|
21645
|
-
"name": "
|
|
21646
|
-
"description": "
|
|
21640
|
+
"name": "Empty",
|
|
21641
|
+
"description": "State"
|
|
21647
21642
|
},
|
|
21648
21643
|
"docUrl": {
|
|
21649
|
-
"name": "/components/
|
|
21644
|
+
"name": "/components/empty-state",
|
|
21650
21645
|
"description": ""
|
|
21651
21646
|
},
|
|
21652
21647
|
"menuGroup": {
|
|
21653
|
-
"name": "
|
|
21654
|
-
"description": "
|
|
21648
|
+
"name": "Feedback",
|
|
21649
|
+
"description": ""
|
|
21655
21650
|
},
|
|
21656
21651
|
"menuLabel": {
|
|
21657
|
-
"name": "
|
|
21658
|
-
"description": "
|
|
21652
|
+
"name": "Empty",
|
|
21653
|
+
"description": "State"
|
|
21659
21654
|
},
|
|
21660
21655
|
"menuIcon": {
|
|
21661
|
-
"name": "
|
|
21656
|
+
"name": "box",
|
|
21662
21657
|
"description": ""
|
|
21663
21658
|
},
|
|
21659
|
+
"tagName": "esp-empty-state",
|
|
21660
|
+
"customElement": true,
|
|
21664
21661
|
"cssProperties": [
|
|
21665
21662
|
{
|
|
21666
21663
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -21718,111 +21715,96 @@
|
|
|
21718
21715
|
"module": "dist/shared/esp-element-base.js"
|
|
21719
21716
|
}
|
|
21720
21717
|
}
|
|
21721
|
-
]
|
|
21718
|
+
],
|
|
21719
|
+
"events": []
|
|
21722
21720
|
}
|
|
21723
21721
|
],
|
|
21724
21722
|
"exports": [
|
|
21725
21723
|
{
|
|
21726
21724
|
"kind": "js",
|
|
21727
|
-
"name": "
|
|
21725
|
+
"name": "EspalierEmptyState",
|
|
21728
21726
|
"declaration": {
|
|
21729
|
-
"name": "
|
|
21730
|
-
"module": "dist/
|
|
21727
|
+
"name": "EspalierEmptyState",
|
|
21728
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
21731
21729
|
}
|
|
21732
21730
|
},
|
|
21733
21731
|
{
|
|
21734
21732
|
"kind": "custom-element-definition",
|
|
21735
|
-
"name": "esp-
|
|
21733
|
+
"name": "esp-empty-state",
|
|
21736
21734
|
"declaration": {
|
|
21737
|
-
"name": "
|
|
21738
|
-
"module": "dist/
|
|
21735
|
+
"name": "EspalierEmptyState",
|
|
21736
|
+
"module": "dist/empty-state/esp-empty-state.js"
|
|
21739
21737
|
}
|
|
21740
21738
|
}
|
|
21741
21739
|
]
|
|
21742
21740
|
},
|
|
21743
21741
|
{
|
|
21744
21742
|
"kind": "javascript-module",
|
|
21745
|
-
"path": "dist/
|
|
21743
|
+
"path": "dist/file-upload/esp-file-upload.js",
|
|
21746
21744
|
"declarations": [
|
|
21747
21745
|
{
|
|
21748
21746
|
"kind": "class",
|
|
21749
|
-
"description": "
|
|
21750
|
-
"name": "
|
|
21751
|
-
"slots": [
|
|
21752
|
-
{
|
|
21753
|
-
"description": "Primary empty-state message.",
|
|
21754
|
-
"name": "heading"
|
|
21755
|
-
},
|
|
21756
|
-
{
|
|
21757
|
-
"description": "Supporting body text.",
|
|
21758
|
-
"name": ""
|
|
21759
|
-
},
|
|
21760
|
-
{
|
|
21761
|
-
"description": "Optional custom icon. When provided, it overrides the generated SVG from the `icon` attribute.",
|
|
21762
|
-
"name": "icon"
|
|
21763
|
-
},
|
|
21764
|
-
{
|
|
21765
|
-
"description": "Optional call-to-action button or link.",
|
|
21766
|
-
"name": "action"
|
|
21767
|
-
}
|
|
21768
|
-
],
|
|
21747
|
+
"description": "Used to upload files.\n\n```html\n<esp-file-upload choose-text=\"Upload Document\"></esp-file-upload>\n<script>\n const theFileUpload = findByTagName(\"esp-file-upload\")[0];\n theFileUpload.addEventListener(\"esp-file-upload-files-selected\", () => {\n showToast({\n message: `You selected a file!`,\n icon: \"info-i\",\n duration: 2,\n onClosed: () => {\n theFileUpload.finishedProcessingFiles();\n },\n });\n });\n</script>\n```",
|
|
21748
|
+
"name": "EspalierFileUpload",
|
|
21769
21749
|
"members": [
|
|
21770
21750
|
{
|
|
21771
21751
|
"kind": "field",
|
|
21772
|
-
"name": "
|
|
21773
|
-
"privacy": "private",
|
|
21774
|
-
"default": "new SlottedIconController(this)"
|
|
21775
|
-
},
|
|
21776
|
-
{
|
|
21777
|
-
"kind": "field",
|
|
21778
|
-
"name": "actionSlot",
|
|
21752
|
+
"name": "uploadInput",
|
|
21779
21753
|
"privacy": "private"
|
|
21780
21754
|
},
|
|
21781
21755
|
{
|
|
21782
21756
|
"kind": "field",
|
|
21783
|
-
"name": "
|
|
21757
|
+
"name": "processingFiles",
|
|
21784
21758
|
"type": {
|
|
21785
|
-
"text": "
|
|
21759
|
+
"text": "boolean"
|
|
21786
21760
|
},
|
|
21787
21761
|
"privacy": "private",
|
|
21788
|
-
"default": "
|
|
21762
|
+
"default": "false"
|
|
21789
21763
|
},
|
|
21790
21764
|
{
|
|
21791
21765
|
"kind": "field",
|
|
21792
|
-
"name": "
|
|
21766
|
+
"name": "accept",
|
|
21793
21767
|
"type": {
|
|
21794
|
-
"text": "
|
|
21768
|
+
"text": "string"
|
|
21795
21769
|
},
|
|
21796
|
-
"privacy": "
|
|
21797
|
-
"default": "
|
|
21770
|
+
"privacy": "public",
|
|
21771
|
+
"default": "\"*\"",
|
|
21772
|
+
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
21773
|
+
"attribute": "accept"
|
|
21798
21774
|
},
|
|
21799
21775
|
{
|
|
21800
21776
|
"kind": "field",
|
|
21801
|
-
"name": "
|
|
21777
|
+
"name": "chooseText",
|
|
21802
21778
|
"type": {
|
|
21803
21779
|
"text": "string"
|
|
21804
21780
|
},
|
|
21805
21781
|
"privacy": "public",
|
|
21806
|
-
"default": "\"\"",
|
|
21807
|
-
"description": "
|
|
21808
|
-
"attribute": "
|
|
21782
|
+
"default": "\"Choose File\"",
|
|
21783
|
+
"description": "The text to display on the button.",
|
|
21784
|
+
"attribute": "choose-text"
|
|
21809
21785
|
},
|
|
21810
21786
|
{
|
|
21811
21787
|
"kind": "field",
|
|
21812
|
-
"name": "
|
|
21788
|
+
"name": "multiple",
|
|
21813
21789
|
"type": {
|
|
21814
|
-
"text": "
|
|
21790
|
+
"text": "boolean"
|
|
21815
21791
|
},
|
|
21816
21792
|
"privacy": "public",
|
|
21817
|
-
"
|
|
21818
|
-
"
|
|
21819
|
-
"
|
|
21793
|
+
"default": "false",
|
|
21794
|
+
"description": "Allow multiple files to be selected.",
|
|
21795
|
+
"attribute": "multiple"
|
|
21820
21796
|
},
|
|
21821
21797
|
{
|
|
21822
21798
|
"kind": "field",
|
|
21823
|
-
"name": "
|
|
21799
|
+
"name": "filesSelected",
|
|
21824
21800
|
"privacy": "private"
|
|
21825
21801
|
},
|
|
21802
|
+
{
|
|
21803
|
+
"kind": "method",
|
|
21804
|
+
"name": "finishedProcessingFiles",
|
|
21805
|
+
"privacy": "public",
|
|
21806
|
+
"description": "The `esp-file-upload-files-selected` event sets the file upload to a processing state.\nCall this method when you have finished processing the selected files\nto reset the file upload."
|
|
21807
|
+
},
|
|
21826
21808
|
{
|
|
21827
21809
|
"kind": "field",
|
|
21828
21810
|
"name": "seedColorBacker",
|
|
@@ -22548,23 +22530,42 @@
|
|
|
22548
22530
|
}
|
|
22549
22531
|
}
|
|
22550
22532
|
],
|
|
22533
|
+
"events": [
|
|
22534
|
+
{
|
|
22535
|
+
"type": {
|
|
22536
|
+
"text": "CustomEvent<FileList>"
|
|
22537
|
+
},
|
|
22538
|
+
"description": "Fired after the user selects one or more files.",
|
|
22539
|
+
"name": "esp-file-upload-files-selected"
|
|
22540
|
+
}
|
|
22541
|
+
],
|
|
22551
22542
|
"attributes": [
|
|
22552
22543
|
{
|
|
22553
|
-
"name": "
|
|
22544
|
+
"name": "accept",
|
|
22554
22545
|
"type": {
|
|
22555
22546
|
"text": "string"
|
|
22556
22547
|
},
|
|
22557
|
-
"default": "\"
|
|
22558
|
-
"description": "
|
|
22559
|
-
"fieldName": "
|
|
22548
|
+
"default": "\"*\"",
|
|
22549
|
+
"description": "The accepted file types. For example, to allow JPEG, PNG, and WebP images:\n\n`image/jpeg, image/png, image/webp`",
|
|
22550
|
+
"fieldName": "accept"
|
|
22560
22551
|
},
|
|
22561
22552
|
{
|
|
22562
|
-
"name": "
|
|
22553
|
+
"name": "choose-text",
|
|
22563
22554
|
"type": {
|
|
22564
|
-
"text": "
|
|
22555
|
+
"text": "string"
|
|
22565
22556
|
},
|
|
22566
|
-
"
|
|
22567
|
-
"
|
|
22557
|
+
"default": "\"Choose File\"",
|
|
22558
|
+
"description": "The text to display on the button.",
|
|
22559
|
+
"fieldName": "chooseText"
|
|
22560
|
+
},
|
|
22561
|
+
{
|
|
22562
|
+
"name": "multiple",
|
|
22563
|
+
"type": {
|
|
22564
|
+
"text": "boolean"
|
|
22565
|
+
},
|
|
22566
|
+
"default": "false",
|
|
22567
|
+
"description": "Allow multiple files to be selected.",
|
|
22568
|
+
"fieldName": "multiple"
|
|
22568
22569
|
},
|
|
22569
22570
|
{
|
|
22570
22571
|
"type": {
|
|
@@ -22619,28 +22620,28 @@
|
|
|
22619
22620
|
"name": "EspalierElementBase",
|
|
22620
22621
|
"module": "dist/shared/esp-element-base.js"
|
|
22621
22622
|
},
|
|
22623
|
+
"tagName": "esp-file-upload",
|
|
22624
|
+
"customElement": true,
|
|
22622
22625
|
"docPageTitle": {
|
|
22623
|
-
"name": "
|
|
22624
|
-
"description": "
|
|
22626
|
+
"name": "File",
|
|
22627
|
+
"description": "Upload"
|
|
22625
22628
|
},
|
|
22626
22629
|
"docUrl": {
|
|
22627
|
-
"name": "/components/
|
|
22630
|
+
"name": "/components/file-upload",
|
|
22628
22631
|
"description": ""
|
|
22629
22632
|
},
|
|
22630
22633
|
"menuGroup": {
|
|
22631
|
-
"name": "
|
|
22632
|
-
"description": ""
|
|
22634
|
+
"name": "Form",
|
|
22635
|
+
"description": "Controls"
|
|
22633
22636
|
},
|
|
22634
22637
|
"menuLabel": {
|
|
22635
|
-
"name": "
|
|
22636
|
-
"description": "
|
|
22638
|
+
"name": "File",
|
|
22639
|
+
"description": "Upload"
|
|
22637
22640
|
},
|
|
22638
22641
|
"menuIcon": {
|
|
22639
|
-
"name": "
|
|
22642
|
+
"name": "upload",
|
|
22640
22643
|
"description": ""
|
|
22641
22644
|
},
|
|
22642
|
-
"tagName": "esp-empty-state",
|
|
22643
|
-
"customElement": true,
|
|
22644
22645
|
"cssProperties": [
|
|
22645
22646
|
{
|
|
22646
22647
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -22698,25 +22699,24 @@
|
|
|
22698
22699
|
"module": "dist/shared/esp-element-base.js"
|
|
22699
22700
|
}
|
|
22700
22701
|
}
|
|
22701
|
-
]
|
|
22702
|
-
"events": []
|
|
22702
|
+
]
|
|
22703
22703
|
}
|
|
22704
22704
|
],
|
|
22705
22705
|
"exports": [
|
|
22706
22706
|
{
|
|
22707
22707
|
"kind": "js",
|
|
22708
|
-
"name": "
|
|
22708
|
+
"name": "EspalierFileUpload",
|
|
22709
22709
|
"declaration": {
|
|
22710
|
-
"name": "
|
|
22711
|
-
"module": "dist/
|
|
22710
|
+
"name": "EspalierFileUpload",
|
|
22711
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
22712
22712
|
}
|
|
22713
22713
|
},
|
|
22714
22714
|
{
|
|
22715
22715
|
"kind": "custom-element-definition",
|
|
22716
|
-
"name": "esp-
|
|
22716
|
+
"name": "esp-file-upload",
|
|
22717
22717
|
"declaration": {
|
|
22718
|
-
"name": "
|
|
22719
|
-
"module": "dist/
|
|
22718
|
+
"name": "EspalierFileUpload",
|
|
22719
|
+
"module": "dist/file-upload/esp-file-upload.js"
|
|
22720
22720
|
}
|
|
22721
22721
|
}
|
|
22722
22722
|
]
|
|
@@ -28667,7 +28667,11 @@
|
|
|
28667
28667
|
"name": "--esp-footer-link-hover-color"
|
|
28668
28668
|
},
|
|
28669
28669
|
{
|
|
28670
|
-
"description": "
|
|
28670
|
+
"description": "Hovered link background. Defaults to `var(--esp-color-link-hover-bg)`.",
|
|
28671
|
+
"name": "--esp-footer-link-hover-bg"
|
|
28672
|
+
},
|
|
28673
|
+
{
|
|
28674
|
+
"description": "Focus-visible outline for footer links. Defaults to `2px solid var(--esp-footer-link-color, var(--esp-color-link))`.",
|
|
28671
28675
|
"name": "--esp-footer-focus-outline"
|
|
28672
28676
|
},
|
|
28673
28677
|
{
|
|
@@ -74597,7 +74601,7 @@
|
|
|
74597
74601
|
"kind": "field",
|
|
74598
74602
|
"name": "lightDomStyles",
|
|
74599
74603
|
"static": true,
|
|
74600
|
-
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } `",
|
|
74604
|
+
"default": "` ${surfaceLayerAttributes(\"esp-root [surface-layer]\").cssText} /* ── Base typography ──────────────────────────────────── */ esp-root { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); font-weight: var(--esp-font-weight-body); line-height: 1.5; font-size: var(--esp-type-normal); color: var(--esp-color-text); } /* ── Lists ────────────────────────────────────────────── */ esp-root ul[role=\"list\"], esp-root ol[role=\"list\"] { list-style: none; } esp-root ul li::marker, esp-root ol li::marker { font-weight: bold; } /* ── Form controls ────────────────────────────────────── */ esp-root input, esp-root select, esp-root button { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); } /* ── Links ────────────────────────────────────────────── */ esp-root a:not([class]) { text-decoration-skip-ink: auto; font-weight: bold; color: var(--esp-color-link); } esp-root a { text-decoration: underline; text-decoration-skip-ink: auto; color: var(--esp-color-link); } esp-root a:hover { background-color: var(--esp-color-link-hover-bg); color: var(--esp-color-link-hover); text-decoration: none; } /* ── Inherited text styles ────────────────────────────── */ esp-root input, esp-root button, esp-root textarea, esp-root select, esp-root p, esp-root ul, esp-root li { font-family: var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)); color: var(--esp-color-text); font-size: inherit; } esp-root textarea:not([rows]) { min-height: 10em; } /* ── Headings ─────────────────────────────────────────── */ esp-root h1, esp-root h2, esp-root h3, esp-root h4, esp-root h5 { font-family: var( --_esp-font-headings-effective, var( --esp-font-headings, var(--_esp-font-body-effective, var(--esp-font-body, system-ui, sans-serif)) ) ); font-weight: var(--esp-font-weight-headings); color: var(--esp-color-headings); margin: var(--esp-size-small-to-normal) 0 var(--esp-size-tiny-to-small); } esp-root h5 { font-size: var(--esp-type-small); line-height: 1.4; } esp-root h4 { font-size: var(--esp-type-medium); line-height: 1.3; } esp-root h3 { font-size: var(--esp-type-big); line-height: 1.2; } esp-root h2 { font-size: var(--esp-type-large); line-height: 1.15; } esp-root h1 { font-size: var(--esp-type-huge); line-height: 1.1; } /* ── Code / Pre ───────────────────────────────────────── */ esp-root pre, esp-root code { font-family: var(--_esp-font-monospace-effective, var(--esp-font-monospace, monospace)); font-weight: var(--esp-font-weight-monospace); } esp-root code { font-size: var(--esp-type-small); background: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); padding: 0 0.35em; display: inline-block; border: 1px dotted var(--esp-color-border); } esp-root pre { background-color: var(--esp-color-layer-1); border-radius: var(--esp-size-border-radius); border: 1px dotted var(--esp-color-border); } esp-root pre > code { font-size: var(--esp-type-tiny); display: block; background: none; border: none; hyphens: none; tab-size: 2; white-space: pre; padding: var(--esp-size-padding); overflow: auto; line-height: 1.8; } /* ── Images ────────────────────────────────────────────── */ esp-root img, esp-root picture { max-width: 100%; display: block; } /* ── Footer color scope ───────────────────────────────── */ /* esp-footer documents --esp-footer-color and --esp-footer-link-color as its text and link colors, but the base rules above set paragraph and link colors directly and outrank the footer's own rules (a page-level rule even beats ::slotted). These restate them one element higher so the footer variables win (ESP0261). The :not([class]) rule is needed to outrank the bold-link rule above. Hover and focus come last because they tie with it at (0,1,3). */ esp-root esp-footer :is(p, ul, ol, li) { color: var(--esp-footer-color, var(--esp-color-text)); } esp-root esp-footer :is(h1, h2, h3, h4, h5, h6) { color: var(--esp-footer-heading-color, var(--esp-color-headings)); } esp-root esp-footer a, esp-root esp-footer a:not([class]) { color: var(--esp-footer-link-color, var(--esp-color-link)); } esp-root esp-footer a:hover { color: var(--esp-footer-link-hover-color, var(--esp-color-link-hover)); background-color: var(--esp-footer-link-hover-bg, var(--esp-color-link-hover-bg)); } esp-root esp-footer a:focus-visible { outline: var( --esp-footer-focus-outline, 2px solid var(--esp-footer-link-color, var(--esp-color-link)) ); outline-offset: 3px; } /* Only bare links take the ring's corner radius; a classed link keeps its own shape, such as a pill or button, while focused. */ esp-root esp-footer a:not([class]):focus-visible { border-radius: var(--esp-size-border-radius); } `",
|
|
74601
74605
|
"description": "Light-DOM styles injected into `document.head` so that\nslotted content (headings, links, code blocks, lists, etc.)\ninherits the design-system tokens defined on `:host`.\nSelectors are scoped to `esp-root` descendants to avoid\nleaking into content outside the root."
|
|
74602
74606
|
}
|
|
74603
74607
|
],
|
|
@@ -89753,40 +89757,60 @@
|
|
|
89753
89757
|
},
|
|
89754
89758
|
{
|
|
89755
89759
|
"kind": "javascript-module",
|
|
89756
|
-
"path": "dist/
|
|
89760
|
+
"path": "dist/switch/esp-switch.js",
|
|
89757
89761
|
"declarations": [
|
|
89758
89762
|
{
|
|
89759
89763
|
"kind": "class",
|
|
89760
|
-
"description": "
|
|
89761
|
-
"name": "
|
|
89764
|
+
"description": "An on/off switch for settings that take effect immediately. Use a\ncheckbox when the choice should be applied with a later form submission.\n\n```html\n<esp-box>\n <esp-form-item label=\"Notifications\">\n <esp-switch value=\"notifications\">\n Enable notifications\n </esp-switch>\n </esp-form-item>\n</esp-box>\n```\n\n```html\n<esp-box>\n <esp-switch checked value=\"dark-mode\">\n Dark mode\n </esp-switch>\n <esp-switch disabled value=\"disabled-opt\">\n Disabled option\n </esp-switch>\n</esp-box>\n```\n\n### Text mode\n\nSet `mode=\"text\"` with `off-label` and `on-label` to render a\ntwo-option text toggle instead of a track and thumb. This is\nideal for binary choices like a billing-period selector:\n\n```html\n<esp-box>\n <esp-switch\n mode=\"text\"\n off-label=\"Monthly\"\n on-label=\"Annual\"\n value=\"annual\"\n >Billing period</esp-switch>\n</esp-box>\n```\n\nThe slotted text is visually hidden in text mode and folded\ninto the control's accessible label together with the current\nselected option. Screen readers will announce both the label\nand the active choice while the `off-label` / `on-label`\ntext is presented visually.",
|
|
89765
|
+
"name": "EspalierSwitch",
|
|
89762
89766
|
"cssProperties": [
|
|
89763
89767
|
{
|
|
89764
|
-
"description": "
|
|
89765
|
-
"name": "--esp-
|
|
89768
|
+
"description": "The width of the switch track. Defaults to `calc(var(--esp-size-normal-to-medium) * 1.75)`.",
|
|
89769
|
+
"name": "--esp-switch-width"
|
|
89766
89770
|
},
|
|
89767
89771
|
{
|
|
89768
|
-
"description": "
|
|
89769
|
-
"name": "--esp-
|
|
89772
|
+
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
89773
|
+
"name": "--esp-switch-height"
|
|
89770
89774
|
},
|
|
89771
89775
|
{
|
|
89772
|
-
"description": "
|
|
89773
|
-
"name": "--esp-
|
|
89776
|
+
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
89777
|
+
"name": "--esp-switch-thumb-size"
|
|
89774
89778
|
},
|
|
89775
89779
|
{
|
|
89776
|
-
"description": "
|
|
89777
|
-
"name": "--esp-
|
|
89780
|
+
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
89781
|
+
"name": "--esp-switch-track-color"
|
|
89778
89782
|
},
|
|
89779
89783
|
{
|
|
89780
|
-
"description": "
|
|
89781
|
-
"name": "--esp-
|
|
89784
|
+
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
89785
|
+
"name": "--esp-switch-track-color-on"
|
|
89782
89786
|
},
|
|
89783
89787
|
{
|
|
89784
|
-
"description": "
|
|
89785
|
-
"name": "--esp-
|
|
89788
|
+
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
89789
|
+
"name": "--esp-switch-thumb-color"
|
|
89786
89790
|
},
|
|
89787
89791
|
{
|
|
89788
|
-
"description": "
|
|
89789
|
-
"name": "--esp-
|
|
89792
|
+
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
89793
|
+
"name": "--esp-switch-focus-shadow"
|
|
89794
|
+
},
|
|
89795
|
+
{
|
|
89796
|
+
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
89797
|
+
"name": "--esp-switch-text-padding"
|
|
89798
|
+
},
|
|
89799
|
+
{
|
|
89800
|
+
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
89801
|
+
"name": "--esp-switch-text-font-size"
|
|
89802
|
+
},
|
|
89803
|
+
{
|
|
89804
|
+
"description": "Text color of the active label in text mode. Defaults to `var(--esp-color-action-text)`.",
|
|
89805
|
+
"name": "--esp-switch-text-active-color"
|
|
89806
|
+
},
|
|
89807
|
+
{
|
|
89808
|
+
"description": "Text color of the inactive label in text mode. Defaults to `var(--esp-color-layer-1)`.",
|
|
89809
|
+
"name": "--esp-switch-text-inactive-color"
|
|
89810
|
+
},
|
|
89811
|
+
{
|
|
89812
|
+
"description": "Background color of the sliding highlight in text mode. Defaults to `var(--esp-color-action-background)`.",
|
|
89813
|
+
"name": "--esp-switch-text-highlight-color"
|
|
89790
89814
|
},
|
|
89791
89815
|
{
|
|
89792
89816
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -89845,108 +89869,194 @@
|
|
|
89845
89869
|
}
|
|
89846
89870
|
}
|
|
89847
89871
|
],
|
|
89848
|
-
"cssParts": [
|
|
89849
|
-
{
|
|
89850
|
-
"description": "The tab strip container.",
|
|
89851
|
-
"name": "tab-list"
|
|
89852
|
-
},
|
|
89853
|
-
{
|
|
89854
|
-
"description": "Each individual tab button in the strip.",
|
|
89855
|
-
"name": "tab-button"
|
|
89856
|
-
},
|
|
89857
|
-
{
|
|
89858
|
-
"description": "The panel area below the tab strip.",
|
|
89859
|
-
"name": "panels"
|
|
89860
|
-
}
|
|
89861
|
-
],
|
|
89862
89872
|
"slots": [
|
|
89863
89873
|
{
|
|
89864
|
-
"description": "
|
|
89874
|
+
"description": "The label text for the switch. In default mode this renders beside the track; in text mode it is visually hidden and included in the control's accessible label.",
|
|
89865
89875
|
"name": ""
|
|
89866
89876
|
}
|
|
89867
89877
|
],
|
|
89868
89878
|
"members": [
|
|
89869
89879
|
{
|
|
89870
89880
|
"kind": "field",
|
|
89871
|
-
"name": "
|
|
89881
|
+
"name": "formAssociated",
|
|
89882
|
+
"type": {
|
|
89883
|
+
"text": "boolean"
|
|
89884
|
+
},
|
|
89885
|
+
"static": true,
|
|
89886
|
+
"default": "true"
|
|
89887
|
+
},
|
|
89888
|
+
{
|
|
89889
|
+
"kind": "field",
|
|
89890
|
+
"name": "internals",
|
|
89872
89891
|
"privacy": "private"
|
|
89873
89892
|
},
|
|
89874
89893
|
{
|
|
89875
89894
|
"kind": "field",
|
|
89876
|
-
"name": "
|
|
89895
|
+
"name": "formCtrl",
|
|
89896
|
+
"privacy": "private",
|
|
89897
|
+
"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; }, })"
|
|
89898
|
+
},
|
|
89899
|
+
{
|
|
89900
|
+
"kind": "field",
|
|
89901
|
+
"name": "formItemDescription",
|
|
89902
|
+
"privacy": "private",
|
|
89903
|
+
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
89904
|
+
},
|
|
89905
|
+
{
|
|
89906
|
+
"kind": "field",
|
|
89907
|
+
"name": "mode",
|
|
89908
|
+
"type": {
|
|
89909
|
+
"text": "\"switch\" | \"text\""
|
|
89910
|
+
},
|
|
89911
|
+
"privacy": "public",
|
|
89912
|
+
"default": "\"switch\"",
|
|
89913
|
+
"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.",
|
|
89914
|
+
"attribute": "mode",
|
|
89915
|
+
"reflects": true
|
|
89916
|
+
},
|
|
89917
|
+
{
|
|
89918
|
+
"kind": "field",
|
|
89919
|
+
"name": "offLabel",
|
|
89920
|
+
"type": {
|
|
89921
|
+
"text": "string"
|
|
89922
|
+
},
|
|
89923
|
+
"privacy": "public",
|
|
89924
|
+
"default": "\"\"",
|
|
89925
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
89926
|
+
"attribute": "off-label"
|
|
89927
|
+
},
|
|
89928
|
+
{
|
|
89929
|
+
"kind": "field",
|
|
89930
|
+
"name": "onLabel",
|
|
89931
|
+
"type": {
|
|
89932
|
+
"text": "string"
|
|
89933
|
+
},
|
|
89934
|
+
"privacy": "public",
|
|
89935
|
+
"default": "\"\"",
|
|
89936
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
89937
|
+
"attribute": "on-label"
|
|
89938
|
+
},
|
|
89939
|
+
{
|
|
89940
|
+
"kind": "field",
|
|
89941
|
+
"name": "checked",
|
|
89877
89942
|
"type": {
|
|
89878
89943
|
"text": "boolean"
|
|
89879
89944
|
},
|
|
89880
89945
|
"privacy": "public",
|
|
89881
89946
|
"default": "false",
|
|
89882
|
-
"description": "
|
|
89883
|
-
"attribute": "
|
|
89947
|
+
"description": "Whether the switch is in the on state.",
|
|
89948
|
+
"attribute": "checked",
|
|
89884
89949
|
"reflects": true
|
|
89885
89950
|
},
|
|
89886
89951
|
{
|
|
89887
89952
|
"kind": "field",
|
|
89888
|
-
"name": "
|
|
89953
|
+
"name": "value",
|
|
89889
89954
|
"type": {
|
|
89890
|
-
"text": "
|
|
89955
|
+
"text": "string"
|
|
89891
89956
|
},
|
|
89892
|
-
"privacy": "
|
|
89893
|
-
"default": "
|
|
89957
|
+
"privacy": "public",
|
|
89958
|
+
"default": "\"\"",
|
|
89959
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
89960
|
+
"attribute": "value"
|
|
89961
|
+
},
|
|
89962
|
+
{
|
|
89963
|
+
"kind": "field",
|
|
89964
|
+
"name": "name",
|
|
89965
|
+
"type": {
|
|
89966
|
+
"text": "string"
|
|
89967
|
+
},
|
|
89968
|
+
"privacy": "public",
|
|
89969
|
+
"default": "\"\"",
|
|
89970
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
89971
|
+
"attribute": "name",
|
|
89972
|
+
"reflects": true
|
|
89973
|
+
},
|
|
89974
|
+
{
|
|
89975
|
+
"kind": "field",
|
|
89976
|
+
"name": "required",
|
|
89977
|
+
"type": {
|
|
89978
|
+
"text": "boolean"
|
|
89979
|
+
},
|
|
89980
|
+
"privacy": "public",
|
|
89981
|
+
"default": "false",
|
|
89982
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
89983
|
+
"attribute": "required",
|
|
89984
|
+
"reflects": true
|
|
89985
|
+
},
|
|
89986
|
+
{
|
|
89987
|
+
"kind": "field",
|
|
89988
|
+
"name": "requiredMessage",
|
|
89989
|
+
"type": {
|
|
89990
|
+
"text": "string"
|
|
89991
|
+
},
|
|
89992
|
+
"privacy": "public",
|
|
89993
|
+
"default": "\"\"",
|
|
89994
|
+
"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```",
|
|
89995
|
+
"attribute": "required-message"
|
|
89996
|
+
},
|
|
89997
|
+
{
|
|
89998
|
+
"kind": "field",
|
|
89999
|
+
"name": "disabled",
|
|
90000
|
+
"type": {
|
|
90001
|
+
"text": "boolean"
|
|
90002
|
+
},
|
|
90003
|
+
"privacy": "public",
|
|
90004
|
+
"default": "false",
|
|
90005
|
+
"description": "Controls whether the switch is disabled.",
|
|
90006
|
+
"attribute": "disabled",
|
|
90007
|
+
"reflects": true
|
|
89894
90008
|
},
|
|
89895
90009
|
{
|
|
89896
90010
|
"kind": "method",
|
|
89897
|
-
"name": "
|
|
89898
|
-
"privacy": "
|
|
90011
|
+
"name": "focus",
|
|
90012
|
+
"privacy": "public",
|
|
89899
90013
|
"return": {
|
|
89900
90014
|
"type": {
|
|
89901
|
-
"text": "
|
|
90015
|
+
"text": "void"
|
|
89902
90016
|
}
|
|
89903
|
-
}
|
|
90017
|
+
},
|
|
90018
|
+
"parameters": [
|
|
90019
|
+
{
|
|
90020
|
+
"name": "options",
|
|
90021
|
+
"optional": true,
|
|
90022
|
+
"type": {
|
|
90023
|
+
"text": "FocusOptions"
|
|
90024
|
+
}
|
|
90025
|
+
}
|
|
90026
|
+
],
|
|
90027
|
+
"description": "Focus the switch control."
|
|
89904
90028
|
},
|
|
89905
90029
|
{
|
|
89906
90030
|
"kind": "method",
|
|
89907
|
-
"name": "
|
|
89908
|
-
"privacy": "
|
|
90031
|
+
"name": "validate",
|
|
90032
|
+
"privacy": "public",
|
|
89909
90033
|
"return": {
|
|
89910
90034
|
"type": {
|
|
89911
90035
|
"text": "void"
|
|
89912
90036
|
}
|
|
89913
|
-
}
|
|
90037
|
+
},
|
|
90038
|
+
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
89914
90039
|
},
|
|
89915
90040
|
{
|
|
89916
90041
|
"kind": "method",
|
|
89917
|
-
"name": "
|
|
89918
|
-
"privacy": "
|
|
90042
|
+
"name": "checkValidity",
|
|
90043
|
+
"privacy": "public",
|
|
89919
90044
|
"return": {
|
|
89920
90045
|
"type": {
|
|
89921
|
-
"text": "
|
|
90046
|
+
"text": "boolean"
|
|
89922
90047
|
}
|
|
89923
90048
|
},
|
|
89924
|
-
"
|
|
89925
|
-
{
|
|
89926
|
-
"name": "index",
|
|
89927
|
-
"type": {
|
|
89928
|
-
"text": "number"
|
|
89929
|
-
}
|
|
89930
|
-
}
|
|
89931
|
-
]
|
|
90049
|
+
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
89932
90050
|
},
|
|
89933
90051
|
{
|
|
89934
90052
|
"kind": "method",
|
|
89935
|
-
"name": "
|
|
90053
|
+
"name": "toggle",
|
|
89936
90054
|
"privacy": "private",
|
|
89937
90055
|
"return": {
|
|
89938
90056
|
"type": {
|
|
89939
90057
|
"text": "void"
|
|
89940
90058
|
}
|
|
89941
|
-
}
|
|
89942
|
-
"parameters": [
|
|
89943
|
-
{
|
|
89944
|
-
"name": "index",
|
|
89945
|
-
"type": {
|
|
89946
|
-
"text": "number"
|
|
89947
|
-
}
|
|
89948
|
-
}
|
|
89949
|
-
]
|
|
90059
|
+
}
|
|
89950
90060
|
},
|
|
89951
90061
|
{
|
|
89952
90062
|
"kind": "method",
|
|
@@ -89968,7 +90078,7 @@
|
|
|
89968
90078
|
},
|
|
89969
90079
|
{
|
|
89970
90080
|
"kind": "method",
|
|
89971
|
-
"name": "
|
|
90081
|
+
"name": "handleLabelSlotChange",
|
|
89972
90082
|
"privacy": "private",
|
|
89973
90083
|
"return": {
|
|
89974
90084
|
"type": {
|
|
@@ -89978,14 +90088,70 @@
|
|
|
89978
90088
|
},
|
|
89979
90089
|
{
|
|
89980
90090
|
"kind": "method",
|
|
89981
|
-
"name": "
|
|
90091
|
+
"name": "getCurrentTextModeLabel",
|
|
89982
90092
|
"privacy": "private",
|
|
89983
90093
|
"return": {
|
|
89984
90094
|
"type": {
|
|
89985
|
-
"text": "
|
|
90095
|
+
"text": "string"
|
|
90096
|
+
}
|
|
90097
|
+
}
|
|
90098
|
+
},
|
|
90099
|
+
{
|
|
90100
|
+
"kind": "method",
|
|
90101
|
+
"name": "getTextModeAriaLabel",
|
|
90102
|
+
"privacy": "private",
|
|
90103
|
+
"return": {
|
|
90104
|
+
"type": {
|
|
90105
|
+
"text": "string"
|
|
89986
90106
|
}
|
|
89987
90107
|
}
|
|
89988
90108
|
},
|
|
90109
|
+
{
|
|
90110
|
+
"kind": "method",
|
|
90111
|
+
"name": "formResetCallback",
|
|
90112
|
+
"return": {
|
|
90113
|
+
"type": {
|
|
90114
|
+
"text": "void"
|
|
90115
|
+
}
|
|
90116
|
+
},
|
|
90117
|
+
"description": "Called by the browser when the owning `<form>` is reset."
|
|
90118
|
+
},
|
|
90119
|
+
{
|
|
90120
|
+
"kind": "method",
|
|
90121
|
+
"name": "formStateRestoreCallback",
|
|
90122
|
+
"return": {
|
|
90123
|
+
"type": {
|
|
90124
|
+
"text": "void"
|
|
90125
|
+
}
|
|
90126
|
+
},
|
|
90127
|
+
"parameters": [
|
|
90128
|
+
{
|
|
90129
|
+
"name": "state",
|
|
90130
|
+
"type": {
|
|
90131
|
+
"text": "string"
|
|
90132
|
+
}
|
|
90133
|
+
}
|
|
90134
|
+
],
|
|
90135
|
+
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
90136
|
+
},
|
|
90137
|
+
{
|
|
90138
|
+
"kind": "method",
|
|
90139
|
+
"name": "formDisabledCallback",
|
|
90140
|
+
"return": {
|
|
90141
|
+
"type": {
|
|
90142
|
+
"text": "void"
|
|
90143
|
+
}
|
|
90144
|
+
},
|
|
90145
|
+
"parameters": [
|
|
90146
|
+
{
|
|
90147
|
+
"name": "isDisabled",
|
|
90148
|
+
"type": {
|
|
90149
|
+
"text": "boolean"
|
|
90150
|
+
}
|
|
90151
|
+
}
|
|
90152
|
+
],
|
|
90153
|
+
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
90154
|
+
},
|
|
89989
90155
|
{
|
|
89990
90156
|
"kind": "field",
|
|
89991
90157
|
"name": "seedColorBacker",
|
|
@@ -90714,20 +90880,99 @@
|
|
|
90714
90880
|
"events": [
|
|
90715
90881
|
{
|
|
90716
90882
|
"type": {
|
|
90717
|
-
"text": "CustomEvent<{
|
|
90883
|
+
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
90718
90884
|
},
|
|
90719
|
-
"description": "Fired when the
|
|
90720
|
-
"name": "esp-
|
|
90885
|
+
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
90886
|
+
"name": "esp-value-changed"
|
|
90887
|
+
},
|
|
90888
|
+
{
|
|
90889
|
+
"type": {
|
|
90890
|
+
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
90891
|
+
},
|
|
90892
|
+
"description": "Fired whenever constraint validation runs.",
|
|
90893
|
+
"name": "esp-validity-changed"
|
|
90721
90894
|
}
|
|
90722
90895
|
],
|
|
90723
90896
|
"attributes": [
|
|
90897
|
+
{
|
|
90898
|
+
"name": "mode",
|
|
90899
|
+
"type": {
|
|
90900
|
+
"text": "\"switch\" | \"text\""
|
|
90901
|
+
},
|
|
90902
|
+
"default": "\"switch\"",
|
|
90903
|
+
"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.",
|
|
90904
|
+
"fieldName": "mode"
|
|
90905
|
+
},
|
|
90906
|
+
{
|
|
90907
|
+
"name": "off-label",
|
|
90908
|
+
"type": {
|
|
90909
|
+
"text": "string"
|
|
90910
|
+
},
|
|
90911
|
+
"default": "\"\"",
|
|
90912
|
+
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
90913
|
+
"fieldName": "offLabel"
|
|
90914
|
+
},
|
|
90915
|
+
{
|
|
90916
|
+
"name": "on-label",
|
|
90917
|
+
"type": {
|
|
90918
|
+
"text": "string"
|
|
90919
|
+
},
|
|
90920
|
+
"default": "\"\"",
|
|
90921
|
+
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
90922
|
+
"fieldName": "onLabel"
|
|
90923
|
+
},
|
|
90924
|
+
{
|
|
90925
|
+
"name": "checked",
|
|
90926
|
+
"type": {
|
|
90927
|
+
"text": "boolean"
|
|
90928
|
+
},
|
|
90929
|
+
"default": "false",
|
|
90930
|
+
"description": "Whether the switch is in the on state.",
|
|
90931
|
+
"fieldName": "checked"
|
|
90932
|
+
},
|
|
90933
|
+
{
|
|
90934
|
+
"name": "value",
|
|
90935
|
+
"type": {
|
|
90936
|
+
"text": "string"
|
|
90937
|
+
},
|
|
90938
|
+
"default": "\"\"",
|
|
90939
|
+
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
90940
|
+
"fieldName": "value"
|
|
90941
|
+
},
|
|
90942
|
+
{
|
|
90943
|
+
"name": "name",
|
|
90944
|
+
"type": {
|
|
90945
|
+
"text": "string"
|
|
90946
|
+
},
|
|
90947
|
+
"default": "\"\"",
|
|
90948
|
+
"description": "The name used when the switch participates in a `<form>`.",
|
|
90949
|
+
"fieldName": "name"
|
|
90950
|
+
},
|
|
90951
|
+
{
|
|
90952
|
+
"name": "required",
|
|
90953
|
+
"type": {
|
|
90954
|
+
"text": "boolean"
|
|
90955
|
+
},
|
|
90956
|
+
"default": "false",
|
|
90957
|
+
"description": "When true, the switch must be on before the form can\nbe submitted.",
|
|
90958
|
+
"fieldName": "required"
|
|
90959
|
+
},
|
|
90960
|
+
{
|
|
90961
|
+
"name": "required-message",
|
|
90962
|
+
"type": {
|
|
90963
|
+
"text": "string"
|
|
90964
|
+
},
|
|
90965
|
+
"default": "\"\"",
|
|
90966
|
+
"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```",
|
|
90967
|
+
"fieldName": "requiredMessage"
|
|
90968
|
+
},
|
|
90724
90969
|
{
|
|
90725
90970
|
"name": "disabled",
|
|
90726
90971
|
"type": {
|
|
90727
90972
|
"text": "boolean"
|
|
90728
90973
|
},
|
|
90729
90974
|
"default": "false",
|
|
90730
|
-
"description": "
|
|
90975
|
+
"description": "Controls whether the switch is disabled.",
|
|
90731
90976
|
"fieldName": "disabled"
|
|
90732
90977
|
},
|
|
90733
90978
|
{
|
|
@@ -90783,60 +91028,84 @@
|
|
|
90783
91028
|
"name": "EspalierElementBase",
|
|
90784
91029
|
"module": "dist/shared/esp-element-base.js"
|
|
90785
91030
|
},
|
|
90786
|
-
"tagName": "esp-tab-group",
|
|
90787
|
-
"customElement": true,
|
|
90788
91031
|
"docPageTitle": {
|
|
90789
|
-
"name": "
|
|
90790
|
-
"description": "
|
|
91032
|
+
"name": "Switch",
|
|
91033
|
+
"description": ""
|
|
90791
91034
|
},
|
|
90792
91035
|
"docUrl": {
|
|
90793
|
-
"name": "/components/
|
|
91036
|
+
"name": "/components/switch",
|
|
90794
91037
|
"description": ""
|
|
90795
91038
|
},
|
|
90796
91039
|
"menuGroup": {
|
|
90797
|
-
"name": "
|
|
90798
|
-
"description": ""
|
|
91040
|
+
"name": "Form",
|
|
91041
|
+
"description": "Controls"
|
|
90799
91042
|
},
|
|
90800
91043
|
"menuLabel": {
|
|
90801
|
-
"name": "
|
|
90802
|
-
"description": "
|
|
91044
|
+
"name": "Switch",
|
|
91045
|
+
"description": ""
|
|
90803
91046
|
},
|
|
90804
91047
|
"menuIcon": {
|
|
90805
|
-
"name": "
|
|
91048
|
+
"name": "button",
|
|
90806
91049
|
"description": ""
|
|
90807
|
-
}
|
|
91050
|
+
},
|
|
91051
|
+
"tagName": "esp-switch",
|
|
91052
|
+
"customElement": true
|
|
90808
91053
|
}
|
|
90809
91054
|
],
|
|
90810
91055
|
"exports": [
|
|
90811
91056
|
{
|
|
90812
91057
|
"kind": "js",
|
|
90813
|
-
"name": "
|
|
91058
|
+
"name": "EspalierSwitch",
|
|
90814
91059
|
"declaration": {
|
|
90815
|
-
"name": "
|
|
90816
|
-
"module": "dist/
|
|
91060
|
+
"name": "EspalierSwitch",
|
|
91061
|
+
"module": "dist/switch/esp-switch.js"
|
|
90817
91062
|
}
|
|
90818
91063
|
},
|
|
90819
91064
|
{
|
|
90820
91065
|
"kind": "custom-element-definition",
|
|
90821
|
-
"name": "esp-
|
|
91066
|
+
"name": "esp-switch",
|
|
90822
91067
|
"declaration": {
|
|
90823
|
-
"name": "
|
|
90824
|
-
"module": "dist/
|
|
91068
|
+
"name": "EspalierSwitch",
|
|
91069
|
+
"module": "dist/switch/esp-switch.js"
|
|
90825
91070
|
}
|
|
90826
91071
|
}
|
|
90827
91072
|
]
|
|
90828
91073
|
},
|
|
90829
91074
|
{
|
|
90830
91075
|
"kind": "javascript-module",
|
|
90831
|
-
"path": "dist/tabs/esp-tab.js",
|
|
91076
|
+
"path": "dist/tabs/esp-tab-group.js",
|
|
90832
91077
|
"declarations": [
|
|
90833
91078
|
{
|
|
90834
91079
|
"kind": "class",
|
|
90835
|
-
"description": "A
|
|
90836
|
-
"name": "
|
|
91080
|
+
"description": "A tabbed interface that groups multiple\n[esp-tab](/components/tabs) elements. The tab strip is\ngenerated automatically from each child's `label` attribute.\nOnly one tab panel is visible at a time.\n\nA field fills one layer above the surface it sits on.\nUse `surface-layer=\"1|2|3|4\"` to select the default painted layer.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Overview\">\n <p>Overview content goes here.</p>\n </esp-tab>\n <esp-tab label=\"Details\">\n <p>Detailed information lives here.</p>\n </esp-tab>\n <esp-tab label=\"Settings\">\n <p>Configuration options.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet `active` on a child `esp-tab` to make it the initially\nvisible panel:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Alpha\">\n <p>Alpha panel.</p>\n </esp-tab>\n <esp-tab label=\"Beta\" active>\n <p>Beta starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\nIndividual tabs can be disabled:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Available\">\n <p>You can select this tab.</p>\n </esp-tab>\n <esp-tab label=\"Locked\" disabled>\n <p>This tab cannot be reached.</p>\n </esp-tab>\n <esp-tab label=\"Also available\">\n <p>This tab works too.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled group\n\nSet `disabled` on the group to disable all tabs at once:\n\n```html\n<esp-tab-group disabled>\n <esp-tab label=\"One\">\n <p>All tabs are disabled.</p>\n </esp-tab>\n <esp-tab label=\"Two\">\n <p>Cannot switch to this.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Zone theming\n\nTab groups pick up zone theming from a `context` attribute:\n\n```html\n<esp-tab-group context=\"quiet\">\n <esp-tab label=\"First\">\n <p>Zone-correct content.</p>\n </esp-tab>\n <esp-tab label=\"Second\">\n <p>More content.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Listening for tab changes\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Tab 1\">\n <p>First panel.</p>\n </esp-tab>\n <esp-tab label=\"Tab 2\">\n <p>Second panel.</p>\n </esp-tab>\n</esp-tab-group>\n<script>\n const tabs = findByTagName(\"esp-tab-group\")[0];\n tabs.addEventListener(\"esp-tab-group-changed\", (ev) => {\n console.log(\"Switched to:\", ev.detail.label, \"at index\", ev.detail.index);\n });\n</script>\n```",
|
|
91081
|
+
"name": "EspalierTabGroup",
|
|
90837
91082
|
"cssProperties": [
|
|
90838
91083
|
{
|
|
90839
|
-
"description": "
|
|
91084
|
+
"description": "Border color of the tab group container.",
|
|
91085
|
+
"name": "--esp-tab-color-border"
|
|
91086
|
+
},
|
|
91087
|
+
{
|
|
91088
|
+
"description": "Background color of the overall component.",
|
|
91089
|
+
"name": "--esp-tab-color-background"
|
|
91090
|
+
},
|
|
91091
|
+
{
|
|
91092
|
+
"description": "Background color of the tab strip.",
|
|
91093
|
+
"name": "--esp-tab-color-strip-background"
|
|
91094
|
+
},
|
|
91095
|
+
{
|
|
91096
|
+
"description": "Tab button hover background.",
|
|
91097
|
+
"name": "--esp-tab-color-button-hover"
|
|
91098
|
+
},
|
|
91099
|
+
{
|
|
91100
|
+
"description": "Active tab button background.",
|
|
91101
|
+
"name": "--esp-tab-color-button-active"
|
|
91102
|
+
},
|
|
91103
|
+
{
|
|
91104
|
+
"description": "Text color for tab buttons.",
|
|
91105
|
+
"name": "--esp-tab-color-text"
|
|
91106
|
+
},
|
|
91107
|
+
{
|
|
91108
|
+
"description": "Padding inside the panel area and tab buttons.",
|
|
90840
91109
|
"name": "--esp-tab-size-padding"
|
|
90841
91110
|
},
|
|
90842
91111
|
{
|
|
@@ -90898,51 +91167,144 @@
|
|
|
90898
91167
|
],
|
|
90899
91168
|
"cssParts": [
|
|
90900
91169
|
{
|
|
90901
|
-
"description": "The
|
|
90902
|
-
"name": "
|
|
91170
|
+
"description": "The tab strip container.",
|
|
91171
|
+
"name": "tab-list"
|
|
91172
|
+
},
|
|
91173
|
+
{
|
|
91174
|
+
"description": "Each individual tab button in the strip.",
|
|
91175
|
+
"name": "tab-button"
|
|
91176
|
+
},
|
|
91177
|
+
{
|
|
91178
|
+
"description": "The panel area below the tab strip.",
|
|
91179
|
+
"name": "panels"
|
|
90903
91180
|
}
|
|
90904
91181
|
],
|
|
90905
91182
|
"slots": [
|
|
90906
91183
|
{
|
|
90907
|
-
"description": "
|
|
91184
|
+
"description": "Place `esp-tab` elements in the default slot.",
|
|
90908
91185
|
"name": ""
|
|
90909
91186
|
}
|
|
90910
91187
|
],
|
|
90911
91188
|
"members": [
|
|
90912
91189
|
{
|
|
90913
91190
|
"kind": "field",
|
|
90914
|
-
"name": "
|
|
90915
|
-
"
|
|
90916
|
-
"text": "string"
|
|
90917
|
-
},
|
|
90918
|
-
"privacy": "public",
|
|
90919
|
-
"default": "\"\"",
|
|
90920
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
90921
|
-
"attribute": "label"
|
|
91191
|
+
"name": "panelsSlot",
|
|
91192
|
+
"privacy": "private"
|
|
90922
91193
|
},
|
|
90923
91194
|
{
|
|
90924
91195
|
"kind": "field",
|
|
90925
|
-
"name": "
|
|
91196
|
+
"name": "disabled",
|
|
90926
91197
|
"type": {
|
|
90927
91198
|
"text": "boolean"
|
|
90928
91199
|
},
|
|
90929
91200
|
"privacy": "public",
|
|
90930
91201
|
"default": "false",
|
|
90931
|
-
"description": "
|
|
90932
|
-
"attribute": "
|
|
91202
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
91203
|
+
"attribute": "disabled",
|
|
90933
91204
|
"reflects": true
|
|
90934
91205
|
},
|
|
90935
91206
|
{
|
|
90936
91207
|
"kind": "field",
|
|
90937
|
-
"name": "
|
|
91208
|
+
"name": "tabData",
|
|
90938
91209
|
"type": {
|
|
90939
|
-
"text": "
|
|
91210
|
+
"text": "TabData[]"
|
|
90940
91211
|
},
|
|
90941
|
-
"privacy": "
|
|
90942
|
-
"default": "
|
|
90943
|
-
|
|
90944
|
-
|
|
90945
|
-
"
|
|
91212
|
+
"privacy": "private",
|
|
91213
|
+
"default": "[]"
|
|
91214
|
+
},
|
|
91215
|
+
{
|
|
91216
|
+
"kind": "method",
|
|
91217
|
+
"name": "getTabs",
|
|
91218
|
+
"privacy": "private",
|
|
91219
|
+
"return": {
|
|
91220
|
+
"type": {
|
|
91221
|
+
"text": "EspalierTab[]"
|
|
91222
|
+
}
|
|
91223
|
+
}
|
|
91224
|
+
},
|
|
91225
|
+
{
|
|
91226
|
+
"kind": "method",
|
|
91227
|
+
"name": "syncTabData",
|
|
91228
|
+
"privacy": "private",
|
|
91229
|
+
"return": {
|
|
91230
|
+
"type": {
|
|
91231
|
+
"text": "void"
|
|
91232
|
+
}
|
|
91233
|
+
}
|
|
91234
|
+
},
|
|
91235
|
+
{
|
|
91236
|
+
"kind": "method",
|
|
91237
|
+
"name": "activateTab",
|
|
91238
|
+
"privacy": "private",
|
|
91239
|
+
"return": {
|
|
91240
|
+
"type": {
|
|
91241
|
+
"text": "void"
|
|
91242
|
+
}
|
|
91243
|
+
},
|
|
91244
|
+
"parameters": [
|
|
91245
|
+
{
|
|
91246
|
+
"name": "index",
|
|
91247
|
+
"type": {
|
|
91248
|
+
"text": "number"
|
|
91249
|
+
}
|
|
91250
|
+
}
|
|
91251
|
+
]
|
|
91252
|
+
},
|
|
91253
|
+
{
|
|
91254
|
+
"kind": "method",
|
|
91255
|
+
"name": "handleTabClick",
|
|
91256
|
+
"privacy": "private",
|
|
91257
|
+
"return": {
|
|
91258
|
+
"type": {
|
|
91259
|
+
"text": "void"
|
|
91260
|
+
}
|
|
91261
|
+
},
|
|
91262
|
+
"parameters": [
|
|
91263
|
+
{
|
|
91264
|
+
"name": "index",
|
|
91265
|
+
"type": {
|
|
91266
|
+
"text": "number"
|
|
91267
|
+
}
|
|
91268
|
+
}
|
|
91269
|
+
]
|
|
91270
|
+
},
|
|
91271
|
+
{
|
|
91272
|
+
"kind": "method",
|
|
91273
|
+
"name": "handleKeyDown",
|
|
91274
|
+
"privacy": "private",
|
|
91275
|
+
"return": {
|
|
91276
|
+
"type": {
|
|
91277
|
+
"text": "void"
|
|
91278
|
+
}
|
|
91279
|
+
},
|
|
91280
|
+
"parameters": [
|
|
91281
|
+
{
|
|
91282
|
+
"name": "ev",
|
|
91283
|
+
"type": {
|
|
91284
|
+
"text": "KeyboardEvent"
|
|
91285
|
+
}
|
|
91286
|
+
}
|
|
91287
|
+
]
|
|
91288
|
+
},
|
|
91289
|
+
{
|
|
91290
|
+
"kind": "method",
|
|
91291
|
+
"name": "handleChildUpdated",
|
|
91292
|
+
"privacy": "private",
|
|
91293
|
+
"return": {
|
|
91294
|
+
"type": {
|
|
91295
|
+
"text": "void"
|
|
91296
|
+
}
|
|
91297
|
+
}
|
|
91298
|
+
},
|
|
91299
|
+
{
|
|
91300
|
+
"kind": "method",
|
|
91301
|
+
"name": "handleSlotChange",
|
|
91302
|
+
"privacy": "private",
|
|
91303
|
+
"return": {
|
|
91304
|
+
"type": {
|
|
91305
|
+
"text": "void"
|
|
91306
|
+
}
|
|
91307
|
+
}
|
|
90946
91308
|
},
|
|
90947
91309
|
{
|
|
90948
91310
|
"kind": "field",
|
|
@@ -91669,33 +92031,23 @@
|
|
|
91669
92031
|
}
|
|
91670
92032
|
}
|
|
91671
92033
|
],
|
|
91672
|
-
"events": [
|
|
91673
|
-
"attributes": [
|
|
91674
|
-
{
|
|
91675
|
-
"name": "label",
|
|
91676
|
-
"type": {
|
|
91677
|
-
"text": "string"
|
|
91678
|
-
},
|
|
91679
|
-
"default": "\"\"",
|
|
91680
|
-
"description": "The text displayed in the tab button within the tab strip.",
|
|
91681
|
-
"fieldName": "label"
|
|
91682
|
-
},
|
|
92034
|
+
"events": [
|
|
91683
92035
|
{
|
|
91684
|
-
"name": "active",
|
|
91685
92036
|
"type": {
|
|
91686
|
-
"text": "
|
|
92037
|
+
"text": "CustomEvent<{ index: number; label: string }>"
|
|
91687
92038
|
},
|
|
91688
|
-
"
|
|
91689
|
-
"
|
|
91690
|
-
|
|
91691
|
-
|
|
92039
|
+
"description": "Fired when the active tab changes. The detail contains the `index` and `label` of the newly active tab.",
|
|
92040
|
+
"name": "esp-tab-group-changed"
|
|
92041
|
+
}
|
|
92042
|
+
],
|
|
92043
|
+
"attributes": [
|
|
91692
92044
|
{
|
|
91693
92045
|
"name": "disabled",
|
|
91694
92046
|
"type": {
|
|
91695
92047
|
"text": "boolean"
|
|
91696
92048
|
},
|
|
91697
92049
|
"default": "false",
|
|
91698
|
-
"description": "
|
|
92050
|
+
"description": "Disables all tabs in the group, preventing any tab from\nbeing selected.",
|
|
91699
92051
|
"fieldName": "disabled"
|
|
91700
92052
|
},
|
|
91701
92053
|
{
|
|
@@ -91751,97 +92103,61 @@
|
|
|
91751
92103
|
"name": "EspalierElementBase",
|
|
91752
92104
|
"module": "dist/shared/esp-element-base.js"
|
|
91753
92105
|
},
|
|
91754
|
-
"tagName": "esp-tab",
|
|
92106
|
+
"tagName": "esp-tab-group",
|
|
91755
92107
|
"customElement": true,
|
|
91756
92108
|
"docPageTitle": {
|
|
91757
92109
|
"name": "Tab",
|
|
91758
|
-
"description": ""
|
|
92110
|
+
"description": "Group"
|
|
91759
92111
|
},
|
|
91760
92112
|
"docUrl": {
|
|
91761
|
-
"name": "/components/tabs
|
|
92113
|
+
"name": "/components/tabs",
|
|
91762
92114
|
"description": ""
|
|
91763
92115
|
},
|
|
91764
92116
|
"menuGroup": {
|
|
91765
92117
|
"name": "Navigation",
|
|
91766
92118
|
"description": ""
|
|
92119
|
+
},
|
|
92120
|
+
"menuLabel": {
|
|
92121
|
+
"name": "Tab",
|
|
92122
|
+
"description": "Group"
|
|
92123
|
+
},
|
|
92124
|
+
"menuIcon": {
|
|
92125
|
+
"name": "layout-navbar",
|
|
92126
|
+
"description": ""
|
|
91767
92127
|
}
|
|
91768
92128
|
}
|
|
91769
92129
|
],
|
|
91770
92130
|
"exports": [
|
|
91771
92131
|
{
|
|
91772
92132
|
"kind": "js",
|
|
91773
|
-
"name": "
|
|
92133
|
+
"name": "EspalierTabGroup",
|
|
91774
92134
|
"declaration": {
|
|
91775
|
-
"name": "
|
|
91776
|
-
"module": "dist/tabs/esp-tab.js"
|
|
92135
|
+
"name": "EspalierTabGroup",
|
|
92136
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
91777
92137
|
}
|
|
91778
92138
|
},
|
|
91779
92139
|
{
|
|
91780
92140
|
"kind": "custom-element-definition",
|
|
91781
|
-
"name": "esp-tab",
|
|
92141
|
+
"name": "esp-tab-group",
|
|
91782
92142
|
"declaration": {
|
|
91783
|
-
"name": "
|
|
91784
|
-
"module": "dist/tabs/esp-tab.js"
|
|
92143
|
+
"name": "EspalierTabGroup",
|
|
92144
|
+
"module": "dist/tabs/esp-tab-group.js"
|
|
91785
92145
|
}
|
|
91786
92146
|
}
|
|
91787
92147
|
]
|
|
91788
92148
|
},
|
|
91789
92149
|
{
|
|
91790
92150
|
"kind": "javascript-module",
|
|
91791
|
-
"path": "dist/
|
|
92151
|
+
"path": "dist/tabs/esp-tab.js",
|
|
91792
92152
|
"declarations": [
|
|
91793
92153
|
{
|
|
91794
92154
|
"kind": "class",
|
|
91795
|
-
"description": "
|
|
91796
|
-
"name": "
|
|
92155
|
+
"description": "A single tab panel used inside\n[esp-tab-group](/components/tabs). Each tab provides a\n`label` that appears in the generated tab strip and a default\nslot for the panel content.\n\n```html\n<esp-tab-group>\n <esp-tab label=\"First\">\n <p>Content for the first tab.</p>\n </esp-tab>\n <esp-tab label=\"Second\">\n <p>Content for the second tab.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Pre-selected tab\n\nSet the `active` attribute to make a tab active on load:\n\n```html\n<esp-tab-group>\n <esp-tab label=\"One\">\n <p>Not active by default.</p>\n </esp-tab>\n <esp-tab label=\"Two\" active>\n <p>This tab starts active.</p>\n </esp-tab>\n</esp-tab-group>\n```\n\n### Disabled tab\n\n```html\n<esp-tab-group>\n <esp-tab label=\"Enabled\">\n <p>This tab works normally.</p>\n </esp-tab>\n <esp-tab label=\"Disabled\" disabled>\n <p>Cannot reach this panel.</p>\n </esp-tab>\n</esp-tab-group>\n```",
|
|
92156
|
+
"name": "EspalierTab",
|
|
91797
92157
|
"cssProperties": [
|
|
91798
92158
|
{
|
|
91799
|
-
"description": "
|
|
91800
|
-
"name": "--esp-
|
|
91801
|
-
},
|
|
91802
|
-
{
|
|
91803
|
-
"description": "The height of the switch track. Defaults to `var(--esp-size-normal-to-medium)`.",
|
|
91804
|
-
"name": "--esp-switch-height"
|
|
91805
|
-
},
|
|
91806
|
-
{
|
|
91807
|
-
"description": "The diameter of the thumb. Defaults to `calc(var(--esp-switch-height) - 4px)`.",
|
|
91808
|
-
"name": "--esp-switch-thumb-size"
|
|
91809
|
-
},
|
|
91810
|
-
{
|
|
91811
|
-
"description": "The track background color when the switch is off. Defaults to `var(--esp-color-border)`.",
|
|
91812
|
-
"name": "--esp-switch-track-color"
|
|
91813
|
-
},
|
|
91814
|
-
{
|
|
91815
|
-
"description": "The track background color when the switch is on. Defaults to `var(--esp-color-action-background)`.",
|
|
91816
|
-
"name": "--esp-switch-track-color-on"
|
|
91817
|
-
},
|
|
91818
|
-
{
|
|
91819
|
-
"description": "The thumb color. Defaults to `var(--esp-color-layer-1)`.",
|
|
91820
|
-
"name": "--esp-switch-thumb-color"
|
|
91821
|
-
},
|
|
91822
|
-
{
|
|
91823
|
-
"description": "The color of the focus ring shadow. Defaults to `var(--esp-color-shadow)`.",
|
|
91824
|
-
"name": "--esp-switch-focus-shadow"
|
|
91825
|
-
},
|
|
91826
|
-
{
|
|
91827
|
-
"description": "Padding inside each text-mode label cell. Defaults to `var(--esp-size-tiny) var(--esp-size-small)`.",
|
|
91828
|
-
"name": "--esp-switch-text-padding"
|
|
91829
|
-
},
|
|
91830
|
-
{
|
|
91831
|
-
"description": "Font size for text-mode labels. Defaults to `var(--esp-size-font)`.",
|
|
91832
|
-
"name": "--esp-switch-text-font-size"
|
|
91833
|
-
},
|
|
91834
|
-
{
|
|
91835
|
-
"description": "Text color of the active label in text mode. Defaults to `var(--esp-color-action-text)`.",
|
|
91836
|
-
"name": "--esp-switch-text-active-color"
|
|
91837
|
-
},
|
|
91838
|
-
{
|
|
91839
|
-
"description": "Text color of the inactive label in text mode. Defaults to `var(--esp-color-layer-1)`.",
|
|
91840
|
-
"name": "--esp-switch-text-inactive-color"
|
|
91841
|
-
},
|
|
91842
|
-
{
|
|
91843
|
-
"description": "Background color of the sliding highlight in text mode. Defaults to `var(--esp-color-action-background)`.",
|
|
91844
|
-
"name": "--esp-switch-text-highlight-color"
|
|
92159
|
+
"description": "Padding inside the panel area.",
|
|
92160
|
+
"name": "--esp-tab-size-padding"
|
|
91845
92161
|
},
|
|
91846
92162
|
{
|
|
91847
92163
|
"description": "Background color of the shared field shell. Defaults to one layer above the nearest declared surface, capped at `var(--esp-color-layer-4)`, or `var(--esp-color-layer-2)` without a declared surface. An explicit override wins.",
|
|
@@ -91900,131 +92216,42 @@
|
|
|
91900
92216
|
}
|
|
91901
92217
|
}
|
|
91902
92218
|
],
|
|
92219
|
+
"cssParts": [
|
|
92220
|
+
{
|
|
92221
|
+
"description": "The panel wrapper element.",
|
|
92222
|
+
"name": "panel"
|
|
92223
|
+
}
|
|
92224
|
+
],
|
|
91903
92225
|
"slots": [
|
|
91904
92226
|
{
|
|
91905
|
-
"description": "The
|
|
92227
|
+
"description": "The default slot holds the panel content displayed when this tab is active. Label, active-state, and disabled-state updates are reported through a private coordination event consumed by the parent tab group.",
|
|
91906
92228
|
"name": ""
|
|
91907
92229
|
}
|
|
91908
92230
|
],
|
|
91909
92231
|
"members": [
|
|
91910
92232
|
{
|
|
91911
92233
|
"kind": "field",
|
|
91912
|
-
"name": "
|
|
91913
|
-
"type": {
|
|
91914
|
-
"text": "boolean"
|
|
91915
|
-
},
|
|
91916
|
-
"static": true,
|
|
91917
|
-
"default": "true"
|
|
91918
|
-
},
|
|
91919
|
-
{
|
|
91920
|
-
"kind": "field",
|
|
91921
|
-
"name": "internals",
|
|
91922
|
-
"privacy": "private"
|
|
91923
|
-
},
|
|
91924
|
-
{
|
|
91925
|
-
"kind": "field",
|
|
91926
|
-
"name": "formCtrl",
|
|
91927
|
-
"privacy": "private",
|
|
91928
|
-
"default": "new FormFieldController({ host: this, internals: this.internals, getFormValue: () => (this.checked ? this.value || \"on\" : null), getValidity: () => { if (this.required && !this.checked) { return { flags: { valueMissing: true }, message: this.requiredMessage || \"Please toggle this switch to continue.\", }; } return null; }, onReset: () => { this.checked = false; }, onRestore: (state: string) => { this.checked = state === \"on\" || state === this.value; }, onDisabled: (isDisabled: boolean) => { this.disabled = isDisabled; }, })"
|
|
91929
|
-
},
|
|
91930
|
-
{
|
|
91931
|
-
"kind": "field",
|
|
91932
|
-
"name": "formItemDescription",
|
|
91933
|
-
"privacy": "private",
|
|
91934
|
-
"default": "new FormFieldDescriptionController({ host: this, getTarget: () => this.shadowRoot?.querySelector<HTMLElement>(\".switch-control\"), })"
|
|
91935
|
-
},
|
|
91936
|
-
{
|
|
91937
|
-
"kind": "field",
|
|
91938
|
-
"name": "mode",
|
|
91939
|
-
"type": {
|
|
91940
|
-
"text": "\"switch\" | \"text\""
|
|
91941
|
-
},
|
|
91942
|
-
"privacy": "public",
|
|
91943
|
-
"default": "\"switch\"",
|
|
91944
|
-
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
91945
|
-
"attribute": "mode",
|
|
91946
|
-
"reflects": true
|
|
91947
|
-
},
|
|
91948
|
-
{
|
|
91949
|
-
"kind": "field",
|
|
91950
|
-
"name": "offLabel",
|
|
91951
|
-
"type": {
|
|
91952
|
-
"text": "string"
|
|
91953
|
-
},
|
|
91954
|
-
"privacy": "public",
|
|
91955
|
-
"default": "\"\"",
|
|
91956
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
91957
|
-
"attribute": "off-label"
|
|
91958
|
-
},
|
|
91959
|
-
{
|
|
91960
|
-
"kind": "field",
|
|
91961
|
-
"name": "onLabel",
|
|
91962
|
-
"type": {
|
|
91963
|
-
"text": "string"
|
|
91964
|
-
},
|
|
91965
|
-
"privacy": "public",
|
|
91966
|
-
"default": "\"\"",
|
|
91967
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
91968
|
-
"attribute": "on-label"
|
|
91969
|
-
},
|
|
91970
|
-
{
|
|
91971
|
-
"kind": "field",
|
|
91972
|
-
"name": "checked",
|
|
91973
|
-
"type": {
|
|
91974
|
-
"text": "boolean"
|
|
91975
|
-
},
|
|
91976
|
-
"privacy": "public",
|
|
91977
|
-
"default": "false",
|
|
91978
|
-
"description": "Whether the switch is in the on state.",
|
|
91979
|
-
"attribute": "checked",
|
|
91980
|
-
"reflects": true
|
|
91981
|
-
},
|
|
91982
|
-
{
|
|
91983
|
-
"kind": "field",
|
|
91984
|
-
"name": "value",
|
|
91985
|
-
"type": {
|
|
91986
|
-
"text": "string"
|
|
91987
|
-
},
|
|
91988
|
-
"privacy": "public",
|
|
91989
|
-
"default": "\"\"",
|
|
91990
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
91991
|
-
"attribute": "value"
|
|
91992
|
-
},
|
|
91993
|
-
{
|
|
91994
|
-
"kind": "field",
|
|
91995
|
-
"name": "name",
|
|
92234
|
+
"name": "label",
|
|
91996
92235
|
"type": {
|
|
91997
92236
|
"text": "string"
|
|
91998
92237
|
},
|
|
91999
92238
|
"privacy": "public",
|
|
92000
92239
|
"default": "\"\"",
|
|
92001
|
-
"description": "The
|
|
92002
|
-
"attribute": "
|
|
92003
|
-
"reflects": true
|
|
92240
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
92241
|
+
"attribute": "label"
|
|
92004
92242
|
},
|
|
92005
92243
|
{
|
|
92006
92244
|
"kind": "field",
|
|
92007
|
-
"name": "
|
|
92245
|
+
"name": "active",
|
|
92008
92246
|
"type": {
|
|
92009
92247
|
"text": "boolean"
|
|
92010
92248
|
},
|
|
92011
92249
|
"privacy": "public",
|
|
92012
92250
|
"default": "false",
|
|
92013
|
-
"description": "
|
|
92014
|
-
"attribute": "
|
|
92251
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
92252
|
+
"attribute": "active",
|
|
92015
92253
|
"reflects": true
|
|
92016
92254
|
},
|
|
92017
|
-
{
|
|
92018
|
-
"kind": "field",
|
|
92019
|
-
"name": "requiredMessage",
|
|
92020
|
-
"type": {
|
|
92021
|
-
"text": "string"
|
|
92022
|
-
},
|
|
92023
|
-
"privacy": "public",
|
|
92024
|
-
"default": "\"\"",
|
|
92025
|
-
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
92026
|
-
"attribute": "required-message"
|
|
92027
|
-
},
|
|
92028
92255
|
{
|
|
92029
92256
|
"kind": "field",
|
|
92030
92257
|
"name": "disabled",
|
|
@@ -92033,156 +92260,10 @@
|
|
|
92033
92260
|
},
|
|
92034
92261
|
"privacy": "public",
|
|
92035
92262
|
"default": "false",
|
|
92036
|
-
"description": "
|
|
92263
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
92037
92264
|
"attribute": "disabled",
|
|
92038
92265
|
"reflects": true
|
|
92039
92266
|
},
|
|
92040
|
-
{
|
|
92041
|
-
"kind": "method",
|
|
92042
|
-
"name": "focus",
|
|
92043
|
-
"privacy": "public",
|
|
92044
|
-
"return": {
|
|
92045
|
-
"type": {
|
|
92046
|
-
"text": "void"
|
|
92047
|
-
}
|
|
92048
|
-
},
|
|
92049
|
-
"parameters": [
|
|
92050
|
-
{
|
|
92051
|
-
"name": "options",
|
|
92052
|
-
"optional": true,
|
|
92053
|
-
"type": {
|
|
92054
|
-
"text": "FocusOptions"
|
|
92055
|
-
}
|
|
92056
|
-
}
|
|
92057
|
-
],
|
|
92058
|
-
"description": "Focus the switch control."
|
|
92059
|
-
},
|
|
92060
|
-
{
|
|
92061
|
-
"kind": "method",
|
|
92062
|
-
"name": "validate",
|
|
92063
|
-
"privacy": "public",
|
|
92064
|
-
"return": {
|
|
92065
|
-
"type": {
|
|
92066
|
-
"text": "void"
|
|
92067
|
-
}
|
|
92068
|
-
},
|
|
92069
|
-
"description": "Re-run constraint validation and dispatch `esp-validity-changed`."
|
|
92070
|
-
},
|
|
92071
|
-
{
|
|
92072
|
-
"kind": "method",
|
|
92073
|
-
"name": "checkValidity",
|
|
92074
|
-
"privacy": "public",
|
|
92075
|
-
"return": {
|
|
92076
|
-
"type": {
|
|
92077
|
-
"text": "boolean"
|
|
92078
|
-
}
|
|
92079
|
-
},
|
|
92080
|
-
"description": "Check whether the current state is valid (delegates to ElementInternals)."
|
|
92081
|
-
},
|
|
92082
|
-
{
|
|
92083
|
-
"kind": "method",
|
|
92084
|
-
"name": "toggle",
|
|
92085
|
-
"privacy": "private",
|
|
92086
|
-
"return": {
|
|
92087
|
-
"type": {
|
|
92088
|
-
"text": "void"
|
|
92089
|
-
}
|
|
92090
|
-
}
|
|
92091
|
-
},
|
|
92092
|
-
{
|
|
92093
|
-
"kind": "method",
|
|
92094
|
-
"name": "handleKeyDown",
|
|
92095
|
-
"privacy": "private",
|
|
92096
|
-
"return": {
|
|
92097
|
-
"type": {
|
|
92098
|
-
"text": "void"
|
|
92099
|
-
}
|
|
92100
|
-
},
|
|
92101
|
-
"parameters": [
|
|
92102
|
-
{
|
|
92103
|
-
"name": "ev",
|
|
92104
|
-
"type": {
|
|
92105
|
-
"text": "KeyboardEvent"
|
|
92106
|
-
}
|
|
92107
|
-
}
|
|
92108
|
-
]
|
|
92109
|
-
},
|
|
92110
|
-
{
|
|
92111
|
-
"kind": "method",
|
|
92112
|
-
"name": "handleLabelSlotChange",
|
|
92113
|
-
"privacy": "private",
|
|
92114
|
-
"return": {
|
|
92115
|
-
"type": {
|
|
92116
|
-
"text": "void"
|
|
92117
|
-
}
|
|
92118
|
-
}
|
|
92119
|
-
},
|
|
92120
|
-
{
|
|
92121
|
-
"kind": "method",
|
|
92122
|
-
"name": "getCurrentTextModeLabel",
|
|
92123
|
-
"privacy": "private",
|
|
92124
|
-
"return": {
|
|
92125
|
-
"type": {
|
|
92126
|
-
"text": "string"
|
|
92127
|
-
}
|
|
92128
|
-
}
|
|
92129
|
-
},
|
|
92130
|
-
{
|
|
92131
|
-
"kind": "method",
|
|
92132
|
-
"name": "getTextModeAriaLabel",
|
|
92133
|
-
"privacy": "private",
|
|
92134
|
-
"return": {
|
|
92135
|
-
"type": {
|
|
92136
|
-
"text": "string"
|
|
92137
|
-
}
|
|
92138
|
-
}
|
|
92139
|
-
},
|
|
92140
|
-
{
|
|
92141
|
-
"kind": "method",
|
|
92142
|
-
"name": "formResetCallback",
|
|
92143
|
-
"return": {
|
|
92144
|
-
"type": {
|
|
92145
|
-
"text": "void"
|
|
92146
|
-
}
|
|
92147
|
-
},
|
|
92148
|
-
"description": "Called by the browser when the owning `<form>` is reset."
|
|
92149
|
-
},
|
|
92150
|
-
{
|
|
92151
|
-
"kind": "method",
|
|
92152
|
-
"name": "formStateRestoreCallback",
|
|
92153
|
-
"return": {
|
|
92154
|
-
"type": {
|
|
92155
|
-
"text": "void"
|
|
92156
|
-
}
|
|
92157
|
-
},
|
|
92158
|
-
"parameters": [
|
|
92159
|
-
{
|
|
92160
|
-
"name": "state",
|
|
92161
|
-
"type": {
|
|
92162
|
-
"text": "string"
|
|
92163
|
-
}
|
|
92164
|
-
}
|
|
92165
|
-
],
|
|
92166
|
-
"description": "Called by the browser to restore form state (bfcache, etc.)."
|
|
92167
|
-
},
|
|
92168
|
-
{
|
|
92169
|
-
"kind": "method",
|
|
92170
|
-
"name": "formDisabledCallback",
|
|
92171
|
-
"return": {
|
|
92172
|
-
"type": {
|
|
92173
|
-
"text": "void"
|
|
92174
|
-
}
|
|
92175
|
-
},
|
|
92176
|
-
"parameters": [
|
|
92177
|
-
{
|
|
92178
|
-
"name": "isDisabled",
|
|
92179
|
-
"type": {
|
|
92180
|
-
"text": "boolean"
|
|
92181
|
-
}
|
|
92182
|
-
}
|
|
92183
|
-
],
|
|
92184
|
-
"description": "Called by the browser when a parent `<fieldset>` is enabled or disabled."
|
|
92185
|
-
},
|
|
92186
92267
|
{
|
|
92187
92268
|
"kind": "field",
|
|
92188
92269
|
"name": "seedColorBacker",
|
|
@@ -92908,94 +92989,25 @@
|
|
|
92908
92989
|
}
|
|
92909
92990
|
}
|
|
92910
92991
|
],
|
|
92911
|
-
"events": [
|
|
92912
|
-
{
|
|
92913
|
-
"type": {
|
|
92914
|
-
"text": "CustomEvent<{ checked: boolean; value: string }>"
|
|
92915
|
-
},
|
|
92916
|
-
"description": "Fired when the switch is toggled. The detail contains the new `checked` state and the switch `value`.",
|
|
92917
|
-
"name": "esp-value-changed"
|
|
92918
|
-
},
|
|
92919
|
-
{
|
|
92920
|
-
"type": {
|
|
92921
|
-
"text": "CustomEvent<{ valid: boolean; message: string }>"
|
|
92922
|
-
},
|
|
92923
|
-
"description": "Fired whenever constraint validation runs.",
|
|
92924
|
-
"name": "esp-validity-changed"
|
|
92925
|
-
}
|
|
92926
|
-
],
|
|
92992
|
+
"events": [],
|
|
92927
92993
|
"attributes": [
|
|
92928
92994
|
{
|
|
92929
|
-
"name": "
|
|
92930
|
-
"type": {
|
|
92931
|
-
"text": "\"switch\" | \"text\""
|
|
92932
|
-
},
|
|
92933
|
-
"default": "\"switch\"",
|
|
92934
|
-
"description": "The visual presentation of the switch.\n- `\"switch\"` (default) renders a track-and-thumb toggle.\n- `\"text\"` renders two side-by-side text labels with a\n sliding highlight behind the active one.",
|
|
92935
|
-
"fieldName": "mode"
|
|
92936
|
-
},
|
|
92937
|
-
{
|
|
92938
|
-
"name": "off-label",
|
|
92939
|
-
"type": {
|
|
92940
|
-
"text": "string"
|
|
92941
|
-
},
|
|
92942
|
-
"default": "\"\"",
|
|
92943
|
-
"description": "Label shown for the unchecked (off) state when\n`mode=\"text\"`.",
|
|
92944
|
-
"fieldName": "offLabel"
|
|
92945
|
-
},
|
|
92946
|
-
{
|
|
92947
|
-
"name": "on-label",
|
|
92948
|
-
"type": {
|
|
92949
|
-
"text": "string"
|
|
92950
|
-
},
|
|
92951
|
-
"default": "\"\"",
|
|
92952
|
-
"description": "Label shown for the checked (on) state when\n`mode=\"text\"`.",
|
|
92953
|
-
"fieldName": "onLabel"
|
|
92954
|
-
},
|
|
92955
|
-
{
|
|
92956
|
-
"name": "checked",
|
|
92957
|
-
"type": {
|
|
92958
|
-
"text": "boolean"
|
|
92959
|
-
},
|
|
92960
|
-
"default": "false",
|
|
92961
|
-
"description": "Whether the switch is in the on state.",
|
|
92962
|
-
"fieldName": "checked"
|
|
92963
|
-
},
|
|
92964
|
-
{
|
|
92965
|
-
"name": "value",
|
|
92966
|
-
"type": {
|
|
92967
|
-
"text": "string"
|
|
92968
|
-
},
|
|
92969
|
-
"default": "\"\"",
|
|
92970
|
-
"description": "The value associated with this switch. Submitted with the\nform when the switch is on.",
|
|
92971
|
-
"fieldName": "value"
|
|
92972
|
-
},
|
|
92973
|
-
{
|
|
92974
|
-
"name": "name",
|
|
92995
|
+
"name": "label",
|
|
92975
92996
|
"type": {
|
|
92976
92997
|
"text": "string"
|
|
92977
92998
|
},
|
|
92978
92999
|
"default": "\"\"",
|
|
92979
|
-
"description": "The
|
|
92980
|
-
"fieldName": "
|
|
93000
|
+
"description": "The text displayed in the tab button within the tab strip.",
|
|
93001
|
+
"fieldName": "label"
|
|
92981
93002
|
},
|
|
92982
93003
|
{
|
|
92983
|
-
"name": "
|
|
93004
|
+
"name": "active",
|
|
92984
93005
|
"type": {
|
|
92985
93006
|
"text": "boolean"
|
|
92986
93007
|
},
|
|
92987
93008
|
"default": "false",
|
|
92988
|
-
"description": "
|
|
92989
|
-
"fieldName": "
|
|
92990
|
-
},
|
|
92991
|
-
{
|
|
92992
|
-
"name": "required-message",
|
|
92993
|
-
"type": {
|
|
92994
|
-
"text": "string"
|
|
92995
|
-
},
|
|
92996
|
-
"default": "\"\"",
|
|
92997
|
-
"description": "A custom message to display when the switch is required but\nnot on. Defaults to `\"Please toggle this switch to continue.\"`\nwhen not set.\n\n```html\n<esp-switch required required-message=\"You must accept the terms.\">\n I accept\n</esp-switch>\n```",
|
|
92998
|
-
"fieldName": "requiredMessage"
|
|
93009
|
+
"description": "Whether this tab is currently active (its panel is visible).",
|
|
93010
|
+
"fieldName": "active"
|
|
92999
93011
|
},
|
|
93000
93012
|
{
|
|
93001
93013
|
"name": "disabled",
|
|
@@ -93003,7 +93015,7 @@
|
|
|
93003
93015
|
"text": "boolean"
|
|
93004
93016
|
},
|
|
93005
93017
|
"default": "false",
|
|
93006
|
-
"description": "
|
|
93018
|
+
"description": "Whether this tab is disabled (cannot be selected).",
|
|
93007
93019
|
"fieldName": "disabled"
|
|
93008
93020
|
},
|
|
93009
93021
|
{
|
|
@@ -93059,45 +93071,37 @@
|
|
|
93059
93071
|
"name": "EspalierElementBase",
|
|
93060
93072
|
"module": "dist/shared/esp-element-base.js"
|
|
93061
93073
|
},
|
|
93074
|
+
"tagName": "esp-tab",
|
|
93075
|
+
"customElement": true,
|
|
93062
93076
|
"docPageTitle": {
|
|
93063
|
-
"name": "
|
|
93077
|
+
"name": "Tab",
|
|
93064
93078
|
"description": ""
|
|
93065
93079
|
},
|
|
93066
93080
|
"docUrl": {
|
|
93067
|
-
"name": "/components/
|
|
93081
|
+
"name": "/components/tabs/tab",
|
|
93068
93082
|
"description": ""
|
|
93069
93083
|
},
|
|
93070
93084
|
"menuGroup": {
|
|
93071
|
-
"name": "
|
|
93072
|
-
"description": "Controls"
|
|
93073
|
-
},
|
|
93074
|
-
"menuLabel": {
|
|
93075
|
-
"name": "Switch",
|
|
93076
|
-
"description": ""
|
|
93077
|
-
},
|
|
93078
|
-
"menuIcon": {
|
|
93079
|
-
"name": "button",
|
|
93085
|
+
"name": "Navigation",
|
|
93080
93086
|
"description": ""
|
|
93081
|
-
}
|
|
93082
|
-
"tagName": "esp-switch",
|
|
93083
|
-
"customElement": true
|
|
93087
|
+
}
|
|
93084
93088
|
}
|
|
93085
93089
|
],
|
|
93086
93090
|
"exports": [
|
|
93087
93091
|
{
|
|
93088
93092
|
"kind": "js",
|
|
93089
|
-
"name": "
|
|
93093
|
+
"name": "EspalierTab",
|
|
93090
93094
|
"declaration": {
|
|
93091
|
-
"name": "
|
|
93092
|
-
"module": "dist/
|
|
93095
|
+
"name": "EspalierTab",
|
|
93096
|
+
"module": "dist/tabs/esp-tab.js"
|
|
93093
93097
|
}
|
|
93094
93098
|
},
|
|
93095
93099
|
{
|
|
93096
93100
|
"kind": "custom-element-definition",
|
|
93097
|
-
"name": "esp-
|
|
93101
|
+
"name": "esp-tab",
|
|
93098
93102
|
"declaration": {
|
|
93099
|
-
"name": "
|
|
93100
|
-
"module": "dist/
|
|
93103
|
+
"name": "EspalierTab",
|
|
93104
|
+
"module": "dist/tabs/esp-tab.js"
|
|
93101
93105
|
}
|
|
93102
93106
|
}
|
|
93103
93107
|
]
|
|
@@ -102916,341 +102920,6 @@
|
|
|
102916
102920
|
}
|
|
102917
102921
|
]
|
|
102918
102922
|
},
|
|
102919
|
-
{
|
|
102920
|
-
"kind": "javascript-module",
|
|
102921
|
-
"path": "dist/root/helpers/compute-semantic-properties.js",
|
|
102922
|
-
"declarations": [
|
|
102923
|
-
{
|
|
102924
|
-
"kind": "function",
|
|
102925
|
-
"name": "computeSemanticProperties",
|
|
102926
|
-
"return": {
|
|
102927
|
-
"type": {
|
|
102928
|
-
"text": "Record<string, string>"
|
|
102929
|
-
}
|
|
102930
|
-
},
|
|
102931
|
-
"parameters": [
|
|
102932
|
-
{
|
|
102933
|
-
"name": "theme",
|
|
102934
|
-
"type": {
|
|
102935
|
-
"text": "EspalierTheme"
|
|
102936
|
-
}
|
|
102937
|
-
},
|
|
102938
|
-
{
|
|
102939
|
-
"name": "variants",
|
|
102940
|
-
"type": {
|
|
102941
|
-
"text": "Record<ColorSource, OklchColor>"
|
|
102942
|
-
}
|
|
102943
|
-
},
|
|
102944
|
-
{
|
|
102945
|
-
"name": "options",
|
|
102946
|
-
"default": "{}",
|
|
102947
|
-
"type": {
|
|
102948
|
-
"text": "ComputeSemanticPropertiesOptions"
|
|
102949
|
-
}
|
|
102950
|
-
}
|
|
102951
|
-
],
|
|
102952
|
-
"description": "Derive the complete twenty-three-token semantic table for a resolved theme.\n\nRoot output, context scopes, and intent overlays all use\nthis function so their APCA pairings cannot drift apart."
|
|
102953
|
-
}
|
|
102954
|
-
],
|
|
102955
|
-
"exports": [
|
|
102956
|
-
{
|
|
102957
|
-
"kind": "js",
|
|
102958
|
-
"name": "computeSemanticProperties",
|
|
102959
|
-
"declaration": {
|
|
102960
|
-
"name": "computeSemanticProperties",
|
|
102961
|
-
"module": "dist/root/helpers/compute-semantic-properties.js"
|
|
102962
|
-
}
|
|
102963
|
-
}
|
|
102964
|
-
]
|
|
102965
|
-
},
|
|
102966
|
-
{
|
|
102967
|
-
"kind": "javascript-module",
|
|
102968
|
-
"path": "dist/root/helpers/compute-theme-properties.js",
|
|
102969
|
-
"declarations": [
|
|
102970
|
-
{
|
|
102971
|
-
"kind": "function",
|
|
102972
|
-
"name": "dataSeriesProperties",
|
|
102973
|
-
"return": {
|
|
102974
|
-
"type": {
|
|
102975
|
-
"text": "Record<string, string>"
|
|
102976
|
-
}
|
|
102977
|
-
},
|
|
102978
|
-
"parameters": [
|
|
102979
|
-
{
|
|
102980
|
-
"name": "theme",
|
|
102981
|
-
"type": {
|
|
102982
|
-
"text": "EspalierTheme"
|
|
102983
|
-
}
|
|
102984
|
-
},
|
|
102985
|
-
{
|
|
102986
|
-
"name": "seed",
|
|
102987
|
-
"type": {
|
|
102988
|
-
"text": "OklchColor"
|
|
102989
|
-
}
|
|
102990
|
-
},
|
|
102991
|
-
{
|
|
102992
|
-
"name": "resolve",
|
|
102993
|
-
"type": {
|
|
102994
|
-
"text": "(source: unknown, label: string) => string"
|
|
102995
|
-
}
|
|
102996
|
-
},
|
|
102997
|
-
{
|
|
102998
|
-
"description": "Optional sink for the theme fit report (ESP0163). When\nsupplied, each semantic derivation is appended as it is emitted —\nthe emitted value read back out of the property record, and the\npre-enforcement value taken from the derivation itself — so a report\ndescribes this run rather than re-deriving it. When omitted the\npipeline does no reporting work at all.",
|
|
102999
|
-
"name": "trace"
|
|
103000
|
-
}
|
|
103001
|
-
],
|
|
103002
|
-
"description": "Emit the categorical series identities from a theme's data palette.\n\nShared between the root emission and the zone-table path (the zone\ncompanions need the identities without re-emitting them), so the two\ncan never resolve a palette differently."
|
|
103003
|
-
},
|
|
103004
|
-
{
|
|
103005
|
-
"kind": "function",
|
|
103006
|
-
"name": "computeThemeProperties",
|
|
103007
|
-
"return": {
|
|
103008
|
-
"type": {
|
|
103009
|
-
"text": "Record<string, string>"
|
|
103010
|
-
}
|
|
103011
|
-
},
|
|
103012
|
-
"parameters": [
|
|
103013
|
-
{
|
|
103014
|
-
"name": "theme",
|
|
103015
|
-
"type": {
|
|
103016
|
-
"text": "EspalierTheme"
|
|
103017
|
-
}
|
|
103018
|
-
},
|
|
103019
|
-
{
|
|
103020
|
-
"name": "scheme",
|
|
103021
|
-
"type": {
|
|
103022
|
-
"text": "\"light\" | \"dark\""
|
|
103023
|
-
}
|
|
103024
|
-
},
|
|
103025
|
-
{
|
|
103026
|
-
"name": "trace",
|
|
103027
|
-
"optional": true,
|
|
103028
|
-
"type": {
|
|
103029
|
-
"text": "ThemeFitTraceEntry[]"
|
|
103030
|
-
}
|
|
103031
|
-
}
|
|
103032
|
-
]
|
|
103033
|
-
}
|
|
103034
|
-
],
|
|
103035
|
-
"exports": [
|
|
103036
|
-
{
|
|
103037
|
-
"kind": "js",
|
|
103038
|
-
"name": "dataSeriesProperties",
|
|
103039
|
-
"declaration": {
|
|
103040
|
-
"name": "dataSeriesProperties",
|
|
103041
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103042
|
-
}
|
|
103043
|
-
},
|
|
103044
|
-
{
|
|
103045
|
-
"kind": "js",
|
|
103046
|
-
"name": "computeThemeProperties",
|
|
103047
|
-
"declaration": {
|
|
103048
|
-
"name": "computeThemeProperties",
|
|
103049
|
-
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103050
|
-
}
|
|
103051
|
-
}
|
|
103052
|
-
]
|
|
103053
|
-
},
|
|
103054
|
-
{
|
|
103055
|
-
"kind": "javascript-module",
|
|
103056
|
-
"path": "dist/root/helpers/compute-variants.js",
|
|
103057
|
-
"declarations": [],
|
|
103058
|
-
"exports": [
|
|
103059
|
-
{
|
|
103060
|
-
"kind": "js",
|
|
103061
|
-
"name": "computeVariants",
|
|
103062
|
-
"declaration": {
|
|
103063
|
-
"name": "computeVariants",
|
|
103064
|
-
"module": "../../shared/variant-engine.js"
|
|
103065
|
-
}
|
|
103066
|
-
},
|
|
103067
|
-
{
|
|
103068
|
-
"kind": "js",
|
|
103069
|
-
"name": "resolveMappingSource",
|
|
103070
|
-
"declaration": {
|
|
103071
|
-
"name": "resolveMappingSource",
|
|
103072
|
-
"module": "../../shared/variant-engine.js"
|
|
103073
|
-
}
|
|
103074
|
-
}
|
|
103075
|
-
]
|
|
103076
|
-
},
|
|
103077
|
-
{
|
|
103078
|
-
"kind": "javascript-module",
|
|
103079
|
-
"path": "dist/root/helpers/data-companion-properties.js",
|
|
103080
|
-
"declarations": [
|
|
103081
|
-
{
|
|
103082
|
-
"kind": "variable",
|
|
103083
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103084
|
-
"type": {
|
|
103085
|
-
"text": "number"
|
|
103086
|
-
},
|
|
103087
|
-
"default": "0.75",
|
|
103088
|
-
"description": "The series' share of the wash mix — the documented fill recipe."
|
|
103089
|
-
},
|
|
103090
|
-
{
|
|
103091
|
-
"kind": "variable",
|
|
103092
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103093
|
-
"type": {
|
|
103094
|
-
"text": "number"
|
|
103095
|
-
},
|
|
103096
|
-
"default": "0.12",
|
|
103097
|
-
"description": "The series' share of the subtle tint mix behind ordinary copy."
|
|
103098
|
-
},
|
|
103099
|
-
{
|
|
103100
|
-
"kind": "function",
|
|
103101
|
-
"name": "dataCompanionProperties",
|
|
103102
|
-
"return": {
|
|
103103
|
-
"type": {
|
|
103104
|
-
"text": "Record<string, string>"
|
|
103105
|
-
}
|
|
103106
|
-
},
|
|
103107
|
-
"parameters": [
|
|
103108
|
-
{
|
|
103109
|
-
"name": "properties",
|
|
103110
|
-
"type": {
|
|
103111
|
-
"text": "Record<string, string>"
|
|
103112
|
-
}
|
|
103113
|
-
},
|
|
103114
|
-
{
|
|
103115
|
-
"name": "inheritedSeries",
|
|
103116
|
-
"optional": true,
|
|
103117
|
-
"type": {
|
|
103118
|
-
"text": "Record<string, string>"
|
|
103119
|
-
}
|
|
103120
|
-
}
|
|
103121
|
-
],
|
|
103122
|
-
"description": "Compute the wash, tint, and ink companions for every series token\npresent in an emitted property table, against that table's own background.\n\nReads the *emitted* strings — the same read-back principle as the fit\nreport — so a companion can never disagree with the identity token or\nthe background it composes with. Zone tables pass their own table and\nget zone-correct companions; tables without series tokens (a zone\ntable, which inherits the root's identities) take them from\n`inheritedSeries`, the root-emitted table."
|
|
103123
|
-
}
|
|
103124
|
-
],
|
|
103125
|
-
"exports": [
|
|
103126
|
-
{
|
|
103127
|
-
"kind": "js",
|
|
103128
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103129
|
-
"declaration": {
|
|
103130
|
-
"name": "DATA_WASH_SERIES_SHARE",
|
|
103131
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103132
|
-
}
|
|
103133
|
-
},
|
|
103134
|
-
{
|
|
103135
|
-
"kind": "js",
|
|
103136
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103137
|
-
"declaration": {
|
|
103138
|
-
"name": "DATA_TINT_SERIES_SHARE",
|
|
103139
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103140
|
-
}
|
|
103141
|
-
},
|
|
103142
|
-
{
|
|
103143
|
-
"kind": "js",
|
|
103144
|
-
"name": "dataCompanionProperties",
|
|
103145
|
-
"declaration": {
|
|
103146
|
-
"name": "dataCompanionProperties",
|
|
103147
|
-
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103148
|
-
}
|
|
103149
|
-
}
|
|
103150
|
-
]
|
|
103151
|
-
},
|
|
103152
|
-
{
|
|
103153
|
-
"kind": "javascript-module",
|
|
103154
|
-
"path": "dist/root/helpers/lightness-key-to-css.js",
|
|
103155
|
-
"declarations": [
|
|
103156
|
-
{
|
|
103157
|
-
"kind": "function",
|
|
103158
|
-
"name": "lightnessKeyToCSS",
|
|
103159
|
-
"return": {
|
|
103160
|
-
"type": {
|
|
103161
|
-
"text": "string"
|
|
103162
|
-
}
|
|
103163
|
-
},
|
|
103164
|
-
"parameters": [
|
|
103165
|
-
{
|
|
103166
|
-
"name": "key",
|
|
103167
|
-
"type": {
|
|
103168
|
-
"text": "string"
|
|
103169
|
-
}
|
|
103170
|
-
}
|
|
103171
|
-
],
|
|
103172
|
-
"description": "Map a camelCase import(\"../../shared/theme.js\").LightnessKey\nto its CSS custom-property name.\n\n```\nraised1 → --esp-l-raised-1\nsurface → --esp-l-surface\n```"
|
|
103173
|
-
}
|
|
103174
|
-
],
|
|
103175
|
-
"exports": [
|
|
103176
|
-
{
|
|
103177
|
-
"kind": "js",
|
|
103178
|
-
"name": "lightnessKeyToCSS",
|
|
103179
|
-
"declaration": {
|
|
103180
|
-
"name": "lightnessKeyToCSS",
|
|
103181
|
-
"module": "dist/root/helpers/lightness-key-to-css.js"
|
|
103182
|
-
}
|
|
103183
|
-
}
|
|
103184
|
-
]
|
|
103185
|
-
},
|
|
103186
|
-
{
|
|
103187
|
-
"kind": "javascript-module",
|
|
103188
|
-
"path": "dist/root/helpers/lightness-ramp-properties.js",
|
|
103189
|
-
"declarations": [
|
|
103190
|
-
{
|
|
103191
|
-
"kind": "function",
|
|
103192
|
-
"name": "lightnessRampProperties",
|
|
103193
|
-
"return": {
|
|
103194
|
-
"type": {
|
|
103195
|
-
"text": "Record<string, string>"
|
|
103196
|
-
}
|
|
103197
|
-
},
|
|
103198
|
-
"parameters": [
|
|
103199
|
-
{
|
|
103200
|
-
"name": "theme",
|
|
103201
|
-
"type": {
|
|
103202
|
-
"text": "EspalierTheme"
|
|
103203
|
-
}
|
|
103204
|
-
}
|
|
103205
|
-
],
|
|
103206
|
-
"description": "The `--esp-l-*` ramp custom properties for a theme, in the percentage\nformat consumers expect inside relative color syntax — for example\n`oklch(from var(--esp-color-danger) var(--esp-l-raised-2) c h)`.\n\nEmitted by `<esp-root>` for the page and re-emitted by context zones\nfrom their merged theme, so ramp-derived styling — the `.intent-*`\nsurface classes, component chrome — re-derives against the zone's\nactual ramp instead of the root's. Without the zone emission a dark\nzone's class-styled chrome mixes provenance: a surface placed by the\nroot's light ramp under ink drawn from the zone's dark-surface table."
|
|
103207
|
-
}
|
|
103208
|
-
],
|
|
103209
|
-
"exports": [
|
|
103210
|
-
{
|
|
103211
|
-
"kind": "js",
|
|
103212
|
-
"name": "lightnessRampProperties",
|
|
103213
|
-
"declaration": {
|
|
103214
|
-
"name": "lightnessRampProperties",
|
|
103215
|
-
"module": "dist/root/helpers/lightness-ramp-properties.js"
|
|
103216
|
-
}
|
|
103217
|
-
}
|
|
103218
|
-
]
|
|
103219
|
-
},
|
|
103220
|
-
{
|
|
103221
|
-
"kind": "javascript-module",
|
|
103222
|
-
"path": "dist/root/helpers/surface-polarity-property.js",
|
|
103223
|
-
"declarations": [
|
|
103224
|
-
{
|
|
103225
|
-
"kind": "function",
|
|
103226
|
-
"name": "surfacePolarityProperty",
|
|
103227
|
-
"return": {
|
|
103228
|
-
"type": {
|
|
103229
|
-
"text": "Record<string, string>"
|
|
103230
|
-
}
|
|
103231
|
-
},
|
|
103232
|
-
"parameters": [
|
|
103233
|
-
{
|
|
103234
|
-
"name": "semantic",
|
|
103235
|
-
"type": {
|
|
103236
|
-
"text": "Readonly<Record<string, string>>"
|
|
103237
|
-
}
|
|
103238
|
-
}
|
|
103239
|
-
],
|
|
103240
|
-
"description": "The private `--_esp-surface-polarity` number for a semantic table: `1`\nwhere the zone's text is darker than its background (a light zone), `0`\nwhere it is lighter.\n\nEmitted by `<esp-root>` and re-emitted by context zones beside their\nsemantic table. Component chrome that nudges a fill on hover or focus\nreads it to move away from the zone's ink. The root scheme cannot decide\nthis, because an inverted context flips polarity inside one scheme. It is\na bare number so relative colors can use it in channel arithmetic, which\nthe percentage `--esp-l-*` ramp cannot join."
|
|
103241
|
-
}
|
|
103242
|
-
],
|
|
103243
|
-
"exports": [
|
|
103244
|
-
{
|
|
103245
|
-
"kind": "js",
|
|
103246
|
-
"name": "surfacePolarityProperty",
|
|
103247
|
-
"declaration": {
|
|
103248
|
-
"name": "surfacePolarityProperty",
|
|
103249
|
-
"module": "dist/root/helpers/surface-polarity-property.js"
|
|
103250
|
-
}
|
|
103251
|
-
}
|
|
103252
|
-
]
|
|
103253
|
-
},
|
|
103254
102923
|
{
|
|
103255
102924
|
"kind": "javascript-module",
|
|
103256
102925
|
"path": "dist/date-picker/helpers/calendar-grid.js",
|
|
@@ -103896,6 +103565,341 @@
|
|
|
103896
103565
|
"declarations": [],
|
|
103897
103566
|
"exports": []
|
|
103898
103567
|
},
|
|
103568
|
+
{
|
|
103569
|
+
"kind": "javascript-module",
|
|
103570
|
+
"path": "dist/root/helpers/compute-semantic-properties.js",
|
|
103571
|
+
"declarations": [
|
|
103572
|
+
{
|
|
103573
|
+
"kind": "function",
|
|
103574
|
+
"name": "computeSemanticProperties",
|
|
103575
|
+
"return": {
|
|
103576
|
+
"type": {
|
|
103577
|
+
"text": "Record<string, string>"
|
|
103578
|
+
}
|
|
103579
|
+
},
|
|
103580
|
+
"parameters": [
|
|
103581
|
+
{
|
|
103582
|
+
"name": "theme",
|
|
103583
|
+
"type": {
|
|
103584
|
+
"text": "EspalierTheme"
|
|
103585
|
+
}
|
|
103586
|
+
},
|
|
103587
|
+
{
|
|
103588
|
+
"name": "variants",
|
|
103589
|
+
"type": {
|
|
103590
|
+
"text": "Record<ColorSource, OklchColor>"
|
|
103591
|
+
}
|
|
103592
|
+
},
|
|
103593
|
+
{
|
|
103594
|
+
"name": "options",
|
|
103595
|
+
"default": "{}",
|
|
103596
|
+
"type": {
|
|
103597
|
+
"text": "ComputeSemanticPropertiesOptions"
|
|
103598
|
+
}
|
|
103599
|
+
}
|
|
103600
|
+
],
|
|
103601
|
+
"description": "Derive the complete twenty-three-token semantic table for a resolved theme.\n\nRoot output, context scopes, and intent overlays all use\nthis function so their APCA pairings cannot drift apart."
|
|
103602
|
+
}
|
|
103603
|
+
],
|
|
103604
|
+
"exports": [
|
|
103605
|
+
{
|
|
103606
|
+
"kind": "js",
|
|
103607
|
+
"name": "computeSemanticProperties",
|
|
103608
|
+
"declaration": {
|
|
103609
|
+
"name": "computeSemanticProperties",
|
|
103610
|
+
"module": "dist/root/helpers/compute-semantic-properties.js"
|
|
103611
|
+
}
|
|
103612
|
+
}
|
|
103613
|
+
]
|
|
103614
|
+
},
|
|
103615
|
+
{
|
|
103616
|
+
"kind": "javascript-module",
|
|
103617
|
+
"path": "dist/root/helpers/compute-theme-properties.js",
|
|
103618
|
+
"declarations": [
|
|
103619
|
+
{
|
|
103620
|
+
"kind": "function",
|
|
103621
|
+
"name": "dataSeriesProperties",
|
|
103622
|
+
"return": {
|
|
103623
|
+
"type": {
|
|
103624
|
+
"text": "Record<string, string>"
|
|
103625
|
+
}
|
|
103626
|
+
},
|
|
103627
|
+
"parameters": [
|
|
103628
|
+
{
|
|
103629
|
+
"name": "theme",
|
|
103630
|
+
"type": {
|
|
103631
|
+
"text": "EspalierTheme"
|
|
103632
|
+
}
|
|
103633
|
+
},
|
|
103634
|
+
{
|
|
103635
|
+
"name": "seed",
|
|
103636
|
+
"type": {
|
|
103637
|
+
"text": "OklchColor"
|
|
103638
|
+
}
|
|
103639
|
+
},
|
|
103640
|
+
{
|
|
103641
|
+
"name": "resolve",
|
|
103642
|
+
"type": {
|
|
103643
|
+
"text": "(source: unknown, label: string) => string"
|
|
103644
|
+
}
|
|
103645
|
+
},
|
|
103646
|
+
{
|
|
103647
|
+
"description": "Optional sink for the theme fit report (ESP0163). When\nsupplied, each semantic derivation is appended as it is emitted —\nthe emitted value read back out of the property record, and the\npre-enforcement value taken from the derivation itself — so a report\ndescribes this run rather than re-deriving it. When omitted the\npipeline does no reporting work at all.",
|
|
103648
|
+
"name": "trace"
|
|
103649
|
+
}
|
|
103650
|
+
],
|
|
103651
|
+
"description": "Emit the categorical series identities from a theme's data palette.\n\nShared between the root emission and the zone-table path (the zone\ncompanions need the identities without re-emitting them), so the two\ncan never resolve a palette differently."
|
|
103652
|
+
},
|
|
103653
|
+
{
|
|
103654
|
+
"kind": "function",
|
|
103655
|
+
"name": "computeThemeProperties",
|
|
103656
|
+
"return": {
|
|
103657
|
+
"type": {
|
|
103658
|
+
"text": "Record<string, string>"
|
|
103659
|
+
}
|
|
103660
|
+
},
|
|
103661
|
+
"parameters": [
|
|
103662
|
+
{
|
|
103663
|
+
"name": "theme",
|
|
103664
|
+
"type": {
|
|
103665
|
+
"text": "EspalierTheme"
|
|
103666
|
+
}
|
|
103667
|
+
},
|
|
103668
|
+
{
|
|
103669
|
+
"name": "scheme",
|
|
103670
|
+
"type": {
|
|
103671
|
+
"text": "\"light\" | \"dark\""
|
|
103672
|
+
}
|
|
103673
|
+
},
|
|
103674
|
+
{
|
|
103675
|
+
"name": "trace",
|
|
103676
|
+
"optional": true,
|
|
103677
|
+
"type": {
|
|
103678
|
+
"text": "ThemeFitTraceEntry[]"
|
|
103679
|
+
}
|
|
103680
|
+
}
|
|
103681
|
+
]
|
|
103682
|
+
}
|
|
103683
|
+
],
|
|
103684
|
+
"exports": [
|
|
103685
|
+
{
|
|
103686
|
+
"kind": "js",
|
|
103687
|
+
"name": "dataSeriesProperties",
|
|
103688
|
+
"declaration": {
|
|
103689
|
+
"name": "dataSeriesProperties",
|
|
103690
|
+
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103691
|
+
}
|
|
103692
|
+
},
|
|
103693
|
+
{
|
|
103694
|
+
"kind": "js",
|
|
103695
|
+
"name": "computeThemeProperties",
|
|
103696
|
+
"declaration": {
|
|
103697
|
+
"name": "computeThemeProperties",
|
|
103698
|
+
"module": "dist/root/helpers/compute-theme-properties.js"
|
|
103699
|
+
}
|
|
103700
|
+
}
|
|
103701
|
+
]
|
|
103702
|
+
},
|
|
103703
|
+
{
|
|
103704
|
+
"kind": "javascript-module",
|
|
103705
|
+
"path": "dist/root/helpers/compute-variants.js",
|
|
103706
|
+
"declarations": [],
|
|
103707
|
+
"exports": [
|
|
103708
|
+
{
|
|
103709
|
+
"kind": "js",
|
|
103710
|
+
"name": "computeVariants",
|
|
103711
|
+
"declaration": {
|
|
103712
|
+
"name": "computeVariants",
|
|
103713
|
+
"module": "../../shared/variant-engine.js"
|
|
103714
|
+
}
|
|
103715
|
+
},
|
|
103716
|
+
{
|
|
103717
|
+
"kind": "js",
|
|
103718
|
+
"name": "resolveMappingSource",
|
|
103719
|
+
"declaration": {
|
|
103720
|
+
"name": "resolveMappingSource",
|
|
103721
|
+
"module": "../../shared/variant-engine.js"
|
|
103722
|
+
}
|
|
103723
|
+
}
|
|
103724
|
+
]
|
|
103725
|
+
},
|
|
103726
|
+
{
|
|
103727
|
+
"kind": "javascript-module",
|
|
103728
|
+
"path": "dist/root/helpers/data-companion-properties.js",
|
|
103729
|
+
"declarations": [
|
|
103730
|
+
{
|
|
103731
|
+
"kind": "variable",
|
|
103732
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103733
|
+
"type": {
|
|
103734
|
+
"text": "number"
|
|
103735
|
+
},
|
|
103736
|
+
"default": "0.75",
|
|
103737
|
+
"description": "The series' share of the wash mix — the documented fill recipe."
|
|
103738
|
+
},
|
|
103739
|
+
{
|
|
103740
|
+
"kind": "variable",
|
|
103741
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103742
|
+
"type": {
|
|
103743
|
+
"text": "number"
|
|
103744
|
+
},
|
|
103745
|
+
"default": "0.12",
|
|
103746
|
+
"description": "The series' share of the subtle tint mix behind ordinary copy."
|
|
103747
|
+
},
|
|
103748
|
+
{
|
|
103749
|
+
"kind": "function",
|
|
103750
|
+
"name": "dataCompanionProperties",
|
|
103751
|
+
"return": {
|
|
103752
|
+
"type": {
|
|
103753
|
+
"text": "Record<string, string>"
|
|
103754
|
+
}
|
|
103755
|
+
},
|
|
103756
|
+
"parameters": [
|
|
103757
|
+
{
|
|
103758
|
+
"name": "properties",
|
|
103759
|
+
"type": {
|
|
103760
|
+
"text": "Record<string, string>"
|
|
103761
|
+
}
|
|
103762
|
+
},
|
|
103763
|
+
{
|
|
103764
|
+
"name": "inheritedSeries",
|
|
103765
|
+
"optional": true,
|
|
103766
|
+
"type": {
|
|
103767
|
+
"text": "Record<string, string>"
|
|
103768
|
+
}
|
|
103769
|
+
}
|
|
103770
|
+
],
|
|
103771
|
+
"description": "Compute the wash, tint, and ink companions for every series token\npresent in an emitted property table, against that table's own background.\n\nReads the *emitted* strings — the same read-back principle as the fit\nreport — so a companion can never disagree with the identity token or\nthe background it composes with. Zone tables pass their own table and\nget zone-correct companions; tables without series tokens (a zone\ntable, which inherits the root's identities) take them from\n`inheritedSeries`, the root-emitted table."
|
|
103772
|
+
}
|
|
103773
|
+
],
|
|
103774
|
+
"exports": [
|
|
103775
|
+
{
|
|
103776
|
+
"kind": "js",
|
|
103777
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103778
|
+
"declaration": {
|
|
103779
|
+
"name": "DATA_WASH_SERIES_SHARE",
|
|
103780
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103781
|
+
}
|
|
103782
|
+
},
|
|
103783
|
+
{
|
|
103784
|
+
"kind": "js",
|
|
103785
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103786
|
+
"declaration": {
|
|
103787
|
+
"name": "DATA_TINT_SERIES_SHARE",
|
|
103788
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103789
|
+
}
|
|
103790
|
+
},
|
|
103791
|
+
{
|
|
103792
|
+
"kind": "js",
|
|
103793
|
+
"name": "dataCompanionProperties",
|
|
103794
|
+
"declaration": {
|
|
103795
|
+
"name": "dataCompanionProperties",
|
|
103796
|
+
"module": "dist/root/helpers/data-companion-properties.js"
|
|
103797
|
+
}
|
|
103798
|
+
}
|
|
103799
|
+
]
|
|
103800
|
+
},
|
|
103801
|
+
{
|
|
103802
|
+
"kind": "javascript-module",
|
|
103803
|
+
"path": "dist/root/helpers/lightness-key-to-css.js",
|
|
103804
|
+
"declarations": [
|
|
103805
|
+
{
|
|
103806
|
+
"kind": "function",
|
|
103807
|
+
"name": "lightnessKeyToCSS",
|
|
103808
|
+
"return": {
|
|
103809
|
+
"type": {
|
|
103810
|
+
"text": "string"
|
|
103811
|
+
}
|
|
103812
|
+
},
|
|
103813
|
+
"parameters": [
|
|
103814
|
+
{
|
|
103815
|
+
"name": "key",
|
|
103816
|
+
"type": {
|
|
103817
|
+
"text": "string"
|
|
103818
|
+
}
|
|
103819
|
+
}
|
|
103820
|
+
],
|
|
103821
|
+
"description": "Map a camelCase import(\"../../shared/theme.js\").LightnessKey\nto its CSS custom-property name.\n\n```\nraised1 → --esp-l-raised-1\nsurface → --esp-l-surface\n```"
|
|
103822
|
+
}
|
|
103823
|
+
],
|
|
103824
|
+
"exports": [
|
|
103825
|
+
{
|
|
103826
|
+
"kind": "js",
|
|
103827
|
+
"name": "lightnessKeyToCSS",
|
|
103828
|
+
"declaration": {
|
|
103829
|
+
"name": "lightnessKeyToCSS",
|
|
103830
|
+
"module": "dist/root/helpers/lightness-key-to-css.js"
|
|
103831
|
+
}
|
|
103832
|
+
}
|
|
103833
|
+
]
|
|
103834
|
+
},
|
|
103835
|
+
{
|
|
103836
|
+
"kind": "javascript-module",
|
|
103837
|
+
"path": "dist/root/helpers/lightness-ramp-properties.js",
|
|
103838
|
+
"declarations": [
|
|
103839
|
+
{
|
|
103840
|
+
"kind": "function",
|
|
103841
|
+
"name": "lightnessRampProperties",
|
|
103842
|
+
"return": {
|
|
103843
|
+
"type": {
|
|
103844
|
+
"text": "Record<string, string>"
|
|
103845
|
+
}
|
|
103846
|
+
},
|
|
103847
|
+
"parameters": [
|
|
103848
|
+
{
|
|
103849
|
+
"name": "theme",
|
|
103850
|
+
"type": {
|
|
103851
|
+
"text": "EspalierTheme"
|
|
103852
|
+
}
|
|
103853
|
+
}
|
|
103854
|
+
],
|
|
103855
|
+
"description": "The `--esp-l-*` ramp custom properties for a theme, in the percentage\nformat consumers expect inside relative color syntax — for example\n`oklch(from var(--esp-color-danger) var(--esp-l-raised-2) c h)`.\n\nEmitted by `<esp-root>` for the page and re-emitted by context zones\nfrom their merged theme, so ramp-derived styling — the `.intent-*`\nsurface classes, component chrome — re-derives against the zone's\nactual ramp instead of the root's. Without the zone emission a dark\nzone's class-styled chrome mixes provenance: a surface placed by the\nroot's light ramp under ink drawn from the zone's dark-surface table."
|
|
103856
|
+
}
|
|
103857
|
+
],
|
|
103858
|
+
"exports": [
|
|
103859
|
+
{
|
|
103860
|
+
"kind": "js",
|
|
103861
|
+
"name": "lightnessRampProperties",
|
|
103862
|
+
"declaration": {
|
|
103863
|
+
"name": "lightnessRampProperties",
|
|
103864
|
+
"module": "dist/root/helpers/lightness-ramp-properties.js"
|
|
103865
|
+
}
|
|
103866
|
+
}
|
|
103867
|
+
]
|
|
103868
|
+
},
|
|
103869
|
+
{
|
|
103870
|
+
"kind": "javascript-module",
|
|
103871
|
+
"path": "dist/root/helpers/surface-polarity-property.js",
|
|
103872
|
+
"declarations": [
|
|
103873
|
+
{
|
|
103874
|
+
"kind": "function",
|
|
103875
|
+
"name": "surfacePolarityProperty",
|
|
103876
|
+
"return": {
|
|
103877
|
+
"type": {
|
|
103878
|
+
"text": "Record<string, string>"
|
|
103879
|
+
}
|
|
103880
|
+
},
|
|
103881
|
+
"parameters": [
|
|
103882
|
+
{
|
|
103883
|
+
"name": "semantic",
|
|
103884
|
+
"type": {
|
|
103885
|
+
"text": "Readonly<Record<string, string>>"
|
|
103886
|
+
}
|
|
103887
|
+
}
|
|
103888
|
+
],
|
|
103889
|
+
"description": "The private `--_esp-surface-polarity` number for a semantic table: `1`\nwhere the zone's text is darker than its background (a light zone), `0`\nwhere it is lighter.\n\nEmitted by `<esp-root>` and re-emitted by context zones beside their\nsemantic table. Component chrome that nudges a fill on hover or focus\nreads it to move away from the zone's ink. The root scheme cannot decide\nthis, because an inverted context flips polarity inside one scheme. It is\na bare number so relative colors can use it in channel arithmetic, which\nthe percentage `--esp-l-*` ramp cannot join."
|
|
103890
|
+
}
|
|
103891
|
+
],
|
|
103892
|
+
"exports": [
|
|
103893
|
+
{
|
|
103894
|
+
"kind": "js",
|
|
103895
|
+
"name": "surfacePolarityProperty",
|
|
103896
|
+
"declaration": {
|
|
103897
|
+
"name": "surfacePolarityProperty",
|
|
103898
|
+
"module": "dist/root/helpers/surface-polarity-property.js"
|
|
103899
|
+
}
|
|
103900
|
+
}
|
|
103901
|
+
]
|
|
103902
|
+
},
|
|
103899
103903
|
{
|
|
103900
103904
|
"kind": "javascript-module",
|
|
103901
103905
|
"path": "dist/shared/svgs/calendar-icon.js",
|