@solid-design-system/components 4.2.1 → 4.2.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/chunks/chunk.2KVQZ6AF.js +1 -0
- package/cdn/chunks/{chunk.6AT7QBRE.js → chunk.2ZCXWR7E.js} +1 -1
- package/cdn/chunks/{chunk.AZ5UMKBM.js → chunk.3NTNY2UH.js} +1 -1
- package/cdn/chunks/{chunk.B4OSWTH3.js → chunk.4F44QRA2.js} +1 -1
- package/cdn/chunks/{chunk.KME2AZKV.js → chunk.6JTQVPYM.js} +1 -1
- package/cdn/chunks/{chunk.CYH3PCNG.js → chunk.6MS466M2.js} +1 -1
- package/cdn/chunks/{chunk.CAWYHBD5.js → chunk.75EO36IN.js} +1 -1
- package/cdn/chunks/{chunk.M37NO2OL.js → chunk.7QUNXEQK.js} +1 -1
- package/cdn/chunks/{chunk.SZMORTHB.js → chunk.7RLRSCXQ.js} +1 -1
- package/cdn/chunks/{chunk.SRHKA7HE.js → chunk.7TPOO2K7.js} +1 -1
- package/cdn/chunks/{chunk.CSTIFOAP.js → chunk.7XV3YENR.js} +1 -1
- package/cdn/chunks/{chunk.YEIAYEJG.js → chunk.CNH2FBFM.js} +1 -1
- package/cdn/chunks/{chunk.PGNO6HV2.js → chunk.DUICZBMU.js} +1 -1
- package/cdn/chunks/{chunk.XL3BUCUU.js → chunk.E5MVZNLH.js} +1 -1
- package/cdn/chunks/{chunk.GS3QL2OV.js → chunk.EROIZW6X.js} +1 -1
- package/cdn/chunks/{chunk.4IFORLFN.js → chunk.EVPT7JK3.js} +1 -1
- package/cdn/chunks/{chunk.MLIJR3PY.js → chunk.EZYSQC3V.js} +1 -1
- package/cdn/chunks/{chunk.LS53PDIU.js → chunk.FHGJUXJX.js} +1 -1
- package/cdn/chunks/{chunk.23IKXZVG.js → chunk.GJMUIRQ2.js} +1 -1
- package/cdn/chunks/{chunk.AURWAJH2.js → chunk.GWPLAP5S.js} +1 -1
- package/cdn/chunks/{chunk.LRCDXHQL.js → chunk.H6R4QDN2.js} +1 -1
- package/cdn/chunks/{chunk.2PA3FZXS.js → chunk.IUWDL2C4.js} +1 -1
- package/cdn/chunks/{chunk.QC2KZSKL.js → chunk.J2X6EPLA.js} +1 -1
- package/cdn/chunks/{chunk.7SQQCKX5.js → chunk.KMS2GOZX.js} +1 -1
- package/cdn/chunks/chunk.L53H4NRS.js +1 -0
- package/cdn/chunks/{chunk.W72MLMOE.js → chunk.LU3JG42J.js} +1 -1
- package/cdn/chunks/{chunk.6ZV2UB2R.js → chunk.LZPV4I3M.js} +1 -1
- package/cdn/chunks/{chunk.CJNJKNFE.js → chunk.MS332YGT.js} +1 -1
- package/cdn/chunks/chunk.MT6JRSNW.js +1 -0
- package/cdn/chunks/{chunk.Q5XVXRF6.js → chunk.PY7WAXNJ.js} +1 -1
- package/cdn/chunks/{chunk.NMHMV2IL.js → chunk.RLUO45Y5.js} +1 -1
- package/cdn/chunks/chunk.SIAG2ZHR.js +1 -0
- package/cdn/chunks/{chunk.7CKFXHTE.js → chunk.TU2ZS5QJ.js} +1 -1
- package/cdn/chunks/{chunk.UXYQTHQP.js → chunk.U7V4IBUM.js} +1 -1
- package/cdn/chunks/{chunk.AXTP2V5W.js → chunk.UPY4N63N.js} +1 -1
- package/cdn/chunks/{chunk.QB6ZZCNC.js → chunk.UVMPKHLP.js} +1 -1
- package/cdn/chunks/{chunk.CBUVQPJ2.js → chunk.WF3RODYO.js} +1 -1
- package/cdn/chunks/{chunk.QQCSHGCT.js → chunk.WGANUF5U.js} +1 -1
- package/cdn/chunks/{chunk.IHS6YCNW.js → chunk.WPJYFH2I.js} +1 -1
- package/cdn/chunks/{chunk.2BWXU745.js → chunk.WVPFNYMA.js} +1 -1
- package/cdn/chunks/{chunk.D6M4QQEX.js → chunk.WVTQW42J.js} +1 -1
- package/cdn/chunks/{chunk.VOS6ZTYL.js → chunk.XLPU7RKV.js} +1 -1
- package/cdn/chunks/{chunk.UI7L6PX5.js → chunk.ZEAKI2UK.js} +1 -1
- package/cdn/chunks/{chunk.M56AX2NQ.js → chunk.ZNGUO7XZ.js} +1 -1
- 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/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.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/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.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/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.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/autocomplete-config.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.2KVQZ6AF.js +1 -0
- package/cdn-versioned/chunks/{chunk.6AT7QBRE.js → chunk.2ZCXWR7E.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AZ5UMKBM.js → chunk.3NTNY2UH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.B4OSWTH3.js → chunk.4F44QRA2.js} +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.KME2AZKV.js → chunk.6JTQVPYM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CYH3PCNG.js → chunk.6MS466M2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CAWYHBD5.js → chunk.75EO36IN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.M37NO2OL.js → chunk.7QUNXEQK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SZMORTHB.js → chunk.7RLRSCXQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SRHKA7HE.js → chunk.7TPOO2K7.js} +1 -1
- package/cdn-versioned/chunks/chunk.7UYAPC2H.js +1 -1
- package/cdn-versioned/chunks/{chunk.CSTIFOAP.js → chunk.7XV3YENR.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.YEIAYEJG.js → chunk.CNH2FBFM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.PGNO6HV2.js → chunk.DUICZBMU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XL3BUCUU.js → chunk.E5MVZNLH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GS3QL2OV.js → chunk.EROIZW6X.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4IFORLFN.js → chunk.EVPT7JK3.js} +4 -4
- package/cdn-versioned/chunks/{chunk.MLIJR3PY.js → chunk.EZYSQC3V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LS53PDIU.js → chunk.FHGJUXJX.js} +4 -4
- package/cdn-versioned/chunks/chunk.FKNSLPX6.js +1 -1
- package/cdn-versioned/chunks/{chunk.23IKXZVG.js → chunk.GJMUIRQ2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AURWAJH2.js → chunk.GWPLAP5S.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LRCDXHQL.js → chunk.H6R4QDN2.js} +1 -1
- package/cdn-versioned/chunks/chunk.IEPFDM4R.js +1 -1
- package/cdn-versioned/chunks/{chunk.2PA3FZXS.js → chunk.IUWDL2C4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QC2KZSKL.js → chunk.J2X6EPLA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7SQQCKX5.js → chunk.KMS2GOZX.js} +1 -1
- package/cdn-versioned/chunks/chunk.L53H4NRS.js +1 -0
- package/cdn-versioned/chunks/{chunk.W72MLMOE.js → chunk.LU3JG42J.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6ZV2UB2R.js → chunk.LZPV4I3M.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CJNJKNFE.js → chunk.MS332YGT.js} +1 -1
- package/cdn-versioned/chunks/chunk.MT6JRSNW.js +1 -0
- package/cdn-versioned/chunks/{chunk.Q5XVXRF6.js → chunk.PY7WAXNJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NMHMV2IL.js → chunk.RLUO45Y5.js} +2 -2
- package/cdn-versioned/chunks/chunk.SIAG2ZHR.js +1 -0
- package/cdn-versioned/chunks/chunk.SLT75PJ7.js +1 -1
- package/cdn-versioned/chunks/{chunk.7CKFXHTE.js → chunk.TU2ZS5QJ.js} +4 -4
- package/cdn-versioned/chunks/chunk.TW2X7LLC.js +1 -1
- package/cdn-versioned/chunks/{chunk.UXYQTHQP.js → chunk.U7V4IBUM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AXTP2V5W.js → chunk.UPY4N63N.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QB6ZZCNC.js → chunk.UVMPKHLP.js} +1 -1
- package/cdn-versioned/chunks/chunk.VVV2SCQ6.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.CBUVQPJ2.js → chunk.WF3RODYO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QQCSHGCT.js → chunk.WGANUF5U.js} +2 -2
- package/cdn-versioned/chunks/{chunk.IHS6YCNW.js → chunk.WPJYFH2I.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2BWXU745.js → chunk.WVPFNYMA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.D6M4QQEX.js → chunk.WVTQW42J.js} +1 -1
- package/cdn-versioned/chunks/chunk.X77YGX4O.js +1 -1
- package/cdn-versioned/chunks/{chunk.VOS6ZTYL.js → chunk.XLPU7RKV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UI7L6PX5.js → chunk.ZEAKI2UK.js} +2 -2
- package/cdn-versioned/chunks/{chunk.M56AX2NQ.js → chunk.ZNGUO7XZ.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/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +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/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +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/divider/divider.js +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/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +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/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- 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/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +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/components/video/video.js +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/autocomplete-config.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-versioned/chunks/chunk.EJ6ZLEEW.js → dist/chunks/chunk.G5A32O76.js} +3 -0
- package/dist/chunks/{chunk.ZXR3YX6W.js → chunk.J7KRCFRG.js} +3 -0
- package/dist/chunks/{chunk.TLTEUGRS.js → chunk.UTL7JKFI.js} +15 -8
- package/dist/chunks/{chunk.UWKWJ6WX.js → chunk.XQ7I46XG.js} +1 -1
- 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/checkbox/checkbox.js +1 -1
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +9 -1
- package/dist/solid-components.js +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/chunks/chunk.EJ6ZLEEW.js → dist-versioned/chunks/chunk.G5A32O76.js} +3 -0
- package/dist-versioned/chunks/chunk.GEIIXN6O.js +3 -3
- package/dist-versioned/chunks/chunk.GXOBJN4Z.js +5 -5
- package/dist-versioned/chunks/chunk.I44BFH6N.js +2 -2
- package/dist-versioned/chunks/chunk.I6LLIF3A.js +5 -5
- package/dist-versioned/chunks/chunk.IHJUIKE5.js +2 -2
- package/dist-versioned/chunks/chunk.IHKHCZDI.js +2 -2
- package/dist-versioned/chunks/{chunk.ZXR3YX6W.js → chunk.J7KRCFRG.js} +3 -0
- package/dist-versioned/chunks/chunk.JCZYHLLG.js +1 -1
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LM7G2MP2.js +1 -1
- package/dist-versioned/chunks/chunk.LT6DJYQW.js +2 -2
- package/dist-versioned/chunks/chunk.LTMUP2IF.js +1 -1
- package/dist-versioned/chunks/chunk.M4CPDAKC.js +1 -1
- package/dist-versioned/chunks/chunk.MM7UZ56N.js +13 -13
- package/dist-versioned/chunks/chunk.MPC4NJ7T.js +2 -2
- package/dist-versioned/chunks/chunk.MUTJR3Y5.js +2 -2
- package/dist-versioned/chunks/chunk.NKQ5TMZU.js +1 -1
- package/dist-versioned/chunks/chunk.NVGI6WK4.js +3 -3
- package/dist-versioned/chunks/chunk.NXMLWQ4F.js +13 -13
- package/dist-versioned/chunks/chunk.OED6NJWG.js +26 -26
- package/dist-versioned/chunks/chunk.OVXTOIRH.js +1 -1
- package/dist-versioned/chunks/chunk.PHOL2FZ7.js +2 -2
- package/dist-versioned/chunks/chunk.PY2NXO6G.js +1 -1
- package/dist-versioned/chunks/chunk.Q2OO67VT.js +2 -2
- package/dist-versioned/chunks/chunk.QINFB4CI.js +3 -3
- package/dist-versioned/chunks/chunk.R7F4MWPK.js +2 -2
- package/dist-versioned/chunks/chunk.SL7UXNEP.js +6 -6
- package/dist-versioned/chunks/chunk.SUVILVZH.js +1 -1
- package/dist-versioned/chunks/chunk.TA2OGXIC.js +1 -1
- package/dist-versioned/chunks/chunk.THT3CJM5.js +1 -1
- package/dist-versioned/chunks/chunk.UEKILTQF.js +2 -2
- package/dist-versioned/chunks/chunk.UGILZRQF.js +5 -5
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.TLTEUGRS.js → chunk.UTL7JKFI.js} +18 -11
- package/dist-versioned/chunks/chunk.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.UWKWJ6WX.js → chunk.XQ7I46XG.js} +4 -4
- 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/checkbox.js +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +2 -2
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +2 -2
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -2
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +210 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +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 +11 -11
- package/cdn/chunks/chunk.CNK4EWSD.js +0 -1
- package/cdn/chunks/chunk.FG4AYCVI.js +0 -1
- package/cdn/chunks/chunk.UNKFWGH5.js +0 -1
- package/cdn/chunks/chunk.W6PPVJGK.js +0 -1
- package/cdn-versioned/chunks/chunk.CNK4EWSD.js +0 -1
- package/cdn-versioned/chunks/chunk.FG4AYCVI.js +0 -1
- package/cdn-versioned/chunks/chunk.UNKFWGH5.js +0 -1
- package/cdn-versioned/chunks/chunk.W6PPVJGK.js +0 -1
- /package/cdn/chunks/{chunk.TWQVHGYD.js → chunk.26V4EXHB.js} +0 -0
- /package/cdn-versioned/chunks/{chunk.TWQVHGYD.js → chunk.26V4EXHB.js} +0 -0
|
@@ -373,7 +373,7 @@ var SdInput = class extends SolidElement {
|
|
|
373
373
|
this.size === "sm" ? "h-6" : "h-8",
|
|
374
374
|
textSize,
|
|
375
375
|
this.visuallyDisabled && "cursor-not-allowed"
|
|
376
|
-
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center ", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-2-
|
|
376
|
+
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center ", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-2-3-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-2-3-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-2-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-4-2-3-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-2-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-4-2-3-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-2-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-2-3-icon>` : ""} ${this.type === "time" ? html`<sd-4-2-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-2-3-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-4-2-3-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-4-2-3-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-2-3-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-2-3-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-2-3-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-2-3-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-2-3-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-2-3-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-2-3-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-2-3-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
379
|
/**
|
|
@@ -381,7 +381,7 @@ var SdInput = class extends SolidElement {
|
|
|
381
381
|
*/
|
|
382
382
|
SdInput.styles = [
|
|
383
383
|
...SolidElement.styles,
|
|
384
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-2-
|
|
384
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-2-3-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
385
385
|
];
|
|
386
386
|
__decorateClass([
|
|
387
387
|
query("#input")
|
|
@@ -511,7 +511,7 @@ __decorateClass([
|
|
|
511
511
|
watch("value", { waitUntilFirstUpdate: true })
|
|
512
512
|
], SdInput.prototype, "handleValueChange", 1);
|
|
513
513
|
SdInput = __decorateClass([
|
|
514
|
-
customElement("sd-4-2-
|
|
514
|
+
customElement("sd-4-2-3-input")
|
|
515
515
|
], SdInput);
|
|
516
516
|
|
|
517
517
|
export {
|
|
@@ -77,10 +77,10 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
77
77
|
this.formControlController.updateValidity();
|
|
78
78
|
}
|
|
79
79
|
getAllRadios() {
|
|
80
|
-
return [...this.querySelectorAll("sd-4-2-
|
|
80
|
+
return [...this.querySelectorAll("sd-4-2-3-radio, sd-4-2-3-radio-button")];
|
|
81
81
|
}
|
|
82
82
|
handleRadioClick(event) {
|
|
83
|
-
const target = event.target.closest("sd-4-2-
|
|
83
|
+
const target = event.target.closest("sd-4-2-3-radio, sd-4-2-3-radio-button");
|
|
84
84
|
const radios = this.getAllRadios();
|
|
85
85
|
const oldValue = this.value;
|
|
86
86
|
if (target.disabled) {
|
|
@@ -157,7 +157,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
157
157
|
}
|
|
158
158
|
})
|
|
159
159
|
);
|
|
160
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-2-
|
|
160
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-2-3-radio-button");
|
|
161
161
|
if (!radios.some((radio) => radio.checked)) {
|
|
162
162
|
if (this.hasButtonGroup) {
|
|
163
163
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
|
@@ -169,26 +169,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
if (this.hasButtonGroup) {
|
|
172
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-2-
|
|
172
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-2-3-button-group");
|
|
173
173
|
if (buttonGroup) {
|
|
174
174
|
buttonGroup.disableRole = true;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
syncRadios() {
|
|
179
|
-
if (customElements.get("sd-4-2-
|
|
179
|
+
if (customElements.get("sd-4-2-3-radio") && customElements.get("sd-4-2-3-radio-button")) {
|
|
180
180
|
this.syncRadioElements();
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
if (customElements.get("sd-4-2-
|
|
183
|
+
if (customElements.get("sd-4-2-3-radio")) {
|
|
184
184
|
this.syncRadioElements();
|
|
185
185
|
} else {
|
|
186
|
-
customElements.whenDefined("sd-4-2-
|
|
186
|
+
customElements.whenDefined("sd-4-2-3-radio").then(() => this.syncRadios());
|
|
187
187
|
}
|
|
188
|
-
if (customElements.get("sd-4-2-
|
|
188
|
+
if (customElements.get("sd-4-2-3-radio-button")) {
|
|
189
189
|
this.syncRadioElements();
|
|
190
190
|
} else {
|
|
191
|
-
customElements.whenDefined("sd-4-2-
|
|
191
|
+
customElements.whenDefined("sd-4-2-3-radio-button").then(() => this.syncRadios());
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
updateCheckedRadio() {
|
|
@@ -267,16 +267,16 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
267
267
|
vertical: "flex-col",
|
|
268
268
|
horizontal: "flex-row"
|
|
269
269
|
}[this.orientation]
|
|
270
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-2-
|
|
270
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-2-3-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-2-3-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
|
|
271
271
|
}
|
|
272
272
|
};
|
|
273
|
-
SdRadioGroup.dependencies = { "sd-4-2-
|
|
273
|
+
SdRadioGroup.dependencies = { "sd-4-2-3-button-group": SdButtonGroup };
|
|
274
274
|
/**
|
|
275
275
|
* Inherits Tailwind classes and includes additional styling.
|
|
276
276
|
*/
|
|
277
277
|
SdRadioGroup.styles = [
|
|
278
278
|
...SolidElement.styles,
|
|
279
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-2-
|
|
279
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-2-3-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-2-3-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-2-3-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-2-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-2-3-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-2-3-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
|
|
280
280
|
];
|
|
281
281
|
__decorateClass([
|
|
282
282
|
query("slot:not([name])")
|
|
@@ -333,7 +333,7 @@ __decorateClass([
|
|
|
333
333
|
watch("value")
|
|
334
334
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
335
335
|
SdRadioGroup = __decorateClass([
|
|
336
|
-
customElement("sd-4-2-
|
|
336
|
+
customElement("sd-4-2-3-radio-group")
|
|
337
337
|
], SdRadioGroup);
|
|
338
338
|
|
|
339
339
|
export {
|
|
@@ -62,7 +62,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
62
62
|
constructor() {
|
|
63
63
|
super(...arguments);
|
|
64
64
|
this.formControlController = new FormControlController(this, {
|
|
65
|
-
assumeInteractionOn: ["sd-blur", "sd-4-2-
|
|
65
|
+
assumeInteractionOn: ["sd-blur", "sd-4-2-3-input"]
|
|
66
66
|
});
|
|
67
67
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
68
68
|
this.localize = new LocalizeController(this);
|
|
@@ -104,11 +104,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
104
104
|
return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
|
|
105
105
|
};
|
|
106
106
|
this.getTag = (option) => {
|
|
107
|
-
return html`<sd-4-2-
|
|
107
|
+
return html`<sd-4-2-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
108
108
|
base:tag__base,
|
|
109
109
|
content:tag__content,
|
|
110
110
|
removable-indicator:tag__removable-indicator,
|
|
111
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-2-
|
|
111
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-2-3-tag>`;
|
|
112
112
|
};
|
|
113
113
|
this.handleDocumentFocusIn = (event) => {
|
|
114
114
|
const path = event.composedPath();
|
|
@@ -235,9 +235,9 @@ var SdCombobox = class extends SolidElement {
|
|
|
235
235
|
return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
|
|
236
236
|
};
|
|
237
237
|
return this.filteredOptions.map((item) => {
|
|
238
|
-
if (item.tagName.toLowerCase() === "sd-4-2-
|
|
238
|
+
if (item.tagName.toLowerCase() === "sd-4-2-3-optgroup") {
|
|
239
239
|
Array.from(item.children).forEach((option) => {
|
|
240
|
-
if (option.tagName.toLowerCase() === "sd-4-2-
|
|
240
|
+
if (option.tagName.toLowerCase() === "sd-4-2-3-option") {
|
|
241
241
|
renderOption(option);
|
|
242
242
|
}
|
|
243
243
|
});
|
|
@@ -257,11 +257,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
257
257
|
});
|
|
258
258
|
} else {
|
|
259
259
|
return [
|
|
260
|
-
html`<sd-4-2-
|
|
260
|
+
html`<sd-4-2-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
261
261
|
base:tag__base,
|
|
262
262
|
content:tag__content,
|
|
263
263
|
removable-indicator:tag__removable-indicator,
|
|
264
|
-
" 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-2-
|
|
264
|
+
" 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-2-3-tag>`
|
|
265
265
|
];
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -378,7 +378,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
378
378
|
}
|
|
379
379
|
handleOptionClick(event) {
|
|
380
380
|
const target = event.target;
|
|
381
|
-
const option = target.closest("sd-4-2-
|
|
381
|
+
const option = target.closest("sd-4-2-3-option");
|
|
382
382
|
const oldValue = this.value;
|
|
383
383
|
if (option && !option.disabled) {
|
|
384
384
|
if (this.multiple) {
|
|
@@ -430,7 +430,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
430
430
|
scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
|
|
431
431
|
}
|
|
432
432
|
getAllFilteredOptions() {
|
|
433
|
-
return [...this.filteredWrapper.querySelectorAll("sd-4-2-
|
|
433
|
+
return [...this.filteredWrapper.querySelectorAll("sd-4-2-3-option")];
|
|
434
434
|
}
|
|
435
435
|
getCurrentOption() {
|
|
436
436
|
return this.getAllFilteredOptions().find((option) => option.current);
|
|
@@ -556,7 +556,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
556
556
|
clonedOption.selected = option.selected;
|
|
557
557
|
clonedOption.checkbox = option.checkbox;
|
|
558
558
|
clonedOption.size = option.size;
|
|
559
|
-
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-2-
|
|
559
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-2-3-optgroup";
|
|
560
560
|
if (!hasOptgroup) {
|
|
561
561
|
return clonedOption;
|
|
562
562
|
}
|
|
@@ -586,7 +586,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
586
586
|
handleMouseLeave() {
|
|
587
587
|
this.hasHover = false;
|
|
588
588
|
}
|
|
589
|
-
/** Receives incoming event detail from sd-4-2-
|
|
589
|
+
/** Receives incoming event detail from sd-4-2-3-popup and updates local state for conditional styling. */
|
|
590
590
|
handleCurrentPlacement(e) {
|
|
591
591
|
const incomingPlacement = e.detail;
|
|
592
592
|
if (incomingPlacement) {
|
|
@@ -598,7 +598,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
598
598
|
}
|
|
599
599
|
handleUseTagsChange() {
|
|
600
600
|
const allOptions = this.getAllFilteredOptions();
|
|
601
|
-
if (customElements.get("sd-4-2-
|
|
601
|
+
if (customElements.get("sd-4-2-3-option")) {
|
|
602
602
|
allOptions.forEach((option) => {
|
|
603
603
|
option.checkbox = this.multiple;
|
|
604
604
|
});
|
|
@@ -724,8 +724,8 @@ var SdCombobox = class extends SolidElement {
|
|
|
724
724
|
return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
|
|
725
725
|
}
|
|
726
726
|
async handleDefaultSlotChange() {
|
|
727
|
-
if (!customElements.get("sd-4-2-
|
|
728
|
-
customElements.whenDefined("sd-4-2-
|
|
727
|
+
if (!customElements.get("sd-4-2-3-option")) {
|
|
728
|
+
customElements.whenDefined("sd-4-2-3-option").then(() => this.handleDefaultSlotChange());
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
731
|
const slottedOptions = this.getSlottedOptions();
|
|
@@ -737,10 +737,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
737
737
|
if (this.multiple) {
|
|
738
738
|
option.checkbox = true;
|
|
739
739
|
}
|
|
740
|
-
option.id = option.id || `sd-4-2-
|
|
740
|
+
option.id = option.id || `sd-4-2-3-combobox-option-${index}`;
|
|
741
741
|
});
|
|
742
742
|
slottedOptgroups.forEach((optgroup, index) => {
|
|
743
|
-
optgroup.id = optgroup.id || `sd-4-2-
|
|
743
|
+
optgroup.id = optgroup.id || `sd-4-2-3-combobox-optgroup-${index}`;
|
|
744
744
|
});
|
|
745
745
|
await this.syncSelectedOptionsAndValue();
|
|
746
746
|
if (this.multiple) {
|
|
@@ -789,7 +789,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
789
789
|
default: "border-neutral-800"
|
|
790
790
|
}[selectState],
|
|
791
791
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
792
|
-
)}"></div><sd-4-2-
|
|
792
|
+
)}"></div><sd-4-2-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
793
793
|
"inline-flex relative w-full",
|
|
794
794
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
795
795
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -810,28 +810,28 @@ var SdCombobox = class extends SolidElement {
|
|
|
810
810
|
"flex justify-center",
|
|
811
811
|
iconMarginLeft,
|
|
812
812
|
this.value.length > 0 ? "visible" : "invisible"
|
|
813
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-2-
|
|
813
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-2-3-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" name="closing-round" library="system"></sd-4-2-3-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-2-3-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-2-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-2-3-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-2-3-icon>` : ""}<slot name="right" part="right" class="${cx(
|
|
814
814
|
"inline-flex ml-2 leading-[0]",
|
|
815
815
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
816
816
|
iconSize
|
|
817
|
-
)}"><sd-4-2-
|
|
817
|
+
)}"><sd-4-2-3-icon class="${cx("transition-all", this.open ? "rotate-180" : "rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-2-3-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
|
818
818
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
819
819
|
this.open && "shadow",
|
|
820
820
|
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"
|
|
821
|
-
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-2-
|
|
821
|
+
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-2-3-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-2" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
822
822
|
}
|
|
823
823
|
};
|
|
824
824
|
SdCombobox.dependencies = {
|
|
825
|
-
"sd-4-2-
|
|
826
|
-
"sd-4-2-
|
|
827
|
-
"sd-4-2-
|
|
825
|
+
"sd-4-2-3-icon": SdIcon,
|
|
826
|
+
"sd-4-2-3-popup": SdPopup,
|
|
827
|
+
"sd-4-2-3-tag": SdTag
|
|
828
828
|
};
|
|
829
829
|
SdCombobox.styles = [
|
|
830
830
|
...SolidElement.styles,
|
|
831
|
-
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-2-
|
|
831
|
+
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-2-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-2-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-2-3-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-2-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-2-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))}[part=filtered-listbox] sd-4-2-3-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`
|
|
832
832
|
];
|
|
833
833
|
__decorateClass([
|
|
834
|
-
query("sd-4-2-
|
|
834
|
+
query("sd-4-2-3-popup")
|
|
835
835
|
], SdCombobox.prototype, "popup", 2);
|
|
836
836
|
__decorateClass([
|
|
837
837
|
query('[part="combobox"]')
|
|
@@ -986,7 +986,7 @@ __decorateClass([
|
|
|
986
986
|
watch("open", { waitUntilFirstUpdate: true })
|
|
987
987
|
], SdCombobox.prototype, "handleOpenChange", 1);
|
|
988
988
|
SdCombobox = __decorateClass([
|
|
989
|
-
customElement("sd-4-2-
|
|
989
|
+
customElement("sd-4-2-3-combobox")
|
|
990
990
|
], SdCombobox);
|
|
991
991
|
setDefaultAnimation("combobox.show", {
|
|
992
992
|
keyframes: [
|
|
@@ -99,7 +99,7 @@ var SdVideo = class extends SolidElement {
|
|
|
99
99
|
this.playing ? "opacity-0" : "opacity-100",
|
|
100
100
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
101
101
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
102
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-2-
|
|
102
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-2-3-icon id="default-play-icon" library="system" name="start"></sd-4-2-3-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<slot></slot></div>`;
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
SdVideo.styles = [
|
|
@@ -116,7 +116,7 @@ __decorateClass([
|
|
|
116
116
|
property({ type: Boolean })
|
|
117
117
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
118
118
|
SdVideo = __decorateClass([
|
|
119
|
-
customElement("sd-4-2-
|
|
119
|
+
customElement("sd-4-2-3-video")
|
|
120
120
|
], SdVideo);
|
|
121
121
|
|
|
122
122
|
export {
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-4-2-
|
|
326
|
+
customElement("sd-4-2-3-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -71,7 +71,7 @@ var SdTag = class extends SolidElement {
|
|
|
71
71
|
lg: "text-base",
|
|
72
72
|
sm: "text-[12px]"
|
|
73
73
|
}[this.size]
|
|
74
|
-
)}"><sd-4-2-
|
|
74
|
+
)}"><sd-4-2-3-icon library="system" name="close" label="remove"></sd-4-2-3-icon></slot>` : ""}</${tag}>`;
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
SdTag.styles = [
|
|
@@ -106,7 +106,7 @@ __decorateClass([
|
|
|
106
106
|
property()
|
|
107
107
|
], SdTag.prototype, "download", 2);
|
|
108
108
|
SdTag = __decorateClass([
|
|
109
|
-
customElement("sd-4-2-
|
|
109
|
+
customElement("sd-4-2-3-tag")
|
|
110
110
|
], SdTag);
|
|
111
111
|
|
|
112
112
|
export {
|
|
@@ -131,12 +131,12 @@ var SdScrollable = class extends SolidElement {
|
|
|
131
131
|
this.orientation === "auto" && "scroll-auto overflow-auto",
|
|
132
132
|
this.scrollbars ? "show-scrollbars" : "hide-scrollbars",
|
|
133
133
|
this.inset ? "p-4" : ""
|
|
134
|
-
)}" @scroll="${this.updateScrollIndicatorVisibility}" tabindex="0"><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="button-left" class="absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8"><button part="button-start" class="${cx(scrollButtonClasses)}" @click="${(e) => this.handleScroll("left", e)}"><slot name="icon-start"><sd-4-2-
|
|
134
|
+
)}" @scroll="${this.updateScrollIndicatorVisibility}" tabindex="0"><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="button-left" class="absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8"><button part="button-start" class="${cx(scrollButtonClasses)}" @click="${(e) => this.handleScroll("left", e)}"><slot name="icon-start"><sd-4-2-3-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-2-3-icon></slot></button></div>` : null} ${this.canScroll.right ? html`<div part="button-right" class="absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8"><button part="button-end" class="${cx(scrollButtonClasses)}" @click="${(e) => this.handleScroll("right", e)}"><slot name="icon-end"><sd-4-2-3-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-2-3-icon></slot></button></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="button-top" class="absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8"><button part="button-start" class="${cx(scrollButtonClasses)}" @click="${(e) => this.handleScroll("up", e)}"><slot name="icon-start"><sd-4-2-3-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-2-3-icon></slot></button></div>` : null} ${this.canScroll.down ? html`<div part="button-bottom" class="absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8"><button part="button-end" class="${cx(scrollButtonClasses)}" @click="${(e) => this.handleScroll("down", e)}"><slot name="icon-end"><sd-4-2-3-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-2-3-icon></slot></button></div>` : null}` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
SdScrollable.styles = [
|
|
138
138
|
...SolidElement.styles,
|
|
139
|
-
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-2-
|
|
139
|
+
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-2-3-icon--top{align-self:flex-start}.sd-4-2-3-icon--down{align-self:flex-end}`
|
|
140
140
|
];
|
|
141
141
|
__decorateClass([
|
|
142
142
|
property({ type: String, reflect: true })
|
|
@@ -169,7 +169,7 @@ __decorateClass([
|
|
|
169
169
|
state()
|
|
170
170
|
], SdScrollable.prototype, "isKeyboardNavigation", 2);
|
|
171
171
|
SdScrollable = __decorateClass([
|
|
172
|
-
customElement("sd-4-2-
|
|
172
|
+
customElement("sd-4-2-3-scrollable")
|
|
173
173
|
], SdScrollable);
|
|
174
174
|
|
|
175
175
|
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 overflow-y-auto",
|
|
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-2-
|
|
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-2-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-2-3-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-2-3-icon></sd-4-2-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-2-
|
|
201
|
+
customElement("sd-4-2-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-2-
|
|
59
|
+
this.slides = this.getElementsByTagName("sd-4-2-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();
|
|
@@ -372,7 +372,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
372
372
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
373
373
|
this.previous();
|
|
374
374
|
this.unblockAutoplay(e, this.previousButton);
|
|
375
|
-
} : null}"><slot name="previous-icon"><sd-4-2-
|
|
375
|
+
} : null}"><slot name="previous-icon"><sd-4-2-3-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-4-2-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) => {
|
|
376
376
|
const isActive = index + 1 === currentPage;
|
|
377
377
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
378
378
|
"carousel__pagination-item",
|
|
@@ -395,7 +395,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
395
395
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
396
396
|
this.next();
|
|
397
397
|
this.unblockAutoplay(e, this.nextButton);
|
|
398
|
-
} : null}"><slot name="next-icon"><sd-4-2-
|
|
398
|
+
} : null}"><slot name="next-icon"><sd-4-2-3-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-4-2-3-icon></slot></button></div><button class="${cx(
|
|
399
399
|
"ml-6 !rounded-sm",
|
|
400
400
|
"!absolute !right-0 sd-interactive",
|
|
401
401
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -405,12 +405,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
405
405
|
if (e.detail) {
|
|
406
406
|
this.autoplayControls.blur();
|
|
407
407
|
}
|
|
408
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-2-
|
|
408
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-2-3-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-2-3-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-4-2-3-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-2-3-icon></slot></button></div></div>`;
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
SdCarousel.styles = [
|
|
412
412
|
...SolidElement.styles,
|
|
413
|
-
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-2-
|
|
413
|
+
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-2-3-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
414
414
|
];
|
|
415
415
|
__decorateClass([
|
|
416
416
|
query('[part~="autoplay-controls"]')
|
|
@@ -477,7 +477,7 @@ __decorateClass([
|
|
|
477
477
|
watch("autoplay")
|
|
478
478
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
479
479
|
SdCarousel = __decorateClass([
|
|
480
|
-
customElement("sd-4-2-
|
|
480
|
+
customElement("sd-4-2-3-carousel")
|
|
481
481
|
], SdCarousel);
|
|
482
482
|
|
|
483
483
|
export {
|
|
@@ -25,7 +25,7 @@ SdCarouselItem.styles = [
|
|
|
25
25
|
css`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`
|
|
26
26
|
];
|
|
27
27
|
SdCarouselItem = __decorateClass([
|
|
28
|
-
customElement("sd-4-2-
|
|
28
|
+
customElement("sd-4-2-3-carousel-item")
|
|
29
29
|
], SdCarouselItem);
|
|
30
30
|
|
|
31
31
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-4-2-
|
|
74
|
+
"sd-4-2-3-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
127
127
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
128
128
|
SdRadio = __decorateClass([
|
|
129
|
-
customElement("sd-4-2-
|
|
129
|
+
customElement("sd-4-2-3-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -85,7 +85,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
85
85
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
86
86
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
87
87
|
}[this.frontVariant]
|
|
88
|
-
)}"></div><sd-4-2-
|
|
88
|
+
)}"></div><sd-4-2-3-button part="front-button" size="md" variant="${{
|
|
89
89
|
primary: "tertiary",
|
|
90
90
|
"primary-100": "tertiary",
|
|
91
91
|
"gradient-light": "primary",
|
|
@@ -95,7 +95,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
95
95
|
"primary-100": false,
|
|
96
96
|
"gradient-light": true,
|
|
97
97
|
"gradient-dark": true
|
|
98
|
-
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-2-
|
|
98
|
+
}[this.frontVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipFront}" @keydown="${this.handleFrontKeydown}"><sd-4-2-3-icon library="system" name="reload" label="Flip to Back"></sd-4-2-3-icon></sd-4-2-3-button></div><div part="back" tabindex="0" aria-hidden="${this.activeSide === "front"}" inert="${ifDefined(this.activeSide === "front" || void 0)}" class="${cx(
|
|
99
99
|
"flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out",
|
|
100
100
|
"flex focus-visible:focus-outline",
|
|
101
101
|
"absolute top-0 left-0 w-full h-full justify-end text-left",
|
|
@@ -128,7 +128,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
128
128
|
"gradient-light": this.placement === "top" ? "bg-gradient-to-b from-white/60 to-white/0 mb-auto" : "bg-gradient-to-t from-white/60 to-white/0 mt-auto",
|
|
129
129
|
"gradient-dark": this.placement === "bottom" ? "bg-gradient-to-t from-primary-800/60 to-primary-800/0 mt-auto" : "bg-gradient-to-b from-primary-800/60 to-primary-800/0 mb-auto"
|
|
130
130
|
}[this.backVariant]
|
|
131
|
-
)}"></div><sd-4-2-
|
|
131
|
+
)}"></div><sd-4-2-3-button size="md" part="back-button" variant="${{
|
|
132
132
|
primary: "tertiary",
|
|
133
133
|
"primary-100": "tertiary",
|
|
134
134
|
"gradient-light": "primary",
|
|
@@ -138,7 +138,7 @@ var SdFlipcard = class extends SolidElement {
|
|
|
138
138
|
"primary-100": false,
|
|
139
139
|
"gradient-light": true,
|
|
140
140
|
"gradient-dark": true
|
|
141
|
-
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-2-
|
|
141
|
+
}[this.backVariant]}" class="${cx("absolute right-0 p-2 flex-shrink-0", this.placement === "top" ? "bottom-0" : "top-0")}" @click="${this.flipBack}" @keydown="${this.handleBackKeydown}"><sd-4-2-3-icon library="system" name="reload" label="Flip to Front"></sd-4-2-3-icon></sd-4-2-3-button></div></div>`;
|
|
142
142
|
}
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
@@ -170,7 +170,7 @@ __decorateClass([
|
|
|
170
170
|
state()
|
|
171
171
|
], SdFlipcard.prototype, "activeSide", 2);
|
|
172
172
|
SdFlipcard = __decorateClass([
|
|
173
|
-
customElement("sd-4-2-
|
|
173
|
+
customElement("sd-4-2-3-flipcard")
|
|
174
174
|
], SdFlipcard);
|
|
175
175
|
|
|
176
176
|
export {
|