@solid-design-system/components 5.16.1 → 5.16.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.3DB2ELEL.js +2 -0
- package/cdn/chunks/chunk.3KWSM3HE.js +131 -0
- package/cdn/chunks/chunk.3ZRUHOGI.js +11 -0
- package/cdn/chunks/{chunk.6KIASTDN.js → chunk.5G7ZOEWT.js} +4 -3
- package/cdn/chunks/chunk.5PA35WD2.js +2 -0
- package/cdn/chunks/chunk.5TUC644H.js +2 -0
- package/cdn/chunks/chunk.5ZPLQS6G.js +2 -0
- package/cdn/chunks/chunk.5ZYFWIRD.js +2 -0
- package/cdn/chunks/chunk.63IQ23S4.js +5 -0
- package/cdn/chunks/{chunk.F7X5747H.js → chunk.66LOVPZM.js} +2 -1
- package/cdn/chunks/chunk.66OZDVLX.js +2 -0
- package/cdn/chunks/chunk.6EV4YU6C.js +1 -0
- package/cdn/chunks/chunk.6GHBG4PY.js +2 -0
- package/cdn/chunks/{chunk.W32I6F46.js → chunk.6Q6FRPBQ.js} +2 -1
- package/cdn/chunks/chunk.6XTQ6373.js +2 -0
- package/cdn/chunks/chunk.6ZXO6XV7.js +2 -0
- package/cdn/chunks/{chunk.RZUTJ36B.js → chunk.763RLJEK.js} +2 -2
- package/cdn/chunks/{chunk.L6MCOH7T.js → chunk.7BPPDSHY.js} +1 -1
- package/cdn/chunks/chunk.7JAXJRX2.js +2 -0
- package/cdn/chunks/chunk.ALIY2YIR.js +2 -0
- package/cdn/chunks/{chunk.LFJ4IYGZ.js → chunk.AZC2MB6N.js} +2 -1
- package/cdn/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
- package/cdn/chunks/chunk.BL5NWLDW.js +4 -0
- package/{cdn-versioned/chunks/chunk.THIUBNOW.js → cdn/chunks/chunk.BTMWUMPI.js} +2 -1
- package/cdn/chunks/{chunk.HJ4O4XQA.js → chunk.CDP46OS4.js} +1 -1
- package/cdn/chunks/{chunk.NYJKF5NP.js → chunk.CINQCAVV.js} +2 -1
- package/{cdn-versioned/chunks/chunk.Y3GIPFVP.js → cdn/chunks/chunk.CSLPZKLY.js} +1 -1
- package/cdn/chunks/{chunk.XR2KNB36.js → chunk.D4E5ZIRW.js} +1 -1
- package/{cdn-versioned/chunks/chunk.EOIYFHSR.js → cdn/chunks/chunk.E7DVDO4P.js} +4 -1
- package/cdn/chunks/chunk.EGKVLCBO.js +2 -0
- package/cdn/chunks/{chunk.DAPRKASR.js → chunk.EIG3V7LV.js} +2 -1
- package/cdn/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
- package/cdn/chunks/chunk.ESKMS5I6.js +1 -0
- package/cdn/chunks/chunk.F3OBG73C.js +2 -0
- package/cdn/chunks/chunk.FYS76H7M.js +2 -0
- package/cdn/chunks/chunk.GZN62V5M.js +2 -0
- package/cdn/chunks/chunk.H7N4XIFF.js +2 -0
- package/{cdn-versioned/chunks/chunk.DLQQ7NIM.js → cdn/chunks/chunk.HO5NN73W.js} +2 -1
- package/cdn/chunks/{chunk.CBQDWY5Y.js → chunk.HWXFA3JT.js} +2 -1
- package/{cdn-versioned/chunks/chunk.WMLPJIUB.js → cdn/chunks/chunk.IQUVFHYA.js} +2 -1
- package/cdn/chunks/chunk.J3HOSC6V.js +2 -0
- package/cdn/chunks/chunk.J4LE3LKP.js +2 -0
- package/cdn/chunks/chunk.JGU23CP4.js +6 -0
- package/cdn/chunks/{chunk.NRBNWX7R.js → chunk.JS2HQ2N4.js} +1 -1
- package/cdn/chunks/{chunk.AZMH6NZR.js → chunk.KL3CEU6E.js} +3 -2
- package/cdn/chunks/chunk.LVDWFX3X.js +2 -0
- package/cdn/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
- package/cdn/chunks/chunk.MPLKGS34.js +2 -0
- package/cdn/chunks/chunk.MQ6HTONQ.js +2 -0
- package/cdn/chunks/{chunk.3ZSLSQT3.js → chunk.MWU6TZ4N.js} +2 -1
- package/{cdn-versioned/chunks/chunk.EJI65G6N.js → cdn/chunks/chunk.N3WG3NAL.js} +1 -1
- package/cdn/chunks/chunk.NMHY6H5N.js +12 -0
- package/cdn/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
- package/cdn/chunks/chunk.OXYZANQK.js +5 -0
- package/{cdn-versioned/chunks/chunk.BS3WSQN5.js → cdn/chunks/chunk.P3QDLITO.js} +2 -1
- package/cdn/chunks/chunk.PES7MZKA.js +26 -0
- package/cdn/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
- package/cdn/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
- package/cdn/chunks/{chunk.6WJYMU5I.js → chunk.Q36WGVZ7.js} +5 -4
- package/{cdn-versioned/chunks/chunk.OLX6LCKD.js → cdn/chunks/chunk.RJVGGY3Q.js} +2 -1
- package/cdn/chunks/chunk.RXQYBUHG.js +2 -0
- package/cdn/chunks/chunk.S4EKTV5A.js +2 -0
- package/cdn/chunks/chunk.S5SNELX3.js +2 -0
- package/{cdn-versioned/chunks/chunk.4SX3FTTZ.js → cdn/chunks/chunk.SIY4LRPB.js} +1 -1
- package/cdn/chunks/chunk.U6FGIHUI.js +2 -0
- package/cdn/chunks/{chunk.PKBVHWYN.js → chunk.UVDP4CO5.js} +2 -1
- package/cdn/chunks/chunk.VA5ZPE34.js +2 -0
- package/cdn/chunks/chunk.VGYX7TTE.js +2 -0
- package/cdn/chunks/chunk.VHHOKYE5.js +2 -0
- package/{cdn-versioned/chunks/chunk.LIO6LMTQ.js → cdn/chunks/chunk.VYBQ3X2B.js} +1 -1
- package/cdn/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
- package/cdn/chunks/chunk.WUWSF33N.js +2 -0
- package/cdn/chunks/chunk.XG6CO665.js +2 -0
- package/cdn/chunks/{chunk.P7DGMSNP.js → chunk.XHDZVSCR.js} +2 -1
- package/cdn/chunks/chunk.XIRAK67B.js +13 -0
- package/cdn/chunks/{chunk.NOZRJQX2.js → chunk.YL7YHMIF.js} +3 -2
- package/cdn/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
- package/cdn/chunks/chunk.YUPZE4GS.js +2 -0
- package/cdn/chunks/chunk.YXMHHML2.js +2 -0
- package/cdn/chunks/chunk.ZATYZ65D.js +2 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/animation/animations.js +1 -1
- package/cdn/components/audio/audio.d.ts +1 -0
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/audio/base64Audio.js +1 -1
- package/cdn/components/audio/wave.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel/fade-controller.js +1 -1
- package/cdn/components/carousel/scroll-controller.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/combobox/option-renderer.js +1 -1
- package/cdn/components/combobox/utils.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.d.ts +1 -0
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.d.ts +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +2 -0
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.status.js +1 -1
- package/cdn/components/icon/request.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/include/request.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-item/submenu-controller.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range/utils.js +1 -1
- package/cdn/components/range-tick/range-tick.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/theme-listener/theme-listener.d.ts +13 -0
- package/cdn/components/theme-listener/theme-listener.js +1 -0
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +452 -6
- package/cdn/internal/longpress.d.ts +1 -1
- package/cdn/internal/solid-element.d.ts +5 -0
- package/cdn/internal/solid-element.js +61 -11
- package/cdn/internal/theme-observer.d.ts +9 -0
- package/cdn/internal/theme-observer.js +19 -0
- package/cdn/solid-components.bundle.js +192 -61
- package/cdn/solid-components.css +118 -32
- package/cdn/solid-components.d.ts +1 -0
- package/cdn/solid-components.iife.js +192 -61
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/animation-registry.js +1 -1
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/form.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +39 -17
- package/cdn/web-types.json +62 -19
- package/cdn-versioned/chunks/chunk.3DB2ELEL.js +2 -0
- package/cdn-versioned/chunks/chunk.3KWSM3HE.js +131 -0
- package/cdn-versioned/chunks/chunk.3ZRUHOGI.js +11 -0
- package/cdn-versioned/chunks/chunk.5G7ZOEWT.js +12 -0
- package/cdn-versioned/chunks/chunk.5PA35WD2.js +2 -0
- package/cdn-versioned/chunks/chunk.5TUC644H.js +2 -0
- package/cdn-versioned/chunks/chunk.5ZPLQS6G.js +2 -0
- package/cdn-versioned/chunks/chunk.5ZYFWIRD.js +2 -0
- package/cdn-versioned/chunks/chunk.63IQ23S4.js +5 -0
- package/cdn-versioned/chunks/{chunk.F7X5747H.js → chunk.66LOVPZM.js} +2 -1
- package/cdn-versioned/chunks/chunk.66OZDVLX.js +2 -0
- package/cdn-versioned/chunks/chunk.6EV4YU6C.js +1 -0
- package/cdn-versioned/chunks/chunk.6GHBG4PY.js +2 -0
- package/cdn-versioned/chunks/chunk.6Q6FRPBQ.js +2 -0
- package/cdn-versioned/chunks/chunk.6XTQ6373.js +2 -0
- package/cdn-versioned/chunks/chunk.6ZXO6XV7.js +2 -0
- package/cdn-versioned/chunks/{chunk.RZUTJ36B.js → chunk.763RLJEK.js} +2 -2
- package/cdn-versioned/chunks/{chunk.L6MCOH7T.js → chunk.7BPPDSHY.js} +1 -1
- package/cdn-versioned/chunks/chunk.7JAXJRX2.js +2 -0
- package/cdn-versioned/chunks/chunk.ALIY2YIR.js +2 -0
- package/cdn-versioned/chunks/chunk.AZC2MB6N.js +12 -0
- package/cdn-versioned/chunks/{chunk.SKUMYG4O.js → chunk.B2NUKX6G.js} +1 -1
- package/cdn-versioned/chunks/chunk.BL5NWLDW.js +4 -0
- package/{cdn/chunks/chunk.THIUBNOW.js → cdn-versioned/chunks/chunk.BTMWUMPI.js} +2 -1
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +10 -0
- package/cdn-versioned/chunks/chunk.CINQCAVV.js +2 -0
- package/{cdn/chunks/chunk.Y3GIPFVP.js → cdn-versioned/chunks/chunk.CSLPZKLY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XR2KNB36.js → chunk.D4E5ZIRW.js} +1 -1
- package/{cdn/chunks/chunk.EOIYFHSR.js → cdn-versioned/chunks/chunk.E7DVDO4P.js} +4 -1
- package/cdn-versioned/chunks/chunk.EGKVLCBO.js +2 -0
- package/cdn-versioned/chunks/chunk.EIG3V7LV.js +2 -0
- package/cdn-versioned/chunks/{chunk.C577EOP7.js → chunk.EOXYPQZI.js} +1 -1
- package/cdn-versioned/chunks/chunk.ESKMS5I6.js +1 -0
- package/cdn-versioned/chunks/chunk.F3OBG73C.js +2 -0
- package/cdn-versioned/chunks/chunk.FYS76H7M.js +2 -0
- package/cdn-versioned/chunks/chunk.GZN62V5M.js +2 -0
- package/cdn-versioned/chunks/chunk.H7N4XIFF.js +2 -0
- package/{cdn/chunks/chunk.DLQQ7NIM.js → cdn-versioned/chunks/chunk.HO5NN73W.js} +2 -1
- package/cdn-versioned/chunks/chunk.HWXFA3JT.js +2 -0
- package/{cdn/chunks/chunk.WMLPJIUB.js → cdn-versioned/chunks/chunk.IQUVFHYA.js} +2 -1
- package/cdn-versioned/chunks/chunk.J3HOSC6V.js +2 -0
- package/cdn-versioned/chunks/chunk.J4LE3LKP.js +2 -0
- package/cdn-versioned/chunks/chunk.JGU23CP4.js +6 -0
- package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +1 -0
- package/cdn-versioned/chunks/chunk.KL3CEU6E.js +5 -0
- package/cdn-versioned/chunks/chunk.LVDWFX3X.js +2 -0
- package/cdn-versioned/chunks/{chunk.BOIDC3L5.js → chunk.MP6XEXRW.js} +1 -1
- package/cdn-versioned/chunks/chunk.MPLKGS34.js +2 -0
- package/cdn-versioned/chunks/chunk.MQ6HTONQ.js +2 -0
- package/cdn-versioned/chunks/chunk.MWU6TZ4N.js +2 -0
- package/{cdn/chunks/chunk.EJI65G6N.js → cdn-versioned/chunks/chunk.N3WG3NAL.js} +1 -1
- package/cdn-versioned/chunks/chunk.NMHY6H5N.js +12 -0
- package/cdn-versioned/chunks/{chunk.E2DRD2OX.js → chunk.NYKJXI3Q.js} +1 -1
- package/cdn-versioned/chunks/chunk.OXYZANQK.js +5 -0
- package/{cdn/chunks/chunk.BS3WSQN5.js → cdn-versioned/chunks/chunk.P3QDLITO.js} +2 -1
- package/cdn-versioned/chunks/chunk.PES7MZKA.js +26 -0
- package/cdn-versioned/chunks/{chunk.PVM2WKMA.js → chunk.PJ7JCMQF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CHU57RUD.js → chunk.PV6UYBMY.js} +1 -1
- package/cdn-versioned/chunks/chunk.Q36WGVZ7.js +12 -0
- package/{cdn/chunks/chunk.OLX6LCKD.js → cdn-versioned/chunks/chunk.RJVGGY3Q.js} +2 -1
- package/cdn-versioned/chunks/chunk.RXQYBUHG.js +2 -0
- package/cdn-versioned/chunks/chunk.S4EKTV5A.js +2 -0
- package/cdn-versioned/chunks/chunk.S5SNELX3.js +2 -0
- package/{cdn/chunks/chunk.4SX3FTTZ.js → cdn-versioned/chunks/chunk.SIY4LRPB.js} +1 -1
- package/cdn-versioned/chunks/chunk.U6FGIHUI.js +2 -0
- package/cdn-versioned/chunks/chunk.UVDP4CO5.js +2 -0
- package/cdn-versioned/chunks/chunk.VA5ZPE34.js +2 -0
- package/cdn-versioned/chunks/chunk.VGYX7TTE.js +2 -0
- package/cdn-versioned/chunks/chunk.VHHOKYE5.js +2 -0
- package/{cdn/chunks/chunk.LIO6LMTQ.js → cdn-versioned/chunks/chunk.VYBQ3X2B.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6OTM3PE5.js → chunk.W4QBFD6E.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WUWSF33N.js +2 -0
- package/cdn-versioned/chunks/chunk.XG6CO665.js +2 -0
- package/cdn-versioned/chunks/chunk.XHDZVSCR.js +2 -0
- package/cdn-versioned/chunks/chunk.XIRAK67B.js +13 -0
- package/cdn-versioned/chunks/chunk.YL7YHMIF.js +4 -0
- package/cdn-versioned/chunks/{chunk.K7HF3VBZ.js → chunk.YMZZDCP3.js} +1 -1
- package/cdn-versioned/chunks/chunk.YUPZE4GS.js +2 -0
- package/cdn-versioned/chunks/chunk.YXMHHML2.js +2 -0
- package/cdn-versioned/chunks/chunk.ZATYZ65D.js +2 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/animation/animations.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +2 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/audio/base64Audio.js +1 -1
- package/cdn-versioned/components/audio/wave.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/autoplay-controller.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel/fade-controller.js +1 -1
- package/cdn-versioned/components/carousel/scroll-controller.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/combobox/option-renderer.js +1 -1
- package/cdn-versioned/components/combobox/utils.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +2 -2
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +2 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.d.ts +1 -1
- package/cdn-versioned/components/icon/library.default.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +2 -0
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.status.js +1 -1
- package/cdn-versioned/components/icon/request.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/include/request.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.js +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.js +1 -1
- package/cdn-versioned/components/menu-item/submenu-controller.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range/utils.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +13 -0
- package/cdn-versioned/components/theme-listener/theme-listener.js +1 -0
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +697 -251
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/internal/longpress.d.ts +1 -1
- package/cdn-versioned/internal/solid-element.d.ts +5 -0
- package/cdn-versioned/internal/solid-element.js +61 -11
- package/cdn-versioned/internal/theme-observer.d.ts +9 -0
- package/cdn-versioned/internal/theme-observer.js +19 -0
- package/cdn-versioned/solid-components.bundle.js +192 -61
- package/cdn-versioned/solid-components.css +118 -32
- package/cdn-versioned/solid-components.d.ts +1 -0
- package/cdn-versioned/solid-components.iife.js +192 -61
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/animation-registry.js +1 -1
- package/cdn-versioned/utilities/animation.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/base-path.js +1 -1
- package/cdn-versioned/utilities/date.js +1 -1
- package/cdn-versioned/utilities/form.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +124 -102
- package/cdn-versioned/web-types.json +215 -172
- package/dist/chunks/{chunk.7JUNYBWC.js → chunk.2ER4MXZC.js} +5 -4
- package/dist/chunks/{chunk.PB672B5H.js → chunk.3BVNSUFD.js} +3 -2
- package/dist/chunks/{chunk.AQI2R5GT.js → chunk.4CD5TTGT.js} +6 -5
- package/dist/chunks/{chunk.4DHEQEYR.js → chunk.4FY6QRJ7.js} +3 -2
- package/dist/chunks/{chunk.XR6GLQWM.js → chunk.5D7C4MXB.js} +6 -5
- package/dist/chunks/{chunk.QVBR2RUV.js → chunk.5H7CWETG.js} +11 -4
- package/dist/chunks/{chunk.ANLMAOKA.js → chunk.5WAWAUSM.js} +4 -3
- package/dist/chunks/{chunk.BWFYNOYR.js → chunk.5ZRRM6UH.js} +3 -2
- package/dist/chunks/{chunk.FK2BNPQB.js → chunk.662O4CMZ.js} +4 -3
- package/dist/chunks/{chunk.XU2JEV5G.js → chunk.7RSL7EOY.js} +3 -2
- package/dist/chunks/{chunk.72VNUTTV.js → chunk.7XXRAMBH.js} +6 -13
- package/dist/chunks/{chunk.ABLPLQOM.js → chunk.A3YMYTLW.js} +3 -2
- package/dist/chunks/{chunk.6DKXZWRN.js → chunk.AAY5JRCW.js} +2 -1
- package/dist/chunks/{chunk.JGH3YXMX.js → chunk.AEFLWSEK.js} +4 -3
- package/dist/chunks/{chunk.7QAWQQC2.js → chunk.ANYT6TR4.js} +8 -4
- package/dist/chunks/{chunk.DKBTK7VW.js → chunk.BFDY2E6R.js} +3 -2
- package/dist/chunks/{chunk.LLUTMJ6Y.js → chunk.CR5C6OL5.js} +6 -5
- package/dist/chunks/{chunk.QV5WLO4L.js → chunk.CT4BIUEI.js} +14 -11
- package/dist/chunks/{chunk.WV4BVBH5.js → chunk.DFQ2QJI5.js} +3 -2
- package/dist/chunks/{chunk.YJF7I33G.js → chunk.DJ3WYVWV.js} +9 -8
- package/dist/chunks/{chunk.PJPWXQY7.js → chunk.E7L2RBML.js} +11 -5
- package/dist/chunks/chunk.EORXKFFT.js +61 -0
- package/dist/chunks/{chunk.VZBVZB3D.js → chunk.F4A7G427.js} +6 -5
- package/dist/chunks/{chunk.ERJOEJ54.js → chunk.FMSAUZWF.js} +3 -2
- package/dist/chunks/{chunk.G3JK5J7P.js → chunk.FPMNMEXR.js} +3 -2
- package/dist/chunks/{chunk.UVOGBJGP.js → chunk.GYXMDYGY.js} +2 -2
- package/dist/chunks/{chunk.4VTG7PRD.js → chunk.HB45IF2T.js} +3 -2
- package/{dist-versioned/chunks/chunk.7VPFFNHR.js → dist/chunks/chunk.KPAQRMCC.js} +2 -2
- package/dist/chunks/{chunk.7MXI26GR.js → chunk.M5EPD6OZ.js} +4 -3
- package/dist/chunks/{chunk.2SR73L2N.js → chunk.MB47FVBP.js} +3 -2
- package/dist/chunks/{chunk.RCBOBERD.js → chunk.MFE2NCVX.js} +4 -3
- package/dist/chunks/{chunk.AXFVYO5L.js → chunk.N5XK43AK.js} +25 -18
- package/dist/chunks/{chunk.2CAP3Q56.js → chunk.NCZBBZOR.js} +3 -2
- package/dist/chunks/{chunk.EOLLVTEE.js → chunk.NK5K5MMW.js} +3 -2
- package/dist/chunks/{chunk.GTISTGG6.js → chunk.NKPJM2WV.js} +21 -34
- package/dist/chunks/chunk.O6MXNSO7.js +185 -0
- package/dist/chunks/{chunk.O7O2LFXK.js → chunk.O6OCXI2L.js} +7 -6
- package/dist/chunks/{chunk.RRDLKLEV.js → chunk.OBQTYYBW.js} +5 -4
- package/dist/chunks/{chunk.QL6JHFGU.js → chunk.OK3VBJRJ.js} +4 -3
- package/dist/chunks/{chunk.YN47LYT7.js → chunk.PF4UKMOY.js} +6 -5
- package/dist/chunks/{chunk.V257WRGF.js → chunk.PJOYWTXL.js} +3 -2
- package/dist/chunks/{chunk.3YQ55DEG.js → chunk.QHUH3UZT.js} +7 -2
- package/dist/chunks/{chunk.TED3AFLN.js → chunk.QJ2PELD5.js} +3 -2
- package/dist/chunks/{chunk.G4FXGRRH.js → chunk.RIWKWSAL.js} +6 -5
- package/dist/chunks/chunk.RY4KWEME.js +93 -0
- package/dist/chunks/{chunk.TWLOCD6V.js → chunk.RZGUWSF6.js} +3 -2
- package/dist/chunks/{chunk.5USUIHQC.js → chunk.SIUXYHUU.js} +3 -2
- package/dist/chunks/{chunk.ZSD3BEVL.js → chunk.SZDLCBRQ.js} +6 -5
- package/dist/chunks/{chunk.W5ZR6XJP.js → chunk.TIOVWVCD.js} +6 -6
- package/dist/chunks/{chunk.QFW772DW.js → chunk.TXNCIVE5.js} +4 -3
- package/dist/chunks/{chunk.UKB75H6A.js → chunk.U7ASTWXS.js} +3 -2
- package/dist/chunks/{chunk.7IR6CJSO.js → chunk.UIXXR3N5.js} +3 -2
- package/dist/chunks/{chunk.VCV7HS44.js → chunk.VN6V46I7.js} +5 -4
- package/dist/chunks/{chunk.44BJS2SJ.js → chunk.WSRHW32L.js} +3 -2
- package/dist/chunks/{chunk.GUZQ4ADZ.js → chunk.WSXDUNN7.js} +3 -2
- package/dist/chunks/chunk.WSXRRFIW.js +77 -0
- package/dist/chunks/{chunk.UFU7P2YD.js → chunk.WTFF4KWO.js} +6 -5
- package/dist/chunks/{chunk.CKLEIUJP.js → chunk.XNEWFPWE.js} +6 -8
- package/dist/chunks/{chunk.BLKVBNBL.js → chunk.YBIM4TC7.js} +3 -2
- package/dist/chunks/{chunk.ZEBYA7QQ.js → chunk.YLQNXR3G.js} +4 -3
- package/dist/chunks/{chunk.7YENJBA2.js → chunk.ZBAABZKL.js} +3 -2
- package/dist/chunks/{chunk.43SFOPTI.js → chunk.ZRJRFFVA.js} +4 -3
- package/dist/chunks/{chunk.XF7G3LFU.js → chunk.ZXOKRAZP.js} +8 -5
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/accordion-group/accordion-group.js +7 -7
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.d.ts +1 -0
- package/dist/components/audio/audio.js +9 -9
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +7 -7
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/combobox/combobox.js +8 -8
- package/dist/components/datepicker/datepicker.d.ts +1 -1
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/flipcard/flipcard.js +8 -8
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.d.ts +1 -0
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.d.ts +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.internal.d.ts +2 -0
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +6 -6
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +7 -7
- package/dist/components/notification/notification.js +8 -8
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +7 -7
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.js +2 -2
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +6 -6
- package/dist/components/select/select.js +8 -8
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +6 -6
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/theme-listener/theme-listener.d.ts +13 -0
- package/dist/components/theme-listener/theme-listener.js +9 -0
- package/dist/components/tooltip/tooltip.js +7 -7
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +452 -6
- package/dist/internal/longpress.d.ts +1 -1
- package/dist/internal/solid-element.d.ts +5 -0
- package/dist/internal/solid-element.js +61 -11
- package/dist/internal/theme-observer.d.ts +9 -0
- package/dist/internal/theme-observer.js +19 -0
- package/dist/solid-components.css +118 -32
- package/dist/solid-components.d.ts +1 -0
- package/dist/solid-components.js +66 -62
- package/dist/utilities/autocomplete-config.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/vscode.html-custom-data.json +39 -17
- package/dist/web-types.json +62 -19
- package/dist-versioned/chunks/{chunk.7JUNYBWC.js → chunk.2ER4MXZC.js} +6 -5
- package/dist-versioned/chunks/{chunk.PB672B5H.js → chunk.3BVNSUFD.js} +4 -3
- package/dist-versioned/chunks/{chunk.AQI2R5GT.js → chunk.4CD5TTGT.js} +8 -7
- package/dist-versioned/chunks/{chunk.4DHEQEYR.js → chunk.4FY6QRJ7.js} +5 -4
- package/dist-versioned/chunks/{chunk.XR6GLQWM.js → chunk.5D7C4MXB.js} +8 -7
- package/dist-versioned/chunks/{chunk.QVBR2RUV.js → chunk.5H7CWETG.js} +12 -5
- package/dist-versioned/chunks/{chunk.ANLMAOKA.js → chunk.5WAWAUSM.js} +5 -4
- package/dist-versioned/chunks/{chunk.BWFYNOYR.js → chunk.5ZRRM6UH.js} +5 -4
- package/dist-versioned/chunks/{chunk.FK2BNPQB.js → chunk.662O4CMZ.js} +16 -15
- package/dist-versioned/chunks/{chunk.XU2JEV5G.js → chunk.7RSL7EOY.js} +8 -7
- package/dist-versioned/chunks/{chunk.72VNUTTV.js → chunk.7XXRAMBH.js} +7 -14
- package/dist-versioned/chunks/{chunk.ABLPLQOM.js → chunk.A3YMYTLW.js} +7 -6
- package/dist-versioned/chunks/chunk.AAY5JRCW.js +70 -0
- package/dist-versioned/chunks/{chunk.JGH3YXMX.js → chunk.AEFLWSEK.js} +15 -14
- package/dist-versioned/chunks/{chunk.7QAWQQC2.js → chunk.ANYT6TR4.js} +9 -5
- package/dist-versioned/chunks/{chunk.DKBTK7VW.js → chunk.BFDY2E6R.js} +14 -13
- package/dist-versioned/chunks/{chunk.LLUTMJ6Y.js → chunk.CR5C6OL5.js} +31 -30
- package/dist-versioned/chunks/{chunk.QV5WLO4L.js → chunk.CT4BIUEI.js} +17 -14
- package/dist-versioned/chunks/{chunk.WV4BVBH5.js → chunk.DFQ2QJI5.js} +5 -4
- package/dist-versioned/chunks/{chunk.YJF7I33G.js → chunk.DJ3WYVWV.js} +15 -14
- package/dist-versioned/chunks/{chunk.PJPWXQY7.js → chunk.E7L2RBML.js} +16 -10
- package/dist-versioned/chunks/chunk.EORXKFFT.js +61 -0
- package/dist-versioned/chunks/{chunk.VZBVZB3D.js → chunk.F4A7G427.js} +8 -7
- package/dist-versioned/chunks/{chunk.ERJOEJ54.js → chunk.FMSAUZWF.js} +7 -6
- package/dist-versioned/chunks/{chunk.G3JK5J7P.js → chunk.FPMNMEXR.js} +4 -3
- package/dist-versioned/chunks/{chunk.UVOGBJGP.js → chunk.GYXMDYGY.js} +2 -2
- package/dist-versioned/chunks/{chunk.4VTG7PRD.js → chunk.HB45IF2T.js} +4 -3
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/{dist/chunks/chunk.7VPFFNHR.js → dist-versioned/chunks/chunk.KPAQRMCC.js} +2 -2
- package/dist-versioned/chunks/{chunk.7MXI26GR.js → chunk.M5EPD6OZ.js} +9 -8
- package/dist-versioned/chunks/{chunk.2SR73L2N.js → chunk.MB47FVBP.js} +4 -3
- package/dist-versioned/chunks/{chunk.RCBOBERD.js → chunk.MFE2NCVX.js} +6 -5
- package/dist-versioned/chunks/{chunk.AXFVYO5L.js → chunk.N5XK43AK.js} +28 -21
- package/dist-versioned/chunks/{chunk.2CAP3Q56.js → chunk.NCZBBZOR.js} +4 -3
- package/dist-versioned/chunks/{chunk.EOLLVTEE.js → chunk.NK5K5MMW.js} +4 -3
- package/dist-versioned/chunks/{chunk.GTISTGG6.js → chunk.NKPJM2WV.js} +25 -38
- package/dist-versioned/chunks/chunk.O6MXNSO7.js +185 -0
- package/dist-versioned/chunks/{chunk.O7O2LFXK.js → chunk.O6OCXI2L.js} +8 -7
- package/dist-versioned/chunks/{chunk.RRDLKLEV.js → chunk.OBQTYYBW.js} +7 -6
- package/dist-versioned/chunks/{chunk.QL6JHFGU.js → chunk.OK3VBJRJ.js} +7 -6
- package/dist-versioned/chunks/{chunk.YN47LYT7.js → chunk.PF4UKMOY.js} +8 -7
- package/dist-versioned/chunks/{chunk.V257WRGF.js → chunk.PJOYWTXL.js} +4 -3
- package/dist-versioned/chunks/{chunk.3YQ55DEG.js → chunk.QHUH3UZT.js} +9 -4
- package/dist-versioned/chunks/{chunk.TED3AFLN.js → chunk.QJ2PELD5.js} +5 -4
- package/dist-versioned/chunks/{chunk.G4FXGRRH.js → chunk.RIWKWSAL.js} +8 -7
- package/dist-versioned/chunks/chunk.RY4KWEME.js +93 -0
- package/dist-versioned/chunks/{chunk.TWLOCD6V.js → chunk.RZGUWSF6.js} +7 -6
- package/dist-versioned/chunks/{chunk.5USUIHQC.js → chunk.SIUXYHUU.js} +10 -9
- package/dist-versioned/chunks/{chunk.ZSD3BEVL.js → chunk.SZDLCBRQ.js} +29 -28
- package/dist-versioned/chunks/{chunk.W5ZR6XJP.js → chunk.TIOVWVCD.js} +7 -7
- package/dist-versioned/chunks/{chunk.QFW772DW.js → chunk.TXNCIVE5.js} +16 -15
- package/dist-versioned/chunks/{chunk.UKB75H6A.js → chunk.U7ASTWXS.js} +7 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.7IR6CJSO.js → chunk.UIXXR3N5.js} +5 -4
- package/dist-versioned/chunks/{chunk.VCV7HS44.js → chunk.VN6V46I7.js} +6 -5
- package/dist-versioned/chunks/{chunk.44BJS2SJ.js → chunk.WSRHW32L.js} +5 -4
- package/dist-versioned/chunks/{chunk.GUZQ4ADZ.js → chunk.WSXDUNN7.js} +4 -3
- package/dist-versioned/chunks/chunk.WSXRRFIW.js +77 -0
- package/dist-versioned/chunks/{chunk.UFU7P2YD.js → chunk.WTFF4KWO.js} +8 -7
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/{chunk.CKLEIUJP.js → chunk.XNEWFPWE.js} +8 -10
- package/dist-versioned/chunks/{chunk.BLKVBNBL.js → chunk.YBIM4TC7.js} +4 -3
- package/dist-versioned/chunks/{chunk.ZEBYA7QQ.js → chunk.YLQNXR3G.js} +6 -5
- package/dist-versioned/chunks/{chunk.7YENJBA2.js → chunk.ZBAABZKL.js} +4 -3
- package/dist-versioned/chunks/{chunk.43SFOPTI.js → chunk.ZRJRFFVA.js} +5 -4
- package/dist-versioned/chunks/{chunk.XF7G3LFU.js → chunk.ZXOKRAZP.js} +10 -7
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +6 -6
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +2 -1
- package/dist-versioned/components/audio/audio.js +9 -9
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +2 -2
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +7 -7
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +6 -6
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +8 -8
- package/dist-versioned/components/datepicker/datepicker.d.ts +2 -2
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +8 -8
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +8 -8
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +8 -8
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +2 -1
- package/dist-versioned/components/icon/icon.js +5 -5
- package/dist-versioned/components/icon/library.d.ts +1 -1
- package/dist-versioned/components/icon/library.default.js +1 -1
- package/dist-versioned/components/icon/library.internal.d.ts +2 -0
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +3 -3
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +6 -6
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +2 -2
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +7 -7
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +8 -8
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +6 -6
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +7 -7
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +2 -2
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +6 -6
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +8 -8
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +6 -6
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +6 -6
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +6 -6
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +6 -6
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +13 -0
- package/dist-versioned/components/theme-listener/theme-listener.js +9 -0
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +7 -7
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +6 -6
- package/dist-versioned/custom-elements.json +697 -251
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/internal/longpress.d.ts +1 -1
- package/dist-versioned/internal/solid-element.d.ts +5 -0
- package/dist-versioned/internal/solid-element.js +61 -11
- package/dist-versioned/internal/theme-observer.d.ts +9 -0
- package/dist-versioned/internal/theme-observer.js +19 -0
- package/dist-versioned/solid-components.css +118 -32
- package/dist-versioned/solid-components.d.ts +1 -0
- package/dist-versioned/solid-components.js +66 -62
- package/dist-versioned/utilities/autocomplete-config.js +3 -3
- package/dist-versioned/utilities/icon-library.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +124 -102
- package/dist-versioned/web-types.json +215 -172
- package/package.json +13 -5
- package/cdn/chunks/chunk.3FCZSYJE.js +0 -1
- package/cdn/chunks/chunk.3SQYUPQR.js +0 -1
- package/cdn/chunks/chunk.5P7RNZVM.js +0 -1
- package/cdn/chunks/chunk.5QETSQFJ.js +0 -1
- package/cdn/chunks/chunk.5UL2MFVQ.js +0 -1
- package/cdn/chunks/chunk.6AL2V3GA.js +0 -1
- package/cdn/chunks/chunk.6O24TPWT.js +0 -1
- package/cdn/chunks/chunk.7BYMJ4MT.js +0 -10
- package/cdn/chunks/chunk.7LYAXCBH.js +0 -1
- package/cdn/chunks/chunk.AGOSIHIV.js +0 -1
- package/cdn/chunks/chunk.B7YAWCJP.js +0 -1
- package/cdn/chunks/chunk.BDPK77SL.js +0 -1
- package/cdn/chunks/chunk.CEVVDV52.js +0 -1
- package/cdn/chunks/chunk.CN5K7RGY.js +0 -1
- package/cdn/chunks/chunk.CRGRHGIA.js +0 -1
- package/cdn/chunks/chunk.DTEAN466.js +0 -1
- package/cdn/chunks/chunk.ERVOG57V.js +0 -1
- package/cdn/chunks/chunk.EXK3HKK5.js +0 -1
- package/cdn/chunks/chunk.GCKYK2C3.js +0 -1
- package/cdn/chunks/chunk.K7UH7J3V.js +0 -1
- package/cdn/chunks/chunk.KBESD73V.js +0 -1
- package/cdn/chunks/chunk.KKT3D6C3.js +0 -1
- package/cdn/chunks/chunk.LXHLWQH7.js +0 -1
- package/cdn/chunks/chunk.LZBHL4IV.js +0 -1
- package/cdn/chunks/chunk.MHPHKNZ5.js +0 -83
- package/cdn/chunks/chunk.QP5624EY.js +0 -1
- package/cdn/chunks/chunk.QVATLNE5.js +0 -1
- package/cdn/chunks/chunk.QWAB34LZ.js +0 -3
- package/cdn/chunks/chunk.R7A64SR7.js +0 -1
- package/cdn/chunks/chunk.SAXLGODJ.js +0 -1
- package/cdn/chunks/chunk.SB7VJNMQ.js +0 -1
- package/cdn/chunks/chunk.SKIYV7KD.js +0 -1
- package/cdn/chunks/chunk.TIK62LTB.js +0 -25
- package/cdn/chunks/chunk.TJOCV4DC.js +0 -1
- package/cdn/chunks/chunk.TOLB3HGS.js +0 -1
- package/cdn/chunks/chunk.UKCW2W2D.js +0 -1
- package/cdn/chunks/chunk.ULAC7BZA.js +0 -1
- package/cdn/chunks/chunk.W4Y456DP.js +0 -1
- package/cdn/chunks/chunk.WAAEZAT7.js +0 -1
- package/cdn/chunks/chunk.X53UBPCZ.js +0 -1
- package/cdn/chunks/chunk.XGIPT7I4.js +0 -1
- package/cdn/chunks/chunk.YJ2L67GK.js +0 -11
- package/cdn/chunks/chunk.ZSXBZK7F.js +0 -1
- package/cdn-versioned/chunks/chunk.3FCZSYJE.js +0 -1
- package/cdn-versioned/chunks/chunk.3SQYUPQR.js +0 -1
- package/cdn-versioned/chunks/chunk.3ZSLSQT3.js +0 -1
- package/cdn-versioned/chunks/chunk.5P7RNZVM.js +0 -1
- package/cdn-versioned/chunks/chunk.5QETSQFJ.js +0 -1
- package/cdn-versioned/chunks/chunk.5UL2MFVQ.js +0 -1
- package/cdn-versioned/chunks/chunk.6AL2V3GA.js +0 -1
- package/cdn-versioned/chunks/chunk.6KIASTDN.js +0 -11
- package/cdn-versioned/chunks/chunk.6O24TPWT.js +0 -1
- package/cdn-versioned/chunks/chunk.6WJYMU5I.js +0 -11
- package/cdn-versioned/chunks/chunk.7BYMJ4MT.js +0 -10
- package/cdn-versioned/chunks/chunk.7LYAXCBH.js +0 -1
- package/cdn-versioned/chunks/chunk.AGOSIHIV.js +0 -1
- package/cdn-versioned/chunks/chunk.AZMH6NZR.js +0 -4
- package/cdn-versioned/chunks/chunk.B7YAWCJP.js +0 -1
- package/cdn-versioned/chunks/chunk.BDPK77SL.js +0 -1
- package/cdn-versioned/chunks/chunk.CBQDWY5Y.js +0 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +0 -1
- package/cdn-versioned/chunks/chunk.CN5K7RGY.js +0 -1
- package/cdn-versioned/chunks/chunk.CRGRHGIA.js +0 -1
- package/cdn-versioned/chunks/chunk.DAPRKASR.js +0 -1
- package/cdn-versioned/chunks/chunk.DTEAN466.js +0 -1
- package/cdn-versioned/chunks/chunk.ERVOG57V.js +0 -1
- package/cdn-versioned/chunks/chunk.EXK3HKK5.js +0 -1
- package/cdn-versioned/chunks/chunk.GCKYK2C3.js +0 -1
- package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +0 -10
- package/cdn-versioned/chunks/chunk.K7UH7J3V.js +0 -1
- package/cdn-versioned/chunks/chunk.KBESD73V.js +0 -1
- package/cdn-versioned/chunks/chunk.KKT3D6C3.js +0 -1
- package/cdn-versioned/chunks/chunk.LFJ4IYGZ.js +0 -11
- package/cdn-versioned/chunks/chunk.LXHLWQH7.js +0 -1
- package/cdn-versioned/chunks/chunk.LZBHL4IV.js +0 -1
- package/cdn-versioned/chunks/chunk.MHPHKNZ5.js +0 -83
- package/cdn-versioned/chunks/chunk.NOZRJQX2.js +0 -3
- package/cdn-versioned/chunks/chunk.NRBNWX7R.js +0 -1
- package/cdn-versioned/chunks/chunk.NYJKF5NP.js +0 -1
- package/cdn-versioned/chunks/chunk.P7DGMSNP.js +0 -1
- package/cdn-versioned/chunks/chunk.PKBVHWYN.js +0 -1
- package/cdn-versioned/chunks/chunk.QP5624EY.js +0 -1
- package/cdn-versioned/chunks/chunk.QVATLNE5.js +0 -1
- package/cdn-versioned/chunks/chunk.QWAB34LZ.js +0 -3
- package/cdn-versioned/chunks/chunk.R7A64SR7.js +0 -1
- package/cdn-versioned/chunks/chunk.SAXLGODJ.js +0 -1
- package/cdn-versioned/chunks/chunk.SB7VJNMQ.js +0 -1
- package/cdn-versioned/chunks/chunk.SKIYV7KD.js +0 -1
- package/cdn-versioned/chunks/chunk.TIK62LTB.js +0 -25
- package/cdn-versioned/chunks/chunk.TJOCV4DC.js +0 -1
- package/cdn-versioned/chunks/chunk.TOLB3HGS.js +0 -1
- package/cdn-versioned/chunks/chunk.UKCW2W2D.js +0 -1
- package/cdn-versioned/chunks/chunk.ULAC7BZA.js +0 -1
- package/cdn-versioned/chunks/chunk.W32I6F46.js +0 -1
- package/cdn-versioned/chunks/chunk.W4Y456DP.js +0 -1
- package/cdn-versioned/chunks/chunk.WAAEZAT7.js +0 -1
- package/cdn-versioned/chunks/chunk.X53UBPCZ.js +0 -1
- package/cdn-versioned/chunks/chunk.XGIPT7I4.js +0 -1
- package/cdn-versioned/chunks/chunk.YJ2L67GK.js +0 -11
- package/cdn-versioned/chunks/chunk.ZSXBZK7F.js +0 -1
- package/dist/chunks/chunk.PJJCHCFO.js +0 -82
- package/dist/chunks/chunk.QSQRQKYT.js +0 -129
- package/dist/chunks/chunk.U3IJ4WDG.js +0 -72
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +0 -69
- package/dist-versioned/chunks/chunk.PJJCHCFO.js +0 -82
- package/dist-versioned/chunks/chunk.QSQRQKYT.js +0 -129
- package/dist-versioned/chunks/chunk.U3IJ4WDG.js +0 -72
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// src/utilities/autocomplete-config.ts
|
|
2
|
+
function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoView } = {
|
|
3
|
+
setValueOnSelection: true,
|
|
4
|
+
scrollSelectionIntoView: true
|
|
5
|
+
}) {
|
|
6
|
+
const sdInput = !selector ? document.querySelector("#autoComplete") : typeof selector === "string" ? document.querySelector(selector) : selector;
|
|
7
|
+
const input = sdInput.shadowRoot.querySelector("input");
|
|
8
|
+
const css = (string) => string[0];
|
|
9
|
+
input.addEventListener("init", () => {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
|
+
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
+
const popup = document.createElement("sd-5-16-2-next-1-popup");
|
|
14
|
+
popup.appendChild(ul);
|
|
15
|
+
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
|
+
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
17
|
+
if (popup) {
|
|
18
|
+
popup.active = false;
|
|
19
|
+
popup.autoSize = "vertical";
|
|
20
|
+
popup.autoSizePadding = 16;
|
|
21
|
+
popup.placement = "bottom-start";
|
|
22
|
+
popup.anchor = sdInput;
|
|
23
|
+
popup.sync = "width";
|
|
24
|
+
}
|
|
25
|
+
const styles = css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
26
|
+
sd-5-16-2-next-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);overflow-y:scroll;border-bottom-right-radius:var(--sd-radius);border-bottom-left-radius:var(--sd-radius);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);border-top-style:var(--tw-border-style);border-top-width:0;border-color:var(--sd-color-border-primary);background-color:var(--sd-color-background-white);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}sd-5-16-2-next-1-popup li{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms))}sd-5-16-2-next-1-popup li:hover:not([disabled]){background-color:var(--sd-color-background-neutral-100)}sd-5-16-2-next-1-popup li{list-style-type:''}sd-5-16-2-next-1-popup li mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold)}sd-5-16-2-next-1-popup li:not(:has(sd-5-16-2-next-1-option)){cursor:pointer;padding-inline:var(--sd-spacing-4);padding-block:var(--sd-spacing-3);font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)));color:var(--sd-color-text-black)}sd-5-16-2-next-1-popup li:not(:has(sd-5-16-2-next-1-option)):hover{background-color:var(--sd-color-background-neutral-200)}sd-5-16-2-next-1-popup li[aria-selected=true]{background-color:var(--sd-color-background-neutral-200)}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:"*";inherits:false}`;
|
|
27
|
+
const styleSheet = new CSSStyleSheet();
|
|
28
|
+
styleSheet.replaceSync(styles);
|
|
29
|
+
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
30
|
+
});
|
|
31
|
+
if (setValueOnSelection) {
|
|
32
|
+
input.addEventListener("selection", (event) => {
|
|
33
|
+
var _a;
|
|
34
|
+
sdInput.value = (_a = event == null ? void 0 : event.detail) == null ? void 0 : _a.selection.value;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
input.addEventListener("open", () => {
|
|
38
|
+
var _a, _b, _c, _d, _e, _f;
|
|
39
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-16-2-next-1-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
40
|
+
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
41
|
+
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
42
|
+
});
|
|
43
|
+
input.addEventListener("close", () => {
|
|
44
|
+
var _a, _b, _c, _d, _e, _f;
|
|
45
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-16-2-next-1-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
46
|
+
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
47
|
+
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
48
|
+
});
|
|
49
|
+
if (scrollSelectionIntoView) {
|
|
50
|
+
input.addEventListener("navigate", () => {
|
|
51
|
+
const selected = sdInput.shadowRoot.querySelector('[aria-selected="true"]');
|
|
52
|
+
selected == null ? void 0 : selected.scrollIntoView({ block: "nearest" });
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
config: {
|
|
57
|
+
selector: () => {
|
|
58
|
+
return input;
|
|
59
|
+
},
|
|
60
|
+
resultsList: {
|
|
61
|
+
tag: "ul"
|
|
62
|
+
},
|
|
63
|
+
wrapper: false
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
setupAutocomplete
|
|
70
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VN6V46I7.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
customErrorValidityState,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.RY4KWEME.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass
|
|
22
22
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -74,10 +74,10 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
74
74
|
this.formControlController.updateValidity();
|
|
75
75
|
}
|
|
76
76
|
getAllRadios() {
|
|
77
|
-
return [...this.querySelectorAll("sd-5-16-1-radio, sd-5-16-1-radio-button")];
|
|
77
|
+
return [...this.querySelectorAll("sd-5-16-2-next-1-radio, sd-5-16-2-next-1-radio-button")];
|
|
78
78
|
}
|
|
79
79
|
handleRadioClick(event) {
|
|
80
|
-
const target = event.target.closest("sd-5-16-1-radio, sd-5-16-1-radio-button");
|
|
80
|
+
const target = event.target.closest("sd-5-16-2-next-1-radio, sd-5-16-2-next-1-radio-button");
|
|
81
81
|
const radios = this.getAllRadios();
|
|
82
82
|
const oldValue = this.value;
|
|
83
83
|
if (target.disabled) {
|
|
@@ -154,7 +154,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
154
154
|
}
|
|
155
155
|
})
|
|
156
156
|
);
|
|
157
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-5-16-1-radio-button");
|
|
157
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-5-16-2-next-1-radio-button");
|
|
158
158
|
if (!radios.some((radio) => radio.checked)) {
|
|
159
159
|
if (this.hasButtonGroup) {
|
|
160
160
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
|
@@ -166,26 +166,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
if (this.hasButtonGroup) {
|
|
169
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-5-16-1-button-group");
|
|
169
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-5-16-2-next-1-button-group");
|
|
170
170
|
if (buttonGroup) {
|
|
171
171
|
buttonGroup.disableRole = true;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
syncRadios() {
|
|
176
|
-
if (customElements.get("sd-5-16-1-radio") && customElements.get("sd-5-16-1-radio-button")) {
|
|
176
|
+
if (customElements.get("sd-5-16-2-next-1-radio") && customElements.get("sd-5-16-2-next-1-radio-button")) {
|
|
177
177
|
this.syncRadioElements();
|
|
178
178
|
return;
|
|
179
179
|
}
|
|
180
|
-
if (customElements.get("sd-5-16-1-radio")) {
|
|
180
|
+
if (customElements.get("sd-5-16-2-next-1-radio")) {
|
|
181
181
|
this.syncRadioElements();
|
|
182
182
|
} else {
|
|
183
|
-
customElements.whenDefined("sd-5-16-1-radio").then(() => this.syncRadios());
|
|
183
|
+
customElements.whenDefined("sd-5-16-2-next-1-radio").then(() => this.syncRadios());
|
|
184
184
|
}
|
|
185
|
-
if (customElements.get("sd-5-16-1-radio-button")) {
|
|
185
|
+
if (customElements.get("sd-5-16-2-next-1-radio-button")) {
|
|
186
186
|
this.syncRadioElements();
|
|
187
187
|
} else {
|
|
188
|
-
customElements.whenDefined("sd-5-16-1-radio-button").then(() => this.syncRadios());
|
|
188
|
+
customElements.whenDefined("sd-5-16-2-next-1-radio-button").then(() => this.syncRadios());
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
updateCheckedRadio() {
|
|
@@ -264,7 +264,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
264
264
|
vertical: "flex-col",
|
|
265
265
|
horizontal: "flex-row"
|
|
266
266
|
}[this.orientation]
|
|
267
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-5-16-1-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-5-16-1-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
|
|
267
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-5-16-2-next-1-button-group class="border border-primary rounded-full" part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-5-16-2-next-1-button-group>` : defaultSlot}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot>${this.formControlController.renderInvalidMessage()}`;
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
/**
|
|
@@ -272,7 +272,8 @@ var SdRadioGroup = class extends SolidElement {
|
|
|
272
272
|
*/
|
|
273
273
|
SdRadioGroup.styles = [
|
|
274
274
|
...SolidElement.styles,
|
|
275
|
-
css
|
|
275
|
+
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
276
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-16-2-next-1-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-5-16-2-next-1-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-5-16-2-next-1-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-5-16-2-next-1-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-16-2-next-1-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-16-2-next-1-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-5-16-2-next-1-button-group){display:inline-flex}`
|
|
276
277
|
];
|
|
277
278
|
__decorateClass([
|
|
278
279
|
query("slot:not([name])")
|
|
@@ -329,7 +330,7 @@ __decorateClass([
|
|
|
329
330
|
watch("value")
|
|
330
331
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
|
331
332
|
SdRadioGroup = __decorateClass([
|
|
332
|
-
customElement("sd-5-16-1-radio-group")
|
|
333
|
+
customElement("sd-5-16-2-next-1-radio-group")
|
|
333
334
|
], SdRadioGroup);
|
|
334
335
|
|
|
335
336
|
export {
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.RY4KWEME.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
11
11
|
|
|
12
12
|
// src/components/range-tick/range-tick.ts
|
|
13
|
-
import { html } from "lit";
|
|
13
|
+
import { css, html } from "lit";
|
|
14
14
|
import { property } from "lit/decorators.js";
|
|
15
15
|
import cx from "classix";
|
|
16
16
|
var SdRangeTick = class extends SolidElement {
|
|
@@ -20,15 +20,19 @@ var SdRangeTick = class extends SolidElement {
|
|
|
20
20
|
this.subtick = false;
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(
|
|
23
|
+
return html`<div part="base" class="${cx(this.subtick ? "w-0.25" : "w-0.5")}"><div part="line" class="${cx(this.subtick ? "h-2" : "h-[10px]")}"></div><div part="label" class="flex items-center justify-center text-center text-nowrap text-sm"><slot></slot></div></div>`;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
SdRangeTick.styles =
|
|
26
|
+
SdRangeTick.styles = [
|
|
27
|
+
...SolidElement.styles,
|
|
28
|
+
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
29
|
+
[part='line']{background-color:var(--sd-color-border-neutral-400,var(--sd-color-neutral-400))}`
|
|
30
|
+
];
|
|
27
31
|
__decorateClass([
|
|
28
32
|
property({ type: Boolean, reflect: true })
|
|
29
33
|
], SdRangeTick.prototype, "subtick", 2);
|
|
30
34
|
SdRangeTick = __decorateClass([
|
|
31
|
-
customElement("sd-5-16-1-range-tick")
|
|
35
|
+
customElement("sd-5-16-2-next-1-range-tick")
|
|
32
36
|
], SdRangeTick);
|
|
33
37
|
|
|
34
38
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.RY4KWEME.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-5-16-1-button-group__button--focus");
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-5-16-2-next-1-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-5-16-1-button-group__button--focus");
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-5-16-2-next-1-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-5-16-1-button-group__button--hover");
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-5-16-2-next-1-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-5-16-1-button-group__button--hover");
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-5-16-2-next-1-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-5-16-1-button-group__button");
|
|
41
|
-
button.classList.toggle("sd-5-16-1-button-group__button--first", index === 0);
|
|
42
|
-
button.classList.toggle("sd-5-16-1-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
-
button.classList.toggle("sd-5-16-1-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
-
button.classList.toggle("sd-5-16-1-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-16-1-radio-button");
|
|
40
|
+
button.classList.add("sd-5-16-2-next-1-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-5-16-2-next-1-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-5-16-2-next-1-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-5-16-2-next-1-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-5-16-2-next-1-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-16-2-next-1-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -51,7 +51,8 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
51
51
|
};
|
|
52
52
|
SdButtonGroup.styles = [
|
|
53
53
|
...SolidElement.styles,
|
|
54
|
-
css
|
|
54
|
+
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
55
|
+
:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`
|
|
55
56
|
];
|
|
56
57
|
__decorateClass([
|
|
57
58
|
query("slot")
|
|
@@ -63,11 +64,11 @@ __decorateClass([
|
|
|
63
64
|
property({ type: String, reflect: true })
|
|
64
65
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
66
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-5-16-1-button-group")
|
|
67
|
+
customElement("sd-5-16-2-next-1-button-group")
|
|
67
68
|
], SdButtonGroup);
|
|
68
69
|
function findButton(el) {
|
|
69
70
|
var _a;
|
|
70
|
-
const selector = "sd-5-16-1-button, sd-5-16-1-radio-button";
|
|
71
|
+
const selector = "sd-5-16-2-next-1-button, sd-5-16-2-next-1-radio-button";
|
|
71
72
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
73
|
}
|
|
73
74
|
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
SolidElement,
|
|
28
28
|
customElement
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.RY4KWEME.js";
|
|
30
30
|
import {
|
|
31
31
|
animateTo,
|
|
32
32
|
stopAnimations
|
|
@@ -44,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.formControlController = new FormControlController(this, {
|
|
47
|
-
assumeInteractionOn: ["sd-blur", "sd-5-16-1-input"]
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-5-16-2-next-1-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -76,11 +76,11 @@ var SdSelect = class extends SolidElement {
|
|
|
76
76
|
this.styleOnValid = false;
|
|
77
77
|
this.hoist = false;
|
|
78
78
|
this.getTag = (option) => {
|
|
79
|
-
return html`<sd-5-16-1-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
79
|
+
return html`<sd-5-16-2-next-1-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
80
80
|
base:tag__base,
|
|
81
81
|
content:tag__content,
|
|
82
82
|
removable-indicator:tag__removable-indicator,
|
|
83
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-16-1-tag>`;
|
|
83
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-16-2-next-1-tag>`;
|
|
84
84
|
};
|
|
85
85
|
this.handleDocumentFocusIn = (event) => {
|
|
86
86
|
const path = event.composedPath();
|
|
@@ -91,7 +91,7 @@ var SdSelect = class extends SolidElement {
|
|
|
91
91
|
this.handleDocumentKeyDown = (event) => {
|
|
92
92
|
const target = event.target;
|
|
93
93
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
94
|
-
const isIconButton = target.closest("sd-5-16-1-icon-button") !== null;
|
|
94
|
+
const isIconButton = target.closest("sd-5-16-2-next-1-icon-button") !== null;
|
|
95
95
|
if (isClearButton || isIconButton) {
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
@@ -226,8 +226,8 @@ var SdSelect = class extends SolidElement {
|
|
|
226
226
|
event.preventDefault();
|
|
227
227
|
event.stopPropagation();
|
|
228
228
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
229
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-16-1-tag");
|
|
230
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-16-1-tag");
|
|
229
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-16-2-next-1-tag");
|
|
230
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-16-2-next-1-tag");
|
|
231
231
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
232
232
|
this.updateComplete.then(() => {
|
|
233
233
|
if (nextTag) {
|
|
@@ -247,7 +247,7 @@ var SdSelect = class extends SolidElement {
|
|
|
247
247
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
248
248
|
this.updateComplete.then(() => {
|
|
249
249
|
var _a;
|
|
250
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-16-1-tag");
|
|
250
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-16-2-next-1-tag");
|
|
251
251
|
if (tags && tags.length > 0) {
|
|
252
252
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
253
253
|
} else {
|
|
@@ -293,7 +293,7 @@ var SdSelect = class extends SolidElement {
|
|
|
293
293
|
}
|
|
294
294
|
handleOptionClick(event) {
|
|
295
295
|
const target = event.target;
|
|
296
|
-
const option = target.closest("sd-5-16-1-option");
|
|
296
|
+
const option = target.closest("sd-5-16-2-next-1-option");
|
|
297
297
|
const oldValue = this.value;
|
|
298
298
|
if (option && !option.disabled) {
|
|
299
299
|
if (this.multiple) {
|
|
@@ -318,7 +318,7 @@ var SdSelect = class extends SolidElement {
|
|
|
318
318
|
const allOptions = this.getAllOptions();
|
|
319
319
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
320
320
|
const values = [];
|
|
321
|
-
if (customElements.get("sd-5-16-1-option")) {
|
|
321
|
+
if (customElements.get("sd-5-16-2-next-1-option")) {
|
|
322
322
|
allOptions.forEach((option) => {
|
|
323
323
|
if (this.multiple) {
|
|
324
324
|
option.checkbox = true;
|
|
@@ -327,7 +327,7 @@ var SdSelect = class extends SolidElement {
|
|
|
327
327
|
});
|
|
328
328
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
329
329
|
} else {
|
|
330
|
-
customElements.whenDefined("sd-5-16-1-option").then(() => this.handleDefaultSlotChange());
|
|
330
|
+
customElements.whenDefined("sd-5-16-2-next-1-option").then(() => this.handleDefaultSlotChange());
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
handleTagRemove(event, option) {
|
|
@@ -344,13 +344,13 @@ var SdSelect = class extends SolidElement {
|
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
// Gets an array of all <sd-5-16-1-option> elements
|
|
347
|
+
// Gets an array of all <sd-5-16-2-next-1-option> elements
|
|
348
348
|
getAllOptions() {
|
|
349
|
-
return [...this.querySelectorAll("sd-5-16-1-option")];
|
|
349
|
+
return [...this.querySelectorAll("sd-5-16-2-next-1-option")];
|
|
350
350
|
}
|
|
351
|
-
// Gets the first <sd-5-16-1-option> element
|
|
351
|
+
// Gets the first <sd-5-16-2-next-1-option> element
|
|
352
352
|
getFirstOption() {
|
|
353
|
-
return this.querySelector("sd-5-16-1-option");
|
|
353
|
+
return this.querySelector("sd-5-16-2-next-1-option");
|
|
354
354
|
}
|
|
355
355
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
356
356
|
// option may be "current" at a time.
|
|
@@ -449,11 +449,11 @@ var SdSelect = class extends SolidElement {
|
|
|
449
449
|
});
|
|
450
450
|
} else {
|
|
451
451
|
return [
|
|
452
|
-
html`<sd-5-16-1-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
452
|
+
html`<sd-5-16-2-next-1-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
453
453
|
base:tag__base,
|
|
454
454
|
content:tag__content,
|
|
455
455
|
removable-indicator:tag__removable-indicator,
|
|
456
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-16-1-tag>`
|
|
456
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-16-2-next-1-tag>`
|
|
457
457
|
];
|
|
458
458
|
}
|
|
459
459
|
}
|
|
@@ -462,7 +462,7 @@ var SdSelect = class extends SolidElement {
|
|
|
462
462
|
this.formControlController.emitInvalidEvent(event);
|
|
463
463
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
464
464
|
}
|
|
465
|
-
/** Receives incoming event detail from sd-5-16-1-popup and updates local state for conditional styling. */
|
|
465
|
+
/** Receives incoming event detail from sd-5-16-2-next-1-popup and updates local state for conditional styling. */
|
|
466
466
|
handleCurrentPlacement(e) {
|
|
467
467
|
const incomingPlacement = e.detail;
|
|
468
468
|
if (incomingPlacement) {
|
|
@@ -471,7 +471,7 @@ var SdSelect = class extends SolidElement {
|
|
|
471
471
|
}
|
|
472
472
|
handleUseTagsChange() {
|
|
473
473
|
const allOptions = this.getAllOptions();
|
|
474
|
-
if (customElements.get("sd-5-16-1-option")) {
|
|
474
|
+
if (customElements.get("sd-5-16-2-next-1-option")) {
|
|
475
475
|
allOptions.forEach((option) => {
|
|
476
476
|
option.checkbox = this.multiple;
|
|
477
477
|
});
|
|
@@ -598,16 +598,16 @@ var SdSelect = class extends SolidElement {
|
|
|
598
598
|
{
|
|
599
599
|
disabled: "border-neutral-500",
|
|
600
600
|
visuallyDisabled: "border-neutral-500",
|
|
601
|
-
readonly: "
|
|
601
|
+
readonly: "form-control-color-border",
|
|
602
602
|
activeInvalid: "border-error border-2",
|
|
603
603
|
activeValid: "border-success border-2",
|
|
604
604
|
active: "border-primary border-2",
|
|
605
605
|
invalid: "border-error",
|
|
606
606
|
valid: "border-success",
|
|
607
|
-
default: "
|
|
607
|
+
default: "form-control-color-border"
|
|
608
608
|
}[selectState],
|
|
609
609
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
610
|
-
)}"></div><sd-5-16-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
610
|
+
)}"></div><sd-5-16-2-next-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
611
611
|
"inline-flex relative w-full",
|
|
612
612
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
613
613
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -623,19 +623,19 @@ var SdSelect = class extends SolidElement {
|
|
|
623
623
|
lg: "py-2"
|
|
624
624
|
}[this.size]
|
|
625
625
|
)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${cx(
|
|
626
|
-
"top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder-neutral-700",
|
|
626
|
+
"top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700",
|
|
627
627
|
cursorStyles,
|
|
628
628
|
this.multiple && this.useTags && this.value.length > 0 ? "hidden" : ""
|
|
629
629
|
)}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder || this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple && this.useTags ? html`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>` : ""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" 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}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
630
630
|
"select__clear flex justify-center",
|
|
631
631
|
iconMarginLeft,
|
|
632
632
|
this.value.length > 0 ? "visible" : "invisible"
|
|
633
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-16-1-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-16-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-16-1-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-16-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-16-1-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-5-16-1-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
633
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-16-2-next-1-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-16-2-next-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-16-2-next-1-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-16-2-next-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-16-2-next-1-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-5-16-2-next-1-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
634
634
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
635
635
|
this.open ? "rotate-180" : "rotate-0",
|
|
636
636
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
637
637
|
iconSize
|
|
638
|
-
)}"><sd-5-16-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-16-1-icon></slot></div><button part="combobox" class="${cx(
|
|
638
|
+
)}"><sd-5-16-2-next-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-16-2-next-1-icon></slot></div><button part="combobox" class="${cx(
|
|
639
639
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
640
640
|
cursorStyles,
|
|
641
641
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -648,7 +648,7 @@ var SdSelect = class extends SolidElement {
|
|
|
648
648
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
649
649
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
650
650
|
this.currentPlacement === "bottom" ? "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"
|
|
651
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-16-1-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
651
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-16-2-next-1-popup></div><div class="text-sm text-neutral-700 mt-1" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
652
652
|
}
|
|
653
653
|
};
|
|
654
654
|
/**
|
|
@@ -656,13 +656,14 @@ var SdSelect = class extends SolidElement {
|
|
|
656
656
|
*/
|
|
657
657
|
SdSelect.styles = [
|
|
658
658
|
...SolidElement.styles,
|
|
659
|
-
css
|
|
659
|
+
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
660
|
+
:host{position:relative;display:block;width:auto}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:var(--sd-color-text-neutral-500)}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:var(--sd-color-text-neutral-500)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-16-2-next-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-16-2-next-1-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-5-16-2-next-1-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-5-16-2-next-1-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-5-16-2-next-1-tag[disabled=false]::part(base):hover{background-color:var(--sd-color-background-primary-100)}`
|
|
660
661
|
];
|
|
661
662
|
__decorateClass([
|
|
662
|
-
queryAssignedElements({ selector: "sd-5-16-1-option" })
|
|
663
|
+
queryAssignedElements({ selector: "sd-5-16-2-next-1-option" })
|
|
663
664
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
664
665
|
__decorateClass([
|
|
665
|
-
query("sd-5-16-1-popup")
|
|
666
|
+
query("sd-5-16-2-next-1-popup")
|
|
666
667
|
], SdSelect.prototype, "popup", 2);
|
|
667
668
|
__decorateClass([
|
|
668
669
|
query('[part="combobox"]')
|
|
@@ -784,7 +785,7 @@ __decorateClass([
|
|
|
784
785
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
786
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
787
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-5-16-1-select")
|
|
788
|
+
customElement("sd-5-16-2-next-1-select")
|
|
788
789
|
], SdSelect);
|
|
789
790
|
setDefaultAnimation("select.show", {
|
|
790
791
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.RY4KWEME.js";
|
|
11
11
|
import {
|
|
12
12
|
Wave
|
|
13
13
|
} from "./chunk.POFWU6ZT.js";
|
|
@@ -204,17 +204,19 @@ var SdAudio = class extends SolidElement {
|
|
|
204
204
|
}
|
|
205
205
|
return null;
|
|
206
206
|
}
|
|
207
|
+
onThemeChange() {
|
|
208
|
+
this.clear();
|
|
209
|
+
setTimeout(this.initAnimation.bind(this), this.token("--sd-duration-fast", 150));
|
|
210
|
+
}
|
|
207
211
|
initAnimation() {
|
|
208
|
-
|
|
212
|
+
var _a;
|
|
213
|
+
const context = (_a = this.canvas) == null ? void 0 : _a.getContext("2d");
|
|
214
|
+
if (!context) return;
|
|
215
|
+
this.context = context;
|
|
209
216
|
const button = this.audioPlayerContainer.querySelector(".playback-speed");
|
|
210
217
|
const computedStyles = window.getComputedStyle(button);
|
|
211
218
|
const color = computedStyles.color;
|
|
212
|
-
|
|
213
|
-
if (this.inverted) {
|
|
214
|
-
computedColor = `#FFFFFF33`;
|
|
215
|
-
} else {
|
|
216
|
-
computedColor = this.rgbToHex(color) + "33";
|
|
217
|
-
}
|
|
219
|
+
const computedColor = this.inverted ? `#FFFFFF33` : this.rgbToHex(color) + "33";
|
|
218
220
|
this.waveList = [
|
|
219
221
|
new Wave({
|
|
220
222
|
canvas: this.canvas,
|
|
@@ -298,18 +300,19 @@ var SdAudio = class extends SolidElement {
|
|
|
298
300
|
)}" part="audio-controls"><button class="${cx(
|
|
299
301
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
300
302
|
this.inverted && "sd-interactive--inverted"
|
|
301
|
-
)}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-5-16-1-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="mb-4">${this.isPlaying ? html`<slot name="pause-icon"><sd-5-16-1-icon class="text-xl" name="pause" library="_internal"></sd-5-16-1-icon></slot>` : html`<slot name="play-icon"><sd-5-16-1-icon class="text-xl" name="start" library="_internal"></sd-5-16-1-icon></slot>`}</sd-5-16-1-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-5-16-1-icon class="w-6 h-6" name="transcript" library="_internal"></sd-5-16-1-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-5-16-1-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="_internal"></sd-5-16-1-icon></button></div></div>`;
|
|
303
|
+
)}" aria-label="${this.localize.term("playbackSpeed")} (${this.speed}x)" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-5-16-2-next-1-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" title="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="mb-4">${this.isPlaying ? html`<slot name="pause-icon"><sd-5-16-2-next-1-icon class="text-xl" name="pause" library="_internal"></sd-5-16-2-next-1-icon></slot>` : html`<slot name="play-icon"><sd-5-16-2-next-1-icon class="text-xl" name="start" library="_internal"></sd-5-16-2-next-1-icon></slot>`}</sd-5-16-2-next-1-button><div class="flex items-center gap-6 justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" aria-label="${this.isTranscriptOpen ? this.localize.term("transcriptIsOpen") : this.localize.term("openTranscript")}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" part="transcript"><sd-5-16-2-next-1-icon class="w-6 h-6" name="transcript" library="_internal"></sd-5-16-2-next-1-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${!this.isMuted ? this.localize.term("mute") : this.localize.term("unmute")}" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-5-16-2-next-1-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="_internal"></sd-5-16-2-next-1-icon></button></div></div>`;
|
|
302
304
|
const renderTimestamps = html`<div class="${cx(
|
|
303
305
|
"w-full flex justify-between",
|
|
304
306
|
this.reversedLayout ? "mb-0.5" : "mt-0.5",
|
|
305
307
|
this.animated && this.reversedLayout && "absolute bottom-0 left-0 !mb-4"
|
|
306
|
-
)}" part="timestamps"><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "text
|
|
307
|
-
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16 -mb-2"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null}<sd-5-16-1-range part="progress-slider" no-tooltip min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-5-16-1-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-5-16-1-range></div>${this.hasSlotController.test("transcript") ? html`<sd-5-16-1-drawer><slot name="transcript"></slot></sd-5-16-1-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div>`;
|
|
308
|
+
)}" part="timestamps"><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "sd-5-16-2-next-1-audio__timestamp-color-text")}">${this.currentTime}</div><div class="${cx("current-time text-sm", this.inverted ? "text-primary-400" : "sd-5-16-2-next-1-audio__timestamp-color-text")}">${this.duration}</div></div>`;
|
|
309
|
+
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16 -mb-2"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null}<sd-5-16-2-next-1-range part="progress-slider" no-tooltip min="0" max="100" step="0.001" label="${this.localize.term("seekBar")}" @mousedown="${this.handleThumbGrab}" @touchstart="${this.handleThumbGrab}" @mouseup="${this.handleThumbRelease}" @touchend="${this.handleThumbRelease}" @sd-5-16-2-next-1-input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}"></sd-5-16-2-next-1-range></div>${this.hasSlotController.test("transcript") ? html`<sd-5-16-2-next-1-drawer><slot name="transcript"></slot></sd-5-16-2-next-1-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div><sd-5-16-2-next-1-theme-listener></sd-5-16-2-next-1-theme-listener>`;
|
|
308
310
|
}
|
|
309
311
|
};
|
|
310
312
|
SdAudio.styles = [
|
|
311
313
|
...SolidElement.styles,
|
|
312
|
-
css
|
|
314
|
+
css`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
315
|
+
sd-5-16-2-next-1-button::part(base){display:flex;height:var(--sd-spacing-12);width:var(--sd-spacing-12);align-items:center;justify-content:center;border-radius:var(--sd-radius-full)}sd-5-16-2-next-1-button::part(motion-wrapper){border-radius:var(--sd-radius-full)}sd-5-16-2-next-1-button::part(label){display:flex;flex-grow:0;align-items:center}sd-5-16-2-next-1-range::part(form-control-label){display:none}:host([inverted]) sd-5-16-2-next-1-range::part(thumb){outline-color:var(--color-white,#fff);background-color:var(--sd-color-border-white,var(--sd-color-white))}:host([animated]) sd-5-16-2-next-1-range::part(track){background-color:transparent}:host([inverted]:not([animated])) sd-5-16-2-next-1-range::part(track){background-color:var(--sd-color-border-primary-400,var(--sd-color-primary-400))}:host([inverted]:not([animated])) sd-5-16-2-next-1-range::part(active-track){background-color:var(--sd-color-border-white,var(--sd-color-white))}`
|
|
313
316
|
];
|
|
314
317
|
__decorateClass([
|
|
315
318
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -351,13 +354,13 @@ __decorateClass([
|
|
|
351
354
|
query('[part="audio-player"]')
|
|
352
355
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
353
356
|
__decorateClass([
|
|
354
|
-
query("sd-5-16-1-drawer")
|
|
357
|
+
query("sd-5-16-2-next-1-drawer")
|
|
355
358
|
], SdAudio.prototype, "drawer", 2);
|
|
356
359
|
__decorateClass([
|
|
357
360
|
query("canvas")
|
|
358
361
|
], SdAudio.prototype, "canvas", 2);
|
|
359
362
|
SdAudio = __decorateClass([
|
|
360
|
-
customElement("sd-5-16-1-audio")
|
|
363
|
+
customElement("sd-5-16-2-next-1-audio")
|
|
361
364
|
], SdAudio);
|
|
362
365
|
|
|
363
366
|
export {
|