@solid-design-system/components 5.15.0 → 5.15.2
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.P46TXTLQ.js → chunk.N2QTZPQZ.js} +1 -1
- package/cdn/chunks/{chunk.QEIRLXKH.js → chunk.Y6QP3CKR.js} +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/custom-elements.json +224 -224
- package/cdn/solid-components.bundle.js +2 -2
- package/cdn/solid-components.iife.js +2 -2
- package/cdn/solid-components.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -42
- package/cdn/web-types.json +66 -66
- package/cdn-versioned/chunks/chunk.2FN4O4QC.js +1 -1
- package/cdn-versioned/chunks/chunk.35Q2HMDE.js +1 -1
- package/cdn-versioned/chunks/chunk.3G25QQJC.js +1 -1
- package/cdn-versioned/chunks/chunk.3HSQ2Z2H.js +1 -1
- package/cdn-versioned/chunks/chunk.3NXEOOQY.js +1 -1
- package/cdn-versioned/chunks/chunk.3QQBA7ZB.js +1 -1
- package/cdn-versioned/chunks/chunk.5NCRVBOH.js +1 -1
- package/cdn-versioned/chunks/chunk.5WKY435J.js +1 -1
- package/cdn-versioned/chunks/chunk.64FNEKLV.js +1 -1
- package/cdn-versioned/chunks/chunk.75YRQDIX.js +1 -1
- package/cdn-versioned/chunks/chunk.7JV32P5Q.js +1 -1
- package/cdn-versioned/chunks/chunk.A3ATIGVC.js +1 -1
- package/cdn-versioned/chunks/chunk.AVDTGVC2.js +1 -1
- package/cdn-versioned/chunks/chunk.B3ARBH5A.js +4 -4
- package/cdn-versioned/chunks/chunk.BUJEQKP4.js +1 -1
- package/cdn-versioned/chunks/chunk.BVQEQFOI.js +1 -1
- package/cdn-versioned/chunks/chunk.CBATEBTB.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CLJGWFHA.js +1 -1
- package/cdn-versioned/chunks/chunk.DKI2UXRQ.js +1 -1
- package/cdn-versioned/chunks/chunk.F4HX43DG.js +1 -1
- package/cdn-versioned/chunks/chunk.FT6CHNH7.js +1 -1
- package/cdn-versioned/chunks/chunk.FVYMXJRE.js +1 -1
- package/cdn-versioned/chunks/chunk.GKULTMOH.js +1 -1
- package/cdn-versioned/chunks/chunk.GYYHNTEP.js +1 -1
- package/cdn-versioned/chunks/chunk.HMHMBWUC.js +1 -1
- package/cdn-versioned/chunks/chunk.IARZ5WX7.js +2 -2
- package/cdn-versioned/chunks/chunk.IHKACSKZ.js +1 -1
- package/cdn-versioned/chunks/chunk.KD5YA4NW.js +1 -1
- package/cdn-versioned/chunks/chunk.KEJGWWON.js +1 -1
- package/cdn-versioned/chunks/chunk.KTS2L7KB.js +1 -1
- package/cdn-versioned/chunks/chunk.KUNW6IVR.js +1 -1
- package/cdn-versioned/chunks/chunk.KVLS3OE7.js +1 -1
- package/cdn-versioned/chunks/chunk.LMYU4GM4.js +1 -1
- package/cdn-versioned/chunks/chunk.MCRPEKBH.js +1 -1
- package/cdn-versioned/chunks/{chunk.P46TXTLQ.js → chunk.N2QTZPQZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.N7TPWVK3.js +1 -1
- package/cdn-versioned/chunks/chunk.NMJKLBZG.js +1 -1
- package/cdn-versioned/chunks/chunk.NMZIXMMF.js +1 -1
- package/cdn-versioned/chunks/chunk.NOCXFEZL.js +1 -1
- package/cdn-versioned/chunks/chunk.NQF6SSZQ.js +1 -1
- package/cdn-versioned/chunks/chunk.O7S6H4U5.js +1 -1
- package/cdn-versioned/chunks/chunk.OGCPYUUV.js +1 -1
- package/cdn-versioned/chunks/chunk.PM5HD6JE.js +1 -1
- package/cdn-versioned/chunks/chunk.QHS7ZRVI.js +1 -1
- package/cdn-versioned/chunks/chunk.QY23RB35.js +1 -1
- package/cdn-versioned/chunks/chunk.R4E7AJDS.js +1 -1
- package/cdn-versioned/chunks/chunk.S2746Y7L.js +1 -1
- package/cdn-versioned/chunks/chunk.SX7AMKP2.js +2 -2
- package/cdn-versioned/chunks/chunk.TPVQ7ZU3.js +1 -1
- package/cdn-versioned/chunks/chunk.VINV25A7.js +1 -1
- package/cdn-versioned/chunks/chunk.VPECZPLY.js +1 -1
- package/cdn-versioned/chunks/chunk.VVM6Q5W5.js +4 -4
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WOVNF4UB.js +1 -1
- package/cdn-versioned/chunks/chunk.X67M4VEV.js +1 -1
- package/cdn-versioned/chunks/{chunk.QEIRLXKH.js → chunk.Y6QP3CKR.js} +1 -1
- package/cdn-versioned/chunks/chunk.YGMAKCAO.js +1 -1
- package/cdn-versioned/chunks/chunk.Z2YNXRLX.js +1 -1
- package/cdn-versioned/chunks/chunk.Z5LJ5HLC.js +1 -1
- package/cdn-versioned/chunks/chunk.ZEI6MVG3.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +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/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.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/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 +457 -457
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +14 -14
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +14 -14
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +131 -131
- package/cdn-versioned/web-types.json +217 -217
- package/dist/chunks/{chunk.RQVQQ7ZE.js → chunk.T5YQM2UK.js} +1 -1
- package/dist/chunks/{chunk.JQJXSQKT.js → chunk.ZOGRR75S.js} +4 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/navigation-item/navigation-item.js +1 -1
- package/dist/custom-elements.json +224 -224
- package/dist/solid-components.js +2 -2
- package/dist/vscode.html-custom-data.json +42 -42
- package/dist/web-types.json +66 -66
- package/dist-versioned/chunks/chunk.26VYQIOD.js +3 -3
- package/dist-versioned/chunks/chunk.2MJJHZR4.js +24 -24
- package/dist-versioned/chunks/chunk.32WTYFY6.js +4 -4
- package/dist-versioned/chunks/chunk.37LBEMXS.js +12 -12
- package/dist-versioned/chunks/chunk.37TNCACC.js +2 -2
- package/dist-versioned/chunks/chunk.3EQ2WOVC.js +2 -2
- package/dist-versioned/chunks/chunk.4FYYKKBL.js +3 -3
- package/dist-versioned/chunks/chunk.4I4QBVGB.js +3 -3
- package/dist-versioned/chunks/chunk.5KQPPIBZ.js +2 -2
- package/dist-versioned/chunks/chunk.5LLVB6R3.js +5 -5
- package/dist-versioned/chunks/chunk.5PM33S4N.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7YQJWIYJ.js +1 -1
- package/dist-versioned/chunks/chunk.AE3WPKVR.js +1 -1
- package/dist-versioned/chunks/chunk.AHMEVJMX.js +1 -1
- package/dist-versioned/chunks/chunk.ALVVYYIR.js +1 -1
- package/dist-versioned/chunks/chunk.ANOMYZE3.js +11 -11
- package/dist-versioned/chunks/chunk.B3PDWSAO.js +2 -2
- package/dist-versioned/chunks/chunk.B4AW33FC.js +1 -1
- package/dist-versioned/chunks/chunk.B6FL47S6.js +2 -2
- package/dist-versioned/chunks/chunk.BA3MSKPQ.js +5 -5
- package/dist-versioned/chunks/chunk.BDUEFRPO.js +2 -2
- package/dist-versioned/chunks/chunk.BJ6QDKVA.js +4 -4
- package/dist-versioned/chunks/chunk.BMFACTFH.js +3 -3
- package/dist-versioned/chunks/chunk.C332XERU.js +2 -2
- package/dist-versioned/chunks/chunk.CNDCBFFV.js +1 -1
- package/dist-versioned/chunks/chunk.CS6G3MPN.js +2 -2
- package/dist-versioned/chunks/chunk.DIXRYCRP.js +1 -1
- package/dist-versioned/chunks/chunk.EYGJ6QWJ.js +1 -1
- package/dist-versioned/chunks/chunk.GGCTLJ4D.js +2 -2
- package/dist-versioned/chunks/chunk.GIS5TWPR.js +1 -1
- package/dist-versioned/chunks/chunk.HMK6KRAR.js +6 -6
- package/dist-versioned/chunks/chunk.HV3AJIJO.js +1 -1
- package/dist-versioned/chunks/chunk.I2LO4IGY.js +3 -3
- package/dist-versioned/chunks/chunk.JW5YX4GK.js +2 -2
- package/dist-versioned/chunks/chunk.K2DJQDJ4.js +1 -1
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KNWAH4Z5.js +1 -1
- package/dist-versioned/chunks/chunk.KPWKRZGL.js +14 -14
- package/dist-versioned/chunks/chunk.KQLO4TZ5.js +2 -2
- package/dist-versioned/chunks/chunk.LGELFCZP.js +2 -2
- package/dist-versioned/chunks/chunk.MHLZ7GKR.js +12 -12
- package/dist-versioned/chunks/chunk.NAFCDIL3.js +26 -26
- package/dist-versioned/chunks/chunk.NFY6NE6Z.js +2 -2
- package/dist-versioned/chunks/chunk.NXS7DO7N.js +1 -1
- package/dist-versioned/chunks/chunk.PBEPE2U7.js +2 -2
- package/dist-versioned/chunks/chunk.QCA2GRRO.js +5 -5
- package/dist-versioned/chunks/chunk.RUNTBTHS.js +1 -1
- package/dist-versioned/chunks/chunk.SGJLP4HM.js +2 -2
- package/dist-versioned/chunks/chunk.SMMMT4SZ.js +8 -8
- package/dist-versioned/chunks/chunk.SRLNYSZB.js +5 -5
- package/dist-versioned/chunks/chunk.SV7PKNLF.js +4 -4
- package/dist-versioned/chunks/{chunk.RQVQQ7ZE.js → chunk.T5YQM2UK.js} +7 -7
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.VGC5A42Q.js +1 -1
- package/dist-versioned/chunks/chunk.WFIIU6PJ.js +3 -3
- package/dist-versioned/chunks/chunk.WUIOLD72.js +6 -6
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/chunk.XWZNY4BH.js +3 -3
- package/dist-versioned/chunks/chunk.ZK4EFZJB.js +1 -1
- package/dist-versioned/chunks/{chunk.JQJXSQKT.js → chunk.ZOGRR75S.js} +7 -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/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +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/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +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/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +457 -457
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +131 -131
- package/dist-versioned/web-types.json +217 -217
- package/package.json +1 -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.15.
|
|
4
|
+
"version": "5.15.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-5-15-
|
|
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-15-
|
|
10
|
+
"name": "sd-5-15-2-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-15-2-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-15-2-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-15-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-15-2-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-15-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-5-15-
|
|
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-15-
|
|
114
|
+
"name": "sd-5-15-2-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-15-2-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-15-
|
|
137
|
+
"description": "The default slot where `<sd-5-15-2-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-15-
|
|
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-15-
|
|
163
|
+
"name": "sd-5-15-2-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-15-2-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-15-
|
|
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-15-2-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-5-15-
|
|
348
|
+
"name": "sd-5-15-2-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": [
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
"name": "sd-5-15-
|
|
505
|
+
"name": "sd-5-15-2-badge",
|
|
506
506
|
"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.",
|
|
507
507
|
"doc-url": "",
|
|
508
508
|
"attributes": [
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
|
-
"name": "sd-5-15-
|
|
572
|
+
"name": "sd-5-15-2-brandshape",
|
|
573
573
|
"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.",
|
|
574
574
|
"doc-url": "",
|
|
575
575
|
"attributes": [
|
|
@@ -635,8 +635,8 @@
|
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
"name": "sd-5-15-
|
|
639
|
-
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-5-15-
|
|
638
|
+
"name": "sd-5-15-2-breadcrumb",
|
|
639
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-5-15-2-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
640
640
|
"doc-url": "",
|
|
641
641
|
"attributes": [
|
|
642
642
|
{
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
"slots": [
|
|
659
659
|
{
|
|
660
660
|
"name": "",
|
|
661
|
-
"description": "`sd-5-15-
|
|
661
|
+
"description": "`sd-5-15-2-breadcrumb-item` elements to display in the breadcrumb."
|
|
662
662
|
}
|
|
663
663
|
],
|
|
664
664
|
"events": [],
|
|
@@ -687,7 +687,72 @@
|
|
|
687
687
|
}
|
|
688
688
|
},
|
|
689
689
|
{
|
|
690
|
-
"name": "sd-5-15-
|
|
690
|
+
"name": "sd-5-15-2-breadcrumb-item",
|
|
691
|
+
"description": "An individual breadcrumb item for use exclusively within the `sd-5-15-2-breadcrumb`.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
692
|
+
"doc-url": "",
|
|
693
|
+
"attributes": [
|
|
694
|
+
{
|
|
695
|
+
"name": "href",
|
|
696
|
+
"description": "When not set, the breadcrumb will render as disabled.",
|
|
697
|
+
"value": { "type": "string", "default": "''" }
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "target",
|
|
701
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
702
|
+
"value": { "type": "'_blank' | '_parent' | '_self' | '_top'" }
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "current",
|
|
706
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
707
|
+
"value": { "type": "boolean", "default": "false" }
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "dir",
|
|
711
|
+
"description": "The element's directionality.",
|
|
712
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "lang",
|
|
716
|
+
"description": "The element's language.",
|
|
717
|
+
"value": { "type": "string" }
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"slots": [{ "name": "", "description": "The breadcrumb label." }],
|
|
721
|
+
"events": [],
|
|
722
|
+
"js": {
|
|
723
|
+
"properties": [
|
|
724
|
+
{ "name": "localize" },
|
|
725
|
+
{
|
|
726
|
+
"name": "href",
|
|
727
|
+
"description": "When not set, the breadcrumb will render as disabled.",
|
|
728
|
+
"type": "string"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "target",
|
|
732
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
733
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "current",
|
|
737
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
738
|
+
"type": "boolean"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "dir",
|
|
742
|
+
"description": "The element's directionality.",
|
|
743
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "lang",
|
|
747
|
+
"description": "The element's language.",
|
|
748
|
+
"type": "string"
|
|
749
|
+
}
|
|
750
|
+
],
|
|
751
|
+
"events": []
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "sd-5-15-2-button",
|
|
691
756
|
"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.",
|
|
692
757
|
"doc-url": "",
|
|
693
758
|
"attributes": [
|
|
@@ -963,8 +1028,8 @@
|
|
|
963
1028
|
}
|
|
964
1029
|
},
|
|
965
1030
|
{
|
|
966
|
-
"name": "sd-5-15-
|
|
967
|
-
"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-15-
|
|
1031
|
+
"name": "sd-5-15-2-button-group",
|
|
1032
|
+
"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-15-2-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
968
1033
|
"doc-url": "",
|
|
969
1034
|
"attributes": [
|
|
970
1035
|
{
|
|
@@ -986,7 +1051,7 @@
|
|
|
986
1051
|
"slots": [
|
|
987
1052
|
{
|
|
988
1053
|
"name": "",
|
|
989
|
-
"description": "One or more `<sd-5-15-
|
|
1054
|
+
"description": "One or more `<sd-5-15-2-button>` elements to display in the button group."
|
|
990
1055
|
}
|
|
991
1056
|
],
|
|
992
1057
|
"events": [],
|
|
@@ -1013,8 +1078,8 @@
|
|
|
1013
1078
|
}
|
|
1014
1079
|
},
|
|
1015
1080
|
{
|
|
1016
|
-
"name": "sd-5-15-
|
|
1017
|
-
"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-15-
|
|
1081
|
+
"name": "sd-5-15-2-carousel",
|
|
1082
|
+
"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-15-2-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-5-15-2-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-5-15-2-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-5-15-2-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-5-15-2-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.",
|
|
1018
1083
|
"doc-url": "",
|
|
1019
1084
|
"attributes": [
|
|
1020
1085
|
{
|
|
@@ -1066,23 +1131,23 @@
|
|
|
1066
1131
|
"slots": [
|
|
1067
1132
|
{
|
|
1068
1133
|
"name": "",
|
|
1069
|
-
"description": "The carousel's main content, one or more `<sd-5-15-
|
|
1134
|
+
"description": "The carousel's main content, one or more `<sd-5-15-2-carousel-item>` elements."
|
|
1070
1135
|
},
|
|
1071
1136
|
{
|
|
1072
1137
|
"name": "next-icon",
|
|
1073
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-15-
|
|
1138
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
1074
1139
|
},
|
|
1075
1140
|
{
|
|
1076
1141
|
"name": "previous-icon",
|
|
1077
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-15-
|
|
1142
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
1078
1143
|
},
|
|
1079
1144
|
{
|
|
1080
1145
|
"name": "autoplay-start",
|
|
1081
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-15-
|
|
1146
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
1082
1147
|
},
|
|
1083
1148
|
{
|
|
1084
1149
|
"name": "autoplay-pause",
|
|
1085
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-15-
|
|
1150
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
1086
1151
|
}
|
|
1087
1152
|
],
|
|
1088
1153
|
"events": [
|
|
@@ -1151,7 +1216,7 @@
|
|
|
1151
1216
|
}
|
|
1152
1217
|
},
|
|
1153
1218
|
{
|
|
1154
|
-
"name": "sd-5-15-
|
|
1219
|
+
"name": "sd-5-15-2-carousel-item",
|
|
1155
1220
|
"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.",
|
|
1156
1221
|
"doc-url": "",
|
|
1157
1222
|
"attributes": [
|
|
@@ -1187,8 +1252,8 @@
|
|
|
1187
1252
|
}
|
|
1188
1253
|
},
|
|
1189
1254
|
{
|
|
1190
|
-
"name": "sd-5-15-
|
|
1191
|
-
"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-15-
|
|
1255
|
+
"name": "sd-5-15-2-checkbox",
|
|
1256
|
+
"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-15-2-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-15-2-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-5-15-2-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1192
1257
|
"doc-url": "",
|
|
1193
1258
|
"attributes": [
|
|
1194
1259
|
{
|
|
@@ -1267,7 +1332,7 @@
|
|
|
1267
1332
|
"description": "Emitted when the checkbox gains focus."
|
|
1268
1333
|
},
|
|
1269
1334
|
{
|
|
1270
|
-
"name": "sd-5-15-
|
|
1335
|
+
"name": "sd-5-15-2-input",
|
|
1271
1336
|
"description": "Emitted when the checkbox receives input."
|
|
1272
1337
|
}
|
|
1273
1338
|
],
|
|
@@ -1357,15 +1422,15 @@
|
|
|
1357
1422
|
"description": "Emitted when the checkbox gains focus."
|
|
1358
1423
|
},
|
|
1359
1424
|
{
|
|
1360
|
-
"name": "sd-5-15-
|
|
1425
|
+
"name": "sd-5-15-2-input",
|
|
1361
1426
|
"description": "Emitted when the checkbox receives input."
|
|
1362
1427
|
}
|
|
1363
1428
|
]
|
|
1364
1429
|
}
|
|
1365
1430
|
},
|
|
1366
1431
|
{
|
|
1367
|
-
"name": "sd-5-15-
|
|
1368
|
-
"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-15-
|
|
1432
|
+
"name": "sd-5-15-2-checkbox-group",
|
|
1433
|
+
"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-15-2-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-15-2-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1369
1434
|
"doc-url": "",
|
|
1370
1435
|
"attributes": [
|
|
1371
1436
|
{
|
|
@@ -1405,7 +1470,7 @@
|
|
|
1405
1470
|
"slots": [
|
|
1406
1471
|
{
|
|
1407
1472
|
"name": "",
|
|
1408
|
-
"description": "The default slot where `<sd-5-15-
|
|
1473
|
+
"description": "The default slot where `<sd-5-15-2-checkbox>` elements are placed."
|
|
1409
1474
|
},
|
|
1410
1475
|
{
|
|
1411
1476
|
"name": "label",
|
|
@@ -1413,7 +1478,7 @@
|
|
|
1413
1478
|
},
|
|
1414
1479
|
{
|
|
1415
1480
|
"name": "tooltip",
|
|
1416
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-15-
|
|
1481
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
1417
1482
|
},
|
|
1418
1483
|
{
|
|
1419
1484
|
"name": "help-text",
|
|
@@ -1458,8 +1523,8 @@
|
|
|
1458
1523
|
}
|
|
1459
1524
|
},
|
|
1460
1525
|
{
|
|
1461
|
-
"name": "sd-5-15-
|
|
1462
|
-
"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-15-
|
|
1526
|
+
"name": "sd-5-15-2-combobox",
|
|
1527
|
+
"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-15-2-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-15-2-option>` elements. You can use `<sd-5-15-2-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.",
|
|
1463
1528
|
"doc-url": "",
|
|
1464
1529
|
"attributes": [
|
|
1465
1530
|
{
|
|
@@ -1557,7 +1622,7 @@
|
|
|
1557
1622
|
},
|
|
1558
1623
|
{
|
|
1559
1624
|
"name": "useTags",
|
|
1560
|
-
"description": "Uses interactive `sd-5-15-
|
|
1625
|
+
"description": "Uses interactive `sd-5-15-2-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1561
1626
|
"value": { "type": "boolean", "default": "true" }
|
|
1562
1627
|
},
|
|
1563
1628
|
{
|
|
@@ -1598,7 +1663,7 @@
|
|
|
1598
1663
|
"slots": [
|
|
1599
1664
|
{
|
|
1600
1665
|
"name": "",
|
|
1601
|
-
"description": "The listbox options. Must be `<sd-5-15-
|
|
1666
|
+
"description": "The listbox options. Must be `<sd-5-15-2-option>` elements. You can use `<sd-5-15-2-optgroup>`'s to group items visually."
|
|
1602
1667
|
},
|
|
1603
1668
|
{
|
|
1604
1669
|
"name": "label",
|
|
@@ -1635,7 +1700,7 @@
|
|
|
1635
1700
|
"description": "Emitted when the control's value is cleared."
|
|
1636
1701
|
},
|
|
1637
1702
|
{
|
|
1638
|
-
"name": "sd-5-15-
|
|
1703
|
+
"name": "sd-5-15-2-input",
|
|
1639
1704
|
"description": "Emitted when the control receives input."
|
|
1640
1705
|
},
|
|
1641
1706
|
{
|
|
@@ -1783,7 +1848,7 @@
|
|
|
1783
1848
|
},
|
|
1784
1849
|
{
|
|
1785
1850
|
"name": "useTags",
|
|
1786
|
-
"description": "Uses interactive `sd-5-15-
|
|
1851
|
+
"description": "Uses interactive `sd-5-15-2-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1787
1852
|
"type": "boolean"
|
|
1788
1853
|
},
|
|
1789
1854
|
{
|
|
@@ -1830,7 +1895,7 @@
|
|
|
1830
1895
|
"description": "Emitted when the control's value is cleared."
|
|
1831
1896
|
},
|
|
1832
1897
|
{
|
|
1833
|
-
"name": "sd-5-15-
|
|
1898
|
+
"name": "sd-5-15-2-input",
|
|
1834
1899
|
"description": "Emitted when the control receives input."
|
|
1835
1900
|
},
|
|
1836
1901
|
{
|
|
@@ -1869,8 +1934,8 @@
|
|
|
1869
1934
|
}
|
|
1870
1935
|
},
|
|
1871
1936
|
{
|
|
1872
|
-
"name": "sd-5-15-
|
|
1873
|
-
"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-15-
|
|
1937
|
+
"name": "sd-5-15-2-dialog",
|
|
1938
|
+
"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-15-2-button>` and `<sd-5-15-2-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-15-2-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1874
1939
|
"doc-url": "",
|
|
1875
1940
|
"attributes": [
|
|
1876
1941
|
{
|
|
@@ -1911,7 +1976,7 @@
|
|
|
1911
1976
|
},
|
|
1912
1977
|
{
|
|
1913
1978
|
"name": "close-button",
|
|
1914
|
-
"description": "The dialog's close button. Works best with `<sd-5-15-
|
|
1979
|
+
"description": "The dialog's close button. Works best with `<sd-5-15-2-button>` and `<sd-5-15-2-icon>`."
|
|
1915
1980
|
}
|
|
1916
1981
|
],
|
|
1917
1982
|
"events": [
|
|
@@ -2000,7 +2065,7 @@
|
|
|
2000
2065
|
}
|
|
2001
2066
|
},
|
|
2002
2067
|
{
|
|
2003
|
-
"name": "sd-5-15-
|
|
2068
|
+
"name": "sd-5-15-2-divider",
|
|
2004
2069
|
"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.",
|
|
2005
2070
|
"doc-url": "",
|
|
2006
2071
|
"attributes": [
|
|
@@ -2056,8 +2121,8 @@
|
|
|
2056
2121
|
}
|
|
2057
2122
|
},
|
|
2058
2123
|
{
|
|
2059
|
-
"name": "sd-5-15-
|
|
2060
|
-
"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-15-
|
|
2124
|
+
"name": "sd-5-15-2-drawer",
|
|
2125
|
+
"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-15-2-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
2061
2126
|
"doc-url": "",
|
|
2062
2127
|
"attributes": [
|
|
2063
2128
|
{
|
|
@@ -2203,8 +2268,8 @@
|
|
|
2203
2268
|
}
|
|
2204
2269
|
},
|
|
2205
2270
|
{
|
|
2206
|
-
"name": "sd-5-15-
|
|
2207
|
-
"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-15-
|
|
2271
|
+
"name": "sd-5-15-2-dropdown",
|
|
2272
|
+
"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-15-2-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-15-2-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **base__popup** - The popup's exported `popup` part. Use this to target the dropdowns' popup container.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
2208
2273
|
"doc-url": "",
|
|
2209
2274
|
"attributes": [
|
|
2210
2275
|
{
|
|
@@ -2280,7 +2345,7 @@
|
|
|
2280
2345
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2281
2346
|
{
|
|
2282
2347
|
"name": "trigger",
|
|
2283
|
-
"description": "The dropdown's trigger, usually a `<sd-5-15-
|
|
2348
|
+
"description": "The dropdown's trigger, usually a `<sd-5-15-2-button>` element."
|
|
2284
2349
|
}
|
|
2285
2350
|
],
|
|
2286
2351
|
"events": [
|
|
@@ -2387,7 +2452,7 @@
|
|
|
2387
2452
|
}
|
|
2388
2453
|
},
|
|
2389
2454
|
{
|
|
2390
|
-
"name": "sd-5-15-
|
|
2455
|
+
"name": "sd-5-15-2-expandable",
|
|
2391
2456
|
"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.",
|
|
2392
2457
|
"doc-url": "",
|
|
2393
2458
|
"attributes": [
|
|
@@ -2494,7 +2559,7 @@
|
|
|
2494
2559
|
}
|
|
2495
2560
|
},
|
|
2496
2561
|
{
|
|
2497
|
-
"name": "sd-5-15-
|
|
2562
|
+
"name": "sd-5-15-2-flipcard",
|
|
2498
2563
|
"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.",
|
|
2499
2564
|
"doc-url": "",
|
|
2500
2565
|
"attributes": [
|
|
@@ -2610,7 +2675,7 @@
|
|
|
2610
2675
|
}
|
|
2611
2676
|
},
|
|
2612
2677
|
{
|
|
2613
|
-
"name": "sd-5-15-
|
|
2678
|
+
"name": "sd-5-15-2-header",
|
|
2614
2679
|
"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.",
|
|
2615
2680
|
"doc-url": "",
|
|
2616
2681
|
"attributes": [
|
|
@@ -2656,7 +2721,7 @@
|
|
|
2656
2721
|
}
|
|
2657
2722
|
},
|
|
2658
2723
|
{
|
|
2659
|
-
"name": "sd-5-15-
|
|
2724
|
+
"name": "sd-5-15-2-icon",
|
|
2660
2725
|
"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.",
|
|
2661
2726
|
"doc-url": "",
|
|
2662
2727
|
"attributes": [
|
|
@@ -2760,7 +2825,7 @@
|
|
|
2760
2825
|
}
|
|
2761
2826
|
},
|
|
2762
2827
|
{
|
|
2763
|
-
"name": "sd-5-15-
|
|
2828
|
+
"name": "sd-5-15-2-include",
|
|
2764
2829
|
"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.",
|
|
2765
2830
|
"doc-url": "",
|
|
2766
2831
|
"attributes": [
|
|
@@ -2846,8 +2911,8 @@
|
|
|
2846
2911
|
}
|
|
2847
2912
|
},
|
|
2848
2913
|
{
|
|
2849
|
-
"name": "sd-5-15-
|
|
2850
|
-
"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-15-
|
|
2914
|
+
"name": "sd-5-15-2-input",
|
|
2915
|
+
"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-15-2-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-15-2-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.",
|
|
2851
2916
|
"doc-url": "",
|
|
2852
2917
|
"attributes": [
|
|
2853
2918
|
{
|
|
@@ -3056,7 +3121,7 @@
|
|
|
3056
3121
|
},
|
|
3057
3122
|
{
|
|
3058
3123
|
"name": "tooltip",
|
|
3059
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-
|
|
3124
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
3060
3125
|
}
|
|
3061
3126
|
],
|
|
3062
3127
|
"events": [
|
|
@@ -3077,7 +3142,7 @@
|
|
|
3077
3142
|
"description": "Emitted when the control gains focus."
|
|
3078
3143
|
},
|
|
3079
3144
|
{
|
|
3080
|
-
"name": "sd-5-15-
|
|
3145
|
+
"name": "sd-5-15-2-input",
|
|
3081
3146
|
"description": "Emitted when the control receives input."
|
|
3082
3147
|
},
|
|
3083
3148
|
{
|
|
@@ -3289,7 +3354,7 @@
|
|
|
3289
3354
|
"description": "Emitted when the control gains focus."
|
|
3290
3355
|
},
|
|
3291
3356
|
{
|
|
3292
|
-
"name": "sd-5-15-
|
|
3357
|
+
"name": "sd-5-15-2-input",
|
|
3293
3358
|
"description": "Emitted when the control receives input."
|
|
3294
3359
|
},
|
|
3295
3360
|
{
|
|
@@ -3300,7 +3365,7 @@
|
|
|
3300
3365
|
}
|
|
3301
3366
|
},
|
|
3302
3367
|
{
|
|
3303
|
-
"name": "sd-5-15-
|
|
3368
|
+
"name": "sd-5-15-2-link",
|
|
3304
3369
|
"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.",
|
|
3305
3370
|
"doc-url": "",
|
|
3306
3371
|
"attributes": [
|
|
@@ -3435,7 +3500,7 @@
|
|
|
3435
3500
|
}
|
|
3436
3501
|
},
|
|
3437
3502
|
{
|
|
3438
|
-
"name": "sd-5-15-
|
|
3503
|
+
"name": "sd-5-15-2-loader",
|
|
3439
3504
|
"description": "Loaders 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.",
|
|
3440
3505
|
"doc-url": "",
|
|
3441
3506
|
"attributes": [
|
|
@@ -3482,7 +3547,7 @@
|
|
|
3482
3547
|
}
|
|
3483
3548
|
},
|
|
3484
3549
|
{
|
|
3485
|
-
"name": "sd-5-15-
|
|
3550
|
+
"name": "sd-5-15-2-map-marker",
|
|
3486
3551
|
"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.",
|
|
3487
3552
|
"doc-url": "",
|
|
3488
3553
|
"attributes": [
|
|
@@ -3610,8 +3675,8 @@
|
|
|
3610
3675
|
}
|
|
3611
3676
|
},
|
|
3612
3677
|
{
|
|
3613
|
-
"name": "sd-5-15-
|
|
3614
|
-
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-5-15-
|
|
3678
|
+
"name": "sd-5-15-2-menu",
|
|
3679
|
+
"description": "Used as a list of choices to the user, such as a set of actions or functions.\n---\n\n\n### **Events:**\n - **sd-5-15-2-select** - Emitted when a menu item is selected.\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 menu's content.",
|
|
3615
3680
|
"doc-url": "",
|
|
3616
3681
|
"attributes": [
|
|
3617
3682
|
{
|
|
@@ -3628,7 +3693,7 @@
|
|
|
3628
3693
|
"slots": [{ "name": "", "description": "The menu's content." }],
|
|
3629
3694
|
"events": [
|
|
3630
3695
|
{
|
|
3631
|
-
"name": "sd-5-15-
|
|
3696
|
+
"name": "sd-5-15-2-select",
|
|
3632
3697
|
"description": "Emitted when a menu item is selected."
|
|
3633
3698
|
}
|
|
3634
3699
|
],
|
|
@@ -3648,14 +3713,14 @@
|
|
|
3648
3713
|
],
|
|
3649
3714
|
"events": [
|
|
3650
3715
|
{
|
|
3651
|
-
"name": "sd-5-15-
|
|
3716
|
+
"name": "sd-5-15-2-select",
|
|
3652
3717
|
"description": "Emitted when a menu item is selected."
|
|
3653
3718
|
}
|
|
3654
3719
|
]
|
|
3655
3720
|
}
|
|
3656
3721
|
},
|
|
3657
3722
|
{
|
|
3658
|
-
"name": "sd-5-15-
|
|
3723
|
+
"name": "sd-5-15-2-menu-item",
|
|
3659
3724
|
"description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel(): _string_** - Returns a text label based on the contents of the menu item's default slot.\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 menu item's label.\n- **icon-indent** - Used to prepend an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The offset of the submenu from the parent menu item. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The icon shown when the menu item is checked.\n- **icon-indent** - The icon shown when the menu item has an indent.\n- **label** - The menu item's label.\n- **submenu-icon** - The icon shown when the menu item has a submenu.",
|
|
3660
3725
|
"doc-url": "",
|
|
3661
3726
|
"attributes": [
|
|
@@ -3747,7 +3812,7 @@
|
|
|
3747
3812
|
}
|
|
3748
3813
|
},
|
|
3749
3814
|
{
|
|
3750
|
-
"name": "sd-5-15-
|
|
3815
|
+
"name": "sd-5-15-2-navigation-item",
|
|
3751
3816
|
"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.",
|
|
3752
3817
|
"doc-url": "",
|
|
3753
3818
|
"attributes": [
|
|
@@ -3934,13 +3999,13 @@
|
|
|
3934
3999
|
}
|
|
3935
4000
|
},
|
|
3936
4001
|
{
|
|
3937
|
-
"name": "sd-5-15-
|
|
3938
|
-
"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-15-
|
|
4002
|
+
"name": "sd-5-15-2-notification",
|
|
4003
|
+
"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-15-2-notification's main content.\n- **icon** - An icon to show in the sd-5-15-2-notification. Works best with `<sd-5-15-2-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-15-2-icon-button>`.",
|
|
3939
4004
|
"doc-url": "",
|
|
3940
4005
|
"attributes": [
|
|
3941
4006
|
{
|
|
3942
4007
|
"name": "variant",
|
|
3943
|
-
"description": "The sd-5-15-
|
|
4008
|
+
"description": "The sd-5-15-2-notification's theme.",
|
|
3944
4009
|
"value": {
|
|
3945
4010
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3946
4011
|
"default": "'info'"
|
|
@@ -3948,7 +4013,7 @@
|
|
|
3948
4013
|
},
|
|
3949
4014
|
{
|
|
3950
4015
|
"name": "open",
|
|
3951
|
-
"description": "Indicates whether or not sd-5-15-
|
|
4016
|
+
"description": "Indicates whether or not sd-5-15-2-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.",
|
|
3952
4017
|
"value": { "type": "boolean", "default": "false" }
|
|
3953
4018
|
},
|
|
3954
4019
|
{
|
|
@@ -3958,7 +4023,7 @@
|
|
|
3958
4023
|
},
|
|
3959
4024
|
{
|
|
3960
4025
|
"name": "duration",
|
|
3961
|
-
"description": "The length of time, in milliseconds, the sd-5-15-
|
|
4026
|
+
"description": "The length of time, in milliseconds, the sd-5-15-2-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.",
|
|
3962
4027
|
"value": { "type": "string", "default": "Infinity" }
|
|
3963
4028
|
},
|
|
3964
4029
|
{
|
|
@@ -3968,7 +4033,7 @@
|
|
|
3968
4033
|
},
|
|
3969
4034
|
{
|
|
3970
4035
|
"name": "toast-stack",
|
|
3971
|
-
"description": "The position of the toasted sd-5-15-
|
|
4036
|
+
"description": "The position of the toasted sd-5-15-2-notification.",
|
|
3972
4037
|
"value": {
|
|
3973
4038
|
"type": "'top-right' | 'bottom-center'",
|
|
3974
4039
|
"default": "'top-right'"
|
|
@@ -3988,11 +4053,11 @@
|
|
|
3988
4053
|
"slots": [
|
|
3989
4054
|
{
|
|
3990
4055
|
"name": "",
|
|
3991
|
-
"description": "The sd-5-15-
|
|
4056
|
+
"description": "The sd-5-15-2-notification's main content."
|
|
3992
4057
|
},
|
|
3993
4058
|
{
|
|
3994
4059
|
"name": "icon",
|
|
3995
|
-
"description": "An icon to show in the sd-5-15-
|
|
4060
|
+
"description": "An icon to show in the sd-5-15-2-notification. Works best with `<sd-5-15-2-icon>`."
|
|
3996
4061
|
}
|
|
3997
4062
|
],
|
|
3998
4063
|
"events": [
|
|
@@ -4018,12 +4083,12 @@
|
|
|
4018
4083
|
{ "name": "localize" },
|
|
4019
4084
|
{
|
|
4020
4085
|
"name": "variant",
|
|
4021
|
-
"description": "The sd-5-15-
|
|
4086
|
+
"description": "The sd-5-15-2-notification's theme.",
|
|
4022
4087
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
4023
4088
|
},
|
|
4024
4089
|
{
|
|
4025
4090
|
"name": "open",
|
|
4026
|
-
"description": "Indicates whether or not sd-5-15-
|
|
4091
|
+
"description": "Indicates whether or not sd-5-15-2-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.",
|
|
4027
4092
|
"type": "boolean"
|
|
4028
4093
|
},
|
|
4029
4094
|
{
|
|
@@ -4033,7 +4098,7 @@
|
|
|
4033
4098
|
},
|
|
4034
4099
|
{
|
|
4035
4100
|
"name": "duration",
|
|
4036
|
-
"description": "The length of time, in milliseconds, the sd-5-15-
|
|
4101
|
+
"description": "The length of time, in milliseconds, the sd-5-15-2-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."
|
|
4037
4102
|
},
|
|
4038
4103
|
{
|
|
4039
4104
|
"name": "durationIndicator",
|
|
@@ -4042,7 +4107,7 @@
|
|
|
4042
4107
|
},
|
|
4043
4108
|
{
|
|
4044
4109
|
"name": "toastStack",
|
|
4045
|
-
"description": "The position of the toasted sd-5-15-
|
|
4110
|
+
"description": "The position of the toasted sd-5-15-2-notification.",
|
|
4046
4111
|
"type": "'top-right' | 'bottom-center'"
|
|
4047
4112
|
},
|
|
4048
4113
|
{
|
|
@@ -4077,8 +4142,8 @@
|
|
|
4077
4142
|
}
|
|
4078
4143
|
},
|
|
4079
4144
|
{
|
|
4080
|
-
"name": "sd-5-15-
|
|
4081
|
-
"description": "The <sd-5-15-
|
|
4145
|
+
"name": "sd-5-15-2-optgroup",
|
|
4146
|
+
"description": "The <sd-5-15-2-optgroup> element creates a grouping for <sd-5-15-2-option>s within a <sd-5-15-2-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-15-2-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-15-2-option> elements.",
|
|
4082
4147
|
"doc-url": "",
|
|
4083
4148
|
"attributes": [
|
|
4084
4149
|
{
|
|
@@ -4105,7 +4170,7 @@
|
|
|
4105
4170
|
"slots": [
|
|
4106
4171
|
{
|
|
4107
4172
|
"name": "",
|
|
4108
|
-
"description": "The given options. Must be `<sd-5-15-
|
|
4173
|
+
"description": "The given options. Must be `<sd-5-15-2-option>` elements."
|
|
4109
4174
|
},
|
|
4110
4175
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
4111
4176
|
],
|
|
@@ -4137,18 +4202,18 @@
|
|
|
4137
4202
|
}
|
|
4138
4203
|
},
|
|
4139
4204
|
{
|
|
4140
|
-
"name": "sd-5-15-
|
|
4141
|
-
"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-15-
|
|
4205
|
+
"name": "sd-5-15-2-option",
|
|
4206
|
+
"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-15-2-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.",
|
|
4142
4207
|
"doc-url": "",
|
|
4143
4208
|
"attributes": [
|
|
4144
4209
|
{
|
|
4145
4210
|
"name": "size",
|
|
4146
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-15-
|
|
4211
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-15-2-select`.",
|
|
4147
4212
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
4148
4213
|
},
|
|
4149
4214
|
{
|
|
4150
4215
|
"name": "checkbox",
|
|
4151
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-15-
|
|
4216
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-15-2-select` when attribute `checklist` is set to `true`.",
|
|
4152
4217
|
"value": { "type": "boolean", "default": "false" }
|
|
4153
4218
|
},
|
|
4154
4219
|
{
|
|
@@ -4188,12 +4253,12 @@
|
|
|
4188
4253
|
"properties": [
|
|
4189
4254
|
{
|
|
4190
4255
|
"name": "size",
|
|
4191
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-15-
|
|
4256
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-5-15-2-select`.",
|
|
4192
4257
|
"type": "'lg' | 'md' | 'sm'"
|
|
4193
4258
|
},
|
|
4194
4259
|
{
|
|
4195
4260
|
"name": "checkbox",
|
|
4196
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-15-
|
|
4261
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-5-15-2-select` when attribute `checklist` is set to `true`.",
|
|
4197
4262
|
"type": "boolean"
|
|
4198
4263
|
},
|
|
4199
4264
|
{
|
|
@@ -4221,7 +4286,7 @@
|
|
|
4221
4286
|
}
|
|
4222
4287
|
},
|
|
4223
4288
|
{
|
|
4224
|
-
"name": "sd-5-15-
|
|
4289
|
+
"name": "sd-5-15-2-popup",
|
|
4225
4290
|
"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.",
|
|
4226
4291
|
"doc-url": "",
|
|
4227
4292
|
"attributes": [
|
|
@@ -4501,8 +4566,8 @@
|
|
|
4501
4566
|
}
|
|
4502
4567
|
},
|
|
4503
4568
|
{
|
|
4504
|
-
"name": "sd-5-15-
|
|
4505
|
-
"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-15-
|
|
4569
|
+
"name": "sd-5-15-2-quickfact",
|
|
4570
|
+
"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-15-2-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-15-2-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-5-15-2-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.",
|
|
4506
4571
|
"doc-url": "",
|
|
4507
4572
|
"attributes": [
|
|
4508
4573
|
{
|
|
@@ -4534,7 +4599,7 @@
|
|
|
4534
4599
|
"slots": [
|
|
4535
4600
|
{
|
|
4536
4601
|
"name": "icon",
|
|
4537
|
-
"description": "Optional icon to show in the header. Works best with `<sd-5-15-
|
|
4602
|
+
"description": "Optional icon to show in the header. Works best with `<sd-5-15-2-icon>`."
|
|
4538
4603
|
},
|
|
4539
4604
|
{ "name": "", "description": "The accordion main content." },
|
|
4540
4605
|
{
|
|
@@ -4543,11 +4608,11 @@
|
|
|
4543
4608
|
},
|
|
4544
4609
|
{
|
|
4545
4610
|
"name": "expand-icon",
|
|
4546
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-15-
|
|
4611
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
4547
4612
|
},
|
|
4548
4613
|
{
|
|
4549
4614
|
"name": "collapse-icon",
|
|
4550
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-15-
|
|
4615
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-5-15-2-icon>`."
|
|
4551
4616
|
}
|
|
4552
4617
|
],
|
|
4553
4618
|
"events": [
|
|
@@ -4619,7 +4684,7 @@
|
|
|
4619
4684
|
}
|
|
4620
4685
|
},
|
|
4621
4686
|
{
|
|
4622
|
-
"name": "sd-5-15-
|
|
4687
|
+
"name": "sd-5-15-2-radio",
|
|
4623
4688
|
"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.",
|
|
4624
4689
|
"doc-url": "",
|
|
4625
4690
|
"attributes": [
|
|
@@ -4721,7 +4786,7 @@
|
|
|
4721
4786
|
}
|
|
4722
4787
|
},
|
|
4723
4788
|
{
|
|
4724
|
-
"name": "sd-5-15-
|
|
4789
|
+
"name": "sd-5-15-2-radio-button",
|
|
4725
4790
|
"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.",
|
|
4726
4791
|
"doc-url": "",
|
|
4727
4792
|
"attributes": [
|
|
@@ -4816,8 +4881,8 @@
|
|
|
4816
4881
|
}
|
|
4817
4882
|
},
|
|
4818
4883
|
{
|
|
4819
|
-
"name": "sd-5-15-
|
|
4820
|
-
"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-15-
|
|
4884
|
+
"name": "sd-5-15-2-radio-group",
|
|
4885
|
+
"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-15-2-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-15-2-radio>` or `<sd-5-15-2-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-15-2-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.",
|
|
4821
4886
|
"doc-url": "",
|
|
4822
4887
|
"attributes": [
|
|
4823
4888
|
{
|
|
@@ -4882,7 +4947,7 @@
|
|
|
4882
4947
|
"slots": [
|
|
4883
4948
|
{
|
|
4884
4949
|
"name": "",
|
|
4885
|
-
"description": "The default slot where `<sd-5-15-
|
|
4950
|
+
"description": "The default slot where `<sd-5-15-2-radio>` or `<sd-5-15-2-radio-button>` elements are placed."
|
|
4886
4951
|
},
|
|
4887
4952
|
{
|
|
4888
4953
|
"name": "label",
|
|
@@ -4894,7 +4959,7 @@
|
|
|
4894
4959
|
},
|
|
4895
4960
|
{
|
|
4896
4961
|
"name": "tooltip",
|
|
4897
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-15-
|
|
4962
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
4898
4963
|
}
|
|
4899
4964
|
],
|
|
4900
4965
|
"events": [
|
|
@@ -4903,7 +4968,7 @@
|
|
|
4903
4968
|
"description": "Emitted when the radio group's selected value changes."
|
|
4904
4969
|
},
|
|
4905
4970
|
{
|
|
4906
|
-
"name": "sd-5-15-
|
|
4971
|
+
"name": "sd-5-15-2-input",
|
|
4907
4972
|
"description": "Emitted when the radio group receives user input."
|
|
4908
4973
|
},
|
|
4909
4974
|
{
|
|
@@ -4983,7 +5048,7 @@
|
|
|
4983
5048
|
"description": "Emitted when the radio group's selected value changes."
|
|
4984
5049
|
},
|
|
4985
5050
|
{
|
|
4986
|
-
"name": "sd-5-15-
|
|
5051
|
+
"name": "sd-5-15-2-input",
|
|
4987
5052
|
"description": "Emitted when the radio group receives user input."
|
|
4988
5053
|
},
|
|
4989
5054
|
{
|
|
@@ -4994,8 +5059,8 @@
|
|
|
4994
5059
|
}
|
|
4995
5060
|
},
|
|
4996
5061
|
{
|
|
4997
|
-
"name": "sd-5-15-
|
|
4998
|
-
"description": "Used to allow users to select a single or multiple values within a defined range using a slider.\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-15-
|
|
5062
|
+
"name": "sd-5-15-2-range",
|
|
5063
|
+
"description": "Used to allow users to select a single or multiple values within a defined range using a slider.\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-15-2-input** - Emitted when the control receives input.\n- **sd-move** - Emitted when the user moves a thumb, either via touch or keyboard. Use `Event.preventDefault()` to prevent movement.\n\n### **Methods:**\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 - _default_ - The default slot.\n- **help-text** - Text that describes how to use the range. Alternatively, you can use the `help-text` attribute.\n- **label** - The range's label. Alternatively, you can use the `label` attribute.\n- **scale-ticks** - Used to display tick marks at specific intervals along the range.\n\n### **CSS Properties:**\n - **--track-active-offset** - The point of origin of the active track, starting at the left side of the range. _(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-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **input-wrapper** - The container that wraps the input track and ticks.\n- **track-wrapper** - The wrapper for the track.\n- **track** - The inactive track.\n- **active-track** - The active track.\n- **track-click-helper** - The element that increases the track clickable area.\n- **thumb** - The thumb(s) that the user can drag to change the range.\n- **scale-ticks** - The container that wraps the tick marks.",
|
|
4999
5064
|
"doc-url": "",
|
|
5000
5065
|
"attributes": [
|
|
5001
5066
|
{
|
|
@@ -5093,7 +5158,7 @@
|
|
|
5093
5158
|
"description": "Emitted when the control gains focus."
|
|
5094
5159
|
},
|
|
5095
5160
|
{
|
|
5096
|
-
"name": "sd-5-15-
|
|
5161
|
+
"name": "sd-5-15-2-input",
|
|
5097
5162
|
"description": "Emitted when the control receives input."
|
|
5098
5163
|
},
|
|
5099
5164
|
{
|
|
@@ -5203,7 +5268,7 @@
|
|
|
5203
5268
|
"description": "Emitted when the control gains focus."
|
|
5204
5269
|
},
|
|
5205
5270
|
{
|
|
5206
|
-
"name": "sd-5-15-
|
|
5271
|
+
"name": "sd-5-15-2-input",
|
|
5207
5272
|
"description": "Emitted when the control receives input."
|
|
5208
5273
|
},
|
|
5209
5274
|
{
|
|
@@ -5214,7 +5279,7 @@
|
|
|
5214
5279
|
}
|
|
5215
5280
|
},
|
|
5216
5281
|
{
|
|
5217
|
-
"name": "sd-5-15-
|
|
5282
|
+
"name": "sd-5-15-2-range-tick",
|
|
5218
5283
|
"description": "Ticks visually improve positioning on range sliders.\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 tick's label\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The component's label.\n- **line** - The component's tick line.",
|
|
5219
5284
|
"doc-url": "",
|
|
5220
5285
|
"attributes": [
|
|
@@ -5259,7 +5324,7 @@
|
|
|
5259
5324
|
}
|
|
5260
5325
|
},
|
|
5261
5326
|
{
|
|
5262
|
-
"name": "sd-5-15-
|
|
5327
|
+
"name": "sd-5-15-2-scrollable",
|
|
5263
5328
|
"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.",
|
|
5264
5329
|
"doc-url": "",
|
|
5265
5330
|
"attributes": [
|
|
@@ -5420,8 +5485,8 @@
|
|
|
5420
5485
|
}
|
|
5421
5486
|
},
|
|
5422
5487
|
{
|
|
5423
|
-
"name": "sd-5-15-
|
|
5424
|
-
"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-15-
|
|
5488
|
+
"name": "sd-5-15-2-select",
|
|
5489
|
+
"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-15-2-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-15-2-option>` elements. You can use `<sd-5-15-2-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-15-2-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.",
|
|
5425
5490
|
"doc-url": "",
|
|
5426
5491
|
"attributes": [
|
|
5427
5492
|
{
|
|
@@ -5481,7 +5546,7 @@
|
|
|
5481
5546
|
},
|
|
5482
5547
|
{
|
|
5483
5548
|
"name": "useTags",
|
|
5484
|
-
"description": "Uses interactive `sd-5-15-
|
|
5549
|
+
"description": "Uses interactive `sd-5-15-2-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5485
5550
|
"value": { "type": "boolean", "default": "false" }
|
|
5486
5551
|
},
|
|
5487
5552
|
{
|
|
@@ -5540,7 +5605,7 @@
|
|
|
5540
5605
|
"slots": [
|
|
5541
5606
|
{
|
|
5542
5607
|
"name": "",
|
|
5543
|
-
"description": "The listbox options. Must be `<sd-5-15-
|
|
5608
|
+
"description": "The listbox options. Must be `<sd-5-15-2-option>` elements. You can use `<sd-5-15-2-divider>` to group items visually."
|
|
5544
5609
|
},
|
|
5545
5610
|
{
|
|
5546
5611
|
"name": "label",
|
|
@@ -5560,7 +5625,7 @@
|
|
|
5560
5625
|
},
|
|
5561
5626
|
{
|
|
5562
5627
|
"name": "tooltip",
|
|
5563
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-
|
|
5628
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
5564
5629
|
}
|
|
5565
5630
|
],
|
|
5566
5631
|
"events": [
|
|
@@ -5573,7 +5638,7 @@
|
|
|
5573
5638
|
"description": "Emitted when the control's value is cleared."
|
|
5574
5639
|
},
|
|
5575
5640
|
{
|
|
5576
|
-
"name": "sd-5-15-
|
|
5641
|
+
"name": "sd-5-15-2-input",
|
|
5577
5642
|
"description": "Emitted when the control receives input."
|
|
5578
5643
|
},
|
|
5579
5644
|
{
|
|
@@ -5672,7 +5737,7 @@
|
|
|
5672
5737
|
},
|
|
5673
5738
|
{
|
|
5674
5739
|
"name": "useTags",
|
|
5675
|
-
"description": "Uses interactive `sd-5-15-
|
|
5740
|
+
"description": "Uses interactive `sd-5-15-2-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5676
5741
|
"type": "boolean"
|
|
5677
5742
|
},
|
|
5678
5743
|
{
|
|
@@ -5739,7 +5804,7 @@
|
|
|
5739
5804
|
"description": "Emitted when the control's value is cleared."
|
|
5740
5805
|
},
|
|
5741
5806
|
{
|
|
5742
|
-
"name": "sd-5-15-
|
|
5807
|
+
"name": "sd-5-15-2-input",
|
|
5743
5808
|
"description": "Emitted when the control receives input."
|
|
5744
5809
|
},
|
|
5745
5810
|
{
|
|
@@ -5774,7 +5839,7 @@
|
|
|
5774
5839
|
}
|
|
5775
5840
|
},
|
|
5776
5841
|
{
|
|
5777
|
-
"name": "sd-5-15-
|
|
5842
|
+
"name": "sd-5-15-2-spinner",
|
|
5778
5843
|
"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.",
|
|
5779
5844
|
"doc-url": "",
|
|
5780
5845
|
"attributes": [
|
|
@@ -5821,72 +5886,7 @@
|
|
|
5821
5886
|
}
|
|
5822
5887
|
},
|
|
5823
5888
|
{
|
|
5824
|
-
"name": "sd-5-15-
|
|
5825
|
-
"description": "An individual breadcrumb item for use exclusively within the `sd-5-15-0-breadcrumb`.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
5826
|
-
"doc-url": "",
|
|
5827
|
-
"attributes": [
|
|
5828
|
-
{
|
|
5829
|
-
"name": "href",
|
|
5830
|
-
"description": "When not set, the breadcrumb will render as disabled.",
|
|
5831
|
-
"value": { "type": "string", "default": "''" }
|
|
5832
|
-
},
|
|
5833
|
-
{
|
|
5834
|
-
"name": "target",
|
|
5835
|
-
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
5836
|
-
"value": { "type": "'_blank' | '_parent' | '_self' | '_top'" }
|
|
5837
|
-
},
|
|
5838
|
-
{
|
|
5839
|
-
"name": "current",
|
|
5840
|
-
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
5841
|
-
"value": { "type": "boolean", "default": "false" }
|
|
5842
|
-
},
|
|
5843
|
-
{
|
|
5844
|
-
"name": "dir",
|
|
5845
|
-
"description": "The element's directionality.",
|
|
5846
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
5847
|
-
},
|
|
5848
|
-
{
|
|
5849
|
-
"name": "lang",
|
|
5850
|
-
"description": "The element's language.",
|
|
5851
|
-
"value": { "type": "string" }
|
|
5852
|
-
}
|
|
5853
|
-
],
|
|
5854
|
-
"slots": [{ "name": "", "description": "The breadcrumb label." }],
|
|
5855
|
-
"events": [],
|
|
5856
|
-
"js": {
|
|
5857
|
-
"properties": [
|
|
5858
|
-
{ "name": "localize" },
|
|
5859
|
-
{
|
|
5860
|
-
"name": "href",
|
|
5861
|
-
"description": "When not set, the breadcrumb will render as disabled.",
|
|
5862
|
-
"type": "string"
|
|
5863
|
-
},
|
|
5864
|
-
{
|
|
5865
|
-
"name": "target",
|
|
5866
|
-
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
5867
|
-
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
5868
|
-
},
|
|
5869
|
-
{
|
|
5870
|
-
"name": "current",
|
|
5871
|
-
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
5872
|
-
"type": "boolean"
|
|
5873
|
-
},
|
|
5874
|
-
{
|
|
5875
|
-
"name": "dir",
|
|
5876
|
-
"description": "The element's directionality.",
|
|
5877
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
5878
|
-
},
|
|
5879
|
-
{
|
|
5880
|
-
"name": "lang",
|
|
5881
|
-
"description": "The element's language.",
|
|
5882
|
-
"type": "string"
|
|
5883
|
-
}
|
|
5884
|
-
],
|
|
5885
|
-
"events": []
|
|
5886
|
-
}
|
|
5887
|
-
},
|
|
5888
|
-
{
|
|
5889
|
-
"name": "sd-5-15-0-step",
|
|
5889
|
+
"name": "sd-5-15-2-step",
|
|
5890
5890
|
"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.",
|
|
5891
5891
|
"doc-url": "",
|
|
5892
5892
|
"attributes": [
|
|
@@ -6069,8 +6069,8 @@
|
|
|
6069
6069
|
}
|
|
6070
6070
|
},
|
|
6071
6071
|
{
|
|
6072
|
-
"name": "sd-5-15-
|
|
6073
|
-
"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-15-
|
|
6072
|
+
"name": "sd-5-15-2-step-group",
|
|
6073
|
+
"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-15-2-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
6074
6074
|
"doc-url": "",
|
|
6075
6075
|
"attributes": [
|
|
6076
6076
|
{
|
|
@@ -6115,7 +6115,7 @@
|
|
|
6115
6115
|
"slots": [
|
|
6116
6116
|
{
|
|
6117
6117
|
"name": "",
|
|
6118
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-5-15-
|
|
6118
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-5-15-2-step>` elements."
|
|
6119
6119
|
}
|
|
6120
6120
|
],
|
|
6121
6121
|
"events": [],
|
|
@@ -6161,8 +6161,8 @@
|
|
|
6161
6161
|
}
|
|
6162
6162
|
},
|
|
6163
6163
|
{
|
|
6164
|
-
"name": "sd-5-15-
|
|
6165
|
-
"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-15-
|
|
6164
|
+
"name": "sd-5-15-2-switch",
|
|
6165
|
+
"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-15-2-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- **tooltip** - An optional tooltip that helps describe the switch. Use this slot with the `sd-5-15-2-tooltip` component.\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.",
|
|
6166
6166
|
"doc-url": "",
|
|
6167
6167
|
"attributes": [
|
|
6168
6168
|
{
|
|
@@ -6215,7 +6215,7 @@
|
|
|
6215
6215
|
{ "name": "", "description": "The switch's label." },
|
|
6216
6216
|
{
|
|
6217
6217
|
"name": "tooltip",
|
|
6218
|
-
"description": "An optional tooltip that helps describe the switch. Use this slot with the `sd-5-15-
|
|
6218
|
+
"description": "An optional tooltip that helps describe the switch. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
6219
6219
|
}
|
|
6220
6220
|
],
|
|
6221
6221
|
"events": [
|
|
@@ -6232,7 +6232,7 @@
|
|
|
6232
6232
|
"description": "Emitted when the switch gains focus."
|
|
6233
6233
|
},
|
|
6234
6234
|
{
|
|
6235
|
-
"name": "sd-5-15-
|
|
6235
|
+
"name": "sd-5-15-2-input",
|
|
6236
6236
|
"description": "Emitted when the switch receives input."
|
|
6237
6237
|
}
|
|
6238
6238
|
],
|
|
@@ -6307,14 +6307,14 @@
|
|
|
6307
6307
|
"description": "Emitted when the switch gains focus."
|
|
6308
6308
|
},
|
|
6309
6309
|
{
|
|
6310
|
-
"name": "sd-5-15-
|
|
6310
|
+
"name": "sd-5-15-2-input",
|
|
6311
6311
|
"description": "Emitted when the switch receives input."
|
|
6312
6312
|
}
|
|
6313
6313
|
]
|
|
6314
6314
|
}
|
|
6315
6315
|
},
|
|
6316
6316
|
{
|
|
6317
|
-
"name": "sd-5-15-
|
|
6317
|
+
"name": "sd-5-15-2-tab",
|
|
6318
6318
|
"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.",
|
|
6319
6319
|
"doc-url": "",
|
|
6320
6320
|
"attributes": [
|
|
@@ -6408,8 +6408,8 @@
|
|
|
6408
6408
|
}
|
|
6409
6409
|
},
|
|
6410
6410
|
{
|
|
6411
|
-
"name": "sd-5-15-
|
|
6412
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-15-
|
|
6411
|
+
"name": "sd-5-15-2-tab-group",
|
|
6412
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-5-15-2-tab-show** - Emitted when a tab is shown.\n- **sd-5-15-2-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-15-2-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-5-15-2-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.",
|
|
6413
6413
|
"doc-url": "",
|
|
6414
6414
|
"attributes": [
|
|
6415
6415
|
{
|
|
@@ -6431,21 +6431,21 @@
|
|
|
6431
6431
|
"slots": [
|
|
6432
6432
|
{
|
|
6433
6433
|
"name": "",
|
|
6434
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-15-
|
|
6434
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-5-15-2-tab-panel>` elements."
|
|
6435
6435
|
},
|
|
6436
6436
|
{
|
|
6437
6437
|
"name": "nav",
|
|
6438
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-15-
|
|
6438
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-5-15-2-tab>` elements."
|
|
6439
6439
|
}
|
|
6440
6440
|
],
|
|
6441
6441
|
"events": [
|
|
6442
6442
|
{
|
|
6443
|
-
"name": "sd-5-15-
|
|
6443
|
+
"name": "sd-5-15-2-tab-show",
|
|
6444
6444
|
"type": "{ name: String }",
|
|
6445
6445
|
"description": "Emitted when a tab is shown."
|
|
6446
6446
|
},
|
|
6447
6447
|
{
|
|
6448
|
-
"name": "sd-5-15-
|
|
6448
|
+
"name": "sd-5-15-2-tab-hide",
|
|
6449
6449
|
"type": "{ name: String }",
|
|
6450
6450
|
"description": "Emitted when a tab is hidden."
|
|
6451
6451
|
}
|
|
@@ -6471,12 +6471,12 @@
|
|
|
6471
6471
|
],
|
|
6472
6472
|
"events": [
|
|
6473
6473
|
{
|
|
6474
|
-
"name": "sd-5-15-
|
|
6474
|
+
"name": "sd-5-15-2-tab-show",
|
|
6475
6475
|
"type": "{ name: String }",
|
|
6476
6476
|
"description": "Emitted when a tab is shown."
|
|
6477
6477
|
},
|
|
6478
6478
|
{
|
|
6479
|
-
"name": "sd-5-15-
|
|
6479
|
+
"name": "sd-5-15-2-tab-hide",
|
|
6480
6480
|
"type": "{ name: String }",
|
|
6481
6481
|
"description": "Emitted when a tab is hidden."
|
|
6482
6482
|
}
|
|
@@ -6484,7 +6484,7 @@
|
|
|
6484
6484
|
}
|
|
6485
6485
|
},
|
|
6486
6486
|
{
|
|
6487
|
-
"name": "sd-5-15-
|
|
6487
|
+
"name": "sd-5-15-2-tab-panel",
|
|
6488
6488
|
"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.",
|
|
6489
6489
|
"doc-url": "",
|
|
6490
6490
|
"attributes": [
|
|
@@ -6538,7 +6538,7 @@
|
|
|
6538
6538
|
}
|
|
6539
6539
|
},
|
|
6540
6540
|
{
|
|
6541
|
-
"name": "sd-5-15-
|
|
6541
|
+
"name": "sd-5-15-2-tag",
|
|
6542
6542
|
"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.",
|
|
6543
6543
|
"doc-url": "",
|
|
6544
6544
|
"attributes": [
|
|
@@ -6700,7 +6700,7 @@
|
|
|
6700
6700
|
}
|
|
6701
6701
|
},
|
|
6702
6702
|
{
|
|
6703
|
-
"name": "sd-5-15-
|
|
6703
|
+
"name": "sd-5-15-2-teaser",
|
|
6704
6704
|
"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.",
|
|
6705
6705
|
"doc-url": "",
|
|
6706
6706
|
"attributes": [
|
|
@@ -6782,7 +6782,7 @@
|
|
|
6782
6782
|
}
|
|
6783
6783
|
},
|
|
6784
6784
|
{
|
|
6785
|
-
"name": "sd-5-15-
|
|
6785
|
+
"name": "sd-5-15-2-teaser-media",
|
|
6786
6786
|
"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.",
|
|
6787
6787
|
"doc-url": "",
|
|
6788
6788
|
"attributes": [
|
|
@@ -6838,8 +6838,8 @@
|
|
|
6838
6838
|
}
|
|
6839
6839
|
},
|
|
6840
6840
|
{
|
|
6841
|
-
"name": "sd-5-15-
|
|
6842
|
-
"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-15-
|
|
6841
|
+
"name": "sd-5-15-2-textarea",
|
|
6842
|
+
"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-15-2-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-15-2-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.",
|
|
6843
6843
|
"doc-url": "",
|
|
6844
6844
|
"attributes": [
|
|
6845
6845
|
{
|
|
@@ -6983,7 +6983,7 @@
|
|
|
6983
6983
|
},
|
|
6984
6984
|
{
|
|
6985
6985
|
"name": "tooltip",
|
|
6986
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-
|
|
6986
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-5-15-2-tooltip` component."
|
|
6987
6987
|
}
|
|
6988
6988
|
],
|
|
6989
6989
|
"events": [
|
|
@@ -7000,7 +7000,7 @@
|
|
|
7000
7000
|
"description": "Emitted when the control gains focus."
|
|
7001
7001
|
},
|
|
7002
7002
|
{
|
|
7003
|
-
"name": "sd-5-15-
|
|
7003
|
+
"name": "sd-5-15-2-input",
|
|
7004
7004
|
"description": "Emitted when the control receives input."
|
|
7005
7005
|
},
|
|
7006
7006
|
{
|
|
@@ -7163,7 +7163,7 @@
|
|
|
7163
7163
|
"description": "Emitted when the control gains focus."
|
|
7164
7164
|
},
|
|
7165
7165
|
{
|
|
7166
|
-
"name": "sd-5-15-
|
|
7166
|
+
"name": "sd-5-15-2-input",
|
|
7167
7167
|
"description": "Emitted when the control receives input."
|
|
7168
7168
|
},
|
|
7169
7169
|
{
|
|
@@ -7174,8 +7174,8 @@
|
|
|
7174
7174
|
}
|
|
7175
7175
|
},
|
|
7176
7176
|
{
|
|
7177
|
-
"name": "sd-5-15-
|
|
7178
|
-
"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-15-
|
|
7177
|
+
"name": "sd-5-15-2-tooltip",
|
|
7178
|
+
"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-15-2-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.",
|
|
7179
7179
|
"doc-url": "",
|
|
7180
7180
|
"attributes": [
|
|
7181
7181
|
{
|
|
@@ -7330,7 +7330,7 @@
|
|
|
7330
7330
|
}
|
|
7331
7331
|
},
|
|
7332
7332
|
{
|
|
7333
|
-
"name": "sd-5-15-
|
|
7333
|
+
"name": "sd-5-15-2-video",
|
|
7334
7334
|
"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.",
|
|
7335
7335
|
"doc-url": "",
|
|
7336
7336
|
"attributes": [
|