@solid-design-system/components 5.13.3 → 5.13.4
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.EENZGKOV.js → chunk.4Y2JE5PV.js} +1 -1
- package/cdn/chunks/{chunk.RCVL4M3C.js → chunk.6XXF5G5C.js} +1 -1
- package/cdn/chunks/{chunk.2PTEZCNZ.js → chunk.7INMWOUZ.js} +1 -1
- package/cdn/chunks/{chunk.EAPXYE6F.js → chunk.7WMTV6I4.js} +1 -1
- package/cdn/chunks/{chunk.BDAUTXN7.js → chunk.A25LJOFY.js} +1 -1
- package/cdn/chunks/{chunk.5CVGCOFJ.js → chunk.BUD2EAST.js} +1 -1
- package/cdn/chunks/{chunk.EBKCG77S.js → chunk.C6JGWWSD.js} +1 -1
- package/cdn/chunks/{chunk.P7QDODGA.js → chunk.CQ4QBZ5J.js} +1 -1
- package/cdn/chunks/{chunk.H7L5X64M.js → chunk.DX3YFLMK.js} +1 -1
- package/cdn/chunks/{chunk.HYAVD37Q.js → chunk.EAYWBCE7.js} +1 -1
- package/cdn/chunks/{chunk.WOYKRMVV.js → chunk.FZHHVY6Y.js} +1 -1
- package/cdn/chunks/{chunk.UV4M4EWK.js → chunk.HAL2ARMM.js} +1 -1
- package/cdn/chunks/{chunk.M5CTDINU.js → chunk.IP26UT3O.js} +1 -1
- package/cdn/chunks/{chunk.IDF2UA5W.js → chunk.IXHLVTCE.js} +1 -1
- package/cdn/chunks/{chunk.E5ZQKKCP.js → chunk.LOVOZACS.js} +1 -1
- package/cdn/chunks/{chunk.NOJ7A3ZI.js → chunk.NS75T6AP.js} +1 -1
- package/cdn/chunks/{chunk.MRMJ23AC.js → chunk.OAVL5PS2.js} +1 -1
- package/cdn/chunks/{chunk.KU44MP53.js → chunk.PEJM3PLJ.js} +1 -1
- package/cdn/chunks/{chunk.XZIV7JYY.js → chunk.VMPJQLWX.js} +1 -1
- package/{cdn-versioned/chunks/chunk.6QOOWMSC.js → cdn/chunks/chunk.YTG5BN3U.js} +1 -1
- package/cdn/components/accordion/accordion.d.ts +1 -1
- package/cdn/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn/components/animation/animation.d.ts +1 -1
- package/cdn/components/audio/audio.d.ts +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.d.ts +1 -1
- package/cdn/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.d.ts +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.d.ts +1 -1
- package/cdn/components/carousel/carousel.d.ts +1 -1
- package/cdn/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.d.ts +1 -1
- package/cdn/components/drawer/drawer.d.ts +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +1 -1
- package/cdn/components/expandable/expandable.d.ts +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.d.ts +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.d.ts +1 -1
- package/cdn/components/icon/icon.d.ts +1 -1
- package/cdn/components/include/include.d.ts +1 -1
- package/cdn/components/input/input.d.ts +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.d.ts +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.d.ts +1 -1
- package/cdn/components/map-marker/map-marker.d.ts +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.d.ts +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +1 -1
- package/cdn/components/menu-item/submenu-controller.d.ts +1 -1
- package/cdn/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.d.ts +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.d.ts +1 -1
- package/cdn/components/option/option.d.ts +1 -1
- package/cdn/components/popup/popup.d.ts +1 -1
- package/cdn/components/quickfact/quickfact.d.ts +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.d.ts +1 -1
- package/cdn/components/radio-button/radio-button.d.ts +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +1 -1
- package/cdn/components/range/range.d.ts +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.d.ts +1 -1
- package/cdn/components/scrollable/scrollable.d.ts +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.d.ts +1 -1
- package/cdn/components/step/step.d.ts +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.d.ts +1 -1
- package/cdn/components/switch/switch.d.ts +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.d.ts +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +1 -1
- package/cdn/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn/components/tag/tag.d.ts +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.d.ts +1 -1
- package/cdn/components/teaser-media/teaser-media.d.ts +1 -1
- package/cdn/components/textarea/textarea.d.ts +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +1 -1
- package/cdn/components/video/video.d.ts +1 -1
- package/cdn/custom-elements.json +186 -186
- package/cdn/internal/form.d.ts +1 -1
- package/cdn/internal/longpress.d.ts +1 -1
- package/cdn/solid-components.bundle.js +1 -1
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2AESCEHJ.js +1 -1
- package/cdn-versioned/chunks/chunk.2IXCDCBI.js +1 -1
- package/cdn-versioned/chunks/chunk.2KNDUWBP.js +1 -1
- package/cdn-versioned/chunks/chunk.3ED5FZPY.js +1 -1
- package/cdn-versioned/chunks/chunk.3O5CSFK6.js +1 -1
- package/cdn-versioned/chunks/{chunk.EENZGKOV.js → chunk.4Y2JE5PV.js} +1 -1
- package/cdn-versioned/chunks/chunk.54FIHRIN.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.RCVL4M3C.js → chunk.6XXF5G5C.js} +2 -2
- package/cdn-versioned/chunks/chunk.6YBQX3MQ.js +1 -1
- package/cdn-versioned/chunks/chunk.7HYHC4VH.js +1 -1
- package/cdn-versioned/chunks/chunk.7IH2NLBX.js +1 -1
- package/cdn-versioned/chunks/{chunk.2PTEZCNZ.js → chunk.7INMWOUZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.7JI2ZUD5.js +1 -1
- package/cdn-versioned/chunks/{chunk.EAPXYE6F.js → chunk.7WMTV6I4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BDAUTXN7.js → chunk.A25LJOFY.js} +1 -1
- package/cdn-versioned/chunks/chunk.BBD6RMZH.js +1 -1
- package/cdn-versioned/chunks/{chunk.5CVGCOFJ.js → chunk.BUD2EAST.js} +1 -1
- package/cdn-versioned/chunks/chunk.C5W6LZD4.js +1 -1
- package/cdn-versioned/chunks/{chunk.EBKCG77S.js → chunk.C6JGWWSD.js} +2 -2
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.P7QDODGA.js → chunk.CQ4QBZ5J.js} +4 -4
- package/cdn-versioned/chunks/chunk.CQYFUSYG.js +1 -1
- package/cdn-versioned/chunks/chunk.CSSD2EF7.js +1 -1
- package/cdn-versioned/chunks/chunk.CZIBZYQR.js +1 -1
- package/cdn-versioned/chunks/{chunk.H7L5X64M.js → chunk.DX3YFLMK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HYAVD37Q.js → chunk.EAYWBCE7.js} +1 -1
- package/cdn-versioned/chunks/chunk.EIYIMNPT.js +1 -1
- package/cdn-versioned/chunks/chunk.ENZOPZGC.js +1 -1
- package/cdn-versioned/chunks/chunk.F6VUPTBP.js +1 -1
- package/cdn-versioned/chunks/{chunk.WOYKRMVV.js → chunk.FZHHVY6Y.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UV4M4EWK.js → chunk.HAL2ARMM.js} +1 -1
- package/cdn-versioned/chunks/chunk.HLGRDYA3.js +1 -1
- package/cdn-versioned/chunks/{chunk.M5CTDINU.js → chunk.IP26UT3O.js} +1 -1
- package/cdn-versioned/chunks/chunk.ITMQUAG2.js +1 -1
- package/cdn-versioned/chunks/chunk.IUTS4ODJ.js +1 -1
- package/cdn-versioned/chunks/{chunk.IDF2UA5W.js → chunk.IXHLVTCE.js} +1 -1
- package/cdn-versioned/chunks/chunk.JEBG27AS.js +1 -1
- package/cdn-versioned/chunks/chunk.JECBERJ6.js +1 -1
- package/cdn-versioned/chunks/chunk.LD75GZVE.js +1 -1
- package/cdn-versioned/chunks/{chunk.E5ZQKKCP.js → chunk.LOVOZACS.js} +1 -1
- package/cdn-versioned/chunks/chunk.NHN2NTOB.js +1 -1
- package/cdn-versioned/chunks/{chunk.NOJ7A3ZI.js → chunk.NS75T6AP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MRMJ23AC.js → chunk.OAVL5PS2.js} +1 -1
- package/cdn-versioned/chunks/chunk.OQTFQZQD.js +1 -1
- package/cdn-versioned/chunks/chunk.OTZWFXC6.js +1 -1
- package/cdn-versioned/chunks/{chunk.KU44MP53.js → chunk.PEJM3PLJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.PJZCF7M2.js +1 -1
- package/cdn-versioned/chunks/chunk.RRVZNEFJ.js +1 -1
- package/cdn-versioned/chunks/chunk.RU2MXVG3.js +1 -1
- package/cdn-versioned/chunks/chunk.SM5KISBS.js +1 -1
- package/cdn-versioned/chunks/chunk.STQUP635.js +1 -1
- package/cdn-versioned/chunks/chunk.UBO3W67S.js +1 -1
- package/cdn-versioned/chunks/{chunk.XZIV7JYY.js → chunk.VMPJQLWX.js} +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WQU7XRRP.js +1 -1
- package/cdn-versioned/chunks/chunk.XGXHVRYA.js +1 -1
- package/cdn-versioned/chunks/chunk.Y77KMBSV.js +4 -4
- package/cdn-versioned/chunks/chunk.YGTSBRUS.js +1 -1
- package/cdn-versioned/chunks/chunk.YI3Y536X.js +1 -1
- package/{cdn/chunks/chunk.6QOOWMSC.js → cdn-versioned/chunks/chunk.YTG5BN3U.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZWO2DZQK.js +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +2 -2
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +2 -2
- package/cdn-versioned/components/animation/animation.d.ts +2 -2
- package/cdn-versioned/components/audio/audio.d.ts +2 -2
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +2 -2
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -2
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +2 -2
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +2 -2
- package/cdn-versioned/components/carousel/carousel.d.ts +2 -2
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +2 -2
- package/cdn-versioned/components/checkbox/checkbox.d.ts +2 -2
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +2 -2
- 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 +2 -2
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +2 -2
- package/cdn-versioned/components/drawer/drawer.d.ts +2 -2
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +2 -2
- package/cdn-versioned/components/expandable/expandable.d.ts +2 -2
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +2 -2
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +2 -2
- package/cdn-versioned/components/icon/icon.d.ts +2 -2
- package/cdn-versioned/components/include/include.d.ts +2 -2
- package/cdn-versioned/components/input/input.d.ts +2 -2
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +2 -2
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +2 -2
- package/cdn-versioned/components/map-marker/map-marker.d.ts +2 -2
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +2 -2
- package/cdn-versioned/components/menu-item/menu-item.d.ts +2 -2
- package/cdn-versioned/components/menu-item/submenu-controller.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +2 -2
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +2 -2
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/option/option.d.ts +2 -2
- package/cdn-versioned/components/popup/popup.d.ts +2 -2
- package/cdn-versioned/components/quickfact/quickfact.d.ts +2 -2
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +2 -2
- package/cdn-versioned/components/radio-button/radio-button.d.ts +2 -2
- 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/range/range.d.ts +2 -2
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +2 -2
- package/cdn-versioned/components/scrollable/scrollable.d.ts +2 -2
- 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 +2 -2
- package/cdn-versioned/components/step/step.d.ts +2 -2
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +2 -2
- package/cdn-versioned/components/switch/switch.d.ts +2 -2
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +2 -2
- package/cdn-versioned/components/tab-group/tab-group.d.ts +2 -2
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +2 -2
- package/cdn-versioned/components/tag/tag.d.ts +2 -2
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.d.ts +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +2 -2
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +2 -2
- package/cdn-versioned/components/video/video.d.ts +2 -2
- package/cdn-versioned/custom-elements.json +420 -420
- package/cdn-versioned/internal/form.d.ts +1 -1
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/internal/longpress.d.ts +1 -1
- package/cdn-versioned/solid-components.bundle.js +13 -13
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +13 -13
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +91 -91
- package/cdn-versioned/web-types.json +154 -154
- package/dist/chunks/{chunk.KG7FVLXZ.js → chunk.2CWYTGUF.js} +1 -1
- package/dist/chunks/{chunk.4Q2HZQKT.js → chunk.33JOPIXE.js} +2 -2
- package/dist/chunks/{chunk.CUD3EBGR.js → chunk.K2A6FAQM.js} +1 -1
- package/dist/chunks/{chunk.TUXO2KSJ.js → chunk.YGJNZUTI.js} +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/components/animation/animation.d.ts +1 -1
- package/dist/components/audio/audio.d.ts +1 -1
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button-group/button-group.d.ts +1 -1
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/components/combobox/combobox.js +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -1
- package/dist/components/dialog/dialog.js +1 -1
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/expandable/expandable.d.ts +1 -1
- package/dist/components/flipcard/flipcard.d.ts +1 -1
- package/dist/components/header/header.d.ts +1 -1
- package/dist/components/icon/icon.d.ts +1 -1
- package/dist/components/include/include.d.ts +1 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/loader/loader.d.ts +1 -1
- package/dist/components/map-marker/map-marker.d.ts +1 -1
- package/dist/components/menu/menu.d.ts +1 -1
- package/dist/components/menu-item/menu-item.d.ts +1 -1
- package/dist/components/menu-item/submenu-controller.d.ts +1 -1
- package/dist/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/components/notification/notification.d.ts +1 -1
- package/dist/components/optgroup/optgroup.d.ts +1 -1
- package/dist/components/option/option.d.ts +1 -1
- package/dist/components/popup/popup.d.ts +1 -1
- package/dist/components/quickfact/quickfact.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/radio-button/radio-button.d.ts +1 -1
- package/dist/components/radio-group/radio-group.d.ts +1 -1
- package/dist/components/range/range.d.ts +1 -1
- package/dist/components/range/range.js +1 -1
- package/dist/components/range-tick/range-tick.d.ts +1 -1
- package/dist/components/scrollable/scrollable.d.ts +1 -1
- package/dist/components/select/select.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/step/step.d.ts +1 -1
- package/dist/components/step-group/step-group.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +1 -1
- package/dist/components/tab/tab.d.ts +1 -1
- package/dist/components/tab-group/tab-group.d.ts +1 -1
- package/dist/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist/components/tag/tag.d.ts +1 -1
- package/dist/components/teaser/teaser.d.ts +1 -1
- package/dist/components/teaser-media/teaser-media.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/video/video.d.ts +1 -1
- package/dist/custom-elements.json +186 -186
- package/dist/internal/form.d.ts +1 -1
- package/dist/internal/longpress.d.ts +1 -1
- package/dist/solid-components.js +4 -4
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.22XVLL4U.js +1 -1
- package/dist-versioned/chunks/{chunk.KG7FVLXZ.js → chunk.2CWYTGUF.js} +27 -27
- package/dist-versioned/chunks/chunk.2USKLT7E.js +6 -6
- package/dist-versioned/chunks/{chunk.4Q2HZQKT.js → chunk.33JOPIXE.js} +26 -26
- package/dist-versioned/chunks/chunk.3H34BS4K.js +1 -1
- package/dist-versioned/chunks/chunk.3HHT2OQH.js +12 -12
- package/dist-versioned/chunks/chunk.3IWFEPZF.js +4 -4
- package/dist-versioned/chunks/chunk.3P4CWN6B.js +3 -3
- package/dist-versioned/chunks/chunk.3SBJ5LD6.js +2 -2
- package/dist-versioned/chunks/chunk.4GOBDXSS.js +1 -1
- package/dist-versioned/chunks/chunk.4JS6YQGE.js +3 -3
- package/dist-versioned/chunks/chunk.5DBXOC2V.js +1 -1
- package/dist-versioned/chunks/chunk.5PBRPBRT.js +5 -5
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6P3RKSUO.js +1 -1
- package/dist-versioned/chunks/chunk.7AKLVTJJ.js +3 -3
- package/dist-versioned/chunks/chunk.7L25CLNU.js +2 -2
- package/dist-versioned/chunks/chunk.A5Z4VKXC.js +2 -2
- package/dist-versioned/chunks/chunk.COXPSVWJ.js +3 -3
- package/dist-versioned/chunks/chunk.CURD6RBZ.js +6 -6
- package/dist-versioned/chunks/chunk.CZOZQ3VO.js +1 -1
- package/dist-versioned/chunks/chunk.CZXEOVSI.js +4 -4
- package/dist-versioned/chunks/chunk.D4DTFLNK.js +1 -1
- package/dist-versioned/chunks/chunk.DG2EQDME.js +2 -2
- package/dist-versioned/chunks/chunk.E3JOKBV7.js +2 -2
- package/dist-versioned/chunks/chunk.EQ6ES4D4.js +2 -2
- package/dist-versioned/chunks/chunk.HDOXCV5R.js +2 -2
- package/dist-versioned/chunks/chunk.I34ENUW2.js +2 -2
- package/dist-versioned/chunks/chunk.I55X5D52.js +2 -2
- package/dist-versioned/chunks/{chunk.CUD3EBGR.js → chunk.K2A6FAQM.js} +3 -3
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KGO6SGAI.js +2 -2
- package/dist-versioned/chunks/chunk.KTW4YKIN.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.L3CJJWQH.js +5 -5
- package/dist-versioned/chunks/chunk.LJGEETGS.js +2 -2
- package/dist-versioned/chunks/chunk.LVKMRGF7.js +2 -2
- package/dist-versioned/chunks/chunk.NIOP54NF.js +1 -1
- package/dist-versioned/chunks/chunk.NIVOUKTJ.js +5 -5
- package/dist-versioned/chunks/chunk.OKJADCUF.js +3 -3
- package/dist-versioned/chunks/chunk.PMP3SJSG.js +4 -4
- package/dist-versioned/chunks/chunk.R6QYQOQJ.js +1 -1
- package/dist-versioned/chunks/chunk.R7SUBHGP.js +1 -1
- package/dist-versioned/chunks/chunk.S4BMH7I6.js +3 -3
- package/dist-versioned/chunks/chunk.S4W23ZFB.js +2 -2
- package/dist-versioned/chunks/chunk.SGY6Q5FM.js +1 -1
- package/dist-versioned/chunks/chunk.SLDPP5NU.js +14 -14
- package/dist-versioned/chunks/chunk.SVC3IWAA.js +2 -2
- package/dist-versioned/chunks/chunk.TB76LMSK.js +11 -11
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UMJTGYQ7.js +3 -3
- package/dist-versioned/chunks/chunk.VEBQYO6P.js +1 -1
- package/dist-versioned/chunks/chunk.VISHTUP5.js +1 -1
- package/dist-versioned/chunks/chunk.VNGVFWX6.js +1 -1
- package/dist-versioned/chunks/chunk.VPTCQBGB.js +5 -5
- package/dist-versioned/chunks/chunk.W2L2LAQR.js +12 -12
- package/dist-versioned/chunks/chunk.WMLESPZB.js +8 -8
- package/dist-versioned/chunks/chunk.XHOP5USY.js +1 -1
- package/dist-versioned/chunks/{chunk.TUXO2KSJ.js → chunk.YGJNZUTI.js} +4 -4
- package/dist-versioned/chunks/chunk.YTLWADMX.js +1 -1
- package/dist-versioned/chunks/chunk.ZSG33GER.js +6 -6
- package/dist-versioned/components/accordion/accordion.d.ts +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +2 -2
- package/dist-versioned/components/animation/animation.d.ts +2 -2
- package/dist-versioned/components/audio/audio.d.ts +2 -2
- package/dist-versioned/components/badge/badge.d.ts +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +2 -2
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +2 -2
- package/dist-versioned/components/button/button.d.ts +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +2 -2
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +2 -2
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +2 -2
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +2 -2
- package/dist-versioned/components/dialog/dialog.js +1 -1
- package/dist-versioned/components/divider/divider.d.ts +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +2 -2
- package/dist-versioned/components/header/header.d.ts +2 -2
- package/dist-versioned/components/icon/icon.d.ts +2 -2
- package/dist-versioned/components/include/include.d.ts +2 -2
- package/dist-versioned/components/input/input.d.ts +2 -2
- package/dist-versioned/components/link/link.d.ts +2 -2
- package/dist-versioned/components/loader/loader.d.ts +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +2 -2
- package/dist-versioned/components/menu/menu.d.ts +2 -2
- package/dist-versioned/components/menu-item/menu-item.d.ts +2 -2
- package/dist-versioned/components/menu-item/submenu-controller.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +2 -2
- package/dist-versioned/components/notification/notification.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +2 -2
- package/dist-versioned/components/popup/popup.d.ts +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +2 -2
- package/dist-versioned/components/radio/radio.d.ts +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/range/range.d.ts +2 -2
- package/dist-versioned/components/range/range.js +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +2 -2
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +2 -2
- package/dist-versioned/components/step/step.d.ts +2 -2
- package/dist-versioned/components/step-group/step-group.d.ts +2 -2
- package/dist-versioned/components/switch/switch.d.ts +2 -2
- package/dist-versioned/components/tab/tab.d.ts +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +2 -2
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +2 -2
- package/dist-versioned/components/tag/tag.d.ts +2 -2
- package/dist-versioned/components/teaser/teaser.d.ts +1 -1
- package/dist-versioned/components/teaser-media/teaser-media.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +2 -2
- package/dist-versioned/components/video/video.d.ts +2 -2
- package/dist-versioned/custom-elements.json +420 -420
- package/dist-versioned/internal/form.d.ts +1 -1
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/internal/longpress.d.ts +1 -1
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +4 -4
- package/dist-versioned/vscode.html-custom-data.json +91 -91
- package/dist-versioned/web-types.json +154 -154
- package/package.json +1 -1
- /package/cdn/chunks/{chunk.VSJY5YKF.js → chunk.H7LU6TQ3.js} +0 -0
- /package/cdn-versioned/chunks/{chunk.VSJY5YKF.js → chunk.H7LU6TQ3.js} +0 -0
|
@@ -94,7 +94,7 @@ var SdExpandable = class extends SolidElement {
|
|
|
94
94
|
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${cx(
|
|
95
95
|
"flex items-center mr-2 transition-transform duration-medium ease-in-out",
|
|
96
96
|
this.open && "rotate-180"
|
|
97
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-
|
|
97
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-13-4-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-13-4-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-13-4-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-13-4-icon></slot></span><slot name="toggle-closed" class="${cx(this.open && "hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${cx(!this.open && "hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
|
|
98
98
|
}
|
|
99
99
|
firstUpdated() {
|
|
100
100
|
this.cloneContentToLightDOM();
|
|
@@ -134,7 +134,7 @@ __decorateClass([
|
|
|
134
134
|
watch("open", { waitUntilFirstUpdate: true })
|
|
135
135
|
], SdExpandable.prototype, "onOpenChange", 1);
|
|
136
136
|
SdExpandable = __decorateClass([
|
|
137
|
-
customElement("sd-5-13-
|
|
137
|
+
customElement("sd-5-13-4-expandable")
|
|
138
138
|
], SdExpandable);
|
|
139
139
|
setDefaultAnimation("expandable.show", {
|
|
140
140
|
keyframes: [{ height: "var(--component-expandable-max-block-size, 90px)" }, { height: "auto" }],
|
|
@@ -172,7 +172,7 @@ __decorateClass([
|
|
|
172
172
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
173
173
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
174
174
|
SdSwitch = __decorateClass([
|
|
175
|
-
customElement("sd-5-13-
|
|
175
|
+
customElement("sd-5-13-4-switch")
|
|
176
176
|
], SdSwitch);
|
|
177
177
|
|
|
178
178
|
export {
|
|
@@ -97,7 +97,7 @@ var SdMenu = class extends SolidElement {
|
|
|
97
97
|
}
|
|
98
98
|
isMenuItem(item) {
|
|
99
99
|
var _a;
|
|
100
|
-
return item.tagName.toLowerCase() === "sd-5-13-
|
|
100
|
+
return item.tagName.toLowerCase() === "sd-5-13-4-menu-item" || ["menuitem", "menuitemcheckbox", "menuitemradio"].includes((_a = item.getAttribute("role")) != null ? _a : "");
|
|
101
101
|
}
|
|
102
102
|
/** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
|
|
103
103
|
getAllItems() {
|
|
@@ -131,13 +131,13 @@ var SdMenu = class extends SolidElement {
|
|
|
131
131
|
};
|
|
132
132
|
SdMenu.styles = [
|
|
133
133
|
...SolidElement.styles,
|
|
134
|
-
css`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-13-
|
|
134
|
+
css`:host{border-radius:var(--sd-border-radius-md,.375rem);display:block;overflow:auto;overscroll-behavior:auto;padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);position:relative;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75))!important;--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}::slotted(sd-5-13-4-divider){padding-bottom:var(--sd-spacing-3,.75rem);padding-top:var(--sd-spacing-3,.75rem)}`
|
|
135
135
|
];
|
|
136
136
|
__decorateClass([
|
|
137
137
|
query("slot")
|
|
138
138
|
], SdMenu.prototype, "defaultSlot", 2);
|
|
139
139
|
SdMenu = __decorateClass([
|
|
140
|
-
customElement("sd-5-13-
|
|
140
|
+
customElement("sd-5-13-4-menu")
|
|
141
141
|
], SdMenu);
|
|
142
142
|
|
|
143
143
|
export {
|
|
@@ -206,15 +206,15 @@ var SdTooltip = class extends SolidElement {
|
|
|
206
206
|
render() {
|
|
207
207
|
const isStart = this.placement.endsWith("-start");
|
|
208
208
|
const isEnd = this.placement.endsWith("-end");
|
|
209
|
-
return html`<sd-5-13-
|
|
209
|
+
return html`<sd-5-13-4-popup part="base" exportparts="
|
|
210
210
|
popup:base__popup,
|
|
211
211
|
arrow:base__arrow
|
|
212
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-13-
|
|
212
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-13-4-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-13-4-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-13-4-popup>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdTooltip.styles = [
|
|
216
216
|
...SolidElement.styles,
|
|
217
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-13-
|
|
217
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-13-4-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-13-4-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-13-4-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-13-4-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-13-4-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
|
|
218
218
|
];
|
|
219
219
|
__decorateClass([
|
|
220
220
|
query("slot:not([name])")
|
|
@@ -223,7 +223,7 @@ __decorateClass([
|
|
|
223
223
|
query("#tooltip")
|
|
224
224
|
], SdTooltip.prototype, "body", 2);
|
|
225
225
|
__decorateClass([
|
|
226
|
-
query("sd-5-13-
|
|
226
|
+
query("sd-5-13-4-popup")
|
|
227
227
|
], SdTooltip.prototype, "popup", 2);
|
|
228
228
|
__decorateClass([
|
|
229
229
|
property({ type: String, reflect: true })
|
|
@@ -256,7 +256,7 @@ __decorateClass([
|
|
|
256
256
|
watch("disabled")
|
|
257
257
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
258
258
|
SdTooltip = __decorateClass([
|
|
259
|
-
customElement("sd-5-13-
|
|
259
|
+
customElement("sd-5-13-4-tooltip")
|
|
260
260
|
], SdTooltip);
|
|
261
261
|
setDefaultAnimation("tooltip.show", {
|
|
262
262
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-5-13-
|
|
13
|
+
const popup = document.createElement("sd-5-13-4-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-5-13-
|
|
25
|
+
const styles = css`sd-5-13-4-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-13-4-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-5-13-4-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-5-13-4-popup li{list-style-type:""}sd-5-13-4-popup li mark{background-color:transparent;font-weight:700}sd-5-13-4-popup li:not(:has(sd-5-13-4-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-5-13-4-popup li:not(:has(sd-5-13-4-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-5-13-4-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-4-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-13-4-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
|
});
|
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-5-13-
|
|
211
|
+
customElement("sd-5-13-4-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
|
|
|
385
385
|
this.size === "sm" ? "h-6" : "h-8",
|
|
386
386
|
textSize
|
|
387
387
|
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
388
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-13-
|
|
388
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-13-4-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-13-4-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-13-4-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-13-4-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-13-4-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-13-4-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-13-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-13-4-icon>` : ""} ${this.type === "time" ? html`<sd-5-13-4-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-13-4-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-13-4-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-13-4-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-13-4-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-13-4-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-13-4-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-13-4-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-13-4-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-13-4-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-13-4-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-13-4-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
/**
|
|
@@ -393,7 +393,7 @@ var SdInput = class extends SolidElement {
|
|
|
393
393
|
*/
|
|
394
394
|
SdInput.styles = [
|
|
395
395
|
...SolidElement.styles,
|
|
396
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-13-
|
|
396
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-13-4-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
397
397
|
];
|
|
398
398
|
__decorateClass([
|
|
399
399
|
query("#input")
|
|
@@ -523,7 +523,7 @@ __decorateClass([
|
|
|
523
523
|
watch("value", { waitUntilFirstUpdate: true })
|
|
524
524
|
], SdInput.prototype, "handleValueChange", 1);
|
|
525
525
|
SdInput = __decorateClass([
|
|
526
|
-
customElement("sd-5-13-
|
|
526
|
+
customElement("sd-5-13-4-input")
|
|
527
527
|
], SdInput);
|
|
528
528
|
|
|
529
529
|
export {
|
|
@@ -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-5-13-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-13-4-divider[orientation=horizontal]){display:block}:host(sd-5-13-4-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-5-13-
|
|
44
|
+
customElement("sd-5-13-4-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -93,7 +93,7 @@ var SdOption = class extends SolidElement {
|
|
|
93
93
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
94
94
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
95
95
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "bg-white border-neutral-800"
|
|
96
|
-
)}">${this.selected ? html`<sd-5-13-
|
|
96
|
+
)}">${this.selected ? html`<sd-5-13-4-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-13-4-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
@@ -140,7 +140,7 @@ __decorateClass([
|
|
|
140
140
|
watch("value")
|
|
141
141
|
], SdOption.prototype, "handleValueChange", 1);
|
|
142
142
|
SdOption = __decorateClass([
|
|
143
|
-
customElement("sd-5-13-
|
|
143
|
+
customElement("sd-5-13-4-option")
|
|
144
144
|
], SdOption);
|
|
145
145
|
|
|
146
146
|
export {
|
|
@@ -208,7 +208,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
208
208
|
this.readonly ? "bg-neutral-100" : "bg-white",
|
|
209
209
|
textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "text-black"
|
|
210
210
|
)}"><textarea part="textarea" id="input" class="${cx(
|
|
211
|
-
"ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-13-
|
|
211
|
+
"ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-13-4-icon]:pe-8",
|
|
212
212
|
{
|
|
213
213
|
sm: "py-1",
|
|
214
214
|
md: "py-1",
|
|
@@ -216,7 +216,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
216
216
|
}[this.size],
|
|
217
217
|
this.disabled && "cursor-not-allowed",
|
|
218
218
|
textSize
|
|
219
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-5-13-
|
|
219
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-5-13-4-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-5-13-4-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-13-4-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-13-4-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
@@ -330,7 +330,7 @@ __decorateClass([
|
|
|
330
330
|
watch("value", { waitUntilFirstUpdate: true })
|
|
331
331
|
], SdTextarea.prototype, "handleValueChange", 1);
|
|
332
332
|
SdTextarea = __decorateClass([
|
|
333
|
-
customElement("sd-5-13-
|
|
333
|
+
customElement("sd-5-13-4-textarea")
|
|
334
334
|
], SdTextarea);
|
|
335
335
|
|
|
336
336
|
export {
|
|
@@ -60,7 +60,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
60
60
|
this.pausedAutoplay = false;
|
|
61
61
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
62
62
|
this.scrollController = new ScrollController(this);
|
|
63
|
-
this.slides = this.getElementsByTagName("sd-5-13-
|
|
63
|
+
this.slides = this.getElementsByTagName("sd-5-13-4-carousel-item");
|
|
64
64
|
// determines which slide is displayed
|
|
65
65
|
// A map containing the state of all the slides
|
|
66
66
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -433,7 +433,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
433
433
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${prevEnabled ? (e) => {
|
|
434
434
|
this.previous();
|
|
435
435
|
this.unblockAutoplay(e, this.previousButton);
|
|
436
|
-
} : null}"><slot name="previous-icon"><sd-5-13-
|
|
436
|
+
} : null}"><slot name="previous-icon"><sd-5-13-4-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-5-13-4-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
437
437
|
const isActive = index + 1 === currentPage;
|
|
438
438
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
439
439
|
"carousel__pagination-item",
|
|
@@ -456,7 +456,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
456
456
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" @click="${nextEnabled ? (e) => {
|
|
457
457
|
this.next();
|
|
458
458
|
this.unblockAutoplay(e, this.nextButton);
|
|
459
|
-
} : null}"><slot name="next-icon"><sd-5-13-
|
|
459
|
+
} : null}"><slot name="next-icon"><sd-5-13-4-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-5-13-4-icon></slot></button></div><button class="${cx(
|
|
460
460
|
"ml-6 !rounded-sm",
|
|
461
461
|
"!absolute !right-0 sd-interactive",
|
|
462
462
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -466,12 +466,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
466
466
|
if (e.detail) {
|
|
467
467
|
this.autoplayControls.blur();
|
|
468
468
|
}
|
|
469
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-13-
|
|
469
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-5-13-4-icon class="h-6 w-6 grid place-items-center" library="_internal" name="start"></sd-5-13-4-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-5-13-4-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-5-13-4-icon></slot></button></div></div>`;
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
SdCarousel.styles = [
|
|
473
473
|
...SolidElement.styles,
|
|
474
|
-
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{display:block;height:var(--carousel-height);overflow:hidden;position:relative}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-13-
|
|
474
|
+
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{display:block;height:var(--carousel-height);overflow:hidden;position:relative}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-5-13-4-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
475
475
|
];
|
|
476
476
|
__decorateClass([
|
|
477
477
|
query('[part~="autoplay-controls"]')
|
|
@@ -544,7 +544,7 @@ __decorateClass([
|
|
|
544
544
|
watch("autoplay")
|
|
545
545
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
546
546
|
SdCarousel = __decorateClass([
|
|
547
|
-
customElement("sd-5-13-
|
|
547
|
+
customElement("sd-5-13-4-carousel")
|
|
548
548
|
], SdCarousel);
|
|
549
549
|
|
|
550
550
|
export {
|
|
@@ -210,15 +210,15 @@ var SdNotification = class extends SolidElement {
|
|
|
210
210
|
warning: "bg-warning",
|
|
211
211
|
error: "bg-error"
|
|
212
212
|
}[this.variant]
|
|
213
|
-
)}"><sd-5-13-
|
|
213
|
+
)}"><sd-5-13-4-icon name="${{
|
|
214
214
|
info: "info-circle",
|
|
215
215
|
success: "confirm-circle",
|
|
216
216
|
warning: "exclamation-circle",
|
|
217
217
|
error: "warning"
|
|
218
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-13-
|
|
218
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-13-4-icon></slot><div part="content" class="${cx(
|
|
219
219
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
220
220
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
221
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-13-
|
|
221
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-13-4-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-13-4-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-13-4-icon></sd-5-13-4-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></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
@@ -262,7 +262,7 @@ __decorateClass([
|
|
|
262
262
|
watch("duration")
|
|
263
263
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
264
264
|
SdNotification = __decorateClass([
|
|
265
|
-
customElement("sd-5-13-
|
|
265
|
+
customElement("sd-5-13-4-notification")
|
|
266
266
|
], SdNotification);
|
|
267
267
|
setDefaultAnimation("notification.show", {
|
|
268
268
|
keyframes: [
|
|
@@ -208,7 +208,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
208
208
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
209
209
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
210
210
|
}[this.placement]
|
|
211
|
-
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-5-13-
|
|
211
|
+
)}" role="dialog" aria-modal="true" aria-label="${this.label}" tabindex="0">${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-5-13-4-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-5-13-4-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-13-4-icon></sd-5-13-4-button></div></header>` : html`<sd-5-13-4-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 end-2"><sd-5-13-4-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-5-13-4-icon></sd-5-13-4-button>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
SdDrawer.styles = [
|
|
@@ -249,7 +249,7 @@ __decorateClass([
|
|
|
249
249
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
250
250
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
251
251
|
SdDrawer = __decorateClass([
|
|
252
|
-
customElement("sd-5-13-
|
|
252
|
+
customElement("sd-5-13-4-drawer")
|
|
253
253
|
], SdDrawer);
|
|
254
254
|
setDefaultAnimation("drawer.showStart", {
|
|
255
255
|
keyframes: [
|
|
@@ -84,7 +84,7 @@ var SdLink = class extends SolidElement {
|
|
|
84
84
|
};
|
|
85
85
|
SdLink.styles = [
|
|
86
86
|
...SolidElement.styles,
|
|
87
|
-
css`::slotted(sd-5-13-
|
|
87
|
+
css`::slotted(sd-5-13-4-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-5-13-4-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-5-13-4-icon){font-size:var(--sd-font-size-xl,1.5rem)}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query("a")
|
|
@@ -111,7 +111,7 @@ __decorateClass([
|
|
|
111
111
|
property({ reflect: true })
|
|
112
112
|
], SdLink.prototype, "download", 2);
|
|
113
113
|
SdLink = __decorateClass([
|
|
114
|
-
customElement("sd-5-13-
|
|
114
|
+
customElement("sd-5-13-4-link")
|
|
115
115
|
], SdLink);
|
|
116
116
|
|
|
117
117
|
export {
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-5-13-
|
|
21
|
+
this.componentId = `sd-5-13-4-tab-panel-${this.attrId}`;
|
|
22
22
|
this.name = "";
|
|
23
23
|
this.active = false;
|
|
24
24
|
}
|
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
|
48
48
|
watch("active")
|
|
49
49
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
|
50
50
|
SdTabPanel = __decorateClass([
|
|
51
|
-
customElement("sd-5-13-
|
|
51
|
+
customElement("sd-5-13-4-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|
|
@@ -98,7 +98,7 @@ var SdVideo = class extends SolidElement {
|
|
|
98
98
|
this.playing ? "opacity-0" : "opacity-100",
|
|
99
99
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
100
100
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
101
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-13-
|
|
101
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-5-13-4-icon id="default-play-icon" library="_internal" name="start"></sd-5-13-4-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<div part="poster-wrapper" class="absolute left-0 top-0 w-full z-10 overflow-hidden"><slot name="poster" role="presentation"></slot></div>` : null}<slot></slot></div>`;
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
SdVideo.styles = [
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
property({ type: Boolean })
|
|
116
116
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
117
117
|
SdVideo = __decorateClass([
|
|
118
|
-
customElement("sd-5-13-
|
|
118
|
+
customElement("sd-5-13-4-video")
|
|
119
119
|
], SdVideo);
|
|
120
120
|
|
|
121
121
|
export {
|
|
@@ -89,7 +89,7 @@ var SdStep = class extends SolidElement {
|
|
|
89
89
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
90
90
|
this.notInteractive && "text-primary",
|
|
91
91
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
92
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-5-13-
|
|
92
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-5-13-4-icon name="status-check" library="_internal"></sd-5-13-4-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
93
93
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
94
94
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
95
95
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -139,7 +139,7 @@ __decorateClass([
|
|
|
139
139
|
watch("notInteractive")
|
|
140
140
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
141
141
|
SdStep = __decorateClass([
|
|
142
|
-
customElement("sd-5-13-
|
|
142
|
+
customElement("sd-5-13-4-step")
|
|
143
143
|
], SdStep);
|
|
144
144
|
|
|
145
145
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-5-13-
|
|
74
|
+
"sd-5-13-4-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -127,7 +127,7 @@ __decorateClass([
|
|
|
127
127
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
128
128
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
129
129
|
SdRadio = __decorateClass([
|
|
130
|
-
customElement("sd-5-13-
|
|
130
|
+
customElement("sd-5-13-4-radio")
|
|
131
131
|
], SdRadio);
|
|
132
132
|
|
|
133
133
|
export {
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
|
|
39
39
|
// src/components/dialog/dialog.ts
|
|
40
40
|
import { css, html } from "lit";
|
|
41
|
-
import { ifDefined } from "lit
|
|
41
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
42
42
|
import { property, query } from "lit/decorators.js";
|
|
43
43
|
import cx from "classix";
|
|
44
44
|
var SdDialog = class extends SolidElement {
|
|
@@ -176,7 +176,7 @@ var SdDialog = class extends SolidElement {
|
|
|
176
176
|
)}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
177
177
|
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
178
178
|
this.open && "flex opacity-100"
|
|
179
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-5-13-
|
|
179
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-5-13-4-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-5-13-4-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-13-4-icon></sd-5-13-4-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
SdDialog.styles = [
|
|
@@ -205,7 +205,7 @@ __decorateClass([
|
|
|
205
205
|
watch("open", { waitUntilFirstUpdate: true })
|
|
206
206
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
207
207
|
SdDialog = __decorateClass([
|
|
208
|
-
customElement("sd-5-13-
|
|
208
|
+
customElement("sd-5-13-4-dialog")
|
|
209
209
|
], SdDialog);
|
|
210
210
|
setDefaultAnimation("dialog.show", {
|
|
211
211
|
keyframes: [
|
|
@@ -48,7 +48,7 @@ var SubmenuController = class {
|
|
|
48
48
|
if (event.target === this.host) {
|
|
49
49
|
event.preventDefault();
|
|
50
50
|
event.stopPropagation();
|
|
51
|
-
} else if (event.target instanceof Element && (event.target.tagName === "sd-5-13-
|
|
51
|
+
} else if (event.target instanceof Element && (event.target.tagName === "sd-5-13-4-menu-item" || ((_a = event.target.role) == null ? void 0 : _a.startsWith("menuitem")))) {
|
|
52
52
|
const type = event.target.getAttribute("type");
|
|
53
53
|
if (type !== "checkbox") {
|
|
54
54
|
this.disableSubmenu();
|
|
@@ -69,7 +69,7 @@ var SubmenuController = class {
|
|
|
69
69
|
// Set the safe triangle values for the submenu when the position changes
|
|
70
70
|
this.handlePopupReposition = () => {
|
|
71
71
|
const submenuSlot = this.host.renderRoot.querySelector("slot[name='submenu']");
|
|
72
|
-
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-5-13-
|
|
72
|
+
const menu = submenuSlot == null ? void 0 : submenuSlot.assignedElements({ flatten: true }).filter((el) => el.localName === "sd-5-13-4-menu")[0];
|
|
73
73
|
const isRtl = getComputedStyle(this.host).direction === "rtl";
|
|
74
74
|
if (!menu) {
|
|
75
75
|
return;
|
|
@@ -141,7 +141,7 @@ var SubmenuController = class {
|
|
|
141
141
|
}
|
|
142
142
|
let menuItems = null;
|
|
143
143
|
for (const elt of submenuSlot.assignedElements()) {
|
|
144
|
-
menuItems = elt.querySelectorAll("sd-5-13-
|
|
144
|
+
menuItems = elt.querySelectorAll("sd-5-13-4-menu-item, [role^='menuitem']");
|
|
145
145
|
if (menuItems.length !== 0) {
|
|
146
146
|
break;
|
|
147
147
|
}
|
|
@@ -220,7 +220,7 @@ var SubmenuController = class {
|
|
|
220
220
|
if (!this.isConnected) {
|
|
221
221
|
return html`<slot name="submenu" hidden></slot>`;
|
|
222
222
|
}
|
|
223
|
-
return html`<sd-5-13-
|
|
223
|
+
return html`<sd-5-13-4-popup ${ref(this.popupRef)} placement="${isRtl ? "left-start" : "right-start"}" anchor="anchor" flip flip-fallback-strategy="best-fit" skidding="${this.skidding}" strategy="fixed" auto-size="vertical" auto-size-padding="10"><slot name="submenu"></slot></sd-5-13-4-popup>`;
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|