@solid-design-system/components 5.15.5 → 5.15.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.6NSE3DZZ.js +11 -0
- package/cdn/chunks/{chunk.CNOQLSAS.js → chunk.B6DU5WQZ.js} +4 -4
- package/cdn/chunks/{chunk.GC5HUEMT.js → chunk.IG2VTTYZ.js} +1 -1
- package/cdn/chunks/{chunk.AVWCANBI.js → chunk.JRJ6FNRH.js} +1 -1
- package/cdn/chunks/{chunk.M275INNC.js → chunk.LUO6B5O2.js} +9 -8
- package/cdn/chunks/{chunk.H2TFK3FW.js → chunk.QQ5HSBA6.js} +1 -1
- package/cdn/chunks/{chunk.Q3NMER3S.js → chunk.R5CCLEF5.js} +1 -1
- package/cdn/chunks/{chunk.SBW3IQVN.js → chunk.XF6C6IZ7.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/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/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tag/tag.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 +966 -966
- package/cdn/solid-components.bundle.js +12 -11
- package/cdn/solid-components.iife.js +12 -11
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2HR2JHBL.js +1 -1
- package/cdn-versioned/chunks/chunk.35XMPPY5.js +1 -1
- package/cdn-versioned/chunks/chunk.3OGPT34F.js +1 -1
- package/cdn-versioned/chunks/chunk.4OSXAE67.js +1 -1
- package/cdn-versioned/chunks/chunk.4VGPLUHG.js +1 -1
- package/cdn-versioned/chunks/chunk.5FGVDYO4.js +1 -1
- package/cdn-versioned/chunks/chunk.5UU57WGX.js +1 -1
- package/cdn-versioned/chunks/chunk.5YR2BW6Z.js +1 -1
- package/cdn-versioned/chunks/chunk.6DD53IIK.js +1 -1
- package/cdn-versioned/chunks/chunk.6DEKOOVF.js +1 -1
- package/cdn-versioned/chunks/chunk.6DJJYTKZ.js +2 -2
- package/cdn-versioned/chunks/chunk.6LY4CQS5.js +1 -1
- package/cdn-versioned/chunks/chunk.6NSE3DZZ.js +11 -0
- package/cdn-versioned/chunks/chunk.77KBPY6M.js +1 -1
- package/cdn-versioned/chunks/chunk.7GJAULJA.js +1 -1
- package/cdn-versioned/chunks/chunk.7JV32P5Q.js +1 -1
- package/cdn-versioned/chunks/chunk.7ZT7XD7H.js +1 -1
- package/cdn-versioned/chunks/{chunk.CNOQLSAS.js → chunk.B6DU5WQZ.js} +4 -4
- package/cdn-versioned/chunks/chunk.BGKGDPBP.js +1 -1
- package/cdn-versioned/chunks/chunk.C2K5FJG6.js +1 -1
- package/cdn-versioned/chunks/chunk.CE5ZCTLG.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DKTLAKVD.js +1 -1
- package/cdn-versioned/chunks/chunk.EBQAL4SG.js +1 -1
- package/cdn-versioned/chunks/chunk.EC63I62M.js +1 -1
- package/cdn-versioned/chunks/chunk.ENG4CGOQ.js +1 -1
- package/cdn-versioned/chunks/chunk.EWX245UT.js +1 -1
- package/cdn-versioned/chunks/chunk.GB43ZI2M.js +1 -1
- package/cdn-versioned/chunks/chunk.GJAPEOYB.js +1 -1
- package/cdn-versioned/chunks/chunk.GVD7DPUX.js +1 -1
- package/cdn-versioned/chunks/chunk.HVSHE3SX.js +1 -1
- package/cdn-versioned/chunks/{chunk.GC5HUEMT.js → chunk.IG2VTTYZ.js} +4 -4
- package/cdn-versioned/chunks/chunk.IHKACSKZ.js +1 -1
- package/cdn-versioned/chunks/chunk.IQ4XSBN6.js +1 -1
- package/cdn-versioned/chunks/chunk.JGGJ7DHB.js +1 -1
- package/cdn-versioned/chunks/{chunk.AVWCANBI.js → chunk.JRJ6FNRH.js} +1 -1
- package/cdn-versioned/chunks/chunk.KD3QQ6GF.js +1 -1
- package/cdn-versioned/chunks/chunk.LFTOGDCS.js +1 -1
- package/cdn-versioned/chunks/chunk.LUHUBO4Y.js +1 -1
- package/cdn-versioned/chunks/{chunk.M275INNC.js → chunk.LUO6B5O2.js} +9 -8
- package/cdn-versioned/chunks/chunk.LZDITSGD.js +1 -1
- package/cdn-versioned/chunks/chunk.M4XF4HY6.js +2 -2
- package/cdn-versioned/chunks/chunk.N4VPOI2K.js +1 -1
- package/cdn-versioned/chunks/chunk.O6KTLPCX.js +1 -1
- package/cdn-versioned/chunks/chunk.OLYZZSH7.js +1 -1
- package/cdn-versioned/chunks/chunk.OZ4RSXMQ.js +1 -1
- package/cdn-versioned/chunks/{chunk.H2TFK3FW.js → chunk.QQ5HSBA6.js} +1 -1
- package/cdn-versioned/chunks/chunk.QVM2KJMY.js +1 -1
- package/cdn-versioned/chunks/{chunk.Q3NMER3S.js → chunk.R5CCLEF5.js} +1 -1
- package/cdn-versioned/chunks/chunk.RBVN4ZNT.js +1 -1
- package/cdn-versioned/chunks/chunk.RCDKFEMZ.js +1 -1
- package/cdn-versioned/chunks/chunk.RPGHXS3H.js +1 -1
- package/cdn-versioned/chunks/chunk.RW5KPI4Z.js +1 -1
- package/cdn-versioned/chunks/chunk.RYTJY7J3.js +1 -1
- package/cdn-versioned/chunks/chunk.SOCURUDK.js +1 -1
- package/cdn-versioned/chunks/chunk.UQR7JBGF.js +1 -1
- package/cdn-versioned/chunks/chunk.VPFGICJP.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WG74SLXL.js +1 -1
- package/cdn-versioned/chunks/chunk.WZDZQ6LB.js +1 -1
- package/cdn-versioned/chunks/chunk.X3PHFNB7.js +1 -1
- package/cdn-versioned/chunks/{chunk.SBW3IQVN.js → chunk.XF6C6IZ7.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZRK4JWRJ.js +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/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/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +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/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/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/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/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +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/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/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/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-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +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/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/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +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/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +1198 -1198
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +21 -20
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +21 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +91 -91
- package/cdn-versioned/web-types.json +154 -154
- package/dist/chunks/{chunk.XK3MBLKI.js → chunk.4PS5R3HQ.js} +1 -1
- package/dist/chunks/{chunk.U44CWPXO.js → chunk.55YNHA4Y.js} +1 -1
- package/dist/chunks/{chunk.6JH5RYK5.js → chunk.5FANE6X5.js} +1 -1
- package/{dist-versioned/chunks/chunk.M4ZYKLLS.js → dist/chunks/chunk.5SNCWTQU.js} +7 -6
- package/dist/chunks/{chunk.QENOXTAG.js → chunk.AZRZJLYB.js} +2 -2
- package/dist/chunks/{chunk.GCRESMVG.js → chunk.TLVK4R6I.js} +1 -1
- package/dist/chunks/{chunk.45EBRFJS.js → chunk.X4WBXLQO.js} +1 -1
- package/dist/chunks/{chunk.2AQLDT5K.js → chunk.Y62XG7YE.js} +17 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +3 -3
- package/dist/components/audio/audio.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +4 -4
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/expandable/expandable.js +3 -3
- package/dist/components/flipcard/flipcard.js +3 -3
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +2 -2
- package/dist/components/input/input.js +4 -4
- package/dist/components/navigation-item/navigation-item.js +3 -3
- package/dist/components/notification/notification.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/quickfact/quickfact.js +3 -3
- package/dist/components/scrollable/scrollable.js +3 -3
- package/dist/components/select/select.js +4 -4
- package/dist/components/step/step.js +3 -3
- package/dist/components/tab-group/tab-group.js +3 -3
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/components/video/video.js +3 -3
- package/dist/custom-elements.json +966 -966
- package/dist/solid-components.js +8 -8
- package/dist/utilities/icon-library.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.257BQ5G3.js +2 -2
- package/dist-versioned/chunks/chunk.2TPMKDGR.js +1 -1
- package/dist-versioned/chunks/chunk.2Z23SMCT.js +2 -2
- package/dist-versioned/chunks/chunk.34JZVZG6.js +2 -2
- package/dist-versioned/chunks/chunk.4CMRVAWO.js +6 -6
- package/dist-versioned/chunks/{chunk.XK3MBLKI.js → chunk.4PS5R3HQ.js} +24 -24
- package/dist-versioned/chunks/{chunk.U44CWPXO.js → chunk.55YNHA4Y.js} +3 -3
- package/dist-versioned/chunks/{chunk.6JH5RYK5.js → chunk.5FANE6X5.js} +1 -1
- package/{dist/chunks/chunk.M4ZYKLLS.js → dist-versioned/chunks/chunk.5SNCWTQU.js} +7 -6
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6S62Y3SN.js +2 -2
- package/dist-versioned/chunks/chunk.A6F5UBS5.js +1 -1
- package/dist-versioned/chunks/chunk.AO5E3XWU.js +2 -2
- package/dist-versioned/chunks/{chunk.QENOXTAG.js → chunk.AZRZJLYB.js} +27 -27
- package/dist-versioned/chunks/chunk.C7HV6GLS.js +1 -1
- package/dist-versioned/chunks/chunk.CWOPJ6AE.js +2 -2
- package/dist-versioned/chunks/chunk.CYAZC6LN.js +3 -3
- package/dist-versioned/chunks/chunk.CZ5NVXDL.js +2 -2
- package/dist-versioned/chunks/chunk.DC7DGLHJ.js +1 -1
- package/dist-versioned/chunks/chunk.DT3ZL7JI.js +12 -12
- package/dist-versioned/chunks/chunk.ELPOH7TW.js +11 -11
- package/dist-versioned/chunks/chunk.F2UZ5T7G.js +5 -5
- package/dist-versioned/chunks/chunk.HBX6PDXK.js +4 -4
- package/dist-versioned/chunks/chunk.IJ2YK4AW.js +4 -4
- package/dist-versioned/chunks/chunk.IJIJ7YVU.js +1 -1
- package/dist-versioned/chunks/chunk.ILB62SSN.js +3 -3
- package/dist-versioned/chunks/chunk.IYSGB2DQ.js +5 -5
- package/dist-versioned/chunks/chunk.J3K6PVKE.js +2 -2
- package/dist-versioned/chunks/chunk.JSVTNGBN.js +2 -2
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.KENPSAUU.js +1 -1
- package/dist-versioned/chunks/chunk.KZLAI4DK.js +1 -1
- package/dist-versioned/chunks/chunk.LNGJFVKN.js +2 -2
- package/dist-versioned/chunks/chunk.M55G2PHP.js +2 -2
- package/dist-versioned/chunks/chunk.MDZHXHUH.js +3 -3
- package/dist-versioned/chunks/chunk.MML77VKL.js +2 -2
- package/dist-versioned/chunks/chunk.NR3OWI4Y.js +1 -1
- package/dist-versioned/chunks/chunk.NSCG7U5D.js +14 -14
- package/dist-versioned/chunks/chunk.NZFEW5QU.js +1 -1
- package/dist-versioned/chunks/chunk.PAGQREWS.js +4 -4
- package/dist-versioned/chunks/chunk.PUT4BQ4M.js +5 -5
- package/dist-versioned/chunks/chunk.PVFVGCKE.js +1 -1
- package/dist-versioned/chunks/chunk.QGSAYCDJ.js +5 -5
- package/dist-versioned/chunks/chunk.QIWHR4XZ.js +1 -1
- package/dist-versioned/chunks/chunk.QW32IQ37.js +6 -6
- package/dist-versioned/chunks/chunk.RVZPI7LZ.js +8 -8
- package/dist-versioned/chunks/chunk.THYGJ3F3.js +2 -2
- package/dist-versioned/chunks/{chunk.GCRESMVG.js → chunk.TLVK4R6I.js} +3 -3
- package/dist-versioned/chunks/chunk.TUOYTASX.js +3 -3
- package/dist-versioned/chunks/chunk.U6LFASA7.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.WDWZFQ4X.js +2 -2
- package/dist-versioned/chunks/{chunk.45EBRFJS.js → chunk.X4WBXLQO.js} +2 -2
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/chunk.XIRK4KQ5.js +3 -3
- package/dist-versioned/chunks/chunk.XVNT7HIE.js +1 -1
- package/dist-versioned/chunks/chunk.XX3EFOOF.js +3 -3
- package/dist-versioned/chunks/chunk.XZDQNDB2.js +12 -12
- package/dist-versioned/chunks/{chunk.2AQLDT5K.js → chunk.Y62XG7YE.js} +23 -7
- package/dist-versioned/chunks/chunk.Y7TQJEA7.js +2 -2
- package/dist-versioned/chunks/chunk.YFRXAKBQ.js +1 -1
- package/dist-versioned/chunks/chunk.YXP3Q4D5.js +2 -2
- package/dist-versioned/chunks/chunk.ZNPGMZAM.js +1 -1
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +3 -3
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +3 -3
- 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/carousel.js +4 -4
- 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/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +4 -4
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +3 -3
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +3 -3
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +3 -3
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +3 -3
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +3 -3
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +4 -4
- 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/navigation-item/navigation-item.js +3 -3
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +3 -3
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +3 -3
- 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/scrollable/scrollable.js +3 -3
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +4 -4
- 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/step.js +3 -3
- package/dist-versioned/components/step-group/step-group.d.ts +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-group/tab-group.js +3 -3
- 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/tag/tag.js +3 -3
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +4 -4
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +3 -3
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +3 -3
- package/dist-versioned/custom-elements.json +1198 -1198
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +8 -8
- package/dist-versioned/utilities/icon-library.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +91 -91
- package/dist-versioned/web-types.json +154 -154
- package/package.json +1 -1
- package/cdn/chunks/chunk.G43QKY2C.js +0 -11
- package/cdn-versioned/chunks/chunk.G43QKY2C.js +0 -11
|
@@ -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-15-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-5-15-7-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-15-
|
|
79
|
+
return html`<sd-5-15-7-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-15-
|
|
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-15-7-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-15-
|
|
94
|
+
const isIconButton = target.closest("sd-5-15-7-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-15-
|
|
230
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-15-
|
|
229
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-15-7-tag");
|
|
230
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-15-7-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-15-
|
|
250
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-15-7-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-15-
|
|
296
|
+
const option = target.closest("sd-5-15-7-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-15-
|
|
321
|
+
if (customElements.get("sd-5-15-7-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-15-
|
|
330
|
+
customElements.whenDefined("sd-5-15-7-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-15-
|
|
347
|
+
// Gets an array of all <sd-5-15-7-option> elements
|
|
348
348
|
getAllOptions() {
|
|
349
|
-
return [...this.querySelectorAll("sd-5-15-
|
|
349
|
+
return [...this.querySelectorAll("sd-5-15-7-option")];
|
|
350
350
|
}
|
|
351
|
-
// Gets the first <sd-5-15-
|
|
351
|
+
// Gets the first <sd-5-15-7-option> element
|
|
352
352
|
getFirstOption() {
|
|
353
|
-
return this.querySelector("sd-5-15-
|
|
353
|
+
return this.querySelector("sd-5-15-7-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-15-
|
|
452
|
+
html`<sd-5-15-7-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-15-
|
|
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-15-7-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-15-
|
|
465
|
+
/** Receives incoming event detail from sd-5-15-7-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-15-
|
|
474
|
+
if (customElements.get("sd-5-15-7-option")) {
|
|
475
475
|
allOptions.forEach((option) => {
|
|
476
476
|
option.checkbox = this.multiple;
|
|
477
477
|
});
|
|
@@ -607,7 +607,7 @@ var SdSelect = class extends SolidElement {
|
|
|
607
607
|
default: "border-neutral-800"
|
|
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-15-
|
|
610
|
+
)}"></div><sd-5-15-7-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
|
|
626
|
+
"top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder-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-15-
|
|
633
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-15-7-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-15-7-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-15-7-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-15-7-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-15-7-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-5-15-7-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-15-
|
|
638
|
+
)}"><sd-5-15-7-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-15-7-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-15-
|
|
651
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-15-7-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,13 @@ var SdSelect = class extends SolidElement {
|
|
|
656
656
|
*/
|
|
657
657
|
SdSelect.styles = [
|
|
658
658
|
...SolidElement.styles,
|
|
659
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-15-
|
|
659
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-15-7-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-15-7-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-5-15-7-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-15-7-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-15-7-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}`
|
|
660
660
|
];
|
|
661
661
|
__decorateClass([
|
|
662
|
-
queryAssignedElements({ selector: "sd-5-15-
|
|
662
|
+
queryAssignedElements({ selector: "sd-5-15-7-option" })
|
|
663
663
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
664
664
|
__decorateClass([
|
|
665
|
-
query("sd-5-15-
|
|
665
|
+
query("sd-5-15-7-popup")
|
|
666
666
|
], SdSelect.prototype, "popup", 2);
|
|
667
667
|
__decorateClass([
|
|
668
668
|
query('[part="combobox"]')
|
|
@@ -784,7 +784,7 @@ __decorateClass([
|
|
|
784
784
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
785
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
786
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-5-15-
|
|
787
|
+
customElement("sd-5-15-7-select")
|
|
788
788
|
], SdSelect);
|
|
789
789
|
setDefaultAnimation("select.show", {
|
|
790
790
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -93,7 +93,7 @@ var SdOption = class extends SolidElement {
|
|
|
93
93
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
94
94
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
95
95
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "bg-white border-neutral-800"
|
|
96
|
-
)}">${this.selected ? html`<sd-5-15-
|
|
96
|
+
)}">${this.selected ? html`<sd-5-15-7-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-5-15-7-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
@@ -140,7 +140,7 @@ __decorateClass([
|
|
|
140
140
|
watch("value")
|
|
141
141
|
], SdOption.prototype, "handleValueChange", 1);
|
|
142
142
|
SdOption = __decorateClass([
|
|
143
|
-
customElement("sd-5-15-
|
|
143
|
+
customElement("sd-5-15-7-option")
|
|
144
144
|
], SdOption);
|
|
145
145
|
|
|
146
146
|
export {
|
|
@@ -38,12 +38,12 @@ var SdBreadcrumbItem = class extends SolidElement {
|
|
|
38
38
|
requestAnimationFrame(() => this.handleCurrentChange());
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return html`<sd-5-15-
|
|
41
|
+
return html`<sd-5-15-7-link part="base" href="${ifDefined(!this.current ? this.href : void 0)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-5-15-7-link>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdBreadcrumbItem.styles = [
|
|
45
45
|
...SolidElement.styles,
|
|
46
|
-
css`:host{align-items:center;display:inline-flex}sd-5-15-
|
|
46
|
+
css`:host{align-items:center;display:inline-flex}sd-5-15-7-link::part(base){align-items:center}sd-5-15-7-link::part(icon-left){display:inline-flex;margin-right:var(--sd-spacing-0,0)}sd-5-15-7-link sd-5-15-7-icon{margin:var(--sd-spacing-0,0)}:host([current]) sd-5-15-7-link::part(base){--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-700,104 104 104)/var(--tw-text-opacity,1))}:host([current]) sd-5-15-7-link::part(label){text-decoration-line:none}`
|
|
47
47
|
];
|
|
48
48
|
__decorateClass([
|
|
49
49
|
query('[part="base"]')
|
|
@@ -61,7 +61,7 @@ __decorateClass([
|
|
|
61
61
|
watch("current")
|
|
62
62
|
], SdBreadcrumbItem.prototype, "handleCurrentChange", 1);
|
|
63
63
|
SdBreadcrumbItem = __decorateClass([
|
|
64
|
-
customElement("sd-5-15-
|
|
64
|
+
customElement("sd-5-15-7-breadcrumb-item")
|
|
65
65
|
], SdBreadcrumbItem);
|
|
66
66
|
|
|
67
67
|
export {
|
|
@@ -183,7 +183,7 @@ var SdDialog = class extends SolidElement {
|
|
|
183
183
|
)}"><div part="overlay" class="fixed inset-0 bg-primary-800 opacity-90" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${cx(
|
|
184
184
|
"flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
185
185
|
this.open && "flex opacity-100"
|
|
186
|
-
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-5-15-
|
|
186
|
+
)}" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-5-15-7-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-5-15-7-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-15-7-icon></sd-5-15-7-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`;
|
|
187
187
|
}
|
|
188
188
|
};
|
|
189
189
|
SdDialog.styles = [
|
|
@@ -212,7 +212,7 @@ __decorateClass([
|
|
|
212
212
|
watch("open", { waitUntilFirstUpdate: true })
|
|
213
213
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
214
214
|
SdDialog = __decorateClass([
|
|
215
|
-
customElement("sd-5-15-
|
|
215
|
+
customElement("sd-5-15-7-dialog")
|
|
216
216
|
], SdDialog);
|
|
217
217
|
setDefaultAnimation("dialog.show", {
|
|
218
218
|
keyframes: [
|
|
@@ -97,7 +97,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
97
97
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
98
98
|
* or an element within the slotted elements shadow root.
|
|
99
99
|
*
|
|
100
|
-
* e.g. the accessible trigger of an <sd-5-15-
|
|
100
|
+
* e.g. the accessible trigger of an <sd-5-15-7-button> is a <button> located inside its shadow root.
|
|
101
101
|
*
|
|
102
102
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
103
103
|
* */
|
|
@@ -108,11 +108,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
108
108
|
if (accessibleTrigger) {
|
|
109
109
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
110
110
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
111
|
-
case "sd-5-15-
|
|
112
|
-
case "sd-5-15-
|
|
111
|
+
case "sd-5-15-7-button":
|
|
112
|
+
case "sd-5-15-7-icon-button":
|
|
113
113
|
target = accessibleTrigger.button;
|
|
114
114
|
break;
|
|
115
|
-
case "sd-5-15-
|
|
115
|
+
case "sd-5-15-7-navigation-item":
|
|
116
116
|
target = accessibleTrigger.button;
|
|
117
117
|
break;
|
|
118
118
|
default:
|
|
@@ -136,7 +136,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
getMenu() {
|
|
139
|
-
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-5-15-
|
|
139
|
+
return this.panel.assignedElements({ flatten: true }).find((el) => el.tagName.toLowerCase() === "sd-5-15-7-menu");
|
|
140
140
|
}
|
|
141
141
|
handleKeyDown(event) {
|
|
142
142
|
if (this.open && event.key === "Escape") {
|
|
@@ -148,7 +148,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
148
148
|
handleDocumentKeyDown(event) {
|
|
149
149
|
var _a;
|
|
150
150
|
if (event.key === "Tab") {
|
|
151
|
-
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-5-15-
|
|
151
|
+
if (this.open && ((_a = document.activeElement) == null ? void 0 : _a.tagName.toLowerCase()) === "sd-5-15-7-menu-item") {
|
|
152
152
|
event.preventDefault();
|
|
153
153
|
this.hide();
|
|
154
154
|
this.focusOnTrigger();
|
|
@@ -174,7 +174,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
174
174
|
}
|
|
175
175
|
handlePanelSelect(event) {
|
|
176
176
|
const target = event.target;
|
|
177
|
-
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-5-15-
|
|
177
|
+
if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === "sd-5-15-7-menu") {
|
|
178
178
|
this.hide();
|
|
179
179
|
this.focusOnTrigger();
|
|
180
180
|
}
|
|
@@ -256,7 +256,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
256
256
|
}
|
|
257
257
|
addOpenListeners() {
|
|
258
258
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
259
|
-
this.panel.addEventListener("sd-5-15-
|
|
259
|
+
this.panel.addEventListener("sd-5-15-7-select", this.handlePanelSelect);
|
|
260
260
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
261
261
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
262
262
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -264,7 +264,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
264
264
|
removeOpenListeners() {
|
|
265
265
|
if (this.panel) {
|
|
266
266
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
267
|
-
this.panel.removeEventListener("sd-5-15-
|
|
267
|
+
this.panel.removeEventListener("sd-5-15-7-select", this.handlePanelSelect);
|
|
268
268
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
269
269
|
}
|
|
270
270
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -297,13 +297,13 @@ var SdDropdown = class extends SolidElement {
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
render() {
|
|
300
|
-
return html`<sd-5-15-
|
|
300
|
+
return html`<sd-5-15-7-popup part="base" id="dropdown" exportparts="
|
|
301
301
|
popup:base__popup,
|
|
302
302
|
" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
303
303
|
"shadow bg-white block",
|
|
304
304
|
this.open ? "pointer-events-auto" : "pointer-events-none",
|
|
305
305
|
this.rounded && "rounded-md"
|
|
306
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-15-
|
|
306
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-5-15-7-popup>`;
|
|
307
307
|
}
|
|
308
308
|
};
|
|
309
309
|
SdDropdown.styles = [
|
|
@@ -356,7 +356,7 @@ __decorateClass([
|
|
|
356
356
|
watch("open", { waitUntilFirstUpdate: true })
|
|
357
357
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
358
358
|
SdDropdown = __decorateClass([
|
|
359
|
-
customElement("sd-5-15-
|
|
359
|
+
customElement("sd-5-15-7-dropdown")
|
|
360
360
|
], SdDropdown);
|
|
361
361
|
setDefaultAnimation("dropdown.show", {
|
|
362
362
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -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-15-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-5-15-7-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-5-15-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-5-15-7-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-5-15-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-5-15-7-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-5-15-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-5-15-7-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-5-15-
|
|
41
|
-
button.classList.toggle("sd-5-15-
|
|
42
|
-
button.classList.toggle("sd-5-15-
|
|
43
|
-
button.classList.toggle("sd-5-15-
|
|
44
|
-
button.classList.toggle("sd-5-15-
|
|
40
|
+
button.classList.add("sd-5-15-7-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-5-15-7-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-5-15-7-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-5-15-7-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-5-15-7-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-15-7-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-5-15-
|
|
66
|
+
customElement("sd-5-15-7-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-5-15-
|
|
70
|
+
const selector = "sd-5-15-7-button, sd-5-15-7-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-5-15-
|
|
29
|
+
return [...this.querySelectorAll("sd-5-15-7-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-5-15-
|
|
42
|
+
if (customElements.get("sd-5-15-7-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-5-15-
|
|
45
|
+
customElements.whenDefined("sd-5-15-7-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-15-7-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-15-7-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-15-7-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-15-7-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-7-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-15-7-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-5-15-
|
|
103
|
+
customElement("sd-5-15-7-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -25,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
|
-
* Syncs the disabled prop for all slotted sd-5-15-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-5-15-7-options when it is triggered
|
|
29
29
|
*/
|
|
30
30
|
handleDisableOptions() {
|
|
31
31
|
const { disabled } = this;
|
|
32
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-15-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-15-7-option").forEach((opt) => {
|
|
33
33
|
opt.disabled = disabled;
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -38,7 +38,7 @@ var SdOptgroup = class extends SolidElement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const { disabled } = this;
|
|
41
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-15-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-15-7-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-15-7-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
SdOptgroup.styles = [
|
|
@@ -58,7 +58,7 @@ __decorateClass([
|
|
|
58
58
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
59
59
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
60
60
|
SdOptgroup = __decorateClass([
|
|
61
|
-
customElement("sd-5-15-
|
|
61
|
+
customElement("sd-5-15-7-optgroup")
|
|
62
62
|
], SdOptgroup);
|
|
63
63
|
|
|
64
64
|
export {
|
|
@@ -210,15 +210,15 @@ var SdNotification = class extends SolidElement {
|
|
|
210
210
|
warning: "bg-warning",
|
|
211
211
|
error: "bg-error"
|
|
212
212
|
}[this.variant]
|
|
213
|
-
)}"><sd-5-15-
|
|
213
|
+
)}"><sd-5-15-7-icon name="${{
|
|
214
214
|
info: "info-circle",
|
|
215
215
|
success: "confirm-circle",
|
|
216
216
|
warning: "exclamation-circle",
|
|
217
217
|
error: "warning"
|
|
218
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-15-
|
|
218
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-15-7-icon></slot><div part="content" class="${cx(
|
|
219
219
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
220
220
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
221
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-15-
|
|
221
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-15-7-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-15-7-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-15-7-icon></sd-5-15-7-button>` : ""}</div>${this.durationIndicator ? html`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${cx(`absolute w-0 h-[2px] bottom-0 bg-primary z-10 animate-grow`)}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>` : ""}</div></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
@@ -262,7 +262,7 @@ __decorateClass([
|
|
|
262
262
|
watch("duration")
|
|
263
263
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
264
264
|
SdNotification = __decorateClass([
|
|
265
|
-
customElement("sd-5-15-
|
|
265
|
+
customElement("sd-5-15-7-notification")
|
|
266
266
|
], SdNotification);
|
|
267
267
|
setDefaultAnimation("notification.show", {
|
|
268
268
|
keyframes: [
|
|
@@ -398,10 +398,10 @@ var SdRange = class extends SolidElement {
|
|
|
398
398
|
ariaLabel = this.tooltipFormatter(value);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
return html`<sd-5-15-
|
|
401
|
+
return html`<sd-5-15-7-tooltip hoist trigger="focus" disabled="${ifDefined(this.disabled || this.visuallyDisabled || this.noTooltip ? 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}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @pointerleave="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${cx(
|
|
402
402
|
"rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",
|
|
403
403
|
this.disabled || this.visuallyDisabled ? "bg-neutral-500 outline-none" : "bg-primary hover:bg-primary-500 cursor-pointer focus-visible:focus-outline"
|
|
404
|
-
)}"></div></sd-5-15-
|
|
404
|
+
)}"></div></sd-5-15-7-tooltip>`;
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
407
|
render() {
|
|
@@ -473,7 +473,7 @@ __decorateClass([
|
|
|
473
473
|
property({ type: String })
|
|
474
474
|
], SdRange.prototype, "value", 1);
|
|
475
475
|
SdRange = __decorateClass([
|
|
476
|
-
customElement("sd-5-15-
|
|
476
|
+
customElement("sd-5-15-7-range")
|
|
477
477
|
], SdRange);
|
|
478
478
|
|
|
479
479
|
export {
|