@solid-design-system/components 4.5.2 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.GCJUHSVB.js → chunk.2KSLF35J.js} +1 -1
- package/cdn/chunks/{chunk.GODTH2BV.js → chunk.2QC7VEOH.js} +1 -1
- package/cdn/chunks/{chunk.NFQN6UG4.js → chunk.33ZPTAYT.js} +1 -1
- package/cdn/chunks/{chunk.V4OUQ3EH.js → chunk.362JPKI7.js} +1 -1
- package/cdn/chunks/{chunk.UXSHRSR2.js → chunk.474Y6U3J.js} +1 -1
- package/cdn/chunks/{chunk.MQTBDNS4.js → chunk.4FNQO5XD.js} +1 -1
- package/cdn/chunks/{chunk.ZH5A5PAH.js → chunk.5EX3ZKUA.js} +1 -1
- package/cdn/chunks/{chunk.5674RCSA.js → chunk.5LS4INU4.js} +1 -1
- package/cdn/chunks/{chunk.4XZVXBNJ.js → chunk.672RPP4D.js} +1 -1
- package/cdn/chunks/{chunk.5NXE2OTZ.js → chunk.AQ2VT7ZP.js} +1 -1
- package/cdn/chunks/{chunk.ABTV3KUR.js → chunk.BRQJRVGQ.js} +1 -1
- package/cdn/chunks/{chunk.2QVXJFPL.js → chunk.CKDRUIIN.js} +1 -1
- package/cdn/chunks/{chunk.FHU3KJ7Y.js → chunk.CTCPL24T.js} +1 -1
- package/cdn/chunks/{chunk.LET4FMBB.js → chunk.D7OZT6SB.js} +1 -1
- package/cdn/chunks/chunk.DUXM7APT.js +11 -0
- package/cdn/chunks/{chunk.YR376FSM.js → chunk.G2P4LP5A.js} +1 -1
- package/cdn/chunks/{chunk.P3BGKFWO.js → chunk.GBTAVRVH.js} +1 -1
- package/cdn/chunks/{chunk.63QVXIWO.js → chunk.GJM4HZLJ.js} +1 -1
- package/cdn/chunks/{chunk.E6ML63IG.js → chunk.H2DQFPDP.js} +1 -1
- package/cdn/chunks/{chunk.NKQX2WLJ.js → chunk.HZJZ6ULP.js} +1 -1
- package/cdn/chunks/{chunk.VZSFEHBE.js → chunk.JG2M7W2J.js} +1 -1
- package/cdn/chunks/{chunk.3X7ETFNY.js → chunk.KMBHJHDO.js} +1 -1
- package/cdn/chunks/{chunk.QU74JYEO.js → chunk.KXXBD7ZS.js} +1 -1
- package/cdn/chunks/{chunk.4T3MMIEQ.js → chunk.KXZ7K7NE.js} +1 -1
- package/cdn/chunks/{chunk.7TRFUW6U.js → chunk.L2OKFPQQ.js} +1 -1
- package/cdn/chunks/{chunk.5ZCRDWIG.js → chunk.MU5YOJPO.js} +1 -1
- package/cdn/chunks/chunk.OAGBYPHC.js +73 -0
- package/cdn/chunks/{chunk.P3J3NT4K.js → chunk.ONLNSXX5.js} +1 -1
- package/cdn/chunks/{chunk.GCDW2GZT.js → chunk.PVXHQTWB.js} +1 -1
- package/cdn/chunks/{chunk.PKR76VXM.js → chunk.PY6CMHAA.js} +1 -1
- package/cdn/chunks/{chunk.RGJXEMYT.js → chunk.QHU3VK5T.js} +1 -1
- package/cdn/chunks/{chunk.5PTPXZR2.js → chunk.QOFLRFOO.js} +1 -1
- package/cdn/chunks/{chunk.5IYTJ7AF.js → chunk.RJCMAHCX.js} +1 -1
- package/cdn/chunks/{chunk.LKO4ZRE7.js → chunk.RODNHU6H.js} +1 -1
- package/cdn/chunks/{chunk.YUKQPW36.js → chunk.RUQLOAD7.js} +1 -1
- package/cdn/chunks/{chunk.7T77HZ4H.js → chunk.RUS5XMWE.js} +1 -1
- package/cdn/chunks/{chunk.HHX4U6WL.js → chunk.SA2K7CG4.js} +1 -1
- package/cdn/chunks/{chunk.WOLYEHCJ.js → chunk.U3WRVVNJ.js} +1 -1
- package/cdn/chunks/{chunk.L5V5SVP4.js → chunk.WJXNYQWX.js} +1 -1
- package/cdn/chunks/{chunk.ZQBRQ52P.js → chunk.WMHPSYVE.js} +1 -1
- package/cdn/chunks/{chunk.W7775W5G.js → chunk.XBA3QQI7.js} +1 -1
- package/cdn/chunks/{chunk.SNB43P47.js → chunk.XCDTUUOI.js} +1 -1
- package/cdn/chunks/chunk.YD52KX67.js +1 -0
- package/cdn/chunks/{chunk.F65VOONA.js → chunk.YHCBYVD4.js} +1 -1
- package/cdn/chunks/{chunk.LB6APJYZ.js → chunk.YHWH6LXW.js} +1 -1
- package/cdn/chunks/{chunk.VTZF6UEH.js → chunk.YKLGXE4P.js} +2 -2
- package/cdn/chunks/{chunk.AYIAV4JH.js → chunk.YL4VUIIS.js} +1 -1
- package/cdn/chunks/chunk.Z5S4F4Q4.js +11 -0
- package/cdn/chunks/{chunk.2GY6T6QS.js → chunk.Z6AWZVXM.js} +1 -1
- package/cdn/chunks/{chunk.ILP7DEPA.js → chunk.ZRPEHONR.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.d.ts +0 -3
- 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.d.ts +0 -3
- 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 +19 -19
- package/cdn/solid-components.iife.js +19 -19
- 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.GCJUHSVB.js → chunk.2KSLF35J.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GODTH2BV.js → chunk.2QC7VEOH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NFQN6UG4.js → chunk.33ZPTAYT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.V4OUQ3EH.js → chunk.362JPKI7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UXSHRSR2.js → chunk.474Y6U3J.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MQTBDNS4.js → chunk.4FNQO5XD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZH5A5PAH.js → chunk.5EX3ZKUA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5674RCSA.js → chunk.5LS4INU4.js} +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.4XZVXBNJ.js → chunk.672RPP4D.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5NXE2OTZ.js → chunk.AQ2VT7ZP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ABTV3KUR.js → chunk.BRQJRVGQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.2QVXJFPL.js → chunk.CKDRUIIN.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FHU3KJ7Y.js → chunk.CTCPL24T.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LET4FMBB.js → chunk.D7OZT6SB.js} +1 -1
- package/cdn-versioned/chunks/chunk.DUXM7APT.js +11 -0
- package/cdn-versioned/chunks/{chunk.YR376FSM.js → chunk.G2P4LP5A.js} +1 -1
- package/cdn-versioned/chunks/{chunk.P3BGKFWO.js → chunk.GBTAVRVH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.63QVXIWO.js → chunk.GJM4HZLJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.E6ML63IG.js → chunk.H2DQFPDP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NKQX2WLJ.js → chunk.HZJZ6ULP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VZSFEHBE.js → chunk.JG2M7W2J.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3X7ETFNY.js → chunk.KMBHJHDO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QU74JYEO.js → chunk.KXXBD7ZS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4T3MMIEQ.js → chunk.KXZ7K7NE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7TRFUW6U.js → chunk.L2OKFPQQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5ZCRDWIG.js → chunk.MU5YOJPO.js} +2 -2
- package/cdn-versioned/chunks/chunk.OAGBYPHC.js +73 -0
- package/cdn-versioned/chunks/{chunk.P3J3NT4K.js → chunk.ONLNSXX5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GCDW2GZT.js → chunk.PVXHQTWB.js} +4 -4
- package/cdn-versioned/chunks/{chunk.PKR76VXM.js → chunk.PY6CMHAA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RGJXEMYT.js → chunk.QHU3VK5T.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5PTPXZR2.js → chunk.QOFLRFOO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5IYTJ7AF.js → chunk.RJCMAHCX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LKO4ZRE7.js → chunk.RODNHU6H.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YUKQPW36.js → chunk.RUQLOAD7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7T77HZ4H.js → chunk.RUS5XMWE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HHX4U6WL.js → chunk.SA2K7CG4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WOLYEHCJ.js → chunk.U3WRVVNJ.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.L5V5SVP4.js → chunk.WJXNYQWX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZQBRQ52P.js → chunk.WMHPSYVE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.W7775W5G.js → chunk.XBA3QQI7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SNB43P47.js → chunk.XCDTUUOI.js} +1 -1
- package/cdn-versioned/chunks/chunk.YD52KX67.js +1 -0
- package/cdn-versioned/chunks/{chunk.F65VOONA.js → chunk.YHCBYVD4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LB6APJYZ.js → chunk.YHWH6LXW.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VTZF6UEH.js → chunk.YKLGXE4P.js} +3 -3
- package/cdn-versioned/chunks/{chunk.AYIAV4JH.js → chunk.YL4VUIIS.js} +1 -1
- package/cdn-versioned/chunks/chunk.Z5S4F4Q4.js +11 -0
- package/cdn-versioned/chunks/{chunk.2GY6T6QS.js → chunk.Z6AWZVXM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ILP7DEPA.js → chunk.ZRPEHONR.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 -7
- 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 -7
- 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 +22 -22
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +22 -22
- 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.XMUDNUDW.js → chunk.2IOIJOEY.js} +1 -1
- package/dist/chunks/{chunk.ONBGPY5D.js → chunk.342YDQBD.js} +1 -1
- package/dist/chunks/{chunk.PLM7YZ2S.js → chunk.4UFJQHKS.js} +1 -1
- package/dist/chunks/{chunk.FEQ35E2X.js → chunk.55H4GBUB.js} +1 -1
- package/dist/chunks/chunk.5O6BWTAZ.js +65 -0
- package/dist/chunks/{chunk.3GR2B6T5.js → chunk.5V36G6NT.js} +2 -2
- package/dist/chunks/{chunk.AWASHA2T.js → chunk.64BWZ3LX.js} +1 -1
- package/dist/chunks/{chunk.ZTZN3GYY.js → chunk.64ZFR4OK.js} +2 -2
- package/dist/chunks/{chunk.HWQTXXSY.js → chunk.6LYLGSX3.js} +1 -1
- package/dist/chunks/{chunk.YCY2LBBX.js → chunk.6NJK6JPU.js} +1 -1
- package/dist/chunks/{chunk.KCUUHR5D.js → chunk.7TMWATHG.js} +1 -1
- package/dist/chunks/{chunk.WPHOQL7V.js → chunk.ACEQGXCU.js} +3 -2
- package/dist/chunks/{chunk.3QI4RAP5.js → chunk.BDDUJR5B.js} +1 -1
- package/dist/chunks/{chunk.KX2TPV2P.js → chunk.BWM7HK6T.js} +1 -1
- package/dist/chunks/{chunk.RDHXOO2U.js → chunk.DDHJSPNQ.js} +1 -1
- package/dist/chunks/{chunk.3W7IJBAR.js → chunk.DH7CSW7E.js} +1 -1
- package/dist/chunks/{chunk.BN7U3AV4.js → chunk.DPXI2Q7Y.js} +1 -1
- package/dist/chunks/{chunk.G37Y7IVD.js → chunk.E34LORFJ.js} +1 -1
- package/dist/chunks/{chunk.Z3FJM2FE.js → chunk.F4OMEZQP.js} +1 -1
- package/dist/chunks/{chunk.RHLH2P45.js → chunk.F6HAHWTA.js} +40 -40
- package/dist/chunks/{chunk.IAJPZG3C.js → chunk.GJ5ZL7G4.js} +3 -3
- package/dist/chunks/{chunk.V7WU4CMK.js → chunk.IM5JZDS3.js} +1 -1
- package/dist/chunks/{chunk.4KQX3YKY.js → chunk.ITN656DK.js} +1 -1
- package/dist/chunks/{chunk.7VNCOUWO.js → chunk.J6PAMLVK.js} +1 -1
- package/dist/chunks/{chunk.JE7PBXXX.js → chunk.JFU6G72P.js} +1 -1
- package/dist/chunks/{chunk.SEAUN4X5.js → chunk.LC3D4URT.js} +1 -1
- package/dist/chunks/{chunk.VFC3SCSY.js → chunk.M5FMORVS.js} +1 -1
- package/dist/chunks/{chunk.WQ4TYFW3.js → chunk.MQ6ICGPI.js} +1 -1
- package/dist/chunks/{chunk.JIG7HDOK.js → chunk.MVNSX2YV.js} +1 -1
- package/dist/chunks/{chunk.EON7Z22N.js → chunk.NEKLPVFO.js} +1 -2
- package/dist/chunks/{chunk.6S3CCHLZ.js → chunk.OJPRPWQ6.js} +1 -1
- package/dist/chunks/{chunk.QWZA3TLI.js → chunk.OL2UOEVU.js} +1 -1
- package/dist/chunks/{chunk.SH45GYZL.js → chunk.OXBXUGWH.js} +1 -1
- package/dist/chunks/{chunk.HJ3ZUH4A.js → chunk.R5NZJWEY.js} +1 -1
- package/dist/chunks/{chunk.NF4TXS55.js → chunk.R5XFXSJX.js} +1 -1
- package/dist/chunks/{chunk.KSYD4JIL.js → chunk.ROZOXNYF.js} +2 -2
- package/dist/chunks/{chunk.AVS4VJXO.js → chunk.RTCWEXYZ.js} +1 -1
- package/dist/chunks/{chunk.7JAL5UCT.js → chunk.S6S34HGU.js} +1 -1
- package/dist/chunks/{chunk.N42GCDAU.js → chunk.SFKTVZHK.js} +1 -1
- package/dist/chunks/{chunk.GAUAMVUZ.js → chunk.SMEOTY3O.js} +7 -17
- package/dist/chunks/{chunk.7DTJFAHS.js → chunk.TPJVN72V.js} +1 -1
- package/dist/chunks/{chunk.7RSKPK73.js → chunk.UC7VV6EF.js} +1 -1
- package/dist/chunks/{chunk.HKBYU6Q2.js → chunk.UQ4F6T5U.js} +1 -1
- package/dist/chunks/{chunk.IKWY7WM6.js → chunk.VVQFKQCA.js} +1 -1
- package/dist/chunks/{chunk.AXJB3BAZ.js → chunk.X76Z4RXF.js} +1 -1
- package/dist/chunks/{chunk.FRPVDR6Z.js → chunk.XIMBKTC4.js} +1 -1
- package/dist/chunks/{chunk.UOH2EPC3.js → chunk.Y2FOO3FA.js} +1 -1
- package/dist/chunks/{chunk.2SYIHQWC.js → chunk.YFQEXSPT.js} +1 -1
- package/dist/chunks/{chunk.4A22QCDA.js → chunk.YK6S6HZ4.js} +1 -1
- package/dist/chunks/{chunk.JD5XFZKL.js → chunk.ZCST44QS.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.d.ts +0 -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.d.ts +0 -3
- 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.XMUDNUDW.js → chunk.2IOIJOEY.js} +12 -12
- package/dist-versioned/chunks/{chunk.ONBGPY5D.js → chunk.342YDQBD.js} +6 -6
- package/dist-versioned/chunks/{chunk.PLM7YZ2S.js → chunk.4UFJQHKS.js} +3 -3
- package/dist-versioned/chunks/{chunk.FEQ35E2X.js → chunk.55H4GBUB.js} +3 -3
- package/dist-versioned/chunks/chunk.5O6BWTAZ.js +65 -0
- package/dist-versioned/chunks/{chunk.3GR2B6T5.js → chunk.5V36G6NT.js} +7 -7
- package/dist-versioned/chunks/{chunk.AWASHA2T.js → chunk.64BWZ3LX.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZTZN3GYY.js → chunk.64ZFR4OK.js} +8 -8
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.HWQTXXSY.js → chunk.6LYLGSX3.js} +6 -6
- package/dist-versioned/chunks/{chunk.YCY2LBBX.js → chunk.6NJK6JPU.js} +4 -4
- package/dist-versioned/chunks/{chunk.KCUUHR5D.js → chunk.7TMWATHG.js} +6 -6
- package/dist-versioned/chunks/{chunk.WPHOQL7V.js → chunk.ACEQGXCU.js} +4 -3
- package/dist-versioned/chunks/{chunk.3QI4RAP5.js → chunk.BDDUJR5B.js} +3 -3
- package/dist-versioned/chunks/{chunk.KX2TPV2P.js → chunk.BWM7HK6T.js} +4 -4
- package/dist-versioned/chunks/{chunk.RDHXOO2U.js → chunk.DDHJSPNQ.js} +14 -14
- package/dist-versioned/chunks/{chunk.3W7IJBAR.js → chunk.DH7CSW7E.js} +3 -3
- package/dist-versioned/chunks/{chunk.BN7U3AV4.js → chunk.DPXI2Q7Y.js} +3 -3
- package/dist-versioned/chunks/{chunk.G37Y7IVD.js → chunk.E34LORFJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.Z3FJM2FE.js → chunk.F4OMEZQP.js} +4 -4
- package/dist-versioned/chunks/{chunk.RHLH2P45.js → chunk.F6HAHWTA.js} +64 -64
- package/dist-versioned/chunks/{chunk.IAJPZG3C.js → chunk.GJ5ZL7G4.js} +16 -16
- package/dist-versioned/chunks/{chunk.V7WU4CMK.js → chunk.IM5JZDS3.js} +3 -3
- package/dist-versioned/chunks/{chunk.4KQX3YKY.js → chunk.ITN656DK.js} +2 -2
- package/dist-versioned/chunks/{chunk.7VNCOUWO.js → chunk.J6PAMLVK.js} +2 -2
- package/dist-versioned/chunks/{chunk.JE7PBXXX.js → chunk.JFU6G72P.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.SEAUN4X5.js → chunk.LC3D4URT.js} +3 -3
- package/dist-versioned/chunks/{chunk.VFC3SCSY.js → chunk.M5FMORVS.js} +3 -3
- package/dist-versioned/chunks/{chunk.WQ4TYFW3.js → chunk.MQ6ICGPI.js} +2 -2
- package/dist-versioned/chunks/{chunk.JIG7HDOK.js → chunk.MVNSX2YV.js} +3 -3
- package/dist-versioned/chunks/{chunk.EON7Z22N.js → chunk.NEKLPVFO.js} +5 -6
- package/dist-versioned/chunks/{chunk.6S3CCHLZ.js → chunk.OJPRPWQ6.js} +2 -2
- package/dist-versioned/chunks/{chunk.QWZA3TLI.js → chunk.OL2UOEVU.js} +3 -3
- package/dist-versioned/chunks/{chunk.SH45GYZL.js → chunk.OXBXUGWH.js} +2 -2
- package/dist-versioned/chunks/{chunk.HJ3ZUH4A.js → chunk.R5NZJWEY.js} +2 -2
- package/dist-versioned/chunks/{chunk.NF4TXS55.js → chunk.R5XFXSJX.js} +2 -2
- package/dist-versioned/chunks/{chunk.KSYD4JIL.js → chunk.ROZOXNYF.js} +5 -5
- package/dist-versioned/chunks/{chunk.AVS4VJXO.js → chunk.RTCWEXYZ.js} +3 -3
- package/dist-versioned/chunks/{chunk.7JAL5UCT.js → chunk.S6S34HGU.js} +2 -2
- package/dist-versioned/chunks/{chunk.N42GCDAU.js → chunk.SFKTVZHK.js} +10 -10
- package/dist-versioned/chunks/{chunk.GAUAMVUZ.js → chunk.SMEOTY3O.js} +33 -43
- package/dist-versioned/chunks/{chunk.7DTJFAHS.js → chunk.TPJVN72V.js} +3 -3
- package/dist-versioned/chunks/{chunk.7RSKPK73.js → chunk.UC7VV6EF.js} +7 -7
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.HKBYU6Q2.js → chunk.UQ4F6T5U.js} +2 -2
- package/dist-versioned/chunks/{chunk.IKWY7WM6.js → chunk.VVQFKQCA.js} +4 -4
- package/dist-versioned/chunks/{chunk.AXJB3BAZ.js → chunk.X76Z4RXF.js} +6 -6
- package/dist-versioned/chunks/{chunk.FRPVDR6Z.js → chunk.XIMBKTC4.js} +2 -2
- package/dist-versioned/chunks/{chunk.UOH2EPC3.js → chunk.Y2FOO3FA.js} +2 -2
- package/dist-versioned/chunks/{chunk.2SYIHQWC.js → chunk.YFQEXSPT.js} +6 -6
- package/dist-versioned/chunks/{chunk.4A22QCDA.js → chunk.YK6S6HZ4.js} +2 -2
- package/dist-versioned/chunks/{chunk.JD5XFZKL.js → chunk.ZCST44QS.js} +3 -3
- 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 -7
- 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 -7
- 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.5AE46ABJ.js +0 -11
- package/cdn/chunks/chunk.5AILWWY2.js +0 -73
- package/cdn/chunks/chunk.BJ5V345G.js +0 -11
- package/cdn/chunks/chunk.PDIUABFP.js +0 -1
- package/cdn-versioned/chunks/chunk.5AE46ABJ.js +0 -11
- package/cdn-versioned/chunks/chunk.5AILWWY2.js +0 -73
- package/cdn-versioned/chunks/chunk.BJ5V345G.js +0 -11
- package/cdn-versioned/chunks/chunk.PDIUABFP.js +0 -1
- package/dist/chunks/chunk.T5VRGBLR.js +0 -65
- package/dist-versioned/chunks/chunk.T5VRGBLR.js +0 -65
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.5O6BWTAZ.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-
|
|
33
|
-
customElements.whenDefined("sd-4-
|
|
32
|
+
customElements.whenDefined("sd-4-6-0-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-6-0-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-
|
|
74
|
+
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-6-0-tab" : el.tagName.toLowerCase() === "sd-4-6-0-tab" && !el.disabled;
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
getAllPanels() {
|
|
78
|
-
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-
|
|
78
|
+
return [...this.body.assignedElements()].filter((el) => el.tagName.toLowerCase() === "sd-4-6-0-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-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-
|
|
85
|
+
const tab = target.closest("sd-4-6-0-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-0-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-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-
|
|
96
|
+
const tab = target.closest("sd-4-6-0-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-6-0-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-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-6-0-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-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-6-0-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-0-icon></button>` : ""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${cx("flex flex-auto relative flex-row")}" role="tablist"><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-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-6-0-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-0-icon></button>` : ""}</div><slot part="body" class="${cx("block auto py-8 px-6", this.variant === "container" && "border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`;
|
|
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-
|
|
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-0-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-0-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-
|
|
247
|
+
customElement("sd-4-6-0-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.5O6BWTAZ.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -89,7 +89,7 @@ var SdStep = class extends SolidElement {
|
|
|
89
89
|
!this.disabled && !this.current && !this.notInteractive && "text-primary group-hover:text-primary-500 group-hover:fill-primary-500",
|
|
90
90
|
this.notInteractive && "text-primary",
|
|
91
91
|
this.size === "lg" ? "text-lg" : "text-sm"
|
|
92
|
-
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-
|
|
92
|
+
)}">${!this.disabled && !this.current && !this.notInteractive ? html`<sd-4-6-0-icon name="status-check" library="system"></sd-4-6-0-icon>` : html`${this.index}`}</slot></${tag}>${this.noTail ? "" : html`<div part="tail" class="${cx(
|
|
93
93
|
this.orientation === "horizontal" ? "border-t w-full my-auto mr-2" : "border-l flex-grow flex-shrink-0 basis-auto h-full w-[1px] mx-auto",
|
|
94
94
|
!this.disabled && !this.current && !this.notInteractive ? " border-primary group-hover:border-primary-500" : "border-neutral-400"
|
|
95
95
|
)}"></div>`}</div><div part="text-container" class="${cx("mt-4 break-words flex flex-col gap-2", this.orientation === "horizontal" ? "text-center w-40" : "w-max text-left", this.disabled && "!text-neutral-700", this.notInteractive ? "ml-3" : "mr-4")}"><div part="label" id="label" class="${cx("!font-bold sd-paragraph", this.disabled && "!text-neutral-700", !this.disabled && !this.current && !this.notInteractive ? "!text-primary group-hover:!text-primary-500 group-hover:cursor-pointer" : "text-black")}"><slot name="label">${this.label}</slot></div><div part="description" id="description" class="${cx("sd-paragraph sd-paragraph--size-sm", this.disabled && "!text-neutral-700")}">${this.description || html`<slot></slot>`}</div></div></div>`;
|
|
@@ -139,7 +139,7 @@ __decorateClass([
|
|
|
139
139
|
watch("notInteractive")
|
|
140
140
|
], SdStep.prototype, "handleInteractivityChange", 1);
|
|
141
141
|
SdStep = __decorateClass([
|
|
142
|
-
customElement("sd-4-
|
|
142
|
+
customElement("sd-4-6-0-step")
|
|
143
143
|
], SdStep);
|
|
144
144
|
|
|
145
145
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.5O6BWTAZ.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-
|
|
94
|
+
)}">${this.selected ? html`<sd-4-6-0-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-6-0-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-
|
|
138
|
+
customElement("sd-4-6-0-option")
|
|
139
139
|
], SdOption);
|
|
140
140
|
|
|
141
141
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.5O6BWTAZ.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-
|
|
74
|
+
"sd-4-6-0-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-
|
|
129
|
+
customElement("sd-4-6-0-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.5O6BWTAZ.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass,
|
|
22
22
|
__spreadValues
|
|
@@ -378,7 +378,7 @@ var SdInput = class extends SolidElement {
|
|
|
378
378
|
this.size === "sm" ? "h-6" : "h-8",
|
|
379
379
|
textSize,
|
|
380
380
|
this.visuallyDisabled && "cursor-not-allowed"
|
|
381
|
-
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-
|
|
381
|
+
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${ifDefined(this.type === "password" ? "off" : this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-0-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-6-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="flex items-center" type="button" @click="${this.handlePasswordToggle}" tabindex="-1">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-4-6-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-4-6-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-6-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-4-6-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-6-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-6-0-icon>` : ""} ${this.type === "time" ? html`<sd-4-6-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-6-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-4-6-0-icon class="${cx(iconColor, iconSize)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-4-6-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-6-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-6-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-6-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-6-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-4-6-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-6-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
/**
|
|
@@ -386,7 +386,7 @@ var SdInput = class extends SolidElement {
|
|
|
386
386
|
*/
|
|
387
387
|
SdInput.styles = [
|
|
388
388
|
...SolidElement.styles,
|
|
389
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-
|
|
389
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-6-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
390
390
|
];
|
|
391
391
|
__decorateClass([
|
|
392
392
|
query("#input")
|
|
@@ -516,7 +516,7 @@ __decorateClass([
|
|
|
516
516
|
watch("value", { waitUntilFirstUpdate: true })
|
|
517
517
|
], SdInput.prototype, "handleValueChange", 1);
|
|
518
518
|
SdInput = __decorateClass([
|
|
519
|
-
customElement("sd-4-
|
|
519
|
+
customElement("sd-4-6-0-input")
|
|
520
520
|
], SdInput);
|
|
521
521
|
|
|
522
522
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4UFJQHKS.js";
|
|
4
4
|
import {
|
|
5
5
|
SdPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.J6PAMLVK.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultValue
|
|
9
9
|
} from "./chunk.GI7VDIWX.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk.N4LHE3QK.js";
|
|
20
20
|
import {
|
|
21
21
|
SdIcon
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.OXBXUGWH.js";
|
|
23
23
|
import {
|
|
24
24
|
animateTo,
|
|
25
25
|
stopAnimations
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
SolidElement,
|
|
41
41
|
customElement
|
|
42
|
-
} from "./chunk.
|
|
42
|
+
} from "./chunk.5O6BWTAZ.js";
|
|
43
43
|
import {
|
|
44
44
|
__decorateClass
|
|
45
45
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -53,12 +53,11 @@ var SdSelect = class extends SolidElement {
|
|
|
53
53
|
constructor() {
|
|
54
54
|
super(...arguments);
|
|
55
55
|
this.formControlController = new FormControlController(this, {
|
|
56
|
-
assumeInteractionOn: ["sd-blur", "sd-4-
|
|
56
|
+
assumeInteractionOn: ["sd-blur", "sd-4-6-0-input"]
|
|
57
57
|
});
|
|
58
58
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
59
59
|
this.localize = new LocalizeController(this);
|
|
60
60
|
this.typeToSelectString = "";
|
|
61
|
-
this.hasHover = false;
|
|
62
61
|
this.displayLabel = "";
|
|
63
62
|
this.deletedTagLabel = "";
|
|
64
63
|
this.hasFocus = false;
|
|
@@ -87,11 +86,11 @@ var SdSelect = class extends SolidElement {
|
|
|
87
86
|
this.styleOnValid = false;
|
|
88
87
|
this.hoist = false;
|
|
89
88
|
this.getTag = (option) => {
|
|
90
|
-
return html`<sd-4-
|
|
89
|
+
return html`<sd-4-6-0-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
91
90
|
base:tag__base,
|
|
92
91
|
content:tag__content,
|
|
93
92
|
removable-indicator:tag__removable-indicator,
|
|
94
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-
|
|
93
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-6-0-tag>`;
|
|
95
94
|
};
|
|
96
95
|
this.handleDocumentFocusIn = (event) => {
|
|
97
96
|
const path = event.composedPath();
|
|
@@ -102,7 +101,7 @@ var SdSelect = class extends SolidElement {
|
|
|
102
101
|
this.handleDocumentKeyDown = (event) => {
|
|
103
102
|
const target = event.target;
|
|
104
103
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
105
|
-
const isIconButton = target.closest("sd-4-
|
|
104
|
+
const isIconButton = target.closest("sd-4-6-0-icon-button") !== null;
|
|
106
105
|
if (isClearButton || isIconButton) {
|
|
107
106
|
return;
|
|
108
107
|
}
|
|
@@ -110,7 +109,7 @@ var SdSelect = class extends SolidElement {
|
|
|
110
109
|
event.preventDefault();
|
|
111
110
|
event.stopPropagation();
|
|
112
111
|
this.hide();
|
|
113
|
-
this.
|
|
112
|
+
this.combobox.focus({ preventScroll: true });
|
|
114
113
|
}
|
|
115
114
|
if (event.key === "Enter" || event.key === " " && this.typeToSelectString === "") {
|
|
116
115
|
event.preventDefault();
|
|
@@ -131,7 +130,7 @@ var SdSelect = class extends SolidElement {
|
|
|
131
130
|
});
|
|
132
131
|
if (!this.multiple) {
|
|
133
132
|
this.hide();
|
|
134
|
-
this.
|
|
133
|
+
this.combobox.focus({ preventScroll: true });
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
return;
|
|
@@ -236,8 +235,8 @@ var SdSelect = class extends SolidElement {
|
|
|
236
235
|
event.preventDefault();
|
|
237
236
|
event.stopPropagation();
|
|
238
237
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
239
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-
|
|
240
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-
|
|
238
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-4-6-0-tag");
|
|
239
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-4-6-0-tag");
|
|
241
240
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
242
241
|
this.updateComplete.then(() => {
|
|
243
242
|
if (nextTag) {
|
|
@@ -257,7 +256,7 @@ var SdSelect = class extends SolidElement {
|
|
|
257
256
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
258
257
|
this.updateComplete.then(() => {
|
|
259
258
|
var _a;
|
|
260
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-
|
|
259
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-4-6-0-tag");
|
|
261
260
|
if (tags && tags.length > 0) {
|
|
262
261
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
263
262
|
} else {
|
|
@@ -267,7 +266,7 @@ var SdSelect = class extends SolidElement {
|
|
|
267
266
|
}
|
|
268
267
|
}
|
|
269
268
|
handleLabelClick() {
|
|
270
|
-
this.
|
|
269
|
+
this.combobox.focus();
|
|
271
270
|
}
|
|
272
271
|
handleComboboxMouseDown(event) {
|
|
273
272
|
const path = event.composedPath();
|
|
@@ -276,7 +275,7 @@ var SdSelect = class extends SolidElement {
|
|
|
276
275
|
return;
|
|
277
276
|
}
|
|
278
277
|
event.preventDefault();
|
|
279
|
-
this.
|
|
278
|
+
this.combobox.focus({ preventScroll: true });
|
|
280
279
|
this.open = !this.open;
|
|
281
280
|
}
|
|
282
281
|
handleComboboxKeyDown(event) {
|
|
@@ -289,7 +288,7 @@ var SdSelect = class extends SolidElement {
|
|
|
289
288
|
}
|
|
290
289
|
clearSelect() {
|
|
291
290
|
this.setSelectedOptions([]);
|
|
292
|
-
this.
|
|
291
|
+
this.combobox.focus({ preventScroll: true });
|
|
293
292
|
this.updateComplete.then(() => {
|
|
294
293
|
this.emit("sd-clear");
|
|
295
294
|
this.emit("sd-input");
|
|
@@ -302,7 +301,7 @@ var SdSelect = class extends SolidElement {
|
|
|
302
301
|
}
|
|
303
302
|
handleOptionClick(event) {
|
|
304
303
|
const target = event.target;
|
|
305
|
-
const option = target.closest("sd-4-
|
|
304
|
+
const option = target.closest("sd-4-6-0-option");
|
|
306
305
|
const oldValue = this.value;
|
|
307
306
|
if (option && !option.disabled) {
|
|
308
307
|
if (this.multiple) {
|
|
@@ -310,7 +309,7 @@ var SdSelect = class extends SolidElement {
|
|
|
310
309
|
} else {
|
|
311
310
|
this.setSelectedOptions(option);
|
|
312
311
|
}
|
|
313
|
-
this.updateComplete.then(() => this.
|
|
312
|
+
this.updateComplete.then(() => this.combobox.focus({ preventScroll: true }));
|
|
314
313
|
if (this.value !== oldValue) {
|
|
315
314
|
this.updateComplete.then(() => {
|
|
316
315
|
this.emit("sd-input");
|
|
@@ -319,7 +318,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
318
|
}
|
|
320
319
|
if (!this.multiple) {
|
|
321
320
|
this.hide();
|
|
322
|
-
this.
|
|
321
|
+
this.combobox.focus({ preventScroll: true });
|
|
323
322
|
}
|
|
324
323
|
}
|
|
325
324
|
}
|
|
@@ -327,7 +326,7 @@ var SdSelect = class extends SolidElement {
|
|
|
327
326
|
const allOptions = this.getAllOptions();
|
|
328
327
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
329
328
|
const values = [];
|
|
330
|
-
if (customElements.get("sd-4-
|
|
329
|
+
if (customElements.get("sd-4-6-0-option")) {
|
|
331
330
|
allOptions.forEach((option) => {
|
|
332
331
|
if (this.multiple) {
|
|
333
332
|
option.checkbox = true;
|
|
@@ -336,7 +335,7 @@ var SdSelect = class extends SolidElement {
|
|
|
336
335
|
});
|
|
337
336
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
338
337
|
} else {
|
|
339
|
-
customElements.whenDefined("sd-4-
|
|
338
|
+
customElements.whenDefined("sd-4-6-0-option").then(() => this.handleDefaultSlotChange());
|
|
340
339
|
}
|
|
341
340
|
}
|
|
342
341
|
handleTagRemove(event, option) {
|
|
@@ -353,13 +352,13 @@ var SdSelect = class extends SolidElement {
|
|
|
353
352
|
});
|
|
354
353
|
}
|
|
355
354
|
}
|
|
356
|
-
// Gets an array of all <sd-4-
|
|
355
|
+
// Gets an array of all <sd-4-6-0-option> elements
|
|
357
356
|
getAllOptions() {
|
|
358
|
-
return [...this.querySelectorAll("sd-4-
|
|
357
|
+
return [...this.querySelectorAll("sd-4-6-0-option")];
|
|
359
358
|
}
|
|
360
|
-
// Gets the first <sd-4-
|
|
359
|
+
// Gets the first <sd-4-6-0-option> element
|
|
361
360
|
getFirstOption() {
|
|
362
|
-
return this.querySelector("sd-4-
|
|
361
|
+
return this.querySelector("sd-4-6-0-option");
|
|
363
362
|
}
|
|
364
363
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
365
364
|
// option may be "current" at a time.
|
|
@@ -442,11 +441,11 @@ var SdSelect = class extends SolidElement {
|
|
|
442
441
|
});
|
|
443
442
|
} else {
|
|
444
443
|
return [
|
|
445
|
-
html`<sd-4-
|
|
444
|
+
html`<sd-4-6-0-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
446
445
|
base:tag__base,
|
|
447
446
|
content:tag__content,
|
|
448
447
|
removable-indicator:tag__removable-indicator,
|
|
449
|
-
" 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-
|
|
448
|
+
" 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-6-0-tag>`
|
|
450
449
|
];
|
|
451
450
|
}
|
|
452
451
|
}
|
|
@@ -455,13 +454,7 @@ var SdSelect = class extends SolidElement {
|
|
|
455
454
|
this.formControlController.emitInvalidEvent(event);
|
|
456
455
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
457
456
|
}
|
|
458
|
-
|
|
459
|
-
this.hasHover = true;
|
|
460
|
-
}
|
|
461
|
-
handleMouseLeave() {
|
|
462
|
-
this.hasHover = false;
|
|
463
|
-
}
|
|
464
|
-
/** Receives incoming event detail from sd-4-5-2-popup and updates local state for conditional styling. */
|
|
457
|
+
/** Receives incoming event detail from sd-4-6-0-popup and updates local state for conditional styling. */
|
|
465
458
|
handleCurrentPlacement(e) {
|
|
466
459
|
const incomingPlacement = e.detail;
|
|
467
460
|
if (incomingPlacement) {
|
|
@@ -470,7 +463,7 @@ var SdSelect = class extends SolidElement {
|
|
|
470
463
|
}
|
|
471
464
|
handleUseTagsChange() {
|
|
472
465
|
const allOptions = this.getAllOptions();
|
|
473
|
-
if (customElements.get("sd-4-
|
|
466
|
+
if (customElements.get("sd-4-6-0-option")) {
|
|
474
467
|
allOptions.forEach((option) => {
|
|
475
468
|
option.checkbox = this.multiple;
|
|
476
469
|
});
|
|
@@ -560,11 +553,11 @@ var SdSelect = class extends SolidElement {
|
|
|
560
553
|
}
|
|
561
554
|
/** Sets focus on the control. */
|
|
562
555
|
focus(options) {
|
|
563
|
-
this.
|
|
556
|
+
this.combobox.focus(options);
|
|
564
557
|
}
|
|
565
558
|
/** Removes focus from the control. */
|
|
566
559
|
blur() {
|
|
567
|
-
this.
|
|
560
|
+
this.combobox.blur();
|
|
568
561
|
}
|
|
569
562
|
render() {
|
|
570
563
|
const slots = {
|
|
@@ -593,8 +586,7 @@ var SdSelect = class extends SolidElement {
|
|
|
593
586
|
this.size === "sm" ? "text-sm" : "text-base",
|
|
594
587
|
this.open && "z-50"
|
|
595
588
|
)}"><span class="sr-only" role="alert" aria-live="assertive">${this.deletedTagLabel}</span> ${hasLabel || hasTooltip ? html`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${hasLabel && "inline-block"}" aria-hidden="${hasLabel ? "false" : "true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${slots["tooltip"] ? html`<slot name="tooltip"></slot>` : ""}</div>` : null}<div part="form-control-input" class="${cx("relative w-full bg-white", selectState === "disabled" ? "text-neutral-500" : "text-black")}"><div part="border" class="${cx(
|
|
596
|
-
"absolute top-0 w-full h-full pointer-events-none border rounded-default",
|
|
597
|
-
this.hasHover && !this.disabled && !this.visuallyDisabled && "bg-neutral-200",
|
|
589
|
+
"absolute top-0 w-full h-full pointer-events-none border rounded-default z-10",
|
|
598
590
|
{
|
|
599
591
|
disabled: "border-neutral-500",
|
|
600
592
|
visuallyDisabled: "border-neutral-500",
|
|
@@ -607,56 +599,67 @@ var SdSelect = class extends SolidElement {
|
|
|
607
599
|
default: "border-neutral-800"
|
|
608
600
|
}[selectState],
|
|
609
601
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
610
|
-
)}"></div><sd-4-
|
|
602
|
+
)}"></div><sd-4-6-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
611
603
|
"inline-flex relative w-full",
|
|
612
604
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
613
605
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
614
606
|
popup:popup__content,
|
|
615
|
-
"><div
|
|
616
|
-
"relative w-full
|
|
617
|
-
this.
|
|
607
|
+
"><div class="${cx(
|
|
608
|
+
"relative w-full h-full grid grid-cols-1",
|
|
609
|
+
this.visuallyDisabled || this.disabled ? "hover:bg-transparent" : "hover:bg-neutral-200"
|
|
610
|
+
)}" slot="anchor"><div class="${cx(
|
|
611
|
+
"input-container flex items-center w-full h-full px-4",
|
|
618
612
|
{
|
|
619
|
-
sm: "py-1
|
|
620
|
-
md: "py-1
|
|
621
|
-
lg: "py-2
|
|
613
|
+
sm: "py-1",
|
|
614
|
+
md: "py-1",
|
|
615
|
+
lg: "py-2"
|
|
622
616
|
}[this.size]
|
|
623
|
-
)}"
|
|
624
|
-
"appearance-none outline-none flex-grow bg-transparent w-full placeholder-neutral-700",
|
|
617
|
+
)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${cx(
|
|
618
|
+
"top-0 left-0 appearance-none outline-none flex-grow bg-transparent w-full placeholder-neutral-700",
|
|
625
619
|
cursorStyles,
|
|
626
620
|
this.multiple && this.useTags && this.value.length > 0 ? "hidden" : ""
|
|
627
|
-
)}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder || this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="
|
|
621
|
+
)}" type="text" .disabled="${this.disabled}" placeholder="${this.placeholder || this.localize.term("selectDefaultPlaceholder")}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple && this.useTags ? html`<div part="tags" class="flex-grow flex flex-wrap items-center gap-1">${this.tags}</div>` : ""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
|
628
622
|
"select__clear flex justify-center",
|
|
629
623
|
iconMarginLeft,
|
|
630
624
|
this.value.length > 0 ? "visible" : "invisible"
|
|
631
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-
|
|
632
|
-
"inline-flex ml-2 transition-all",
|
|
625
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-6-0-icon class="${cx("text-icon-fill-neutral-800 z-10", iconSize)}" library="system" name="closing-round"></sd-4-6-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-6-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-6-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-6-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-6-0-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
626
|
+
"inline-flex ml-2 transition-all items-center",
|
|
633
627
|
this.open ? "rotate-180" : "rotate-0",
|
|
634
628
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
635
629
|
iconSize
|
|
636
|
-
)}"><sd-4-
|
|
630
|
+
)}"><sd-4-6-0-icon name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-6-0-icon></slot></div><button part="combobox" class="${cx(
|
|
631
|
+
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
632
|
+
cursorStyles,
|
|
633
|
+
this.open && "shadow",
|
|
634
|
+
{
|
|
635
|
+
sm: "min-h-[32px]",
|
|
636
|
+
md: "min-h-[40px]",
|
|
637
|
+
lg: "min-h-[48px]"
|
|
638
|
+
}[this.size]
|
|
639
|
+
)}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open ? "true" : "false"}" aria-multiselectable="${this.multiple ? "true" : "false"}" aria-labelledby="label" part="listbox" class="${cx(
|
|
637
640
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
638
641
|
this.open && "shadow",
|
|
639
642
|
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"
|
|
640
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-
|
|
643
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-4-6-0-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
641
644
|
}
|
|
642
645
|
};
|
|
643
646
|
SdSelect.dependencies = {
|
|
644
|
-
"sd-4-
|
|
645
|
-
"sd-4-
|
|
646
|
-
"sd-4-
|
|
647
|
+
"sd-4-6-0-icon": SdIcon,
|
|
648
|
+
"sd-4-6-0-popup": SdPopup,
|
|
649
|
+
"sd-4-6-0-tag": SdTag
|
|
647
650
|
};
|
|
648
651
|
/**
|
|
649
652
|
* Inherits global stylesheet including TailwindCSS
|
|
650
653
|
*/
|
|
651
654
|
SdSelect.styles = [
|
|
652
655
|
...SolidElement.styles,
|
|
653
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-
|
|
656
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-4-6-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-6-0-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-6-0-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-6-0-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-6-0-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))}`
|
|
654
657
|
];
|
|
655
658
|
__decorateClass([
|
|
656
|
-
queryAssignedElements({ selector: "sd-4-
|
|
659
|
+
queryAssignedElements({ selector: "sd-4-6-0-option" })
|
|
657
660
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
658
661
|
__decorateClass([
|
|
659
|
-
query("sd-4-
|
|
662
|
+
query("sd-4-6-0-popup")
|
|
660
663
|
], SdSelect.prototype, "popup", 2);
|
|
661
664
|
__decorateClass([
|
|
662
665
|
query('[part="combobox"]')
|
|
@@ -673,9 +676,6 @@ __decorateClass([
|
|
|
673
676
|
__decorateClass([
|
|
674
677
|
query("#invalid-message")
|
|
675
678
|
], SdSelect.prototype, "invalidMessage", 2);
|
|
676
|
-
__decorateClass([
|
|
677
|
-
state()
|
|
678
|
-
], SdSelect.prototype, "hasHover", 2);
|
|
679
679
|
__decorateClass([
|
|
680
680
|
state()
|
|
681
681
|
], SdSelect.prototype, "displayLabel", 2);
|
|
@@ -784,7 +784,7 @@ __decorateClass([
|
|
|
784
784
|
watch("value", { waitUntilFirstUpdate: true })
|
|
785
785
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
786
786
|
SdSelect = __decorateClass([
|
|
787
|
-
customElement("sd-4-
|
|
787
|
+
customElement("sd-4-6-0-select")
|
|
788
788
|
], SdSelect);
|
|
789
789
|
setDefaultAnimation("select.show", {
|
|
790
790
|
keyframes: [
|