@solid-design-system/components 5.5.0 → 5.7.0
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.M4OVPDW3.js → chunk.2POSLQ5Z.js} +1 -1
- package/cdn/chunks/{chunk.P2DJN4FR.js → chunk.35D23HSW.js} +1 -1
- package/cdn/chunks/{chunk.D5IOD6QB.js → chunk.3HZLJIGE.js} +1 -1
- package/cdn/chunks/{chunk.7QK6UA2Z.js → chunk.3NSAEDOK.js} +1 -1
- package/cdn/chunks/{chunk.IT7JA266.js → chunk.3XREQPK6.js} +1 -1
- package/cdn/chunks/{chunk.WRL6BR2M.js → chunk.4MWOA6ZI.js} +1 -1
- package/cdn/chunks/{chunk.7OTVI3CD.js → chunk.565YDCON.js} +1 -1
- package/cdn/chunks/{chunk.J4ZSD5TG.js → chunk.5GJMG4PS.js} +1 -1
- package/cdn/chunks/{chunk.TW36XK5M.js → chunk.5SWOTSCE.js} +1 -1
- package/cdn/chunks/{chunk.YMBH4W6H.js → chunk.6WXSGDVI.js} +1 -1
- package/cdn/chunks/{chunk.DTYL56NS.js → chunk.7LCLIYUY.js} +1 -1
- package/cdn/chunks/chunk.AYBSZD4S.js +11 -0
- package/cdn/chunks/chunk.BJBQEPZV.js +1 -0
- package/cdn/chunks/{chunk.A32BGFOG.js → chunk.CZOOWQUF.js} +1 -1
- package/cdn/chunks/{chunk.JGHJFDZX.js → chunk.DNSNI4OK.js} +1 -1
- package/cdn/chunks/{chunk.MCTJO37V.js → chunk.EKQAB4EX.js} +1 -1
- package/cdn/chunks/{chunk.5DM35GAT.js → chunk.ERAVBZHK.js} +1 -1
- package/cdn/chunks/{chunk.A464DMKJ.js → chunk.ESE4LCS2.js} +1 -1
- package/cdn/chunks/{chunk.YLGCY74T.js → chunk.FAIXOA2F.js} +1 -1
- package/cdn/chunks/{chunk.EBN7NGGZ.js → chunk.FLRYLAGF.js} +1 -1
- package/cdn/chunks/{chunk.5ZUTPOZN.js → chunk.FLT6CDXP.js} +1 -1
- package/cdn/chunks/{chunk.L6SX2TJ6.js → chunk.GN4ET7UA.js} +1 -1
- package/cdn/chunks/{chunk.QGZH4A4S.js → chunk.HUY3W3M7.js} +1 -1
- package/cdn/chunks/{chunk.TCEVJUR4.js → chunk.KWK6C3IZ.js} +1 -1
- package/cdn/chunks/{chunk.C2ELABGI.js → chunk.LFCA2IQG.js} +1 -1
- package/cdn/chunks/{chunk.OCLPE5JZ.js → chunk.LP25HBFS.js} +1 -1
- package/cdn/chunks/{chunk.45XXNE45.js → chunk.LSQZN7XG.js} +1 -1
- package/cdn/chunks/{chunk.3YJWQK5P.js → chunk.LV6Y7VYR.js} +1 -1
- package/cdn/chunks/{chunk.B3NQ4A2U.js → chunk.NNZNEAIJ.js} +1 -1
- package/cdn/chunks/{chunk.KL3MASXA.js → chunk.NXKFAB72.js} +1 -1
- package/cdn/chunks/{chunk.7QIKWTMS.js → chunk.ON5B2YWM.js} +1 -1
- package/cdn/chunks/{chunk.B5LASGKJ.js → chunk.OXAOIMTT.js} +1 -1
- package/cdn/chunks/{chunk.6UFQTNJ4.js → chunk.PFEUSEUN.js} +1 -1
- package/cdn/chunks/{chunk.URTZIQ6E.js → chunk.PPG3ICRV.js} +1 -1
- package/cdn/chunks/{chunk.SS5LUGOK.js → chunk.PUQ3RIAM.js} +1 -1
- package/cdn/chunks/{chunk.PS3TGJUN.js → chunk.QGBNCTI4.js} +1 -1
- package/cdn/chunks/chunk.RDWRS66R.js +1 -0
- package/cdn/chunks/{chunk.I62U5KAM.js → chunk.RL2BQKMR.js} +1 -1
- package/cdn/chunks/{chunk.ZK4EEZJP.js → chunk.S6RPYVJI.js} +1 -1
- package/cdn/chunks/{chunk.VO5VKWRA.js → chunk.SBHTDVQ4.js} +1 -1
- package/cdn/chunks/{chunk.WLIMVXV6.js → chunk.SIOBUBBZ.js} +1 -1
- package/cdn/chunks/{chunk.GALZYH2O.js → chunk.SLIXQGGP.js} +1 -1
- package/cdn/chunks/{chunk.LKWDMDUJ.js → chunk.SMM76MUR.js} +1 -1
- package/cdn/chunks/{chunk.DFHAOXPC.js → chunk.SP4BD3BD.js} +1 -1
- package/cdn/chunks/{chunk.3NHWHKAX.js → chunk.T5MR3IUY.js} +1 -1
- package/cdn/chunks/chunk.TGGYBIMX.js +25 -0
- package/cdn/chunks/{chunk.563PG5RE.js → chunk.TQUJ4VWU.js} +1 -1
- package/cdn/chunks/{chunk.7YLJCJVT.js → chunk.ULZOLSNV.js} +1 -1
- package/cdn/chunks/{chunk.7QC4UBY2.js → chunk.UYBBXCOU.js} +1 -1
- package/cdn/chunks/{chunk.2Y4RRR77.js → chunk.WB2PQDZJ.js} +1 -1
- package/cdn/chunks/{chunk.GHDR3GKI.js → chunk.YT57BXKY.js} +1 -1
- package/cdn/chunks/{chunk.XJFIJA5Z.js → chunk.ZNUQ2AGR.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.d.ts +8 -2
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel/fade-controller.d.ts +20 -0
- package/cdn/components/carousel/fade-controller.js +1 -0
- 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/icon/library.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.d.ts +1 -0
- 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 +63 -1
- package/cdn/solid-components.bundle.js +16 -18
- package/cdn/solid-components.iife.js +16 -18
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +10 -0
- package/cdn/web-types.json +21 -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.M4OVPDW3.js → chunk.2POSLQ5Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.P2DJN4FR.js → chunk.35D23HSW.js} +2 -2
- package/cdn-versioned/chunks/{chunk.D5IOD6QB.js → chunk.3HZLJIGE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7QK6UA2Z.js → chunk.3NSAEDOK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IT7JA266.js → chunk.3XREQPK6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WRL6BR2M.js → chunk.4MWOA6ZI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7OTVI3CD.js → chunk.565YDCON.js} +1 -1
- package/cdn-versioned/chunks/{chunk.J4ZSD5TG.js → chunk.5GJMG4PS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TW36XK5M.js → chunk.5SWOTSCE.js} +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.YMBH4W6H.js → chunk.6WXSGDVI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DTYL56NS.js → chunk.7LCLIYUY.js} +1 -1
- package/cdn-versioned/chunks/chunk.AYBSZD4S.js +11 -0
- package/cdn-versioned/chunks/chunk.BJBQEPZV.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.A32BGFOG.js → chunk.CZOOWQUF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JGHJFDZX.js → chunk.DNSNI4OK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MCTJO37V.js → chunk.EKQAB4EX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5DM35GAT.js → chunk.ERAVBZHK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.A464DMKJ.js → chunk.ESE4LCS2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YLGCY74T.js → chunk.FAIXOA2F.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EBN7NGGZ.js → chunk.FLRYLAGF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.5ZUTPOZN.js → chunk.FLT6CDXP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.L6SX2TJ6.js → chunk.GN4ET7UA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QGZH4A4S.js → chunk.HUY3W3M7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TCEVJUR4.js → chunk.KWK6C3IZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.C2ELABGI.js → chunk.LFCA2IQG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OCLPE5JZ.js → chunk.LP25HBFS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.45XXNE45.js → chunk.LSQZN7XG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3YJWQK5P.js → chunk.LV6Y7VYR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.B3NQ4A2U.js → chunk.NNZNEAIJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KL3MASXA.js → chunk.NXKFAB72.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7QIKWTMS.js → chunk.ON5B2YWM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.B5LASGKJ.js → chunk.OXAOIMTT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6UFQTNJ4.js → chunk.PFEUSEUN.js} +4 -4
- package/cdn-versioned/chunks/{chunk.URTZIQ6E.js → chunk.PPG3ICRV.js} +2 -2
- package/cdn-versioned/chunks/{chunk.SS5LUGOK.js → chunk.PUQ3RIAM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PS3TGJUN.js → chunk.QGBNCTI4.js} +1 -1
- package/cdn-versioned/chunks/chunk.RDWRS66R.js +1 -0
- package/cdn-versioned/chunks/{chunk.I62U5KAM.js → chunk.RL2BQKMR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZK4EEZJP.js → chunk.S6RPYVJI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VO5VKWRA.js → chunk.SBHTDVQ4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WLIMVXV6.js → chunk.SIOBUBBZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GALZYH2O.js → chunk.SLIXQGGP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LKWDMDUJ.js → chunk.SMM76MUR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DFHAOXPC.js → chunk.SP4BD3BD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3NHWHKAX.js → chunk.T5MR3IUY.js} +1 -1
- package/cdn-versioned/chunks/chunk.TGGYBIMX.js +25 -0
- package/cdn-versioned/chunks/{chunk.563PG5RE.js → chunk.TQUJ4VWU.js} +4 -4
- package/cdn-versioned/chunks/{chunk.7YLJCJVT.js → chunk.ULZOLSNV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7QC4UBY2.js → chunk.UYBBXCOU.js} +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.2Y4RRR77.js → chunk.WB2PQDZJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GHDR3GKI.js → chunk.YT57BXKY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XJFIJA5Z.js → chunk.ZNUQ2AGR.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 +9 -3
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel/fade-controller.d.ts +20 -0
- package/cdn-versioned/components/carousel/fade-controller.js +1 -0
- 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/icon/library.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.d.ts +1 -0
- 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 +271 -209
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +20 -22
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +20 -22
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +90 -80
- package/cdn-versioned/web-types.json +157 -137
- package/dist/chunks/{chunk.VWO7SMIW.js → chunk.2Z3PTZDF.js} +1 -1
- package/dist/chunks/{chunk.GPGNE73T.js → chunk.4BSIESXO.js} +1 -1
- package/dist/chunks/{chunk.FL7XA2L3.js → chunk.6A4EY2BW.js} +69 -13
- package/dist/chunks/{chunk.MAEGWOCQ.js → chunk.6Q5PHGOX.js} +2 -2
- package/dist/chunks/{chunk.GOGPGGHW.js → chunk.7ASLASKF.js} +1 -1
- package/dist/chunks/{chunk.57SMIFAB.js → chunk.7LIXWEBN.js} +1 -1
- package/dist/chunks/{chunk.3HPLJIDM.js → chunk.7YAYQD2F.js} +7 -2
- package/dist/chunks/{chunk.QN3ULHF6.js → chunk.ABTFDUXB.js} +1 -1
- package/dist/chunks/{chunk.GANFEZEA.js → chunk.ATBHSXHW.js} +1 -1
- package/dist/chunks/{chunk.URTD4FVZ.js → chunk.BIWX4AXS.js} +1 -1
- package/dist/chunks/{chunk.DMKN3M74.js → chunk.BZMDW7E4.js} +1 -1
- package/dist/chunks/{chunk.KQIAHXDV.js → chunk.CM5UUKM4.js} +1 -1
- package/dist/chunks/{chunk.7HDYUFV4.js → chunk.D23TODRF.js} +1 -1
- package/dist/chunks/{chunk.YIT7C2FX.js → chunk.DWOWPIFO.js} +1 -1
- package/dist/chunks/{chunk.2ZGD7ZWV.js → chunk.EAFZSO6J.js} +1 -1
- package/dist/chunks/{chunk.RUGET775.js → chunk.FIHROP3X.js} +1 -1
- package/dist/chunks/{chunk.TN3AK2CB.js → chunk.FSL676RI.js} +1 -1
- package/dist/chunks/{chunk.2N5XLHBL.js → chunk.GABDY4S6.js} +1 -1
- package/dist/chunks/{chunk.7KAD3IZR.js → chunk.H3K5PQJU.js} +1 -1
- package/dist/chunks/{chunk.FKLYH7XI.js → chunk.H3OKMVXK.js} +1 -1
- package/dist/chunks/{chunk.S44HT5WK.js → chunk.HIAESSS3.js} +1 -1
- package/dist/chunks/{chunk.MJI2LR7Q.js → chunk.HJN7RI3V.js} +1 -1
- package/dist/chunks/{chunk.EPXREFBH.js → chunk.IF3LSW7O.js} +1 -1
- package/dist/chunks/{chunk.SJ633J2S.js → chunk.ISKBRYU2.js} +1 -1
- package/dist/chunks/{chunk.3GP7FNMV.js → chunk.JBZMLWDZ.js} +1 -1
- package/dist/chunks/{chunk.GC6J3QO6.js → chunk.KTWITSMU.js} +1 -1
- package/dist/chunks/{chunk.YGYU27OD.js → chunk.KUULYGHN.js} +2 -2
- package/dist/chunks/{chunk.3WKBJLEU.js → chunk.MFEHVTR6.js} +1 -1
- package/dist/chunks/{chunk.ZJYBYFC4.js → chunk.MM3ZPOVU.js} +1 -1
- package/dist/chunks/{chunk.2FLTH2J2.js → chunk.MUUF45Z6.js} +1 -1
- package/dist/chunks/{chunk.PA346ZLC.js → chunk.NE5RAPHM.js} +1 -1
- package/dist/chunks/chunk.NM4SNSEF.js +82 -0
- package/dist/chunks/{chunk.LLVY4FRO.js → chunk.NQLGMP2D.js} +1 -1
- package/dist/chunks/{chunk.ZZ53RZAM.js → chunk.OOCDLYKD.js} +1 -1
- package/dist/chunks/{chunk.EZYVCZIX.js → chunk.OUXBV3ZI.js} +1 -1
- package/dist/chunks/{chunk.OLQDLBR7.js → chunk.PB4C4QSB.js} +1 -1
- package/dist/chunks/{chunk.XUT7HJ23.js → chunk.Q35RRIOR.js} +1 -1
- package/dist/chunks/{chunk.4PQ2QFNO.js → chunk.QGQB5JS7.js} +1 -1
- package/dist/chunks/{chunk.CPC45P5D.js → chunk.QTRNM73B.js} +2 -2
- package/dist/chunks/{chunk.2USCM2K7.js → chunk.SHLIEXLI.js} +1 -1
- package/dist/chunks/{chunk.AJXUUZNA.js → chunk.SNWCQACO.js} +1 -1
- package/dist/chunks/{chunk.2PXT2JGM.js → chunk.SOHUYJIV.js} +1 -1
- package/dist/chunks/{chunk.WZSUVVGK.js → chunk.TSGNJ5GP.js} +1 -1
- package/dist/chunks/{chunk.NRZU3V4L.js → chunk.UH3CRACY.js} +1 -1
- package/dist/chunks/{chunk.MXEVN4M3.js → chunk.UWXGXWKM.js} +1 -1
- package/dist/chunks/chunk.W2YDXTG5.js +175 -0
- package/dist/chunks/{chunk.XEIN3AUI.js → chunk.W4IVOSZQ.js} +1 -1
- package/dist/chunks/{chunk.INOD7KXJ.js → chunk.WOD4JUKH.js} +1 -1
- package/dist/chunks/{chunk.JDQMDO76.js → chunk.WYCBGTC3.js} +1 -1
- package/dist/chunks/{chunk.K3TQETH6.js → chunk.YCPALMH3.js} +1 -1
- package/dist/chunks/{chunk.AV42LWAO.js → chunk.YQYNXABC.js} +1 -1
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/accordion-group/accordion-group.js +7 -7
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +9 -9
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/button/button.js +4 -4
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.d.ts +8 -2
- package/dist/components/carousel/carousel.js +8 -7
- package/dist/components/carousel/fade-controller.d.ts +20 -0
- package/dist/components/carousel/fade-controller.js +7 -0
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/components/combobox/combobox.js +8 -8
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/flipcard/flipcard.js +8 -8
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +6 -6
- 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 +7 -7
- package/dist/components/notification/notification.js +8 -8
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.js +5 -5
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +7 -7
- 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 +6 -6
- package/dist/components/select/select.js +8 -8
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/step/step.js +5 -5
- 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 +6 -6
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/teaser/teaser.d.ts +1 -0
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/tooltip/tooltip.js +7 -7
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +63 -1
- package/dist/solid-components.js +63 -62
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +10 -0
- package/dist/web-types.json +21 -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.VWO7SMIW.js → chunk.2Z3PTZDF.js} +3 -3
- package/dist-versioned/chunks/{chunk.GPGNE73T.js → chunk.4BSIESXO.js} +4 -4
- package/dist-versioned/chunks/{chunk.FL7XA2L3.js → chunk.6A4EY2BW.js} +74 -18
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.MAEGWOCQ.js → chunk.6Q5PHGOX.js} +3 -3
- package/dist-versioned/chunks/{chunk.GOGPGGHW.js → chunk.7ASLASKF.js} +4 -4
- package/dist-versioned/chunks/{chunk.57SMIFAB.js → chunk.7LIXWEBN.js} +6 -6
- package/dist-versioned/chunks/{chunk.3HPLJIDM.js → chunk.7YAYQD2F.js} +8 -3
- package/dist-versioned/chunks/{chunk.QN3ULHF6.js → chunk.ABTFDUXB.js} +3 -3
- package/dist-versioned/chunks/{chunk.GANFEZEA.js → chunk.ATBHSXHW.js} +4 -4
- package/dist-versioned/chunks/{chunk.URTD4FVZ.js → chunk.BIWX4AXS.js} +2 -2
- package/dist-versioned/chunks/{chunk.DMKN3M74.js → chunk.BZMDW7E4.js} +12 -12
- package/dist-versioned/chunks/{chunk.KQIAHXDV.js → chunk.CM5UUKM4.js} +3 -3
- package/dist-versioned/chunks/{chunk.7HDYUFV4.js → chunk.D23TODRF.js} +4 -4
- package/dist-versioned/chunks/{chunk.YIT7C2FX.js → chunk.DWOWPIFO.js} +2 -2
- package/dist-versioned/chunks/{chunk.2ZGD7ZWV.js → chunk.EAFZSO6J.js} +3 -3
- package/dist-versioned/chunks/{chunk.RUGET775.js → chunk.FIHROP3X.js} +6 -6
- package/dist-versioned/chunks/{chunk.TN3AK2CB.js → chunk.FSL676RI.js} +3 -3
- package/dist-versioned/chunks/{chunk.2N5XLHBL.js → chunk.GABDY4S6.js} +3 -3
- package/dist-versioned/chunks/{chunk.7KAD3IZR.js → chunk.H3K5PQJU.js} +6 -6
- package/dist-versioned/chunks/{chunk.FKLYH7XI.js → chunk.H3OKMVXK.js} +2 -2
- package/dist-versioned/chunks/{chunk.S44HT5WK.js → chunk.HIAESSS3.js} +3 -3
- package/dist-versioned/chunks/{chunk.MJI2LR7Q.js → chunk.HJN7RI3V.js} +9 -9
- package/dist-versioned/chunks/{chunk.EPXREFBH.js → chunk.IF3LSW7O.js} +5 -5
- package/dist-versioned/chunks/{chunk.SJ633J2S.js → chunk.ISKBRYU2.js} +2 -2
- package/dist-versioned/chunks/{chunk.3GP7FNMV.js → chunk.JBZMLWDZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.GC6J3QO6.js → chunk.KTWITSMU.js} +2 -2
- package/dist-versioned/chunks/{chunk.YGYU27OD.js → chunk.KUULYGHN.js} +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.3WKBJLEU.js → chunk.MFEHVTR6.js} +3 -3
- package/dist-versioned/chunks/{chunk.ZJYBYFC4.js → chunk.MM3ZPOVU.js} +3 -3
- package/dist-versioned/chunks/{chunk.2FLTH2J2.js → chunk.MUUF45Z6.js} +2 -2
- package/dist-versioned/chunks/{chunk.PA346ZLC.js → chunk.NE5RAPHM.js} +25 -25
- package/dist-versioned/chunks/chunk.NM4SNSEF.js +82 -0
- package/dist-versioned/chunks/{chunk.LLVY4FRO.js → chunk.NQLGMP2D.js} +27 -27
- package/dist-versioned/chunks/{chunk.ZZ53RZAM.js → chunk.OOCDLYKD.js} +2 -2
- package/dist-versioned/chunks/{chunk.EZYVCZIX.js → chunk.OUXBV3ZI.js} +3 -3
- package/dist-versioned/chunks/{chunk.OLQDLBR7.js → chunk.PB4C4QSB.js} +15 -15
- package/dist-versioned/chunks/{chunk.XUT7HJ23.js → chunk.Q35RRIOR.js} +2 -2
- package/dist-versioned/chunks/{chunk.4PQ2QFNO.js → chunk.QGQB5JS7.js} +6 -6
- package/dist-versioned/chunks/{chunk.CPC45P5D.js → chunk.QTRNM73B.js} +14 -14
- package/dist-versioned/chunks/{chunk.2USCM2K7.js → chunk.SHLIEXLI.js} +3 -3
- package/dist-versioned/chunks/{chunk.AJXUUZNA.js → chunk.SNWCQACO.js} +7 -7
- package/dist-versioned/chunks/{chunk.2PXT2JGM.js → chunk.SOHUYJIV.js} +5 -5
- package/dist-versioned/chunks/{chunk.WZSUVVGK.js → chunk.TSGNJ5GP.js} +3 -3
- package/dist-versioned/chunks/{chunk.NRZU3V4L.js → chunk.UH3CRACY.js} +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.MXEVN4M3.js → chunk.UWXGXWKM.js} +3 -3
- package/dist-versioned/chunks/chunk.W2YDXTG5.js +175 -0
- package/dist-versioned/chunks/{chunk.XEIN3AUI.js → chunk.W4IVOSZQ.js} +3 -3
- package/dist-versioned/chunks/{chunk.INOD7KXJ.js → chunk.WOD4JUKH.js} +3 -3
- package/dist-versioned/chunks/{chunk.JDQMDO76.js → chunk.WYCBGTC3.js} +10 -10
- package/dist-versioned/chunks/{chunk.K3TQETH6.js → chunk.YCPALMH3.js} +2 -2
- package/dist-versioned/chunks/{chunk.AV42LWAO.js → chunk.YQYNXABC.js} +5 -5
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +6 -6
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
- 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 +9 -9
- 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 +4 -4
- 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 +9 -3
- package/dist-versioned/components/carousel/carousel.js +8 -7
- package/dist-versioned/components/carousel/fade-controller.d.ts +20 -0
- package/dist-versioned/components/carousel/fade-controller.js +7 -0
- 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 +5 -5
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +8 -8
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +8 -8
- 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 +8 -8
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +4 -4
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +8 -8
- 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 +4 -4
- package/dist-versioned/components/icon/library.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 +6 -6
- 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 +7 -7
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +8 -8
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +4 -4
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +5 -5
- 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 +7 -7
- 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 +6 -6
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +8 -8
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +3 -3
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +5 -5
- 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 +6 -6
- 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 +6 -6
- package/dist-versioned/components/teaser/teaser.d.ts +1 -0
- 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 +5 -5
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +7 -7
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +6 -6
- package/dist-versioned/custom-elements.json +271 -209
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +63 -62
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/utilities/icon-library.js +2 -2
- package/dist-versioned/utilities/localize.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +90 -80
- package/dist-versioned/web-types.json +157 -137
- package/package.json +3 -3
- package/cdn/chunks/chunk.2TNYH5IL.js +0 -1
- package/cdn/chunks/chunk.U56O4JGT.js +0 -13
- package/cdn/chunks/chunk.YVWXTEAH.js +0 -25
- package/cdn-versioned/chunks/chunk.2TNYH5IL.js +0 -1
- package/cdn-versioned/chunks/chunk.U56O4JGT.js +0 -13
- package/cdn-versioned/chunks/chunk.YVWXTEAH.js +0 -25
- package/dist/chunks/chunk.6EG5PXXO.js +0 -82
- package/dist-versioned/chunks/chunk.6EG5PXXO.js +0 -82
- package/dist/chunks/{chunk.OC7IH3HF.js → chunk.KQKYMBS7.js} +3 -3
- package/dist-versioned/chunks/{chunk.OC7IH3HF.js → chunk.KQKYMBS7.js} +3 -3
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SdCarouselItem
|
|
3
|
+
} from "./chunk.BIWX4AXS.js";
|
|
1
4
|
import {
|
|
2
5
|
AutoplayController
|
|
3
6
|
} from "./chunk.F4VGSDIW.js";
|
|
7
|
+
import {
|
|
8
|
+
FadeController
|
|
9
|
+
} from "./chunk.W2YDXTG5.js";
|
|
4
10
|
import {
|
|
5
11
|
ScrollController
|
|
6
12
|
} from "./chunk.FNYEXUNK.js";
|
|
7
|
-
import {
|
|
8
|
-
SdCarouselItem
|
|
9
|
-
} from "./chunk.URTD4FVZ.js";
|
|
10
13
|
import {
|
|
11
14
|
LocalizeController
|
|
12
15
|
} from "./chunk.YKM42GKF.js";
|
|
@@ -16,7 +19,7 @@ import {
|
|
|
16
19
|
import {
|
|
17
20
|
SolidElement,
|
|
18
21
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.NM4SNSEF.js";
|
|
20
23
|
import {
|
|
21
24
|
prefersReducedMotion
|
|
22
25
|
} from "./chunk.HQWAKJBV.js";
|
|
@@ -49,6 +52,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
49
52
|
this.inverted = false;
|
|
50
53
|
this.loop = false;
|
|
51
54
|
this.autoplay = false;
|
|
55
|
+
this.fade = false;
|
|
52
56
|
this.slidesPerPage = 1;
|
|
53
57
|
this.slidesPerMove = 1;
|
|
54
58
|
this.activeSlide = 0;
|
|
@@ -56,12 +60,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
56
60
|
this.pausedAutoplay = false;
|
|
57
61
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
58
62
|
this.scrollController = new ScrollController(this);
|
|
59
|
-
this.slides = this.getElementsByTagName("sd-5-
|
|
63
|
+
this.slides = this.getElementsByTagName("sd-5-7-0-carousel-item");
|
|
60
64
|
// determines which slide is displayed
|
|
61
65
|
// A map containing the state of all the slides
|
|
62
66
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
63
67
|
this.localize = new LocalizeController(this);
|
|
64
68
|
this.userInteracted = false;
|
|
69
|
+
this.fadeController = new FadeController(this);
|
|
65
70
|
this.handleUserInteraction = () => {
|
|
66
71
|
this.userInteracted = true;
|
|
67
72
|
};
|
|
@@ -110,11 +115,18 @@ var SdCarousel = class extends SolidElement {
|
|
|
110
115
|
this.intersectionObserver.disconnect();
|
|
111
116
|
this.mutationObserver.disconnect();
|
|
112
117
|
["click", "keydown"].forEach((event) => this.removeEventListener(event, this.handleUserInteraction));
|
|
118
|
+
if (this.fade) {
|
|
119
|
+
this.fadeController.disable();
|
|
120
|
+
}
|
|
113
121
|
}
|
|
114
|
-
firstUpdated() {
|
|
122
|
+
async firstUpdated() {
|
|
115
123
|
this.initializeSlides();
|
|
116
124
|
this.mutationObserver = new MutationObserver(this.handleSlotChange);
|
|
117
125
|
this.mutationObserver.observe(this, { childList: true, subtree: false });
|
|
126
|
+
if (this.fade) {
|
|
127
|
+
await this.updateComplete;
|
|
128
|
+
this.fadeController.enable();
|
|
129
|
+
}
|
|
118
130
|
}
|
|
119
131
|
getPageCount(totalSlides, slidesPerPage, slidesPerMove) {
|
|
120
132
|
return Math.ceil((totalSlides - slidesPerPage) / slidesPerMove) + 1 > 0 ? Math.ceil((totalSlides - slidesPerPage) / slidesPerMove) + 1 : (
|
|
@@ -162,6 +174,9 @@ var SdCarousel = class extends SolidElement {
|
|
|
162
174
|
}
|
|
163
175
|
}
|
|
164
176
|
handleScrollEnd() {
|
|
177
|
+
if (this.fade) {
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
165
180
|
const slides = this.getSlides();
|
|
166
181
|
const entries = [...this.intersectionObserverEntries.values()];
|
|
167
182
|
const firstIntersecting = entries.find((entry) => entry.isIntersecting);
|
|
@@ -206,6 +221,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
206
221
|
(_b = this.autoplayControls) == null ? void 0 : _b.setAttribute("aria-pressed", "true");
|
|
207
222
|
}
|
|
208
223
|
}
|
|
224
|
+
handleFadeChange() {
|
|
225
|
+
if (this.fade) {
|
|
226
|
+
this.fadeController.enable();
|
|
227
|
+
} else {
|
|
228
|
+
this.fadeController.disable();
|
|
229
|
+
}
|
|
230
|
+
}
|
|
209
231
|
initializeSlides() {
|
|
210
232
|
const slides = this.getSlides();
|
|
211
233
|
const intersectionObserver = this.intersectionObserver;
|
|
@@ -219,7 +241,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
219
241
|
slide.remove();
|
|
220
242
|
}
|
|
221
243
|
});
|
|
222
|
-
if (this.loop) {
|
|
244
|
+
if (this.loop && !this.fade) {
|
|
223
245
|
const slidesPerPage = this.slidesPerPage;
|
|
224
246
|
const lastSlides = slides.slice(-slidesPerPage);
|
|
225
247
|
const firstSlides = slides.slice(0, slidesPerPage);
|
|
@@ -237,13 +259,23 @@ var SdCarousel = class extends SolidElement {
|
|
|
237
259
|
this.getSlides({ excludeClones: false }).forEach((slide) => {
|
|
238
260
|
intersectionObserver.observe(slide);
|
|
239
261
|
});
|
|
240
|
-
|
|
262
|
+
if (this.fade) {
|
|
263
|
+
this.updateComplete.then(() => {
|
|
264
|
+
this.fadeController.enable();
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
if (!this.fade) {
|
|
268
|
+
this.goToSlide(this.activeSlide, "auto");
|
|
269
|
+
}
|
|
241
270
|
}
|
|
242
271
|
handleSlideChange() {
|
|
243
272
|
const slides = this.getSlides();
|
|
244
273
|
slides.forEach((slide, i) => {
|
|
245
274
|
slide.classList.toggle("--is-active", i === this.activeSlide);
|
|
246
275
|
});
|
|
276
|
+
if (this.fade) {
|
|
277
|
+
this.fadeController.updateActiveSlide(this.activeSlide);
|
|
278
|
+
}
|
|
247
279
|
const newCurrentPage = this.getCurrentPage(slides.length, this.activeSlide, this.slidesPerPage, this.slidesPerMove);
|
|
248
280
|
if (this.currentPage !== newCurrentPage) {
|
|
249
281
|
this.currentPage = newCurrentPage;
|
|
@@ -264,6 +296,9 @@ var SdCarousel = class extends SolidElement {
|
|
|
264
296
|
}
|
|
265
297
|
}
|
|
266
298
|
handleSlidesPerMoveChange() {
|
|
299
|
+
if (this.fade) {
|
|
300
|
+
return;
|
|
301
|
+
}
|
|
267
302
|
const slides = this.getSlides({ excludeClones: false });
|
|
268
303
|
const slidesPerMove = this.slidesPerMove;
|
|
269
304
|
slides.forEach((slide, i) => {
|
|
@@ -287,6 +322,11 @@ var SdCarousel = class extends SolidElement {
|
|
|
287
322
|
* @param behavior - The behavior used for scrolling.
|
|
288
323
|
*/
|
|
289
324
|
previous(behavior = "smooth") {
|
|
325
|
+
if (this.fade) {
|
|
326
|
+
const previousIndex2 = this.loop ? (this.activeSlide - 1 + this.getSlides().length) % this.getSlides().length : Math.max(0, this.activeSlide - 1);
|
|
327
|
+
this.goToSlide(previousIndex2);
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
290
330
|
let previousIndex = this.activeSlide || this.activeSlide - this.slidesPerMove;
|
|
291
331
|
let canSnap = false;
|
|
292
332
|
while (!canSnap && previousIndex > 0) {
|
|
@@ -305,6 +345,11 @@ var SdCarousel = class extends SolidElement {
|
|
|
305
345
|
* @param behavior - The behavior used for scrolling.
|
|
306
346
|
*/
|
|
307
347
|
next(behavior = "smooth") {
|
|
348
|
+
if (this.fade) {
|
|
349
|
+
const nextIndex = this.loop ? (this.activeSlide + 1) % this.getSlides().length : Math.min(this.getSlides().length - 1, this.activeSlide + 1);
|
|
350
|
+
this.goToSlide(nextIndex);
|
|
351
|
+
return;
|
|
352
|
+
}
|
|
308
353
|
if (this.currentPage + 1 <= this.getPageCount(this.getSlides().length, this.slidesPerPage, this.slidesPerMove)) {
|
|
309
354
|
this.goToSlide(this.activeSlide + this.slidesPerMove, behavior);
|
|
310
355
|
} else {
|
|
@@ -314,6 +359,10 @@ var SdCarousel = class extends SolidElement {
|
|
|
314
359
|
}
|
|
315
360
|
}
|
|
316
361
|
nextTillFirst(behavior = "smooth") {
|
|
362
|
+
if (this.fade) {
|
|
363
|
+
this.goToSlide(0);
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
317
366
|
while (this.activeSlide !== 0) {
|
|
318
367
|
this.goToSlide(this.activeSlide + 1, behavior);
|
|
319
368
|
}
|
|
@@ -331,11 +380,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
331
380
|
* @param behavior - The behavior used for scrolling.
|
|
332
381
|
*/
|
|
333
382
|
goToSlide(index, behavior = "smooth") {
|
|
334
|
-
const { slidesPerPage, loop, scrollContainer } = this;
|
|
383
|
+
const { slidesPerPage, loop, scrollContainer, fade } = this;
|
|
335
384
|
const slides = this.getSlides();
|
|
336
385
|
const slidesWithClones = this.getSlides({ excludeClones: false });
|
|
337
386
|
const newActiveSlide = (index + slides.length) % slides.length;
|
|
338
387
|
this.activeSlide = newActiveSlide;
|
|
388
|
+
if (fade) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
339
391
|
const nextSlideIndex = clamp(index + (loop ? slidesPerPage : 0), 0, slidesWithClones.length + 1);
|
|
340
392
|
const nextSlide = slidesWithClones[nextSlideIndex];
|
|
341
393
|
const scrollContainerRect = scrollContainer.getBoundingClientRect();
|
|
@@ -368,11 +420,9 @@ var SdCarousel = class extends SolidElement {
|
|
|
368
420
|
const nextEnabled = this.loop || currentPage < pagesCount;
|
|
369
421
|
const isLtr = this.localize.dir() === "ltr";
|
|
370
422
|
return html`<div part="base" class="${cx(`carousel h-full w-full`)}"><div id="scroll-container" part="scroll-container" class="${cx(
|
|
371
|
-
`carousel__slides mb-6
|
|
372
|
-
grid max-h-full w-full items-center justify-items-center overflow-auto`,
|
|
423
|
+
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
373
424
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
374
|
-
`overscroll-x-contain grid-flow-col auto-rows-[100%]
|
|
375
|
-
snap-x snap-mandatory overflow-y-hidden`
|
|
425
|
+
this.fade ? "relative overflow-hidden" : `grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden`
|
|
376
426
|
)}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${scrollController.scrolling ? "true" : "false"}" aria-label="${this.localize.term("carouselContainer", this.slides.length)}" aria-live="${this.autoplay ? "off" : "polite"}" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"><slot></slot></div><div part="controls" class="${cx("w-full flex items-center justify-center relative")}"><div part="navigation" class="${cx("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!prevEnabled ? true : false}" class="${cx(
|
|
377
427
|
"!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
378
428
|
!prevEnabled && "sd-interactive--disabled",
|
|
@@ -380,7 +430,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
380
430
|
)}" 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
431
|
this.previous();
|
|
382
432
|
this.unblockAutoplay(e, this.previousButton);
|
|
383
|
-
} : null}"><slot name="previous-icon"><sd-5-
|
|
433
|
+
} : null}"><slot name="previous-icon"><sd-5-7-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-5-7-0-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
434
|
const isActive = index + 1 === currentPage;
|
|
385
435
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
386
436
|
"carousel__pagination-item",
|
|
@@ -403,7 +453,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
403
453
|
)}" 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
454
|
this.next();
|
|
405
455
|
this.unblockAutoplay(e, this.nextButton);
|
|
406
|
-
} : null}"><slot name="next-icon"><sd-5-
|
|
456
|
+
} : null}"><slot name="next-icon"><sd-5-7-0-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-5-7-0-icon></slot></button></div><button class="${cx(
|
|
407
457
|
"ml-6 !rounded-sm",
|
|
408
458
|
"!absolute !right-0 sd-interactive",
|
|
409
459
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -413,12 +463,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
413
463
|
if (e.detail) {
|
|
414
464
|
this.autoplayControls.blur();
|
|
415
465
|
}
|
|
416
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-
|
|
466
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-7-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-5-7-0-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-5-7-0-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-5-7-0-icon></slot></button></div></div>`;
|
|
417
467
|
}
|
|
418
468
|
};
|
|
419
469
|
SdCarousel.styles = [
|
|
420
470
|
...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-
|
|
471
|
+
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}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{display:block;height:var(--carousel-height);overflow:hidden;position:relative}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-7-0-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
422
472
|
];
|
|
423
473
|
__decorateClass([
|
|
424
474
|
query('[part~="autoplay-controls"]')
|
|
@@ -444,6 +494,9 @@ __decorateClass([
|
|
|
444
494
|
__decorateClass([
|
|
445
495
|
property({ type: Boolean, reflect: true })
|
|
446
496
|
], SdCarousel.prototype, "autoplay", 2);
|
|
497
|
+
__decorateClass([
|
|
498
|
+
property({ type: Boolean, reflect: true })
|
|
499
|
+
], SdCarousel.prototype, "fade", 2);
|
|
447
500
|
__decorateClass([
|
|
448
501
|
property({ type: Number, attribute: "slides-per-page", reflect: true })
|
|
449
502
|
], SdCarousel.prototype, "slidesPerPage", 2);
|
|
@@ -471,6 +524,9 @@ __decorateClass([
|
|
|
471
524
|
__decorateClass([
|
|
472
525
|
watch("pausedAutoplay")
|
|
473
526
|
], SdCarousel.prototype, "handlePausedAutoplay", 1);
|
|
527
|
+
__decorateClass([
|
|
528
|
+
watch("fade", { waitUntilFirstUpdate: true })
|
|
529
|
+
], SdCarousel.prototype, "handleFadeChange", 1);
|
|
474
530
|
__decorateClass([
|
|
475
531
|
watch("loop", { waitUntilFirstUpdate: true }),
|
|
476
532
|
watch("slidesPerPage", { waitUntilFirstUpdate: true })
|
|
@@ -485,7 +541,7 @@ __decorateClass([
|
|
|
485
541
|
watch("autoplay")
|
|
486
542
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
487
543
|
SdCarousel = __decorateClass([
|
|
488
|
-
customElement("sd-5-
|
|
544
|
+
customElement("sd-5-7-0-carousel")
|
|
489
545
|
], SdCarousel);
|
|
490
546
|
|
|
491
547
|
export {
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-5-
|
|
13
|
+
const popup = document.createElement("sd-5-7-0-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-5-
|
|
25
|
+
const styles = css`sd-5-7-0-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-7-0-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-5-7-0-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-5-7-0-popup li{list-style-type:""}sd-5-7-0-popup li mark{background-color:transparent;font-weight:700}sd-5-7-0-popup li:not(:has(sd-5-7-0-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-5-7-0-popup li:not(:has(sd-5-7-0-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-5-7-0-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-7-0-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-7-0-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getIconLibrary,
|
|
3
3
|
unwatchIcon,
|
|
4
4
|
watchIcon
|
|
5
|
-
} from "./chunk.
|
|
5
|
+
} from "./chunk.KQKYMBS7.js";
|
|
6
6
|
import {
|
|
7
7
|
requestIcon
|
|
8
8
|
} from "./chunk.P52GZVKG.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
SolidElement,
|
|
14
14
|
customElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.NM4SNSEF.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["name", "src", "library"])
|
|
127
127
|
], SdIcon.prototype, "setIcon", 1);
|
|
128
128
|
SdIcon = __decorateClass([
|
|
129
|
-
customElement("sd-5-
|
|
129
|
+
customElement("sd-5-7-0-icon")
|
|
130
130
|
], SdIcon);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.NM4SNSEF.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<label part="base" class="${cx(
|
|
121
|
-
"sd-5-
|
|
121
|
+
"sd-5-7-0-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -157,7 +157,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
157
157
|
filled: "bg-accent group-hover:bg-accent-550",
|
|
158
158
|
default: "hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
159
159
|
}[checkboxState]
|
|
160
|
-
)}"></div></div>${this.checked ? html`<sd-5-
|
|
160
|
+
)}"></div></div>${this.checked ? html`<sd-5-7-0-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-7-0-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-5-7-0-icon part="indeterminate-icon" class="text-white w-3 h-3" library="_internal" name="status-minus"></sd-5-7-0-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
161
161
|
"select-none inline-block ml-2",
|
|
162
162
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
163
163
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -219,7 +219,7 @@ __decorateClass([
|
|
|
219
219
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
220
220
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
221
221
|
SdCheckbox = __decorateClass([
|
|
222
|
-
customElement("sd-5-
|
|
222
|
+
customElement("sd-5-7-0-checkbox")
|
|
223
223
|
], SdCheckbox);
|
|
224
224
|
|
|
225
225
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.NM4SNSEF.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-5-
|
|
29
|
+
return [...this.querySelectorAll("sd-5-7-0-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-5-
|
|
42
|
+
if (customElements.get("sd-5-7-0-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-5-
|
|
45
|
+
customElements.whenDefined("sd-5-7-0-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ 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-5-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-7-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-7-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-7-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-7-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-7-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-7-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: 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-5-
|
|
103
|
+
customElement("sd-5-7-0-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.NM4SNSEF.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -19,6 +19,7 @@ var SdTeaser = class extends SolidElement {
|
|
|
19
19
|
this.variant = "white";
|
|
20
20
|
this.breakpoint = 448;
|
|
21
21
|
this.inset = false;
|
|
22
|
+
this.reversedLayout = false;
|
|
22
23
|
this.hasSlotController = new HasSlotController(this, "[default]", "media", "meta", "headline");
|
|
23
24
|
}
|
|
24
25
|
connectedCallback() {
|
|
@@ -75,7 +76,8 @@ var SdTeaser = class extends SolidElement {
|
|
|
75
76
|
"order-1",
|
|
76
77
|
!inset && this._orientation === "vertical" && "mb-4",
|
|
77
78
|
!slots["teaser-has-media"] && "hidden",
|
|
78
|
-
this.variant === "white border-neutral-400" && this._orientation === "vertical" && "mx-[-1px] mt-[-1px]"
|
|
79
|
+
this.variant === "white border-neutral-400" && this._orientation === "vertical" && "mx-[-1px] mt-[-1px]",
|
|
80
|
+
this._orientation !== "vertical" && this.reversedLayout && "order-2"
|
|
79
81
|
)}"><slot name="media"></slot></div></div>`;
|
|
80
82
|
}
|
|
81
83
|
};
|
|
@@ -92,6 +94,9 @@ __decorateClass([
|
|
|
92
94
|
__decorateClass([
|
|
93
95
|
property({ type: Boolean, reflect: true })
|
|
94
96
|
], SdTeaser.prototype, "inset", 2);
|
|
97
|
+
__decorateClass([
|
|
98
|
+
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
99
|
+
], SdTeaser.prototype, "reversedLayout", 2);
|
|
95
100
|
__decorateClass([
|
|
96
101
|
query('[part="base"]')
|
|
97
102
|
], SdTeaser.prototype, "teaser", 2);
|
|
@@ -99,7 +104,7 @@ __decorateClass([
|
|
|
99
104
|
state()
|
|
100
105
|
], SdTeaser.prototype, "_orientation", 2);
|
|
101
106
|
SdTeaser = __decorateClass([
|
|
102
|
-
customElement("sd-5-
|
|
107
|
+
customElement("sd-5-7-0-teaser")
|
|
103
108
|
], SdTeaser);
|
|
104
109
|
|
|
105
110
|
export {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SolidElement,
|
|
16
16
|
customElement
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.NM4SNSEF.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-
|
|
145
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-7-0-icon library="_internal" name="chevron-down"></sd-5-7-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-7-0-icon library="_internal" name="chevron-down"></sd-5-7-0-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-
|
|
171
|
+
customElement("sd-5-7-0-accordion")
|
|
172
172
|
], SdAccordion);
|
|
173
173
|
setDefaultAnimation("accordion.show", {
|
|
174
174
|
keyframes: [
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.NM4SNSEF.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass,
|
|
22
22
|
__spreadValues
|
|
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
|
|
|
385
385
|
this.size === "sm" ? "h-6" : "h-8",
|
|
386
386
|
textSize
|
|
387
387
|
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
388
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-
|
|
388
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-7-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-7-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-7-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-7-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-7-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-7-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-7-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-7-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-7-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-7-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-7-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-7-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-7-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-7-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-7-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-7-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-7-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-7-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-7-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-7-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
/**
|
|
@@ -393,7 +393,7 @@ var SdInput = class extends SolidElement {
|
|
|
393
393
|
*/
|
|
394
394
|
SdInput.styles = [
|
|
395
395
|
...SolidElement.styles,
|
|
396
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-
|
|
396
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-7-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
397
397
|
];
|
|
398
398
|
__decorateClass([
|
|
399
399
|
query("#input")
|
|
@@ -523,7 +523,7 @@ __decorateClass([
|
|
|
523
523
|
watch("value", { waitUntilFirstUpdate: true })
|
|
524
524
|
], SdInput.prototype, "handleValueChange", 1);
|
|
525
525
|
SdInput = __decorateClass([
|
|
526
|
-
customElement("sd-5-
|
|
526
|
+
customElement("sd-5-7-0-input")
|
|
527
527
|
], SdInput);
|
|
528
528
|
|
|
529
529
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.NM4SNSEF.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-
|
|
28
|
+
customElement("sd-5-7-0-carousel-item")
|
|
29
29
|
], SdCarouselItem);
|
|
30
30
|
|
|
31
31
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.NM4SNSEF.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-5-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-5-7-0-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-5-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-5-7-0-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-5-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-5-7-0-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-5-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-5-7-0-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-5-
|
|
41
|
-
button.classList.toggle("sd-5-
|
|
42
|
-
button.classList.toggle("sd-5-
|
|
43
|
-
button.classList.toggle("sd-5-
|
|
44
|
-
button.classList.toggle("sd-5-
|
|
40
|
+
button.classList.add("sd-5-7-0-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-5-7-0-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-5-7-0-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-5-7-0-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-5-7-0-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-7-0-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-5-
|
|
66
|
+
customElement("sd-5-7-0-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-5-
|
|
70
|
+
const selector = "sd-5-7-0-button, sd-5-7-0-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|