@solid-design-system/components 5.6.0 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.RDWRS66R.js +1 -0
- package/cdn/components/teaser/teaser.d.ts +1 -0
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/custom-elements.json +21 -1
- package/cdn/solid-components.bundle.js +5 -5
- package/cdn/solid-components.iife.js +5 -5
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +5 -0
- package/cdn/web-types.json +11 -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.2POSLQ5Z.js +1 -1
- package/cdn-versioned/chunks/chunk.35D23HSW.js +1 -1
- package/cdn-versioned/chunks/chunk.3NSAEDOK.js +1 -1
- package/cdn-versioned/chunks/chunk.3XREQPK6.js +1 -1
- package/cdn-versioned/chunks/chunk.4MWOA6ZI.js +1 -1
- package/cdn-versioned/chunks/chunk.565YDCON.js +1 -1
- package/cdn-versioned/chunks/chunk.5GJMG4PS.js +1 -1
- package/cdn-versioned/chunks/chunk.5SWOTSCE.js +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/chunk.6WXSGDVI.js +1 -1
- package/cdn-versioned/chunks/chunk.7LCLIYUY.js +1 -1
- package/cdn-versioned/chunks/chunk.AYBSZD4S.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CZOOWQUF.js +1 -1
- package/cdn-versioned/chunks/chunk.DNSNI4OK.js +1 -1
- package/cdn-versioned/chunks/chunk.EKQAB4EX.js +1 -1
- package/cdn-versioned/chunks/chunk.ERAVBZHK.js +1 -1
- package/cdn-versioned/chunks/chunk.ESE4LCS2.js +1 -1
- package/cdn-versioned/chunks/chunk.FAIXOA2F.js +1 -1
- package/cdn-versioned/chunks/chunk.FLRYLAGF.js +1 -1
- package/cdn-versioned/chunks/chunk.FLT6CDXP.js +1 -1
- package/cdn-versioned/chunks/chunk.GN4ET7UA.js +1 -1
- package/cdn-versioned/chunks/chunk.HUY3W3M7.js +1 -1
- package/cdn-versioned/chunks/chunk.KWK6C3IZ.js +1 -1
- package/cdn-versioned/chunks/chunk.LFCA2IQG.js +1 -1
- package/cdn-versioned/chunks/chunk.LP25HBFS.js +1 -1
- package/cdn-versioned/chunks/chunk.LSQZN7XG.js +1 -1
- package/cdn-versioned/chunks/chunk.LV6Y7VYR.js +1 -1
- package/cdn-versioned/chunks/chunk.NNZNEAIJ.js +1 -1
- package/cdn-versioned/chunks/chunk.NXKFAB72.js +1 -1
- package/cdn-versioned/chunks/chunk.ON5B2YWM.js +1 -1
- package/cdn-versioned/chunks/chunk.OXAOIMTT.js +1 -1
- package/cdn-versioned/chunks/chunk.PFEUSEUN.js +3 -3
- package/cdn-versioned/chunks/chunk.PPG3ICRV.js +2 -2
- package/cdn-versioned/chunks/chunk.PUQ3RIAM.js +1 -1
- package/cdn-versioned/chunks/chunk.QGBNCTI4.js +1 -1
- package/cdn-versioned/chunks/chunk.RDWRS66R.js +1 -0
- package/cdn-versioned/chunks/chunk.RL2BQKMR.js +1 -1
- package/cdn-versioned/chunks/chunk.S6RPYVJI.js +1 -1
- package/cdn-versioned/chunks/chunk.SBHTDVQ4.js +1 -1
- package/cdn-versioned/chunks/chunk.SIOBUBBZ.js +1 -1
- package/cdn-versioned/chunks/chunk.SLIXQGGP.js +1 -1
- package/cdn-versioned/chunks/chunk.SMM76MUR.js +1 -1
- package/cdn-versioned/chunks/chunk.SP4BD3BD.js +1 -1
- package/cdn-versioned/chunks/chunk.T5MR3IUY.js +1 -1
- package/cdn-versioned/chunks/chunk.TGGYBIMX.js +1 -1
- package/cdn-versioned/chunks/chunk.TQUJ4VWU.js +4 -4
- package/cdn-versioned/chunks/chunk.ULZOLSNV.js +1 -1
- package/cdn-versioned/chunks/chunk.UYBBXCOU.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WB2PQDZJ.js +1 -1
- package/cdn-versioned/chunks/chunk.YT57BXKY.js +1 -1
- package/cdn-versioned/chunks/chunk.ZNUQ2AGR.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +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/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/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/teaser/teaser.d.ts +1 -0
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +229 -209
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +85 -80
- package/cdn-versioned/web-types.json +147 -137
- package/dist/chunks/{chunk.YUXACDFP.js → chunk.7YAYQD2F.js} +6 -1
- package/dist/components/teaser/teaser.d.ts +1 -0
- package/dist/components/teaser/teaser.js +1 -1
- package/dist/custom-elements.json +21 -1
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +5 -0
- package/dist/web-types.json +11 -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.2Z3PTZDF.js +2 -2
- package/dist-versioned/chunks/chunk.4BSIESXO.js +3 -3
- package/dist-versioned/chunks/chunk.6A4EY2BW.js +6 -6
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6Q5PHGOX.js +1 -1
- package/dist-versioned/chunks/chunk.7ASLASKF.js +3 -3
- package/dist-versioned/chunks/chunk.7LIXWEBN.js +5 -5
- package/dist-versioned/chunks/{chunk.YUXACDFP.js → chunk.7YAYQD2F.js} +7 -2
- package/dist-versioned/chunks/chunk.ABTFDUXB.js +2 -2
- package/dist-versioned/chunks/chunk.ATBHSXHW.js +3 -3
- package/dist-versioned/chunks/chunk.BIWX4AXS.js +1 -1
- package/dist-versioned/chunks/chunk.BZMDW7E4.js +11 -11
- package/dist-versioned/chunks/chunk.CM5UUKM4.js +2 -2
- package/dist-versioned/chunks/chunk.D23TODRF.js +3 -3
- package/dist-versioned/chunks/chunk.DWOWPIFO.js +1 -1
- package/dist-versioned/chunks/chunk.EAFZSO6J.js +2 -2
- package/dist-versioned/chunks/chunk.FIHROP3X.js +5 -5
- package/dist-versioned/chunks/chunk.FSL676RI.js +2 -2
- package/dist-versioned/chunks/chunk.GABDY4S6.js +2 -2
- package/dist-versioned/chunks/chunk.H3K5PQJU.js +5 -5
- package/dist-versioned/chunks/chunk.H3OKMVXK.js +1 -1
- package/dist-versioned/chunks/chunk.HIAESSS3.js +2 -2
- package/dist-versioned/chunks/chunk.HJN7RI3V.js +8 -8
- package/dist-versioned/chunks/chunk.IF3LSW7O.js +4 -4
- package/dist-versioned/chunks/chunk.ISKBRYU2.js +1 -1
- package/dist-versioned/chunks/chunk.JBZMLWDZ.js +1 -1
- package/dist-versioned/chunks/chunk.KTWITSMU.js +1 -1
- package/dist-versioned/chunks/chunk.KUULYGHN.js +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.MFEHVTR6.js +2 -2
- package/dist-versioned/chunks/chunk.MM3ZPOVU.js +2 -2
- package/dist-versioned/chunks/chunk.MUUF45Z6.js +1 -1
- package/dist-versioned/chunks/chunk.NE5RAPHM.js +24 -24
- package/dist-versioned/chunks/chunk.NM4SNSEF.js +1 -1
- package/dist-versioned/chunks/chunk.NQLGMP2D.js +26 -26
- package/dist-versioned/chunks/chunk.OOCDLYKD.js +1 -1
- package/dist-versioned/chunks/chunk.OUXBV3ZI.js +2 -2
- package/dist-versioned/chunks/chunk.PB4C4QSB.js +14 -14
- package/dist-versioned/chunks/chunk.Q35RRIOR.js +1 -1
- package/dist-versioned/chunks/chunk.QGQB5JS7.js +5 -5
- package/dist-versioned/chunks/chunk.QTRNM73B.js +12 -12
- package/dist-versioned/chunks/chunk.SHLIEXLI.js +2 -2
- package/dist-versioned/chunks/chunk.SNWCQACO.js +6 -6
- package/dist-versioned/chunks/chunk.SOHUYJIV.js +4 -4
- package/dist-versioned/chunks/chunk.TSGNJ5GP.js +2 -2
- package/dist-versioned/chunks/chunk.UH3CRACY.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UWXGXWKM.js +2 -2
- package/dist-versioned/chunks/chunk.W4IVOSZQ.js +2 -2
- package/dist-versioned/chunks/chunk.WOD4JUKH.js +2 -2
- package/dist-versioned/chunks/chunk.WYCBGTC3.js +9 -9
- package/dist-versioned/chunks/chunk.YCPALMH3.js +1 -1
- package/dist-versioned/chunks/chunk.YQYNXABC.js +4 -4
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +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/teaser/teaser.d.ts +1 -0
- package/dist-versioned/components/teaser/teaser.js +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 +229 -209
- 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 +85 -80
- package/dist-versioned/web-types.json +147 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.CYBY63E7.js +0 -1
- package/cdn-versioned/chunks/chunk.CYBY63E7.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.
|
|
4
|
+
"version": "5.7.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-5-
|
|
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-
|
|
10
|
+
"name": "sd-5-7-0-accordion",
|
|
11
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "expand-icon",
|
|
43
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "collapse-icon",
|
|
47
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-5-
|
|
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-
|
|
114
|
+
"name": "sd-5-7-0-accordion-group",
|
|
115
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-5-7-0-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
116
116
|
"doc-url": "",
|
|
117
117
|
"attributes": [
|
|
118
118
|
{
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"slots": [
|
|
135
135
|
{
|
|
136
136
|
"name": "",
|
|
137
|
-
"description": "The default slot where `<sd-5-
|
|
137
|
+
"description": "The default slot where `<sd-5-7-0-accordion>` elements are placed."
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"events": [],
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "sd-5-
|
|
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-
|
|
163
|
+
"name": "sd-5-7-0-animation",
|
|
164
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-5-7-0-animation>` elements.",
|
|
165
165
|
"doc-url": "",
|
|
166
166
|
"attributes": [
|
|
167
167
|
{
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"slots": [
|
|
234
234
|
{
|
|
235
235
|
"name": "",
|
|
236
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-5-
|
|
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-7-0-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-5-
|
|
348
|
+
"name": "sd-5-7-0-audio",
|
|
349
349
|
"description": "Used to play audio files that are part of the page content.\n---\n\n\n### **Events:**\n - **sd-playback-start** - Emitted when the audio playback starts.\n- **sd-playback-end** - Emitted when the audio playback ends.\n- **sd-playback-pause** - Emitted when the audio playback pauses.\n- **sd-playback-mute** - Emitted when the audio is muted.\n- **sd-playback-unmute** - Emitted when the audio is unmuted.\n- **sd-playback-speed** - Emitted when the playback speed is changed.\n- **sd-transcript-click** - Emitted when the transcript button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot.\n- **play-icon** - The play icon.\n- **pause-icon** - The pause icon.\n- **transcript** - The transcript.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **audio-controls** - The audio controls.\n- **playback-speed** - The playback speed.\n- **play-button** - The play button.\n- **volume** - The volume button.\n- **progress-slider** - The audio progress slider.\n- **timestamps** - The audio timestamps.",
|
|
350
350
|
"doc-url": "",
|
|
351
351
|
"attributes": [
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
|
-
"name": "sd-5-
|
|
504
|
+
"name": "sd-5-7-0-badge",
|
|
505
505
|
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
506
506
|
"doc-url": "",
|
|
507
507
|
"attributes": [
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
"name": "sd-5-
|
|
571
|
+
"name": "sd-5-7-0-brandshape",
|
|
572
572
|
"description": "The Brandshape highlights a piece of content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n- **image** - The image slot for the 'image' variant.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.\n- **stylized-container** - Container for border and image variant.",
|
|
573
573
|
"doc-url": "",
|
|
574
574
|
"attributes": [
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
636
|
{
|
|
637
|
-
"name": "sd-5-
|
|
637
|
+
"name": "sd-5-7-0-button",
|
|
638
638
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
639
639
|
"doc-url": "",
|
|
640
640
|
"attributes": [
|
|
@@ -902,8 +902,8 @@
|
|
|
902
902
|
}
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
|
-
"name": "sd-5-
|
|
906
|
-
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-5-
|
|
905
|
+
"name": "sd-5-7-0-button-group",
|
|
906
|
+
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - One or more `<sd-5-7-0-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
907
907
|
"doc-url": "",
|
|
908
908
|
"attributes": [
|
|
909
909
|
{
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
"slots": [
|
|
926
926
|
{
|
|
927
927
|
"name": "",
|
|
928
|
-
"description": "One or more `<sd-5-
|
|
928
|
+
"description": "One or more `<sd-5-7-0-button>` elements to display in the button group."
|
|
929
929
|
}
|
|
930
930
|
],
|
|
931
931
|
"events": [],
|
|
@@ -952,8 +952,8 @@
|
|
|
952
952
|
}
|
|
953
953
|
},
|
|
954
954
|
{
|
|
955
|
-
"name": "sd-5-
|
|
956
|
-
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-5-
|
|
955
|
+
"name": "sd-5-7-0-carousel",
|
|
956
|
+
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-5-7-0-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
957
957
|
"doc-url": "",
|
|
958
958
|
"attributes": [
|
|
959
959
|
{
|
|
@@ -1005,23 +1005,23 @@
|
|
|
1005
1005
|
"slots": [
|
|
1006
1006
|
{
|
|
1007
1007
|
"name": "",
|
|
1008
|
-
"description": "The carousel's main content, one or more `<sd-5-
|
|
1008
|
+
"description": "The carousel's main content, one or more `<sd-5-7-0-carousel-item>` elements."
|
|
1009
1009
|
},
|
|
1010
1010
|
{
|
|
1011
1011
|
"name": "next-icon",
|
|
1012
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-
|
|
1012
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
1015
1015
|
"name": "previous-icon",
|
|
1016
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-
|
|
1016
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
1017
1017
|
},
|
|
1018
1018
|
{
|
|
1019
1019
|
"name": "autoplay-start",
|
|
1020
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-
|
|
1020
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
1023
|
"name": "autoplay-pause",
|
|
1024
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-
|
|
1024
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
1025
1025
|
}
|
|
1026
1026
|
],
|
|
1027
1027
|
"events": [
|
|
@@ -1090,7 +1090,7 @@
|
|
|
1090
1090
|
}
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
"name": "sd-5-
|
|
1093
|
+
"name": "sd-5-7-0-carousel-item",
|
|
1094
1094
|
"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.",
|
|
1095
1095
|
"doc-url": "",
|
|
1096
1096
|
"attributes": [
|
|
@@ -1126,8 +1126,8 @@
|
|
|
1126
1126
|
}
|
|
1127
1127
|
},
|
|
1128
1128
|
{
|
|
1129
|
-
"name": "sd-5-
|
|
1130
|
-
"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-
|
|
1129
|
+
"name": "sd-5-7-0-checkbox",
|
|
1130
|
+
"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-7-0-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-5-7-0-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-5-7-0-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1131
1131
|
"doc-url": "",
|
|
1132
1132
|
"attributes": [
|
|
1133
1133
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1202,7 +1202,7 @@
|
|
|
1202
1202
|
"description": "Emitted when the checkbox gains focus."
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
1205
|
-
"name": "sd-5-
|
|
1205
|
+
"name": "sd-5-7-0-input",
|
|
1206
1206
|
"description": "Emitted when the checkbox receives input."
|
|
1207
1207
|
}
|
|
1208
1208
|
],
|
|
@@ -1288,15 +1288,15 @@
|
|
|
1288
1288
|
"description": "Emitted when the checkbox gains focus."
|
|
1289
1289
|
},
|
|
1290
1290
|
{
|
|
1291
|
-
"name": "sd-5-
|
|
1291
|
+
"name": "sd-5-7-0-input",
|
|
1292
1292
|
"description": "Emitted when the checkbox receives input."
|
|
1293
1293
|
}
|
|
1294
1294
|
]
|
|
1295
1295
|
}
|
|
1296
1296
|
},
|
|
1297
1297
|
{
|
|
1298
|
-
"name": "sd-5-
|
|
1299
|
-
"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-
|
|
1298
|
+
"name": "sd-5-7-0-checkbox-group",
|
|
1299
|
+
"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-7-0-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-7-0-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1300
1300
|
"doc-url": "",
|
|
1301
1301
|
"attributes": [
|
|
1302
1302
|
{
|
|
@@ -1336,7 +1336,7 @@
|
|
|
1336
1336
|
"slots": [
|
|
1337
1337
|
{
|
|
1338
1338
|
"name": "",
|
|
1339
|
-
"description": "The default slot where `<sd-5-
|
|
1339
|
+
"description": "The default slot where `<sd-5-7-0-checkbox>` elements are placed."
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
1342
|
"name": "label",
|
|
@@ -1344,7 +1344,7 @@
|
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
1346
|
"name": "tooltip",
|
|
1347
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-
|
|
1347
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-7-0-tooltip` component."
|
|
1348
1348
|
},
|
|
1349
1349
|
{
|
|
1350
1350
|
"name": "help-text",
|
|
@@ -1389,8 +1389,8 @@
|
|
|
1389
1389
|
}
|
|
1390
1390
|
},
|
|
1391
1391
|
{
|
|
1392
|
-
"name": "sd-5-
|
|
1393
|
-
"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-
|
|
1392
|
+
"name": "sd-5-7-0-combobox",
|
|
1393
|
+
"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-7-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-5-7-0-option>` elements. You can use `<sd-5-7-0-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1394
1394
|
"doc-url": "",
|
|
1395
1395
|
"attributes": [
|
|
1396
1396
|
{
|
|
@@ -1488,7 +1488,7 @@
|
|
|
1488
1488
|
},
|
|
1489
1489
|
{
|
|
1490
1490
|
"name": "useTags",
|
|
1491
|
-
"description": "Uses interactive `sd-5-
|
|
1491
|
+
"description": "Uses interactive `sd-5-7-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1492
1492
|
"value": { "type": "boolean", "default": "true" }
|
|
1493
1493
|
},
|
|
1494
1494
|
{
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
"slots": [
|
|
1530
1530
|
{
|
|
1531
1531
|
"name": "",
|
|
1532
|
-
"description": "The listbox options. Must be `<sd-5-
|
|
1532
|
+
"description": "The listbox options. Must be `<sd-5-7-0-option>` elements. You can use `<sd-5-7-0-optgroup>`'s to group items visually."
|
|
1533
1533
|
},
|
|
1534
1534
|
{
|
|
1535
1535
|
"name": "label",
|
|
@@ -1566,7 +1566,7 @@
|
|
|
1566
1566
|
"description": "Emitted when the control's value is cleared."
|
|
1567
1567
|
},
|
|
1568
1568
|
{
|
|
1569
|
-
"name": "sd-5-
|
|
1569
|
+
"name": "sd-5-7-0-input",
|
|
1570
1570
|
"description": "Emitted when the control receives input."
|
|
1571
1571
|
},
|
|
1572
1572
|
{
|
|
@@ -1714,7 +1714,7 @@
|
|
|
1714
1714
|
},
|
|
1715
1715
|
{
|
|
1716
1716
|
"name": "useTags",
|
|
1717
|
-
"description": "Uses interactive `sd-5-
|
|
1717
|
+
"description": "Uses interactive `sd-5-7-0-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1718
1718
|
"type": "boolean"
|
|
1719
1719
|
},
|
|
1720
1720
|
{
|
|
@@ -1761,7 +1761,7 @@
|
|
|
1761
1761
|
"description": "Emitted when the control's value is cleared."
|
|
1762
1762
|
},
|
|
1763
1763
|
{
|
|
1764
|
-
"name": "sd-5-
|
|
1764
|
+
"name": "sd-5-7-0-input",
|
|
1765
1765
|
"description": "Emitted when the control receives input."
|
|
1766
1766
|
},
|
|
1767
1767
|
{
|
|
@@ -1800,8 +1800,8 @@
|
|
|
1800
1800
|
}
|
|
1801
1801
|
},
|
|
1802
1802
|
{
|
|
1803
|
-
"name": "sd-5-
|
|
1804
|
-
"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-
|
|
1803
|
+
"name": "sd-5-7-0-dialog",
|
|
1804
|
+
"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-7-0-button>` and `<sd-5-7-0-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-5-7-0-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1805
1805
|
"doc-url": "",
|
|
1806
1806
|
"attributes": [
|
|
1807
1807
|
{
|
|
@@ -1842,7 +1842,7 @@
|
|
|
1842
1842
|
},
|
|
1843
1843
|
{
|
|
1844
1844
|
"name": "close-button",
|
|
1845
|
-
"description": "The dialog's close button. Works best with `<sd-5-
|
|
1845
|
+
"description": "The dialog's close button. Works best with `<sd-5-7-0-button>` and `<sd-5-7-0-icon>`."
|
|
1846
1846
|
}
|
|
1847
1847
|
],
|
|
1848
1848
|
"events": [
|
|
@@ -1931,7 +1931,7 @@
|
|
|
1931
1931
|
}
|
|
1932
1932
|
},
|
|
1933
1933
|
{
|
|
1934
|
-
"name": "sd-5-
|
|
1934
|
+
"name": "sd-5-7-0-divider",
|
|
1935
1935
|
"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.",
|
|
1936
1936
|
"doc-url": "",
|
|
1937
1937
|
"attributes": [
|
|
@@ -1987,8 +1987,8 @@
|
|
|
1987
1987
|
}
|
|
1988
1988
|
},
|
|
1989
1989
|
{
|
|
1990
|
-
"name": "sd-5-
|
|
1991
|
-
"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-
|
|
1990
|
+
"name": "sd-5-7-0-drawer",
|
|
1991
|
+
"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-7-0-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1992
1992
|
"doc-url": "",
|
|
1993
1993
|
"attributes": [
|
|
1994
1994
|
{
|
|
@@ -2134,8 +2134,8 @@
|
|
|
2134
2134
|
}
|
|
2135
2135
|
},
|
|
2136
2136
|
{
|
|
2137
|
-
"name": "sd-5-
|
|
2138
|
-
"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-
|
|
2137
|
+
"name": "sd-5-7-0-dropdown",
|
|
2138
|
+
"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-7-0-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-5-7-0-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2139
2139
|
"doc-url": "",
|
|
2140
2140
|
"attributes": [
|
|
2141
2141
|
{
|
|
@@ -2211,7 +2211,7 @@
|
|
|
2211
2211
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2212
2212
|
{
|
|
2213
2213
|
"name": "trigger",
|
|
2214
|
-
"description": "The dropdown's trigger, usually a `<sd-5-
|
|
2214
|
+
"description": "The dropdown's trigger, usually a `<sd-5-7-0-button>` element."
|
|
2215
2215
|
}
|
|
2216
2216
|
],
|
|
2217
2217
|
"events": [
|
|
@@ -2318,7 +2318,7 @@
|
|
|
2318
2318
|
}
|
|
2319
2319
|
},
|
|
2320
2320
|
{
|
|
2321
|
-
"name": "sd-5-
|
|
2321
|
+
"name": "sd-5-7-0-expandable",
|
|
2322
2322
|
"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.",
|
|
2323
2323
|
"doc-url": "",
|
|
2324
2324
|
"attributes": [
|
|
@@ -2425,7 +2425,7 @@
|
|
|
2425
2425
|
}
|
|
2426
2426
|
},
|
|
2427
2427
|
{
|
|
2428
|
-
"name": "sd-5-
|
|
2428
|
+
"name": "sd-5-7-0-flipcard",
|
|
2429
2429
|
"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.",
|
|
2430
2430
|
"doc-url": "",
|
|
2431
2431
|
"attributes": [
|
|
@@ -2541,7 +2541,7 @@
|
|
|
2541
2541
|
}
|
|
2542
2542
|
},
|
|
2543
2543
|
{
|
|
2544
|
-
"name": "sd-5-
|
|
2544
|
+
"name": "sd-5-7-0-header",
|
|
2545
2545
|
"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.",
|
|
2546
2546
|
"doc-url": "",
|
|
2547
2547
|
"attributes": [
|
|
@@ -2587,7 +2587,7 @@
|
|
|
2587
2587
|
}
|
|
2588
2588
|
},
|
|
2589
2589
|
{
|
|
2590
|
-
"name": "sd-5-
|
|
2590
|
+
"name": "sd-5-7-0-icon",
|
|
2591
2591
|
"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.",
|
|
2592
2592
|
"doc-url": "",
|
|
2593
2593
|
"attributes": [
|
|
@@ -2691,7 +2691,7 @@
|
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
2693
|
{
|
|
2694
|
-
"name": "sd-5-
|
|
2694
|
+
"name": "sd-5-7-0-include",
|
|
2695
2695
|
"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.",
|
|
2696
2696
|
"doc-url": "",
|
|
2697
2697
|
"attributes": [
|
|
@@ -2777,8 +2777,8 @@
|
|
|
2777
2777
|
}
|
|
2778
2778
|
},
|
|
2779
2779
|
{
|
|
2780
|
-
"name": "sd-5-
|
|
2781
|
-
"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-
|
|
2780
|
+
"name": "sd-5-7-0-input",
|
|
2781
|
+
"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-7-0-input** - Emitted when the control receives input.\n- **sd-search** - Emitted when the search button is activated.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
|
|
2782
2782
|
"doc-url": "",
|
|
2783
2783
|
"attributes": [
|
|
2784
2784
|
{
|
|
@@ -2987,7 +2987,7 @@
|
|
|
2987
2987
|
},
|
|
2988
2988
|
{
|
|
2989
2989
|
"name": "tooltip",
|
|
2990
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-
|
|
2990
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component."
|
|
2991
2991
|
}
|
|
2992
2992
|
],
|
|
2993
2993
|
"events": [
|
|
@@ -3008,7 +3008,7 @@
|
|
|
3008
3008
|
"description": "Emitted when the control gains focus."
|
|
3009
3009
|
},
|
|
3010
3010
|
{
|
|
3011
|
-
"name": "sd-5-
|
|
3011
|
+
"name": "sd-5-7-0-input",
|
|
3012
3012
|
"description": "Emitted when the control receives input."
|
|
3013
3013
|
},
|
|
3014
3014
|
{
|
|
@@ -3220,7 +3220,7 @@
|
|
|
3220
3220
|
"description": "Emitted when the control gains focus."
|
|
3221
3221
|
},
|
|
3222
3222
|
{
|
|
3223
|
-
"name": "sd-5-
|
|
3223
|
+
"name": "sd-5-7-0-input",
|
|
3224
3224
|
"description": "Emitted when the control receives input."
|
|
3225
3225
|
},
|
|
3226
3226
|
{
|
|
@@ -3231,7 +3231,7 @@
|
|
|
3231
3231
|
}
|
|
3232
3232
|
},
|
|
3233
3233
|
{
|
|
3234
|
-
"name": "sd-5-
|
|
3234
|
+
"name": "sd-5-7-0-link",
|
|
3235
3235
|
"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.",
|
|
3236
3236
|
"doc-url": "",
|
|
3237
3237
|
"attributes": [
|
|
@@ -3366,7 +3366,7 @@
|
|
|
3366
3366
|
}
|
|
3367
3367
|
},
|
|
3368
3368
|
{
|
|
3369
|
-
"name": "sd-5-
|
|
3369
|
+
"name": "sd-5-7-0-map-marker",
|
|
3370
3370
|
"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.",
|
|
3371
3371
|
"doc-url": "",
|
|
3372
3372
|
"attributes": [
|
|
@@ -3494,7 +3494,7 @@
|
|
|
3494
3494
|
}
|
|
3495
3495
|
},
|
|
3496
3496
|
{
|
|
3497
|
-
"name": "sd-5-
|
|
3497
|
+
"name": "sd-5-7-0-navigation-item",
|
|
3498
3498
|
"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.",
|
|
3499
3499
|
"doc-url": "",
|
|
3500
3500
|
"attributes": [
|
|
@@ -3681,13 +3681,13 @@
|
|
|
3681
3681
|
}
|
|
3682
3682
|
},
|
|
3683
3683
|
{
|
|
3684
|
-
"name": "sd-5-
|
|
3685
|
-
"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-
|
|
3684
|
+
"name": "sd-5-7-0-notification",
|
|
3685
|
+
"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-7-0-notification's main content.\n- **icon** - An icon to show in the sd-5-7-0-notification. Works best with `<sd-5-7-0-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-7-0-icon-button>`.",
|
|
3686
3686
|
"doc-url": "",
|
|
3687
3687
|
"attributes": [
|
|
3688
3688
|
{
|
|
3689
3689
|
"name": "variant",
|
|
3690
|
-
"description": "The sd-5-
|
|
3690
|
+
"description": "The sd-5-7-0-notification's theme.",
|
|
3691
3691
|
"value": {
|
|
3692
3692
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3693
3693
|
"default": "'info'"
|
|
@@ -3695,7 +3695,7 @@
|
|
|
3695
3695
|
},
|
|
3696
3696
|
{
|
|
3697
3697
|
"name": "open",
|
|
3698
|
-
"description": "Indicates whether or not sd-5-
|
|
3698
|
+
"description": "Indicates whether or not sd-5-7-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3699
3699
|
"value": { "type": "boolean", "default": "false" }
|
|
3700
3700
|
},
|
|
3701
3701
|
{
|
|
@@ -3705,7 +3705,7 @@
|
|
|
3705
3705
|
},
|
|
3706
3706
|
{
|
|
3707
3707
|
"name": "duration",
|
|
3708
|
-
"description": "The length of time, in milliseconds, the sd-5-
|
|
3708
|
+
"description": "The length of time, in milliseconds, the sd-5-7-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
|
|
3709
3709
|
"value": { "type": "string", "default": "Infinity" }
|
|
3710
3710
|
},
|
|
3711
3711
|
{
|
|
@@ -3715,7 +3715,7 @@
|
|
|
3715
3715
|
},
|
|
3716
3716
|
{
|
|
3717
3717
|
"name": "toast-stack",
|
|
3718
|
-
"description": "The position of the toasted sd-5-
|
|
3718
|
+
"description": "The position of the toasted sd-5-7-0-notification.",
|
|
3719
3719
|
"value": {
|
|
3720
3720
|
"type": "'top-right' | 'bottom-center'",
|
|
3721
3721
|
"default": "'top-right'"
|
|
@@ -3735,11 +3735,11 @@
|
|
|
3735
3735
|
"slots": [
|
|
3736
3736
|
{
|
|
3737
3737
|
"name": "",
|
|
3738
|
-
"description": "The sd-5-
|
|
3738
|
+
"description": "The sd-5-7-0-notification's main content."
|
|
3739
3739
|
},
|
|
3740
3740
|
{
|
|
3741
3741
|
"name": "icon",
|
|
3742
|
-
"description": "An icon to show in the sd-5-
|
|
3742
|
+
"description": "An icon to show in the sd-5-7-0-notification. Works best with `<sd-5-7-0-icon>`."
|
|
3743
3743
|
}
|
|
3744
3744
|
],
|
|
3745
3745
|
"events": [
|
|
@@ -3765,12 +3765,12 @@
|
|
|
3765
3765
|
{ "name": "localize" },
|
|
3766
3766
|
{
|
|
3767
3767
|
"name": "variant",
|
|
3768
|
-
"description": "The sd-5-
|
|
3768
|
+
"description": "The sd-5-7-0-notification's theme.",
|
|
3769
3769
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3770
3770
|
},
|
|
3771
3771
|
{
|
|
3772
3772
|
"name": "open",
|
|
3773
|
-
"description": "Indicates whether or not sd-5-
|
|
3773
|
+
"description": "Indicates whether or not sd-5-7-0-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3774
3774
|
"type": "boolean"
|
|
3775
3775
|
},
|
|
3776
3776
|
{
|
|
@@ -3780,7 +3780,7 @@
|
|
|
3780
3780
|
},
|
|
3781
3781
|
{
|
|
3782
3782
|
"name": "duration",
|
|
3783
|
-
"description": "The length of time, in milliseconds, the sd-5-
|
|
3783
|
+
"description": "The length of time, in milliseconds, the sd-5-7-0-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own."
|
|
3784
3784
|
},
|
|
3785
3785
|
{
|
|
3786
3786
|
"name": "durationIndicator",
|
|
@@ -3789,7 +3789,7 @@
|
|
|
3789
3789
|
},
|
|
3790
3790
|
{
|
|
3791
3791
|
"name": "toastStack",
|
|
3792
|
-
"description": "The position of the toasted sd-5-
|
|
3792
|
+
"description": "The position of the toasted sd-5-7-0-notification.",
|
|
3793
3793
|
"type": "'top-right' | 'bottom-center'"
|
|
3794
3794
|
},
|
|
3795
3795
|
{
|
|
@@ -3824,8 +3824,8 @@
|
|
|
3824
3824
|
}
|
|
3825
3825
|
},
|
|
3826
3826
|
{
|
|
3827
|
-
"name": "sd-5-
|
|
3828
|
-
"description": "The <sd-5-
|
|
3827
|
+
"name": "sd-5-7-0-optgroup",
|
|
3828
|
+
"description": "The <sd-5-7-0-optgroup> element creates a grouping for <sd-5-7-0-option>s within a <sd-5-7-0-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-5-7-0-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-5-7-0-option> elements.",
|
|
3829
3829
|
"doc-url": "",
|
|
3830
3830
|
"attributes": [
|
|
3831
3831
|
{
|
|
@@ -3852,7 +3852,7 @@
|
|
|
3852
3852
|
"slots": [
|
|
3853
3853
|
{
|
|
3854
3854
|
"name": "",
|
|
3855
|
-
"description": "The given options. Must be `<sd-5-
|
|
3855
|
+
"description": "The given options. Must be `<sd-5-7-0-option>` elements."
|
|
3856
3856
|
},
|
|
3857
3857
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3858
3858
|
],
|
|
@@ -3884,18 +3884,18 @@
|
|
|
3884
3884
|
}
|
|
3885
3885
|
},
|
|
3886
3886
|
{
|
|
3887
|
-
"name": "sd-5-
|
|
3888
|
-
"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-
|
|
3887
|
+
"name": "sd-5-7-0-option",
|
|
3888
|
+
"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-7-0-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
|
|
3889
3889
|
"doc-url": "",
|
|
3890
3890
|
"attributes": [
|
|
3891
3891
|
{
|
|
3892
3892
|
"name": "size",
|
|
3893
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-
|
|
3893
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-7-0-select`.",
|
|
3894
3894
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
3895
3895
|
},
|
|
3896
3896
|
{
|
|
3897
3897
|
"name": "checkbox",
|
|
3898
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-
|
|
3898
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-7-0-select` when attribute `checklist` is set to `true`.",
|
|
3899
3899
|
"value": { "type": "boolean", "default": "false" }
|
|
3900
3900
|
},
|
|
3901
3901
|
{
|
|
@@ -3935,12 +3935,12 @@
|
|
|
3935
3935
|
"properties": [
|
|
3936
3936
|
{
|
|
3937
3937
|
"name": "size",
|
|
3938
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-
|
|
3938
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-7-0-select`.",
|
|
3939
3939
|
"type": "'lg' | 'md' | 'sm'"
|
|
3940
3940
|
},
|
|
3941
3941
|
{
|
|
3942
3942
|
"name": "checkbox",
|
|
3943
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-
|
|
3943
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-7-0-select` when attribute `checklist` is set to `true`.",
|
|
3944
3944
|
"type": "boolean"
|
|
3945
3945
|
},
|
|
3946
3946
|
{
|
|
@@ -3968,7 +3968,7 @@
|
|
|
3968
3968
|
}
|
|
3969
3969
|
},
|
|
3970
3970
|
{
|
|
3971
|
-
"name": "sd-5-
|
|
3971
|
+
"name": "sd-5-7-0-popup",
|
|
3972
3972
|
"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.",
|
|
3973
3973
|
"doc-url": "",
|
|
3974
3974
|
"attributes": [
|
|
@@ -4248,8 +4248,8 @@
|
|
|
4248
4248
|
}
|
|
4249
4249
|
},
|
|
4250
4250
|
{
|
|
4251
|
-
"name": "sd-5-
|
|
4252
|
-
"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-
|
|
4251
|
+
"name": "sd-5-7-0-quickfact",
|
|
4252
|
+
"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-7-0-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-7-0-icon>`.\n\n### **CSS Parts:**\n - **icon** - The container that wraps the icon.\n- **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
4253
4253
|
"doc-url": "",
|
|
4254
4254
|
"attributes": [
|
|
4255
4255
|
{
|
|
@@ -4281,7 +4281,7 @@
|
|
|
4281
4281
|
"slots": [
|
|
4282
4282
|
{
|
|
4283
4283
|
"name": "icon",
|
|
4284
|
-
"description": "Optional icon to show in the header. Works best with `<sd-5-
|
|
4284
|
+
"description": "Optional icon to show in the header. Works best with `<sd-5-7-0-icon>`."
|
|
4285
4285
|
},
|
|
4286
4286
|
{ "name": "", "description": "The accordion main content." },
|
|
4287
4287
|
{
|
|
@@ -4290,11 +4290,11 @@
|
|
|
4290
4290
|
},
|
|
4291
4291
|
{
|
|
4292
4292
|
"name": "expand-icon",
|
|
4293
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-
|
|
4293
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
4294
4294
|
},
|
|
4295
4295
|
{
|
|
4296
4296
|
"name": "collapse-icon",
|
|
4297
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-
|
|
4297
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-7-0-icon>`."
|
|
4298
4298
|
}
|
|
4299
4299
|
],
|
|
4300
4300
|
"events": [
|
|
@@ -4366,7 +4366,7 @@
|
|
|
4366
4366
|
}
|
|
4367
4367
|
},
|
|
4368
4368
|
{
|
|
4369
|
-
"name": "sd-5-
|
|
4369
|
+
"name": "sd-5-7-0-radio",
|
|
4370
4370
|
"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.",
|
|
4371
4371
|
"doc-url": "",
|
|
4372
4372
|
"attributes": [
|
|
@@ -4468,7 +4468,7 @@
|
|
|
4468
4468
|
}
|
|
4469
4469
|
},
|
|
4470
4470
|
{
|
|
4471
|
-
"name": "sd-5-
|
|
4471
|
+
"name": "sd-5-7-0-radio-button",
|
|
4472
4472
|
"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.",
|
|
4473
4473
|
"doc-url": "",
|
|
4474
4474
|
"attributes": [
|
|
@@ -4563,8 +4563,8 @@
|
|
|
4563
4563
|
}
|
|
4564
4564
|
},
|
|
4565
4565
|
{
|
|
4566
|
-
"name": "sd-5-
|
|
4567
|
-
"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-
|
|
4566
|
+
"name": "sd-5-7-0-radio-group",
|
|
4567
|
+
"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-7-0-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus()** - Move focus to the checked radio (or the first one if none are checked)\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-5-7-0-radio>` or `<sd-5-7-0-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-7-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
4568
4568
|
"doc-url": "",
|
|
4569
4569
|
"attributes": [
|
|
4570
4570
|
{
|
|
@@ -4629,7 +4629,7 @@
|
|
|
4629
4629
|
"slots": [
|
|
4630
4630
|
{
|
|
4631
4631
|
"name": "",
|
|
4632
|
-
"description": "The default slot where `<sd-5-
|
|
4632
|
+
"description": "The default slot where `<sd-5-7-0-radio>` or `<sd-5-7-0-radio-button>` elements are placed."
|
|
4633
4633
|
},
|
|
4634
4634
|
{
|
|
4635
4635
|
"name": "label",
|
|
@@ -4641,7 +4641,7 @@
|
|
|
4641
4641
|
},
|
|
4642
4642
|
{
|
|
4643
4643
|
"name": "tooltip",
|
|
4644
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-
|
|
4644
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-7-0-tooltip` component."
|
|
4645
4645
|
}
|
|
4646
4646
|
],
|
|
4647
4647
|
"events": [
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
"description": "Emitted when the radio group's selected value changes."
|
|
4651
4651
|
},
|
|
4652
4652
|
{
|
|
4653
|
-
"name": "sd-5-
|
|
4653
|
+
"name": "sd-5-7-0-input",
|
|
4654
4654
|
"description": "Emitted when the radio group receives user input."
|
|
4655
4655
|
},
|
|
4656
4656
|
{
|
|
@@ -4730,7 +4730,7 @@
|
|
|
4730
4730
|
"description": "Emitted when the radio group's selected value changes."
|
|
4731
4731
|
},
|
|
4732
4732
|
{
|
|
4733
|
-
"name": "sd-5-
|
|
4733
|
+
"name": "sd-5-7-0-input",
|
|
4734
4734
|
"description": "Emitted when the radio group receives user input."
|
|
4735
4735
|
},
|
|
4736
4736
|
{
|
|
@@ -4741,7 +4741,7 @@
|
|
|
4741
4741
|
}
|
|
4742
4742
|
},
|
|
4743
4743
|
{
|
|
4744
|
-
"name": "sd-5-
|
|
4744
|
+
"name": "sd-5-7-0-scrollable",
|
|
4745
4745
|
"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.",
|
|
4746
4746
|
"doc-url": "",
|
|
4747
4747
|
"attributes": [
|
|
@@ -4902,8 +4902,8 @@
|
|
|
4902
4902
|
}
|
|
4903
4903
|
},
|
|
4904
4904
|
{
|
|
4905
|
-
"name": "sd-5-
|
|
4906
|
-
"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-
|
|
4905
|
+
"name": "sd-5-7-0-select",
|
|
4906
|
+
"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-7-0-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-5-7-0-option>` elements. You can use `<sd-5-7-0-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
4907
4907
|
"doc-url": "",
|
|
4908
4908
|
"attributes": [
|
|
4909
4909
|
{
|
|
@@ -4963,7 +4963,7 @@
|
|
|
4963
4963
|
},
|
|
4964
4964
|
{
|
|
4965
4965
|
"name": "useTags",
|
|
4966
|
-
"description": "Uses interactive `sd-5-
|
|
4966
|
+
"description": "Uses interactive `sd-5-7-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
4967
4967
|
"value": { "type": "boolean", "default": "false" }
|
|
4968
4968
|
},
|
|
4969
4969
|
{
|
|
@@ -5022,7 +5022,7 @@
|
|
|
5022
5022
|
"slots": [
|
|
5023
5023
|
{
|
|
5024
5024
|
"name": "",
|
|
5025
|
-
"description": "The listbox options. Must be `<sd-5-
|
|
5025
|
+
"description": "The listbox options. Must be `<sd-5-7-0-option>` elements. You can use `<sd-5-7-0-divider>` to group items visually."
|
|
5026
5026
|
},
|
|
5027
5027
|
{
|
|
5028
5028
|
"name": "label",
|
|
@@ -5042,7 +5042,7 @@
|
|
|
5042
5042
|
},
|
|
5043
5043
|
{
|
|
5044
5044
|
"name": "tooltip",
|
|
5045
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-
|
|
5045
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component."
|
|
5046
5046
|
}
|
|
5047
5047
|
],
|
|
5048
5048
|
"events": [
|
|
@@ -5055,7 +5055,7 @@
|
|
|
5055
5055
|
"description": "Emitted when the control's value is cleared."
|
|
5056
5056
|
},
|
|
5057
5057
|
{
|
|
5058
|
-
"name": "sd-5-
|
|
5058
|
+
"name": "sd-5-7-0-input",
|
|
5059
5059
|
"description": "Emitted when the control receives input."
|
|
5060
5060
|
},
|
|
5061
5061
|
{
|
|
@@ -5154,7 +5154,7 @@
|
|
|
5154
5154
|
},
|
|
5155
5155
|
{
|
|
5156
5156
|
"name": "useTags",
|
|
5157
|
-
"description": "Uses interactive `sd-5-
|
|
5157
|
+
"description": "Uses interactive `sd-5-7-0-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5158
5158
|
"type": "boolean"
|
|
5159
5159
|
},
|
|
5160
5160
|
{
|
|
@@ -5221,7 +5221,7 @@
|
|
|
5221
5221
|
"description": "Emitted when the control's value is cleared."
|
|
5222
5222
|
},
|
|
5223
5223
|
{
|
|
5224
|
-
"name": "sd-5-
|
|
5224
|
+
"name": "sd-5-7-0-input",
|
|
5225
5225
|
"description": "Emitted when the control receives input."
|
|
5226
5226
|
},
|
|
5227
5227
|
{
|
|
@@ -5256,7 +5256,7 @@
|
|
|
5256
5256
|
}
|
|
5257
5257
|
},
|
|
5258
5258
|
{
|
|
5259
|
-
"name": "sd-5-
|
|
5259
|
+
"name": "sd-5-7-0-spinner",
|
|
5260
5260
|
"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.",
|
|
5261
5261
|
"doc-url": "",
|
|
5262
5262
|
"attributes": [
|
|
@@ -5303,7 +5303,7 @@
|
|
|
5303
5303
|
}
|
|
5304
5304
|
},
|
|
5305
5305
|
{
|
|
5306
|
-
"name": "sd-5-
|
|
5306
|
+
"name": "sd-5-7-0-step",
|
|
5307
5307
|
"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.",
|
|
5308
5308
|
"doc-url": "",
|
|
5309
5309
|
"attributes": [
|
|
@@ -5466,8 +5466,8 @@
|
|
|
5466
5466
|
}
|
|
5467
5467
|
},
|
|
5468
5468
|
{
|
|
5469
|
-
"name": "sd-5-
|
|
5470
|
-
"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-
|
|
5469
|
+
"name": "sd-5-7-0-step-group",
|
|
5470
|
+
"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-7-0-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5471
5471
|
"doc-url": "",
|
|
5472
5472
|
"attributes": [
|
|
5473
5473
|
{
|
|
@@ -5512,7 +5512,7 @@
|
|
|
5512
5512
|
"slots": [
|
|
5513
5513
|
{
|
|
5514
5514
|
"name": "",
|
|
5515
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-5-
|
|
5515
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-5-7-0-step>` elements."
|
|
5516
5516
|
}
|
|
5517
5517
|
],
|
|
5518
5518
|
"events": [],
|
|
@@ -5558,8 +5558,8 @@
|
|
|
5558
5558
|
}
|
|
5559
5559
|
},
|
|
5560
5560
|
{
|
|
5561
|
-
"name": "sd-5-
|
|
5562
|
-
"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-
|
|
5561
|
+
"name": "sd-5-7-0-switch",
|
|
5562
|
+
"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-7-0-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
|
5563
5563
|
"doc-url": "",
|
|
5564
5564
|
"attributes": [
|
|
5565
5565
|
{
|
|
@@ -5623,7 +5623,7 @@
|
|
|
5623
5623
|
"description": "Emitted when the switch gains focus."
|
|
5624
5624
|
},
|
|
5625
5625
|
{
|
|
5626
|
-
"name": "sd-5-
|
|
5626
|
+
"name": "sd-5-7-0-input",
|
|
5627
5627
|
"description": "Emitted when the switch receives input."
|
|
5628
5628
|
}
|
|
5629
5629
|
],
|
|
@@ -5698,14 +5698,14 @@
|
|
|
5698
5698
|
"description": "Emitted when the switch gains focus."
|
|
5699
5699
|
},
|
|
5700
5700
|
{
|
|
5701
|
-
"name": "sd-5-
|
|
5701
|
+
"name": "sd-5-7-0-input",
|
|
5702
5702
|
"description": "Emitted when the switch receives input."
|
|
5703
5703
|
}
|
|
5704
5704
|
]
|
|
5705
5705
|
}
|
|
5706
5706
|
},
|
|
5707
5707
|
{
|
|
5708
|
-
"name": "sd-5-
|
|
5708
|
+
"name": "sd-5-7-0-tab",
|
|
5709
5709
|
"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.",
|
|
5710
5710
|
"doc-url": "",
|
|
5711
5711
|
"attributes": [
|
|
@@ -5798,8 +5798,8 @@
|
|
|
5798
5798
|
}
|
|
5799
5799
|
},
|
|
5800
5800
|
{
|
|
5801
|
-
"name": "sd-5-
|
|
5802
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-
|
|
5801
|
+
"name": "sd-5-7-0-tab-group",
|
|
5802
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-7-0-tab-show** - Emitted when a tab is shown.\n- **sd-5-7-0-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-5-7-0-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-5-7-0-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
5803
5803
|
"doc-url": "",
|
|
5804
5804
|
"attributes": [
|
|
5805
5805
|
{
|
|
@@ -5821,21 +5821,21 @@
|
|
|
5821
5821
|
"slots": [
|
|
5822
5822
|
{
|
|
5823
5823
|
"name": "",
|
|
5824
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-
|
|
5824
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-7-0-tab-panel>` elements."
|
|
5825
5825
|
},
|
|
5826
5826
|
{
|
|
5827
5827
|
"name": "nav",
|
|
5828
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-
|
|
5828
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-7-0-tab>` elements."
|
|
5829
5829
|
}
|
|
5830
5830
|
],
|
|
5831
5831
|
"events": [
|
|
5832
5832
|
{
|
|
5833
|
-
"name": "sd-5-
|
|
5833
|
+
"name": "sd-5-7-0-tab-show",
|
|
5834
5834
|
"type": "{ name: String }",
|
|
5835
5835
|
"description": "Emitted when a tab is shown."
|
|
5836
5836
|
},
|
|
5837
5837
|
{
|
|
5838
|
-
"name": "sd-5-
|
|
5838
|
+
"name": "sd-5-7-0-tab-hide",
|
|
5839
5839
|
"type": "{ name: String }",
|
|
5840
5840
|
"description": "Emitted when a tab is hidden."
|
|
5841
5841
|
}
|
|
@@ -5861,12 +5861,12 @@
|
|
|
5861
5861
|
],
|
|
5862
5862
|
"events": [
|
|
5863
5863
|
{
|
|
5864
|
-
"name": "sd-5-
|
|
5864
|
+
"name": "sd-5-7-0-tab-show",
|
|
5865
5865
|
"type": "{ name: String }",
|
|
5866
5866
|
"description": "Emitted when a tab is shown."
|
|
5867
5867
|
},
|
|
5868
5868
|
{
|
|
5869
|
-
"name": "sd-5-
|
|
5869
|
+
"name": "sd-5-7-0-tab-hide",
|
|
5870
5870
|
"type": "{ name: String }",
|
|
5871
5871
|
"description": "Emitted when a tab is hidden."
|
|
5872
5872
|
}
|
|
@@ -5874,7 +5874,7 @@
|
|
|
5874
5874
|
}
|
|
5875
5875
|
},
|
|
5876
5876
|
{
|
|
5877
|
-
"name": "sd-5-
|
|
5877
|
+
"name": "sd-5-7-0-tab-panel",
|
|
5878
5878
|
"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.",
|
|
5879
5879
|
"doc-url": "",
|
|
5880
5880
|
"attributes": [
|
|
@@ -5928,7 +5928,7 @@
|
|
|
5928
5928
|
}
|
|
5929
5929
|
},
|
|
5930
5930
|
{
|
|
5931
|
-
"name": "sd-5-
|
|
5931
|
+
"name": "sd-5-7-0-tag",
|
|
5932
5932
|
"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.",
|
|
5933
5933
|
"doc-url": "",
|
|
5934
5934
|
"attributes": [
|
|
@@ -6090,7 +6090,7 @@
|
|
|
6090
6090
|
}
|
|
6091
6091
|
},
|
|
6092
6092
|
{
|
|
6093
|
-
"name": "sd-5-
|
|
6093
|
+
"name": "sd-5-7-0-teaser",
|
|
6094
6094
|
"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.",
|
|
6095
6095
|
"doc-url": "",
|
|
6096
6096
|
"attributes": [
|
|
@@ -6112,6 +6112,11 @@
|
|
|
6112
6112
|
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6113
6113
|
"value": { "type": "boolean", "default": "false" }
|
|
6114
6114
|
},
|
|
6115
|
+
{
|
|
6116
|
+
"name": "reversed-layout",
|
|
6117
|
+
"description": "Reverses the layout in horizontal variant",
|
|
6118
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6119
|
+
},
|
|
6115
6120
|
{
|
|
6116
6121
|
"name": "dir",
|
|
6117
6122
|
"description": "The element's directionality.",
|
|
@@ -6147,6 +6152,11 @@
|
|
|
6147
6152
|
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6148
6153
|
"type": "boolean"
|
|
6149
6154
|
},
|
|
6155
|
+
{
|
|
6156
|
+
"name": "reversedLayout",
|
|
6157
|
+
"description": "Reverses the layout in horizontal variant",
|
|
6158
|
+
"type": "boolean"
|
|
6159
|
+
},
|
|
6150
6160
|
{
|
|
6151
6161
|
"name": "dir",
|
|
6152
6162
|
"description": "The element's directionality.",
|
|
@@ -6162,7 +6172,7 @@
|
|
|
6162
6172
|
}
|
|
6163
6173
|
},
|
|
6164
6174
|
{
|
|
6165
|
-
"name": "sd-5-
|
|
6175
|
+
"name": "sd-5-7-0-teaser-media",
|
|
6166
6176
|
"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.",
|
|
6167
6177
|
"doc-url": "",
|
|
6168
6178
|
"attributes": [
|
|
@@ -6218,8 +6228,8 @@
|
|
|
6218
6228
|
}
|
|
6219
6229
|
},
|
|
6220
6230
|
{
|
|
6221
|
-
"name": "sd-5-
|
|
6222
|
-
"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-
|
|
6231
|
+
"name": "sd-5-7-0-textarea",
|
|
6232
|
+
"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-7-0-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
6223
6233
|
"doc-url": "",
|
|
6224
6234
|
"attributes": [
|
|
6225
6235
|
{
|
|
@@ -6363,7 +6373,7 @@
|
|
|
6363
6373
|
},
|
|
6364
6374
|
{
|
|
6365
6375
|
"name": "tooltip",
|
|
6366
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-
|
|
6376
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-7-0-tooltip` component."
|
|
6367
6377
|
}
|
|
6368
6378
|
],
|
|
6369
6379
|
"events": [
|
|
@@ -6380,7 +6390,7 @@
|
|
|
6380
6390
|
"description": "Emitted when the control gains focus."
|
|
6381
6391
|
},
|
|
6382
6392
|
{
|
|
6383
|
-
"name": "sd-5-
|
|
6393
|
+
"name": "sd-5-7-0-input",
|
|
6384
6394
|
"description": "Emitted when the control receives input."
|
|
6385
6395
|
},
|
|
6386
6396
|
{
|
|
@@ -6543,7 +6553,7 @@
|
|
|
6543
6553
|
"description": "Emitted when the control gains focus."
|
|
6544
6554
|
},
|
|
6545
6555
|
{
|
|
6546
|
-
"name": "sd-5-
|
|
6556
|
+
"name": "sd-5-7-0-input",
|
|
6547
6557
|
"description": "Emitted when the control receives input."
|
|
6548
6558
|
},
|
|
6549
6559
|
{
|
|
@@ -6554,8 +6564,8 @@
|
|
|
6554
6564
|
}
|
|
6555
6565
|
},
|
|
6556
6566
|
{
|
|
6557
|
-
"name": "sd-5-
|
|
6558
|
-
"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-
|
|
6567
|
+
"name": "sd-5-7-0-tooltip",
|
|
6568
|
+
"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-7-0-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
6559
6569
|
"doc-url": "",
|
|
6560
6570
|
"attributes": [
|
|
6561
6571
|
{
|
|
@@ -6710,7 +6720,7 @@
|
|
|
6710
6720
|
}
|
|
6711
6721
|
},
|
|
6712
6722
|
{
|
|
6713
|
-
"name": "sd-5-
|
|
6723
|
+
"name": "sd-5-7-0-video",
|
|
6714
6724
|
"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.",
|
|
6715
6725
|
"doc-url": "",
|
|
6716
6726
|
"attributes": [
|