@solid-design-system/components 4.0.0-next.2 → 4.0.0-next.4
Sign up to get free protection for your applications and to get access to all the features.
- package/cdn/chunks/chunk.3ATYVOO4.js +1 -0
- package/cdn/chunks/chunk.4HIKTDIM.js +40 -0
- package/cdn/chunks/chunk.C2PA7CKF.js +1 -0
- package/cdn/chunks/{chunk.IVXFAQNG.js → chunk.DEX5VJGX.js} +1 -1
- package/cdn/chunks/{chunk.BTRVMAGL.js → chunk.DMLGBWCL.js} +1 -1
- package/cdn/chunks/{chunk.GUOHZTA7.js → chunk.F7J6HN76.js} +1 -1
- package/cdn/chunks/chunk.ITRQVXFY.js +1 -0
- package/cdn/chunks/{chunk.E7HNNYP6.js → chunk.MX22EZXK.js} +1 -1
- package/cdn/chunks/{chunk.5BROLR6V.js → chunk.ROBLMI7Q.js} +1 -1
- package/cdn/chunks/{chunk.WMRFVNYU.js → chunk.ZRIABVVM.js} +1 -1
- package/cdn/components/accordion/accordion.d.ts +5 -3
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/quickfact/quickfact.d.ts +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/tab/tab.d.ts +1 -0
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/custom-elements.json +19 -1
- package/cdn/solid-components.bundle.js +52 -13
- package/cdn/solid-components.iife.js +52 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +3 -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.24SF73MY.js +1 -1
- package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -1
- package/cdn-versioned/chunks/chunk.3ATYVOO4.js +1 -0
- package/cdn-versioned/chunks/chunk.4HIKTDIM.js +40 -0
- package/cdn-versioned/chunks/chunk.4W3WLVGR.js +1 -1
- package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6JBTCFHE.js +2 -2
- package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -1
- package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -1
- package/cdn-versioned/chunks/chunk.APMDRZQD.js +1 -1
- package/cdn-versioned/chunks/chunk.C2PA7CKF.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.IVXFAQNG.js → chunk.DEX5VJGX.js} +4 -4
- package/cdn-versioned/chunks/{chunk.BTRVMAGL.js → chunk.DMLGBWCL.js} +1 -1
- package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -1
- package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -1
- package/cdn-versioned/chunks/{chunk.GUOHZTA7.js → chunk.F7J6HN76.js} +1 -1
- package/cdn-versioned/chunks/chunk.FD54463O.js +1 -1
- package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -1
- package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -1
- package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -1
- package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -1
- package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -1
- package/cdn-versioned/chunks/chunk.ITRQVXFY.js +1 -0
- package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -1
- package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -1
- package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -1
- package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -1
- package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -1
- package/cdn-versioned/chunks/{chunk.E7HNNYP6.js → chunk.MX22EZXK.js} +1 -1
- package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -1
- package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -1
- package/cdn-versioned/chunks/chunk.O4UXOQEI.js +1 -1
- package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -1
- package/cdn-versioned/chunks/chunk.PBPFKJKV.js +1 -1
- package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -1
- package/cdn-versioned/chunks/chunk.QNZWJACC.js +2 -2
- package/cdn-versioned/chunks/chunk.R354E6ZD.js +1 -1
- package/cdn-versioned/chunks/{chunk.5BROLR6V.js → chunk.ROBLMI7Q.js} +4 -4
- package/cdn-versioned/chunks/chunk.SNUMAAEG.js +1 -1
- package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -1
- package/cdn-versioned/chunks/chunk.U443X4TI.js +1 -1
- package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -1
- package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -1
- package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -1
- package/cdn-versioned/chunks/chunk.WGNXYONB.js +1 -1
- package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -1
- package/cdn-versioned/chunks/chunk.YF5WEC4R.js +2 -2
- package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -1
- package/cdn-versioned/chunks/{chunk.WMRFVNYU.js → chunk.ZRIABVVM.js} +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +6 -4
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +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/combobox/combobox.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +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/flipcard/flipcard.js +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/map-marker/map-marker.js +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 +2 -2
- package/cdn-versioned/components/quickfact/quickfact.js +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/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +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 +2 -1
- package/cdn-versioned/components/tab/tab.js +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/tag/tag.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +220 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +54 -15
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +54 -15
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +139 -137
- package/dist/chunks/{chunk.6JI7NL3E.js → chunk.4JZQQD4L.js} +48 -6
- package/dist/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +8 -1
- package/dist/chunks/{chunk.DAM3ICHP.js → chunk.TWXYFPBS.js} +31 -5
- package/dist/components/accordion/accordion.d.ts +5 -3
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +1 -1
- package/dist/components/quickfact/quickfact.d.ts +1 -1
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/tab/tab.d.ts +1 -0
- package/dist/components/tab/tab.js +2 -1
- package/dist/custom-elements.json +19 -1
- package/dist/solid-components.js +3 -3
- package/dist/web-types.json +3 -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.2IBVAXOX.js +1 -1
- package/dist-versioned/chunks/chunk.3IT4HBTI.js +1 -1
- package/dist-versioned/chunks/chunk.3LGDUVS4.js +2 -2
- package/dist-versioned/chunks/chunk.4JZQQD4L.js +107 -0
- package/dist-versioned/chunks/chunk.4QKRGAOL.js +4 -4
- package/dist-versioned/chunks/chunk.4RGGPCD5.js +2 -2
- package/dist-versioned/chunks/chunk.56SNEGI4.js +13 -13
- package/dist-versioned/chunks/chunk.65BWRJEA.js +5 -5
- package/dist-versioned/chunks/chunk.6CUAQSFA.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.727ERQ4F.js +2 -2
- package/dist-versioned/chunks/{chunk.7BEDTYS7.js → chunk.743FPQRN.js} +10 -3
- package/dist-versioned/chunks/chunk.76ZNNLGN.js +1 -1
- package/dist-versioned/chunks/chunk.7OHSCBBX.js +1 -1
- package/dist-versioned/chunks/chunk.BVC5FY4L.js +13 -13
- package/dist-versioned/chunks/chunk.BXB5WF23.js +5 -5
- package/dist-versioned/chunks/chunk.D6JZ4IKM.js +1 -1
- package/dist-versioned/chunks/chunk.DQPVSTUQ.js +3 -3
- package/dist-versioned/chunks/chunk.EFEBQQHC.js +26 -26
- package/dist-versioned/chunks/chunk.EKFRFDTB.js +5 -5
- package/dist-versioned/chunks/chunk.H655M7FD.js +1 -1
- package/dist-versioned/chunks/chunk.HPR3PWAE.js +3 -3
- package/dist-versioned/chunks/chunk.I3PY3VYP.js +29 -29
- package/dist-versioned/chunks/chunk.IN3GJ5QL.js +3 -3
- package/dist-versioned/chunks/chunk.J2XBUIBC.js +2 -2
- package/dist-versioned/chunks/chunk.J7MMF6WJ.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.MTSAWJLV.js +2 -2
- package/dist-versioned/chunks/chunk.NM6QP6RJ.js +2 -2
- package/dist-versioned/chunks/chunk.PDRECIYA.js +1 -1
- package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +9 -9
- package/dist-versioned/chunks/chunk.PIR4YJUS.js +2 -2
- package/dist-versioned/chunks/chunk.QAZYUCBK.js +6 -6
- package/dist-versioned/chunks/chunk.QCICV36Z.js +6 -6
- package/dist-versioned/chunks/chunk.QP3SM2LZ.js +3 -3
- package/dist-versioned/chunks/chunk.R4BETATX.js +1 -1
- package/dist-versioned/chunks/chunk.RNSJAVQE.js +1 -1
- package/dist-versioned/chunks/chunk.RZRTIYXA.js +1 -1
- package/dist-versioned/chunks/chunk.SPBPHTSS.js +2 -2
- package/dist-versioned/chunks/chunk.SSH6ATRK.js +2 -2
- package/dist-versioned/chunks/{chunk.DAM3ICHP.js → chunk.TWXYFPBS.js} +32 -6
- package/dist-versioned/chunks/chunk.U5NFPAOX.js +2 -2
- package/dist-versioned/chunks/chunk.U6RY25TF.js +2 -2
- package/dist-versioned/chunks/chunk.UC5E3AEF.js +1 -1
- package/dist-versioned/chunks/chunk.UDZYWRPT.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.V7TQ6VJU.js +1 -1
- package/dist-versioned/chunks/chunk.VHGHICFG.js +2 -2
- package/dist-versioned/chunks/chunk.WWS3CQ2Z.js +5 -5
- package/dist-versioned/chunks/chunk.XVFJS7VS.js +5 -5
- package/dist-versioned/chunks/chunk.Z2UY62T2.js +1 -1
- package/dist-versioned/chunks/chunk.ZGPGFEVP.js +5 -5
- package/dist-versioned/chunks/chunk.ZWJI7SLE.js +11 -11
- package/dist-versioned/components/accordion/accordion.d.ts +6 -4
- package/dist-versioned/components/accordion/accordion.js +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +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/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +2 -2
- package/dist-versioned/components/quickfact/quickfact.js +2 -2
- 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 +2 -1
- package/dist-versioned/components/tab/tab.js +2 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +220 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +139 -137
- package/package.json +2 -2
- package/cdn/chunks/chunk.2UHPWLJE.js +0 -1
- package/cdn/chunks/chunk.FREYGZDJ.js +0 -1
- package/cdn/chunks/chunk.KFW32Q4Q.js +0 -1
- package/cdn/chunks/chunk.MMRILMYU.js +0 -1
- package/cdn-versioned/chunks/chunk.2UHPWLJE.js +0 -1
- package/cdn-versioned/chunks/chunk.FREYGZDJ.js +0 -1
- package/cdn-versioned/chunks/chunk.KFW32Q4Q.js +0 -1
- package/cdn-versioned/chunks/chunk.MMRILMYU.js +0 -1
- package/dist-versioned/chunks/chunk.6JI7NL3E.js +0 -65
@@ -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.0-next.
|
4
|
+
"version": "4.0.0-next.4",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"elements": [
|
9
9
|
{
|
10
|
-
"name": "sd-4-0-0-next-
|
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-0-next-
|
10
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-0-0-next-4-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-0-next-
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-0-next-4-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-0-next-
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
48
48
|
}
|
49
49
|
],
|
50
50
|
"events": [
|
@@ -68,6 +68,7 @@
|
|
68
68
|
"js": {
|
69
69
|
"properties": [
|
70
70
|
{ "name": "localize" },
|
71
|
+
{ "name": "accordionObserver", "type": "MutationObserver" },
|
71
72
|
{
|
72
73
|
"name": "open",
|
73
74
|
"description": "Indicates whether or not the accordion is open. You can toggle this attribute to show and hide the accordion, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordion' open state.",
|
@@ -110,8 +111,8 @@
|
|
110
111
|
}
|
111
112
|
},
|
112
113
|
{
|
113
|
-
"name": "sd-4-0-0-next-
|
114
|
-
"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-0-next-
|
114
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
115
116
|
"doc-url": "",
|
116
117
|
"attributes": [
|
117
118
|
{
|
@@ -133,7 +134,7 @@
|
|
133
134
|
"slots": [
|
134
135
|
{
|
135
136
|
"name": "",
|
136
|
-
"description": "The default slot where `<sd-4-0-0-next-
|
137
|
+
"description": "The default slot where `<sd-4-0-0-next-4-accordion>` elements are placed."
|
137
138
|
}
|
138
139
|
],
|
139
140
|
"events": [],
|
@@ -159,8 +160,8 @@
|
|
159
160
|
}
|
160
161
|
},
|
161
162
|
{
|
162
|
-
"name": "sd-4-0-0-next-
|
163
|
-
"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-0-next-
|
163
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-animation>` elements.",
|
164
165
|
"doc-url": "",
|
165
166
|
"attributes": [
|
166
167
|
{
|
@@ -232,7 +233,7 @@
|
|
232
233
|
"slots": [
|
233
234
|
{
|
234
235
|
"name": "",
|
235
|
-
"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-0-next-
|
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-0-next-4-animation>` elements."
|
236
237
|
}
|
237
238
|
],
|
238
239
|
"events": [
|
@@ -344,7 +345,7 @@
|
|
344
345
|
}
|
345
346
|
},
|
346
347
|
{
|
347
|
-
"name": "sd-4-0-0-next-
|
348
|
+
"name": "sd-4-0-0-next-4-audio",
|
348
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.",
|
349
350
|
"doc-url": "",
|
350
351
|
"attributes": [
|
@@ -499,7 +500,7 @@
|
|
499
500
|
}
|
500
501
|
},
|
501
502
|
{
|
502
|
-
"name": "sd-4-0-0-next-
|
503
|
+
"name": "sd-4-0-0-next-4-badge",
|
503
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.",
|
504
505
|
"doc-url": "",
|
505
506
|
"attributes": [
|
@@ -566,7 +567,7 @@
|
|
566
567
|
}
|
567
568
|
},
|
568
569
|
{
|
569
|
-
"name": "sd-4-0-0-next-
|
570
|
+
"name": "sd-4-0-0-next-4-brandshape",
|
570
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.",
|
571
572
|
"doc-url": "",
|
572
573
|
"attributes": [
|
@@ -632,7 +633,7 @@
|
|
632
633
|
}
|
633
634
|
},
|
634
635
|
{
|
635
|
-
"name": "sd-4-0-0-next-
|
636
|
+
"name": "sd-4-0-0-next-4-button",
|
636
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.",
|
637
638
|
"doc-url": "",
|
638
639
|
"attributes": [
|
@@ -890,8 +891,8 @@
|
|
890
891
|
}
|
891
892
|
},
|
892
893
|
{
|
893
|
-
"name": "sd-4-0-0-next-
|
894
|
-
"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-0-next-
|
894
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
895
896
|
"doc-url": "",
|
896
897
|
"attributes": [
|
897
898
|
{
|
@@ -913,7 +914,7 @@
|
|
913
914
|
"slots": [
|
914
915
|
{
|
915
916
|
"name": "",
|
916
|
-
"description": "One or more `<sd-4-0-0-next-
|
917
|
+
"description": "One or more `<sd-4-0-0-next-4-button>` elements to display in the button group."
|
917
918
|
}
|
918
919
|
],
|
919
920
|
"events": [],
|
@@ -940,8 +941,8 @@
|
|
940
941
|
}
|
941
942
|
},
|
942
943
|
{
|
943
|
-
"name": "sd-4-0-0-next-
|
944
|
-
"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-0-next-
|
944
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-0-0-next-4-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.",
|
945
946
|
"doc-url": "",
|
946
947
|
"attributes": [
|
947
948
|
{
|
@@ -988,23 +989,23 @@
|
|
988
989
|
"slots": [
|
989
990
|
{
|
990
991
|
"name": "",
|
991
|
-
"description": "The carousel's main content, one or more `<sd-4-0-0-next-
|
992
|
+
"description": "The carousel's main content, one or more `<sd-4-0-0-next-4-carousel-item>` elements."
|
992
993
|
},
|
993
994
|
{
|
994
995
|
"name": "next-icon",
|
995
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
996
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
996
997
|
},
|
997
998
|
{
|
998
999
|
"name": "previous-icon",
|
999
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
1000
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
1000
1001
|
},
|
1001
1002
|
{
|
1002
1003
|
"name": "autoplay-start",
|
1003
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
1004
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
1004
1005
|
},
|
1005
1006
|
{
|
1006
1007
|
"name": "autoplay-pause",
|
1007
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
1008
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
1008
1009
|
}
|
1009
1010
|
],
|
1010
1011
|
"events": [
|
@@ -1068,7 +1069,7 @@
|
|
1068
1069
|
}
|
1069
1070
|
},
|
1070
1071
|
{
|
1071
|
-
"name": "sd-4-0-0-next-
|
1072
|
+
"name": "sd-4-0-0-next-4-carousel-item",
|
1072
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.",
|
1073
1074
|
"doc-url": "",
|
1074
1075
|
"attributes": [
|
@@ -1104,8 +1105,8 @@
|
|
1104
1105
|
}
|
1105
1106
|
},
|
1106
1107
|
{
|
1107
|
-
"name": "sd-4-0-0-next-
|
1108
|
-
"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-0-next-
|
1108
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-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-0-next-4-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-0-0-next-4-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
1109
1110
|
"doc-url": "",
|
1110
1111
|
"attributes": [
|
1111
1112
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
@@ -1175,7 +1176,7 @@
|
|
1175
1176
|
"description": "Emitted when the checkbox gains focus."
|
1176
1177
|
},
|
1177
1178
|
{
|
1178
|
-
"name": "sd-4-0-0-next-
|
1179
|
+
"name": "sd-4-0-0-next-4-input",
|
1179
1180
|
"description": "Emitted when the checkbox receives input."
|
1180
1181
|
}
|
1181
1182
|
],
|
@@ -1256,15 +1257,15 @@
|
|
1256
1257
|
"description": "Emitted when the checkbox gains focus."
|
1257
1258
|
},
|
1258
1259
|
{
|
1259
|
-
"name": "sd-4-0-0-next-
|
1260
|
+
"name": "sd-4-0-0-next-4-input",
|
1260
1261
|
"description": "Emitted when the checkbox receives input."
|
1261
1262
|
}
|
1262
1263
|
]
|
1263
1264
|
}
|
1264
1265
|
},
|
1265
1266
|
{
|
1266
|
-
"name": "sd-4-0-0-next-
|
1267
|
-
"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-0-next-
|
1267
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-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-0-next-4-tooltip` component.",
|
1268
1269
|
"doc-url": "",
|
1269
1270
|
"attributes": [
|
1270
1271
|
{
|
@@ -1299,7 +1300,7 @@
|
|
1299
1300
|
"slots": [
|
1300
1301
|
{
|
1301
1302
|
"name": "",
|
1302
|
-
"description": "The default slot where `<sd-4-0-0-next-
|
1303
|
+
"description": "The default slot where `<sd-4-0-0-next-4-checkbox>` elements are placed."
|
1303
1304
|
},
|
1304
1305
|
{
|
1305
1306
|
"name": "label",
|
@@ -1307,7 +1308,7 @@
|
|
1307
1308
|
},
|
1308
1309
|
{
|
1309
1310
|
"name": "tooltip",
|
1310
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-0-0-next-
|
1311
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-0-0-next-4-tooltip` component."
|
1311
1312
|
}
|
1312
1313
|
],
|
1313
1314
|
"events": [],
|
@@ -1343,8 +1344,8 @@
|
|
1343
1344
|
}
|
1344
1345
|
},
|
1345
1346
|
{
|
1346
|
-
"name": "sd-4-0-0-next-
|
1347
|
-
"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-0-next-
|
1347
|
+
"name": "sd-4-0-0-next-4-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-0-next-4-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-0-next-4-option>` elements. You can use `<sd-4-0-0-next-4-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.",
|
1348
1349
|
"doc-url": "",
|
1349
1350
|
"attributes": [
|
1350
1351
|
{
|
@@ -1427,7 +1428,7 @@
|
|
1427
1428
|
},
|
1428
1429
|
{
|
1429
1430
|
"name": "useTags",
|
1430
|
-
"description": "Uses interactive `sd-4-0-0-next-
|
1431
|
+
"description": "Uses interactive `sd-4-0-0-next-4-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
1431
1432
|
"value": { "type": "boolean", "default": "true" }
|
1432
1433
|
},
|
1433
1434
|
{
|
@@ -1468,7 +1469,7 @@
|
|
1468
1469
|
"slots": [
|
1469
1470
|
{
|
1470
1471
|
"name": "",
|
1471
|
-
"description": "The listbox options. Must be `<sd-4-0-0-next-
|
1472
|
+
"description": "The listbox options. Must be `<sd-4-0-0-next-4-option>` elements. You can use `<sd-4-0-0-next-4-optgroup>`'s to group items visually."
|
1472
1473
|
},
|
1473
1474
|
{
|
1474
1475
|
"name": "label",
|
@@ -1505,7 +1506,7 @@
|
|
1505
1506
|
"description": "Emitted when the control's value is cleared."
|
1506
1507
|
},
|
1507
1508
|
{
|
1508
|
-
"name": "sd-4-0-0-next-
|
1509
|
+
"name": "sd-4-0-0-next-4-input",
|
1509
1510
|
"description": "Emitted when the control receives input."
|
1510
1511
|
},
|
1511
1512
|
{
|
@@ -1637,7 +1638,7 @@
|
|
1637
1638
|
},
|
1638
1639
|
{
|
1639
1640
|
"name": "useTags",
|
1640
|
-
"description": "Uses interactive `sd-4-0-0-next-
|
1641
|
+
"description": "Uses interactive `sd-4-0-0-next-4-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
1641
1642
|
"type": "boolean"
|
1642
1643
|
},
|
1643
1644
|
{
|
@@ -1684,7 +1685,7 @@
|
|
1684
1685
|
"description": "Emitted when the control's value is cleared."
|
1685
1686
|
},
|
1686
1687
|
{
|
1687
|
-
"name": "sd-4-0-0-next-
|
1688
|
+
"name": "sd-4-0-0-next-4-input",
|
1688
1689
|
"description": "Emitted when the control receives input."
|
1689
1690
|
},
|
1690
1691
|
{
|
@@ -1723,8 +1724,8 @@
|
|
1723
1724
|
}
|
1724
1725
|
},
|
1725
1726
|
{
|
1726
|
-
"name": "sd-4-0-0-next-
|
1727
|
-
"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-0-next-
|
1727
|
+
"name": "sd-4-0-0-next-4-dialog",
|
1728
|
+
"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-0-next-4-button>` and `<sd-4-0-0-next-4-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-0-next-4-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
1728
1729
|
"doc-url": "",
|
1729
1730
|
"attributes": [
|
1730
1731
|
{
|
@@ -1765,7 +1766,7 @@
|
|
1765
1766
|
},
|
1766
1767
|
{
|
1767
1768
|
"name": "close-button",
|
1768
|
-
"description": "The dialog's close button. Works best with `<sd-4-0-0-next-
|
1769
|
+
"description": "The dialog's close button. Works best with `<sd-4-0-0-next-4-button>` and `<sd-4-0-0-next-4-icon>`."
|
1769
1770
|
}
|
1770
1771
|
],
|
1771
1772
|
"events": [
|
@@ -1854,7 +1855,7 @@
|
|
1854
1855
|
}
|
1855
1856
|
},
|
1856
1857
|
{
|
1857
|
-
"name": "sd-4-0-0-next-
|
1858
|
+
"name": "sd-4-0-0-next-4-divider",
|
1858
1859
|
"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.",
|
1859
1860
|
"doc-url": "",
|
1860
1861
|
"attributes": [
|
@@ -1910,8 +1911,8 @@
|
|
1910
1911
|
}
|
1911
1912
|
},
|
1912
1913
|
{
|
1913
|
-
"name": "sd-4-0-0-next-
|
1914
|
-
"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-0-next-
|
1914
|
+
"name": "sd-4-0-0-next-4-drawer",
|
1915
|
+
"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-0-next-4-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
1915
1916
|
"doc-url": "",
|
1916
1917
|
"attributes": [
|
1917
1918
|
{
|
@@ -2057,8 +2058,8 @@
|
|
2057
2058
|
}
|
2058
2059
|
},
|
2059
2060
|
{
|
2060
|
-
"name": "sd-4-0-0-next-
|
2061
|
-
"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-0-next-
|
2061
|
+
"name": "sd-4-0-0-next-4-dropdown",
|
2062
|
+
"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-0-next-4-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-0-next-4-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.",
|
2062
2063
|
"doc-url": "",
|
2063
2064
|
"attributes": [
|
2064
2065
|
{
|
@@ -2129,7 +2130,7 @@
|
|
2129
2130
|
{ "name": "", "description": "The dropdown's main content." },
|
2130
2131
|
{
|
2131
2132
|
"name": "trigger",
|
2132
|
-
"description": "The dropdown's trigger, usually a `<sd-4-0-0-next-
|
2133
|
+
"description": "The dropdown's trigger, usually a `<sd-4-0-0-next-4-button>` element."
|
2133
2134
|
}
|
2134
2135
|
],
|
2135
2136
|
"events": [
|
@@ -2236,7 +2237,7 @@
|
|
2236
2237
|
}
|
2237
2238
|
},
|
2238
2239
|
{
|
2239
|
-
"name": "sd-4-0-0-next-
|
2240
|
+
"name": "sd-4-0-0-next-4-expandable",
|
2240
2241
|
"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 - **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.",
|
2241
2242
|
"doc-url": "",
|
2242
2243
|
"attributes": [
|
@@ -2335,7 +2336,7 @@
|
|
2335
2336
|
}
|
2336
2337
|
},
|
2337
2338
|
{
|
2338
|
-
"name": "sd-4-0-0-next-
|
2339
|
+
"name": "sd-4-0-0-next-4-flipcard",
|
2339
2340
|
"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.",
|
2340
2341
|
"doc-url": "",
|
2341
2342
|
"attributes": [
|
@@ -2450,7 +2451,7 @@
|
|
2450
2451
|
}
|
2451
2452
|
},
|
2452
2453
|
{
|
2453
|
-
"name": "sd-4-0-0-next-
|
2454
|
+
"name": "sd-4-0-0-next-4-header",
|
2454
2455
|
"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.",
|
2455
2456
|
"doc-url": "",
|
2456
2457
|
"attributes": [
|
@@ -2496,7 +2497,7 @@
|
|
2496
2497
|
}
|
2497
2498
|
},
|
2498
2499
|
{
|
2499
|
-
"name": "sd-4-0-0-next-
|
2500
|
+
"name": "sd-4-0-0-next-4-icon",
|
2500
2501
|
"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.",
|
2501
2502
|
"doc-url": "",
|
2502
2503
|
"attributes": [
|
@@ -2600,7 +2601,7 @@
|
|
2600
2601
|
}
|
2601
2602
|
},
|
2602
2603
|
{
|
2603
|
-
"name": "sd-4-0-0-next-
|
2604
|
+
"name": "sd-4-0-0-next-4-include",
|
2604
2605
|
"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.",
|
2605
2606
|
"doc-url": "",
|
2606
2607
|
"attributes": [
|
@@ -2686,8 +2687,8 @@
|
|
2686
2687
|
}
|
2687
2688
|
},
|
2688
2689
|
{
|
2689
|
-
"name": "sd-4-0-0-next-
|
2690
|
-
"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-0-next-
|
2690
|
+
"name": "sd-4-0-0-next-4-input",
|
2691
|
+
"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-0-next-4-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-0-next-4-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.",
|
2691
2692
|
"doc-url": "",
|
2692
2693
|
"attributes": [
|
2693
2694
|
{
|
@@ -2891,7 +2892,7 @@
|
|
2891
2892
|
},
|
2892
2893
|
{
|
2893
2894
|
"name": "tooltip",
|
2894
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-
|
2895
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-4-tooltip` component."
|
2895
2896
|
}
|
2896
2897
|
],
|
2897
2898
|
"events": [
|
@@ -2912,7 +2913,7 @@
|
|
2912
2913
|
"description": "Emitted when the control gains focus."
|
2913
2914
|
},
|
2914
2915
|
{
|
2915
|
-
"name": "sd-4-0-0-next-
|
2916
|
+
"name": "sd-4-0-0-next-4-input",
|
2916
2917
|
"description": "Emitted when the control receives input."
|
2917
2918
|
}
|
2918
2919
|
],
|
@@ -3115,14 +3116,14 @@
|
|
3115
3116
|
"description": "Emitted when the control gains focus."
|
3116
3117
|
},
|
3117
3118
|
{
|
3118
|
-
"name": "sd-4-0-0-next-
|
3119
|
+
"name": "sd-4-0-0-next-4-input",
|
3119
3120
|
"description": "Emitted when the control receives input."
|
3120
3121
|
}
|
3121
3122
|
]
|
3122
3123
|
}
|
3123
3124
|
},
|
3124
3125
|
{
|
3125
|
-
"name": "sd-4-0-0-next-
|
3126
|
+
"name": "sd-4-0-0-next-4-link",
|
3126
3127
|
"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.",
|
3127
3128
|
"doc-url": "",
|
3128
3129
|
"attributes": [
|
@@ -3247,7 +3248,7 @@
|
|
3247
3248
|
}
|
3248
3249
|
},
|
3249
3250
|
{
|
3250
|
-
"name": "sd-4-0-0-next-
|
3251
|
+
"name": "sd-4-0-0-next-4-map-marker",
|
3251
3252
|
"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)_",
|
3252
3253
|
"doc-url": "",
|
3253
3254
|
"attributes": [
|
@@ -3365,7 +3366,7 @@
|
|
3365
3366
|
}
|
3366
3367
|
},
|
3367
3368
|
{
|
3368
|
-
"name": "sd-4-0-0-next-
|
3369
|
+
"name": "sd-4-0-0-next-4-navigation-item",
|
3369
3370
|
"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.",
|
3370
3371
|
"doc-url": "",
|
3371
3372
|
"attributes": [
|
@@ -3552,13 +3553,13 @@
|
|
3552
3553
|
}
|
3553
3554
|
},
|
3554
3555
|
{
|
3555
|
-
"name": "sd-4-0-0-next-
|
3556
|
-
"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-0-next-
|
3556
|
+
"name": "sd-4-0-0-next-4-notification",
|
3557
|
+
"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-0-next-4-notification's main content.\n- **icon** - An icon to show in the sd-4-0-0-next-4-notification. Works best with `<sd-4-0-0-next-4-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-0-next-4-icon-button>`.",
|
3557
3558
|
"doc-url": "",
|
3558
3559
|
"attributes": [
|
3559
3560
|
{
|
3560
3561
|
"name": "variant",
|
3561
|
-
"description": "The sd-4-0-0-next-
|
3562
|
+
"description": "The sd-4-0-0-next-4-notification's theme.",
|
3562
3563
|
"value": {
|
3563
3564
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
3564
3565
|
"default": "'info'"
|
@@ -3566,7 +3567,7 @@
|
|
3566
3567
|
},
|
3567
3568
|
{
|
3568
3569
|
"name": "open",
|
3569
|
-
"description": "Indicates whether or not sd-4-0-0-next-
|
3570
|
+
"description": "Indicates whether or not sd-4-0-0-next-4-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.",
|
3570
3571
|
"value": { "type": "boolean", "default": "false" }
|
3571
3572
|
},
|
3572
3573
|
{
|
@@ -3576,7 +3577,7 @@
|
|
3576
3577
|
},
|
3577
3578
|
{
|
3578
3579
|
"name": "duration",
|
3579
|
-
"description": "The length of time, in milliseconds, the sd-4-0-0-next-
|
3580
|
+
"description": "The length of time, in milliseconds, the sd-4-0-0-next-4-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.",
|
3580
3581
|
"value": { "type": "string", "default": "Infinity" }
|
3581
3582
|
},
|
3582
3583
|
{
|
@@ -3586,7 +3587,7 @@
|
|
3586
3587
|
},
|
3587
3588
|
{
|
3588
3589
|
"name": "toast-stack",
|
3589
|
-
"description": "The position of the toasted sd-4-0-0-next-
|
3590
|
+
"description": "The position of the toasted sd-4-0-0-next-4-notification.",
|
3590
3591
|
"value": {
|
3591
3592
|
"type": "'top-right' | 'bottom-center'",
|
3592
3593
|
"default": "'top-right'"
|
@@ -3606,11 +3607,11 @@
|
|
3606
3607
|
"slots": [
|
3607
3608
|
{
|
3608
3609
|
"name": "",
|
3609
|
-
"description": "The sd-4-0-0-next-
|
3610
|
+
"description": "The sd-4-0-0-next-4-notification's main content."
|
3610
3611
|
},
|
3611
3612
|
{
|
3612
3613
|
"name": "icon",
|
3613
|
-
"description": "An icon to show in the sd-4-0-0-next-
|
3614
|
+
"description": "An icon to show in the sd-4-0-0-next-4-notification. Works best with `<sd-4-0-0-next-4-icon>`."
|
3614
3615
|
}
|
3615
3616
|
],
|
3616
3617
|
"events": [
|
@@ -3636,12 +3637,12 @@
|
|
3636
3637
|
{ "name": "localize" },
|
3637
3638
|
{
|
3638
3639
|
"name": "variant",
|
3639
|
-
"description": "The sd-4-0-0-next-
|
3640
|
+
"description": "The sd-4-0-0-next-4-notification's theme.",
|
3640
3641
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
3641
3642
|
},
|
3642
3643
|
{
|
3643
3644
|
"name": "open",
|
3644
|
-
"description": "Indicates whether or not sd-4-0-0-next-
|
3645
|
+
"description": "Indicates whether or not sd-4-0-0-next-4-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.",
|
3645
3646
|
"type": "boolean"
|
3646
3647
|
},
|
3647
3648
|
{
|
@@ -3651,7 +3652,7 @@
|
|
3651
3652
|
},
|
3652
3653
|
{
|
3653
3654
|
"name": "duration",
|
3654
|
-
"description": "The length of time, in milliseconds, the sd-4-0-0-next-
|
3655
|
+
"description": "The length of time, in milliseconds, the sd-4-0-0-next-4-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."
|
3655
3656
|
},
|
3656
3657
|
{
|
3657
3658
|
"name": "durationIndicator",
|
@@ -3660,7 +3661,7 @@
|
|
3660
3661
|
},
|
3661
3662
|
{
|
3662
3663
|
"name": "toastStack",
|
3663
|
-
"description": "The position of the toasted sd-4-0-0-next-
|
3664
|
+
"description": "The position of the toasted sd-4-0-0-next-4-notification.",
|
3664
3665
|
"type": "'top-right' | 'bottom-center'"
|
3665
3666
|
},
|
3666
3667
|
{
|
@@ -3695,8 +3696,8 @@
|
|
3695
3696
|
}
|
3696
3697
|
},
|
3697
3698
|
{
|
3698
|
-
"name": "sd-4-0-0-next-
|
3699
|
-
"description": "The <sd-4-0-0-next-
|
3699
|
+
"name": "sd-4-0-0-next-4-optgroup",
|
3700
|
+
"description": "The <sd-4-0-0-next-4-optgroup> element creates a grouping for <sd-4-0-0-next-4-option>s within a <sd-4-0-0-next-4-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-0-next-4-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-0-next-4-option> elements.",
|
3700
3701
|
"doc-url": "",
|
3701
3702
|
"attributes": [
|
3702
3703
|
{
|
@@ -3723,7 +3724,7 @@
|
|
3723
3724
|
"slots": [
|
3724
3725
|
{
|
3725
3726
|
"name": "",
|
3726
|
-
"description": "The given options. Must be `<sd-4-0-0-next-
|
3727
|
+
"description": "The given options. Must be `<sd-4-0-0-next-4-option>` elements."
|
3727
3728
|
},
|
3728
3729
|
{ "name": "label", "description": "The label for the optgroup" }
|
3729
3730
|
],
|
@@ -3755,18 +3756,18 @@
|
|
3755
3756
|
}
|
3756
3757
|
},
|
3757
3758
|
{
|
3758
|
-
"name": "sd-4-0-0-next-
|
3759
|
-
"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-0-next-
|
3759
|
+
"name": "sd-4-0-0-next-4-option",
|
3760
|
+
"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-0-next-4-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.",
|
3760
3761
|
"doc-url": "",
|
3761
3762
|
"attributes": [
|
3762
3763
|
{
|
3763
3764
|
"name": "size",
|
3764
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-0-next-
|
3765
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-0-next-4-select`.",
|
3765
3766
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
3766
3767
|
},
|
3767
3768
|
{
|
3768
3769
|
"name": "checkbox",
|
3769
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-0-next-
|
3770
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-0-next-4-select` when attribute `checklist` is set to `true`.",
|
3770
3771
|
"value": { "type": "boolean", "default": "false" }
|
3771
3772
|
},
|
3772
3773
|
{
|
@@ -3806,12 +3807,12 @@
|
|
3806
3807
|
"properties": [
|
3807
3808
|
{
|
3808
3809
|
"name": "size",
|
3809
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-0-next-
|
3810
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-0-0-next-4-select`.",
|
3810
3811
|
"type": "'lg' | 'md' | 'sm'"
|
3811
3812
|
},
|
3812
3813
|
{
|
3813
3814
|
"name": "checkbox",
|
3814
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-0-next-
|
3815
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-0-0-next-4-select` when attribute `checklist` is set to `true`.",
|
3815
3816
|
"type": "boolean"
|
3816
3817
|
},
|
3817
3818
|
{
|
@@ -3839,7 +3840,7 @@
|
|
3839
3840
|
}
|
3840
3841
|
},
|
3841
3842
|
{
|
3842
|
-
"name": "sd-4-0-0-next-
|
3843
|
+
"name": "sd-4-0-0-next-4-popup",
|
3843
3844
|
"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.",
|
3844
3845
|
"doc-url": "",
|
3845
3846
|
"attributes": [
|
@@ -4119,8 +4120,8 @@
|
|
4119
4120
|
}
|
4120
4121
|
},
|
4121
4122
|
{
|
4122
|
-
"name": "sd-4-0-0-next-
|
4123
|
-
"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-0-next-
|
4123
|
+
"name": "sd-4-0-0-next-4-quickfact",
|
4124
|
+
"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-0-next-4-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-0-next-4-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-0-0-next-4-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.",
|
4124
4125
|
"doc-url": "",
|
4125
4126
|
"attributes": [
|
4126
4127
|
{
|
@@ -4152,7 +4153,7 @@
|
|
4152
4153
|
"slots": [
|
4153
4154
|
{
|
4154
4155
|
"name": "icon",
|
4155
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-0-0-next-
|
4156
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-0-0-next-4-icon>`."
|
4156
4157
|
},
|
4157
4158
|
{ "name": "", "description": "The accordion main content." },
|
4158
4159
|
{
|
@@ -4161,11 +4162,11 @@
|
|
4161
4162
|
},
|
4162
4163
|
{
|
4163
4164
|
"name": "expand-icon",
|
4164
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
4165
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
4165
4166
|
},
|
4166
4167
|
{
|
4167
4168
|
"name": "collapse-icon",
|
4168
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-0-next-
|
4169
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-0-0-next-4-icon>`."
|
4169
4170
|
}
|
4170
4171
|
],
|
4171
4172
|
"events": [
|
@@ -4194,6 +4195,7 @@
|
|
4194
4195
|
"type": "boolean"
|
4195
4196
|
},
|
4196
4197
|
{ "name": "localize" },
|
4198
|
+
{ "name": "accordionObserver", "type": "MutationObserver" },
|
4197
4199
|
{
|
4198
4200
|
"name": "open",
|
4199
4201
|
"description": "Indicates whether or not the accordion is open. You can toggle this attribute to show and hide the accordion, or you\ncan use the `show()` and `hide()` methods and this attribute will reflect the accordion' open state.",
|
@@ -4236,7 +4238,7 @@
|
|
4236
4238
|
}
|
4237
4239
|
},
|
4238
4240
|
{
|
4239
|
-
"name": "sd-4-0-0-next-
|
4241
|
+
"name": "sd-4-0-0-next-4-radio",
|
4240
4242
|
"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.",
|
4241
4243
|
"doc-url": "",
|
4242
4244
|
"attributes": [
|
@@ -4328,7 +4330,7 @@
|
|
4328
4330
|
}
|
4329
4331
|
},
|
4330
4332
|
{
|
4331
|
-
"name": "sd-4-0-0-next-
|
4333
|
+
"name": "sd-4-0-0-next-4-radio-button",
|
4332
4334
|
"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.",
|
4333
4335
|
"doc-url": "",
|
4334
4336
|
"attributes": [
|
@@ -4413,8 +4415,8 @@
|
|
4413
4415
|
}
|
4414
4416
|
},
|
4415
4417
|
{
|
4416
|
-
"name": "sd-4-0-0-next-
|
4417
|
-
"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-0-next-
|
4418
|
+
"name": "sd-4-0-0-next-4-radio-group",
|
4419
|
+
"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-0-next-4-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-0-next-4-radio>` or `<sd-4-0-0-next-4-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-0-next-4-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.",
|
4418
4420
|
"doc-url": "",
|
4419
4421
|
"attributes": [
|
4420
4422
|
{
|
@@ -4474,7 +4476,7 @@
|
|
4474
4476
|
"slots": [
|
4475
4477
|
{
|
4476
4478
|
"name": "",
|
4477
|
-
"description": "The default slot where `<sd-4-0-0-next-
|
4479
|
+
"description": "The default slot where `<sd-4-0-0-next-4-radio>` or `<sd-4-0-0-next-4-radio-button>` elements are placed."
|
4478
4480
|
},
|
4479
4481
|
{
|
4480
4482
|
"name": "label",
|
@@ -4482,7 +4484,7 @@
|
|
4482
4484
|
},
|
4483
4485
|
{
|
4484
4486
|
"name": "tooltip",
|
4485
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-0-0-next-
|
4487
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-0-0-next-4-tooltip` component."
|
4486
4488
|
}
|
4487
4489
|
],
|
4488
4490
|
"events": [
|
@@ -4491,7 +4493,7 @@
|
|
4491
4493
|
"description": "Emitted when the radio group's selected value changes."
|
4492
4494
|
},
|
4493
4495
|
{
|
4494
|
-
"name": "sd-4-0-0-next-
|
4496
|
+
"name": "sd-4-0-0-next-4-input",
|
4495
4497
|
"description": "Emitted when the radio group receives user input."
|
4496
4498
|
},
|
4497
4499
|
{
|
@@ -4566,7 +4568,7 @@
|
|
4566
4568
|
"description": "Emitted when the radio group's selected value changes."
|
4567
4569
|
},
|
4568
4570
|
{
|
4569
|
-
"name": "sd-4-0-0-next-
|
4571
|
+
"name": "sd-4-0-0-next-4-input",
|
4570
4572
|
"description": "Emitted when the radio group receives user input."
|
4571
4573
|
},
|
4572
4574
|
{
|
@@ -4577,7 +4579,7 @@
|
|
4577
4579
|
}
|
4578
4580
|
},
|
4579
4581
|
{
|
4580
|
-
"name": "sd-4-0-0-next-
|
4582
|
+
"name": "sd-4-0-0-next-4-scrollable",
|
4581
4583
|
"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.",
|
4582
4584
|
"doc-url": "",
|
4583
4585
|
"attributes": [
|
@@ -4738,8 +4740,8 @@
|
|
4738
4740
|
}
|
4739
4741
|
},
|
4740
4742
|
{
|
4741
|
-
"name": "sd-4-0-0-next-
|
4742
|
-
"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-0-next-
|
4743
|
+
"name": "sd-4-0-0-next-4-select",
|
4744
|
+
"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-0-next-4-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-0-next-4-option>` elements. You can use `<sd-4-0-0-next-4-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-0-next-4-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 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.",
|
4743
4745
|
"doc-url": "",
|
4744
4746
|
"attributes": [
|
4745
4747
|
{
|
@@ -4789,7 +4791,7 @@
|
|
4789
4791
|
},
|
4790
4792
|
{
|
4791
4793
|
"name": "useTags",
|
4792
|
-
"description": "Uses interactive `sd-4-0-0-next-
|
4794
|
+
"description": "Uses interactive `sd-4-0-0-next-4-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
4793
4795
|
"value": { "type": "boolean", "default": "false" }
|
4794
4796
|
},
|
4795
4797
|
{
|
@@ -4848,7 +4850,7 @@
|
|
4848
4850
|
"slots": [
|
4849
4851
|
{
|
4850
4852
|
"name": "",
|
4851
|
-
"description": "The listbox options. Must be `<sd-4-0-0-next-
|
4853
|
+
"description": "The listbox options. Must be `<sd-4-0-0-next-4-option>` elements. You can use `<sd-4-0-0-next-4-divider>` to group items visually."
|
4852
4854
|
},
|
4853
4855
|
{
|
4854
4856
|
"name": "label",
|
@@ -4868,7 +4870,7 @@
|
|
4868
4870
|
},
|
4869
4871
|
{
|
4870
4872
|
"name": "tooltip",
|
4871
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-
|
4873
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-4-tooltip` component."
|
4872
4874
|
}
|
4873
4875
|
],
|
4874
4876
|
"events": [
|
@@ -4881,7 +4883,7 @@
|
|
4881
4883
|
"description": "Emitted when the control's value is cleared."
|
4882
4884
|
},
|
4883
4885
|
{
|
4884
|
-
"name": "sd-4-0-0-next-
|
4886
|
+
"name": "sd-4-0-0-next-4-input",
|
4885
4887
|
"description": "Emitted when the control receives input."
|
4886
4888
|
},
|
4887
4889
|
{
|
@@ -4969,7 +4971,7 @@
|
|
4969
4971
|
},
|
4970
4972
|
{
|
4971
4973
|
"name": "useTags",
|
4972
|
-
"description": "Uses interactive `sd-4-0-0-next-
|
4974
|
+
"description": "Uses interactive `sd-4-0-0-next-4-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
4973
4975
|
"type": "boolean"
|
4974
4976
|
},
|
4975
4977
|
{
|
@@ -5036,7 +5038,7 @@
|
|
5036
5038
|
"description": "Emitted when the control's value is cleared."
|
5037
5039
|
},
|
5038
5040
|
{
|
5039
|
-
"name": "sd-4-0-0-next-
|
5041
|
+
"name": "sd-4-0-0-next-4-input",
|
5040
5042
|
"description": "Emitted when the control receives input."
|
5041
5043
|
},
|
5042
5044
|
{
|
@@ -5071,7 +5073,7 @@
|
|
5071
5073
|
}
|
5072
5074
|
},
|
5073
5075
|
{
|
5074
|
-
"name": "sd-4-0-0-next-
|
5076
|
+
"name": "sd-4-0-0-next-4-spinner",
|
5075
5077
|
"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.",
|
5076
5078
|
"doc-url": "",
|
5077
5079
|
"attributes": [
|
@@ -5118,7 +5120,7 @@
|
|
5118
5120
|
}
|
5119
5121
|
},
|
5120
5122
|
{
|
5121
|
-
"name": "sd-4-0-0-next-
|
5123
|
+
"name": "sd-4-0-0-next-4-step",
|
5122
5124
|
"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.",
|
5123
5125
|
"doc-url": "",
|
5124
5126
|
"attributes": [
|
@@ -5281,8 +5283,8 @@
|
|
5281
5283
|
}
|
5282
5284
|
},
|
5283
5285
|
{
|
5284
|
-
"name": "sd-4-0-0-next-
|
5285
|
-
"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-0-next-
|
5286
|
+
"name": "sd-4-0-0-next-4-step-group",
|
5287
|
+
"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-0-next-4-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
5286
5288
|
"doc-url": "",
|
5287
5289
|
"attributes": [
|
5288
5290
|
{
|
@@ -5322,7 +5324,7 @@
|
|
5322
5324
|
"slots": [
|
5323
5325
|
{
|
5324
5326
|
"name": "",
|
5325
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-0-0-next-
|
5327
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-0-0-next-4-step>` elements."
|
5326
5328
|
}
|
5327
5329
|
],
|
5328
5330
|
"events": [],
|
@@ -5363,8 +5365,8 @@
|
|
5363
5365
|
}
|
5364
5366
|
},
|
5365
5367
|
{
|
5366
|
-
"name": "sd-4-0-0-next-
|
5367
|
-
"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-0-next-
|
5368
|
+
"name": "sd-4-0-0-next-4-switch",
|
5369
|
+
"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-0-next-4-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.",
|
5368
5370
|
"doc-url": "",
|
5369
5371
|
"attributes": [
|
5370
5372
|
{
|
@@ -5428,7 +5430,7 @@
|
|
5428
5430
|
"description": "Emitted when the switch gains focus."
|
5429
5431
|
},
|
5430
5432
|
{
|
5431
|
-
"name": "sd-4-0-0-next-
|
5433
|
+
"name": "sd-4-0-0-next-4-input",
|
5432
5434
|
"description": "Emitted when the switch receives input."
|
5433
5435
|
}
|
5434
5436
|
],
|
@@ -5503,14 +5505,14 @@
|
|
5503
5505
|
"description": "Emitted when the switch gains focus."
|
5504
5506
|
},
|
5505
5507
|
{
|
5506
|
-
"name": "sd-4-0-0-next-
|
5508
|
+
"name": "sd-4-0-0-next-4-input",
|
5507
5509
|
"description": "Emitted when the switch receives input."
|
5508
5510
|
}
|
5509
5511
|
]
|
5510
5512
|
}
|
5511
5513
|
},
|
5512
5514
|
{
|
5513
|
-
"name": "sd-4-0-0-next-
|
5515
|
+
"name": "sd-4-0-0-next-4-tab",
|
5514
5516
|
"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.",
|
5515
5517
|
"doc-url": "",
|
5516
5518
|
"attributes": [
|
@@ -5593,8 +5595,8 @@
|
|
5593
5595
|
}
|
5594
5596
|
},
|
5595
5597
|
{
|
5596
|
-
"name": "sd-4-0-0-next-
|
5597
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-0-0-next-
|
5598
|
+
"name": "sd-4-0-0-next-4-tab-group",
|
5599
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-0-0-next-4-tab-show** - Emitted when a tab is shown.\n- **sd-4-0-0-next-4-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-0-next-4-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-0-0-next-4-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.",
|
5598
5600
|
"doc-url": "",
|
5599
5601
|
"attributes": [
|
5600
5602
|
{
|
@@ -5616,21 +5618,21 @@
|
|
5616
5618
|
"slots": [
|
5617
5619
|
{
|
5618
5620
|
"name": "",
|
5619
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-0-0-next-
|
5621
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-0-0-next-4-tab-panel>` elements."
|
5620
5622
|
},
|
5621
5623
|
{
|
5622
5624
|
"name": "nav",
|
5623
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-0-0-next-
|
5625
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-0-0-next-4-tab>` elements."
|
5624
5626
|
}
|
5625
5627
|
],
|
5626
5628
|
"events": [
|
5627
5629
|
{
|
5628
|
-
"name": "sd-4-0-0-next-
|
5630
|
+
"name": "sd-4-0-0-next-4-tab-show",
|
5629
5631
|
"type": "{ name: String }",
|
5630
5632
|
"description": "Emitted when a tab is shown."
|
5631
5633
|
},
|
5632
5634
|
{
|
5633
|
-
"name": "sd-4-0-0-next-
|
5635
|
+
"name": "sd-4-0-0-next-4-tab-hide",
|
5634
5636
|
"type": "{ name: String }",
|
5635
5637
|
"description": "Emitted when a tab is hidden."
|
5636
5638
|
}
|
@@ -5656,12 +5658,12 @@
|
|
5656
5658
|
],
|
5657
5659
|
"events": [
|
5658
5660
|
{
|
5659
|
-
"name": "sd-4-0-0-next-
|
5661
|
+
"name": "sd-4-0-0-next-4-tab-show",
|
5660
5662
|
"type": "{ name: String }",
|
5661
5663
|
"description": "Emitted when a tab is shown."
|
5662
5664
|
},
|
5663
5665
|
{
|
5664
|
-
"name": "sd-4-0-0-next-
|
5666
|
+
"name": "sd-4-0-0-next-4-tab-hide",
|
5665
5667
|
"type": "{ name: String }",
|
5666
5668
|
"description": "Emitted when a tab is hidden."
|
5667
5669
|
}
|
@@ -5669,7 +5671,7 @@
|
|
5669
5671
|
}
|
5670
5672
|
},
|
5671
5673
|
{
|
5672
|
-
"name": "sd-4-0-0-next-
|
5674
|
+
"name": "sd-4-0-0-next-4-tab-panel",
|
5673
5675
|
"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.",
|
5674
5676
|
"doc-url": "",
|
5675
5677
|
"attributes": [
|
@@ -5723,7 +5725,7 @@
|
|
5723
5725
|
}
|
5724
5726
|
},
|
5725
5727
|
{
|
5726
|
-
"name": "sd-4-0-0-next-
|
5728
|
+
"name": "sd-4-0-0-next-4-tag",
|
5727
5729
|
"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.",
|
5728
5730
|
"doc-url": "",
|
5729
5731
|
"attributes": [
|
@@ -5869,7 +5871,7 @@
|
|
5869
5871
|
}
|
5870
5872
|
},
|
5871
5873
|
{
|
5872
|
-
"name": "sd-4-0-0-next-
|
5874
|
+
"name": "sd-4-0-0-next-4-teaser",
|
5873
5875
|
"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.",
|
5874
5876
|
"doc-url": "",
|
5875
5877
|
"attributes": [
|
@@ -5941,7 +5943,7 @@
|
|
5941
5943
|
}
|
5942
5944
|
},
|
5943
5945
|
{
|
5944
|
-
"name": "sd-4-0-0-next-
|
5946
|
+
"name": "sd-4-0-0-next-4-teaser-media",
|
5945
5947
|
"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.",
|
5946
5948
|
"doc-url": "",
|
5947
5949
|
"attributes": [
|
@@ -5997,8 +5999,8 @@
|
|
5997
5999
|
}
|
5998
6000
|
},
|
5999
6001
|
{
|
6000
|
-
"name": "sd-4-0-0-next-
|
6001
|
-
"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-0-next-
|
6002
|
+
"name": "sd-4-0-0-next-4-textarea",
|
6003
|
+
"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-0-next-4-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-0-next-4-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.",
|
6002
6004
|
"doc-url": "",
|
6003
6005
|
"attributes": [
|
6004
6006
|
{
|
@@ -6137,7 +6139,7 @@
|
|
6137
6139
|
},
|
6138
6140
|
{
|
6139
6141
|
"name": "tooltip",
|
6140
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-
|
6142
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-0-0-next-4-tooltip` component."
|
6141
6143
|
}
|
6142
6144
|
],
|
6143
6145
|
"events": [
|
@@ -6154,7 +6156,7 @@
|
|
6154
6156
|
"description": "Emitted when the control gains focus."
|
6155
6157
|
},
|
6156
6158
|
{
|
6157
|
-
"name": "sd-4-0-0-next-
|
6159
|
+
"name": "sd-4-0-0-next-4-input",
|
6158
6160
|
"description": "Emitted when the control receives input."
|
6159
6161
|
},
|
6160
6162
|
{
|
@@ -6312,7 +6314,7 @@
|
|
6312
6314
|
"description": "Emitted when the control gains focus."
|
6313
6315
|
},
|
6314
6316
|
{
|
6315
|
-
"name": "sd-4-0-0-next-
|
6317
|
+
"name": "sd-4-0-0-next-4-input",
|
6316
6318
|
"description": "Emitted when the control receives input."
|
6317
6319
|
},
|
6318
6320
|
{
|
@@ -6323,8 +6325,8 @@
|
|
6323
6325
|
}
|
6324
6326
|
},
|
6325
6327
|
{
|
6326
|
-
"name": "sd-4-0-0-next-
|
6327
|
-
"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-0-next-
|
6328
|
+
"name": "sd-4-0-0-next-4-tooltip",
|
6329
|
+
"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-0-next-4-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.",
|
6328
6330
|
"doc-url": "",
|
6329
6331
|
"attributes": [
|
6330
6332
|
{
|
@@ -6479,7 +6481,7 @@
|
|
6479
6481
|
}
|
6480
6482
|
},
|
6481
6483
|
{
|
6482
|
-
"name": "sd-4-0-0-next-
|
6484
|
+
"name": "sd-4-0-0-next-4-video",
|
6483
6485
|
"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.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
|
6484
6486
|
"doc-url": "",
|
6485
6487
|
"attributes": [
|