@solid-design-system/components 4.2.0 → 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.MLIJR3PY.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 -0
- 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.632H2QDY.js → chunk.R7F4MWPK.js} +2 -2
- 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 +3 -3
- 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 +4 -4
- 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.632H2QDY.js → chunk.R7F4MWPK.js} +4 -4
- 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 +3 -3
- 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 +4 -4
- 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/chunks/chunk.ZIQIZBTD.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
- package/cdn-versioned/chunks/chunk.ZIQIZBTD.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-4-2-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-2-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-4-2-2-option" ? item : Array.from(item.querySelectorAll(":scope > sd-4-2-2-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-2-2-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -33,20 +33,20 @@ var SdAudio = class extends SolidElement {
|
|
|
33
33
|
this.duration = "";
|
|
34
34
|
this.isPlaying = false;
|
|
35
35
|
this.isMuted = false;
|
|
36
|
+
this.isTranscriptOpen = false;
|
|
36
37
|
this.progress = 0;
|
|
37
|
-
this.setAudioProgress = () => {
|
|
38
|
-
this.progressSlider.max = Math.floor(this.audioElement.duration).toString();
|
|
39
|
-
};
|
|
40
38
|
this.updateCurrentTime = this.updateCurrentTime.bind(this);
|
|
41
39
|
this.handleAudioEnd = this.handleAudioEnd.bind(this);
|
|
42
40
|
this.handleAudioProgress = this.handleAudioProgress.bind(this);
|
|
43
41
|
this.handleAudioProgressKeydown = this.handleAudioProgressKeydown.bind(this);
|
|
42
|
+
this.handleTranscriptDrawerToggle = this.handleTranscriptDrawerToggle.bind(this);
|
|
44
43
|
}
|
|
45
44
|
firstUpdated() {
|
|
46
45
|
if (!this.audioElement) return;
|
|
47
46
|
this.audioElement.addEventListener("timeupdate", this.updateCurrentTime);
|
|
48
47
|
this.audioElement.addEventListener("ended", this.handleAudioEnd);
|
|
49
48
|
this.audioElement.setAttribute("controlsList", "nodownload");
|
|
49
|
+
document.addEventListener("sd-after-hide", this.handleTranscriptDrawerToggle);
|
|
50
50
|
this.audioElement.playbackRate = this.speed;
|
|
51
51
|
if (this.animated) {
|
|
52
52
|
this.initAnimation();
|
|
@@ -73,7 +73,7 @@ var SdAudio = class extends SolidElement {
|
|
|
73
73
|
if (!this.audioElement) return;
|
|
74
74
|
const currentTime = this.audioElement.currentTime;
|
|
75
75
|
this.currentTime = this.formatTime(currentTime);
|
|
76
|
-
this.progress =
|
|
76
|
+
this.progress = currentTime;
|
|
77
77
|
if (this.progressSlider) {
|
|
78
78
|
this.progressSlider.value = this.progress.toString();
|
|
79
79
|
}
|
|
@@ -87,7 +87,7 @@ var SdAudio = class extends SolidElement {
|
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
89
|
this.duration = this.formatTime(this.audioElement.duration);
|
|
90
|
-
this.
|
|
90
|
+
this.progressSlider.max = this.audioElement.duration.toString();
|
|
91
91
|
}
|
|
92
92
|
playAudio() {
|
|
93
93
|
if (!this.audioElement) return;
|
|
@@ -168,9 +168,13 @@ var SdAudio = class extends SolidElement {
|
|
|
168
168
|
this.handleAudioProgress();
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
+
handleTranscriptDrawerToggle() {
|
|
172
|
+
this.isTranscriptOpen = !this.isTranscriptOpen;
|
|
173
|
+
}
|
|
171
174
|
showTranscript() {
|
|
172
175
|
this.emit("sd-transcript-click");
|
|
173
176
|
this.drawer.open = true;
|
|
177
|
+
this.handleTranscriptDrawerToggle();
|
|
174
178
|
}
|
|
175
179
|
showTranscriptKeydown(event) {
|
|
176
180
|
if (event.key === "Enter" || event.key === " ") {
|
|
@@ -284,10 +288,10 @@ var SdAudio = class extends SolidElement {
|
|
|
284
288
|
)}" part="audio-controls"><button class="${cx(
|
|
285
289
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
286
290
|
this.inverted && "sd-interactive--inverted"
|
|
287
|
-
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-2-
|
|
291
|
+
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-2-2-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying ? html`<slot name="pause-icon"><sd-4-2-2-icon class="text-3xl" name="pause" library="system"></sd-4-2-2-icon></slot>` : html`<slot name="play-icon"><sd-4-2-2-icon class="text-3xl" name="start" library="system"></sd-4-2-2-icon></slot>`}</sd-4-2-2-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx(
|
|
288
292
|
"mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",
|
|
289
293
|
this.inverted && "sd-interactive--inverted"
|
|
290
|
-
)}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0"><sd-4-2-
|
|
294
|
+
)}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0" part="transcript"><sd-4-2-2-icon class="w-6 h-6" name="transcript" library="system"></sd-4-2-2-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" tabindex="0" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-4-2-2-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="system"></sd-4-2-2-icon></button></div></div>`;
|
|
291
295
|
const renderTimestamps = html`<div class="${cx(
|
|
292
296
|
"w-full flex justify-between",
|
|
293
297
|
this.reversedLayout ? "mb-2" : "mt-2",
|
|
@@ -297,12 +301,12 @@ var SdAudio = class extends SolidElement {
|
|
|
297
301
|
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null} <input class="${cx(
|
|
298
302
|
"progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",
|
|
299
303
|
this.inverted && "sd-interactive--inverted"
|
|
300
|
-
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-2-
|
|
304
|
+
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-2-2-drawer><slot name="transcript"></slot></sd-4-2-2-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div>`;
|
|
301
305
|
}
|
|
302
306
|
};
|
|
303
307
|
SdAudio.styles = [
|
|
304
308
|
...SolidElement.styles,
|
|
305
|
-
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-2-
|
|
309
|
+
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-2-2-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-4-2-2-button::part(label){align-items:center;display:flex;flex-grow:0}`
|
|
306
310
|
];
|
|
307
311
|
__decorateClass([
|
|
308
312
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -331,6 +335,9 @@ __decorateClass([
|
|
|
331
335
|
__decorateClass([
|
|
332
336
|
state()
|
|
333
337
|
], SdAudio.prototype, "isMuted", 2);
|
|
338
|
+
__decorateClass([
|
|
339
|
+
state()
|
|
340
|
+
], SdAudio.prototype, "isTranscriptOpen", 2);
|
|
334
341
|
__decorateClass([
|
|
335
342
|
state()
|
|
336
343
|
], SdAudio.prototype, "progress", 2);
|
|
@@ -341,13 +348,13 @@ __decorateClass([
|
|
|
341
348
|
query('[part="audio-player"]')
|
|
342
349
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
343
350
|
__decorateClass([
|
|
344
|
-
query("sd-4-2-
|
|
351
|
+
query("sd-4-2-2-drawer")
|
|
345
352
|
], SdAudio.prototype, "drawer", 2);
|
|
346
353
|
__decorateClass([
|
|
347
354
|
query("canvas")
|
|
348
355
|
], SdAudio.prototype, "canvas", 2);
|
|
349
356
|
SdAudio = __decorateClass([
|
|
350
|
-
customElement("sd-4-2-
|
|
357
|
+
customElement("sd-4-2-2-audio")
|
|
351
358
|
], SdAudio);
|
|
352
359
|
|
|
353
360
|
export {
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<label part="base" class="${cx(
|
|
121
|
-
"sd-4-2-
|
|
121
|
+
"sd-4-2-2-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
144
144
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
145
145
|
default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
146
146
|
}[checkboxState]
|
|
147
|
-
)}">${this.checked ? html`<sd-4-2-
|
|
147
|
+
)}">${this.checked ? html`<sd-4-2-2-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-2-2-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-2-2-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-2-2-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
148
148
|
"select-none inline-block ml-2",
|
|
149
149
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
150
150
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -206,7 +206,7 @@ __decorateClass([
|
|
|
206
206
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
207
207
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
208
208
|
SdCheckbox = __decorateClass([
|
|
209
|
-
customElement("sd-4-2-
|
|
209
|
+
customElement("sd-4-2-2-checkbox")
|
|
210
210
|
], SdCheckbox);
|
|
211
211
|
|
|
212
212
|
export {
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
};
|
|
85
85
|
SdLink.styles = [
|
|
86
86
|
...SolidElement.styles,
|
|
87
|
-
css`::slotted(sd-4-2-
|
|
87
|
+
css`::slotted(sd-4-2-2-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-4-2-2-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-4-2-2-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property()
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-4-2-
|
|
114
|
+
customElement("sd-4-2-2-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -209,7 +209,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
209
209
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
210
210
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
211
211
|
}[this.placement]
|
|
212
|
-
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-2-
|
|
212
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-2-2-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-2-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-2-2-icon></sd-4-2-2-button></div></header>` : html`<sd-4-2-2-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-2-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-2-2-icon></sd-4-2-2-button>`}<div part="body" class="flex-auto block px-4" role="region" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></div>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdDrawer.styles = [
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-4-2-
|
|
253
|
+
customElement("sd-4-2-2-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|
|
@@ -54,7 +54,7 @@ var SdStepGroup = class extends SolidElement {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
getAllSteps() {
|
|
57
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-2-
|
|
57
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-2-2-step");
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Sets the active step.
|
|
@@ -116,7 +116,7 @@ __decorateClass([
|
|
|
116
116
|
watch("notInteractive")
|
|
117
117
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
118
118
|
SdStepGroup = __decorateClass([
|
|
119
|
-
customElement("sd-4-2-
|
|
119
|
+
customElement("sd-4-2-2-step-group")
|
|
120
120
|
], SdStepGroup);
|
|
121
121
|
|
|
122
122
|
export {
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-4-2-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-4-2-2-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-4-2-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-4-2-2-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-4-2-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-4-2-2-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-4-2-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-4-2-2-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-4-2-
|
|
41
|
-
button.classList.toggle("sd-4-2-
|
|
42
|
-
button.classList.toggle("sd-4-2-
|
|
43
|
-
button.classList.toggle("sd-4-2-
|
|
44
|
-
button.classList.toggle("sd-4-2-
|
|
40
|
+
button.classList.add("sd-4-2-2-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-4-2-2-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-4-2-2-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-4-2-2-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-4-2-2-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-2-2-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property()
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-4-2-
|
|
66
|
+
customElement("sd-4-2-2-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-4-2-
|
|
70
|
+
const selector = "sd-4-2-2-button, sd-4-2-2-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super(...arguments);
|
|
23
23
|
this.attrId = ++id;
|
|
24
|
-
this.componentId = `sd-4-2-
|
|
24
|
+
this.componentId = `sd-4-2-2-tab-${this.attrId}`;
|
|
25
25
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
26
26
|
this.variant = "default";
|
|
27
27
|
this.active = false;
|
|
@@ -91,7 +91,7 @@ __decorateClass([
|
|
|
91
91
|
watch("disabled")
|
|
92
92
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
93
93
|
SdTab = __decorateClass([
|
|
94
|
-
customElement("sd-4-2-
|
|
94
|
+
customElement("sd-4-2-2-tab")
|
|
95
95
|
], SdTab);
|
|
96
96
|
|
|
97
97
|
export {
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-4-2-
|
|
211
|
+
customElement("sd-4-2-2-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -13,8 +13,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
13
13
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
14
14
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
15
15
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
16
|
-
import "../../chunks/chunk.
|
|
17
|
-
import "../../chunks/chunk.
|
|
16
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
17
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
18
18
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
19
19
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
20
20
|
export {
|
|
@@ -14,8 +14,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
14
14
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
15
15
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
16
16
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
17
|
-
import "../../chunks/chunk.
|
|
18
|
-
import "../../chunks/chunk.
|
|
17
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
18
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
19
19
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
20
20
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
21
21
|
export {
|
|
@@ -13,6 +13,7 @@ export default class SdAudio extends SolidElement {
|
|
|
13
13
|
duration: string;
|
|
14
14
|
isPlaying: boolean;
|
|
15
15
|
isMuted: boolean;
|
|
16
|
+
isTranscriptOpen: boolean;
|
|
16
17
|
progress: number;
|
|
17
18
|
progressSlider: HTMLInputElement;
|
|
18
19
|
audioPlayerContainer: HTMLElement;
|
|
@@ -24,7 +25,6 @@ export default class SdAudio extends SolidElement {
|
|
|
24
25
|
firstUpdated(): void;
|
|
25
26
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
26
27
|
private get audioElement();
|
|
27
|
-
private setAudioProgress;
|
|
28
28
|
private updateCurrentTime;
|
|
29
29
|
private updateAudioDuration;
|
|
30
30
|
playAudio(): void;
|
|
@@ -37,6 +37,7 @@ export default class SdAudio extends SolidElement {
|
|
|
37
37
|
private formatTime;
|
|
38
38
|
private handleAudioProgress;
|
|
39
39
|
private handleAudioProgressKeydown;
|
|
40
|
+
private handleTranscriptDrawerToggle;
|
|
40
41
|
private showTranscript;
|
|
41
42
|
private showTranscriptKeydown;
|
|
42
43
|
private rgbToHex;
|
|
@@ -50,6 +51,6 @@ export default class SdAudio extends SolidElement {
|
|
|
50
51
|
}
|
|
51
52
|
declare global {
|
|
52
53
|
interface HTMLElementTagNameMap {
|
|
53
|
-
'sd-4-2-
|
|
54
|
+
'sd-4-2-2-audio': SdAudio;
|
|
54
55
|
}
|
|
55
56
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAudio
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.UTL7JKFI.js";
|
|
4
4
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
5
5
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
7
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
8
8
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
9
9
|
import "../../chunks/chunk.POFWU6ZT.js";
|
|
10
10
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
@@ -6,8 +6,8 @@ import "../../chunks/chunk.KVKRZJS7.js";
|
|
|
6
6
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
7
7
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
8
8
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
10
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
11
11
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
12
12
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
13
13
|
export {
|
|
@@ -16,8 +16,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
16
16
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
17
17
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
18
18
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
19
|
-
import "../../chunks/chunk.
|
|
20
|
-
import "../../chunks/chunk.
|
|
19
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
20
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
21
21
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
22
22
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
23
23
|
export {
|
|
@@ -9,9 +9,9 @@ import type SdOptgroup from '../optgroup/optgroup.js';
|
|
|
9
9
|
import type SdOption from '../option/option';
|
|
10
10
|
export default class SdCombobox extends SolidElement implements SolidFormControl {
|
|
11
11
|
static dependencies: {
|
|
12
|
-
'sd-4-2-
|
|
13
|
-
'sd-4-2-
|
|
14
|
-
'sd-4-2-
|
|
12
|
+
'sd-4-2-2-icon': typeof SdIcon;
|
|
13
|
+
'sd-4-2-2-popup': typeof SdPopup;
|
|
14
|
+
'sd-4-2-2-tag': typeof SdTag;
|
|
15
15
|
};
|
|
16
16
|
private readonly formControlController;
|
|
17
17
|
private readonly hasSlotController;
|
|
@@ -126,6 +126,6 @@ export default class SdCombobox extends SolidElement implements SolidFormControl
|
|
|
126
126
|
}
|
|
127
127
|
declare global {
|
|
128
128
|
interface HTMLElementTagNameMap {
|
|
129
|
-
'sd-4-2-
|
|
129
|
+
'sd-4-2-2-combobox': SdCombobox;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -21,8 +21,8 @@ import "../../chunks/chunk.B4BZKR24.js";
|
|
|
21
21
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
22
22
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
23
23
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
24
|
-
import "../../chunks/chunk.
|
|
25
|
-
import "../../chunks/chunk.
|
|
24
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
25
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
26
26
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
27
27
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
28
28
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDialog
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.R7F4MWPK.js";
|
|
4
4
|
import "../../chunks/chunk.VBQLCQSN.js";
|
|
5
5
|
import "../../chunks/chunk.XHCTCU2Q.js";
|
|
6
6
|
import "../../chunks/chunk.WDWV53JP.js";
|
|
@@ -20,8 +20,8 @@ import "../../chunks/chunk.B4BZKR24.js";
|
|
|
20
20
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
21
21
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
22
22
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
23
|
-
import "../../chunks/chunk.
|
|
24
|
-
import "../../chunks/chunk.
|
|
23
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
24
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
25
25
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
26
26
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
27
27
|
export {
|
|
@@ -20,8 +20,8 @@ import "../../chunks/chunk.B4BZKR24.js";
|
|
|
20
20
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
21
21
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
22
22
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
23
|
-
import "../../chunks/chunk.
|
|
24
|
-
import "../../chunks/chunk.
|
|
23
|
+
import "../../chunks/chunk.J7KRCFRG.js";
|
|
24
|
+
import "../../chunks/chunk.G5A32O76.js";
|
|
25
25
|
import "../../chunks/chunk.M4CPDAKC.js";
|
|
26
26
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
27
27
|
export {
|