@solid-design-system/components 4.0.2 → 4.0.3
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/_components/menu/menu.d.ts +1 -1
- package/cdn/_components/menu-item/menu-item.d.ts +1 -1
- package/cdn/components/accordion/accordion.d.ts +1 -1
- package/cdn/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn/components/animation/animation.d.ts +1 -1
- package/cdn/components/audio/audio.d.ts +1 -1
- package/cdn/components/badge/badge.d.ts +1 -1
- package/cdn/components/button/button.d.ts +1 -1
- package/cdn/components/button-group/button-group.d.ts +1 -1
- package/cdn/components/carousel/carousel.d.ts +1 -1
- package/cdn/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +1 -1
- package/cdn/components/divider/divider.d.ts +1 -1
- package/cdn/components/drawer/drawer.d.ts +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +1 -1
- package/cdn/components/expandable/expandable.d.ts +1 -1
- package/cdn/components/flipcard/flipcard.d.ts +1 -1
- package/cdn/components/header/header.d.ts +1 -1
- package/cdn/components/icon/icon.d.ts +1 -1
- package/cdn/components/include/include.d.ts +1 -1
- package/cdn/components/input/input.d.ts +1 -1
- package/cdn/components/link/link.d.ts +1 -1
- package/cdn/components/map-marker/map-marker.d.ts +1 -1
- package/cdn/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn/components/notification/notification.d.ts +1 -1
- package/cdn/components/optgroup/optgroup.d.ts +1 -1
- package/cdn/components/option/option.d.ts +1 -1
- package/cdn/components/popup/popup.d.ts +1 -1
- package/cdn/components/quickfact/quickfact.d.ts +1 -1
- package/cdn/components/radio/radio.d.ts +1 -1
- package/cdn/components/radio-button/radio-button.d.ts +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +1 -1
- package/cdn/components/scrollable/scrollable.d.ts +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.d.ts +1 -1
- package/cdn/components/step/step.d.ts +1 -1
- package/cdn/components/step-group/step-group.d.ts +1 -1
- package/cdn/components/switch/switch.d.ts +1 -1
- package/cdn/components/tab/tab.d.ts +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +1 -1
- package/cdn/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn/components/tag/tag.d.ts +1 -1
- package/cdn/components/teaser/teaser.d.ts +1 -1
- package/cdn/components/teaser-media/teaser-media.d.ts +1 -1
- package/cdn/components/textarea/textarea.d.ts +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +1 -1
- package/cdn/components/video/video.d.ts +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/internal/form.d.ts +1 -1
- package/cdn/internal/longpress.d.ts +1 -1
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.d.ts +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2MKIKDQY.js +1 -1
- package/cdn-versioned/chunks/chunk.2RKC4PX2.js +1 -1
- package/cdn-versioned/chunks/chunk.37AKROZQ.js +1 -1
- package/cdn-versioned/chunks/chunk.3CMEDI5Q.js +2 -2
- package/cdn-versioned/chunks/chunk.4LW22GLX.js +1 -1
- package/cdn-versioned/chunks/chunk.5KCSOAA3.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6BCGXAUV.js +1 -1
- package/cdn-versioned/chunks/chunk.6HMIEKMA.js +1 -1
- package/cdn-versioned/chunks/chunk.AQYKEDSK.js +1 -1
- package/cdn-versioned/chunks/chunk.BSXRWVFJ.js +1 -1
- package/cdn-versioned/chunks/chunk.C7B7IJTF.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.EBZIGJAF.js +4 -4
- package/cdn-versioned/chunks/chunk.ENXPYC3I.js +1 -1
- package/cdn-versioned/chunks/chunk.ERIS2E6E.js +1 -1
- package/cdn-versioned/chunks/chunk.FNE6AWAP.js +1 -1
- package/cdn-versioned/chunks/chunk.FPDKP6PN.js +1 -1
- package/cdn-versioned/chunks/chunk.FX3IWUZL.js +2 -2
- package/cdn-versioned/chunks/chunk.GI6GBMRK.js +1 -1
- package/cdn-versioned/chunks/chunk.I6KWEJL5.js +1 -1
- package/cdn-versioned/chunks/chunk.JE65MGDL.js +1 -1
- package/cdn-versioned/chunks/chunk.KHK74CJA.js +1 -1
- package/cdn-versioned/chunks/chunk.KT6CS7MB.js +1 -1
- package/cdn-versioned/chunks/chunk.L5LJFTUA.js +1 -1
- package/cdn-versioned/chunks/chunk.LFTAVPYP.js +1 -1
- package/cdn-versioned/chunks/chunk.LKHCEWG6.js +2 -2
- package/cdn-versioned/chunks/chunk.MD77BZE7.js +1 -1
- package/cdn-versioned/chunks/chunk.MVMJOYL7.js +1 -1
- package/cdn-versioned/chunks/chunk.MX2AOQKK.js +1 -1
- package/cdn-versioned/chunks/chunk.N7DREP3X.js +1 -1
- package/cdn-versioned/chunks/chunk.NCSRAXCO.js +1 -1
- package/cdn-versioned/chunks/chunk.NJPQO7AM.js +1 -1
- package/cdn-versioned/chunks/chunk.O657MMFX.js +1 -1
- package/cdn-versioned/chunks/chunk.OJILWIHU.js +1 -1
- package/cdn-versioned/chunks/chunk.OYVDI4G4.js +3 -3
- package/cdn-versioned/chunks/chunk.QK2P72CA.js +1 -1
- package/cdn-versioned/chunks/chunk.RNVF7IN5.js +1 -1
- package/cdn-versioned/chunks/chunk.RORUJY5E.js +1 -1
- package/cdn-versioned/chunks/chunk.RWS4N2NC.js +1 -1
- package/cdn-versioned/chunks/chunk.SH5F4YM4.js +1 -1
- package/cdn-versioned/chunks/chunk.TTAYTI3M.js +1 -1
- package/cdn-versioned/chunks/chunk.UCPHLOPM.js +1 -1
- package/cdn-versioned/chunks/chunk.VHSIUWDX.js +1 -1
- package/cdn-versioned/chunks/chunk.VVLFNR53.js +1 -1
- package/cdn-versioned/chunks/chunk.VWVU4BWU.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WDX7NMBB.js +1 -1
- package/cdn-versioned/chunks/chunk.WRDPMPPA.js +1 -1
- package/cdn-versioned/chunks/chunk.XTSUFBWJ.js +1 -1
- package/cdn-versioned/chunks/chunk.Y2IK2VHT.js +4 -4
- package/cdn-versioned/chunks/chunk.YHWKY6MV.js +1 -1
- package/cdn-versioned/chunks/chunk.ZAYOIELL.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +2 -2
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +2 -2
- package/cdn-versioned/components/animation/animation.d.ts +2 -2
- package/cdn-versioned/components/audio/audio.d.ts +2 -2
- package/cdn-versioned/components/badge/badge.d.ts +2 -2
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +2 -2
- package/cdn-versioned/components/button-group/button-group.d.ts +2 -2
- package/cdn-versioned/components/carousel/carousel.d.ts +2 -2
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +2 -2
- package/cdn-versioned/components/checkbox/checkbox.d.ts +2 -2
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +2 -2
- 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 +2 -2
- package/cdn-versioned/components/divider/divider.d.ts +2 -2
- package/cdn-versioned/components/drawer/drawer.d.ts +2 -2
- package/cdn-versioned/components/dropdown/dropdown.d.ts +2 -2
- package/cdn-versioned/components/expandable/expandable.d.ts +2 -2
- package/cdn-versioned/components/flipcard/flipcard.d.ts +2 -2
- package/cdn-versioned/components/header/header.d.ts +2 -2
- package/cdn-versioned/components/icon/icon.d.ts +2 -2
- package/cdn-versioned/components/include/include.d.ts +2 -2
- package/cdn-versioned/components/input/input.d.ts +2 -2
- package/cdn-versioned/components/link/link.d.ts +2 -2
- package/cdn-versioned/components/map-marker/map-marker.d.ts +2 -2
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +2 -2
- package/cdn-versioned/components/notification/notification.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.d.ts +3 -3
- package/cdn-versioned/components/option/option.d.ts +2 -2
- package/cdn-versioned/components/popup/popup.d.ts +2 -2
- package/cdn-versioned/components/quickfact/quickfact.d.ts +2 -2
- package/cdn-versioned/components/radio/radio.d.ts +2 -2
- package/cdn-versioned/components/radio-button/radio-button.d.ts +2 -2
- package/cdn-versioned/components/radio-group/radio-group.d.ts +3 -3
- package/cdn-versioned/components/scrollable/scrollable.d.ts +2 -2
- 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 +2 -2
- package/cdn-versioned/components/step/step.d.ts +2 -2
- package/cdn-versioned/components/step-group/step-group.d.ts +2 -2
- package/cdn-versioned/components/switch/switch.d.ts +2 -2
- package/cdn-versioned/components/tab/tab.d.ts +2 -2
- package/cdn-versioned/components/tab-group/tab-group.d.ts +2 -2
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +2 -2
- package/cdn-versioned/components/tag/tag.d.ts +2 -2
- package/cdn-versioned/components/teaser/teaser.d.ts +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +2 -2
- package/cdn-versioned/components/tooltip/tooltip.d.ts +2 -2
- package/cdn-versioned/components/video/video.d.ts +2 -2
- package/cdn-versioned/custom-elements.json +202 -202
- package/cdn-versioned/internal/form.d.ts +1 -1
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/internal/longpress.d.ts +1 -1
- 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/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/_components/menu/menu.d.ts +1 -1
- package/dist/_components/menu-item/menu-item.d.ts +1 -1
- package/dist/chunks/{chunk.QPNM75ZM.js → chunk.BPGRUHFA.js} +1 -1
- package/dist/chunks/{chunk.GIKKMZ2Q.js → chunk.HDX43J5W.js} +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/components/animation/animation.d.ts +1 -1
- package/dist/components/audio/audio.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/expandable/expandable.d.ts +1 -1
- package/dist/components/flipcard/flipcard.d.ts +1 -1
- package/dist/components/header/header.d.ts +1 -1
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/include/include.d.ts +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/map-marker/map-marker.d.ts +1 -1
- package/dist/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/components/notification/notification.d.ts +1 -1
- package/dist/components/optgroup/optgroup.d.ts +1 -1
- package/dist/components/option/option.d.ts +1 -1
- package/dist/components/popup/popup.d.ts +1 -1
- package/dist/components/quickfact/quickfact.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +1 -1
- package/dist/components/scrollable/scrollable.d.ts +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/step/step.d.ts +1 -1
- package/dist/components/step-group/step-group.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/tab/tab.d.ts +1 -1
- package/dist/components/tab-group/tab-group.d.ts +1 -1
- package/dist/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/teaser/teaser.d.ts +1 -1
- package/dist/components/teaser-media/teaser-media.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/video/video.d.ts +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/internal/form.d.ts +1 -1
- package/dist/internal/longpress.d.ts +1 -1
- package/dist/solid-components.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.d.ts +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.23WUCVW6.js +1 -1
- package/dist-versioned/chunks/chunk.2FWAXOB3.js +13 -13
- package/dist-versioned/chunks/chunk.336SOZQ7.js +2 -2
- package/dist-versioned/chunks/chunk.3IIJI2YI.js +2 -2
- package/dist-versioned/chunks/chunk.47Y6CRA6.js +1 -1
- package/dist-versioned/chunks/chunk.4LA6375U.js +5 -5
- package/dist-versioned/chunks/chunk.4NORTB4T.js +2 -2
- package/dist-versioned/chunks/chunk.5UXE3YAT.js +2 -2
- package/dist-versioned/chunks/chunk.5ZWBIPBJ.js +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6US5BJNM.js +2 -2
- package/dist-versioned/chunks/chunk.7JO5FCU4.js +3 -3
- package/dist-versioned/chunks/chunk.A7ETNRKR.js +2 -2
- package/dist-versioned/chunks/chunk.AFZXA6KB.js +13 -13
- package/dist-versioned/chunks/chunk.B2FZCDD2.js +2 -2
- package/dist-versioned/chunks/{chunk.QPNM75ZM.js → chunk.BPGRUHFA.js} +30 -30
- package/dist-versioned/chunks/chunk.BTN23KPO.js +1 -1
- package/dist-versioned/chunks/chunk.BZNIT6S5.js +1 -1
- package/dist-versioned/chunks/chunk.DHEEQPKB.js +3 -3
- package/dist-versioned/chunks/chunk.DID2HIGU.js +9 -9
- package/dist-versioned/chunks/chunk.DQUOULN6.js +2 -2
- package/dist-versioned/chunks/chunk.EYDGWH4T.js +1 -1
- package/dist-versioned/chunks/chunk.FAMYJDBN.js +2 -2
- package/dist-versioned/chunks/chunk.GMOZ5YXA.js +6 -6
- package/dist-versioned/chunks/chunk.GSDAOG7M.js +5 -5
- package/dist-versioned/chunks/chunk.GWYRJFJU.js +1 -1
- package/dist-versioned/chunks/{chunk.GIKKMZ2Q.js → chunk.HDX43J5W.js} +27 -27
- package/dist-versioned/chunks/chunk.KGZ3GBGJ.js +1 -1
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LBHA2DC4.js +2 -2
- package/dist-versioned/chunks/chunk.MFJDLGGR.js +2 -2
- package/dist-versioned/chunks/chunk.NEZVEG7K.js +6 -6
- package/dist-versioned/chunks/chunk.NU62KGCW.js +4 -4
- package/dist-versioned/chunks/chunk.OZXJCMQU.js +2 -2
- package/dist-versioned/chunks/chunk.QDCDOA3O.js +1 -1
- package/dist-versioned/chunks/chunk.QEMNNDQN.js +5 -5
- package/dist-versioned/chunks/chunk.QZF3GDJ6.js +1 -1
- package/dist-versioned/chunks/chunk.R3AKTB5D.js +1 -1
- package/dist-versioned/chunks/chunk.REUL4QMO.js +1 -1
- package/dist-versioned/chunks/chunk.RGLEFOOR.js +3 -3
- package/dist-versioned/chunks/chunk.SWDIWUUU.js +3 -3
- package/dist-versioned/chunks/chunk.THY5BDBS.js +1 -1
- package/dist-versioned/chunks/chunk.TPF3IUIC.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UJYVSZ25.js +5 -5
- package/dist-versioned/chunks/chunk.V3JNM4K3.js +2 -2
- package/dist-versioned/chunks/chunk.VBMNECRY.js +5 -5
- package/dist-versioned/chunks/chunk.VX3KGPNB.js +2 -2
- package/dist-versioned/chunks/chunk.WLPV5EZN.js +11 -11
- package/dist-versioned/chunks/chunk.XVR2P4CC.js +3 -3
- package/dist-versioned/chunks/chunk.Y3F3Y4DX.js +2 -2
- package/dist-versioned/chunks/chunk.YA3KZ3ZS.js +5 -5
- package/dist-versioned/chunks/chunk.YFF7OIOH.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +2 -2
- package/dist-versioned/components/animation/animation.d.ts +2 -2
- package/dist-versioned/components/audio/audio.d.ts +2 -2
- package/dist-versioned/components/badge/badge.d.ts +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +2 -2
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +2 -2
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +2 -2
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +2 -2
- package/dist-versioned/components/divider/divider.d.ts +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +2 -2
- package/dist-versioned/components/header/header.d.ts +2 -2
- package/dist-versioned/components/icon/icon.d.ts +2 -2
- package/dist-versioned/components/include/include.d.ts +2 -2
- package/dist-versioned/components/input/input.d.ts +2 -2
- package/dist-versioned/components/link/link.d.ts +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +2 -2
- package/dist-versioned/components/notification/notification.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +3 -3
- package/dist-versioned/components/option/option.d.ts +2 -2
- package/dist-versioned/components/popup/popup.d.ts +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +2 -2
- package/dist-versioned/components/radio/radio.d.ts +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +3 -3
- package/dist-versioned/components/scrollable/scrollable.d.ts +2 -2
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +2 -2
- package/dist-versioned/components/step/step.d.ts +2 -2
- package/dist-versioned/components/step-group/step-group.d.ts +2 -2
- package/dist-versioned/components/switch/switch.d.ts +2 -2
- package/dist-versioned/components/tab/tab.d.ts +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +2 -2
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +2 -2
- package/dist-versioned/components/tag/tag.d.ts +2 -2
- package/dist-versioned/components/teaser/teaser.d.ts +1 -1
- package/dist-versioned/components/teaser-media/teaser-media.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +2 -2
- package/dist-versioned/components/video/video.d.ts +2 -2
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.d.ts +1 -1
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/internal/longpress.d.ts +1 -1
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +2 -1
- package/cdn/chunks/chunk.UH4KE6MR.js +0 -0
- package/cdn-versioned/chunks/chunk.UH4KE6MR.js +0 -0
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
// src/components/select/select.ts
|
|
48
48
|
import { css, html } from "lit";
|
|
49
49
|
import { property, query, queryAssignedElements, state } from "lit/decorators.js";
|
|
50
|
-
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
50
|
+
import { unsafeHTML } from "lit-html/directives/unsafe-html.js";
|
|
51
51
|
import cx from "classix";
|
|
52
52
|
var SdSelect = class extends SolidElement {
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments);
|
|
55
55
|
this.formControlController = new FormControlController(this, {
|
|
56
|
-
assumeInteractionOn: ["sd-blur", "sd-4-0-
|
|
56
|
+
assumeInteractionOn: ["sd-blur", "sd-4-0-3-input"]
|
|
57
57
|
});
|
|
58
58
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
59
59
|
this.localize = new LocalizeController(this);
|
|
@@ -86,11 +86,11 @@ var SdSelect = class extends SolidElement {
|
|
|
86
86
|
this.styleOnValid = false;
|
|
87
87
|
this.hoist = false;
|
|
88
88
|
this.getTag = (option) => {
|
|
89
|
-
return html`<sd-4-0-
|
|
89
|
+
return html`<sd-4-0-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
90
90
|
base:tag__base,
|
|
91
91
|
content:tag__content,
|
|
92
92
|
removable-indicator:tag__removable-indicator,
|
|
93
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-0-
|
|
93
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-0-3-tag>`;
|
|
94
94
|
};
|
|
95
95
|
this.handleDocumentFocusIn = (event) => {
|
|
96
96
|
const path = event.composedPath();
|
|
@@ -101,7 +101,7 @@ var SdSelect = class extends SolidElement {
|
|
|
101
101
|
this.handleDocumentKeyDown = (event) => {
|
|
102
102
|
const target = event.target;
|
|
103
103
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
104
|
-
const isIconButton = target.closest("sd-4-0-
|
|
104
|
+
const isIconButton = target.closest("sd-4-0-3-icon-button") !== null;
|
|
105
105
|
if (isClearButton || isIconButton) {
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
@@ -235,8 +235,8 @@ var SdSelect = class extends SolidElement {
|
|
|
235
235
|
event.preventDefault();
|
|
236
236
|
event.stopPropagation();
|
|
237
237
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
238
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-0-
|
|
239
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-0-
|
|
238
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-0-3-tag");
|
|
239
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-0-3-tag");
|
|
240
240
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
241
241
|
this.updateComplete.then(() => {
|
|
242
242
|
if (nextTag) {
|
|
@@ -256,7 +256,7 @@ var SdSelect = class extends SolidElement {
|
|
|
256
256
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
257
257
|
this.updateComplete.then(() => {
|
|
258
258
|
var _a;
|
|
259
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-0-
|
|
259
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-0-3-tag");
|
|
260
260
|
if (tags && tags.length > 0) {
|
|
261
261
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
262
262
|
} else {
|
|
@@ -301,7 +301,7 @@ var SdSelect = class extends SolidElement {
|
|
|
301
301
|
}
|
|
302
302
|
handleOptionClick(event) {
|
|
303
303
|
const target = event.target;
|
|
304
|
-
const option = target.closest("sd-4-0-
|
|
304
|
+
const option = target.closest("sd-4-0-3-option");
|
|
305
305
|
const oldValue = this.value;
|
|
306
306
|
if (option && !option.disabled) {
|
|
307
307
|
if (this.multiple) {
|
|
@@ -326,7 +326,7 @@ var SdSelect = class extends SolidElement {
|
|
|
326
326
|
const allOptions = this.getAllOptions();
|
|
327
327
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
328
328
|
const values = [];
|
|
329
|
-
if (customElements.get("sd-4-0-
|
|
329
|
+
if (customElements.get("sd-4-0-3-option")) {
|
|
330
330
|
allOptions.forEach((option) => {
|
|
331
331
|
if (this.multiple) {
|
|
332
332
|
option.checkbox = true;
|
|
@@ -335,7 +335,7 @@ var SdSelect = class extends SolidElement {
|
|
|
335
335
|
});
|
|
336
336
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
337
337
|
} else {
|
|
338
|
-
customElements.whenDefined("sd-4-0-
|
|
338
|
+
customElements.whenDefined("sd-4-0-3-option").then(() => this.handleDefaultSlotChange());
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
handleTagRemove(event, option) {
|
|
@@ -352,13 +352,13 @@ var SdSelect = class extends SolidElement {
|
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
|
-
// Gets an array of all <sd-4-0-
|
|
355
|
+
// Gets an array of all <sd-4-0-3-option> elements
|
|
356
356
|
getAllOptions() {
|
|
357
|
-
return [...this.querySelectorAll("sd-4-0-
|
|
357
|
+
return [...this.querySelectorAll("sd-4-0-3-option")];
|
|
358
358
|
}
|
|
359
|
-
// Gets the first <sd-4-0-
|
|
359
|
+
// Gets the first <sd-4-0-3-option> element
|
|
360
360
|
getFirstOption() {
|
|
361
|
-
return this.querySelector("sd-4-0-
|
|
361
|
+
return this.querySelector("sd-4-0-3-option");
|
|
362
362
|
}
|
|
363
363
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
364
364
|
// option may be "current" at a time.
|
|
@@ -441,11 +441,11 @@ var SdSelect = class extends SolidElement {
|
|
|
441
441
|
});
|
|
442
442
|
} else {
|
|
443
443
|
return [
|
|
444
|
-
html`<sd-4-0-
|
|
444
|
+
html`<sd-4-0-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
445
445
|
base:tag__base,
|
|
446
446
|
content:tag__content,
|
|
447
447
|
removable-indicator:tag__removable-indicator,
|
|
448
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-0-
|
|
448
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-4-0-3-tag>`
|
|
449
449
|
];
|
|
450
450
|
}
|
|
451
451
|
}
|
|
@@ -460,7 +460,7 @@ var SdSelect = class extends SolidElement {
|
|
|
460
460
|
handleMouseLeave() {
|
|
461
461
|
this.hasHover = false;
|
|
462
462
|
}
|
|
463
|
-
/** Receives incoming event detail from sd-4-0-
|
|
463
|
+
/** Receives incoming event detail from sd-4-0-3-popup and updates local state for conditional styling. */
|
|
464
464
|
handleCurrentPlacement(e) {
|
|
465
465
|
const incomingPlacement = e.detail;
|
|
466
466
|
if (incomingPlacement) {
|
|
@@ -469,7 +469,7 @@ var SdSelect = class extends SolidElement {
|
|
|
469
469
|
}
|
|
470
470
|
handleUseTagsChange() {
|
|
471
471
|
const allOptions = this.getAllOptions();
|
|
472
|
-
if (customElements.get("sd-4-0-
|
|
472
|
+
if (customElements.get("sd-4-0-3-option")) {
|
|
473
473
|
allOptions.forEach((option) => {
|
|
474
474
|
option.checkbox = this.multiple;
|
|
475
475
|
});
|
|
@@ -603,7 +603,7 @@ var SdSelect = class extends SolidElement {
|
|
|
603
603
|
default: "border-neutral-800"
|
|
604
604
|
}[selectState],
|
|
605
605
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
606
|
-
)}"></div><sd-4-0-
|
|
606
|
+
)}"></div><sd-4-0-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
607
607
|
"inline-flex relative w-full",
|
|
608
608
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
609
609
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -624,35 +624,35 @@ var SdSelect = class extends SolidElement {
|
|
|
624
624
|
"select__clear flex justify-center",
|
|
625
625
|
iconMarginLeft,
|
|
626
626
|
this.value.length > 0 ? "visible" : "invisible"
|
|
627
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-
|
|
627
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-3-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-0-3-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-0-3-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-0-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-0-3-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-0-3-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
628
628
|
"inline-flex ml-2 transition-all",
|
|
629
629
|
this.open ? "rotate-180" : "rotate-0",
|
|
630
630
|
this.disabled ? "text-neutral-500" : "text-primary",
|
|
631
631
|
iconSize
|
|
632
|
-
)}"><sd-4-0-
|
|
632
|
+
)}"><sd-4-0-3-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-0-3-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-multiselectable="${this.multiple ? "true" : "false"}" aria-labelledby="label" part="listbox" class="${cx(
|
|
633
633
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
634
634
|
this.open && "shadow",
|
|
635
635
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
|
|
636
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-0-
|
|
636
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-0-3-popup></div><div class="text-sm text-neutral-700" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
637
637
|
}
|
|
638
638
|
};
|
|
639
639
|
SdSelect.dependencies = {
|
|
640
|
-
"sd-4-0-
|
|
641
|
-
"sd-4-0-
|
|
642
|
-
"sd-4-0-
|
|
640
|
+
"sd-4-0-3-icon": SdIcon,
|
|
641
|
+
"sd-4-0-3-popup": SdPopup,
|
|
642
|
+
"sd-4-0-3-tag": SdTag
|
|
643
643
|
};
|
|
644
644
|
/**
|
|
645
645
|
* Inherits global stylesheet including TailwindCSS
|
|
646
646
|
*/
|
|
647
647
|
SdSelect.styles = [
|
|
648
648
|
...SolidElement.styles,
|
|
649
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-0-
|
|
649
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-0-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-0-3-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-4-0-3-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-0-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-0-3-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`
|
|
650
650
|
];
|
|
651
651
|
__decorateClass([
|
|
652
|
-
queryAssignedElements({ selector: "sd-4-0-
|
|
652
|
+
queryAssignedElements({ selector: "sd-4-0-3-option" })
|
|
653
653
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
654
654
|
__decorateClass([
|
|
655
|
-
query("sd-4-0-
|
|
655
|
+
query("sd-4-0-3-popup")
|
|
656
656
|
], SdSelect.prototype, "popup", 2);
|
|
657
657
|
__decorateClass([
|
|
658
658
|
query('[part="combobox"]')
|
|
@@ -777,7 +777,7 @@ __decorateClass([
|
|
|
777
777
|
watch("value", { waitUntilFirstUpdate: true })
|
|
778
778
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
779
779
|
SdSelect = __decorateClass([
|
|
780
|
-
customElement("sd-4-0-
|
|
780
|
+
customElement("sd-4-0-3-select")
|
|
781
781
|
], SdSelect);
|
|
782
782
|
setDefaultAnimation("select.show", {
|
|
783
783
|
keyframes: [
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-4-0-
|
|
211
|
+
customElement("sd-4-0-3-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
64
64
|
!this.expandable && "hidden"
|
|
65
65
|
)}
|
|
66
66
|
><slot name="expand-icon" class=${cx(this.open && "hidden")}>
|
|
67
|
-
<sd-4-0-
|
|
67
|
+
<sd-4-0-3-icon library="system" name="chevron-down"></sd-4-0-3-icon>
|
|
68
68
|
</slot>
|
|
69
69
|
<slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
|
|
70
|
-
<sd-4-0-
|
|
70
|
+
<sd-4-0-3-icon library="system" name="chevron-down"></sd-4-0-3-icon> </slot
|
|
71
71
|
></span>
|
|
72
72
|
</${header}>
|
|
73
73
|
<div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
|
|
@@ -85,7 +85,7 @@ __decorateClass([
|
|
|
85
85
|
property({ type: Boolean, reflect: true })
|
|
86
86
|
], SdQuickfact.prototype, "expandable", 2);
|
|
87
87
|
SdQuickfact = __decorateClass([
|
|
88
|
-
customElement("sd-4-0-
|
|
88
|
+
customElement("sd-4-0-3-quickfact")
|
|
89
89
|
], SdQuickfact);
|
|
90
90
|
setDefaultAnimation("quickfact.show", {
|
|
91
91
|
keyframes: [
|
|
@@ -76,7 +76,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
76
76
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
77
77
|
* or an element within the slotted elements shadow root.
|
|
78
78
|
*
|
|
79
|
-
* e.g. the accessible trigger of an <sd-4-0-
|
|
79
|
+
* e.g. the accessible trigger of an <sd-4-0-3-button> is a <button> located inside its shadow root.
|
|
80
80
|
*
|
|
81
81
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
82
82
|
* */
|
|
@@ -87,11 +87,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
87
87
|
if (accessibleTrigger) {
|
|
88
88
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
89
89
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
90
|
-
case "sd-4-0-
|
|
91
|
-
case "sd-4-0-
|
|
90
|
+
case "sd-4-0-3-button":
|
|
91
|
+
case "sd-4-0-3-icon-button":
|
|
92
92
|
target = accessibleTrigger.button;
|
|
93
93
|
break;
|
|
94
|
-
case "sd-4-0-
|
|
94
|
+
case "sd-4-0-3-navigation-item":
|
|
95
95
|
target = accessibleTrigger.button;
|
|
96
96
|
break;
|
|
97
97
|
default:
|
|
@@ -236,7 +236,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
236
236
|
}
|
|
237
237
|
addOpenListeners() {
|
|
238
238
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
239
|
-
this.panel.addEventListener("sd-4-0-
|
|
239
|
+
this.panel.addEventListener("sd-4-0-3-select", this.handlePanelSelect);
|
|
240
240
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
241
241
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
242
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -244,7 +244,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
244
244
|
removeOpenListeners() {
|
|
245
245
|
if (this.panel) {
|
|
246
246
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
247
|
-
this.panel.removeEventListener("sd-4-0-
|
|
247
|
+
this.panel.removeEventListener("sd-4-0-3-select", this.handlePanelSelect);
|
|
248
248
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
249
249
|
}
|
|
250
250
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -277,11 +277,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return html`<sd-4-0-
|
|
280
|
+
return html`<sd-4-0-3-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
281
281
|
"shadow bg-white",
|
|
282
282
|
this.open ? "block pointer-events-auto" : "pointer-events-none",
|
|
283
283
|
this.rounded && "rounded-md"
|
|
284
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-0-
|
|
284
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-0-3-popup>`;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
SdDropdown.styles = [
|
|
@@ -334,7 +334,7 @@ __decorateClass([
|
|
|
334
334
|
watch("open", { waitUntilFirstUpdate: true })
|
|
335
335
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
336
336
|
SdDropdown = __decorateClass([
|
|
337
|
-
customElement("sd-4-0-
|
|
337
|
+
customElement("sd-4-0-3-dropdown")
|
|
338
338
|
], SdDropdown);
|
|
339
339
|
setDefaultAnimation("dropdown.show", {
|
|
340
340
|
keyframes: [
|
|
@@ -81,7 +81,7 @@ var SdStep = class extends SolidElement {
|
|
|
81
81
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
82
82
|
this.notInteractive && "text-primary",
|
|
83
83
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
84
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-
|
|
84
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-0-3-icon name="status-check" library="system"></sd-4-0-3-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
85
85
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
86
86
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
87
87
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
|
131
131
|
watch("notInteractive")
|
|
132
132
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
133
133
|
SdStep = __decorateClass([
|
|
134
|
-
customElement("sd-4-0-
|
|
134
|
+
customElement("sd-4-0-3-step")
|
|
135
135
|
], SdStep);
|
|
136
136
|
|
|
137
137
|
export {
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
170
170
|
SdSwitch = __decorateClass([
|
|
171
|
-
customElement("sd-4-0-
|
|
171
|
+
customElement("sd-4-0-3-switch")
|
|
172
172
|
], SdSwitch);
|
|
173
173
|
|
|
174
174
|
export {
|
|
@@ -169,7 +169,7 @@ var SdDialog = class extends SolidElement {
|
|
|
169
169
|
)}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
170
170
|
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",
|
|
171
171
|
this.open && "flex opacity-100"
|
|
172
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-0-
|
|
172
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${this.headline}" aria-labelledby="title" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-4-0-3-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-4-0-3-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-0-3-icon></sd-4-0-3-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
SdDialog.styles = [
|
|
@@ -198,7 +198,7 @@ __decorateClass([
|
|
|
198
198
|
watch("open", { waitUntilFirstUpdate: true })
|
|
199
199
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
200
200
|
SdDialog = __decorateClass([
|
|
201
|
-
customElement("sd-4-0-
|
|
201
|
+
customElement("sd-4-0-3-dialog")
|
|
202
202
|
], SdDialog);
|
|
203
203
|
setDefaultAnimation("dialog.show", {
|
|
204
204
|
keyframes: [
|
|
@@ -56,7 +56,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
56
56
|
this.pausedAutoplay = false;
|
|
57
57
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
58
58
|
this.scrollController = new ScrollController(this);
|
|
59
|
-
this.slides = this.getElementsByTagName("sd-4-0-
|
|
59
|
+
this.slides = this.getElementsByTagName("sd-4-0-3-carousel-item");
|
|
60
60
|
// determines which slide is displayed
|
|
61
61
|
// A map containing the state of all the slides
|
|
62
62
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -362,7 +362,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
362
362
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
363
363
|
this.previous();
|
|
364
364
|
this.unblockAutoplay(e, this.previousButton);
|
|
365
|
-
} : null}"><slot name="previous-icon"><sd-4-0-
|
|
365
|
+
} : null}"><slot name="previous-icon"><sd-4-0-3-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-4-0-3-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
366
366
|
const isActive = index + 1 === currentPage;
|
|
367
367
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
368
368
|
"carousel__pagination-item",
|
|
@@ -385,7 +385,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
385
385
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
386
386
|
this.next();
|
|
387
387
|
this.unblockAutoplay(e, this.nextButton);
|
|
388
|
-
} : null}"><slot name="next-icon"><sd-4-0-
|
|
388
|
+
} : null}"><slot name="next-icon"><sd-4-0-3-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-4-0-3-icon></slot></button></div><button class="${cx(
|
|
389
389
|
"ml-6 !rounded-sm",
|
|
390
390
|
"!absolute !right-0 sd-interactive",
|
|
391
391
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -395,12 +395,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
395
395
|
if (e.detail) {
|
|
396
396
|
this.autoplayControls.blur();
|
|
397
397
|
}
|
|
398
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-0-
|
|
398
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-0-3-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-0-3-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-4-0-3-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-0-3-icon></slot></button></div></div>`;
|
|
399
399
|
}
|
|
400
400
|
};
|
|
401
401
|
SdCarousel.styles = [
|
|
402
402
|
...SolidElement.styles,
|
|
403
|
-
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-0-
|
|
403
|
+
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-0-3-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
404
404
|
];
|
|
405
405
|
__decorateClass([
|
|
406
406
|
query('[part~="autoplay-controls"]')
|
|
@@ -467,7 +467,7 @@ __decorateClass([
|
|
|
467
467
|
watch("autoplay")
|
|
468
468
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
469
469
|
SdCarousel = __decorateClass([
|
|
470
|
-
customElement("sd-4-0-
|
|
470
|
+
customElement("sd-4-0-3-carousel")
|
|
471
471
|
], SdCarousel);
|
|
472
472
|
|
|
473
473
|
export {
|
|
@@ -25,7 +25,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
getAllCheckboxes() {
|
|
28
|
-
return [...this.querySelectorAll("sd-4-0-
|
|
28
|
+
return [...this.querySelectorAll("sd-4-0-3-checkbox")];
|
|
29
29
|
}
|
|
30
30
|
async syncCheckboxElements() {
|
|
31
31
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -38,10 +38,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
40
|
syncCheckboxes() {
|
|
41
|
-
if (customElements.get("sd-4-0-
|
|
41
|
+
if (customElements.get("sd-4-0-3-checkbox")) {
|
|
42
42
|
this.syncCheckboxElements();
|
|
43
43
|
} else {
|
|
44
|
-
customElements.whenDefined("sd-4-0-
|
|
44
|
+
customElements.whenDefined("sd-4-0-3-checkbox").then(() => this.syncCheckboxes());
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
handleSizeChange() {
|
|
@@ -75,7 +75,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
75
75
|
*/
|
|
76
76
|
SdCheckboxGroup.styles = [
|
|
77
77
|
...SolidElement.styles,
|
|
78
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-
|
|
78
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-3-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-3-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-3-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-3-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-3-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
79
79
|
];
|
|
80
80
|
__decorateClass([
|
|
81
81
|
property({ reflect: true })
|
|
@@ -93,7 +93,7 @@ __decorateClass([
|
|
|
93
93
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
94
94
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
95
95
|
SdCheckboxGroup = __decorateClass([
|
|
96
|
-
customElement("sd-4-0-
|
|
96
|
+
customElement("sd-4-0-3-checkbox-group")
|
|
97
97
|
], SdCheckboxGroup);
|
|
98
98
|
|
|
99
99
|
export {
|