@solid-design-system/components 4.0.5 → 4.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/cdn/chunks/{chunk.7JRCI5T7.js → chunk.3H546YPQ.js} +1 -1
- package/cdn/chunks/chunk.4EXZ2RBI.js +1 -0
- package/cdn/chunks/{chunk.PPMFZ77L.js → chunk.LXL4FWEA.js} +1 -1
- package/cdn/chunks/chunk.MOQCXANY.js +4 -0
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +1 -0
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +10 -10
- package/cdn/solid-components.iife.js +11 -11
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.25ETUACJ.js +1 -1
- package/cdn-versioned/chunks/chunk.27EYM5XP.js +4 -4
- package/cdn-versioned/chunks/chunk.2H5XA4I4.js +1 -1
- package/cdn-versioned/chunks/chunk.2OLKGLBS.js +1 -1
- package/cdn-versioned/chunks/{chunk.7JRCI5T7.js → chunk.3H546YPQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.4EXZ2RBI.js +1 -0
- package/cdn-versioned/chunks/chunk.4QUXWXQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.5CIQRJCC.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.7ZYFSBMR.js +1 -1
- package/cdn-versioned/chunks/chunk.A63P52TG.js +1 -1
- package/cdn-versioned/chunks/chunk.A772RQJV.js +1 -1
- package/cdn-versioned/chunks/chunk.ANH5V2SE.js +2 -2
- package/cdn-versioned/chunks/chunk.AS7L23H2.js +2 -2
- package/cdn-versioned/chunks/chunk.B3H3PR6Y.js +1 -1
- package/cdn-versioned/chunks/chunk.B5YKUN6P.js +1 -1
- package/cdn-versioned/chunks/chunk.B6I2NZMP.js +4 -4
- package/cdn-versioned/chunks/chunk.BAO3UVTY.js +1 -1
- package/cdn-versioned/chunks/chunk.CAJUSOAF.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.D4RLVVDK.js +1 -1
- package/cdn-versioned/chunks/chunk.DUM4IQT6.js +1 -1
- package/cdn-versioned/chunks/chunk.EDD4HHHP.js +1 -1
- package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
- package/cdn-versioned/chunks/chunk.EP7OA5FU.js +1 -1
- package/cdn-versioned/chunks/chunk.GNYJN5QM.js +3 -3
- package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
- package/cdn-versioned/chunks/chunk.GX6NOXTL.js +1 -1
- package/cdn-versioned/chunks/chunk.JUGW2WJP.js +1 -1
- package/cdn-versioned/chunks/chunk.LPXG67S4.js +1 -1
- package/cdn-versioned/chunks/chunk.LQZOBUFT.js +1 -1
- package/cdn-versioned/chunks/chunk.LVDI5OTS.js +1 -1
- package/cdn-versioned/chunks/{chunk.PPMFZ77L.js → chunk.LXL4FWEA.js} +1 -1
- package/cdn-versioned/chunks/chunk.MOQCXANY.js +4 -0
- package/cdn-versioned/chunks/chunk.N5OYRZY6.js +1 -1
- package/cdn-versioned/chunks/chunk.OCT5SOOS.js +1 -1
- package/cdn-versioned/chunks/chunk.QA3NVZY4.js +1 -1
- package/cdn-versioned/chunks/chunk.QOQO2KP5.js +1 -1
- package/cdn-versioned/chunks/chunk.QV7OIYLT.js +1 -1
- package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
- package/cdn-versioned/chunks/chunk.SJ2JO4KS.js +1 -1
- package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
- package/cdn-versioned/chunks/chunk.TR52VDPR.js +1 -1
- package/cdn-versioned/chunks/chunk.U5SOEJO4.js +1 -1
- package/cdn-versioned/chunks/chunk.V3WIIJLB.js +1 -1
- package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
- package/cdn-versioned/chunks/chunk.WG3IQMLL.js +1 -1
- package/cdn-versioned/chunks/chunk.WNV6OGRG.js +1 -1
- package/cdn-versioned/chunks/chunk.WVYVGVBF.js +1 -1
- package/cdn-versioned/chunks/chunk.Y67MAFTR.js +1 -1
- package/cdn-versioned/chunks/chunk.ZWWTEE7R.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/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/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 +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- 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 +2 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +18 -18
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +20 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.32MPDFO4.js → chunk.F63YFNZS.js} +1 -1
- package/dist/chunks/{chunk.3KYVW6TB.js → chunk.K3JCC7KV.js} +11 -0
- package/dist/chunks/{chunk.LU65KM4S.js → chunk.OZU372TI.js} +6 -3
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/drawer/drawer.js +1 -1
- package/dist/components/navigation-item/navigation-item.js +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -0
- package/dist/components/tooltip/tooltip.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +11 -11
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.274HT4QS.js +3 -3
- package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
- package/dist-versioned/chunks/chunk.4MHQ63NW.js +26 -26
- package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
- package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
- package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
- package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
- package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
- package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
- package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
- package/dist-versioned/chunks/chunk.BJIZPRT4.js +5 -5
- package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
- package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
- package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
- package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
- package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
- package/dist-versioned/chunks/{chunk.32MPDFO4.js → chunk.F63YFNZS.js} +6 -6
- package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
- package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
- package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
- package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
- package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
- package/dist-versioned/chunks/chunk.HP2TVELZ.js +1 -1
- package/dist-versioned/chunks/chunk.IN7RNHBF.js +1 -1
- package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
- package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
- package/dist-versioned/chunks/{chunk.3KYVW6TB.js → chunk.K3JCC7KV.js} +16 -5
- package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
- package/dist-versioned/chunks/chunk.KPA6BEFU.js +5 -5
- package/dist-versioned/chunks/{chunk.TGJ2SBPH.js → chunk.KQAHFLVX.js} +9 -9
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.L32THKSR.js +3 -3
- package/dist-versioned/chunks/chunk.L5XQ7O4S.js +2 -2
- package/dist-versioned/chunks/chunk.LZA2QYUU.js +1 -1
- package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
- package/dist-versioned/chunks/chunk.NY5S53W2.js +13 -13
- package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
- package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
- package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
- package/dist-versioned/chunks/{chunk.LU65KM4S.js → chunk.OZU372TI.js} +7 -4
- package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
- package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
- package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
- package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
- package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
- package/dist-versioned/chunks/chunk.X2PI2F35.js +1 -1
- package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
- package/dist-versioned/chunks/chunk.XQNY7RZD.js +29 -29
- package/dist-versioned/chunks/chunk.Y7254YJM.js +2 -2
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +2 -2
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/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 +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- 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 +2 -1
- package/dist-versioned/components/tooltip/tooltip.js +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +11 -11
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.6SJ5NDAJ.js +0 -4
- package/cdn/chunks/chunk.OF353WP5.js +0 -1
- package/cdn-versioned/chunks/chunk.6SJ5NDAJ.js +0 -4
- package/cdn-versioned/chunks/chunk.OF353WP5.js +0 -1
- package/dist/chunks/{chunk.TGJ2SBPH.js → chunk.KQAHFLVX.js} +3 -3
@@ -1,14 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"name": "@solid-design-system/components",
|
4
|
-
"version": "4.0.
|
4
|
+
"version": "4.0.7",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"elements": [
|
9
9
|
{
|
10
|
-
"name": "sd-4-0-
|
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\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-0-
|
10
|
+
"name": "sd-4-0-7-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\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
12
12
|
"doc-url": "",
|
13
13
|
"attributes": [
|
14
14
|
{
|
@@ -40,11 +40,11 @@
|
|
40
40
|
},
|
41
41
|
{
|
42
42
|
"name": "expand-icon",
|
43
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
44
44
|
},
|
45
45
|
{
|
46
46
|
"name": "collapse-icon",
|
47
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
48
48
|
}
|
49
49
|
],
|
50
50
|
"events": [
|
@@ -111,8 +111,8 @@
|
|
111
111
|
}
|
112
112
|
},
|
113
113
|
{
|
114
|
-
"name": "sd-4-0-
|
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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-0-
|
114
|
+
"name": "sd-4-0-7-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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-0-7-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
116
116
|
"doc-url": "",
|
117
117
|
"attributes": [
|
118
118
|
{
|
@@ -134,7 +134,7 @@
|
|
134
134
|
"slots": [
|
135
135
|
{
|
136
136
|
"name": "",
|
137
|
-
"description": "The default slot where `<sd-4-0-
|
137
|
+
"description": "The default slot where `<sd-4-0-7-accordion>` elements are placed."
|
138
138
|
}
|
139
139
|
],
|
140
140
|
"events": [],
|
@@ -160,8 +160,8 @@
|
|
160
160
|
}
|
161
161
|
},
|
162
162
|
{
|
163
|
-
"name": "sd-4-0-
|
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\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-0-
|
163
|
+
"name": "sd-4-0-7-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\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-0-7-animation>` elements.",
|
165
165
|
"doc-url": "",
|
166
166
|
"attributes": [
|
167
167
|
{
|
@@ -233,7 +233,7 @@
|
|
233
233
|
"slots": [
|
234
234
|
{
|
235
235
|
"name": "",
|
236
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-0-
|
236
|
+
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-0-7-animation>` elements."
|
237
237
|
}
|
238
238
|
],
|
239
239
|
"events": [
|
@@ -345,7 +345,7 @@
|
|
345
345
|
}
|
346
346
|
},
|
347
347
|
{
|
348
|
-
"name": "sd-4-0-
|
348
|
+
"name": "sd-4-0-7-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\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": [
|
@@ -500,7 +500,7 @@
|
|
500
500
|
}
|
501
501
|
},
|
502
502
|
{
|
503
|
-
"name": "sd-4-0-
|
503
|
+
"name": "sd-4-0-7-badge",
|
504
504
|
"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\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.",
|
505
505
|
"doc-url": "",
|
506
506
|
"attributes": [
|
@@ -567,7 +567,7 @@
|
|
567
567
|
}
|
568
568
|
},
|
569
569
|
{
|
570
|
-
"name": "sd-4-0-
|
570
|
+
"name": "sd-4-0-7-brandshape",
|
571
571
|
"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\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.",
|
572
572
|
"doc-url": "",
|
573
573
|
"attributes": [
|
@@ -633,7 +633,7 @@
|
|
633
633
|
}
|
634
634
|
},
|
635
635
|
{
|
636
|
-
"name": "sd-4-0-
|
636
|
+
"name": "sd-4-0-7-button",
|
637
637
|
"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\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.",
|
638
638
|
"doc-url": "",
|
639
639
|
"attributes": [
|
@@ -891,8 +891,8 @@
|
|
891
891
|
}
|
892
892
|
},
|
893
893
|
{
|
894
|
-
"name": "sd-4-0-
|
895
|
-
"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\n### **Slots:**\n - _default_ - One or more `<sd-4-0-
|
894
|
+
"name": "sd-4-0-7-button-group",
|
895
|
+
"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\n### **Slots:**\n - _default_ - One or more `<sd-4-0-7-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
896
896
|
"doc-url": "",
|
897
897
|
"attributes": [
|
898
898
|
{
|
@@ -914,7 +914,7 @@
|
|
914
914
|
"slots": [
|
915
915
|
{
|
916
916
|
"name": "",
|
917
|
-
"description": "One or more `<sd-4-0-
|
917
|
+
"description": "One or more `<sd-4-0-7-button>` elements to display in the button group."
|
918
918
|
}
|
919
919
|
],
|
920
920
|
"events": [],
|
@@ -941,8 +941,8 @@
|
|
941
941
|
}
|
942
942
|
},
|
943
943
|
{
|
944
|
-
"name": "sd-4-0-
|
945
|
-
"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\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-0-
|
944
|
+
"name": "sd-4-0-7-carousel",
|
945
|
+
"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\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-0-7-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-0-7-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.",
|
946
946
|
"doc-url": "",
|
947
947
|
"attributes": [
|
948
948
|
{
|
@@ -989,23 +989,23 @@
|
|
989
989
|
"slots": [
|
990
990
|
{
|
991
991
|
"name": "",
|
992
|
-
"description": "The carousel's main content, one or more `<sd-4-0-
|
992
|
+
"description": "The carousel's main content, one or more `<sd-4-0-7-carousel-item>` elements."
|
993
993
|
},
|
994
994
|
{
|
995
995
|
"name": "next-icon",
|
996
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-0-
|
996
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
997
997
|
},
|
998
998
|
{
|
999
999
|
"name": "previous-icon",
|
1000
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-0-
|
1000
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
1001
1001
|
},
|
1002
1002
|
{
|
1003
1003
|
"name": "autoplay-start",
|
1004
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-0-
|
1004
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
1005
1005
|
},
|
1006
1006
|
{
|
1007
1007
|
"name": "autoplay-pause",
|
1008
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-0-
|
1008
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
1009
1009
|
}
|
1010
1010
|
],
|
1011
1011
|
"events": [
|
@@ -1069,7 +1069,7 @@
|
|
1069
1069
|
}
|
1070
1070
|
},
|
1071
1071
|
{
|
1072
|
-
"name": "sd-4-0-
|
1072
|
+
"name": "sd-4-0-7-carousel-item",
|
1073
1073
|
"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\n### **Slots:**\n - _default_ - The carousel item's content.",
|
1074
1074
|
"doc-url": "",
|
1075
1075
|
"attributes": [
|
@@ -1105,8 +1105,8 @@
|
|
1105
1105
|
}
|
1106
1106
|
},
|
1107
1107
|
{
|
1108
|
-
"name": "sd-4-0-
|
1109
|
-
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-4-0-
|
1108
|
+
"name": "sd-4-0-7-checkbox",
|
1109
|
+
"description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-4-0-7-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-0-7-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
1110
1110
|
"doc-url": "",
|
1111
1111
|
"attributes": [
|
1112
1112
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
@@ -1176,7 +1176,7 @@
|
|
1176
1176
|
"description": "Emitted when the checkbox gains focus."
|
1177
1177
|
},
|
1178
1178
|
{
|
1179
|
-
"name": "sd-4-0-
|
1179
|
+
"name": "sd-4-0-7-input",
|
1180
1180
|
"description": "Emitted when the checkbox receives input."
|
1181
1181
|
}
|
1182
1182
|
],
|
@@ -1257,15 +1257,15 @@
|
|
1257
1257
|
"description": "Emitted when the checkbox gains focus."
|
1258
1258
|
},
|
1259
1259
|
{
|
1260
|
-
"name": "sd-4-0-
|
1260
|
+
"name": "sd-4-0-7-input",
|
1261
1261
|
"description": "Emitted when the checkbox receives input."
|
1262
1262
|
}
|
1263
1263
|
]
|
1264
1264
|
}
|
1265
1265
|
},
|
1266
1266
|
{
|
1267
|
-
"name": "sd-4-0-
|
1268
|
-
"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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-0-
|
1267
|
+
"name": "sd-4-0-7-checkbox-group",
|
1268
|
+
"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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-0-7-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-0-7-tooltip` component.",
|
1269
1269
|
"doc-url": "",
|
1270
1270
|
"attributes": [
|
1271
1271
|
{
|
@@ -1300,7 +1300,7 @@
|
|
1300
1300
|
"slots": [
|
1301
1301
|
{
|
1302
1302
|
"name": "",
|
1303
|
-
"description": "The default slot where `<sd-4-0-
|
1303
|
+
"description": "The default slot where `<sd-4-0-7-checkbox>` elements are placed."
|
1304
1304
|
},
|
1305
1305
|
{
|
1306
1306
|
"name": "label",
|
@@ -1308,7 +1308,7 @@
|
|
1308
1308
|
},
|
1309
1309
|
{
|
1310
1310
|
"name": "tooltip",
|
1311
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-0-
|
1311
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-0-7-tooltip` component."
|
1312
1312
|
}
|
1313
1313
|
],
|
1314
1314
|
"events": [],
|
@@ -1344,8 +1344,8 @@
|
|
1344
1344
|
}
|
1345
1345
|
},
|
1346
1346
|
{
|
1347
|
-
"name": "sd-4-0-
|
1348
|
-
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-0-
|
1347
|
+
"name": "sd-4-0-7-combobox",
|
1348
|
+
"description": "Comboboxes allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-0-7-option>` elements. You can use `<sd-4-0-7-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.",
|
1349
1349
|
"doc-url": "",
|
1350
1350
|
"attributes": [
|
1351
1351
|
{
|
@@ -1433,7 +1433,7 @@
|
|
1433
1433
|
},
|
1434
1434
|
{
|
1435
1435
|
"name": "useTags",
|
1436
|
-
"description": "Uses interactive `sd-4-0-
|
1436
|
+
"description": "Uses interactive `sd-4-0-7-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
1437
1437
|
"value": { "type": "boolean", "default": "true" }
|
1438
1438
|
},
|
1439
1439
|
{
|
@@ -1474,7 +1474,7 @@
|
|
1474
1474
|
"slots": [
|
1475
1475
|
{
|
1476
1476
|
"name": "",
|
1477
|
-
"description": "The listbox options. Must be `<sd-4-0-
|
1477
|
+
"description": "The listbox options. Must be `<sd-4-0-7-option>` elements. You can use `<sd-4-0-7-optgroup>`'s to group items visually."
|
1478
1478
|
},
|
1479
1479
|
{
|
1480
1480
|
"name": "label",
|
@@ -1511,7 +1511,7 @@
|
|
1511
1511
|
"description": "Emitted when the control's value is cleared."
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "sd-4-0-
|
1514
|
+
"name": "sd-4-0-7-input",
|
1515
1515
|
"description": "Emitted when the control receives input."
|
1516
1516
|
},
|
1517
1517
|
{
|
@@ -1649,7 +1649,7 @@
|
|
1649
1649
|
},
|
1650
1650
|
{
|
1651
1651
|
"name": "useTags",
|
1652
|
-
"description": "Uses interactive `sd-4-0-
|
1652
|
+
"description": "Uses interactive `sd-4-0-7-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
1653
1653
|
"type": "boolean"
|
1654
1654
|
},
|
1655
1655
|
{
|
@@ -1696,7 +1696,7 @@
|
|
1696
1696
|
"description": "Emitted when the control's value is cleared."
|
1697
1697
|
},
|
1698
1698
|
{
|
1699
|
-
"name": "sd-4-0-
|
1699
|
+
"name": "sd-4-0-7-input",
|
1700
1700
|
"description": "Emitted when the control receives input."
|
1701
1701
|
},
|
1702
1702
|
{
|
@@ -1735,8 +1735,8 @@
|
|
1735
1735
|
}
|
1736
1736
|
},
|
1737
1737
|
{
|
1738
|
-
"name": "sd-4-0-
|
1739
|
-
"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\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-4-0-
|
1738
|
+
"name": "sd-4-0-7-dialog",
|
1739
|
+
"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\n### **Slots:**\n - _default_ - The dialog's main content.\n- **headline** - The dialog's headline. Alternatively, you can use the `headline` attribute.\n- **footer** - The dialog's footer, usually one or more buttons representing various options.\n- **close-button** - The dialog's close button. Works best with `<sd-4-0-7-button>` and `<sd-4-0-7-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-4-0-7-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
1740
1740
|
"doc-url": "",
|
1741
1741
|
"attributes": [
|
1742
1742
|
{
|
@@ -1777,7 +1777,7 @@
|
|
1777
1777
|
},
|
1778
1778
|
{
|
1779
1779
|
"name": "close-button",
|
1780
|
-
"description": "The dialog's close button. Works best with `<sd-4-0-
|
1780
|
+
"description": "The dialog's close button. Works best with `<sd-4-0-7-button>` and `<sd-4-0-7-icon>`."
|
1781
1781
|
}
|
1782
1782
|
],
|
1783
1783
|
"events": [
|
@@ -1866,7 +1866,7 @@
|
|
1866
1866
|
}
|
1867
1867
|
},
|
1868
1868
|
{
|
1869
|
-
"name": "sd-4-0-
|
1869
|
+
"name": "sd-4-0-7-divider",
|
1870
1870
|
"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\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
1871
1871
|
"doc-url": "",
|
1872
1872
|
"attributes": [
|
@@ -1922,8 +1922,8 @@
|
|
1922
1922
|
}
|
1923
1923
|
},
|
1924
1924
|
{
|
1925
|
-
"name": "sd-4-0-
|
1926
|
-
"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\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-4-0-
|
1925
|
+
"name": "sd-4-0-7-drawer",
|
1926
|
+
"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\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-4-0-7-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
1927
1927
|
"doc-url": "",
|
1928
1928
|
"attributes": [
|
1929
1929
|
{
|
@@ -2069,8 +2069,8 @@
|
|
2069
2069
|
}
|
2070
2070
|
},
|
2071
2071
|
{
|
2072
|
-
"name": "sd-4-0-
|
2073
|
-
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-4-0-
|
2072
|
+
"name": "sd-4-0-7-dropdown",
|
2073
|
+
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **getAccessibleTrigger(): _HTMLElement | null_** - Slotted triggers can be arbitrary content. The accessible trigger is the tabbable element\nwithin the slotted trigger. This could be the slotted element itself, a child of the slotted element,\nor an element within the slotted elements shadow root.\n\ne.g. the accessible trigger of an <sd-4-0-7-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\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-4-0-7-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
2074
2074
|
"doc-url": "",
|
2075
2075
|
"attributes": [
|
2076
2076
|
{
|
@@ -2141,7 +2141,7 @@
|
|
2141
2141
|
{ "name": "", "description": "The dropdown's main content." },
|
2142
2142
|
{
|
2143
2143
|
"name": "trigger",
|
2144
|
-
"description": "The dropdown's trigger, usually a `<sd-4-0-
|
2144
|
+
"description": "The dropdown's trigger, usually a `<sd-4-0-7-button>` element."
|
2145
2145
|
}
|
2146
2146
|
],
|
2147
2147
|
"events": [
|
@@ -2248,7 +2248,7 @@
|
|
2248
2248
|
}
|
2249
2249
|
},
|
2250
2250
|
{
|
2251
|
-
"name": "sd-4-0-
|
2251
|
+
"name": "sd-4-0-7-expandable",
|
2252
2252
|
"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\n### **Slots:**\n - _default_ - Content of the expandable\n- **toggle-open** - Content of the toggle button when the expandable is open\n- **toggle-closed** - Content of the toggle button when the expandable is closed\n\n### **CSS Properties:**\n - **--gradient-color-start** - Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0)) _(default: undefined)_\n- **--gradient-color-end** - End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1)) _(default: undefined)_\n- **--gradient-height** - Height of the gradient (default: 24px) _(default: undefined)_\n- **--component-expandable-max-block-size** - Different value for initial visible block (default: 90px) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The content of the expandable.\n- **toggle** - The toggle button of the expandable.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
2253
2253
|
"doc-url": "",
|
2254
2254
|
"attributes": [
|
@@ -2347,7 +2347,7 @@
|
|
2347
2347
|
}
|
2348
2348
|
},
|
2349
2349
|
{
|
2350
|
-
"name": "sd-4-0-
|
2350
|
+
"name": "sd-4-0-7-flipcard",
|
2351
2351
|
"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\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.",
|
2352
2352
|
"doc-url": "",
|
2353
2353
|
"attributes": [
|
@@ -2463,7 +2463,7 @@
|
|
2463
2463
|
}
|
2464
2464
|
},
|
2465
2465
|
{
|
2466
|
-
"name": "sd-4-0-
|
2466
|
+
"name": "sd-4-0-7-header",
|
2467
2467
|
"description": "Header\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\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.",
|
2468
2468
|
"doc-url": "",
|
2469
2469
|
"attributes": [
|
@@ -2509,7 +2509,7 @@
|
|
2509
2509
|
}
|
2510
2510
|
},
|
2511
2511
|
{
|
2512
|
-
"name": "sd-4-0-
|
2512
|
+
"name": "sd-4-0-7-icon",
|
2513
2513
|
"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.",
|
2514
2514
|
"doc-url": "",
|
2515
2515
|
"attributes": [
|
@@ -2613,7 +2613,7 @@
|
|
2613
2613
|
}
|
2614
2614
|
},
|
2615
2615
|
{
|
2616
|
-
"name": "sd-4-0-
|
2616
|
+
"name": "sd-4-0-7-include",
|
2617
2617
|
"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.",
|
2618
2618
|
"doc-url": "",
|
2619
2619
|
"attributes": [
|
@@ -2699,8 +2699,8 @@
|
|
2699
2699
|
}
|
2700
2700
|
},
|
2701
2701
|
{
|
2702
|
-
"name": "sd-4-0-
|
2703
|
-
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-0-
|
2702
|
+
"name": "sd-4-0-7-input",
|
2703
|
+
"description": "Inputs collect data from the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-0-7-input** - Emitted when the control receives input.\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\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-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.",
|
2704
2704
|
"doc-url": "",
|
2705
2705
|
"attributes": [
|
2706
2706
|
{
|
@@ -2904,7 +2904,7 @@
|
|
2904
2904
|
},
|
2905
2905
|
{
|
2906
2906
|
"name": "tooltip",
|
2907
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-
|
2907
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-tooltip` component."
|
2908
2908
|
}
|
2909
2909
|
],
|
2910
2910
|
"events": [
|
@@ -2925,7 +2925,7 @@
|
|
2925
2925
|
"description": "Emitted when the control gains focus."
|
2926
2926
|
},
|
2927
2927
|
{
|
2928
|
-
"name": "sd-4-0-
|
2928
|
+
"name": "sd-4-0-7-input",
|
2929
2929
|
"description": "Emitted when the control receives input."
|
2930
2930
|
}
|
2931
2931
|
],
|
@@ -3128,14 +3128,14 @@
|
|
3128
3128
|
"description": "Emitted when the control gains focus."
|
3129
3129
|
},
|
3130
3130
|
{
|
3131
|
-
"name": "sd-4-0-
|
3131
|
+
"name": "sd-4-0-7-input",
|
3132
3132
|
"description": "Emitted when the control receives input."
|
3133
3133
|
}
|
3134
3134
|
]
|
3135
3135
|
}
|
3136
3136
|
},
|
3137
3137
|
{
|
3138
|
-
"name": "sd-4-0-
|
3138
|
+
"name": "sd-4-0-7-link",
|
3139
3139
|
"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\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.",
|
3140
3140
|
"doc-url": "",
|
3141
3141
|
"attributes": [
|
@@ -3260,7 +3260,7 @@
|
|
3260
3260
|
}
|
3261
3261
|
},
|
3262
3262
|
{
|
3263
|
-
"name": "sd-4-0-
|
3263
|
+
"name": "sd-4-0-7-map-marker",
|
3264
3264
|
"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\n### **Slots:**\n - _default_ - The marker's content.\\\n\n### **CSS Properties:**\n - **--map-marker-scaling** - Scale the marker size. _(default: undefined)_",
|
3265
3265
|
"doc-url": "",
|
3266
3266
|
"attributes": [
|
@@ -3378,7 +3378,7 @@
|
|
3378
3378
|
}
|
3379
3379
|
},
|
3380
3380
|
{
|
3381
|
-
"name": "sd-4-0-
|
3381
|
+
"name": "sd-4-0-7-navigation-item",
|
3382
3382
|
"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\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.",
|
3383
3383
|
"doc-url": "",
|
3384
3384
|
"attributes": [
|
@@ -3565,13 +3565,13 @@
|
|
3565
3565
|
}
|
3566
3566
|
},
|
3567
3567
|
{
|
3568
|
-
"name": "sd-4-0-
|
3569
|
-
"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\n### **Slots:**\n - _default_ - The sd-4-0-
|
3568
|
+
"name": "sd-4-0-7-notification",
|
3569
|
+
"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\n### **Slots:**\n - _default_ - The sd-4-0-7-notification's main content.\n- **icon** - An icon to show in the sd-4-0-7-notification. Works best with `<sd-4-0-7-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **content** - The container that wraps the notifications's main content and the close button.\n- **message** - The container that wraps the notifications's main content.\n- **duration-indicator__elapsed** - The current duration indicator.\n- **duration-indicator__total** - The total duration indicator.\n- **close-button** - The close button, an `<sd-4-0-7-icon-button>`.",
|
3570
3570
|
"doc-url": "",
|
3571
3571
|
"attributes": [
|
3572
3572
|
{
|
3573
3573
|
"name": "variant",
|
3574
|
-
"description": "The sd-4-0-
|
3574
|
+
"description": "The sd-4-0-7-notification's theme.",
|
3575
3575
|
"value": {
|
3576
3576
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
3577
3577
|
"default": "'info'"
|
@@ -3579,7 +3579,7 @@
|
|
3579
3579
|
},
|
3580
3580
|
{
|
3581
3581
|
"name": "open",
|
3582
|
-
"description": "Indicates whether or not sd-4-0-
|
3582
|
+
"description": "Indicates whether or not sd-4-0-7-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.",
|
3583
3583
|
"value": { "type": "boolean", "default": "false" }
|
3584
3584
|
},
|
3585
3585
|
{
|
@@ -3589,7 +3589,7 @@
|
|
3589
3589
|
},
|
3590
3590
|
{
|
3591
3591
|
"name": "duration",
|
3592
|
-
"description": "The length of time, in milliseconds, the sd-4-0-
|
3592
|
+
"description": "The length of time, in milliseconds, the sd-4-0-7-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.",
|
3593
3593
|
"value": { "type": "string", "default": "Infinity" }
|
3594
3594
|
},
|
3595
3595
|
{
|
@@ -3599,7 +3599,7 @@
|
|
3599
3599
|
},
|
3600
3600
|
{
|
3601
3601
|
"name": "toast-stack",
|
3602
|
-
"description": "The position of the toasted sd-4-0-
|
3602
|
+
"description": "The position of the toasted sd-4-0-7-notification.",
|
3603
3603
|
"value": {
|
3604
3604
|
"type": "'top-right' | 'bottom-center'",
|
3605
3605
|
"default": "'top-right'"
|
@@ -3619,11 +3619,11 @@
|
|
3619
3619
|
"slots": [
|
3620
3620
|
{
|
3621
3621
|
"name": "",
|
3622
|
-
"description": "The sd-4-0-
|
3622
|
+
"description": "The sd-4-0-7-notification's main content."
|
3623
3623
|
},
|
3624
3624
|
{
|
3625
3625
|
"name": "icon",
|
3626
|
-
"description": "An icon to show in the sd-4-0-
|
3626
|
+
"description": "An icon to show in the sd-4-0-7-notification. Works best with `<sd-4-0-7-icon>`."
|
3627
3627
|
}
|
3628
3628
|
],
|
3629
3629
|
"events": [
|
@@ -3649,12 +3649,12 @@
|
|
3649
3649
|
{ "name": "localize" },
|
3650
3650
|
{
|
3651
3651
|
"name": "variant",
|
3652
|
-
"description": "The sd-4-0-
|
3652
|
+
"description": "The sd-4-0-7-notification's theme.",
|
3653
3653
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
3654
3654
|
},
|
3655
3655
|
{
|
3656
3656
|
"name": "open",
|
3657
|
-
"description": "Indicates whether or not sd-4-0-
|
3657
|
+
"description": "Indicates whether or not sd-4-0-7-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.",
|
3658
3658
|
"type": "boolean"
|
3659
3659
|
},
|
3660
3660
|
{
|
@@ -3664,7 +3664,7 @@
|
|
3664
3664
|
},
|
3665
3665
|
{
|
3666
3666
|
"name": "duration",
|
3667
|
-
"description": "The length of time, in milliseconds, the sd-4-0-
|
3667
|
+
"description": "The length of time, in milliseconds, the sd-4-0-7-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."
|
3668
3668
|
},
|
3669
3669
|
{
|
3670
3670
|
"name": "durationIndicator",
|
@@ -3673,7 +3673,7 @@
|
|
3673
3673
|
},
|
3674
3674
|
{
|
3675
3675
|
"name": "toastStack",
|
3676
|
-
"description": "The position of the toasted sd-4-0-
|
3676
|
+
"description": "The position of the toasted sd-4-0-7-notification.",
|
3677
3677
|
"type": "'top-right' | 'bottom-center'"
|
3678
3678
|
},
|
3679
3679
|
{
|
@@ -3708,8 +3708,8 @@
|
|
3708
3708
|
}
|
3709
3709
|
},
|
3710
3710
|
{
|
3711
|
-
"name": "sd-4-0-
|
3712
|
-
"description": "The <sd-4-0-
|
3711
|
+
"name": "sd-4-0-7-optgroup",
|
3712
|
+
"description": "The <sd-4-0-7-optgroup> element creates a grouping for <sd-4-0-7-option>s within a <sd-4-0-7-combobox>.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The given options. Must be `<sd-4-0-7-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-4-0-7-option> elements.",
|
3713
3713
|
"doc-url": "",
|
3714
3714
|
"attributes": [
|
3715
3715
|
{
|
@@ -3736,7 +3736,7 @@
|
|
3736
3736
|
"slots": [
|
3737
3737
|
{
|
3738
3738
|
"name": "",
|
3739
|
-
"description": "The given options. Must be `<sd-4-0-
|
3739
|
+
"description": "The given options. Must be `<sd-4-0-7-option>` elements."
|
3740
3740
|
},
|
3741
3741
|
{ "name": "label", "description": "The label for the optgroup" }
|
3742
3742
|
],
|
@@ -3768,18 +3768,18 @@
|
|
3768
3768
|
}
|
3769
3769
|
},
|
3770
3770
|
{
|
3771
|
-
"name": "sd-4-0-
|
3772
|
-
"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\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-0-
|
3771
|
+
"name": "sd-4-0-7-option",
|
3772
|
+
"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\n### **Slots:**\n - _default_ - The option's label.\n- **left** - Used to prepend an icon or similar element to the menu item.\n- **right** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sd-4-0-7-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.",
|
3773
3773
|
"doc-url": "",
|
3774
3774
|
"attributes": [
|
3775
3775
|
{
|
3776
3776
|
"name": "size",
|
3777
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-
|
3777
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-7-select`.",
|
3778
3778
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
3779
3779
|
},
|
3780
3780
|
{
|
3781
3781
|
"name": "checkbox",
|
3782
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-
|
3782
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-7-select` when attribute `checklist` is set to `true`.",
|
3783
3783
|
"value": { "type": "boolean", "default": "false" }
|
3784
3784
|
},
|
3785
3785
|
{
|
@@ -3819,12 +3819,12 @@
|
|
3819
3819
|
"properties": [
|
3820
3820
|
{
|
3821
3821
|
"name": "size",
|
3822
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-
|
3822
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-7-select`.",
|
3823
3823
|
"type": "'lg' | 'md' | 'sm'"
|
3824
3824
|
},
|
3825
3825
|
{
|
3826
3826
|
"name": "checkbox",
|
3827
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-
|
3827
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-7-select` when attribute `checklist` is set to `true`.",
|
3828
3828
|
"type": "boolean"
|
3829
3829
|
},
|
3830
3830
|
{
|
@@ -3852,7 +3852,7 @@
|
|
3852
3852
|
}
|
3853
3853
|
},
|
3854
3854
|
{
|
3855
|
-
"name": "sd-4-0-
|
3855
|
+
"name": "sd-4-0-7-popup",
|
3856
3856
|
"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\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.",
|
3857
3857
|
"doc-url": "",
|
3858
3858
|
"attributes": [
|
@@ -4132,8 +4132,8 @@
|
|
4132
4132
|
}
|
4133
4133
|
},
|
4134
4134
|
{
|
4135
|
-
"name": "sd-4-0-
|
4136
|
-
"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\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-0-
|
4135
|
+
"name": "sd-4-0-7-quickfact",
|
4136
|
+
"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\n### **Slots:**\n - **icon** - Optional icon to show in the header. Works best with `<sd-4-0-7-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-0-7-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-0-7-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.",
|
4137
4137
|
"doc-url": "",
|
4138
4138
|
"attributes": [
|
4139
4139
|
{
|
@@ -4165,7 +4165,7 @@
|
|
4165
4165
|
"slots": [
|
4166
4166
|
{
|
4167
4167
|
"name": "icon",
|
4168
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-0-
|
4168
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-0-7-icon>`."
|
4169
4169
|
},
|
4170
4170
|
{ "name": "", "description": "The accordion main content." },
|
4171
4171
|
{
|
@@ -4174,11 +4174,11 @@
|
|
4174
4174
|
},
|
4175
4175
|
{
|
4176
4176
|
"name": "expand-icon",
|
4177
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-
|
4177
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
4178
4178
|
},
|
4179
4179
|
{
|
4180
4180
|
"name": "collapse-icon",
|
4181
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-
|
4181
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-7-icon>`."
|
4182
4182
|
}
|
4183
4183
|
],
|
4184
4184
|
"events": [
|
@@ -4250,7 +4250,7 @@
|
|
4250
4250
|
}
|
4251
4251
|
},
|
4252
4252
|
{
|
4253
|
-
"name": "sd-4-0-
|
4253
|
+
"name": "sd-4-0-7-radio",
|
4254
4254
|
"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\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.",
|
4255
4255
|
"doc-url": "",
|
4256
4256
|
"attributes": [
|
@@ -4342,7 +4342,7 @@
|
|
4342
4342
|
}
|
4343
4343
|
},
|
4344
4344
|
{
|
4345
|
-
"name": "sd-4-0-
|
4345
|
+
"name": "sd-4-0-7-radio-button",
|
4346
4346
|
"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\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.",
|
4347
4347
|
"doc-url": "",
|
4348
4348
|
"attributes": [
|
@@ -4427,8 +4427,8 @@
|
|
4427
4427
|
}
|
4428
4428
|
},
|
4429
4429
|
{
|
4430
|
-
"name": "sd-4-0-
|
4431
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-4-0-
|
4430
|
+
"name": "sd-4-0-7-radio-group",
|
4431
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - The default slot where `<sd-4-0-7-radio>` or `<sd-4-0-7-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-0-7-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.",
|
4432
4432
|
"doc-url": "",
|
4433
4433
|
"attributes": [
|
4434
4434
|
{
|
@@ -4488,7 +4488,7 @@
|
|
4488
4488
|
"slots": [
|
4489
4489
|
{
|
4490
4490
|
"name": "",
|
4491
|
-
"description": "The default slot where `<sd-4-0-
|
4491
|
+
"description": "The default slot where `<sd-4-0-7-radio>` or `<sd-4-0-7-radio-button>` elements are placed."
|
4492
4492
|
},
|
4493
4493
|
{
|
4494
4494
|
"name": "label",
|
@@ -4496,7 +4496,7 @@
|
|
4496
4496
|
},
|
4497
4497
|
{
|
4498
4498
|
"name": "tooltip",
|
4499
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-0-
|
4499
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-0-7-tooltip` component."
|
4500
4500
|
}
|
4501
4501
|
],
|
4502
4502
|
"events": [
|
@@ -4505,7 +4505,7 @@
|
|
4505
4505
|
"description": "Emitted when the radio group's selected value changes."
|
4506
4506
|
},
|
4507
4507
|
{
|
4508
|
-
"name": "sd-4-0-
|
4508
|
+
"name": "sd-4-0-7-input",
|
4509
4509
|
"description": "Emitted when the radio group receives user input."
|
4510
4510
|
},
|
4511
4511
|
{
|
@@ -4580,7 +4580,7 @@
|
|
4580
4580
|
"description": "Emitted when the radio group's selected value changes."
|
4581
4581
|
},
|
4582
4582
|
{
|
4583
|
-
"name": "sd-4-0-
|
4583
|
+
"name": "sd-4-0-7-input",
|
4584
4584
|
"description": "Emitted when the radio group receives user input."
|
4585
4585
|
},
|
4586
4586
|
{
|
@@ -4591,7 +4591,7 @@
|
|
4591
4591
|
}
|
4592
4592
|
},
|
4593
4593
|
{
|
4594
|
-
"name": "sd-4-0-
|
4594
|
+
"name": "sd-4-0-7-scrollable",
|
4595
4595
|
"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\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.",
|
4596
4596
|
"doc-url": "",
|
4597
4597
|
"attributes": [
|
@@ -4752,8 +4752,8 @@
|
|
4752
4752
|
}
|
4753
4753
|
},
|
4754
4754
|
{
|
4755
|
-
"name": "sd-4-0-
|
4756
|
-
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-0-
|
4755
|
+
"name": "sd-4-0-7-select",
|
4756
|
+
"description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sd-change** - Emitted when the control's value changes.\n- **sd-clear** - Emitted when the control's value is cleared.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-0-7-option>` elements. You can use `<sd-4-0-7-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-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.",
|
4757
4757
|
"doc-url": "",
|
4758
4758
|
"attributes": [
|
4759
4759
|
{
|
@@ -4808,7 +4808,7 @@
|
|
4808
4808
|
},
|
4809
4809
|
{
|
4810
4810
|
"name": "useTags",
|
4811
|
-
"description": "Uses interactive `sd-4-0-
|
4811
|
+
"description": "Uses interactive `sd-4-0-7-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
4812
4812
|
"value": { "type": "boolean", "default": "false" }
|
4813
4813
|
},
|
4814
4814
|
{
|
@@ -4867,7 +4867,7 @@
|
|
4867
4867
|
"slots": [
|
4868
4868
|
{
|
4869
4869
|
"name": "",
|
4870
|
-
"description": "The listbox options. Must be `<sd-4-0-
|
4870
|
+
"description": "The listbox options. Must be `<sd-4-0-7-option>` elements. You can use `<sd-4-0-7-divider>` to group items visually."
|
4871
4871
|
},
|
4872
4872
|
{
|
4873
4873
|
"name": "label",
|
@@ -4887,7 +4887,7 @@
|
|
4887
4887
|
},
|
4888
4888
|
{
|
4889
4889
|
"name": "tooltip",
|
4890
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-
|
4890
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-tooltip` component."
|
4891
4891
|
}
|
4892
4892
|
],
|
4893
4893
|
"events": [
|
@@ -4900,7 +4900,7 @@
|
|
4900
4900
|
"description": "Emitted when the control's value is cleared."
|
4901
4901
|
},
|
4902
4902
|
{
|
4903
|
-
"name": "sd-4-0-
|
4903
|
+
"name": "sd-4-0-7-input",
|
4904
4904
|
"description": "Emitted when the control receives input."
|
4905
4905
|
},
|
4906
4906
|
{
|
@@ -4994,7 +4994,7 @@
|
|
4994
4994
|
},
|
4995
4995
|
{
|
4996
4996
|
"name": "useTags",
|
4997
|
-
"description": "Uses interactive `sd-4-0-
|
4997
|
+
"description": "Uses interactive `sd-4-0-7-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
4998
4998
|
"type": "boolean"
|
4999
4999
|
},
|
5000
5000
|
{
|
@@ -5061,7 +5061,7 @@
|
|
5061
5061
|
"description": "Emitted when the control's value is cleared."
|
5062
5062
|
},
|
5063
5063
|
{
|
5064
|
-
"name": "sd-4-0-
|
5064
|
+
"name": "sd-4-0-7-input",
|
5065
5065
|
"description": "Emitted when the control receives input."
|
5066
5066
|
},
|
5067
5067
|
{
|
@@ -5096,7 +5096,7 @@
|
|
5096
5096
|
}
|
5097
5097
|
},
|
5098
5098
|
{
|
5099
|
-
"name": "sd-4-0-
|
5099
|
+
"name": "sd-4-0-7-spinner",
|
5100
5100
|
"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.",
|
5101
5101
|
"doc-url": "",
|
5102
5102
|
"attributes": [
|
@@ -5143,7 +5143,7 @@
|
|
5143
5143
|
}
|
5144
5144
|
},
|
5145
5145
|
{
|
5146
|
-
"name": "sd-4-0-
|
5146
|
+
"name": "sd-4-0-7-step",
|
5147
5147
|
"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\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.",
|
5148
5148
|
"doc-url": "",
|
5149
5149
|
"attributes": [
|
@@ -5306,8 +5306,8 @@
|
|
5306
5306
|
}
|
5307
5307
|
},
|
5308
5308
|
{
|
5309
|
-
"name": "sd-4-0-
|
5310
|
-
"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\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-0-
|
5309
|
+
"name": "sd-4-0-7-step-group",
|
5310
|
+
"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\n### **Slots:**\n - _default_ - Used for grouping steps in the step group. Must be `<sd-4-0-7-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
5311
5311
|
"doc-url": "",
|
5312
5312
|
"attributes": [
|
5313
5313
|
{
|
@@ -5347,7 +5347,7 @@
|
|
5347
5347
|
"slots": [
|
5348
5348
|
{
|
5349
5349
|
"name": "",
|
5350
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-0-
|
5350
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-0-7-step>` elements."
|
5351
5351
|
}
|
5352
5352
|
],
|
5353
5353
|
"events": [],
|
@@ -5388,8 +5388,8 @@
|
|
5388
5388
|
}
|
5389
5389
|
},
|
5390
5390
|
{
|
5391
|
-
"name": "sd-4-0-
|
5392
|
-
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-4-0-
|
5391
|
+
"name": "sd-4-0-7-switch",
|
5392
|
+
"description": "Switches allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the switch loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the switch gains focus.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - The switch's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the switch's state.\n- **control--checked** - Matches the control part when the switch is on.\n- **control--unchecked** - Matches the control part when the switch is off.\n- **thumb** - The circle that marks the switch's state.\n- **label** - The container that wraps the switch's label.",
|
5393
5393
|
"doc-url": "",
|
5394
5394
|
"attributes": [
|
5395
5395
|
{
|
@@ -5453,7 +5453,7 @@
|
|
5453
5453
|
"description": "Emitted when the switch gains focus."
|
5454
5454
|
},
|
5455
5455
|
{
|
5456
|
-
"name": "sd-4-0-
|
5456
|
+
"name": "sd-4-0-7-input",
|
5457
5457
|
"description": "Emitted when the switch receives input."
|
5458
5458
|
}
|
5459
5459
|
],
|
@@ -5528,14 +5528,14 @@
|
|
5528
5528
|
"description": "Emitted when the switch gains focus."
|
5529
5529
|
},
|
5530
5530
|
{
|
5531
|
-
"name": "sd-4-0-
|
5531
|
+
"name": "sd-4-0-7-input",
|
5532
5532
|
"description": "Emitted when the switch receives input."
|
5533
5533
|
}
|
5534
5534
|
]
|
5535
5535
|
}
|
5536
5536
|
},
|
5537
5537
|
{
|
5538
|
-
"name": "sd-4-0-
|
5538
|
+
"name": "sd-4-0-7-tab",
|
5539
5539
|
"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\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.",
|
5540
5540
|
"doc-url": "",
|
5541
5541
|
"attributes": [
|
@@ -5618,8 +5618,8 @@
|
|
5618
5618
|
}
|
5619
5619
|
},
|
5620
5620
|
{
|
5621
|
-
"name": "sd-4-0-
|
5622
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-0-
|
5621
|
+
"name": "sd-4-0-7-tab-group",
|
5622
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-0-7-tab-show** - Emitted when a tab is shown.\n- **sd-4-0-7-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\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-4-0-7-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-0-7-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.",
|
5623
5623
|
"doc-url": "",
|
5624
5624
|
"attributes": [
|
5625
5625
|
{
|
@@ -5641,21 +5641,21 @@
|
|
5641
5641
|
"slots": [
|
5642
5642
|
{
|
5643
5643
|
"name": "",
|
5644
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-0-
|
5644
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-0-7-tab-panel>` elements."
|
5645
5645
|
},
|
5646
5646
|
{
|
5647
5647
|
"name": "nav",
|
5648
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-0-
|
5648
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-0-7-tab>` elements."
|
5649
5649
|
}
|
5650
5650
|
],
|
5651
5651
|
"events": [
|
5652
5652
|
{
|
5653
|
-
"name": "sd-4-0-
|
5653
|
+
"name": "sd-4-0-7-tab-show",
|
5654
5654
|
"type": "{ name: String }",
|
5655
5655
|
"description": "Emitted when a tab is shown."
|
5656
5656
|
},
|
5657
5657
|
{
|
5658
|
-
"name": "sd-4-0-
|
5658
|
+
"name": "sd-4-0-7-tab-hide",
|
5659
5659
|
"type": "{ name: String }",
|
5660
5660
|
"description": "Emitted when a tab is hidden."
|
5661
5661
|
}
|
@@ -5681,12 +5681,12 @@
|
|
5681
5681
|
],
|
5682
5682
|
"events": [
|
5683
5683
|
{
|
5684
|
-
"name": "sd-4-0-
|
5684
|
+
"name": "sd-4-0-7-tab-show",
|
5685
5685
|
"type": "{ name: String }",
|
5686
5686
|
"description": "Emitted when a tab is shown."
|
5687
5687
|
},
|
5688
5688
|
{
|
5689
|
-
"name": "sd-4-0-
|
5689
|
+
"name": "sd-4-0-7-tab-hide",
|
5690
5690
|
"type": "{ name: String }",
|
5691
5691
|
"description": "Emitted when a tab is hidden."
|
5692
5692
|
}
|
@@ -5694,7 +5694,7 @@
|
|
5694
5694
|
}
|
5695
5695
|
},
|
5696
5696
|
{
|
5697
|
-
"name": "sd-4-0-
|
5697
|
+
"name": "sd-4-0-7-tab-panel",
|
5698
5698
|
"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\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.",
|
5699
5699
|
"doc-url": "",
|
5700
5700
|
"attributes": [
|
@@ -5748,7 +5748,7 @@
|
|
5748
5748
|
}
|
5749
5749
|
},
|
5750
5750
|
{
|
5751
|
-
"name": "sd-4-0-
|
5751
|
+
"name": "sd-4-0-7-tag",
|
5752
5752
|
"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\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- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\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.",
|
5753
5753
|
"doc-url": "",
|
5754
5754
|
"attributes": [
|
@@ -5894,7 +5894,7 @@
|
|
5894
5894
|
}
|
5895
5895
|
},
|
5896
5896
|
{
|
5897
|
-
"name": "sd-4-0-
|
5897
|
+
"name": "sd-4-0-7-teaser",
|
5898
5898
|
"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\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.",
|
5899
5899
|
"doc-url": "",
|
5900
5900
|
"attributes": [
|
@@ -5966,7 +5966,7 @@
|
|
5966
5966
|
}
|
5967
5967
|
},
|
5968
5968
|
{
|
5969
|
-
"name": "sd-4-0-
|
5969
|
+
"name": "sd-4-0-7-teaser-media",
|
5970
5970
|
"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\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.",
|
5971
5971
|
"doc-url": "",
|
5972
5972
|
"attributes": [
|
@@ -6022,8 +6022,8 @@
|
|
6022
6022
|
}
|
6023
6023
|
},
|
6024
6024
|
{
|
6025
|
-
"name": "sd-4-0-
|
6026
|
-
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-0-
|
6025
|
+
"name": "sd-4-0-7-textarea",
|
6026
|
+
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-4-0-7-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\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-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.",
|
6027
6027
|
"doc-url": "",
|
6028
6028
|
"attributes": [
|
6029
6029
|
{
|
@@ -6162,7 +6162,7 @@
|
|
6162
6162
|
},
|
6163
6163
|
{
|
6164
6164
|
"name": "tooltip",
|
6165
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-
|
6165
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-7-tooltip` component."
|
6166
6166
|
}
|
6167
6167
|
],
|
6168
6168
|
"events": [
|
@@ -6179,7 +6179,7 @@
|
|
6179
6179
|
"description": "Emitted when the control gains focus."
|
6180
6180
|
},
|
6181
6181
|
{
|
6182
|
-
"name": "sd-4-0-
|
6182
|
+
"name": "sd-4-0-7-input",
|
6183
6183
|
"description": "Emitted when the control receives input."
|
6184
6184
|
},
|
6185
6185
|
{
|
@@ -6337,7 +6337,7 @@
|
|
6337
6337
|
"description": "Emitted when the control gains focus."
|
6338
6338
|
},
|
6339
6339
|
{
|
6340
|
-
"name": "sd-4-0-
|
6340
|
+
"name": "sd-4-0-7-input",
|
6341
6341
|
"description": "Emitted when the control receives input."
|
6342
6342
|
},
|
6343
6343
|
{
|
@@ -6348,8 +6348,8 @@
|
|
6348
6348
|
}
|
6349
6349
|
},
|
6350
6350
|
{
|
6351
|
-
"name": "sd-4-0-
|
6352
|
-
"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\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-0-
|
6351
|
+
"name": "sd-4-0-7-tooltip",
|
6352
|
+
"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\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-4-0-7-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.",
|
6353
6353
|
"doc-url": "",
|
6354
6354
|
"attributes": [
|
6355
6355
|
{
|
@@ -6504,7 +6504,7 @@
|
|
6504
6504
|
}
|
6505
6505
|
},
|
6506
6506
|
{
|
6507
|
-
"name": "sd-4-0-
|
6507
|
+
"name": "sd-4-0-7-video",
|
6508
6508
|
"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\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.",
|
6509
6509
|
"doc-url": "",
|
6510
6510
|
"attributes": [
|