@solid-design-system/components 4.2.2 → 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.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.CF4RVCLN.js → chunk.L53H4NRS.js} +1 -1
- 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.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.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 +1 -1
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.iife.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- 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.CF4RVCLN.js → chunk.L53H4NRS.js} +1 -1
- 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.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 +1 -1
- 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 +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.UWKWJ6WX.js → chunk.XQ7I46XG.js} +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +1 -1
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.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.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.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.UTL7JKFI.js +6 -6
- 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-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/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/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +10 -10
- package/cdn/chunks/chunk.FG4AYCVI.js +0 -1
- package/cdn-versioned/chunks/chunk.FG4AYCVI.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
|
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
const whenAllDefined = Promise.all([
|
|
32
|
-
customElements.whenDefined("sd-4-2-
|
|
33
|
-
customElements.whenDefined("sd-4-2-
|
|
32
|
+
customElements.whenDefined("sd-4-2-3-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-2-3-tab-panel")
|
|
34
34
|
]);
|
|
35
35
|
super.connectedCallback();
|
|
36
36
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -71,19 +71,19 @@ var SdTabGroup = class extends SolidElement {
|
|
|
71
71
|
getAllTabs(options = { includeDisabled: true }) {
|
|
72
72
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
73
73
|
return [...slot.assignedElements()].filter((el) => {
|
|
74
|
-
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-2-
|
|
74
|
+
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-2-3-tab" : el.tagName.toLowerCase() === "sd-4-2-3-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-2-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-2-3-tab-panel");
|
|
79
79
|
}
|
|
80
80
|
getActiveTab() {
|
|
81
81
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
84
|
const target = event.target;
|
|
85
|
-
const tab = target.closest("sd-4-2-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-2-
|
|
85
|
+
const tab = target.closest("sd-4-2-3-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-2-3-tab-group");
|
|
87
87
|
if (tabGroup !== this) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
93
93
|
}
|
|
94
94
|
handleKeyDown(event) {
|
|
95
95
|
const target = event.target;
|
|
96
|
-
const tab = target.closest("sd-4-2-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-2-
|
|
96
|
+
const tab = target.closest("sd-4-2-3-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-2-3-tab-group");
|
|
98
98
|
if (tabGroup !== this) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
119
119
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
120
120
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
121
121
|
const isRtl = this.localize.dir() === "rtl";
|
|
122
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-2-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-2-3-tab") {
|
|
123
123
|
let index = this.tabs.indexOf(activeEl);
|
|
124
124
|
if (event.key === "Home") {
|
|
125
125
|
index = 0;
|
|
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
|
|
|
215
215
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
216
216
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
217
217
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
218
|
-
)}" @click="${this.handleScrollToStart}"><sd-4-2-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-2-3-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-2-3-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
219
219
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
220
220
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
221
|
-
)}" @click="${this.handleScrollToEnd}"><sd-4-2-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-2-3-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-2-3-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
SdTabGroup.styles = [
|
|
225
225
|
...SolidElement.styles,
|
|
226
|
-
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-2-
|
|
226
|
+
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-2-3-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-2-3-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property()
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-4-2-
|
|
247
|
+
customElement("sd-4-2-3-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|
|
@@ -142,7 +142,7 @@ var SdAccordion = class extends SolidElement {
|
|
|
142
142
|
)}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
143
143
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",
|
|
144
144
|
this.open && "rotate-180"
|
|
145
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-2-
|
|
145
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-2-3-icon library="system" name="chevron-down"></sd-4-2-3-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-4-2-3-icon library="system" name="chevron-down"></sd-4-2-3-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
SdAccordion.styles = [
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch("open", { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
|
170
170
|
SdAccordion = __decorateClass([
|
|
171
|
-
customElement("sd-4-2-
|
|
171
|
+
customElement("sd-4-2-3-accordion")
|
|
172
172
|
], SdAccordion);
|
|
173
173
|
setDefaultAnimation("accordion.show", {
|
|
174
174
|
keyframes: [
|
|
@@ -81,7 +81,7 @@ var SdStep = class extends SolidElement {
|
|
|
81
81
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
82
82
|
this.notInteractive && "text-primary",
|
|
83
83
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
84
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-2-
|
|
84
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-2-3-icon name="status-check" library="system"></sd-4-2-3-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
85
85
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
86
86
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
87
87
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -131,7 +131,7 @@ __decorateClass([
|
|
|
131
131
|
watch("notInteractive")
|
|
132
132
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
133
133
|
SdStep = __decorateClass([
|
|
134
|
-
customElement("sd-4-2-
|
|
134
|
+
customElement("sd-4-2-3-step")
|
|
135
135
|
], SdStep);
|
|
136
136
|
|
|
137
137
|
export {
|
|
@@ -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: [
|