@solid-design-system/components 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.QHURAHWP.js → chunk.3G76VRT5.js} +1 -1
- package/cdn/chunks/{chunk.M43SHSJ7.js → chunk.6K3RK7TR.js} +1 -1
- package/cdn/chunks/{chunk.4336N4TN.js → chunk.7R2AGOFW.js} +3 -3
- package/cdn/chunks/{chunk.Y63VGL2X.js → chunk.A4HJJAGU.js} +1 -1
- package/cdn/chunks/chunk.FJN37DXV.js +1 -0
- package/cdn/chunks/{chunk.MHPWICL2.js → chunk.FVDWCGWF.js} +1 -1
- package/cdn/chunks/{chunk.3AEOVI4V.js → chunk.IOQAM3HC.js} +1 -1
- package/cdn/chunks/chunk.JIEBLEV6.js +1 -0
- package/cdn/chunks/{chunk.AMKBNS7H.js → chunk.QQH7LKEX.js} +1 -1
- package/cdn/chunks/{chunk.ZIXORQQN.js → chunk.VYDWOWCZ.js} +1 -1
- package/cdn/chunks/{chunk.PM4HPYFT.js → chunk.WFVHAXGV.js} +1 -1
- package/cdn/chunks/{chunk.AFKPYWS5.js → chunk.XDEIXYQG.js} +3 -3
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.d.ts +2 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +2 -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/dropdown/dropdown.d.ts +2 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.d.ts +1 -4
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +1 -4
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/select/select.d.ts +2 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +2 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +1 -19
- package/cdn/solid-components.bundle.js +15 -15
- package/cdn/solid-components.iife.js +15 -15
- package/cdn/solid-components.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/chunk.2SOEBGDS.js +1 -1
- package/cdn-versioned/chunks/{chunk.QHURAHWP.js → chunk.3G76VRT5.js} +1 -1
- package/cdn-versioned/chunks/chunk.466HB7MH.js +1 -1
- package/cdn-versioned/chunks/chunk.5I76HTXX.js +1 -1
- package/cdn-versioned/chunks/chunk.5SNCMR36.js +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.M43SHSJ7.js → chunk.6K3RK7TR.js} +4 -4
- package/cdn-versioned/chunks/chunk.6OJK4N6O.js +1 -1
- package/cdn-versioned/chunks/chunk.7LHKLE4G.js +1 -1
- package/cdn-versioned/chunks/{chunk.4336N4TN.js → chunk.7R2AGOFW.js} +4 -4
- package/cdn-versioned/chunks/chunk.7RCSPRWP.js +1 -1
- package/cdn-versioned/chunks/chunk.7SJEXZSM.js +1 -1
- package/cdn-versioned/chunks/{chunk.Y63VGL2X.js → chunk.A4HJJAGU.js} +1 -1
- package/cdn-versioned/chunks/chunk.BV574DRQ.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.EVLY2HWM.js +1 -1
- package/cdn-versioned/chunks/chunk.FJN37DXV.js +1 -0
- package/cdn-versioned/chunks/{chunk.MHPWICL2.js → chunk.FVDWCGWF.js} +1 -1
- package/cdn-versioned/chunks/chunk.FY4ZQ25C.js +1 -1
- package/cdn-versioned/chunks/chunk.I4VI7CRD.js +1 -1
- package/cdn-versioned/chunks/chunk.IDX4RDHZ.js +1 -1
- package/cdn-versioned/chunks/{chunk.3AEOVI4V.js → chunk.IOQAM3HC.js} +1 -1
- package/cdn-versioned/chunks/chunk.JIEBLEV6.js +1 -0
- package/cdn-versioned/chunks/chunk.KINWB3R6.js +1 -1
- package/cdn-versioned/chunks/chunk.KYWP646O.js +1 -1
- package/cdn-versioned/chunks/chunk.LQ5Q73YJ.js +1 -1
- package/cdn-versioned/chunks/chunk.LRTBIARY.js +1 -1
- package/cdn-versioned/chunks/chunk.MFSX5MIZ.js +1 -1
- package/cdn-versioned/chunks/chunk.MNEGNJBN.js +2 -2
- package/cdn-versioned/chunks/chunk.OOE73LIA.js +1 -1
- package/cdn-versioned/chunks/chunk.ORM6LFSP.js +1 -1
- package/cdn-versioned/chunks/chunk.PIYHBRRO.js +1 -1
- package/cdn-versioned/chunks/chunk.PKL7HSML.js +1 -1
- package/cdn-versioned/chunks/chunk.QCGZSSDL.js +1 -1
- package/cdn-versioned/chunks/{chunk.AMKBNS7H.js → chunk.QQH7LKEX.js} +1 -1
- package/cdn-versioned/chunks/chunk.RYR5JMPR.js +1 -1
- package/cdn-versioned/chunks/chunk.T25YQB27.js +1 -1
- package/cdn-versioned/chunks/chunk.TUVJON3T.js +1 -1
- package/cdn-versioned/chunks/chunk.UUQIXQII.js +1 -1
- package/cdn-versioned/chunks/{chunk.ZIXORQQN.js → chunk.VYDWOWCZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.VYFYAVQV.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.PM4HPYFT.js → chunk.WFVHAXGV.js} +2 -2
- package/cdn-versioned/chunks/chunk.WHJMIN4O.js +1 -1
- package/cdn-versioned/chunks/{chunk.AFKPYWS5.js → chunk.XDEIXYQG.js} +4 -4
- package/cdn-versioned/chunks/chunk.XLPONTTF.js +1 -1
- package/cdn-versioned/chunks/chunk.YBDULCI5.js +1 -1
- package/cdn-versioned/chunks/chunk.Z7R4W5J7.js +1 -1
- package/cdn-versioned/chunks/chunk.ZGWHWNN7.js +1 -1
- package/cdn-versioned/chunks/chunk.ZHIT75AP.js +1 -1
- package/cdn-versioned/chunks/chunk.ZUSDFNOR.js +1 -1
- package/cdn-versioned/chunks/chunk.ZWRWVYOC.js +1 -1
- package/cdn-versioned/chunks/{chunk.QDPTVUAW.js → chunk.ZYYDZEIO.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 +3 -2
- 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/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-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +3 -2
- 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 +3 -2
- 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/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/link/link.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +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 +2 -5
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +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 +2 -5
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/select/select.d.ts +3 -2
- 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-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-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +3 -2
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +209 -227
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +19 -19
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +19 -19
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.QJGXEBXI.js → chunk.FSHGDMGX.js} +0 -4
- package/dist/chunks/{chunk.67HGWRDC.js → chunk.GK6CL7OA.js} +1 -1
- package/dist/chunks/{chunk.EH5YMA4E.js → chunk.YXW76SQ5.js} +0 -6
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.d.ts +2 -1
- package/dist/components/audio/audio.js +7 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/combobox/combobox.d.ts +2 -1
- package/dist/components/combobox/combobox.js +4 -3
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/dropdown/dropdown.d.ts +2 -1
- package/dist/components/dropdown/dropdown.js +3 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/notification/notification.js +3 -3
- package/dist/components/optgroup/optgroup.d.ts +1 -4
- package/dist/components/optgroup/optgroup.js +1 -1
- package/dist/components/quickfact/quickfact.js +3 -3
- package/dist/components/radio-group/radio-group.d.ts +1 -4
- package/dist/components/radio-group/radio-group.js +1 -1
- package/dist/components/select/select.d.ts +2 -1
- package/dist/components/select/select.js +4 -3
- package/dist/components/tooltip/tooltip.d.ts +2 -1
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/custom-elements.json +1 -19
- package/dist/solid-components.js +23 -23
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.25JYDDEL.js +2 -2
- package/dist-versioned/chunks/chunk.2KW3OQK3.js +1 -1
- package/dist-versioned/chunks/chunk.4JIUFSXL.js +1 -1
- package/dist-versioned/chunks/chunk.4X5KLZKG.js +2 -2
- package/dist-versioned/chunks/chunk.57IRQB22.js +5 -5
- package/dist-versioned/chunks/chunk.5E7OOWFM.js +2 -2
- package/dist-versioned/chunks/chunk.5HB4AZFH.js +11 -11
- package/dist-versioned/chunks/chunk.6BPYGYKJ.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7A77E2WF.js +3 -3
- package/dist-versioned/chunks/{chunk.XAOH7E5Y.js → chunk.7WP2IWGR.js} +5 -5
- package/dist-versioned/chunks/{chunk.ZU6B6J6V.js → chunk.A6OD64SZ.js} +31 -31
- package/dist-versioned/chunks/{chunk.TYVXH7ZW.js → chunk.APTBM6ML.js} +12 -12
- package/dist-versioned/chunks/chunk.ASKGMA6Q.js +1 -1
- package/dist-versioned/chunks/{chunk.AD7FTSCZ.js → chunk.AXUXGTON.js} +5 -5
- package/dist-versioned/chunks/{chunk.TIB22UHZ.js → chunk.BC4AIG32.js} +6 -6
- package/dist-versioned/chunks/chunk.CY7STHBY.js +5 -5
- package/dist-versioned/chunks/chunk.DFQ36XHY.js +2 -2
- package/dist-versioned/chunks/chunk.EOLWJNLD.js +3 -3
- package/dist-versioned/chunks/chunk.EQXVKF2G.js +2 -2
- package/dist-versioned/chunks/{chunk.2XYOJHUN.js → chunk.F3WBWTX2.js} +8 -8
- package/dist-versioned/chunks/chunk.FA2PSB3G.js +6 -6
- package/dist-versioned/chunks/{chunk.QJGXEBXI.js → chunk.FSHGDMGX.js} +12 -16
- package/dist-versioned/chunks/chunk.FZYBHAXZ.js +14 -14
- package/dist-versioned/chunks/chunk.GIDPKVNI.js +1 -1
- package/dist-versioned/chunks/{chunk.67HGWRDC.js → chunk.GK6CL7OA.js} +4 -4
- package/dist-versioned/chunks/chunk.HPEQN7OA.js +8 -8
- package/dist-versioned/chunks/chunk.I5QIVC43.js +3 -3
- package/dist-versioned/chunks/chunk.IUBULF5H.js +1 -1
- package/dist-versioned/chunks/chunk.JNTYSC5E.js +1 -1
- package/dist-versioned/chunks/chunk.JQ4VVB6S.js +2 -2
- package/dist-versioned/chunks/chunk.KPGT5KTE.js +4 -4
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LO2A6JZJ.js +2 -2
- package/dist-versioned/chunks/chunk.LVZUFX7G.js +1 -1
- package/dist-versioned/chunks/chunk.MGN6UKEO.js +5 -5
- package/dist-versioned/chunks/chunk.MTWZ3KVK.js +1 -1
- package/dist-versioned/chunks/chunk.NG6H4NIH.js +2 -2
- package/dist-versioned/chunks/{chunk.Z7OTCKNY.js → chunk.NPAQBZS2.js} +8 -8
- package/dist-versioned/chunks/chunk.NTCYC424.js +1 -1
- package/dist-versioned/chunks/chunk.TJBA6JWN.js +1 -1
- package/dist-versioned/chunks/chunk.U6ZVQYN2.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UT2PBNPH.js +2 -2
- package/dist-versioned/chunks/chunk.UUW3B5S5.js +2 -2
- package/dist-versioned/chunks/chunk.W5BEGOS2.js +3 -3
- package/dist-versioned/chunks/chunk.XQPSZT7C.js +2 -2
- package/dist-versioned/chunks/{chunk.GCBWRTSA.js → chunk.Y4FVATTL.js} +7 -7
- package/dist-versioned/chunks/{chunk.6MIVTHPW.js → chunk.YRRFIBMB.js} +33 -33
- package/dist-versioned/chunks/{chunk.EH5YMA4E.js → chunk.YXW76SQ5.js} +4 -10
- package/dist-versioned/chunks/chunk.Z2TW3FW6.js +1 -1
- package/dist-versioned/chunks/chunk.ZQKFSIZX.js +1 -1
- package/dist-versioned/chunks/{chunk.DPVQIW2K.js → chunk.ZTHKEKB2.js} +8 -8
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +2 -2
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +3 -2
- package/dist-versioned/components/audio/audio.js +7 -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/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 +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 +3 -2
- package/dist-versioned/components/combobox/combobox.js +4 -3
- 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 +3 -2
- package/dist-versioned/components/dropdown/dropdown.js +3 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- 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/map-marker/map-marker.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/notification/notification.js +3 -3
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -5
- package/dist-versioned/components/optgroup/optgroup.js +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/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 +2 -5
- package/dist-versioned/components/radio-group/radio-group.js +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +3 -2
- package/dist-versioned/components/select/select.js +4 -3
- 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 +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/tooltip/tooltip.d.ts +3 -2
- package/dist-versioned/components/tooltip/tooltip.js +3 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +209 -227
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +23 -23
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +2 -2
- package/cdn/chunks/chunk.54XQKZNU.js +0 -1
- package/cdn/chunks/chunk.HAYM6MTB.js +0 -1
- package/cdn-versioned/chunks/chunk.54XQKZNU.js +0 -1
- package/cdn-versioned/chunks/chunk.HAYM6MTB.js +0 -1
- package/cdn/chunks/{chunk.QDPTVUAW.js → chunk.ZYYDZEIO.js} +0 -0
- package/dist/chunks/{chunk.XAOH7E5Y.js → chunk.7WP2IWGR.js} +3 -3
- package/dist/chunks/{chunk.ZU6B6J6V.js → chunk.A6OD64SZ.js} +7 -7
- package/dist/chunks/{chunk.TYVXH7ZW.js → chunk.APTBM6ML.js} +3 -3
- package/dist/chunks/{chunk.AD7FTSCZ.js → chunk.AXUXGTON.js} +3 -3
- package/dist/chunks/{chunk.TIB22UHZ.js → chunk.BC4AIG32.js} +0 -0
- package/dist/chunks/{chunk.2XYOJHUN.js → chunk.F3WBWTX2.js} +6 -6
- package/dist/chunks/{chunk.Z7OTCKNY.js → chunk.NPAQBZS2.js} +6 -6
- package/dist/chunks/{chunk.GCBWRTSA.js → chunk.Y4FVATTL.js} +3 -3
- package/dist/chunks/{chunk.6MIVTHPW.js → chunk.YRRFIBMB.js} +7 -7
- package/dist/chunks/{chunk.DPVQIW2K.js → chunk.ZTHKEKB2.js} +3 -3
|
@@ -208,7 +208,7 @@ __decorateClass([
|
|
|
208
208
|
watch("playbackRate")
|
|
209
209
|
], SdAnimation.prototype, "handlePlaybackRateChange", 1);
|
|
210
210
|
SdAnimation = __decorateClass([
|
|
211
|
-
customElement("sd-5-2-
|
|
211
|
+
customElement("sd-5-2-1-animation")
|
|
212
212
|
], SdAnimation);
|
|
213
213
|
|
|
214
214
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/components/combobox/utils.ts
|
|
2
2
|
var getAssignedElementsForSlot = (slot) => Array.from(slot.assignedElements({ flatten: true }));
|
|
3
|
-
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-2-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-2-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-5-2-1-option" ? item : Array.from(item.querySelectorAll(":scope > sd-5-2-1-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-5-2-1-optgroup";
|
|
5
5
|
var getAllOptions = (items) => items.map(getOptionOrNestedOptions);
|
|
6
6
|
var filterOnlyOptgroups = (items) => items.filter(isOptgroup);
|
|
7
7
|
var normalizeString = (str) => str.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase();
|
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments);
|
|
20
20
|
this.attrId = ++id;
|
|
21
|
-
this.componentId = `sd-5-2-
|
|
21
|
+
this.componentId = `sd-5-2-1-tab-panel-${this.attrId}`;
|
|
22
22
|
this.name = "";
|
|
23
23
|
this.active = false;
|
|
24
24
|
}
|
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
|
48
48
|
watch("active")
|
|
49
49
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
|
50
50
|
SdTabPanel = __decorateClass([
|
|
51
|
-
customElement("sd-5-2-
|
|
51
|
+
customElement("sd-5-2-1-tab-panel")
|
|
52
52
|
], SdTabPanel);
|
|
53
53
|
|
|
54
54
|
export {
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-5-2-
|
|
74
|
+
"sd-5-2-1-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
127
127
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
128
128
|
SdRadio = __decorateClass([
|
|
129
|
-
customElement("sd-5-2-
|
|
129
|
+
customElement("sd-5-2-1-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -41,16 +41,16 @@ var SdAccordionGroup = class extends SolidElement {
|
|
|
41
41
|
};
|
|
42
42
|
SdAccordionGroup.styles = [
|
|
43
43
|
...SolidElement.styles,
|
|
44
|
-
css`:host{display:block}::slotted(sd-5-2-
|
|
44
|
+
css`:host{display:block}::slotted(sd-5-2-1-accordion:not(:first-of-type)){margin-top:-1px}`
|
|
45
45
|
];
|
|
46
46
|
__decorateClass([
|
|
47
|
-
queryAssignedElements({ selector: "sd-5-2-
|
|
47
|
+
queryAssignedElements({ selector: "sd-5-2-1-accordion" })
|
|
48
48
|
], SdAccordionGroup.prototype, "_accordionsInDefaultSlot", 2);
|
|
49
49
|
__decorateClass([
|
|
50
50
|
property({ attribute: "close-others", type: Boolean, reflect: true })
|
|
51
51
|
], SdAccordionGroup.prototype, "closeOthers", 2);
|
|
52
52
|
SdAccordionGroup = __decorateClass([
|
|
53
|
-
customElement("sd-5-2-
|
|
53
|
+
customElement("sd-5-2-1-accordion-group")
|
|
54
54
|
], SdAccordionGroup);
|
|
55
55
|
|
|
56
56
|
export {
|
|
@@ -55,7 +55,7 @@ var SdStepGroup = class extends SolidElement {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
getAllSteps() {
|
|
58
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-2-
|
|
58
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-5-2-1-step");
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* Sets the active step.
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
watch("notInteractive")
|
|
121
121
|
], SdStepGroup.prototype, "handleInteractivityChange", 1);
|
|
122
122
|
SdStepGroup = __decorateClass([
|
|
123
|
-
customElement("sd-5-2-
|
|
123
|
+
customElement("sd-5-2-1-step-group")
|
|
124
124
|
], SdStepGroup);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
getAnimation,
|
|
3
3
|
setDefaultAnimation
|
|
4
4
|
} from "./chunk.N4LHE3QK.js";
|
|
5
|
-
import {
|
|
6
|
-
waitForEvent
|
|
7
|
-
} from "./chunk.B4BZKR24.js";
|
|
8
5
|
import {
|
|
9
6
|
LocalizeController
|
|
10
7
|
} from "./chunk.YKM42GKF.js";
|
|
8
|
+
import {
|
|
9
|
+
waitForEvent
|
|
10
|
+
} from "./chunk.B4BZKR24.js";
|
|
11
11
|
import {
|
|
12
12
|
watch
|
|
13
13
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -181,15 +181,15 @@ var SdNotification = class extends SolidElement {
|
|
|
181
181
|
warning: "bg-warning",
|
|
182
182
|
error: "bg-error"
|
|
183
183
|
}[this.variant]
|
|
184
|
-
)}"><sd-5-2-
|
|
184
|
+
)}"><sd-5-2-1-icon name="${{
|
|
185
185
|
info: "info-circle",
|
|
186
186
|
success: "confirm-circle",
|
|
187
187
|
warning: "exclamation-circle",
|
|
188
188
|
error: "warning"
|
|
189
|
-
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-2-
|
|
189
|
+
}[this.variant] || ""}" library="_internal" class="h-6 w-6 text-white"></sd-5-2-1-icon></slot><div part="content" class="${cx(
|
|
190
190
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
191
191
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
192
|
-
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-2-
|
|
192
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-5-2-1-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-5-2-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-5-2-1-icon></sd-5-2-1-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>`;
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
/**
|
|
@@ -230,7 +230,7 @@ __decorateClass([
|
|
|
230
230
|
watch("duration")
|
|
231
231
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
232
232
|
SdNotification = __decorateClass([
|
|
233
|
-
customElement("sd-5-2-
|
|
233
|
+
customElement("sd-5-2-1-notification")
|
|
234
234
|
], SdNotification);
|
|
235
235
|
setDefaultAnimation("notification.show", {
|
|
236
236
|
keyframes: [
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
scrollIntoView
|
|
6
6
|
} from "./chunk.WDWV53JP.js";
|
|
7
|
-
import {
|
|
8
|
-
getAnimation,
|
|
9
|
-
setDefaultAnimation
|
|
10
|
-
} from "./chunk.N4LHE3QK.js";
|
|
11
|
-
import {
|
|
12
|
-
waitForEvent
|
|
13
|
-
} from "./chunk.B4BZKR24.js";
|
|
14
7
|
import {
|
|
15
8
|
FormControlController
|
|
16
9
|
} from "./chunk.KVKRZJS7.js";
|
|
17
10
|
import {
|
|
18
11
|
HasSlotController
|
|
19
12
|
} from "./chunk.YEZS5ZR2.js";
|
|
13
|
+
import {
|
|
14
|
+
getAnimation,
|
|
15
|
+
setDefaultAnimation
|
|
16
|
+
} from "./chunk.N4LHE3QK.js";
|
|
20
17
|
import {
|
|
21
18
|
LocalizeController
|
|
22
19
|
} from "./chunk.YKM42GKF.js";
|
|
20
|
+
import {
|
|
21
|
+
waitForEvent
|
|
22
|
+
} from "./chunk.B4BZKR24.js";
|
|
23
23
|
import {
|
|
24
24
|
watch
|
|
25
25
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -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-2-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-5-2-1-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -77,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
77
77
|
this.styleOnValid = false;
|
|
78
78
|
this.hoist = false;
|
|
79
79
|
this.getTag = (option) => {
|
|
80
|
-
return html`<sd-5-2-
|
|
80
|
+
return html`<sd-5-2-1-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
81
81
|
base:tag__base,
|
|
82
82
|
content:tag__content,
|
|
83
83
|
removable-indicator:tag__removable-indicator,
|
|
84
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-2-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-2-1-tag>`;
|
|
85
85
|
};
|
|
86
86
|
this.handleDocumentFocusIn = (event) => {
|
|
87
87
|
const path = event.composedPath();
|
|
@@ -92,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
92
92
|
this.handleDocumentKeyDown = (event) => {
|
|
93
93
|
const target = event.target;
|
|
94
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
95
|
-
const isIconButton = target.closest("sd-5-2-
|
|
95
|
+
const isIconButton = target.closest("sd-5-2-1-icon-button") !== null;
|
|
96
96
|
if (isClearButton || isIconButton) {
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
@@ -227,8 +227,8 @@ var SdSelect = class extends SolidElement {
|
|
|
227
227
|
event.preventDefault();
|
|
228
228
|
event.stopPropagation();
|
|
229
229
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
230
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-2-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-2-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-2-1-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-2-1-tag");
|
|
232
232
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
233
233
|
this.updateComplete.then(() => {
|
|
234
234
|
if (nextTag) {
|
|
@@ -248,7 +248,7 @@ var SdSelect = class extends SolidElement {
|
|
|
248
248
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
249
249
|
this.updateComplete.then(() => {
|
|
250
250
|
var _a;
|
|
251
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-2-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-2-1-tag");
|
|
252
252
|
if (tags && tags.length > 0) {
|
|
253
253
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
254
254
|
} else {
|
|
@@ -294,7 +294,7 @@ var SdSelect = class extends SolidElement {
|
|
|
294
294
|
}
|
|
295
295
|
handleOptionClick(event) {
|
|
296
296
|
const target = event.target;
|
|
297
|
-
const option = target.closest("sd-5-2-
|
|
297
|
+
const option = target.closest("sd-5-2-1-option");
|
|
298
298
|
const oldValue = this.value;
|
|
299
299
|
if (option && !option.disabled) {
|
|
300
300
|
if (this.multiple) {
|
|
@@ -319,7 +319,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
319
|
const allOptions = this.getAllOptions();
|
|
320
320
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
321
321
|
const values = [];
|
|
322
|
-
if (customElements.get("sd-5-2-
|
|
322
|
+
if (customElements.get("sd-5-2-1-option")) {
|
|
323
323
|
allOptions.forEach((option) => {
|
|
324
324
|
if (this.multiple) {
|
|
325
325
|
option.checkbox = true;
|
|
@@ -328,7 +328,7 @@ var SdSelect = class extends SolidElement {
|
|
|
328
328
|
});
|
|
329
329
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
330
330
|
} else {
|
|
331
|
-
customElements.whenDefined("sd-5-2-
|
|
331
|
+
customElements.whenDefined("sd-5-2-1-option").then(() => this.handleDefaultSlotChange());
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
handleTagRemove(event, option) {
|
|
@@ -345,13 +345,13 @@ var SdSelect = class extends SolidElement {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
// Gets an array of all <sd-5-2-
|
|
348
|
+
// Gets an array of all <sd-5-2-1-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-5-2-
|
|
350
|
+
return [...this.querySelectorAll("sd-5-2-1-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-5-2-
|
|
352
|
+
// Gets the first <sd-5-2-1-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-5-2-
|
|
354
|
+
return this.querySelector("sd-5-2-1-option");
|
|
355
355
|
}
|
|
356
356
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
357
357
|
// option may be "current" at a time.
|
|
@@ -440,11 +440,11 @@ var SdSelect = class extends SolidElement {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
return [
|
|
443
|
-
html`<sd-5-2-
|
|
443
|
+
html`<sd-5-2-1-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
444
444
|
base:tag__base,
|
|
445
445
|
content:tag__content,
|
|
446
446
|
removable-indicator:tag__removable-indicator,
|
|
447
|
-
" 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-2-
|
|
447
|
+
" 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-2-1-tag>`
|
|
448
448
|
];
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -453,7 +453,7 @@ var SdSelect = class extends SolidElement {
|
|
|
453
453
|
this.formControlController.emitInvalidEvent(event);
|
|
454
454
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
455
455
|
}
|
|
456
|
-
/** Receives incoming event detail from sd-5-2-
|
|
456
|
+
/** Receives incoming event detail from sd-5-2-1-popup and updates local state for conditional styling. */
|
|
457
457
|
handleCurrentPlacement(e) {
|
|
458
458
|
const incomingPlacement = e.detail;
|
|
459
459
|
if (incomingPlacement) {
|
|
@@ -462,7 +462,7 @@ var SdSelect = class extends SolidElement {
|
|
|
462
462
|
}
|
|
463
463
|
handleUseTagsChange() {
|
|
464
464
|
const allOptions = this.getAllOptions();
|
|
465
|
-
if (customElements.get("sd-5-2-
|
|
465
|
+
if (customElements.get("sd-5-2-1-option")) {
|
|
466
466
|
allOptions.forEach((option) => {
|
|
467
467
|
option.checkbox = this.multiple;
|
|
468
468
|
});
|
|
@@ -598,7 +598,7 @@ var SdSelect = class extends SolidElement {
|
|
|
598
598
|
default: "border-neutral-800"
|
|
599
599
|
}[selectState],
|
|
600
600
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
601
|
-
)}"></div><sd-5-2-
|
|
601
|
+
)}"></div><sd-5-2-1-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
602
602
|
"inline-flex relative w-full",
|
|
603
603
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
604
604
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -621,12 +621,12 @@ var SdSelect = class extends SolidElement {
|
|
|
621
621
|
"select__clear flex justify-center",
|
|
622
622
|
iconMarginLeft,
|
|
623
623
|
this.value.length > 0 ? "visible" : "invisible"
|
|
624
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-2-
|
|
624
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-2-1-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-2-1-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-2-1-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-2-1-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-2-1-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="status-check"></sd-5-2-1-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
625
625
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
626
626
|
this.open ? "rotate-180" : "rotate-0",
|
|
627
627
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
628
628
|
iconSize
|
|
629
|
-
)}"><sd-5-2-
|
|
629
|
+
)}"><sd-5-2-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-2-1-icon></slot></div><button part="combobox" class="${cx(
|
|
630
630
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
631
631
|
cursorStyles,
|
|
632
632
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -639,7 +639,7 @@ var SdSelect = class extends SolidElement {
|
|
|
639
639
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
640
640
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
641
641
|
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"
|
|
642
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-2-
|
|
642
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-2-1-popup></div><div class="text-sm text-neutral-700 mt-2" 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()}`;
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
/**
|
|
@@ -647,13 +647,13 @@ var SdSelect = class extends SolidElement {
|
|
|
647
647
|
*/
|
|
648
648
|
SdSelect.styles = [
|
|
649
649
|
...SolidElement.styles,
|
|
650
|
-
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-2-
|
|
650
|
+
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-2-1-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-2-1-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-2-1-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-2-1-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-2-1-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))}`
|
|
651
651
|
];
|
|
652
652
|
__decorateClass([
|
|
653
|
-
queryAssignedElements({ selector: "sd-5-2-
|
|
653
|
+
queryAssignedElements({ selector: "sd-5-2-1-option" })
|
|
654
654
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
655
655
|
__decorateClass([
|
|
656
|
-
query("sd-5-2-
|
|
656
|
+
query("sd-5-2-1-popup")
|
|
657
657
|
], SdSelect.prototype, "popup", 2);
|
|
658
658
|
__decorateClass([
|
|
659
659
|
query('[part="combobox"]')
|
|
@@ -778,7 +778,7 @@ __decorateClass([
|
|
|
778
778
|
watch("value", { waitUntilFirstUpdate: true })
|
|
779
779
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
780
780
|
SdSelect = __decorateClass([
|
|
781
|
-
customElement("sd-5-2-
|
|
781
|
+
customElement("sd-5-2-1-select")
|
|
782
782
|
], SdSelect);
|
|
783
783
|
setDefaultAnimation("select.show", {
|
|
784
784
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SdDivider
|
|
3
|
-
} from "./chunk.DFQ36XHY.js";
|
|
4
1
|
import {
|
|
5
2
|
LocalizeController
|
|
6
3
|
} from "./chunk.YKM42GKF.js";
|
|
@@ -28,11 +25,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
28
25
|
this.label = "";
|
|
29
26
|
}
|
|
30
27
|
/**
|
|
31
|
-
* Syncs the disabled prop for all slotted sd-5-2-
|
|
28
|
+
* Syncs the disabled prop for all slotted sd-5-2-1-options when it is triggered
|
|
32
29
|
*/
|
|
33
30
|
handleDisableOptions() {
|
|
34
31
|
const { disabled } = this;
|
|
35
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-2-
|
|
32
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-2-1-option").forEach((opt) => {
|
|
36
33
|
opt.disabled = disabled;
|
|
37
34
|
});
|
|
38
35
|
}
|
|
@@ -41,12 +38,9 @@ var SdOptgroup = class extends SolidElement {
|
|
|
41
38
|
}
|
|
42
39
|
render() {
|
|
43
40
|
const { disabled } = this;
|
|
44
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-2-
|
|
41
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-2-1-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-2-1-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>`;
|
|
45
42
|
}
|
|
46
43
|
};
|
|
47
|
-
SdOptgroup.dependencies = {
|
|
48
|
-
"sd-5-2-0-divider": SdDivider
|
|
49
|
-
};
|
|
50
44
|
SdOptgroup.styles = [
|
|
51
45
|
...SolidElement.styles,
|
|
52
46
|
css`:host{--display-divider:block}#divider{display:var(--display-divider)}`
|
|
@@ -64,7 +58,7 @@ __decorateClass([
|
|
|
64
58
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
65
59
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
66
60
|
SdOptgroup = __decorateClass([
|
|
67
|
-
customElement("sd-5-2-
|
|
61
|
+
customElement("sd-5-2-1-optgroup")
|
|
68
62
|
], SdOptgroup);
|
|
69
63
|
|
|
70
64
|
export {
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
getAnimation,
|
|
3
3
|
setDefaultAnimation
|
|
4
4
|
} from "./chunk.N4LHE3QK.js";
|
|
5
|
-
import {
|
|
6
|
-
waitForEvent
|
|
7
|
-
} from "./chunk.B4BZKR24.js";
|
|
8
5
|
import {
|
|
9
6
|
LocalizeController
|
|
10
7
|
} from "./chunk.YKM42GKF.js";
|
|
8
|
+
import {
|
|
9
|
+
waitForEvent
|
|
10
|
+
} from "./chunk.B4BZKR24.js";
|
|
11
11
|
import {
|
|
12
12
|
watch
|
|
13
13
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -202,15 +202,15 @@ var SdTooltip = class extends SolidElement {
|
|
|
202
202
|
render() {
|
|
203
203
|
const isStart = this.placement.endsWith("-start");
|
|
204
204
|
const isEnd = this.placement.endsWith("-end");
|
|
205
|
-
return html`<sd-5-2-
|
|
205
|
+
return html`<sd-5-2-1-popup part="base" exportparts="
|
|
206
206
|
popup:base__popup,
|
|
207
207
|
arrow:base__arrow
|
|
208
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-2-
|
|
208
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-2-1-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-2-1-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-2-1-popup>`;
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
SdTooltip.styles = [
|
|
212
212
|
...SolidElement.styles,
|
|
213
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-2-
|
|
213
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-2-1-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-2-1-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-2-1-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-2-1-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-2-1-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
|
|
214
214
|
];
|
|
215
215
|
__decorateClass([
|
|
216
216
|
query("slot:not([name])")
|
|
@@ -219,7 +219,7 @@ __decorateClass([
|
|
|
219
219
|
query("#tooltip")
|
|
220
220
|
], SdTooltip.prototype, "body", 2);
|
|
221
221
|
__decorateClass([
|
|
222
|
-
query("sd-5-2-
|
|
222
|
+
query("sd-5-2-1-popup")
|
|
223
223
|
], SdTooltip.prototype, "popup", 2);
|
|
224
224
|
__decorateClass([
|
|
225
225
|
property({ type: String, reflect: true })
|
|
@@ -252,7 +252,7 @@ __decorateClass([
|
|
|
252
252
|
watch("disabled")
|
|
253
253
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
254
254
|
SdTooltip = __decorateClass([
|
|
255
|
-
customElement("sd-5-2-
|
|
255
|
+
customElement("sd-5-2-1-tooltip")
|
|
256
256
|
], SdTooltip);
|
|
257
257
|
setDefaultAnimation("tooltip.show", {
|
|
258
258
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAccordion
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.7WP2IWGR.js";
|
|
4
4
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
5
|
-
import "../../chunks/chunk.B4BZKR24.js";
|
|
6
5
|
import "../../chunks/chunk.JNTYSC5E.js";
|
|
7
6
|
import "../../chunks/chunk.OC7IH3HF.js";
|
|
8
7
|
import "../../chunks/chunk.P52GZVKG.js";
|
|
@@ -13,6 +12,7 @@ import "../../chunks/chunk.4TPOL3LB.js";
|
|
|
13
12
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
14
13
|
import "../../chunks/chunk.WEDOS4Q6.js";
|
|
15
14
|
import "../../chunks/chunk.CVCJY3ME.js";
|
|
15
|
+
import "../../chunks/chunk.B4BZKR24.js";
|
|
16
16
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
17
17
|
import "../../chunks/chunk.IUBULF5H.js";
|
|
18
18
|
import "../../chunks/chunk.HQWAKJBV.js";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAccordionGroup
|
|
3
3
|
} from "../../chunks/chunk.W5BEGOS2.js";
|
|
4
|
-
import "../../chunks/chunk.
|
|
4
|
+
import "../../chunks/chunk.7WP2IWGR.js";
|
|
5
5
|
import "../../chunks/chunk.N4LHE3QK.js";
|
|
6
|
-
import "../../chunks/chunk.B4BZKR24.js";
|
|
7
6
|
import "../../chunks/chunk.JNTYSC5E.js";
|
|
8
7
|
import "../../chunks/chunk.OC7IH3HF.js";
|
|
9
8
|
import "../../chunks/chunk.P52GZVKG.js";
|
|
@@ -14,6 +13,7 @@ import "../../chunks/chunk.4TPOL3LB.js";
|
|
|
14
13
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
15
14
|
import "../../chunks/chunk.WEDOS4Q6.js";
|
|
16
15
|
import "../../chunks/chunk.CVCJY3ME.js";
|
|
16
|
+
import "../../chunks/chunk.B4BZKR24.js";
|
|
17
17
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
18
18
|
import "../../chunks/chunk.IUBULF5H.js";
|
|
19
19
|
import "../../chunks/chunk.HQWAKJBV.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '../button/button';
|
|
2
|
+
import '../drawer/drawer';
|
|
2
3
|
import '../icon/icon';
|
|
3
4
|
import { Wave } from './wave';
|
|
4
5
|
import SolidElement from '../../internal/solid-element';
|
|
5
|
-
import SdDrawer from '../drawer/drawer';
|
|
6
|
+
import type SdDrawer from '../drawer/drawer';
|
|
6
7
|
export default class SdAudio extends SolidElement {
|
|
7
8
|
private readonly localize;
|
|
8
9
|
private readonly hasSlotController;
|
|
@@ -53,6 +54,6 @@ export default class SdAudio extends SolidElement {
|
|
|
53
54
|
}
|
|
54
55
|
declare global {
|
|
55
56
|
interface HTMLElementTagNameMap {
|
|
56
|
-
'sd-5-2-
|
|
57
|
+
'sd-5-2-1-audio': SdAudio;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdAudio
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.BC4AIG32.js";
|
|
4
|
+
import "../../chunks/chunk.F3WBWTX2.js";
|
|
5
|
+
import "../../chunks/chunk.UFBRSKVR.js";
|
|
6
|
+
import "../../chunks/chunk.XHCTCU2Q.js";
|
|
7
|
+
import "../../chunks/chunk.WDWV53JP.js";
|
|
4
8
|
import "../../chunks/chunk.KPGT5KTE.js";
|
|
5
9
|
import "../../chunks/chunk.MTWZ3KVK.js";
|
|
6
10
|
import "../../chunks/chunk.KVKRZJS7.js";
|
|
7
11
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
12
|
+
import "../../chunks/chunk.N4LHE3QK.js";
|
|
8
13
|
import "../../chunks/chunk.JNTYSC5E.js";
|
|
9
14
|
import "../../chunks/chunk.OC7IH3HF.js";
|
|
10
15
|
import "../../chunks/chunk.P52GZVKG.js";
|
|
@@ -15,6 +20,7 @@ import "../../chunks/chunk.4TPOL3LB.js";
|
|
|
15
20
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
16
21
|
import "../../chunks/chunk.WEDOS4Q6.js";
|
|
17
22
|
import "../../chunks/chunk.CVCJY3ME.js";
|
|
23
|
+
import "../../chunks/chunk.B4BZKR24.js";
|
|
18
24
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
19
25
|
import "../../chunks/chunk.IUBULF5H.js";
|
|
20
26
|
import "../../chunks/chunk.HQWAKJBV.js";
|