@solid-design-system/components 4.5.0 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{cdn-versioned/chunks/chunk.JDSUZDP4.js → cdn/chunks/chunk.2GY6T6QS.js} +1 -1
- package/cdn/chunks/{chunk.5YWPH3S7.js → chunk.2QVXJFPL.js} +1 -1
- package/cdn/chunks/{chunk.IUC5UQ2V.js → chunk.3X7ETFNY.js} +1 -1
- package/cdn/chunks/{chunk.NW6W2FSS.js → chunk.4T3MMIEQ.js} +1 -1
- package/cdn/chunks/{chunk.WJ55QSS3.js → chunk.4XZVXBNJ.js} +1 -1
- package/cdn/chunks/{chunk.SDZ6E4CH.js → chunk.5674RCSA.js} +1 -1
- package/cdn/chunks/{chunk.2BLQ3VDT.js → chunk.5AE46ABJ.js} +4 -4
- package/{cdn-versioned/chunks/chunk.DLY5AX2P.js → cdn/chunks/chunk.5IYTJ7AF.js} +1 -1
- package/{cdn-versioned/chunks/chunk.WMV7GLXF.js → cdn/chunks/chunk.5NXE2OTZ.js} +1 -1
- package/cdn/chunks/{chunk.CNGIUOE5.js → chunk.5PTPXZR2.js} +1 -1
- package/{cdn-versioned/chunks/chunk.V3YHI2G2.js → cdn/chunks/chunk.5ZCRDWIG.js} +1 -1
- package/cdn/chunks/{chunk.F45IDVYA.js → chunk.63QVXIWO.js} +1 -1
- package/cdn/chunks/{chunk.HT2MRC4Z.js → chunk.7T77HZ4H.js} +1 -1
- package/cdn/chunks/{chunk.NQXQB7LN.js → chunk.ABTV3KUR.js} +1 -1
- package/cdn/chunks/chunk.AYIAV4JH.js +1 -0
- package/cdn/chunks/{chunk.KLNBBP4R.js → chunk.BJ5V345G.js} +4 -4
- package/cdn/chunks/{chunk.WUTY672B.js → chunk.E6ML63IG.js} +1 -1
- package/{cdn-versioned/chunks/chunk.NZT4ORYP.js → cdn/chunks/chunk.F65VOONA.js} +1 -1
- package/cdn/chunks/{chunk.5TTHL3M2.js → chunk.GCDW2GZT.js} +1 -1
- package/{cdn-versioned/chunks/chunk.FVXID42E.js → cdn/chunks/chunk.GCJUHSVB.js} +1 -1
- package/cdn/chunks/chunk.GODTH2BV.js +1 -0
- package/cdn/chunks/{chunk.XYZ5DKTA.js → chunk.HHX4U6WL.js} +1 -1
- package/cdn/chunks/{chunk.NOJV6ZZF.js → chunk.ILP7DEPA.js} +1 -1
- package/cdn/chunks/{chunk.I2WEQVU3.js → chunk.L5V5SVP4.js} +1 -1
- package/cdn/chunks/{chunk.2HJF2D4H.js → chunk.LB6APJYZ.js} +1 -1
- package/cdn/chunks/{chunk.DDLTKNEO.js → chunk.MQTBDNS4.js} +1 -1
- package/cdn/chunks/{chunk.43NFQGWL.js → chunk.NKQX2WLJ.js} +1 -1
- package/cdn/chunks/{chunk.JCNKLGIS.js → chunk.P3BGKFWO.js} +1 -1
- package/cdn/chunks/{chunk.BWMHPT4Y.js → chunk.P3J3NT4K.js} +1 -1
- package/cdn/chunks/{chunk.O3IRROA2.js → chunk.PKR76VXM.js} +1 -1
- package/{cdn-versioned/chunks/chunk.E5FCRWHS.js → cdn/chunks/chunk.QU74JYEO.js} +1 -1
- package/cdn/chunks/{chunk.ONLECFTO.js → chunk.SNB43P47.js} +1 -1
- package/cdn/chunks/{chunk.ZVVSLR3B.js → chunk.UXSHRSR2.js} +1 -1
- package/cdn/chunks/{chunk.247MZWMU.js → chunk.V4OUQ3EH.js} +1 -1
- package/cdn/chunks/{chunk.ZN24IDXT.js → chunk.VTZF6UEH.js} +2 -2
- package/cdn/chunks/{chunk.QWMQJ6TF.js → chunk.W7775W5G.js} +1 -1
- package/cdn/chunks/{chunk.YBNWPLWL.js → chunk.WOLYEHCJ.js} +1 -1
- package/cdn/chunks/{chunk.Y4PTSCEB.js → chunk.YR376FSM.js} +1 -1
- package/cdn/chunks/{chunk.PGBIGG5I.js → chunk.YUKQPW36.js} +1 -1
- package/cdn/chunks/{chunk.KV424MMD.js → chunk.ZH5A5PAH.js} +1 -1
- package/{cdn-versioned/chunks/chunk.BHWV44KN.js → cdn/chunks/chunk.ZQBRQ52P.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/button-group/button-group.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/flipcard/flipcard.js +1 -1
- package/cdn/components/include/include.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/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/custom-elements.json +235 -126
- package/cdn/solid-components.bundle.js +14 -14
- package/cdn/solid-components.iife.js +13 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +7 -0
- package/cdn/web-types.json +15 -15
- 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/chunks/chunk.JDSUZDP4.js → cdn-versioned/chunks/chunk.2GY6T6QS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5YWPH3S7.js → chunk.2QVXJFPL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.IUC5UQ2V.js → chunk.3X7ETFNY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NW6W2FSS.js → chunk.4T3MMIEQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WJ55QSS3.js → chunk.4XZVXBNJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SDZ6E4CH.js → chunk.5674RCSA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2BLQ3VDT.js → chunk.5AE46ABJ.js} +4 -4
- package/cdn-versioned/chunks/chunk.5AILWWY2.js +1 -1
- package/{cdn/chunks/chunk.DLY5AX2P.js → cdn-versioned/chunks/chunk.5IYTJ7AF.js} +1 -1
- package/{cdn/chunks/chunk.WMV7GLXF.js → cdn-versioned/chunks/chunk.5NXE2OTZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CNGIUOE5.js → chunk.5PTPXZR2.js} +1 -1
- package/{cdn/chunks/chunk.V3YHI2G2.js → cdn-versioned/chunks/chunk.5ZCRDWIG.js} +1 -1
- package/cdn-versioned/chunks/chunk.63QVXIWO.js +1 -0
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.HT2MRC4Z.js → chunk.7T77HZ4H.js} +1 -1
- package/cdn-versioned/chunks/chunk.7TRFUW6U.js +1 -1
- package/cdn-versioned/chunks/{chunk.NQXQB7LN.js → chunk.ABTV3KUR.js} +1 -1
- package/cdn-versioned/chunks/chunk.AYIAV4JH.js +1 -0
- package/cdn-versioned/chunks/{chunk.KLNBBP4R.js → chunk.BJ5V345G.js} +4 -4
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.WUTY672B.js → chunk.E6ML63IG.js} +1 -1
- package/{cdn/chunks/chunk.NZT4ORYP.js → cdn-versioned/chunks/chunk.F65VOONA.js} +1 -1
- package/cdn-versioned/chunks/chunk.FHU3KJ7Y.js +1 -1
- package/cdn-versioned/chunks/{chunk.5TTHL3M2.js → chunk.GCDW2GZT.js} +4 -4
- package/{cdn/chunks/chunk.FVXID42E.js → cdn-versioned/chunks/chunk.GCJUHSVB.js} +1 -1
- package/cdn-versioned/chunks/chunk.GODTH2BV.js +1 -0
- package/cdn-versioned/chunks/{chunk.XYZ5DKTA.js → chunk.HHX4U6WL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NOJV6ZZF.js → chunk.ILP7DEPA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.I2WEQVU3.js → chunk.L5V5SVP4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2HJF2D4H.js → chunk.LB6APJYZ.js} +2 -2
- package/cdn-versioned/chunks/chunk.LET4FMBB.js +1 -1
- package/cdn-versioned/chunks/chunk.LKO4ZRE7.js +1 -1
- package/cdn-versioned/chunks/{chunk.DDLTKNEO.js → chunk.MQTBDNS4.js} +1 -1
- package/cdn-versioned/chunks/chunk.NFQN6UG4.js +1 -1
- package/cdn-versioned/chunks/{chunk.43NFQGWL.js → chunk.NKQX2WLJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JCNKLGIS.js → chunk.P3BGKFWO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BWMHPT4Y.js → chunk.P3J3NT4K.js} +1 -1
- package/cdn-versioned/chunks/chunk.PDIUABFP.js +1 -1
- package/cdn-versioned/chunks/{chunk.O3IRROA2.js → chunk.PKR76VXM.js} +1 -1
- package/{cdn/chunks/chunk.E5FCRWHS.js → cdn-versioned/chunks/chunk.QU74JYEO.js} +1 -1
- package/cdn-versioned/chunks/chunk.RGJXEMYT.js +1 -1
- package/cdn-versioned/chunks/{chunk.ONLECFTO.js → chunk.SNB43P47.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZVVSLR3B.js → chunk.UXSHRSR2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.247MZWMU.js → chunk.V4OUQ3EH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZN24IDXT.js → chunk.VTZF6UEH.js} +2 -2
- package/cdn-versioned/chunks/chunk.VZSFEHBE.js +1 -1
- package/cdn-versioned/chunks/{chunk.QWMQJ6TF.js → chunk.W7775W5G.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.YBNWPLWL.js → chunk.WOLYEHCJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y4PTSCEB.js → chunk.YR376FSM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PGBIGG5I.js → chunk.YUKQPW36.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KV424MMD.js → chunk.ZH5A5PAH.js} +1 -1
- package/{cdn/chunks/chunk.BHWV44KN.js → cdn-versioned/chunks/chunk.ZQBRQ52P.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/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/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/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/include/include.js +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/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/custom-elements.json +436 -327
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +19 -19
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +18 -18
- 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 +87 -80
- package/cdn-versioned/web-types.json +151 -151
- package/dist/chunks/{chunk.OENW3EQT.js → chunk.2SYIHQWC.js} +3 -3
- package/dist/chunks/{chunk.H54CZFCF.js → chunk.3GR2B6T5.js} +2 -2
- package/dist/chunks/{chunk.RFVRT5UG.js → chunk.3QI4RAP5.js} +1 -1
- package/dist/chunks/{chunk.5AX4S2QZ.js → chunk.3W7IJBAR.js} +5 -5
- package/dist/chunks/{chunk.7SZFMAVT.js → chunk.4A22QCDA.js} +1 -1
- package/dist/chunks/{chunk.DI4CIT2A.js → chunk.4KQX3YKY.js} +3 -3
- package/dist/chunks/{chunk.GQXJC6ZE.js → chunk.7DTJFAHS.js} +1 -1
- package/dist/chunks/{chunk.MKZ5TRQH.js → chunk.7JAL5UCT.js} +2 -2
- package/dist/chunks/{chunk.Y6WJUTMM.js → chunk.7RSKPK73.js} +1 -1
- package/dist/chunks/{chunk.BFHRLREK.js → chunk.7VNCOUWO.js} +11 -11
- package/dist/chunks/{chunk.JPGDK3CW.js → chunk.AVS4VJXO.js} +5 -5
- package/dist/chunks/{chunk.5V7TZU4Q.js → chunk.AXJB3BAZ.js} +5 -5
- package/dist/chunks/{chunk.CVHGDRIM.js → chunk.BN7U3AV4.js} +2 -2
- package/dist/chunks/{chunk.G6KPFA3G.js → chunk.EON7Z22N.js} +9 -9
- package/dist/chunks/{chunk.JMAPLJHF.js → chunk.FEQ35E2X.js} +3 -3
- package/dist/chunks/{chunk.GWCHNKGW.js → chunk.FRPVDR6Z.js} +1 -1
- package/dist/chunks/{chunk.WZGJQPPD.js → chunk.G37Y7IVD.js} +1 -1
- package/dist/chunks/{chunk.UXEDWUMA.js → chunk.GAUAMVUZ.js} +17 -17
- package/dist/chunks/{chunk.LRQ55FZL.js → chunk.HKBYU6Q2.js} +2 -2
- package/dist/chunks/{chunk.XCNH2K2U.js → chunk.HWQTXXSY.js} +4 -4
- package/dist/chunks/{chunk.3UO2LKG5.js → chunk.IAJPZG3C.js} +9 -9
- package/dist/chunks/{chunk.MYCUDMGG.js → chunk.JE7PBXXX.js} +3 -3
- package/dist/chunks/{chunk.MCUC6LS6.js → chunk.JIG7HDOK.js} +1 -1
- package/dist/chunks/{chunk.K5MKZJEB.js → chunk.KCUUHR5D.js} +3 -3
- package/dist/chunks/{chunk.ZH6BP5XL.js → chunk.KSYD4JIL.js} +1 -1
- package/dist/chunks/{chunk.LUV3NLSJ.js → chunk.KX2TPV2P.js} +1 -1
- package/dist/chunks/{chunk.6MMBMCHF.js → chunk.N42GCDAU.js} +5 -5
- package/dist/chunks/{chunk.QUK3F6GK.js → chunk.NF4TXS55.js} +5 -5
- package/dist/chunks/{chunk.I2JBWY5C.js → chunk.PLM7YZ2S.js} +4 -4
- package/dist/chunks/{chunk.X7HEAUGJ.js → chunk.QWZA3TLI.js} +1 -1
- package/dist/chunks/{chunk.DNHLNGIL.js → chunk.RDHXOO2U.js} +1 -1
- package/dist/chunks/{chunk.XNH47HGG.js → chunk.RHLH2P45.js} +11 -11
- package/dist/chunks/{chunk.WHFYHMF4.js → chunk.SEAUN4X5.js} +1 -1
- package/dist/chunks/{chunk.F4BRIYYD.js → chunk.UOH2EPC3.js} +1 -1
- package/dist/chunks/{chunk.3YTMF6YZ.js → chunk.V7WU4CMK.js} +16 -16
- package/dist/chunks/{chunk.73HAOWEX.js → chunk.VFC3SCSY.js} +1 -1
- package/dist/chunks/{chunk.WJHCLJNK.js → chunk.WQ4TYFW3.js} +2 -2
- package/dist/chunks/{chunk.ZWJNBDIV.js → chunk.XMUDNUDW.js} +1 -1
- package/dist/chunks/{chunk.QN2ROZHZ.js → chunk.YCY2LBBX.js} +4 -4
- package/dist/chunks/{chunk.ZJGD23K6.js → chunk.Z3FJM2FE.js} +23 -23
- package/dist/chunks/{chunk.L5QYLWGO.js → chunk.ZTZN3GYY.js} +2 -2
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/brandshape/brandshape.js +1 -1
- package/dist/components/button/button.js +2 -2
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/include/include.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/link/link.js +1 -1
- package/dist/components/map-marker/map-marker.js +1 -1
- package/dist/components/navigation-item/navigation-item.js +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/optgroup/optgroup.js +2 -2
- package/dist/components/option/option.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-button/radio-button.js +1 -1
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/select/select.js +3 -3
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/step/step.js +1 -1
- package/dist/components/step-group/step-group.js +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-group/tab-group.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/teaser/teaser.js +1 -1
- package/dist/components/teaser-media/teaser-media.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +235 -126
- package/dist/solid-components.js +41 -41
- package/dist/utilities/autocomplete-config.js +1 -1
- package/dist/vscode.html-custom-data.json +7 -0
- package/dist/web-types.json +15 -15
- 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.OENW3EQT.js → chunk.2SYIHQWC.js} +8 -8
- package/dist-versioned/chunks/{chunk.H54CZFCF.js → chunk.3GR2B6T5.js} +7 -7
- package/dist-versioned/chunks/{chunk.RFVRT5UG.js → chunk.3QI4RAP5.js} +3 -3
- package/dist-versioned/chunks/{chunk.5AX4S2QZ.js → chunk.3W7IJBAR.js} +7 -7
- package/dist-versioned/chunks/{chunk.7SZFMAVT.js → chunk.4A22QCDA.js} +2 -2
- package/dist-versioned/chunks/{chunk.DI4CIT2A.js → chunk.4KQX3YKY.js} +4 -4
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6S3CCHLZ.js +1 -1
- package/dist-versioned/chunks/{chunk.GQXJC6ZE.js → chunk.7DTJFAHS.js} +3 -3
- package/dist-versioned/chunks/{chunk.MKZ5TRQH.js → chunk.7JAL5UCT.js} +3 -3
- package/dist-versioned/chunks/{chunk.Y6WJUTMM.js → chunk.7RSKPK73.js} +7 -7
- package/dist-versioned/chunks/{chunk.BFHRLREK.js → chunk.7VNCOUWO.js} +12 -12
- package/dist-versioned/chunks/{chunk.JPGDK3CW.js → chunk.AVS4VJXO.js} +7 -7
- package/dist-versioned/chunks/chunk.AWASHA2T.js +1 -1
- package/dist-versioned/chunks/{chunk.5V7TZU4Q.js → chunk.AXJB3BAZ.js} +10 -10
- package/dist-versioned/chunks/{chunk.CVHGDRIM.js → chunk.BN7U3AV4.js} +4 -4
- package/dist-versioned/chunks/{chunk.G6KPFA3G.js → chunk.EON7Z22N.js} +13 -13
- package/dist-versioned/chunks/{chunk.JMAPLJHF.js → chunk.FEQ35E2X.js} +5 -5
- package/dist-versioned/chunks/{chunk.GWCHNKGW.js → chunk.FRPVDR6Z.js} +2 -2
- package/dist-versioned/chunks/{chunk.WZGJQPPD.js → chunk.G37Y7IVD.js} +3 -3
- package/dist-versioned/chunks/{chunk.UXEDWUMA.js → chunk.GAUAMVUZ.js} +43 -43
- package/dist-versioned/chunks/chunk.HJ3ZUH4A.js +1 -1
- package/dist-versioned/chunks/{chunk.LRQ55FZL.js → chunk.HKBYU6Q2.js} +3 -3
- package/dist-versioned/chunks/{chunk.XCNH2K2U.js → chunk.HWQTXXSY.js} +9 -9
- package/dist-versioned/chunks/{chunk.3UO2LKG5.js → chunk.IAJPZG3C.js} +22 -22
- package/dist-versioned/chunks/chunk.IKWY7WM6.js +3 -3
- package/dist-versioned/chunks/chunk.JD5XFZKL.js +2 -2
- package/dist-versioned/chunks/{chunk.MYCUDMGG.js → chunk.JE7PBXXX.js} +5 -5
- package/dist-versioned/chunks/{chunk.MCUC6LS6.js → chunk.JIG7HDOK.js} +3 -3
- package/dist-versioned/chunks/{chunk.K5MKZJEB.js → chunk.KCUUHR5D.js} +8 -8
- package/dist-versioned/chunks/{chunk.ZH6BP5XL.js → chunk.KSYD4JIL.js} +4 -4
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.LUV3NLSJ.js → chunk.KX2TPV2P.js} +4 -4
- package/dist-versioned/chunks/{chunk.6MMBMCHF.js → chunk.N42GCDAU.js} +14 -14
- package/dist-versioned/chunks/{chunk.QUK3F6GK.js → chunk.NF4TXS55.js} +6 -6
- package/dist-versioned/chunks/chunk.ONBGPY5D.js +5 -5
- package/dist-versioned/chunks/{chunk.I2JBWY5C.js → chunk.PLM7YZ2S.js} +6 -6
- package/dist-versioned/chunks/{chunk.X7HEAUGJ.js → chunk.QWZA3TLI.js} +3 -3
- package/dist-versioned/chunks/{chunk.DNHLNGIL.js → chunk.RDHXOO2U.js} +14 -14
- package/dist-versioned/chunks/{chunk.XNH47HGG.js → chunk.RHLH2P45.js} +40 -40
- package/dist-versioned/chunks/{chunk.WHFYHMF4.js → chunk.SEAUN4X5.js} +3 -3
- package/dist-versioned/chunks/chunk.SH45GYZL.js +1 -1
- package/dist-versioned/chunks/chunk.T5VRGBLR.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.F4BRIYYD.js → chunk.UOH2EPC3.js} +2 -2
- package/dist-versioned/chunks/{chunk.3YTMF6YZ.js → chunk.V7WU4CMK.js} +18 -18
- package/dist-versioned/chunks/{chunk.73HAOWEX.js → chunk.VFC3SCSY.js} +3 -3
- package/dist-versioned/chunks/chunk.WPHOQL7V.js +2 -2
- package/dist-versioned/chunks/{chunk.WJHCLJNK.js → chunk.WQ4TYFW3.js} +3 -3
- package/dist-versioned/chunks/{chunk.ZWJNBDIV.js → chunk.XMUDNUDW.js} +12 -12
- package/dist-versioned/chunks/{chunk.QN2ROZHZ.js → chunk.YCY2LBBX.js} +7 -7
- package/dist-versioned/chunks/{chunk.ZJGD23K6.js → chunk.Z3FJM2FE.js} +26 -26
- package/dist-versioned/chunks/{chunk.L5QYLWGO.js → chunk.ZTZN3GYY.js} +8 -8
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +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/checkbox-group/checkbox-group.js +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +3 -3
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +3 -3
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +3 -3
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.js +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +2 -2
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +3 -3
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +3 -3
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +1 -1
- package/dist-versioned/components/teaser/teaser.js +1 -1
- package/dist-versioned/components/teaser-media/teaser-media.js +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +436 -327
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +41 -41
- package/dist-versioned/utilities/autocomplete-config.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +87 -80
- package/dist-versioned/web-types.json +151 -151
- package/package.json +7 -7
- package/cdn/chunks/chunk.KWNRVZ54.js +0 -1
- package/cdn/chunks/chunk.RCLIOOS5.js +0 -1
- package/cdn-versioned/chunks/chunk.F45IDVYA.js +0 -1
- package/cdn-versioned/chunks/chunk.KWNRVZ54.js +0 -1
- package/cdn-versioned/chunks/chunk.RCLIOOS5.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PLM7YZ2S.js";
|
|
4
4
|
import {
|
|
5
5
|
SdPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.7VNCOUWO.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultValue
|
|
9
9
|
} from "./chunk.GI7VDIWX.js";
|
|
@@ -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-5-
|
|
65
|
+
assumeInteractionOn: ["sd-blur", "sd-4-5-2-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-5-
|
|
107
|
+
return html`<sd-4-5-2-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-5-
|
|
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-5-2-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-5-
|
|
238
|
+
if (item.tagName.toLowerCase() === "sd-4-5-2-optgroup") {
|
|
239
239
|
Array.from(item.children).forEach((option) => {
|
|
240
|
-
if (option.tagName.toLowerCase() === "sd-4-5-
|
|
240
|
+
if (option.tagName.toLowerCase() === "sd-4-5-2-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-5-
|
|
260
|
+
html`<sd-4-5-2-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-5-
|
|
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-5-2-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-5-
|
|
381
|
+
const option = target.closest("sd-4-5-2-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-5-
|
|
433
|
+
return [...this.filteredWrapper.querySelectorAll("sd-4-5-2-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-5-
|
|
559
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-5-2-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-5-
|
|
589
|
+
/** Receives incoming event detail from sd-4-5-2-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-5-
|
|
601
|
+
if (customElements.get("sd-4-5-2-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-5-
|
|
728
|
-
customElements.whenDefined("sd-4-5-
|
|
727
|
+
if (!customElements.get("sd-4-5-2-option")) {
|
|
728
|
+
customElements.whenDefined("sd-4-5-2-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-5-
|
|
740
|
+
option.id = option.id || `sd-4-5-2-combobox-option-${index}`;
|
|
741
741
|
});
|
|
742
742
|
slottedOptgroups.forEach((optgroup, index) => {
|
|
743
|
-
optgroup.id = optgroup.id || `sd-4-5-
|
|
743
|
+
optgroup.id = optgroup.id || `sd-4-5-2-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-5-
|
|
792
|
+
)}"></div><sd-4-5-2-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-5-
|
|
813
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-5-2-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" name="closing-round" library="system"></sd-4-5-2-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-5-2-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-5-2-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-5-2-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-5-2-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-5-
|
|
817
|
+
)}"><sd-4-5-2-icon class="${cx("transition-all", this.open ? "rotate-180" : "rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-5-2-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-5-
|
|
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-5-2-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-5-
|
|
826
|
-
"sd-4-5-
|
|
827
|
-
"sd-4-5-
|
|
825
|
+
"sd-4-5-2-icon": SdIcon,
|
|
826
|
+
"sd-4-5-2-popup": SdPopup,
|
|
827
|
+
"sd-4-5-2-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:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-5-
|
|
831
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-5-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-5-2-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-5-2-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-5-2-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-5-2-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-5-2-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-5-
|
|
834
|
+
query("sd-4-5-2-popup")
|
|
835
835
|
], SdCombobox.prototype, "popup", 2);
|
|
836
836
|
__decorateClass([
|
|
837
837
|
query('[part="combobox"]')
|
|
@@ -888,7 +888,7 @@ __decorateClass([
|
|
|
888
888
|
state()
|
|
889
889
|
], SdCombobox.prototype, "showInvalidStyle", 2);
|
|
890
890
|
__decorateClass([
|
|
891
|
-
property()
|
|
891
|
+
property({ reflect: true })
|
|
892
892
|
], SdCombobox.prototype, "name", 2);
|
|
893
893
|
__decorateClass([
|
|
894
894
|
property({
|
|
@@ -902,43 +902,43 @@ __decorateClass([
|
|
|
902
902
|
defaultValue()
|
|
903
903
|
], SdCombobox.prototype, "defaultValue", 2);
|
|
904
904
|
__decorateClass([
|
|
905
|
-
property({ reflect: true })
|
|
905
|
+
property({ type: String, reflect: true })
|
|
906
906
|
], SdCombobox.prototype, "size", 2);
|
|
907
907
|
__decorateClass([
|
|
908
|
-
property()
|
|
908
|
+
property({ type: String, reflect: true })
|
|
909
909
|
], SdCombobox.prototype, "placeholder", 2);
|
|
910
910
|
__decorateClass([
|
|
911
|
-
property({ attribute: "max-options-tag-label" })
|
|
911
|
+
property({ type: String, attribute: "max-options-tag-label", reflect: true })
|
|
912
912
|
], SdCombobox.prototype, "maxOptionsTagLabel", 2);
|
|
913
913
|
__decorateClass([
|
|
914
|
-
property({
|
|
914
|
+
property({ type: Boolean, reflect: true })
|
|
915
915
|
], SdCombobox.prototype, "disabled", 2);
|
|
916
916
|
__decorateClass([
|
|
917
|
-
property({
|
|
917
|
+
property({ type: Boolean, reflect: true, attribute: "visually-disabled" })
|
|
918
918
|
], SdCombobox.prototype, "visuallyDisabled", 2);
|
|
919
919
|
__decorateClass([
|
|
920
|
-
property({ type: Boolean })
|
|
920
|
+
property({ type: Boolean, reflect: true })
|
|
921
921
|
], SdCombobox.prototype, "clearable", 2);
|
|
922
922
|
__decorateClass([
|
|
923
|
-
property({
|
|
923
|
+
property({ type: Boolean, reflect: true })
|
|
924
924
|
], SdCombobox.prototype, "open", 2);
|
|
925
925
|
__decorateClass([
|
|
926
|
-
property({ type: Boolean })
|
|
926
|
+
property({ type: Boolean, reflect: true })
|
|
927
927
|
], SdCombobox.prototype, "hoist", 2);
|
|
928
928
|
__decorateClass([
|
|
929
|
-
property()
|
|
929
|
+
property({ type: String, reflect: true })
|
|
930
930
|
], SdCombobox.prototype, "label", 2);
|
|
931
931
|
__decorateClass([
|
|
932
|
-
property({ reflect: true })
|
|
932
|
+
property({ type: String, reflect: true })
|
|
933
933
|
], SdCombobox.prototype, "placement", 2);
|
|
934
934
|
__decorateClass([
|
|
935
|
-
property({ attribute: "help-text" })
|
|
935
|
+
property({ type: String, attribute: "help-text", reflect: true })
|
|
936
936
|
], SdCombobox.prototype, "helpText", 2);
|
|
937
937
|
__decorateClass([
|
|
938
|
-
property({ reflect: true })
|
|
938
|
+
property({ type: String, reflect: true })
|
|
939
939
|
], SdCombobox.prototype, "form", 2);
|
|
940
940
|
__decorateClass([
|
|
941
|
-
property({
|
|
941
|
+
property({ type: Boolean, reflect: true })
|
|
942
942
|
], SdCombobox.prototype, "required", 2);
|
|
943
943
|
__decorateClass([
|
|
944
944
|
state()
|
|
@@ -953,7 +953,7 @@ __decorateClass([
|
|
|
953
953
|
property({ type: Boolean, reflect: true })
|
|
954
954
|
], SdCombobox.prototype, "useTags", 2);
|
|
955
955
|
__decorateClass([
|
|
956
|
-
property({ attribute: "max-options-visible"
|
|
956
|
+
property({ type: Number, reflect: true, attribute: "max-options-visible" })
|
|
957
957
|
], SdCombobox.prototype, "maxOptionsVisible", 2);
|
|
958
958
|
__decorateClass([
|
|
959
959
|
property({ type: Boolean, reflect: true, attribute: "style-on-valid" })
|
|
@@ -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-5-
|
|
989
|
+
customElement("sd-4-5-2-combobox")
|
|
990
990
|
], SdCombobox);
|
|
991
991
|
setDefaultAnimation("combobox.show", {
|
|
992
992
|
keyframes: [
|
|
@@ -40,16 +40,16 @@ SdBadge.styles = [
|
|
|
40
40
|
css`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem}:host([size=lg]){font-size:.75rem}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`
|
|
41
41
|
];
|
|
42
42
|
__decorateClass([
|
|
43
|
-
property({ reflect: true })
|
|
43
|
+
property({ type: String, reflect: true })
|
|
44
44
|
], SdBadge.prototype, "size", 2);
|
|
45
45
|
__decorateClass([
|
|
46
|
-
property({ reflect: true })
|
|
46
|
+
property({ type: String, reflect: true })
|
|
47
47
|
], SdBadge.prototype, "variant", 2);
|
|
48
48
|
__decorateClass([
|
|
49
49
|
property({ type: Boolean, reflect: true })
|
|
50
50
|
], SdBadge.prototype, "inverted", 2);
|
|
51
51
|
SdBadge = __decorateClass([
|
|
52
|
-
customElement("sd-4-5-
|
|
52
|
+
customElement("sd-4-5-2-badge")
|
|
53
53
|
], SdBadge);
|
|
54
54
|
|
|
55
55
|
export {
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-4-5-
|
|
29
|
+
return [...this.querySelectorAll("sd-4-5-2-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-4-5-
|
|
42
|
+
if (customElements.get("sd-4-5-2-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-4-5-
|
|
45
|
+
customElements.whenDefined("sd-4-5-2-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,19 +79,19 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-5-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-5-2-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
|
-
property({ reflect: true })
|
|
85
|
+
property({ type: String, reflect: true })
|
|
86
86
|
], SdCheckboxGroup.prototype, "size", 2);
|
|
87
87
|
__decorateClass([
|
|
88
|
-
property({ reflect: true })
|
|
88
|
+
property({ type: String, reflect: true })
|
|
89
89
|
], SdCheckboxGroup.prototype, "orientation", 2);
|
|
90
90
|
__decorateClass([
|
|
91
|
-
property()
|
|
91
|
+
property({ type: String, reflect: true })
|
|
92
92
|
], SdCheckboxGroup.prototype, "label", 2);
|
|
93
93
|
__decorateClass([
|
|
94
|
-
property({ attribute: "help-text" })
|
|
94
|
+
property({ type: String, attribute: "help-text", reflect: true })
|
|
95
95
|
], SdCheckboxGroup.prototype, "helpText", 2);
|
|
96
96
|
__decorateClass([
|
|
97
97
|
watch("size", { waitUntilFirstUpdate: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-4-5-
|
|
103
|
+
customElement("sd-4-5-2-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.G37Y7IVD.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
customErrorValidityState,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.KVKRZJS7.js";
|
|
10
10
|
import {
|
|
11
11
|
SdButtonGroup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.XMUDNUDW.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -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-5-
|
|
80
|
+
return [...this.querySelectorAll("sd-4-5-2-radio, sd-4-5-2-radio-button")];
|
|
81
81
|
}
|
|
82
82
|
handleRadioClick(event) {
|
|
83
|
-
const target = event.target.closest("sd-4-5-
|
|
83
|
+
const target = event.target.closest("sd-4-5-2-radio, sd-4-5-2-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-5-
|
|
160
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-5-2-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-5-
|
|
172
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-5-2-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-5-
|
|
179
|
+
if (customElements.get("sd-4-5-2-radio") && customElements.get("sd-4-5-2-radio-button")) {
|
|
180
180
|
this.syncRadioElements();
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
if (customElements.get("sd-4-5-
|
|
183
|
+
if (customElements.get("sd-4-5-2-radio")) {
|
|
184
184
|
this.syncRadioElements();
|
|
185
185
|
} else {
|
|
186
|
-
customElements.whenDefined("sd-4-5-
|
|
186
|
+
customElements.whenDefined("sd-4-5-2-radio").then(() => this.syncRadios());
|
|
187
187
|
}
|
|
188
|
-
if (customElements.get("sd-4-5-
|
|
188
|
+
if (customElements.get("sd-4-5-2-radio-button")) {
|
|
189
189
|
this.syncRadioElements();
|
|
190
190
|
} else {
|
|
191
|
-
customElements.whenDefined("sd-4-5-
|
|
191
|
+
customElements.whenDefined("sd-4-5-2-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}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-5-
|
|
270
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-5-2-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-5-2-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-5-
|
|
273
|
+
SdRadioGroup.dependencies = { "sd-4-5-2-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-5-
|
|
279
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-5-2-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-5-2-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-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])")
|
|
@@ -297,31 +297,31 @@ __decorateClass([
|
|
|
297
297
|
state()
|
|
298
298
|
], SdRadioGroup.prototype, "showInvalidStyle", 2);
|
|
299
299
|
__decorateClass([
|
|
300
|
-
property({ reflect: true })
|
|
300
|
+
property({ type: String, reflect: true })
|
|
301
301
|
], SdRadioGroup.prototype, "size", 2);
|
|
302
302
|
__decorateClass([
|
|
303
303
|
property({ type: Boolean, reflect: true })
|
|
304
304
|
], SdRadioGroup.prototype, "required", 2);
|
|
305
305
|
__decorateClass([
|
|
306
|
-
property({ reflect: true })
|
|
306
|
+
property({ type: String, reflect: true })
|
|
307
307
|
], SdRadioGroup.prototype, "orientation", 2);
|
|
308
308
|
__decorateClass([
|
|
309
|
-
property()
|
|
309
|
+
property({ type: String, reflect: true })
|
|
310
310
|
], SdRadioGroup.prototype, "label", 2);
|
|
311
311
|
__decorateClass([
|
|
312
|
-
property({ attribute: "help-text" })
|
|
312
|
+
property({ type: String, attribute: "help-text", reflect: true })
|
|
313
313
|
], SdRadioGroup.prototype, "helpText", 2);
|
|
314
314
|
__decorateClass([
|
|
315
315
|
property({ type: Boolean, reflect: true })
|
|
316
316
|
], SdRadioGroup.prototype, "boldLabel", 2);
|
|
317
317
|
__decorateClass([
|
|
318
|
-
property()
|
|
318
|
+
property({ type: String, reflect: true })
|
|
319
319
|
], SdRadioGroup.prototype, "name", 2);
|
|
320
320
|
__decorateClass([
|
|
321
|
-
property(
|
|
321
|
+
property()
|
|
322
322
|
], SdRadioGroup.prototype, "value", 2);
|
|
323
323
|
__decorateClass([
|
|
324
|
-
property({ reflect: true })
|
|
324
|
+
property({ type: String, reflect: true })
|
|
325
325
|
], SdRadioGroup.prototype, "form", 2);
|
|
326
326
|
__decorateClass([
|
|
327
327
|
watch("size", { waitUntilFirstUpdate: true })
|
|
@@ -333,7 +333,7 @@ __decorateClass([
|
|
|
333
333
|
watch("value")
|
|
334
334
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
335
335
|
SdRadioGroup = __decorateClass([
|
|
336
|
-
customElement("sd-4-5-
|
|
336
|
+
customElement("sd-4-5-2-radio-group")
|
|
337
337
|
], SdRadioGroup);
|
|
338
338
|
|
|
339
339
|
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-5-
|
|
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-5-2-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-5-2-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-5-2-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-5-2-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-5-2-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-5-2-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-5-2-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-5-2-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-5-
|
|
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-5-2-icon--top{align-self:flex-start}.sd-4-5-2-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-5-
|
|
172
|
+
customElement("sd-4-5-2-scrollable")
|
|
173
173
|
], SdScrollable);
|
|
174
174
|
|
|
175
175
|
export {
|
|
@@ -103,7 +103,7 @@ var SdVideo = class extends SolidElement {
|
|
|
103
103
|
this.playing ? "opacity-0" : "opacity-100",
|
|
104
104
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
105
105
|
"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"
|
|
106
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-5-
|
|
106
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-5-2-icon id="default-play-icon" library="system" name="start"></sd-4-5-2-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<slot></slot></div>`;
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdVideo.styles = [
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
property({ type: Boolean })
|
|
121
121
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
122
122
|
SdVideo = __decorateClass([
|
|
123
|
-
customElement("sd-4-5-
|
|
123
|
+
customElement("sd-4-5-2-video")
|
|
124
124
|
], SdVideo);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -209,7 +209,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
209
209
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
210
210
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
211
211
|
}[this.placement]
|
|
212
|
-
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-5-
|
|
212
|
+
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-5-2-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-5-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-5-2-icon></sd-4-5-2-button></div></header>` : html`<sd-4-5-2-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-5-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-5-2-icon></sd-4-5-2-button>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdDrawer.styles = [
|
|
@@ -232,16 +232,16 @@ __decorateClass([
|
|
|
232
232
|
property({ type: Boolean, reflect: true })
|
|
233
233
|
], SdDrawer.prototype, "open", 2);
|
|
234
234
|
__decorateClass([
|
|
235
|
-
property({ attribute: "label", reflect: true })
|
|
235
|
+
property({ type: String, attribute: "label", reflect: true })
|
|
236
236
|
], SdDrawer.prototype, "label", 2);
|
|
237
237
|
__decorateClass([
|
|
238
|
-
property({ reflect: true })
|
|
238
|
+
property({ type: String, reflect: true })
|
|
239
239
|
], SdDrawer.prototype, "placement", 2);
|
|
240
240
|
__decorateClass([
|
|
241
241
|
property({ type: Boolean, reflect: true })
|
|
242
242
|
], SdDrawer.prototype, "contained", 2);
|
|
243
243
|
__decorateClass([
|
|
244
|
-
property({ attribute: "no-header", type: Boolean })
|
|
244
|
+
property({ attribute: "no-header", type: Boolean, reflect: true })
|
|
245
245
|
], SdDrawer.prototype, "noHeader", 2);
|
|
246
246
|
__decorateClass([
|
|
247
247
|
watch("open", { waitUntilFirstUpdate: true })
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-4-5-
|
|
253
|
+
customElement("sd-4-5-2-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|
|
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super(...arguments);
|
|
23
23
|
this.attrId = ++id;
|
|
24
|
-
this.componentId = `sd-4-5-
|
|
24
|
+
this.componentId = `sd-4-5-2-tab-${this.attrId}`;
|
|
25
25
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
26
26
|
this.variant = "default";
|
|
27
27
|
this.active = false;
|
|
@@ -82,7 +82,7 @@ __decorateClass([
|
|
|
82
82
|
property({ type: Boolean, reflect: true })
|
|
83
83
|
], SdTab.prototype, "disabled", 2);
|
|
84
84
|
__decorateClass([
|
|
85
|
-
property({ reflect: true })
|
|
85
|
+
property({ type: String, reflect: true })
|
|
86
86
|
], SdTab.prototype, "panel", 2);
|
|
87
87
|
__decorateClass([
|
|
88
88
|
watch("active")
|
|
@@ -91,7 +91,7 @@ __decorateClass([
|
|
|
91
91
|
watch("disabled")
|
|
92
92
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
93
93
|
SdTab = __decorateClass([
|
|
94
|
-
customElement("sd-4-5-
|
|
94
|
+
customElement("sd-4-5-2-tab")
|
|
95
95
|
], SdTab);
|
|
96
96
|
|
|
97
97
|
export {
|