@solid-design-system/components 5.8.0 → 5.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.HRTBCNEN.js +1 -0
- package/{cdn-versioned/chunks/chunk.PU5TFXA4.js → cdn/chunks/chunk.PMP4GFXI.js} +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +18 -18
- package/cdn/solid-components.iife.js +18 -18
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/web-types.json +1 -1
- 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.26O6IKAG.js +1 -1
- package/cdn-versioned/chunks/chunk.2JBLGDAG.js +1 -1
- package/cdn-versioned/chunks/chunk.3IA4LYAE.js +1 -1
- package/cdn-versioned/chunks/chunk.4ND6BT4C.js +1 -1
- package/cdn-versioned/chunks/chunk.5P5EXSCE.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.7PAPSYUK.js +1 -1
- package/cdn-versioned/chunks/chunk.7UITUXR7.js +1 -1
- package/cdn-versioned/chunks/chunk.BUAUXM45.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DR3XJQRD.js +1 -1
- package/cdn-versioned/chunks/chunk.DSA6LS4D.js +1 -1
- package/cdn-versioned/chunks/chunk.DU2SXY3R.js +1 -1
- package/cdn-versioned/chunks/chunk.DUHPZXXT.js +1 -1
- package/cdn-versioned/chunks/chunk.EXZ5YJHN.js +1 -1
- package/cdn-versioned/chunks/chunk.FMW27SW2.js +1 -1
- package/cdn-versioned/chunks/chunk.FSFMVNRK.js +1 -1
- package/cdn-versioned/chunks/chunk.G24RRCWJ.js +1 -1
- package/cdn-versioned/chunks/chunk.G7HBP2EA.js +4 -4
- package/cdn-versioned/chunks/chunk.HEVVK37Z.js +1 -1
- package/cdn-versioned/chunks/chunk.HJWBWAOH.js +1 -1
- package/cdn-versioned/chunks/chunk.HK5LV22V.js +1 -1
- package/cdn-versioned/chunks/chunk.HRTBCNEN.js +1 -0
- package/cdn-versioned/chunks/chunk.IIPOW4BF.js +1 -1
- package/cdn-versioned/chunks/chunk.ILZHTUPU.js +1 -1
- package/cdn-versioned/chunks/chunk.J2LVZAHB.js +1 -1
- package/cdn-versioned/chunks/chunk.J6OZWGFI.js +1 -1
- package/cdn-versioned/chunks/chunk.J7EPPTFP.js +1 -1
- package/cdn-versioned/chunks/chunk.KGZFLNCL.js +1 -1
- package/cdn-versioned/chunks/chunk.KRR6NFHE.js +1 -1
- package/cdn-versioned/chunks/chunk.KVHJAQJC.js +1 -1
- package/cdn-versioned/chunks/chunk.M7V7LXP2.js +1 -1
- package/cdn-versioned/chunks/chunk.NEHO757V.js +1 -1
- package/cdn-versioned/chunks/chunk.NVXMW7JA.js +2 -2
- package/cdn-versioned/chunks/chunk.OLKTD3H6.js +1 -1
- package/{cdn/chunks/chunk.PU5TFXA4.js → cdn-versioned/chunks/chunk.PMP4GFXI.js} +1 -1
- package/cdn-versioned/chunks/chunk.QDGET4J7.js +1 -1
- package/cdn-versioned/chunks/chunk.QDYCPBH5.js +1 -1
- package/cdn-versioned/chunks/chunk.REJ4HJHM.js +1 -1
- package/cdn-versioned/chunks/chunk.SABXUHBG.js +1 -1
- package/cdn-versioned/chunks/chunk.SV6S6VUZ.js +1 -1
- package/cdn-versioned/chunks/chunk.TEMANSX2.js +4 -4
- package/cdn-versioned/chunks/chunk.TW4QSRRZ.js +1 -1
- package/cdn-versioned/chunks/chunk.UPOUK4YE.js +1 -1
- package/cdn-versioned/chunks/chunk.VGYK5BAY.js +1 -1
- package/cdn-versioned/chunks/chunk.VY4OJYTU.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WLNGSSPM.js +1 -1
- package/cdn-versioned/chunks/chunk.X2PYZCU7.js +1 -1
- package/cdn-versioned/chunks/chunk.XRCG4RJJ.js +1 -1
- package/cdn-versioned/chunks/chunk.XRHEUCUN.js +1 -1
- package/cdn-versioned/chunks/chunk.XYSFDUN5.js +3 -3
- package/cdn-versioned/chunks/chunk.YCMKDACM.js +1 -1
- package/cdn-versioned/chunks/chunk.YCO53VY5.js +1 -1
- package/cdn-versioned/chunks/chunk.YR2HDSHK.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/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.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/combobox/combobox.js +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/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +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/header/header.js +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 +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +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 +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +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/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/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +218 -218
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +20 -20
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +20 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +84 -84
- package/cdn-versioned/web-types.json +142 -142
- package/dist/chunks/{chunk.7UEOJL4C.js → chunk.357URABG.js} +1 -1
- package/dist/components/header/header.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +1 -1
- package/dist/web-types.json +1 -1
- 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.2BDWN26F.js +5 -5
- package/dist-versioned/chunks/chunk.2CQI5LE4.js +3 -3
- package/dist-versioned/chunks/chunk.2W7NHUH7.js +26 -26
- package/dist-versioned/chunks/{chunk.7UEOJL4C.js → chunk.357URABG.js} +2 -2
- package/dist-versioned/chunks/chunk.374V27WG.js +1 -1
- package/dist-versioned/chunks/chunk.3IFUYWCQ.js +4 -4
- package/dist-versioned/chunks/chunk.56KFGJVD.js +1 -1
- package/dist-versioned/chunks/chunk.5IM5U5QH.js +6 -6
- package/dist-versioned/chunks/chunk.5KVES6PS.js +3 -3
- package/dist-versioned/chunks/chunk.5ZNZ5OFS.js +24 -24
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7MAASMDW.js +1 -1
- package/dist-versioned/chunks/chunk.7ZNUQOKK.js +2 -2
- package/dist-versioned/chunks/chunk.AGJBHOHC.js +9 -9
- package/dist-versioned/chunks/chunk.BFV6FVEH.js +2 -2
- package/dist-versioned/chunks/chunk.BGJVVJYW.js +8 -8
- package/dist-versioned/chunks/chunk.BHEBFVOB.js +1 -1
- package/dist-versioned/chunks/chunk.C3QUN3CW.js +1 -1
- package/dist-versioned/chunks/chunk.CRGWQRUO.js +2 -2
- package/dist-versioned/chunks/chunk.CU3SNWRP.js +3 -3
- package/dist-versioned/chunks/chunk.DHECGUIH.js +2 -2
- package/dist-versioned/chunks/chunk.ECTYRNKF.js +3 -3
- package/dist-versioned/chunks/chunk.FAY52O5K.js +5 -5
- package/dist-versioned/chunks/chunk.FQ65C655.js +1 -1
- package/dist-versioned/chunks/chunk.G7LKDW7D.js +2 -2
- package/dist-versioned/chunks/chunk.GRJDOPAS.js +12 -12
- package/dist-versioned/chunks/chunk.GWQANU5I.js +3 -3
- package/dist-versioned/chunks/chunk.H7FP247H.js +2 -2
- package/dist-versioned/chunks/chunk.IUAN7YQ4.js +2 -2
- package/dist-versioned/chunks/chunk.J2R4HF6O.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.L7XW5PYI.js +14 -14
- package/dist-versioned/chunks/chunk.NC2M2T2Q.js +4 -4
- package/dist-versioned/chunks/chunk.ONBBO64D.js +1 -1
- package/dist-versioned/chunks/chunk.PBSF5V4E.js +11 -11
- package/dist-versioned/chunks/chunk.PCHDKK7W.js +6 -6
- package/dist-versioned/chunks/chunk.PK4OGH3M.js +2 -2
- package/dist-versioned/chunks/chunk.PYH33SDH.js +1 -1
- package/dist-versioned/chunks/chunk.SO2HIZUP.js +5 -5
- package/dist-versioned/chunks/chunk.TQRMINMT.js +2 -2
- package/dist-versioned/chunks/chunk.U62FIAJ5.js +1 -1
- package/dist-versioned/chunks/chunk.U7SCAMCN.js +2 -2
- package/dist-versioned/chunks/chunk.UA3G5555.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UTHJPWMF.js +2 -2
- package/dist-versioned/chunks/chunk.VOSWJX2Z.js +6 -6
- package/dist-versioned/chunks/chunk.VTMF55NN.js +2 -2
- package/dist-versioned/chunks/chunk.WK2T7YB4.js +1 -1
- package/dist-versioned/chunks/chunk.X6WRFCHO.js +1 -1
- package/dist-versioned/chunks/chunk.XNHIGD4G.js +1 -1
- package/dist-versioned/chunks/chunk.XX3FTPX7.js +5 -5
- package/dist-versioned/chunks/chunk.ZC5TZTGP.js +3 -3
- package/dist-versioned/chunks/chunk.ZD3I7DCU.js +2 -2
- package/dist-versioned/chunks/chunk.ZTR5JB55.js +4 -4
- package/dist-versioned/chunks/chunk.ZZZHB23N.js +2 -2
- 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/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.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/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/header/header.js +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 +1 -1
- 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 +1 -1
- 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/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 +218 -218
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +84 -84
- package/dist-versioned/web-types.json +142 -142
- package/package.json +7 -7
- package/cdn/chunks/chunk.BMMJQ4XS.js +0 -1
- package/cdn-versioned/chunks/chunk.BMMJQ4XS.js +0 -1
|
@@ -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": "5.8.
|
|
4
|
+
"version": "5.8.1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-5-8-
|
|
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-5-8-
|
|
10
|
+
"name": "sd-5-8-1-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-5-8-1-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-8-1-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-5-8-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-8-1-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-5-8-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-5-8-
|
|
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-5-8-
|
|
114
|
+
"name": "sd-5-8-1-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-5-8-1-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-5-8-
|
|
137
|
+
"description": "The default slot where `<sd-5-8-1-accordion>` elements are placed."
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"events": [],
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "sd-5-8-
|
|
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-5-8-
|
|
163
|
+
"name": "sd-5-8-1-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-5-8-1-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-5-8-
|
|
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-5-8-1-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-5-8-
|
|
348
|
+
"name": "sd-5-8-1-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-5-8-
|
|
504
|
+
"name": "sd-5-8-1-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-5-8-
|
|
571
|
+
"name": "sd-5-8-1-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,8 +634,8 @@
|
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
"name": "sd-5-8-
|
|
638
|
-
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous 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_ - `sd-5-8-
|
|
637
|
+
"name": "sd-5-8-1-breadcrumb",
|
|
638
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous 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_ - `sd-5-8-1-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
639
639
|
"doc-url": "",
|
|
640
640
|
"attributes": [
|
|
641
641
|
{
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
"slots": [
|
|
658
658
|
{
|
|
659
659
|
"name": "",
|
|
660
|
-
"description": "`sd-5-8-
|
|
660
|
+
"description": "`sd-5-8-1-breadcrumb-item` elements to display in the breadcrumb."
|
|
661
661
|
}
|
|
662
662
|
],
|
|
663
663
|
"events": [],
|
|
@@ -686,8 +686,8 @@
|
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
688
|
{
|
|
689
|
-
"name": "sd-5-8-
|
|
690
|
-
"description": "An individual breadcrumb item for use exclusively within the `sd-5-8-
|
|
689
|
+
"name": "sd-5-8-1-breadcrumb-item",
|
|
690
|
+
"description": "An individual breadcrumb item for use exclusively within the `sd-5-8-1-breadcrumb`.\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 breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
691
691
|
"doc-url": "",
|
|
692
692
|
"attributes": [
|
|
693
693
|
{
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
}
|
|
752
752
|
},
|
|
753
753
|
{
|
|
754
|
-
"name": "sd-5-8-
|
|
754
|
+
"name": "sd-5-8-1-button",
|
|
755
755
|
"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.",
|
|
756
756
|
"doc-url": "",
|
|
757
757
|
"attributes": [
|
|
@@ -1019,8 +1019,8 @@
|
|
|
1019
1019
|
}
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
|
-
"name": "sd-5-8-
|
|
1023
|
-
"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-5-8-
|
|
1022
|
+
"name": "sd-5-8-1-button-group",
|
|
1023
|
+
"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-5-8-1-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1024
1024
|
"doc-url": "",
|
|
1025
1025
|
"attributes": [
|
|
1026
1026
|
{
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
"slots": [
|
|
1043
1043
|
{
|
|
1044
1044
|
"name": "",
|
|
1045
|
-
"description": "One or more `<sd-5-8-
|
|
1045
|
+
"description": "One or more `<sd-5-8-1-button>` elements to display in the button group."
|
|
1046
1046
|
}
|
|
1047
1047
|
],
|
|
1048
1048
|
"events": [],
|
|
@@ -1069,8 +1069,8 @@
|
|
|
1069
1069
|
}
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|
|
1072
|
-
"name": "sd-5-8-
|
|
1073
|
-
"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-5-8-
|
|
1072
|
+
"name": "sd-5-8-1-carousel",
|
|
1073
|
+
"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-5-8-1-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-5-8-1-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-5-8-1-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-5-8-1-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-5-8-1-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.",
|
|
1074
1074
|
"doc-url": "",
|
|
1075
1075
|
"attributes": [
|
|
1076
1076
|
{
|
|
@@ -1122,23 +1122,23 @@
|
|
|
1122
1122
|
"slots": [
|
|
1123
1123
|
{
|
|
1124
1124
|
"name": "",
|
|
1125
|
-
"description": "The carousel's main content, one or more `<sd-5-8-
|
|
1125
|
+
"description": "The carousel's main content, one or more `<sd-5-8-1-carousel-item>` elements."
|
|
1126
1126
|
},
|
|
1127
1127
|
{
|
|
1128
1128
|
"name": "next-icon",
|
|
1129
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-8-
|
|
1129
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
1130
1130
|
},
|
|
1131
1131
|
{
|
|
1132
1132
|
"name": "previous-icon",
|
|
1133
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-8-
|
|
1133
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
1134
1134
|
},
|
|
1135
1135
|
{
|
|
1136
1136
|
"name": "autoplay-start",
|
|
1137
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-8-
|
|
1137
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
1138
1138
|
},
|
|
1139
1139
|
{
|
|
1140
1140
|
"name": "autoplay-pause",
|
|
1141
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-8-
|
|
1141
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
1142
1142
|
}
|
|
1143
1143
|
],
|
|
1144
1144
|
"events": [
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
1209
1209
|
{
|
|
1210
|
-
"name": "sd-5-8-
|
|
1210
|
+
"name": "sd-5-8-1-carousel-item",
|
|
1211
1211
|
"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.",
|
|
1212
1212
|
"doc-url": "",
|
|
1213
1213
|
"attributes": [
|
|
@@ -1243,8 +1243,8 @@
|
|
|
1243
1243
|
}
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
"name": "sd-5-8-
|
|
1247
|
-
"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-5-8-
|
|
1246
|
+
"name": "sd-5-8-1-checkbox",
|
|
1247
|
+
"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-5-8-1-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-5-8-1-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-5-8-1-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1248
1248
|
"doc-url": "",
|
|
1249
1249
|
"attributes": [
|
|
1250
1250
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1319,7 +1319,7 @@
|
|
|
1319
1319
|
"description": "Emitted when the checkbox gains focus."
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
1322
|
-
"name": "sd-5-8-
|
|
1322
|
+
"name": "sd-5-8-1-input",
|
|
1323
1323
|
"description": "Emitted when the checkbox receives input."
|
|
1324
1324
|
}
|
|
1325
1325
|
],
|
|
@@ -1405,15 +1405,15 @@
|
|
|
1405
1405
|
"description": "Emitted when the checkbox gains focus."
|
|
1406
1406
|
},
|
|
1407
1407
|
{
|
|
1408
|
-
"name": "sd-5-8-
|
|
1408
|
+
"name": "sd-5-8-1-input",
|
|
1409
1409
|
"description": "Emitted when the checkbox receives input."
|
|
1410
1410
|
}
|
|
1411
1411
|
]
|
|
1412
1412
|
}
|
|
1413
1413
|
},
|
|
1414
1414
|
{
|
|
1415
|
-
"name": "sd-5-8-
|
|
1416
|
-
"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-5-8-
|
|
1415
|
+
"name": "sd-5-8-1-checkbox-group",
|
|
1416
|
+
"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-5-8-1-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-5-8-1-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1417
1417
|
"doc-url": "",
|
|
1418
1418
|
"attributes": [
|
|
1419
1419
|
{
|
|
@@ -1453,7 +1453,7 @@
|
|
|
1453
1453
|
"slots": [
|
|
1454
1454
|
{
|
|
1455
1455
|
"name": "",
|
|
1456
|
-
"description": "The default slot where `<sd-5-8-
|
|
1456
|
+
"description": "The default slot where `<sd-5-8-1-checkbox>` elements are placed."
|
|
1457
1457
|
},
|
|
1458
1458
|
{
|
|
1459
1459
|
"name": "label",
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
},
|
|
1462
1462
|
{
|
|
1463
1463
|
"name": "tooltip",
|
|
1464
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-8-
|
|
1464
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-8-1-tooltip` component."
|
|
1465
1465
|
},
|
|
1466
1466
|
{
|
|
1467
1467
|
"name": "help-text",
|
|
@@ -1506,8 +1506,8 @@
|
|
|
1506
1506
|
}
|
|
1507
1507
|
},
|
|
1508
1508
|
{
|
|
1509
|
-
"name": "sd-5-8-
|
|
1510
|
-
"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-5-8-
|
|
1509
|
+
"name": "sd-5-8-1-combobox",
|
|
1510
|
+
"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-5-8-1-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-5-8-1-option>` elements. You can use `<sd-5-8-1-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.",
|
|
1511
1511
|
"doc-url": "",
|
|
1512
1512
|
"attributes": [
|
|
1513
1513
|
{
|
|
@@ -1605,7 +1605,7 @@
|
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
1607
|
"name": "useTags",
|
|
1608
|
-
"description": "Uses interactive `sd-5-8-
|
|
1608
|
+
"description": "Uses interactive `sd-5-8-1-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1609
1609
|
"value": { "type": "boolean", "default": "true" }
|
|
1610
1610
|
},
|
|
1611
1611
|
{
|
|
@@ -1646,7 +1646,7 @@
|
|
|
1646
1646
|
"slots": [
|
|
1647
1647
|
{
|
|
1648
1648
|
"name": "",
|
|
1649
|
-
"description": "The listbox options. Must be `<sd-5-8-
|
|
1649
|
+
"description": "The listbox options. Must be `<sd-5-8-1-option>` elements. You can use `<sd-5-8-1-optgroup>`'s to group items visually."
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
1652
|
"name": "label",
|
|
@@ -1683,7 +1683,7 @@
|
|
|
1683
1683
|
"description": "Emitted when the control's value is cleared."
|
|
1684
1684
|
},
|
|
1685
1685
|
{
|
|
1686
|
-
"name": "sd-5-8-
|
|
1686
|
+
"name": "sd-5-8-1-input",
|
|
1687
1687
|
"description": "Emitted when the control receives input."
|
|
1688
1688
|
},
|
|
1689
1689
|
{
|
|
@@ -1831,7 +1831,7 @@
|
|
|
1831
1831
|
},
|
|
1832
1832
|
{
|
|
1833
1833
|
"name": "useTags",
|
|
1834
|
-
"description": "Uses interactive `sd-5-8-
|
|
1834
|
+
"description": "Uses interactive `sd-5-8-1-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1835
1835
|
"type": "boolean"
|
|
1836
1836
|
},
|
|
1837
1837
|
{
|
|
@@ -1878,7 +1878,7 @@
|
|
|
1878
1878
|
"description": "Emitted when the control's value is cleared."
|
|
1879
1879
|
},
|
|
1880
1880
|
{
|
|
1881
|
-
"name": "sd-5-8-
|
|
1881
|
+
"name": "sd-5-8-1-input",
|
|
1882
1882
|
"description": "Emitted when the control receives input."
|
|
1883
1883
|
},
|
|
1884
1884
|
{
|
|
@@ -1917,8 +1917,8 @@
|
|
|
1917
1917
|
}
|
|
1918
1918
|
},
|
|
1919
1919
|
{
|
|
1920
|
-
"name": "sd-5-8-
|
|
1921
|
-
"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-5-8-
|
|
1920
|
+
"name": "sd-5-8-1-dialog",
|
|
1921
|
+
"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-5-8-1-button>` and `<sd-5-8-1-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-5-8-1-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1922
1922
|
"doc-url": "",
|
|
1923
1923
|
"attributes": [
|
|
1924
1924
|
{
|
|
@@ -1959,7 +1959,7 @@
|
|
|
1959
1959
|
},
|
|
1960
1960
|
{
|
|
1961
1961
|
"name": "close-button",
|
|
1962
|
-
"description": "The dialog's close button. Works best with `<sd-5-8-
|
|
1962
|
+
"description": "The dialog's close button. Works best with `<sd-5-8-1-button>` and `<sd-5-8-1-icon>`."
|
|
1963
1963
|
}
|
|
1964
1964
|
],
|
|
1965
1965
|
"events": [
|
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
}
|
|
2049
2049
|
},
|
|
2050
2050
|
{
|
|
2051
|
-
"name": "sd-5-8-
|
|
2051
|
+
"name": "sd-5-8-1-divider",
|
|
2052
2052
|
"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.",
|
|
2053
2053
|
"doc-url": "",
|
|
2054
2054
|
"attributes": [
|
|
@@ -2104,8 +2104,8 @@
|
|
|
2104
2104
|
}
|
|
2105
2105
|
},
|
|
2106
2106
|
{
|
|
2107
|
-
"name": "sd-5-8-
|
|
2108
|
-
"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-5-8-
|
|
2107
|
+
"name": "sd-5-8-1-drawer",
|
|
2108
|
+
"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-5-8-1-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2109
2109
|
"doc-url": "",
|
|
2110
2110
|
"attributes": [
|
|
2111
2111
|
{
|
|
@@ -2251,8 +2251,8 @@
|
|
|
2251
2251
|
}
|
|
2252
2252
|
},
|
|
2253
2253
|
{
|
|
2254
|
-
"name": "sd-5-8-
|
|
2255
|
-
"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-5-8-
|
|
2254
|
+
"name": "sd-5-8-1-dropdown",
|
|
2255
|
+
"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-5-8-1-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-5-8-1-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.",
|
|
2256
2256
|
"doc-url": "",
|
|
2257
2257
|
"attributes": [
|
|
2258
2258
|
{
|
|
@@ -2328,7 +2328,7 @@
|
|
|
2328
2328
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2329
2329
|
{
|
|
2330
2330
|
"name": "trigger",
|
|
2331
|
-
"description": "The dropdown's trigger, usually a `<sd-5-8-
|
|
2331
|
+
"description": "The dropdown's trigger, usually a `<sd-5-8-1-button>` element."
|
|
2332
2332
|
}
|
|
2333
2333
|
],
|
|
2334
2334
|
"events": [
|
|
@@ -2435,7 +2435,7 @@
|
|
|
2435
2435
|
}
|
|
2436
2436
|
},
|
|
2437
2437
|
{
|
|
2438
|
-
"name": "sd-5-8-
|
|
2438
|
+
"name": "sd-5-8-1-expandable",
|
|
2439
2439
|
"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- **expand-icon** - The icon of the toggle button when the expandable is closed\n- **collapse-icon** - The icon of the toggle button when the expandable is open\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- **toggle-icon** - The wrapper of the toggle icons.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
|
2440
2440
|
"doc-url": "",
|
|
2441
2441
|
"attributes": [
|
|
@@ -2542,7 +2542,7 @@
|
|
|
2542
2542
|
}
|
|
2543
2543
|
},
|
|
2544
2544
|
{
|
|
2545
|
-
"name": "sd-5-8-
|
|
2545
|
+
"name": "sd-5-8-1-flipcard",
|
|
2546
2546
|
"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.",
|
|
2547
2547
|
"doc-url": "",
|
|
2548
2548
|
"attributes": [
|
|
@@ -2658,7 +2658,7 @@
|
|
|
2658
2658
|
}
|
|
2659
2659
|
},
|
|
2660
2660
|
{
|
|
2661
|
-
"name": "sd-5-8-
|
|
2661
|
+
"name": "sd-5-8-1-header",
|
|
2662
2662
|
"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.",
|
|
2663
2663
|
"doc-url": "",
|
|
2664
2664
|
"attributes": [
|
|
@@ -2704,7 +2704,7 @@
|
|
|
2704
2704
|
}
|
|
2705
2705
|
},
|
|
2706
2706
|
{
|
|
2707
|
-
"name": "sd-5-8-
|
|
2707
|
+
"name": "sd-5-8-1-icon",
|
|
2708
2708
|
"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.",
|
|
2709
2709
|
"doc-url": "",
|
|
2710
2710
|
"attributes": [
|
|
@@ -2808,7 +2808,7 @@
|
|
|
2808
2808
|
}
|
|
2809
2809
|
},
|
|
2810
2810
|
{
|
|
2811
|
-
"name": "sd-5-8-
|
|
2811
|
+
"name": "sd-5-8-1-include",
|
|
2812
2812
|
"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.",
|
|
2813
2813
|
"doc-url": "",
|
|
2814
2814
|
"attributes": [
|
|
@@ -2894,8 +2894,8 @@
|
|
|
2894
2894
|
}
|
|
2895
2895
|
},
|
|
2896
2896
|
{
|
|
2897
|
-
"name": "sd-5-8-
|
|
2898
|
-
"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-5-8-
|
|
2897
|
+
"name": "sd-5-8-1-input",
|
|
2898
|
+
"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-5-8-1-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-5-8-1-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.",
|
|
2899
2899
|
"doc-url": "",
|
|
2900
2900
|
"attributes": [
|
|
2901
2901
|
{
|
|
@@ -3104,7 +3104,7 @@
|
|
|
3104
3104
|
},
|
|
3105
3105
|
{
|
|
3106
3106
|
"name": "tooltip",
|
|
3107
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-
|
|
3107
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-1-tooltip` component."
|
|
3108
3108
|
}
|
|
3109
3109
|
],
|
|
3110
3110
|
"events": [
|
|
@@ -3125,7 +3125,7 @@
|
|
|
3125
3125
|
"description": "Emitted when the control gains focus."
|
|
3126
3126
|
},
|
|
3127
3127
|
{
|
|
3128
|
-
"name": "sd-5-8-
|
|
3128
|
+
"name": "sd-5-8-1-input",
|
|
3129
3129
|
"description": "Emitted when the control receives input."
|
|
3130
3130
|
},
|
|
3131
3131
|
{
|
|
@@ -3337,7 +3337,7 @@
|
|
|
3337
3337
|
"description": "Emitted when the control gains focus."
|
|
3338
3338
|
},
|
|
3339
3339
|
{
|
|
3340
|
-
"name": "sd-5-8-
|
|
3340
|
+
"name": "sd-5-8-1-input",
|
|
3341
3341
|
"description": "Emitted when the control receives input."
|
|
3342
3342
|
},
|
|
3343
3343
|
{
|
|
@@ -3348,7 +3348,7 @@
|
|
|
3348
3348
|
}
|
|
3349
3349
|
},
|
|
3350
3350
|
{
|
|
3351
|
-
"name": "sd-5-8-
|
|
3351
|
+
"name": "sd-5-8-1-link",
|
|
3352
3352
|
"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.",
|
|
3353
3353
|
"doc-url": "",
|
|
3354
3354
|
"attributes": [
|
|
@@ -3483,7 +3483,7 @@
|
|
|
3483
3483
|
}
|
|
3484
3484
|
},
|
|
3485
3485
|
{
|
|
3486
|
-
"name": "sd-5-8-
|
|
3486
|
+
"name": "sd-5-8-1-map-marker",
|
|
3487
3487
|
"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)_\n\n### **CSS Parts:**\n - **base** - The components' base wrapper.\n- **marker** - The markers' svg wrapper.\n- **content** - The container that wraps the default slot.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
3488
3488
|
"doc-url": "",
|
|
3489
3489
|
"attributes": [
|
|
@@ -3611,7 +3611,7 @@
|
|
|
3611
3611
|
}
|
|
3612
3612
|
},
|
|
3613
3613
|
{
|
|
3614
|
-
"name": "sd-5-8-
|
|
3614
|
+
"name": "sd-5-8-1-navigation-item",
|
|
3615
3615
|
"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.",
|
|
3616
3616
|
"doc-url": "",
|
|
3617
3617
|
"attributes": [
|
|
@@ -3798,13 +3798,13 @@
|
|
|
3798
3798
|
}
|
|
3799
3799
|
},
|
|
3800
3800
|
{
|
|
3801
|
-
"name": "sd-5-8-
|
|
3802
|
-
"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-5-8-
|
|
3801
|
+
"name": "sd-5-8-1-notification",
|
|
3802
|
+
"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-5-8-1-notification's main content.\n- **icon** - An icon to show in the sd-5-8-1-notification. Works best with `<sd-5-8-1-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **wrapper** - The container that wraps all the notification elements.\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-5-8-1-icon-button>`.",
|
|
3803
3803
|
"doc-url": "",
|
|
3804
3804
|
"attributes": [
|
|
3805
3805
|
{
|
|
3806
3806
|
"name": "variant",
|
|
3807
|
-
"description": "The sd-5-8-
|
|
3807
|
+
"description": "The sd-5-8-1-notification's theme.",
|
|
3808
3808
|
"value": {
|
|
3809
3809
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3810
3810
|
"default": "'info'"
|
|
@@ -3812,7 +3812,7 @@
|
|
|
3812
3812
|
},
|
|
3813
3813
|
{
|
|
3814
3814
|
"name": "open",
|
|
3815
|
-
"description": "Indicates whether or not sd-5-8-
|
|
3815
|
+
"description": "Indicates whether or not sd-5-8-1-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.",
|
|
3816
3816
|
"value": { "type": "boolean", "default": "false" }
|
|
3817
3817
|
},
|
|
3818
3818
|
{
|
|
@@ -3822,7 +3822,7 @@
|
|
|
3822
3822
|
},
|
|
3823
3823
|
{
|
|
3824
3824
|
"name": "duration",
|
|
3825
|
-
"description": "The length of time, in milliseconds, the sd-5-8-
|
|
3825
|
+
"description": "The length of time, in milliseconds, the sd-5-8-1-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.",
|
|
3826
3826
|
"value": { "type": "string", "default": "Infinity" }
|
|
3827
3827
|
},
|
|
3828
3828
|
{
|
|
@@ -3832,7 +3832,7 @@
|
|
|
3832
3832
|
},
|
|
3833
3833
|
{
|
|
3834
3834
|
"name": "toast-stack",
|
|
3835
|
-
"description": "The position of the toasted sd-5-8-
|
|
3835
|
+
"description": "The position of the toasted sd-5-8-1-notification.",
|
|
3836
3836
|
"value": {
|
|
3837
3837
|
"type": "'top-right' | 'bottom-center'",
|
|
3838
3838
|
"default": "'top-right'"
|
|
@@ -3852,11 +3852,11 @@
|
|
|
3852
3852
|
"slots": [
|
|
3853
3853
|
{
|
|
3854
3854
|
"name": "",
|
|
3855
|
-
"description": "The sd-5-8-
|
|
3855
|
+
"description": "The sd-5-8-1-notification's main content."
|
|
3856
3856
|
},
|
|
3857
3857
|
{
|
|
3858
3858
|
"name": "icon",
|
|
3859
|
-
"description": "An icon to show in the sd-5-8-
|
|
3859
|
+
"description": "An icon to show in the sd-5-8-1-notification. Works best with `<sd-5-8-1-icon>`."
|
|
3860
3860
|
}
|
|
3861
3861
|
],
|
|
3862
3862
|
"events": [
|
|
@@ -3882,12 +3882,12 @@
|
|
|
3882
3882
|
{ "name": "localize" },
|
|
3883
3883
|
{
|
|
3884
3884
|
"name": "variant",
|
|
3885
|
-
"description": "The sd-5-8-
|
|
3885
|
+
"description": "The sd-5-8-1-notification's theme.",
|
|
3886
3886
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3887
3887
|
},
|
|
3888
3888
|
{
|
|
3889
3889
|
"name": "open",
|
|
3890
|
-
"description": "Indicates whether or not sd-5-8-
|
|
3890
|
+
"description": "Indicates whether or not sd-5-8-1-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.",
|
|
3891
3891
|
"type": "boolean"
|
|
3892
3892
|
},
|
|
3893
3893
|
{
|
|
@@ -3897,7 +3897,7 @@
|
|
|
3897
3897
|
},
|
|
3898
3898
|
{
|
|
3899
3899
|
"name": "duration",
|
|
3900
|
-
"description": "The length of time, in milliseconds, the sd-5-8-
|
|
3900
|
+
"description": "The length of time, in milliseconds, the sd-5-8-1-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."
|
|
3901
3901
|
},
|
|
3902
3902
|
{
|
|
3903
3903
|
"name": "durationIndicator",
|
|
@@ -3906,7 +3906,7 @@
|
|
|
3906
3906
|
},
|
|
3907
3907
|
{
|
|
3908
3908
|
"name": "toastStack",
|
|
3909
|
-
"description": "The position of the toasted sd-5-8-
|
|
3909
|
+
"description": "The position of the toasted sd-5-8-1-notification.",
|
|
3910
3910
|
"type": "'top-right' | 'bottom-center'"
|
|
3911
3911
|
},
|
|
3912
3912
|
{
|
|
@@ -3941,8 +3941,8 @@
|
|
|
3941
3941
|
}
|
|
3942
3942
|
},
|
|
3943
3943
|
{
|
|
3944
|
-
"name": "sd-5-8-
|
|
3945
|
-
"description": "The <sd-5-8-
|
|
3944
|
+
"name": "sd-5-8-1-optgroup",
|
|
3945
|
+
"description": "The <sd-5-8-1-optgroup> element creates a grouping for <sd-5-8-1-option>s within a <sd-5-8-1-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-5-8-1-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-5-8-1-option> elements.",
|
|
3946
3946
|
"doc-url": "",
|
|
3947
3947
|
"attributes": [
|
|
3948
3948
|
{
|
|
@@ -3969,7 +3969,7 @@
|
|
|
3969
3969
|
"slots": [
|
|
3970
3970
|
{
|
|
3971
3971
|
"name": "",
|
|
3972
|
-
"description": "The given options. Must be `<sd-5-8-
|
|
3972
|
+
"description": "The given options. Must be `<sd-5-8-1-option>` elements."
|
|
3973
3973
|
},
|
|
3974
3974
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3975
3975
|
],
|
|
@@ -4001,18 +4001,18 @@
|
|
|
4001
4001
|
}
|
|
4002
4002
|
},
|
|
4003
4003
|
{
|
|
4004
|
-
"name": "sd-5-8-
|
|
4005
|
-
"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-5-8-
|
|
4004
|
+
"name": "sd-5-8-1-option",
|
|
4005
|
+
"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-5-8-1-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.",
|
|
4006
4006
|
"doc-url": "",
|
|
4007
4007
|
"attributes": [
|
|
4008
4008
|
{
|
|
4009
4009
|
"name": "size",
|
|
4010
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-8-
|
|
4010
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-8-1-select`.",
|
|
4011
4011
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
4012
4012
|
},
|
|
4013
4013
|
{
|
|
4014
4014
|
"name": "checkbox",
|
|
4015
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-8-
|
|
4015
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-8-1-select` when attribute `checklist` is set to `true`.",
|
|
4016
4016
|
"value": { "type": "boolean", "default": "false" }
|
|
4017
4017
|
},
|
|
4018
4018
|
{
|
|
@@ -4052,12 +4052,12 @@
|
|
|
4052
4052
|
"properties": [
|
|
4053
4053
|
{
|
|
4054
4054
|
"name": "size",
|
|
4055
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-8-
|
|
4055
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-8-1-select`.",
|
|
4056
4056
|
"type": "'lg' | 'md' | 'sm'"
|
|
4057
4057
|
},
|
|
4058
4058
|
{
|
|
4059
4059
|
"name": "checkbox",
|
|
4060
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-8-
|
|
4060
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-8-1-select` when attribute `checklist` is set to `true`.",
|
|
4061
4061
|
"type": "boolean"
|
|
4062
4062
|
},
|
|
4063
4063
|
{
|
|
@@ -4085,7 +4085,7 @@
|
|
|
4085
4085
|
}
|
|
4086
4086
|
},
|
|
4087
4087
|
{
|
|
4088
|
-
"name": "sd-5-8-
|
|
4088
|
+
"name": "sd-5-8-1-popup",
|
|
4089
4089
|
"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.",
|
|
4090
4090
|
"doc-url": "",
|
|
4091
4091
|
"attributes": [
|
|
@@ -4365,8 +4365,8 @@
|
|
|
4365
4365
|
}
|
|
4366
4366
|
},
|
|
4367
4367
|
{
|
|
4368
|
-
"name": "sd-5-8-
|
|
4369
|
-
"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-5-8-
|
|
4368
|
+
"name": "sd-5-8-1-quickfact",
|
|
4369
|
+
"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-5-8-1-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-5-8-1-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-8-1-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.",
|
|
4370
4370
|
"doc-url": "",
|
|
4371
4371
|
"attributes": [
|
|
4372
4372
|
{
|
|
@@ -4398,7 +4398,7 @@
|
|
|
4398
4398
|
"slots": [
|
|
4399
4399
|
{
|
|
4400
4400
|
"name": "icon",
|
|
4401
|
-
"description": "Optional icon to show in the header. Works best with `<sd-5-8-
|
|
4401
|
+
"description": "Optional icon to show in the header. Works best with `<sd-5-8-1-icon>`."
|
|
4402
4402
|
},
|
|
4403
4403
|
{ "name": "", "description": "The accordion main content." },
|
|
4404
4404
|
{
|
|
@@ -4407,11 +4407,11 @@
|
|
|
4407
4407
|
},
|
|
4408
4408
|
{
|
|
4409
4409
|
"name": "expand-icon",
|
|
4410
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-8-
|
|
4410
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
4411
4411
|
},
|
|
4412
4412
|
{
|
|
4413
4413
|
"name": "collapse-icon",
|
|
4414
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-8-
|
|
4414
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-8-1-icon>`."
|
|
4415
4415
|
}
|
|
4416
4416
|
],
|
|
4417
4417
|
"events": [
|
|
@@ -4483,7 +4483,7 @@
|
|
|
4483
4483
|
}
|
|
4484
4484
|
},
|
|
4485
4485
|
{
|
|
4486
|
-
"name": "sd-5-8-
|
|
4486
|
+
"name": "sd-5-8-1-radio",
|
|
4487
4487
|
"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.",
|
|
4488
4488
|
"doc-url": "",
|
|
4489
4489
|
"attributes": [
|
|
@@ -4585,7 +4585,7 @@
|
|
|
4585
4585
|
}
|
|
4586
4586
|
},
|
|
4587
4587
|
{
|
|
4588
|
-
"name": "sd-5-8-
|
|
4588
|
+
"name": "sd-5-8-1-radio-button",
|
|
4589
4589
|
"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.",
|
|
4590
4590
|
"doc-url": "",
|
|
4591
4591
|
"attributes": [
|
|
@@ -4680,8 +4680,8 @@
|
|
|
4680
4680
|
}
|
|
4681
4681
|
},
|
|
4682
4682
|
{
|
|
4683
|
-
"name": "sd-5-8-
|
|
4684
|
-
"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-5-8-
|
|
4683
|
+
"name": "sd-5-8-1-radio-group",
|
|
4684
|
+
"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-5-8-1-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-5-8-1-radio>` or `<sd-5-8-1-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-5-8-1-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.",
|
|
4685
4685
|
"doc-url": "",
|
|
4686
4686
|
"attributes": [
|
|
4687
4687
|
{
|
|
@@ -4746,7 +4746,7 @@
|
|
|
4746
4746
|
"slots": [
|
|
4747
4747
|
{
|
|
4748
4748
|
"name": "",
|
|
4749
|
-
"description": "The default slot where `<sd-5-8-
|
|
4749
|
+
"description": "The default slot where `<sd-5-8-1-radio>` or `<sd-5-8-1-radio-button>` elements are placed."
|
|
4750
4750
|
},
|
|
4751
4751
|
{
|
|
4752
4752
|
"name": "label",
|
|
@@ -4758,7 +4758,7 @@
|
|
|
4758
4758
|
},
|
|
4759
4759
|
{
|
|
4760
4760
|
"name": "tooltip",
|
|
4761
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-8-
|
|
4761
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-8-1-tooltip` component."
|
|
4762
4762
|
}
|
|
4763
4763
|
],
|
|
4764
4764
|
"events": [
|
|
@@ -4767,7 +4767,7 @@
|
|
|
4767
4767
|
"description": "Emitted when the radio group's selected value changes."
|
|
4768
4768
|
},
|
|
4769
4769
|
{
|
|
4770
|
-
"name": "sd-5-8-
|
|
4770
|
+
"name": "sd-5-8-1-input",
|
|
4771
4771
|
"description": "Emitted when the radio group receives user input."
|
|
4772
4772
|
},
|
|
4773
4773
|
{
|
|
@@ -4847,7 +4847,7 @@
|
|
|
4847
4847
|
"description": "Emitted when the radio group's selected value changes."
|
|
4848
4848
|
},
|
|
4849
4849
|
{
|
|
4850
|
-
"name": "sd-5-8-
|
|
4850
|
+
"name": "sd-5-8-1-input",
|
|
4851
4851
|
"description": "Emitted when the radio group receives user input."
|
|
4852
4852
|
},
|
|
4853
4853
|
{
|
|
@@ -4858,7 +4858,7 @@
|
|
|
4858
4858
|
}
|
|
4859
4859
|
},
|
|
4860
4860
|
{
|
|
4861
|
-
"name": "sd-5-8-
|
|
4861
|
+
"name": "sd-5-8-1-scrollable",
|
|
4862
4862
|
"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.",
|
|
4863
4863
|
"doc-url": "",
|
|
4864
4864
|
"attributes": [
|
|
@@ -5019,8 +5019,8 @@
|
|
|
5019
5019
|
}
|
|
5020
5020
|
},
|
|
5021
5021
|
{
|
|
5022
|
-
"name": "sd-5-8-
|
|
5023
|
-
"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-5-8-
|
|
5022
|
+
"name": "sd-5-8-1-select",
|
|
5023
|
+
"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-5-8-1-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-5-8-1-option>` elements. You can use `<sd-5-8-1-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-5-8-1-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.",
|
|
5024
5024
|
"doc-url": "",
|
|
5025
5025
|
"attributes": [
|
|
5026
5026
|
{
|
|
@@ -5080,7 +5080,7 @@
|
|
|
5080
5080
|
},
|
|
5081
5081
|
{
|
|
5082
5082
|
"name": "useTags",
|
|
5083
|
-
"description": "Uses interactive `sd-5-8-
|
|
5083
|
+
"description": "Uses interactive `sd-5-8-1-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5084
5084
|
"value": { "type": "boolean", "default": "false" }
|
|
5085
5085
|
},
|
|
5086
5086
|
{
|
|
@@ -5139,7 +5139,7 @@
|
|
|
5139
5139
|
"slots": [
|
|
5140
5140
|
{
|
|
5141
5141
|
"name": "",
|
|
5142
|
-
"description": "The listbox options. Must be `<sd-5-8-
|
|
5142
|
+
"description": "The listbox options. Must be `<sd-5-8-1-option>` elements. You can use `<sd-5-8-1-divider>` to group items visually."
|
|
5143
5143
|
},
|
|
5144
5144
|
{
|
|
5145
5145
|
"name": "label",
|
|
@@ -5159,7 +5159,7 @@
|
|
|
5159
5159
|
},
|
|
5160
5160
|
{
|
|
5161
5161
|
"name": "tooltip",
|
|
5162
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-
|
|
5162
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-1-tooltip` component."
|
|
5163
5163
|
}
|
|
5164
5164
|
],
|
|
5165
5165
|
"events": [
|
|
@@ -5172,7 +5172,7 @@
|
|
|
5172
5172
|
"description": "Emitted when the control's value is cleared."
|
|
5173
5173
|
},
|
|
5174
5174
|
{
|
|
5175
|
-
"name": "sd-5-8-
|
|
5175
|
+
"name": "sd-5-8-1-input",
|
|
5176
5176
|
"description": "Emitted when the control receives input."
|
|
5177
5177
|
},
|
|
5178
5178
|
{
|
|
@@ -5271,7 +5271,7 @@
|
|
|
5271
5271
|
},
|
|
5272
5272
|
{
|
|
5273
5273
|
"name": "useTags",
|
|
5274
|
-
"description": "Uses interactive `sd-5-8-
|
|
5274
|
+
"description": "Uses interactive `sd-5-8-1-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5275
5275
|
"type": "boolean"
|
|
5276
5276
|
},
|
|
5277
5277
|
{
|
|
@@ -5338,7 +5338,7 @@
|
|
|
5338
5338
|
"description": "Emitted when the control's value is cleared."
|
|
5339
5339
|
},
|
|
5340
5340
|
{
|
|
5341
|
-
"name": "sd-5-8-
|
|
5341
|
+
"name": "sd-5-8-1-input",
|
|
5342
5342
|
"description": "Emitted when the control receives input."
|
|
5343
5343
|
},
|
|
5344
5344
|
{
|
|
@@ -5373,7 +5373,7 @@
|
|
|
5373
5373
|
}
|
|
5374
5374
|
},
|
|
5375
5375
|
{
|
|
5376
|
-
"name": "sd-5-8-
|
|
5376
|
+
"name": "sd-5-8-1-spinner",
|
|
5377
5377
|
"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.",
|
|
5378
5378
|
"doc-url": "",
|
|
5379
5379
|
"attributes": [
|
|
@@ -5420,7 +5420,7 @@
|
|
|
5420
5420
|
}
|
|
5421
5421
|
},
|
|
5422
5422
|
{
|
|
5423
|
-
"name": "sd-5-8-
|
|
5423
|
+
"name": "sd-5-8-1-step",
|
|
5424
5424
|
"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.",
|
|
5425
5425
|
"doc-url": "",
|
|
5426
5426
|
"attributes": [
|
|
@@ -5583,8 +5583,8 @@
|
|
|
5583
5583
|
}
|
|
5584
5584
|
},
|
|
5585
5585
|
{
|
|
5586
|
-
"name": "sd-5-8-
|
|
5587
|
-
"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-5-8-
|
|
5586
|
+
"name": "sd-5-8-1-step-group",
|
|
5587
|
+
"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-5-8-1-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5588
5588
|
"doc-url": "",
|
|
5589
5589
|
"attributes": [
|
|
5590
5590
|
{
|
|
@@ -5629,7 +5629,7 @@
|
|
|
5629
5629
|
"slots": [
|
|
5630
5630
|
{
|
|
5631
5631
|
"name": "",
|
|
5632
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-5-8-
|
|
5632
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-5-8-1-step>` elements."
|
|
5633
5633
|
}
|
|
5634
5634
|
],
|
|
5635
5635
|
"events": [],
|
|
@@ -5675,8 +5675,8 @@
|
|
|
5675
5675
|
}
|
|
5676
5676
|
},
|
|
5677
5677
|
{
|
|
5678
|
-
"name": "sd-5-8-
|
|
5679
|
-
"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-5-8-
|
|
5678
|
+
"name": "sd-5-8-1-switch",
|
|
5679
|
+
"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-5-8-1-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.",
|
|
5680
5680
|
"doc-url": "",
|
|
5681
5681
|
"attributes": [
|
|
5682
5682
|
{
|
|
@@ -5740,7 +5740,7 @@
|
|
|
5740
5740
|
"description": "Emitted when the switch gains focus."
|
|
5741
5741
|
},
|
|
5742
5742
|
{
|
|
5743
|
-
"name": "sd-5-8-
|
|
5743
|
+
"name": "sd-5-8-1-input",
|
|
5744
5744
|
"description": "Emitted when the switch receives input."
|
|
5745
5745
|
}
|
|
5746
5746
|
],
|
|
@@ -5815,14 +5815,14 @@
|
|
|
5815
5815
|
"description": "Emitted when the switch gains focus."
|
|
5816
5816
|
},
|
|
5817
5817
|
{
|
|
5818
|
-
"name": "sd-5-8-
|
|
5818
|
+
"name": "sd-5-8-1-input",
|
|
5819
5819
|
"description": "Emitted when the switch receives input."
|
|
5820
5820
|
}
|
|
5821
5821
|
]
|
|
5822
5822
|
}
|
|
5823
5823
|
},
|
|
5824
5824
|
{
|
|
5825
|
-
"name": "sd-5-8-
|
|
5825
|
+
"name": "sd-5-8-1-tab",
|
|
5826
5826
|
"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.",
|
|
5827
5827
|
"doc-url": "",
|
|
5828
5828
|
"attributes": [
|
|
@@ -5915,8 +5915,8 @@
|
|
|
5915
5915
|
}
|
|
5916
5916
|
},
|
|
5917
5917
|
{
|
|
5918
|
-
"name": "sd-5-8-
|
|
5919
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-8-
|
|
5918
|
+
"name": "sd-5-8-1-tab-group",
|
|
5919
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-8-1-tab-show** - Emitted when a tab is shown.\n- **sd-5-8-1-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-5-8-1-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-5-8-1-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.",
|
|
5920
5920
|
"doc-url": "",
|
|
5921
5921
|
"attributes": [
|
|
5922
5922
|
{
|
|
@@ -5938,21 +5938,21 @@
|
|
|
5938
5938
|
"slots": [
|
|
5939
5939
|
{
|
|
5940
5940
|
"name": "",
|
|
5941
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-8-
|
|
5941
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-8-1-tab-panel>` elements."
|
|
5942
5942
|
},
|
|
5943
5943
|
{
|
|
5944
5944
|
"name": "nav",
|
|
5945
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-8-
|
|
5945
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-8-1-tab>` elements."
|
|
5946
5946
|
}
|
|
5947
5947
|
],
|
|
5948
5948
|
"events": [
|
|
5949
5949
|
{
|
|
5950
|
-
"name": "sd-5-8-
|
|
5950
|
+
"name": "sd-5-8-1-tab-show",
|
|
5951
5951
|
"type": "{ name: String }",
|
|
5952
5952
|
"description": "Emitted when a tab is shown."
|
|
5953
5953
|
},
|
|
5954
5954
|
{
|
|
5955
|
-
"name": "sd-5-8-
|
|
5955
|
+
"name": "sd-5-8-1-tab-hide",
|
|
5956
5956
|
"type": "{ name: String }",
|
|
5957
5957
|
"description": "Emitted when a tab is hidden."
|
|
5958
5958
|
}
|
|
@@ -5978,12 +5978,12 @@
|
|
|
5978
5978
|
],
|
|
5979
5979
|
"events": [
|
|
5980
5980
|
{
|
|
5981
|
-
"name": "sd-5-8-
|
|
5981
|
+
"name": "sd-5-8-1-tab-show",
|
|
5982
5982
|
"type": "{ name: String }",
|
|
5983
5983
|
"description": "Emitted when a tab is shown."
|
|
5984
5984
|
},
|
|
5985
5985
|
{
|
|
5986
|
-
"name": "sd-5-8-
|
|
5986
|
+
"name": "sd-5-8-1-tab-hide",
|
|
5987
5987
|
"type": "{ name: String }",
|
|
5988
5988
|
"description": "Emitted when a tab is hidden."
|
|
5989
5989
|
}
|
|
@@ -5991,7 +5991,7 @@
|
|
|
5991
5991
|
}
|
|
5992
5992
|
},
|
|
5993
5993
|
{
|
|
5994
|
-
"name": "sd-5-8-
|
|
5994
|
+
"name": "sd-5-8-1-tab-panel",
|
|
5995
5995
|
"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.",
|
|
5996
5996
|
"doc-url": "",
|
|
5997
5997
|
"attributes": [
|
|
@@ -6045,7 +6045,7 @@
|
|
|
6045
6045
|
}
|
|
6046
6046
|
},
|
|
6047
6047
|
{
|
|
6048
|
-
"name": "sd-5-8-
|
|
6048
|
+
"name": "sd-5-8-1-tag",
|
|
6049
6049
|
"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.",
|
|
6050
6050
|
"doc-url": "",
|
|
6051
6051
|
"attributes": [
|
|
@@ -6207,7 +6207,7 @@
|
|
|
6207
6207
|
}
|
|
6208
6208
|
},
|
|
6209
6209
|
{
|
|
6210
|
-
"name": "sd-5-8-
|
|
6210
|
+
"name": "sd-5-8-1-teaser",
|
|
6211
6211
|
"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.",
|
|
6212
6212
|
"doc-url": "",
|
|
6213
6213
|
"attributes": [
|
|
@@ -6289,7 +6289,7 @@
|
|
|
6289
6289
|
}
|
|
6290
6290
|
},
|
|
6291
6291
|
{
|
|
6292
|
-
"name": "sd-5-8-
|
|
6292
|
+
"name": "sd-5-8-1-teaser-media",
|
|
6293
6293
|
"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.",
|
|
6294
6294
|
"doc-url": "",
|
|
6295
6295
|
"attributes": [
|
|
@@ -6345,8 +6345,8 @@
|
|
|
6345
6345
|
}
|
|
6346
6346
|
},
|
|
6347
6347
|
{
|
|
6348
|
-
"name": "sd-5-8-
|
|
6349
|
-
"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-5-8-
|
|
6348
|
+
"name": "sd-5-8-1-textarea",
|
|
6349
|
+
"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-5-8-1-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-5-8-1-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.",
|
|
6350
6350
|
"doc-url": "",
|
|
6351
6351
|
"attributes": [
|
|
6352
6352
|
{
|
|
@@ -6490,7 +6490,7 @@
|
|
|
6490
6490
|
},
|
|
6491
6491
|
{
|
|
6492
6492
|
"name": "tooltip",
|
|
6493
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-
|
|
6493
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-8-1-tooltip` component."
|
|
6494
6494
|
}
|
|
6495
6495
|
],
|
|
6496
6496
|
"events": [
|
|
@@ -6507,7 +6507,7 @@
|
|
|
6507
6507
|
"description": "Emitted when the control gains focus."
|
|
6508
6508
|
},
|
|
6509
6509
|
{
|
|
6510
|
-
"name": "sd-5-8-
|
|
6510
|
+
"name": "sd-5-8-1-input",
|
|
6511
6511
|
"description": "Emitted when the control receives input."
|
|
6512
6512
|
},
|
|
6513
6513
|
{
|
|
@@ -6670,7 +6670,7 @@
|
|
|
6670
6670
|
"description": "Emitted when the control gains focus."
|
|
6671
6671
|
},
|
|
6672
6672
|
{
|
|
6673
|
-
"name": "sd-5-8-
|
|
6673
|
+
"name": "sd-5-8-1-input",
|
|
6674
6674
|
"description": "Emitted when the control receives input."
|
|
6675
6675
|
},
|
|
6676
6676
|
{
|
|
@@ -6681,8 +6681,8 @@
|
|
|
6681
6681
|
}
|
|
6682
6682
|
},
|
|
6683
6683
|
{
|
|
6684
|
-
"name": "sd-5-8-
|
|
6685
|
-
"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-5-8-
|
|
6684
|
+
"name": "sd-5-8-1-tooltip",
|
|
6685
|
+
"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-5-8-1-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.",
|
|
6686
6686
|
"doc-url": "",
|
|
6687
6687
|
"attributes": [
|
|
6688
6688
|
{
|
|
@@ -6837,7 +6837,7 @@
|
|
|
6837
6837
|
}
|
|
6838
6838
|
},
|
|
6839
6839
|
{
|
|
6840
|
-
"name": "sd-5-8-
|
|
6840
|
+
"name": "sd-5-8-1-video",
|
|
6841
6841
|
"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.",
|
|
6842
6842
|
"doc-url": "",
|
|
6843
6843
|
"attributes": [
|