@solid-design-system/components 5.4.1 → 5.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.SLIDD3LU.js → chunk.22URHS6T.js} +1 -1
- package/cdn/chunks/{chunk.PDIUVN5U.js → chunk.25S2MM6U.js} +1 -1
- package/cdn/chunks/{chunk.5ZCX6DQM.js → chunk.3NRDMUBC.js} +1 -1
- package/cdn/chunks/{chunk.3CLAHKN2.js → chunk.4K34QAPA.js} +1 -1
- package/cdn/chunks/{chunk.LCFGG3XQ.js → chunk.5DFI42LT.js} +1 -1
- package/cdn/chunks/{chunk.P5JSPSW7.js → chunk.6WZDZ6TK.js} +1 -1
- package/cdn/chunks/{chunk.OEXEP6H5.js → chunk.76R4WWGO.js} +1 -1
- package/cdn/chunks/{chunk.RBZIMQA5.js → chunk.A7C5SRWU.js} +1 -1
- package/cdn/chunks/{chunk.P64YQW6Z.js → chunk.BLWMWBCA.js} +1 -1
- package/cdn/chunks/{chunk.7MCN5637.js → chunk.C6XCNF7Z.js} +1 -1
- package/cdn/chunks/{chunk.TL3NETIH.js → chunk.CRS7NDAH.js} +1 -1
- package/cdn/chunks/{chunk.HB34ZH5G.js → chunk.DAPWRCLK.js} +1 -1
- package/cdn/chunks/chunk.DJXVYREM.js +1 -0
- package/cdn/chunks/{chunk.UAUT4G77.js → chunk.DQSG43TX.js} +1 -1
- package/cdn/chunks/{chunk.P6LTY5WA.js → chunk.FG72XRMU.js} +1 -1
- package/cdn/chunks/{chunk.N55MQWVK.js → chunk.FLVJGLQU.js} +1 -1
- package/cdn/chunks/{chunk.AXH5NVYQ.js → chunk.GM2AVXSY.js} +1 -1
- package/cdn/chunks/{chunk.VT5F2LC2.js → chunk.GY3TTMOI.js} +1 -1
- package/cdn/chunks/{chunk.A6OAPRBG.js → chunk.H3AXVIXJ.js} +1 -1
- package/cdn/chunks/chunk.H3WBPWT2.js +25 -0
- package/cdn/chunks/{chunk.H3HCI6UK.js → chunk.H4MBOD66.js} +1 -1
- package/cdn/chunks/{chunk.FJYTESL5.js → chunk.H54HHTDI.js} +1 -1
- package/cdn/chunks/{chunk.BRGDAQJS.js → chunk.IHTMKCXV.js} +1 -1
- package/cdn/chunks/{chunk.3V26CQAC.js → chunk.IKJUEWIL.js} +1 -1
- package/cdn/chunks/{chunk.FJY2VDLX.js → chunk.IPINO7NO.js} +1 -1
- package/cdn/chunks/{chunk.TTZGP3EJ.js → chunk.KZTRUXPR.js} +1 -1
- package/cdn/chunks/{chunk.TLLNLQPN.js → chunk.L5XZWYDZ.js} +1 -1
- package/cdn/chunks/{chunk.D7A25CW2.js → chunk.MQYP4AWC.js} +1 -1
- package/cdn/chunks/{chunk.M7XV42AN.js → chunk.MQZGV2KN.js} +1 -1
- package/cdn/chunks/{chunk.YK3BL7Z2.js → chunk.NBIC4NBF.js} +1 -1
- package/cdn/chunks/{chunk.TSI5Q2JI.js → chunk.NSFG552Q.js} +1 -1
- package/cdn/chunks/{chunk.QP52PXLO.js → chunk.O5376GU6.js} +1 -1
- package/cdn/chunks/{chunk.5RTTEWNK.js → chunk.OMYLAS5L.js} +1 -1
- package/cdn/chunks/{chunk.GEABNT3R.js → chunk.OXLZUBEE.js} +1 -1
- package/cdn/chunks/{chunk.G5QO6WGI.js → chunk.OZDH67EF.js} +1 -1
- package/cdn/chunks/{chunk.YYONUP4L.js → chunk.PPVNEQAS.js} +1 -1
- package/cdn/chunks/{chunk.KPL3RJW5.js → chunk.R7LCQCTA.js} +1 -1
- package/cdn/chunks/{chunk.4TOZCRMQ.js → chunk.SGUU5PFE.js} +1 -1
- package/cdn/chunks/{chunk.7ADT7GXT.js → chunk.TFDMJZUD.js} +1 -1
- package/cdn/chunks/{chunk.MWXZG4SC.js → chunk.TH56XD24.js} +1 -1
- package/cdn/chunks/{chunk.J4OXKWHD.js → chunk.U4K2WOC2.js} +1 -1
- package/cdn/chunks/{chunk.OHXAZE3D.js → chunk.UDNWCSJB.js} +1 -1
- package/cdn/chunks/{chunk.JHLXS4RE.js → chunk.V35JAE26.js} +1 -1
- package/cdn/chunks/{chunk.6IZHLO4O.js → chunk.VEP5FD4S.js} +1 -1
- package/cdn/chunks/{chunk.PVLTPG2G.js → chunk.VRYPDSKW.js} +1 -1
- package/cdn/chunks/{chunk.2QJJ2GGX.js → chunk.XPZ4DZBI.js} +1 -1
- package/cdn/chunks/{chunk.CDTSUOUW.js → chunk.XUA742OJ.js} +1 -1
- package/cdn/chunks/{chunk.2GZJLMSG.js → chunk.ZIBTYALZ.js} +1 -1
- package/cdn/chunks/{chunk.BMIYMDOW.js → chunk.ZQTYTAFO.js} +1 -1
- package/cdn/chunks/{chunk.JFRL5PI6.js → chunk.ZZOMOLEK.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.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.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/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.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +181 -181
- package/cdn/solid-components.bundle.js +2 -2
- package/cdn/solid-components.iife.js +2 -2
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/{chunk.SLIDD3LU.js → chunk.22URHS6T.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PDIUVN5U.js → chunk.25S2MM6U.js} +2 -2
- package/cdn-versioned/chunks/{chunk.5ZCX6DQM.js → chunk.3NRDMUBC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3CLAHKN2.js → chunk.4K34QAPA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LCFGG3XQ.js → chunk.5DFI42LT.js} +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.P5JSPSW7.js → chunk.6WZDZ6TK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OEXEP6H5.js → chunk.76R4WWGO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RBZIMQA5.js → chunk.A7C5SRWU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.P64YQW6Z.js → chunk.BLWMWBCA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7MCN5637.js → chunk.C6XCNF7Z.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.TL3NETIH.js → chunk.CRS7NDAH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HB34ZH5G.js → chunk.DAPWRCLK.js} +1 -1
- package/cdn-versioned/chunks/chunk.DJXVYREM.js +1 -0
- package/cdn-versioned/chunks/{chunk.UAUT4G77.js → chunk.DQSG43TX.js} +2 -2
- package/cdn-versioned/chunks/{chunk.P6LTY5WA.js → chunk.FG72XRMU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.N55MQWVK.js → chunk.FLVJGLQU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AXH5NVYQ.js → chunk.GM2AVXSY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VT5F2LC2.js → chunk.GY3TTMOI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.A6OAPRBG.js → chunk.H3AXVIXJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.H3WBPWT2.js +25 -0
- package/cdn-versioned/chunks/{chunk.H3HCI6UK.js → chunk.H4MBOD66.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FJYTESL5.js → chunk.H54HHTDI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BRGDAQJS.js → chunk.IHTMKCXV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3V26CQAC.js → chunk.IKJUEWIL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FJY2VDLX.js → chunk.IPINO7NO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TTZGP3EJ.js → chunk.KZTRUXPR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.TLLNLQPN.js → chunk.L5XZWYDZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.D7A25CW2.js → chunk.MQYP4AWC.js} +4 -4
- package/cdn-versioned/chunks/{chunk.M7XV42AN.js → chunk.MQZGV2KN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YK3BL7Z2.js → chunk.NBIC4NBF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TSI5Q2JI.js → chunk.NSFG552Q.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QP52PXLO.js → chunk.O5376GU6.js} +4 -4
- package/cdn-versioned/chunks/{chunk.5RTTEWNK.js → chunk.OMYLAS5L.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GEABNT3R.js → chunk.OXLZUBEE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.G5QO6WGI.js → chunk.OZDH67EF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YYONUP4L.js → chunk.PPVNEQAS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KPL3RJW5.js → chunk.R7LCQCTA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4TOZCRMQ.js → chunk.SGUU5PFE.js} +4 -4
- package/cdn-versioned/chunks/{chunk.7ADT7GXT.js → chunk.TFDMJZUD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MWXZG4SC.js → chunk.TH56XD24.js} +1 -1
- package/cdn-versioned/chunks/{chunk.J4OXKWHD.js → chunk.U4K2WOC2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OHXAZE3D.js → chunk.UDNWCSJB.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JHLXS4RE.js → chunk.V35JAE26.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6IZHLO4O.js → chunk.VEP5FD4S.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PVLTPG2G.js → chunk.VRYPDSKW.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.2QJJ2GGX.js → chunk.XPZ4DZBI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CDTSUOUW.js → chunk.XUA742OJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2GZJLMSG.js → chunk.ZIBTYALZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BMIYMDOW.js → chunk.ZQTYTAFO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JFRL5PI6.js → chunk.ZZOMOLEK.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 +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/carousel-item/carousel-item.js +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 +1 -1
- 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 +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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +385 -385
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +17 -17
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/chunk.37A7CMRW.js +81 -0
- package/dist/chunks/{chunk.55WKP7T3.js → chunk.3I25A577.js} +1 -1
- package/dist/chunks/{chunk.TBUESXVZ.js → chunk.3VHDBKZO.js} +1 -1
- package/dist/chunks/{chunk.N5ISGLPU.js → chunk.42YGWWWY.js} +1 -1
- package/dist/chunks/{chunk.7P374LCS.js → chunk.5TPDB4ID.js} +1 -1
- package/dist/chunks/{chunk.F7CEWVTD.js → chunk.63QEYBJ7.js} +1 -1
- package/dist/chunks/{chunk.DNIODML7.js → chunk.66HXDLGJ.js} +1 -1
- package/dist/chunks/{chunk.PFIUB53L.js → chunk.7LET2VKP.js} +1 -1
- package/dist/chunks/{chunk.4BOVS5IV.js → chunk.AAZACHFQ.js} +1 -1
- package/dist/chunks/{chunk.23SXULLQ.js → chunk.BBT5OFQJ.js} +1 -1
- package/dist/chunks/{chunk.L7EUFNUL.js → chunk.BE6IDTIG.js} +1 -1
- package/dist/chunks/{chunk.KMM7NCFU.js → chunk.CQRO7CPL.js} +6 -5
- package/dist/chunks/{chunk.HTULDNAU.js → chunk.DDO7THCQ.js} +1 -1
- package/dist/chunks/{chunk.XR4CBBMX.js → chunk.DT45OXGA.js} +1 -1
- package/dist/chunks/{chunk.JWORONFM.js → chunk.EWDWXHZU.js} +1 -1
- package/dist/chunks/{chunk.PBPSZJYK.js → chunk.FOBGV2WF.js} +1 -1
- package/dist/chunks/{chunk.KLMMEDV3.js → chunk.FZ7GSGGM.js} +1 -1
- package/dist/chunks/{chunk.OGZQTS5F.js → chunk.G7QOD3MD.js} +1 -1
- package/dist/chunks/{chunk.TVLE7NUT.js → chunk.GEUTG34V.js} +1 -1
- package/dist/chunks/{chunk.TPMPCCRV.js → chunk.GQ3RQ7AH.js} +2 -2
- package/dist/chunks/{chunk.5FFIE4YZ.js → chunk.I3XG7VR5.js} +1 -1
- package/dist/chunks/{chunk.S5CIECBU.js → chunk.IUXKGEIZ.js} +1 -1
- package/dist/chunks/{chunk.LA3LK5U7.js → chunk.JNDYA5ZT.js} +1 -1
- package/dist/chunks/{chunk.6JJ6VBYS.js → chunk.KLRLXUTW.js} +1 -1
- package/dist/chunks/{chunk.AQ33SHN7.js → chunk.LTTDL2KY.js} +1 -1
- package/dist/chunks/{chunk.O5OO4ZYT.js → chunk.LTUK6JCW.js} +1 -1
- package/dist/chunks/{chunk.JWS37SX3.js → chunk.M6K7JMLU.js} +1 -1
- package/dist/chunks/{chunk.AH4JSEVL.js → chunk.MYRTCLZP.js} +1 -1
- package/dist/chunks/{chunk.3OJHLEDR.js → chunk.N5QHFJXS.js} +1 -1
- package/dist/chunks/{chunk.VCDQPSR5.js → chunk.NASGC2JV.js} +1 -1
- package/dist/chunks/{chunk.EX6L6CQ3.js → chunk.NEOFCCRB.js} +1 -1
- package/dist/chunks/{chunk.YLAUIXEA.js → chunk.O3VLJHA2.js} +1 -1
- package/dist/chunks/{chunk.3AY4ZE3B.js → chunk.OK3QJ2YW.js} +1 -1
- package/dist/chunks/{chunk.ZRSPZUZY.js → chunk.OTRY5LPL.js} +1 -1
- package/dist/chunks/{chunk.XVF5EILY.js → chunk.OXWQ32JY.js} +2 -2
- package/dist/chunks/{chunk.74LNGOSZ.js → chunk.QEOASSWE.js} +1 -1
- package/dist/chunks/{chunk.ZLD7GEOS.js → chunk.QT77NJP7.js} +1 -1
- package/dist/chunks/{chunk.OSVHP3IT.js → chunk.QWWARBRX.js} +1 -1
- package/dist/chunks/{chunk.E2HV423L.js → chunk.RY752JKT.js} +1 -1
- package/dist/chunks/{chunk.XNNCGTSI.js → chunk.S7ZCFKU4.js} +1 -1
- package/dist/chunks/{chunk.TR7F4J6K.js → chunk.SIU525YN.js} +1 -1
- package/dist/chunks/{chunk.MKGGWQBV.js → chunk.SYX2HP56.js} +1 -1
- package/dist/chunks/{chunk.TQ4DIMUW.js → chunk.T53QQGSE.js} +1 -1
- package/dist/chunks/{chunk.CV47NCMS.js → chunk.TH7QOBMR.js} +1 -1
- package/dist/chunks/{chunk.RPLU56MF.js → chunk.TKMTVFW2.js} +1 -1
- package/dist/chunks/{chunk.Y6OGZSS6.js → chunk.TTMS2H6W.js} +1 -1
- package/dist/chunks/{chunk.4KY6NI4T.js → chunk.TX3OMUP7.js} +1 -1
- package/dist/chunks/{chunk.2WN7YMGY.js → chunk.UPIYMODI.js} +2 -2
- package/dist/chunks/{chunk.HO2HFXMJ.js → chunk.VGDBE7BH.js} +1 -1
- package/dist/chunks/{chunk.LIZZEBBC.js → chunk.VWP4H2TV.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 +6 -6
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- 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.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- 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 +3 -3
- 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.js +3 -3
- 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 +4 -4
- package/dist/components/notification/notification.js +5 -5
- 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.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/scrollable/scrollable.js +3 -3
- package/dist/components/select/select.js +5 -5
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +3 -3
- 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 +3 -3
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/video/video.js +3 -3
- package/dist/custom-elements.json +181 -181
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.37A7CMRW.js +81 -0
- package/dist-versioned/chunks/{chunk.55WKP7T3.js → chunk.3I25A577.js} +25 -25
- package/dist-versioned/chunks/{chunk.TBUESXVZ.js → chunk.3VHDBKZO.js} +2 -2
- package/dist-versioned/chunks/{chunk.N5ISGLPU.js → chunk.42YGWWWY.js} +2 -2
- package/dist-versioned/chunks/{chunk.7P374LCS.js → chunk.5TPDB4ID.js} +3 -3
- package/dist-versioned/chunks/{chunk.F7CEWVTD.js → chunk.63QEYBJ7.js} +3 -3
- package/dist-versioned/chunks/{chunk.DNIODML7.js → chunk.66HXDLGJ.js} +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.PFIUB53L.js → chunk.7LET2VKP.js} +6 -6
- package/dist-versioned/chunks/{chunk.4BOVS5IV.js → chunk.AAZACHFQ.js} +4 -4
- package/dist-versioned/chunks/{chunk.23SXULLQ.js → chunk.BBT5OFQJ.js} +4 -4
- package/dist-versioned/chunks/{chunk.L7EUFNUL.js → chunk.BE6IDTIG.js} +6 -6
- package/dist-versioned/chunks/{chunk.KMM7NCFU.js → chunk.CQRO7CPL.js} +8 -7
- package/dist-versioned/chunks/{chunk.HTULDNAU.js → chunk.DDO7THCQ.js} +12 -12
- package/dist-versioned/chunks/{chunk.XR4CBBMX.js → chunk.DT45OXGA.js} +2 -2
- package/dist-versioned/chunks/{chunk.JWORONFM.js → chunk.EWDWXHZU.js} +2 -2
- package/dist-versioned/chunks/{chunk.PBPSZJYK.js → chunk.FOBGV2WF.js} +3 -3
- package/dist-versioned/chunks/{chunk.KLMMEDV3.js → chunk.FZ7GSGGM.js} +3 -3
- package/dist-versioned/chunks/{chunk.OGZQTS5F.js → chunk.G7QOD3MD.js} +5 -5
- package/dist-versioned/chunks/{chunk.TVLE7NUT.js → chunk.GEUTG34V.js} +2 -2
- package/dist-versioned/chunks/{chunk.TPMPCCRV.js → chunk.GQ3RQ7AH.js} +5 -5
- package/dist-versioned/chunks/{chunk.5FFIE4YZ.js → chunk.I3XG7VR5.js} +3 -3
- package/dist-versioned/chunks/{chunk.S5CIECBU.js → chunk.IUXKGEIZ.js} +3 -3
- package/dist-versioned/chunks/{chunk.LA3LK5U7.js → chunk.JNDYA5ZT.js} +9 -9
- package/dist-versioned/chunks/{chunk.6JJ6VBYS.js → chunk.KLRLXUTW.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.AQ33SHN7.js → chunk.LTTDL2KY.js} +6 -6
- package/dist-versioned/chunks/{chunk.O5OO4ZYT.js → chunk.LTUK6JCW.js} +2 -2
- package/dist-versioned/chunks/{chunk.JWS37SX3.js → chunk.M6K7JMLU.js} +4 -4
- package/dist-versioned/chunks/{chunk.AH4JSEVL.js → chunk.MYRTCLZP.js} +2 -2
- package/dist-versioned/chunks/{chunk.3OJHLEDR.js → chunk.N5QHFJXS.js} +5 -5
- package/dist-versioned/chunks/{chunk.VCDQPSR5.js → chunk.NASGC2JV.js} +3 -3
- package/dist-versioned/chunks/{chunk.EX6L6CQ3.js → chunk.NEOFCCRB.js} +2 -2
- package/dist-versioned/chunks/{chunk.YLAUIXEA.js → chunk.O3VLJHA2.js} +3 -3
- package/dist-versioned/chunks/{chunk.3AY4ZE3B.js → chunk.OK3QJ2YW.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZRSPZUZY.js → chunk.OTRY5LPL.js} +7 -7
- package/dist-versioned/chunks/{chunk.XVF5EILY.js → chunk.OXWQ32JY.js} +14 -14
- package/dist-versioned/chunks/{chunk.74LNGOSZ.js → chunk.QEOASSWE.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZLD7GEOS.js → chunk.QT77NJP7.js} +4 -4
- package/dist-versioned/chunks/{chunk.OSVHP3IT.js → chunk.QWWARBRX.js} +3 -3
- package/dist-versioned/chunks/{chunk.E2HV423L.js → chunk.RY752JKT.js} +3 -3
- package/dist-versioned/chunks/{chunk.XNNCGTSI.js → chunk.S7ZCFKU4.js} +27 -27
- package/dist-versioned/chunks/{chunk.TR7F4J6K.js → chunk.SIU525YN.js} +15 -15
- package/dist-versioned/chunks/{chunk.MKGGWQBV.js → chunk.SYX2HP56.js} +2 -2
- package/dist-versioned/chunks/{chunk.TQ4DIMUW.js → chunk.T53QQGSE.js} +3 -3
- package/dist-versioned/chunks/{chunk.CV47NCMS.js → chunk.TH7QOBMR.js} +5 -5
- package/dist-versioned/chunks/{chunk.RPLU56MF.js → chunk.TKMTVFW2.js} +3 -3
- package/dist-versioned/chunks/{chunk.Y6OGZSS6.js → chunk.TTMS2H6W.js} +3 -3
- package/dist-versioned/chunks/{chunk.4KY6NI4T.js → chunk.TX3OMUP7.js} +10 -10
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.2WN7YMGY.js → chunk.UPIYMODI.js} +8 -8
- package/dist-versioned/chunks/{chunk.HO2HFXMJ.js → chunk.VGDBE7BH.js} +2 -2
- package/dist-versioned/chunks/{chunk.LIZZEBBC.js → chunk.VWP4H2TV.js} +6 -6
- 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 +6 -6
- 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 +1 -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 +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- 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 +3 -3
- 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 +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -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 +4 -4
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +5 -5
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- 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 +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +3 -3
- package/dist-versioned/components/select/select.d.ts +1 -1
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +1 -1
- package/dist-versioned/components/textarea/textarea.js +3 -3
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +4 -4
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +3 -3
- package/dist-versioned/custom-elements.json +385 -385
- 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 +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +2 -2
- package/cdn/chunks/chunk.NV6YZ464.js +0 -1
- package/cdn/chunks/chunk.ZAHVXNIZ.js +0 -25
- package/cdn-versioned/chunks/chunk.NV6YZ464.js +0 -1
- package/cdn-versioned/chunks/chunk.ZAHVXNIZ.js +0 -25
- package/dist/chunks/chunk.WJ3R5TMO.js +0 -81
- package/dist-versioned/chunks/chunk.WJ3R5TMO.js +0 -81
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
SolidElement,
|
|
28
28
|
customElement
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.37A7CMRW.js";
|
|
30
30
|
import {
|
|
31
31
|
animateTo,
|
|
32
32
|
stopAnimations
|
|
@@ -44,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.formControlController = new FormControlController(this, {
|
|
47
|
-
assumeInteractionOn: ["sd-blur", "sd-5-4-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-5-4-2-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -77,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
77
77
|
this.styleOnValid = false;
|
|
78
78
|
this.hoist = false;
|
|
79
79
|
this.getTag = (option) => {
|
|
80
|
-
return html`<sd-5-4-
|
|
80
|
+
return html`<sd-5-4-2-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
81
81
|
base:tag__base,
|
|
82
82
|
content:tag__content,
|
|
83
83
|
removable-indicator:tag__removable-indicator,
|
|
84
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-4-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-4-2-tag>`;
|
|
85
85
|
};
|
|
86
86
|
this.handleDocumentFocusIn = (event) => {
|
|
87
87
|
const path = event.composedPath();
|
|
@@ -92,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
92
92
|
this.handleDocumentKeyDown = (event) => {
|
|
93
93
|
const target = event.target;
|
|
94
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
95
|
-
const isIconButton = target.closest("sd-5-4-
|
|
95
|
+
const isIconButton = target.closest("sd-5-4-2-icon-button") !== null;
|
|
96
96
|
if (isClearButton || isIconButton) {
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
@@ -227,8 +227,8 @@ var SdSelect = class extends SolidElement {
|
|
|
227
227
|
event.preventDefault();
|
|
228
228
|
event.stopPropagation();
|
|
229
229
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
230
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-4-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-4-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-4-2-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-4-2-tag");
|
|
232
232
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
233
233
|
this.updateComplete.then(() => {
|
|
234
234
|
if (nextTag) {
|
|
@@ -248,7 +248,7 @@ var SdSelect = class extends SolidElement {
|
|
|
248
248
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
249
249
|
this.updateComplete.then(() => {
|
|
250
250
|
var _a;
|
|
251
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-4-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-4-2-tag");
|
|
252
252
|
if (tags && tags.length > 0) {
|
|
253
253
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
254
254
|
} else {
|
|
@@ -294,7 +294,7 @@ var SdSelect = class extends SolidElement {
|
|
|
294
294
|
}
|
|
295
295
|
handleOptionClick(event) {
|
|
296
296
|
const target = event.target;
|
|
297
|
-
const option = target.closest("sd-5-4-
|
|
297
|
+
const option = target.closest("sd-5-4-2-option");
|
|
298
298
|
const oldValue = this.value;
|
|
299
299
|
if (option && !option.disabled) {
|
|
300
300
|
if (this.multiple) {
|
|
@@ -319,7 +319,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
319
|
const allOptions = this.getAllOptions();
|
|
320
320
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
321
321
|
const values = [];
|
|
322
|
-
if (customElements.get("sd-5-4-
|
|
322
|
+
if (customElements.get("sd-5-4-2-option")) {
|
|
323
323
|
allOptions.forEach((option) => {
|
|
324
324
|
if (this.multiple) {
|
|
325
325
|
option.checkbox = true;
|
|
@@ -328,7 +328,7 @@ var SdSelect = class extends SolidElement {
|
|
|
328
328
|
});
|
|
329
329
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
330
330
|
} else {
|
|
331
|
-
customElements.whenDefined("sd-5-4-
|
|
331
|
+
customElements.whenDefined("sd-5-4-2-option").then(() => this.handleDefaultSlotChange());
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
handleTagRemove(event, option) {
|
|
@@ -345,13 +345,13 @@ var SdSelect = class extends SolidElement {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
// Gets an array of all <sd-5-4-
|
|
348
|
+
// Gets an array of all <sd-5-4-2-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-5-4-
|
|
350
|
+
return [...this.querySelectorAll("sd-5-4-2-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-5-4-
|
|
352
|
+
// Gets the first <sd-5-4-2-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-5-4-
|
|
354
|
+
return this.querySelector("sd-5-4-2-option");
|
|
355
355
|
}
|
|
356
356
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
357
357
|
// option may be "current" at a time.
|
|
@@ -440,11 +440,11 @@ var SdSelect = class extends SolidElement {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
return [
|
|
443
|
-
html`<sd-5-4-
|
|
443
|
+
html`<sd-5-4-2-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
444
444
|
base:tag__base,
|
|
445
445
|
content:tag__content,
|
|
446
446
|
removable-indicator:tag__removable-indicator,
|
|
447
|
-
" 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-5-4-
|
|
447
|
+
" 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-5-4-2-tag>`
|
|
448
448
|
];
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -453,7 +453,7 @@ var SdSelect = class extends SolidElement {
|
|
|
453
453
|
this.formControlController.emitInvalidEvent(event);
|
|
454
454
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
455
455
|
}
|
|
456
|
-
/** Receives incoming event detail from sd-5-4-
|
|
456
|
+
/** Receives incoming event detail from sd-5-4-2-popup and updates local state for conditional styling. */
|
|
457
457
|
handleCurrentPlacement(e) {
|
|
458
458
|
const incomingPlacement = e.detail;
|
|
459
459
|
if (incomingPlacement) {
|
|
@@ -462,7 +462,7 @@ var SdSelect = class extends SolidElement {
|
|
|
462
462
|
}
|
|
463
463
|
handleUseTagsChange() {
|
|
464
464
|
const allOptions = this.getAllOptions();
|
|
465
|
-
if (customElements.get("sd-5-4-
|
|
465
|
+
if (customElements.get("sd-5-4-2-option")) {
|
|
466
466
|
allOptions.forEach((option) => {
|
|
467
467
|
option.checkbox = this.multiple;
|
|
468
468
|
});
|
|
@@ -598,7 +598,7 @@ var SdSelect = class extends SolidElement {
|
|
|
598
598
|
default: "border-neutral-800"
|
|
599
599
|
}[selectState],
|
|
600
600
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
601
|
-
)}"></div><sd-5-4-
|
|
601
|
+
)}"></div><sd-5-4-2-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
602
602
|
"inline-flex relative w-full",
|
|
603
603
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
604
604
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -621,12 +621,12 @@ var SdSelect = class extends SolidElement {
|
|
|
621
621
|
"select__clear flex justify-center",
|
|
622
622
|
iconMarginLeft,
|
|
623
623
|
this.value.length > 0 ? "visible" : "invisible"
|
|
624
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-4-
|
|
624
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-4-2-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-4-2-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-4-2-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-4-2-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-4-2-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="status-check"></sd-5-4-2-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
625
625
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
626
626
|
this.open ? "rotate-180" : "rotate-0",
|
|
627
627
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
628
628
|
iconSize
|
|
629
|
-
)}"><sd-5-4-
|
|
629
|
+
)}"><sd-5-4-2-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-4-2-icon></slot></div><button part="combobox" class="${cx(
|
|
630
630
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
631
631
|
cursorStyles,
|
|
632
632
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -639,7 +639,7 @@ var SdSelect = class extends SolidElement {
|
|
|
639
639
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
640
640
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
641
641
|
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"
|
|
642
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-4-
|
|
642
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-4-2-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
/**
|
|
@@ -647,13 +647,13 @@ var SdSelect = class extends SolidElement {
|
|
|
647
647
|
*/
|
|
648
648
|
SdSelect.styles = [
|
|
649
649
|
...SolidElement.styles,
|
|
650
|
-
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)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-4-
|
|
650
|
+
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)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-4-2-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-4-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-5-4-2-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-4-2-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-4-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))}`
|
|
651
651
|
];
|
|
652
652
|
__decorateClass([
|
|
653
|
-
queryAssignedElements({ selector: "sd-5-4-
|
|
653
|
+
queryAssignedElements({ selector: "sd-5-4-2-option" })
|
|
654
654
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
655
655
|
__decorateClass([
|
|
656
|
-
query("sd-5-4-
|
|
656
|
+
query("sd-5-4-2-popup")
|
|
657
657
|
], SdSelect.prototype, "popup", 2);
|
|
658
658
|
__decorateClass([
|
|
659
659
|
query('[part="combobox"]')
|
|
@@ -778,7 +778,7 @@ __decorateClass([
|
|
|
778
778
|
watch("value", { waitUntilFirstUpdate: true })
|
|
779
779
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
780
780
|
SdSelect = __decorateClass([
|
|
781
|
-
customElement("sd-5-4-
|
|
781
|
+
customElement("sd-5-4-2-select")
|
|
782
782
|
], SdSelect);
|
|
783
783
|
setDefaultAnimation("select.show", {
|
|
784
784
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.37A7CMRW.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass,
|
|
13
13
|
__spreadValues
|
|
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
const whenAllDefined = Promise.all([
|
|
32
|
-
customElements.whenDefined("sd-5-4-
|
|
33
|
-
customElements.whenDefined("sd-5-4-
|
|
32
|
+
customElements.whenDefined("sd-5-4-2-tab"),
|
|
33
|
+
customElements.whenDefined("sd-5-4-2-tab-panel")
|
|
34
34
|
]);
|
|
35
35
|
super.connectedCallback();
|
|
36
36
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -70,20 +70,20 @@ var SdTabGroup = class extends SolidElement {
|
|
|
70
70
|
}
|
|
71
71
|
getAllTabs(options = { includeDisabled: true }) {
|
|
72
72
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
73
|
-
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-5-4-
|
|
74
|
-
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-5-4-
|
|
73
|
+
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-5-4-2-tab" ? el : el.querySelector("sd-5-4-2-tab")).filter((el) => {
|
|
74
|
+
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-5-4-2-tab" : el.tagName.toLowerCase() === "sd-5-4-2-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-4-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-4-2-tab-panel");
|
|
79
79
|
}
|
|
80
80
|
getActiveTab() {
|
|
81
81
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
84
|
const target = event.target;
|
|
85
|
-
const tab = target.closest("sd-5-4-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-5-4-
|
|
85
|
+
const tab = target.closest("sd-5-4-2-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-5-4-2-tab-group");
|
|
87
87
|
if (tabGroup !== this) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
93
93
|
}
|
|
94
94
|
handleKeyDown(event) {
|
|
95
95
|
const target = event.target;
|
|
96
|
-
const tab = target.closest("sd-5-4-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-5-4-
|
|
96
|
+
const tab = target.closest("sd-5-4-2-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-5-4-2-tab-group");
|
|
98
98
|
if (tabGroup !== this) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
119
119
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
120
120
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
121
121
|
const isRtl = this.localize.dir() === "rtl";
|
|
122
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-5-4-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-5-4-2-tab") {
|
|
123
123
|
let index = this.tabs.indexOf(activeEl);
|
|
124
124
|
if (event.key === "Home") {
|
|
125
125
|
index = 0;
|
|
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
|
|
|
215
215
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
216
216
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
217
217
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
218
|
-
)}" @click="${this.handleScrollToStart}"><sd-5-4-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-5-4-2-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-4-2-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
219
219
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
220
220
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
221
|
-
)}" @click="${this.handleScrollToEnd}"><sd-5-4-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-5-4-2-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-4-2-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
SdTabGroup.styles = [
|
|
225
225
|
...SolidElement.styles,
|
|
226
|
-
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-5-4-
|
|
226
|
+
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-5-4-2-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-5-4-2-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property({ type: String, reflect: true })
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-5-4-
|
|
247
|
+
customElement("sd-5-4-2-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.37A7CMRW.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -25,7 +25,7 @@ SdCarouselItem.styles = [
|
|
|
25
25
|
css`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`
|
|
26
26
|
];
|
|
27
27
|
SdCarouselItem = __decorateClass([
|
|
28
|
-
customElement("sd-5-4-
|
|
28
|
+
customElement("sd-5-4-2-carousel-item")
|
|
29
29
|
], SdCarouselItem);
|
|
30
30
|
|
|
31
31
|
export {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SolidElement,
|
|
16
16
|
customElement
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.37A7CMRW.js";
|
|
18
18
|
import {
|
|
19
19
|
animateTo,
|
|
20
20
|
shimKeyframesHeightAuto,
|
|
@@ -142,7 +142,7 @@ var SdAccordion = class extends SolidElement {
|
|
|
142
142
|
)}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
143
143
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",
|
|
144
144
|
this.open && "rotate-180"
|
|
145
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-4-
|
|
145
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-4-2-icon library="_internal" name="chevron-down"></sd-5-4-2-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-4-2-icon library="_internal" name="chevron-down"></sd-5-4-2-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
SdAccordion.styles = [
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch("open", { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
|
170
170
|
SdAccordion = __decorateClass([
|
|
171
|
-
customElement("sd-5-4-
|
|
171
|
+
customElement("sd-5-4-2-accordion")
|
|
172
172
|
], SdAccordion);
|
|
173
173
|
setDefaultAnimation("accordion.show", {
|
|
174
174
|
keyframes: [
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.37A7CMRW.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -25,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Syncs the disabled prop for all slotted sd-5-4-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-5-4-2-options when it is triggered
|
|
29
29
|
*/
|
|
30
30
|
handleDisableOptions() {
|
|
31
31
|
const { disabled } = this;
|
|
32
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-4-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-4-2-option").forEach((opt) => {
|
|
33
33
|
opt.disabled = disabled;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var SdOptgroup = class extends SolidElement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const { disabled } = this;
|
|
41
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-4-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-4-2-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-4-2-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdOptgroup.styles = [
|
|
@@ -58,7 +58,7 @@ __decorateClass([
|
|
|
58
58
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
59
59
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
60
60
|
SdOptgroup = __decorateClass([
|
|
61
|
-
customElement("sd-5-4-
|
|
61
|
+
customElement("sd-5-4-2-optgroup")
|
|
62
62
|
], SdOptgroup);
|
|
63
63
|
|
|
64
64
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.37A7CMRW.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -93,7 +93,7 @@ var SdOption = class extends SolidElement {
|
|
|
93
93
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
94
94
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
95
95
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
|
|
96
|
-
)}">${this.selected ? html`<sd-5-4-
|
|
96
|
+
)}">${this.selected ? html`<sd-5-4-2-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-4-2-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
@@ -140,7 +140,7 @@ __decorateClass([
|
|
|
140
140
|
watch("value")
|
|
141
141
|
], SdOption.prototype, "handleValueChange", 1);
|
|
142
142
|
SdOption = __decorateClass([
|
|
143
|
-
customElement("sd-5-4-
|
|
143
|
+
customElement("sd-5-4-2-option")
|
|
144
144
|
], SdOption);
|
|
145
145
|
|
|
146
146
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.37A7CMRW.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -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-5-4-
|
|
24
|
+
this.componentId = `sd-5-4-2-tab-${this.attrId}`;
|
|
25
25
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
26
26
|
this.variant = "default";
|
|
27
27
|
this.active = false;
|
|
@@ -102,7 +102,7 @@ __decorateClass([
|
|
|
102
102
|
watch(["disabled", "visually-disabled"])
|
|
103
103
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
104
104
|
SdTab = __decorateClass([
|
|
105
|
-
customElement("sd-5-4-
|
|
105
|
+
customElement("sd-5-4-2-tab")
|
|
106
106
|
], SdTab);
|
|
107
107
|
|
|
108
108
|
export {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
SolidElement,
|
|
22
22
|
customElement
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.37A7CMRW.js";
|
|
24
24
|
import {
|
|
25
25
|
animateTo,
|
|
26
26
|
stopAnimations
|
|
@@ -76,7 +76,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
76
76
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
77
77
|
* or an element within the slotted elements shadow root.
|
|
78
78
|
*
|
|
79
|
-
* e.g. the accessible trigger of an <sd-5-4-
|
|
79
|
+
* e.g. the accessible trigger of an <sd-5-4-2-button> is a <button> located inside its shadow root.
|
|
80
80
|
*
|
|
81
81
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
82
82
|
* */
|
|
@@ -87,11 +87,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
87
87
|
if (accessibleTrigger) {
|
|
88
88
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
89
89
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
90
|
-
case "sd-5-4-
|
|
91
|
-
case "sd-5-4-
|
|
90
|
+
case "sd-5-4-2-button":
|
|
91
|
+
case "sd-5-4-2-icon-button":
|
|
92
92
|
target = accessibleTrigger.button;
|
|
93
93
|
break;
|
|
94
|
-
case "sd-5-4-
|
|
94
|
+
case "sd-5-4-2-navigation-item":
|
|
95
95
|
target = accessibleTrigger.button;
|
|
96
96
|
break;
|
|
97
97
|
default:
|
|
@@ -236,7 +236,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
236
236
|
}
|
|
237
237
|
addOpenListeners() {
|
|
238
238
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
239
|
-
this.panel.addEventListener("sd-5-4-
|
|
239
|
+
this.panel.addEventListener("sd-5-4-2-select", this.handlePanelSelect);
|
|
240
240
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
241
241
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
242
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -244,7 +244,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
244
244
|
removeOpenListeners() {
|
|
245
245
|
if (this.panel) {
|
|
246
246
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
247
|
-
this.panel.removeEventListener("sd-5-4-
|
|
247
|
+
this.panel.removeEventListener("sd-5-4-2-select", this.handlePanelSelect);
|
|
248
248
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
249
249
|
}
|
|
250
250
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -277,11 +277,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return html`<sd-5-4-
|
|
280
|
+
return html`<sd-5-4-2-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
281
281
|
"shadow bg-white block",
|
|
282
282
|
this.open ? "pointer-events-auto" : "pointer-events-none",
|
|
283
283
|
this.rounded && "rounded-md"
|
|
284
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-4-
|
|
284
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-4-2-popup>`;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
SdDropdown.styles = [
|
|
@@ -334,7 +334,7 @@ __decorateClass([
|
|
|
334
334
|
watch("open", { waitUntilFirstUpdate: true })
|
|
335
335
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
336
336
|
SdDropdown = __decorateClass([
|
|
337
|
-
customElement("sd-5-4-
|
|
337
|
+
customElement("sd-5-4-2-dropdown")
|
|
338
338
|
], SdDropdown);
|
|
339
339
|
setDefaultAnimation("dropdown.show", {
|
|
340
340
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-4-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-4-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-4-2-option" ? item : Array.from(item.querySelectorAll(":scope > sd-5-4-2-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-4-2-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.FNYEXUNK.js";
|
|
7
7
|
import {
|
|
8
8
|
SdCarouselItem
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.SYX2HP56.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.YKM42GKF.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.37A7CMRW.js";
|
|
20
20
|
import {
|
|
21
21
|
prefersReducedMotion
|
|
22
22
|
} from "./chunk.HQWAKJBV.js";
|
|
@@ -56,7 +56,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
56
56
|
this.pausedAutoplay = false;
|
|
57
57
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
58
58
|
this.scrollController = new ScrollController(this);
|
|
59
|
-
this.slides = this.getElementsByTagName("sd-5-4-
|
|
59
|
+
this.slides = this.getElementsByTagName("sd-5-4-2-carousel-item");
|
|
60
60
|
// determines which slide is displayed
|
|
61
61
|
// A map containing the state of all the slides
|
|
62
62
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -380,7 +380,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
380
380
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${prevEnabled ? (e) => {
|
|
381
381
|
this.previous();
|
|
382
382
|
this.unblockAutoplay(e, this.previousButton);
|
|
383
|
-
} : null}"><slot name="previous-icon"><sd-5-4-
|
|
383
|
+
} : null}"><slot name="previous-icon"><sd-5-4-2-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-5-4-2-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
384
384
|
const isActive = index + 1 === currentPage;
|
|
385
385
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
386
386
|
"carousel__pagination-item",
|
|
@@ -403,7 +403,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
403
403
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${nextEnabled ? (e) => {
|
|
404
404
|
this.next();
|
|
405
405
|
this.unblockAutoplay(e, this.nextButton);
|
|
406
|
-
} : null}"><slot name="next-icon"><sd-5-4-
|
|
406
|
+
} : null}"><slot name="next-icon"><sd-5-4-2-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-5-4-2-icon></slot></button></div><button class="${cx(
|
|
407
407
|
"ml-6 !rounded-sm",
|
|
408
408
|
"!absolute !right-0 sd-interactive",
|
|
409
409
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -413,12 +413,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
413
413
|
if (e.detail) {
|
|
414
414
|
this.autoplayControls.blur();
|
|
415
415
|
}
|
|
416
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-4-
|
|
416
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-4-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-5-4-2-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-5-4-2-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-5-4-2-icon></slot></button></div></div>`;
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
419
|
SdCarousel.styles = [
|
|
420
420
|
...SolidElement.styles,
|
|
421
|
-
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-4-
|
|
421
|
+
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-4-2-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
422
422
|
];
|
|
423
423
|
__decorateClass([
|
|
424
424
|
query('[part~="autoplay-controls"]')
|
|
@@ -485,7 +485,7 @@ __decorateClass([
|
|
|
485
485
|
watch("autoplay")
|
|
486
486
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
487
487
|
SdCarousel = __decorateClass([
|
|
488
|
-
customElement("sd-5-4-
|
|
488
|
+
customElement("sd-5-4-2-carousel")
|
|
489
489
|
], SdCarousel);
|
|
490
490
|
|
|
491
491
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.37A7CMRW.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-5-4-
|
|
326
|
+
customElement("sd-5-4-2-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|