@solid-design-system/components 5.6.0 → 5.8.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.5GJMG4PS.js → chunk.26O6IKAG.js} +1 -1
- package/cdn/chunks/chunk.2AQOPKKH.js +1 -0
- package/cdn/chunks/{chunk.ERAVBZHK.js → chunk.2JBLGDAG.js} +1 -1
- package/cdn/chunks/{chunk.7LCLIYUY.js → chunk.3IA4LYAE.js} +1 -1
- package/cdn/chunks/{chunk.SLIXQGGP.js → chunk.4ND6BT4C.js} +1 -1
- package/{cdn-versioned/chunks/chunk.3HZLJIGE.js → cdn/chunks/chunk.55MPQWXS.js} +1 -1
- package/cdn/chunks/{chunk.QGBNCTI4.js → chunk.5P5EXSCE.js} +1 -1
- package/{cdn-versioned/chunks/chunk.GJFN7PBS.js → cdn/chunks/chunk.6UCFML4U.js} +5 -1
- package/cdn/chunks/{chunk.SP4BD3BD.js → chunk.7PAPSYUK.js} +1 -1
- package/cdn/chunks/{chunk.4MWOA6ZI.js → chunk.7UITUXR7.js} +1 -1
- package/cdn/chunks/{chunk.RL2BQKMR.js → chunk.BMMJQ4XS.js} +1 -1
- package/cdn/chunks/chunk.BUAUXM45.js +1 -0
- package/cdn/chunks/{chunk.SBHTDVQ4.js → chunk.DR3XJQRD.js} +1 -1
- package/cdn/chunks/{chunk.LV6Y7VYR.js → chunk.DSA6LS4D.js} +1 -1
- package/cdn/chunks/{chunk.YT57BXKY.js → chunk.DU2SXY3R.js} +1 -1
- package/cdn/chunks/{chunk.GN4ET7UA.js → chunk.DUHPZXXT.js} +1 -1
- package/cdn/chunks/{chunk.WB2PQDZJ.js → chunk.EXZ5YJHN.js} +1 -1
- package/cdn/chunks/{chunk.FLT6CDXP.js → chunk.FMW27SW2.js} +1 -1
- package/cdn/chunks/{chunk.NXKFAB72.js → chunk.FSFMVNRK.js} +1 -1
- package/cdn/chunks/{chunk.3XREQPK6.js → chunk.G24RRCWJ.js} +1 -1
- package/cdn/chunks/{chunk.5SWOTSCE.js → chunk.G7HBP2EA.js} +1 -1
- package/cdn/chunks/chunk.G7HKVXLR.js +1 -0
- package/cdn/chunks/{chunk.DEXOQON7.js → chunk.GHC63SXL.js} +1 -1
- package/cdn/chunks/{chunk.LFCA2IQG.js → chunk.HEVVK37Z.js} +1 -1
- package/cdn/chunks/{chunk.NNZNEAIJ.js → chunk.HJWBWAOH.js} +1 -1
- package/cdn/chunks/{chunk.2POSLQ5Z.js → chunk.HK5LV22V.js} +1 -1
- package/cdn/chunks/{chunk.3NSAEDOK.js → chunk.IIPOW4BF.js} +1 -1
- package/cdn/chunks/{chunk.SMM76MUR.js → chunk.ILZHTUPU.js} +1 -1
- package/cdn/chunks/{chunk.LP25HBFS.js → chunk.J2LVZAHB.js} +1 -1
- package/cdn/chunks/chunk.J6OZWGFI.js +1 -0
- package/cdn/chunks/{chunk.CZOOWQUF.js → chunk.J7EPPTFP.js} +1 -1
- package/cdn/chunks/chunk.KGZFLNCL.js +1 -0
- package/cdn/chunks/{chunk.UYBBXCOU.js → chunk.KRR6NFHE.js} +1 -1
- package/cdn/chunks/{chunk.35D23HSW.js → chunk.KVHJAQJC.js} +1 -1
- package/cdn/chunks/{chunk.HUY3W3M7.js → chunk.M7V7LXP2.js} +1 -1
- package/cdn/chunks/{chunk.6WXSGDVI.js → chunk.NEHO757V.js} +1 -1
- package/cdn/chunks/{chunk.PPG3ICRV.js → chunk.NVXMW7JA.js} +1 -1
- package/cdn/chunks/{chunk.ON5B2YWM.js → chunk.OLKTD3H6.js} +1 -1
- package/cdn/chunks/{chunk.ESE4LCS2.js → chunk.PU5TFXA4.js} +1 -1
- package/cdn/chunks/{chunk.LSQZN7XG.js → chunk.QDGET4J7.js} +1 -1
- package/cdn/chunks/{chunk.AYBSZD4S.js → chunk.QDYCPBH5.js} +1 -1
- package/cdn/chunks/{chunk.565YDCON.js → chunk.REJ4HJHM.js} +1 -1
- package/cdn/chunks/chunk.SABXUHBG.js +1 -0
- package/cdn/chunks/{chunk.PUQ3RIAM.js → chunk.SV6S6VUZ.js} +1 -1
- package/cdn/chunks/{chunk.TQUJ4VWU.js → chunk.TEMANSX2.js} +1 -1
- package/cdn/chunks/{chunk.KWK6C3IZ.js → chunk.TW4QSRRZ.js} +1 -1
- package/cdn/chunks/{chunk.BVJF73VY.js → chunk.U5T3AO6I.js} +1 -1
- package/cdn/chunks/{chunk.ULZOLSNV.js → chunk.UPOUK4YE.js} +1 -1
- package/cdn/chunks/chunk.VGYK5BAY.js +25 -0
- package/cdn/chunks/{chunk.SIOBUBBZ.js → chunk.VY4OJYTU.js} +1 -1
- package/cdn/chunks/{chunk.E2XBRTA4.js → chunk.WISEYZGW.js} +1 -1
- package/cdn/chunks/{chunk.T5MR3IUY.js → chunk.WLNGSSPM.js} +1 -1
- package/cdn/chunks/{chunk.ZNUQ2AGR.js → chunk.X2PYZCU7.js} +1 -1
- package/cdn/chunks/{chunk.FLRYLAGF.js → chunk.XRCG4RJJ.js} +1 -1
- package/cdn/chunks/chunk.XRHEUCUN.js +1 -0
- package/cdn/chunks/{chunk.PFEUSEUN.js → chunk.XYSFDUN5.js} +1 -1
- package/cdn/chunks/{chunk.FAIXOA2F.js → chunk.YCMKDACM.js} +1 -1
- package/cdn/chunks/{chunk.OXAOIMTT.js → chunk.YCO53VY5.js} +1 -1
- package/cdn/chunks/chunk.YR2HDSHK.js +1 -0
- 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/breadcrumb/breadcrumb.d.ts +27 -0
- package/cdn/components/breadcrumb/breadcrumb.js +1 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +19 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -0
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.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.internal.d.ts +1 -0
- package/cdn/components/icon/library.internal.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 +459 -2
- package/cdn/internal/deep-closest-element.d.ts +1 -0
- package/cdn/internal/deep-closest-element.js +18 -0
- package/cdn/solid-components.bundle.js +22 -18
- package/cdn/solid-components.d.ts +2 -0
- package/cdn/solid-components.iife.js +22 -18
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +74 -0
- package/cdn/web-types.json +128 -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.5GJMG4PS.js → chunk.26O6IKAG.js} +1 -1
- package/cdn-versioned/chunks/chunk.2AQOPKKH.js +1 -0
- package/cdn-versioned/chunks/{chunk.ERAVBZHK.js → chunk.2JBLGDAG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7LCLIYUY.js → chunk.3IA4LYAE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SLIXQGGP.js → chunk.4ND6BT4C.js} +1 -1
- package/{cdn/chunks/chunk.3HZLJIGE.js → cdn-versioned/chunks/chunk.55MPQWXS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QGBNCTI4.js → chunk.5P5EXSCE.js} +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/{cdn/chunks/chunk.GJFN7PBS.js → cdn-versioned/chunks/chunk.6UCFML4U.js} +5 -1
- package/cdn-versioned/chunks/{chunk.SP4BD3BD.js → chunk.7PAPSYUK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4MWOA6ZI.js → chunk.7UITUXR7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RL2BQKMR.js → chunk.BMMJQ4XS.js} +1 -1
- package/cdn-versioned/chunks/chunk.BUAUXM45.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.SBHTDVQ4.js → chunk.DR3XJQRD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LV6Y7VYR.js → chunk.DSA6LS4D.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YT57BXKY.js → chunk.DU2SXY3R.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GN4ET7UA.js → chunk.DUHPZXXT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WB2PQDZJ.js → chunk.EXZ5YJHN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FLT6CDXP.js → chunk.FMW27SW2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NXKFAB72.js → chunk.FSFMVNRK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3XREQPK6.js → chunk.G24RRCWJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5SWOTSCE.js → chunk.G7HBP2EA.js} +4 -4
- package/cdn-versioned/chunks/chunk.G7HKVXLR.js +1 -0
- package/cdn-versioned/chunks/{chunk.DEXOQON7.js → chunk.GHC63SXL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LFCA2IQG.js → chunk.HEVVK37Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NNZNEAIJ.js → chunk.HJWBWAOH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2POSLQ5Z.js → chunk.HK5LV22V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3NSAEDOK.js → chunk.IIPOW4BF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SMM76MUR.js → chunk.ILZHTUPU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LP25HBFS.js → chunk.J2LVZAHB.js} +1 -1
- package/cdn-versioned/chunks/chunk.J6OZWGFI.js +1 -0
- package/cdn-versioned/chunks/{chunk.CZOOWQUF.js → chunk.J7EPPTFP.js} +1 -1
- package/cdn-versioned/chunks/chunk.KGZFLNCL.js +1 -0
- package/cdn-versioned/chunks/{chunk.UYBBXCOU.js → chunk.KRR6NFHE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.35D23HSW.js → chunk.KVHJAQJC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.HUY3W3M7.js → chunk.M7V7LXP2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6WXSGDVI.js → chunk.NEHO757V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PPG3ICRV.js → chunk.NVXMW7JA.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ON5B2YWM.js → chunk.OLKTD3H6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ESE4LCS2.js → chunk.PU5TFXA4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LSQZN7XG.js → chunk.QDGET4J7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AYBSZD4S.js → chunk.QDYCPBH5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.565YDCON.js → chunk.REJ4HJHM.js} +1 -1
- package/cdn-versioned/chunks/chunk.SABXUHBG.js +1 -0
- package/cdn-versioned/chunks/{chunk.PUQ3RIAM.js → chunk.SV6S6VUZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TQUJ4VWU.js → chunk.TEMANSX2.js} +4 -4
- package/cdn-versioned/chunks/{chunk.KWK6C3IZ.js → chunk.TW4QSRRZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BVJF73VY.js → chunk.U5T3AO6I.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ULZOLSNV.js → chunk.UPOUK4YE.js} +1 -1
- package/cdn-versioned/chunks/chunk.VGYK5BAY.js +25 -0
- package/cdn-versioned/chunks/{chunk.SIOBUBBZ.js → chunk.VY4OJYTU.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.E2XBRTA4.js → chunk.WISEYZGW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.T5MR3IUY.js → chunk.WLNGSSPM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZNUQ2AGR.js → chunk.X2PYZCU7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FLRYLAGF.js → chunk.XRCG4RJJ.js} +2 -2
- package/cdn-versioned/chunks/chunk.XRHEUCUN.js +1 -0
- package/cdn-versioned/chunks/{chunk.PFEUSEUN.js → chunk.XYSFDUN5.js} +4 -4
- package/cdn-versioned/chunks/{chunk.FAIXOA2F.js → chunk.YCMKDACM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OXAOIMTT.js → chunk.YCO53VY5.js} +1 -1
- package/cdn-versioned/chunks/chunk.YR2HDSHK.js +1 -0
- 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/breadcrumb/breadcrumb.d.ts +27 -0
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -0
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +19 -0
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -0
- 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/icon/library.internal.d.ts +1 -0
- package/cdn-versioned/components/icon/library.internal.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 +667 -210
- package/cdn-versioned/internal/deep-closest-element.d.ts +1 -0
- package/cdn-versioned/internal/deep-closest-element.js +18 -0
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +24 -20
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.d.ts +2 -0
- package/cdn-versioned/solid-components.iife.js +24 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.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.d.ts +1 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +154 -80
- package/cdn-versioned/web-types.json +264 -137
- package/dist/chunks/{chunk.FIHROP3X.js → chunk.2BDWN26F.js} +4 -4
- package/dist/chunks/{chunk.KUULYGHN.js → chunk.2CQI5LE4.js} +2 -2
- package/{dist-versioned/chunks/chunk.CVCJY3ME.js → dist/chunks/chunk.2G46ORZ2.js} +1 -0
- package/dist/chunks/{chunk.NQLGMP2D.js → chunk.2W7NHUH7.js} +4 -4
- package/dist/chunks/{chunk.YCPALMH3.js → chunk.374V27WG.js} +1 -1
- package/dist/chunks/{chunk.YQYNXABC.js → chunk.3IFUYWCQ.js} +1 -1
- package/dist/chunks/{chunk.MUUF45Z6.js → chunk.56KFGJVD.js} +1 -1
- package/dist/chunks/{chunk.6A4EY2BW.js → chunk.5IM5U5QH.js} +7 -7
- package/dist/chunks/{chunk.ATBHSXHW.js → chunk.5KVES6PS.js} +1 -1
- package/dist/chunks/{chunk.NE5RAPHM.js → chunk.5ZNZ5OFS.js} +4 -4
- package/dist/chunks/{chunk.KTWITSMU.js → chunk.7MAASMDW.js} +1 -1
- package/dist/chunks/{chunk.H3OKMVXK.js → chunk.7UEOJL4C.js} +1 -1
- package/dist/chunks/{chunk.ABTFDUXB.js → chunk.7ZNUQOKK.js} +4 -4
- package/dist/chunks/{chunk.WYCBGTC3.js → chunk.AGJBHOHC.js} +28 -8
- package/dist/chunks/{chunk.GABDY4S6.js → chunk.BFV6FVEH.js} +1 -1
- package/dist/chunks/{chunk.HJN7RI3V.js → chunk.BGJVVJYW.js} +1 -1
- package/dist/chunks/{chunk.UH3CRACY.js → chunk.BHEBFVOB.js} +1 -1
- package/dist/chunks/{chunk.DWOWPIFO.js → chunk.C3QUN3CW.js} +1 -1
- package/dist/chunks/{chunk.MM3ZPOVU.js → chunk.CRGWQRUO.js} +1 -1
- package/dist/chunks/{chunk.7ASLASKF.js → chunk.CU3SNWRP.js} +1 -1
- package/dist/chunks/{chunk.EAFZSO6J.js → chunk.DHECGUIH.js} +8 -6
- package/dist/chunks/chunk.ECTYRNKF.js +69 -0
- package/{dist-versioned/chunks/chunk.UFBRSKVR.js → dist/chunks/chunk.EDMG7C5H.js} +1 -13
- package/dist/chunks/{chunk.QGQB5JS7.js → chunk.FAY52O5K.js} +1 -1
- package/dist/chunks/{chunk.JBZMLWDZ.js → chunk.FQ65C655.js} +1 -1
- package/dist/chunks/{chunk.FSL676RI.js → chunk.G7LKDW7D.js} +1 -1
- package/dist/chunks/{chunk.QTRNM73B.js → chunk.GRJDOPAS.js} +2 -2
- package/dist/chunks/{chunk.D23TODRF.js → chunk.GWQANU5I.js} +1 -1
- package/dist/chunks/{chunk.UWXGXWKM.js → chunk.H7FP247H.js} +4 -4
- package/dist/chunks/{chunk.CM5UUKM4.js → chunk.IUAN7YQ4.js} +1 -1
- package/dist/chunks/{chunk.2Z3PTZDF.js → chunk.J2R4HF6O.js} +1 -1
- package/{dist-versioned/chunks/chunk.KQKYMBS7.js → dist/chunks/chunk.KZMSCSWH.js} +4 -4
- package/dist/chunks/{chunk.PB4C4QSB.js → chunk.L7XW5PYI.js} +1 -1
- package/dist/chunks/{chunk.IF3LSW7O.js → chunk.NC2M2T2Q.js} +4 -4
- package/dist/chunks/{chunk.Q35RRIOR.js → chunk.ONBBO64D.js} +1 -1
- package/dist/chunks/{chunk.BZMDW7E4.js → chunk.PBSF5V4E.js} +1 -1
- package/dist/chunks/chunk.PCHDKK7W.js +124 -0
- package/dist/chunks/{chunk.OUXBV3ZI.js → chunk.PK4OGH3M.js} +1 -1
- package/dist/chunks/{chunk.YUXACDFP.js → chunk.PYH33SDH.js} +7 -2
- package/dist/chunks/{chunk.H3K5PQJU.js → chunk.SO2HIZUP.js} +1 -1
- package/dist/chunks/{chunk.WOD4JUKH.js → chunk.TQRMINMT.js} +8 -6
- package/dist/chunks/{chunk.ISKBRYU2.js → chunk.U62FIAJ5.js} +1 -1
- package/dist/chunks/{chunk.W4IVOSZQ.js → chunk.U7SCAMCN.js} +1 -1
- package/dist/chunks/{chunk.6Q5PHGOX.js → chunk.UA3G5555.js} +2 -2
- package/{dist-versioned/chunks/chunk.XHCTCU2Q.js → dist/chunks/chunk.UMIKFOMI.js} +12 -0
- package/dist/chunks/{chunk.TSGNJ5GP.js → chunk.UTHJPWMF.js} +1 -1
- package/dist/chunks/{chunk.SNWCQACO.js → chunk.VOSWJX2Z.js} +1 -1
- package/dist/chunks/{chunk.SHLIEXLI.js → chunk.VTMF55NN.js} +1 -1
- package/dist/chunks/{chunk.BIWX4AXS.js → chunk.WK2T7YB4.js} +1 -1
- package/dist/chunks/chunk.X6WRFCHO.js +82 -0
- package/dist/chunks/{chunk.OOCDLYKD.js → chunk.XNHIGD4G.js} +1 -1
- package/dist/chunks/{chunk.7LIXWEBN.js → chunk.XX3FTPX7.js} +1 -1
- package/{dist-versioned/chunks/chunk.YNSZZDYQ.js → dist/chunks/chunk.Z7IN7NPU.js} +5 -0
- package/dist/chunks/{chunk.4BSIESXO.js → chunk.ZC5TZTGP.js} +1 -1
- package/dist/chunks/{chunk.WEDOS4Q6.js → chunk.ZC7XGWJ6.js} +1 -0
- package/dist/chunks/{chunk.HIAESSS3.js → chunk.ZD3I7DCU.js} +1 -1
- package/dist/chunks/{chunk.SOHUYJIV.js → chunk.ZTR5JB55.js} +1 -1
- package/dist/chunks/{chunk.MFEHVTR6.js → chunk.ZZZHB23N.js} +1 -1
- package/dist/components/accordion/accordion.js +9 -9
- package/dist/components/accordion-group/accordion-group.js +10 -10
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +14 -14
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts +27 -0
- package/dist/components/breadcrumb/breadcrumb.js +12 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +19 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +13 -0
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +11 -11
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/dialog/dialog.js +13 -13
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +13 -13
- package/dist/components/dropdown/dropdown.js +7 -7
- package/dist/components/expandable/expandable.js +9 -9
- package/dist/components/flipcard/flipcard.js +10 -10
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.internal.d.ts +1 -0
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +8 -8
- 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 +9 -9
- package/dist/components/notification/notification.js +11 -11
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +10 -10
- 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 +8 -8
- package/dist/components/select/select.js +11 -11
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/step/step.js +6 -6
- 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 +8 -8
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +8 -8
- 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 +6 -6
- package/dist/components/tooltip/tooltip.js +10 -10
- package/dist/components/video/video.js +8 -8
- package/dist/custom-elements.json +459 -2
- package/dist/internal/deep-closest-element.d.ts +1 -0
- package/dist/internal/deep-closest-element.js +18 -0
- package/dist/solid-components.d.ts +2 -0
- package/dist/solid-components.js +85 -77
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +74 -0
- package/dist/web-types.json +128 -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.FIHROP3X.js → chunk.2BDWN26F.js} +9 -9
- package/dist-versioned/chunks/{chunk.KUULYGHN.js → chunk.2CQI5LE4.js} +5 -5
- package/{dist/chunks/chunk.CVCJY3ME.js → dist-versioned/chunks/chunk.2G46ORZ2.js} +1 -0
- package/dist-versioned/chunks/{chunk.NQLGMP2D.js → chunk.2W7NHUH7.js} +30 -30
- package/dist-versioned/chunks/{chunk.YCPALMH3.js → chunk.374V27WG.js} +2 -2
- package/dist-versioned/chunks/{chunk.YQYNXABC.js → chunk.3IFUYWCQ.js} +5 -5
- package/dist-versioned/chunks/{chunk.MUUF45Z6.js → chunk.56KFGJVD.js} +2 -2
- package/dist-versioned/chunks/{chunk.6A4EY2BW.js → chunk.5IM5U5QH.js} +13 -13
- package/dist-versioned/chunks/{chunk.ATBHSXHW.js → chunk.5KVES6PS.js} +4 -4
- package/dist-versioned/chunks/{chunk.NE5RAPHM.js → chunk.5ZNZ5OFS.js} +28 -28
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.KTWITSMU.js → chunk.7MAASMDW.js} +2 -2
- package/dist-versioned/chunks/{chunk.H3OKMVXK.js → chunk.7UEOJL4C.js} +2 -2
- package/dist-versioned/chunks/{chunk.ABTFDUXB.js → chunk.7ZNUQOKK.js} +6 -6
- package/dist-versioned/chunks/{chunk.WYCBGTC3.js → chunk.AGJBHOHC.js} +37 -17
- package/dist-versioned/chunks/{chunk.GABDY4S6.js → chunk.BFV6FVEH.js} +3 -3
- package/dist-versioned/chunks/{chunk.HJN7RI3V.js → chunk.BGJVVJYW.js} +9 -9
- package/dist-versioned/chunks/{chunk.UH3CRACY.js → chunk.BHEBFVOB.js} +2 -2
- package/dist-versioned/chunks/{chunk.DWOWPIFO.js → chunk.C3QUN3CW.js} +2 -2
- package/dist-versioned/chunks/{chunk.MM3ZPOVU.js → chunk.CRGWQRUO.js} +3 -3
- package/dist-versioned/chunks/{chunk.7ASLASKF.js → chunk.CU3SNWRP.js} +4 -4
- package/dist-versioned/chunks/{chunk.EAFZSO6J.js → chunk.DHECGUIH.js} +10 -8
- package/dist-versioned/chunks/chunk.ECTYRNKF.js +69 -0
- package/{dist/chunks/chunk.UFBRSKVR.js → dist-versioned/chunks/chunk.EDMG7C5H.js} +1 -13
- package/dist-versioned/chunks/{chunk.QGQB5JS7.js → chunk.FAY52O5K.js} +6 -6
- package/dist-versioned/chunks/{chunk.JBZMLWDZ.js → chunk.FQ65C655.js} +2 -2
- package/dist-versioned/chunks/{chunk.FSL676RI.js → chunk.G7LKDW7D.js} +3 -3
- package/dist-versioned/chunks/{chunk.QTRNM73B.js → chunk.GRJDOPAS.js} +14 -14
- package/dist-versioned/chunks/{chunk.D23TODRF.js → chunk.GWQANU5I.js} +4 -4
- package/dist-versioned/chunks/{chunk.UWXGXWKM.js → chunk.H7FP247H.js} +6 -6
- package/dist-versioned/chunks/{chunk.CM5UUKM4.js → chunk.IUAN7YQ4.js} +3 -3
- package/dist-versioned/chunks/{chunk.2Z3PTZDF.js → chunk.J2R4HF6O.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/{dist/chunks/chunk.KQKYMBS7.js → dist-versioned/chunks/chunk.KZMSCSWH.js} +4 -4
- package/dist-versioned/chunks/{chunk.PB4C4QSB.js → chunk.L7XW5PYI.js} +15 -15
- package/dist-versioned/chunks/{chunk.IF3LSW7O.js → chunk.NC2M2T2Q.js} +8 -8
- package/dist-versioned/chunks/{chunk.Q35RRIOR.js → chunk.ONBBO64D.js} +2 -2
- package/dist-versioned/chunks/{chunk.BZMDW7E4.js → chunk.PBSF5V4E.js} +12 -12
- package/dist-versioned/chunks/chunk.PCHDKK7W.js +124 -0
- package/dist-versioned/chunks/{chunk.OUXBV3ZI.js → chunk.PK4OGH3M.js} +3 -3
- package/dist-versioned/chunks/{chunk.YUXACDFP.js → chunk.PYH33SDH.js} +8 -3
- package/dist-versioned/chunks/{chunk.H3K5PQJU.js → chunk.SO2HIZUP.js} +6 -6
- package/dist-versioned/chunks/{chunk.WOD4JUKH.js → chunk.TQRMINMT.js} +10 -8
- package/dist-versioned/chunks/{chunk.ISKBRYU2.js → chunk.U62FIAJ5.js} +2 -2
- package/dist-versioned/chunks/{chunk.W4IVOSZQ.js → chunk.U7SCAMCN.js} +3 -3
- package/dist-versioned/chunks/{chunk.6Q5PHGOX.js → chunk.UA3G5555.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/{dist/chunks/chunk.XHCTCU2Q.js → dist-versioned/chunks/chunk.UMIKFOMI.js} +12 -0
- package/dist-versioned/chunks/{chunk.TSGNJ5GP.js → chunk.UTHJPWMF.js} +3 -3
- package/dist-versioned/chunks/{chunk.SNWCQACO.js → chunk.VOSWJX2Z.js} +7 -7
- package/dist-versioned/chunks/{chunk.SHLIEXLI.js → chunk.VTMF55NN.js} +3 -3
- package/dist-versioned/chunks/{chunk.BIWX4AXS.js → chunk.WK2T7YB4.js} +2 -2
- package/dist-versioned/chunks/chunk.X6WRFCHO.js +82 -0
- package/dist-versioned/chunks/{chunk.OOCDLYKD.js → chunk.XNHIGD4G.js} +2 -2
- package/dist-versioned/chunks/{chunk.7LIXWEBN.js → chunk.XX3FTPX7.js} +6 -6
- package/{dist/chunks/chunk.YNSZZDYQ.js → dist-versioned/chunks/chunk.Z7IN7NPU.js} +5 -0
- package/dist-versioned/chunks/{chunk.4BSIESXO.js → chunk.ZC5TZTGP.js} +4 -4
- package/dist-versioned/chunks/{chunk.WEDOS4Q6.js → chunk.ZC7XGWJ6.js} +1 -0
- package/dist-versioned/chunks/{chunk.HIAESSS3.js → chunk.ZD3I7DCU.js} +3 -3
- package/dist-versioned/chunks/{chunk.SOHUYJIV.js → chunk.ZTR5JB55.js} +5 -5
- package/dist-versioned/chunks/{chunk.MFEHVTR6.js → chunk.ZZZHB23N.js} +3 -3
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +9 -9
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +10 -10
- 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 +14 -14
- 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/breadcrumb/breadcrumb.d.ts +27 -0
- package/dist-versioned/components/breadcrumb/breadcrumb.js +12 -0
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +19 -0
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +13 -0
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +5 -5
- 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 +11 -11
- 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 +6 -6
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +11 -11
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +13 -13
- 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 +13 -13
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +7 -7
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +9 -9
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +10 -10
- 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 +5 -5
- package/dist-versioned/components/icon/library.internal.d.ts +1 -0
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +3 -3
- 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 +8 -8
- 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 +9 -9
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +11 -11
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +5 -5
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +6 -6
- 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 +10 -10
- 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 +8 -8
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +11 -11
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +4 -4
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +6 -6
- 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 +8 -8
- 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 +8 -8
- 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 +6 -6
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +10 -10
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +8 -8
- package/dist-versioned/custom-elements.json +667 -210
- package/dist-versioned/internal/deep-closest-element.d.ts +1 -0
- package/dist-versioned/internal/deep-closest-element.js +18 -0
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.d.ts +2 -0
- package/dist-versioned/solid-components.js +85 -77
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/utilities/icon-library.js +3 -3
- package/dist-versioned/utilities/localize.d.ts +1 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +154 -80
- package/dist-versioned/web-types.json +264 -137
- package/package.json +3 -3
- package/cdn/chunks/chunk.64UNKF45.js +0 -1
- package/cdn/chunks/chunk.CYBY63E7.js +0 -1
- package/cdn/chunks/chunk.DNSNI4OK.js +0 -1
- package/cdn/chunks/chunk.EKQAB4EX.js +0 -1
- package/cdn/chunks/chunk.I6OYJBJI.js +0 -1
- package/cdn/chunks/chunk.S6RPYVJI.js +0 -1
- package/cdn/chunks/chunk.TGGYBIMX.js +0 -25
- package/cdn-versioned/chunks/chunk.64UNKF45.js +0 -1
- package/cdn-versioned/chunks/chunk.CYBY63E7.js +0 -1
- package/cdn-versioned/chunks/chunk.DNSNI4OK.js +0 -1
- package/cdn-versioned/chunks/chunk.EKQAB4EX.js +0 -1
- package/cdn-versioned/chunks/chunk.I6OYJBJI.js +0 -1
- package/cdn-versioned/chunks/chunk.S6RPYVJI.js +0 -1
- package/cdn-versioned/chunks/chunk.TGGYBIMX.js +0 -25
- package/dist/chunks/chunk.NM4SNSEF.js +0 -82
- package/dist-versioned/chunks/chunk.NM4SNSEF.js +0 -82
package/cdn/solid-components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import"./chunks/chunk.HAL7R4WT.js";import{a as K}from"./chunks/chunk.NVXMW7JA.js";import{a as U}from"./chunks/chunk.YCO53VY5.js";import{a as $}from"./chunks/chunk.CEVVDV52.js";import{a as Q}from"./chunks/chunk.XRCG4RJJ.js";import{a as V}from"./chunks/chunk.QDGET4J7.js";import{a as j}from"./chunks/chunk.5P5EXSCE.js";import{a as q}from"./chunks/chunk.YCMKDACM.js";import{a as y}from"./chunks/chunk.KGZFLNCL.js";import{a as z}from"./chunks/chunk.TW4QSRRZ.js";import{a as J}from"./chunks/chunk.VY4OJYTU.js";import{a as O}from"./chunks/chunk.7UITUXR7.js";import{a as P}from"./chunks/chunk.SV6S6VUZ.js";import{a as N}from"./chunks/chunk.HJWBWAOH.js";import{a as E}from"./chunks/chunk.3IA4LYAE.js";import{a as F}from"./chunks/chunk.G7HBP2EA.js";import{a as H}from"./chunks/chunk.DUHPZXXT.js";import{a as L}from"./chunks/chunk.HK5LV22V.js";import{a as h}from"./chunks/chunk.OLKTD3H6.js";import{a as A}from"./chunks/chunk.KRR6NFHE.js";import{a as D}from"./chunks/chunk.J7EPPTFP.js";import{a as w}from"./chunks/chunk.DSA6LS4D.js";import{a as R}from"./chunks/chunk.HEVVK37Z.js";import{a as M}from"./chunks/chunk.X2PYZCU7.js";import{a as v}from"./chunks/chunk.XYSFDUN5.js";import{a as C}from"./chunks/chunk.REJ4HJHM.js";import{a as G}from"./chunks/chunk.ILZHTUPU.js";import{a as b}from"./chunks/chunk.J6OZWGFI.js";import{a as T}from"./chunks/chunk.IIPOW4BF.js";import{a as B}from"./chunks/chunk.YR2HDSHK.js";import{a as I}from"./chunks/chunk.WLNGSSPM.js";import{a as g}from"./chunks/chunk.J2LVZAHB.js";import{a as k}from"./chunks/chunk.PU5TFXA4.js";import{a as S}from"./chunks/chunk.EXZ5YJHN.js";import"./chunks/chunk.5XTSQKKL.js";import{a as s}from"./chunks/chunk.4ND6BT4C.js";import{a as c}from"./chunks/chunk.TEMANSX2.js";import{a as n}from"./chunks/chunk.7PAPSYUK.js";import{a as i}from"./chunks/chunk.BMMJQ4XS.js";import"./chunks/chunk.CDC46OKY.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as u}from"./chunks/chunk.2JBLGDAG.js";import{a as l}from"./chunks/chunk.DU2SXY3R.js";import{a as W}from"./chunks/chunk.XRHEUCUN.js";import{a as X}from"./chunks/chunk.SABXUHBG.js";import"./chunks/chunk.M7V7LXP2.js";import{a as x}from"./chunks/chunk.QDYCPBH5.js";import"./chunks/chunk.BJBQEPZV.js";import"./chunks/chunk.C577EOP7.js";import"./chunks/chunk.MHWW3RZB.js";import{a as m}from"./chunks/chunk.FSFMVNRK.js";import"./chunks/chunk.CBQWVOOS.js";import{a}from"./chunks/chunk.UPOUK4YE.js";import{a as e}from"./chunks/chunk.DR3XJQRD.js";import{a as p}from"./chunks/chunk.NEHO757V.js";import"./chunks/chunk.XR2KNB36.js";import{a as f}from"./chunks/chunk.26O6IKAG.js";import{a as d}from"./chunks/chunk.BUAUXM45.js";import"./chunks/chunk.I2H6CZK5.js";import"./chunks/chunk.2AQOPKKH.js";import"./chunks/chunk.G7HKVXLR.js";import"./chunks/chunk.3L472FD4.js";import{a as t}from"./chunks/chunk.KVHJAQJC.js";import{a as r}from"./chunks/chunk.FMW27SW2.js";import"./chunks/chunk.6HLS5XU2.js";import"./chunks/chunk.6HO6CE4A.js";import"./chunks/chunk.YTG5BN3U.js";import"./chunks/chunk.SKUMYG4O.js";import"./chunks/chunk.H2TKMIFR.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as o}from"./chunks/chunk.G24RRCWJ.js";import"./chunks/chunk.N2OPZHJV.js";import"./chunks/chunk.CDEXCMVF.js";import{d as Y,e as Z}from"./chunks/chunk.55MPQWXS.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.6UCFML4U.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.26V4EXHB.js";import{a as _}from"./chunks/chunk.GHC63SXL.js";import"./chunks/chunk.WISEYZGW.js";import"./chunks/chunk.U5T3AO6I.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.VGYK5BAY.js";import"./chunks/chunk.UWPDCU52.js";import"./chunks/chunk.6OTM3PE5.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{_ as LocalizeController,e as SdAccordion,a as SdAccordionGroup,p as SdAnimation,f as SdAudio,u as SdBadge,l as SdBrandshape,W as SdBreadcrumb,X as SdBreadcrumbItem,t as SdButton,x as SdCarousel,m as SdCarouselItem,S as SdCheckbox,s as SdCheckboxGroup,c as SdCombobox,b as SdDialog,T as SdDivider,d as SdDrawer,B as SdDropdown,I as SdExpandable,g as SdFlipcard,k as SdHeader,o as SdIcon,C as SdInclude,G as SdInput,h as SdLink,A as SdMapMarker,D as SdNavigationItem,w as SdNotification,R as SdOptgroup,M as SdOption,i as SdPopup,v as SdQuickfact,N as SdRadio,O as SdRadioButton,P as SdRadioGroup,E as SdScrollable,F as SdSelect,r as SdSpinner,H as SdStep,L as SdStepGroup,Q as SdSwitch,V as SdTab,j as SdTabGroup,q as SdTabPanel,n as SdTag,y as SdTeaser,z as SdTeaserMedia,J as SdTextarea,K as SdTooltip,U as SdVideo,Y as registerIconLibrary,$ as setupAutocomplete,Z as unregisterIconLibrary};
|
package/cdn/translations/de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.WISEYZGW.js";import"../chunks/chunk.HJGLYEWV.js";import"../chunks/chunk.TJOCV4DC.js";export{a as default};
|
package/cdn/translations/en.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.U5T3AO6I.js";import"../chunks/chunk.HJGLYEWV.js";import"../chunks/chunk.TJOCV4DC.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.BMMJQ4XS.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.VGYK5BAY.js";import"../chunks/chunk.UWPDCU52.js";import"../chunks/chunk.6OTM3PE5.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.
|
|
1
|
+
import"../chunks/chunk.HAL7R4WT.js";import{d as a,e as b}from"../chunks/chunk.55MPQWXS.js";import"../chunks/chunk.K7HF3VBZ.js";import"../chunks/chunk.6UCFML4U.js";import"../chunks/chunk.PYHYYOBE.js";import"../chunks/chunk.TJOCV4DC.js";export{a as registerIconLibrary,b as unregisterIconLibrary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.GHC63SXL.js";import"../chunks/chunk.WISEYZGW.js";import"../chunks/chunk.U5T3AO6I.js";import"../chunks/chunk.HJGLYEWV.js";import"../chunks/chunk.TJOCV4DC.js";export{a as LocalizeController};
|
|
@@ -266,6 +266,75 @@
|
|
|
266
266
|
}
|
|
267
267
|
]
|
|
268
268
|
},
|
|
269
|
+
{
|
|
270
|
+
"name": "sd-breadcrumb",
|
|
271
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
272
|
+
"attributes": [
|
|
273
|
+
{
|
|
274
|
+
"name": "label",
|
|
275
|
+
"description": "The breadcrumbs' label. Required for proper accessibility.",
|
|
276
|
+
"values": []
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "dir",
|
|
280
|
+
"description": "The element's directionality.",
|
|
281
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "lang",
|
|
285
|
+
"description": "The element's language.",
|
|
286
|
+
"values": []
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"references": [
|
|
290
|
+
{
|
|
291
|
+
"name": "Documentation",
|
|
292
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-breadcrumb--docs"
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "sd-breadcrumb-item",
|
|
298
|
+
"description": "An individual breadcrumb item for use exclusively within the `sd-breadcrumb`.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
299
|
+
"attributes": [
|
|
300
|
+
{
|
|
301
|
+
"name": "href",
|
|
302
|
+
"description": "When not set, the breadcrumb will render as disabled.",
|
|
303
|
+
"values": []
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "target",
|
|
307
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
308
|
+
"values": [
|
|
309
|
+
{ "name": "_blank" },
|
|
310
|
+
{ "name": "_parent" },
|
|
311
|
+
{ "name": "_self" },
|
|
312
|
+
{ "name": "_top" }
|
|
313
|
+
]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "current",
|
|
317
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
318
|
+
"values": []
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "dir",
|
|
322
|
+
"description": "The element's directionality.",
|
|
323
|
+
"values": [{ "name": "ltr" }, { "name": "rtl" }, { "name": "auto" }]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "lang",
|
|
327
|
+
"description": "The element's language.",
|
|
328
|
+
"values": []
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"references": [
|
|
332
|
+
{
|
|
333
|
+
"name": "Documentation",
|
|
334
|
+
"url": "https://solid-design-system.fe.union-investment.de/docs/?path=/docs/components-sd-breadcrumb-item--docs"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
269
338
|
{
|
|
270
339
|
"name": "sd-button",
|
|
271
340
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
@@ -2669,6 +2738,11 @@
|
|
|
2669
2738
|
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
2670
2739
|
"values": []
|
|
2671
2740
|
},
|
|
2741
|
+
{
|
|
2742
|
+
"name": "reversed-layout",
|
|
2743
|
+
"description": "Reverses the layout in horizontal variant",
|
|
2744
|
+
"values": []
|
|
2745
|
+
},
|
|
2672
2746
|
{
|
|
2673
2747
|
"name": "dir",
|
|
2674
2748
|
"description": "The element's directionality.",
|
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.8.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -633,6 +633,123 @@
|
|
|
633
633
|
"events": []
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
|
+
{
|
|
637
|
+
"name": "sd-breadcrumb",
|
|
638
|
+
"description": "A responsive breadcrumb navigation component used to visualize a page's location\nwithin the site's hierarchy and provide easy navigation to previous sections.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - `sd-breadcrumb-item` elements to display in the breadcrumb.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **list** - The list containing the slotted elements.\n- **truncated** - The truncated wrapper.\n- **truncated-dropdown** - The truncated dropdown containing the truncated breadcrumbs.",
|
|
639
|
+
"doc-url": "",
|
|
640
|
+
"attributes": [
|
|
641
|
+
{
|
|
642
|
+
"name": "label",
|
|
643
|
+
"description": "The breadcrumbs' label. Required for proper accessibility.",
|
|
644
|
+
"value": { "type": "string", "default": "''" }
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "dir",
|
|
648
|
+
"description": "The element's directionality.",
|
|
649
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "lang",
|
|
653
|
+
"description": "The element's language.",
|
|
654
|
+
"value": { "type": "string" }
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"slots": [
|
|
658
|
+
{
|
|
659
|
+
"name": "",
|
|
660
|
+
"description": "`sd-breadcrumb-item` elements to display in the breadcrumb."
|
|
661
|
+
}
|
|
662
|
+
],
|
|
663
|
+
"events": [],
|
|
664
|
+
"js": {
|
|
665
|
+
"properties": [
|
|
666
|
+
{ "name": "localize" },
|
|
667
|
+
{
|
|
668
|
+
"name": "label",
|
|
669
|
+
"description": "The breadcrumbs' label. Required for proper accessibility.",
|
|
670
|
+
"type": "string"
|
|
671
|
+
},
|
|
672
|
+
{ "name": "itemPositionsCached", "type": "boolean" },
|
|
673
|
+
{ "name": "isTruncated", "type": "boolean" },
|
|
674
|
+
{
|
|
675
|
+
"name": "dir",
|
|
676
|
+
"description": "The element's directionality.",
|
|
677
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "lang",
|
|
681
|
+
"description": "The element's language.",
|
|
682
|
+
"type": "string"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"events": []
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "sd-breadcrumb-item",
|
|
690
|
+
"description": "An individual breadcrumb item for use exclusively within the `sd-breadcrumb`.\n---\n\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The breadcrumb label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
691
|
+
"doc-url": "",
|
|
692
|
+
"attributes": [
|
|
693
|
+
{
|
|
694
|
+
"name": "href",
|
|
695
|
+
"description": "When not set, the breadcrumb will render as disabled.",
|
|
696
|
+
"value": { "type": "string", "default": "''" }
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "target",
|
|
700
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
701
|
+
"value": { "type": "'_blank' | '_parent' | '_self' | '_top'" }
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "current",
|
|
705
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
706
|
+
"value": { "type": "boolean", "default": "false" }
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "dir",
|
|
710
|
+
"description": "The element's directionality.",
|
|
711
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"name": "lang",
|
|
715
|
+
"description": "The element's language.",
|
|
716
|
+
"value": { "type": "string" }
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"slots": [{ "name": "", "description": "The breadcrumb label." }],
|
|
720
|
+
"events": [],
|
|
721
|
+
"js": {
|
|
722
|
+
"properties": [
|
|
723
|
+
{ "name": "localize" },
|
|
724
|
+
{
|
|
725
|
+
"name": "href",
|
|
726
|
+
"description": "When not set, the breadcrumb will render as disabled.",
|
|
727
|
+
"type": "string"
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"name": "target",
|
|
731
|
+
"description": "Tells the browser where to open the link. Only used when `href` is present.",
|
|
732
|
+
"type": "'_blank' | '_parent' | '_self' | '_top'"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "current",
|
|
736
|
+
"description": "When set, the attribute `aria-current=\"page\"` will be applied",
|
|
737
|
+
"type": "boolean"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "dir",
|
|
741
|
+
"description": "The element's directionality.",
|
|
742
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "lang",
|
|
746
|
+
"description": "The element's language.",
|
|
747
|
+
"type": "string"
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"events": []
|
|
751
|
+
}
|
|
752
|
+
},
|
|
636
753
|
{
|
|
637
754
|
"name": "sd-button",
|
|
638
755
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n- **token(name: _string_, fallback: _T_): _T_** - Retrieves the value of a css variable token.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.\n- **motion-wrapper** - The container that wraps the motion animation.",
|
|
@@ -6112,6 +6229,11 @@
|
|
|
6112
6229
|
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6113
6230
|
"value": { "type": "boolean", "default": "false" }
|
|
6114
6231
|
},
|
|
6232
|
+
{
|
|
6233
|
+
"name": "reversed-layout",
|
|
6234
|
+
"description": "Reverses the layout in horizontal variant",
|
|
6235
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6236
|
+
},
|
|
6115
6237
|
{
|
|
6116
6238
|
"name": "dir",
|
|
6117
6239
|
"description": "The element's directionality.",
|
|
@@ -6147,6 +6269,11 @@
|
|
|
6147
6269
|
"description": "The teaser's inner padding. This is always set in `white border-neutral-400`.",
|
|
6148
6270
|
"type": "boolean"
|
|
6149
6271
|
},
|
|
6272
|
+
{
|
|
6273
|
+
"name": "reversedLayout",
|
|
6274
|
+
"description": "Reverses the layout in horizontal variant",
|
|
6275
|
+
"type": "boolean"
|
|
6276
|
+
},
|
|
6150
6277
|
{
|
|
6151
6278
|
"name": "dir",
|
|
6152
6279
|
"description": "The element's directionality.",
|
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
|
32
32
|
if (item.type === 'checkbox') {
|
|
33
33
|
item.checked = !item.checked;
|
|
34
34
|
}
|
|
35
|
-
this.emit('sd-5-
|
|
35
|
+
this.emit('sd-5-8-0-select', { detail: { item } });
|
|
36
36
|
}
|
|
37
37
|
handleKeyDown(event) {
|
|
38
38
|
if (event.key === 'Enter') {
|
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
74
74
|
})}
|
|
75
75
|
>
|
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-5-
|
|
77
|
+
<sd-5-8-0-icon name="check" library="_internal" aria-hidden="true"></sd-5-8-0-icon>
|
|
78
78
|
</span>
|
|
79
79
|
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
85
|
|
|
86
86
|
<span class="menu-item__chevron">
|
|
87
|
-
<sd-5-
|
|
87
|
+
<sd-5-8-0-icon name="chevron-right" library="_internal" aria-hidden="true"></sd-5-8-0-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as v}from"./chunk.6HO6CE4A.js";import{a as g}from"./chunk.DEXOQON7.js";import{a}from"./chunk.26V4EXHB.js";import{a as f,b as d,c as l,d as h,h as p}from"./chunk.TGGYBIMX.js";import{b as m,e as s}from"./chunk.UWPDCU52.js";import{a as c}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends p{constructor(){super();this.localize=new g(this);this.hasSlotController=new v(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.animated&&this.initAnimation())}updated(e){if(e.has("animated")){let r=e.get("animated");!r&&this.animated?this.initAnimation():r&&!this.animated&&this.clear()}}get audioElement(){let e=this.shadowRoot.querySelector("slot");return(e==null?void 0:e.assignedElements().length)>0?e.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let e=this.audioElement.currentTime;this.currentTime=this.formatTime(e),this.progress=e,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration.toString()}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.togglePlaybackSpeed())}formatTime(e){let r=Math.floor(e/60),o=Math.floor(e%60);return`${r}:${o<10?"0":""}${o}`}handleAudioProgress(){if(!this.audioElement)return;let e=Number(this.progressSlider.value);this.audioElement.currentTime=e,this.progress=e,this.currentTime=this.formatTime(e)}handleAudioProgressKeydown(e){e.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),e.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(e){(e.key==="Enter"||e.key===" ")&&this.showTranscript()}rgbToHex(e){let r=e.match(/\d+/g);if(r&&r.length===3){let o=parseInt(r[0]),n=parseInt(r[1]),b=parseInt(r[2]),u=y=>y.toString(16).padStart(2,"0");return`#${u(o)}${u(n)}${u(b)}`.toUpperCase()}return null}initAnimation(){this.context=this.canvas.getContext("2d");let e=this.audioPlayerContainer.querySelector(".playback-speed"),o=window.getComputedStyle(e).color,n;this.inverted?n="#FFFFFF33":n=this.rgbToHex(o)+"33",this.waveList=[new c({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(e=>{e.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(e=>{e.redraw()}),await new Promise(e=>{setTimeout(e,1e3/30)}),await this.draw())}render(){let e=this.audioElement?this.progress/this.audioElement.duration*100:0,r=s`<div class="${a("controls grid grid-cols-3 justify-items-center items-center",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full",this.reversedLayout?"mt-2":"mb-2")}" part="audio-controls"><button class="${a("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-5-6-0-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying?s`<slot name="pause-icon"><sd-5-6-0-icon class="text-3xl" name="pause" library="_internal"></sd-5-6-0-icon></slot>`:s`<slot name="play-icon"><sd-5-6-0-icon class="text-3xl" name="start" library="_internal"></sd-5-6-0-icon></slot>`}</sd-5-6-0-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript")?s`<button class="${a("mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-5-6-0-icon class="w-6 h-6" name="transcript" library="_internal"></sd-5-6-0-icon></button>`:null} <button class="${a("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-5-6-0-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-5-6-0-icon></button></div></div>`,o=s`<div class="${a("w-full flex justify-between",this.reversedLayout?"mb-2":"mt-2",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 mb-2",this.animated&&!this.reversedLayout&&"mt-2")}" part="timestamps"><div class="${a("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${a("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return s`<div class="${a("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?r:null}<div class="relative">${this.animated&&!this.reversedLayout?s`${r}`:null} ${this.animated?s`<canvas class="w-full h-16"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?o:null} <input class="${a("progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",this.inverted&&"sd-interactive--inverted")}" type="range" max="100" step="0.001" value="${this.progress}" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted?"rgb(var(--sd-color-white, 255 255 255) / 1)":"rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${e}%,${this.animated?"transparent":this.inverted?"rgb(var(--sd-color-primary-400, 153 171 208) / 1)":"rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${e}%)"></div>${this.hasSlotController.test("transcript")?s`<sd-5-6-0-drawer><slot name="transcript"></slot></sd-5-6-0-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?o:null}</div>`}};t.styles=[...p.styles,m`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-5-6-0-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-5-6-0-button::part(motion-wrapper){border-radius:var(--sd-border-radius-full,9999px)}sd-5-6-0-button::part(label){align-items:center;display:flex;flex-grow:0}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],t.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],t.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([d({type:Number,reflect:!0})],t.prototype,"speed",2),i([l()],t.prototype,"currentTime",2),i([l()],t.prototype,"duration",2),i([l()],t.prototype,"isPlaying",2),i([l()],t.prototype,"isMuted",2),i([l()],t.prototype,"isTranscriptOpen",2),i([l()],t.prototype,"progress",2),i([h('[part="progress-slider"]')],t.prototype,"progressSlider",2),i([h('[part="audio-player"]')],t.prototype,"audioPlayerContainer",2),i([h("sd-5-6-0-drawer")],t.prototype,"drawer",2),i([h("canvas")],t.prototype,"canvas",2),t=i([f("sd-5-6-0-audio")],t);export{t as a};
|
|
1
|
+
import{a as v}from"./chunk.6HO6CE4A.js";import{a}from"./chunk.26V4EXHB.js";import{a as g}from"./chunk.GHC63SXL.js";import{a as f,b as d,c as l,d as h,h as p}from"./chunk.VGYK5BAY.js";import{b as m,e as s}from"./chunk.UWPDCU52.js";import{a as c}from"./chunk.WNP2V63C.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends p{constructor(){super();this.localize=new g(this);this.hasSlotController=new v(this,"transcript");this.reversedLayout=!1;this.hideTimestamps=!1;this.animated=!1;this.inverted=!1;this.speed=1;this.currentTime=this.formatTime(0);this.duration="";this.isPlaying=!1;this.isMuted=!1;this.isTranscriptOpen=!1;this.progress=0;this.updateCurrentTime=this.updateCurrentTime.bind(this),this.handleAudioEnd=this.handleAudioEnd.bind(this),this.handleAudioProgress=this.handleAudioProgress.bind(this),this.handleAudioProgressKeydown=this.handleAudioProgressKeydown.bind(this),this.handleTranscriptDrawerToggle=this.handleTranscriptDrawerToggle.bind(this)}firstUpdated(){this.audioElement&&(this.audioElement.addEventListener("timeupdate",this.updateCurrentTime),this.audioElement.addEventListener("ended",this.handleAudioEnd),this.audioElement.setAttribute("controlsList","nodownload"),document.addEventListener("sd-after-hide",this.handleTranscriptDrawerToggle),this.audioElement.playbackRate=this.speed,this.animated&&this.initAnimation())}updated(e){if(e.has("animated")){let r=e.get("animated");!r&&this.animated?this.initAnimation():r&&!this.animated&&this.clear()}}get audioElement(){let e=this.shadowRoot.querySelector("slot");return(e==null?void 0:e.assignedElements().length)>0?e.assignedElements()[0]:null}updateCurrentTime(){if(!this.audioElement)return;let e=this.audioElement.currentTime;this.currentTime=this.formatTime(e),this.progress=e,this.progressSlider&&(this.progressSlider.value=this.progress.toString())}updateAudioDuration(){if(this.audioElement){if(isNaN(this.audioElement.duration)){setTimeout(()=>{this.updateAudioDuration()},100);return}this.duration=this.formatTime(this.audioElement.duration),this.progressSlider.max=this.audioElement.duration.toString()}}playAudio(){this.audioElement&&(this.isPlaying=!0,this.audioElement.play(),this.emit("sd-playback-start"),this.animated&&this.draw())}pauseAudio(){this.audioElement&&(this.isPlaying=!1,this.audioElement.pause(),this.emit("sd-playback-pause"),this.animated&&this.stopAnimation())}handleAudioEnd(){this.emit("sd-playback-end"),this.isPlaying=!1,this.progress=0,this.progressSlider.value="0",this.currentTime=this.formatTime(0),this.animated&&this.stopAnimation()}toggleMute(){this.audioElement&&(this.isMuted=!this.isMuted,this.isMuted?(this.emit("sd-playback-mute"),this.audioElement.muted=!0):(this.emit("sd-playback-unmute"),this.audioElement.muted=!1))}toggleMuteKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.toggleMute())}togglePlaybackSpeed(){this.audioElement&&(this.emit("sd-playback-speed"),this.speed=this.speed===1.5?1:this.speed+.25,this.audioElement.playbackRate=this.speed)}togglePlaybackSpeedKeydown(e){e.key==="Enter"&&(e.preventDefault(),this.togglePlaybackSpeed())}formatTime(e){let r=Math.floor(e/60),o=Math.floor(e%60);return`${r}:${o<10?"0":""}${o}`}handleAudioProgress(){if(!this.audioElement)return;let e=Number(this.progressSlider.value);this.audioElement.currentTime=e,this.progress=e,this.currentTime=this.formatTime(e)}handleAudioProgressKeydown(e){e.key==="ArrowRight"&&(this.progressSlider.value=(Number(this.progressSlider.value)+1).toString(),this.handleAudioProgress()),e.key==="ArrowLeft"&&(this.progressSlider.value=(Number(this.progressSlider.value)-1).toString(),this.handleAudioProgress())}handleTranscriptDrawerToggle(){this.isTranscriptOpen=!this.isTranscriptOpen}showTranscript(){this.emit("sd-transcript-click"),this.drawer.open=!0,this.handleTranscriptDrawerToggle()}showTranscriptKeydown(e){(e.key==="Enter"||e.key===" ")&&this.showTranscript()}rgbToHex(e){let r=e.match(/\d+/g);if(r&&r.length===3){let o=parseInt(r[0]),n=parseInt(r[1]),b=parseInt(r[2]),u=y=>y.toString(16).padStart(2,"0");return`#${u(o)}${u(n)}${u(b)}`.toUpperCase()}return null}initAnimation(){this.context=this.canvas.getContext("2d");let e=this.audioPlayerContainer.querySelector(".playback-speed"),o=window.getComputedStyle(e).color,n;this.inverted?n="#FFFFFF33":n=this.rgbToHex(o)+"33",this.waveList=[new c({canvas:this.canvas,color:n,phase:240,shift:1.5,amplitude:230,frequency:.012,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:2.5,amplitude:250,frequency:.005,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:-2.5,amplitude:250,frequency:.005,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:-1,amplitude:200,frequency:.018,damping:1}),new c({canvas:this.canvas,color:n,phase:180,shift:1.5,amplitude:150,frequency:.01,damping:1})],this.animated&&this.drawStillWaves()}drawStillWaves(){this.waveList.forEach(e=>{e.redraw()})}stopAnimation(){this.isPlaying=!1}clear(){!this.context||!this.canvas||this.context.clearRect(0,0,this.canvas.width,this.canvas.height)}async draw(){!this.isPlaying||!this.animated||(this.clear(),this.waveList.forEach(e=>{e.redraw()}),await new Promise(e=>{setTimeout(e,1e3/30)}),await this.draw())}render(){let e=this.audioElement?this.progress/this.audioElement.duration*100:0,r=s`<div class="${a("controls grid grid-cols-3 justify-items-center items-center",!this.animated&&"relative",this.animated&&!this.reversedLayout&&"absolute -top-4 left-0 w-full",this.reversedLayout?"mt-2":"mb-2")}" part="audio-controls"><button class="${a("playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-5-8-0-button ?inverted="${!!this.inverted}" part="play-button" size="lg" @click="${this.isPlaying?this.pauseAudio:this.playAudio}" aria-label="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" title="${this.isPlaying?this.localize.term("pauseAudio"):this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying?s`<slot name="pause-icon"><sd-5-8-0-icon class="text-3xl" name="pause" library="_internal"></sd-5-8-0-icon></slot>`:s`<slot name="play-icon"><sd-5-8-0-icon class="text-3xl" name="start" library="_internal"></sd-5-8-0-icon></slot>`}</sd-5-8-0-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript")?s`<button class="${a("mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen?this.localize.term("transcriptIsOpen"):this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-5-8-0-icon class="w-6 h-6" name="transcript" library="_internal"></sd-5-8-0-icon></button>`:null} <button class="${a("w-6 h-6 hover:cursor-pointer sd-interactive",this.inverted&&"sd-interactive--inverted")}" part="volume" aria-label="${this.isMuted?this.localize.term("unmute"):this.localize.term("mute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-5-8-0-icon class="w-6 h-6" name="${this.isMuted?"mute":"volume"}" library="_internal"></sd-5-8-0-icon></button></div></div>`,o=s`<div class="${a("w-full flex justify-between",this.reversedLayout?"mb-2":"mt-2",this.animated&&this.reversedLayout&&"absolute bottom-0 left-0 mb-2",this.animated&&!this.reversedLayout&&"mt-2")}" part="timestamps"><div class="${a("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.currentTime}</div><div class="${a("current-time text-sm",this.inverted?"text-primary-400":"text-neutral-700")}">${this.duration}</div></div>`;return s`<div class="${a("w-full flex relative",this.reversedLayout?"flex-col-reverse":"flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated||this.animated&&this.reversedLayout?r:null}<div class="relative">${this.animated&&!this.reversedLayout?s`${r}`:null} ${this.animated?s`<canvas class="w-full h-16"></canvas>`:null} ${!this.hideTimestamps&&this.animated&&this.reversedLayout?o:null} <input class="${a("progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",this.inverted&&"sd-interactive--inverted")}" type="range" max="100" step="0.001" value="${this.progress}" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" aria-label="${this.localize.term("seekBar")}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted?"rgb(var(--sd-color-white, 255 255 255) / 1)":"rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${e}%,${this.animated?"transparent":this.inverted?"rgb(var(--sd-color-primary-400, 153 171 208) / 1)":"rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${e}%)"></div>${this.hasSlotController.test("transcript")?s`<sd-5-8-0-drawer><slot name="transcript"></slot></sd-5-8-0-drawer>`:null} ${!this.hideTimestamps&&(!this.animated||!this.reversedLayout)?o:null}</div>`}};t.styles=[...p.styles,m`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-5-8-0-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-5-8-0-button::part(motion-wrapper){border-radius:var(--sd-border-radius-full,9999px)}sd-5-8-0-button::part(label){align-items:center;display:flex;flex-grow:0}`],i([d({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),i([d({type:Boolean,reflect:!0,attribute:"hide-timestamps"})],t.prototype,"hideTimestamps",2),i([d({type:Boolean,reflect:!0})],t.prototype,"animated",2),i([d({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([d({type:Number,reflect:!0})],t.prototype,"speed",2),i([l()],t.prototype,"currentTime",2),i([l()],t.prototype,"duration",2),i([l()],t.prototype,"isPlaying",2),i([l()],t.prototype,"isMuted",2),i([l()],t.prototype,"isTranscriptOpen",2),i([l()],t.prototype,"progress",2),i([h('[part="progress-slider"]')],t.prototype,"progressSlider",2),i([h('[part="audio-player"]')],t.prototype,"audioPlayerContainer",2),i([h("sd-5-8-0-drawer")],t.prototype,"drawer",2),i([h("canvas")],t.prototype,"canvas",2),t=i([f("sd-5-8-0-audio")],t);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as s}from"./chunk.G7HKVXLR.js";var t=[],i=class{constructor(e){this.tabDirection="forward";this.element=e,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){t.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){t=t.filter(e=>e!==this.element),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return t[t.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){let{start:e,end:h}=s(this.element),n=this.tabDirection==="forward"?e:h;typeof(n==null?void 0:n.focus)=="function"&&n.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(e){e.key==="Tab"&&e.shiftKey&&(this.tabDirection="backward",requestAnimationFrame(()=>this.checkFocus()))}handleKeyUp(){this.tabDirection="forward"}};export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk.26V4EXHB.js";import{a as o,b as r,h as i}from"./chunk.
|
|
1
|
+
import{a as s}from"./chunk.26V4EXHB.js";import{a as o,b as r,h as i}from"./chunk.VGYK5BAY.js";import{b as n,e as a}from"./chunk.UWPDCU52.js";import{e as t}from"./chunk.TJOCV4DC.js";var e=class extends i{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return a`<span part="base" aria-labelledby="content" class="${s("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"text-primary bg-primary-100 border-primary":"text-white bg-primary-500 border-white",green:this.inverted?"text-white bg-success border-primary":"text-white bg-success border-white",red:this.inverted?"text-white bg-error border-primary":"text-white bg-error border-white"}[this.variant])}"><span id="content" part="content" class="${s(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...i.styles,n`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem;height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem)}:host([size=lg]){font-size:.75rem;height:var(--sd-spacing-5,1.25rem);min-width:var(--sd-spacing-5,1.25rem)}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([o("sd-5-8-0-badge")],e);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as s}from"./chunk.YTG5BN3U.js";import{a as
|
|
1
|
+
import{a as s}from"./chunk.YTG5BN3U.js";import{a as l}from"./chunk.26V4EXHB.js";import{a as k}from"./chunk.GHC63SXL.js";import{a as T,b as h,c as b,d as u,h as y}from"./chunk.VGYK5BAY.js";import{b as S,e as c}from"./chunk.UWPDCU52.js";import{e as o}from"./chunk.TJOCV4DC.js";var n=class extends y{constructor(){super(...arguments);this.localize=new k(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,i=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,r={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&i,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},m=a.left&&!r.left,v=a.up&&!r.up,E=a.right&&!r.right,f=a.down&&!r.down;(m||v)&&this.dispatchEvent(new CustomEvent("start")),(E||f)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=r}handleScroll(t,i){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",r=!["mouse","touch"].includes((z=i==null?void 0:i.pointerType)!=null?z:""),m=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[m]:e});let v=`button-${t}`;this.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0}));let f=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&f<=0,H=a==="end"&&f>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-5-8-0-icon"))==null||B.setAttribute("label",L),r?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,i){var r;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(r=i.target.querySelector("sd-5-8-0-icon"))==null||r.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",i="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${l("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-5-8-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-8-0-icon></slot></button></div><div part="button-right" class="${l("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-5-8-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-8-0-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${l("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${l(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-5-8-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-8-0-icon></slot></button></div><div part="button-bottom" class="${l("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${l(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-5-8-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-8-0-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${l("left top-0 left-0 w-[6px] h-full",i,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${l("right top-0 right-0 w-[6px] h-full",i,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${l("top top-0 left-0 w-full h-[6px]",i,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${l("bottom bottom-0 left-0 w-full h-[6px]",i,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,S`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-8-0-icon--top{align-self:flex-start}.sd-5-8-0-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([b()],n.prototype,"canScroll",2),o([b()],n.prototype,"isScrollHorizontalEnabled",2),o([b()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-5-8-0-scrollable")],n);export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk.6HO6CE4A.js";import{a}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.
|
|
1
|
+
import{a as p}from"./chunk.6HO6CE4A.js";import{a}from"./chunk.26V4EXHB.js";import{a as r}from"./chunk.E2DRD2OX.js";import{a as d,b as o,h as n}from"./chunk.VGYK5BAY.js";import{b as m,e as s}from"./chunk.UWPDCU52.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-5-8-0-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-5-8-0-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-5-8-0-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-8-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-8-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-8-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-8-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-8-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-8-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-5-8-0-checkbox-group")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as i}from"./chunk.K7HF3VBZ.js";import{b as a}from"./chunk.6UCFML4U.js";import{b as c}from"./chunk.PYHYYOBE.js";var o=[a,i,c],e=[];function f(r){e.push(r)}function p(r){e=e.filter(t=>t!==r)}function b(r){return o.find(t=>t.name===r)}function l(r,t){s(r),o.push({name:r,resolver:t.resolver,mutator:t.mutator}),e.forEach(n=>{n.library===r&&n.setIcon()})}function s(r){o=o.filter(t=>t.name!==r)}export{f as a,p as b,b as c,l as d,s as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c}from"./chunk.3L472FD4.js";import{a as
|
|
1
|
+
import{c}from"./chunk.3L472FD4.js";import{a as o}from"./chunk.26V4EXHB.js";import{a as y}from"./chunk.GHC63SXL.js";import{a as m,b as g,c as d,d as b,h as v}from"./chunk.VGYK5BAY.js";import{b as f,e as h}from"./chunk.UWPDCU52.js";import{a as p,e as n}from"./chunk.TJOCV4DC.js";var r=class extends v{constructor(){super(...arguments);this.localize=new y(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-5-8-0-tab"),customElements.whenDefined("sd-5-8-0-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls()}),this.mutationObserver=new MutationObserver(s=>{s.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),s.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),t.then(()=>{new IntersectionObserver((e,l)=>{var a;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((a=this.activeTab)!=null?a:this.tabs[0],{emitEvents:!1}),l.unobserve(e[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let s=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(s.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-5-8-0-tab"?e:e.querySelector("sd-5-8-0-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-5-8-0-tab":e.tagName.toLowerCase()==="sd-5-8-0-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-5-8-0-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-5-8-0-tab");(e==null?void 0:e.closest("sd-5-8-0-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-5-8-0-tab");if((e==null?void 0:e.closest("sd-5-8-0-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let a=this.tabs.indexOf(this.getActiveTab());e!==null&&c(this.tabs[a+1],this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let a=this.tabs.indexOf(this.getActiveTab());e!==null&&c(this.tabs[a-1],this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let a=this.tabs.find(i=>i.matches(":focus")),u=this.localize.dir()==="rtl";if((a==null?void 0:a.tagName.toLowerCase())==="sd-5-8-0-tab"){let i=this.tabs.indexOf(a);t.key==="Home"?i=0:t.key==="End"?i=this.tabs.length-1:t.key===(u?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?i--:(t.key===(u?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&i++,i<0&&(i=this.tabs.length-1),i>this.tabs.length-1&&(i=0),this.tabs[i].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[i],{scrollBehavior:"smooth"}),c(this.tabs[i],this.nav,"horizontal"),t.preventDefault()}}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,s){if(s=p({emitEvents:!0,scrollBehavior:"auto"},s),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(l=>l.active=l===this.activeTab),this.panels.map(l=>{var a;return l.active=l.name===((a=this.activeTab)==null?void 0:a.panel)}),c(this.activeTab,this.nav,"horizontal",s.scrollBehavior),s.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let s=this.panels.find(e=>e.name===t.panel);s&&t.setAttribute("aria-controls",s.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}show(t){let s=this.tabs.find(e=>e.panel===t);s&&this.setActiveTab(s,{scrollBehavior:"smooth"})}render(){let t=this.localize.dir()==="rtl";return h`<div part="base" class="${o("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${o(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?h`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${o("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-5-8-0-icon library="_internal" name="${t?"chevron-up":"chevron-down"}" label="previous" class="${o("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-8-0-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${o("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?h`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${o("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-5-8-0-icon library="_internal" name="${t?"chevron-down":"chevron-up"}" label="next" class="${o("h-6 w-12 rotate-90 grid place-items-center")}"></sd-5-8-0-icon></button>`:""}</div><slot part="body" class="${o("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};r.styles=[...v.styles,f`: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-8-0-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-8-0-tab-panel){--padding:1rem 0}`],n([b("[part=base]")],r.prototype,"tabGroup",2),n([b("[part=body]")],r.prototype,"body",2),n([b("[part=scroll-container]")],r.prototype,"nav",2),n([d()],r.prototype,"hasScrollControls",2),n([d()],r.prototype,"variant",2),n([g({type:String,reflect:!0})],r.prototype,"activation",2),r=n([m("sd-5-8-0-tab-group")],r);export{r as a};
|