@solid-design-system/components 3.24.0 → 4.0.0-next.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/cdn/_components/menu/menu.d.ts +24 -0
- package/cdn/_components/menu/menu.js +117 -0
- package/cdn/_components/menu/menu.styles.js +17 -0
- package/cdn/_components/menu-item/menu-item.d.ts +23 -0
- package/cdn/_components/menu-item/menu-item.js +123 -0
- package/cdn/_components/menu-item/menu-item.styles.js +97 -0
- package/cdn/chunks/chunk.24SF73MY.js +17 -0
- package/cdn/chunks/chunk.26YUWEYR.js +1 -0
- package/cdn/chunks/chunk.2UHPWLJE.js +1 -0
- package/cdn/chunks/chunk.36Z2VDHI.js +1 -0
- package/cdn/chunks/chunk.3L472FD4.js +1 -0
- package/cdn/chunks/chunk.4W3WLVGR.js +10 -0
- package/cdn/chunks/chunk.5BROLR6V.js +11 -0
- package/cdn/chunks/chunk.5CK64GWQ.js +17 -0
- package/cdn/chunks/chunk.5YRTJVAZ.js +1 -0
- package/cdn/chunks/chunk.5ZDWEJDB.js +1 -0
- package/cdn/chunks/chunk.5ZILM4TA.js +11 -0
- package/cdn/chunks/chunk.64UNKF45.js +1 -0
- package/cdn/chunks/chunk.65NSSTJE.js +1 -0
- package/cdn/chunks/chunk.6HO6CE4A.js +1 -0
- package/cdn/chunks/chunk.6JBTCFHE.js +4 -0
- package/cdn/chunks/chunk.7M7VCE7R.js +1 -0
- package/cdn/chunks/chunk.7RJ3O2FV.js +1 -0
- package/cdn/chunks/chunk.A3DKF5BY.js +1 -0
- package/cdn/chunks/chunk.APMDRZQD.js +73 -0
- package/cdn/chunks/chunk.BTRVMAGL.js +1 -0
- package/cdn/chunks/chunk.CBQWVOOS.js +1 -0
- package/cdn/chunks/chunk.CEVVDV52.js +1 -0
- package/cdn/chunks/chunk.CJDJTJIA.js +1 -0
- package/cdn/chunks/chunk.CZ3W7KBI.js +1 -0
- package/cdn/chunks/chunk.D7TMPF3D.js +1 -0
- package/cdn/chunks/chunk.DCOFYPWX.js +1 -0
- package/cdn/chunks/chunk.DVHKKAVM.js +1 -0
- package/cdn/chunks/chunk.E2DRD2OX.js +1 -0
- package/cdn/chunks/chunk.E7HNNYP6.js +1 -0
- package/cdn/chunks/chunk.EFLL7VXU.js +65 -0
- package/cdn/chunks/chunk.EUGX6XW6.js +1 -0
- package/cdn/chunks/chunk.EWWGLHC5.js +1 -0
- package/cdn/chunks/chunk.FD54463O.js +1 -0
- package/cdn/chunks/chunk.FFNTXFC3.js +1 -0
- package/cdn/chunks/chunk.FREYGZDJ.js +1 -0
- package/cdn/chunks/chunk.FX3ED655.js +1 -0
- package/cdn/chunks/chunk.GOVNZSCO.js +1 -0
- package/cdn/chunks/chunk.GQSLHWQC.js +1 -0
- package/cdn/chunks/chunk.GUOHZTA7.js +1 -0
- package/cdn/chunks/chunk.HAL7R4WT.js +0 -0
- package/cdn/chunks/chunk.HE2LNCWW.js +10 -0
- package/cdn/chunks/chunk.HJGLYEWV.js +1 -0
- package/cdn/chunks/chunk.IRWHG2Q4.js +40 -0
- package/cdn/chunks/chunk.ISEQUO4U.js +1 -0
- package/cdn/chunks/chunk.IVXFAQNG.js +11 -0
- package/cdn/chunks/chunk.IZKUI5WK.js +1 -0
- package/cdn/chunks/chunk.K7HF3VBZ.js +1 -0
- package/cdn/chunks/chunk.KFW32Q4Q.js +1 -0
- package/cdn/chunks/chunk.KLRPP4NQ.js +1 -0
- package/cdn/chunks/chunk.KMLMMBY4.js +1 -0
- package/cdn/chunks/chunk.LI5H3QYB.js +1 -0
- package/cdn/chunks/chunk.LLXTYJXF.js +1 -0
- package/cdn/chunks/chunk.LZEFLOSA.js +1 -0
- package/cdn/chunks/chunk.MHWW3RZB.js +1 -0
- package/cdn/chunks/chunk.MMRILMYU.js +1 -0
- package/cdn/chunks/chunk.MPP7HYX7.js +1 -0
- package/cdn/chunks/chunk.MWDEA25W.js +1 -0
- package/cdn/chunks/chunk.ND7BT52X.js +1 -0
- package/cdn/chunks/chunk.NUB5WHGD.js +1 -0
- package/cdn/chunks/chunk.OVV7TNT2.js +1 -0
- package/cdn/chunks/chunk.QFNCQQ6S.js +1 -0
- package/cdn/chunks/chunk.QNZWJACC.js +19 -0
- package/cdn/chunks/chunk.R354E6ZD.js +3 -0
- package/cdn/chunks/chunk.RQYP7MH5.js +1 -0
- package/cdn/chunks/chunk.SNUMAAEG.js +1 -0
- package/cdn/chunks/chunk.SPDB3L7V.js +10 -0
- package/cdn/chunks/chunk.TA7CZCP3.js +1 -0
- package/cdn/chunks/chunk.TJ6RGDHH.js +1 -0
- package/cdn/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn/chunks/chunk.TWZDCIM2.js +1 -0
- package/cdn/chunks/chunk.UBFU6D5B.js +1 -0
- package/cdn/chunks/chunk.UH4KE6MR.js +0 -0
- package/cdn/chunks/chunk.URB2K7JQ.js +1 -0
- package/cdn/chunks/chunk.VNKUGTKM.js +1 -0
- package/cdn/chunks/chunk.W7A3TU2Z.js +1 -0
- package/cdn/chunks/chunk.WENTMXB2.js +1 -0
- package/cdn/chunks/chunk.WGNXYONB.js +1 -0
- package/cdn/chunks/chunk.WMRFVNYU.js +25 -0
- package/cdn/chunks/chunk.WNP2V63C.js +1 -0
- package/cdn/chunks/chunk.WP6KSGSU.js +1 -0
- package/cdn/chunks/chunk.WQAPHFVM.js +1 -0
- package/cdn/chunks/chunk.X2GM34WQ.js +1 -0
- package/cdn/chunks/chunk.X2O263YD.js +1 -0
- package/cdn/chunks/chunk.XR2KNB36.js +4 -0
- package/cdn/chunks/chunk.YF5WEC4R.js +3 -0
- package/cdn/chunks/chunk.ZFA2VPUT.js +1 -0
- package/cdn/components/accordion/accordion.d.ts +24 -0
- package/cdn/components/accordion/accordion.js +1 -0
- package/cdn/components/accordion-group/accordion-group.d.ts +16 -0
- package/cdn/components/accordion-group/accordion-group.js +1 -0
- package/cdn/components/animation/animation.d.ts +39 -0
- package/cdn/components/animation/animation.js +1 -0
- package/cdn/components/animation/animations.d.ts +4 -0
- package/cdn/components/animation/animations.js +1 -0
- package/cdn/components/audio/audio.d.ts +55 -0
- package/cdn/components/audio/audio.js +1 -0
- package/cdn/components/audio/base64Audio.d.ts +2 -0
- package/cdn/components/audio/base64Audio.js +1 -0
- package/cdn/components/audio/wave.js +1 -0
- package/cdn/components/badge/badge.d.ts +13 -0
- package/cdn/components/badge/badge.js +1 -0
- package/cdn/components/brandshape/brandshape.d.ts +31 -0
- package/cdn/components/brandshape/brandshape.js +1 -0
- package/cdn/components/button/button.d.ts +52 -0
- package/cdn/components/button/button.js +1 -0
- package/cdn/components/button-group/button-group.d.ts +18 -0
- package/cdn/components/button-group/button-group.js +1 -0
- package/cdn/components/carousel/autoplay-controller.js +1 -0
- package/cdn/components/carousel/carousel.d.ts +56 -0
- package/cdn/components/carousel/carousel.js +1 -0
- package/cdn/components/carousel/scroll-controller.js +1 -0
- package/cdn/components/carousel-item/carousel-item.d.ts +12 -0
- package/cdn/components/carousel-item/carousel-item.js +1 -0
- package/cdn/components/checkbox/checkbox.d.ts +42 -0
- package/cdn/components/checkbox/checkbox.js +1 -0
- package/cdn/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/cdn/components/checkbox-group/checkbox-group.js +1 -0
- package/cdn/components/combobox/combobox.d.ts +129 -0
- package/cdn/components/combobox/combobox.js +1 -0
- package/cdn/components/combobox/option-renderer.js +1 -0
- package/cdn/components/combobox/utils.js +1 -0
- package/cdn/components/dialog/dialog.d.ts +33 -0
- package/cdn/components/dialog/dialog.js +1 -0
- package/cdn/components/divider/divider.d.ts +13 -0
- package/cdn/components/divider/divider.js +1 -0
- package/cdn/components/drawer/drawer.d.ts +36 -0
- package/cdn/components/drawer/drawer.js +1 -0
- package/cdn/components/dropdown/dropdown.d.ts +51 -0
- package/cdn/components/dropdown/dropdown.js +1 -0
- package/cdn/components/expandable/expandable.d.ts +23 -0
- package/cdn/components/expandable/expandable.js +1 -0
- package/cdn/components/flipcard/flipcard.d.ts +23 -0
- package/cdn/components/flipcard/flipcard.js +1 -0
- package/cdn/components/header/header.d.ts +23 -0
- package/cdn/components/header/header.js +1 -0
- package/cdn/components/icon/icon.js +1 -0
- package/cdn/components/icon/library.default.js +1 -0
- package/cdn/components/icon/library.js +1 -0
- package/cdn/components/icon/library.system.d.ts +27 -0
- package/cdn/components/icon/library.system.js +1 -0
- package/cdn/components/icon/request.js +1 -0
- package/cdn/components/include/include.js +1 -0
- package/cdn/components/include/request.js +1 -0
- package/cdn/components/input/input.d.ts +86 -0
- package/cdn/components/input/input.js +1 -0
- package/cdn/components/link/link.d.ts +22 -0
- package/cdn/components/link/link.js +1 -0
- package/cdn/components/map-marker/map-marker.d.ts +23 -0
- package/cdn/components/map-marker/map-marker.js +1 -0
- package/cdn/components/navigation-item/navigation-item.d.ts +34 -0
- package/cdn/components/navigation-item/navigation-item.js +1 -0
- package/cdn/components/notification/notification.d.ts +32 -0
- package/cdn/components/notification/notification.js +1 -0
- package/cdn/components/optgroup/optgroup.d.ts +19 -0
- package/cdn/components/optgroup/optgroup.js +1 -0
- package/cdn/components/option/option.d.ts +29 -0
- package/cdn/components/option/option.js +1 -0
- package/cdn/components/popup/popup.d.ts +45 -0
- package/cdn/components/popup/popup.js +1 -0
- package/cdn/components/quickfact/quickfact.d.ts +12 -0
- package/cdn/components/quickfact/quickfact.js +1 -0
- package/cdn/components/radio/radio.d.ts +27 -0
- package/cdn/components/radio/radio.js +1 -0
- package/cdn/components/radio-button/radio-button.d.ts +25 -0
- package/cdn/components/radio-button/radio-button.js +1 -0
- package/cdn/components/radio-group/radio-group.d.ts +53 -0
- package/cdn/components/radio-group/radio-group.js +1 -0
- package/cdn/components/scrollable/scrollable.d.ts +31 -0
- package/cdn/components/scrollable/scrollable.js +1 -0
- package/cdn/components/select/select.d.ts +108 -0
- package/cdn/components/select/select.js +1 -0
- package/cdn/components/spinner/spinner.d.ts +13 -0
- package/cdn/components/spinner/spinner.js +1 -0
- package/cdn/components/step/step.d.ts +27 -0
- package/cdn/components/step/step.js +1 -0
- package/cdn/components/step-group/step-group.d.ts +22 -0
- package/cdn/components/step-group/step-group.js +1 -0
- package/cdn/components/switch/switch.d.ts +39 -0
- package/cdn/components/switch/switch.js +1 -0
- package/cdn/components/tab/tab.d.ts +22 -0
- package/cdn/components/tab/tab.js +1 -0
- package/cdn/components/tab-group/tab-group.d.ts +37 -0
- package/cdn/components/tab-group/tab-group.js +1 -0
- package/cdn/components/tab-panel/tab-panel.d.ts +16 -0
- package/cdn/components/tab-panel/tab-panel.js +1 -0
- package/cdn/components/tag/tag.d.ts +26 -0
- package/cdn/components/tag/tag.js +1 -0
- package/cdn/components/teaser/teaser.d.ts +17 -0
- package/cdn/components/teaser/teaser.js +1 -0
- package/cdn/components/teaser-media/teaser-media.d.ts +8 -0
- package/cdn/components/teaser-media/teaser-media.js +1 -0
- package/cdn/components/textarea/textarea.d.ts +71 -0
- package/cdn/components/textarea/textarea.js +1 -0
- package/cdn/components/tooltip/tooltip.d.ts +41 -0
- package/cdn/components/tooltip/tooltip.js +1 -0
- package/cdn/components/video/video.d.ts +26 -0
- package/cdn/components/video/video.js +1 -0
- package/cdn/custom-elements.json +16650 -0
- package/cdn/internal/animate.d.ts +10 -0
- package/cdn/internal/animate.js +43 -0
- package/cdn/internal/debounce.js +12 -0
- package/cdn/internal/default-value.js +18 -0
- package/cdn/internal/drag.d.ts +7 -0
- package/cdn/internal/drag.js +25 -0
- package/cdn/internal/event.js +11 -0
- package/cdn/internal/form.js +286 -0
- package/cdn/internal/longpress.d.ts +23 -0
- package/cdn/internal/longpress.js +68 -0
- package/cdn/internal/math.js +10 -0
- package/cdn/internal/modal.js +49 -0
- package/cdn/internal/offset.js +6 -0
- package/cdn/internal/register-custom-element.d.ts +19 -0
- package/cdn/internal/register-custom-element.js +25 -0
- package/cdn/internal/scroll.js +46 -0
- package/cdn/internal/slot.js +70 -0
- package/cdn/internal/solid-element.d.ts +29 -0
- package/cdn/internal/solid-element.js +55 -0
- package/cdn/internal/string.js +3 -0
- package/cdn/internal/tabbable.js +47 -0
- package/cdn/internal/test/data-testid-helpers.d.ts +1 -0
- package/cdn/internal/test/data-testid-helpers.js +3 -0
- package/cdn/internal/test/element-visible-overflow.d.ts +1 -0
- package/cdn/internal/test/element-visible-overflow.js +8 -0
- package/cdn/internal/test/wait-for-scrolling.d.ts +1 -0
- package/cdn/internal/test/wait-for-scrolling.js +26 -0
- package/cdn/internal/test.d.ts +2 -0
- package/cdn/internal/test.js +40 -0
- package/cdn/internal/watch.js +25 -0
- package/cdn/solid-components.bundle.js +301 -0
- package/cdn/solid-components.css +42 -0
- package/cdn/solid-components.d.ts +51 -0
- package/cdn/solid-components.iife.js +301 -0
- package/cdn/solid-components.js +1 -0
- package/cdn/translations/de.js +1 -0
- package/cdn/translations/en.js +1 -0
- package/cdn/utilities/animation-registry.js +1 -0
- package/cdn/utilities/animation.d.ts +1 -0
- package/cdn/utilities/animation.js +1 -0
- package/cdn/utilities/autocomplete-config.js +1 -0
- package/cdn/utilities/base-path.d.ts +2 -0
- package/cdn/utilities/base-path.js +1 -0
- package/cdn/utilities/form.d.ts +2 -0
- package/cdn/utilities/form.js +1 -0
- package/cdn/utilities/icon-library.d.ts +1 -0
- package/cdn/utilities/icon-library.js +1 -0
- package/cdn/utilities/localize.js +1 -0
- package/cdn/vscode.html-custom-data.json +2884 -0
- package/cdn/web-types.json +6568 -0
- package/cdn-versioned/_components/menu/menu.d.ts +24 -0
- package/cdn-versioned/_components/menu/menu.js +117 -0
- package/cdn-versioned/_components/menu/menu.styles.js +17 -0
- package/cdn-versioned/_components/menu-item/menu-item.d.ts +23 -0
- package/cdn-versioned/_components/menu-item/menu-item.js +123 -0
- package/cdn-versioned/_components/menu-item/menu-item.styles.js +97 -0
- package/cdn-versioned/chunks/chunk.24SF73MY.js +17 -0
- package/cdn-versioned/chunks/chunk.26YUWEYR.js +1 -0
- package/cdn-versioned/chunks/chunk.2UHPWLJE.js +1 -0
- package/cdn-versioned/chunks/chunk.36Z2VDHI.js +1 -0
- package/cdn-versioned/chunks/chunk.3L472FD4.js +1 -0
- package/cdn-versioned/chunks/chunk.4W3WLVGR.js +10 -0
- package/cdn-versioned/chunks/chunk.5BROLR6V.js +11 -0
- package/cdn-versioned/chunks/chunk.5CK64GWQ.js +17 -0
- package/cdn-versioned/chunks/chunk.5YRTJVAZ.js +1 -0
- package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +1 -0
- package/cdn-versioned/chunks/chunk.5ZILM4TA.js +11 -0
- package/cdn-versioned/chunks/chunk.64UNKF45.js +1 -0
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -0
- package/cdn-versioned/chunks/chunk.6HO6CE4A.js +1 -0
- package/cdn-versioned/chunks/chunk.6JBTCFHE.js +4 -0
- package/cdn-versioned/chunks/chunk.7M7VCE7R.js +1 -0
- package/cdn-versioned/chunks/chunk.7RJ3O2FV.js +1 -0
- package/cdn-versioned/chunks/chunk.A3DKF5BY.js +1 -0
- package/cdn-versioned/chunks/chunk.APMDRZQD.js +73 -0
- package/cdn-versioned/chunks/chunk.BTRVMAGL.js +1 -0
- package/cdn-versioned/chunks/chunk.CBQWVOOS.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -0
- package/cdn-versioned/chunks/chunk.CJDJTJIA.js +1 -0
- package/cdn-versioned/chunks/chunk.CZ3W7KBI.js +1 -0
- package/cdn-versioned/chunks/chunk.D7TMPF3D.js +1 -0
- package/cdn-versioned/chunks/chunk.DCOFYPWX.js +1 -0
- package/cdn-versioned/chunks/chunk.DVHKKAVM.js +1 -0
- package/cdn-versioned/chunks/chunk.E2DRD2OX.js +1 -0
- package/cdn-versioned/chunks/chunk.E7HNNYP6.js +1 -0
- package/cdn-versioned/chunks/chunk.EFLL7VXU.js +65 -0
- package/cdn-versioned/chunks/chunk.EUGX6XW6.js +1 -0
- package/cdn-versioned/chunks/chunk.EWWGLHC5.js +1 -0
- package/cdn-versioned/chunks/chunk.FD54463O.js +1 -0
- package/cdn-versioned/chunks/chunk.FFNTXFC3.js +1 -0
- package/cdn-versioned/chunks/chunk.FREYGZDJ.js +1 -0
- package/cdn-versioned/chunks/chunk.FX3ED655.js +1 -0
- package/cdn-versioned/chunks/chunk.GOVNZSCO.js +1 -0
- package/cdn-versioned/chunks/chunk.GQSLHWQC.js +1 -0
- package/cdn-versioned/chunks/chunk.GUOHZTA7.js +1 -0
- package/cdn-versioned/chunks/chunk.HAL7R4WT.js +0 -0
- package/cdn-versioned/chunks/chunk.HE2LNCWW.js +10 -0
- package/cdn-versioned/chunks/chunk.HJGLYEWV.js +1 -0
- package/cdn-versioned/chunks/chunk.IRWHG2Q4.js +40 -0
- package/cdn-versioned/chunks/chunk.ISEQUO4U.js +1 -0
- package/cdn-versioned/chunks/chunk.IVXFAQNG.js +11 -0
- package/cdn-versioned/chunks/chunk.IZKUI5WK.js +1 -0
- package/cdn-versioned/chunks/chunk.K7HF3VBZ.js +1 -0
- package/cdn-versioned/chunks/chunk.KFW32Q4Q.js +1 -0
- package/cdn-versioned/chunks/chunk.KLRPP4NQ.js +1 -0
- package/cdn-versioned/chunks/chunk.KMLMMBY4.js +1 -0
- package/cdn-versioned/chunks/chunk.LI5H3QYB.js +1 -0
- package/cdn-versioned/chunks/chunk.LLXTYJXF.js +1 -0
- package/cdn-versioned/chunks/chunk.LZEFLOSA.js +1 -0
- package/cdn-versioned/chunks/chunk.MHWW3RZB.js +1 -0
- package/cdn-versioned/chunks/chunk.MMRILMYU.js +1 -0
- package/cdn-versioned/chunks/chunk.MPP7HYX7.js +1 -0
- package/cdn-versioned/chunks/chunk.MWDEA25W.js +1 -0
- package/cdn-versioned/chunks/chunk.ND7BT52X.js +1 -0
- package/cdn-versioned/chunks/chunk.NUB5WHGD.js +1 -0
- package/cdn-versioned/chunks/chunk.OVV7TNT2.js +1 -0
- package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +1 -0
- package/cdn-versioned/chunks/chunk.QNZWJACC.js +19 -0
- package/cdn-versioned/chunks/chunk.R354E6ZD.js +3 -0
- package/cdn-versioned/chunks/chunk.RQYP7MH5.js +1 -0
- package/cdn-versioned/chunks/chunk.SNUMAAEG.js +1 -0
- package/cdn-versioned/chunks/chunk.SPDB3L7V.js +10 -0
- package/cdn-versioned/chunks/chunk.TA7CZCP3.js +1 -0
- package/cdn-versioned/chunks/chunk.TJ6RGDHH.js +1 -0
- package/cdn-versioned/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn-versioned/chunks/chunk.TWZDCIM2.js +1 -0
- package/cdn-versioned/chunks/chunk.UBFU6D5B.js +1 -0
- package/cdn-versioned/chunks/chunk.UH4KE6MR.js +0 -0
- package/cdn-versioned/chunks/chunk.URB2K7JQ.js +1 -0
- package/cdn-versioned/chunks/chunk.VNKUGTKM.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -0
- package/cdn-versioned/chunks/chunk.WENTMXB2.js +1 -0
- package/cdn-versioned/chunks/chunk.WGNXYONB.js +1 -0
- package/cdn-versioned/chunks/chunk.WMRFVNYU.js +25 -0
- package/cdn-versioned/chunks/chunk.WNP2V63C.js +1 -0
- package/cdn-versioned/chunks/chunk.WP6KSGSU.js +1 -0
- package/cdn-versioned/chunks/chunk.WQAPHFVM.js +1 -0
- package/cdn-versioned/chunks/chunk.X2GM34WQ.js +1 -0
- package/cdn-versioned/chunks/chunk.X2O263YD.js +1 -0
- package/cdn-versioned/chunks/chunk.XR2KNB36.js +4 -0
- package/cdn-versioned/chunks/chunk.YF5WEC4R.js +3 -0
- package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +1 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +24 -0
- package/cdn-versioned/components/accordion/accordion.js +1 -0
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +16 -0
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -0
- package/cdn-versioned/components/animation/animation.d.ts +39 -0
- package/cdn-versioned/components/animation/animation.js +1 -0
- package/cdn-versioned/components/animation/animations.d.ts +4 -0
- package/cdn-versioned/components/animation/animations.js +1 -0
- package/cdn-versioned/components/audio/audio.d.ts +55 -0
- package/cdn-versioned/components/audio/audio.js +1 -0
- package/cdn-versioned/components/audio/base64Audio.d.ts +2 -0
- package/cdn-versioned/components/audio/base64Audio.js +1 -0
- package/cdn-versioned/components/audio/wave.js +1 -0
- package/cdn-versioned/components/badge/badge.d.ts +13 -0
- package/cdn-versioned/components/badge/badge.js +1 -0
- package/cdn-versioned/components/brandshape/brandshape.d.ts +31 -0
- package/cdn-versioned/components/brandshape/brandshape.js +1 -0
- package/cdn-versioned/components/button/button.d.ts +52 -0
- package/cdn-versioned/components/button/button.js +1 -0
- package/cdn-versioned/components/button-group/button-group.d.ts +18 -0
- package/cdn-versioned/components/button-group/button-group.js +1 -0
- package/cdn-versioned/components/carousel/autoplay-controller.js +1 -0
- package/cdn-versioned/components/carousel/carousel.d.ts +56 -0
- package/cdn-versioned/components/carousel/carousel.js +1 -0
- package/cdn-versioned/components/carousel/scroll-controller.js +1 -0
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +12 -0
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -0
- package/cdn-versioned/components/checkbox/checkbox.d.ts +42 -0
- package/cdn-versioned/components/checkbox/checkbox.js +1 -0
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -0
- package/cdn-versioned/components/combobox/combobox.d.ts +129 -0
- package/cdn-versioned/components/combobox/combobox.js +1 -0
- package/cdn-versioned/components/combobox/option-renderer.js +1 -0
- package/cdn-versioned/components/combobox/utils.js +1 -0
- package/cdn-versioned/components/dialog/dialog.d.ts +33 -0
- package/cdn-versioned/components/dialog/dialog.js +1 -0
- package/cdn-versioned/components/divider/divider.d.ts +13 -0
- package/cdn-versioned/components/divider/divider.js +1 -0
- package/cdn-versioned/components/drawer/drawer.d.ts +36 -0
- package/cdn-versioned/components/drawer/drawer.js +1 -0
- package/cdn-versioned/components/dropdown/dropdown.d.ts +51 -0
- package/cdn-versioned/components/dropdown/dropdown.js +1 -0
- package/cdn-versioned/components/expandable/expandable.d.ts +23 -0
- package/cdn-versioned/components/expandable/expandable.js +1 -0
- package/cdn-versioned/components/flipcard/flipcard.d.ts +23 -0
- package/cdn-versioned/components/flipcard/flipcard.js +1 -0
- package/cdn-versioned/components/header/header.d.ts +23 -0
- package/cdn-versioned/components/header/header.js +1 -0
- package/cdn-versioned/components/icon/icon.d.ts +22 -0
- package/cdn-versioned/components/icon/icon.js +1 -0
- package/cdn-versioned/components/icon/library.default.js +1 -0
- package/cdn-versioned/components/icon/library.js +1 -0
- package/cdn-versioned/components/icon/library.system.d.ts +27 -0
- package/cdn-versioned/components/icon/library.system.js +1 -0
- package/cdn-versioned/components/icon/request.js +1 -0
- package/cdn-versioned/components/include/include.d.ts +15 -0
- package/cdn-versioned/components/include/include.js +1 -0
- package/cdn-versioned/components/include/request.js +1 -0
- package/cdn-versioned/components/input/input.d.ts +86 -0
- package/cdn-versioned/components/input/input.js +1 -0
- package/cdn-versioned/components/link/link.d.ts +22 -0
- package/cdn-versioned/components/link/link.js +1 -0
- package/cdn-versioned/components/map-marker/map-marker.d.ts +23 -0
- package/cdn-versioned/components/map-marker/map-marker.js +1 -0
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +34 -0
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -0
- package/cdn-versioned/components/notification/notification.d.ts +32 -0
- package/cdn-versioned/components/notification/notification.js +1 -0
- package/cdn-versioned/components/optgroup/optgroup.d.ts +19 -0
- package/cdn-versioned/components/optgroup/optgroup.js +1 -0
- package/cdn-versioned/components/option/option.d.ts +29 -0
- package/cdn-versioned/components/option/option.js +1 -0
- package/cdn-versioned/components/popup/popup.d.ts +45 -0
- package/cdn-versioned/components/popup/popup.js +1 -0
- package/cdn-versioned/components/quickfact/quickfact.d.ts +12 -0
- package/cdn-versioned/components/quickfact/quickfact.js +1 -0
- package/cdn-versioned/components/radio/radio.d.ts +27 -0
- package/cdn-versioned/components/radio/radio.js +1 -0
- package/cdn-versioned/components/radio-button/radio-button.d.ts +25 -0
- package/cdn-versioned/components/radio-button/radio-button.js +1 -0
- package/cdn-versioned/components/radio-group/radio-group.d.ts +53 -0
- package/cdn-versioned/components/radio-group/radio-group.js +1 -0
- package/cdn-versioned/components/scrollable/scrollable.d.ts +31 -0
- package/cdn-versioned/components/scrollable/scrollable.js +1 -0
- package/cdn-versioned/components/select/select.d.ts +108 -0
- package/cdn-versioned/components/select/select.js +1 -0
- package/cdn-versioned/components/spinner/spinner.d.ts +13 -0
- package/cdn-versioned/components/spinner/spinner.js +1 -0
- package/cdn-versioned/components/step/step.d.ts +27 -0
- package/cdn-versioned/components/step/step.js +1 -0
- package/cdn-versioned/components/step-group/step-group.d.ts +22 -0
- package/cdn-versioned/components/step-group/step-group.js +1 -0
- package/cdn-versioned/components/switch/switch.d.ts +39 -0
- package/cdn-versioned/components/switch/switch.js +1 -0
- package/cdn-versioned/components/tab/tab.d.ts +22 -0
- package/cdn-versioned/components/tab/tab.js +1 -0
- package/cdn-versioned/components/tab-group/tab-group.d.ts +37 -0
- package/cdn-versioned/components/tab-group/tab-group.js +1 -0
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +16 -0
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -0
- package/cdn-versioned/components/tag/tag.d.ts +26 -0
- package/cdn-versioned/components/tag/tag.js +1 -0
- package/cdn-versioned/components/teaser/teaser.d.ts +17 -0
- package/cdn-versioned/components/teaser/teaser.js +1 -0
- package/cdn-versioned/components/teaser-media/teaser-media.d.ts +8 -0
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -0
- package/cdn-versioned/components/textarea/textarea.d.ts +71 -0
- package/cdn-versioned/components/textarea/textarea.js +1 -0
- package/cdn-versioned/components/tooltip/tooltip.d.ts +41 -0
- package/cdn-versioned/components/tooltip/tooltip.js +1 -0
- package/cdn-versioned/components/video/video.d.ts +26 -0
- package/cdn-versioned/components/video/video.js +1 -0
- package/cdn-versioned/custom-elements.json +16650 -0
- package/cdn-versioned/internal/animate.d.ts +10 -0
- package/cdn-versioned/internal/animate.js +43 -0
- package/cdn-versioned/internal/debounce.js +12 -0
- package/cdn-versioned/internal/default-value.js +18 -0
- package/cdn-versioned/internal/drag.d.ts +7 -0
- package/cdn-versioned/internal/drag.js +25 -0
- package/cdn-versioned/internal/event.js +11 -0
- package/cdn-versioned/internal/form.js +286 -0
- package/cdn-versioned/internal/longpress.d.ts +23 -0
- package/cdn-versioned/internal/longpress.js +68 -0
- package/cdn-versioned/internal/math.js +10 -0
- package/cdn-versioned/internal/modal.js +49 -0
- package/cdn-versioned/internal/offset.js +6 -0
- package/cdn-versioned/internal/register-custom-element.d.ts +19 -0
- package/cdn-versioned/internal/register-custom-element.js +25 -0
- package/cdn-versioned/internal/scroll.js +46 -0
- package/cdn-versioned/internal/slot.js +70 -0
- package/cdn-versioned/internal/solid-element.d.ts +29 -0
- package/cdn-versioned/internal/solid-element.js +55 -0
- package/cdn-versioned/internal/string.js +3 -0
- package/cdn-versioned/internal/tabbable.js +47 -0
- package/cdn-versioned/internal/test/data-testid-helpers.d.ts +1 -0
- package/cdn-versioned/internal/test/data-testid-helpers.js +3 -0
- package/cdn-versioned/internal/test/element-visible-overflow.d.ts +1 -0
- package/cdn-versioned/internal/test/element-visible-overflow.js +8 -0
- package/cdn-versioned/internal/test/wait-for-scrolling.d.ts +1 -0
- package/cdn-versioned/internal/test/wait-for-scrolling.js +26 -0
- package/cdn-versioned/internal/test.d.ts +2 -0
- package/cdn-versioned/internal/test.js +40 -0
- package/cdn-versioned/internal/watch.js +25 -0
- package/cdn-versioned/solid-components.bundle.js +301 -0
- package/cdn-versioned/solid-components.css +42 -0
- package/cdn-versioned/solid-components.d.ts +51 -0
- package/cdn-versioned/solid-components.iife.js +301 -0
- package/cdn-versioned/solid-components.js +1 -0
- package/cdn-versioned/translations/de.js +1 -0
- package/cdn-versioned/translations/en.js +1 -0
- package/cdn-versioned/utilities/animation-registry.js +1 -0
- package/cdn-versioned/utilities/animation.d.ts +1 -0
- package/cdn-versioned/utilities/animation.js +1 -0
- package/cdn-versioned/utilities/autocomplete-config.js +1 -0
- package/cdn-versioned/utilities/base-path.d.ts +2 -0
- package/cdn-versioned/utilities/base-path.js +1 -0
- package/cdn-versioned/utilities/form.d.ts +2 -0
- package/cdn-versioned/utilities/form.js +1 -0
- package/cdn-versioned/utilities/icon-library.d.ts +1 -0
- package/cdn-versioned/utilities/icon-library.js +1 -0
- package/cdn-versioned/utilities/localize.js +1 -0
- package/cdn-versioned/vscode.html-custom-data.json +2884 -0
- package/cdn-versioned/web-types.json +6568 -0
- package/dist/_components/menu/menu.d.ts +24 -0
- package/dist/_components/menu/menu.js +117 -0
- package/dist/_components/menu/menu.styles.d.ts +2 -0
- package/dist/_components/menu/menu.styles.js +17 -0
- package/dist/_components/menu-item/menu-item.d.ts +23 -0
- package/dist/_components/menu-item/menu-item.js +123 -0
- package/dist/_components/menu-item/menu-item.styles.d.ts +2 -0
- package/dist/_components/menu-item/menu-item.styles.js +97 -0
- package/dist/chunks/chunk.2IBVAXOX.js +176 -0
- package/dist/chunks/chunk.2LMWBUBT.js +142 -0
- package/dist/chunks/chunk.2S2CNWKY.js +50 -0
- package/dist/chunks/chunk.3IT4HBTI.js +134 -0
- package/dist/chunks/chunk.3LGDUVS4.js +139 -0
- package/dist/chunks/chunk.4QKRGAOL.js +299 -0
- package/dist/chunks/chunk.4WYIZLVF.js +68 -0
- package/dist/chunks/chunk.56SNEGI4.js +249 -0
- package/dist/chunks/chunk.65BWRJEA.js +101 -0
- package/dist/chunks/chunk.6CUAQSFA.js +56 -0
- package/dist/chunks/chunk.6DKXZWRN.js +69 -0
- package/dist/chunks/chunk.6JI7NL3E.js +65 -0
- package/dist/chunks/chunk.727ERQ4F.js +232 -0
- package/dist/chunks/chunk.7BEDTYS7.js +92 -0
- package/dist/chunks/chunk.7OHSCBBX.js +72 -0
- package/dist/chunks/chunk.7VPFFNHR.js +41 -0
- package/dist/chunks/chunk.B4BZKR24.js +16 -0
- package/dist/chunks/chunk.BVC5FY4L.js +330 -0
- package/dist/chunks/chunk.BXB5WF23.js +194 -0
- package/dist/chunks/chunk.D6JZ4IKM.js +49 -0
- package/dist/chunks/chunk.DAM3ICHP.js +164 -0
- package/dist/chunks/chunk.DQPVSTUQ.js +177 -0
- package/dist/chunks/chunk.EFEBQQHC.js +979 -0
- package/dist/chunks/chunk.EY4JPJJQ.js +57 -0
- package/dist/chunks/chunk.F4VGSDIW.js +59 -0
- package/dist/chunks/chunk.GI7VDIWX.js +24 -0
- package/dist/chunks/chunk.H655M7FD.js +145 -0
- package/dist/chunks/chunk.HAL7R4WT.js +0 -0
- package/dist/chunks/chunk.HPR3PWAE.js +204 -0
- package/dist/chunks/chunk.I3PY3VYP.js +789 -0
- package/dist/chunks/chunk.IN3GJ5QL.js +58 -0
- package/dist/chunks/chunk.J2XBUIBC.js +116 -0
- package/dist/chunks/chunk.J7MMF6WJ.js +130 -0
- package/dist/chunks/chunk.JCK5DTZN.js +43 -0
- package/dist/chunks/chunk.JIKTGTDS.js +49 -0
- package/dist/chunks/chunk.KJFKVSZA.js +106 -0
- package/dist/chunks/chunk.KVKRZJS7.js +311 -0
- package/dist/chunks/chunk.MNYQWRJE.js +50 -0
- package/dist/chunks/chunk.MTSAWJLV.js +117 -0
- package/dist/chunks/chunk.N4LHE3QK.js +46 -0
- package/dist/chunks/chunk.NM6QP6RJ.js +114 -0
- package/dist/chunks/chunk.NOWCQZBS.js +17 -0
- package/dist/chunks/chunk.P52GZVKG.js +29 -0
- package/dist/chunks/chunk.PDRECIYA.js +76 -0
- package/dist/chunks/chunk.PGZ5AWZ2.js +356 -0
- package/dist/chunks/chunk.PIR4YJUS.js +124 -0
- package/dist/chunks/chunk.POFWU6ZT.js +90 -0
- package/dist/chunks/chunk.QAZYUCBK.js +355 -0
- package/dist/chunks/chunk.QCICV36Z.js +475 -0
- package/dist/chunks/chunk.QP3SM2LZ.js +507 -0
- package/dist/chunks/chunk.R4BETATX.js +96 -0
- package/dist/chunks/chunk.RNSJAVQE.js +33 -0
- package/dist/chunks/chunk.RPB53XXV.js +20 -0
- package/dist/chunks/chunk.RZRTIYXA.js +57 -0
- package/dist/chunks/chunk.S3NI7NKU.js +34 -0
- package/dist/chunks/chunk.SPBPHTSS.js +131 -0
- package/dist/chunks/chunk.SSH6ATRK.js +143 -0
- package/dist/chunks/chunk.TJOP7HQP.js +14 -0
- package/dist/chunks/chunk.U5NFPAOX.js +107 -0
- package/dist/chunks/chunk.U6RY25TF.js +311 -0
- package/dist/chunks/chunk.UC5E3AEF.js +216 -0
- package/dist/chunks/chunk.UDZYWRPT.js +65 -0
- package/dist/chunks/chunk.UIQBHPD3.js +16 -0
- package/dist/chunks/chunk.V7TQ6VJU.js +331 -0
- package/dist/chunks/chunk.VBQLCQSN.js +57 -0
- package/dist/chunks/chunk.VHGHICFG.js +322 -0
- package/dist/chunks/chunk.WBJBQ4QI.js +24 -0
- package/dist/chunks/chunk.WDWV53JP.js +58 -0
- package/dist/chunks/chunk.WWS3CQ2Z.js +167 -0
- package/dist/chunks/chunk.X2OQMWGY.js +33 -0
- package/dist/chunks/chunk.XHCTCU2Q.js +53 -0
- package/dist/chunks/chunk.XS4QJO4N.js +105 -0
- package/dist/chunks/chunk.XVFJS7VS.js +247 -0
- package/dist/chunks/chunk.YEZS5ZR2.js +49 -0
- package/dist/chunks/chunk.YKM42GKF.js +57 -0
- package/dist/chunks/chunk.Z2UY62T2.js +98 -0
- package/dist/chunks/chunk.ZGPGFEVP.js +221 -0
- package/dist/chunks/chunk.ZWJI7SLE.js +76 -0
- package/dist/components/accordion/accordion.d.ts +24 -0
- package/dist/components/accordion/accordion.js +21 -0
- package/dist/components/accordion-group/accordion-group.d.ts +16 -0
- package/dist/components/accordion-group/accordion-group.js +22 -0
- package/dist/components/animation/animation.d.ts +39 -0
- package/dist/components/animation/animation.js +10 -0
- package/dist/components/animation/animations.d.ts +4 -0
- package/dist/components/animation/animations.js +11 -0
- package/dist/components/audio/audio.d.ts +55 -0
- package/dist/components/audio/audio.js +13 -0
- package/dist/components/audio/base64Audio.d.ts +2 -0
- package/dist/components/audio/base64Audio.js +8 -0
- package/dist/components/audio/wave.d.ts +38 -0
- package/dist/components/audio/wave.js +7 -0
- package/dist/components/badge/badge.d.ts +13 -0
- package/dist/components/badge/badge.js +8 -0
- package/dist/components/brandshape/brandshape.d.ts +31 -0
- package/dist/components/brandshape/brandshape.js +8 -0
- package/dist/components/button/button.d.ts +52 -0
- package/dist/components/button/button.js +15 -0
- package/dist/components/button-group/button-group.d.ts +18 -0
- package/dist/components/button-group/button-group.js +8 -0
- package/dist/components/carousel/autoplay-controller.d.ts +16 -0
- package/dist/components/carousel/autoplay-controller.js +7 -0
- package/dist/components/carousel/carousel.d.ts +56 -0
- package/dist/components/carousel/carousel.js +24 -0
- package/dist/components/carousel/scroll-controller.d.ts +25 -0
- package/dist/components/carousel/scroll-controller.js +10 -0
- package/dist/components/carousel-item/carousel-item.d.ts +12 -0
- package/dist/components/carousel-item/carousel-item.js +8 -0
- package/dist/components/checkbox/checkbox.d.ts +42 -0
- package/dist/components/checkbox/checkbox.js +17 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/dist/components/checkbox-group/checkbox-group.js +16 -0
- package/dist/components/combobox/combobox.d.ts +129 -0
- package/dist/components/combobox/combobox.js +29 -0
- package/dist/components/combobox/option-renderer.d.ts +5 -0
- package/dist/components/combobox/option-renderer.js +9 -0
- package/dist/components/combobox/utils.d.ts +8 -0
- package/dist/components/combobox/utils.js +17 -0
- package/dist/components/dialog/dialog.d.ts +33 -0
- package/dist/components/dialog/dialog.js +28 -0
- package/dist/components/divider/divider.d.ts +13 -0
- package/dist/components/divider/divider.js +8 -0
- package/dist/components/drawer/drawer.d.ts +36 -0
- package/dist/components/drawer/drawer.js +28 -0
- package/dist/components/dropdown/dropdown.d.ts +51 -0
- package/dist/components/dropdown/dropdown.js +18 -0
- package/dist/components/expandable/expandable.d.ts +23 -0
- package/dist/components/expandable/expandable.js +13 -0
- package/dist/components/flipcard/flipcard.d.ts +23 -0
- package/dist/components/flipcard/flipcard.js +22 -0
- package/dist/components/header/header.d.ts +23 -0
- package/dist/components/header/header.js +9 -0
- package/dist/components/icon/icon.d.ts +22 -0
- package/dist/components/icon/icon.js +14 -0
- package/dist/components/icon/library.d.ts +16 -0
- package/dist/components/icon/library.default.d.ts +3 -0
- package/dist/components/icon/library.default.js +7 -0
- package/dist/components/icon/library.js +17 -0
- package/dist/components/icon/library.system.d.ts +27 -0
- package/dist/components/icon/library.system.js +9 -0
- package/dist/components/icon/request.d.ts +11 -0
- package/dist/components/icon/request.js +8 -0
- package/dist/components/include/include.d.ts +15 -0
- package/dist/components/include/include.js +10 -0
- package/dist/components/include/request.d.ts +7 -0
- package/dist/components/include/request.js +7 -0
- package/dist/components/input/input.d.ts +86 -0
- package/dist/components/input/input.js +21 -0
- package/dist/components/link/link.d.ts +22 -0
- package/dist/components/link/link.js +9 -0
- package/dist/components/map-marker/map-marker.d.ts +23 -0
- package/dist/components/map-marker/map-marker.js +8 -0
- package/dist/components/navigation-item/navigation-item.d.ts +34 -0
- package/dist/components/navigation-item/navigation-item.js +9 -0
- package/dist/components/notification/notification.d.ts +32 -0
- package/dist/components/notification/notification.js +15 -0
- package/dist/components/optgroup/optgroup.d.ts +19 -0
- package/dist/components/optgroup/optgroup.js +10 -0
- package/dist/components/option/option.d.ts +29 -0
- package/dist/components/option/option.js +16 -0
- package/dist/components/popup/popup.d.ts +45 -0
- package/dist/components/popup/popup.js +8 -0
- package/dist/components/quickfact/quickfact.d.ts +12 -0
- package/dist/components/quickfact/quickfact.js +22 -0
- package/dist/components/radio/radio.d.ts +27 -0
- package/dist/components/radio/radio.js +15 -0
- package/dist/components/radio-button/radio-button.d.ts +25 -0
- package/dist/components/radio-button/radio-button.js +10 -0
- package/dist/components/radio-group/radio-group.d.ts +53 -0
- package/dist/components/radio-group/radio-group.js +19 -0
- package/dist/components/scrollable/scrollable.d.ts +31 -0
- package/dist/components/scrollable/scrollable.js +11 -0
- package/dist/components/select/select.d.ts +108 -0
- package/dist/components/select/select.js +27 -0
- package/dist/components/spinner/spinner.d.ts +13 -0
- package/dist/components/spinner/spinner.js +11 -0
- package/dist/components/step/step.d.ts +27 -0
- package/dist/components/step/step.js +9 -0
- package/dist/components/step-group/step-group.d.ts +22 -0
- package/dist/components/step-group/step-group.js +9 -0
- package/dist/components/switch/switch.d.ts +39 -0
- package/dist/components/switch/switch.js +11 -0
- package/dist/components/tab/tab.d.ts +22 -0
- package/dist/components/tab/tab.js +9 -0
- package/dist/components/tab-group/tab-group.d.ts +37 -0
- package/dist/components/tab-group/tab-group.js +12 -0
- package/dist/components/tab-panel/tab-panel.d.ts +16 -0
- package/dist/components/tab-panel/tab-panel.js +9 -0
- package/dist/components/tag/tag.d.ts +26 -0
- package/dist/components/tag/tag.js +8 -0
- package/dist/components/teaser/teaser.d.ts +17 -0
- package/dist/components/teaser/teaser.js +9 -0
- package/dist/components/teaser-media/teaser-media.d.ts +8 -0
- package/dist/components/teaser-media/teaser-media.js +9 -0
- package/dist/components/textarea/textarea.d.ts +71 -0
- package/dist/components/textarea/textarea.js +12 -0
- package/dist/components/tooltip/tooltip.d.ts +41 -0
- package/dist/components/tooltip/tooltip.js +16 -0
- package/dist/components/video/video.d.ts +26 -0
- package/dist/components/video/video.js +9 -0
- package/dist/custom-elements.json +16650 -1
- package/dist/internal/animate.d.ts +10 -0
- package/dist/internal/animate.js +43 -0
- package/dist/internal/debounce.d.ts +1 -0
- package/dist/internal/debounce.js +12 -0
- package/dist/internal/default-value.d.ts +2 -0
- package/dist/internal/default-value.js +18 -0
- package/dist/internal/drag.d.ts +7 -0
- package/dist/internal/drag.js +25 -0
- package/dist/internal/event.d.ts +1 -0
- package/dist/internal/event.js +11 -0
- package/dist/internal/form.d.ts +44 -0
- package/dist/internal/form.js +286 -0
- package/dist/internal/longpress.d.ts +23 -0
- package/dist/internal/longpress.js +68 -0
- package/dist/internal/math.d.ts +1 -0
- package/dist/internal/math.js +10 -0
- package/dist/internal/modal.d.ts +12 -0
- package/dist/internal/modal.js +49 -0
- package/dist/internal/offset.d.ts +4 -0
- package/dist/internal/offset.js +6 -0
- package/dist/internal/register-custom-element.d.ts +19 -0
- package/dist/internal/register-custom-element.js +25 -0
- package/dist/internal/scroll.d.ts +3 -0
- package/dist/internal/scroll.js +46 -0
- package/dist/internal/slot.d.ts +14 -0
- package/dist/internal/slot.js +70 -0
- package/dist/internal/solid-element.d.ts +29 -0
- package/dist/internal/solid-element.js +55 -0
- package/dist/internal/string.d.ts +1 -0
- package/dist/internal/string.js +3 -0
- package/dist/internal/tabbable.d.ts +4 -0
- package/dist/internal/tabbable.js +47 -0
- package/dist/internal/test/data-testid-helpers.d.ts +1 -0
- package/dist/internal/test/data-testid-helpers.js +3 -0
- package/dist/internal/test/element-visible-overflow.d.ts +1 -0
- package/dist/internal/test/element-visible-overflow.js +8 -0
- package/dist/internal/test/wait-for-scrolling.d.ts +1 -0
- package/dist/internal/test/wait-for-scrolling.js +26 -0
- package/dist/internal/test.d.ts +2 -0
- package/dist/internal/test.js +40 -0
- package/dist/internal/watch.d.ts +11 -0
- package/dist/internal/watch.js +25 -0
- package/dist/solid-components.css +42 -0
- package/dist/solid-components.d.ts +51 -0
- package/dist/solid-components.js +235 -0
- package/dist/translations/de.d.ts +3 -0
- package/dist/translations/de.js +7 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +7 -0
- package/dist/utilities/animation-registry.d.ts +14 -0
- package/dist/utilities/animation-registry.js +11 -0
- package/dist/utilities/animation.d.ts +1 -0
- package/dist/utilities/animation.js +9 -0
- package/dist/utilities/autocomplete-config.d.ts +13 -0
- package/dist/utilities/autocomplete-config.js +9 -0
- package/dist/utilities/base-path.d.ts +2 -0
- package/dist/utilities/base-path.js +28 -0
- package/dist/utilities/form.d.ts +2 -0
- package/dist/utilities/form.js +39 -0
- package/dist/utilities/icon-library.d.ts +1 -0
- package/dist/utilities/icon-library.js +12 -0
- package/dist/utilities/localize.d.ts +55 -0
- package/dist/utilities/localize.js +9 -0
- package/dist/vscode.html-custom-data.json +1227 -3972
- package/dist/web-types.json +4652 -14331
- package/dist-versioned/_components/menu/menu.d.ts +24 -0
- package/dist-versioned/_components/menu/menu.js +117 -0
- package/dist-versioned/_components/menu/menu.styles.d.ts +2 -0
- package/dist-versioned/_components/menu/menu.styles.js +17 -0
- package/dist-versioned/_components/menu-item/menu-item.d.ts +23 -0
- package/dist-versioned/_components/menu-item/menu-item.js +123 -0
- package/dist-versioned/_components/menu-item/menu-item.styles.d.ts +2 -0
- package/dist-versioned/_components/menu-item/menu-item.styles.js +97 -0
- package/dist-versioned/chunks/chunk.2IBVAXOX.js +176 -0
- package/dist-versioned/chunks/chunk.2LMWBUBT.js +142 -0
- package/dist-versioned/chunks/chunk.2S2CNWKY.js +50 -0
- package/dist-versioned/chunks/chunk.3IT4HBTI.js +134 -0
- package/dist-versioned/chunks/chunk.3LGDUVS4.js +139 -0
- package/dist-versioned/chunks/chunk.4QKRGAOL.js +299 -0
- package/dist-versioned/chunks/chunk.4WYIZLVF.js +68 -0
- package/dist-versioned/chunks/chunk.56SNEGI4.js +249 -0
- package/dist-versioned/chunks/chunk.65BWRJEA.js +101 -0
- package/dist-versioned/chunks/chunk.6CUAQSFA.js +56 -0
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +69 -0
- package/dist-versioned/chunks/chunk.6JI7NL3E.js +65 -0
- package/dist-versioned/chunks/chunk.727ERQ4F.js +232 -0
- package/dist-versioned/chunks/chunk.7BEDTYS7.js +92 -0
- package/dist-versioned/chunks/chunk.7OHSCBBX.js +72 -0
- package/dist-versioned/chunks/chunk.7VPFFNHR.js +41 -0
- package/dist-versioned/chunks/chunk.B4BZKR24.js +16 -0
- package/dist-versioned/chunks/chunk.BVC5FY4L.js +330 -0
- package/dist-versioned/chunks/chunk.BXB5WF23.js +194 -0
- package/dist-versioned/chunks/chunk.D6JZ4IKM.js +49 -0
- package/dist-versioned/chunks/chunk.DAM3ICHP.js +164 -0
- package/dist-versioned/chunks/chunk.DQPVSTUQ.js +177 -0
- package/dist-versioned/chunks/chunk.EFEBQQHC.js +979 -0
- package/dist-versioned/chunks/chunk.EY4JPJJQ.js +57 -0
- package/dist-versioned/chunks/chunk.F4VGSDIW.js +59 -0
- package/dist-versioned/chunks/chunk.GI7VDIWX.js +24 -0
- package/dist-versioned/chunks/chunk.H655M7FD.js +145 -0
- package/dist-versioned/chunks/chunk.HAL7R4WT.js +0 -0
- package/dist-versioned/chunks/chunk.HPR3PWAE.js +204 -0
- package/dist-versioned/chunks/chunk.I3PY3VYP.js +789 -0
- package/dist-versioned/chunks/chunk.IN3GJ5QL.js +58 -0
- package/dist-versioned/chunks/chunk.J2XBUIBC.js +116 -0
- package/dist-versioned/chunks/chunk.J7MMF6WJ.js +130 -0
- package/dist-versioned/chunks/chunk.JCK5DTZN.js +43 -0
- package/dist-versioned/chunks/chunk.JIKTGTDS.js +49 -0
- package/dist-versioned/chunks/chunk.KJFKVSZA.js +106 -0
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +311 -0
- package/dist-versioned/chunks/chunk.MNYQWRJE.js +50 -0
- package/dist-versioned/chunks/chunk.MTSAWJLV.js +117 -0
- package/dist-versioned/chunks/chunk.N4LHE3QK.js +46 -0
- package/dist-versioned/chunks/chunk.NM6QP6RJ.js +114 -0
- package/dist-versioned/chunks/chunk.NOWCQZBS.js +17 -0
- package/dist-versioned/chunks/chunk.P52GZVKG.js +29 -0
- package/dist-versioned/chunks/chunk.PDRECIYA.js +76 -0
- package/dist-versioned/chunks/chunk.PGZ5AWZ2.js +356 -0
- package/dist-versioned/chunks/chunk.PIR4YJUS.js +124 -0
- package/dist-versioned/chunks/chunk.POFWU6ZT.js +90 -0
- package/dist-versioned/chunks/chunk.QAZYUCBK.js +355 -0
- package/dist-versioned/chunks/chunk.QCICV36Z.js +475 -0
- package/dist-versioned/chunks/chunk.QP3SM2LZ.js +507 -0
- package/dist-versioned/chunks/chunk.R4BETATX.js +96 -0
- package/dist-versioned/chunks/chunk.RNSJAVQE.js +33 -0
- package/dist-versioned/chunks/chunk.RPB53XXV.js +20 -0
- package/dist-versioned/chunks/chunk.RZRTIYXA.js +57 -0
- package/dist-versioned/chunks/chunk.S3NI7NKU.js +34 -0
- package/dist-versioned/chunks/chunk.SPBPHTSS.js +131 -0
- package/dist-versioned/chunks/chunk.SSH6ATRK.js +143 -0
- package/dist-versioned/chunks/chunk.TJOP7HQP.js +14 -0
- package/dist-versioned/chunks/chunk.U5NFPAOX.js +107 -0
- package/dist-versioned/chunks/chunk.U6RY25TF.js +311 -0
- package/dist-versioned/chunks/chunk.UC5E3AEF.js +216 -0
- package/dist-versioned/chunks/chunk.UDZYWRPT.js +65 -0
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +16 -0
- package/dist-versioned/chunks/chunk.V7TQ6VJU.js +331 -0
- package/dist-versioned/chunks/chunk.VBQLCQSN.js +57 -0
- package/dist-versioned/chunks/chunk.VHGHICFG.js +322 -0
- package/dist-versioned/chunks/chunk.WBJBQ4QI.js +24 -0
- package/dist-versioned/chunks/chunk.WDWV53JP.js +58 -0
- package/dist-versioned/chunks/chunk.WWS3CQ2Z.js +167 -0
- package/dist-versioned/chunks/chunk.X2OQMWGY.js +33 -0
- package/dist-versioned/chunks/chunk.XHCTCU2Q.js +53 -0
- package/dist-versioned/chunks/chunk.XS4QJO4N.js +105 -0
- package/dist-versioned/chunks/chunk.XVFJS7VS.js +247 -0
- package/dist-versioned/chunks/chunk.YEZS5ZR2.js +49 -0
- package/dist-versioned/chunks/chunk.YKM42GKF.js +57 -0
- package/dist-versioned/chunks/chunk.Z2UY62T2.js +98 -0
- package/dist-versioned/chunks/chunk.ZGPGFEVP.js +221 -0
- package/dist-versioned/chunks/chunk.ZWJI7SLE.js +76 -0
- package/dist-versioned/components/accordion/accordion.d.ts +24 -0
- package/dist-versioned/components/accordion/accordion.js +21 -0
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +16 -0
- package/dist-versioned/components/accordion-group/accordion-group.js +22 -0
- package/dist-versioned/components/animation/animation.d.ts +39 -0
- package/dist-versioned/components/animation/animation.js +10 -0
- package/dist-versioned/components/animation/animations.d.ts +4 -0
- package/dist-versioned/components/animation/animations.js +11 -0
- package/dist-versioned/components/audio/audio.d.ts +55 -0
- package/dist-versioned/components/audio/audio.js +13 -0
- package/dist-versioned/components/audio/base64Audio.d.ts +2 -0
- package/dist-versioned/components/audio/base64Audio.js +8 -0
- package/dist-versioned/components/audio/wave.d.ts +38 -0
- package/dist-versioned/components/audio/wave.js +7 -0
- package/dist-versioned/components/badge/badge.d.ts +13 -0
- package/dist-versioned/components/badge/badge.js +8 -0
- package/dist-versioned/components/brandshape/brandshape.d.ts +31 -0
- package/dist-versioned/components/brandshape/brandshape.js +8 -0
- package/dist-versioned/components/button/button.d.ts +52 -0
- package/dist-versioned/components/button/button.js +15 -0
- package/dist-versioned/components/button-group/button-group.d.ts +18 -0
- package/dist-versioned/components/button-group/button-group.js +8 -0
- package/dist-versioned/components/carousel/autoplay-controller.d.ts +16 -0
- package/dist-versioned/components/carousel/autoplay-controller.js +7 -0
- package/dist-versioned/components/carousel/carousel.d.ts +56 -0
- package/dist-versioned/components/carousel/carousel.js +24 -0
- package/dist-versioned/components/carousel/scroll-controller.d.ts +25 -0
- package/dist-versioned/components/carousel/scroll-controller.js +10 -0
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +12 -0
- package/dist-versioned/components/carousel-item/carousel-item.js +8 -0
- package/dist-versioned/components/checkbox/checkbox.d.ts +42 -0
- package/dist-versioned/components/checkbox/checkbox.js +17 -0
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +20 -0
- package/dist-versioned/components/checkbox-group/checkbox-group.js +16 -0
- package/dist-versioned/components/combobox/combobox.d.ts +129 -0
- package/dist-versioned/components/combobox/combobox.js +29 -0
- package/dist-versioned/components/combobox/option-renderer.d.ts +5 -0
- package/dist-versioned/components/combobox/option-renderer.js +9 -0
- package/dist-versioned/components/combobox/utils.d.ts +8 -0
- package/dist-versioned/components/combobox/utils.js +17 -0
- package/dist-versioned/components/dialog/dialog.d.ts +33 -0
- package/dist-versioned/components/dialog/dialog.js +28 -0
- package/dist-versioned/components/divider/divider.d.ts +13 -0
- package/dist-versioned/components/divider/divider.js +8 -0
- package/dist-versioned/components/drawer/drawer.d.ts +36 -0
- package/dist-versioned/components/drawer/drawer.js +28 -0
- package/dist-versioned/components/dropdown/dropdown.d.ts +51 -0
- package/dist-versioned/components/dropdown/dropdown.js +18 -0
- package/dist-versioned/components/expandable/expandable.d.ts +23 -0
- package/dist-versioned/components/expandable/expandable.js +13 -0
- package/dist-versioned/components/flipcard/flipcard.d.ts +23 -0
- package/dist-versioned/components/flipcard/flipcard.js +22 -0
- package/dist-versioned/components/header/header.d.ts +23 -0
- package/dist-versioned/components/header/header.js +9 -0
- package/dist-versioned/components/icon/icon.d.ts +22 -0
- package/dist-versioned/components/icon/icon.js +14 -0
- package/dist-versioned/components/icon/library.d.ts +16 -0
- package/dist-versioned/components/icon/library.default.d.ts +3 -0
- package/dist-versioned/components/icon/library.default.js +7 -0
- package/dist-versioned/components/icon/library.js +17 -0
- package/dist-versioned/components/icon/library.system.d.ts +27 -0
- package/dist-versioned/components/icon/library.system.js +9 -0
- package/dist-versioned/components/icon/request.d.ts +11 -0
- package/dist-versioned/components/icon/request.js +8 -0
- package/dist-versioned/components/include/include.d.ts +15 -0
- package/dist-versioned/components/include/include.js +10 -0
- package/dist-versioned/components/include/request.d.ts +7 -0
- package/dist-versioned/components/include/request.js +7 -0
- package/dist-versioned/components/input/input.d.ts +86 -0
- package/dist-versioned/components/input/input.js +21 -0
- package/dist-versioned/components/link/link.d.ts +22 -0
- package/dist-versioned/components/link/link.js +9 -0
- package/dist-versioned/components/map-marker/map-marker.d.ts +23 -0
- package/dist-versioned/components/map-marker/map-marker.js +8 -0
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +34 -0
- package/dist-versioned/components/navigation-item/navigation-item.js +9 -0
- package/dist-versioned/components/notification/notification.d.ts +32 -0
- package/dist-versioned/components/notification/notification.js +15 -0
- package/dist-versioned/components/optgroup/optgroup.d.ts +19 -0
- package/dist-versioned/components/optgroup/optgroup.js +10 -0
- package/dist-versioned/components/option/option.d.ts +29 -0
- package/dist-versioned/components/option/option.js +16 -0
- package/dist-versioned/components/popup/popup.d.ts +45 -0
- package/dist-versioned/components/popup/popup.js +8 -0
- package/dist-versioned/components/quickfact/quickfact.d.ts +12 -0
- package/dist-versioned/components/quickfact/quickfact.js +22 -0
- package/dist-versioned/components/radio/radio.d.ts +27 -0
- package/dist-versioned/components/radio/radio.js +15 -0
- package/dist-versioned/components/radio-button/radio-button.d.ts +25 -0
- package/dist-versioned/components/radio-button/radio-button.js +10 -0
- package/dist-versioned/components/radio-group/radio-group.d.ts +53 -0
- package/dist-versioned/components/radio-group/radio-group.js +19 -0
- package/dist-versioned/components/scrollable/scrollable.d.ts +31 -0
- package/dist-versioned/components/scrollable/scrollable.js +11 -0
- package/dist-versioned/components/select/select.d.ts +108 -0
- package/dist-versioned/components/select/select.js +27 -0
- package/dist-versioned/components/spinner/spinner.d.ts +13 -0
- package/dist-versioned/components/spinner/spinner.js +11 -0
- package/dist-versioned/components/step/step.d.ts +27 -0
- package/dist-versioned/components/step/step.js +9 -0
- package/dist-versioned/components/step-group/step-group.d.ts +22 -0
- package/dist-versioned/components/step-group/step-group.js +9 -0
- package/dist-versioned/components/switch/switch.d.ts +39 -0
- package/dist-versioned/components/switch/switch.js +11 -0
- package/dist-versioned/components/tab/tab.d.ts +22 -0
- package/dist-versioned/components/tab/tab.js +9 -0
- package/dist-versioned/components/tab-group/tab-group.d.ts +37 -0
- package/dist-versioned/components/tab-group/tab-group.js +12 -0
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +16 -0
- package/dist-versioned/components/tab-panel/tab-panel.js +9 -0
- package/dist-versioned/components/tag/tag.d.ts +26 -0
- package/dist-versioned/components/tag/tag.js +8 -0
- package/dist-versioned/components/teaser/teaser.d.ts +17 -0
- package/dist-versioned/components/teaser/teaser.js +9 -0
- package/dist-versioned/components/teaser-media/teaser-media.d.ts +8 -0
- package/dist-versioned/components/teaser-media/teaser-media.js +9 -0
- package/dist-versioned/components/textarea/textarea.d.ts +71 -0
- package/dist-versioned/components/textarea/textarea.js +12 -0
- package/dist-versioned/components/tooltip/tooltip.d.ts +41 -0
- package/dist-versioned/components/tooltip/tooltip.js +16 -0
- package/dist-versioned/components/video/video.d.ts +26 -0
- package/dist-versioned/components/video/video.js +9 -0
- package/dist-versioned/custom-elements.json +16650 -0
- package/dist-versioned/internal/animate.d.ts +10 -0
- package/dist-versioned/internal/animate.js +43 -0
- package/dist-versioned/internal/debounce.d.ts +1 -0
- package/dist-versioned/internal/debounce.js +12 -0
- package/dist-versioned/internal/default-value.d.ts +2 -0
- package/dist-versioned/internal/default-value.js +18 -0
- package/dist-versioned/internal/drag.d.ts +7 -0
- package/dist-versioned/internal/drag.js +25 -0
- package/dist-versioned/internal/event.d.ts +1 -0
- package/dist-versioned/internal/event.js +11 -0
- package/dist-versioned/internal/form.d.ts +44 -0
- package/dist-versioned/internal/form.js +286 -0
- package/dist-versioned/internal/longpress.d.ts +23 -0
- package/dist-versioned/internal/longpress.js +68 -0
- package/dist-versioned/internal/math.d.ts +1 -0
- package/dist-versioned/internal/math.js +10 -0
- package/dist-versioned/internal/modal.d.ts +12 -0
- package/dist-versioned/internal/modal.js +49 -0
- package/dist-versioned/internal/offset.d.ts +4 -0
- package/dist-versioned/internal/offset.js +6 -0
- package/dist-versioned/internal/register-custom-element.d.ts +19 -0
- package/dist-versioned/internal/register-custom-element.js +25 -0
- package/dist-versioned/internal/scroll.d.ts +3 -0
- package/dist-versioned/internal/scroll.js +46 -0
- package/dist-versioned/internal/slot.d.ts +14 -0
- package/dist-versioned/internal/slot.js +70 -0
- package/dist-versioned/internal/solid-element.d.ts +29 -0
- package/dist-versioned/internal/solid-element.js +55 -0
- package/dist-versioned/internal/string.d.ts +1 -0
- package/dist-versioned/internal/string.js +3 -0
- package/dist-versioned/internal/tabbable.d.ts +4 -0
- package/dist-versioned/internal/tabbable.js +47 -0
- package/dist-versioned/internal/test/data-testid-helpers.d.ts +1 -0
- package/dist-versioned/internal/test/data-testid-helpers.js +3 -0
- package/dist-versioned/internal/test/element-visible-overflow.d.ts +1 -0
- package/dist-versioned/internal/test/element-visible-overflow.js +8 -0
- package/dist-versioned/internal/test/wait-for-scrolling.d.ts +1 -0
- package/dist-versioned/internal/test/wait-for-scrolling.js +26 -0
- package/dist-versioned/internal/test.d.ts +2 -0
- package/dist-versioned/internal/test.js +40 -0
- package/dist-versioned/internal/watch.d.ts +11 -0
- package/dist-versioned/internal/watch.js +25 -0
- package/dist-versioned/solid-components.css +42 -0
- package/dist-versioned/solid-components.d.ts +51 -0
- package/dist-versioned/solid-components.js +235 -0
- package/dist-versioned/translations/de.d.ts +3 -0
- package/dist-versioned/translations/de.js +7 -0
- package/dist-versioned/translations/en.d.ts +3 -0
- package/dist-versioned/translations/en.js +7 -0
- package/dist-versioned/utilities/animation-registry.d.ts +14 -0
- package/dist-versioned/utilities/animation-registry.js +11 -0
- package/dist-versioned/utilities/animation.d.ts +1 -0
- package/dist-versioned/utilities/animation.js +9 -0
- package/dist-versioned/utilities/autocomplete-config.d.ts +13 -0
- package/dist-versioned/utilities/autocomplete-config.js +9 -0
- package/dist-versioned/utilities/base-path.d.ts +2 -0
- package/dist-versioned/utilities/base-path.js +28 -0
- package/dist-versioned/utilities/form.d.ts +2 -0
- package/dist-versioned/utilities/form.js +39 -0
- package/dist-versioned/utilities/icon-library.d.ts +1 -0
- package/dist-versioned/utilities/icon-library.js +12 -0
- package/dist-versioned/utilities/localize.d.ts +55 -0
- package/dist-versioned/utilities/localize.js +9 -0
- package/dist-versioned/vscode.html-custom-data.json +2884 -0
- package/dist-versioned/web-types.json +6568 -0
- package/package.json +71 -79
- package/dist/components/es/accordion-group.js +0 -1
- package/dist/components/es/accordion.js +0 -1
- package/dist/components/es/animate.js +0 -1
- package/dist/components/es/animation-registry.js +0 -1
- package/dist/components/es/audio.js +0 -1
- package/dist/components/es/autoplay-controller.js +0 -1
- package/dist/components/es/badge.js +0 -1
- package/dist/components/es/base64Audio.js +0 -1
- package/dist/components/es/brandshape.js +0 -3
- package/dist/components/es/button.js +0 -1
- package/dist/components/es/carousel-item.js +0 -1
- package/dist/components/es/carousel.js +0 -16
- package/dist/components/es/checkbox-group.js +0 -1
- package/dist/components/es/checkbox.js +0 -1
- package/dist/components/es/combobox.js +0 -11
- package/dist/components/es/debounce.js +0 -1
- package/dist/components/es/default-value.js +0 -1
- package/dist/components/es/dialog.js +0 -1
- package/dist/components/es/directive.js +0 -6
- package/dist/components/es/divider.js +0 -1
- package/dist/components/es/drawer.js +0 -1
- package/dist/components/es/dropdown.js +0 -1
- package/dist/components/es/event.js +0 -1
- package/dist/components/es/expandable.js +0 -1
- package/dist/components/es/flipcard.js +0 -1
- package/dist/components/es/form.js +0 -1
- package/dist/components/es/header.js +0 -1
- package/dist/components/es/icon.js +0 -11
- package/dist/components/es/if-defined.js +0 -6
- package/dist/components/es/include.js +0 -1
- package/dist/components/es/input.js +0 -6
- package/dist/components/es/interactive.js +0 -1
- package/dist/components/es/link.js +0 -1
- package/dist/components/es/live.js +0 -11
- package/dist/components/es/map-marker.js +0 -1
- package/dist/components/es/modal.js +0 -1
- package/dist/components/es/navigation-item.js +0 -1
- package/dist/components/es/notification.js +0 -1
- package/dist/components/es/optgroup.js +0 -1
- package/dist/components/es/option-renderer.js +0 -1
- package/dist/components/es/option.js +0 -1
- package/dist/components/es/query-assigned-elements.js +0 -6
- package/dist/components/es/quickfact.js +0 -1
- package/dist/components/es/radio-button.js +0 -1
- package/dist/components/es/radio-group.js +0 -1
- package/dist/components/es/radio.js +0 -1
- package/dist/components/es/request.js +0 -1
- package/dist/components/es/request2.js +0 -1
- package/dist/components/es/scroll-controller.js +0 -1
- package/dist/components/es/scroll.js +0 -1
- package/dist/components/es/scrollable.js +0 -1
- package/dist/components/es/select.js +0 -11
- package/dist/components/es/slot.js +0 -1
- package/dist/components/es/solid-components.js +0 -1
- package/dist/components/es/solid-components2.js +0 -38
- package/dist/components/es/spinner.js +0 -1
- package/dist/components/es/state.js +0 -6
- package/dist/components/es/static.js +0 -6
- package/dist/components/es/step-group.js +0 -1
- package/dist/components/es/step.js +0 -1
- package/dist/components/es/switch.js +0 -1
- package/dist/components/es/tab-group.js +0 -1
- package/dist/components/es/tab-panel.js +0 -1
- package/dist/components/es/tab.js +0 -1
- package/dist/components/es/tabbable.js +0 -1
- package/dist/components/es/tag.js +0 -1
- package/dist/components/es/teaser-media.js +0 -1
- package/dist/components/es/teaser.js +0 -1
- package/dist/components/es/textarea.js +0 -1
- package/dist/components/es/tooltip.js +0 -4
- package/dist/components/es/utils.js +0 -1
- package/dist/components/es/video.js +0 -1
- package/dist/components/es/watch.js +0 -1
- package/dist/components/es/wave.js +0 -1
- package/dist/components/umd/solid-components.js +0 -130
- package/dist/package/_components/button-group/button-group.d.ts +0 -19
- package/dist/package/_components/button-group/button-group.js +0 -75
- package/dist/package/_components/button-group/button-group.styles.js +0 -6
- package/dist/package/components/accordion/accordion.d.ts +0 -24
- package/dist/package/components/accordion/accordion.js +0 -153
- package/dist/package/components/accordion-group/accordion-group.d.ts +0 -16
- package/dist/package/components/accordion-group/accordion-group.js +0 -63
- package/dist/package/components/audio/audio.d.ts +0 -55
- package/dist/package/components/audio/audio.js +0 -353
- package/dist/package/components/audio/wave.js +0 -85
- package/dist/package/components/badge/badge.d.ts +0 -13
- package/dist/package/components/badge/badge.js +0 -59
- package/dist/package/components/brandshape/brandshape.d.ts +0 -31
- package/dist/package/components/brandshape/brandshape.js +0 -148
- package/dist/package/components/button/button.d.ts +0 -52
- package/dist/package/components/button/button.js +0 -294
- package/dist/package/components/carousel/autoplay-controller.js +0 -57
- package/dist/package/components/carousel/carousel.d.ts +0 -56
- package/dist/package/components/carousel/carousel.js +0 -462
- package/dist/package/components/carousel/scroll-controller.js +0 -140
- package/dist/package/components/carousel-item/carousel-item.d.ts +0 -12
- package/dist/package/components/carousel-item/carousel-item.js +0 -37
- package/dist/package/components/checkbox/checkbox.d.ts +0 -42
- package/dist/package/components/checkbox/checkbox.js +0 -198
- package/dist/package/components/checkbox-group/checkbox-group.d.ts +0 -20
- package/dist/package/components/checkbox-group/checkbox-group.js +0 -99
- package/dist/package/components/combobox/combobox.d.ts +0 -129
- package/dist/package/components/combobox/combobox.js +0 -958
- package/dist/package/components/combobox/option-renderer.js +0 -4
- package/dist/package/components/combobox/utils.js +0 -14
- package/dist/package/components/dialog/dialog.d.ts +0 -33
- package/dist/package/components/dialog/dialog.js +0 -221
- package/dist/package/components/divider/divider.d.ts +0 -13
- package/dist/package/components/divider/divider.js +0 -50
- package/dist/package/components/drawer/drawer.d.ts +0 -36
- package/dist/package/components/drawer/drawer.js +0 -292
- package/dist/package/components/dropdown/dropdown.d.ts +0 -51
- package/dist/package/components/dropdown/dropdown.js +0 -344
- package/dist/package/components/expandable/expandable.d.ts +0 -23
- package/dist/package/components/expandable/expandable.js +0 -116
- package/dist/package/components/flipcard/flipcard.d.ts +0 -23
- package/dist/package/components/flipcard/flipcard.js +0 -180
- package/dist/package/components/header/header.d.ts +0 -23
- package/dist/package/components/header/header.js +0 -100
- package/dist/package/components/icon/icon.js +0 -129
- package/dist/package/components/icon/library.default.js +0 -38
- package/dist/package/components/icon/library.js +0 -36
- package/dist/package/components/icon/library.system.d.ts +0 -26
- package/dist/package/components/icon/library.system.js +0 -101
- package/dist/package/components/icon/request.js +0 -24
- package/dist/package/components/include/include.js +0 -75
- package/dist/package/components/include/request.js +0 -18
- package/dist/package/components/input/input.d.ts +0 -86
- package/dist/package/components/input/input.js +0 -418
- package/dist/package/components/link/link.d.ts +0 -22
- package/dist/package/components/link/link.js +0 -107
- package/dist/package/components/map-marker/map-marker.d.ts +0 -23
- package/dist/package/components/map-marker/map-marker.js +0 -96
- package/dist/package/components/navigation-item/navigation-item.d.ts +0 -34
- package/dist/package/components/navigation-item/navigation-item.js +0 -195
- package/dist/package/components/notification/notification.d.ts +0 -32
- package/dist/package/components/notification/notification.js +0 -210
- package/dist/package/components/optgroup/optgroup.d.ts +0 -20
- package/dist/package/components/optgroup/optgroup.js +0 -68
- package/dist/package/components/option/option.d.ts +0 -29
- package/dist/package/components/option/option.js +0 -140
- package/dist/package/components/popup/popup.d.ts +0 -45
- package/dist/package/components/popup/popup.js +0 -335
- package/dist/package/components/quickfact/quickfact.d.ts +0 -12
- package/dist/package/components/quickfact/quickfact.js +0 -64
- package/dist/package/components/radio/radio.d.ts +0 -27
- package/dist/package/components/radio/radio.js +0 -128
- package/dist/package/components/radio-button/radio-button.d.ts +0 -25
- package/dist/package/components/radio-button/radio-button.js +0 -117
- package/dist/package/components/radio-group/radio-group.d.ts +0 -53
- package/dist/package/components/radio-group/radio-group.js +0 -317
- package/dist/package/components/scrollable/scrollable.d.ts +0 -31
- package/dist/package/components/scrollable/scrollable.js +0 -181
- package/dist/package/components/select/select.d.ts +0 -108
- package/dist/package/components/select/select.js +0 -764
- package/dist/package/components/spinner/spinner.d.ts +0 -13
- package/dist/package/components/spinner/spinner.js +0 -46
- package/dist/package/components/step/step.d.ts +0 -27
- package/dist/package/components/step/step.js +0 -143
- package/dist/package/components/step-group/step-group.d.ts +0 -22
- package/dist/package/components/step-group/step-group.js +0 -126
- package/dist/package/components/switch/switch.d.ts +0 -39
- package/dist/package/components/switch/switch.js +0 -169
- package/dist/package/components/tab/tab.d.ts +0 -22
- package/dist/package/components/tab/tab.js +0 -94
- package/dist/package/components/tab-group/tab-group.d.ts +0 -37
- package/dist/package/components/tab-group/tab-group.js +0 -250
- package/dist/package/components/tab-panel/tab-panel.d.ts +0 -16
- package/dist/package/components/tab-panel/tab-panel.js +0 -58
- package/dist/package/components/tag/tag.d.ts +0 -26
- package/dist/package/components/tag/tag.js +0 -116
- package/dist/package/components/teaser/teaser.d.ts +0 -17
- package/dist/package/components/teaser/teaser.js +0 -106
- package/dist/package/components/teaser-media/teaser-media.d.ts +0 -8
- package/dist/package/components/teaser-media/teaser-media.js +0 -72
- package/dist/package/components/textarea/textarea.d.ts +0 -71
- package/dist/package/components/textarea/textarea.js +0 -315
- package/dist/package/components/tooltip/tooltip.d.ts +0 -41
- package/dist/package/components/tooltip/tooltip.js +0 -238
- package/dist/package/components/video/video.d.ts +0 -26
- package/dist/package/components/video/video.js +0 -131
- package/dist/package/internal/animate.d.ts +0 -10
- package/dist/package/internal/animate.js +0 -52
- package/dist/package/internal/debounce.js +0 -15
- package/dist/package/internal/default-value.js +0 -21
- package/dist/package/internal/event.js +0 -14
- package/dist/package/internal/form.js +0 -302
- package/dist/package/internal/longpress.d.ts +0 -24
- package/dist/package/internal/longpress.js +0 -80
- package/dist/package/internal/math.js +0 -13
- package/dist/package/internal/modal.js +0 -52
- package/dist/package/internal/offset.js +0 -9
- package/dist/package/internal/register-custom-element.d.ts +0 -19
- package/dist/package/internal/register-custom-element.js +0 -30
- package/dist/package/internal/scroll.js +0 -49
- package/dist/package/internal/slot.js +0 -47
- package/dist/package/internal/solid-element.d.ts +0 -30
- package/dist/package/internal/solid-element.js +0 -37
- package/dist/package/internal/string.js +0 -6
- package/dist/package/internal/tabbable.js +0 -50
- package/dist/package/internal/watch.js +0 -28
- package/dist/package/node_modules/.pnpm/@shoelace-style_localize@3.1.2/node_modules/@shoelace-style/localize/dist/index.js +0 -103
- package/dist/package/solid-components.d.ts +0 -50
- package/dist/package/solid-components.js +0 -103
- package/dist/package/styles/component.styles.js +0 -5
- package/dist/package/styles/headline/headline.css.js +0 -4
- package/dist/package/styles/interactive/interactive.css.js +0 -4
- package/dist/package/styles/paragraph/paragraph.css.js +0 -4
- package/dist/package/styles/tailwind.css.js +0 -4
- package/dist/package/translations/de.js +0 -47
- package/dist/package/translations/en.js +0 -47
- package/dist/package/utilities/animation-registry.js +0 -35
- package/dist/package/utilities/autocomplete-config.js +0 -68
- package/dist/package/utilities/localize.js +0 -53
- package/dist/styles/solid-styles.css +0 -1
- package/dist/versioned-components/es/accordion-group.js +0 -1
- package/dist/versioned-components/es/accordion.js +0 -1
- package/dist/versioned-components/es/animate.js +0 -1
- package/dist/versioned-components/es/animation-registry.js +0 -1
- package/dist/versioned-components/es/audio.js +0 -1
- package/dist/versioned-components/es/autoplay-controller.js +0 -1
- package/dist/versioned-components/es/badge.js +0 -1
- package/dist/versioned-components/es/base64Audio.js +0 -1
- package/dist/versioned-components/es/brandshape.js +0 -3
- package/dist/versioned-components/es/button.js +0 -1
- package/dist/versioned-components/es/carousel-item.js +0 -1
- package/dist/versioned-components/es/carousel.js +0 -16
- package/dist/versioned-components/es/checkbox-group.js +0 -1
- package/dist/versioned-components/es/checkbox.js +0 -1
- package/dist/versioned-components/es/combobox.js +0 -11
- package/dist/versioned-components/es/debounce.js +0 -1
- package/dist/versioned-components/es/default-value.js +0 -1
- package/dist/versioned-components/es/dialog.js +0 -1
- package/dist/versioned-components/es/directive.js +0 -6
- package/dist/versioned-components/es/divider.js +0 -1
- package/dist/versioned-components/es/drawer.js +0 -1
- package/dist/versioned-components/es/dropdown.js +0 -1
- package/dist/versioned-components/es/event.js +0 -1
- package/dist/versioned-components/es/expandable.js +0 -1
- package/dist/versioned-components/es/flipcard.js +0 -1
- package/dist/versioned-components/es/form.js +0 -1
- package/dist/versioned-components/es/header.js +0 -1
- package/dist/versioned-components/es/icon.js +0 -11
- package/dist/versioned-components/es/if-defined.js +0 -6
- package/dist/versioned-components/es/include.js +0 -1
- package/dist/versioned-components/es/input.js +0 -6
- package/dist/versioned-components/es/interactive.js +0 -1
- package/dist/versioned-components/es/link.js +0 -1
- package/dist/versioned-components/es/live.js +0 -11
- package/dist/versioned-components/es/map-marker.js +0 -1
- package/dist/versioned-components/es/modal.js +0 -1
- package/dist/versioned-components/es/navigation-item.js +0 -1
- package/dist/versioned-components/es/notification.js +0 -1
- package/dist/versioned-components/es/optgroup.js +0 -1
- package/dist/versioned-components/es/option-renderer.js +0 -1
- package/dist/versioned-components/es/option.js +0 -1
- package/dist/versioned-components/es/query-assigned-elements.js +0 -6
- package/dist/versioned-components/es/quickfact.js +0 -1
- package/dist/versioned-components/es/radio-button.js +0 -1
- package/dist/versioned-components/es/radio-group.js +0 -1
- package/dist/versioned-components/es/radio.js +0 -1
- package/dist/versioned-components/es/request.js +0 -1
- package/dist/versioned-components/es/request2.js +0 -1
- package/dist/versioned-components/es/scroll-controller.js +0 -1
- package/dist/versioned-components/es/scroll.js +0 -1
- package/dist/versioned-components/es/scrollable.js +0 -1
- package/dist/versioned-components/es/select.js +0 -11
- package/dist/versioned-components/es/slot.js +0 -1
- package/dist/versioned-components/es/solid-components.js +0 -1
- package/dist/versioned-components/es/solid-components2.js +0 -38
- package/dist/versioned-components/es/spinner.js +0 -1
- package/dist/versioned-components/es/state.js +0 -6
- package/dist/versioned-components/es/static.js +0 -6
- package/dist/versioned-components/es/step-group.js +0 -1
- package/dist/versioned-components/es/step.js +0 -1
- package/dist/versioned-components/es/switch.js +0 -1
- package/dist/versioned-components/es/tab-group.js +0 -1
- package/dist/versioned-components/es/tab-panel.js +0 -1
- package/dist/versioned-components/es/tab.js +0 -1
- package/dist/versioned-components/es/tabbable.js +0 -1
- package/dist/versioned-components/es/tag.js +0 -1
- package/dist/versioned-components/es/teaser-media.js +0 -1
- package/dist/versioned-components/es/teaser.js +0 -1
- package/dist/versioned-components/es/textarea.js +0 -1
- package/dist/versioned-components/es/tooltip.js +0 -4
- package/dist/versioned-components/es/utils.js +0 -1
- package/dist/versioned-components/es/video.js +0 -1
- package/dist/versioned-components/es/watch.js +0 -1
- package/dist/versioned-components/es/wave.js +0 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +0 -19
- package/dist/versioned-package/_components/button-group/button-group.js +0 -75
- package/dist/versioned-package/_components/button-group/button-group.styles.js +0 -6
- package/dist/versioned-package/components/accordion/accordion.d.ts +0 -24
- package/dist/versioned-package/components/accordion/accordion.js +0 -153
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +0 -16
- package/dist/versioned-package/components/accordion-group/accordion-group.js +0 -63
- package/dist/versioned-package/components/audio/audio.d.ts +0 -55
- package/dist/versioned-package/components/audio/audio.js +0 -353
- package/dist/versioned-package/components/audio/wave.js +0 -85
- package/dist/versioned-package/components/badge/badge.d.ts +0 -13
- package/dist/versioned-package/components/badge/badge.js +0 -59
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +0 -31
- package/dist/versioned-package/components/brandshape/brandshape.js +0 -148
- package/dist/versioned-package/components/button/button.d.ts +0 -52
- package/dist/versioned-package/components/button/button.js +0 -294
- package/dist/versioned-package/components/carousel/autoplay-controller.js +0 -57
- package/dist/versioned-package/components/carousel/carousel.d.ts +0 -56
- package/dist/versioned-package/components/carousel/carousel.js +0 -462
- package/dist/versioned-package/components/carousel/scroll-controller.js +0 -140
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +0 -12
- package/dist/versioned-package/components/carousel-item/carousel-item.js +0 -37
- package/dist/versioned-package/components/checkbox/checkbox.d.ts +0 -42
- package/dist/versioned-package/components/checkbox/checkbox.js +0 -198
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +0 -20
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +0 -99
- package/dist/versioned-package/components/combobox/combobox.d.ts +0 -129
- package/dist/versioned-package/components/combobox/combobox.js +0 -958
- package/dist/versioned-package/components/combobox/option-renderer.js +0 -4
- package/dist/versioned-package/components/combobox/utils.js +0 -14
- package/dist/versioned-package/components/dialog/dialog.d.ts +0 -33
- package/dist/versioned-package/components/dialog/dialog.js +0 -221
- package/dist/versioned-package/components/divider/divider.d.ts +0 -13
- package/dist/versioned-package/components/divider/divider.js +0 -50
- package/dist/versioned-package/components/drawer/drawer.d.ts +0 -36
- package/dist/versioned-package/components/drawer/drawer.js +0 -292
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +0 -51
- package/dist/versioned-package/components/dropdown/dropdown.js +0 -344
- package/dist/versioned-package/components/expandable/expandable.d.ts +0 -23
- package/dist/versioned-package/components/expandable/expandable.js +0 -116
- package/dist/versioned-package/components/flipcard/flipcard.d.ts +0 -23
- package/dist/versioned-package/components/flipcard/flipcard.js +0 -180
- package/dist/versioned-package/components/header/header.d.ts +0 -23
- package/dist/versioned-package/components/header/header.js +0 -100
- package/dist/versioned-package/components/icon/icon.d.ts +0 -22
- package/dist/versioned-package/components/icon/icon.js +0 -129
- package/dist/versioned-package/components/icon/library.default.js +0 -38
- package/dist/versioned-package/components/icon/library.js +0 -36
- package/dist/versioned-package/components/icon/library.system.d.ts +0 -26
- package/dist/versioned-package/components/icon/library.system.js +0 -101
- package/dist/versioned-package/components/icon/request.js +0 -24
- package/dist/versioned-package/components/include/include.d.ts +0 -15
- package/dist/versioned-package/components/include/include.js +0 -75
- package/dist/versioned-package/components/include/request.js +0 -18
- package/dist/versioned-package/components/input/input.d.ts +0 -86
- package/dist/versioned-package/components/input/input.js +0 -418
- package/dist/versioned-package/components/link/link.d.ts +0 -22
- package/dist/versioned-package/components/link/link.js +0 -107
- package/dist/versioned-package/components/map-marker/map-marker.d.ts +0 -23
- package/dist/versioned-package/components/map-marker/map-marker.js +0 -96
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +0 -34
- package/dist/versioned-package/components/navigation-item/navigation-item.js +0 -195
- package/dist/versioned-package/components/notification/notification.d.ts +0 -32
- package/dist/versioned-package/components/notification/notification.js +0 -210
- package/dist/versioned-package/components/optgroup/optgroup.d.ts +0 -20
- package/dist/versioned-package/components/optgroup/optgroup.js +0 -68
- package/dist/versioned-package/components/option/option.d.ts +0 -29
- package/dist/versioned-package/components/option/option.js +0 -140
- package/dist/versioned-package/components/popup/popup.d.ts +0 -45
- package/dist/versioned-package/components/popup/popup.js +0 -335
- package/dist/versioned-package/components/quickfact/quickfact.d.ts +0 -12
- package/dist/versioned-package/components/quickfact/quickfact.js +0 -64
- package/dist/versioned-package/components/radio/radio.d.ts +0 -27
- package/dist/versioned-package/components/radio/radio.js +0 -128
- package/dist/versioned-package/components/radio-button/radio-button.d.ts +0 -25
- package/dist/versioned-package/components/radio-button/radio-button.js +0 -117
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +0 -53
- package/dist/versioned-package/components/radio-group/radio-group.js +0 -317
- package/dist/versioned-package/components/scrollable/scrollable.d.ts +0 -31
- package/dist/versioned-package/components/scrollable/scrollable.js +0 -181
- package/dist/versioned-package/components/select/select.d.ts +0 -108
- package/dist/versioned-package/components/select/select.js +0 -764
- package/dist/versioned-package/components/spinner/spinner.d.ts +0 -13
- package/dist/versioned-package/components/spinner/spinner.js +0 -46
- package/dist/versioned-package/components/step/step.d.ts +0 -27
- package/dist/versioned-package/components/step/step.js +0 -143
- package/dist/versioned-package/components/step-group/step-group.d.ts +0 -22
- package/dist/versioned-package/components/step-group/step-group.js +0 -126
- package/dist/versioned-package/components/switch/switch.d.ts +0 -39
- package/dist/versioned-package/components/switch/switch.js +0 -169
- package/dist/versioned-package/components/tab/tab.d.ts +0 -22
- package/dist/versioned-package/components/tab/tab.js +0 -94
- package/dist/versioned-package/components/tab-group/tab-group.d.ts +0 -37
- package/dist/versioned-package/components/tab-group/tab-group.js +0 -250
- package/dist/versioned-package/components/tab-panel/tab-panel.d.ts +0 -16
- package/dist/versioned-package/components/tab-panel/tab-panel.js +0 -58
- package/dist/versioned-package/components/tag/tag.d.ts +0 -26
- package/dist/versioned-package/components/tag/tag.js +0 -116
- package/dist/versioned-package/components/teaser/teaser.d.ts +0 -17
- package/dist/versioned-package/components/teaser/teaser.js +0 -106
- package/dist/versioned-package/components/teaser-media/teaser-media.d.ts +0 -8
- package/dist/versioned-package/components/teaser-media/teaser-media.js +0 -72
- package/dist/versioned-package/components/textarea/textarea.d.ts +0 -71
- package/dist/versioned-package/components/textarea/textarea.js +0 -315
- package/dist/versioned-package/components/tooltip/tooltip.d.ts +0 -41
- package/dist/versioned-package/components/tooltip/tooltip.js +0 -238
- package/dist/versioned-package/components/video/video.d.ts +0 -26
- package/dist/versioned-package/components/video/video.js +0 -131
- package/dist/versioned-package/internal/animate.d.ts +0 -10
- package/dist/versioned-package/internal/animate.js +0 -52
- package/dist/versioned-package/internal/debounce.js +0 -15
- package/dist/versioned-package/internal/default-value.js +0 -21
- package/dist/versioned-package/internal/event.js +0 -14
- package/dist/versioned-package/internal/form.js +0 -302
- package/dist/versioned-package/internal/longpress.d.ts +0 -24
- package/dist/versioned-package/internal/longpress.js +0 -80
- package/dist/versioned-package/internal/math.js +0 -13
- package/dist/versioned-package/internal/modal.js +0 -52
- package/dist/versioned-package/internal/offset.js +0 -9
- package/dist/versioned-package/internal/register-custom-element.d.ts +0 -19
- package/dist/versioned-package/internal/register-custom-element.js +0 -30
- package/dist/versioned-package/internal/scroll.js +0 -49
- package/dist/versioned-package/internal/slot.js +0 -47
- package/dist/versioned-package/internal/solid-element.d.ts +0 -30
- package/dist/versioned-package/internal/solid-element.js +0 -37
- package/dist/versioned-package/internal/string.js +0 -6
- package/dist/versioned-package/internal/tabbable.js +0 -50
- package/dist/versioned-package/internal/watch.js +0 -28
- package/dist/versioned-package/node_modules/.pnpm/@shoelace-style_localize@3.1.2/node_modules/@shoelace-style/localize/dist/index.js +0 -103
- package/dist/versioned-package/solid-components.d.ts +0 -50
- package/dist/versioned-package/solid-components.js +0 -103
- package/dist/versioned-package/styles/component.styles.js +0 -5
- package/dist/versioned-package/styles/headline/headline.css.js +0 -4
- package/dist/versioned-package/styles/interactive/interactive.css.js +0 -4
- package/dist/versioned-package/styles/paragraph/paragraph.css.js +0 -4
- package/dist/versioned-package/styles/tailwind.css.js +0 -4
- package/dist/versioned-package/translations/de.js +0 -47
- package/dist/versioned-package/translations/en.js +0 -47
- package/dist/versioned-package/utilities/animation-registry.js +0 -35
- package/dist/versioned-package/utilities/autocomplete-config.js +0 -68
- package/dist/versioned-package/utilities/localize.js +0 -53
- package/dist/versioned-styles/solid-styles.css +0 -1
- /package/{dist/versioned-package/styles/component.styles.d.ts → cdn/_components/menu/menu.styles.d.ts} +0 -0
- /package/{dist/versioned-package/_components/button-group/button-group.styles.d.ts → cdn/_components/menu-item/menu-item.styles.d.ts} +0 -0
- /package/{dist/versioned-package → cdn}/components/audio/wave.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/carousel/autoplay-controller.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/carousel/scroll-controller.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/combobox/option-renderer.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/combobox/utils.d.ts +0 -0
- /package/{dist/package → cdn}/components/icon/icon.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/icon/library.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/icon/library.default.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/icon/request.d.ts +0 -0
- /package/{dist/package → cdn}/components/include/include.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/components/include/request.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/debounce.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/default-value.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/event.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/form.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/math.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/modal.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/offset.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/scroll.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/slot.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/string.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/tabbable.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/internal/watch.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/translations/de.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/translations/en.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/utilities/animation-registry.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/utilities/autocomplete-config.d.ts +0 -0
- /package/{dist/versioned-package → cdn}/utilities/localize.d.ts +0 -0
- /package/{dist/package/styles/component.styles.d.ts → cdn-versioned/_components/menu/menu.styles.d.ts} +0 -0
- /package/{dist/package/_components/button-group/button-group.styles.d.ts → cdn-versioned/_components/menu-item/menu-item.styles.d.ts} +0 -0
- /package/{dist/package → cdn-versioned}/components/audio/wave.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/carousel/autoplay-controller.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/carousel/scroll-controller.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/combobox/option-renderer.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/combobox/utils.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/icon/library.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/icon/library.default.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/icon/request.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/components/include/request.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/debounce.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/default-value.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/event.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/form.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/math.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/modal.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/offset.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/scroll.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/slot.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/string.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/tabbable.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/internal/watch.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/translations/de.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/translations/en.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/utilities/animation-registry.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/utilities/autocomplete-config.d.ts +0 -0
- /package/{dist/package → cdn-versioned}/utilities/localize.d.ts +0 -0
@@ -1,11 +0,0 @@
|
|
1
|
-
import{s as t,a as e}from"./animate.js";import{S as s,L as i,x as o,t as l,d as a,c as n,i as r,e as d,n as p,a as h}from"./solid-components2.js";import{defaultOptionRenderer as u}from"./option-renderer.js";import{d as c}from"./default-value.js";import{normalizeString as m,getAllOptions as b,getAssignedElementsForSlot as v,filterOnlyOptgroups as y}from"./utils.js";import{F as g}from"./form.js";import{g as f,s as O}from"./animation-registry.js";import{H as x}from"./slot.js";import{r as C}from"./state.js";import{s as w}from"./scroll.js";import{o as S,S as $}from"./icon.js";import{w as I}from"./event.js";import{w as V}from"./watch.js";import T from"./tag.js";var k=Object.defineProperty,L=Object.getOwnPropertyDescriptor,F=(t,e,s,i)=>{for(var o,l=i>1?void 0:i?L(e,s):e,a=t.length-1;a>=0;a--)(o=t[a])&&(l=(i?o(e,s,l):o(l))||l);return i&&l&&k(e,s,l),l};let D=class extends s{constructor(){super(...arguments),this.formControlController=new g(this,{assumeInteractionOn:["sd-blur","sd-input"]}),this.hasSlotController=new x(this,"help-text","label"),this.localize=new i(this),this.hasHover=!1,this.hasFocus=!1,this.displayInputValue="",this.selectedTextLabel="",this.selectedOptions=[],this.filteredOptions=[],this.allOptions=[],this.showValidStyle=!1,this.showInvalidStyle=!1,this.name="",this.value="",this.defaultValue="",this.size="lg",this.placeholder=this.localize.term("comboboxDefaultPlaceholder"),this.disabled=!1,this.clearable=!1,this.open=!1,this.hoist=!1,this.label="",this.placement="bottom",this.helpText="",this.form="",this.required=!1,this.currentPlacement=this.placement,this.getOption=u,this.multiple=!1,this.useTags=!0,this.maxOptionsVisible=3,this.styleOnValid=!1,this.filter=(t,e)=>{const s=m(t.value),i=m(t.getTextLabel()),o=m(e);return s.includes(o)||i.includes(o)},this.getTag=t=>o`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
2
|
-
base:tag__base,
|
3
|
-
content:tag__content,
|
4
|
-
removable-indicator:tag__removable-indicator,
|
5
|
-
" size="${"sm"===this.size?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-tag>`,this.handleDocumentFocusIn=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()},this.handleDocumentKeyDown=t=>{if(null===t.target.closest(".combobox__clear")){if("Escape"===t.key&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),"Backspace"===t.key&&this.multiple&&""===this.displayInput.value)return this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),void this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0})));if("Enter"===t.key){const e=this.getCurrentOption(),s=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!s)return void setTimeout((()=>{t.defaultPrevented||this.formControlController.submit()}));if(!this.open||null!=e&&e.disabled)return;if(e&&!e.disabled){const t=this.value;this.multiple?(this.toggleOptionSelection(e),this.lastOption=e,this.setOrderedSelectedOptions(e),this.updateComplete.then((()=>{this.selectionChanged()}))):(this.setOrderedSelectedOptions(e),this.setSelectedOptions(e)),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==t&&this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")}))}return this.displayInput.focus({preventScroll:!0}),void(this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption("ArrowDown"===t.key)),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),"Home"===t.key?this.displayInput.setSelectionRange(0,0):"End"===t.key&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}},this.handleDocumentMouseDown=t=>{const e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){const t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(null==t?void 0:t.getTextLabel())||""}this.formControlController.updateValidity(),this.applySizeToOptions()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){const t=t=>{const e=this.displayInput.value,s=this.getOption(t,e);return o`${"string"==typeof s?S(s):s}`};return this.filteredOptions.map((e=>"sd-optgroup"===e.tagName.toLowerCase()?(Array.from(e.children).forEach((e=>{"sd-option"===e.tagName.toLowerCase()&&t(e)})),e):t(e)))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map(((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){const s=this.getTag(t,e);return o`<div @sd-remove="${e=>this.handleTagRemove(e,t)}">${"string"==typeof s?S(s):s}</div>`}return[o``]})):[o`<sd-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
6
|
-
base:tag__base,
|
7
|
-
content:tag__content,
|
8
|
-
removable-indicator:tag__removable-indicator,
|
9
|
-
" size="${"sm"===this.size?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){"Backspace"===t.key&&this.multiple&&(t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))))}handleTagMaxOptionsKeyDown(t){"Backspace"===t.key&&this.multiple&&(t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))))}handleLabelClick(){this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.updateComplete.then((()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")})))}handleComboboxMouseDown(t){const e=t.composedPath().some((t=>t instanceof HTMLSlotElement&&"removable-indicator"===t.name));this.disabled||e||(this.open?this.hide():this.show()).then((()=>{setTimeout((()=>this.displayInput.focus({preventScroll:!0})))}))}handleComboboxKeyDown(t){"Tab"!==t.key&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){""!==this.value&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach((t=>{t.selected=!1})),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then((()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){const e=t.target.closest("sd-option"),s=this.value;e&&!e.disabled&&(this.multiple?(this.toggleOptionSelection(e),this.lastOption=e,this.setOrderedSelectedOptions(e),this.updateComplete.then((()=>{this.selectionChanged()}))):(this.setOrderedSelectedOptions(e),this.setSelectedOptions(e)),this.updateComplete.then((()=>this.displayInput.focus({preventScroll:!0}))),this.value!==s&&this.updateComplete.then((()=>{this.emit("sd-input"),this.emit("sd-change")})),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){const e=this.getAllFilteredOptions();if(0===e.length)return;const s=this.getCurrentOption(),i=e.indexOf(s);let o=Math.max(0,i);if(t){const t=i+1;o=t>e.length-1?0:t}else{const t=i-1;o=t<0?e.length-1:t}this.setCurrentOption(e[o]),w(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-option")]}getCurrentOption(){return this.getAllFilteredOptions().find((t=>t.current))}setCurrentOption(t){const e=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),e.forEach((t=>{t.current=!1,t.setAttribute("aria-selected","false")})),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id))}toggleOptionSelection(t,e){const s=this.getSlottedOptions().find((e=>e.value&&t.value?e.value===t.value:e.getTextLabel()===t.getTextLabel()));s&&(s.selected=e??!s.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find((t=>e.includes(t.value))):t.find((t=>t.value===e))}selectedOptionsAndValueSynced(){var t;return!this.value&&0===this.selectedOptions.length||(Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===(null==(t=this.selectedOptions[0])?void 0:t.value))}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach((t=>{t.selected=!1})),this.selectedOptions=this.getSlottedOptions().filter((t=>this.isOptionSelected(t))),this.selectedOptions.forEach((t=>{t&&(t.selected=!0)})),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach((e=>{e.selected=this.compareOptions(e,t)})),this.selectionChanged()}setOrderedSelectedOptions(t){const e=this.getSlottedOptions().find((e=>this.compareOptions(e,t)));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find((t=>this.compareOptions(t,e)))?this.selectedOptions=this.selectedOptions.filter((t=>!this.compareOptions(t,e))):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var t,e,s;const i=this.selectedOptions.some((t=>!!t&&this.isOptionSelected(t)));this.multiple?(!i&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map((t=>t.value||t.getTextLabel()))]:this.value=this.selectedOptions.map((t=>(null==t?void 0:t.value)||(null==t?void 0:t.getTextLabel())||"")),this.displayInputValue=""):(this.value=(null==(t=this.selectedOptions[0])?void 0:t.value)||(null==(e=this.selectedOptions[0])?void 0:e.getTextLabel())||"",this.selectedTextLabel=(null==(s=this.selectedOptions[0])?void 0:s.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then((()=>{this.formControlController.updateValidity()}))}createComboboxOptionsFromQuery(t){const e=[];this.filteredOptions=this.getSlottedOptions().filter((e=>this.filter(e,t)||""===t)).map((t=>{var s,i,o;const l=t.cloneNode(!0);if(l.current=l.value===(null==(s=this.lastOption)?void 0:s.value),l.selected=t.selected,"sd-optgroup"!==(null==(i=t.parentElement)?void 0:i.tagName.toLowerCase()))return l;const a=t.parentElement,n=null==(o=a.querySelector('[slot="label"]'))?void 0:o.cloneNode(!0),r=e.find((t=>t.id===a.id));if(r)return null==r||r.appendChild(l),void(n&&(null==r||r.appendChild(n)));const d=a.cloneNode();return d.appendChild(l),n&&d.appendChild(n),e.push(d),d})).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleCurrentPlacement(t){const e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){const t=this.getAllFilteredOptions();customElements.get("sd-option")&&t.forEach((t=>{t.checkbox=this.multiple}))}applySizeToOptions(){this.getSlottedOptions().forEach((t=>{t.size=this.size}))}handleDisabledChange(){this.formControlController.setValidity(this.disabled),this.disabled&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&!this.disabled){this.emit("sd-show"),this.addOpenListeners(),await t(this),this.listbox.hidden=!1,this.popup.active=!0;const{keyframes:s,options:i}=f(this,"combobox.show",{dir:this.localize.dir()});return await e(this.popup.popup,s,i),this.emit("sd-after-show"),void(0===this.filteredOptions.length&&this.emit("sd-error"))}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await t(this);const{keyframes:s,options:i}=f(this,"combobox.hide",{dir:this.localize.dir()});await e(this.popup.popup,s,i),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(!this.open&&!this.disabled)return this.open=!0,Promise.race([I(this,"sd-after-show"),I(this,"sd-error")]);this.open=!1}async hide(){if(this.open&&!this.disabled)return this.displayInputValue="",this.open=!1,I(this,"sd-after-hide");this.open=!1}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){const t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then((()=>{this.formControlController.updateValidity()})),this.emit("sd-change"))}getSlottedOptions(){return b(v(this.defaultSlot)).flat()}getSlottedOptGroups(){return y(v(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-option"))return void customElements.whenDefined("sd-option").then((()=>this.handleDefaultSlotChange()));const t=this.getSlottedOptions(),e=this.getSlottedOptGroups();t.forEach(((t,e)=>{this.multiple&&(t.checkbox=!0),t.id=t.id||`sd-combobox-option-${e}`})),e.forEach(((t,e)=>{t.id=t.id||`sd-combobox-optgroup-${e}`})),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery(""),this.hasFocus&&this.value.length>0&&!this.open&&await this.show()}render(){const t=this.hasSlotController.test("left"),e=(this.hasSlotController.test("right"),this.hasSlotController.test("label")),s=this.hasSlotController.test("help-text"),i=!!this.label||!!e,a=!!this.helpText||!!s,n=this.clearable&&!this.disabled&&this.value.length>0,r=this.disabled?"disabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",d=this.disabled?"cursor-not-allowed":"cursor-pointer",p=this.disabled?"text-neutral-500":"text-primary",h={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],u={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return o`<div part="form-control" class="${l("relative text-left",d,"sm"===this.size?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${i&&"inline-block mb-2"}" aria-hidden="${!i}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${l("absolute top-0 w-full h-full pointer-events-none border rounded-default",this.hasHover&&"bg-neutral-200",{disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[r],this.open&&("bottom"===this.currentPlacement?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${l("inline-flex relative w-full","bottom"===this.currentPlacement?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
10
|
-
popup:popup__content,
|
11
|
-
"><div part="combobox" class="${l("relative w-full px-4 flex flex-row items-center rounded-default",this.open&&"shadow",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}">${t?o`<slot part="left" name="left" class="${l("inline-flex",u,p,c)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?o`<div part="tags" class="${l("flex items-center gap-1",u)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${l("appearance-none outline-none bg-transparent flex-auto min-w-0",d,this.selectedTextLabel&&!this.multiple?"placeholder-black":"placeholder-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((t=>null==t?void 0:t.getTextLabel())).join(", ")}</div><input class="${l("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",d)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${n?o`<button part="clear-button" class="${l("flex justify-center",h)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${l("text-icon-fill-neutral-800",c)}" name="closing-round" library="system"></sd-icon></slot></button>`:""} ${this.showInvalidStyle?o`<sd-icon part="invalid-icon" class="${l(h,c,"text-error")}" library="system" name="risk"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon part="valid-icon" class="${l("flex-shrink-0 text-success",h,c)}" library="system" name="status-check"></sd-icon>`:""}<slot name="right" part="right" class="${l("inline-flex ml-2 leading-[0]",this.disabled?"text-neutral-500":"text-primary",c)}"><sd-icon class="${l("transition-all",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${l("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow","bottom"===this.currentPlacement?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${0===this.filteredOptions.length?o`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700" aria-hidden="${!a}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};D.dependencies={"sd-icon":$,"sd-popup":a,"sd-tag":T},D.styles=[n,s.styles,r`:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-tag::part(content){max-width:var(--tag-max-width,15ch);overflow:hidden;white-space:nowrap;display:inline-block;text-overflow:ellipsis}sd-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249) / var(--tw-bg-opacity))}[part=filtered-listbox] sd-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;font-weight:700;color:inherit}`],F([d("sd-popup")],D.prototype,"popup",2),F([d('[part="combobox"]')],D.prototype,"combobox",2),F([d('[part="display-input"]')],D.prototype,"displayInput",2),F([d(".value-input")],D.prototype,"valueInput",2),F([d('[part="listbox"]')],D.prototype,"listbox",2),F([d('[part="tags"]')],D.prototype,"tagWrapper",2),F([d('[part="filtered-listbox"]')],D.prototype,"filteredWrapper",2),F([d("slot:not([name])")],D.prototype,"defaultSlot",2),F([d("#invalid-message")],D.prototype,"invalidMessage",2),F([C()],D.prototype,"hasHover",2),F([C()],D.prototype,"hasFocus",2),F([C()],D.prototype,"displayInputValue",2),F([C()],D.prototype,"selectedTextLabel",2),F([C()],D.prototype,"selectedOptions",2),F([C()],D.prototype,"filteredOptions",2),F([C()],D.prototype,"allOptions",2),F([C()],D.prototype,"lastOption",2),F([C()],D.prototype,"showValidStyle",2),F([C()],D.prototype,"showInvalidStyle",2),F([p()],D.prototype,"name",2),F([p({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],D.prototype,"value",2),F([c()],D.prototype,"defaultValue",2),F([p({reflect:!0})],D.prototype,"size",2),F([p()],D.prototype,"placeholder",2),F([p({reflect:!0,type:Boolean})],D.prototype,"disabled",2),F([p({type:Boolean})],D.prototype,"clearable",2),F([p({reflect:!0,type:Boolean})],D.prototype,"open",2),F([p({type:Boolean})],D.prototype,"hoist",2),F([p()],D.prototype,"label",2),F([p({reflect:!0})],D.prototype,"placement",2),F([p({attribute:"help-text"})],D.prototype,"helpText",2),F([p({reflect:!0})],D.prototype,"form",2),F([p({reflect:!0,type:Boolean})],D.prototype,"required",2),F([C()],D.prototype,"currentPlacement",2),F([p()],D.prototype,"getOption",2),F([p({type:Boolean,reflect:!0})],D.prototype,"multiple",2),F([p({type:Boolean,reflect:!0})],D.prototype,"useTags",2),F([p({attribute:"max-options-visible",type:Number})],D.prototype,"maxOptionsVisible",2),F([p({type:Boolean,reflect:!0,attribute:"style-on-valid"})],D.prototype,"styleOnValid",2),F([p()],D.prototype,"filter",2),F([p()],D.prototype,"getTag",2),F([V("filter",{waitUntilFirstUpdate:!0})],D.prototype,"handleFilterChange",1),F([V("useTags",{waitUntilFirstUpdate:!0})],D.prototype,"handleUseTagsChange",1),F([V("size",{waitUntilFirstUpdate:!0})],D.prototype,"applySizeToOptions",1),F([V("disabled",{waitUntilFirstUpdate:!0})],D.prototype,"handleDisabledChange",1),F([V("value",{waitUntilFirstUpdate:!0})],D.prototype,"handleValueChange",1),F([V("displayInputValue",{waitUntilFirstUpdate:!0})],D.prototype,"handleDisplayInputValueChange",1),F([V("open",{waitUntilFirstUpdate:!0})],D.prototype,"handleOpenChange",1),D=F([h("sd-combobox")],D),O("combobox.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),O("combobox.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{D as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
const t=Symbol(),o=o=>(e,i,s)=>{const a=s.value;s.value=function(...e){clearTimeout(this[t]),this[t]=window.setTimeout((()=>{a.apply(this,e)}),o)}};export{o as d};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{h as t}from"./solid-components2.js";const o=(o="value")=>(e,r)=>{const i=e.constructor,n=i.prototype.attributeChangedCallback;i.prototype.attributeChangedCallback=function(e,s,a){const c=i.getPropertyOptions(o);if(e===("string"==typeof c.attribute?c.attribute:o)){const e=c.converter||t,i=("function"==typeof e?e:(null==e?void 0:e.fromAttribute)??t.fromAttribute)(a,c.type);this[o]!==i&&(this[r]=i)}n.call(this,e,s,a)}};export{o as d};
|
@@ -1 +0,0 @@
|
|
1
|
-
import"./button.js";import"./icon.js";import{a as e,s}from"./animate.js";import{S as i,L as h,x as d,t as a,c as n,r as o,i as t,e as l,n as r,a as p}from"./solid-components2.js";import{g as c,s as m}from"./animation-registry.js";import{H as g}from"./slot.js";import{l as f,u as y}from"./scroll.js";import{w as v}from"./event.js";import{w as u}from"./watch.js";import{M as x}from"./modal.js";var z=Object.defineProperty,b=Object.getOwnPropertyDescriptor,w=(e,s,i,h)=>{for(var d,a=h>1?void 0:h?b(s,i):s,n=e.length-1;n>=0;n--)(d=e[n])&&(a=(h?d(s,i,a):d(a))||a);return h&&a&&z(s,i,a),a};let k=class extends i{constructor(){super(...arguments),this.hasSlotController=new g(this,"footer"),this.localize=new h(this),this.open=!1,this.headline="",this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new x(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),f(this))}disconnectedCallback(){super.disconnectedCallback(),y(this)}requestClose(s){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:s}}).defaultPrevented){const s=c(this,"dialog.denyClose",{dir:this.localize.dir()});e(this.panel,s.keyframes,s.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&"Escape"===e.key&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),f(this);const i=this.querySelector("[autofocus]");i&&i.removeAttribute("autofocus"),await Promise.all([s(this.dialog),s(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(i?i.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),i&&i.setAttribute("autofocus","")}));const h=c(this,"dialog.show",{dir:this.localize.dir()}),d=c(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([e(this.panel,h.keyframes,h.options),e(this.overlay,d.keyframes,d.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([s(this.dialog),s(this.overlay)]);const i=c(this,"dialog.hide",{dir:this.localize.dir()}),h=c(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([e(this.overlay,h.keyframes,h.options).then((()=>{this.overlay.hidden=!0})),e(this.panel,i.keyframes,i.options).then((()=>{this.panel.hidden=!0}))]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,y(this);const d=this.originalTrigger;"function"==typeof(null==d?void 0:d.focus)&&setTimeout((()=>d.focus())),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,v(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,v(this,"sd-after-hide")}render(){return d`<div part="base" class="${a("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${a("flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted",this.open&&"flex opacity-100")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.headline}" aria-labelledby="title" 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?d`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:d`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":d`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${a("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-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>`}};k.styles=[n,o(".sd-headline,.sd-prose :is(h1,h2,h3,h4,h5){display:flex;font-weight:700;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{flex-shrink:0;font-size:3rem;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity))}@media (min-width:640px){.sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5) sd-icon{margin-top:var(--sd-spacing-2,.5rem)}}.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline,.sd-headline:is(h1):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline){font-size:var(--sd-font-size-4xl,2.5rem)}}.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline sd-icon,.sd-headline:is(h1):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h1):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-2xl,1.75rem);gap:var(--sd-spacing-4,1rem);line-height:var(--sd-line-height-tight,120%)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl,.sd-headline:is(h2):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline){font-size:var(--sd-font-size-3xl,2rem)}}.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}@media (min-width:640px){.sd-headline.sd-headline--size-3xl sd-icon,.sd-headline:is(h2):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-3xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h2):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline.sd-headline--size-xl,.sd-headline:is(h3,h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline){gap:var(--sd-spacing-2,.5rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity))}.sd-headline.sd-headline--size-base sd-icon,.sd-headline.sd-headline--size-lg sd-icon,.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3,h4,h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3,h4,h5):not(.sd-headline) sd-icon{font-size:2rem}.sd-headline.sd-headline--size-xl,.sd-headline:is(h3):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline){font-size:var(--sd-font-size-xl,1.5rem)}.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}@media (min-width:640px){.sd-headline.sd-headline--size-xl sd-icon,.sd-headline:is(h3):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-xl sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h3):not(.sd-headline) sd-icon{margin-top:var(--sd-spacing-0-5,.125rem)}}.sd-headline.sd-headline--size-base,.sd-headline.sd-headline--size-lg,.sd-headline:is(h4,h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4,h5):not(.sd-headline){line-height:var(--sd-line-height-normal,150%)}.sd-headline.sd-headline--size-lg,.sd-headline:is(h4),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg,.sd-prose :is(h1,h2,h3,h4,h5):is(h4){font-size:var(--sd-font-size-lg,1.25rem)}.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}@media (min-width:640px){.sd-headline.sd-headline--size-lg sd-icon,.sd-headline:is(h4) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-lg sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h4) sd-icon{margin-top:var(--sd-spacing-0,0)}}.sd-headline.sd-headline--size-base,.sd-headline:is(h5):not(.sd-headline),.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline){font-size:var(--sd-font-size-base,1rem)}.sd-headline.sd-headline--size-base sd-icon,.sd-headline:is(h5):not(.sd-headline) sd-icon,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base sd-icon,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) sd-icon{margin-top:calc(var(--sd-spacing-1, .25rem)*-1)}.sd-headline.sd-headline--size-base mark,.sd-headline:is(h5):not(.sd-headline) mark,.sd-prose :is(h1,h2,h3,h4,h5).sd-headline--size-base mark,.sd-prose :is(h1,h2,h3,h4,h5):is(h5):not(.sd-headline) mark{color:inherit}.sd-headline--inline{display:inline-block}.sd-headline--inline sd-icon{margin-right:var(--sd-spacing-2,.5rem);margin-top:calc(var(--sd-spacing-1, .25rem)*-1);vertical-align:middle}.sd-headline--inline:is(.sd-headline--size-xl,.sd-headline--size-lg,.sd-headline--size-base) sd-icon{margin-right:var(--sd-spacing-0-5,.125rem)}.sd-headline--inverted:not(#\\\t),.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t){--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-headline--inverted:not(#\\\t) sd-icon,.sd-prose--inverted :is(h1,h2,h3,h4,h5):not(.sd-headline):not(#\\\t) sd-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}"),i.styles,t`:host{--width:662px}[part=panel]{width:var(--width)}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=footer]{width:100%}}`],w([l('[part="base"]')],k.prototype,"dialog",2),w([l('[part="panel"]')],k.prototype,"panel",2),w([l('[part="overlay"]')],k.prototype,"overlay",2),w([r({type:Boolean,reflect:!0})],k.prototype,"open",2),w([r({reflect:!0})],k.prototype,"headline",2),w([r({attribute:"no-close-button",type:Boolean,reflect:!0})],k.prototype,"noCloseButton",2),w([u("open",{waitUntilFirstUpdate:!0})],k.prototype,"handleOpenChange",1),k=w([p("sd-dialog")],k),m("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),m("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}}),m("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}}),m("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),m("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{k as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/
|
6
|
-
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},s=t=>(...s)=>({_$litDirective$:t,values:s});class e{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,e){this._$Ct=t,this._$AM=s,this._$Ci=e}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}}export{s as e,e as i,t};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,x as e,t as r,c as o,i,n as s,a}from"./solid-components2.js";var n=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=(t,e,r,o)=>{for(var i,s=o>1?void 0:o?l(e,r):e,a=t.length-1;a>=0;a--)(i=t[a])&&(s=(o?i(e,r,s):i(s))||s);return o&&s&&n(e,r,s),s};let c=class extends t{constructor(){super(...arguments),this.orientation="horizontal",this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return e`<hr part="main" class="${r(this.inverted?"border-primary-400":"border-neutral-400","horizontal"===this.orientation?"border-t w-full":" border-l h-full")}">`}};c.styles=[o,t.styles,i`:host{margin:var(--sd-spacing-0,0)}:host(sd-divider[orientation=horizontal]){display:block}:host(sd-divider[orientation=vertical]){display:inline-block}`],d([s({reflect:!0})],c.prototype,"orientation",2),d([s({type:Boolean,reflect:!0})],c.prototype,"inverted",2),c=d([a("sd-divider")],c);export{c as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import"./button.js";import"./icon.js";import{a as t,s as e}from"./animate.js";import{S as a,L as s,x as o,t as i,c as r,i as n,e as l,n as d,a as h}from"./solid-components2.js";import{g as p,s as c}from"./animation-registry.js";import{H as y}from"./slot.js";import{o as u}from"./if-defined.js";import{l as m,u as f}from"./scroll.js";import{w}from"./event.js";import{w as v}from"./watch.js";import{M as b}from"./modal.js";function g(t){return t.charAt(0).toUpperCase()+t.slice(1)}var x=Object.defineProperty,k=Object.getOwnPropertyDescriptor,j=(t,e,a,s)=>{for(var o,i=s>1?void 0:s?k(e,a):e,r=t.length-1;r>=0;r--)(o=t[r])&&(i=(s?o(e,a,i):o(i))||i);return s&&i&&x(e,a,i),i};let C=class extends a{constructor(){super(...arguments),this.hasSlotController=new y(this,"footer"),this.localize=new s(this),this.modal=new b(this),this.open=!1,this.label="",this.placement="end",this.contained=!1,this.noHeader=!1,this.handleDocumentKeyDown=t=>{this.open&&"Escape"===t.key&&(t.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),m(this)))}disconnectedCallback(){super.disconnectedCallback(),f(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){const e=p(this,"drawer.denyClose",{dir:this.localize.dir()});t(this.panel,e.keyframes,e.options)}else this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var a;const s=null==(a=this.closeButton.shadowRoot)?void 0:a.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),m(this));const a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([e(this.drawer),e(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame((()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a&&a.setAttribute("autofocus","")}));const o=p(this,`drawer.show${g(this.placement)}`,{dir:this.localize.dir()}),i=p(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([t(this.panel,o.keyframes,o.options),t(this.overlay,i.keyframes,i.options)]),null==s||s.setAttribute("aria-controls","drawer"),null==s||s.setAttribute("aria-expanded","true"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),f(this)),await Promise.all([e(this.drawer),e(this.overlay)]);const a=p(this,`drawer.hide${g(this.placement)}`,{dir:this.localize.dir()}),o=p(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([t(this.overlay,o.keyframes,o.options).then((()=>{this.overlay.hidden=!0})),t(this.panel,a.keyframes,a.options).then((()=>{this.panel.hidden=!0}))]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const i=this.originalTrigger;"function"==typeof(null==i?void 0:i.focus)&&setTimeout((()=>i.focus())),null==s||s.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),m(this)),this.open&&this.contained&&(this.modal.deactivate(),f(this))}async show(){if(!this.open)return this.open=!0,w(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,w(this,"sd-after-hide")}render(){return o`<div id="drawer" part="base" class="${i("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}"><div part="overlay" class="${i("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${i("absolute flex flex-col z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${this.label}" aria-labelledby="${u(this.noHeader?void 0:"title")}" tabindex="0">${this.noHeader?"":o`<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 ml-4 absolute top-2 right-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="system"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4"><slot></slot></div><footer part="footer" class="${i(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></div>`}};C.styles=[a.styles,r,n`:host{--width:25rem;display:contents}:host([contained]){z-index:initial}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],j([l("[part=base]")],C.prototype,"drawer",2),j([l("[part=panel]")],C.prototype,"panel",2),j([l("[part=overlay]")],C.prototype,"overlay",2),j([l("[part=close-button]")],C.prototype,"closeButton",2),j([d({type:Boolean,reflect:!0})],C.prototype,"open",2),j([d({attribute:"label",reflect:!0})],C.prototype,"label",2),j([d({reflect:!0})],C.prototype,"placement",2),j([d({type:Boolean,reflect:!0})],C.prototype,"contained",2),j([d({attribute:"no-header",type:Boolean})],C.prototype,"noHeader",2),j([v("open",{waitUntilFirstUpdate:!0})],C.prototype,"handleOpenChange",1),j([v("contained",{waitUntilFirstUpdate:!0})],C.prototype,"handleNoModalChange",1),C=j([h("sd-drawer")],C),c("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),c("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),c("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),c("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),c("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),c("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),c("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{C as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as e,L as t,x as n,t as i,c as o,i as s,e as a,n as r,a as d}from"./solid-components2.js";import{s as l,a as h}from"./animate.js";import{g as p,s as c}from"./animation-registry.js";import{g as u}from"./tabbable.js";import{s as m}from"./scroll.js";import{w as g}from"./event.js";import{w}from"./watch.js";var y=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f=(e,t,n,i)=>{for(var o,s=i>1?void 0:i?v(t,n):t,a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i?o(t,n,s):o(s))||s);return i&&s&&y(t,n,s),s};let b=class extends e{constructor(){super(...arguments),this.localize=new t(this),this.open=!1,this.rounded=!1,this.placement="bottom-start",this.disabled=!1,this.stayOpenOnSelect=!1,this.distance=0,this.skidding=0,this.noAutoSize=!1,this.noFlip=!1,this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){const e=this.trigger.assignedElements({flatten:!0}).find((e=>u(e).start));let t=null;if(e)switch(e.tagName.toLowerCase()){case"sd-button":case"sd-icon-button":case"sd-navigation-item":t=e.button;break;default:t=e}return t}updateAccessibleTrigger(){const e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){const e=this.getAccessibleTrigger();"function"==typeof(null==e?void 0:e.focus)&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find((e=>"sd-menu"===e.tagName.toLowerCase()))}handleKeyDown(e){this.open&&"Escape"===e.key&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if("Tab"===e.key){if(this.open&&"sd-menu-item"===(null==(t=document.activeElement)?void 0:t.tagName.toLowerCase()))return e.preventDefault(),this.hide(),void this.focusOnTrigger();setTimeout((()=>{var e,t,n,i,o,s,a,r,d,l,h,p;const c=(null==(o=null==(i=null==(n=null==(t=null==(e=document.activeElement)?void 0:e.shadowRoot)?void 0:t.activeElement)?void 0:n.shadowRoot)?void 0:i.activeElement)?void 0:o.getRootNode())instanceof ShadowRoot?null==(d=null==(r=null==(a=null==(s=document.activeElement)?void 0:s.shadowRoot)?void 0:a.activeElement)?void 0:r.shadowRoot)?void 0:d.activeElement:(null==(l=this.containingElement)?void 0:l.getRootNode())instanceof ShadowRoot?null==(p=null==(h=document.activeElement)?void 0:h.shadowRoot)?void 0:p.activeElement:document.activeElement;(!this.containingElement||(null==c?void 0:c.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()}))}}handleDocumentMouseDown(e){const t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){const t=e.target;m(t,this.panel)}handlePanelSelect(e){const t=e.target;!this.stayOpenOnSelect&&"sd-menu"===t.tagName.toLowerCase()&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if("Escape"===e.key&&this.open)return e.stopPropagation(),this.focusOnTrigger(),void this.hide();if([" ","Enter"].includes(e.key))return e.preventDefault(),void this.handleTriggerClick();const t=this.getMenu();if(t){const n=t.defaultSlot.assignedElements({flatten:!0}),i=n[0],o=n[n.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),n.length>0&&requestAnimationFrame((()=>{("ArrowDown"===e.key||"Home"===e.key)&&(t.setCurrentItem(i),i.focus()),("ArrowUp"===e.key||"End"===e.key)&&(t.setCurrentItem(o),o.focus())})))}}handleTriggerKeyUp(e){" "===e.key&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled)this.open=!1;else if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await l(this),this.panel.hidden=!1,this.popup.active=!0;const{keyframes:e,options:t}=p(this,"dropdown.show",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await l(this);const{keyframes:e,options:t}=p(this,"dropdown.hide",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return n`<sd-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${i("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-popup>`}};b.styles=[e.styles,o,s`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){overflow:auto;max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}`],f([a("#dropdown")],b.prototype,"popup",2),f([a("[part=trigger]")],b.prototype,"trigger",2),f([a("[part=panel]")],b.prototype,"panel",2),f([r({type:Boolean,reflect:!0})],b.prototype,"open",2),f([r({type:Boolean,reflect:!0})],b.prototype,"rounded",2),f([r({reflect:!0})],b.prototype,"placement",2),f([r({type:Boolean,reflect:!0})],b.prototype,"disabled",2),f([r({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],b.prototype,"stayOpenOnSelect",2),f([r({attribute:!1})],b.prototype,"containingElement",2),f([r({type:Number})],b.prototype,"distance",2),f([r({type:Number})],b.prototype,"skidding",2),f([r({type:Boolean,reflect:!0,attribute:"no-auto-size"})],b.prototype,"noAutoSize",2),f([r({type:Boolean,reflect:!0,attribute:"no-flip"})],b.prototype,"noFlip",2),f([r({type:Boolean})],b.prototype,"hoist",2),f([w("open",{waitUntilFirstUpdate:!0})],b.prototype,"handleOpenChange",1),b=f([d("sd-dropdown")],b),c("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}}),c("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{b as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
function e(e,n){return new Promise((t=>{e.addEventListener(n,(function r(i){i.target===e&&(e.removeEventListener(n,r),t())}))}))}export{e as w};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as e,L as t,x as o,t as i,r as s,c as n,i as r,e as a,n as l,a as d}from"./solid-components2.js";import{w as c}from"./event.js";import{w as h}from"./watch.js";import{I as p}from"./interactive.js";var m=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v=(e,t,o,i)=>{for(var s,n=i>1?void 0:i?g(t,o):t,r=e.length-1;r>=0;r--)(s=e[r])&&(n=(i?s(t,o,n):s(n))||n);return i&&n&&m(t,o,n),n};let u=class extends e{constructor(){super(...arguments),this.open=!1,this.inverted=!1,this.localize=new t(this)}updateMaxHeight(){var e;const t=null==(e=this.contentPreview)?void 0:e.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${t}px`),this.style.setProperty("--max-height",t)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}onOpenChange(){this.open?(this.emit("sd-show"),this.updateComplete.then((()=>{this.emit("sd-after-show")}))):(this.emit("sd-hide"),this.updateComplete.then((()=>{this.emit("sd-after-hide")}))),this.details.setAttribute("open",this.open.toString())}async show(){if(!this.open)return this.onToggleClick(),c(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),c(this,"sd-after-hide")}render(){return o`<details part="details"><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><button part="toggle" class="${i("sd-interactive sd-interactive--reset !h-full !justify-center !w-full !text-base !flex !items-center !underline !underline-offset-2 !toggle",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}">${this.open?o`<slot name="toggle-open"><sd-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-icon>${this.localize.term("showLess")}</slot>`:o`<slot name="toggle-closed"><sd-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-icon>${this.localize.term("showMore")}</slot>`}</button>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){const e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach((t=>{const o=t.cloneNode(!0);e.appendChild(o)})),this.appendChild(e)}};u.styles=[e.styles,s(p),n,r`:host{--gradient-color-start:rgba(255, 255, 255, 0);--gradient-color-end:rgba(255, 255, 255, 1);--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(--gradient-color-start) 0%,var(--gradient-color-end) 80%,var(--gradient-color-end) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{border-style:none;padding:var(--sd-spacing-0,0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content{max-block-size:var(--max-height-pixel,1000vh)}:host(:not([open])) .content::after{position:absolute;bottom:var(--sd-spacing-0,0);left:var(--sd-spacing-0,0);display:block;width:100%;content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient))}:host([inverted]:not([open])) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,rgba(0,53,142,0) 0,#00358e 80%,#00358e 100%))}`],v([a(".content-preview")],u.prototype,"contentPreview",2),v([a("details")],u.prototype,"details",2),v([l({type:Boolean,reflect:!0})],u.prototype,"open",2),v([l({type:Boolean,reflect:!0})],u.prototype,"inverted",2),v([h("open",{waitUntilFirstUpdate:!0})],u.prototype,"onOpenChange",1),u=v([d("sd-expandable")],u);export{u as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,x as r,t as a,c as i,i as e,e as o,n,a as l}from"./solid-components2.js";var d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,s=(t,r,a,i)=>{for(var e,o=i>1?void 0:i?c(r,a):r,n=t.length-1;n>=0;n--)(e=t[n])&&(o=(i?e(r,a,o):e(o))||o);return i&&o&&d(r,a,o),o};let f=class extends t{constructor(){super(...arguments),this.activation="click hover",this.flipDirection="horizontal",this.frontVariant="empty",this.backVariant="empty"}connectedCallback(){super.connectedCallback()}flipFront(){this.front.classList.add("clicked--front"),this.back.classList.add("clicked--back"),this.emit("sd-flip-front"),this.back.focus()}flipBack(){this.front.classList.remove("clicked--front"),this.back.classList.remove("clicked--back"),this.emit("sd-flip-back"),this.front.focus()}handleFrontClick(t){const r=t.target;null===r.getAttribute("onclick")&&null===r.getAttribute("href")&&this.flipFront()}handleBackClick(t){const r=t.target;null===r.getAttribute("onclick")&&null===r.getAttribute("href")&&this.flipBack()}handleFrontKeydown(t){"Enter"===t.code&&this.front===t.target&&this.flipFront()}handleBackKeydown(t){"Enter"===t.code&&this.back===t.target&&this.flipBack()}render(){return r`<div part="base" class="${a("flip-card relative h-full w-full")}"><div part="front" tabindex="0" class="${a("flip-card__side flip-card__side--front overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.frontVariant&&"bg-primary","primary-100"===this.frontVariant&&"bg-primary-100","gradient-dark-bottom"===this.frontVariant||"gradient-light-bottom"===this.frontVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleFrontClick}" @keydown="${this.handleFrontKeydown}"><div part="media-front" class="${a("absolute h-full w-full -z-20",("primary"===this.frontVariant||"primary-100"===this.frontVariant)&&"hidden")}"><slot name="media-front"></slot></div><div part="front-slot-container" class="${a("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.frontVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.frontVariant])}"><slot name="front"></slot></div><div part="front-secondary-gradient" class="${a("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.frontVariant])}"></div></div><div part="back" tabindex="0" class="${a("flip-card__side flip-card__side--back overflow-hidden transition-transform duration-1000 ease-in-out","flex focus-visible:focus-outline","absolute top-0 left-0 w-full h-full justify-end text-left","click hover"===this.activation&&"hover","primary"===this.backVariant&&"bg-primary","primary-100"===this.backVariant&&"bg-primary-100","gradient-dark-bottom"===this.backVariant||"gradient-light-bottom"===this.backVariant?"flex-col-reverse":"flex-col","vertical"===this.flipDirection&&"vertical")}" @click="${this.handleBackClick}" @keydown="${this.handleBackKeydown}"><div part="media-back" class="${a("absolute h-full w-full -z-20",("primary"===this.backVariant||"primary-100"===this.backVariant)&&"hidden")}"><slot name="media-back"></slot></div><div part="back-slot-container" class="${a("flex",{empty:"text-black",primary:"text-white","primary-100":"text-black","gradient-light-top":"text-black","gradient-light-bottom":"text-black","gradient-dark-top":"text-white","gradient-dark-bottom":"text-white"}[this.backVariant],{empty:"",primary:"","primary-100":"","gradient-light-top":"bg-gradient-to-b from-white/75 to-white/60","gradient-light-bottom":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark-top":"bg-gradient-to-b from-primary-800/75 to-primary-800/60","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.backVariant])}"><slot name="back"></slot></div><div part="back-secondary-gradient" class="${a("flip-card__gradient",{empty:"mb-auto",primary:"mb-auto","primary-100":"mb-auto","gradient-light-top":"bg-gradient-to-b from-white/60 to-40% mb-auto","gradient-light-bottom":"bg-gradient-to-t from-white/60 to-40% mt-auto","gradient-dark-top":"bg-gradient-to-b from-primary-800/60 to-40% mb-auto","gradient-dark-bottom":"bg-gradient-to-t from-primary-800/60 to-40% mt-auto"}[this.backVariant])}"></div></div></div>`}};f.styles=[i,t.styles,e`:host{display:block;aspect-ratio:3/4;--name:'';--height:480px;height:var(--height)}.flip-card{perspective:100rem}.flip-card__side{backface-visibility:hidden}.flip-card__side--back{transform:rotateY(180deg)}.clicked--front{transform:rotateY(-180deg)}.clicked--back{transform:rotateY(0)}.flip-card__side--back.vertical{transform:rotateX(180deg)}.clicked--front.vertical{transform:rotateX(-180deg)}.clicked--back.vertical{transform:rotateX(0)}.flip-card__gradient{flex:.4 1 0}@media (hover:hover) and (pointer:fine){.flip-card:hover .flip-card__side--front.hover{transform:rotateY(-180deg)}.flip-card:hover .flip-card__side--back.hover{transform:rotateY(0)}.flip-card:hover .flip-card__side--front.hover.vertical{transform:rotateX(-180deg)}.flip-card:hover .flip-card__side--back.hover.vertical{transform:rotateX(0)}}`],s([o('[part="front"]')],f.prototype,"front",2),s([o('[part="back"]')],f.prototype,"back",2),s([n({reflect:!0})],f.prototype,"activation",2),s([n({reflect:!0,attribute:"flip-direction"})],f.prototype,"flipDirection",2),s([n({type:String,reflect:!0,attribute:"front-variant"})],f.prototype,"frontVariant",2),s([n({type:String,reflect:!0,attribute:"back-variant"})],f.prototype,"backVariant",2),f=s([l("sd-flipcard")],f);export{f as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{x as t}from"./solid-components2.js";const e=new WeakMap,i=new WeakMap,s=new WeakMap,o=new WeakMap;class a{constructor(t,i){this.handleFormData=t=>{const e=this.options.disabled(this.host),i=this.options.name(this.host),s=this.options.value(this.host),o="sd-button"===this.host.tagName.toLowerCase();!e&&!o&&"string"==typeof i&&i.length>0&&typeof s<"u"&&(Array.isArray(s)?s.forEach((e=>{t.formData.append(i,e.toString())})):t.formData.append(i,s.toString()))},this.handleFormSubmit=t=>{var i,s;const o=this.options.disabled(this.host),a=this.options.reportValidity;if(this.form&&!this.form.noValidate&&(null==(i=e.get(this.form))||i.forEach((t=>{this.setUserInteracted(t,!0)}))),this.form&&!this.form.noValidate&&!o&&!a(this.host)){t.preventDefault(),t.stopImmediatePropagation();const e=null==(s=this.form)?void 0:s.querySelectorAll("[data-invalid]");Array.from(e).filter((t=>"sd-radio-group"===t.tagName.toLowerCase())).forEach((t=>{var e,i;null==(i=null==(e=t.shadowRoot)?void 0:e.querySelector("input"))||i.dispatchEvent(new Event("invalid"))})),null!=e&&e.length&&e[0].focus()}},this.handleFormReset=()=>{this.options.setValue(this.host,this.options.defaultValue(this.host)),this.setUserInteracted(this.host,!1),o.set(this.host,[])},this.handleInteraction=t=>{const e=o.get(this.host);e.includes(t.type)||e.push(t.type),e.length===this.options.assumeInteractionOn.length&&this.setUserInteracted(this.host,!0)},this.fakeUserInteraction=()=>{this.setUserInteracted(this.host,!0)},(this.host=t).addController(this),this.options={form:t=>{if(t.hasAttribute("form")&&""!==t.getAttribute("form")){const e=t.getRootNode(),i=t.getAttribute("form");if(i)return e.getElementById(i)}return t.closest("form")},name:t=>t.name,value:t=>t.value,defaultValue:t=>t.defaultValue,disabled:t=>t.disabled??!1,reportValidity:t=>"function"!=typeof t.reportValidity||t.reportValidity(),setValue:(t,e)=>t.value=e,assumeInteractionOn:["sd-input"],...i}}hostConnected(){const t=this.options.form(this.host);t&&this.attachForm(t),o.set(this.host,[]),this.options.assumeInteractionOn.forEach((t=>{this.host.addEventListener(t,this.handleInteraction)}))}hostDisconnected(){this.detachForm(),o.delete(this.host),this.options.assumeInteractionOn.forEach((t=>{this.host.removeEventListener(t,this.handleInteraction)}))}hostUpdated(){var t;const e=this.options.form(this.host);e||this.detachForm(),e&&this.form!==e&&(this.detachForm(),this.attachForm(e)),this.host.hasUpdated&&(this.setValidity(null==(t=this.host)?void 0:t.validity.valid),this.updateValidityStyle())}attachForm(t){t?(this.form=t,e.has(this.form)?e.get(this.form).add(this.host):e.set(this.form,new Set([this.host])),this.form.addEventListener("formdata",this.handleFormData),this.form.addEventListener("submit",this.handleFormSubmit),this.form.addEventListener("reset",this.handleFormReset),i.has(this.form)||(i.set(this.form,this.form.reportValidity),this.form.reportValidity=()=>this.reportFormValidity())):this.form=void 0}detachForm(){var t;this.form&&(null==(t=e.get(this.form))||t.delete(this.host),this.form.removeEventListener("formdata",this.handleFormData),this.form.removeEventListener("submit",this.handleFormSubmit),this.form.removeEventListener("reset",this.handleFormReset),i.has(this.form)&&(this.form.reportValidity=i.get(this.form),i.delete(this.form))),this.form=void 0}reportFormValidity(){if(this.form&&!this.form.noValidate){const t=this.form.querySelectorAll("*");for(const e of t)if("function"==typeof e.reportValidity&&!e.reportValidity())return!1}return!0}setUserInteracted(t,e){s.set(t,e),t.requestUpdate()}doAction(t,e){if(this.form){const i=document.createElement("button");i.type=t,i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.clipPath="inset(50%)",i.style.overflow="hidden",i.style.whiteSpace="nowrap",e&&(i.name=e.name,i.value=e.value,["formaction","formenctype","formmethod","formnovalidate","formtarget"].forEach((t=>{e.hasAttribute(t)&&i.setAttribute(t,e.getAttribute(t))}))),this.form.append(i),i.click(),i.remove()}}updateValidityStyle(){this.host.hasAttribute("data-user-valid")&&this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!0),this.host.showInvalidStyle=!1):this.host.hasAttribute("data-user-invalid")&&!this.host.checkValidity()?(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!0):(void 0!==this.host.showValidStyle&&(this.host.showValidStyle=!1),this.host.showInvalidStyle=!1)}getForm(){return this.form??null}renderInvalidMessage(){return t`<div id="invalid-message" class="text-error text-sm mt-2 text-left" part="invalid-message" aria-live="polite" ?hidden="${!this.host.showInvalidStyle}"></div>`}reset(t){this.doAction("reset",t)}submit(t){this.doAction("submit",t)}setValidity(t){var e;const i=this.host,o=!!s.get(i),a=!!i.required;null!=(e=this.form)&&e.noValidate?(i.removeAttribute("data-required"),i.removeAttribute("data-optional"),i.removeAttribute("data-invalid"),i.removeAttribute("data-valid"),i.removeAttribute("data-user-invalid"),i.removeAttribute("data-user-valid"),i.removeAttribute("aria-invalid")):(i.toggleAttribute("data-required",a),i.toggleAttribute("data-optional",!a),i.toggleAttribute("data-invalid",!t),i.toggleAttribute("data-valid",t),i.toggleAttribute("data-user-invalid",!t&&o),i.toggleAttribute("data-user-valid",t&&o),i.setAttribute("aria-invalid",(!t).toString()))}updateValidity(){const t=this.host;this.setValidity(null==t?void 0:t.validity.valid)}emitInvalidEvent(t){null==t||t.preventDefault();const e=new CustomEvent("sd-invalid",{bubbles:!1,composed:!1,cancelable:!0,detail:{}});t||e.preventDefault()}}const r=Object.freeze({badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1}),h=Object.freeze({...r,valid:!1,valueMissing:!0}),n=Object.freeze({...r,valid:!1,customError:!0});export{a as F,h as a,n as c,r as v};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as e,x as t,c as r,i as s,n as a,a as i}from"./solid-components2.js";import{d}from"./debounce.js";var l=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=(e,t,r,s)=>{for(var a,i=s>1?void 0:s?n(t,r):t,d=e.length-1;d>=0;d--)(a=e[d])&&(i=(s?a(t,r,i):a(i))||i);return s&&i&&l(t,r,i),i};let h=class extends e{constructor(){super(...arguments),this.fixed=!1}connectedCallback(){super.connectedCallback(),this.setCalculatedHeightProperty=this.setCalculatedHeightProperty.bind(this),this.addResizeObserver=this.addResizeObserver.bind(this)}firstUpdated(){this.toggleHeightCalculation()}toggleHeightCalculation(){var e;this.fixed?(this.setCalculatedHeightProperty(),this.addResizeObserver()):(this.setCalculatedHeightProperty(),null==(e=this.resizeObserver)||e.disconnect(),this.resizeObserver=void 0)}disconnectedCallback(){super.disconnectedCallback()}updated(e){super.updated(e),e.has("fixed")&&this.toggleHeightCalculation()}onResize(){this.fixed&&this.setCalculatedHeightProperty()}addResizeObserver(){this.resizeObserver=new ResizeObserver((()=>{this.onResize()})),this.refHeaderElement&&this.resizeObserver.observe(this.refHeaderElement)}setCalculatedHeightProperty(){this.fixed&&this.refHeaderElement?document.documentElement.style.setProperty("--sd-header-calculated-height",`${this.refHeaderElement.clientHeight}px`):document.documentElement.style.removeProperty("--sd-header-calculated-height")}render(){return t`<header class="w-full bg-white relative" role="banner" @slotchange="${this.handleSlotChange}"><div part="main" class="relative mx-auto my-0 box-border"><slot></slot></div></header>`}handleSlotChange(e){e.target.assignedElements().length>0&&(this.refHeaderElement=e.currentTarget,this.setCalculatedHeightProperty())}};h.styles=[e.styles,r,s`:host{display:block}:host([fixed]){position:fixed;left:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);width:100%}:host([fixed]) header::after{content:'';position:absolute;left:var(--sd-spacing-0,0);right:var(--sd-spacing-0,0);top:100%;height:var(--sd-spacing-2,.5rem);background:var(--gradient-vertical-black-40-transparent,linear-gradient(0deg,#18181800 50%,#18181866 100%))}[part=main]{width:var(--sd-header-inner-width);max-width:var(--sd-header-inner-max-width);padding:var(--sd-header-padding,12px 16px)}`],o([a({reflect:!0,type:Boolean})],h.prototype,"fixed",2),o([d(100)],h.prototype,"onResize",1),h=o([i("sd-header")],h);export{h as default};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import{T as t,w as e,S as r,f as s,u as i,g as o,x as a,c as l,i as n,n as c,a as h}from"./solid-components2.js";import{r as d}from"./state.js";import{requestIcon as p}from"./request.js";import{e as u,i as b,t as g}from"./directive.js";import{w as y}from"./watch.js";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/class m extends b{constructor(e){if(super(e),this.it=t,e.type!==g.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===t||null==r)return this._t=void 0,this.it=r;if(r===e)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}}m.directiveName="unsafeHTML",m.resultType=1;const v=u(m);
|
7
|
-
/**
|
8
|
-
* @license
|
9
|
-
* Copyright 2017 Google LLC
|
10
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
11
|
-
*/class f extends m{}f.directiveName="unsafeSVG",f.resultType=2;const w=u(f);var x=Object.defineProperty,j=Object.getOwnPropertyDescriptor,C=(t,e,r,s)=>{for(var i,o=s>1?void 0:s?j(e,r):e,a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s?i(e,r,o):i(o))||o);return s&&o&&x(e,r,o),o};let T,_=class extends r{constructor(){super(...arguments),this.svg="",this.label="",this.library="default",this.color="currentColor"}connectedCallback(){super.connectedCallback(),s(this)}firstUpdated(){this.setIcon()}disconnectedCallback(){super.disconnectedCallback(),i(this)}getUrl(){const t=o(this.library);return this.name&&t?t.resolver(this.name):this.src}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const e=o(this.library),r=this.getUrl();if(T||(T=new DOMParser),r)try{const s=await p(r);if(r===this.getUrl())if(s.ok){const r=T.parseFromString(s.svg,"text/html").body.querySelector("svg");null!==r?(null==(t=null==e?void 0:e.mutator)||t.call(e,r),this.svg=r.outerHTML,this.emit("sd-load")):(this.svg="",this.emit("sd-error"))}else this.svg="",this.emit("sd-error")}catch{this.emit("sd-error")}else this.svg.length>0&&(this.svg="")}render(){return a`${w(this.svg)}`}};_.styles=[l,n`:host{width:1em;height:1em;box-sizing:content-box!important;display:inline-block}svg{display:block;height:100%;width:100%}:host([color=primary]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142) / var(--tw-text-opacity))}:host([color=white]) svg{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255) / var(--tw-text-opacity))}`],C([d()],_.prototype,"svg",2),C([c({reflect:!0})],_.prototype,"name",2),C([c()],_.prototype,"src",2),C([c()],_.prototype,"label",2),C([c({reflect:!0})],_.prototype,"library",2),C([c({reflect:!0})],_.prototype,"color",2),C([y("label")],_.prototype,"handleLabelChange",1),C([y(["name","src","library"])],_.prototype,"setIcon",1),_=C([h("sd-icon")],_);const k=Object.freeze(Object.defineProperty({__proto__:null,get default(){return _}},Symbol.toStringTag,{value:"Module"}));export{_ as S,k as i,v as o};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,x as e,c as r,i as s,n as o,a as i}from"./solid-components2.js";import{requestInclude as a}from"./request2.js";import{w as c}from"./watch.js";var l=Object.defineProperty,n=Object.getOwnPropertyDescriptor,p=(t,e,r,s)=>{for(var o,i=s>1?void 0:s?n(e,r):e,a=t.length-1;a>=0;a--)(o=t[a])&&(i=(s?o(e,r,i):o(i))||i);return s&&i&&l(e,r,i),i};let d=class extends t{constructor(){super(...arguments),this.mode="cors",this.allowScripts=!1}executeScript(t){const e=document.createElement("script");[...t.attributes].forEach((t=>e.setAttribute(t.name,t.value))),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}async handleSrcChange(){try{const t=this.src,e=await a(t,this.mode);if(t!==this.src)return;if(!e.ok)return void this.emit("sd-error",{detail:{status:e.status}});this.innerHTML=e.html,this.allowScripts&&[...this.querySelectorAll("script")].forEach((t=>this.executeScript(t))),this.emit("sd-load")}catch{this.emit("sd-error",{detail:{status:-1}})}}render(){return e`<slot></slot>`}};d.styles=[r,s`:host{display:block}`],p([o()],d.prototype,"src",2),p([o()],d.prototype,"mode",2),p([o({attribute:"allow-scripts",type:Boolean})],d.prototype,"allowScripts",2),p([c("src")],d.prototype,"handleSrcChange",1),d=p([i("sd-include")],d);export{d as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import"./icon.js";import{T as t,w as e,S as s,L as i,x as l,t as a,c as o,i as n,e as r,n as h,a as d}from"./solid-components2.js";import{d as p}from"./default-value.js";import{F as u}from"./form.js";import{H as c}from"./slot.js";import{o as m}from"./if-defined.js";import{f as b,l as y}from"./live.js";import{i as v,t as f,e as $}from"./directive.js";import{r as g}from"./state.js";import{w}from"./watch.js";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2017 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/const x=(t,e)=>{var s;const i=t._$AN;if(void 0===i)return!1;for(const t of i)null==(s=t._$AO)||s.call(t,e,!1),x(t,e);return!0},C=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===(null==s?void 0:s.size))},k=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),S(e)}};function A(t){void 0!==this._$AN?(C(this),this._$AM=t,k(this)):this._$AM=t}function V(t,e=!1,s=0){const i=this._$AH,l=this._$AN;if(void 0!==l&&0!==l.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)x(i[t],!1),C(i[t]);else null!=i&&(x(i,!1),C(i));else x(this,t)}const S=t=>{t.type==f.CHILD&&(t._$AP??(t._$AP=V),t._$AQ??(t._$AQ=A))};class D extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),k(this),this.isConnected=t._$AU}_$AO(t,e=!0){var s,i;t!==this.isConnected&&(this.isConnected=t,t?null==(s=this.reconnected)||s.call(this):null==(i=this.disconnected)||i.call(this)),e&&(x(this,t),C(this))}setValue(t){if(b(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const _=$(class extends D{constructor(t){if(super(t),this.handlePointerDown=t=>{0!==t.button||this.host.disabled||this.spinOnLongPressCallback(t)},this.handlePointerUp=t=>{null==t||t.preventDefault(),null==t||t.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)},t.type!==f.ELEMENT||!(t.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return t}update(t,[s]){return void 0===this.callbacks&&void 0===this.host&&(this.host=t.element,this.callbacks={...s},this.host.addEventListener("pointerdown",this.handlePointerDown)),e}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(t){var e;t.preventDefault(),t.stopPropagation(),this.timeout=setTimeout((()=>{this.timeout=void 0,this.interval=setInterval((()=>{this.callbacks.start()}),50)}),500),document.addEventListener("pointerup",this.handlePointerUp),null==(e=this.observer)||e.disconnect(),this.observer=new MutationObserver((t=>{t.forEach((t=>{"disabled"===t.attributeName&&this.stopSpinningAndCleanUp()}))})),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var t;clearInterval(this.interval),clearTimeout(this.timeout),null==(t=this.observer)||t.disconnect()}});var P,I=Object.defineProperty,T=Object.getOwnPropertyDescriptor,U=(t,e,s,i)=>{for(var l,a=i>1?void 0:i?T(e,s):e,o=t.length-1;o>=0;o--)(l=t[o])&&(a=(i?l(e,s,a):l(a))||a);return i&&a&&I(e,s,a),a};const z=!(null==(P=navigator.userAgentData)?void 0:P.brands.some((t=>t.brand.includes("Chromium"))))&&navigator.userAgent.includes("Firefox");let E=class extends s{constructor(){super(...arguments),this.formControlController=new u(this),this.hasSlotController=new c(this,"help-text","label","left","right","message","placeholder"),this.localize=new i(this),this.hasFocus=!1,this.showValidStyle=!1,this.showInvalidStyle=!1,this.type="text",this.size="lg",this.value="",this.defaultValue="",this.placeholder="",this.label="",this.helpText="",this.clearable=!1,this.disabled=!1,this.readonly=!1,this.passwordToggle=!1,this.passwordVisible=!1,this.spinButtons=!1,this.form="",this.name="",this.title="",this.required=!1,this.styleOnValid=!1,this.spellcheck=!0}get valueAsDate(){var t;return(null==(t=this.input)?void 0:t.valueAsDate)??null}set valueAsDate(t){const e=document.createElement("input");e.type="date",e.valueAsDate=t,this.value=e.value}get valueAsNumber(){var t;return(null==(t=this.input)?void 0:t.valueAsNumber)??parseFloat(this.value)}set valueAsNumber(t){const e=document.createElement("input");e.type="number",e.valueAsNumber=t,this.value=e.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(t){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleKeyDown(t){const e=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;"Enter"===t.key&&!e&&setTimeout((()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()}))}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(void 0===this.min||null===this.min)return!1;const t="string"==typeof this.min?parseFloat(this.min):this.min;return this.valueAsNumber<=t}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(void 0===this.max||null===this.max)return!1;const t="string"==typeof this.max?parseFloat(this.max):this.max;return this.valueAsNumber>=t}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(t,e,s="none"){this.input.setSelectionRange(t,e,s)}setRangeText(t,e,s,i){this.input.setRangeText(t,e,s,i),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var t;return null==(t=this.input)?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),s=(this.hasSlotController.test("description"),this.hasSlotController.test("left")),i=this.hasSlotController.test("right"),o=!!this.label||!!t,n=!!this.helpText||!!e,r=this.clearable&&!this.readonly&&("number"==typeof this.value||this.value.length>0),h=this.disabled?"disabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",d="sm"===this.size?"text-sm":"text-base",p={disabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[h],u=this.disabled?"text-neutral-500":"text-primary",c={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return l`<div part="form-control" class="${a(this.disabled&&"pointer-events-none")}"><div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(o?"inline-block":"hidden",d)}" for="input" aria-hidden="${o?"false":"true"}"><slot name="label">${this.label}</slot></label><slot name="tooltip"></slot></div><div part="form-control-input" class="relative w-full"><div part="border" class="${a("absolute w-full h-full pointer-events-none border rounded-default",p)}"></div><div part="base" class="${a("px-4 flex flex-row items-center rounded-default transition-all","lg"===this.size?"py-2":"py-1",this.disabled||this.readonly?"":"hover:bg-neutral-200",this.readonly?"bg-neutral-100":"bg-white","disabled"===h?"text-neutral-500":"text-black")}">${s?l`<slot name="left" part="left" class="${a("inline-flex","sm"===this.size?"mr-1":"mr-2",u,b)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700","sm"===this.size?"h-6":"h-8",d)}" type="${"password"===this.type&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${m(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${m(this.placeholder)}" minlength="${m(this.minlength)}" maxlength="${m(this.maxlength)}" min="${m(this.min)}" max="${m(this.max)}" step="${m(this.step)}" .value="${y(this.value)}" autocapitalize="${m("password"===this.type?"off":this.autocapitalize)}" autocomplete="${m("password"===this.type?"off":this.autocomplete)}" autocorrect="${m("password"===this.type?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${m(this.pattern)}" enterkeyhint="${m(this.enterkeyhint)}" inputmode="${m(this.inputmode)}" aria-describedby="help-text invalid-message" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${r?l`<button part="clear-button" class="${a("flex justify-center ",c)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a("icon-fill-neutral-800",b)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&"password"===this.type?l`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible?l`<slot name="show-password-icon"><sd-icon class="${a(u,c,b)}" library="system" name="eye"></sd-icon></slot>`:l`<slot name="hide-password-icon"><sd-icon class="${a(u,c,b)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${"date"!==this.type&&"datetime-local"!==this.type||z?"":l`<sd-icon class="${a(u,c,b)}" library="system" name="calendar"></sd-icon>`} ${"time"===this.type?l`<sd-icon class="${a(u,c,b)}" library="system" name="clock"></sd-icon>`:""} ${"search"===this.type?l`<button class="flex items-center" type="button" tabindex="-1"><sd-icon class="${a(u,c,b)}" library="system" name="magnifying-glass"></sd-icon></button>`:""} ${this.showInvalidStyle?l`<sd-icon part="invalid-icon" class="${a("text-error",c,b)}" library="system" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?l`<sd-icon class="${a("text-success flex-shrink-0",c,b)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""} ${i?l`<slot name="right" part="right" class="${a("inline-flex",u,c,b)}"></slot>`:""} ${"number"===this.type&&this.spinButtons?l`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${_({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-icon name="system/minus-circle" label="Decrease value" class="${a(u,c,b)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${_({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon name="system/plus-circle" label="Decrease value" class="${a(u,c,b)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700",n?"block":"hidden")}" aria-hidden="${!n}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};E.styles=[o,s.styles,n`:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) #label::after{content:' *'}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-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174) / var(--tw-text-opacity))}`],U([r("#input")],E.prototype,"input",2),U([r("#invalid-message")],E.prototype,"invalidMessage",2),U([g()],E.prototype,"hasFocus",2),U([g()],E.prototype,"showValidStyle",2),U([g()],E.prototype,"showInvalidStyle",2),U([h({reflect:!0})],E.prototype,"type",2),U([h({reflect:!0})],E.prototype,"size",2),U([h()],E.prototype,"inputmode",2),U([h()],E.prototype,"value",2),U([p()],E.prototype,"defaultValue",2),U([h()],E.prototype,"placeholder",2),U([h()],E.prototype,"label",2),U([h({attribute:"help-text"})],E.prototype,"helpText",2),U([h({type:Boolean})],E.prototype,"clearable",2),U([h({type:Boolean,reflect:!0})],E.prototype,"disabled",2),U([h({type:Boolean,reflect:!0})],E.prototype,"readonly",2),U([h({attribute:"password-toggle",type:Boolean})],E.prototype,"passwordToggle",2),U([h({attribute:"password-visible",type:Boolean})],E.prototype,"passwordVisible",2),U([h({attribute:"spin-buttons",type:Boolean})],E.prototype,"spinButtons",2),U([h({type:Number})],E.prototype,"minlength",2),U([h({type:Number})],E.prototype,"maxlength",2),U([h()],E.prototype,"min",2),U([h()],E.prototype,"max",2),U([h({reflect:!0})],E.prototype,"form",2),U([h()],E.prototype,"name",2),U([h()],E.prototype,"title",2),U([h({type:Boolean,reflect:!0})],E.prototype,"required",2),U([h()],E.prototype,"pattern",2),U([h()],E.prototype,"step",2),U([h()],E.prototype,"autocapitalize",2),U([h()],E.prototype,"autocorrect",2),U([h()],E.prototype,"autocomplete",2),U([h({type:Boolean})],E.prototype,"autofocus",2),U([h()],E.prototype,"enterkeyhint",2),U([h({type:Boolean,reflect:!0,attribute:"style-on-valid"})],E.prototype,"styleOnValid",2),U([h({type:Boolean,converter:{fromAttribute:t=>!(!t||"false"===t),toAttribute:t=>t?"true":"false"}})],E.prototype,"spellcheck",2),U([w("disabled",{waitUntilFirstUpdate:!0})],E.prototype,"handleDisabledChange",1),U([w("step",{waitUntilFirstUpdate:!0})],E.prototype,"handleStepChange",1),U([w("value",{waitUntilFirstUpdate:!0})],E.prototype,"handleValueChange",1),E=U([d("sd-input")],E);export{E as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
const e='.sd-interactive--reset,.sd-prose a--reset{all:unset;outline:revert}.sd-interactive,.sd-prose a{cursor:pointer;--tw-text-opacity:1;color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-text-opacity));text-decoration-line:underline;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.sd-interactive:hover:not([disabled]),.sd-prose a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-500,70 109 175)/var(--tw-text-opacity))}.sd-interactive:active:not([disabled]),.sd-prose a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-800,5 21 48)/var(--tw-text-opacity))}.sd-interactive:is(.sd-interactive),.sd-prose a:is(.sd-interactive){text-decoration-line:none}.sd-interactive:focus-visible,.sd-prose a:focus-visible{outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}.sd-interactive--disabled,.sd-interactive[disabled],.sd-interactive[href=""],.sd-prose a--disabled,.sd-prose a[disabled],.sd-prose a[href=""]{cursor:not-allowed;--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--disabled:active:not([disabled]),.sd-interactive--disabled:hover:not([disabled]),.sd-interactive[disabled]:active:not([disabled]),.sd-interactive[disabled]:hover:not([disabled]),.sd-interactive[href=""]:active:not([disabled]),.sd-interactive[href=""]:hover:not([disabled]),.sd-prose a--disabled:active:not([disabled]),.sd-prose a--disabled:hover:not([disabled]),.sd-prose a[disabled]:active:not([disabled]),.sd-prose a[disabled]:hover:not([disabled]),.sd-prose a[href=""]:active:not([disabled]),.sd-prose a[href=""]:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-600,136 136 136)/var(--tw-text-opacity))}.sd-interactive--inverted,.sd-prose--inverted a{--tw-text-opacity:1;color:rgb(var(--sd-color-white,255 255 255)/var(--tw-text-opacity))}.sd-interactive--inverted:hover:not([disabled]),.sd-prose--inverted a:hover:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-200,224 233 243)/var(--tw-text-opacity))}.sd-interactive--inverted:active:not([disabled]),.sd-prose--inverted a:active:not([disabled]){--tw-text-opacity:1;color:rgb(var(--sd-color-primary-400,153 171 208)/var(--tw-text-opacity))}.sd-interactive--inverted:focus-visible,.sd-prose--inverted a:focus-visible{outline-color:rgb(var(--sd-color-white,255 255 255)/1);outline-offset:2px;outline-style:solid;outline-width:2px}';export{e as I};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,x as e,t as s,i,e as o,n as r,a as n}from"./solid-components2.js";import{H as l}from"./slot.js";import{o as a}from"./if-defined.js";var h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,e,s,i)=>{for(var o,r=i>1?void 0:i?d(e,s):e,n=t.length-1;n>=0;n--)(o=t[n])&&(r=(i?o(e,s,r):o(r))||r);return i&&r&&h(e,s,r),r};let c=class extends t{constructor(){super(...arguments),this.hasSlotController=new l(this,"[default]","icon-left","icon-right"),this.standalone=!1,this.size="inherit",this.inverted=!1,this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}focus(t){this.button.focus(t)}blur(){this.button.blur()}render(){const t={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return e`<a part="base" class="${s("inline",this.href?"cursor-pointer":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:text-primary-800 focus-visible:focus-outline"}[this.href?"enabled":"disabled"],this.standalone&&"flex items-start")}" href="${a(this.href||void 0)}" target="${a(this.target||void 0)}" download="${a(this.download)}" rel="${a(this.target?"noreferrer noopener":void 0)}" aria-disabled="${this.href?"false":"true"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"><slot name="icon-left" part="icon-left" class="${s("inline",t["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${s("inline",t["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};c.styles=[t.styles,i`::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-base,1rem)}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-font-size-xl,1.5rem)}`],f([o("a")],c.prototype,"button",2),f([r({type:Boolean,reflect:!0})],c.prototype,"standalone",2),f([r({reflect:!0})],c.prototype,"size",2),f([r({type:Boolean,reflect:!0})],c.prototype,"inverted",2),f([r()],c.prototype,"href",2),f([r()],c.prototype,"target",2),f([r()],c.prototype,"download",2),c=f([n("sd-link")],c);export{c as default};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import{w as e,T as t}from"./solid-components2.js";import{e as r,i,t as n}from"./directive.js";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2020 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/const s=e=>void 0===e.strings,o={},T=r(class extends i{constructor(e){if(super(e),e.type!==n.PROPERTY&&e.type!==n.ATTRIBUTE&&e.type!==n.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!s(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(r,[i]){if(i===e||i===t)return i;const s=r.element,T=r.name;if(r.type===n.PROPERTY){if(i===s[T])return e}else if(r.type===n.BOOLEAN_ATTRIBUTE){if(!!i===s.hasAttribute(T))return e}else if(r.type===n.ATTRIBUTE&&s.getAttribute(T)===i+"")return e;return((e,t=o)=>{e._$AH=t;
|
7
|
-
/**
|
8
|
-
* @license
|
9
|
-
* Copyright 2020 Google LLC
|
10
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
11
|
-
*/})(r),i}});export{s as f,T as l};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,j as a,t as e,c as i,i as r,n as s,a as n}from"./solid-components2.js";import{s as l,n as o}from"./static.js";import{o as c}from"./if-defined.js";var h=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(t,a,e,i)=>{for(var r,s=i>1?void 0:i?v(a,e):a,n=t.length-1;n>=0;n--)(r=t[n])&&(s=(i?r(a,e,s):r(s))||s);return i&&s&&h(a,e,s),s};let f=class extends t{constructor(){super(...arguments),this.variant="main",this.state="default",this.animated=!1,this.notInteractive=!1,this.href="",this.marker={cluster:a`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><circle cx="25" cy="25" opacity="1" r="20"/><circle cx="25" cy="25" opacity=".3" r="25"/></svg>`,main:a`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z"/><circle cx="30" cy="28" r="10" fill="#fff"/></svg>`,place:a`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 75"><path fill-rule="evenodd" d="M51 49A29 29 0 0 0 30 0 29 29 0 0 0 9 49l21 22 21-22Z" clip-rule="evenodd"/></svg>`}}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}isLink(){return!!this.href}render(){const t=this.isLink(),a=this.notInteractive?l`div`:t?l`a`:l`button`;return o`<${a} part="base" class="${e("flex justify-center",!this.notInteractive&&"focus:outline focus:outline-2 focus:outline-primary focus:outline-offset-2")}" href="${c(t?this.href:void 0)}" target="${c(t?this.target:void 0)}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" role="${c(this.notInteractive||t?void 0:"button")}" aria-labelledby="${c(this.notInteractive?void 0:"content")}"><div part="marker" class="${e("inline-flex",this.animated&&("main"===this.variant||"place"===this.variant)&&"animate-bounce-once","cluster"===this.variant&&"hover"===this.state&&"scale-110 fill-primary-500","cluster"===this.variant&&!this.notInteractive&&"transition-all duration-200 ease-in-out hover:scale-110 hover:fill-primary-500","main"===this.variant&&"hover"===this.state&&"fill-accent-550","main"===this.variant&&"active"===this.state&&"fill-accent-700","main"===this.variant&&!this.notInteractive&&"hover:fill-accent-550 active:fill-accent-700","place"===this.variant&&"default"===this.state&&"fill-white","place"===this.variant&&"hover"===this.state&&"fill-primary-100","place"===this.variant&&"active"===this.state&&"fill-primary-200","place"===this.variant&&!this.notInteractive&&"hover:fill-primary-100",{cluster:"fill-primary",main:"fill-accent *:drop-shadow-md",place:"*:drop-shadow-md"}[this.variant])}">${this.marker[this.variant]}</div><div id="content" part="content" class="${e("absolute self-center pointer-events-none","cluster"===this.variant&&"font-bold text-white")}"><slot></slot></div></${a}>`}};f.styles=[i,t.styles,r`:host{display:block}:host([variant=cluster]) [part=base],svg{width:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=base]{height:calc(var(--sd-spacing-12,3rem) * var(--map-marker-scaling,1))}:host(:not([variant=cluster])) [part=base]{height:calc(var(--sd-spacing-16,4rem) * var(--map-marker-scaling,1))}:host([variant=cluster]) [part=content]{font-size:calc(var(--sd-font-size-sm,.875rem) * var(--map-marker-scaling,1))}:host([variant=place]) [part=content]{font-size:calc(var(--sd-font-size-3xl,2rem) * var(--map-marker-scaling,1))}`],p([s({reflect:!0})],f.prototype,"variant",2),p([s({reflect:!0})],f.prototype,"state",2),p([s({type:Boolean,reflect:!0})],f.prototype,"animated",2),p([s({type:Boolean,reflect:!0,attribute:"not-interactive"})],f.prototype,"notInteractive",2),p([s()],f.prototype,"href",2),p([s()],f.prototype,"target",2),f=p([n("sd-map-marker")],f);export{f as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{g as e}from"./tabbable.js";let t=[];class n{constructor(e){this.tabDirection="forward",this.element=e,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){t.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){t=t.filter((e=>e!==this.element)),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return t[t.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:t,end:n}=e(this.element),i="forward"===this.tabDirection?t:n;"function"==typeof(null==i?void 0:i.focus)&&i.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(e){"Tab"===e.key&&e.shiftKey&&(this.tabDirection="backward",requestAnimationFrame((()=>this.checkFocus())))}handleKeyUp(){this.tabDirection="forward"}}export{n as M};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,t as e,c as i,r as s,i as r,e as a,n as o,a as l}from"./solid-components2.js";import{H as n}from"./slot.js";import{s as d,n as h}from"./static.js";import{o as p}from"./if-defined.js";import{I as c}from"./interactive.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,f=(t,e,i,s)=>{for(var r,a=s>1?void 0:s?v(e,i):e,o=t.length-1;o>=0;o--)(r=t[o])&&(a=(s?r(e,i,a):r(a))||a);return s&&a&&u(e,i,a),a};let b=class extends t{constructor(){super(...arguments),this.hasSlotController=new n(this,"[default]","description","children"),this.vertical=!1,this.size="base",this.current=!1,this.disabled=!1,this.chevron=!1,this.relaxed=!1,this.divider=!1,this.indented=!1,this.open=!1,this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.href&&this.hasSlotController.test("children")}handleClickButton(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}handleClickSummary(t){t.preventDefault(),t.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.isAccordion&&!this.isLink?d`summary`:this.separated?d`div`:this.isLink?d`a`:d`button`}render(){const t=this.tag,i=this.isLink,s=this.isButton,r=this.isAccordion,a=(this.hasSlotController.test("[default]"),this.hasSlotController.test("main"),this.hasSlotController.test("description")),o=this.hasSlotController.test("children"),l=this.vertical?"pb-3":"pb-2",n=h`<${t} part="base" class="${e("cursor-pointer relative focus-visible:focus-outline",{base:"text-base",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"text-primary",r?"flex flex-col":"inline-block w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&"inline-flex items-center",!this.separated&&"hover:bg-neutral-200 group transition-all min-h-[48px] px-4")}" aria-controls="${p(r?"navigation-item-details":void 0)}" aria-current="${p(this.current?"page":void 0)}" aria-disabled="${this.disabled}" ?disabled="${p(s?this.disabled:void 0)}" href="${p(i?this.href:void 0)}" target="${p(i?this.target:void 0)}" download="${p(i?this.download:void 0)}" rel="${p(i&&this.target?"noreferrer noopener":void 0)}" role="${i?"link":"button"}" tabindex="${this.disabled||this.separated?"-1":"0"}" @click="${this.separated?void 0:r?this.handleClickSummary:s?this.handleClickButton:void 0}"><div part="current-indicator" class="${e("absolute left-0 pointer-events-none transition-all duration-150",this.vertical?"w-1 h-[calc(100%-16px)] top-2 group-hover:h-full group-hover:top-0":"h-1 w-full bottom-0",this.current?"bg-accent":"bg-transparent",this.disabled&&"bg-neutral-500")}"></div><span part="content-area" class="${e("relative pt-3 inline-flex justify-between items-center",r?"grow":"w-full",a||this.separated?"pb-1":l,this.calculatePaddingX)}">${this.divider&&this.vertical?h`<sd-divider part="divider" class="${e("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-divider>`:""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated?h`<a class="${e("mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-all min-h-[48px]",!a&&"py-4")}" href="${p(i?this.href:void 0)}" target="${p(i?this.target:void 0)}" download="${p(i?this.download:void 0)}"><slot part="content" class="inline"></slot></a>`:h`<slot part="content" class="inline"></slot>`} </span>${(this.chevron||o)&&this.vertical?this.separated?h`<button type="button" title="toggle-details" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${e("mr-4 h-6 w-6 transition-all",r||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon></button>`:h`<sd-icon name="chevron-down" part="chevron" library="system" color="currentColor" class="${e("h-6 w-6 ml-2 transition-all",r?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-icon>`:""} </span>${a&&this.vertical?h`<slot name="description" part="description" class="${e("inline-block text-sm text-left text-black",r||this.separated?"grow":"w-full",this.separated?"px-4":this.calculatePaddingX,l)}"></slot>`:""}</${t}>`;return r?h`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative flex">${n}<slot name="children"></slot></details>`:this.separated?h`<div part="details" id="navigation-item-details" class="relative flex flex-col">${n}${this.open?h`<slot name="children"></slot>`:""}</div>`:h`${n}`}};b.styles=[i,t.styles,s(c),r`:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}details summary::-webkit-details-marker{display:none}`],f([a('a[part="base"], button[part="base"]')],b.prototype,"button",2),f([o({type:Boolean,reflect:!0})],b.prototype,"vertical",2),f([o({reflect:!0})],b.prototype,"size",2),f([o({reflect:!0})],b.prototype,"href",2),f([o()],b.prototype,"target",2),f([o()],b.prototype,"download",2),f([o({type:Boolean,reflect:!0})],b.prototype,"current",2),f([o({type:Boolean,reflect:!0})],b.prototype,"disabled",2),f([o({type:Boolean,reflect:!0})],b.prototype,"chevron",2),f([o({type:Boolean,reflect:!0})],b.prototype,"relaxed",2),f([o({type:Boolean,reflect:!0})],b.prototype,"divider",2),f([o({type:Boolean,reflect:!0})],b.prototype,"indented",2),f([o({type:Boolean,reflect:!0})],b.prototype,"open",2),f([o({type:Boolean,reflect:!0})],b.prototype,"separated",2),b=f([l("sd-navigation-item")],b);export{b as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{s as t,a as i}from"./animate.js";import{S as e,L as s,x as a,t as o,c as r,i as n,e as d,n as l,a as c}from"./solid-components2.js";import{g as h,s as u}from"./animation-registry.js";import{w as p}from"./event.js";import{w as m}from"./watch.js";var f=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=(t,i,e,s)=>{for(var a,o=s>1?void 0:s?b(i,e):i,r=t.length-1;r>=0;r--)(a=t[r])&&(o=(s?a(i,e,o):a(o))||o);return s&&o&&f(i,e,o),o};const w=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--top-right"}),g=Object.assign(document.createElement("div"),{className:"sd-toast-stack sd-toast-stack--bottom-center"});let v=class extends e{constructor(){super(...arguments),this.localize=new s(this),this.variant="info",this.open=!1,this.closable=!1,this.duration=1/0,this.durationIndicator=!1,this.toastStack="top-right",this.remainingDuration=this.duration,this.startTime=Date.now()}firstUpdated(){this.base.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>this.hide()),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout((()=>{this.hide()}),this.remainingDuration))}handleCloseClick(){this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await t(this.base),this.base.hidden=!1;const{keyframes:e,options:s}=h(this,"notification.show",{dir:this.localize.dir()});await i(this.base,e,s),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await t(this.base);const{keyframes:e,options:s}=h(this,"notification.hide",{dir:this.localize.dir()});await i(this.base,e,s),this.base.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,p(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,p(this,"sd-after-hide")}async toast(){return new Promise((t=>{const i="bottom-center"===this.toastStack?g:w;null===i.parentElement&&document.body.append(i),i.appendChild(this),requestAnimationFrame((()=>{this.clientWidth,this.show()})),this.addEventListener("sd-after-hide",(()=>{i.removeChild(this),t(),null===i.querySelector("sd-notification")&&i.remove()}),{once:!0})}))}render(){return a`<div part="base" class="${o("w-full overflow-hidden flex items-stretch relative m-2")}" role="alert" id="notification" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"warning"}[this.variant]||""}" library="system" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 border-neutral-400")}"><slot part="message" class="block w-full pl-3 py-2" aria-live="polite"></slot>${this.closable?a`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?a`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("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>`}};v.styles=[r,e.styles,n`:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],y([d('[part~="base"]')],v.prototype,"base",2),y([l({reflect:!0})],v.prototype,"variant",2),y([l({type:Boolean,reflect:!0})],v.prototype,"open",2),y([l({type:Boolean,reflect:!0})],v.prototype,"closable",2),y([l({type:Number})],v.prototype,"duration",2),y([l({type:Boolean,reflect:!0,attribute:"duration-indicator"})],v.prototype,"durationIndicator",2),y([l({reflect:!0,attribute:"toast-stack"})],v.prototype,"toastStack",2),y([m("open",{waitUntilFirstUpdate:!0})],v.prototype,"handleOpenChange",1),y([m("duration")],v.prototype,"handleDurationChange",1),v=y([c("sd-notification")],v),u("notification.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}}),u("notification.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});export{v as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as e,t,c as s,i as a,e as i,n as l,a as d}from"./solid-components2.js";import{n as o}from"./static.js";import{w as r}from"./watch.js";import n from"./divider.js";var p=Object.defineProperty,b=Object.getOwnPropertyDescriptor,c=(e,t,s,a)=>{for(var i,l=a>1?void 0:a?b(t,s):t,d=e.length-1;d>=0;d--)(i=e[d])&&(l=(a?i(t,s,l):i(l))||l);return a&&l&&p(t,s,l),l};let h=class extends e{constructor(){super(...arguments),this.disabled=!1,this.label=""}handleDisableOptions(){const{disabled:e}=this;this.defaultSlot.assignedElements().filter((e=>"sd-option"===e.tagName.toLowerCase())).forEach((t=>{t.disabled=e}))}handleDisabledChange(){this.handleDisableOptions()}render(){const{disabled:e}=this;return o`<div role="${e?"presentation":"group"}" class="${t(this.disabled?"text-neutral-500":"")}" part="base" aria-labelledby="group-label"><sd-divider id="divider" class="pt-2 pb-4" part="divider"></sd-divider><div part="label-container" class="${t(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="group" part="options"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`}};h.dependencies={"sd-divider":n},h.styles=[s,e.styles,a`:host{--display-divider:block}#divider{display:var(--display-divider)}`],c([i("slot:not([name])")],h.prototype,"defaultSlot",2),c([l({reflect:!0,type:Boolean})],h.prototype,"disabled",2),c([l()],h.prototype,"label",2),c([r("disabled",{waitUntilFirstUpdate:!0})],h.prototype,"handleDisabledChange",1),h=c([d("sd-optgroup")],h);export{h as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
const e=e=>e,n=(e,n)=>{if(!n)return e;const t=e.cloneNode(!0);t.selected=e.selected;const r=t.getTextLabel(),o=r.toLowerCase().indexOf(n.toLowerCase()),c=t.innerHTML.indexOf(r),i=document.createElement("mark");i.textContent=r.slice(o,o+n.length);const l=r.replace(new RegExp(n,"i"),i.outerHTML),s=t.innerHTML.slice(0,c),a=t.innerHTML.slice(c+r.length);return t.innerHTML=s.concat(l,a),t};export{e as defaultOptionRenderer,n as highlightOptionRenderer};
|
@@ -1 +0,0 @@
|
|
1
|
-
import"./icon.js";import{S as e,x as t,t as s,c as l,i as a,e as o,n as r,a as i}from"./solid-components2.js";import{H as n}from"./slot.js";import{r as h}from"./state.js";import{w as c}from"./watch.js";var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,u=(e,t,s,l)=>{for(var a,o=l>1?void 0:l?p(t,s):t,r=e.length-1;r>=0;r--)(a=e[r])&&(o=(l?a(t,s,o):a(o))||o);return l&&o&&d(t,s,o),o};let b=class extends e{constructor(){super(...arguments),this.hasSlotController=new n(this,"default","left","right"),this.current=!1,this.selected=!1,this.hasHover=!1,this.size="lg",this.checkbox=!1,this.disabled=!1,this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}handleDefaultSlotChange(){const e=this.getTextLabel();typeof this.cachedTextLabel>"u"?this.cachedTextLabel=e:e!==this.cachedTextLabel&&(this.cachedTextLabel=e,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){return(this.textContent??"").trim()}render(){this.hasSlotController.test("default");const e=this.hasSlotController.test("left"),l=this.hasSlotController.test("right");return t`<div part="base" class="${s("px-4 flex items-center w-full transition-all text-left text-base relative text-black",{sm:"text-sm py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${s("absolute w-full left-0 top-0 pointer-events-none transition-all duration-150 border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?t`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${s("relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",this.disabled?"border-neutral-500":this.selected?"bg-accent border-accent":"border-neutral-800")}">${this.selected?t`<sd-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-icon>`:""}</span>`:""} ${e?t`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${l?t`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};b.styles=[l,e.styles,a`:host{position:relative;display:block;width:100%;outline:2px solid transparent!important;outline-offset:2px!important}`],u([o('[part="base"]')],b.prototype,"defaultSlot",2),u([h()],b.prototype,"current",2),u([h()],b.prototype,"selected",2),u([h()],b.prototype,"hasHover",2),u([r({reflect:!0})],b.prototype,"size",2),u([r({type:Boolean,reflect:!0})],b.prototype,"checkbox",2),u([r({type:Boolean,reflect:!0})],b.prototype,"disabled",2),u([r({reflect:!0})],b.prototype,"value",2),u([c("disabled")],b.prototype,"handleDisabledChange",1),u([c("selected")],b.prototype,"handleSelectedChange",1),u([c("value")],b.prototype,"handleValueChange",1),b=u([i("sd-option")],b);export{b as default};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import{b as e}from"./solid-components2.js";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2021 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/function o(o){return(t,n)=>{const{slot:r,selector:s}=o??{},l="slot"+(r?`[name=${r}]`:":not([name])");return e(t,n,{get(){var e;const t=null==(e=this.renderRoot)?void 0:e.querySelector(l),n=(null==t?void 0:t.assignedElements(o))??[];return void 0===s?n:n.filter((e=>e.matches(s)))}})}}export{o};
|
@@ -1 +0,0 @@
|
|
1
|
-
import"./icon.js";import{x as e,t,i as a,n as s,a as i}from"./solid-components2.js";import{o}from"./if-defined.js";import{s as n}from"./animation-registry.js";import r from"./accordion.js";var l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=(e,t,a,s)=>{for(var i,o=s>1?void 0:s?d(t,a):t,n=e.length-1;n>=0;n--)(i=e[n])&&(o=(s?i(t,a,o):i(o))||o);return s&&o&&l(t,a,o),o};let p=class extends r{constructor(){super(...arguments),this.expandable=!1}render(){return e`<div part="base" class="sm:p-6"><header part="header" id="header" class="${t("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${o(this.expandable?"button":void 0)}" aria-expanded="${o(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${o(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${t("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${t("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${t("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-all ease-in-out duration-300 text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${t(this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${t(!this.open&&"hidden")}"><sd-icon library="system" name="chevron-down"></sd-icon></slot></span></header><div part="content" id="content" class="${t("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></div>`}};p.styles=[r.styles,a`:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],c([s({type:Boolean,reflect:!0})],p.prototype,"expandable",2),p=c([i("sd-quickfact")],p),n("quickfact.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:300,easing:"ease"}}),n("quickfact.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:300,easing:"ease"}});export{p as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,x as e,t as s,c as r,i as o,e as i,n as a,a as n}from"./solid-components2.js";import{H as d}from"./slot.js";import{o as l}from"./if-defined.js";import{r as u}from"./state.js";import{w as h}from"./watch.js";var b=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=(t,e,s,r)=>{for(var o,i=r>1?void 0:r?c(e,s):e,a=t.length-1;a>=0;a--)(o=t[a])&&(i=(r?o(e,s,i):o(i))||i);return r&&i&&b(e,s,i),i};let m=class extends t{constructor(){super(...arguments),this.hasSlotController=new d(this,"[default]","icon"),this.hasFocus=!1,this.size="lg",this.disabled=!1,this.checked=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","presentation")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(t){if(this.disabled)return t.preventDefault(),void t.stopPropagation();this.checked=!0}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}focus(t){this.input.focus(t)}blur(){this.input.blur()}render(){const t=this.hasSlotController.test("[default]"),r=this.hasSlotController.test("icon"),o=`${this.size}-${t?"label":"no-label"}`;return e`<div part="base" role="presentation" class="relative"><button part="${"button"+(this.checked?" button--checked":"")}" role="radio" aria-checked="${this.checked}" class="${s("relative text-center border rounded-default transition-all ease-in-out duration-100 items-center justify-center focus-visible:focus-outline","sm"===this.size?"text-sm":"text-base",this.checked&&!this.disabled?"bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500":this.disabled&&!this.checked?"border-neutral-500 text-neutral-500 hover:cursor-not-allowed":this.disabled&&this.checked?"bg-neutral-500 border-neutral-500 text-white hover:cursor-not-allowed":"bg-transparent text-primary border-primary hover:bg-primary-100 hover:border-primary-500 hover:text-primary-500 cursor-pointer",t&&"px-4",this.hasFocus&&"focused-class",t&&"button--has-label",r&&"button--has-icon flex gap-2",o)}" aria-disabled="${this.disabled}" type="button" value="${l(this.value)}" tabindex="${this.checked?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon" part="icon" class="${s(r&&"inline-flex relative items-center",{sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size])}" ?hidden="${!r}"></slot>${t?e`<slot part="label" class="button__label inline-flex relative items-center whitespace-nowrap"></slot>`:null}</button></div>`}};m.styles=[t.styles,r,o`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;position:absolute;inset:var(--sd-spacing-0,0);z-index:-10;opacity:var(--sd-opacity-0,0);outline-style:dotted;outline-width:1px;outline-color:rgb(var(--sd-color-error,204 25 55) / 1)}.lg-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{height:var(--sd-spacing-12,3rem);width:var(--sd-spacing-12,3rem)}.md-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{height:var(--sd-spacing-10,2.5rem);width:var(--sd-spacing-10,2.5rem)}.sm-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{height:var(--sd-spacing-8,2rem);width:var(--sd-spacing-8,2rem)}:host(.sd-button-group__button--first:not(.sd-button-group__button--last)) button{border-top-right-radius:var(--sd-border-radius-none,0);border-bottom-right-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button--last:not(.sd-button-group__button--first)) button{border-top-left-radius:var(--sd-border-radius-none,0);border-bottom-left-radius:var(--sd-border-radius-none,0)}:host(.sd-button-group__button:not(.sd-button-group__button--first)){margin-inline-start:-1px}:host(.sd-button-group__button--hover){z-index:10}:host(.sd-button-group__button--focus),:host(.sd-button-group__button[checked]){z-index:20}`],p([i(".button")],m.prototype,"input",2),p([i(".hidden-input")],m.prototype,"hiddenInput",2),p([u()],m.prototype,"hasFocus",2),p([a({reflect:!0})],m.prototype,"size",2),p([a({type:Boolean,reflect:!0})],m.prototype,"disabled",2),p([a({type:Boolean,reflect:!0})],m.prototype,"checked",2),p([a()],m.prototype,"value",2),p([h("disabled",{waitUntilFirstUpdate:!0})],m.prototype,"handleDisabledChange",1),m=p([n("sd-radio-button")],m);export{m as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{i as t,c as e,e as o,n as s,S as i,x as a,a as l,t as r}from"./solid-components2.js";import{F as n,c as d,a as h,v as u}from"./form.js";import{H as c}from"./slot.js";import{r as p}from"./state.js";import{w as g}from"./watch.js";import m from"./radio.js";const b=t`${e}:host{display:inline-block}.button-group{display:flex;flex-wrap:nowrap}`;var f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,y=(t,e,o,s)=>{for(var i,a=s>1?void 0:s?v(e,o):e,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(s?i(e,o,a):i(a))||a);return s&&a&&f(e,o,a),a};let C=class extends i{constructor(){super(...arguments),this.disableRole=!1,this.label=""}handleFocus(t){const e=w(t.target);null==e||e.classList.add("sd-button-group__button--focus")}handleBlur(t){const e=w(t.target);null==e||e.classList.remove("sd-button-group__button--focus")}handleMouseOver(t){const e=w(t.target);null==e||e.classList.add("sd-button-group__button--hover")}handleMouseOut(t){const e=w(t.target);null==e||e.classList.remove("sd-button-group__button--hover")}handleSlotChange(){const t=[...this.defaultSlot.assignedElements({flatten:!0})];t.forEach((e=>{const o=t.indexOf(e),s=w(e);null!==s&&(s.classList.add("sd-button-group__button"),s.classList.toggle("sd-button-group__button--first",0===o),s.classList.toggle("sd-button-group__button--inner",o>0&&o<t.length-1),s.classList.toggle("sd-button-group__button--last",o===t.length-1),s.classList.toggle("sd-button-group__button--radio","sd-radio-button"===s.tagName.toLowerCase()))}))}render(){return a`<slot part="base" class="button-group" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};function w(t){const e="sd-button, sd-radio-button";return t.closest(e)??t.querySelector(e)}C.styles=b,y([o("slot")],C.prototype,"defaultSlot",2),y([p()],C.prototype,"disableRole",2),y([s()],C.prototype,"label",2),C=y([l("sd-button-group")],C);var x=Object.defineProperty,R=Object.getOwnPropertyDescriptor,k=(t,e,o,s)=>{for(var i,a=s>1?void 0:s?R(e,o):e,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(s?i(e,o,a):i(a))||a);return s&&a&&x(e,o,a),a};let I=class extends i{constructor(){super(...arguments),this.formControlController=new n(this),this.hasSlotController=new c(this,"label","error-text"),this.customValidityMessage="",this.hasButtonGroup=!1,this.defaultValue="",this.showInvalidStyle=!1,this.size="lg",this.required=!1,this.orientation="vertical",this.label="",this.boldLabel=!1,this.name="option",this.value="",this.form=""}get validity(){const t=this.required&&!this.value;return""!==this.customValidityMessage?d:t?h:u}get validationMessage(){const t=this.required&&!this.value;return""!==this.customValidityMessage?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-radio, sd-radio-button")]}handleRadioClick(t){const e=t.target.closest("sd-radio, sd-radio-button"),o=this.getAllRadios(),s=this.value;e.disabled||(this.value=e.value,o.forEach((t=>t.checked=t===e)),this.value!==s&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;const e=this.getAllRadios().filter((t=>!t.disabled)),o=e.find((t=>t.checked))??e[0],s=" "===t.key?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,i=this.value;let a=e.indexOf(o)+s;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach((t=>{t.checked=!1,this.hasButtonGroup||(t.tabIndex=-1)})),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){const t=this.getAllRadios(),e=t.find((t=>t.checked))||t[0];e&&e.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var t,e;const o=this.getAllRadios();if(await Promise.all(o.map((async t=>{await t.updateComplete,t.checked=t.value===this.value,t.size=this.size,t instanceof m&&(t.invalid=this.showInvalidStyle)}))),this.hasButtonGroup=o.some((t=>"sd-radio-button"===t.tagName.toLowerCase())),!o.some((t=>t.checked)))if(this.hasButtonGroup){const e=null==(t=o[0].shadowRoot)?void 0:t.querySelector("button");e&&(e.tabIndex=0)}else o[0].tabIndex=0;if(this.hasButtonGroup){const t=null==(e=this.shadowRoot)?void 0:e.querySelector("sd-button-group");t&&(t.disableRole=!0)}}syncRadios(){customElements.get("sd-radio")&&customElements.get("sd-radio-button")?this.syncRadioElements():(customElements.get("sd-radio")?this.syncRadioElements():customElements.whenDefined("sd-radio").then((()=>this.syncRadios())),customElements.get("sd-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-radio-button").then((()=>this.syncRadios())))}updateCheckedRadio(){this.getAllRadios().forEach((t=>t.checked=t.value===this.value)),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){const t=this.required&&!this.value,e=""!==this.customValidityMessage;return!t&&!e||(this.formControlController.emitInvalidEvent(),!1)}getForm(){return this.formControlController.getForm()}reportValidity(){const t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout((()=>this.validationInput.hidden=!0),1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){const t=this.hasSlotController.test("label"),e=!!this.label||!!t,o=a`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return a`<fieldset part="form-control" class="${r("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message"><div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${r("p-0 leading-normal text-black text-left",!e&&"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend><slot name="tooltip"></slot></div><div part="form-control-input" class="${r("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?a`<sd-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${o}</sd-button-group>`:o}</div></fieldset>${this.formControlController.renderInvalidMessage()}`}};I.dependencies={"sd-button-group":C},I.styles=[e,i.styles,t`:host{display:block}:host([orientation=vertical]) ::slotted(sd-radio){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label::after{content:' *'}`],k([o("slot:not([name])")],I.prototype,"defaultSlot",2),k([o("#validation-input")],I.prototype,"validationInput",2),k([o("#invalid-message")],I.prototype,"invalidMessage",2),k([p()],I.prototype,"hasButtonGroup",2),k([p()],I.prototype,"defaultValue",2),k([p()],I.prototype,"showInvalidStyle",2),k([s({reflect:!0})],I.prototype,"size",2),k([s({type:Boolean,reflect:!0})],I.prototype,"required",2),k([s({reflect:!0})],I.prototype,"orientation",2),k([s()],I.prototype,"label",2),k([s({type:Boolean,reflect:!0})],I.prototype,"boldLabel",2),k([s()],I.prototype,"name",2),k([s({reflect:!0})],I.prototype,"value",2),k([s({reflect:!0})],I.prototype,"form",2),k([g("size",{waitUntilFirstUpdate:!0})],I.prototype,"handleSizeChange",1),k([g("showInvalidStyle",{waitUntilFirstUpdate:!0})],I.prototype,"handleInvalidChange",1),k([g("value")],I.prototype,"handleValueChange",1),I=k([l("sd-radio-group")],I);export{I as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import"./icon.js";import{S as e,x as t,t as s,i,n as r,a}from"./solid-components2.js";import{r as l}from"./state.js";import{w as o}from"./watch.js";var n=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h=(e,t,s,i)=>{for(var r,a=i>1?void 0:i?d(t,s):t,l=e.length-1;l>=0;l--)(r=e[l])&&(a=(i?r(t,s,a):r(a))||a);return i&&a&&n(t,s,a),a};let c=class extends e{constructor(){super(...arguments),this.checked=!1,this.hasFocus=!1,this.size="lg",this.disabled=!1,this.invalid=!1}connectedCallback(){super.connectedCallback(),this.handleBlur=this.handleBlur.bind(this),this.handleClick=this.handleClick.bind(this),this.handleFocus=this.handleFocus.bind(this),this.setInitialAttributes(),this.addEventListeners()}disconnectedCallback(){this.removeEventListeners()}addEventListeners(){this.addEventListener("blur",this.handleBlur),this.addEventListener("click",this.handleClick),this.addEventListener("focus",this.handleFocus)}removeEventListeners(){this.removeEventListener("blur",this.handleBlur),this.removeEventListener("click",this.handleClick),this.removeEventListener("focus",this.handleFocus)}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}setInitialAttributes(){this.setAttribute("role","radio"),this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleCheckedChange(){this.setAttribute("aria-checked",this.checked?"true":"false"),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return t`<span part="base" class="${s("sd-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",this.disabled&&"hover:cursor-not-allowed",{sm:"small-size text-sm",md:"text-base",lg:"text-base"}[this.size])}"><span part="${this.checked?"control--checked":"control--unchecked"}" class="${s("flex-initial shrink-0 relative inline-flex items-center justify-center border rounded-full bg-white h-4 w-4",this.disabled?"border-neutral-500":this.invalid?"border-error hover:border-error-400 group-hover:border-error-400":this.checked?"border-accent hover:border-accent-550 group-hover:border-accent-550":"border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200")}">${this.checked?t`<span part="checked" class="${s("rounded-full inline-flex text-white border bg-accent h-2.5 w-2.5",this.disabled?"bg-neutral-500":this.invalid?"bg-error hover:bg-error-400 group-hover:bg-error-400":this.checked?"bg-accent hover:bg-accent-550 group-hover:bg-accent-550":"bg-neutral-800")}"></span>`:""}</span><slot part="label" class="${s("ml-2 select-none inline-block",this.disabled?"text-neutral-500":this.invalid?"text-error":"text-black")}"></slot></span>`}};c.styles=[e.styles,i`:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){outline:2px solid transparent;outline-offset:2px}:host(:focus-visible) [part=control--checked],:host(:focus-visible) [part=control--unchecked]{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:rgb(var(--sd-color-primary,0 53 142) / 1)}`],h([l()],c.prototype,"checked",2),h([l()],c.prototype,"hasFocus",2),h([r({reflect:!0})],c.prototype,"size",2),h([r({type:Boolean,reflect:!0})],c.prototype,"disabled",2),h([r()],c.prototype,"value",2),h([r({type:Boolean,reflect:!0})],c.prototype,"invalid",2),h([o("checked")],c.prototype,"handleCheckedChange",1),h([o("disabled",{waitUntilFirstUpdate:!0})],c.prototype,"handleDisabledChange",1),c=h([a("sd-radio")],c);export{c as default};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{requestInclude as t}from"./request2.js";const e=new Map;async function s(s){if(e.has(s))return e.get(s);const n=await t(s),o={ok:n.ok,status:n.status,svg:null};if(n.ok){const t=document.createElement("div");t.innerHTML=n.html;const e=t.firstElementChild;o.svg="svg"===(null==e?void 0:e.tagName.toLowerCase())?e.outerHTML:""}return e.set(s,o),o}export{s as requestIcon};
|
@@ -1 +0,0 @@
|
|
1
|
-
const t=new Map;function e(e,s="cors"){if(t.has(e))return t.get(e);const n=fetch(e,{mode:s}).then((async t=>({ok:t.ok,status:t.status,html:await t.text()})));return t.set(e,n),n}export{e as requestInclude};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{d as t}from"./debounce.js";import{p as e}from"./animate.js";import{w as o}from"./event.js";var n=Object.defineProperty,s=Object.getOwnPropertyDescriptor;class r{constructor(t){this.pointers=new Set,this.dragging=!1,this.scrolling=!1,this.mouseDragging=!1,this.handleScroll=()=>{this.scrolling||(this.scrolling=!0,this.host.requestUpdate()),this.handleScrollEnd()},this.handlePointerDown=t=>{"touch"!==t.pointerType&&(this.pointers.add(t.pointerId),this.mouseDragging&&!this.dragging&&0===t.button&&(t.preventDefault(),this.host.scrollContainer.addEventListener("pointermove",this.handlePointerMove)))},this.handlePointerMove=t=>{const e=this.host.scrollContainer,o=!!t.movementX||!!t.movementY;!this.dragging&&o?(e.setPointerCapture(t.pointerId),this.handleDragStart()):e.hasPointerCapture(t.pointerId)&&this.handleDrag(t)},this.handlePointerUp=t=>{this.pointers.delete(t.pointerId),this.host.scrollContainer.releasePointerCapture(t.pointerId),0===this.pointers.size&&this.handleDragEnd()},this.handleTouchEnd=t=>{for(const e of t.changedTouches)this.pointers.delete(e.identifier)},this.handleTouchStart=t=>{for(const e of t.touches)this.pointers.add(e.identifier)},this.host=t,t.addController(this)}async hostConnected(){const t=this.host;await t.updateComplete;const e=t.scrollContainer;e.addEventListener("scroll",this.handleScroll,{passive:!0}),e.addEventListener("pointerdown",this.handlePointerDown),e.addEventListener("pointerup",this.handlePointerUp),e.addEventListener("pointercancel",this.handlePointerUp),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd)}hostDisconnected(){const t=this.host.scrollContainer;t.removeEventListener("scroll",this.handleScroll),t.removeEventListener("pointerdown",this.handlePointerDown),t.removeEventListener("pointerup",this.handlePointerUp),t.removeEventListener("pointercancel",this.handlePointerUp),t.removeEventListener("touchstart",this.handleTouchStart),t.removeEventListener("touchend",this.handleTouchEnd)}handleScrollEnd(){this.pointers.size?this.handleScrollEnd():(this.scrolling=!1,this.host.scrollContainer.dispatchEvent(new CustomEvent("scrollend",{bubbles:!1,cancelable:!1})),this.host.requestUpdate())}handleDragStart(){const t=this.host;this.dragging=!0,t.scrollContainer.style.setProperty("scroll-snap-type","unset"),t.requestUpdate()}handleDrag(t){this.host.scrollContainer.scrollBy({left:-t.movementX,top:-t.movementY})}async handleDragEnd(){const t=this.host,n=t.scrollContainer;n.removeEventListener("pointermove",this.handlePointerMove),this.dragging=!1;const s=n.scrollLeft,r=n.scrollTop;n.style.removeProperty("scroll-snap-type");const i=n.scrollLeft,l=n.scrollTop;n.style.setProperty("scroll-snap-type","unset"),n.scrollTo({left:s,top:r,behavior:"auto"}),n.scrollTo({left:i,top:l,behavior:e()?"auto":"smooth"}),this.scrolling&&await o(n,"scrollend"),n.style.removeProperty("scroll-snap-type"),t.requestUpdate()}}((t,e,o,r)=>{for(var i,l=s(e,o),h=t.length-1;h>=0;h--)(i=t[h])&&(l=i(e,o,l)||l);l&&n(e,o,l)})([t(100)],r.prototype,"handleScrollEnd");export{r as ScrollController};
|
@@ -1 +0,0 @@
|
|
1
|
-
const t=new Set;function o(o){if(t.add(o),!document.body.classList.contains("sd-scroll-lock")){const t=function(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}();document.body.classList.add("sd-scroll-lock"),document.body.style.setProperty("--sd-scroll-lock-size",`${t}px`)}}function e(o){t.delete(o),0===t.size&&(document.body.classList.remove("sd-scroll-lock"),document.body.style.removeProperty("--sd-scrollbar-width"))}function l(t,o,e="vertical",l="smooth"){const c=function(t,o){return{top:Math.round(t.getBoundingClientRect().top-o.getBoundingClientRect().top),left:Math.round(t.getBoundingClientRect().left-o.getBoundingClientRect().left)}}(t,o),n=c.top+o.scrollTop,s=c.left+o.scrollLeft,i=o.scrollLeft,r=o.scrollLeft+o.offsetWidth,d=o.scrollTop,f=o.scrollTop+o.offsetHeight;("horizontal"===e||"both"===e)&&(s<i?o.scrollTo({left:s,behavior:l}):s+t.clientWidth>r&&o.scrollTo({left:s-o.offsetWidth+t.clientWidth,behavior:l})),("vertical"===e||"both"===e)&&(n<d?o.scrollTo({top:n,behavior:l}):n+t.clientHeight>f&&o.scrollTo({top:n-o.offsetHeight+t.clientHeight,behavior:l}))}export{o as l,l as s,e as u};
|
@@ -1 +0,0 @@
|
|
1
|
-
import{S as t,L as l,x as o,t as e,r,c as s,i,n as a,a as n}from"./solid-components2.js";import{r as c}from"./state.js";import{I as d}from"./interactive.js";var h=Object.defineProperty,b=Object.getOwnPropertyDescriptor,u=(t,l,o,e)=>{for(var r,s=e>1?void 0:e?b(l,o):l,i=t.length-1;i>=0;i--)(r=t[i])&&(s=(e?r(l,o,s):r(s))||s);return e&&s&&h(l,o,s),s};let p=class extends t{constructor(){super(...arguments),this.localize=new l(this),this.orientation="horizontal",this.scrollbars=!1,this.buttons=!1,this.shadows=!1,this.inset=!1,this.step=150,this.canScroll={left:!1,right:!1,up:!1,down:!1},this.isScrollHorizontalEnabled=!1,this.isScrollVerticalEnabled=!1,this.isKeyboardNavigation=!1,this.scrollContainer=null}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver((()=>{this.updateScrollIndicatorVisibility()})),this.updateComplete.then((()=>{this.scrollContainer=this.renderRoot.querySelector(".scroll-container"),this.scrollContainer&&this.resizeObserver.observe(this.scrollContainer)}))}disconnectedCallback(){super.disconnectedCallback(),this.scrollContainer&&this.resizeObserver.unobserve(this.scrollContainer)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.updateScrollIndicatorVisibility())}updateScrollEnabledFlags(){const t=this.orientation;this.isScrollHorizontalEnabled="horizontal"===t||"auto"===t,this.isScrollVerticalEnabled="vertical"===t||"auto"===t}get container(){return this.renderRoot.querySelector(".scroll-container")}updateScrollIndicatorVisibility(){const t=this.container;if(!t)return;const l=this.isScrollHorizontalEnabled&&t.scrollLeft>0,o=this.isScrollHorizontalEnabled&&t.scrollLeft+t.clientWidth<t.scrollWidth-1,e=this.isScrollVerticalEnabled&&t.scrollTop>0,r=this.isScrollVerticalEnabled&&t.scrollTop+t.clientHeight<t.scrollHeight-1,s=this.renderRoot.querySelector('[part="button-start"]'),i=this.renderRoot.querySelector('[part="button-end"]');this.canScroll={left:this.isKeyboardNavigation?this.isScrollHorizontalEnabled:l,right:this.isKeyboardNavigation?this.isScrollHorizontalEnabled:o,up:this.isKeyboardNavigation?this.isScrollVerticalEnabled:e,down:this.isKeyboardNavigation?this.isScrollVerticalEnabled:r};const a=l||e,n=o||r;a&&this.dispatchEvent(new CustomEvent("start")),n&&this.dispatchEvent(new CustomEvent("end")),this.isKeyboardNavigation&&(s&&(s.hidden=!a),s&&a&&!(r||o)&&s.focus(),i&&(i.hidden=!n),i&&n&&!e&&!l&&i.focus())}handleScroll(t,l){var o;const e="left"===t||"up"===t?-this.step:this.step,r="left"===t||"right"===t?"left":"top";this.isKeyboardNavigation="mouse"!==(null==l?void 0:l.pointerType);const s={behavior:"smooth"};s[r]=e,null==(o=this.scrollContainer)||o.scrollBy(s);const i=`button-${t}`;this.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0}))}render(){const t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none";return o`<div part="base" class="${e("scroll-container flex overflow-hidden flex-1","horizontal"===this.orientation&&"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden","vertical"===this.orientation&&"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden","auto"===this.orientation&&"scroll-auto overflow-auto",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset?"p-4":"")}" @scroll="${this.updateScrollIndicatorVisibility}" tabindex="0"><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?o`${this.isScrollHorizontalEnabled?o`${this.canScroll.left?o`<div part="button-left" class="absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8"><button part="button-start" class="${e(t)}" @click="${t=>this.handleScroll("left",t)}"><slot name="icon-start"><sd-icon library="system" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div>`:null} ${this.canScroll.right?o`<div part="button-right" class="absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8"><button part="button-end" class="${e(t)}" @click="${t=>this.handleScroll("right",t)}"><slot name="icon-end"><sd-icon library="system" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.isScrollVerticalEnabled?o`${this.canScroll.up?o`<div part="button-top" class="absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8"><button part="button-start" class="${e(t)}" @click="${t=>this.handleScroll("up",t)}"><slot name="icon-start"><sd-icon library="system" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div>`:null} ${this.canScroll.down?o`<div part="button-bottom" class="absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8"><button part="button-end" class="${e(t)}" @click="${t=>this.handleScroll("down",t)}"><slot name="icon-end"><sd-icon library="system" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null}`:null} ${this.shadows?o`${this.isScrollHorizontalEnabled?o`${this.canScroll.left?o`<div part="shadow-left" class="${l} left top-0 left-0 w-[6px] h-full"></div>`:null} ${this.canScroll.right?o`<div part="shadow-right" class="${l} right top-0 right-0 w-[6px] h-full"></div>`:null}`:null} ${this.isScrollVerticalEnabled?o`${this.canScroll.up?o`<div part="shadow-top" class="${l} top top-0 left-0 w-full h-[6px]"></div>`:null} ${this.canScroll.down?o`<div part="shadow-bottom" class="${l} bottom bottom-0 left-0 w-full h-[6px]"></div>`:null}`:null}`:null}`}};p.styles=[t.styles,r(d),s,i`:host{--gradient-color:rgba(255, 255, 255, 0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;position:relative;display:flex;overflow:hidden}.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,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,rgba(24,24,24,0) 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],u([a({type:String,reflect:!0})],p.prototype,"orientation",2),u([a({type:Boolean,reflect:!0})],p.prototype,"scrollbars",2),u([a({type:Boolean,reflect:!0})],p.prototype,"buttons",2),u([a({type:Boolean,reflect:!0})],p.prototype,"shadows",2),u([a({type:Boolean,reflect:!0})],p.prototype,"inset",2),u([a({type:Number,reflect:!0})],p.prototype,"step",2),u([c()],p.prototype,"canScroll",2),u([c()],p.prototype,"isScrollHorizontalEnabled",2),u([c()],p.prototype,"isScrollVerticalEnabled",2),u([c()],p.prototype,"isKeyboardNavigation",2),p=u([n("sd-scrollable")],p);export{p as default};
|