@solid-design-system/components 4.1.3 → 4.2.1
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.SHG24SQN.js → chunk.23IKXZVG.js} +1 -1
- package/cdn/chunks/{chunk.BMK7S33Z.js → chunk.2BWXU745.js} +1 -1
- package/cdn/chunks/{chunk.GZX2TQ72.js → chunk.2PA3FZXS.js} +1 -1
- package/cdn/chunks/chunk.4IFORLFN.js +11 -0
- package/cdn/chunks/{chunk.6XHUCAAC.js → chunk.6AT7QBRE.js} +1 -1
- package/cdn/chunks/{chunk.U5N3R2IH.js → chunk.6ZV2UB2R.js} +1 -1
- package/cdn/chunks/{chunk.JIQYEO5H.js → chunk.7CKFXHTE.js} +1 -1
- package/cdn/chunks/{chunk.HOPUF2NO.js → chunk.7SQQCKX5.js} +1 -1
- package/cdn/chunks/{chunk.WADGCWRK.js → chunk.7UYAPC2H.js} +1 -1
- package/cdn/chunks/{chunk.SLG7HZIX.js → chunk.AURWAJH2.js} +1 -1
- package/cdn/chunks/{chunk.6T7GTYS5.js → chunk.AXTP2V5W.js} +1 -1
- package/cdn/chunks/chunk.AZ5UMKBM.js +1 -0
- package/cdn/chunks/{chunk.YUUAUQGB.js → chunk.B4OSWTH3.js} +1 -1
- package/cdn/chunks/{chunk.FKSOUA55.js → chunk.CAWYHBD5.js} +1 -1
- package/cdn/chunks/{chunk.NKZYONVL.js → chunk.CBUVQPJ2.js} +1 -1
- package/cdn/chunks/{chunk.HUSKVVWH.js → chunk.CJNJKNFE.js} +1 -1
- package/cdn/chunks/{chunk.HKKRMPWF.js → chunk.CSTIFOAP.js} +1 -1
- package/cdn/chunks/chunk.CYH3PCNG.js +1 -0
- package/cdn/chunks/{chunk.6DTJTQ5Z.js → chunk.D6M4QQEX.js} +1 -1
- package/cdn/chunks/chunk.FG4AYCVI.js +1 -0
- package/cdn/chunks/{chunk.VYV6SKST.js → chunk.FKNSLPX6.js} +1 -1
- package/cdn/chunks/{chunk.IEKWHYZC.js → chunk.GS3QL2OV.js} +1 -1
- package/cdn/chunks/{chunk.SJ2JO4KS.js → chunk.IEPFDM4R.js} +1 -1
- package/cdn/chunks/{chunk.G7CN4YKD.js → chunk.IHS6YCNW.js} +1 -1
- package/cdn/chunks/{chunk.MBU5RGYE.js → chunk.KME2AZKV.js} +1 -1
- package/cdn/chunks/chunk.LRCDXHQL.js +10 -0
- package/cdn/chunks/chunk.LS53PDIU.js +11 -0
- package/cdn/chunks/{chunk.PHRAQBQ7.js → chunk.M37NO2OL.js} +1 -1
- package/cdn/chunks/{chunk.UBO6O4CS.js → chunk.M56AX2NQ.js} +1 -1
- package/cdn/chunks/chunk.MLIJR3PY.js +1 -0
- package/cdn/chunks/{chunk.WHVHHDB5.js → chunk.NMHMV2IL.js} +1 -1
- package/cdn/chunks/chunk.PGNO6HV2.js +1 -0
- package/cdn/chunks/{chunk.YFWVU3XM.js → chunk.Q5XVXRF6.js} +1 -1
- package/cdn/chunks/{chunk.3EINSGT6.js → chunk.QB6ZZCNC.js} +1 -1
- package/cdn/chunks/{chunk.ZYWB4GHH.js → chunk.QC2KZSKL.js} +1 -1
- package/cdn/chunks/{chunk.24UCPBFE.js → chunk.QQCSHGCT.js} +1 -1
- package/cdn/chunks/{chunk.EJKLI2Q4.js → chunk.SLT75PJ7.js} +1 -1
- package/cdn/chunks/chunk.SRHKA7HE.js +1 -0
- package/cdn/chunks/{chunk.PMI5K2Z2.js → chunk.SZMORTHB.js} +1 -1
- package/cdn/chunks/{chunk.QWPCVRMH.js → chunk.TW2X7LLC.js} +1 -1
- package/cdn/chunks/{chunk.KW5L4FQ6.js → chunk.UI7L6PX5.js} +1 -1
- package/cdn/chunks/{chunk.ZYKWHR4L.js → chunk.UNKFWGH5.js} +1 -1
- package/cdn/chunks/chunk.UXYQTHQP.js +1 -0
- package/cdn/chunks/chunk.VOS6ZTYL.js +1 -0
- package/cdn/chunks/{chunk.GQU4LYQ6.js → chunk.VVV2SCQ6.js} +1 -1
- package/cdn/chunks/{chunk.BU5EDIFK.js → chunk.W72MLMOE.js} +1 -1
- package/cdn/chunks/{chunk.SWUGEKNC.js → chunk.X77YGX4O.js} +1 -1
- package/cdn/chunks/{chunk.GQIUJUD4.js → chunk.XL3BUCUU.js} +1 -1
- package/cdn/chunks/chunk.YEIAYEJG.js +11 -0
- package/cdn/chunks/{chunk.SNCCOKIM.js → chunk.ZZFQQH27.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.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.d.ts +1 -0
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +1 -0
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +1 -0
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +1 -0
- 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/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.d.ts +1 -0
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.d.ts +2 -0
- 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.d.ts +1 -0
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.d.ts +1 -0
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +1 -0
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.d.ts +1 -0
- 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.d.ts +1 -0
- 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 +226 -1
- package/cdn/solid-components.bundle.js +24 -40
- package/cdn/solid-components.iife.js +24 -40
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +57 -2
- package/cdn/web-types.json +121 -3
- 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.SHG24SQN.js → chunk.23IKXZVG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BMK7S33Z.js → chunk.2BWXU745.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GZX2TQ72.js → chunk.2PA3FZXS.js} +1 -1
- package/cdn-versioned/chunks/chunk.4IFORLFN.js +11 -0
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.6XHUCAAC.js → chunk.6AT7QBRE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.U5N3R2IH.js → chunk.6ZV2UB2R.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JIQYEO5H.js → chunk.7CKFXHTE.js} +4 -4
- package/cdn-versioned/chunks/{chunk.HOPUF2NO.js → chunk.7SQQCKX5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WADGCWRK.js → chunk.7UYAPC2H.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SLG7HZIX.js → chunk.AURWAJH2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6T7GTYS5.js → chunk.AXTP2V5W.js} +1 -1
- package/cdn-versioned/chunks/chunk.AZ5UMKBM.js +1 -0
- package/cdn-versioned/chunks/{chunk.YUUAUQGB.js → chunk.B4OSWTH3.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FKSOUA55.js → chunk.CAWYHBD5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NKZYONVL.js → chunk.CBUVQPJ2.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.HUSKVVWH.js → chunk.CJNJKNFE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HKKRMPWF.js → chunk.CSTIFOAP.js} +1 -1
- package/cdn-versioned/chunks/chunk.CYH3PCNG.js +1 -0
- package/cdn-versioned/chunks/{chunk.6DTJTQ5Z.js → chunk.D6M4QQEX.js} +1 -1
- package/cdn-versioned/chunks/chunk.FG4AYCVI.js +1 -0
- package/cdn-versioned/chunks/{chunk.VYV6SKST.js → chunk.FKNSLPX6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IEKWHYZC.js → chunk.GS3QL2OV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SJ2JO4KS.js → chunk.IEPFDM4R.js} +1 -1
- package/cdn-versioned/chunks/{chunk.G7CN4YKD.js → chunk.IHS6YCNW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MBU5RGYE.js → chunk.KME2AZKV.js} +1 -1
- package/cdn-versioned/chunks/chunk.LRCDXHQL.js +10 -0
- package/cdn-versioned/chunks/chunk.LS53PDIU.js +11 -0
- package/cdn-versioned/chunks/{chunk.PHRAQBQ7.js → chunk.M37NO2OL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UBO6O4CS.js → chunk.M56AX2NQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.MLIJR3PY.js +1 -0
- package/cdn-versioned/chunks/{chunk.WHVHHDB5.js → chunk.NMHMV2IL.js} +2 -2
- package/cdn-versioned/chunks/chunk.PGNO6HV2.js +1 -0
- package/cdn-versioned/chunks/{chunk.YFWVU3XM.js → chunk.Q5XVXRF6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3EINSGT6.js → chunk.QB6ZZCNC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZYWB4GHH.js → chunk.QC2KZSKL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.24UCPBFE.js → chunk.QQCSHGCT.js} +2 -2
- package/cdn-versioned/chunks/{chunk.EJKLI2Q4.js → chunk.SLT75PJ7.js} +1 -1
- package/cdn-versioned/chunks/chunk.SRHKA7HE.js +1 -0
- package/cdn-versioned/chunks/{chunk.PMI5K2Z2.js → chunk.SZMORTHB.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QWPCVRMH.js → chunk.TW2X7LLC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KW5L4FQ6.js → chunk.UI7L6PX5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZYKWHR4L.js → chunk.UNKFWGH5.js} +1 -1
- package/cdn-versioned/chunks/chunk.UXYQTHQP.js +1 -0
- package/cdn-versioned/chunks/chunk.VOS6ZTYL.js +1 -0
- package/cdn-versioned/chunks/chunk.VVV2SCQ6.js +73 -0
- package/cdn-versioned/chunks/{chunk.BU5EDIFK.js → chunk.W72MLMOE.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.SWUGEKNC.js → chunk.X77YGX4O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GQIUJUD4.js → chunk.XL3BUCUU.js} +1 -1
- package/cdn-versioned/chunks/chunk.YEIAYEJG.js +11 -0
- package/cdn-versioned/chunks/{chunk.SNCCOKIM.js → 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/animation/animation.js +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 +2 -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/button-group/button-group.js +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/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +2 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +2 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +5 -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/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +2 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +3 -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 +2 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +2 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +3 -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 +5 -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 +2 -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 +427 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +26 -42
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +26 -42
- 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 +135 -80
- package/cdn-versioned/web-types.json +255 -137
- package/dist/chunks/{chunk.UZKLVMCI.js → chunk.33QCSKQD.js} +1 -1
- package/dist/chunks/{chunk.ACST636J.js → chunk.5U42A4N2.js} +1 -1
- package/dist/chunks/{chunk.H5ARRBLT.js → chunk.65GBG62N.js} +1 -1
- package/dist/chunks/{chunk.4SBQOWLU.js → chunk.6Q2FPQCD.js} +9 -3
- package/{dist-versioned/chunks/chunk.RSPK767T.js → dist/chunks/chunk.AEYAUOW5.js} +16 -7
- package/dist/chunks/{chunk.7E7C4YEQ.js → chunk.AQOV7CSX.js} +2 -2
- package/dist/chunks/{chunk.DPY2TYIS.js → chunk.DKDBS6OJ.js} +1 -1
- package/dist/chunks/{chunk.F63YFNZS.js → chunk.DQPMDZDZ.js} +1 -1
- package/dist/chunks/{chunk.YG3WOAEO.js → chunk.F27JSEQZ.js} +1 -1
- package/dist/chunks/{chunk.BTJACUD5.js → chunk.F2TZ6DNQ.js} +20 -15
- package/dist/chunks/{chunk.SNCHAQYL.js → chunk.FG4KLSVA.js} +16 -25
- package/dist/chunks/{chunk.EH2FHVPN.js → chunk.GEIIXN6O.js} +1 -1
- package/dist/chunks/{chunk.PRXP5CUW.js → chunk.GXOBJN4Z.js} +2 -2
- package/dist/chunks/{chunk.AKF4KQEW.js → chunk.I44BFH6N.js} +1 -1
- package/dist/chunks/{chunk.5PTDC66T.js → chunk.I6LLIF3A.js} +1 -1
- package/dist/chunks/{chunk.4Q7KKH5Z.js → chunk.IHJUIKE5.js} +1 -1
- package/dist/chunks/{chunk.OR7JTZLE.js → chunk.IHKHCZDI.js} +12 -6
- package/dist/chunks/{chunk.QUYKT56M.js → chunk.JCZYHLLG.js} +1 -1
- package/dist/chunks/{chunk.I5ZJV32M.js → chunk.LM7G2MP2.js} +1 -1
- package/dist/chunks/{chunk.FTXUZOXH.js → chunk.LT6DJYQW.js} +1 -1
- package/dist/chunks/{chunk.XKJR2XUZ.js → chunk.LTMUP2IF.js} +1 -1
- package/dist/chunks/{chunk.HFHUY7YD.js → chunk.M4CPDAKC.js} +1 -1
- package/dist/chunks/{chunk.AQZSZKBJ.js → chunk.MM7UZ56N.js} +1 -1
- package/dist/chunks/{chunk.FFKZQXJ2.js → chunk.MPC4NJ7T.js} +1 -1
- package/dist/chunks/{chunk.DU3O42BH.js → chunk.MUTJR3Y5.js} +1 -1
- package/dist/chunks/{chunk.OMBVLHXJ.js → chunk.NKQ5TMZU.js} +1 -1
- package/dist/chunks/{chunk.5FOKRIWL.js → chunk.NVGI6WK4.js} +19 -9
- package/dist/chunks/{chunk.D3I3AZEX.js → chunk.NXMLWQ4F.js} +13 -7
- package/dist/chunks/{chunk.XOL74PNU.js → chunk.OED6NJWG.js} +34 -16
- package/dist/chunks/{chunk.JZB2D4IZ.js → chunk.OVXTOIRH.js} +1 -1
- package/dist/chunks/{chunk.2FXKQI26.js → chunk.PHOL2FZ7.js} +1 -1
- package/dist/chunks/{chunk.VTUCPGYW.js → chunk.PY2NXO6G.js} +1 -1
- package/dist/chunks/{chunk.KH4M6HPE.js → chunk.Q2OO67VT.js} +1 -1
- package/dist/chunks/{chunk.274HT4QS.js → chunk.QINFB4CI.js} +1 -1
- package/dist/chunks/{chunk.CCQCEONR.js → chunk.R7F4MWPK.js} +3 -3
- package/dist/chunks/{chunk.D26WCHLT.js → chunk.SL7UXNEP.js} +2 -2
- package/dist/chunks/{chunk.AJ7V76EG.js → chunk.SUVILVZH.js} +1 -1
- package/dist/chunks/{chunk.674S2Z6M.js → chunk.TA2OGXIC.js} +1 -1
- package/dist/chunks/{chunk.NUIZDE7R.js → chunk.THT3CJM5.js} +1 -1
- package/dist/chunks/{chunk.TGJ2SBPH.js → chunk.TLTEUGRS.js} +1 -1
- package/dist/chunks/{chunk.A625ONY2.js → chunk.UEKILTQF.js} +13 -9
- package/dist/chunks/{chunk.JIWTAZZS.js → chunk.UGILZRQF.js} +1 -1
- package/dist/chunks/{chunk.A5S7GZJI.js → chunk.UWKWJ6WX.js} +22 -12
- package/dist/chunks/{chunk.OBWOMZNU.js → chunk.V27Y42MG.js} +17 -5
- package/dist/chunks/{chunk.OZU372TI.js → chunk.VAA7NUXP.js} +1 -1
- package/dist/chunks/{chunk.QTFIZJGB.js → chunk.VYPTEJCW.js} +1 -1
- package/dist/chunks/{chunk.H5BDO4H5.js → chunk.WZK6B3UV.js} +1 -1
- package/dist/chunks/{chunk.PT7MDSWH.js → chunk.X27M4U7I.js} +1 -1
- package/dist/chunks/{chunk.XL2PSGM5.js → chunk.XS43N4DL.js} +1 -1
- package/dist/chunks/{chunk.LZA2QYUU.js → chunk.YHVAW367.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.d.ts +1 -0
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -0
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.d.ts +1 -0
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +5 -5
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.d.ts +1 -0
- package/dist/components/input/input.js +3 -3
- package/dist/components/link/link.d.ts +2 -0
- package/dist/components/link/link.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.d.ts +1 -0
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.d.ts +1 -0
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.d.ts +1 -0
- package/dist/components/select/select.js +5 -5
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +2 -2
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.d.ts +1 -0
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/components/video/video.js +2 -2
- package/dist/custom-elements.json +226 -1
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/vscode.html-custom-data.json +57 -2
- package/dist/web-types.json +121 -3
- 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.UZKLVMCI.js → chunk.33QCSKQD.js} +2 -2
- package/dist-versioned/chunks/{chunk.ACST636J.js → chunk.5U42A4N2.js} +2 -2
- package/dist-versioned/chunks/{chunk.H5ARRBLT.js → chunk.65GBG62N.js} +3 -3
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.4SBQOWLU.js → chunk.6Q2FPQCD.js} +14 -8
- package/{dist/chunks/chunk.RSPK767T.js → dist-versioned/chunks/chunk.AEYAUOW5.js} +16 -7
- package/dist-versioned/chunks/{chunk.7E7C4YEQ.js → chunk.AQOV7CSX.js} +5 -5
- package/dist-versioned/chunks/{chunk.DPY2TYIS.js → chunk.DKDBS6OJ.js} +10 -10
- package/dist-versioned/chunks/{chunk.F63YFNZS.js → chunk.DQPMDZDZ.js} +6 -6
- package/dist-versioned/chunks/{chunk.YG3WOAEO.js → chunk.F27JSEQZ.js} +6 -6
- package/dist-versioned/chunks/{chunk.BTJACUD5.js → chunk.F2TZ6DNQ.js} +48 -43
- package/dist-versioned/chunks/{chunk.SNCHAQYL.js → chunk.FG4KLSVA.js} +20 -29
- package/dist-versioned/chunks/{chunk.EH2FHVPN.js → chunk.GEIIXN6O.js} +4 -4
- package/dist-versioned/chunks/{chunk.PRXP5CUW.js → chunk.GXOBJN4Z.js} +7 -7
- package/dist-versioned/chunks/{chunk.AKF4KQEW.js → chunk.I44BFH6N.js} +3 -3
- package/dist-versioned/chunks/{chunk.5PTDC66T.js → chunk.I6LLIF3A.js} +6 -6
- package/dist-versioned/chunks/{chunk.4Q7KKH5Z.js → chunk.IHJUIKE5.js} +3 -3
- package/dist-versioned/chunks/{chunk.OR7JTZLE.js → chunk.IHKHCZDI.js} +14 -8
- package/dist-versioned/chunks/{chunk.QUYKT56M.js → chunk.JCZYHLLG.js} +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.I5ZJV32M.js → chunk.LM7G2MP2.js} +2 -2
- package/dist-versioned/chunks/{chunk.FTXUZOXH.js → chunk.LT6DJYQW.js} +3 -3
- package/dist-versioned/chunks/{chunk.XKJR2XUZ.js → chunk.LTMUP2IF.js} +2 -2
- package/dist-versioned/chunks/chunk.M4CPDAKC.js +65 -0
- package/dist-versioned/chunks/{chunk.AQZSZKBJ.js → chunk.MM7UZ56N.js} +14 -14
- package/dist-versioned/chunks/{chunk.FFKZQXJ2.js → chunk.MPC4NJ7T.js} +3 -3
- package/dist-versioned/chunks/{chunk.DU3O42BH.js → chunk.MUTJR3Y5.js} +3 -3
- package/dist-versioned/chunks/{chunk.OMBVLHXJ.js → chunk.NKQ5TMZU.js} +2 -2
- package/dist-versioned/chunks/{chunk.5FOKRIWL.js → chunk.NVGI6WK4.js} +20 -10
- package/dist-versioned/chunks/{chunk.D3I3AZEX.js → chunk.NXMLWQ4F.js} +25 -19
- package/dist-versioned/chunks/{chunk.XOL74PNU.js → chunk.OED6NJWG.js} +59 -41
- package/dist-versioned/chunks/{chunk.JZB2D4IZ.js → chunk.OVXTOIRH.js} +2 -2
- package/dist-versioned/chunks/{chunk.2FXKQI26.js → chunk.PHOL2FZ7.js} +3 -3
- package/dist-versioned/chunks/{chunk.VTUCPGYW.js → chunk.PY2NXO6G.js} +2 -2
- package/dist-versioned/chunks/{chunk.KH4M6HPE.js → chunk.Q2OO67VT.js} +3 -3
- package/dist-versioned/chunks/{chunk.274HT4QS.js → chunk.QINFB4CI.js} +4 -4
- package/dist-versioned/chunks/{chunk.CCQCEONR.js → chunk.R7F4MWPK.js} +5 -5
- package/dist-versioned/chunks/{chunk.D26WCHLT.js → chunk.SL7UXNEP.js} +8 -8
- package/dist-versioned/chunks/{chunk.AJ7V76EG.js → chunk.SUVILVZH.js} +2 -2
- package/dist-versioned/chunks/{chunk.674S2Z6M.js → chunk.TA2OGXIC.js} +2 -2
- package/dist-versioned/chunks/{chunk.NUIZDE7R.js → chunk.THT3CJM5.js} +2 -2
- package/dist-versioned/chunks/{chunk.TGJ2SBPH.js → chunk.TLTEUGRS.js} +7 -7
- package/dist-versioned/chunks/{chunk.A625ONY2.js → chunk.UEKILTQF.js} +15 -11
- package/dist-versioned/chunks/{chunk.JIWTAZZS.js → chunk.UGILZRQF.js} +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.A5S7GZJI.js → chunk.UWKWJ6WX.js} +25 -15
- package/dist-versioned/chunks/{chunk.OBWOMZNU.js → chunk.V27Y42MG.js} +19 -7
- package/dist-versioned/chunks/{chunk.OZU372TI.js → chunk.VAA7NUXP.js} +3 -3
- package/dist-versioned/chunks/{chunk.QTFIZJGB.js → chunk.VYPTEJCW.js} +3 -3
- package/dist-versioned/chunks/{chunk.H5BDO4H5.js → chunk.WZK6B3UV.js} +12 -12
- package/dist-versioned/chunks/{chunk.PT7MDSWH.js → chunk.X27M4U7I.js} +2 -2
- package/dist-versioned/chunks/{chunk.XL2PSGM5.js → chunk.XS43N4DL.js} +3 -3
- package/dist-versioned/chunks/{chunk.LZA2QYUU.js → chunk.YHVAW367.js} +2 -2
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +2 -2
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/button/button.d.ts +2 -1
- package/dist-versioned/components/button/button.js +3 -3
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +2 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +2 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +5 -4
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +5 -5
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +5 -5
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- 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 +5 -5
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +2 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +3 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +2 -2
- 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/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +2 -1
- package/dist-versioned/components/radio/radio.js +3 -3
- package/dist-versioned/components/radio-button/radio-button.d.ts +2 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +3 -2
- package/dist-versioned/components/radio-group/radio-group.js +5 -5
- 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 +5 -4
- package/dist-versioned/components/select/select.js +5 -5
- 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/step.js +2 -2
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- 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/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +2 -2
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +2 -1
- package/dist-versioned/components/textarea/textarea.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +3 -3
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +2 -2
- package/dist-versioned/custom-elements.json +427 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +50 -50
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +135 -80
- package/dist-versioned/web-types.json +255 -137
- package/package.json +3 -3
- package/cdn/chunks/chunk.2BINANVD.js +0 -11
- package/cdn/chunks/chunk.2POHB7E4.js +0 -1
- package/cdn/chunks/chunk.DW5QL76L.js +0 -3
- package/cdn/chunks/chunk.HQYSQRUN.js +0 -1
- package/cdn/chunks/chunk.HTMZNSES.js +0 -11
- package/cdn/chunks/chunk.OPMM2RN5.js +0 -1
- package/cdn/chunks/chunk.OY3MT73P.js +0 -25
- package/cdn/chunks/chunk.RC2E2NPK.js +0 -1
- package/cdn/chunks/chunk.SIC7OWQL.js +0 -1
- package/cdn/chunks/chunk.SXH5LQRL.js +0 -1
- package/cdn/chunks/chunk.V3PPGMIL.js +0 -10
- package/cdn/chunks/chunk.YN6CIEPP.js +0 -1
- package/cdn-versioned/chunks/chunk.2BINANVD.js +0 -11
- package/cdn-versioned/chunks/chunk.2POHB7E4.js +0 -1
- package/cdn-versioned/chunks/chunk.DW5QL76L.js +0 -3
- package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +0 -73
- package/cdn-versioned/chunks/chunk.HQYSQRUN.js +0 -1
- package/cdn-versioned/chunks/chunk.HTMZNSES.js +0 -11
- package/cdn-versioned/chunks/chunk.OPMM2RN5.js +0 -1
- package/cdn-versioned/chunks/chunk.OY3MT73P.js +0 -25
- package/cdn-versioned/chunks/chunk.RC2E2NPK.js +0 -1
- package/cdn-versioned/chunks/chunk.SIC7OWQL.js +0 -1
- package/cdn-versioned/chunks/chunk.SXH5LQRL.js +0 -1
- package/cdn-versioned/chunks/chunk.V3PPGMIL.js +0 -10
- package/cdn-versioned/chunks/chunk.YN6CIEPP.js +0 -1
- package/dist-versioned/chunks/chunk.HFHUY7YD.js +0 -65
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.Q2OO67VT.js";
|
|
4
4
|
import {
|
|
5
5
|
SdPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.PY2NXO6G.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultValue
|
|
9
9
|
} from "./chunk.GI7VDIWX.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk.N4LHE3QK.js";
|
|
29
29
|
import {
|
|
30
30
|
SdIcon
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.33QCSKQD.js";
|
|
32
32
|
import {
|
|
33
33
|
animateTo,
|
|
34
34
|
stopAnimations
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
SolidElement,
|
|
50
50
|
customElement
|
|
51
|
-
} from "./chunk.
|
|
51
|
+
} from "./chunk.M4CPDAKC.js";
|
|
52
52
|
import {
|
|
53
53
|
__decorateClass
|
|
54
54
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -82,6 +82,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
82
82
|
this.placeholder = "";
|
|
83
83
|
this.maxOptionsTagLabel = "";
|
|
84
84
|
this.disabled = false;
|
|
85
|
+
this.visuallyDisabled = false;
|
|
85
86
|
this.clearable = false;
|
|
86
87
|
this.open = false;
|
|
87
88
|
this.hoist = false;
|
|
@@ -116,6 +117,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
116
117
|
}
|
|
117
118
|
};
|
|
118
119
|
this.handleDocumentKeyDown = (event) => {
|
|
120
|
+
if (this.visuallyDisabled) {
|
|
121
|
+
event.preventDefault();
|
|
122
|
+
event.stopPropagation();
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
119
125
|
const target = event.target;
|
|
120
126
|
const isClearButton = target.closest(".combobox__clear") !== null;
|
|
121
127
|
if (isClearButton) {
|
|
@@ -298,6 +304,9 @@ var SdCombobox = class extends SolidElement {
|
|
|
298
304
|
}
|
|
299
305
|
}
|
|
300
306
|
handleLabelClick() {
|
|
307
|
+
if (this.visuallyDisabled) {
|
|
308
|
+
return;
|
|
309
|
+
}
|
|
301
310
|
this.displayInput.focus();
|
|
302
311
|
}
|
|
303
312
|
handleTagRemove(event, option) {
|
|
@@ -316,6 +325,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
316
325
|
}
|
|
317
326
|
}
|
|
318
327
|
handleComboboxMouseDown(event) {
|
|
328
|
+
if (this.visuallyDisabled) {
|
|
329
|
+
event.preventDefault();
|
|
330
|
+
event.stopPropagation();
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
319
333
|
const path = event.composedPath();
|
|
320
334
|
const isRemovableIndicator = path.some((el) => el instanceof HTMLSlotElement && el.name === "removable-indicator");
|
|
321
335
|
if (this.disabled || isRemovableIndicator) {
|
|
@@ -597,7 +611,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
597
611
|
}
|
|
598
612
|
handleDisabledChange() {
|
|
599
613
|
this.formControlController.setValidity(this.disabled);
|
|
600
|
-
if (this.disabled) {
|
|
614
|
+
if (this.disabled || this.visuallyDisabled) {
|
|
601
615
|
this.open = false;
|
|
602
616
|
this.handleOpenChange();
|
|
603
617
|
}
|
|
@@ -614,7 +628,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
614
628
|
this.createComboboxOptionsFromQuery(this.displayInputValue);
|
|
615
629
|
}
|
|
616
630
|
async handleOpenChange() {
|
|
617
|
-
if (this.open && !this.disabled) {
|
|
631
|
+
if (this.open && (!this.disabled || !this.visuallyDisabled)) {
|
|
618
632
|
this.emit("sd-show");
|
|
619
633
|
this.addOpenListeners();
|
|
620
634
|
await stopAnimations(this);
|
|
@@ -640,7 +654,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
640
654
|
this.emit("sd-after-hide");
|
|
641
655
|
}
|
|
642
656
|
async show() {
|
|
643
|
-
if (this.open || this.disabled) {
|
|
657
|
+
if (this.open || this.disabled || this.visuallyDisabled) {
|
|
644
658
|
this.open = false;
|
|
645
659
|
return void 0;
|
|
646
660
|
}
|
|
@@ -744,10 +758,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
744
758
|
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
745
759
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
746
760
|
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
747
|
-
const hasClearIcon = this.clearable && !this.disabled;
|
|
748
|
-
const selectState = this.disabled ? "disabled" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus || this.open ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
|
749
|
-
const cursorStyles = this.disabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
750
|
-
const iconColor = this.disabled ? "text-neutral-500" : "text-primary";
|
|
761
|
+
const hasClearIcon = this.clearable && !this.disabled && !this.visuallyDisabled;
|
|
762
|
+
const selectState = this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus || this.open ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
|
763
|
+
const cursorStyles = this.disabled || this.visuallyDisabled ? "cursor-not-allowed" : "cursor-pointer";
|
|
764
|
+
const iconColor = this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary";
|
|
751
765
|
const iconMarginLeft = { sm: "ml-1", md: "ml-2", lg: "ml-2" }[this.size];
|
|
752
766
|
const iconMarginRight = { sm: "mr-1", md: "mr-2", lg: "mr-2" }[this.size];
|
|
753
767
|
const iconSize = {
|
|
@@ -762,9 +776,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
762
776
|
this.open && "z-50"
|
|
763
777
|
)}"><label id="label" part="form-control-label" class="${hasLabel && "inline-block mb-2"}" aria-hidden="${!hasLabel}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${cx(
|
|
764
778
|
"absolute top-0 w-full h-full pointer-events-none border rounded-default",
|
|
765
|
-
this.hasHover && "bg-neutral-200",
|
|
779
|
+
this.hasHover && !this.disabled && !this.visuallyDisabled && "bg-neutral-200",
|
|
766
780
|
{
|
|
767
781
|
disabled: "border-neutral-500",
|
|
782
|
+
visuallyDisabled: "border-neutral-500",
|
|
768
783
|
readonly: "border-neutral-800",
|
|
769
784
|
activeInvalid: "border-error border-2",
|
|
770
785
|
activeValid: "border-success border-2",
|
|
@@ -791,19 +806,19 @@ var SdCombobox = class extends SolidElement {
|
|
|
791
806
|
"appearance-none outline-none bg-transparent flex-auto min-w-0",
|
|
792
807
|
cursorStyles,
|
|
793
808
|
this.selectedTextLabel && !this.multiple ? "placeholder-black" : "placeholder-neutral-700"
|
|
794
|
-
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder || this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
809
|
+
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder || this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled || this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
795
810
|
"flex justify-center",
|
|
796
811
|
iconMarginLeft,
|
|
797
812
|
this.value.length > 0 ? "visible" : "invisible"
|
|
798
813
|
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" name="closing-round" library="system"></sd-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-icon>` : ""}<slot name="right" part="right" class="${cx(
|
|
799
814
|
"inline-flex ml-2 leading-[0]",
|
|
800
|
-
this.disabled ? "text-neutral-500" : "text-primary",
|
|
815
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
801
816
|
iconSize
|
|
802
817
|
)}"><sd-icon class="${cx("transition-all", this.open ? "rotate-180" : "rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
|
803
818
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
804
819
|
this.open && "shadow",
|
|
805
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"
|
|
806
|
-
)}" 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-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
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-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()}`;
|
|
807
822
|
}
|
|
808
823
|
};
|
|
809
824
|
SdCombobox.dependencies = {
|
|
@@ -898,6 +913,9 @@ __decorateClass([
|
|
|
898
913
|
__decorateClass([
|
|
899
914
|
property({ reflect: true, type: Boolean })
|
|
900
915
|
], SdCombobox.prototype, "disabled", 2);
|
|
916
|
+
__decorateClass([
|
|
917
|
+
property({ reflect: true, type: Boolean, attribute: "visually-disabled" })
|
|
918
|
+
], SdCombobox.prototype, "visuallyDisabled", 2);
|
|
901
919
|
__decorateClass([
|
|
902
920
|
property({ type: Boolean })
|
|
903
921
|
], SdCombobox.prototype, "clearable", 2);
|
|
@@ -956,7 +974,7 @@ __decorateClass([
|
|
|
956
974
|
watch("size", { waitUntilFirstUpdate: true })
|
|
957
975
|
], SdCombobox.prototype, "applySizeToOptions", 1);
|
|
958
976
|
__decorateClass([
|
|
959
|
-
watch("disabled", { waitUntilFirstUpdate: true })
|
|
977
|
+
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
960
978
|
], SdCombobox.prototype, "handleDisabledChange", 1);
|
|
961
979
|
__decorateClass([
|
|
962
980
|
watch("value", { waitUntilFirstUpdate: true })
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
SolidElement,
|
|
30
30
|
customElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.M4CPDAKC.js";
|
|
32
32
|
import {
|
|
33
33
|
__decorateClass
|
|
34
34
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -167,14 +167,14 @@ var SdDialog = class extends SolidElement {
|
|
|
167
167
|
"flex items-center justify-center fixed inset-0 z-dialog",
|
|
168
168
|
this.hasSlotController.test("footer") && "dialog--has-footer"
|
|
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
|
-
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",
|
|
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
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-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-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-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 = [
|
|
176
176
|
...SolidElement.styles,
|
|
177
|
-
css`:host{--width:662px}[part=panel]{width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`
|
|
177
|
+
css`:host{--width:662px}[part=panel]{max-height:80vh;width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`
|
|
178
178
|
];
|
|
179
179
|
__decorateClass([
|
|
180
180
|
query('[part="base"]')
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.2LMWBUBT.js";
|
|
7
7
|
import {
|
|
8
8
|
SdCarouselItem
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.THT3CJM5.js";
|
|
10
10
|
import {
|
|
11
11
|
prefersReducedMotion
|
|
12
12
|
} from "./chunk.EY4JPJJQ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.M4CPDAKC.js";
|
|
23
23
|
import {
|
|
24
24
|
__decorateClass
|
|
25
25
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.M4CPDAKC.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -20,6 +20,7 @@ var SdRadio = class extends SolidElement {
|
|
|
20
20
|
this.hasFocus = false;
|
|
21
21
|
this.size = "lg";
|
|
22
22
|
this.disabled = false;
|
|
23
|
+
this.visuallyDisabled = false;
|
|
23
24
|
this.invalid = false;
|
|
24
25
|
}
|
|
25
26
|
connectedCallback() {
|
|
@@ -48,7 +49,7 @@ var SdRadio = class extends SolidElement {
|
|
|
48
49
|
this.emit("sd-blur");
|
|
49
50
|
}
|
|
50
51
|
handleClick() {
|
|
51
|
-
if (!this.disabled) {
|
|
52
|
+
if (!this.disabled && !this.visuallyDisabled) {
|
|
52
53
|
this.checked = true;
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -59,7 +60,7 @@ var SdRadio = class extends SolidElement {
|
|
|
59
60
|
setInitialAttributes() {
|
|
60
61
|
this.setAttribute("role", "radio");
|
|
61
62
|
this.setAttribute("tabindex", "-1");
|
|
62
|
-
this.setAttribute("aria-disabled", this.disabled ? "true" : "false");
|
|
63
|
+
this.setAttribute("aria-disabled", this.disabled || this.visuallyDisabled ? "true" : "false");
|
|
63
64
|
}
|
|
64
65
|
handleCheckedChange() {
|
|
65
66
|
this.setAttribute("aria-checked", this.checked ? "true" : "false");
|
|
@@ -71,7 +72,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
72
|
render() {
|
|
72
73
|
return html`<span part="base" class="${cx(
|
|
73
74
|
"sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
74
|
-
this.disabled && "hover:cursor-not-allowed",
|
|
75
|
+
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
75
76
|
{
|
|
76
77
|
/* sizes, fonts */
|
|
77
78
|
sm: "small-size text-sm",
|
|
@@ -80,13 +81,13 @@ var SdRadio = class extends SolidElement {
|
|
|
80
81
|
}[this.size]
|
|
81
82
|
)}"><span part="${`${this.checked ? "control--checked" : "control--unchecked"}`}" class="${cx(
|
|
82
83
|
"flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",
|
|
83
|
-
this.disabled ? "border-neutral-500" : this.invalid ? "border-error hover:border-error-400 group-hover:border-error-400" : this.checked ? "border-accent hover:border-accent-550 group-hover:border-accent-550" : "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
84
|
+
this.disabled || this.visuallyDisabled ? "border-neutral-500" : this.invalid ? "border-error hover:border-error-400 group-hover:border-error-400" : this.checked ? "border-accent hover:border-accent-550 group-hover:border-accent-550" : "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200"
|
|
84
85
|
)}">${this.checked ? html`<span part="checked" class="${cx(
|
|
85
86
|
"rounded-full inline-flex text-white bg-accent h-2.5 w-2.5",
|
|
86
|
-
this.disabled ? "bg-neutral-500" : this.invalid ? "bg-error hover:bg-error-400 group-hover:bg-error-400" : this.checked ? "bg-accent hover:bg-accent-550 group-hover:bg-accent-550" : "bg-neutral-800"
|
|
87
|
+
this.disabled ? "bg-neutral-500" : this.visuallyDisabled ? "bg-white" : this.invalid ? "bg-error hover:bg-error-400 group-hover:bg-error-400" : this.checked ? "bg-accent hover:bg-accent-550 group-hover:bg-accent-550" : "bg-neutral-800"
|
|
87
88
|
)}"></span>` : ""}</span><slot part="label" class="${cx(
|
|
88
89
|
"ml-2 select-none inline-block",
|
|
89
|
-
this.disabled ? "text-neutral-500" : this.invalid ? "text-error" : "text-black"
|
|
90
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.invalid ? "text-error" : "text-black"
|
|
90
91
|
)}"></slot></span>`;
|
|
91
92
|
}
|
|
92
93
|
};
|
|
@@ -95,7 +96,7 @@ var SdRadio = class extends SolidElement {
|
|
|
95
96
|
*/
|
|
96
97
|
SdRadio.styles = [
|
|
97
98
|
...SolidElement.styles,
|
|
98
|
-
css`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`
|
|
99
|
+
css`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible),:host([visually-disabled]:focus-visible) [part=control--checked],:host([visually-disabled]:focus-visible) [part=control--unchecked]{outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}`
|
|
99
100
|
];
|
|
100
101
|
__decorateClass([
|
|
101
102
|
state()
|
|
@@ -109,6 +110,9 @@ __decorateClass([
|
|
|
109
110
|
__decorateClass([
|
|
110
111
|
property({ type: Boolean, reflect: true })
|
|
111
112
|
], SdRadio.prototype, "disabled", 2);
|
|
113
|
+
__decorateClass([
|
|
114
|
+
property({ type: Boolean, reflect: true, attribute: "visually-disabled" })
|
|
115
|
+
], SdRadio.prototype, "visuallyDisabled", 2);
|
|
112
116
|
__decorateClass([
|
|
113
117
|
property()
|
|
114
118
|
], SdRadio.prototype, "value", 2);
|
|
@@ -119,7 +123,7 @@ __decorateClass([
|
|
|
119
123
|
watch("checked")
|
|
120
124
|
], SdRadio.prototype, "handleCheckedChange", 1);
|
|
121
125
|
__decorateClass([
|
|
122
|
-
watch("disabled", { waitUntilFirstUpdate: true })
|
|
126
|
+
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
123
127
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
124
128
|
SdRadio = __decorateClass([
|
|
125
129
|
customElement("sd-radio")
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.M4CPDAKC.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -33,6 +33,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
33
33
|
this.name = "";
|
|
34
34
|
this.size = "lg";
|
|
35
35
|
this.disabled = false;
|
|
36
|
+
this.visuallyDisabled = false;
|
|
36
37
|
this.checked = false;
|
|
37
38
|
this.indeterminate = false;
|
|
38
39
|
this.defaultChecked = false;
|
|
@@ -47,7 +48,12 @@ var SdCheckbox = class extends SolidElement {
|
|
|
47
48
|
firstUpdated() {
|
|
48
49
|
this.formControlController.updateValidity();
|
|
49
50
|
}
|
|
50
|
-
handleClick() {
|
|
51
|
+
handleClick(event) {
|
|
52
|
+
if (this.visuallyDisabled) {
|
|
53
|
+
event.preventDefault();
|
|
54
|
+
event.stopPropagation();
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
51
57
|
this.checked = !this.checked;
|
|
52
58
|
this.indeterminate = false;
|
|
53
59
|
this.emit("sd-change");
|
|
@@ -67,8 +73,9 @@ var SdCheckbox = class extends SolidElement {
|
|
|
67
73
|
this.emit("sd-focus");
|
|
68
74
|
}
|
|
69
75
|
handleDisabledChange() {
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
76
|
+
const isDisabled = this.disabled || this.visuallyDisabled;
|
|
77
|
+
this.setAttribute("aria-disabled", isDisabled ? "true" : "false");
|
|
78
|
+
this.formControlController.setValidity(isDisabled);
|
|
72
79
|
}
|
|
73
80
|
handleStateChange() {
|
|
74
81
|
this.input.checked = this.checked;
|
|
@@ -109,20 +116,19 @@ var SdCheckbox = class extends SolidElement {
|
|
|
109
116
|
this.formControlController.updateValidity();
|
|
110
117
|
}
|
|
111
118
|
render() {
|
|
112
|
-
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
119
|
+
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
113
120
|
return html`<label part="base" class="${cx(
|
|
114
121
|
"sd-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
115
|
-
this.disabled && "hover:cursor-not-allowed",
|
|
122
|
+
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
116
123
|
{
|
|
117
124
|
/* sizes, fonts */
|
|
118
125
|
sm: "text-sm",
|
|
119
126
|
md: "text-base",
|
|
120
127
|
lg: "text-base"
|
|
121
128
|
}[this.size]
|
|
122
|
-
)}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${ifDefined(this.value)}" .indeterminate="${live(this.indeterminate)}" .checked="${live(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked ? "true" : "false"}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked ? " control--checked" : "control--unchecked"} ${this.indeterminate ? " control--indeterminate" : ""}" class="${cx(
|
|
123
|
-
`relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4
|
|
124
|
-
|
|
125
|
-
peer-focus-visible:outline-primary`,
|
|
129
|
+
)}"><input class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" title="${this.title}" name="${this.name}" value="${ifDefined(this.value)}" .indeterminate="${live(this.indeterminate)}" .checked="${live(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked ? "true" : "false"}" aria-describedby="invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked ? " control--checked" : "control--unchecked"} ${this.indeterminate ? " control--indeterminate" : ""}" class="${cx(
|
|
130
|
+
`relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4`,
|
|
131
|
+
!this.visuallyDisabled ? "peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-primary" : "",
|
|
126
132
|
{
|
|
127
133
|
sm: "mt-[2px]",
|
|
128
134
|
md: "mt-[3px]",
|
|
@@ -132,6 +138,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
132
138
|
disabledIndeterminate: "border-neutral-500 bg-neutral-500",
|
|
133
139
|
disabledChecked: "border-neutral-500 bg-neutral-500",
|
|
134
140
|
disabled: "border-neutral-500",
|
|
141
|
+
visuallyDisabled: "border-neutral-500",
|
|
135
142
|
invalidIndeterminate: "border-error bg-error group-hover:bg-error-400",
|
|
136
143
|
invalid: "border-error group-hover:bg-neutral-200",
|
|
137
144
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
@@ -139,7 +146,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
139
146
|
}[checkboxState]
|
|
140
147
|
)}">${this.checked ? html`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
141
148
|
"select-none inline-block ml-2",
|
|
142
|
-
this.disabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
149
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
143
150
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
144
151
|
}
|
|
145
152
|
};
|
|
@@ -171,6 +178,9 @@ __decorateClass([
|
|
|
171
178
|
__decorateClass([
|
|
172
179
|
property({ type: Boolean, reflect: true })
|
|
173
180
|
], SdCheckbox.prototype, "disabled", 2);
|
|
181
|
+
__decorateClass([
|
|
182
|
+
property({ type: Boolean, reflect: true, attribute: "visually-disabled" })
|
|
183
|
+
], SdCheckbox.prototype, "visuallyDisabled", 2);
|
|
174
184
|
__decorateClass([
|
|
175
185
|
property({ type: Boolean, reflect: true })
|
|
176
186
|
], SdCheckbox.prototype, "checked", 2);
|
|
@@ -190,7 +200,7 @@ __decorateClass([
|
|
|
190
200
|
state()
|
|
191
201
|
], SdCheckbox.prototype, "showInvalidStyle", 2);
|
|
192
202
|
__decorateClass([
|
|
193
|
-
watch("disabled", { waitUntilFirstUpdate: true })
|
|
203
|
+
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
194
204
|
], SdCheckbox.prototype, "handleDisabledChange", 1);
|
|
195
205
|
__decorateClass([
|
|
196
206
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.M4CPDAKC.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -22,6 +22,7 @@ var SdLink = class extends SolidElement {
|
|
|
22
22
|
this.size = "inherit";
|
|
23
23
|
this.inverted = false;
|
|
24
24
|
this.href = "";
|
|
25
|
+
this.visuallyDisabled = false;
|
|
25
26
|
}
|
|
26
27
|
handleBlur() {
|
|
27
28
|
this.emit("sd-blur");
|
|
@@ -29,6 +30,12 @@ var SdLink = class extends SolidElement {
|
|
|
29
30
|
handleFocus() {
|
|
30
31
|
this.emit("sd-focus");
|
|
31
32
|
}
|
|
33
|
+
handleClick(e) {
|
|
34
|
+
if (this.visuallyDisabled) {
|
|
35
|
+
e.preventDefault();
|
|
36
|
+
e.stopPropagation();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
32
39
|
/** Sets focus on the button. */
|
|
33
40
|
focus(options) {
|
|
34
41
|
this.button.focus(options);
|
|
@@ -45,7 +52,8 @@ var SdLink = class extends SolidElement {
|
|
|
45
52
|
};
|
|
46
53
|
return html`<a part="base" class="${cx(
|
|
47
54
|
"inline",
|
|
48
|
-
this.href ? "cursor-pointer" : "",
|
|
55
|
+
this.href && !this.visuallyDisabled ? "cursor-pointer" : "",
|
|
56
|
+
this.visuallyDisabled ? "cursor-not-allowed focus-visible:outline-none" : "",
|
|
49
57
|
{
|
|
50
58
|
sm: "text-sm",
|
|
51
59
|
lg: "text-base",
|
|
@@ -53,10 +61,11 @@ var SdLink = class extends SolidElement {
|
|
|
53
61
|
}[this.size],
|
|
54
62
|
{
|
|
55
63
|
disabled: !this.inverted ? "text-neutral-500" : "text-neutral-600",
|
|
56
|
-
enabled: !this.inverted ? ` text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline` : `text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted
|
|
57
|
-
|
|
64
|
+
enabled: !this.inverted ? ` text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline` : `text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted`,
|
|
65
|
+
visuallyDisabled: !this.inverted ? "text-neutral-500" : "text-neutral-600"
|
|
66
|
+
}[this.href && !this.visuallyDisabled ? "enabled" : this.visuallyDisabled ? "visuallyDisabled" : "disabled"],
|
|
58
67
|
this.standalone && "flex items-start"
|
|
59
|
-
)}" href="${ifDefined(this.href || void 0)}" target="${ifDefined(this.target || void 0)}" download="${ifDefined(this.download)}" rel="${ifDefined(this.target ? "noreferrer noopener" : void 0)}" aria-disabled="${!this.href ? "true" : "false"}" tabindex="${!this.href ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${cx(
|
|
68
|
+
)}" href="${ifDefined(this.href || void 0)}" target="${ifDefined(this.target || void 0)}" download="${ifDefined(this.download)}" rel="${ifDefined(this.target ? "noreferrer noopener" : void 0)}" aria-disabled="${!this.href || this.visuallyDisabled ? "true" : "false"}" tabindex="${!this.href ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${cx(
|
|
60
69
|
"inline",
|
|
61
70
|
slots["icon-left"] && (!this.standalone ? "mr-[0.25em]" : {
|
|
62
71
|
sm: "mr-1",
|
|
@@ -92,6 +101,9 @@ __decorateClass([
|
|
|
92
101
|
__decorateClass([
|
|
93
102
|
property()
|
|
94
103
|
], SdLink.prototype, "href", 2);
|
|
104
|
+
__decorateClass([
|
|
105
|
+
property({ type: Boolean, attribute: "visually-disabled" })
|
|
106
|
+
], SdLink.prototype, "visuallyDisabled", 2);
|
|
95
107
|
__decorateClass([
|
|
96
108
|
property()
|
|
97
109
|
], SdLink.prototype, "target", 2);
|