@solid-design-system/components 6.11.0 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.2ICCTLKT.js → chunk.2XY2M6QX.js} +1 -1
- package/cdn/chunks/{chunk.NVFRCOCT.js → chunk.4RPUAIQK.js} +1 -1
- package/cdn/chunks/{chunk.RPTI4GSL.js → chunk.5FYGQOXL.js} +1 -1
- package/cdn/chunks/{chunk.OYGLHUXD.js → chunk.5YHGT34K.js} +1 -1
- package/cdn/chunks/{chunk.TNETQ72P.js → chunk.6AEASXXL.js} +1 -1
- package/cdn/chunks/{chunk.HCHJ72XZ.js → chunk.AMWHBFTM.js} +1 -1
- package/cdn/chunks/{chunk.3XORZCSP.js → chunk.B46EHYIM.js} +1 -1
- package/cdn/chunks/{chunk.XEN3K6FZ.js → chunk.BAY7BKUC.js} +1 -1
- package/cdn/chunks/{chunk.X4DMLQMU.js → chunk.BOVFUPAB.js} +1 -1
- package/cdn/chunks/{chunk.H4OQH3RR.js → chunk.C7XYQGPF.js} +1 -1
- package/cdn/chunks/{chunk.ZFUFHPJ3.js → chunk.DS2YD552.js} +1 -1
- package/cdn/chunks/{chunk.4JSN5MRW.js → chunk.EMB5EOVL.js} +1 -1
- package/cdn/chunks/{chunk.XCRDBIHK.js → chunk.ENQH3ZMT.js} +1 -1
- package/cdn/chunks/{chunk.MO4FK3ME.js → chunk.ETAZT232.js} +1 -1
- package/cdn/chunks/{chunk.AEVTLWPH.js → chunk.F6Z7C6GC.js} +1 -1
- package/cdn/chunks/{chunk.TE3AUQ4S.js → chunk.FC5OZ6LQ.js} +1 -1
- package/cdn/chunks/{chunk.ALISVCEH.js → chunk.FIUQMO6Q.js} +1 -1
- package/cdn/chunks/{chunk.MUM37JWD.js → chunk.FJ4YRN4X.js} +1 -1
- package/cdn/chunks/{chunk.IVVASGQV.js → chunk.G5PT3ZUT.js} +1 -1
- package/cdn/chunks/{chunk.ASTVH7FL.js → chunk.H76VWBAF.js} +1 -1
- package/cdn/chunks/{chunk.GFQ37XZ3.js → chunk.HL52A333.js} +1 -1
- package/cdn/chunks/{chunk.HUJHFH6K.js → chunk.HR5FZLRC.js} +1 -1
- package/cdn/chunks/{chunk.LHO6UUG3.js → chunk.HUYURJ76.js} +1 -1
- package/cdn/chunks/{chunk.UEW3QMTK.js → chunk.HWUUJJP3.js} +1 -1
- package/cdn/chunks/{chunk.FHAH3D75.js → chunk.INALKJVG.js} +1 -1
- package/cdn/chunks/{chunk.6TGHIA5J.js → chunk.IXPIV7FA.js} +1 -1
- package/cdn/chunks/{chunk.B5QCBV2K.js → chunk.JZVRJWMV.js} +1 -1
- package/cdn/chunks/{chunk.C5DMBHWP.js → chunk.KS4OSR2A.js} +1 -1
- package/cdn/chunks/{chunk.GRA62HBK.js → chunk.NOXJ72G5.js} +1 -1
- package/cdn/chunks/{chunk.HAYWDZXJ.js → chunk.R3BQNXHR.js} +1 -1
- package/cdn/chunks/{chunk.NLMK6D5B.js → chunk.REOCLYOU.js} +1 -1
- package/cdn/chunks/chunk.SIVZ2S6B.js +2 -0
- package/cdn/chunks/{chunk.M6WOCWLF.js → chunk.TWQLXQ5K.js} +1 -1
- package/cdn/chunks/{chunk.XRVALG2X.js → chunk.TYKWEXBI.js} +1 -1
- package/cdn/chunks/{chunk.XFPHQRJQ.js → chunk.UYDZYQM5.js} +1 -1
- package/cdn/chunks/{chunk.CWVXYYIU.js → chunk.V3TGYVID.js} +1 -1
- package/cdn/chunks/{chunk.OR63DCBY.js → chunk.V4BUIKPF.js} +1 -1
- package/cdn/chunks/{chunk.KD273FPQ.js → chunk.VR5GAI7K.js} +1 -1
- package/cdn/chunks/{chunk.EZ3YRINW.js → chunk.WBIJL62F.js} +1 -1
- package/cdn/chunks/{chunk.6XBOSAGN.js → chunk.WNJTMU6J.js} +1 -1
- package/cdn/chunks/{chunk.JTN7RVTE.js → chunk.WTZQJFYM.js} +1 -1
- package/cdn/chunks/{chunk.2C7ZIVAR.js → chunk.WZAWV2ED.js} +1 -1
- package/cdn/chunks/chunk.XKUWNSWT.js +2 -0
- package/cdn/chunks/{chunk.ZGXH7QPY.js → chunk.Y3LTN4CF.js} +1 -1
- package/cdn/chunks/{chunk.HD6YL54O.js → chunk.Y4QI2OPY.js} +1 -1
- package/cdn/chunks/{chunk.YI6DG4H7.js → chunk.YF6TETRU.js} +1 -1
- package/cdn/chunks/{chunk.U3A5RX5B.js → chunk.YQOLB2PJ.js} +1 -1
- package/cdn/chunks/{chunk.NZWLQHP6.js → chunk.ZRNSYCFR.js} +1 -1
- package/cdn/chunks/{chunk.D4ALUFQN.js → chunk.ZSAXC4EQ.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.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/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/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-item/menu-item.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-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/skeleton/skeleton.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.d.ts +1 -0
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +3 -3
- package/cdn/solid-components.bundle.js +56 -56
- package/cdn/solid-components.iife.js +57 -57
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +1 -1
- package/cdn/web-types.json +3 -3
- package/cdn-versioned/chunks/chunk.2OSCB6XW.js +2 -2
- package/cdn-versioned/chunks/{chunk.2ICCTLKT.js → chunk.2XY2M6QX.js} +3 -3
- package/cdn-versioned/chunks/chunk.3RO5EKVU.js +1 -1
- package/cdn-versioned/chunks/chunk.4275NGRN.js +2 -2
- package/cdn-versioned/chunks/{chunk.NVFRCOCT.js → chunk.4RPUAIQK.js} +2 -2
- package/cdn-versioned/chunks/chunk.5DNOSYG7.js +1 -1
- package/cdn-versioned/chunks/{chunk.RPTI4GSL.js → chunk.5FYGQOXL.js} +2 -2
- package/cdn-versioned/chunks/chunk.5X4GK4PS.js +1 -1
- package/cdn-versioned/chunks/{chunk.OYGLHUXD.js → chunk.5YHGT34K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.TNETQ72P.js → chunk.6AEASXXL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.HCHJ72XZ.js → chunk.AMWHBFTM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3XORZCSP.js → chunk.B46EHYIM.js} +3 -3
- package/cdn-versioned/chunks/{chunk.XEN3K6FZ.js → chunk.BAY7BKUC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.X4DMLQMU.js → chunk.BOVFUPAB.js} +2 -2
- package/cdn-versioned/chunks/{chunk.H4OQH3RR.js → chunk.C7XYQGPF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZFUFHPJ3.js → chunk.DS2YD552.js} +2 -2
- package/cdn-versioned/chunks/{chunk.4JSN5MRW.js → chunk.EMB5EOVL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XCRDBIHK.js → chunk.ENQH3ZMT.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MO4FK3ME.js → chunk.ETAZT232.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AEVTLWPH.js → chunk.F6Z7C6GC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.TE3AUQ4S.js → chunk.FC5OZ6LQ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ALISVCEH.js → chunk.FIUQMO6Q.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MUM37JWD.js → chunk.FJ4YRN4X.js} +2 -2
- package/cdn-versioned/chunks/chunk.FTCO66N2.js +2 -2
- package/cdn-versioned/chunks/{chunk.IVVASGQV.js → chunk.G5PT3ZUT.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ASTVH7FL.js → chunk.H76VWBAF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GFQ37XZ3.js → chunk.HL52A333.js} +2 -2
- package/cdn-versioned/chunks/{chunk.HUJHFH6K.js → chunk.HR5FZLRC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.LHO6UUG3.js → chunk.HUYURJ76.js} +2 -2
- package/cdn-versioned/chunks/{chunk.UEW3QMTK.js → chunk.HWUUJJP3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FHAH3D75.js → chunk.INALKJVG.js} +5 -5
- package/cdn-versioned/chunks/{chunk.6TGHIA5J.js → chunk.IXPIV7FA.js} +2 -2
- package/cdn-versioned/chunks/chunk.JMZGGLJF.js +1 -1
- package/cdn-versioned/chunks/{chunk.B5QCBV2K.js → chunk.JZVRJWMV.js} +2 -2
- package/cdn-versioned/chunks/{chunk.C5DMBHWP.js → chunk.KS4OSR2A.js} +3 -3
- package/cdn-versioned/chunks/{chunk.GRA62HBK.js → chunk.NOXJ72G5.js} +5 -5
- package/cdn-versioned/chunks/{chunk.HAYWDZXJ.js → chunk.R3BQNXHR.js} +2 -2
- package/cdn-versioned/chunks/chunk.RAP66B6O.js +1 -1
- package/cdn-versioned/chunks/{chunk.NLMK6D5B.js → chunk.REOCLYOU.js} +2 -2
- package/cdn-versioned/chunks/chunk.SIVZ2S6B.js +2 -0
- package/cdn-versioned/chunks/chunk.TPSMY4DZ.js +1 -1
- package/cdn-versioned/chunks/{chunk.M6WOCWLF.js → chunk.TWQLXQ5K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XRVALG2X.js → chunk.TYKWEXBI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XFPHQRJQ.js → chunk.UYDZYQM5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.CWVXYYIU.js → chunk.V3TGYVID.js} +2 -2
- package/cdn-versioned/chunks/{chunk.OR63DCBY.js → chunk.V4BUIKPF.js} +2 -2
- package/cdn-versioned/chunks/chunk.VNKXLA5X.js +2 -2
- package/cdn-versioned/chunks/{chunk.KD273FPQ.js → chunk.VR5GAI7K.js} +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.EZ3YRINW.js → chunk.WBIJL62F.js} +2 -2
- package/cdn-versioned/chunks/{chunk.6XBOSAGN.js → chunk.WNJTMU6J.js} +2 -2
- package/cdn-versioned/chunks/{chunk.JTN7RVTE.js → chunk.WTZQJFYM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.2C7ZIVAR.js → chunk.WZAWV2ED.js} +2 -2
- package/cdn-versioned/chunks/chunk.XG7G63I4.js +2 -2
- package/cdn-versioned/chunks/chunk.XKUWNSWT.js +2 -0
- package/cdn-versioned/chunks/{chunk.ZGXH7QPY.js → chunk.Y3LTN4CF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.HD6YL54O.js → chunk.Y4QI2OPY.js} +2 -2
- package/cdn-versioned/chunks/{chunk.YI6DG4H7.js → chunk.YF6TETRU.js} +3 -3
- package/cdn-versioned/chunks/chunk.YPTZDABK.js +1 -1
- package/cdn-versioned/chunks/{chunk.U3A5RX5B.js → chunk.YQOLB2PJ.js} +10 -10
- package/cdn-versioned/chunks/chunk.YWOD5MYX.js +2 -2
- package/cdn-versioned/chunks/chunk.ZIVWE443.js +1 -1
- package/cdn-versioned/chunks/{chunk.NZWLQHP6.js → chunk.ZRNSYCFR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.D4ALUFQN.js → chunk.ZSAXC4EQ.js} +2 -2
- 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/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +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/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/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/datepicker/datepicker.d.ts +1 -1
- 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/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +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-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.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-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/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.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 +2 -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 +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +248 -248
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +88 -88
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +88 -88
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +108 -108
- package/cdn-versioned/web-types.json +159 -159
- package/dist/chunks/{chunk.VLMJTCCB.js → chunk.SQKCQFZY.js} +13 -1
- package/dist/components/step-group/step-group.d.ts +1 -0
- package/dist/components/step-group/step-group.js +1 -1
- package/dist/custom-elements.json +3 -3
- package/dist/solid-components.js +1 -1
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +3 -3
- package/dist-versioned/chunks/chunk.2CU6QOL7.js +4 -4
- package/dist-versioned/chunks/chunk.35EQJ5SV.js +8 -8
- package/dist-versioned/chunks/chunk.4C33XKR5.js +4 -4
- package/dist-versioned/chunks/chunk.4GXGCVAT.js +4 -4
- package/dist-versioned/chunks/chunk.4TOOTTT7.js +3 -3
- package/dist-versioned/chunks/chunk.5IGIZXCC.js +12 -12
- package/dist-versioned/chunks/chunk.5V4ZLM46.js +2 -2
- package/dist-versioned/chunks/chunk.6ZTH3QOK.js +5 -5
- package/dist-versioned/chunks/chunk.77QMG2JK.js +1 -1
- package/dist-versioned/chunks/chunk.7NPVZGYG.js +10 -10
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.CGHNKRSG.js +2 -2
- package/dist-versioned/chunks/chunk.CPEBS32D.js +1 -1
- package/dist-versioned/chunks/chunk.CQPHP72G.js +5 -5
- package/dist-versioned/chunks/chunk.DVHTNKCQ.js +3 -3
- package/dist-versioned/chunks/chunk.DXOZDLN3.js +5 -5
- package/dist-versioned/chunks/chunk.EORDFUN5.js +8 -8
- package/dist-versioned/chunks/chunk.F733OTL5.js +2 -2
- package/dist-versioned/chunks/chunk.FN3QPQKW.js +6 -6
- package/dist-versioned/chunks/chunk.GUPU7Y4R.js +2 -2
- package/dist-versioned/chunks/chunk.HDB5VQ6T.js +3 -3
- package/dist-versioned/chunks/chunk.HMYRJJSA.js +1 -1
- package/dist-versioned/chunks/chunk.HSLR5EL7.js +2 -2
- package/dist-versioned/chunks/chunk.HWSQMDBV.js +2 -2
- package/dist-versioned/chunks/chunk.IYIDHG44.js +2 -2
- package/dist-versioned/chunks/chunk.J7P25XPS.js +1 -1
- package/dist-versioned/chunks/chunk.JBLVT4GJ.js +4 -4
- package/dist-versioned/chunks/chunk.JSHWJIQJ.js +5 -5
- package/dist-versioned/chunks/chunk.JVFY4KAV.js +4 -4
- package/dist-versioned/chunks/chunk.JZ4LAYZZ.js +1 -1
- package/dist-versioned/chunks/chunk.K33P42FK.js +1 -1
- package/dist-versioned/chunks/chunk.K5MFIQWD.js +12 -12
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KH2LWYO6.js +1 -1
- package/dist-versioned/chunks/chunk.KMMZFIBW.js +3 -3
- package/dist-versioned/chunks/chunk.KNFZPKTF.js +3 -3
- package/dist-versioned/chunks/chunk.LRKBZ2PI.js +5 -5
- package/dist-versioned/chunks/chunk.MAECKDRE.js +9 -9
- package/dist-versioned/chunks/chunk.MJU6BUDN.js +4 -4
- package/dist-versioned/chunks/chunk.NDY2F6JA.js +14 -14
- package/dist-versioned/chunks/chunk.OA6QSAEX.js +28 -28
- package/dist-versioned/chunks/chunk.OWQ3YI2X.js +23 -23
- package/dist-versioned/chunks/chunk.OYSZH2PZ.js +25 -25
- package/dist-versioned/chunks/chunk.P4H32F7J.js +8 -8
- package/dist-versioned/chunks/chunk.PU6VCTT2.js +3 -3
- package/dist-versioned/chunks/chunk.PZZI7LIX.js +3 -3
- package/dist-versioned/chunks/chunk.Q2YJAMQO.js +6 -6
- package/dist-versioned/chunks/chunk.QMQD2SCQ.js +7 -7
- package/dist-versioned/chunks/chunk.REYEB3D7.js +11 -11
- package/dist-versioned/chunks/{chunk.VLMJTCCB.js → chunk.SQKCQFZY.js} +15 -3
- package/dist-versioned/chunks/chunk.TAR64H3A.js +4 -4
- package/dist-versioned/chunks/chunk.TEHZN5K4.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.URTSQLC4.js +3 -3
- package/dist-versioned/chunks/chunk.UZPDIPPZ.js +2 -2
- package/dist-versioned/chunks/chunk.V5VJQQ73.js +2 -2
- package/dist-versioned/chunks/chunk.VFLTCSUA.js +5 -5
- package/dist-versioned/chunks/chunk.VJNVCYUG.js +4 -4
- package/dist-versioned/chunks/chunk.WIXKV24T.js +1 -1
- package/dist-versioned/chunks/chunk.XVLJVMWL.js +5 -5
- package/dist-versioned/chunks/chunk.Y3THGL6Z.js +3 -3
- package/dist-versioned/chunks/chunk.Z5DZQTVN.js +1 -1
- package/dist-versioned/chunks/chunk.ZRHUI65H.js +5 -5
- package/dist-versioned/chunks/chunk.ZXKZDONO.js +5 -5
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +2 -1
- package/dist-versioned/components/step-group/step-group.js +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +248 -248
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +108 -108
- package/dist-versioned/web-types.json +159 -159
- package/package.json +10 -10
- package/cdn/chunks/chunk.B4YUOB5P.js +0 -2
- package/cdn/chunks/chunk.DSZLFWVG.js +0 -2
- package/cdn-versioned/chunks/chunk.B4YUOB5P.js +0 -2
- package/cdn-versioned/chunks/chunk.DSZLFWVG.js +0 -2
- /package/cdn/chunks/{chunk.ERQOYXLO.js → chunk.3XPSGHFS.js} +0 -0
- /package/cdn-versioned/chunks/{chunk.ERQOYXLO.js → chunk.3XPSGHFS.js} +0 -0
|
@@ -84,7 +84,7 @@ var SdRange = class extends SolidElement {
|
|
|
84
84
|
var _a, _b;
|
|
85
85
|
const tooltip = thumb.parentElement;
|
|
86
86
|
await tooltip.updateComplete;
|
|
87
|
-
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-
|
|
87
|
+
(_b = (_a = tooltip.shadowRoot) == null ? void 0 : _a.querySelector("sd-6-12-0-popup")) == null ? void 0 : _b.setAttribute("distance", "14");
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
willUpdate(changedProperties) {
|
|
@@ -260,7 +260,7 @@ var SdRange = class extends SolidElement {
|
|
|
260
260
|
_preventTextSelection() {
|
|
261
261
|
if (!this._dragStyleElement) {
|
|
262
262
|
const style = document.createElement("style");
|
|
263
|
-
style.setAttribute("data-sd-6-
|
|
263
|
+
style.setAttribute("data-sd-6-12-0-range-drag", "");
|
|
264
264
|
style.textContent = "*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }";
|
|
265
265
|
document.head.appendChild(style);
|
|
266
266
|
this._dragStyleElement = style;
|
|
@@ -445,10 +445,10 @@ var SdRange = class extends SolidElement {
|
|
|
445
445
|
ariaLabel = this.tooltipFormatter(value);
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
return html`<sd-6-
|
|
448
|
+
return html`<sd-6-12-0-tooltip trigger="${this.tooltip === "on-interaction" ? "focus" : "manual"}" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.tooltip === "hidden" ? true : void 0)}"><div id="${id}" part="thumb" role="slider" tabindex="${this.disabled || this.visuallyDisabled ? -1 : 0}" aria-disabled="${ifDefined(this.disabled || this.visuallyDisabled ? "true" : void 0)}" aria-labelledby="${ariaLabeledBy}" aria-label="${ariaLabel}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${value}" aria-valuetext="${this.tooltipFormatter(value)}" data-range-id="${rangeId}" data-disabled="${ifDefined(this.disabled || this.visuallyDisabled || void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
|
|
449
449
|
"rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",
|
|
450
450
|
this.disabled || this.visuallyDisabled ? "outline-none" : "cursor-pointer focus-visible:focus-outline"
|
|
451
|
-
)}"></div></sd-6-
|
|
451
|
+
)}"></div></sd-6-12-0-tooltip>`;
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
render() {
|
|
@@ -518,7 +518,7 @@ __decorateClass([
|
|
|
518
518
|
property({ type: String })
|
|
519
519
|
], SdRange.prototype, "value", 1);
|
|
520
520
|
SdRange = __decorateClass([
|
|
521
|
-
customElement("sd-6-
|
|
521
|
+
customElement("sd-6-12-0-range")
|
|
522
522
|
], SdRange);
|
|
523
523
|
|
|
524
524
|
export {
|
|
@@ -211,21 +211,21 @@ var SdNotification = class extends SolidElement {
|
|
|
211
211
|
warning: "bg-warning",
|
|
212
212
|
error: "bg-error"
|
|
213
213
|
}[this.variant]
|
|
214
|
-
)}"><sd-6-
|
|
214
|
+
)}"><sd-6-12-0-icon name="${{
|
|
215
215
|
info: "info-circle",
|
|
216
216
|
success: "confirm-circle",
|
|
217
217
|
warning: "exclamation-circle",
|
|
218
218
|
error: "warning"
|
|
219
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-6-
|
|
219
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-6-12-0-icon></slot><div part="content" class="${cx(
|
|
220
220
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
221
|
-
"border-solid border-[1px] border-l-0 sd-6-
|
|
221
|
+
"border-solid border-[1px] border-l-0 sd-6-12-0-notification-color-border",
|
|
222
222
|
{
|
|
223
|
-
info: "sd-6-
|
|
224
|
-
success: "sd-6-
|
|
225
|
-
warning: "sd-6-
|
|
226
|
-
error: "sd-6-
|
|
223
|
+
info: "sd-6-12-0-notification--info-color-background",
|
|
224
|
+
success: "sd-6-12-0-notification--success-color-background",
|
|
225
|
+
warning: "sd-6-12-0-notification--warning-color-background",
|
|
226
|
+
error: "sd-6-12-0-notification--error-color-background"
|
|
227
227
|
}[this.variant]
|
|
228
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-6-
|
|
228
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-6-12-0-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-6-12-0-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-6-12-0-icon></sd-6-12-0-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border sd-6-12-0-notification-color-border"></div>` : ""}</div></div>`;
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
/**
|
|
@@ -270,7 +270,7 @@ __decorateClass([
|
|
|
270
270
|
watch("duration")
|
|
271
271
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
272
272
|
SdNotification = __decorateClass([
|
|
273
|
-
customElement("sd-6-
|
|
273
|
+
customElement("sd-6-12-0-notification")
|
|
274
274
|
], SdNotification);
|
|
275
275
|
setDefaultAnimation("notification.show", {
|
|
276
276
|
keyframes: [
|
|
@@ -60,10 +60,10 @@ var SdTeaser = class extends SolidElement {
|
|
|
60
60
|
"flex",
|
|
61
61
|
{
|
|
62
62
|
white: "bg-white",
|
|
63
|
-
"white border-neutral-400": "bg-white border sd-6-
|
|
64
|
-
"neutral-100": "sd-6-
|
|
63
|
+
"white border-neutral-400": "bg-white border sd-6-12-0-teaser--neutral-400-color-border",
|
|
64
|
+
"neutral-100": "sd-6-12-0-teaser--neutral-100-color-background",
|
|
65
65
|
primary: "bg-primary text-white",
|
|
66
|
-
"primary-100": "sd-6-
|
|
66
|
+
"primary-100": "sd-6-12-0-teaser--primary-100-color-background"
|
|
67
67
|
}[this.variant],
|
|
68
68
|
this._orientation === "vertical" && "flex-col",
|
|
69
69
|
this._orientation === "horizontal" && "flex-row gap-8",
|
|
@@ -105,7 +105,7 @@ __decorateClass([
|
|
|
105
105
|
state()
|
|
106
106
|
], SdTeaser.prototype, "_orientation", 2);
|
|
107
107
|
SdTeaser = __decorateClass([
|
|
108
|
-
customElement("sd-6-
|
|
108
|
+
customElement("sd-6-12-0-teaser")
|
|
109
109
|
], SdTeaser);
|
|
110
110
|
|
|
111
111
|
export {
|
|
@@ -37,8 +37,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
37
37
|
}
|
|
38
38
|
connectedCallback() {
|
|
39
39
|
const whenAllDefined = Promise.all([
|
|
40
|
-
customElements.whenDefined("sd-6-
|
|
41
|
-
customElements.whenDefined("sd-6-
|
|
40
|
+
customElements.whenDefined("sd-6-12-0-tab"),
|
|
41
|
+
customElements.whenDefined("sd-6-12-0-tab-panel")
|
|
42
42
|
]);
|
|
43
43
|
super.connectedCallback();
|
|
44
44
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -86,20 +86,20 @@ var SdTabGroup = class extends SolidElement {
|
|
|
86
86
|
}
|
|
87
87
|
getAllTabs(options = { includeDisabled: true }) {
|
|
88
88
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
89
|
-
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-
|
|
90
|
-
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-
|
|
89
|
+
return Array.from(slot.assignedElements()).map((el) => el.tagName.toLocaleLowerCase() === "sd-6-12-0-tab" ? el : el.querySelector("sd-6-12-0-tab")).filter((el) => {
|
|
90
|
+
return el && options.includeDisabled ? el.tagName.toLowerCase() === "sd-6-12-0-tab" : el.tagName.toLowerCase() === "sd-6-12-0-tab" && !el.disabled;
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
93
|
getAllPanels() {
|
|
94
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-
|
|
94
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-6-12-0-tab-panel");
|
|
95
95
|
}
|
|
96
96
|
getActiveTab() {
|
|
97
97
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
98
98
|
}
|
|
99
99
|
handleClick(event) {
|
|
100
100
|
const target = event.target;
|
|
101
|
-
const tab = target.closest("sd-6-
|
|
102
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-
|
|
101
|
+
const tab = target.closest("sd-6-12-0-tab");
|
|
102
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-12-0-tab-group");
|
|
103
103
|
if (tabGroup !== this) {
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
@@ -109,8 +109,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
109
109
|
}
|
|
110
110
|
handleKeyDown(event) {
|
|
111
111
|
const target = event.target;
|
|
112
|
-
const tab = target.closest("sd-6-
|
|
113
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-
|
|
112
|
+
const tab = target.closest("sd-6-12-0-tab");
|
|
113
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-6-12-0-tab-group");
|
|
114
114
|
if (tabGroup !== this) {
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
@@ -137,7 +137,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
137
137
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
138
138
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
139
139
|
const isRtl = this.localize.dir() === "rtl";
|
|
140
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-
|
|
140
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-6-12-0-tab") {
|
|
141
141
|
let index = this.tabs.indexOf(activeEl);
|
|
142
142
|
if (event.key === "Home") {
|
|
143
143
|
index = 0;
|
|
@@ -258,16 +258,16 @@ var SdTabGroup = class extends SolidElement {
|
|
|
258
258
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${ifDefined(!this.canScroll.left || void 0)}" class="${cx(
|
|
259
259
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
260
260
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
261
|
-
)}" @click="${this.handleScrollToStart}"><sd-6-
|
|
261
|
+
)}" @click="${this.handleScrollToStart}"><sd-6-12-0-icon library="_internal" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-12-0-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist">${((_a = this.activeTab) == null ? void 0 : _a.variant) !== "container" ? html`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>` : ""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${ifDefined(!this.canScroll.right || void 0)}" class="${cx(
|
|
262
262
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
263
263
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
264
|
-
)}" @click="${this.handleScrollToEnd}"><sd-6-
|
|
264
|
+
)}" @click="${this.handleScrollToEnd}"><sd-6-12-0-icon library="_internal" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-6-12-0-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
SdTabGroup.styles = [
|
|
268
268
|
...SolidElement.styles,
|
|
269
269
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
270
|
-
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-
|
|
270
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:calc(var(--sd-spacing-1) * 0);width:calc(var(--sd-spacing-1) * 0)}::slotted(sd-6-12-0-tab-panel){--padding:1rem 0}::slotted(sd-6-12-0-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:rgba(var(--outline-color-primary))}`
|
|
271
271
|
];
|
|
272
272
|
__decorateClass([
|
|
273
273
|
query("[part=base]")
|
|
@@ -300,7 +300,7 @@ __decorateClass([
|
|
|
300
300
|
debounce(20)
|
|
301
301
|
], SdTabGroup.prototype, "handleScroll", 1);
|
|
302
302
|
SdTabGroup = __decorateClass([
|
|
303
|
-
customElement("sd-6-
|
|
303
|
+
customElement("sd-6-12-0-tab-group")
|
|
304
304
|
], SdTabGroup);
|
|
305
305
|
|
|
306
306
|
export {
|
|
@@ -163,48 +163,48 @@ var SdButton = class extends SolidElement {
|
|
|
163
163
|
* */
|
|
164
164
|
{
|
|
165
165
|
/* sizes, fonts */
|
|
166
|
-
sm: `sd-6-
|
|
167
|
-
md: `sd-6-
|
|
168
|
-
lg: `sd-6-
|
|
166
|
+
sm: `sd-6-12-0-button--size-sm-font-size sd-6-12-0-button-font-weight sd-6-12-0-button--size-sm-border-radius varspacing-8 ${hasBorder ? "py-[0.281rem] px-[0.938rem]" : "sd-6-12-0-button--size-sm-padding-block px-4"}`,
|
|
167
|
+
md: `sd-6-12-0-button--size-md-font-size sd-6-12-0-button-font-weight sd-6-12-0-button--size-md-border-radius varspacing-10 ${hasBorder ? "py-[0.438rem] px-[0.938rem]" : "sd-6-12-0-button--size-md-padding-block px-4"}`,
|
|
168
|
+
lg: `sd-6-12-0-button--size-lg-font-size sd-6-12-0-button-font-weight sd-6-12-0-button--size-lg-border-radius varspacing-12 ${hasBorder ? "py-[0.688rem] px-[0.938rem]" : "sd-6-12-0-button--size-lg-padding-block px-4"}`
|
|
169
169
|
}[this.size],
|
|
170
170
|
{
|
|
171
171
|
/* variants */
|
|
172
|
-
primary: !this.inverted ? `${this.visuallyDisabled ? "bg-neutral-500 border-neutral-500 hover:bg-neutral-500 text-white" : "sd-6-
|
|
173
|
-
disabled:bg-neutral-500 disabled:text-white` : `${this.visuallyDisabled ? "bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "sd-6-
|
|
174
|
-
disabled:sd-6-
|
|
175
|
-
secondary: !this.inverted ? `border ${this.visuallyDisabled ? "sd-6-
|
|
176
|
-
disabled:sd-6-
|
|
177
|
-
disabled:sd-6-
|
|
178
|
-
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-6-
|
|
179
|
-
disabled:sd-6-
|
|
180
|
-
disabled:sd-6-
|
|
172
|
+
primary: !this.inverted ? `${this.visuallyDisabled ? "bg-neutral-500 border-neutral-500 hover:bg-neutral-500 text-white" : "sd-6-12-0-button--primary--default-color-background border-transparent sd-6-12-0-button--primary--default-color-text hover:text-primary-100 active:sd-6-12-0-button--primary--active-color-text"}
|
|
173
|
+
disabled:bg-neutral-500 disabled:text-white` : `${this.visuallyDisabled ? "bg-neutral-500 text-white border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "sd-6-12-0-button--primary--inverted--default-color-text sd-6-12-0-button--primary--inverted--default-color-background border-white hover:sd-6-12-0-button--primary--inverted--hover-color-text active:sd-6-12-0-button--primary--inverted--active-color-text active:sd-6-12-0-button--primary--inverted--active-color-background"}
|
|
174
|
+
disabled:sd-6-12-0-button--inverted--disabled-color-background disabled:sd-6-12-0-button--inverted--disabled-color-border disabled:text-white`,
|
|
175
|
+
secondary: !this.inverted ? `border ${this.visuallyDisabled ? "sd-6-12-0-button--secondary--disabled-color-text border-neutral-500 hover:text-neutral-500 hover:border-neutral-500 active:text-neutral-500 active:border-neutral-500" : "sd-6-12-0-button--secondary--default-color-text border-primary hover:text-primary-500 hover:border-primary-500 active:text-primary-800 active:border-primary-800"}
|
|
176
|
+
disabled:sd-6-12-0-button--secondary--disabled-color-text disabled:border-neutral-500` : `border ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600 hover:text-neutral-600 hover:border-neutral-600 active:text-neutral-600 active:border-neutral-600" : "text-white sd-6-12-0-button--secondary--inverted--color-border hover:sd-6-12-0-button--secondary--inverted--hover-color-text hover:border-primary-100 active:text-primary-200"}
|
|
177
|
+
disabled:sd-6-12-0-button--inverted--disabled-color-border disabled:sd-6-12-0-button--inverted--disabled-color-text`,
|
|
178
|
+
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-6-12-0-button--tertiary--disabled-color-text hover:text-neutral-500 active:text-neutral-500" : "sd-6-12-0-button--tertiary--default-color-text hover:text-primary-500 active:text-primary-800"}
|
|
179
|
+
disabled:sd-6-12-0-button--tertiary--disabled-color-text` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600 hover:text-neutral-600 active:text-neutral-600" : "text-white hover:sd-6-12-0-button--tertiary--inverted--hover-color-text hover:sd-6-12-0-button--tertiary--inverted--hover-color-background active:text-primary-200"}
|
|
180
|
+
disabled:sd-6-12-0-button--inverted--disabled-color-text`,
|
|
181
181
|
cta: `${this.visuallyDisabled ? "bg-neutral-500 border-neutral-500 hover:bg-neutral-500 active:bg-neutral-500" : "bg-accent border-transparent"}
|
|
182
|
-
${!this.inverted ? "text-white disabled:bg-neutral-500 disabled:border-neutral-500 disabled:text-white" : "sd-6-
|
|
182
|
+
${!this.inverted ? "text-white disabled:bg-neutral-500 disabled:border-neutral-500 disabled:text-white" : "sd-6-12-0-button--cta--inverted--default-color-background sd-6-12-0-button--cta--inverted--default-color-text hover:sd-6-12-0-button--cta--inverted--hover-color-text active:sd-6-12-0-button--cta--inverted--active-color-text disabled:sd-6-12-0-button--inverted--disabled-color-background disabled:sd-6-12-0-button--inverted--disabled-color-border disabled:text-white"}`
|
|
183
183
|
}[this.variant]
|
|
184
184
|
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
185
185
|
"absolute inset-0 -z-10 overflow-hidden pointer-events-none ",
|
|
186
186
|
(this.disabled || this.visuallyDisabled) && "hidden",
|
|
187
187
|
{
|
|
188
188
|
/* sizes, fonts */
|
|
189
|
-
sm: `sd-6-
|
|
190
|
-
md: `sd-6-
|
|
191
|
-
lg: `sd-6-
|
|
189
|
+
sm: `sd-6-12-0-button--size-sm-border-radius`,
|
|
190
|
+
md: `sd-6-12-0-button--size-md-border-radius`,
|
|
191
|
+
lg: `sd-6-12-0-button--size-lg-border-radius`
|
|
192
192
|
}[this.size]
|
|
193
193
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
194
194
|
"absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",
|
|
195
195
|
{
|
|
196
|
-
primary: !this.inverted ? "sd-6-
|
|
197
|
-
secondary: !this.inverted ? "sd-6-
|
|
198
|
-
tertiary: !this.inverted ? "sd-6-
|
|
199
|
-
cta: !this.inverted ? "bg-accent-550 group-active:bg-accent-700" : "sd-6-
|
|
196
|
+
primary: !this.inverted ? "sd-6-12-0-button--primary--hover-color-background group-active:bg-primary-800" : "sd-6-12-0-button--primary--inverted--hover-color-background group-active:bg-primary-200",
|
|
197
|
+
secondary: !this.inverted ? "sd-6-12-0-button--secondary--hover-color-background group-active:sd-6-12-0-button--secondary--active-color-background" : "bg-primary-500 group-active:sd-6-12-0-button--secondary--inverted--active-color-background",
|
|
198
|
+
tertiary: !this.inverted ? "sd-6-12-0-button--tertiary--hover-color-background group-active:sd-6-12-0-button--tertiary--active-color-background" : "bg-primary-500 group-active:sd-6-12-0-button--tertiary--inverted--active-color-background",
|
|
199
|
+
cta: !this.inverted ? "bg-accent-550 group-active:bg-accent-700" : "sd-6-12-0-button--cta--inverted--hover-color-background group-active:sd-6-12-0-button--cta--inverted--active-color-background"
|
|
200
200
|
}[this.variant]
|
|
201
201
|
)}"></div><div class="${cx(
|
|
202
202
|
"absolute w-full h-full mt-[22%]",
|
|
203
203
|
{
|
|
204
|
-
primary: !this.inverted ? "sd-6-
|
|
205
|
-
secondary: !this.inverted ? "sd-6-
|
|
206
|
-
tertiary: !this.inverted ? "sd-6-
|
|
207
|
-
cta: !this.inverted ? "bg-accent-550 group-active:bg-accent-700" : "sd-6-
|
|
204
|
+
primary: !this.inverted ? "sd-6-12-0-button--primary--hover-color-background group-active:bg-primary-800" : "sd-6-12-0-button--primary--inverted--hover-color-background group-active:bg-primary-200",
|
|
205
|
+
secondary: !this.inverted ? "sd-6-12-0-button--secondary--hover-color-background group-active:sd-6-12-0-button--secondary--active-color-background" : "bg-primary-500 group-active:sd-6-12-0-button--secondary--inverted--active-color-background",
|
|
206
|
+
tertiary: !this.inverted ? "sd-6-12-0-button--tertiary--hover-color-background group-active:sd-6-12-0-button--tertiary--active-color-background" : "bg-primary-500 group-active:sd-6-12-0-button--tertiary--inverted--active-color-background",
|
|
207
|
+
cta: !this.inverted ? "bg-accent-550 group-active:bg-accent-700" : "sd-6-12-0-button--cta--inverted--hover-color-background group-active:sd-6-12-0-button--cta--inverted--active-color-background"
|
|
208
208
|
}[this.variant]
|
|
209
209
|
)}"></div></div></div><slot name="icon-left" part="icon-left" class="${cx(
|
|
210
210
|
"flex flex-auto items-center justify-end pointer-events-none",
|
|
@@ -228,7 +228,7 @@ var SdButton = class extends SolidElement {
|
|
|
228
228
|
md: "ml-2",
|
|
229
229
|
lg: "ml-2"
|
|
230
230
|
}[this.size]
|
|
231
|
-
)}"></slot>${this.loading ? html`<sd-6-
|
|
231
|
+
)}"></slot>${this.loading ? html`<sd-6-12-0-loader class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-6-12-0-loader>` : ""}</${tag}>`;
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
234
|
/**
|
|
@@ -237,13 +237,13 @@ var SdButton = class extends SolidElement {
|
|
|
237
237
|
SdButton.styles = [
|
|
238
238
|
...SolidElement.styles,
|
|
239
239
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
240
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-
|
|
240
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}::slotted(sd-6-12-0-badge){pointer-events:none;position:absolute;top:calc(var(--sd-spacing-1) * 0);right:calc(var(--sd-spacing-1) * 0);--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-6-12-0-icon),sd-6-12-0-loader{font-size:calc(var(--tw-varspacing)/ 2)}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`
|
|
241
241
|
];
|
|
242
242
|
__decorateClass([
|
|
243
243
|
query("a, button")
|
|
244
244
|
], SdButton.prototype, "button", 2);
|
|
245
245
|
__decorateClass([
|
|
246
|
-
queryAssignedElements({ selector: "sd-6-
|
|
246
|
+
queryAssignedElements({ selector: "sd-6-12-0-icon" })
|
|
247
247
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
248
248
|
__decorateClass([
|
|
249
249
|
state()
|
|
@@ -309,7 +309,7 @@ __decorateClass([
|
|
|
309
309
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
310
310
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
311
311
|
SdButton = __decorateClass([
|
|
312
|
-
customElement("sd-6-
|
|
312
|
+
customElement("sd-6-12-0-button")
|
|
313
313
|
], SdButton);
|
|
314
314
|
|
|
315
315
|
export {
|
|
@@ -98,11 +98,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
98
98
|
return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
|
|
99
99
|
};
|
|
100
100
|
this.getTag = (option) => {
|
|
101
|
-
return html`<sd-6-
|
|
101
|
+
return html`<sd-6-12-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
102
102
|
base:tag__base,
|
|
103
103
|
content:tag__content,
|
|
104
104
|
removable-indicator:tag__removable-indicator,
|
|
105
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-6-
|
|
105
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-6-12-0-tag>`;
|
|
106
106
|
};
|
|
107
107
|
this.handleDocumentFocusIn = (event) => {
|
|
108
108
|
const path = event.composedPath();
|
|
@@ -241,9 +241,9 @@ var SdCombobox = class extends SolidElement {
|
|
|
241
241
|
return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
|
|
242
242
|
};
|
|
243
243
|
return this.filteredOptions.map((item) => {
|
|
244
|
-
if (item.tagName.toLowerCase() === "sd-6-
|
|
244
|
+
if (item.tagName.toLowerCase() === "sd-6-12-0-optgroup") {
|
|
245
245
|
Array.from(item.children).forEach((option) => {
|
|
246
|
-
if (option.tagName.toLowerCase() === "sd-6-
|
|
246
|
+
if (option.tagName.toLowerCase() === "sd-6-12-0-option") {
|
|
247
247
|
renderOption(option);
|
|
248
248
|
}
|
|
249
249
|
});
|
|
@@ -263,11 +263,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
263
263
|
});
|
|
264
264
|
} else {
|
|
265
265
|
return [
|
|
266
|
-
html`<sd-6-
|
|
266
|
+
html`<sd-6-12-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
267
267
|
base:tag__base,
|
|
268
268
|
content:tag__content,
|
|
269
269
|
removable-indicator:tag__removable-indicator,
|
|
270
|
-
" 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-6-
|
|
270
|
+
" 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-6-12-0-tag>`
|
|
271
271
|
];
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -386,7 +386,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
386
386
|
}
|
|
387
387
|
handleOptionClick(event) {
|
|
388
388
|
const target = event.target;
|
|
389
|
-
const option = target.closest("sd-6-
|
|
389
|
+
const option = target.closest("sd-6-12-0-option");
|
|
390
390
|
const oldValue = this.value;
|
|
391
391
|
if (option && !option.disabled) {
|
|
392
392
|
if (this.multiple) {
|
|
@@ -438,7 +438,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
438
438
|
scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
|
|
439
439
|
}
|
|
440
440
|
getAllFilteredOptions() {
|
|
441
|
-
return [...this.filteredWrapper.querySelectorAll("sd-6-
|
|
441
|
+
return [...this.filteredWrapper.querySelectorAll("sd-6-12-0-option")];
|
|
442
442
|
}
|
|
443
443
|
getCurrentOption() {
|
|
444
444
|
return this.getAllFilteredOptions().find((option) => option.current);
|
|
@@ -568,7 +568,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
568
568
|
clonedOption.selected = option.selected;
|
|
569
569
|
clonedOption.checkbox = option.checkbox;
|
|
570
570
|
clonedOption.size = option.size;
|
|
571
|
-
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-6-
|
|
571
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-6-12-0-optgroup";
|
|
572
572
|
if (!hasOptgroup) {
|
|
573
573
|
return clonedOption;
|
|
574
574
|
}
|
|
@@ -592,7 +592,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
592
592
|
this.formControlController.emitInvalidEvent(event);
|
|
593
593
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
594
594
|
}
|
|
595
|
-
/** Receives incoming event detail from sd-6-
|
|
595
|
+
/** Receives incoming event detail from sd-6-12-0-popup and updates local state for conditional styling. */
|
|
596
596
|
handleCurrentPlacement(e) {
|
|
597
597
|
const incomingPlacement = e.detail;
|
|
598
598
|
if (incomingPlacement) {
|
|
@@ -604,7 +604,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
604
604
|
}
|
|
605
605
|
handleUseTagsChange() {
|
|
606
606
|
const allOptions = this.getAllFilteredOptions();
|
|
607
|
-
if (customElements.get("sd-6-
|
|
607
|
+
if (customElements.get("sd-6-12-0-option")) {
|
|
608
608
|
allOptions.forEach((option) => {
|
|
609
609
|
option.checkbox = this.multiple;
|
|
610
610
|
});
|
|
@@ -733,8 +733,8 @@ var SdCombobox = class extends SolidElement {
|
|
|
733
733
|
return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
|
|
734
734
|
}
|
|
735
735
|
async handleDefaultSlotChange() {
|
|
736
|
-
if (!customElements.get("sd-6-
|
|
737
|
-
customElements.whenDefined("sd-6-
|
|
736
|
+
if (!customElements.get("sd-6-12-0-option")) {
|
|
737
|
+
customElements.whenDefined("sd-6-12-0-option").then(() => this.handleDefaultSlotChange());
|
|
738
738
|
return;
|
|
739
739
|
}
|
|
740
740
|
const slottedOptions = this.getSlottedOptions();
|
|
@@ -746,10 +746,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
746
746
|
if (this.multiple) {
|
|
747
747
|
option.checkbox = true;
|
|
748
748
|
}
|
|
749
|
-
option.id = option.id || `sd-6-
|
|
749
|
+
option.id = option.id || `sd-6-12-0-combobox-option-${index}`;
|
|
750
750
|
});
|
|
751
751
|
slottedOptgroups.forEach((optgroup, index) => {
|
|
752
|
-
optgroup.id = optgroup.id || `sd-6-
|
|
752
|
+
optgroup.id = optgroup.id || `sd-6-12-0-combobox-optgroup-${index}`;
|
|
753
753
|
});
|
|
754
754
|
await this.syncSelectedOptionsAndValue();
|
|
755
755
|
if (this.multiple) {
|
|
@@ -811,7 +811,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
811
811
|
default: "form-control-color-border"
|
|
812
812
|
}[selectState],
|
|
813
813
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
814
|
-
)}"></div><sd-6-
|
|
814
|
+
)}"></div><sd-6-12-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
815
815
|
"inline-flex relative w-full",
|
|
816
816
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
817
817
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -837,27 +837,27 @@ var SdCombobox = class extends SolidElement {
|
|
|
837
837
|
"flex justify-center",
|
|
838
838
|
iconMarginLeft,
|
|
839
839
|
this.value.length > 0 ? "visible" : "invisible"
|
|
840
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-
|
|
840
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-12-0-icon class="${cx("text-neutral-700", iconSize)}" name="closing-round" library="_internal"></sd-6-12-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-6-12-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-6-12-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-6-12-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-6-12-0-icon>` : ""}<slot name="right" part="right" class="${cx(
|
|
841
841
|
"inline-flex ml-2 leading-[0]",
|
|
842
842
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
843
843
|
iconSize
|
|
844
|
-
)}">${this.type !== "search" ? html`<sd-6-
|
|
844
|
+
)}">${this.type !== "search" ? html`<sd-6-12-0-icon class="${cx(
|
|
845
845
|
"transition-transform duration-medium ease-in-out",
|
|
846
846
|
this.open ? "rotate-180" : "rotate-0"
|
|
847
|
-
)}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-
|
|
847
|
+
)}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-6-12-0-icon>` : ""}</slot>${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button"><sd-6-12-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-12-0-icon></button>` : html`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${ifDefined(!this.multiple ? "listbox" : void 0)}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
|
848
848
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
849
849
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
850
850
|
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"
|
|
851
|
-
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-
|
|
851
|
+
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-6-12-0-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-1", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`;
|
|
852
852
|
}
|
|
853
853
|
};
|
|
854
854
|
SdCombobox.styles = [
|
|
855
855
|
...SolidElement.styles,
|
|
856
856
|
css`/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
857
|
-
:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-
|
|
857
|
+
:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-6-12-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-6-12-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-6-12-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-6-12-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-6-12-0-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}[part=filtered-listbox] sd-6-12-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`
|
|
858
858
|
];
|
|
859
859
|
__decorateClass([
|
|
860
|
-
query("sd-6-
|
|
860
|
+
query("sd-6-12-0-popup")
|
|
861
861
|
], SdCombobox.prototype, "popup", 2);
|
|
862
862
|
__decorateClass([
|
|
863
863
|
query('[part="combobox"]')
|
|
@@ -1021,7 +1021,7 @@ __decorateClass([
|
|
|
1021
1021
|
watch(["size", "floatingLabel"])
|
|
1022
1022
|
], SdCombobox.prototype, "handleSizeChange", 1);
|
|
1023
1023
|
SdCombobox = __decorateClass([
|
|
1024
|
-
customElement("sd-6-
|
|
1024
|
+
customElement("sd-6-12-0-combobox")
|
|
1025
1025
|
], SdCombobox);
|
|
1026
1026
|
setDefaultAnimation("combobox.show", {
|
|
1027
1027
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|