@solid-design-system/components 4.6.0 → 4.6.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.U3WRVVNJ.js → chunk.2RGRA53Z.js} +1 -1
- package/cdn/chunks/{chunk.PY6CMHAA.js → chunk.2WXAPGGE.js} +1 -1
- package/cdn/chunks/{chunk.RUS5XMWE.js → chunk.3AJYYY5A.js} +1 -1
- package/cdn/chunks/{chunk.CKDRUIIN.js → chunk.4QV2C3W6.js} +1 -1
- package/cdn/chunks/{chunk.DUXM7APT.js → chunk.4WOKTDYF.js} +1 -1
- package/cdn/chunks/{chunk.Z6AWZVXM.js → chunk.5A6THIFW.js} +1 -1
- package/cdn/chunks/{chunk.YHCBYVD4.js → chunk.5HMLFQRB.js} +1 -1
- package/cdn/chunks/{chunk.H2DQFPDP.js → chunk.6GPQREPR.js} +1 -1
- package/cdn/chunks/{chunk.YL4VUIIS.js → chunk.6XPWTJEO.js} +1 -1
- package/cdn/chunks/{chunk.XCDTUUOI.js → chunk.BBNAM6UU.js} +1 -1
- package/cdn/chunks/{chunk.474Y6U3J.js → chunk.BI37YYXB.js} +1 -1
- package/cdn/chunks/{chunk.5LS4INU4.js → chunk.BMD66TVO.js} +1 -1
- package/cdn/chunks/{chunk.KXXBD7ZS.js → chunk.CASLT6GP.js} +1 -1
- package/cdn/chunks/{chunk.5EX3ZKUA.js → chunk.CMSO45VL.js} +1 -1
- package/cdn/chunks/{chunk.JG2M7W2J.js → chunk.D46YDQPU.js} +1 -1
- package/cdn/chunks/{chunk.ZRPEHONR.js → chunk.DVRUURFU.js} +1 -1
- package/cdn/chunks/chunk.DYDQ2243.js +73 -0
- package/cdn/chunks/{chunk.YHWH6LXW.js → chunk.E7EFDHHO.js} +1 -1
- package/cdn/chunks/{chunk.HZJZ6ULP.js → chunk.EGFNRAGT.js} +1 -1
- package/cdn/chunks/{chunk.D7OZT6SB.js → chunk.G2OPAMOQ.js} +1 -1
- package/cdn/chunks/{chunk.362JPKI7.js → chunk.G2ZCGQFT.js} +1 -1
- package/cdn/chunks/{chunk.QHU3VK5T.js → chunk.GBEVACYL.js} +1 -1
- package/cdn/chunks/{chunk.AQ2VT7ZP.js → chunk.GBFIM5QL.js} +1 -1
- package/cdn/chunks/{chunk.ONLNSXX5.js → chunk.H3OTEEBL.js} +1 -1
- package/cdn/chunks/{chunk.RUQLOAD7.js → chunk.HYGIHDOD.js} +1 -1
- package/cdn/chunks/{chunk.672RPP4D.js → chunk.JOBOKYRD.js} +1 -1
- package/cdn/chunks/{chunk.PVXHQTWB.js → chunk.KMM5EXG2.js} +1 -1
- package/cdn/chunks/{chunk.4FNQO5XD.js → chunk.LXJMGZ7N.js} +1 -1
- package/cdn/chunks/{chunk.YKLGXE4P.js → chunk.M5IIGUOD.js} +2 -2
- package/cdn/chunks/{chunk.RJCMAHCX.js → chunk.MC3E2AR6.js} +1 -1
- package/cdn/chunks/{chunk.KMBHJHDO.js → chunk.NFYYHVW5.js} +1 -1
- package/cdn/chunks/{chunk.Z5S4F4Q4.js → chunk.NT7FQJJ7.js} +1 -1
- package/cdn/chunks/{chunk.GBTAVRVH.js → chunk.OIWVJGUE.js} +1 -1
- package/cdn/chunks/{chunk.YD52KX67.js → chunk.PQJAYX54.js} +1 -1
- package/cdn/chunks/{chunk.2KSLF35J.js → chunk.QBBA2SHL.js} +1 -1
- package/cdn/chunks/{chunk.RODNHU6H.js → chunk.SGZKGX4O.js} +1 -1
- package/cdn/chunks/{chunk.L2OKFPQQ.js → chunk.T2LWRJVU.js} +1 -1
- package/cdn/chunks/{chunk.33ZPTAYT.js → chunk.TDREPTB5.js} +1 -1
- package/cdn/chunks/{chunk.BRQJRVGQ.js → chunk.THMHNOEU.js} +1 -1
- package/cdn/chunks/{chunk.XBA3QQI7.js → chunk.UCYFSGWV.js} +1 -1
- package/cdn/chunks/{chunk.KXZ7K7NE.js → chunk.V5JHZS5I.js} +1 -1
- package/cdn/chunks/{chunk.SA2K7CG4.js → chunk.W6X2C6P4.js} +1 -1
- package/cdn/chunks/{chunk.GJM4HZLJ.js → chunk.WEGW2FI2.js} +1 -1
- package/cdn/chunks/{chunk.CTCPL24T.js → chunk.XB4NJ3KZ.js} +1 -1
- package/cdn/chunks/{chunk.QOFLRFOO.js → chunk.XPPEV3KM.js} +1 -1
- package/cdn/chunks/{chunk.G2P4LP5A.js → chunk.YY5DISTT.js} +1 -1
- package/cdn/chunks/{chunk.WJXNYQWX.js → chunk.YYZTCJPO.js} +1 -1
- package/cdn/chunks/chunk.YZFEQRD5.js +1 -0
- package/cdn/chunks/{chunk.MU5YOJPO.js → chunk.ZE4SZUMU.js} +1 -1
- package/cdn/chunks/{chunk.2QC7VEOH.js → chunk.ZFFOAXET.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +13 -13
- package/cdn/solid-components.iife.js +13 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.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.U3WRVVNJ.js → chunk.2RGRA53Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PY6CMHAA.js → chunk.2WXAPGGE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RUS5XMWE.js → chunk.3AJYYY5A.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CKDRUIIN.js → chunk.4QV2C3W6.js} +2 -2
- package/cdn-versioned/chunks/{chunk.DUXM7APT.js → chunk.4WOKTDYF.js} +4 -4
- package/cdn-versioned/chunks/{chunk.Z6AWZVXM.js → chunk.5A6THIFW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YHCBYVD4.js → chunk.5HMLFQRB.js} +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.H2DQFPDP.js → chunk.6GPQREPR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YL4VUIIS.js → chunk.6XPWTJEO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XCDTUUOI.js → chunk.BBNAM6UU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.474Y6U3J.js → chunk.BI37YYXB.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5LS4INU4.js → chunk.BMD66TVO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KXXBD7ZS.js → chunk.CASLT6GP.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.5EX3ZKUA.js → chunk.CMSO45VL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JG2M7W2J.js → chunk.D46YDQPU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZRPEHONR.js → chunk.DVRUURFU.js} +1 -1
- package/cdn-versioned/chunks/chunk.DYDQ2243.js +73 -0
- package/cdn-versioned/chunks/{chunk.YHWH6LXW.js → chunk.E7EFDHHO.js} +2 -2
- package/cdn-versioned/chunks/{chunk.HZJZ6ULP.js → chunk.EGFNRAGT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.D7OZT6SB.js → chunk.G2OPAMOQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.362JPKI7.js → chunk.G2ZCGQFT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QHU3VK5T.js → chunk.GBEVACYL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AQ2VT7ZP.js → chunk.GBFIM5QL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ONLNSXX5.js → chunk.H3OTEEBL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RUQLOAD7.js → chunk.HYGIHDOD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.672RPP4D.js → chunk.JOBOKYRD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PVXHQTWB.js → chunk.KMM5EXG2.js} +4 -4
- package/cdn-versioned/chunks/{chunk.4FNQO5XD.js → chunk.LXJMGZ7N.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YKLGXE4P.js → chunk.M5IIGUOD.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RJCMAHCX.js → chunk.MC3E2AR6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KMBHJHDO.js → chunk.NFYYHVW5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Z5S4F4Q4.js → chunk.NT7FQJJ7.js} +4 -4
- package/cdn-versioned/chunks/{chunk.GBTAVRVH.js → chunk.OIWVJGUE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YD52KX67.js → chunk.PQJAYX54.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2KSLF35J.js → chunk.QBBA2SHL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RODNHU6H.js → chunk.SGZKGX4O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.L2OKFPQQ.js → chunk.T2LWRJVU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.33ZPTAYT.js → chunk.TDREPTB5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BRQJRVGQ.js → chunk.THMHNOEU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XBA3QQI7.js → chunk.UCYFSGWV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KXZ7K7NE.js → chunk.V5JHZS5I.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SA2K7CG4.js → chunk.W6X2C6P4.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.GJM4HZLJ.js → chunk.WEGW2FI2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CTCPL24T.js → chunk.XB4NJ3KZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QOFLRFOO.js → chunk.XPPEV3KM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.G2P4LP5A.js → chunk.YY5DISTT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WJXNYQWX.js → chunk.YYZTCJPO.js} +1 -1
- package/cdn-versioned/chunks/chunk.YZFEQRD5.js +1 -0
- package/cdn-versioned/chunks/{chunk.MU5YOJPO.js → chunk.ZE4SZUMU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.2QC7VEOH.js → chunk.ZFFOAXET.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/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/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/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +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/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- 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/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/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +202 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +18 -18
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +18 -18
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.J6PAMLVK.js → chunk.2BTNPIIA.js} +1 -1
- package/dist/chunks/{chunk.6LYLGSX3.js → chunk.2PUHCALR.js} +1 -1
- package/dist/chunks/{chunk.Y2FOO3FA.js → chunk.33Z66RGK.js} +1 -1
- package/dist/chunks/{chunk.OXBXUGWH.js → chunk.4FGGIABU.js} +1 -1
- package/dist/chunks/{chunk.YK6S6HZ4.js → chunk.55MYJKOZ.js} +1 -1
- package/dist/chunks/{chunk.F6HAHWTA.js → chunk.5FQR2C3Z.js} +4 -4
- package/dist/chunks/{chunk.IM5JZDS3.js → chunk.5WMLZS55.js} +1 -1
- package/dist/chunks/{chunk.X76Z4RXF.js → chunk.6BZVWWJH.js} +1 -1
- package/dist/chunks/{chunk.LC3D4URT.js → chunk.6GEEKZAO.js} +1 -1
- package/dist/chunks/{chunk.MQ6ICGPI.js → chunk.7LEAXICZ.js} +1 -1
- package/dist/chunks/{chunk.VVQFKQCA.js → chunk.BPSZYJ7Z.js} +1 -1
- package/dist/chunks/{chunk.NEKLPVFO.js → chunk.CWDRTJP6.js} +3 -2
- package/dist/chunks/{chunk.7TMWATHG.js → chunk.DTROPLWA.js} +1 -1
- package/dist/chunks/{chunk.MVNSX2YV.js → chunk.DWJJNVK4.js} +1 -1
- package/dist/chunks/{chunk.342YDQBD.js → chunk.DXNE63DE.js} +1 -1
- package/dist/chunks/{chunk.R5XFXSJX.js → chunk.EEZURJVH.js} +1 -1
- package/dist/chunks/{chunk.XIMBKTC4.js → chunk.FHD45LNI.js} +1 -1
- package/dist/chunks/{chunk.64BWZ3LX.js → chunk.G22VBGDU.js} +1 -1
- package/dist/chunks/{chunk.OJPRPWQ6.js → chunk.GE2RNW2L.js} +1 -1
- package/dist/chunks/{chunk.YFQEXSPT.js → chunk.HGCAGKAN.js} +1 -1
- package/dist/chunks/{chunk.SMEOTY3O.js → chunk.HGTEA7ZU.js} +4 -4
- package/dist/chunks/{chunk.BWM7HK6T.js → chunk.HVQFYN4Q.js} +1 -1
- package/dist/chunks/{chunk.ROZOXNYF.js → chunk.IBGXHO4B.js} +2 -2
- package/dist/chunks/{chunk.R5NZJWEY.js → chunk.IT5IEST5.js} +1 -1
- package/dist/chunks/{chunk.OL2UOEVU.js → chunk.J46EMIEI.js} +1 -1
- package/dist/chunks/{chunk.4UFJQHKS.js → chunk.JFUXDVSP.js} +1 -1
- package/dist/chunks/{chunk.55H4GBUB.js → chunk.JOE2FCYM.js} +1 -1
- package/dist/chunks/{chunk.RTCWEXYZ.js → chunk.KNC4IRP2.js} +1 -1
- package/dist/chunks/{chunk.GJ5ZL7G4.js → chunk.KZTW7NPR.js} +3 -3
- package/dist/chunks/{chunk.ITN656DK.js → chunk.LC3HWWVO.js} +1 -1
- package/dist/chunks/{chunk.F4OMEZQP.js → chunk.LCW6HH3R.js} +1 -1
- package/dist/chunks/{chunk.DH7CSW7E.js → chunk.MONGBDKC.js} +1 -1
- package/dist/chunks/{chunk.TPJVN72V.js → chunk.NCWRKGWV.js} +1 -1
- package/dist/chunks/{chunk.M5FMORVS.js → chunk.ODT6T47Z.js} +1 -1
- package/dist/chunks/{chunk.BDDUJR5B.js → chunk.OSFHS5G5.js} +1 -1
- package/dist/chunks/{chunk.UC7VV6EF.js → chunk.OV6G7CEM.js} +1 -1
- package/dist/chunks/{chunk.6NJK6JPU.js → chunk.PLE7R7FE.js} +1 -1
- package/dist/chunks/{chunk.DDHJSPNQ.js → chunk.PYP5VT7Q.js} +1 -1
- package/dist/chunks/{chunk.64ZFR4OK.js → chunk.QI3HLIGL.js} +2 -2
- package/dist/chunks/{chunk.2IOIJOEY.js → chunk.QTKOFCJ2.js} +1 -1
- package/dist/chunks/{chunk.ZCST44QS.js → chunk.RHXSPE3W.js} +1 -1
- package/dist/chunks/{chunk.5V36G6NT.js → chunk.RM6FOML7.js} +2 -2
- package/dist/chunks/{chunk.E34LORFJ.js → chunk.RQ7H3KYN.js} +1 -1
- package/dist/chunks/{chunk.JFU6G72P.js → chunk.UQGHMQG5.js} +1 -1
- package/dist/chunks/{chunk.DPXI2Q7Y.js → chunk.VFE45I2T.js} +1 -1
- package/dist/chunks/{chunk.ACEQGXCU.js → chunk.W4ODHTDG.js} +1 -1
- package/dist/chunks/{chunk.UQ4F6T5U.js → chunk.W4P6W76T.js} +3 -9
- package/dist/chunks/{chunk.SFKTVZHK.js → chunk.WECFZLMT.js} +1 -1
- package/dist/chunks/chunk.Z7LGSMQC.js +65 -0
- package/dist/chunks/{chunk.S6S34HGU.js → chunk.ZKPN2W3G.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +2 -2
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.js +5 -5
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +3 -3
- package/dist/components/link/link.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +2 -2
- package/dist/components/notification/notification.js +2 -2
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.js +5 -5
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +2 -2
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/components/video/video.js +2 -2
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- 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.J6PAMLVK.js → chunk.2BTNPIIA.js} +2 -2
- package/dist-versioned/chunks/{chunk.6LYLGSX3.js → chunk.2PUHCALR.js} +6 -6
- package/dist-versioned/chunks/{chunk.Y2FOO3FA.js → chunk.33Z66RGK.js} +2 -2
- package/dist-versioned/chunks/{chunk.OXBXUGWH.js → chunk.4FGGIABU.js} +2 -2
- package/dist-versioned/chunks/{chunk.YK6S6HZ4.js → chunk.55MYJKOZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.F6HAHWTA.js → chunk.5FQR2C3Z.js} +33 -33
- package/dist-versioned/chunks/{chunk.IM5JZDS3.js → chunk.5WMLZS55.js} +3 -3
- package/dist-versioned/chunks/{chunk.X76Z4RXF.js → chunk.6BZVWWJH.js} +6 -6
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.LC3D4URT.js → chunk.6GEEKZAO.js} +3 -3
- package/dist-versioned/chunks/{chunk.MQ6ICGPI.js → chunk.7LEAXICZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.VVQFKQCA.js → chunk.BPSZYJ7Z.js} +4 -4
- package/dist-versioned/chunks/{chunk.NEKLPVFO.js → chunk.CWDRTJP6.js} +7 -6
- package/dist-versioned/chunks/{chunk.7TMWATHG.js → chunk.DTROPLWA.js} +6 -6
- package/dist-versioned/chunks/{chunk.MVNSX2YV.js → chunk.DWJJNVK4.js} +3 -3
- package/dist-versioned/chunks/{chunk.342YDQBD.js → chunk.DXNE63DE.js} +6 -6
- package/dist-versioned/chunks/{chunk.R5XFXSJX.js → chunk.EEZURJVH.js} +2 -2
- package/dist-versioned/chunks/{chunk.XIMBKTC4.js → chunk.FHD45LNI.js} +2 -2
- package/dist-versioned/chunks/{chunk.64BWZ3LX.js → chunk.G22VBGDU.js} +2 -2
- package/dist-versioned/chunks/{chunk.OJPRPWQ6.js → chunk.GE2RNW2L.js} +2 -2
- package/dist-versioned/chunks/{chunk.YFQEXSPT.js → chunk.HGCAGKAN.js} +6 -6
- package/dist-versioned/chunks/{chunk.SMEOTY3O.js → chunk.HGTEA7ZU.js} +30 -30
- package/dist-versioned/chunks/{chunk.BWM7HK6T.js → chunk.HVQFYN4Q.js} +4 -4
- package/dist-versioned/chunks/{chunk.ROZOXNYF.js → chunk.IBGXHO4B.js} +5 -5
- package/dist-versioned/chunks/{chunk.R5NZJWEY.js → chunk.IT5IEST5.js} +2 -2
- package/dist-versioned/chunks/{chunk.OL2UOEVU.js → chunk.J46EMIEI.js} +3 -3
- package/dist-versioned/chunks/{chunk.4UFJQHKS.js → chunk.JFUXDVSP.js} +3 -3
- package/dist-versioned/chunks/{chunk.55H4GBUB.js → chunk.JOE2FCYM.js} +3 -3
- package/dist-versioned/chunks/{chunk.RTCWEXYZ.js → chunk.KNC4IRP2.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.GJ5ZL7G4.js → chunk.KZTW7NPR.js} +16 -16
- package/dist-versioned/chunks/{chunk.ITN656DK.js → chunk.LC3HWWVO.js} +2 -2
- package/dist-versioned/chunks/{chunk.F4OMEZQP.js → chunk.LCW6HH3R.js} +4 -4
- package/dist-versioned/chunks/{chunk.DH7CSW7E.js → chunk.MONGBDKC.js} +3 -3
- package/dist-versioned/chunks/{chunk.TPJVN72V.js → chunk.NCWRKGWV.js} +3 -3
- package/dist-versioned/chunks/{chunk.M5FMORVS.js → chunk.ODT6T47Z.js} +3 -3
- package/dist-versioned/chunks/{chunk.BDDUJR5B.js → chunk.OSFHS5G5.js} +3 -3
- package/dist-versioned/chunks/{chunk.UC7VV6EF.js → chunk.OV6G7CEM.js} +7 -7
- package/dist-versioned/chunks/{chunk.6NJK6JPU.js → chunk.PLE7R7FE.js} +4 -4
- package/dist-versioned/chunks/{chunk.DDHJSPNQ.js → chunk.PYP5VT7Q.js} +14 -14
- package/dist-versioned/chunks/{chunk.64ZFR4OK.js → chunk.QI3HLIGL.js} +8 -8
- package/dist-versioned/chunks/{chunk.2IOIJOEY.js → chunk.QTKOFCJ2.js} +12 -12
- package/dist-versioned/chunks/{chunk.ZCST44QS.js → chunk.RHXSPE3W.js} +3 -3
- package/dist-versioned/chunks/{chunk.5V36G6NT.js → chunk.RM6FOML7.js} +7 -7
- package/dist-versioned/chunks/{chunk.E34LORFJ.js → chunk.RQ7H3KYN.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.JFU6G72P.js → chunk.UQGHMQG5.js} +3 -3
- package/dist-versioned/chunks/{chunk.DPXI2Q7Y.js → chunk.VFE45I2T.js} +3 -3
- package/dist-versioned/chunks/{chunk.ACEQGXCU.js → chunk.W4ODHTDG.js} +3 -3
- package/dist-versioned/chunks/{chunk.UQ4F6T5U.js → chunk.W4P6W76T.js} +4 -10
- package/dist-versioned/chunks/{chunk.SFKTVZHK.js → chunk.WECFZLMT.js} +10 -10
- package/dist-versioned/chunks/chunk.Z7LGSMQC.js +65 -0
- package/dist-versioned/chunks/{chunk.S6S34HGU.js → chunk.ZKPN2W3G.js} +2 -2
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +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/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +5 -5
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +5 -5
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +5 -5
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +2 -2
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +3 -3
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +5 -5
- 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 +5 -5
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +2 -2
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -2
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +2 -2
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +3 -3
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +2 -2
- package/dist-versioned/custom-elements.json +202 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +50 -50
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +1 -1
- package/cdn/chunks/chunk.OAGBYPHC.js +0 -73
- package/cdn/chunks/chunk.WMHPSYVE.js +0 -1
- package/cdn-versioned/chunks/chunk.OAGBYPHC.js +0 -73
- package/cdn-versioned/chunks/chunk.WMHPSYVE.js +0 -1
- package/dist/chunks/chunk.5O6BWTAZ.js +0 -65
- package/dist-versioned/chunks/chunk.5O6BWTAZ.js +0 -65
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass,
|
|
13
13
|
__spreadValues
|
|
@@ -29,8 +29,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
29
29
|
}
|
|
30
30
|
connectedCallback() {
|
|
31
31
|
const whenAllDefined = Promise.all([
|
|
32
|
-
customElements.whenDefined("sd-4-6-
|
|
33
|
-
customElements.whenDefined("sd-4-6-
|
|
32
|
+
customElements.whenDefined("sd-4-6-1-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-6-1-tab-panel")
|
|
34
34
|
]);
|
|
35
35
|
super.connectedCallback();
|
|
36
36
|
this.resizeObserver = new ResizeObserver(() => {
|
|
@@ -71,19 +71,19 @@ var SdTabGroup = class extends SolidElement {
|
|
|
71
71
|
getAllTabs(options = { includeDisabled: true }) {
|
|
72
72
|
const slot = this.shadowRoot.querySelector('slot[name="nav"]');
|
|
73
73
|
return [...slot.assignedElements()].filter((el) => {
|
|
74
|
-
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-6-
|
|
74
|
+
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-6-1-tab" : el.tagName.toLowerCase() === "sd-4-6-1-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-1-tab-panel");
|
|
79
79
|
}
|
|
80
80
|
getActiveTab() {
|
|
81
81
|
return this.tabs.find((t) => t.matches(":focus"));
|
|
82
82
|
}
|
|
83
83
|
handleClick(event) {
|
|
84
84
|
const target = event.target;
|
|
85
|
-
const tab = target.closest("sd-4-6-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-
|
|
85
|
+
const tab = target.closest("sd-4-6-1-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-1-tab-group");
|
|
87
87
|
if (tabGroup !== this) {
|
|
88
88
|
return;
|
|
89
89
|
}
|
|
@@ -93,8 +93,8 @@ var SdTabGroup = class extends SolidElement {
|
|
|
93
93
|
}
|
|
94
94
|
handleKeyDown(event) {
|
|
95
95
|
const target = event.target;
|
|
96
|
-
const tab = target.closest("sd-4-6-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-
|
|
96
|
+
const tab = target.closest("sd-4-6-1-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-1-tab-group");
|
|
98
98
|
if (tabGroup !== this) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ var SdTabGroup = class extends SolidElement {
|
|
|
119
119
|
if (["ArrowLeft", "ArrowRight", "ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
120
120
|
const activeEl = this.tabs.find((t) => t.matches(":focus"));
|
|
121
121
|
const isRtl = this.localize.dir() === "rtl";
|
|
122
|
-
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-6-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-6-1-tab") {
|
|
123
123
|
let index = this.tabs.indexOf(activeEl);
|
|
124
124
|
if (event.key === "Home") {
|
|
125
125
|
index = 0;
|
|
@@ -215,15 +215,15 @@ var SdTabGroup = class extends SolidElement {
|
|
|
215
215
|
return html`<div part="base" class="${cx("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${cx(this.hasScrollControls && "relative py-0 px-12")}">${this.hasScrollControls ? html`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
216
216
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
217
217
|
this.localize.dir() === "rtl" && "left-auto right-0"
|
|
218
|
-
)}" @click="${this.handleScrollToStart}"><sd-4-6-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-6-1-icon library="system" name="${isRtl ? "chevron-up" : "chevron-down"}" label="previous" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-6-1-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><div part="separation" class="w-full border-[0.25px] border-neutral-400 absolute bottom-0"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls ? html`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" class="${cx(
|
|
219
219
|
"sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",
|
|
220
220
|
this.localize.dir() === "rtl" && "right-auto left-0"
|
|
221
|
-
)}" @click="${this.handleScrollToEnd}"><sd-4-6-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-6-1-icon library="system" name="${isRtl ? "chevron-down" : "chevron-up"}" label="next" class="${cx("h-6 w-12 rotate-90 grid place-items-center")}"></sd-4-6-1-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
222
222
|
}
|
|
223
223
|
};
|
|
224
224
|
SdTabGroup.styles = [
|
|
225
225
|
...SolidElement.styles,
|
|
226
|
-
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-6-
|
|
226
|
+
css`:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}:focus-within::slotted(sd-4-6-1-tab-panel){outline-color:rgb(var(--sd-color-primary,0 53 142)/1);outline-offset:2px;outline-style:solid;outline-width:2px}::slotted(sd-4-6-1-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property({ type: String, reflect: true })
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-4-6-
|
|
247
|
+
customElement("sd-4-6-1-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.2LMWBUBT.js";
|
|
7
7
|
import {
|
|
8
8
|
SdCarouselItem
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.G22VBGDU.js";
|
|
10
10
|
import {
|
|
11
11
|
prefersReducedMotion
|
|
12
12
|
} from "./chunk.EY4JPJJQ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
SolidElement,
|
|
21
21
|
customElement
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
23
23
|
import {
|
|
24
24
|
__decorateClass
|
|
25
25
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -56,7 +56,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
56
56
|
this.pausedAutoplay = false;
|
|
57
57
|
this.autoplayController = new AutoplayController(this, () => this.next());
|
|
58
58
|
this.scrollController = new ScrollController(this);
|
|
59
|
-
this.slides = this.getElementsByTagName("sd-4-6-
|
|
59
|
+
this.slides = this.getElementsByTagName("sd-4-6-1-carousel-item");
|
|
60
60
|
// determines which slide is displayed
|
|
61
61
|
// A map containing the state of all the slides
|
|
62
62
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -370,7 +370,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
370
370
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
371
371
|
this.previous();
|
|
372
372
|
this.unblockAutoplay(e, this.previousButton);
|
|
373
|
-
} : null}"><slot name="previous-icon"><sd-4-6-
|
|
373
|
+
} : null}"><slot name="previous-icon"><sd-4-6-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-down" : "chevron-up"}"></sd-4-6-1-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
374
374
|
const isActive = index + 1 === currentPage;
|
|
375
375
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
376
376
|
"carousel__pagination-item",
|
|
@@ -393,7 +393,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
393
393
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
394
394
|
this.next();
|
|
395
395
|
this.unblockAutoplay(e, this.nextButton);
|
|
396
|
-
} : null}"><slot name="next-icon"><sd-4-6-
|
|
396
|
+
} : null}"><slot name="next-icon"><sd-4-6-1-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${isLtr ? "chevron-up" : "chevron-down"}"></sd-4-6-1-icon></slot></button></div><button class="${cx(
|
|
397
397
|
"ml-6 !rounded-sm",
|
|
398
398
|
"!absolute !right-0 sd-interactive",
|
|
399
399
|
this.inverted ? "sd-interactive--inverted" : "sd-interactive--reset",
|
|
@@ -403,12 +403,12 @@ var SdCarousel = class extends SolidElement {
|
|
|
403
403
|
if (e.detail) {
|
|
404
404
|
this.autoplayControls.blur();
|
|
405
405
|
}
|
|
406
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-
|
|
406
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-1-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-6-1-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-4-6-1-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-6-1-icon></slot></button></div></div>`;
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
SdCarousel.styles = [
|
|
410
410
|
...SolidElement.styles,
|
|
411
|
-
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-6-
|
|
411
|
+
css`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-6-1-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`
|
|
412
412
|
];
|
|
413
413
|
__decorateClass([
|
|
414
414
|
query('[part~="autoplay-controls"]')
|
|
@@ -475,7 +475,7 @@ __decorateClass([
|
|
|
475
475
|
watch("autoplay")
|
|
476
476
|
], SdCarousel.prototype, "handleAutoplayChange", 1);
|
|
477
477
|
SdCarousel = __decorateClass([
|
|
478
|
-
customElement("sd-4-6-
|
|
478
|
+
customElement("sd-4-6-1-carousel")
|
|
479
479
|
], SdCarousel);
|
|
480
480
|
|
|
481
481
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-4-6-1-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-1-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-4-6-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-4-6-1-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-4-6-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-4-6-1-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-4-6-
|
|
41
|
-
button.classList.toggle("sd-4-6-
|
|
42
|
-
button.classList.toggle("sd-4-6-
|
|
43
|
-
button.classList.toggle("sd-4-6-
|
|
44
|
-
button.classList.toggle("sd-4-6-
|
|
40
|
+
button.classList.add("sd-4-6-1-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-4-6-1-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-4-6-1-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-4-6-1-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-4-6-1-button-group__button--radio", button.tagName.toLowerCase() === "sd-4-6-1-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-4-6-
|
|
66
|
+
customElement("sd-4-6-1-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-4-6-
|
|
70
|
+
const selector = "sd-4-6-1-button, sd-4-6-1-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -103,7 +103,7 @@ var SdVideo = class extends SolidElement {
|
|
|
103
103
|
this.playing ? "opacity-0" : "opacity-100",
|
|
104
104
|
this.isBelowBreakpoint ? "w-[48px] h-[48px]" : "w-[96px] h-[96px]",
|
|
105
105
|
"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 p-4 bg-white bg-opacity-75 rounded-full play-pause-transition outline-2 outline-offset-2 group-focus-visible:outline"
|
|
106
|
-
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-
|
|
106
|
+
)}"><slot name="play-icon" part="play-icon" class="${cx(this.isBelowBreakpoint ? "text-[2rem]" : "text-[4rem]")}"><sd-4-6-1-icon id="default-play-icon" library="system" name="start"></sd-4-6-1-icon></slot></div></button> ${this.hasSlotController.test("poster") ? html`<slot name="poster" role="presentation" @transitionend="${this.hidePoster}"></slot>` : null}<slot></slot></div>`;
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdVideo.styles = [
|
|
@@ -120,7 +120,7 @@ __decorateClass([
|
|
|
120
120
|
property({ type: Boolean })
|
|
121
121
|
], SdVideo.prototype, "isBelowBreakpoint", 2);
|
|
122
122
|
SdVideo = __decorateClass([
|
|
123
|
-
customElement("sd-4-6-
|
|
123
|
+
customElement("sd-4-6-1-video")
|
|
124
124
|
], SdVideo);
|
|
125
125
|
|
|
126
126
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.J46EMIEI.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
28
28
|
this.label = "";
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Syncs the disabled prop for all slotted sd-4-6-
|
|
31
|
+
* Syncs the disabled prop for all slotted sd-4-6-1-options when it is triggered
|
|
32
32
|
*/
|
|
33
33
|
handleDisableOptions() {
|
|
34
34
|
const { disabled } = this;
|
|
35
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-
|
|
35
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-4-6-1-option").forEach((opt) => {
|
|
36
36
|
opt.disabled = disabled;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
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-4-6-
|
|
44
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-4-6-1-divider id="divider" class="pt-2 pb-4" part="divider"></sd-4-6-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
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SdOptgroup.dependencies = {
|
|
48
|
-
"sd-4-6-
|
|
48
|
+
"sd-4-6-1-divider": SdDivider
|
|
49
49
|
};
|
|
50
50
|
SdOptgroup.styles = [
|
|
51
51
|
...SolidElement.styles,
|
|
@@ -64,7 +64,7 @@ __decorateClass([
|
|
|
64
64
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
65
65
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
66
66
|
SdOptgroup = __decorateClass([
|
|
67
|
-
customElement("sd-4-6-
|
|
67
|
+
customElement("sd-4-6-1-optgroup")
|
|
68
68
|
], SdOptgroup);
|
|
69
69
|
|
|
70
70
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -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-4-6-
|
|
74
|
+
"sd-4-6-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-4-6-
|
|
129
|
+
customElement("sd-4-6-1-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
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-6-
|
|
4
|
-
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-6-
|
|
3
|
+
var getOptionOrNestedOptions = (item) => item.tagName.toLocaleLowerCase() === "sd-4-6-1-option" ? item : Array.from(item.querySelectorAll(":scope > sd-4-6-1-option"));
|
|
4
|
+
var isOptgroup = (item) => item.tagName.toLocaleLowerCase() === "sd-4-6-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();
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
SolidElement,
|
|
30
30
|
customElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
32
32
|
import {
|
|
33
33
|
__decorateClass
|
|
34
34
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -209,7 +209,7 @@ var SdDrawer = class extends SolidElement {
|
|
|
209
209
|
end: "top-0 end-0 bottom-auto start-auto w-[--width] h-full",
|
|
210
210
|
start: "top-0 end-auto bottom-auto start-0 w-[--width] h-full"
|
|
211
211
|
}[this.placement]
|
|
212
|
-
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-6-
|
|
212
|
+
)}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${!this.noHeader ? html`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-6-1-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}"><sd-4-6-1-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-1-icon></sd-4-6-1-button></div></header>` : html`<sd-4-6-1-button variant="tertiary" size="lg" part="close-button" @click="${() => this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-6-1-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-6-1-icon></sd-4-6-1-button>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${cx(this.hasSlotController.test("footer") ? "text-left p-4" : "hidden")}"><slot name="footer"></slot></footer></div></section>`;
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
SdDrawer.styles = [
|
|
@@ -250,7 +250,7 @@ __decorateClass([
|
|
|
250
250
|
watch("contained", { waitUntilFirstUpdate: true })
|
|
251
251
|
], SdDrawer.prototype, "handleNoModalChange", 1);
|
|
252
252
|
SdDrawer = __decorateClass([
|
|
253
|
-
customElement("sd-4-6-
|
|
253
|
+
customElement("sd-4-6-1-drawer")
|
|
254
254
|
], SdDrawer);
|
|
255
255
|
setDefaultAnimation("drawer.showStart", {
|
|
256
256
|
keyframes: [
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -91,7 +91,7 @@ var SdOption = class extends SolidElement {
|
|
|
91
91
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
|
92
92
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
|
93
93
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
|
|
94
|
-
)}">${this.selected ? html`<sd-4-6-
|
|
94
|
+
)}">${this.selected ? html`<sd-4-6-1-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-1-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
@@ -135,7 +135,7 @@ __decorateClass([
|
|
|
135
135
|
watch("value")
|
|
136
136
|
], SdOption.prototype, "handleValueChange", 1);
|
|
137
137
|
SdOption = __decorateClass([
|
|
138
|
-
customElement("sd-4-6-
|
|
138
|
+
customElement("sd-4-6-1-option")
|
|
139
139
|
], SdOption);
|
|
140
140
|
|
|
141
141
|
export {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -72,7 +72,7 @@ var SdExpandable = class extends SolidElement {
|
|
|
72
72
|
"sd-interactive sd-interactive--reset",
|
|
73
73
|
this.inverted && "sd-interactive--inverted",
|
|
74
74
|
!this.inverted ? "!focus-visible:focus-outline" : "!focus-visible:focus-outline-inverted"
|
|
75
|
-
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-6-
|
|
75
|
+
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}">${this.open ? html`<slot name="toggle-open"><sd-4-6-1-icon class="mr-2 text-xl" library="system" name="chevron-up"></sd-4-6-1-icon>${this.localize.term("showLess")}</slot>` : html`<slot name="toggle-closed"><sd-4-6-1-icon class="mr-2 text-xl" library="system" name="chevron-down"></sd-4-6-1-icon>${this.localize.term("showMore")}</slot>`}</div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
|
|
76
76
|
}
|
|
77
77
|
firstUpdated() {
|
|
78
78
|
this.cloneContentToLightDOM();
|
|
@@ -109,7 +109,7 @@ __decorateClass([
|
|
|
109
109
|
watch("open", { waitUntilFirstUpdate: true })
|
|
110
110
|
], SdExpandable.prototype, "onOpenChange", 1);
|
|
111
111
|
SdExpandable = __decorateClass([
|
|
112
|
-
customElement("sd-4-6-
|
|
112
|
+
customElement("sd-4-6-1-expandable")
|
|
113
113
|
], SdExpandable);
|
|
114
114
|
|
|
115
115
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -25,19 +25,13 @@ var SdBadge = class extends SolidElement {
|
|
|
25
25
|
blue: !this.inverted ? "text-white bg-primary-500 border-white" : "text-primary bg-primary-100 border-primary",
|
|
26
26
|
green: !this.inverted ? "text-white bg-success border-white" : "text-white bg-success border-primary",
|
|
27
27
|
red: !this.inverted ? "text-white bg-error border-white" : "text-white bg-error border-primary"
|
|
28
|
-
}[this.variant]
|
|
29
|
-
{
|
|
30
|
-
/* size and fonts*/
|
|
31
|
-
sm: "h-2 min-w-2",
|
|
32
|
-
md: "h-4 px-1 min-w-4",
|
|
33
|
-
lg: "h-5 min-w-5"
|
|
34
|
-
}[this.size]
|
|
28
|
+
}[this.variant]
|
|
35
29
|
)}"><span id="content" part="content" class="${cx(this.size === "sm" && "sr-only")}"><slot></slot></span></span>`;
|
|
36
30
|
}
|
|
37
31
|
};
|
|
38
32
|
SdBadge.styles = [
|
|
39
33
|
...SolidElement.styles,
|
|
40
|
-
css`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem}:host([size=lg]){font-size:.75rem}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`
|
|
34
|
+
css`:host{align-items:center;display:inline-flex;justify-content:center}:host([size=md]){font-size:.625rem;height:var(--sd-spacing-4,1rem);min-width:var(--sd-spacing-4,1rem)}:host([size=lg]){font-size:.75rem;height:var(--sd-spacing-5,1.25rem);min-width:var(--sd-spacing-5,1.25rem)}:host([size=sm])::part(base){height:var(--sd-spacing-2,.5rem);min-width:var(--sd-spacing-2,.5rem)}:host([size=md])::part(base){padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`
|
|
41
35
|
];
|
|
42
36
|
__decorateClass([
|
|
43
37
|
property({ type: String, reflect: true })
|
|
@@ -49,7 +43,7 @@ __decorateClass([
|
|
|
49
43
|
property({ type: Boolean, reflect: true })
|
|
50
44
|
], SdBadge.prototype, "inverted", 2);
|
|
51
45
|
SdBadge = __decorateClass([
|
|
52
|
-
customElement("sd-4-6-
|
|
46
|
+
customElement("sd-4-6-1-badge")
|
|
53
47
|
], SdBadge);
|
|
54
48
|
|
|
55
49
|
export {
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
SolidElement,
|
|
26
26
|
customElement
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.Z7LGSMQC.js";
|
|
28
28
|
import {
|
|
29
29
|
__decorateClass
|
|
30
30
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -76,7 +76,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
76
76
|
* within the slotted trigger. This could be the slotted element itself, a child of the slotted element,
|
|
77
77
|
* or an element within the slotted elements shadow root.
|
|
78
78
|
*
|
|
79
|
-
* e.g. the accessible trigger of an <sd-4-6-
|
|
79
|
+
* e.g. the accessible trigger of an <sd-4-6-1-button> is a <button> located inside its shadow root.
|
|
80
80
|
*
|
|
81
81
|
* To determine this, we assume the first tabbable element in the trigger slot is the "accessible trigger."
|
|
82
82
|
* */
|
|
@@ -87,11 +87,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
87
87
|
if (accessibleTrigger) {
|
|
88
88
|
switch (accessibleTrigger.tagName.toLowerCase()) {
|
|
89
89
|
// Solid buttons have to update the internal button so it's announced correctly by screen readers
|
|
90
|
-
case "sd-4-6-
|
|
91
|
-
case "sd-4-6-
|
|
90
|
+
case "sd-4-6-1-button":
|
|
91
|
+
case "sd-4-6-1-icon-button":
|
|
92
92
|
target = accessibleTrigger.button;
|
|
93
93
|
break;
|
|
94
|
-
case "sd-4-6-
|
|
94
|
+
case "sd-4-6-1-navigation-item":
|
|
95
95
|
target = accessibleTrigger.button;
|
|
96
96
|
break;
|
|
97
97
|
default:
|
|
@@ -236,7 +236,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
236
236
|
}
|
|
237
237
|
addOpenListeners() {
|
|
238
238
|
this.panel.addEventListener("sd-activate", this.handleMenuItemActivate);
|
|
239
|
-
this.panel.addEventListener("sd-4-6-
|
|
239
|
+
this.panel.addEventListener("sd-4-6-1-select", this.handlePanelSelect);
|
|
240
240
|
this.panel.addEventListener("keydown", this.handleKeyDown);
|
|
241
241
|
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
242
242
|
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
@@ -244,7 +244,7 @@ var SdDropdown = class extends SolidElement {
|
|
|
244
244
|
removeOpenListeners() {
|
|
245
245
|
if (this.panel) {
|
|
246
246
|
this.panel.removeEventListener("sd-activate", this.handleMenuItemActivate);
|
|
247
|
-
this.panel.removeEventListener("sd-4-6-
|
|
247
|
+
this.panel.removeEventListener("sd-4-6-1-select", this.handlePanelSelect);
|
|
248
248
|
this.panel.removeEventListener("keydown", this.handleKeyDown);
|
|
249
249
|
}
|
|
250
250
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
@@ -277,11 +277,11 @@ var SdDropdown = class extends SolidElement {
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return html`<sd-4-6-
|
|
280
|
+
return html`<sd-4-6-1-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded && this.distance < 1 ? 1 : this.distance}" skidding="${this.skidding}" strategy="${this.hoist ? "fixed" : "absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${cx(
|
|
281
281
|
"shadow bg-white",
|
|
282
282
|
this.open ? "block pointer-events-auto" : "pointer-events-none",
|
|
283
283
|
this.rounded && "rounded-md"
|
|
284
|
-
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-6-
|
|
284
|
+
)}" aria-hidden="${this.open ? "false" : "true"}" aria-labelledby="dropdown"></slot></sd-4-6-1-popup>`;
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
SdDropdown.styles = [
|
|
@@ -334,7 +334,7 @@ __decorateClass([
|
|
|
334
334
|
watch("open", { waitUntilFirstUpdate: true })
|
|
335
335
|
], SdDropdown.prototype, "handleOpenChange", 1);
|
|
336
336
|
SdDropdown = __decorateClass([
|
|
337
|
-
customElement("sd-4-6-
|
|
337
|
+
customElement("sd-4-6-1-dropdown")
|
|
338
338
|
], SdDropdown);
|
|
339
339
|
setDefaultAnimation("dropdown.show", {
|
|
340
340
|
keyframes: [
|