@solid-design-system/components 4.9.0 → 4.11.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/cdn/chunks/{chunk.2UXSSPPW.js → chunk.KVDKWL34.js} +1 -1
- package/cdn/chunks/chunk.RZINWES7.js +3 -0
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/custom-elements.json +244 -244
- package/cdn/solid-components.bundle.js +2 -2
- package/cdn/solid-components.iife.js +2 -2
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +95 -95
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2XZZWTI2.js +1 -1
- package/cdn-versioned/chunks/chunk.4D5G5PFQ.js +1 -1
- package/cdn-versioned/chunks/chunk.4GU3VMG2.js +1 -1
- package/cdn-versioned/chunks/chunk.53YBES5S.js +1 -1
- package/cdn-versioned/chunks/chunk.5HYU75RE.js +1 -1
- package/cdn-versioned/chunks/chunk.67UPRVLG.js +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.A3AHQI37.js +1 -1
- package/cdn-versioned/chunks/chunk.ADDDVS6W.js +1 -1
- package/cdn-versioned/chunks/chunk.AHXJHNQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.B62VWQ7C.js +1 -1
- package/cdn-versioned/chunks/chunk.BRAJGYMM.js +1 -1
- package/cdn-versioned/chunks/chunk.C74Q5TJX.js +3 -3
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CIKOD7QT.js +1 -1
- package/cdn-versioned/chunks/chunk.DQ3ZESZK.js +2 -2
- package/cdn-versioned/chunks/chunk.E4JOV74T.js +1 -1
- package/cdn-versioned/chunks/chunk.E4YB3LZK.js +1 -1
- package/cdn-versioned/chunks/chunk.ETB7FHWC.js +1 -1
- package/cdn-versioned/chunks/chunk.F3EVJTED.js +1 -1
- package/cdn-versioned/chunks/chunk.FZHMZAIV.js +1 -1
- package/cdn-versioned/chunks/chunk.GUCU2YK5.js +1 -1
- package/cdn-versioned/chunks/chunk.HB2MDLS4.js +1 -1
- package/cdn-versioned/chunks/chunk.HBBILILZ.js +1 -1
- package/cdn-versioned/chunks/chunk.HT7C2KQ3.js +1 -1
- package/cdn-versioned/chunks/chunk.HTEPIDNH.js +2 -2
- package/cdn-versioned/chunks/chunk.HVKAMCXX.js +1 -1
- package/cdn-versioned/chunks/chunk.JIODFCR2.js +1 -1
- package/cdn-versioned/chunks/chunk.JXFEK45U.js +1 -1
- package/cdn-versioned/chunks/{chunk.2UXSSPPW.js → chunk.KVDKWL34.js} +1 -1
- package/cdn-versioned/chunks/chunk.NPUXUQCC.js +1 -1
- package/cdn-versioned/chunks/chunk.PTSISQCW.js +1 -1
- package/cdn-versioned/chunks/chunk.QLGX6E5R.js +1 -1
- package/cdn-versioned/chunks/chunk.QM2SZYDM.js +1 -1
- package/cdn-versioned/chunks/chunk.QVTWOB7V.js +4 -4
- package/cdn-versioned/chunks/chunk.QX3REGZG.js +1 -1
- package/cdn-versioned/chunks/chunk.RATITDF2.js +1 -1
- package/cdn-versioned/chunks/chunk.RKVW7KG4.js +1 -1
- package/cdn-versioned/chunks/chunk.RZINWES7.js +3 -0
- package/cdn-versioned/chunks/chunk.SJYLPRLG.js +1 -1
- package/cdn-versioned/chunks/chunk.SKIEUJZN.js +1 -1
- package/cdn-versioned/chunks/chunk.T4JP7QUW.js +1 -1
- package/cdn-versioned/chunks/chunk.TMVIWO7D.js +1 -1
- package/cdn-versioned/chunks/chunk.TSSJABGO.js +1 -1
- package/cdn-versioned/chunks/chunk.UKXOMULO.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WKQAOKOH.js +1 -1
- package/cdn-versioned/chunks/chunk.XXPYJZI4.js +1 -1
- package/cdn-versioned/chunks/chunk.Y3WFK6NY.js +1 -1
- package/cdn-versioned/chunks/chunk.YMXJOB2H.js +1 -1
- package/cdn-versioned/chunks/chunk.YSFDXYDA.js +1 -1
- package/cdn-versioned/chunks/chunk.ZB5RQUA2.js +1 -1
- package/cdn-versioned/chunks/chunk.ZXGG5GRH.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +450 -450
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +120 -120
- package/cdn-versioned/web-types.json +227 -227
- package/dist/chunks/{chunk.QAP7MKCU.js → chunk.IFJ7LPJV.js} +7 -7
- package/dist/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +3 -3
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/custom-elements.json +244 -244
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +95 -95
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.27LAMXW5.js +5 -5
- package/dist-versioned/chunks/chunk.4LV4VHB5.js +9 -9
- package/dist-versioned/chunks/chunk.4TLTIOIY.js +2 -2
- package/dist-versioned/chunks/chunk.4UEQEUQ5.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6V7KPUGO.js +2 -2
- package/dist-versioned/chunks/chunk.7VCFYOV5.js +1 -1
- package/dist-versioned/chunks/chunk.B7BIS5Y4.js +1 -1
- package/dist-versioned/chunks/chunk.BABTMD4T.js +4 -4
- package/dist-versioned/chunks/chunk.BJSTXBIQ.js +2 -2
- package/dist-versioned/chunks/chunk.BWIRKW7E.js +26 -26
- package/dist-versioned/chunks/chunk.C2LS4326.js +2 -2
- package/dist-versioned/chunks/chunk.C4WMHAOW.js +1 -1
- package/dist-versioned/chunks/chunk.CMK6UTW6.js +2 -2
- package/dist-versioned/chunks/chunk.CWJB3CZO.js +1 -1
- package/dist-versioned/chunks/chunk.DYRAOE5L.js +2 -2
- package/dist-versioned/chunks/chunk.E73VDVFB.js +5 -5
- package/dist-versioned/chunks/chunk.ECH5BTRG.js +6 -6
- package/dist-versioned/chunks/chunk.EQRUJQQW.js +2 -2
- package/dist-versioned/chunks/chunk.ERRAXV4M.js +1 -1
- package/dist-versioned/chunks/chunk.EYTEM45R.js +3 -3
- package/dist-versioned/chunks/chunk.F4UAU4OM.js +5 -5
- package/dist-versioned/chunks/chunk.GAJFV5V3.js +2 -2
- package/dist-versioned/chunks/chunk.H36YEYQD.js +3 -3
- package/dist-versioned/chunks/chunk.HEYBJG64.js +4 -4
- package/dist-versioned/chunks/{chunk.QAP7MKCU.js → chunk.IFJ7LPJV.js} +9 -9
- package/dist-versioned/chunks/chunk.JNJHWACL.js +3 -3
- package/dist-versioned/chunks/chunk.JNTED6KG.js +5 -5
- package/dist-versioned/chunks/chunk.JQD4QY3H.js +5 -5
- package/dist-versioned/chunks/chunk.KNZPI3QD.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.KWP3CREC.js +8 -8
- package/dist-versioned/chunks/chunk.LOW4LWP6.js +2 -2
- package/dist-versioned/chunks/chunk.LQKJMBVH.js +2 -2
- package/dist-versioned/chunks/chunk.LW7RVQTS.js +2 -2
- package/dist-versioned/chunks/chunk.MSSKOOJJ.js +11 -11
- package/dist-versioned/chunks/chunk.NI45NXZV.js +3 -3
- package/dist-versioned/chunks/chunk.O7OXBLZU.js +2 -2
- package/dist-versioned/chunks/chunk.OWACJFST.js +1 -1
- package/dist-versioned/chunks/chunk.QCQLFJGJ.js +13 -13
- package/dist-versioned/chunks/chunk.QEQDPEN2.js +1 -1
- package/dist-versioned/chunks/chunk.QTZYBV5A.js +24 -24
- package/dist-versioned/chunks/chunk.R3PPZNKA.js +2 -2
- package/dist-versioned/chunks/chunk.RWUFX5GL.js +1 -1
- package/dist-versioned/chunks/chunk.T5QL4V5F.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.ULQU6P3E.js +6 -6
- package/dist-versioned/chunks/chunk.VOWE6LHF.js +14 -14
- package/dist-versioned/chunks/chunk.VUKS4CBF.js +1 -1
- package/dist-versioned/chunks/chunk.X7IRGFBS.js +1 -1
- package/dist-versioned/chunks/chunk.YGRJQZFR.js +1 -1
- package/dist-versioned/chunks/chunk.ZMWGNTP6.js +5 -5
- package/dist-versioned/chunks/{chunk.CYM2Q7GX.js → chunk.ZXC3A5GK.js} +4 -4
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +450 -450
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +120 -120
- package/dist-versioned/web-types.json +227 -227
- package/package.json +2 -2
- package/cdn/chunks/chunk.QJ2PJAKH.js +0 -3
- package/cdn-versioned/chunks/chunk.QJ2PJAKH.js +0 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.11.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-4-
|
|
11
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-
|
|
10
|
+
"name": "sd-4-11-0-accordion",
|
|
11
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "expand-icon",
|
|
43
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "collapse-icon",
|
|
47
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-4-
|
|
115
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-
|
|
114
|
+
"name": "sd-4-11-0-accordion-group",
|
|
115
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-11-0-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
116
116
|
"doc-url": "",
|
|
117
117
|
"attributes": [
|
|
118
118
|
{
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"slots": [
|
|
135
135
|
{
|
|
136
136
|
"name": "",
|
|
137
|
-
"description": "The default slot where `<sd-4-
|
|
137
|
+
"description": "The default slot where `<sd-4-11-0-accordion>` elements are placed."
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"events": [],
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "sd-4-
|
|
164
|
-
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-
|
|
163
|
+
"name": "sd-4-11-0-animation",
|
|
164
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-11-0-animation>` elements.",
|
|
165
165
|
"doc-url": "",
|
|
166
166
|
"attributes": [
|
|
167
167
|
{
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"slots": [
|
|
234
234
|
{
|
|
235
235
|
"name": "",
|
|
236
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-
|
|
236
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-11-0-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-4-
|
|
348
|
+
"name": "sd-4-11-0-audio",
|
|
349
349
|
"description": "Used to play audio files that are part of the page content.\n---\n\n\n### **Events:**\n - **sd-playback-start** - Emitted when the audio playback starts.\n- **sd-playback-end** - Emitted when the audio playback ends.\n- **sd-playback-pause** - Emitted when the audio playback pauses.\n- **sd-playback-mute** - Emitted when the audio is muted.\n- **sd-playback-unmute** - Emitted when the audio is unmuted.\n- **sd-playback-speed** - Emitted when the playback speed is changed.\n- **sd-transcript-click** - Emitted when the transcript button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **play-icon** - The play icon.\n- **pause-icon** - The pause icon.\n- **transcript** - The transcript.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **audio-controls** - The audio controls.\n- **playback-speed** - The playback speed.\n- **play-button** - The play button.\n- **volume** - The volume button.\n- **progress-slider** - The audio progress slider.\n- **timestamps** - The audio timestamps.",
|
|
350
350
|
"doc-url": "",
|
|
351
351
|
"attributes": [
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
|
-
"name": "sd-4-
|
|
504
|
+
"name": "sd-4-11-0-badge",
|
|
505
505
|
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
506
506
|
"doc-url": "",
|
|
507
507
|
"attributes": [
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
"name": "sd-4-
|
|
571
|
+
"name": "sd-4-11-0-brandshape",
|
|
572
572
|
"description": "The Brandshape highlights a piece of content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n- **image** - The image slot for the 'image' variant.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.\n- **stylized-container** - Container for border and image variant.",
|
|
573
573
|
"doc-url": "",
|
|
574
574
|
"attributes": [
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
"name": "sd-4-
|
|
637
|
+
"name": "sd-4-11-0-button",
|
|
638
638
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
639
639
|
"doc-url": "",
|
|
640
640
|
"attributes": [
|
|
@@ -902,8 +902,8 @@
|
|
|
902
902
|
}
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
|
-
"name": "sd-4-
|
|
906
|
-
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-4-
|
|
905
|
+
"name": "sd-4-11-0-button-group",
|
|
906
|
+
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-4-11-0-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
907
907
|
"doc-url": "",
|
|
908
908
|
"attributes": [
|
|
909
909
|
{
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
"slots": [
|
|
926
926
|
{
|
|
927
927
|
"name": "",
|
|
928
|
-
"description": "One or more `<sd-4-
|
|
928
|
+
"description": "One or more `<sd-4-11-0-button>` elements to display in the button group."
|
|
929
929
|
}
|
|
930
930
|
],
|
|
931
931
|
"events": [],
|
|
@@ -952,8 +952,8 @@
|
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
|
-
"name": "sd-4-
|
|
956
|
-
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-
|
|
955
|
+
"name": "sd-4-11-0-carousel",
|
|
956
|
+
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-11-0-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
957
957
|
"doc-url": "",
|
|
958
958
|
"attributes": [
|
|
959
959
|
{
|
|
@@ -1000,23 +1000,23 @@
|
|
|
1000
1000
|
"slots": [
|
|
1001
1001
|
{
|
|
1002
1002
|
"name": "",
|
|
1003
|
-
"description": "The carousel's main content, one or more `<sd-4-
|
|
1003
|
+
"description": "The carousel's main content, one or more `<sd-4-11-0-carousel-item>` elements."
|
|
1004
1004
|
},
|
|
1005
1005
|
{
|
|
1006
1006
|
"name": "next-icon",
|
|
1007
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-
|
|
1007
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
"name": "previous-icon",
|
|
1011
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-
|
|
1011
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
1012
1012
|
},
|
|
1013
1013
|
{
|
|
1014
1014
|
"name": "autoplay-start",
|
|
1015
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-
|
|
1015
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
1016
1016
|
},
|
|
1017
1017
|
{
|
|
1018
1018
|
"name": "autoplay-pause",
|
|
1019
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-
|
|
1019
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
1020
1020
|
}
|
|
1021
1021
|
],
|
|
1022
1022
|
"events": [
|
|
@@ -1080,7 +1080,7 @@
|
|
|
1080
1080
|
}
|
|
1081
1081
|
},
|
|
1082
1082
|
{
|
|
1083
|
-
"name": "sd-4-
|
|
1083
|
+
"name": "sd-4-11-0-carousel-item",
|
|
1084
1084
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
1085
1085
|
"doc-url": "",
|
|
1086
1086
|
"attributes": [
|
|
@@ -1116,8 +1116,8 @@
|
|
|
1116
1116
|
}
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
|
-
"name": "sd-4-
|
|
1120
|
-
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-4-
|
|
1119
|
+
"name": "sd-4-11-0-checkbox",
|
|
1120
|
+
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-4-11-0-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-4-11-0-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-11-0-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1121
1121
|
"doc-url": "",
|
|
1122
1122
|
"attributes": [
|
|
1123
1123
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1192,7 +1192,7 @@
|
|
|
1192
1192
|
"description": "Emitted when the checkbox gains focus."
|
|
1193
1193
|
},
|
|
1194
1194
|
{
|
|
1195
|
-
"name": "sd-4-
|
|
1195
|
+
"name": "sd-4-11-0-input",
|
|
1196
1196
|
"description": "Emitted when the checkbox receives input."
|
|
1197
1197
|
}
|
|
1198
1198
|
],
|
|
@@ -1278,109 +1278,15 @@
|
|
|
1278
1278
|
"description": "Emitted when the checkbox gains focus."
|
|
1279
1279
|
},
|
|
1280
1280
|
{
|
|
1281
|
-
"name": "sd-4-
|
|
1281
|
+
"name": "sd-4-11-0-input",
|
|
1282
1282
|
"description": "Emitted when the checkbox receives input."
|
|
1283
1283
|
}
|
|
1284
1284
|
]
|
|
1285
1285
|
}
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
|
-
"name": "sd-4-
|
|
1289
|
-
"description": "
|
|
1290
|
-
"doc-url": "",
|
|
1291
|
-
"attributes": [
|
|
1292
|
-
{
|
|
1293
|
-
"name": "size",
|
|
1294
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1295
|
-
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
1296
|
-
},
|
|
1297
|
-
{
|
|
1298
|
-
"name": "orientation",
|
|
1299
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1300
|
-
"value": {
|
|
1301
|
-
"type": "'horizontal' | 'vertical'",
|
|
1302
|
-
"default": "'vertical'"
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
{
|
|
1306
|
-
"name": "label",
|
|
1307
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1308
|
-
"value": { "type": "string", "default": "''" }
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
"name": "help-text",
|
|
1312
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1313
|
-
"value": { "type": "string", "default": "''" }
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"name": "dir",
|
|
1317
|
-
"description": "The element's directionality.",
|
|
1318
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "lang",
|
|
1322
|
-
"description": "The element's language.",
|
|
1323
|
-
"value": { "type": "string" }
|
|
1324
|
-
}
|
|
1325
|
-
],
|
|
1326
|
-
"slots": [
|
|
1327
|
-
{
|
|
1328
|
-
"name": "",
|
|
1329
|
-
"description": "The default slot where `<sd-4-9-0-checkbox>` elements are placed."
|
|
1330
|
-
},
|
|
1331
|
-
{
|
|
1332
|
-
"name": "label",
|
|
1333
|
-
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"name": "tooltip",
|
|
1337
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-9-0-tooltip` component."
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"name": "help-text",
|
|
1341
|
-
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
1342
|
-
}
|
|
1343
|
-
],
|
|
1344
|
-
"events": [],
|
|
1345
|
-
"js": {
|
|
1346
|
-
"properties": [
|
|
1347
|
-
{
|
|
1348
|
-
"name": "size",
|
|
1349
|
-
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
1350
|
-
"type": "'lg' | 'md' | 'sm'"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
"name": "orientation",
|
|
1354
|
-
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
1355
|
-
"type": "'horizontal' | 'vertical'"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"name": "label",
|
|
1359
|
-
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
1360
|
-
"type": "string"
|
|
1361
|
-
},
|
|
1362
|
-
{
|
|
1363
|
-
"name": "helpText",
|
|
1364
|
-
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
1365
|
-
"type": "string"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"name": "dir",
|
|
1369
|
-
"description": "The element's directionality.",
|
|
1370
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
1371
|
-
},
|
|
1372
|
-
{
|
|
1373
|
-
"name": "lang",
|
|
1374
|
-
"description": "The element's language.",
|
|
1375
|
-
"type": "string"
|
|
1376
|
-
}
|
|
1377
|
-
],
|
|
1378
|
-
"events": []
|
|
1379
|
-
}
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
"name": "sd-4-9-0-combobox",
|
|
1383
|
-
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-9-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-9-0-option>` elements. You can use `<sd-4-9-0-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1288
|
+
"name": "sd-4-11-0-combobox",
|
|
1289
|
+
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-11-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-11-0-option>` elements. You can use `<sd-4-11-0-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1384
1290
|
"doc-url": "",
|
|
1385
1291
|
"attributes": [
|
|
1386
1292
|
{
|
|
@@ -1478,7 +1384,7 @@
|
|
|
1478
1384
|
},
|
|
1479
1385
|
{
|
|
1480
1386
|
"name": "useTags",
|
|
1481
|
-
"description": "Uses interactive `sd-4-
|
|
1387
|
+
"description": "Uses interactive `sd-4-11-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1482
1388
|
"value": { "type": "boolean", "default": "true" }
|
|
1483
1389
|
},
|
|
1484
1390
|
{
|
|
@@ -1519,7 +1425,7 @@
|
|
|
1519
1425
|
"slots": [
|
|
1520
1426
|
{
|
|
1521
1427
|
"name": "",
|
|
1522
|
-
"description": "The listbox options. Must be `<sd-4-
|
|
1428
|
+
"description": "The listbox options. Must be `<sd-4-11-0-option>` elements. You can use `<sd-4-11-0-optgroup>`'s to group items visually."
|
|
1523
1429
|
},
|
|
1524
1430
|
{
|
|
1525
1431
|
"name": "label",
|
|
@@ -1556,7 +1462,7 @@
|
|
|
1556
1462
|
"description": "Emitted when the control's value is cleared."
|
|
1557
1463
|
},
|
|
1558
1464
|
{
|
|
1559
|
-
"name": "sd-4-
|
|
1465
|
+
"name": "sd-4-11-0-input",
|
|
1560
1466
|
"description": "Emitted when the control receives input."
|
|
1561
1467
|
},
|
|
1562
1468
|
{
|
|
@@ -1704,7 +1610,7 @@
|
|
|
1704
1610
|
},
|
|
1705
1611
|
{
|
|
1706
1612
|
"name": "useTags",
|
|
1707
|
-
"description": "Uses interactive `sd-4-
|
|
1613
|
+
"description": "Uses interactive `sd-4-11-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1708
1614
|
"type": "boolean"
|
|
1709
1615
|
},
|
|
1710
1616
|
{
|
|
@@ -1751,7 +1657,7 @@
|
|
|
1751
1657
|
"description": "Emitted when the control's value is cleared."
|
|
1752
1658
|
},
|
|
1753
1659
|
{
|
|
1754
|
-
"name": "sd-4-
|
|
1660
|
+
"name": "sd-4-11-0-input",
|
|
1755
1661
|
"description": "Emitted when the control receives input."
|
|
1756
1662
|
},
|
|
1757
1663
|
{
|
|
@@ -1790,8 +1696,8 @@
|
|
|
1790
1696
|
}
|
|
1791
1697
|
},
|
|
1792
1698
|
{
|
|
1793
|
-
"name": "sd-4-
|
|
1794
|
-
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-4-
|
|
1699
|
+
"name": "sd-4-11-0-dialog",
|
|
1700
|
+
"description": "Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dialog opens.\n- **sd-after-show** - Emitted after the dialog opens and all animations are complete.\n- **sd-hide** - Emitted when the dialog closes.\n- **sd-after-hide** - Emitted after the dialog closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the dialog opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the dialog.\n- **hide()** - Hides the dialog\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-4-11-0-button>` and `<sd-4-11-0-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-4-11-0-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1795
1701
|
"doc-url": "",
|
|
1796
1702
|
"attributes": [
|
|
1797
1703
|
{
|
|
@@ -1832,7 +1738,7 @@
|
|
|
1832
1738
|
},
|
|
1833
1739
|
{
|
|
1834
1740
|
"name": "close-button",
|
|
1835
|
-
"description": "The dialog's close button. Works best with `<sd-4-
|
|
1741
|
+
"description": "The dialog's close button. Works best with `<sd-4-11-0-button>` and `<sd-4-11-0-icon>`."
|
|
1836
1742
|
}
|
|
1837
1743
|
],
|
|
1838
1744
|
"events": [
|
|
@@ -1921,7 +1827,7 @@
|
|
|
1921
1827
|
}
|
|
1922
1828
|
},
|
|
1923
1829
|
{
|
|
1924
|
-
"name": "sd-4-
|
|
1830
|
+
"name": "sd-4-11-0-divider",
|
|
1925
1831
|
"description": "Dividers are used to visually separate or group elements.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1926
1832
|
"doc-url": "",
|
|
1927
1833
|
"attributes": [
|
|
@@ -1977,8 +1883,8 @@
|
|
|
1977
1883
|
}
|
|
1978
1884
|
},
|
|
1979
1885
|
{
|
|
1980
|
-
"name": "sd-4-
|
|
1981
|
-
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-4-
|
|
1886
|
+
"name": "sd-4-11-0-drawer",
|
|
1887
|
+
"description": "Drawers slide in from a container to expose additional options and information.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-4-11-0-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1982
1888
|
"doc-url": "",
|
|
1983
1889
|
"attributes": [
|
|
1984
1890
|
{
|
|
@@ -2124,8 +2030,8 @@
|
|
|
2124
2030
|
}
|
|
2125
2031
|
},
|
|
2126
2032
|
{
|
|
2127
|
-
"name": "sd-4-
|
|
2128
|
-
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-4-
|
|
2033
|
+
"name": "sd-4-11-0-dropdown",
|
|
2034
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-4-11-0-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-4-11-0-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2129
2035
|
"doc-url": "",
|
|
2130
2036
|
"attributes": [
|
|
2131
2037
|
{
|
|
@@ -2201,7 +2107,7 @@
|
|
|
2201
2107
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2202
2108
|
{
|
|
2203
2109
|
"name": "trigger",
|
|
2204
|
-
"description": "The dropdown's trigger, usually a `<sd-4-
|
|
2110
|
+
"description": "The dropdown's trigger, usually a `<sd-4-11-0-button>` element."
|
|
2205
2111
|
}
|
|
2206
2112
|
],
|
|
2207
2113
|
"events": [
|
|
@@ -2308,7 +2214,7 @@
|
|
|
2308
2214
|
}
|
|
2309
2215
|
},
|
|
2310
2216
|
{
|
|
2311
|
-
"name": "sd-4-
|
|
2217
|
+
"name": "sd-4-11-0-expandable",
|
|
2312
2218
|
"description": "Expandable shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the expandable opens.\n- **sd-after-show** - Emitted after the expandable opens and all animations are complete.\n- **sd-hide** - Emitted when the expandable closes.\n- **sd-after-hide** - Emitted after the expandable closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Opens the expandable\n- **hide()** - Closes the expandable\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Content of the expandable\n- **toggle-open** - Content of the toggle button when the expandable is open\n- **toggle-closed** - Content of the toggle button when the expandable is closed\n\n### **CSS Properties:**\n - **--gradient-color-start** - Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0)) _(default: undefined)_\n- **--gradient-color-end** - End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1)) _(default: undefined)_\n- **--gradient-height** - Height of the gradient (default: 24px) _(default: undefined)_\n- **--component-expandable-max-block-size** - Different value for initial visible block (default: 90px) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The content of the expandable.\n- **toggle** - The toggle button of the expandable.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
|
2313
2219
|
"doc-url": "",
|
|
2314
2220
|
"attributes": [
|
|
@@ -2407,7 +2313,7 @@
|
|
|
2407
2313
|
}
|
|
2408
2314
|
},
|
|
2409
2315
|
{
|
|
2410
|
-
"name": "sd-4-
|
|
2316
|
+
"name": "sd-4-11-0-flipcard",
|
|
2411
2317
|
"description": "Flipcard allows for the addition of content/information on both \"sides\" of the card, through means of a flip animation. Used to add dynamism and interactivity to a page.\n---\n\n\n### **Events:**\n - **sd-flip-front** - Emmited when the front face of the flipcard is clicked.\n- **sd-flip-back** - Emmited when the back face of the flipcard is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **front** - The front face of the flipcard.\n- **back** - The back face of the flipcard.\n- **media-front** - An optional media slot which can be as a background. Dependent from gradient variant.\n- **media-back** - An optional media slot which can be as a background. Dependent from gradient variant.\n\n### **CSS Properties:**\n - **--name** - Description of the flipcard. _(default: undefined)_\n- **--height** - Use this property to set the height of the flipcard. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **front** - The container that wraps the front-side of the flipcard.\n- **back** - The container that wraps the back-side of the flipcard.\n- **front-button** - The button that flips the flipcard to the back.\n- **back-button** - The button that flips the flipcard to the front.\n- **front-interactive-container** - The container that wraps the front side and the flip button.\n- **back-interactive-container** - The container that wraps the back side and the flip button.\n- **front-slot-container** - The container that wraps the front slot.\n- **back-slot-container** - The container that wraps the back slot.\n- **media-front** - The container that wraps the media-front slot.\n- **media-back** - The container that wraps the media-back slot.\n- **front-secondary-gradient** - The container that wraps the secondary gradient of the front side.\n- **back-secondary-gradient** - The container that wraps the secondary gradient of the back side.",
|
|
2412
2318
|
"doc-url": "",
|
|
2413
2319
|
"attributes": [
|
|
@@ -2523,7 +2429,7 @@
|
|
|
2523
2429
|
}
|
|
2524
2430
|
},
|
|
2525
2431
|
{
|
|
2526
|
-
"name": "sd-4-
|
|
2432
|
+
"name": "sd-4-11-0-header",
|
|
2527
2433
|
"description": "Header\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The header's default content.\n\n### **CSS Properties:**\n - **--sd-header-inner-width** - width of the header content _(default: undefined)_\n- **--sd-header-inner-max-width** - max-width of the header content _(default: undefined)_\n- **--sd-header-padding** - padding-left and padding-right of the header content _(default: undefined)_\n\n### **CSS Parts:**\n - **main** - The container that wraps the header's content.",
|
|
2528
2434
|
"doc-url": "",
|
|
2529
2435
|
"attributes": [
|
|
@@ -2569,7 +2475,7 @@
|
|
|
2569
2475
|
}
|
|
2570
2476
|
},
|
|
2571
2477
|
{
|
|
2572
|
-
"name": "sd-4-
|
|
2478
|
+
"name": "sd-4-11-0-icon",
|
|
2573
2479
|
"description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
2574
2480
|
"doc-url": "",
|
|
2575
2481
|
"attributes": [
|
|
@@ -2673,7 +2579,7 @@
|
|
|
2673
2579
|
}
|
|
2674
2580
|
},
|
|
2675
2581
|
{
|
|
2676
|
-
"name": "sd-4-
|
|
2582
|
+
"name": "sd-4-11-0-include",
|
|
2677
2583
|
"description": "Includes give you the power to embed external HTML files into the page.\n---\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
2678
2584
|
"doc-url": "",
|
|
2679
2585
|
"attributes": [
|
|
@@ -2759,8 +2665,8 @@
|
|
|
2759
2665
|
}
|
|
2760
2666
|
},
|
|
2761
2667
|
{
|
|
2762
|
-
"name": "sd-4-
|
|
2763
|
-
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-
|
|
2668
|
+
"name": "sd-4-11-0-input",
|
|
2669
|
+
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-11-0-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
|
|
2764
2670
|
"doc-url": "",
|
|
2765
2671
|
"attributes": [
|
|
2766
2672
|
{
|
|
@@ -2969,7 +2875,7 @@
|
|
|
2969
2875
|
},
|
|
2970
2876
|
{
|
|
2971
2877
|
"name": "tooltip",
|
|
2972
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
2878
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
2973
2879
|
}
|
|
2974
2880
|
],
|
|
2975
2881
|
"events": [
|
|
@@ -2990,7 +2896,7 @@
|
|
|
2990
2896
|
"description": "Emitted when the control gains focus."
|
|
2991
2897
|
},
|
|
2992
2898
|
{
|
|
2993
|
-
"name": "sd-4-
|
|
2899
|
+
"name": "sd-4-11-0-input",
|
|
2994
2900
|
"description": "Emitted when the control receives input."
|
|
2995
2901
|
},
|
|
2996
2902
|
{
|
|
@@ -3202,7 +3108,7 @@
|
|
|
3202
3108
|
"description": "Emitted when the control gains focus."
|
|
3203
3109
|
},
|
|
3204
3110
|
{
|
|
3205
|
-
"name": "sd-4-
|
|
3111
|
+
"name": "sd-4-11-0-input",
|
|
3206
3112
|
"description": "Emitted when the control receives input."
|
|
3207
3113
|
},
|
|
3208
3114
|
{
|
|
@@ -3213,7 +3119,7 @@
|
|
|
3213
3119
|
}
|
|
3214
3120
|
},
|
|
3215
3121
|
{
|
|
3216
|
-
"name": "sd-4-
|
|
3122
|
+
"name": "sd-4-11-0-link",
|
|
3217
3123
|
"description": "A link component.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
3218
3124
|
"doc-url": "",
|
|
3219
3125
|
"attributes": [
|
|
@@ -3348,7 +3254,7 @@
|
|
|
3348
3254
|
}
|
|
3349
3255
|
},
|
|
3350
3256
|
{
|
|
3351
|
-
"name": "sd-4-
|
|
3257
|
+
"name": "sd-4-11-0-map-marker",
|
|
3352
3258
|
"description": "A marker identifies a location on google map\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the map marker loses focus.\n- **sd-focus** - Emitted when the map marker is focused.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The marker's content.\\\n\n### **CSS Properties:**\n - **--map-marker-scaling** - Scale the marker size. _(default: undefined)_",
|
|
3353
3259
|
"doc-url": "",
|
|
3354
3260
|
"attributes": [
|
|
@@ -3476,7 +3382,7 @@
|
|
|
3476
3382
|
}
|
|
3477
3383
|
},
|
|
3478
3384
|
{
|
|
3479
|
-
"name": "sd-4-
|
|
3385
|
+
"name": "sd-4-11-0-navigation-item",
|
|
3480
3386
|
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content-wrapper** - The component's content wrapper.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
3481
3387
|
"doc-url": "",
|
|
3482
3388
|
"attributes": [
|
|
@@ -3663,13 +3569,13 @@
|
|
|
3663
3569
|
}
|
|
3664
3570
|
},
|
|
3665
3571
|
{
|
|
3666
|
-
"name": "sd-4-
|
|
3667
|
-
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The sd-4-
|
|
3572
|
+
"name": "sd-4-11-0-notification",
|
|
3573
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the notification opens.\n- **sd-after-show** - Emitted after the notification opens and all animations are complete.\n- **sd-hide** - Emitted when the notification closes.\n- **sd-after-hide** - Emitted after the notification closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the notification.\n- **hide()** - Hides the notification\n- **toast()** - Displays the notification as a toast notification. This will move the notification out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the notification, you can reuse it by\ncalling this method again. The returned promise will resolve after the notification is hidden.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The sd-4-11-0-notification's main content.\n- **icon** - An icon to show in the sd-4-11-0-notification. Works best with `<sd-4-11-0-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-4-11-0-icon-button>`.",
|
|
3668
3574
|
"doc-url": "",
|
|
3669
3575
|
"attributes": [
|
|
3670
3576
|
{
|
|
3671
3577
|
"name": "variant",
|
|
3672
|
-
"description": "The sd-4-
|
|
3578
|
+
"description": "The sd-4-11-0-notification's theme.",
|
|
3673
3579
|
"value": {
|
|
3674
3580
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3675
3581
|
"default": "'info'"
|
|
@@ -3677,7 +3583,7 @@
|
|
|
3677
3583
|
},
|
|
3678
3584
|
{
|
|
3679
3585
|
"name": "open",
|
|
3680
|
-
"description": "Indicates whether or not sd-4-
|
|
3586
|
+
"description": "Indicates whether or not sd-4-11-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3681
3587
|
"value": { "type": "boolean", "default": "false" }
|
|
3682
3588
|
},
|
|
3683
3589
|
{
|
|
@@ -3687,7 +3593,7 @@
|
|
|
3687
3593
|
},
|
|
3688
3594
|
{
|
|
3689
3595
|
"name": "duration",
|
|
3690
|
-
"description": "The length of time, in milliseconds, the sd-4-
|
|
3596
|
+
"description": "The length of time, in milliseconds, the sd-4-11-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
|
|
3691
3597
|
"value": { "type": "string", "default": "Infinity" }
|
|
3692
3598
|
},
|
|
3693
3599
|
{
|
|
@@ -3697,7 +3603,7 @@
|
|
|
3697
3603
|
},
|
|
3698
3604
|
{
|
|
3699
3605
|
"name": "toast-stack",
|
|
3700
|
-
"description": "The position of the toasted sd-4-
|
|
3606
|
+
"description": "The position of the toasted sd-4-11-0-notification.",
|
|
3701
3607
|
"value": {
|
|
3702
3608
|
"type": "'top-right' | 'bottom-center'",
|
|
3703
3609
|
"default": "'top-right'"
|
|
@@ -3717,11 +3623,11 @@
|
|
|
3717
3623
|
"slots": [
|
|
3718
3624
|
{
|
|
3719
3625
|
"name": "",
|
|
3720
|
-
"description": "The sd-4-
|
|
3626
|
+
"description": "The sd-4-11-0-notification's main content."
|
|
3721
3627
|
},
|
|
3722
3628
|
{
|
|
3723
3629
|
"name": "icon",
|
|
3724
|
-
"description": "An icon to show in the sd-4-
|
|
3630
|
+
"description": "An icon to show in the sd-4-11-0-notification. Works best with `<sd-4-11-0-icon>`."
|
|
3725
3631
|
}
|
|
3726
3632
|
],
|
|
3727
3633
|
"events": [
|
|
@@ -3747,12 +3653,12 @@
|
|
|
3747
3653
|
{ "name": "localize" },
|
|
3748
3654
|
{
|
|
3749
3655
|
"name": "variant",
|
|
3750
|
-
"description": "The sd-4-
|
|
3656
|
+
"description": "The sd-4-11-0-notification's theme.",
|
|
3751
3657
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3752
3658
|
},
|
|
3753
3659
|
{
|
|
3754
3660
|
"name": "open",
|
|
3755
|
-
"description": "Indicates whether or not sd-4-
|
|
3661
|
+
"description": "Indicates whether or not sd-4-11-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3756
3662
|
"type": "boolean"
|
|
3757
3663
|
},
|
|
3758
3664
|
{
|
|
@@ -3762,7 +3668,7 @@
|
|
|
3762
3668
|
},
|
|
3763
3669
|
{
|
|
3764
3670
|
"name": "duration",
|
|
3765
|
-
"description": "The length of time, in milliseconds, the sd-4-
|
|
3671
|
+
"description": "The length of time, in milliseconds, the sd-4-11-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own."
|
|
3766
3672
|
},
|
|
3767
3673
|
{
|
|
3768
3674
|
"name": "durationIndicator",
|
|
@@ -3771,7 +3677,7 @@
|
|
|
3771
3677
|
},
|
|
3772
3678
|
{
|
|
3773
3679
|
"name": "toastStack",
|
|
3774
|
-
"description": "The position of the toasted sd-4-
|
|
3680
|
+
"description": "The position of the toasted sd-4-11-0-notification.",
|
|
3775
3681
|
"type": "'top-right' | 'bottom-center'"
|
|
3776
3682
|
},
|
|
3777
3683
|
{
|
|
@@ -3806,8 +3712,8 @@
|
|
|
3806
3712
|
}
|
|
3807
3713
|
},
|
|
3808
3714
|
{
|
|
3809
|
-
"name": "sd-4-
|
|
3810
|
-
"description": "The <sd-4-
|
|
3715
|
+
"name": "sd-4-11-0-optgroup",
|
|
3716
|
+
"description": "The <sd-4-11-0-optgroup> element creates a grouping for <sd-4-11-0-option>s within a <sd-4-11-0-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-4-11-0-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-4-11-0-option> elements.",
|
|
3811
3717
|
"doc-url": "",
|
|
3812
3718
|
"attributes": [
|
|
3813
3719
|
{
|
|
@@ -3834,7 +3740,7 @@
|
|
|
3834
3740
|
"slots": [
|
|
3835
3741
|
{
|
|
3836
3742
|
"name": "",
|
|
3837
|
-
"description": "The given options. Must be `<sd-4-
|
|
3743
|
+
"description": "The given options. Must be `<sd-4-11-0-option>` elements."
|
|
3838
3744
|
},
|
|
3839
3745
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3840
3746
|
],
|
|
@@ -3866,18 +3772,18 @@
|
|
|
3866
3772
|
}
|
|
3867
3773
|
},
|
|
3868
3774
|
{
|
|
3869
|
-
"name": "sd-4-
|
|
3870
|
-
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-
|
|
3775
|
+
"name": "sd-4-11-0-option",
|
|
3776
|
+
"description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-11-0-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
|
|
3871
3777
|
"doc-url": "",
|
|
3872
3778
|
"attributes": [
|
|
3873
3779
|
{
|
|
3874
3780
|
"name": "size",
|
|
3875
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-
|
|
3781
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-11-0-select`.",
|
|
3876
3782
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
3877
3783
|
},
|
|
3878
3784
|
{
|
|
3879
3785
|
"name": "checkbox",
|
|
3880
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-
|
|
3786
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-11-0-select` when attribute `checklist` is set to `true`.",
|
|
3881
3787
|
"value": { "type": "boolean", "default": "false" }
|
|
3882
3788
|
},
|
|
3883
3789
|
{
|
|
@@ -3917,12 +3823,12 @@
|
|
|
3917
3823
|
"properties": [
|
|
3918
3824
|
{
|
|
3919
3825
|
"name": "size",
|
|
3920
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-
|
|
3826
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-11-0-select`.",
|
|
3921
3827
|
"type": "'lg' | 'md' | 'sm'"
|
|
3922
3828
|
},
|
|
3923
3829
|
{
|
|
3924
3830
|
"name": "checkbox",
|
|
3925
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-
|
|
3831
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-11-0-select` when attribute `checklist` is set to `true`.",
|
|
3926
3832
|
"type": "boolean"
|
|
3927
3833
|
},
|
|
3928
3834
|
{
|
|
@@ -3950,7 +3856,7 @@
|
|
|
3950
3856
|
}
|
|
3951
3857
|
},
|
|
3952
3858
|
{
|
|
3953
|
-
"name": "sd-4-
|
|
3859
|
+
"name": "sd-4-11-0-popup",
|
|
3954
3860
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n---\n\n\n### **Events:**\n - **sd-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n- **sd-current-placement** - Emitted when the popup's placement changes automatically based on screen limitations.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--sd-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
3955
3861
|
"doc-url": "",
|
|
3956
3862
|
"attributes": [
|
|
@@ -4230,8 +4136,8 @@
|
|
|
4230
4136
|
}
|
|
4231
4137
|
},
|
|
4232
4138
|
{
|
|
4233
|
-
"name": "sd-4-
|
|
4234
|
-
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-
|
|
4139
|
+
"name": "sd-4-11-0-quickfact",
|
|
4140
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-11-0-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-11-0-icon>`.\n\n### **CSS Parts:**\n - **icon** - The container that wraps the icon.\n- **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
4235
4141
|
"doc-url": "",
|
|
4236
4142
|
"attributes": [
|
|
4237
4143
|
{
|
|
@@ -4263,7 +4169,7 @@
|
|
|
4263
4169
|
"slots": [
|
|
4264
4170
|
{
|
|
4265
4171
|
"name": "icon",
|
|
4266
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-
|
|
4172
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-11-0-icon>`."
|
|
4267
4173
|
},
|
|
4268
4174
|
{ "name": "", "description": "The accordion main content." },
|
|
4269
4175
|
{
|
|
@@ -4272,11 +4178,11 @@
|
|
|
4272
4178
|
},
|
|
4273
4179
|
{
|
|
4274
4180
|
"name": "expand-icon",
|
|
4275
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-
|
|
4181
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
4276
4182
|
},
|
|
4277
4183
|
{
|
|
4278
4184
|
"name": "collapse-icon",
|
|
4279
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-
|
|
4185
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-11-0-icon>`."
|
|
4280
4186
|
}
|
|
4281
4187
|
],
|
|
4282
4188
|
"events": [
|
|
@@ -4348,7 +4254,7 @@
|
|
|
4348
4254
|
}
|
|
4349
4255
|
},
|
|
4350
4256
|
{
|
|
4351
|
-
"name": "sd-4-
|
|
4257
|
+
"name": "sd-4-11-0-radio",
|
|
4352
4258
|
"description": "A radio allows to select only one value from a set of options. Clicking on an unchecked radio will deselect the other one(s).\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-focus** - Emitted when the control gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control--unchecked** - The radio control when the radio is unchecked.\n- **control--checked** - The radio control when the radio is checked.\n- **checked** - The dot inside the radio component when the radio is checked.\n- **label** - The container that wraps the radio's label.",
|
|
4353
4259
|
"doc-url": "",
|
|
4354
4260
|
"attributes": [
|
|
@@ -4450,7 +4356,7 @@
|
|
|
4450
4356
|
}
|
|
4451
4357
|
},
|
|
4452
4358
|
{
|
|
4453
|
-
"name": "sd-4-
|
|
4359
|
+
"name": "sd-4-11-0-radio-button",
|
|
4454
4360
|
"description": "Radio buttons allow the user to select a single option from a group using a button-like control.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the radio button.\n- **blur()** - Removes focus from the radio button.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The radio button's label.\n- **icon** - A presentational icon.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **button** - The internal `<button>` element.\n- **button--checked** - The internal button element when the radio button is checked.\n- **icon** - The container that wraps the icon.\n- **label** - The container that wraps the radio button's label.",
|
|
4455
4361
|
"doc-url": "",
|
|
4456
4362
|
"attributes": [
|
|
@@ -4545,8 +4451,8 @@
|
|
|
4545
4451
|
}
|
|
4546
4452
|
},
|
|
4547
4453
|
{
|
|
4548
|
-
"name": "sd-4-
|
|
4549
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-4-
|
|
4454
|
+
"name": "sd-4-11-0-radio-group",
|
|
4455
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-4-11-0-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus()** - Move focus to the checked radio (or the first one if none are checked)\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-11-0-radio>` or `<sd-4-11-0-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-11-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
4550
4456
|
"doc-url": "",
|
|
4551
4457
|
"attributes": [
|
|
4552
4458
|
{
|
|
@@ -4611,7 +4517,7 @@
|
|
|
4611
4517
|
"slots": [
|
|
4612
4518
|
{
|
|
4613
4519
|
"name": "",
|
|
4614
|
-
"description": "The default slot where `<sd-4-
|
|
4520
|
+
"description": "The default slot where `<sd-4-11-0-radio>` or `<sd-4-11-0-radio-button>` elements are placed."
|
|
4615
4521
|
},
|
|
4616
4522
|
{
|
|
4617
4523
|
"name": "label",
|
|
@@ -4623,7 +4529,7 @@
|
|
|
4623
4529
|
},
|
|
4624
4530
|
{
|
|
4625
4531
|
"name": "tooltip",
|
|
4626
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-
|
|
4532
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
4627
4533
|
}
|
|
4628
4534
|
],
|
|
4629
4535
|
"events": [
|
|
@@ -4632,7 +4538,7 @@
|
|
|
4632
4538
|
"description": "Emitted when the radio group's selected value changes."
|
|
4633
4539
|
},
|
|
4634
4540
|
{
|
|
4635
|
-
"name": "sd-4-
|
|
4541
|
+
"name": "sd-4-11-0-input",
|
|
4636
4542
|
"description": "Emitted when the radio group receives user input."
|
|
4637
4543
|
},
|
|
4638
4544
|
{
|
|
@@ -4712,7 +4618,7 @@
|
|
|
4712
4618
|
"description": "Emitted when the radio group's selected value changes."
|
|
4713
4619
|
},
|
|
4714
4620
|
{
|
|
4715
|
-
"name": "sd-4-
|
|
4621
|
+
"name": "sd-4-11-0-input",
|
|
4716
4622
|
"description": "Emitted when the radio group receives user input."
|
|
4717
4623
|
},
|
|
4718
4624
|
{
|
|
@@ -4723,7 +4629,7 @@
|
|
|
4723
4629
|
}
|
|
4724
4630
|
},
|
|
4725
4631
|
{
|
|
4726
|
-
"name": "sd-4-
|
|
4632
|
+
"name": "sd-4-11-0-scrollable",
|
|
4727
4633
|
"description": "Scrollable is used to indicate there is hidden content to be scrolled.\n---\n\n\n### **Events:**\n - **start** - Emitted when the start of the scrollable is reached.\n- **end** - Emitted when the end of the scrollable is reached.\n- **eventName**\n- **button-left** - Emitted when the left button is clicked.\n- **button-right** - Emitted when the right button is clicked.\n- **button-up** - Emitted when the top button is clicked.\n- **button-down** - Emitted when the bottom button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The scrollable's content.\n- **icon-start** - The scrollable's start icon.\n- **icon-end** - The scrollable's end icon.\n\n### **CSS Properties:**\n - **--gradient-color** - Defines a custom color for the gradient. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The scrollable's base wrapper.\n- **scroll-content** - The scrollable's content.\n- **button-start** - The scrollable's start scroll button.\n- **button-end** - The scrollable's end scroll button.\n- **button-left** - The scrollable's left scroll button.\n- **button-right** - The scrollable's right scroll button.\n- **button-top** - The scrollable's top scroll button.\n- **button-bottom** - The scrollable's bottom scroll button.\n- **shadow-left** - The scrollable's left shadow.\n- **shadow-right** - The scrollable's right shadow.\n- **shadow-top** - The scrollable's top shadow.\n- **shadow-bottom** - The scrollable's bottom shadow.",
|
|
4728
4634
|
"doc-url": "",
|
|
4729
4635
|
"attributes": [
|
|
@@ -4884,8 +4790,8 @@
|
|
|
4884
4790
|
}
|
|
4885
4791
|
},
|
|
4886
4792
|
{
|
|
4887
|
-
"name": "sd-4-
|
|
4888
|
-
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-
|
|
4793
|
+
"name": "sd-4-11-0-select",
|
|
4794
|
+
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-11-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-11-0-option>` elements. You can use `<sd-4-11-0-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
4889
4795
|
"doc-url": "",
|
|
4890
4796
|
"attributes": [
|
|
4891
4797
|
{
|
|
@@ -4945,7 +4851,7 @@
|
|
|
4945
4851
|
},
|
|
4946
4852
|
{
|
|
4947
4853
|
"name": "useTags",
|
|
4948
|
-
"description": "Uses interactive `sd-4-
|
|
4854
|
+
"description": "Uses interactive `sd-4-11-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
4949
4855
|
"value": { "type": "boolean", "default": "false" }
|
|
4950
4856
|
},
|
|
4951
4857
|
{
|
|
@@ -5004,7 +4910,7 @@
|
|
|
5004
4910
|
"slots": [
|
|
5005
4911
|
{
|
|
5006
4912
|
"name": "",
|
|
5007
|
-
"description": "The listbox options. Must be `<sd-4-
|
|
4913
|
+
"description": "The listbox options. Must be `<sd-4-11-0-option>` elements. You can use `<sd-4-11-0-divider>` to group items visually."
|
|
5008
4914
|
},
|
|
5009
4915
|
{
|
|
5010
4916
|
"name": "label",
|
|
@@ -5024,7 +4930,7 @@
|
|
|
5024
4930
|
},
|
|
5025
4931
|
{
|
|
5026
4932
|
"name": "tooltip",
|
|
5027
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
4933
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
5028
4934
|
}
|
|
5029
4935
|
],
|
|
5030
4936
|
"events": [
|
|
@@ -5037,7 +4943,7 @@
|
|
|
5037
4943
|
"description": "Emitted when the control's value is cleared."
|
|
5038
4944
|
},
|
|
5039
4945
|
{
|
|
5040
|
-
"name": "sd-4-
|
|
4946
|
+
"name": "sd-4-11-0-input",
|
|
5041
4947
|
"description": "Emitted when the control receives input."
|
|
5042
4948
|
},
|
|
5043
4949
|
{
|
|
@@ -5136,7 +5042,7 @@
|
|
|
5136
5042
|
},
|
|
5137
5043
|
{
|
|
5138
5044
|
"name": "useTags",
|
|
5139
|
-
"description": "Uses interactive `sd-4-
|
|
5045
|
+
"description": "Uses interactive `sd-4-11-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5140
5046
|
"type": "boolean"
|
|
5141
5047
|
},
|
|
5142
5048
|
{
|
|
@@ -5203,7 +5109,7 @@
|
|
|
5203
5109
|
"description": "Emitted when the control's value is cleared."
|
|
5204
5110
|
},
|
|
5205
5111
|
{
|
|
5206
|
-
"name": "sd-4-
|
|
5112
|
+
"name": "sd-4-11-0-input",
|
|
5207
5113
|
"description": "Emitted when the control receives input."
|
|
5208
5114
|
},
|
|
5209
5115
|
{
|
|
@@ -5238,7 +5144,7 @@
|
|
|
5238
5144
|
}
|
|
5239
5145
|
},
|
|
5240
5146
|
{
|
|
5241
|
-
"name": "sd-4-
|
|
5147
|
+
"name": "sd-4-11-0-spinner",
|
|
5242
5148
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.",
|
|
5243
5149
|
"doc-url": "",
|
|
5244
5150
|
"attributes": [
|
|
@@ -5285,7 +5191,7 @@
|
|
|
5285
5191
|
}
|
|
5286
5192
|
},
|
|
5287
5193
|
{
|
|
5288
|
-
"name": "sd-4-
|
|
5194
|
+
"name": "sd-4-11-0-step",
|
|
5289
5195
|
"description": "Steps are used inside [step groups](/components/step-group) to guide users through the steps of a process or task..\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The step's description.\n- **label** - The step's label.\n- **index** - The step's index.\n- **circle-content** - The content inside a step circle. This could be an icon or a number.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **circle-and-tail-container** - The container that wraps the step's circle and tail.\n- **circle** - The circle that marks the step's state.\n- **tail** - The step's tail.\n- **text-container** - The container that wraps the step's label and description.\n- **label** - The step's label.\n- **description** - The step's description.",
|
|
5290
5196
|
"doc-url": "",
|
|
5291
5197
|
"attributes": [
|
|
@@ -5448,8 +5354,8 @@
|
|
|
5448
5354
|
}
|
|
5449
5355
|
},
|
|
5450
5356
|
{
|
|
5451
|
-
"name": "sd-4-
|
|
5452
|
-
"description": "Used as navigation bar that guides users through the steps of a process or task.\n---\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-
|
|
5357
|
+
"name": "sd-4-11-0-step-group",
|
|
5358
|
+
"description": "Used as navigation bar that guides users through the steps of a process or task.\n---\n\n\n### **Methods:**\n - **setActiveStep(index: _number_)** - Sets the active step.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-11-0-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5453
5359
|
"doc-url": "",
|
|
5454
5360
|
"attributes": [
|
|
5455
5361
|
{
|
|
@@ -5494,7 +5400,7 @@
|
|
|
5494
5400
|
"slots": [
|
|
5495
5401
|
{
|
|
5496
5402
|
"name": "",
|
|
5497
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-
|
|
5403
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-11-0-step>` elements."
|
|
5498
5404
|
}
|
|
5499
5405
|
],
|
|
5500
5406
|
"events": [],
|
|
@@ -5540,8 +5446,8 @@
|
|
|
5540
5446
|
}
|
|
5541
5447
|
},
|
|
5542
5448
|
{
|
|
5543
|
-
"name": "sd-4-
|
|
5544
|
-
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-4-
|
|
5449
|
+
"name": "sd-4-11-0-switch",
|
|
5450
|
+
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-4-11-0-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
5545
5451
|
"doc-url": "",
|
|
5546
5452
|
"attributes": [
|
|
5547
5453
|
{
|
|
@@ -5605,7 +5511,7 @@
|
|
|
5605
5511
|
"description": "Emitted when the switch gains focus."
|
|
5606
5512
|
},
|
|
5607
5513
|
{
|
|
5608
|
-
"name": "sd-4-
|
|
5514
|
+
"name": "sd-4-11-0-input",
|
|
5609
5515
|
"description": "Emitted when the switch receives input."
|
|
5610
5516
|
}
|
|
5611
5517
|
],
|
|
@@ -5680,14 +5586,14 @@
|
|
|
5680
5586
|
"description": "Emitted when the switch gains focus."
|
|
5681
5587
|
},
|
|
5682
5588
|
{
|
|
5683
|
-
"name": "sd-4-
|
|
5589
|
+
"name": "sd-4-11-0-input",
|
|
5684
5590
|
"description": "Emitted when the switch receives input."
|
|
5685
5591
|
}
|
|
5686
5592
|
]
|
|
5687
5593
|
}
|
|
5688
5594
|
},
|
|
5689
5595
|
{
|
|
5690
|
-
"name": "sd-4-
|
|
5596
|
+
"name": "sd-4-11-0-tab",
|
|
5691
5597
|
"description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus to the tab.\n- **blur()** - Removes focus from the tab.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tab's label.\n- **left** - Optional element (eg. icon) positioned to the left of the label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **active-tab-indicator** - The active tab indicator.\n- **hover-bottom-border** - The bottom border that appears when the tab is hovered.",
|
|
5692
5598
|
"doc-url": "",
|
|
5693
5599
|
"attributes": [
|
|
@@ -5780,8 +5686,8 @@
|
|
|
5780
5686
|
}
|
|
5781
5687
|
},
|
|
5782
5688
|
{
|
|
5783
|
-
"name": "sd-4-
|
|
5784
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-
|
|
5689
|
+
"name": "sd-4-11-0-tab-group",
|
|
5690
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-11-0-tab-show** - Emitted when a tab is shown.\n- **sd-4-11-0-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-4-11-0-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-11-0-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
5785
5691
|
"doc-url": "",
|
|
5786
5692
|
"attributes": [
|
|
5787
5693
|
{
|
|
@@ -5803,21 +5709,21 @@
|
|
|
5803
5709
|
"slots": [
|
|
5804
5710
|
{
|
|
5805
5711
|
"name": "",
|
|
5806
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-
|
|
5712
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-11-0-tab-panel>` elements."
|
|
5807
5713
|
},
|
|
5808
5714
|
{
|
|
5809
5715
|
"name": "nav",
|
|
5810
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-
|
|
5716
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-11-0-tab>` elements."
|
|
5811
5717
|
}
|
|
5812
5718
|
],
|
|
5813
5719
|
"events": [
|
|
5814
5720
|
{
|
|
5815
|
-
"name": "sd-4-
|
|
5721
|
+
"name": "sd-4-11-0-tab-show",
|
|
5816
5722
|
"type": "{ name: String }",
|
|
5817
5723
|
"description": "Emitted when a tab is shown."
|
|
5818
5724
|
},
|
|
5819
5725
|
{
|
|
5820
|
-
"name": "sd-4-
|
|
5726
|
+
"name": "sd-4-11-0-tab-hide",
|
|
5821
5727
|
"type": "{ name: String }",
|
|
5822
5728
|
"description": "Emitted when a tab is hidden."
|
|
5823
5729
|
}
|
|
@@ -5843,12 +5749,12 @@
|
|
|
5843
5749
|
],
|
|
5844
5750
|
"events": [
|
|
5845
5751
|
{
|
|
5846
|
-
"name": "sd-4-
|
|
5752
|
+
"name": "sd-4-11-0-tab-show",
|
|
5847
5753
|
"type": "{ name: String }",
|
|
5848
5754
|
"description": "Emitted when a tab is shown."
|
|
5849
5755
|
},
|
|
5850
5756
|
{
|
|
5851
|
-
"name": "sd-4-
|
|
5757
|
+
"name": "sd-4-11-0-tab-hide",
|
|
5852
5758
|
"type": "{ name: String }",
|
|
5853
5759
|
"description": "Emitted when a tab is hidden."
|
|
5854
5760
|
}
|
|
@@ -5856,7 +5762,7 @@
|
|
|
5856
5762
|
}
|
|
5857
5763
|
},
|
|
5858
5764
|
{
|
|
5859
|
-
"name": "sd-4-
|
|
5765
|
+
"name": "sd-4-11-0-tab-panel",
|
|
5860
5766
|
"description": "Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tab panel's content.\n\n### **CSS Properties:**\n - **--padding** - The tab panel's padding. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
5861
5767
|
"doc-url": "",
|
|
5862
5768
|
"attributes": [
|
|
@@ -5910,7 +5816,101 @@
|
|
|
5910
5816
|
}
|
|
5911
5817
|
},
|
|
5912
5818
|
{
|
|
5913
|
-
"name": "sd-4-
|
|
5819
|
+
"name": "sd-4-11-0-checkbox-group",
|
|
5820
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-11-0-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-11-0-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
5821
|
+
"doc-url": "",
|
|
5822
|
+
"attributes": [
|
|
5823
|
+
{
|
|
5824
|
+
"name": "size",
|
|
5825
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5826
|
+
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
"name": "orientation",
|
|
5830
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5831
|
+
"value": {
|
|
5832
|
+
"type": "'horizontal' | 'vertical'",
|
|
5833
|
+
"default": "'vertical'"
|
|
5834
|
+
}
|
|
5835
|
+
},
|
|
5836
|
+
{
|
|
5837
|
+
"name": "label",
|
|
5838
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5839
|
+
"value": { "type": "string", "default": "''" }
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"name": "help-text",
|
|
5843
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5844
|
+
"value": { "type": "string", "default": "''" }
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"name": "dir",
|
|
5848
|
+
"description": "The element's directionality.",
|
|
5849
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"name": "lang",
|
|
5853
|
+
"description": "The element's language.",
|
|
5854
|
+
"value": { "type": "string" }
|
|
5855
|
+
}
|
|
5856
|
+
],
|
|
5857
|
+
"slots": [
|
|
5858
|
+
{
|
|
5859
|
+
"name": "",
|
|
5860
|
+
"description": "The default slot where `<sd-4-11-0-checkbox>` elements are placed."
|
|
5861
|
+
},
|
|
5862
|
+
{
|
|
5863
|
+
"name": "label",
|
|
5864
|
+
"description": "The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute."
|
|
5865
|
+
},
|
|
5866
|
+
{
|
|
5867
|
+
"name": "tooltip",
|
|
5868
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"name": "help-text",
|
|
5872
|
+
"description": "Text that describes how to use the input. Alternatively, you can use the `help-text` attribute."
|
|
5873
|
+
}
|
|
5874
|
+
],
|
|
5875
|
+
"events": [],
|
|
5876
|
+
"js": {
|
|
5877
|
+
"properties": [
|
|
5878
|
+
{
|
|
5879
|
+
"name": "size",
|
|
5880
|
+
"description": "The checkbox group's size. This size will be applied to the label, all child checkboxes.",
|
|
5881
|
+
"type": "'lg' | 'md' | 'sm'"
|
|
5882
|
+
},
|
|
5883
|
+
{
|
|
5884
|
+
"name": "orientation",
|
|
5885
|
+
"description": "The orientation property determines the alignment of the component's content or elements. It accepts two possible\nvalues: 'horizontal' and 'vertical'. The default value is 'vertical'.\nThis property allows you to control the visual layout and arrangement of elements within the component, providing\nflexibility in how the component is displayed based on your specific design needs.",
|
|
5886
|
+
"type": "'horizontal' | 'vertical'"
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
"name": "label",
|
|
5890
|
+
"description": "The checkbox group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
5891
|
+
"type": "string"
|
|
5892
|
+
},
|
|
5893
|
+
{
|
|
5894
|
+
"name": "helpText",
|
|
5895
|
+
"description": "The element help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
5896
|
+
"type": "string"
|
|
5897
|
+
},
|
|
5898
|
+
{
|
|
5899
|
+
"name": "dir",
|
|
5900
|
+
"description": "The element's directionality.",
|
|
5901
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"name": "lang",
|
|
5905
|
+
"description": "The element's language.",
|
|
5906
|
+
"type": "string"
|
|
5907
|
+
}
|
|
5908
|
+
],
|
|
5909
|
+
"events": []
|
|
5910
|
+
}
|
|
5911
|
+
},
|
|
5912
|
+
{
|
|
5913
|
+
"name": "sd-4-11-0-tag",
|
|
5914
5914
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n- **sd-remove** - Emitted when the remove button is activated.\n- **sd-hide** - Emitted when the hide method is triggered.\n- **sd-after-hide** - Emitted after the tag is hidden and all animations are complete.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n- **hide()** - Visually hides the tag\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|
|
5915
5915
|
"doc-url": "",
|
|
5916
5916
|
"attributes": [
|
|
@@ -6072,7 +6072,7 @@
|
|
|
6072
6072
|
}
|
|
6073
6073
|
},
|
|
6074
6074
|
{
|
|
6075
|
-
"name": "sd-4-
|
|
6075
|
+
"name": "sd-4-11-0-teaser",
|
|
6076
6076
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
6077
6077
|
"doc-url": "",
|
|
6078
6078
|
"attributes": [
|
|
@@ -6144,7 +6144,7 @@
|
|
|
6144
6144
|
}
|
|
6145
6145
|
},
|
|
6146
6146
|
{
|
|
6147
|
-
"name": "sd-4-
|
|
6147
|
+
"name": "sd-4-11-0-teaser-media",
|
|
6148
6148
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **expandable** - An optional expandable slot, <strong>not</strong> shown on small devices.\n- **headline** - headline slot.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **expandable** - The container that wraps the expandable.\n- **main** - The container that wraps the main content.",
|
|
6149
6149
|
"doc-url": "",
|
|
6150
6150
|
"attributes": [
|
|
@@ -6200,8 +6200,8 @@
|
|
|
6200
6200
|
}
|
|
6201
6201
|
},
|
|
6202
6202
|
{
|
|
6203
|
-
"name": "sd-4-
|
|
6204
|
-
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-
|
|
6203
|
+
"name": "sd-4-11-0-textarea",
|
|
6204
|
+
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-11-0-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
6205
6205
|
"doc-url": "",
|
|
6206
6206
|
"attributes": [
|
|
6207
6207
|
{
|
|
@@ -6345,7 +6345,7 @@
|
|
|
6345
6345
|
},
|
|
6346
6346
|
{
|
|
6347
6347
|
"name": "tooltip",
|
|
6348
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-
|
|
6348
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-11-0-tooltip` component."
|
|
6349
6349
|
}
|
|
6350
6350
|
],
|
|
6351
6351
|
"events": [
|
|
@@ -6362,7 +6362,7 @@
|
|
|
6362
6362
|
"description": "Emitted when the control gains focus."
|
|
6363
6363
|
},
|
|
6364
6364
|
{
|
|
6365
|
-
"name": "sd-4-
|
|
6365
|
+
"name": "sd-4-11-0-input",
|
|
6366
6366
|
"description": "Emitted when the control receives input."
|
|
6367
6367
|
},
|
|
6368
6368
|
{
|
|
@@ -6525,7 +6525,7 @@
|
|
|
6525
6525
|
"description": "Emitted when the control gains focus."
|
|
6526
6526
|
},
|
|
6527
6527
|
{
|
|
6528
|
-
"name": "sd-4-
|
|
6528
|
+
"name": "sd-4-11-0-input",
|
|
6529
6529
|
"description": "Emitted when the control receives input."
|
|
6530
6530
|
},
|
|
6531
6531
|
{
|
|
@@ -6536,8 +6536,8 @@
|
|
|
6536
6536
|
}
|
|
6537
6537
|
},
|
|
6538
6538
|
{
|
|
6539
|
-
"name": "sd-4-
|
|
6540
|
-
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-
|
|
6539
|
+
"name": "sd-4-11-0-tooltip",
|
|
6540
|
+
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-11-0-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
6541
6541
|
"doc-url": "",
|
|
6542
6542
|
"attributes": [
|
|
6543
6543
|
{
|
|
@@ -6692,7 +6692,7 @@
|
|
|
6692
6692
|
}
|
|
6693
6693
|
},
|
|
6694
6694
|
{
|
|
6695
|
-
"name": "sd-4-
|
|
6695
|
+
"name": "sd-4-11-0-video",
|
|
6696
6696
|
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **poster-wrapper** - The `<div>` element wrapper around the poster slot.",
|
|
6697
6697
|
"doc-url": "",
|
|
6698
6698
|
"attributes": [
|