@solid-design-system/components 4.1.2 → 4.1.3
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.AWKHYUIP.js → chunk.24UCPBFE.js} +1 -1
- package/cdn/chunks/{chunk.7KT5V5SZ.js → chunk.2BINANVD.js} +1 -1
- package/cdn/chunks/{chunk.QJVFSDOZ.js → chunk.6T7GTYS5.js} +1 -1
- package/cdn/chunks/chunk.CNK4EWSD.js +1 -0
- package/cdn/chunks/chunk.FKSOUA55.js +1 -0
- package/cdn/chunks/{chunk.NVTRGUUN.js → chunk.GZX2TQ72.js} +1 -1
- package/cdn/chunks/{chunk.K4WR4LYF.js → chunk.HTMZNSES.js} +1 -1
- package/cdn/chunks/{chunk.DOH6WUNR.js → chunk.IEKWHYZC.js} +1 -1
- package/cdn/chunks/{chunk.V7YY3FWK.js → chunk.JIQYEO5H.js} +1 -1
- package/cdn/chunks/{chunk.2F2YU5TY.js → chunk.NKZYONVL.js} +1 -1
- package/cdn/chunks/{chunk.LRINU3JN.js → chunk.RC2E2NPK.js} +1 -1
- package/cdn/chunks/{chunk.WMCAUVW6.js → chunk.SHG24SQN.js} +1 -1
- package/cdn/chunks/{chunk.TET3RDMC.js → chunk.SLG7HZIX.js} +1 -1
- package/cdn/chunks/{chunk.26YUWEYR.js → chunk.TNPIUMKG.js} +1 -1
- package/cdn/chunks/{chunk.XV2WIQSV.js → chunk.U5N3R2IH.js} +1 -1
- package/cdn/chunks/{chunk.NQZZHVDV.js → chunk.V3PPGMIL.js} +1 -1
- package/cdn/chunks/chunk.W6PPVJGK.js +1 -0
- package/cdn/chunks/{chunk.C7OWRPK7.js → chunk.WHVHHDB5.js} +1 -1
- package/cdn/chunks/{chunk.HRNG2LIX.js → chunk.ZYKWHR4L.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/button/button.js +1 -1
- package/cdn/components/carousel/carousel.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/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/notification/notification.d.ts +9 -0
- package/cdn/components/notification/notification.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/spinner/spinner.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/custom-elements.json +3 -3
- package/cdn/solid-components.bundle.js +18 -18
- package/cdn/solid-components.iife.js +17 -17
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +1 -1
- package/cdn/web-types.json +3 -3
- 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.AWKHYUIP.js → chunk.24UCPBFE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7KT5V5SZ.js → chunk.2BINANVD.js} +4 -4
- package/cdn-versioned/chunks/chunk.2POHB7E4.js +1 -1
- package/cdn-versioned/chunks/chunk.3EINSGT6.js +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/chunk.6DTJTQ5Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.QJVFSDOZ.js → chunk.6T7GTYS5.js} +1 -1
- package/cdn-versioned/chunks/chunk.6XHUCAAC.js +1 -1
- package/cdn-versioned/chunks/chunk.BMK7S33Z.js +1 -1
- package/cdn-versioned/chunks/chunk.BU5EDIFK.js +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.CNK4EWSD.js +1 -0
- package/cdn-versioned/chunks/chunk.DW5QL76L.js +2 -2
- package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
- package/cdn-versioned/chunks/chunk.FKSOUA55.js +1 -0
- package/cdn-versioned/chunks/chunk.G7CN4YKD.js +1 -1
- package/cdn-versioned/chunks/chunk.GQIUJUD4.js +1 -1
- package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
- package/cdn-versioned/chunks/{chunk.NVTRGUUN.js → chunk.GZX2TQ72.js} +1 -1
- package/cdn-versioned/chunks/chunk.HKKRMPWF.js +1 -1
- package/cdn-versioned/chunks/chunk.HOPUF2NO.js +1 -1
- package/cdn-versioned/chunks/chunk.HQYSQRUN.js +1 -1
- package/cdn-versioned/chunks/{chunk.K4WR4LYF.js → chunk.HTMZNSES.js} +4 -4
- package/cdn-versioned/chunks/chunk.HUSKVVWH.js +1 -1
- package/cdn-versioned/chunks/{chunk.DOH6WUNR.js → chunk.IEKWHYZC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.V7YY3FWK.js → chunk.JIQYEO5H.js} +4 -4
- package/cdn-versioned/chunks/chunk.KW5L4FQ6.js +1 -1
- package/cdn-versioned/chunks/chunk.MBU5RGYE.js +1 -1
- package/cdn-versioned/chunks/{chunk.2F2YU5TY.js → chunk.NKZYONVL.js} +1 -1
- package/cdn-versioned/chunks/chunk.OPMM2RN5.js +1 -1
- package/cdn-versioned/chunks/chunk.OY3MT73P.js +1 -1
- package/cdn-versioned/chunks/chunk.PHRAQBQ7.js +1 -1
- package/cdn-versioned/chunks/chunk.PMI5K2Z2.js +1 -1
- package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
- package/cdn-versioned/chunks/{chunk.LRINU3JN.js → chunk.RC2E2NPK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WMCAUVW6.js → chunk.SHG24SQN.js} +1 -1
- package/cdn-versioned/chunks/chunk.SIC7OWQL.js +1 -1
- package/cdn-versioned/chunks/chunk.SJ2JO4KS.js +1 -1
- package/cdn-versioned/chunks/{chunk.TET3RDMC.js → chunk.SLG7HZIX.js} +1 -1
- package/cdn-versioned/chunks/chunk.SNCCOKIM.js +1 -1
- package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
- package/cdn-versioned/chunks/chunk.SXH5LQRL.js +1 -1
- package/cdn-versioned/chunks/{chunk.26YUWEYR.js → chunk.TNPIUMKG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XV2WIQSV.js → chunk.U5N3R2IH.js} +1 -1
- package/cdn-versioned/chunks/chunk.UBO6O4CS.js +1 -1
- package/cdn-versioned/chunks/{chunk.NQZZHVDV.js → chunk.V3PPGMIL.js} +1 -1
- package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
- package/cdn-versioned/chunks/chunk.W6PPVJGK.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
- package/cdn-versioned/chunks/{chunk.C7OWRPK7.js → chunk.WHVHHDB5.js} +2 -2
- package/cdn-versioned/chunks/chunk.YFWVU3XM.js +1 -1
- package/cdn-versioned/chunks/chunk.YN6CIEPP.js +1 -1
- package/cdn-versioned/chunks/chunk.YUUAUQGB.js +1 -1
- package/cdn-versioned/chunks/{chunk.HRNG2LIX.js → chunk.ZYKWHR4L.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZYWB4GHH.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/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +4 -4
- 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/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/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 +10 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- 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 -2
- 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 +4 -4
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step-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/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/custom-elements.json +204 -204
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +23 -23
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +23 -23
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +1 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +81 -81
- package/cdn-versioned/web-types.json +139 -139
- package/{dist-versioned/chunks/chunk.MNYQWRJE.js → dist/chunks/chunk.EJ6ZLEEW.js} +1 -0
- package/dist/chunks/{chunk.KPA6BEFU.js → chunk.YG3WOAEO.js} +51 -2
- package/dist/chunks/{chunk.2S2CNWKY.js → chunk.ZXR3YX6W.js} +1 -0
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/button/button.js +2 -2
- package/dist/components/carousel/carousel.js +2 -2
- package/dist/components/combobox/combobox.js +2 -2
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/input/input.js +2 -2
- package/dist/components/notification/notification.d.ts +9 -0
- package/dist/components/notification/notification.js +3 -3
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +3 -3
- package/dist/solid-components.js +3 -3
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +3 -3
- 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.274HT4QS.js +3 -3
- package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
- package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
- package/dist-versioned/chunks/chunk.4SBQOWLU.js +5 -5
- package/dist-versioned/chunks/chunk.5FOKRIWL.js +3 -3
- package/dist-versioned/chunks/chunk.5PTDC66T.js +5 -5
- package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
- package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
- package/dist-versioned/chunks/chunk.A625ONY2.js +2 -2
- package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
- package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
- package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
- package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
- package/dist-versioned/chunks/chunk.BTJACUD5.js +29 -29
- package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
- package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
- package/dist-versioned/chunks/chunk.D3I3AZEX.js +13 -13
- package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
- package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
- package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
- package/{dist/chunks/chunk.MNYQWRJE.js → dist-versioned/chunks/chunk.EJ6ZLEEW.js} +1 -0
- package/dist-versioned/chunks/chunk.F63YFNZS.js +5 -5
- package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
- package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
- package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
- package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
- package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
- package/dist-versioned/chunks/chunk.I5ZJV32M.js +1 -1
- package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
- package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
- package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LZA2QYUU.js +1 -1
- package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
- package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
- package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
- package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
- package/dist-versioned/chunks/chunk.OZU372TI.js +2 -2
- package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
- package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
- package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
- package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
- package/dist-versioned/chunks/chunk.RSPK767T.js +2 -2
- package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
- package/dist-versioned/chunks/chunk.TGJ2SBPH.js +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/chunk.UZKLVMCI.js +1 -1
- package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
- package/dist-versioned/chunks/chunk.XKJR2XUZ.js +1 -1
- package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
- package/dist-versioned/chunks/chunk.XOL74PNU.js +26 -26
- package/dist-versioned/chunks/{chunk.KPA6BEFU.js → chunk.YG3WOAEO.js} +55 -6
- package/dist-versioned/chunks/{chunk.2S2CNWKY.js → chunk.ZXR3YX6W.js} +1 -0
- 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 +1 -1
- package/dist-versioned/components/audio/audio.js +2 -2
- 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/button.js +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist-versioned/components/combobox/combobox.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +2 -2
- 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 +2 -2
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -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/flipcard/flipcard.js +2 -2
- 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/input/input.js +2 -2
- 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 +10 -1
- package/dist-versioned/components/notification/notification.js +3 -3
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- 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 +2 -2
- 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 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +2 -2
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-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 +2 -2
- 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 +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +204 -204
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +3 -3
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/localize.d.ts +1 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +81 -81
- package/dist-versioned/web-types.json +139 -139
- package/package.json +8 -8
- package/cdn/chunks/chunk.LI5H3QYB.js +0 -1
- package/cdn/chunks/chunk.TJ6RGDHH.js +0 -1
- package/cdn/chunks/chunk.VOX6F6LP.js +0 -1
- package/cdn-versioned/chunks/chunk.LI5H3QYB.js +0 -1
- package/cdn-versioned/chunks/chunk.TJ6RGDHH.js +0 -1
- package/cdn-versioned/chunks/chunk.VOX6F6LP.js +0 -1
|
@@ -284,10 +284,10 @@ var SdAudio = class extends SolidElement {
|
|
|
284
284
|
)}" part="audio-controls"><button class="${cx(
|
|
285
285
|
"playback-speed justify-self-start text-base font-bold hover:cursor-pointer sd-interactive",
|
|
286
286
|
this.inverted && "sd-interactive--inverted"
|
|
287
|
-
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-1-
|
|
287
|
+
)}" aria-label="${this.localize.term("playbackSpeed")}" tabindex="0" @click="${this.togglePlaybackSpeed}" @keydown="${this.togglePlaybackSpeedKeydown}" part="playback-speed">${this.speed}x</button><sd-4-1-3-button ?inverted="${this.inverted ? true : false}" part="play-button" size="lg" @click="${!this.isPlaying ? this.playAudio : this.pauseAudio}" aria-label="${this.isPlaying ? this.localize.term("pauseAudio") : this.localize.term("playAudio")}" class="text-3xl">${this.isPlaying ? html`<slot name="pause-icon"><sd-4-1-3-icon class="text-3xl" name="pause" library="system"></sd-4-1-3-icon></slot>` : html`<slot name="play-icon"><sd-4-1-3-icon class="text-3xl" name="start" library="system"></sd-4-1-3-icon></slot>`}</sd-4-1-3-button><div class="flex items-center justify-self-end">${this.hasSlotController.test("transcript") ? html`<button class="${cx(
|
|
288
288
|
"mr-6 w-6 h-6 hover:cursor-pointer sd-interactive",
|
|
289
289
|
this.inverted && "sd-interactive--inverted"
|
|
290
|
-
)}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0"><sd-4-1-
|
|
290
|
+
)}" @click="${this.showTranscript}" @keydown="${this.showTranscriptKeydown}" tab-index="0"><sd-4-1-3-icon class="w-6 h-6" name="transcript" library="system" label="${this.isMuted ? this.localize.term("unmute") : this.localize.term("mute")}"></sd-4-1-3-icon></button>` : null} <button class="${cx("w-6 h-6 hover:cursor-pointer sd-interactive", this.inverted && "sd-interactive--inverted")}" part="volume" aria-label="${this.localize.term("mute")}" tabindex="0" @click="${this.toggleMute}" @keydown="${this.toggleMuteKeydown}"><sd-4-1-3-icon class="w-6 h-6" name="${this.isMuted ? "mute" : "volume"}" library="system"></sd-4-1-3-icon></button></div></div>`;
|
|
291
291
|
const renderTimestamps = html`<div class="${cx(
|
|
292
292
|
"w-full flex justify-between",
|
|
293
293
|
this.reversedLayout ? "mb-2" : "mt-2",
|
|
@@ -297,12 +297,12 @@ var SdAudio = class extends SolidElement {
|
|
|
297
297
|
return html`<div class="${cx("w-full flex relative", this.reversedLayout ? "flex-col-reverse" : "flex-col")}" aria-label="${this.localize.term("audioPlayer")}" part="audio-player"><slot @slotchange="${this.updateAudioDuration}"></slot>${!this.animated || this.animated && this.reversedLayout ? renderAudioControls : null}<div class="relative">${this.animated && !this.reversedLayout ? html`${renderAudioControls}` : null} ${this.animated ? html`<canvas class="w-full h-16"></canvas>` : null} ${!this.hideTimestamps && this.animated && this.reversedLayout ? renderTimestamps : null} <input class="${cx(
|
|
298
298
|
"progress-slider bg-primary appearance-none w-full cursor-pointer outline-none h-1 flex items-center sd-interactive",
|
|
299
299
|
this.inverted && "sd-interactive--inverted"
|
|
300
|
-
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-1-
|
|
300
|
+
)}" type="range" max="100" step="0.001" value="${this.progress}" tabindex="0" @input="${this.handleAudioProgress}" @keydown="${this.handleAudioProgressKeydown}" part="progress-slider" style="background:linear-gradient(to right,${this.inverted ? "rgb(var(--sd-color-white, 255 255 255) / 1)" : "rgb(var(--sd-color-primary, 0 53 142) / 1)"} ${progressPercentage}%,${this.animated ? "transparent" : this.inverted ? "rgb(var(--sd-color-primary-400, 153 171 208) / 1)" : "rgb(var(--sd-color-grey-400, 195 195 195) / 1)"} ${progressPercentage}%)"></div>${this.hasSlotController.test("transcript") ? html`<sd-4-1-3-drawer><slot name="transcript"></slot></sd-4-1-3-drawer>` : null} ${!this.hideTimestamps && (!this.animated || !this.reversedLayout) ? renderTimestamps : null}</div>`;
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
SdAudio.styles = [
|
|
304
304
|
...SolidElement.styles,
|
|
305
|
-
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-1-
|
|
305
|
+
css`.progress-slider:focus-visible{outline:2px solid transparent;outline-offset:2px}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline-style:solid}.progress-slider::-moz-range-thumb{-moz-appearance:none;appearance:none;background-color:currentColor;border-radius:var(--sd-border-radius-full,9999px);border-style:none;height:var(--sd-spacing-4,1rem);transition-duration:.2s;-moz-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:var(--sd-spacing-4,1rem)}.progress-slider:focus-visible::-moz-range-thumb{outline-offset:2px;outline-style:solid}sd-4-1-3-button::part(base){align-items:center;border-radius:var(--sd-border-radius-full,9999px);display:flex;height:var(--sd-spacing-16,4rem);justify-content:center;width:var(--sd-spacing-16,4rem)}sd-4-1-3-button::part(label){align-items:center;display:flex;flex-grow:0}`
|
|
306
306
|
];
|
|
307
307
|
__decorateClass([
|
|
308
308
|
property({ type: Boolean, reflect: true, attribute: "reversed-layout" })
|
|
@@ -341,13 +341,13 @@ __decorateClass([
|
|
|
341
341
|
query('[part="audio-player"]')
|
|
342
342
|
], SdAudio.prototype, "audioPlayerContainer", 2);
|
|
343
343
|
__decorateClass([
|
|
344
|
-
query("sd-4-1-
|
|
344
|
+
query("sd-4-1-3-drawer")
|
|
345
345
|
], SdAudio.prototype, "drawer", 2);
|
|
346
346
|
__decorateClass([
|
|
347
347
|
query("canvas")
|
|
348
348
|
], SdAudio.prototype, "canvas", 2);
|
|
349
349
|
SdAudio = __decorateClass([
|
|
350
|
-
customElement("sd-4-1-
|
|
350
|
+
customElement("sd-4-1-3-audio")
|
|
351
351
|
], SdAudio);
|
|
352
352
|
|
|
353
353
|
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-4-1-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-1-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-4-1-3-option" ? item : Array.from(item.querySelectorAll(":scope > sd-4-1-3-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-1-3-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();
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-4-1-
|
|
326
|
+
customElement("sd-4-1-3-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
|
170
170
|
SdSwitch = __decorateClass([
|
|
171
|
-
customElement("sd-4-1-
|
|
171
|
+
customElement("sd-4-1-3-switch")
|
|
172
172
|
], SdSwitch);
|
|
173
173
|
|
|
174
174
|
export {
|
|
@@ -21,7 +21,7 @@ var SdTab = class extends SolidElement {
|
|
|
21
21
|
constructor() {
|
|
22
22
|
super(...arguments);
|
|
23
23
|
this.attrId = ++id;
|
|
24
|
-
this.componentId = `sd-4-1-
|
|
24
|
+
this.componentId = `sd-4-1-3-tab-${this.attrId}`;
|
|
25
25
|
this.hasSlotController = new HasSlotController(this, "left");
|
|
26
26
|
this.variant = "default";
|
|
27
27
|
this.active = false;
|
|
@@ -91,7 +91,7 @@ __decorateClass([
|
|
|
91
91
|
watch("disabled")
|
|
92
92
|
], SdTab.prototype, "handleDisabledChange", 1);
|
|
93
93
|
SdTab = __decorateClass([
|
|
94
|
-
customElement("sd-4-1-
|
|
94
|
+
customElement("sd-4-1-3-tab")
|
|
95
95
|
], SdTab);
|
|
96
96
|
|
|
97
97
|
export {
|
|
@@ -62,7 +62,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
62
62
|
constructor() {
|
|
63
63
|
super(...arguments);
|
|
64
64
|
this.formControlController = new FormControlController(this, {
|
|
65
|
-
assumeInteractionOn: ["sd-blur", "sd-4-1-
|
|
65
|
+
assumeInteractionOn: ["sd-blur", "sd-4-1-3-input"]
|
|
66
66
|
});
|
|
67
67
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
68
68
|
this.localize = new LocalizeController(this);
|
|
@@ -103,11 +103,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
103
103
|
return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
|
|
104
104
|
};
|
|
105
105
|
this.getTag = (option) => {
|
|
106
|
-
return html`<sd-4-1-
|
|
106
|
+
return html`<sd-4-1-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
107
107
|
base:tag__base,
|
|
108
108
|
content:tag__content,
|
|
109
109
|
removable-indicator:tag__removable-indicator,
|
|
110
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-1-
|
|
110
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-1-3-tag>`;
|
|
111
111
|
};
|
|
112
112
|
this.handleDocumentFocusIn = (event) => {
|
|
113
113
|
const path = event.composedPath();
|
|
@@ -229,9 +229,9 @@ var SdCombobox = class extends SolidElement {
|
|
|
229
229
|
return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
|
|
230
230
|
};
|
|
231
231
|
return this.filteredOptions.map((item) => {
|
|
232
|
-
if (item.tagName.toLowerCase() === "sd-4-1-
|
|
232
|
+
if (item.tagName.toLowerCase() === "sd-4-1-3-optgroup") {
|
|
233
233
|
Array.from(item.children).forEach((option) => {
|
|
234
|
-
if (option.tagName.toLowerCase() === "sd-4-1-
|
|
234
|
+
if (option.tagName.toLowerCase() === "sd-4-1-3-option") {
|
|
235
235
|
renderOption(option);
|
|
236
236
|
}
|
|
237
237
|
});
|
|
@@ -251,11 +251,11 @@ var SdCombobox = class extends SolidElement {
|
|
|
251
251
|
});
|
|
252
252
|
} else {
|
|
253
253
|
return [
|
|
254
|
-
html`<sd-4-1-
|
|
254
|
+
html`<sd-4-1-3-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
255
255
|
base:tag__base,
|
|
256
256
|
content:tag__content,
|
|
257
257
|
removable-indicator:tag__removable-indicator,
|
|
258
|
-
" 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-4-1-
|
|
258
|
+
" 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-4-1-3-tag>`
|
|
259
259
|
];
|
|
260
260
|
}
|
|
261
261
|
}
|
|
@@ -364,7 +364,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
364
364
|
}
|
|
365
365
|
handleOptionClick(event) {
|
|
366
366
|
const target = event.target;
|
|
367
|
-
const option = target.closest("sd-4-1-
|
|
367
|
+
const option = target.closest("sd-4-1-3-option");
|
|
368
368
|
const oldValue = this.value;
|
|
369
369
|
if (option && !option.disabled) {
|
|
370
370
|
if (this.multiple) {
|
|
@@ -416,7 +416,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
416
416
|
scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
|
|
417
417
|
}
|
|
418
418
|
getAllFilteredOptions() {
|
|
419
|
-
return [...this.filteredWrapper.querySelectorAll("sd-4-1-
|
|
419
|
+
return [...this.filteredWrapper.querySelectorAll("sd-4-1-3-option")];
|
|
420
420
|
}
|
|
421
421
|
getCurrentOption() {
|
|
422
422
|
return this.getAllFilteredOptions().find((option) => option.current);
|
|
@@ -542,7 +542,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
542
542
|
clonedOption.selected = option.selected;
|
|
543
543
|
clonedOption.checkbox = option.checkbox;
|
|
544
544
|
clonedOption.size = option.size;
|
|
545
|
-
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-1-
|
|
545
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-1-3-optgroup";
|
|
546
546
|
if (!hasOptgroup) {
|
|
547
547
|
return clonedOption;
|
|
548
548
|
}
|
|
@@ -572,7 +572,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
572
572
|
handleMouseLeave() {
|
|
573
573
|
this.hasHover = false;
|
|
574
574
|
}
|
|
575
|
-
/** Receives incoming event detail from sd-4-1-
|
|
575
|
+
/** Receives incoming event detail from sd-4-1-3-popup and updates local state for conditional styling. */
|
|
576
576
|
handleCurrentPlacement(e) {
|
|
577
577
|
const incomingPlacement = e.detail;
|
|
578
578
|
if (incomingPlacement) {
|
|
@@ -584,7 +584,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
584
584
|
}
|
|
585
585
|
handleUseTagsChange() {
|
|
586
586
|
const allOptions = this.getAllFilteredOptions();
|
|
587
|
-
if (customElements.get("sd-4-1-
|
|
587
|
+
if (customElements.get("sd-4-1-3-option")) {
|
|
588
588
|
allOptions.forEach((option) => {
|
|
589
589
|
option.checkbox = this.multiple;
|
|
590
590
|
});
|
|
@@ -710,8 +710,8 @@ var SdCombobox = class extends SolidElement {
|
|
|
710
710
|
return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
|
|
711
711
|
}
|
|
712
712
|
async handleDefaultSlotChange() {
|
|
713
|
-
if (!customElements.get("sd-4-1-
|
|
714
|
-
customElements.whenDefined("sd-4-1-
|
|
713
|
+
if (!customElements.get("sd-4-1-3-option")) {
|
|
714
|
+
customElements.whenDefined("sd-4-1-3-option").then(() => this.handleDefaultSlotChange());
|
|
715
715
|
return;
|
|
716
716
|
}
|
|
717
717
|
const slottedOptions = this.getSlottedOptions();
|
|
@@ -723,10 +723,10 @@ var SdCombobox = class extends SolidElement {
|
|
|
723
723
|
if (this.multiple) {
|
|
724
724
|
option.checkbox = true;
|
|
725
725
|
}
|
|
726
|
-
option.id = option.id || `sd-4-1-
|
|
726
|
+
option.id = option.id || `sd-4-1-3-combobox-option-${index}`;
|
|
727
727
|
});
|
|
728
728
|
slottedOptgroups.forEach((optgroup, index) => {
|
|
729
|
-
optgroup.id = optgroup.id || `sd-4-1-
|
|
729
|
+
optgroup.id = optgroup.id || `sd-4-1-3-combobox-optgroup-${index}`;
|
|
730
730
|
});
|
|
731
731
|
await this.syncSelectedOptionsAndValue();
|
|
732
732
|
if (this.multiple) {
|
|
@@ -774,7 +774,7 @@ var SdCombobox = class extends SolidElement {
|
|
|
774
774
|
default: "border-neutral-800"
|
|
775
775
|
}[selectState],
|
|
776
776
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
777
|
-
)}"></div><sd-4-1-
|
|
777
|
+
)}"></div><sd-4-1-3-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
778
778
|
"inline-flex relative w-full",
|
|
779
779
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
780
780
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -795,28 +795,28 @@ var SdCombobox = class extends SolidElement {
|
|
|
795
795
|
"flex justify-center",
|
|
796
796
|
iconMarginLeft,
|
|
797
797
|
this.value.length > 0 ? "visible" : "invisible"
|
|
798
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-1-
|
|
798
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-1-3-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" name="closing-round" library="system"></sd-4-1-3-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-1-3-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-1-3-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-1-3-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-1-3-icon>` : ""}<slot name="right" part="right" class="${cx(
|
|
799
799
|
"inline-flex ml-2 leading-[0]",
|
|
800
800
|
this.disabled ? "text-neutral-500" : "text-primary",
|
|
801
801
|
iconSize
|
|
802
|
-
)}"><sd-4-1-
|
|
802
|
+
)}"><sd-4-1-3-icon class="${cx("transition-all", this.open ? "rotate-180" : "rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-1-3-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
|
803
803
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
804
804
|
this.open && "shadow",
|
|
805
805
|
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"
|
|
806
|
-
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-1-
|
|
806
|
+
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-1-3-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
807
807
|
}
|
|
808
808
|
};
|
|
809
809
|
SdCombobox.dependencies = {
|
|
810
|
-
"sd-4-1-
|
|
811
|
-
"sd-4-1-
|
|
812
|
-
"sd-4-1-
|
|
810
|
+
"sd-4-1-3-icon": SdIcon,
|
|
811
|
+
"sd-4-1-3-popup": SdPopup,
|
|
812
|
+
"sd-4-1-3-tag": SdTag
|
|
813
813
|
};
|
|
814
814
|
SdCombobox.styles = [
|
|
815
815
|
...SolidElement.styles,
|
|
816
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-1-
|
|
816
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-1-3-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-1-3-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-4-1-3-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-1-3-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-1-3-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))}[part=filtered-listbox] sd-4-1-3-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`
|
|
817
817
|
];
|
|
818
818
|
__decorateClass([
|
|
819
|
-
query("sd-4-1-
|
|
819
|
+
query("sd-4-1-3-popup")
|
|
820
820
|
], SdCombobox.prototype, "popup", 2);
|
|
821
821
|
__decorateClass([
|
|
822
822
|
query('[part="combobox"]')
|
|
@@ -968,7 +968,7 @@ __decorateClass([
|
|
|
968
968
|
watch("open", { waitUntilFirstUpdate: true })
|
|
969
969
|
], SdCombobox.prototype, "handleOpenChange", 1);
|
|
970
970
|
SdCombobox = __decorateClass([
|
|
971
|
-
customElement("sd-4-1-
|
|
971
|
+
customElement("sd-4-1-3-combobox")
|
|
972
972
|
], SdCombobox);
|
|
973
973
|
setDefaultAnimation("combobox.show", {
|
|
974
974
|
keyframes: [
|
|
@@ -28,9 +28,11 @@ import { css, html } from "lit";
|
|
|
28
28
|
import { property, query } from "lit/decorators.js";
|
|
29
29
|
import cx from "classix";
|
|
30
30
|
var toastStackDefault = Object.assign(document.createElement("div"), {
|
|
31
|
+
role: "region",
|
|
31
32
|
className: "sd-toast-stack sd-toast-stack--top-right"
|
|
32
33
|
});
|
|
33
34
|
var toastStackBottomCenter = Object.assign(document.createElement("div"), {
|
|
35
|
+
role: "region",
|
|
34
36
|
className: "sd-toast-stack sd-toast-stack--bottom-center"
|
|
35
37
|
});
|
|
36
38
|
var SdNotification = class extends SolidElement {
|
|
@@ -45,6 +47,27 @@ var SdNotification = class extends SolidElement {
|
|
|
45
47
|
this.toastStack = "top-right";
|
|
46
48
|
this.remainingDuration = this.duration;
|
|
47
49
|
this.startTime = Date.now();
|
|
50
|
+
this.tabDirection = "forward";
|
|
51
|
+
this.focused = false;
|
|
52
|
+
}
|
|
53
|
+
get stack() {
|
|
54
|
+
return {
|
|
55
|
+
"top-right": toastStackDefault,
|
|
56
|
+
"bottom-center": toastStackBottomCenter
|
|
57
|
+
}[this.toastStack];
|
|
58
|
+
}
|
|
59
|
+
connectedCallback() {
|
|
60
|
+
super.connectedCallback();
|
|
61
|
+
if (!this.stack.parentElement) {
|
|
62
|
+
document.body.append(this.stack);
|
|
63
|
+
this.stack.ariaLabel = this.localize.term("notifications");
|
|
64
|
+
}
|
|
65
|
+
this.handleFocusIn = this.handleFocusIn.bind(this);
|
|
66
|
+
document.addEventListener("focusin", this.handleFocusIn);
|
|
67
|
+
}
|
|
68
|
+
disconnectedCallback() {
|
|
69
|
+
super.disconnectedCallback();
|
|
70
|
+
document.removeEventListener("focusin", this.handleFocusIn);
|
|
48
71
|
}
|
|
49
72
|
firstUpdated() {
|
|
50
73
|
this.base.hidden = !this.open;
|
|
@@ -75,6 +98,29 @@ var SdNotification = class extends SolidElement {
|
|
|
75
98
|
handleCloseClick() {
|
|
76
99
|
this.hide();
|
|
77
100
|
}
|
|
101
|
+
checkFocus() {
|
|
102
|
+
if (!this.focused || !this.closable) return;
|
|
103
|
+
if (!this.matches(":focus-within")) {
|
|
104
|
+
const target = this.tabDirection === "forward" ? this.base : this.close;
|
|
105
|
+
if (typeof (target == null ? void 0 : target.focus) === "function") {
|
|
106
|
+
target.focus({ preventScroll: true });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
handleFocusIn() {
|
|
111
|
+
this.focused = true;
|
|
112
|
+
}
|
|
113
|
+
handleKeyDown(event) {
|
|
114
|
+
this.tabDirection = "forward";
|
|
115
|
+
if (this.closable && event.key === "Escape") {
|
|
116
|
+
this.hide();
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
if (event.key === "Tab" && event.shiftKey) {
|
|
120
|
+
this.tabDirection = "backwards";
|
|
121
|
+
}
|
|
122
|
+
requestAnimationFrame(() => this.checkFocus());
|
|
123
|
+
}
|
|
78
124
|
async handleOpenChange() {
|
|
79
125
|
if (this.open) {
|
|
80
126
|
this.emit("sd-show");
|
|
@@ -136,7 +182,7 @@ var SdNotification = class extends SolidElement {
|
|
|
136
182
|
() => {
|
|
137
183
|
toastStack.removeChild(this);
|
|
138
184
|
resolve();
|
|
139
|
-
if (toastStack.querySelector("sd-4-1-
|
|
185
|
+
if (toastStack.querySelector("sd-4-1-3-notification") === null) {
|
|
140
186
|
toastStack.remove();
|
|
141
187
|
}
|
|
142
188
|
},
|
|
@@ -145,7 +191,7 @@ var SdNotification = class extends SolidElement {
|
|
|
145
191
|
});
|
|
146
192
|
}
|
|
147
193
|
render() {
|
|
148
|
-
return html`<div part="base" class="${cx("w-full overflow-hidden flex items-stretch relative m-2")}" role="alert" id="notification" aria-hidden="${this.open ? "false" : "true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}"><slot name="icon" part="icon" class="${cx(
|
|
194
|
+
return html`<div part="base" class="${cx("w-full overflow-hidden flex items-stretch relative m-2 focus-visible:focus-outline")}" role="alert" id="notification" tabindex="0" aria-labelledby="message" aria-hidden="${this.open ? "false" : "true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><slot name="icon" part="icon" class="${cx(
|
|
149
195
|
"min-w-min flex items-center px-3 justify-center",
|
|
150
196
|
{
|
|
151
197
|
info: "bg-info",
|
|
@@ -153,15 +199,15 @@ var SdNotification = class extends SolidElement {
|
|
|
153
199
|
warning: "bg-warning",
|
|
154
200
|
error: "bg-error"
|
|
155
201
|
}[this.variant]
|
|
156
|
-
)}"><sd-4-1-
|
|
202
|
+
)}"><sd-4-1-3-icon name="${{
|
|
157
203
|
info: "info-circle",
|
|
158
204
|
success: "confirm-circle",
|
|
159
205
|
warning: "exclamation-circle",
|
|
160
206
|
error: "warning"
|
|
161
|
-
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-1-
|
|
207
|
+
}[this.variant] || ""}" library="system" class="h-6 w-6 text-white"></sd-4-1-3-icon></slot><div part="content" class="${cx(
|
|
162
208
|
"h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white",
|
|
163
209
|
"border-solid border-[1px] border-l-0 border-neutral-400"
|
|
164
|
-
)}"><slot part="message" class="block w-full pl-3 py-2"
|
|
210
|
+
)}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable ? html`<sd-4-1-3-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-4-1-3-icon label="${this.localize.term("close")}" name="close" library="system" color="currentColor"></sd-4-1-3-icon></sd-4-1-3-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>`;
|
|
165
211
|
}
|
|
166
212
|
};
|
|
167
213
|
/**
|
|
@@ -174,6 +220,9 @@ SdNotification.styles = [
|
|
|
174
220
|
__decorateClass([
|
|
175
221
|
query('[part~="base"]')
|
|
176
222
|
], SdNotification.prototype, "base", 2);
|
|
223
|
+
__decorateClass([
|
|
224
|
+
query('[part~="close-button"]')
|
|
225
|
+
], SdNotification.prototype, "close", 2);
|
|
177
226
|
__decorateClass([
|
|
178
227
|
property({ reflect: true })
|
|
179
228
|
], SdNotification.prototype, "variant", 2);
|
|
@@ -199,7 +248,7 @@ __decorateClass([
|
|
|
199
248
|
watch("duration")
|
|
200
249
|
], SdNotification.prototype, "handleDurationChange", 1);
|
|
201
250
|
SdNotification = __decorateClass([
|
|
202
|
-
customElement("sd-4-1-
|
|
251
|
+
customElement("sd-4-1-3-notification")
|
|
203
252
|
], SdNotification);
|
|
204
253
|
setDefaultAnimation("notification.show", {
|
|
205
254
|
keyframes: [
|
|
@@ -13,8 +13,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
13
13
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
14
14
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
15
15
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
16
|
-
import "../../chunks/chunk.
|
|
17
|
-
import "../../chunks/chunk.
|
|
16
|
+
import "../../chunks/chunk.ZXR3YX6W.js";
|
|
17
|
+
import "../../chunks/chunk.EJ6ZLEEW.js";
|
|
18
18
|
import "../../chunks/chunk.HFHUY7YD.js";
|
|
19
19
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
20
20
|
export {
|
|
@@ -14,8 +14,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
14
14
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
15
15
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
16
16
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
17
|
-
import "../../chunks/chunk.
|
|
18
|
-
import "../../chunks/chunk.
|
|
17
|
+
import "../../chunks/chunk.ZXR3YX6W.js";
|
|
18
|
+
import "../../chunks/chunk.EJ6ZLEEW.js";
|
|
19
19
|
import "../../chunks/chunk.HFHUY7YD.js";
|
|
20
20
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
21
21
|
export {
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "../../chunks/chunk.TGJ2SBPH.js";
|
|
4
4
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
5
5
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.ZXR3YX6W.js";
|
|
7
|
+
import "../../chunks/chunk.EJ6ZLEEW.js";
|
|
8
8
|
import "../../chunks/chunk.HFHUY7YD.js";
|
|
9
9
|
import "../../chunks/chunk.POFWU6ZT.js";
|
|
10
10
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
@@ -6,8 +6,8 @@ import "../../chunks/chunk.KVKRZJS7.js";
|
|
|
6
6
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
7
7
|
import "../../chunks/chunk.YEZS5ZR2.js";
|
|
8
8
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.ZXR3YX6W.js";
|
|
10
|
+
import "../../chunks/chunk.EJ6ZLEEW.js";
|
|
11
11
|
import "../../chunks/chunk.HFHUY7YD.js";
|
|
12
12
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
13
13
|
export {
|
|
@@ -16,8 +16,8 @@ import "../../chunks/chunk.EY4JPJJQ.js";
|
|
|
16
16
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
17
17
|
import "../../chunks/chunk.X2OQMWGY.js";
|
|
18
18
|
import "../../chunks/chunk.YKM42GKF.js";
|
|
19
|
-
import "../../chunks/chunk.
|
|
20
|
-
import "../../chunks/chunk.
|
|
19
|
+
import "../../chunks/chunk.ZXR3YX6W.js";
|
|
20
|
+
import "../../chunks/chunk.EJ6ZLEEW.js";
|
|
21
21
|
import "../../chunks/chunk.HFHUY7YD.js";
|
|
22
22
|
import "../../chunks/chunk.S3NI7NKU.js";
|
|
23
23
|
export {
|