@solid-design-system/components 4.2.1 → 4.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.2KVQZ6AF.js +1 -0
- package/cdn/chunks/chunk.CF4RVCLN.js +1 -0
- package/cdn/chunks/chunk.MT6JRSNW.js +1 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.d.ts +2 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.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/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +9 -1
- package/cdn/solid-components.bundle.js +7 -7
- package/cdn/solid-components.iife.js +4 -4
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/localize.d.ts +3 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/web-types.json +2 -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.23IKXZVG.js +1 -1
- package/cdn-versioned/chunks/chunk.2BWXU745.js +1 -1
- package/cdn-versioned/chunks/chunk.2KVQZ6AF.js +1 -0
- package/cdn-versioned/chunks/chunk.2PA3FZXS.js +1 -1
- package/cdn-versioned/chunks/chunk.4IFORLFN.js +4 -4
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6AT7QBRE.js +1 -1
- package/cdn-versioned/chunks/chunk.6ZV2UB2R.js +1 -1
- package/cdn-versioned/chunks/chunk.7CKFXHTE.js +3 -3
- package/cdn-versioned/chunks/chunk.7SQQCKX5.js +1 -1
- package/cdn-versioned/chunks/chunk.7UYAPC2H.js +1 -1
- package/cdn-versioned/chunks/chunk.AURWAJH2.js +1 -1
- package/cdn-versioned/chunks/chunk.AXTP2V5W.js +1 -1
- package/cdn-versioned/chunks/chunk.AZ5UMKBM.js +1 -1
- package/cdn-versioned/chunks/chunk.B4OSWTH3.js +1 -1
- package/cdn-versioned/chunks/chunk.CAWYHBD5.js +1 -1
- package/cdn-versioned/chunks/chunk.CBUVQPJ2.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CF4RVCLN.js +1 -0
- package/cdn-versioned/chunks/chunk.CJNJKNFE.js +1 -1
- package/cdn-versioned/chunks/chunk.CSTIFOAP.js +1 -1
- package/cdn-versioned/chunks/chunk.CYH3PCNG.js +1 -1
- package/cdn-versioned/chunks/chunk.D6M4QQEX.js +1 -1
- package/cdn-versioned/chunks/chunk.FG4AYCVI.js +1 -1
- package/cdn-versioned/chunks/chunk.FKNSLPX6.js +1 -1
- package/cdn-versioned/chunks/chunk.GS3QL2OV.js +1 -1
- package/cdn-versioned/chunks/chunk.IEPFDM4R.js +1 -1
- package/cdn-versioned/chunks/chunk.IHS6YCNW.js +1 -1
- package/cdn-versioned/chunks/chunk.KME2AZKV.js +1 -1
- package/cdn-versioned/chunks/chunk.LRCDXHQL.js +1 -1
- package/cdn-versioned/chunks/chunk.LS53PDIU.js +4 -4
- package/cdn-versioned/chunks/chunk.M37NO2OL.js +1 -1
- package/cdn-versioned/chunks/chunk.M56AX2NQ.js +1 -1
- package/cdn-versioned/chunks/chunk.MLIJR3PY.js +1 -1
- package/cdn-versioned/chunks/chunk.MT6JRSNW.js +1 -0
- package/cdn-versioned/chunks/chunk.NMHMV2IL.js +2 -2
- package/cdn-versioned/chunks/chunk.PGNO6HV2.js +1 -1
- package/cdn-versioned/chunks/chunk.Q5XVXRF6.js +1 -1
- package/cdn-versioned/chunks/chunk.QB6ZZCNC.js +1 -1
- package/cdn-versioned/chunks/chunk.QC2KZSKL.js +1 -1
- package/cdn-versioned/chunks/chunk.QQCSHGCT.js +2 -2
- package/cdn-versioned/chunks/chunk.SLT75PJ7.js +1 -1
- package/cdn-versioned/chunks/chunk.SRHKA7HE.js +1 -1
- package/cdn-versioned/chunks/chunk.SZMORTHB.js +1 -1
- package/cdn-versioned/chunks/chunk.TW2X7LLC.js +1 -1
- package/cdn-versioned/chunks/chunk.UI7L6PX5.js +1 -1
- package/cdn-versioned/chunks/chunk.UXYQTHQP.js +1 -1
- package/cdn-versioned/chunks/chunk.VOS6ZTYL.js +1 -1
- package/cdn-versioned/chunks/chunk.VVV2SCQ6.js +1 -1
- package/cdn-versioned/chunks/chunk.W72MLMOE.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.X77YGX4O.js +1 -1
- package/cdn-versioned/chunks/chunk.XL3BUCUU.js +1 -1
- package/cdn-versioned/chunks/chunk.YEIAYEJG.js +1 -1
- package/cdn-versioned/chunks/chunk.ZZFQQH27.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- 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 +3 -2
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/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/carousel.js +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/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +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/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/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/scrollable/scrollable.js +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/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +210 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +17 -17
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +3 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +138 -137
- package/dist/chunks/{chunk.EJ6ZLEEW.js → chunk.G5A32O76.js} +3 -0
- package/dist/chunks/{chunk.ZXR3YX6W.js → chunk.J7KRCFRG.js} +3 -0
- package/dist/chunks/{chunk.TLTEUGRS.js → chunk.UTL7JKFI.js} +15 -8
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.d.ts +2 -1
- package/dist/components/audio/audio.js +3 -3
- package/dist/components/button/button.js +2 -2
- package/dist/components/carousel/carousel.js +2 -2
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +9 -1
- package/dist/solid-components.js +3 -3
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +3 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/web-types.json +2 -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.33QCSKQD.js +1 -1
- package/dist-versioned/chunks/chunk.5U42A4N2.js +1 -1
- package/dist-versioned/chunks/chunk.65GBG62N.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6Q2FPQCD.js +5 -5
- package/dist-versioned/chunks/chunk.AEYAUOW5.js +2 -2
- package/dist-versioned/chunks/chunk.AQOV7CSX.js +3 -3
- package/dist-versioned/chunks/chunk.DKDBS6OJ.js +9 -9
- package/dist-versioned/chunks/chunk.DQPMDZDZ.js +5 -5
- package/dist-versioned/chunks/chunk.F27JSEQZ.js +5 -5
- package/dist-versioned/chunks/chunk.F2TZ6DNQ.js +29 -29
- package/dist-versioned/chunks/chunk.FG4KLSVA.js +4 -4
- package/dist-versioned/chunks/{chunk.EJ6ZLEEW.js → chunk.G5A32O76.js} +3 -0
- package/dist-versioned/chunks/chunk.GEIIXN6O.js +3 -3
- package/dist-versioned/chunks/chunk.GXOBJN4Z.js +5 -5
- package/dist-versioned/chunks/chunk.I44BFH6N.js +2 -2
- package/dist-versioned/chunks/chunk.I6LLIF3A.js +5 -5
- package/dist-versioned/chunks/chunk.IHJUIKE5.js +2 -2
- package/dist-versioned/chunks/chunk.IHKHCZDI.js +2 -2
- package/dist-versioned/chunks/{chunk.ZXR3YX6W.js → chunk.J7KRCFRG.js} +3 -0
- package/dist-versioned/chunks/chunk.JCZYHLLG.js +1 -1
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LM7G2MP2.js +1 -1
- package/dist-versioned/chunks/chunk.LT6DJYQW.js +2 -2
- package/dist-versioned/chunks/chunk.LTMUP2IF.js +1 -1
- package/dist-versioned/chunks/chunk.M4CPDAKC.js +1 -1
- package/dist-versioned/chunks/chunk.MM7UZ56N.js +13 -13
- package/dist-versioned/chunks/chunk.MPC4NJ7T.js +2 -2
- package/dist-versioned/chunks/chunk.MUTJR3Y5.js +2 -2
- package/dist-versioned/chunks/chunk.NKQ5TMZU.js +1 -1
- package/dist-versioned/chunks/chunk.NVGI6WK4.js +3 -3
- package/dist-versioned/chunks/chunk.NXMLWQ4F.js +13 -13
- package/dist-versioned/chunks/chunk.OED6NJWG.js +26 -26
- package/dist-versioned/chunks/chunk.OVXTOIRH.js +1 -1
- package/dist-versioned/chunks/chunk.PHOL2FZ7.js +2 -2
- package/dist-versioned/chunks/chunk.PY2NXO6G.js +1 -1
- package/dist-versioned/chunks/chunk.Q2OO67VT.js +2 -2
- package/dist-versioned/chunks/chunk.QINFB4CI.js +3 -3
- package/dist-versioned/chunks/chunk.R7F4MWPK.js +2 -2
- package/dist-versioned/chunks/chunk.SL7UXNEP.js +6 -6
- package/dist-versioned/chunks/chunk.SUVILVZH.js +1 -1
- package/dist-versioned/chunks/chunk.TA2OGXIC.js +1 -1
- package/dist-versioned/chunks/chunk.THT3CJM5.js +1 -1
- package/dist-versioned/chunks/chunk.UEKILTQF.js +2 -2
- package/dist-versioned/chunks/chunk.UGILZRQF.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.TLTEUGRS.js → chunk.UTL7JKFI.js} +18 -11
- package/dist-versioned/chunks/chunk.UWKWJ6WX.js +3 -3
- package/dist-versioned/chunks/chunk.V27Y42MG.js +2 -2
- package/dist-versioned/chunks/chunk.VAA7NUXP.js +2 -2
- package/dist-versioned/chunks/chunk.VYPTEJCW.js +2 -2
- package/dist-versioned/chunks/chunk.WZK6B3UV.js +11 -11
- package/dist-versioned/chunks/chunk.X27M4U7I.js +1 -1
- package/dist-versioned/chunks/chunk.XS43N4DL.js +2 -2
- package/dist-versioned/chunks/chunk.YHVAW367.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +3 -2
- package/dist-versioned/components/audio/audio.js +3 -3
- 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/button.js +2 -2
- 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/carousel.js +2 -2
- 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/combobox/combobox.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- 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/input/input.js +2 -2
- 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/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/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/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -2
- 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/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +210 -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/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/localize.d.ts +3 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +138 -137
- package/package.json +2 -2
- package/cdn/chunks/chunk.CNK4EWSD.js +0 -1
- package/cdn/chunks/chunk.UNKFWGH5.js +0 -1
- package/cdn/chunks/chunk.W6PPVJGK.js +0 -1
- package/cdn-versioned/chunks/chunk.CNK4EWSD.js +0 -1
- package/cdn-versioned/chunks/chunk.UNKFWGH5.js +0 -1
- package/cdn-versioned/chunks/chunk.W6PPVJGK.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
|
-
"name": "sd-4-2-
|
|
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-2-
|
|
10
|
+
"name": "sd-4-2-2-accordion",
|
|
11
|
+
"description": "Accordion shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-2-2-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"name": "expand-icon",
|
|
43
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-2-
|
|
43
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "collapse-icon",
|
|
47
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-2-
|
|
47
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"events": [
|
|
@@ -111,8 +111,8 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
|
-
"name": "sd-4-2-
|
|
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-2-
|
|
114
|
+
"name": "sd-4-2-2-accordion-group",
|
|
115
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-2-2-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
116
116
|
"doc-url": "",
|
|
117
117
|
"attributes": [
|
|
118
118
|
{
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"slots": [
|
|
135
135
|
{
|
|
136
136
|
"name": "",
|
|
137
|
-
"description": "The default slot where `<sd-4-2-
|
|
137
|
+
"description": "The default slot where `<sd-4-2-2-accordion>` elements are placed."
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"events": [],
|
|
@@ -160,8 +160,8 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
|
-
"name": "sd-4-2-
|
|
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-2-
|
|
163
|
+
"name": "sd-4-2-2-animation",
|
|
164
|
+
"description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sd-cancel** - Emitted when the animation is canceled.\n- **sd-finish** - Emitted when the animation finishes.\n- **sd-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-2-2-animation>` elements.",
|
|
165
165
|
"doc-url": "",
|
|
166
166
|
"attributes": [
|
|
167
167
|
{
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"slots": [
|
|
234
234
|
{
|
|
235
235
|
"name": "",
|
|
236
|
-
"description": "The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sd-4-2-
|
|
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-2-2-animation>` elements."
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
239
|
"events": [
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
}
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
"name": "sd-4-2-
|
|
348
|
+
"name": "sd-4-2-2-audio",
|
|
349
349
|
"description": "Used to play audio files that are part of the page content.\n---\n\n\n### **Events:**\n - **sd-playback-start** - Emitted when the audio playback starts.\n- **sd-playback-end** - Emitted when the audio playback ends.\n- **sd-playback-pause** - Emitted when the audio playback pauses.\n- **sd-playback-mute** - Emitted when the audio is muted.\n- **sd-playback-unmute** - Emitted when the audio is unmuted.\n- **sd-playback-speed** - Emitted when the playback speed is changed.\n- **sd-transcript-click** - Emitted when the transcript button is clicked.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot.\n- **play-icon** - The play icon.\n- **pause-icon** - The pause icon.\n- **transcript** - The transcript.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **audio-controls** - The audio controls.\n- **playback-speed** - The playback speed.\n- **play-button** - The play button.\n- **volume** - The volume button.\n- **progress-slider** - The audio progress slider.\n- **timestamps** - The audio timestamps.",
|
|
350
350
|
"doc-url": "",
|
|
351
351
|
"attributes": [
|
|
@@ -452,6 +452,7 @@
|
|
|
452
452
|
{ "name": "duration", "type": "string" },
|
|
453
453
|
{ "name": "isPlaying", "type": "boolean" },
|
|
454
454
|
{ "name": "isMuted", "type": "boolean" },
|
|
455
|
+
{ "name": "isTranscriptOpen", "type": "boolean" },
|
|
455
456
|
{ "name": "progress", "type": "number" },
|
|
456
457
|
{ "name": "drawer", "type": "SdDrawer" },
|
|
457
458
|
{ "name": "context", "type": "CanvasRenderingContext2D" },
|
|
@@ -500,7 +501,7 @@
|
|
|
500
501
|
}
|
|
501
502
|
},
|
|
502
503
|
{
|
|
503
|
-
"name": "sd-4-2-
|
|
504
|
+
"name": "sd-4-2-2-badge",
|
|
504
505
|
"description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
505
506
|
"doc-url": "",
|
|
506
507
|
"attributes": [
|
|
@@ -567,7 +568,7 @@
|
|
|
567
568
|
}
|
|
568
569
|
},
|
|
569
570
|
{
|
|
570
|
-
"name": "sd-4-2-
|
|
571
|
+
"name": "sd-4-2-2-brandshape",
|
|
571
572
|
"description": "The Brandshape highlights a piece of content.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n- **image** - The image slot for the 'image' variant.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.\n- **stylized-container** - Container for border and image variant.",
|
|
572
573
|
"doc-url": "",
|
|
573
574
|
"attributes": [
|
|
@@ -633,7 +634,7 @@
|
|
|
633
634
|
}
|
|
634
635
|
},
|
|
635
636
|
{
|
|
636
|
-
"name": "sd-4-2-
|
|
637
|
+
"name": "sd-4-2-2-button",
|
|
637
638
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
638
639
|
"doc-url": "",
|
|
639
640
|
"attributes": [
|
|
@@ -901,8 +902,8 @@
|
|
|
901
902
|
}
|
|
902
903
|
},
|
|
903
904
|
{
|
|
904
|
-
"name": "sd-4-2-
|
|
905
|
-
"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-2-
|
|
905
|
+
"name": "sd-4-2-2-button-group",
|
|
906
|
+
"description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - One or more `<sd-4-2-2-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
906
907
|
"doc-url": "",
|
|
907
908
|
"attributes": [
|
|
908
909
|
{
|
|
@@ -924,7 +925,7 @@
|
|
|
924
925
|
"slots": [
|
|
925
926
|
{
|
|
926
927
|
"name": "",
|
|
927
|
-
"description": "One or more `<sd-4-2-
|
|
928
|
+
"description": "One or more `<sd-4-2-2-button>` elements to display in the button group."
|
|
928
929
|
}
|
|
929
930
|
],
|
|
930
931
|
"events": [],
|
|
@@ -951,8 +952,8 @@
|
|
|
951
952
|
}
|
|
952
953
|
},
|
|
953
954
|
{
|
|
954
|
-
"name": "sd-4-2-
|
|
955
|
-
"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-2-
|
|
955
|
+
"name": "sd-4-2-2-carousel",
|
|
956
|
+
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n---\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **pause()** - Pause the autoplay.\n- **resume()** - Resume the autoplay\n- **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-4-2-2-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
956
957
|
"doc-url": "",
|
|
957
958
|
"attributes": [
|
|
958
959
|
{
|
|
@@ -999,23 +1000,23 @@
|
|
|
999
1000
|
"slots": [
|
|
1000
1001
|
{
|
|
1001
1002
|
"name": "",
|
|
1002
|
-
"description": "The carousel's main content, one or more `<sd-4-2-
|
|
1003
|
+
"description": "The carousel's main content, one or more `<sd-4-2-2-carousel-item>` elements."
|
|
1003
1004
|
},
|
|
1004
1005
|
{
|
|
1005
1006
|
"name": "next-icon",
|
|
1006
|
-
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-2-
|
|
1007
|
+
"description": "Optional next icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
1007
1008
|
},
|
|
1008
1009
|
{
|
|
1009
1010
|
"name": "previous-icon",
|
|
1010
|
-
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-2-
|
|
1011
|
+
"description": "Optional previous icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
1011
1012
|
},
|
|
1012
1013
|
{
|
|
1013
1014
|
"name": "autoplay-start",
|
|
1014
|
-
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-2-
|
|
1015
|
+
"description": "Optional start icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
1015
1016
|
},
|
|
1016
1017
|
{
|
|
1017
1018
|
"name": "autoplay-pause",
|
|
1018
|
-
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-2-
|
|
1019
|
+
"description": "Optional pause icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
1019
1020
|
}
|
|
1020
1021
|
],
|
|
1021
1022
|
"events": [
|
|
@@ -1079,7 +1080,7 @@
|
|
|
1079
1080
|
}
|
|
1080
1081
|
},
|
|
1081
1082
|
{
|
|
1082
|
-
"name": "sd-4-2-
|
|
1083
|
+
"name": "sd-4-2-2-carousel-item",
|
|
1083
1084
|
"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.",
|
|
1084
1085
|
"doc-url": "",
|
|
1085
1086
|
"attributes": [
|
|
@@ -1115,8 +1116,8 @@
|
|
|
1115
1116
|
}
|
|
1116
1117
|
},
|
|
1117
1118
|
{
|
|
1118
|
-
"name": "sd-4-2-
|
|
1119
|
-
"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-2-
|
|
1119
|
+
"name": "sd-4-2-2-checkbox",
|
|
1120
|
+
"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-2-2-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-2-2-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-4-2-2-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1120
1121
|
"doc-url": "",
|
|
1121
1122
|
"attributes": [
|
|
1122
1123
|
{ "name": "title", "value": { "type": "string", "default": "''" } },
|
|
@@ -1191,7 +1192,7 @@
|
|
|
1191
1192
|
"description": "Emitted when the checkbox gains focus."
|
|
1192
1193
|
},
|
|
1193
1194
|
{
|
|
1194
|
-
"name": "sd-4-2-
|
|
1195
|
+
"name": "sd-4-2-2-input",
|
|
1195
1196
|
"description": "Emitted when the checkbox receives input."
|
|
1196
1197
|
}
|
|
1197
1198
|
],
|
|
@@ -1277,15 +1278,15 @@
|
|
|
1277
1278
|
"description": "Emitted when the checkbox gains focus."
|
|
1278
1279
|
},
|
|
1279
1280
|
{
|
|
1280
|
-
"name": "sd-4-2-
|
|
1281
|
+
"name": "sd-4-2-2-input",
|
|
1281
1282
|
"description": "Emitted when the checkbox receives input."
|
|
1282
1283
|
}
|
|
1283
1284
|
]
|
|
1284
1285
|
}
|
|
1285
1286
|
},
|
|
1286
1287
|
{
|
|
1287
|
-
"name": "sd-4-2-
|
|
1288
|
-
"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-2-
|
|
1288
|
+
"name": "sd-4-2-2-checkbox-group",
|
|
1289
|
+
"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-2-2-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **tooltip** - An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-2-2-tooltip` component.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.",
|
|
1289
1290
|
"doc-url": "",
|
|
1290
1291
|
"attributes": [
|
|
1291
1292
|
{
|
|
@@ -1325,7 +1326,7 @@
|
|
|
1325
1326
|
"slots": [
|
|
1326
1327
|
{
|
|
1327
1328
|
"name": "",
|
|
1328
|
-
"description": "The default slot where `<sd-4-2-
|
|
1329
|
+
"description": "The default slot where `<sd-4-2-2-checkbox>` elements are placed."
|
|
1329
1330
|
},
|
|
1330
1331
|
{
|
|
1331
1332
|
"name": "label",
|
|
@@ -1333,7 +1334,7 @@
|
|
|
1333
1334
|
},
|
|
1334
1335
|
{
|
|
1335
1336
|
"name": "tooltip",
|
|
1336
|
-
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-2-
|
|
1337
|
+
"description": "An optional tooltip that helps describe the checkbox-group. Use this slot with the `sd-4-2-2-tooltip` component."
|
|
1337
1338
|
},
|
|
1338
1339
|
{
|
|
1339
1340
|
"name": "help-text",
|
|
@@ -1378,8 +1379,8 @@
|
|
|
1378
1379
|
}
|
|
1379
1380
|
},
|
|
1380
1381
|
{
|
|
1381
|
-
"name": "sd-4-2-
|
|
1382
|
-
"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-2-
|
|
1382
|
+
"name": "sd-4-2-2-combobox",
|
|
1383
|
+
"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-2-2-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the combobox's menu opens.\n- **sd-after-show** - Emitted after the combobox's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the combobox's menu closes.\n- **sd-after-hide** - Emitted after the combobox's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **sd-error** - Emitted when the combobox menu fails to open.\n\n### **Methods:**\n - **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-2-2-option>` elements. You can use `<sd-4-2-2-optgroup>`'s to group items visually.\n- **label** - The combobox's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the combobox. Alternatively, you can use the `help-text` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the combobox.\n- **right** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, combobox, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The combobox's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container that wraps the prefix, combobox, clear icon, and expand button.\n- **left** - The container that wraps the left icon slot.\n- **right** - The container that wraps the right icon slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where the options are slotted and the filtered options list exists.\n- **filtered-listbox** - The container that wraps the filtered options.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
1383
1384
|
"doc-url": "",
|
|
1384
1385
|
"attributes": [
|
|
1385
1386
|
{
|
|
@@ -1472,7 +1473,7 @@
|
|
|
1472
1473
|
},
|
|
1473
1474
|
{
|
|
1474
1475
|
"name": "useTags",
|
|
1475
|
-
"description": "Uses interactive `sd-4-2-
|
|
1476
|
+
"description": "Uses interactive `sd-4-2-2-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1476
1477
|
"value": { "type": "boolean", "default": "true" }
|
|
1477
1478
|
},
|
|
1478
1479
|
{
|
|
@@ -1513,7 +1514,7 @@
|
|
|
1513
1514
|
"slots": [
|
|
1514
1515
|
{
|
|
1515
1516
|
"name": "",
|
|
1516
|
-
"description": "The listbox options. Must be `<sd-4-2-
|
|
1517
|
+
"description": "The listbox options. Must be `<sd-4-2-2-option>` elements. You can use `<sd-4-2-2-optgroup>`'s to group items visually."
|
|
1517
1518
|
},
|
|
1518
1519
|
{
|
|
1519
1520
|
"name": "label",
|
|
@@ -1550,7 +1551,7 @@
|
|
|
1550
1551
|
"description": "Emitted when the control's value is cleared."
|
|
1551
1552
|
},
|
|
1552
1553
|
{
|
|
1553
|
-
"name": "sd-4-2-
|
|
1554
|
+
"name": "sd-4-2-2-input",
|
|
1554
1555
|
"description": "Emitted when the control receives input."
|
|
1555
1556
|
},
|
|
1556
1557
|
{
|
|
@@ -1693,7 +1694,7 @@
|
|
|
1693
1694
|
},
|
|
1694
1695
|
{
|
|
1695
1696
|
"name": "useTags",
|
|
1696
|
-
"description": "Uses interactive `sd-4-2-
|
|
1697
|
+
"description": "Uses interactive `sd-4-2-2-tag` elements representing individual options in the display input when `multiple` is `true`. It cannot be opted out.",
|
|
1697
1698
|
"type": "boolean"
|
|
1698
1699
|
},
|
|
1699
1700
|
{
|
|
@@ -1740,7 +1741,7 @@
|
|
|
1740
1741
|
"description": "Emitted when the control's value is cleared."
|
|
1741
1742
|
},
|
|
1742
1743
|
{
|
|
1743
|
-
"name": "sd-4-2-
|
|
1744
|
+
"name": "sd-4-2-2-input",
|
|
1744
1745
|
"description": "Emitted when the control receives input."
|
|
1745
1746
|
},
|
|
1746
1747
|
{
|
|
@@ -1779,8 +1780,8 @@
|
|
|
1779
1780
|
}
|
|
1780
1781
|
},
|
|
1781
1782
|
{
|
|
1782
|
-
"name": "sd-4-2-
|
|
1783
|
-
"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-2-
|
|
1783
|
+
"name": "sd-4-2-2-dialog",
|
|
1784
|
+
"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-2-2-button>` and `<sd-4-2-2-icon>`.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the dialog.\n- **panel** - The dialog's panel (where the dialog and its content are rendered).\n- **header** - The dialog's header. This element wraps the title and header actions.\n- **title** - The dialog's title.\n- **close-button** - The close button, an `<sd-4-2-2-button>`.\n- **body** - The dialog's body.\n- **footer** - The dialog's footer.",
|
|
1784
1785
|
"doc-url": "",
|
|
1785
1786
|
"attributes": [
|
|
1786
1787
|
{
|
|
@@ -1821,7 +1822,7 @@
|
|
|
1821
1822
|
},
|
|
1822
1823
|
{
|
|
1823
1824
|
"name": "close-button",
|
|
1824
|
-
"description": "The dialog's close button. Works best with `<sd-4-2-
|
|
1825
|
+
"description": "The dialog's close button. Works best with `<sd-4-2-2-button>` and `<sd-4-2-2-icon>`."
|
|
1825
1826
|
}
|
|
1826
1827
|
],
|
|
1827
1828
|
"events": [
|
|
@@ -1910,7 +1911,7 @@
|
|
|
1910
1911
|
}
|
|
1911
1912
|
},
|
|
1912
1913
|
{
|
|
1913
|
-
"name": "sd-4-2-
|
|
1914
|
+
"name": "sd-4-2-2-divider",
|
|
1914
1915
|
"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.",
|
|
1915
1916
|
"doc-url": "",
|
|
1916
1917
|
"attributes": [
|
|
@@ -1966,8 +1967,8 @@
|
|
|
1966
1967
|
}
|
|
1967
1968
|
},
|
|
1968
1969
|
{
|
|
1969
|
-
"name": "sd-4-2-
|
|
1970
|
-
"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-2-
|
|
1970
|
+
"name": "sd-4-2-2-drawer",
|
|
1971
|
+
"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-2-2-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1971
1972
|
"doc-url": "",
|
|
1972
1973
|
"attributes": [
|
|
1973
1974
|
{
|
|
@@ -2113,8 +2114,8 @@
|
|
|
2113
2114
|
}
|
|
2114
2115
|
},
|
|
2115
2116
|
{
|
|
2116
|
-
"name": "sd-4-2-
|
|
2117
|
-
"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-2-
|
|
2117
|
+
"name": "sd-4-2-2-dropdown",
|
|
2118
|
+
"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-2-2-button> is a <button> located inside its shadow root.\n\nTo determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n- **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-4-2-2-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.",
|
|
2118
2119
|
"doc-url": "",
|
|
2119
2120
|
"attributes": [
|
|
2120
2121
|
{
|
|
@@ -2185,7 +2186,7 @@
|
|
|
2185
2186
|
{ "name": "", "description": "The dropdown's main content." },
|
|
2186
2187
|
{
|
|
2187
2188
|
"name": "trigger",
|
|
2188
|
-
"description": "The dropdown's trigger, usually a `<sd-4-2-
|
|
2189
|
+
"description": "The dropdown's trigger, usually a `<sd-4-2-2-button>` element."
|
|
2189
2190
|
}
|
|
2190
2191
|
],
|
|
2191
2192
|
"events": [
|
|
@@ -2292,7 +2293,7 @@
|
|
|
2292
2293
|
}
|
|
2293
2294
|
},
|
|
2294
2295
|
{
|
|
2295
|
-
"name": "sd-4-2-
|
|
2296
|
+
"name": "sd-4-2-2-expandable",
|
|
2296
2297
|
"description": "Expandable shows a brief summary and expands to show additional content.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the expandable opens.\n- **sd-after-show** - Emitted after the expandable opens and all animations are complete.\n- **sd-hide** - Emitted when the expandable closes.\n- **sd-after-hide** - Emitted after the expandable closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Opens the expandable\n- **hide()** - Closes the expandable\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Content of the expandable\n- **toggle-open** - Content of the toggle button when the expandable is open\n- **toggle-closed** - Content of the toggle button when the expandable is closed\n\n### **CSS Properties:**\n - **--gradient-color-start** - Start color of the gradient. Set the opacity to 0 (default: rgba(255, 255, 255, 0)) _(default: undefined)_\n- **--gradient-color-end** - End color of the gradient. Set the opacity to 1 (default: rgba(255, 255, 255, 1)) _(default: undefined)_\n- **--gradient-height** - Height of the gradient (default: 24px) _(default: undefined)_\n- **--component-expandable-max-block-size** - Different value for initial visible block (default: 90px) _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The content of the expandable.\n- **toggle** - The toggle button of the expandable.\n- **summary** - The summary of the expandable.\n- **details** - The details element of the expandable.",
|
|
2297
2298
|
"doc-url": "",
|
|
2298
2299
|
"attributes": [
|
|
@@ -2391,7 +2392,7 @@
|
|
|
2391
2392
|
}
|
|
2392
2393
|
},
|
|
2393
2394
|
{
|
|
2394
|
-
"name": "sd-4-2-
|
|
2395
|
+
"name": "sd-4-2-2-flipcard",
|
|
2395
2396
|
"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.",
|
|
2396
2397
|
"doc-url": "",
|
|
2397
2398
|
"attributes": [
|
|
@@ -2507,7 +2508,7 @@
|
|
|
2507
2508
|
}
|
|
2508
2509
|
},
|
|
2509
2510
|
{
|
|
2510
|
-
"name": "sd-4-2-
|
|
2511
|
+
"name": "sd-4-2-2-header",
|
|
2511
2512
|
"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.",
|
|
2512
2513
|
"doc-url": "",
|
|
2513
2514
|
"attributes": [
|
|
@@ -2553,7 +2554,7 @@
|
|
|
2553
2554
|
}
|
|
2554
2555
|
},
|
|
2555
2556
|
{
|
|
2556
|
-
"name": "sd-4-2-
|
|
2557
|
+
"name": "sd-4-2-2-icon",
|
|
2557
2558
|
"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.",
|
|
2558
2559
|
"doc-url": "",
|
|
2559
2560
|
"attributes": [
|
|
@@ -2657,7 +2658,7 @@
|
|
|
2657
2658
|
}
|
|
2658
2659
|
},
|
|
2659
2660
|
{
|
|
2660
|
-
"name": "sd-4-2-
|
|
2661
|
+
"name": "sd-4-2-2-include",
|
|
2661
2662
|
"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.",
|
|
2662
2663
|
"doc-url": "",
|
|
2663
2664
|
"attributes": [
|
|
@@ -2743,8 +2744,8 @@
|
|
|
2743
2744
|
}
|
|
2744
2745
|
},
|
|
2745
2746
|
{
|
|
2746
|
-
"name": "sd-4-2-
|
|
2747
|
-
"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-2-
|
|
2747
|
+
"name": "sd-4-2-2-input",
|
|
2748
|
+
"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-2-2-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-2-2-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.\n- **invalid-icon** - The invalid icon.\n- **valid-icon** - The valid icon.\n- **invalid-message** - The invalid message.",
|
|
2748
2749
|
"doc-url": "",
|
|
2749
2750
|
"attributes": [
|
|
2750
2751
|
{
|
|
@@ -2953,7 +2954,7 @@
|
|
|
2953
2954
|
},
|
|
2954
2955
|
{
|
|
2955
2956
|
"name": "tooltip",
|
|
2956
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-
|
|
2957
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-2-tooltip` component."
|
|
2957
2958
|
}
|
|
2958
2959
|
],
|
|
2959
2960
|
"events": [
|
|
@@ -2974,7 +2975,7 @@
|
|
|
2974
2975
|
"description": "Emitted when the control gains focus."
|
|
2975
2976
|
},
|
|
2976
2977
|
{
|
|
2977
|
-
"name": "sd-4-2-
|
|
2978
|
+
"name": "sd-4-2-2-input",
|
|
2978
2979
|
"description": "Emitted when the control receives input."
|
|
2979
2980
|
}
|
|
2980
2981
|
],
|
|
@@ -3182,14 +3183,14 @@
|
|
|
3182
3183
|
"description": "Emitted when the control gains focus."
|
|
3183
3184
|
},
|
|
3184
3185
|
{
|
|
3185
|
-
"name": "sd-4-2-
|
|
3186
|
+
"name": "sd-4-2-2-input",
|
|
3186
3187
|
"description": "Emitted when the control receives input."
|
|
3187
3188
|
}
|
|
3188
3189
|
]
|
|
3189
3190
|
}
|
|
3190
3191
|
},
|
|
3191
3192
|
{
|
|
3192
|
-
"name": "sd-4-2-
|
|
3193
|
+
"name": "sd-4-2-2-link",
|
|
3193
3194
|
"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.",
|
|
3194
3195
|
"doc-url": "",
|
|
3195
3196
|
"attributes": [
|
|
@@ -3324,7 +3325,7 @@
|
|
|
3324
3325
|
}
|
|
3325
3326
|
},
|
|
3326
3327
|
{
|
|
3327
|
-
"name": "sd-4-2-
|
|
3328
|
+
"name": "sd-4-2-2-map-marker",
|
|
3328
3329
|
"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)_",
|
|
3329
3330
|
"doc-url": "",
|
|
3330
3331
|
"attributes": [
|
|
@@ -3442,7 +3443,7 @@
|
|
|
3442
3443
|
}
|
|
3443
3444
|
},
|
|
3444
3445
|
{
|
|
3445
|
-
"name": "sd-4-2-
|
|
3446
|
+
"name": "sd-4-2-2-navigation-item",
|
|
3446
3447
|
"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.",
|
|
3447
3448
|
"doc-url": "",
|
|
3448
3449
|
"attributes": [
|
|
@@ -3629,13 +3630,13 @@
|
|
|
3629
3630
|
}
|
|
3630
3631
|
},
|
|
3631
3632
|
{
|
|
3632
|
-
"name": "sd-4-2-
|
|
3633
|
-
"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-2-
|
|
3633
|
+
"name": "sd-4-2-2-notification",
|
|
3634
|
+
"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-2-2-notification's main content.\n- **icon** - An icon to show in the sd-4-2-2-notification. Works best with `<sd-4-2-2-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-2-2-icon-button>`.",
|
|
3634
3635
|
"doc-url": "",
|
|
3635
3636
|
"attributes": [
|
|
3636
3637
|
{
|
|
3637
3638
|
"name": "variant",
|
|
3638
|
-
"description": "The sd-4-2-
|
|
3639
|
+
"description": "The sd-4-2-2-notification's theme.",
|
|
3639
3640
|
"value": {
|
|
3640
3641
|
"type": "'info' | 'success' | 'error' | 'warning'",
|
|
3641
3642
|
"default": "'info'"
|
|
@@ -3643,7 +3644,7 @@
|
|
|
3643
3644
|
},
|
|
3644
3645
|
{
|
|
3645
3646
|
"name": "open",
|
|
3646
|
-
"description": "Indicates whether or not sd-4-2-
|
|
3647
|
+
"description": "Indicates whether or not sd-4-2-2-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3647
3648
|
"value": { "type": "boolean", "default": "false" }
|
|
3648
3649
|
},
|
|
3649
3650
|
{
|
|
@@ -3653,7 +3654,7 @@
|
|
|
3653
3654
|
},
|
|
3654
3655
|
{
|
|
3655
3656
|
"name": "duration",
|
|
3656
|
-
"description": "The length of time, in milliseconds, the sd-4-2-
|
|
3657
|
+
"description": "The length of time, in milliseconds, the sd-4-2-2-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own.",
|
|
3657
3658
|
"value": { "type": "string", "default": "Infinity" }
|
|
3658
3659
|
},
|
|
3659
3660
|
{
|
|
@@ -3663,7 +3664,7 @@
|
|
|
3663
3664
|
},
|
|
3664
3665
|
{
|
|
3665
3666
|
"name": "toast-stack",
|
|
3666
|
-
"description": "The position of the toasted sd-4-2-
|
|
3667
|
+
"description": "The position of the toasted sd-4-2-2-notification.",
|
|
3667
3668
|
"value": {
|
|
3668
3669
|
"type": "'top-right' | 'bottom-center'",
|
|
3669
3670
|
"default": "'top-right'"
|
|
@@ -3683,11 +3684,11 @@
|
|
|
3683
3684
|
"slots": [
|
|
3684
3685
|
{
|
|
3685
3686
|
"name": "",
|
|
3686
|
-
"description": "The sd-4-2-
|
|
3687
|
+
"description": "The sd-4-2-2-notification's main content."
|
|
3687
3688
|
},
|
|
3688
3689
|
{
|
|
3689
3690
|
"name": "icon",
|
|
3690
|
-
"description": "An icon to show in the sd-4-2-
|
|
3691
|
+
"description": "An icon to show in the sd-4-2-2-notification. Works best with `<sd-4-2-2-icon>`."
|
|
3691
3692
|
}
|
|
3692
3693
|
],
|
|
3693
3694
|
"events": [
|
|
@@ -3713,12 +3714,12 @@
|
|
|
3713
3714
|
{ "name": "localize" },
|
|
3714
3715
|
{
|
|
3715
3716
|
"name": "variant",
|
|
3716
|
-
"description": "The sd-4-2-
|
|
3717
|
+
"description": "The sd-4-2-2-notification's theme.",
|
|
3717
3718
|
"type": "'info' | 'success' | 'error' | 'warning'"
|
|
3718
3719
|
},
|
|
3719
3720
|
{
|
|
3720
3721
|
"name": "open",
|
|
3721
|
-
"description": "Indicates whether or not sd-4-2-
|
|
3722
|
+
"description": "Indicates whether or not sd-4-2-2-notification is open. You can toggle this attribute to show and hide the notification, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the notifications's open state.",
|
|
3722
3723
|
"type": "boolean"
|
|
3723
3724
|
},
|
|
3724
3725
|
{
|
|
@@ -3728,7 +3729,7 @@
|
|
|
3728
3729
|
},
|
|
3729
3730
|
{
|
|
3730
3731
|
"name": "duration",
|
|
3731
|
-
"description": "The length of time, in milliseconds, the sd-4-2-
|
|
3732
|
+
"description": "The length of time, in milliseconds, the sd-4-2-2-notification will show before closing itself. If the user interacts with\nthe notification before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe notification will not close on its own."
|
|
3732
3733
|
},
|
|
3733
3734
|
{
|
|
3734
3735
|
"name": "durationIndicator",
|
|
@@ -3737,7 +3738,7 @@
|
|
|
3737
3738
|
},
|
|
3738
3739
|
{
|
|
3739
3740
|
"name": "toastStack",
|
|
3740
|
-
"description": "The position of the toasted sd-4-2-
|
|
3741
|
+
"description": "The position of the toasted sd-4-2-2-notification.",
|
|
3741
3742
|
"type": "'top-right' | 'bottom-center'"
|
|
3742
3743
|
},
|
|
3743
3744
|
{
|
|
@@ -3772,8 +3773,8 @@
|
|
|
3772
3773
|
}
|
|
3773
3774
|
},
|
|
3774
3775
|
{
|
|
3775
|
-
"name": "sd-4-2-
|
|
3776
|
-
"description": "The <sd-4-2-
|
|
3776
|
+
"name": "sd-4-2-2-optgroup",
|
|
3777
|
+
"description": "The <sd-4-2-2-optgroup> element creates a grouping for <sd-4-2-2-option>s within a <sd-4-2-2-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-2-2-option>` elements.\n- **label** - The label for the optgroup\n\n### **CSS Properties:**\n - **--display-divider** - Display property of the divider. Defaults to \"block\" _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label-container** - The container that wraps prefix, label and base\n- **divider** - The divider that is displayed above the content\n- **options** - The container that wraps the <sd-4-2-2-option> elements.",
|
|
3777
3778
|
"doc-url": "",
|
|
3778
3779
|
"attributes": [
|
|
3779
3780
|
{
|
|
@@ -3800,7 +3801,7 @@
|
|
|
3800
3801
|
"slots": [
|
|
3801
3802
|
{
|
|
3802
3803
|
"name": "",
|
|
3803
|
-
"description": "The given options. Must be `<sd-4-2-
|
|
3804
|
+
"description": "The given options. Must be `<sd-4-2-2-option>` elements."
|
|
3804
3805
|
},
|
|
3805
3806
|
{ "name": "label", "description": "The label for the optgroup" }
|
|
3806
3807
|
],
|
|
@@ -3832,18 +3833,18 @@
|
|
|
3832
3833
|
}
|
|
3833
3834
|
},
|
|
3834
3835
|
{
|
|
3835
|
-
"name": "sd-4-2-
|
|
3836
|
-
"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-2-
|
|
3836
|
+
"name": "sd-4-2-2-option",
|
|
3837
|
+
"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-2-2-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **left** - The container that wraps the left.\n- **right** - The container that wraps the right.",
|
|
3837
3838
|
"doc-url": "",
|
|
3838
3839
|
"attributes": [
|
|
3839
3840
|
{
|
|
3840
3841
|
"name": "size",
|
|
3841
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-2-
|
|
3842
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-2-2-select`.",
|
|
3842
3843
|
"value": { "type": "'lg' | 'md' | 'sm'", "default": "'lg'" }
|
|
3843
3844
|
},
|
|
3844
3845
|
{
|
|
3845
3846
|
"name": "checkbox",
|
|
3846
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-2-
|
|
3847
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-2-2-select` when attribute `checklist` is set to `true`.",
|
|
3847
3848
|
"value": { "type": "boolean", "default": "false" }
|
|
3848
3849
|
},
|
|
3849
3850
|
{
|
|
@@ -3883,12 +3884,12 @@
|
|
|
3883
3884
|
"properties": [
|
|
3884
3885
|
{
|
|
3885
3886
|
"name": "size",
|
|
3886
|
-
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-2-
|
|
3887
|
+
"description": "The option's size is inherited automatically from the `size` attribute of the parent `sd-4-2-2-select`.",
|
|
3887
3888
|
"type": "'lg' | 'md' | 'sm'"
|
|
3888
3889
|
},
|
|
3889
3890
|
{
|
|
3890
3891
|
"name": "checkbox",
|
|
3891
|
-
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-2-
|
|
3892
|
+
"description": "Prefixes a styled checkbox to the option. Enabled automatically in `sd-4-2-2-select` when attribute `checklist` is set to `true`.",
|
|
3892
3893
|
"type": "boolean"
|
|
3893
3894
|
},
|
|
3894
3895
|
{
|
|
@@ -3916,7 +3917,7 @@
|
|
|
3916
3917
|
}
|
|
3917
3918
|
},
|
|
3918
3919
|
{
|
|
3919
|
-
"name": "sd-4-2-
|
|
3920
|
+
"name": "sd-4-2-2-popup",
|
|
3920
3921
|
"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.",
|
|
3921
3922
|
"doc-url": "",
|
|
3922
3923
|
"attributes": [
|
|
@@ -4196,8 +4197,8 @@
|
|
|
4196
4197
|
}
|
|
4197
4198
|
},
|
|
4198
4199
|
{
|
|
4199
|
-
"name": "sd-4-2-
|
|
4200
|
-
"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-2-
|
|
4200
|
+
"name": "sd-4-2-2-quickfact",
|
|
4201
|
+
"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-2-2-icon>`.\n- _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-4-2-2-icon>`.\n\n### **CSS Parts:**\n - **icon** - The container that wraps the icon.\n- **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **summary-border** - The container that wraps the currently active accordions border.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
4201
4202
|
"doc-url": "",
|
|
4202
4203
|
"attributes": [
|
|
4203
4204
|
{
|
|
@@ -4229,7 +4230,7 @@
|
|
|
4229
4230
|
"slots": [
|
|
4230
4231
|
{
|
|
4231
4232
|
"name": "icon",
|
|
4232
|
-
"description": "Optional icon to show in the header. Works best with `<sd-4-2-
|
|
4233
|
+
"description": "Optional icon to show in the header. Works best with `<sd-4-2-2-icon>`."
|
|
4233
4234
|
},
|
|
4234
4235
|
{ "name": "", "description": "The accordion main content." },
|
|
4235
4236
|
{
|
|
@@ -4238,11 +4239,11 @@
|
|
|
4238
4239
|
},
|
|
4239
4240
|
{
|
|
4240
4241
|
"name": "expand-icon",
|
|
4241
|
-
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-2-
|
|
4242
|
+
"description": "Optional expand icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
4242
4243
|
},
|
|
4243
4244
|
{
|
|
4244
4245
|
"name": "collapse-icon",
|
|
4245
|
-
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-2-
|
|
4246
|
+
"description": "Optional collapse icon to use instead of the default. Works best with `<sd-4-2-2-icon>`."
|
|
4246
4247
|
}
|
|
4247
4248
|
],
|
|
4248
4249
|
"events": [
|
|
@@ -4314,7 +4315,7 @@
|
|
|
4314
4315
|
}
|
|
4315
4316
|
},
|
|
4316
4317
|
{
|
|
4317
|
-
"name": "sd-4-2-
|
|
4318
|
+
"name": "sd-4-2-2-radio",
|
|
4318
4319
|
"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.",
|
|
4319
4320
|
"doc-url": "",
|
|
4320
4321
|
"attributes": [
|
|
@@ -4416,7 +4417,7 @@
|
|
|
4416
4417
|
}
|
|
4417
4418
|
},
|
|
4418
4419
|
{
|
|
4419
|
-
"name": "sd-4-2-
|
|
4420
|
+
"name": "sd-4-2-2-radio-button",
|
|
4420
4421
|
"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.",
|
|
4421
4422
|
"doc-url": "",
|
|
4422
4423
|
"attributes": [
|
|
@@ -4511,8 +4512,8 @@
|
|
|
4511
4512
|
}
|
|
4512
4513
|
},
|
|
4513
4514
|
{
|
|
4514
|
-
"name": "sd-4-2-
|
|
4515
|
-
"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-2-
|
|
4515
|
+
"name": "sd-4-2-2-radio-group",
|
|
4516
|
+
"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-2-2-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus()** - Move focus to the checked radio (or the first one if none are checked)\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-4-2-2-radio>` or `<sd-4-2-2-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-2-2-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **button-group** - The button group that wraps radio buttons.\n- **button-group__base** - The button group's `base` part.",
|
|
4516
4517
|
"doc-url": "",
|
|
4517
4518
|
"attributes": [
|
|
4518
4519
|
{
|
|
@@ -4577,7 +4578,7 @@
|
|
|
4577
4578
|
"slots": [
|
|
4578
4579
|
{
|
|
4579
4580
|
"name": "",
|
|
4580
|
-
"description": "The default slot where `<sd-4-2-
|
|
4581
|
+
"description": "The default slot where `<sd-4-2-2-radio>` or `<sd-4-2-2-radio-button>` elements are placed."
|
|
4581
4582
|
},
|
|
4582
4583
|
{
|
|
4583
4584
|
"name": "label",
|
|
@@ -4589,7 +4590,7 @@
|
|
|
4589
4590
|
},
|
|
4590
4591
|
{
|
|
4591
4592
|
"name": "tooltip",
|
|
4592
|
-
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-2-
|
|
4593
|
+
"description": "An optional tooltip that helps describe the radio-group. Use this slot with the `sd-4-2-2-tooltip` component."
|
|
4593
4594
|
}
|
|
4594
4595
|
],
|
|
4595
4596
|
"events": [
|
|
@@ -4598,7 +4599,7 @@
|
|
|
4598
4599
|
"description": "Emitted when the radio group's selected value changes."
|
|
4599
4600
|
},
|
|
4600
4601
|
{
|
|
4601
|
-
"name": "sd-4-2-
|
|
4602
|
+
"name": "sd-4-2-2-input",
|
|
4602
4603
|
"description": "Emitted when the radio group receives user input."
|
|
4603
4604
|
},
|
|
4604
4605
|
{
|
|
@@ -4678,7 +4679,7 @@
|
|
|
4678
4679
|
"description": "Emitted when the radio group's selected value changes."
|
|
4679
4680
|
},
|
|
4680
4681
|
{
|
|
4681
|
-
"name": "sd-4-2-
|
|
4682
|
+
"name": "sd-4-2-2-input",
|
|
4682
4683
|
"description": "Emitted when the radio group receives user input."
|
|
4683
4684
|
},
|
|
4684
4685
|
{
|
|
@@ -4689,7 +4690,7 @@
|
|
|
4689
4690
|
}
|
|
4690
4691
|
},
|
|
4691
4692
|
{
|
|
4692
|
-
"name": "sd-4-2-
|
|
4693
|
+
"name": "sd-4-2-2-scrollable",
|
|
4693
4694
|
"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.",
|
|
4694
4695
|
"doc-url": "",
|
|
4695
4696
|
"attributes": [
|
|
@@ -4850,8 +4851,8 @@
|
|
|
4850
4851
|
}
|
|
4851
4852
|
},
|
|
4852
4853
|
{
|
|
4853
|
-
"name": "sd-4-2-
|
|
4854
|
-
"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-2-
|
|
4854
|
+
"name": "sd-4-2-2-select",
|
|
4855
|
+
"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-2-2-input** - Emitted when the control receives input.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-blur** - Emitted when the control loses focus.\n- **sd-show** - Emitted when the select's menu opens.\n- **sd-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sd-hide** - Emitted when the select's menu closes.\n- **sd-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sd-4-2-2-option>` elements. You can use `<sd-4-2-2-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-2-tooltip` component.\n\n### **CSS Properties:**\n - **--tag-max-width** - Set the maximum width of the tags and to show an ellipsis. Defaults to \"15ch\" _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the combobox, clear icon, and expand button.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__removable-indicator** - The tag's remove button.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
|
|
4855
4856
|
"doc-url": "",
|
|
4856
4857
|
"attributes": [
|
|
4857
4858
|
{
|
|
@@ -4911,7 +4912,7 @@
|
|
|
4911
4912
|
},
|
|
4912
4913
|
{
|
|
4913
4914
|
"name": "useTags",
|
|
4914
|
-
"description": "Uses interactive `sd-4-2-
|
|
4915
|
+
"description": "Uses interactive `sd-4-2-2-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
4915
4916
|
"value": { "type": "boolean", "default": "false" }
|
|
4916
4917
|
},
|
|
4917
4918
|
{
|
|
@@ -4970,7 +4971,7 @@
|
|
|
4970
4971
|
"slots": [
|
|
4971
4972
|
{
|
|
4972
4973
|
"name": "",
|
|
4973
|
-
"description": "The listbox options. Must be `<sd-4-2-
|
|
4974
|
+
"description": "The listbox options. Must be `<sd-4-2-2-option>` elements. You can use `<sd-4-2-2-divider>` to group items visually."
|
|
4974
4975
|
},
|
|
4975
4976
|
{
|
|
4976
4977
|
"name": "label",
|
|
@@ -4990,7 +4991,7 @@
|
|
|
4990
4991
|
},
|
|
4991
4992
|
{
|
|
4992
4993
|
"name": "tooltip",
|
|
4993
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-
|
|
4994
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-2-tooltip` component."
|
|
4994
4995
|
}
|
|
4995
4996
|
],
|
|
4996
4997
|
"events": [
|
|
@@ -5003,7 +5004,7 @@
|
|
|
5003
5004
|
"description": "Emitted when the control's value is cleared."
|
|
5004
5005
|
},
|
|
5005
5006
|
{
|
|
5006
|
-
"name": "sd-4-2-
|
|
5007
|
+
"name": "sd-4-2-2-input",
|
|
5007
5008
|
"description": "Emitted when the control receives input."
|
|
5008
5009
|
},
|
|
5009
5010
|
{
|
|
@@ -5102,7 +5103,7 @@
|
|
|
5102
5103
|
},
|
|
5103
5104
|
{
|
|
5104
5105
|
"name": "useTags",
|
|
5105
|
-
"description": "Uses interactive `sd-4-2-
|
|
5106
|
+
"description": "Uses interactive `sd-4-2-2-tag` elements representing individual options in the display input when `multiple` is `true`.",
|
|
5106
5107
|
"type": "boolean"
|
|
5107
5108
|
},
|
|
5108
5109
|
{
|
|
@@ -5169,7 +5170,7 @@
|
|
|
5169
5170
|
"description": "Emitted when the control's value is cleared."
|
|
5170
5171
|
},
|
|
5171
5172
|
{
|
|
5172
|
-
"name": "sd-4-2-
|
|
5173
|
+
"name": "sd-4-2-2-input",
|
|
5173
5174
|
"description": "Emitted when the control receives input."
|
|
5174
5175
|
},
|
|
5175
5176
|
{
|
|
@@ -5204,7 +5205,7 @@
|
|
|
5204
5205
|
}
|
|
5205
5206
|
},
|
|
5206
5207
|
{
|
|
5207
|
-
"name": "sd-4-2-
|
|
5208
|
+
"name": "sd-4-2-2-spinner",
|
|
5208
5209
|
"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.",
|
|
5209
5210
|
"doc-url": "",
|
|
5210
5211
|
"attributes": [
|
|
@@ -5251,7 +5252,7 @@
|
|
|
5251
5252
|
}
|
|
5252
5253
|
},
|
|
5253
5254
|
{
|
|
5254
|
-
"name": "sd-4-2-
|
|
5255
|
+
"name": "sd-4-2-2-step",
|
|
5255
5256
|
"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.",
|
|
5256
5257
|
"doc-url": "",
|
|
5257
5258
|
"attributes": [
|
|
@@ -5414,8 +5415,8 @@
|
|
|
5414
5415
|
}
|
|
5415
5416
|
},
|
|
5416
5417
|
{
|
|
5417
|
-
"name": "sd-4-2-
|
|
5418
|
-
"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-2-
|
|
5418
|
+
"name": "sd-4-2-2-step-group",
|
|
5419
|
+
"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-2-2-step>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **body** - The container that wraps the steps.",
|
|
5419
5420
|
"doc-url": "",
|
|
5420
5421
|
"attributes": [
|
|
5421
5422
|
{
|
|
@@ -5455,7 +5456,7 @@
|
|
|
5455
5456
|
"slots": [
|
|
5456
5457
|
{
|
|
5457
5458
|
"name": "",
|
|
5458
|
-
"description": "Used for grouping steps in the step group. Must be `<sd-4-2-
|
|
5459
|
+
"description": "Used for grouping steps in the step group. Must be `<sd-4-2-2-step>` elements."
|
|
5459
5460
|
}
|
|
5460
5461
|
],
|
|
5461
5462
|
"events": [],
|
|
@@ -5496,8 +5497,8 @@
|
|
|
5496
5497
|
}
|
|
5497
5498
|
},
|
|
5498
5499
|
{
|
|
5499
|
-
"name": "sd-4-2-
|
|
5500
|
-
"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-2-
|
|
5500
|
+
"name": "sd-4-2-2-switch",
|
|
5501
|
+
"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-2-2-input** - Emitted when the switch receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the switch.\n- **focus(options: _FocusOptions_)** - Sets focus on the switch.\n- **blur()** - Removes focus from the switch.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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.",
|
|
5501
5502
|
"doc-url": "",
|
|
5502
5503
|
"attributes": [
|
|
5503
5504
|
{
|
|
@@ -5561,7 +5562,7 @@
|
|
|
5561
5562
|
"description": "Emitted when the switch gains focus."
|
|
5562
5563
|
},
|
|
5563
5564
|
{
|
|
5564
|
-
"name": "sd-4-2-
|
|
5565
|
+
"name": "sd-4-2-2-input",
|
|
5565
5566
|
"description": "Emitted when the switch receives input."
|
|
5566
5567
|
}
|
|
5567
5568
|
],
|
|
@@ -5636,14 +5637,14 @@
|
|
|
5636
5637
|
"description": "Emitted when the switch gains focus."
|
|
5637
5638
|
},
|
|
5638
5639
|
{
|
|
5639
|
-
"name": "sd-4-2-
|
|
5640
|
+
"name": "sd-4-2-2-input",
|
|
5640
5641
|
"description": "Emitted when the switch receives input."
|
|
5641
5642
|
}
|
|
5642
5643
|
]
|
|
5643
5644
|
}
|
|
5644
5645
|
},
|
|
5645
5646
|
{
|
|
5646
|
-
"name": "sd-4-2-
|
|
5647
|
+
"name": "sd-4-2-2-tab",
|
|
5647
5648
|
"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.",
|
|
5648
5649
|
"doc-url": "",
|
|
5649
5650
|
"attributes": [
|
|
@@ -5726,8 +5727,8 @@
|
|
|
5726
5727
|
}
|
|
5727
5728
|
},
|
|
5728
5729
|
{
|
|
5729
|
-
"name": "sd-4-2-
|
|
5730
|
-
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-2-
|
|
5730
|
+
"name": "sd-4-2-2-tab-group",
|
|
5731
|
+
"description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sd-4-2-2-tab-show** - Emitted when a tab is shown.\n- **sd-4-2-2-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sd-4-2-2-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sd-4-2-2-tab>` elements.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **scroll-container** - The container that wraps the tabs and active-tab-indicator.\n- **tabs** - The container that wraps the tabs.\n- **separation** - The line that separates tabs from panels.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
|
|
5731
5732
|
"doc-url": "",
|
|
5732
5733
|
"attributes": [
|
|
5733
5734
|
{
|
|
@@ -5749,21 +5750,21 @@
|
|
|
5749
5750
|
"slots": [
|
|
5750
5751
|
{
|
|
5751
5752
|
"name": "",
|
|
5752
|
-
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-2-
|
|
5753
|
+
"description": "Used for grouping tab panels in the tab group. Must be `<sd-4-2-2-tab-panel>` elements."
|
|
5753
5754
|
},
|
|
5754
5755
|
{
|
|
5755
5756
|
"name": "nav",
|
|
5756
|
-
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-2-
|
|
5757
|
+
"description": "Used for grouping tabs in the tab group. Must be `<sd-4-2-2-tab>` elements."
|
|
5757
5758
|
}
|
|
5758
5759
|
],
|
|
5759
5760
|
"events": [
|
|
5760
5761
|
{
|
|
5761
|
-
"name": "sd-4-2-
|
|
5762
|
+
"name": "sd-4-2-2-tab-show",
|
|
5762
5763
|
"type": "{ name: String }",
|
|
5763
5764
|
"description": "Emitted when a tab is shown."
|
|
5764
5765
|
},
|
|
5765
5766
|
{
|
|
5766
|
-
"name": "sd-4-2-
|
|
5767
|
+
"name": "sd-4-2-2-tab-hide",
|
|
5767
5768
|
"type": "{ name: String }",
|
|
5768
5769
|
"description": "Emitted when a tab is hidden."
|
|
5769
5770
|
}
|
|
@@ -5789,12 +5790,12 @@
|
|
|
5789
5790
|
],
|
|
5790
5791
|
"events": [
|
|
5791
5792
|
{
|
|
5792
|
-
"name": "sd-4-2-
|
|
5793
|
+
"name": "sd-4-2-2-tab-show",
|
|
5793
5794
|
"type": "{ name: String }",
|
|
5794
5795
|
"description": "Emitted when a tab is shown."
|
|
5795
5796
|
},
|
|
5796
5797
|
{
|
|
5797
|
-
"name": "sd-4-2-
|
|
5798
|
+
"name": "sd-4-2-2-tab-hide",
|
|
5798
5799
|
"type": "{ name: String }",
|
|
5799
5800
|
"description": "Emitted when a tab is hidden."
|
|
5800
5801
|
}
|
|
@@ -5802,7 +5803,7 @@
|
|
|
5802
5803
|
}
|
|
5803
5804
|
},
|
|
5804
5805
|
{
|
|
5805
|
-
"name": "sd-4-2-
|
|
5806
|
+
"name": "sd-4-2-2-tab-panel",
|
|
5806
5807
|
"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.",
|
|
5807
5808
|
"doc-url": "",
|
|
5808
5809
|
"attributes": [
|
|
@@ -5856,7 +5857,7 @@
|
|
|
5856
5857
|
}
|
|
5857
5858
|
},
|
|
5858
5859
|
{
|
|
5859
|
-
"name": "sd-4-2-
|
|
5860
|
+
"name": "sd-4-2-2-tag",
|
|
5860
5861
|
"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.",
|
|
5861
5862
|
"doc-url": "",
|
|
5862
5863
|
"attributes": [
|
|
@@ -6002,7 +6003,7 @@
|
|
|
6002
6003
|
}
|
|
6003
6004
|
},
|
|
6004
6005
|
{
|
|
6005
|
-
"name": "sd-4-2-
|
|
6006
|
+
"name": "sd-4-2-2-teaser",
|
|
6006
6007
|
"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.",
|
|
6007
6008
|
"doc-url": "",
|
|
6008
6009
|
"attributes": [
|
|
@@ -6074,7 +6075,7 @@
|
|
|
6074
6075
|
}
|
|
6075
6076
|
},
|
|
6076
6077
|
{
|
|
6077
|
-
"name": "sd-4-2-
|
|
6078
|
+
"name": "sd-4-2-2-teaser-media",
|
|
6078
6079
|
"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.",
|
|
6079
6080
|
"doc-url": "",
|
|
6080
6081
|
"attributes": [
|
|
@@ -6130,8 +6131,8 @@
|
|
|
6130
6131
|
}
|
|
6131
6132
|
},
|
|
6132
6133
|
{
|
|
6133
|
-
"name": "sd-4-2-
|
|
6134
|
-
"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-2-
|
|
6134
|
+
"name": "sd-4-2-2-textarea",
|
|
6135
|
+
"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-2-2-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\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-2-2-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
6135
6136
|
"doc-url": "",
|
|
6136
6137
|
"attributes": [
|
|
6137
6138
|
{
|
|
@@ -6275,7 +6276,7 @@
|
|
|
6275
6276
|
},
|
|
6276
6277
|
{
|
|
6277
6278
|
"name": "tooltip",
|
|
6278
|
-
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-
|
|
6279
|
+
"description": "An optional tooltip that helps describe the input. Use this slot with the `sd-4-2-2-tooltip` component."
|
|
6279
6280
|
}
|
|
6280
6281
|
],
|
|
6281
6282
|
"events": [
|
|
@@ -6292,7 +6293,7 @@
|
|
|
6292
6293
|
"description": "Emitted when the control gains focus."
|
|
6293
6294
|
},
|
|
6294
6295
|
{
|
|
6295
|
-
"name": "sd-4-2-
|
|
6296
|
+
"name": "sd-4-2-2-input",
|
|
6296
6297
|
"description": "Emitted when the control receives input."
|
|
6297
6298
|
},
|
|
6298
6299
|
{
|
|
@@ -6455,7 +6456,7 @@
|
|
|
6455
6456
|
"description": "Emitted when the control gains focus."
|
|
6456
6457
|
},
|
|
6457
6458
|
{
|
|
6458
|
-
"name": "sd-4-2-
|
|
6459
|
+
"name": "sd-4-2-2-input",
|
|
6459
6460
|
"description": "Emitted when the control receives input."
|
|
6460
6461
|
},
|
|
6461
6462
|
{
|
|
@@ -6466,8 +6467,8 @@
|
|
|
6466
6467
|
}
|
|
6467
6468
|
},
|
|
6468
6469
|
{
|
|
6469
|
-
"name": "sd-4-2-
|
|
6470
|
-
"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-2-
|
|
6470
|
+
"name": "sd-4-2-2-tooltip",
|
|
6471
|
+
"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-2-2-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
6471
6472
|
"doc-url": "",
|
|
6472
6473
|
"attributes": [
|
|
6473
6474
|
{
|
|
@@ -6622,7 +6623,7 @@
|
|
|
6622
6623
|
}
|
|
6623
6624
|
},
|
|
6624
6625
|
{
|
|
6625
|
-
"name": "sd-4-2-
|
|
6626
|
+
"name": "sd-4-2-2-video",
|
|
6626
6627
|
"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.",
|
|
6627
6628
|
"doc-url": "",
|
|
6628
6629
|
"attributes": [
|