@solid-design-system/components 4.6.6 → 4.6.7
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.PK56IKYB.js → chunk.2RIVDRYN.js} +1 -1
- package/cdn/chunks/{chunk.TQZIVKL4.js → chunk.3D62RZ2Z.js} +1 -1
- package/cdn/chunks/{chunk.OGYKMLQC.js → chunk.3HOCCAOC.js} +1 -1
- package/cdn/chunks/chunk.3YPJCZOD.js +1 -0
- package/cdn/chunks/{chunk.P2AZQ6JJ.js → chunk.5CP6CRGL.js} +1 -1
- package/cdn/chunks/{chunk.CSEIFVHU.js → chunk.5YA6WG7I.js} +1 -1
- package/cdn/chunks/{chunk.BSSIW3MR.js → chunk.6Q37IBDM.js} +1 -1
- package/cdn/chunks/{chunk.U53TTUE5.js → chunk.6XTSQUSU.js} +1 -1
- package/cdn/chunks/{chunk.BDDTFQPH.js → chunk.7MDQZEHN.js} +1 -1
- package/cdn/chunks/{chunk.MFAV4DKW.js → chunk.BIWE2YFU.js} +1 -1
- package/cdn/chunks/{chunk.A7Y7Y2BP.js → chunk.BU2E77FJ.js} +1 -1
- package/cdn/chunks/{chunk.57KIR2AM.js → chunk.C5D2DMXR.js} +1 -1
- package/cdn/chunks/{chunk.XYNG6CL3.js → chunk.D7YBJDMX.js} +1 -1
- package/cdn/chunks/{chunk.UAYM7ZNJ.js → chunk.DQ4LC2QQ.js} +1 -1
- package/cdn/chunks/{chunk.IBKJG5A2.js → chunk.DXZG7YGV.js} +1 -1
- package/cdn/chunks/{chunk.PAHTHIDK.js → chunk.EIY45BTU.js} +1 -1
- package/cdn/chunks/chunk.FZLK25RZ.js +73 -0
- package/cdn/chunks/{chunk.B4LGTBDQ.js → chunk.GULQVATJ.js} +1 -1
- package/cdn/chunks/{chunk.5JN6H4TK.js → chunk.HEYSBISE.js} +1 -1
- package/cdn/chunks/{chunk.ZSX2NODY.js → chunk.HIWNQUT2.js} +1 -1
- package/cdn/chunks/{chunk.5DQOJ2LD.js → chunk.ILF7UZDH.js} +1 -1
- package/cdn/chunks/{chunk.MVWUR3SU.js → chunk.IZUTH5VY.js} +1 -1
- package/cdn/chunks/{chunk.ZJKOT4UF.js → chunk.J5GYRMVW.js} +1 -1
- package/cdn/chunks/{chunk.H6CJA7ZL.js → chunk.K6MPMK2S.js} +1 -1
- package/cdn/chunks/{chunk.TVLGMXOA.js → chunk.KLARHQI2.js} +1 -1
- package/cdn/chunks/{chunk.6WEI5RCQ.js → chunk.LMCE4KKJ.js} +1 -1
- package/cdn/chunks/{chunk.I72FHNAP.js → chunk.NIKSK6UX.js} +1 -1
- package/cdn/chunks/{chunk.P4X3LV4O.js → chunk.NR42774V.js} +1 -1
- package/cdn/chunks/{chunk.ZURN25GW.js → chunk.NTVL7HVE.js} +1 -1
- package/cdn/chunks/{chunk.DMJTTTI2.js → chunk.OOWV6VHF.js} +1 -1
- package/cdn/chunks/{chunk.DL5WIKKT.js → chunk.PAUDYROR.js} +1 -1
- package/cdn/chunks/{chunk.HOTN3GDX.js → chunk.PEIJ5QII.js} +1 -1
- package/cdn/chunks/{chunk.UI23RBCA.js → chunk.PEYEID7E.js} +1 -1
- package/cdn/chunks/{chunk.ACSEXVQL.js → chunk.PTJJRTHX.js} +1 -1
- package/cdn/chunks/{chunk.32KEEMOU.js → chunk.QKA4RHJ4.js} +1 -1
- package/cdn/chunks/{chunk.7RPQAJG6.js → chunk.QWFYJP4P.js} +1 -1
- package/cdn/chunks/{chunk.W4JRKKKL.js → chunk.RL6X34VW.js} +1 -1
- package/cdn/chunks/{chunk.KY7U2GCF.js → chunk.SCGOQGTJ.js} +1 -1
- package/cdn/chunks/{chunk.OAEJLWOW.js → chunk.STBV672J.js} +1 -1
- package/cdn/chunks/{chunk.7YQSXBTR.js → chunk.TNG3FY3U.js} +1 -1
- package/cdn/chunks/{chunk.JE7OXV4O.js → chunk.TYH3DD3Z.js} +1 -1
- package/cdn/chunks/{chunk.73KGRP4P.js → chunk.UW24BDXV.js} +1 -1
- package/cdn/chunks/{chunk.S4DMUGJP.js → chunk.V6AI2UU3.js} +1 -1
- package/cdn/chunks/{chunk.ERUNVSKC.js → chunk.VTEMYE2V.js} +1 -1
- package/cdn/chunks/{chunk.B3NPQAAV.js → chunk.WD6KFGLX.js} +1 -1
- package/cdn/chunks/{chunk.HHZ6OAXB.js → chunk.XCZ7A7XW.js} +1 -1
- package/cdn/chunks/{chunk.MFY56HCX.js → chunk.XDA5YIYP.js} +1 -1
- package/cdn/chunks/{chunk.2SG334MY.js → chunk.Y2ZOHPE6.js} +1 -1
- package/cdn/chunks/{chunk.XEK2EZZP.js → chunk.Y4IR7JF5.js} +1 -1
- package/cdn/chunks/{chunk.HWIW4DH4.js → chunk.YYZEOF4B.js} +1 -1
- package/cdn/chunks/{chunk.AHRLBIYH.js → chunk.ZIYUJYNT.js} +1 -1
- package/cdn/chunks/{chunk.67W46R6V.js → chunk.ZNMNVYHM.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/scrollable/scrollable.d.ts +10 -5
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +17 -17
- package/cdn/solid-components.iife.js +18 -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/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/{chunk.PK56IKYB.js → chunk.2RIVDRYN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TQZIVKL4.js → chunk.3D62RZ2Z.js} +2 -2
- package/cdn-versioned/chunks/{chunk.OGYKMLQC.js → chunk.3HOCCAOC.js} +1 -1
- package/cdn-versioned/chunks/chunk.3YPJCZOD.js +1 -0
- package/cdn-versioned/chunks/{chunk.P2AZQ6JJ.js → chunk.5CP6CRGL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CSEIFVHU.js → chunk.5YA6WG7I.js} +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.BSSIW3MR.js → chunk.6Q37IBDM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.U53TTUE5.js → chunk.6XTSQUSU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BDDTFQPH.js → chunk.7MDQZEHN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MFAV4DKW.js → chunk.BIWE2YFU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.A7Y7Y2BP.js → chunk.BU2E77FJ.js} +4 -4
- package/cdn-versioned/chunks/{chunk.57KIR2AM.js → chunk.C5D2DMXR.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.XYNG6CL3.js → chunk.D7YBJDMX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UAYM7ZNJ.js → chunk.DQ4LC2QQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IBKJG5A2.js → chunk.DXZG7YGV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PAHTHIDK.js → chunk.EIY45BTU.js} +1 -1
- package/cdn-versioned/chunks/chunk.FZLK25RZ.js +73 -0
- package/cdn-versioned/chunks/{chunk.B4LGTBDQ.js → chunk.GULQVATJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5JN6H4TK.js → chunk.HEYSBISE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZSX2NODY.js → chunk.HIWNQUT2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5DQOJ2LD.js → chunk.ILF7UZDH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MVWUR3SU.js → chunk.IZUTH5VY.js} +4 -4
- package/cdn-versioned/chunks/{chunk.ZJKOT4UF.js → chunk.J5GYRMVW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.H6CJA7ZL.js → chunk.K6MPMK2S.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TVLGMXOA.js → chunk.KLARHQI2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6WEI5RCQ.js → chunk.LMCE4KKJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.I72FHNAP.js → chunk.NIKSK6UX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.P4X3LV4O.js → chunk.NR42774V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZURN25GW.js → chunk.NTVL7HVE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DMJTTTI2.js → chunk.OOWV6VHF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DL5WIKKT.js → chunk.PAUDYROR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HOTN3GDX.js → chunk.PEIJ5QII.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UI23RBCA.js → chunk.PEYEID7E.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ACSEXVQL.js → chunk.PTJJRTHX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.32KEEMOU.js → chunk.QKA4RHJ4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7RPQAJG6.js → chunk.QWFYJP4P.js} +1 -1
- package/cdn-versioned/chunks/{chunk.W4JRKKKL.js → chunk.RL6X34VW.js} +4 -4
- package/cdn-versioned/chunks/{chunk.KY7U2GCF.js → chunk.SCGOQGTJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OAEJLWOW.js → chunk.STBV672J.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7YQSXBTR.js → chunk.TNG3FY3U.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JE7OXV4O.js → chunk.TYH3DD3Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.73KGRP4P.js → chunk.UW24BDXV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.S4DMUGJP.js → chunk.V6AI2UU3.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ERUNVSKC.js → chunk.VTEMYE2V.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.B3NPQAAV.js → chunk.WD6KFGLX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HHZ6OAXB.js → chunk.XCZ7A7XW.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MFY56HCX.js → chunk.XDA5YIYP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2SG334MY.js → chunk.Y2ZOHPE6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XEK2EZZP.js → chunk.Y4IR7JF5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HWIW4DH4.js → chunk.YYZEOF4B.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AHRLBIYH.js → chunk.ZIYUJYNT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.67W46R6V.js → chunk.ZNMNVYHM.js} +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +11 -6
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +4 -4
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +21 -21
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +22 -22
- 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/localize.d.ts +1 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.LLSVGPM2.js → chunk.3ORZT34X.js} +1 -1
- package/dist/chunks/chunk.3PS24RCT.js +224 -0
- package/dist/chunks/{chunk.BZQIZT43.js → chunk.6VCNAVH4.js} +1 -1
- package/dist/chunks/{chunk.EBZNAZNX.js → chunk.6WU4LF5Z.js} +1 -1
- package/dist/chunks/{chunk.CSBLXELN.js → chunk.AOWIHO7B.js} +1 -1
- package/dist/chunks/{chunk.CAJZPZNE.js → chunk.CKKINYND.js} +1 -1
- package/dist/chunks/{chunk.VFCTC43F.js → chunk.CTZX4JSW.js} +1 -1
- package/dist/chunks/{chunk.WQNN2PQR.js → chunk.DIVJNSSG.js} +2 -2
- package/dist/chunks/{chunk.IZ4Z4LUM.js → chunk.EATARJOL.js} +1 -1
- package/dist/chunks/{chunk.4XX7HM5J.js → chunk.EJMQUF44.js} +1 -1
- package/dist/chunks/{chunk.I7E7S32P.js → chunk.EZKDJFKX.js} +1 -1
- package/dist/chunks/{chunk.CX3GTFZI.js → chunk.G4WRYNRZ.js} +1 -0
- package/dist/chunks/{chunk.VFXEX6KC.js → chunk.HP5TMUCE.js} +1 -1
- package/dist/chunks/{chunk.P7ANANFF.js → chunk.I2AG6P7E.js} +1 -1
- package/dist/chunks/{chunk.AE7KY76S.js → chunk.IBTGZ65I.js} +1 -1
- package/dist/chunks/{chunk.I4XTOEGU.js → chunk.ILPAMBSC.js} +1 -1
- package/dist/chunks/{chunk.KYNXDWDX.js → chunk.ISZXPWVC.js} +1 -1
- package/dist/chunks/{chunk.HBJMJ2WP.js → chunk.J67NOH2J.js} +1 -1
- package/dist/chunks/{chunk.PTGF6MPV.js → chunk.JEZFJKCR.js} +1 -1
- package/dist/chunks/{chunk.Y3TGDH7A.js → chunk.L4ICI7XS.js} +1 -0
- package/dist/chunks/{chunk.J3RQA6TF.js → chunk.LA5LTAEA.js} +1 -1
- package/dist/chunks/{chunk.QSTI27SQ.js → chunk.ML4MIKYQ.js} +1 -1
- package/dist/chunks/{chunk.FGRAKZHX.js → chunk.O3TREWCC.js} +1 -1
- package/dist/chunks/{chunk.BRX25BL4.js → chunk.OJPVJA2S.js} +1 -1
- package/dist/chunks/{chunk.EUSRDE4F.js → chunk.OX2URSR7.js} +1 -1
- package/dist/chunks/{chunk.VUARIZJD.js → chunk.PQNIAIWQ.js} +3 -3
- package/dist/chunks/{chunk.AKUPBYMC.js → chunk.PS2S6VDP.js} +1 -1
- package/dist/chunks/{chunk.NGVEOWER.js → chunk.PTZRO2RN.js} +2 -2
- package/dist/chunks/{chunk.5EXPOZYT.js → chunk.Q7SDLREI.js} +1 -1
- package/dist/chunks/{chunk.YZAMSOBJ.js → chunk.R24LPR7A.js} +1 -1
- package/dist/chunks/{chunk.LVUPM2UK.js → chunk.SWZ7YNPJ.js} +1 -1
- package/dist/chunks/{chunk.IV4SON4G.js → chunk.T4ZCLZI2.js} +1 -1
- package/dist/chunks/{chunk.EZJWJNU4.js → chunk.TDFVAXJF.js} +1 -1
- package/dist/chunks/{chunk.GNR27ZJZ.js → chunk.TGTE644Y.js} +1 -1
- package/dist/chunks/{chunk.52AA4ZI7.js → chunk.TK6PTMFF.js} +1 -1
- package/dist/chunks/chunk.TXYWAHFM.js +65 -0
- package/dist/chunks/{chunk.ZFX4I3IE.js → chunk.TZPIUQJ5.js} +1 -1
- package/dist/chunks/{chunk.7LJJ3FL5.js → chunk.UHYIMTVH.js} +1 -1
- package/dist/chunks/{chunk.TX5LNUI7.js → chunk.V5TII4MB.js} +4 -4
- package/dist/chunks/{chunk.FP7OUGE5.js → chunk.VMVFMQ3Q.js} +1 -1
- package/dist/chunks/{chunk.Q6EB7NKM.js → chunk.VSY4EUFN.js} +1 -1
- package/dist/chunks/{chunk.CMP4BAXF.js → chunk.W5XT73TK.js} +1 -1
- package/dist/chunks/{chunk.UVCMAMU5.js → chunk.WCLY7RG6.js} +1 -1
- package/dist/chunks/{chunk.RZ3E76KV.js → chunk.WFNCHKPE.js} +2 -2
- package/dist/chunks/{chunk.E7YUNGJR.js → chunk.WZWSOE2S.js} +4 -4
- package/dist/chunks/{chunk.UWHQMADG.js → chunk.X54F4QNG.js} +1 -1
- package/dist/chunks/{chunk.XB5JCL6J.js → chunk.XLKZYB73.js} +1 -1
- package/dist/chunks/{chunk.PJRFKYNK.js → chunk.YELMYFWG.js} +1 -1
- package/dist/chunks/{chunk.7OMCERFC.js → chunk.YKFNELUH.js} +1 -1
- package/dist/chunks/{chunk.7EZP47DO.js → chunk.ZGKB7QGK.js} +1 -1
- package/dist/chunks/{chunk.64AQEEU6.js → chunk.ZKKB55C5.js} +1 -1
- package/dist/chunks/{chunk.HCUF4DYK.js → chunk.ZQJKVTOP.js} +1 -1
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion-group/accordion-group.js +6 -6
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +4 -4
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/button/button.js +5 -5
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +7 -7
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/expandable/expandable.js +4 -4
- package/dist/components/flipcard/flipcard.js +7 -7
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +5 -5
- package/dist/components/link/link.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +4 -4
- package/dist/components/notification/notification.js +4 -4
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +6 -6
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/scrollable/scrollable.d.ts +10 -5
- package/dist/components/scrollable/scrollable.js +4 -4
- package/dist/components/select/select.js +7 -7
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/step/step.js +2 -2
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +4 -4
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/video/video.js +4 -4
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +52 -52
- 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/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/{chunk.LLSVGPM2.js → chunk.3ORZT34X.js} +2 -2
- package/dist-versioned/chunks/chunk.3PS24RCT.js +224 -0
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.BZQIZT43.js → chunk.6VCNAVH4.js} +4 -4
- package/dist-versioned/chunks/{chunk.EBZNAZNX.js → chunk.6WU4LF5Z.js} +6 -6
- package/dist-versioned/chunks/{chunk.CSBLXELN.js → chunk.AOWIHO7B.js} +2 -2
- package/dist-versioned/chunks/{chunk.CAJZPZNE.js → chunk.CKKINYND.js} +2 -2
- package/dist-versioned/chunks/{chunk.VFCTC43F.js → chunk.CTZX4JSW.js} +2 -2
- package/dist-versioned/chunks/{chunk.WQNN2PQR.js → chunk.DIVJNSSG.js} +7 -7
- package/dist-versioned/chunks/{chunk.IZ4Z4LUM.js → chunk.EATARJOL.js} +3 -3
- package/dist-versioned/chunks/{chunk.4XX7HM5J.js → chunk.EJMQUF44.js} +3 -3
- package/dist-versioned/chunks/{chunk.I7E7S32P.js → chunk.EZKDJFKX.js} +3 -3
- package/dist-versioned/chunks/{chunk.CX3GTFZI.js → chunk.G4WRYNRZ.js} +1 -0
- package/dist-versioned/chunks/{chunk.VFXEX6KC.js → chunk.HP5TMUCE.js} +12 -12
- package/dist-versioned/chunks/{chunk.P7ANANFF.js → chunk.I2AG6P7E.js} +3 -3
- package/dist-versioned/chunks/{chunk.AE7KY76S.js → chunk.IBTGZ65I.js} +3 -3
- package/dist-versioned/chunks/{chunk.I4XTOEGU.js → chunk.ILPAMBSC.js} +3 -3
- package/dist-versioned/chunks/{chunk.KYNXDWDX.js → chunk.ISZXPWVC.js} +3 -3
- package/dist-versioned/chunks/{chunk.HBJMJ2WP.js → chunk.J67NOH2J.js} +3 -3
- package/dist-versioned/chunks/{chunk.PTGF6MPV.js → chunk.JEZFJKCR.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.Y3TGDH7A.js → chunk.L4ICI7XS.js} +1 -0
- package/dist-versioned/chunks/{chunk.J3RQA6TF.js → chunk.LA5LTAEA.js} +2 -2
- package/dist-versioned/chunks/{chunk.QSTI27SQ.js → chunk.ML4MIKYQ.js} +10 -10
- package/dist-versioned/chunks/{chunk.FGRAKZHX.js → chunk.O3TREWCC.js} +4 -4
- package/dist-versioned/chunks/{chunk.BRX25BL4.js → chunk.OJPVJA2S.js} +2 -2
- package/dist-versioned/chunks/{chunk.EUSRDE4F.js → chunk.OX2URSR7.js} +2 -2
- package/dist-versioned/chunks/{chunk.VUARIZJD.js → chunk.PQNIAIWQ.js} +16 -16
- package/dist-versioned/chunks/{chunk.AKUPBYMC.js → chunk.PS2S6VDP.js} +2 -2
- package/dist-versioned/chunks/{chunk.NGVEOWER.js → chunk.PTZRO2RN.js} +5 -5
- package/dist-versioned/chunks/{chunk.5EXPOZYT.js → chunk.Q7SDLREI.js} +4 -4
- package/dist-versioned/chunks/{chunk.YZAMSOBJ.js → chunk.R24LPR7A.js} +3 -3
- package/dist-versioned/chunks/{chunk.LVUPM2UK.js → chunk.SWZ7YNPJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.IV4SON4G.js → chunk.T4ZCLZI2.js} +3 -3
- package/dist-versioned/chunks/{chunk.EZJWJNU4.js → chunk.TDFVAXJF.js} +3 -3
- package/dist-versioned/chunks/{chunk.GNR27ZJZ.js → chunk.TGTE644Y.js} +6 -6
- package/dist-versioned/chunks/{chunk.52AA4ZI7.js → chunk.TK6PTMFF.js} +2 -2
- package/dist-versioned/chunks/chunk.TXYWAHFM.js +65 -0
- package/dist-versioned/chunks/{chunk.ZFX4I3IE.js → chunk.TZPIUQJ5.js} +2 -2
- package/dist-versioned/chunks/{chunk.7LJJ3FL5.js → chunk.UHYIMTVH.js} +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.TX5LNUI7.js → chunk.V5TII4MB.js} +30 -30
- package/dist-versioned/chunks/{chunk.FP7OUGE5.js → chunk.VMVFMQ3Q.js} +7 -7
- package/dist-versioned/chunks/{chunk.Q6EB7NKM.js → chunk.VSY4EUFN.js} +3 -3
- package/dist-versioned/chunks/{chunk.CMP4BAXF.js → chunk.W5XT73TK.js} +3 -3
- package/dist-versioned/chunks/{chunk.UVCMAMU5.js → chunk.WCLY7RG6.js} +6 -6
- package/dist-versioned/chunks/{chunk.RZ3E76KV.js → chunk.WFNCHKPE.js} +8 -8
- package/dist-versioned/chunks/{chunk.E7YUNGJR.js → chunk.WZWSOE2S.js} +33 -33
- package/dist-versioned/chunks/{chunk.UWHQMADG.js → chunk.X54F4QNG.js} +5 -5
- package/dist-versioned/chunks/{chunk.XB5JCL6J.js → chunk.XLKZYB73.js} +2 -2
- package/dist-versioned/chunks/{chunk.PJRFKYNK.js → chunk.YELMYFWG.js} +14 -14
- package/dist-versioned/chunks/{chunk.7OMCERFC.js → chunk.YKFNELUH.js} +2 -2
- package/dist-versioned/chunks/{chunk.7EZP47DO.js → chunk.ZGKB7QGK.js} +6 -6
- package/dist-versioned/chunks/{chunk.64AQEEU6.js → chunk.ZKKB55C5.js} +3 -3
- package/dist-versioned/chunks/{chunk.HCUF4DYK.js → chunk.ZQJKVTOP.js} +2 -2
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +5 -5
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
- 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 +4 -4
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +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 +6 -6
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +7 -7
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +7 -7
- 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 +7 -7
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +5 -5
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +4 -4
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +7 -7
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +5 -5
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +4 -4
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- 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 +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +6 -6
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +3 -3
- 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 +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +5 -5
- package/dist-versioned/components/scrollable/scrollable.d.ts +11 -6
- package/dist-versioned/components/scrollable/scrollable.js +4 -4
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +7 -7
- 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 +2 -2
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +4 -4
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +2 -2
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +5 -5
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +4 -4
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +52 -52
- 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/localize.d.ts +1 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +3 -3
- package/cdn/chunks/chunk.TVNBSYXH.js +0 -1
- package/cdn/chunks/chunk.Z5M7HN6L.js +0 -73
- package/cdn-versioned/chunks/chunk.TVNBSYXH.js +0 -1
- package/cdn-versioned/chunks/chunk.Z5M7HN6L.js +0 -73
- package/dist/chunks/chunk.K65IEKDH.js +0 -177
- package/dist/chunks/chunk.O27A57VP.js +0 -65
- package/dist-versioned/chunks/chunk.K65IEKDH.js +0 -177
- package/dist-versioned/chunks/chunk.O27A57VP.js +0 -65
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LocalizeController
|
|
3
|
+
} from "./chunk.YKM42GKF.js";
|
|
4
|
+
import {
|
|
5
|
+
SolidElement,
|
|
6
|
+
customElement
|
|
7
|
+
} from "./chunk.TXYWAHFM.js";
|
|
8
|
+
import {
|
|
9
|
+
__decorateClass
|
|
10
|
+
} from "./chunk.S3NI7NKU.js";
|
|
11
|
+
|
|
12
|
+
// src/components/scrollable/scrollable.ts
|
|
13
|
+
import { css, html } from "lit";
|
|
14
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
15
|
+
import { property, query, state } from "lit/decorators.js";
|
|
16
|
+
import cx from "classix";
|
|
17
|
+
var SdScrollable = class extends SolidElement {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.localize = new LocalizeController(this);
|
|
21
|
+
this.orientation = "horizontal";
|
|
22
|
+
this.scrollbars = false;
|
|
23
|
+
this.buttons = false;
|
|
24
|
+
this.shadows = false;
|
|
25
|
+
this.inset = false;
|
|
26
|
+
this.step = 150;
|
|
27
|
+
this.canScroll = {
|
|
28
|
+
left: false,
|
|
29
|
+
right: false,
|
|
30
|
+
up: false,
|
|
31
|
+
down: false
|
|
32
|
+
};
|
|
33
|
+
this.isScrollHorizontalEnabled = false;
|
|
34
|
+
this.isScrollVerticalEnabled = false;
|
|
35
|
+
}
|
|
36
|
+
connectedCallback() {
|
|
37
|
+
super.connectedCallback();
|
|
38
|
+
this.updateScrollEnabledFlags();
|
|
39
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
40
|
+
this.handleContainerScroll();
|
|
41
|
+
});
|
|
42
|
+
this.updateComplete.then(() => {
|
|
43
|
+
if (this.container) {
|
|
44
|
+
this.resizeObserver.observe(this.container);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
disconnectedCallback() {
|
|
49
|
+
super.disconnectedCallback();
|
|
50
|
+
if (this.container) {
|
|
51
|
+
this.resizeObserver.unobserve(this.container);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
updated(changedProperties) {
|
|
55
|
+
super.updated(changedProperties);
|
|
56
|
+
if (changedProperties.has("orientation") || changedProperties.has("buttons") || changedProperties.has("shadows")) {
|
|
57
|
+
this.updateScrollEnabledFlags();
|
|
58
|
+
this.handleContainerScroll();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
updateScrollEnabledFlags() {
|
|
62
|
+
const dir = this.orientation;
|
|
63
|
+
this.isScrollHorizontalEnabled = dir === "horizontal" || dir === "auto";
|
|
64
|
+
this.isScrollVerticalEnabled = dir === "vertical" || dir === "auto";
|
|
65
|
+
}
|
|
66
|
+
get scrollButtons() {
|
|
67
|
+
return {
|
|
68
|
+
left: this.leftButton,
|
|
69
|
+
right: this.rightButton,
|
|
70
|
+
up: this.upButton,
|
|
71
|
+
down: this.downButton
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
handleContainerScroll() {
|
|
75
|
+
if (!this.container) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
const canScrollLeft = this.isScrollHorizontalEnabled && this.container.scrollLeft > 0;
|
|
79
|
+
const canScrollRight = this.isScrollHorizontalEnabled && this.container.scrollLeft + this.container.clientWidth < this.container.scrollWidth - 1;
|
|
80
|
+
const canScrollUp = this.isScrollVerticalEnabled && this.container.scrollTop > 0;
|
|
81
|
+
const canScrollDown = this.isScrollVerticalEnabled && this.container.scrollTop + this.container.clientHeight < this.container.scrollHeight - 1;
|
|
82
|
+
this.canScroll = {
|
|
83
|
+
left: this.isScrollHorizontalEnabled && canScrollLeft,
|
|
84
|
+
right: this.isScrollHorizontalEnabled && canScrollRight,
|
|
85
|
+
up: this.isScrollVerticalEnabled && canScrollUp,
|
|
86
|
+
down: this.isScrollVerticalEnabled && canScrollDown
|
|
87
|
+
};
|
|
88
|
+
const startEventTriggered = canScrollLeft || canScrollUp;
|
|
89
|
+
const endEventTriggered = canScrollRight || canScrollDown;
|
|
90
|
+
if (startEventTriggered) {
|
|
91
|
+
this.dispatchEvent(new CustomEvent("start"));
|
|
92
|
+
}
|
|
93
|
+
if (endEventTriggered) {
|
|
94
|
+
this.dispatchEvent(new CustomEvent("end"));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
handleScroll(direction, e) {
|
|
98
|
+
var _a, _b, _c;
|
|
99
|
+
const amount = ["left", "up"].includes(direction) ? -this.step : this.step;
|
|
100
|
+
const axis = ["left", "right"].includes(direction) ? "horizontal" : "vertical";
|
|
101
|
+
const towards = ["left", "up"].includes(direction) ? "start" : "end";
|
|
102
|
+
const isKeyboardTriggered = !["mouse", "touch"].includes((_a = e == null ? void 0 : e.pointerType) != null ? _a : "");
|
|
103
|
+
const scrollKey = axis === "horizontal" ? "left" : "top";
|
|
104
|
+
(_b = this.container) == null ? void 0 : _b.scrollBy({
|
|
105
|
+
behavior: "smooth",
|
|
106
|
+
[scrollKey]: amount
|
|
107
|
+
});
|
|
108
|
+
const eventName = `button-${direction}`;
|
|
109
|
+
this.dispatchEvent(new CustomEvent(eventName, { bubbles: true, composed: true }));
|
|
110
|
+
const currentPosition = axis === "horizontal" ? this.container.scrollLeft : this.container.scrollTop;
|
|
111
|
+
const updatedPosition = currentPosition + amount;
|
|
112
|
+
const limit = axis === "horizontal" ? this.container.scrollWidth - this.container.clientWidth : this.container.scrollHeight - this.container.clientHeight;
|
|
113
|
+
const reachedStart = towards === "start" && updatedPosition <= 0;
|
|
114
|
+
const reachedEnd = towards === "end" && updatedPosition >= limit - 1;
|
|
115
|
+
if (!(reachedStart || reachedEnd)) {
|
|
116
|
+
const announcement = this.localize.term("scrolled");
|
|
117
|
+
this.announcementContainer.textContent = this.announcementContainer.textContent === announcement ? `${announcement}\u200B` : announcement;
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const clickedButton = this.scrollButtons[direction];
|
|
121
|
+
const oppositeButton = {
|
|
122
|
+
left: this.rightButton,
|
|
123
|
+
right: this.leftButton,
|
|
124
|
+
up: this.downButton,
|
|
125
|
+
down: this.upButton
|
|
126
|
+
}[direction];
|
|
127
|
+
const label = reachedStart ? `${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}` : `${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;
|
|
128
|
+
(_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-4-6-7-icon")) == null ? void 0 : _c.setAttribute("label", label);
|
|
129
|
+
if (isKeyboardTriggered) {
|
|
130
|
+
oppositeButton == null ? void 0 : oppositeButton.focus();
|
|
131
|
+
} else {
|
|
132
|
+
clickedButton == null ? void 0 : clickedButton.blur();
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
handleButtonBlur(direction, e) {
|
|
136
|
+
var _a;
|
|
137
|
+
const scrollTo = ["left", "up"].includes(direction) ? "start" : "end";
|
|
138
|
+
const label = scrollTo === "start" ? this.localize.term("scrollToStart") : this.localize.term("scrollToEnd");
|
|
139
|
+
const button = e.target;
|
|
140
|
+
(_a = button.querySelector("sd-4-6-7-icon")) == null ? void 0 : _a.setAttribute("label", label);
|
|
141
|
+
}
|
|
142
|
+
render() {
|
|
143
|
+
const scrollButtonClasses = "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";
|
|
144
|
+
const scrollShadowClasses = "scroll-shadow absolute z-10 pointer-events-none";
|
|
145
|
+
return html`<div part="base" class="${cx(
|
|
146
|
+
"scroll-container flex overflow-hidden flex-1",
|
|
147
|
+
this.scrollbars ? "show-scrollbars" : "hide-scrollbars",
|
|
148
|
+
this.inset && "p-4",
|
|
149
|
+
{
|
|
150
|
+
horizontal: "scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",
|
|
151
|
+
vertical: "scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",
|
|
152
|
+
auto: "scroll-auto overflow-auto"
|
|
153
|
+
}[this.orientation]
|
|
154
|
+
)}" @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 ? html`${this.isScrollHorizontalEnabled ? html`<div part="button-left" class="${cx(
|
|
155
|
+
"absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8",
|
|
156
|
+
!this.canScroll.left && "opacity-0 pointer-events-none"
|
|
157
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-4-6-7-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-4-6-7-icon></slot></button></div><div part="button-right" class="${cx(
|
|
158
|
+
"absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8",
|
|
159
|
+
!this.canScroll.right && "opacity-0 pointer-events-none"
|
|
160
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-4-6-7-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-4-6-7-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
|
|
161
|
+
"absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8",
|
|
162
|
+
!this.canScroll.up && "opacity-0 pointer-events-none"
|
|
163
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-4-6-7-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-4-6-7-icon></slot></button></div><div part="button-bottom" class="${cx(
|
|
164
|
+
"absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8",
|
|
165
|
+
!this.canScroll.down && "opacity-0 pointer-events-none"
|
|
166
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-4-6-7-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-4-6-7-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`${this.canScroll.left ? html`<div part="shadow-left" class="${scrollShadowClasses} left top-0 left-0 w-[6px] h-full"></div>` : null} ${this.canScroll.right ? html`<div part="shadow-right" class="${scrollShadowClasses} right top-0 right-0 w-[6px] h-full"></div>` : null}` : null} ${this.isScrollVerticalEnabled ? html`${this.canScroll.up ? html`<div part="shadow-top" class="${scrollShadowClasses} top top-0 left-0 w-full h-[6px]"></div>` : null} ${this.canScroll.down ? html`<div part="shadow-bottom" class="${scrollShadowClasses} bottom bottom-0 left-0 w-full h-[6px]"></div>` : null}` : null}` : null}`;
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
SdScrollable.styles = [
|
|
170
|
+
...SolidElement.styles,
|
|
171
|
+
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-4-6-7-icon--top{align-self:flex-start}.sd-4-6-7-icon--down{align-self:flex-end}`
|
|
172
|
+
];
|
|
173
|
+
__decorateClass([
|
|
174
|
+
query('[part="button-right"] button')
|
|
175
|
+
], SdScrollable.prototype, "rightButton", 2);
|
|
176
|
+
__decorateClass([
|
|
177
|
+
query('[part="button-left"] button')
|
|
178
|
+
], SdScrollable.prototype, "leftButton", 2);
|
|
179
|
+
__decorateClass([
|
|
180
|
+
query('[part="button-bottom"] button')
|
|
181
|
+
], SdScrollable.prototype, "downButton", 2);
|
|
182
|
+
__decorateClass([
|
|
183
|
+
query('[part="button-top"] button')
|
|
184
|
+
], SdScrollable.prototype, "upButton", 2);
|
|
185
|
+
__decorateClass([
|
|
186
|
+
query(".scroll-container")
|
|
187
|
+
], SdScrollable.prototype, "container", 2);
|
|
188
|
+
__decorateClass([
|
|
189
|
+
query("#announcement-container")
|
|
190
|
+
], SdScrollable.prototype, "announcementContainer", 2);
|
|
191
|
+
__decorateClass([
|
|
192
|
+
property({ type: String, reflect: true })
|
|
193
|
+
], SdScrollable.prototype, "orientation", 2);
|
|
194
|
+
__decorateClass([
|
|
195
|
+
property({ type: Boolean, reflect: true })
|
|
196
|
+
], SdScrollable.prototype, "scrollbars", 2);
|
|
197
|
+
__decorateClass([
|
|
198
|
+
property({ type: Boolean, reflect: true })
|
|
199
|
+
], SdScrollable.prototype, "buttons", 2);
|
|
200
|
+
__decorateClass([
|
|
201
|
+
property({ type: Boolean, reflect: true })
|
|
202
|
+
], SdScrollable.prototype, "shadows", 2);
|
|
203
|
+
__decorateClass([
|
|
204
|
+
property({ type: Boolean, reflect: true })
|
|
205
|
+
], SdScrollable.prototype, "inset", 2);
|
|
206
|
+
__decorateClass([
|
|
207
|
+
property({ type: Number, reflect: true })
|
|
208
|
+
], SdScrollable.prototype, "step", 2);
|
|
209
|
+
__decorateClass([
|
|
210
|
+
state()
|
|
211
|
+
], SdScrollable.prototype, "canScroll", 2);
|
|
212
|
+
__decorateClass([
|
|
213
|
+
state()
|
|
214
|
+
], SdScrollable.prototype, "isScrollHorizontalEnabled", 2);
|
|
215
|
+
__decorateClass([
|
|
216
|
+
state()
|
|
217
|
+
], SdScrollable.prototype, "isScrollVerticalEnabled", 2);
|
|
218
|
+
SdScrollable = __decorateClass([
|
|
219
|
+
customElement("sd-4-6-7-scrollable")
|
|
220
|
+
], SdScrollable);
|
|
221
|
+
|
|
222
|
+
export {
|
|
223
|
+
SdScrollable
|
|
224
|
+
};
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-4-6-
|
|
13
|
+
const popup = document.createElement("sd-4-6-7-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-4-6-
|
|
25
|
+
const styles = css`sd-4-6-7-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-6-7-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-6-7-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-4-6-7-popup li{list-style-type:""}sd-4-6-7-popup li mark{background-color:transparent;font-weight:700}sd-4-6-7-popup li:not(:has(sd-4-6-7-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-4-6-7-popup li:not(:has(sd-4-6-7-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-6-7-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-7-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-6-7-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.TXYWAHFM.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -118,7 +118,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
118
118
|
render() {
|
|
119
119
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.visuallyDisabled ? "visuallyDisabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
120
120
|
return html`<label part="base" class="${cx(
|
|
121
|
-
"sd-4-6-
|
|
121
|
+
"sd-4-6-7-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
122
122
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
123
123
|
{
|
|
124
124
|
/* sizes, fonts */
|
|
@@ -144,7 +144,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
144
144
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
145
145
|
default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
146
146
|
}[checkboxState]
|
|
147
|
-
)}">${this.checked ? html`<sd-4-6-
|
|
147
|
+
)}">${this.checked ? html`<sd-4-6-7-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-7-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-6-7-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-6-7-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
148
148
|
"select-none inline-block ml-2",
|
|
149
149
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
150
150
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -206,7 +206,7 @@ __decorateClass([
|
|
|
206
206
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
207
207
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
208
208
|
SdCheckbox = __decorateClass([
|
|
209
|
-
customElement("sd-4-6-
|
|
209
|
+
customElement("sd-4-6-7-checkbox")
|
|
210
210
|
], SdCheckbox);
|
|
211
211
|
|
|
212
212
|
export {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
SolidElement,
|
|
20
20
|
customElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.TXYWAHFM.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -182,7 +182,7 @@ var SdNotification = class extends SolidElement {
|
|
|
182
182
|
() => {
|
|
183
183
|
toastStack.removeChild(this);
|
|
184
184
|
resolve();
|
|
185
|
-
if (toastStack.querySelector("sd-4-6-
|
|
185
|
+
if (toastStack.querySelector("sd-4-6-7-notification") === null) {
|
|
186
186
|
toastStack.remove();
|
|
187
187
|
}
|
|
188
188
|
},
|
|
@@ -199,15 +199,15 @@ var SdNotification = class extends SolidElement {
|
|
|
199
199
|
warning: "bg-warning",
|
|
200
200
|
error: "bg-error"
|
|
201
201
|
}[this.variant]
|
|
202
|
-
)}"><sd-4-6-
|
|
202
|
+
)}"><sd-4-6-7-icon name="${{
|
|
203
203
|
info: "info-circle",
|
|
204
204
|
success: "confirm-circle",
|
|
205
205
|
warning: "exclamation-circle",
|
|
206
206
|
error: "warning"
|
|
207
|
-
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-
|
|
207
|
+
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-6-7-icon></slot><div part="content" class="${cx(
|
|
208
208
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
209
209
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
210
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-
|
|
210
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-6-7-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-6-7-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-6-7-icon></sd-4-6-7-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div>`;
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
/**
|
|
@@ -248,7 +248,7 @@ __decorateClass([
|
|
|
248
248
|
watch("duration")
|
|
249
249
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
250
250
|
SdNotification = __decorateClass([
|
|
251
|
-
customElement("sd-4-6-
|
|
251
|
+
customElement("sd-4-6-7-notification")
|
|
252
252
|
], SdNotification);
|
|
253
253
|
setDefaultAnimation("notification.show", {
|
|
254
254
|
keyframes: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TXYWAHFM.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -137,7 +137,7 @@ __decorateClass([
|
|
|
137
137
|
state()
|
|
138
138
|
], SdBrandshape.prototype, "componentBreakpoint", 2);
|
|
139
139
|
SdBrandshape = __decorateClass([
|
|
140
|
-
customElement("sd-4-6-
|
|
140
|
+
customElement("sd-4-6-7-brandshape")
|
|
141
141
|
], SdBrandshape);
|
|
142
142
|
|
|
143
143
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.TXYWAHFM.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -64,7 +64,7 @@ __decorateClass([
|
|
|
64
64
|
query('[part="base"]')
|
|
65
65
|
], SdTeaserMedia.prototype, "teaserMedia", 2);
|
|
66
66
|
SdTeaserMedia = __decorateClass([
|
|
67
|
-
customElement("sd-4-6-
|
|
67
|
+
customElement("sd-4-6-7-teaser-media")
|
|
68
68
|
], SdTeaserMedia);
|
|
69
69
|
|
|
70
70
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TXYWAHFM.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-4-6-
|
|
326
|
+
customElement("sd-4-6-7-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EZKDJFKX.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.TXYWAHFM.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
28
28
|
this.label = "";
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Syncs the disabled prop for all slotted sd-4-6-
|
|
31
|
+
* Syncs the disabled prop for all slotted sd-4-6-7-options when it is triggered
|
|
32
32
|
*/
|
|
33
33
|
handleDisableOptions() {
|
|
34
34
|
const { disabled } = this;
|
|
35
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-
|
|
35
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-7-option").forEach((opt) => {
|
|
36
36
|
opt.disabled = disabled;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const { disabled } = this;
|
|
44
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-
|
|
44
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-7-divider id="divider" class="pt-2 pb-4" part="divider"></sd-4-6-7-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SdOptgroup.dependencies = {
|
|
48
|
-
"sd-4-6-
|
|
48
|
+
"sd-4-6-7-divider": SdDivider
|
|
49
49
|
};
|
|
50
50
|
SdOptgroup.styles = [
|
|
51
51
|
...SolidElement.styles,
|
|
@@ -64,7 +64,7 @@ __decorateClass([
|
|
|
64
64
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
65
65
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
66
66
|
SdOptgroup = __decorateClass([
|
|
67
|
-
customElement("sd-4-6-
|
|
67
|
+
customElement("sd-4-6-7-optgroup")
|
|
68
68
|
], SdOptgroup);
|
|
69
69
|
|
|
70
70
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.TXYWAHFM.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super(...arguments);
|
|
23
23
|
this.attrId = ++id;
|
|
24
|
-
this.componentId = `sd-4-6-
|
|
24
|
+
this.componentId = `sd-4-6-7-tab-${this.attrId}`;
|
|
25
25
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
26
26
|
this.variant = "default";
|
|
27
27
|
this.active = false;
|
|
@@ -91,7 +91,7 @@ __decorateClass([
|
|
|
91
91
|
watch("disabled")
|
|
92
92
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
93
93
|
SdTab = __decorateClass([
|
|
94
|
-
customElement("sd-4-6-
|
|
94
|
+
customElement("sd-4-6-7-tab")
|
|
95
95
|
], SdTab);
|
|
96
96
|
|
|
97
97
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TXYWAHFM.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -71,7 +71,7 @@ var SdTag = class extends SolidElement {
|
|
|
71
71
|
lg: "text-base",
|
|
72
72
|
sm: "text-[12px]"
|
|
73
73
|
}[this.size]
|
|
74
|
-
)}"><sd-4-6-
|
|
74
|
+
)}"><sd-4-6-7-icon library="system" name="close" label="remove"></sd-4-6-7-icon></slot>` : ""}</${tag}>`;
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
SdTag.styles = [
|
|
@@ -106,7 +106,7 @@ __decorateClass([
|
|
|
106
106
|
property({ reflect: true })
|
|
107
107
|
], SdTag.prototype, "download", 2);
|
|
108
108
|
SdTag = __decorateClass([
|
|
109
|
-
customElement("sd-4-6-
|
|
109
|
+
customElement("sd-4-6-7-tag")
|
|
110
110
|
], SdTag);
|
|
111
111
|
|
|
112
112
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TXYWAHFM.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-6-7-divider[orientation=horizontal]){display:block}:host(sd-4-6-7-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-6-
|
|
44
|
+
customElement("sd-4-6-7-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TXYWAHFM.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-4-6-7-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-7-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-4-6-7-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-7-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-4-6-
|
|
41
|
-
button.classList.toggle("sd-4-6-
|
|
42
|
-
button.classList.toggle("sd-4-6-
|
|
43
|
-
button.classList.toggle("sd-4-6-
|
|
44
|
-
button.classList.toggle("sd-4-6-
|
|
40
|
+
button.classList.add("sd-4-6-7-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-4-6-7-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-4-6-7-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-4-6-7-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-4-6-7-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-7-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-4-6-
|
|
66
|
+
customElement("sd-4-6-7-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-4-6-
|
|
70
|
+
const selector = "sd-4-6-7-button, sd-4-6-7-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|