@solid-design-system/components 4.0.10 → 4.1.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.EDD4HHHP.js → chunk.2F2YU5TY.js} +1 -1
- package/cdn/chunks/{chunk.NWGX5EVO.js → chunk.2POHB7E4.js} +1 -1
- package/cdn/chunks/{chunk.BAO3UVTY.js → chunk.3EINSGT6.js} +1 -1
- package/cdn/chunks/{chunk.GX6NOXTL.js → chunk.6DTJTQ5Z.js} +1 -1
- package/cdn/chunks/{chunk.4QUXWXQ7.js → chunk.6VYBRKPB.js} +1 -1
- package/cdn/chunks/{chunk.ZWWTEE7R.js → chunk.6XHUCAAC.js} +1 -1
- package/cdn/chunks/{chunk.DEX5DZMJ.js → chunk.7KT5V5SZ.js} +1 -1
- package/cdn/chunks/{chunk.ANH5V2SE.js → chunk.AWKHYUIP.js} +1 -1
- package/cdn/chunks/{chunk.DUM4IQT6.js → chunk.BMK7S33Z.js} +1 -1
- package/cdn/chunks/{chunk.B3H3PR6Y.js → chunk.BU5EDIFK.js} +1 -1
- package/cdn/chunks/chunk.C7OWRPK7.js +4 -0
- package/cdn/chunks/{chunk.LPXG67S4.js → chunk.DOH6WUNR.js} +1 -1
- package/cdn/chunks/{chunk.AS7L23H2.js → chunk.DW5QL76L.js} +1 -1
- package/cdn/chunks/{chunk.Y67MAFTR.js → chunk.G7CN4YKD.js} +1 -1
- package/cdn/chunks/{chunk.QV7OIYLT.js → chunk.GQIUJUD4.js} +1 -1
- package/cdn/chunks/{chunk.D4RLVVDK.js → chunk.HKKRMPWF.js} +1 -1
- package/cdn/chunks/{chunk.3H546YPQ.js → chunk.HOPUF2NO.js} +1 -1
- package/cdn/chunks/{chunk.WVYVGVBF.js → chunk.HQYSQRUN.js} +1 -1
- package/cdn/chunks/{chunk.PPMFZ77L.js → chunk.HRNG2LIX.js} +1 -1
- package/cdn/chunks/{chunk.JUGW2WJP.js → chunk.HUSKVVWH.js} +1 -1
- package/cdn/chunks/{chunk.27EYM5XP.js → chunk.K4WR4LYF.js} +1 -1
- package/cdn/chunks/{chunk.25ETUACJ.js → chunk.LRINU3JN.js} +1 -1
- package/cdn/chunks/{chunk.OCT5SOOS.js → chunk.MBU5RGYE.js} +1 -1
- package/cdn/chunks/{chunk.GBU4IOUX.js → chunk.NQZZHVDV.js} +1 -1
- package/cdn/chunks/{chunk.EP7OA5FU.js → chunk.NVTRGUUN.js} +1 -1
- package/cdn/chunks/{chunk.V3VO4PD4.js → chunk.OPMM2RN5.js} +1 -1
- package/cdn/chunks/{chunk.N5OYRZY6.js → chunk.OY3MT73P.js} +1 -1
- package/cdn/chunks/{chunk.V3WIIJLB.js → chunk.PHRAQBQ7.js} +1 -1
- package/cdn/chunks/{chunk.IR3YQSPY.js → chunk.PMI5K2Z2.js} +1 -1
- package/cdn/chunks/chunk.PYHYYOBE.js +29 -0
- package/cdn/chunks/{chunk.4EXZ2RBI.js → chunk.QJVFSDOZ.js} +1 -1
- package/cdn/chunks/{chunk.SRRF6RC4.js → chunk.SIC7OWQL.js} +1 -1
- package/cdn/chunks/{chunk.LQZOBUFT.js → chunk.SNCCOKIM.js} +1 -1
- package/cdn/chunks/chunk.SNS2IHBI.js +1 -0
- package/cdn/chunks/{chunk.F4GGY7NW.js → chunk.SXH5LQRL.js} +1 -1
- package/cdn/chunks/{chunk.B5YKUN6P.js → chunk.TET3RDMC.js} +1 -1
- package/cdn/chunks/{chunk.WNV6OGRG.js → chunk.UBO6O4CS.js} +1 -1
- package/cdn/chunks/{chunk.GNYJN5QM.js → chunk.V7YY3FWK.js} +1 -1
- package/cdn/chunks/{chunk.A772RQJV.js → chunk.VOX6F6LP.js} +1 -1
- package/cdn/chunks/{chunk.5CIQRJCC.js → chunk.WMCAUVW6.js} +1 -1
- package/cdn/chunks/{chunk.U5SOEJO4.js → chunk.XV2WIQSV.js} +1 -1
- package/cdn/chunks/{chunk.TR52VDPR.js → chunk.YFWVU3XM.js} +1 -1
- package/cdn/chunks/{chunk.7ZYFSBMR.js → chunk.YN6CIEPP.js} +1 -1
- package/cdn/chunks/{chunk.QOQO2KP5.js → chunk.YUUAUQGB.js} +1 -1
- package/cdn/chunks/{chunk.2H5XA4I4.js → chunk.ZYWB4GHH.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/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/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.status.d.ts +12 -0
- package/cdn/components/icon/library.status.js +1 -0
- 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.d.ts +3 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +41 -1
- package/cdn/solid-components.bundle.js +42 -14
- package/cdn/solid-components.iife.js +43 -15
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +96 -96
- package/cdn/web-types.json +231 -231
- 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.2F2YU5TY.js +1 -0
- package/cdn-versioned/chunks/chunk.2POHB7E4.js +1 -0
- package/cdn-versioned/chunks/{chunk.BAO3UVTY.js → chunk.3EINSGT6.js} +1 -1
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.GX6NOXTL.js → chunk.6DTJTQ5Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4QUXWXQ7.js → chunk.6VYBRKPB.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZWWTEE7R.js → chunk.6XHUCAAC.js} +1 -1
- package/cdn-versioned/chunks/chunk.7KT5V5SZ.js +11 -0
- package/cdn-versioned/chunks/chunk.AWKHYUIP.js +19 -0
- package/cdn-versioned/chunks/{chunk.DUM4IQT6.js → chunk.BMK7S33Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.B3H3PR6Y.js → chunk.BU5EDIFK.js} +1 -1
- package/cdn-versioned/chunks/chunk.C7OWRPK7.js +4 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/chunk.DOH6WUNR.js +1 -0
- package/cdn-versioned/chunks/{chunk.AS7L23H2.js → chunk.DW5QL76L.js} +2 -2
- package/cdn-versioned/chunks/chunk.EJKLI2Q4.js +1 -1
- package/cdn-versioned/chunks/chunk.G7CN4YKD.js +1 -0
- package/cdn-versioned/chunks/{chunk.QV7OIYLT.js → chunk.GQIUJUD4.js} +1 -1
- package/cdn-versioned/chunks/chunk.GQU4LYQ6.js +1 -1
- package/cdn-versioned/chunks/{chunk.D4RLVVDK.js → chunk.HKKRMPWF.js} +1 -1
- package/cdn-versioned/chunks/chunk.HOPUF2NO.js +1 -0
- package/cdn-versioned/chunks/{chunk.WVYVGVBF.js → chunk.HQYSQRUN.js} +1 -1
- package/cdn-versioned/chunks/chunk.HRNG2LIX.js +1 -0
- package/cdn-versioned/chunks/chunk.HUSKVVWH.js +1 -0
- package/cdn-versioned/chunks/chunk.K4WR4LYF.js +11 -0
- package/cdn-versioned/chunks/{chunk.25ETUACJ.js → chunk.LRINU3JN.js} +1 -1
- package/cdn-versioned/chunks/chunk.MBU5RGYE.js +1 -0
- package/cdn-versioned/chunks/{chunk.GBU4IOUX.js → chunk.NQZZHVDV.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EP7OA5FU.js → chunk.NVTRGUUN.js} +1 -1
- package/cdn-versioned/chunks/chunk.OPMM2RN5.js +1 -0
- package/cdn-versioned/chunks/{chunk.N5OYRZY6.js → chunk.OY3MT73P.js} +2 -2
- package/cdn-versioned/chunks/chunk.PHRAQBQ7.js +1 -0
- package/cdn-versioned/chunks/{chunk.IR3YQSPY.js → chunk.PMI5K2Z2.js} +1 -1
- package/cdn-versioned/chunks/chunk.PYHYYOBE.js +29 -0
- package/cdn-versioned/chunks/{chunk.4EXZ2RBI.js → chunk.QJVFSDOZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.QWPCVRMH.js +1 -1
- package/cdn-versioned/chunks/{chunk.SRRF6RC4.js → chunk.SIC7OWQL.js} +1 -1
- package/cdn-versioned/chunks/chunk.SJ2JO4KS.js +1 -1
- package/cdn-versioned/chunks/{chunk.LQZOBUFT.js → chunk.SNCCOKIM.js} +1 -1
- package/cdn-versioned/chunks/chunk.SNS2IHBI.js +1 -0
- package/cdn-versioned/chunks/chunk.SWUGEKNC.js +1 -1
- package/cdn-versioned/chunks/chunk.SXH5LQRL.js +1 -0
- package/cdn-versioned/chunks/{chunk.B5YKUN6P.js → chunk.TET3RDMC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WNV6OGRG.js → chunk.UBO6O4CS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GNYJN5QM.js → chunk.V7YY3FWK.js} +4 -4
- package/cdn-versioned/chunks/chunk.VOX6F6LP.js +1 -0
- package/cdn-versioned/chunks/chunk.VYV6SKST.js +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WADGCWRK.js +1 -1
- package/cdn-versioned/chunks/chunk.WMCAUVW6.js +1 -0
- package/cdn-versioned/chunks/chunk.XV2WIQSV.js +1 -0
- package/cdn-versioned/chunks/{chunk.TR52VDPR.js → chunk.YFWVU3XM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7ZYFSBMR.js → chunk.YN6CIEPP.js} +1 -1
- package/cdn-versioned/chunks/chunk.YUUAUQGB.js +1 -0
- package/cdn-versioned/chunks/{chunk.2H5XA4I4.js → chunk.ZYWB4GHH.js} +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/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/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +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/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.status.d.ts +12 -0
- package/cdn-versioned/components/icon/library.status.js +1 -0
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/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 +4 -2
- 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 +242 -202
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +47 -19
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +48 -20
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +173 -173
- package/cdn-versioned/web-types.json +364 -364
- package/dist/chunks/chunk.4TPOL3LB.js +54 -0
- package/dist/chunks/{chunk.K3JCC7KV.js → chunk.5PTDC66T.js} +15 -9
- package/dist/chunks/{chunk.JCK5DTZN.js → chunk.7WEXXSFH.js} +4 -1
- package/dist/chunks/{chunk.USMGTQQG.js → chunk.BTJACUD5.js} +1 -1
- package/dist/chunks/{chunk.X2PI2F35.js → chunk.UZKLVMCI.js} +4 -4
- package/dist/chunks/{chunk.4MHQ63NW.js → chunk.XOL74PNU.js} +1 -1
- package/dist/components/accordion/accordion.js +4 -3
- package/dist/components/accordion-group/accordion-group.js +4 -3
- package/dist/components/audio/audio.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/carousel/carousel.js +4 -3
- package/dist/components/checkbox/checkbox.js +3 -2
- package/dist/components/checkbox-group/checkbox-group.js +3 -2
- package/dist/components/combobox/combobox.js +5 -4
- package/dist/components/dialog/dialog.js +4 -3
- package/dist/components/drawer/drawer.js +4 -3
- package/dist/components/dropdown/dropdown.js +1 -1
- package/dist/components/expandable/expandable.js +1 -1
- package/dist/components/flipcard/flipcard.js +4 -3
- package/dist/components/icon/icon.js +3 -2
- package/dist/components/icon/library.js +2 -1
- package/dist/components/icon/library.status.d.ts +12 -0
- package/dist/components/icon/library.status.js +9 -0
- package/dist/components/input/input.js +4 -3
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/option/option.js +3 -2
- package/dist/components/quickfact/quickfact.js +4 -3
- package/dist/components/radio/radio.js +3 -2
- package/dist/components/radio-group/radio-group.js +3 -2
- package/dist/components/scrollable/scrollable.js +1 -1
- package/dist/components/select/select.js +5 -4
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/tab-group/tab-group.js +1 -1
- package/dist/components/tooltip/tooltip.d.ts +3 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +41 -1
- package/dist/solid-components.js +17 -16
- package/dist/utilities/icon-library.js +2 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +96 -96
- package/dist/web-types.json +231 -231
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/chunk.274HT4QS.js +3 -3
- package/dist-versioned/chunks/chunk.2FXKQI26.js +2 -2
- package/dist-versioned/chunks/chunk.4Q7KKH5Z.js +2 -2
- package/dist-versioned/chunks/chunk.4SBQOWLU.js +5 -5
- package/dist-versioned/chunks/chunk.4TPOL3LB.js +54 -0
- package/dist-versioned/chunks/chunk.5FOKRIWL.js +3 -3
- package/dist-versioned/chunks/{chunk.K3JCC7KV.js → chunk.5PTDC66T.js} +19 -13
- package/dist-versioned/chunks/chunk.674S2Z6M.js +1 -1
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.7E7C4YEQ.js +3 -3
- package/dist-versioned/chunks/{chunk.JCK5DTZN.js → chunk.7WEXXSFH.js} +4 -1
- package/dist-versioned/chunks/chunk.A5S7GZJI.js +3 -3
- package/dist-versioned/chunks/chunk.A625ONY2.js +2 -2
- package/dist-versioned/chunks/chunk.ACST636J.js +1 -1
- package/dist-versioned/chunks/chunk.AJ7V76EG.js +1 -1
- package/dist-versioned/chunks/chunk.AKF4KQEW.js +2 -2
- package/dist-versioned/chunks/chunk.AQZSZKBJ.js +13 -13
- package/dist-versioned/chunks/{chunk.USMGTQQG.js → chunk.BTJACUD5.js} +30 -30
- package/dist-versioned/chunks/chunk.CCQCEONR.js +2 -2
- package/dist-versioned/chunks/chunk.D26WCHLT.js +6 -6
- package/dist-versioned/chunks/chunk.D3I3AZEX.js +13 -13
- package/dist-versioned/chunks/chunk.DPY2TYIS.js +9 -9
- package/dist-versioned/chunks/chunk.DU3O42BH.js +2 -2
- package/dist-versioned/chunks/chunk.EH2FHVPN.js +3 -3
- package/dist-versioned/chunks/chunk.F63YFNZS.js +5 -5
- package/dist-versioned/chunks/chunk.FFKZQXJ2.js +2 -2
- package/dist-versioned/chunks/chunk.FTXUZOXH.js +2 -2
- package/dist-versioned/chunks/chunk.H5ARRBLT.js +2 -2
- package/dist-versioned/chunks/chunk.H5BDO4H5.js +11 -11
- package/dist-versioned/chunks/chunk.HFHUY7YD.js +1 -1
- package/dist-versioned/chunks/chunk.I5ZJV32M.js +1 -1
- package/dist-versioned/chunks/chunk.IN7RNHBF.js +1 -1
- package/dist-versioned/chunks/chunk.JIWTAZZS.js +5 -5
- package/dist-versioned/chunks/chunk.JZB2D4IZ.js +1 -1
- package/dist-versioned/chunks/chunk.KH4M6HPE.js +2 -2
- package/dist-versioned/chunks/chunk.KPA6BEFU.js +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/chunk.LZA2QYUU.js +1 -1
- package/dist-versioned/chunks/chunk.NUIZDE7R.js +1 -1
- package/dist-versioned/chunks/chunk.OBWOMZNU.js +2 -2
- package/dist-versioned/chunks/chunk.OMBVLHXJ.js +1 -1
- package/dist-versioned/chunks/chunk.OR7JTZLE.js +2 -2
- package/dist-versioned/chunks/chunk.OZU372TI.js +2 -2
- package/dist-versioned/chunks/chunk.PRXP5CUW.js +5 -5
- package/dist-versioned/chunks/chunk.PT7MDSWH.js +1 -1
- package/dist-versioned/chunks/chunk.QTFIZJGB.js +2 -2
- package/dist-versioned/chunks/chunk.QUYKT56M.js +1 -1
- package/dist-versioned/chunks/chunk.RSPK767T.js +2 -2
- package/dist-versioned/chunks/chunk.SNCHAQYL.js +4 -4
- package/dist-versioned/chunks/chunk.TGJ2SBPH.js +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.X2PI2F35.js → chunk.UZKLVMCI.js} +5 -5
- package/dist-versioned/chunks/chunk.VTUCPGYW.js +1 -1
- package/dist-versioned/chunks/chunk.XL2PSGM5.js +2 -2
- package/dist-versioned/chunks/{chunk.4MHQ63NW.js → chunk.XOL74PNU.js} +27 -27
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +4 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -3
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +1 -1
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -3
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -2
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -2
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +5 -4
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +4 -3
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +4 -3
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +1 -1
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +4 -3
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +3 -2
- package/dist-versioned/components/icon/library.js +2 -1
- package/dist-versioned/components/icon/library.status.d.ts +12 -0
- package/dist-versioned/components/icon/library.status.js +9 -0
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +4 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +1 -1
- package/dist-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -2
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -3
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +3 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +3 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +5 -4
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +4 -2
- package/dist-versioned/components/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +242 -202
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +17 -16
- package/dist-versioned/utilities/icon-library.js +2 -1
- package/dist-versioned/utilities/localize.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +173 -173
- package/dist-versioned/web-types.json +364 -364
- package/package.json +3 -3
- package/cdn/chunks/chunk.5YRTJVAZ.js +0 -1
- package/cdn/chunks/chunk.MOQCXANY.js +0 -4
- package/cdn-versioned/chunks/chunk.27EYM5XP.js +0 -11
- package/cdn-versioned/chunks/chunk.3H546YPQ.js +0 -1
- package/cdn-versioned/chunks/chunk.5CIQRJCC.js +0 -1
- package/cdn-versioned/chunks/chunk.5YRTJVAZ.js +0 -1
- package/cdn-versioned/chunks/chunk.A772RQJV.js +0 -1
- package/cdn-versioned/chunks/chunk.ANH5V2SE.js +0 -19
- package/cdn-versioned/chunks/chunk.DEX5DZMJ.js +0 -11
- package/cdn-versioned/chunks/chunk.EDD4HHHP.js +0 -1
- package/cdn-versioned/chunks/chunk.F4GGY7NW.js +0 -1
- package/cdn-versioned/chunks/chunk.JUGW2WJP.js +0 -1
- package/cdn-versioned/chunks/chunk.LPXG67S4.js +0 -1
- package/cdn-versioned/chunks/chunk.MOQCXANY.js +0 -4
- package/cdn-versioned/chunks/chunk.NWGX5EVO.js +0 -1
- package/cdn-versioned/chunks/chunk.OCT5SOOS.js +0 -1
- package/cdn-versioned/chunks/chunk.PPMFZ77L.js +0 -1
- package/cdn-versioned/chunks/chunk.QOQO2KP5.js +0 -1
- package/cdn-versioned/chunks/chunk.U5SOEJO4.js +0 -1
- package/cdn-versioned/chunks/chunk.V3VO4PD4.js +0 -1
- package/cdn-versioned/chunks/chunk.V3WIIJLB.js +0 -1
- package/cdn-versioned/chunks/chunk.Y67MAFTR.js +0 -1
- /package/cdn/chunks/{chunk.DCOFYPWX.js → chunk.TWQVHGYD.js} +0 -0
- /package/cdn-versioned/chunks/{chunk.DCOFYPWX.js → chunk.TWQVHGYD.js} +0 -0
|
@@ -25,7 +25,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
25
25
|
this.label = "";
|
|
26
26
|
}
|
|
27
27
|
getAllCheckboxes() {
|
|
28
|
-
return [...this.querySelectorAll("sd-4-
|
|
28
|
+
return [...this.querySelectorAll("sd-4-1-1-checkbox")];
|
|
29
29
|
}
|
|
30
30
|
async syncCheckboxElements() {
|
|
31
31
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -38,10 +38,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
40
|
syncCheckboxes() {
|
|
41
|
-
if (customElements.get("sd-4-
|
|
41
|
+
if (customElements.get("sd-4-1-1-checkbox")) {
|
|
42
42
|
this.syncCheckboxElements();
|
|
43
43
|
} else {
|
|
44
|
-
customElements.whenDefined("sd-4-
|
|
44
|
+
customElements.whenDefined("sd-4-1-1-checkbox").then(() => this.syncCheckboxes());
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
handleSizeChange() {
|
|
@@ -76,7 +76,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
76
76
|
*/
|
|
77
77
|
SdCheckboxGroup.styles = [
|
|
78
78
|
...SolidElement.styles,
|
|
79
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-
|
|
79
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-1-1-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-1-1-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-1-1-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-1-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-1-1-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-1-1-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
80
80
|
];
|
|
81
81
|
__decorateClass([
|
|
82
82
|
property({ reflect: true })
|
|
@@ -94,7 +94,7 @@ __decorateClass([
|
|
|
94
94
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
95
95
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
96
96
|
SdCheckboxGroup = __decorateClass([
|
|
97
|
-
customElement("sd-4-
|
|
97
|
+
customElement("sd-4-1-1-checkbox-group")
|
|
98
98
|
], SdCheckboxGroup);
|
|
99
99
|
|
|
100
100
|
export {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// src/components/icon/library.status.ts
|
|
2
|
+
var icons = {
|
|
3
|
+
"status-check": `
|
|
4
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
5
|
+
<path d="M9.202 2.228a.832.832 0 0 0-1.14.274v.003L5.006 7.691 3.542 6.23a.834.834 0 0 0-1.178 1.178L4.586 9.63a.83.83 0 0 0 .579.258h.107a.836.836 0 0 0 .609-.399l.002-.004 3.611-6.11a.833.833 0 0 0-.287-1.145l-.005-.002Z"/>
|
|
6
|
+
</svg>
|
|
7
|
+
`,
|
|
8
|
+
"status-exclamation": `
|
|
9
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
10
|
+
<path d="M6.833 10.167a.834.834 0 1 1-1.667 0 .834.834 0 0 1 1.667 0ZM6 1a.834.834 0 0 0-.833.833v5a.834.834 0 0 0 1.666 0v-5A.834.834 0 0 0 6 1Z"/>
|
|
11
|
+
</svg>
|
|
12
|
+
`,
|
|
13
|
+
"status-close": `
|
|
14
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
15
|
+
<path d="M9.645 2.355a.834.834 0 0 0-1.178 0L6 4.822 3.533 2.355a.834.834 0 0 0-1.178 1.178L4.823 6 2.355 8.466a.834.834 0 0 0 1.178 1.178L6 7.179l2.467 2.467a.834.834 0 0 0 1.178-1.178L7.178 6l2.467-2.467a.83.83 0 0 0 0-1.178Z"/>
|
|
16
|
+
</svg>
|
|
17
|
+
`,
|
|
18
|
+
"status-info": `
|
|
19
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
20
|
+
<path d="M5.862 3.927A1.244 1.244 0 1 0 5.86 1.44a1.244 1.244 0 0 0 0 2.488Zm.968 1.935A.83.83 0 0 0 6 5.033h-.829a.83.83 0 0 0 0 1.658v2.21h-.83a.83.83 0 0 0 0 1.659h3.317a.83.83 0 0 0 0-1.658H6.83v-3.04Z"/>
|
|
21
|
+
</svg>
|
|
22
|
+
`,
|
|
23
|
+
"status-clock": `
|
|
24
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
25
|
+
<path d="M6.01 5.656v-3.99a.834.834 0 0 0-1.667 0V6c0 .058.006.115.018.17l-.001-.006c.007.03.015.054.024.078l-.002-.005c0 .027 0 .056.025.083a.59.59 0 0 0 .046.086l-.001-.003.03.059c.034.047.068.089.106.127l3.356 3.359a.835.835 0 0 0 1.18-1.18L6.01 5.655Z"/>
|
|
26
|
+
</svg>
|
|
27
|
+
`,
|
|
28
|
+
"status-minus": `
|
|
29
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
30
|
+
<path d="M9.76 5.333h-7.5A.834.834 0 0 0 2.26 7h7.5a.834.834 0 0 0 0-1.667Z"/>
|
|
31
|
+
</svg>
|
|
32
|
+
`,
|
|
33
|
+
"status-questionmark": `
|
|
34
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 12 12">
|
|
35
|
+
<path d="M6.843 10.167a.834.834 0 1 1-1.667 0 .834.834 0 0 1 1.667 0ZM6.01 1a2.777 2.777 0 0 0-2.778 2.777.834.834 0 0 0 1.667 0 1.111 1.111 0 0 1 2.222 0c0 .24-.517.792-.834 1.111-.555.586-1.11 1.192-1.11 1.944v.015a.834.834 0 0 0 1.666.014c.196-.316.416-.59.666-.833.6-.64 1.278-1.362 1.278-2.262A2.777 2.777 0 0 0 6.01 1Z"/>
|
|
36
|
+
</svg>
|
|
37
|
+
`
|
|
38
|
+
};
|
|
39
|
+
var statusLibrary = {
|
|
40
|
+
name: "sd-status-assets",
|
|
41
|
+
resolver: (name) => {
|
|
42
|
+
if (name in icons) {
|
|
43
|
+
return `data:image/svg+xml,${encodeURIComponent(icons[name])}`;
|
|
44
|
+
}
|
|
45
|
+
return "";
|
|
46
|
+
},
|
|
47
|
+
mutator: (svg) => svg.setAttribute("fill", "currentColor")
|
|
48
|
+
};
|
|
49
|
+
var library_status_default = statusLibrary;
|
|
50
|
+
|
|
51
|
+
export {
|
|
52
|
+
icons,
|
|
53
|
+
library_status_default
|
|
54
|
+
};
|
|
@@ -366,7 +366,7 @@ var SdInput = class extends SolidElement {
|
|
|
366
366
|
"min-w-0 flex-grow focus:outline-none bg-transparent placeholder-neutral-700",
|
|
367
367
|
this.size === "sm" ? "h-6" : "h-8",
|
|
368
368
|
textSize
|
|
369
|
-
)}" 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" @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-
|
|
369
|
+
)}" 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" @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-1-1-icon class="${cx("icon-fill-neutral-800", iconSize)}" library="system" name="closing-round"></sd-4-1-1-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-1-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye"></sd-4-1-1-icon></slot>` : html`<slot name="hide-password-icon"><sd-4-1-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="eye-crossed-out"></sd-4-1-1-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-4-1-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="calendar"></sd-4-1-1-icon>` : ""} ${this.type === "time" ? html`<sd-4-1-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="clock"></sd-4-1-1-icon>` : ""} ${this.type === "search" ? html`<button class="flex items-center" type="button" tabindex="-1"><sd-4-1-1-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="system" name="magnifying-glass"></sd-4-1-1-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-1-1-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="system" name="risk"></sd-4-1-1-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-4-1-1-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="system" name="status-check" part="valid-icon"></sd-4-1-1-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-1-1-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-1-1-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-1-1-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-4-1-1-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", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
/**
|
|
@@ -374,7 +374,7 @@ var SdInput = class extends SolidElement {
|
|
|
374
374
|
*/
|
|
375
375
|
SdInput.styles = [
|
|
376
376
|
...SolidElement.styles,
|
|
377
|
-
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:" *"}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-
|
|
377
|
+
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:" *"}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-1-1-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
378
378
|
];
|
|
379
379
|
__decorateClass([
|
|
380
380
|
query("#input")
|
|
@@ -501,7 +501,7 @@ __decorateClass([
|
|
|
501
501
|
watch("value", { waitUntilFirstUpdate: true })
|
|
502
502
|
], SdInput.prototype, "handleValueChange", 1);
|
|
503
503
|
SdInput = __decorateClass([
|
|
504
|
-
customElement("sd-4-
|
|
504
|
+
customElement("sd-4-1-1-input")
|
|
505
505
|
], SdInput);
|
|
506
506
|
|
|
507
507
|
export {
|
|
@@ -31,8 +31,6 @@ import cx from "classix";
|
|
|
31
31
|
var SdTooltip = class extends SolidElement {
|
|
32
32
|
constructor() {
|
|
33
33
|
super(...arguments);
|
|
34
|
-
// Flag to handle the case where a click event is triggered after a focus event
|
|
35
|
-
this.isFocusTriggered = false;
|
|
36
34
|
this.localize = new LocalizeController(this);
|
|
37
35
|
this.size = "lg";
|
|
38
36
|
this.content = "";
|
|
@@ -41,6 +39,12 @@ var SdTooltip = class extends SolidElement {
|
|
|
41
39
|
this.open = false;
|
|
42
40
|
this.trigger = "click focus";
|
|
43
41
|
this.hoist = false;
|
|
42
|
+
this.handleMouseInteraction = () => {
|
|
43
|
+
this.interactionType = "mouse";
|
|
44
|
+
};
|
|
45
|
+
this.handleKeyboardInteraction = () => {
|
|
46
|
+
this.interactionType = "keyboard";
|
|
47
|
+
};
|
|
44
48
|
}
|
|
45
49
|
connectedCallback() {
|
|
46
50
|
super.connectedCallback();
|
|
@@ -50,6 +54,8 @@ var SdTooltip = class extends SolidElement {
|
|
|
50
54
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
51
55
|
this.handleMouseOver = this.handleMouseOver.bind(this);
|
|
52
56
|
this.handleMouseOut = this.handleMouseOut.bind(this);
|
|
57
|
+
document.addEventListener("mousedown", this.handleMouseInteraction);
|
|
58
|
+
document.addEventListener("keydown", this.handleKeyboardInteraction);
|
|
53
59
|
this.updateComplete.then(() => {
|
|
54
60
|
this.addEventListener("blur", this.handleBlur, true);
|
|
55
61
|
this.addEventListener("focus", this.handleFocus, true);
|
|
@@ -75,6 +81,8 @@ var SdTooltip = class extends SolidElement {
|
|
|
75
81
|
this.removeEventListener("keydown", this.handleKeyDown);
|
|
76
82
|
this.removeEventListener("mouseover", this.handleMouseOver);
|
|
77
83
|
this.removeEventListener("mouseout", this.handleMouseOut);
|
|
84
|
+
document.removeEventListener("mousedown", this.handleMouseInteraction);
|
|
85
|
+
document.removeEventListener("keydown", this.handleKeyboardInteraction);
|
|
78
86
|
}
|
|
79
87
|
// removes empty text nodes from the default slot
|
|
80
88
|
formatDefaultSlot(slot) {
|
|
@@ -93,10 +101,6 @@ var SdTooltip = class extends SolidElement {
|
|
|
93
101
|
}
|
|
94
102
|
handleClick() {
|
|
95
103
|
if (this.hasTrigger("click")) {
|
|
96
|
-
if (this.isFocusTriggered) {
|
|
97
|
-
this.isFocusTriggered = false;
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
104
|
if (this.open) {
|
|
101
105
|
this.hide();
|
|
102
106
|
} else {
|
|
@@ -106,8 +110,9 @@ var SdTooltip = class extends SolidElement {
|
|
|
106
110
|
}
|
|
107
111
|
handleFocus() {
|
|
108
112
|
if (this.hasTrigger("focus")) {
|
|
109
|
-
this.
|
|
110
|
-
|
|
113
|
+
if (this.interactionType === "keyboard") {
|
|
114
|
+
this.show();
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
}
|
|
113
118
|
handleKeyDown(event) {
|
|
@@ -181,20 +186,21 @@ var SdTooltip = class extends SolidElement {
|
|
|
181
186
|
return void 0;
|
|
182
187
|
}
|
|
183
188
|
this.open = false;
|
|
189
|
+
this.blur();
|
|
184
190
|
return waitForEvent(this, "sd-after-hide");
|
|
185
191
|
}
|
|
186
192
|
render() {
|
|
187
193
|
const isStart = this.placement.endsWith("-start");
|
|
188
194
|
const isEnd = this.placement.endsWith("-end");
|
|
189
|
-
return html`<sd-4-
|
|
195
|
+
return html`<sd-4-1-1-popup part="base" exportparts="
|
|
190
196
|
popup:base__popup,
|
|
191
197
|
arrow:base__arrow
|
|
192
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor"
|
|
198
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0"><slot slot="anchor" class="${cx(this.size === "lg" ? "text-xl" : "text-base")}"><button aria-describedby="tooltip" class="flex sd-interactive rounded-full" ?disabled="${this.disabled}"><sd-4-1-1-icon library="system" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-4-1-1-icon></button></slot><slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="Tooltip" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-4-1-1-popup>`;
|
|
193
199
|
}
|
|
194
200
|
};
|
|
195
201
|
SdTooltip.styles = [
|
|
196
202
|
...SolidElement.styles,
|
|
197
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-4-
|
|
203
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-4-1-1-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-4-1-1-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-1-1-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-1-1-popup[placement^=top]::part(popup){transform-origin:bottom}sd-4-1-1-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
|
|
198
204
|
];
|
|
199
205
|
__decorateClass([
|
|
200
206
|
query("slot:not([name])")
|
|
@@ -203,7 +209,7 @@ __decorateClass([
|
|
|
203
209
|
query("#tooltip")
|
|
204
210
|
], SdTooltip.prototype, "body", 2);
|
|
205
211
|
__decorateClass([
|
|
206
|
-
query("sd-4-
|
|
212
|
+
query("sd-4-1-1-popup")
|
|
207
213
|
], SdTooltip.prototype, "popup", 2);
|
|
208
214
|
__decorateClass([
|
|
209
215
|
property()
|
|
@@ -236,7 +242,7 @@ __decorateClass([
|
|
|
236
242
|
watch("disabled")
|
|
237
243
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
238
244
|
SdTooltip = __decorateClass([
|
|
239
|
-
customElement("sd-4-
|
|
245
|
+
customElement("sd-4-1-1-tooltip")
|
|
240
246
|
], SdTooltip);
|
|
241
247
|
setDefaultAnimation("tooltip.show", {
|
|
242
248
|
keyframes: [
|
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-4-
|
|
13
|
+
const popup = document.createElement("sd-4-1-1-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-4-
|
|
25
|
+
const styles = css`sd-4-1-1-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-4-1-1-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-4-1-1-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-4-1-1-popup li{list-style-type:""}sd-4-1-1-popup li mark{background-color:transparent;font-weight:700}sd-4-1-1-popup li:not(:has(sd-4-1-1-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-4-1-1-popup li:not(:has(sd-4-1-1-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-4-1-1-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-1-1-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-4-1-1-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|
|
@@ -64,10 +64,10 @@ var SdQuickfact = class extends SdAccordion {
|
|
|
64
64
|
!this.expandable && "hidden"
|
|
65
65
|
)}
|
|
66
66
|
><slot name="expand-icon" class=${cx(this.open && "hidden")}>
|
|
67
|
-
<sd-4-
|
|
67
|
+
<sd-4-1-1-icon library="system" name="chevron-down"></sd-4-1-1-icon>
|
|
68
68
|
</slot>
|
|
69
69
|
<slot name="collapse-icon" class=${cx(!this.open && "hidden")}>
|
|
70
|
-
<sd-4-
|
|
70
|
+
<sd-4-1-1-icon library="system" name="chevron-down"></sd-4-1-1-icon> </slot
|
|
71
71
|
></span>
|
|
72
72
|
</${header}>
|
|
73
73
|
<div part="content" id="content" class=${cx("overflow-hidden", !this.expandable && "hidden")}>
|
|
@@ -85,7 +85,7 @@ __decorateClass([
|
|
|
85
85
|
property({ type: Boolean, reflect: true })
|
|
86
86
|
], SdQuickfact.prototype, "expandable", 2);
|
|
87
87
|
SdQuickfact = __decorateClass([
|
|
88
|
-
customElement("sd-4-
|
|
88
|
+
customElement("sd-4-1-1-quickfact")
|
|
89
89
|
], SdQuickfact);
|
|
90
90
|
setDefaultAnimation("quickfact.show", {
|
|
91
91
|
keyframes: [
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
library_default_default
|
|
3
3
|
} from "./chunk.7VPFFNHR.js";
|
|
4
|
+
import {
|
|
5
|
+
library_status_default
|
|
6
|
+
} from "./chunk.4TPOL3LB.js";
|
|
4
7
|
import {
|
|
5
8
|
library_system_default
|
|
6
9
|
} from "./chunk.XS4QJO4N.js";
|
|
7
10
|
|
|
8
11
|
// src/components/icon/library.ts
|
|
9
|
-
var registry = [library_system_default, library_default_default];
|
|
12
|
+
var registry = [library_system_default, library_default_default, library_status_default];
|
|
10
13
|
var watchedIcons = [];
|
|
11
14
|
function watchIcon(icon) {
|
|
12
15
|
watchedIcons.push(icon);
|
|
@@ -111,7 +111,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
111
111
|
render() {
|
|
112
112
|
const checkboxState = this.disabled && this.indeterminate ? "disabledIndeterminate" : this.disabled && this.checked ? "disabledChecked" : this.disabled ? "disabled" : this.showInvalidStyle && this.indeterminate ? "invalidIndeterminate" : this.showInvalidStyle ? "invalid" : this.checked || this.indeterminate ? "filled" : "default";
|
|
113
113
|
return html`<label part="base" class="${cx(
|
|
114
|
-
"sd-4-
|
|
114
|
+
"sd-4-1-1-checkbox group flex items-start text-base leading-normal text-black cursor-pointer",
|
|
115
115
|
this.disabled && "hover:cursor-not-allowed",
|
|
116
116
|
{
|
|
117
117
|
/* sizes, fonts */
|
|
@@ -137,7 +137,7 @@ var SdCheckbox = class extends SolidElement {
|
|
|
137
137
|
filled: "border-accent hover:border-accent-550 group-hover:border-accent-550 bg-accent group-hover:bg-accent-550",
|
|
138
138
|
default: "border-neutral-800 hover:bg-neutral-200 group-hover:bg-neutral-200 bg-white"
|
|
139
139
|
}[checkboxState]
|
|
140
|
-
)}">${this.checked ? html`<sd-4-
|
|
140
|
+
)}">${this.checked ? html`<sd-4-1-1-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-1-1-icon>` : ""} ${!this.checked && this.indeterminate ? html`<sd-4-1-1-icon part="indeterminate-icon" class="text-white w-3 h-3" library="system" name="status-minus"></sd-4-1-1-icon>` : ""} </span><span part="label" id="label" class="${cx(
|
|
141
141
|
"select-none inline-block ml-2",
|
|
142
142
|
this.disabled ? "text-neutral-500" : this.showInvalidStyle ? "text-error" : "text-black"
|
|
143
143
|
)}"><slot></slot></span></label> ${this.formControlController.renderInvalidMessage()}`;
|
|
@@ -196,7 +196,7 @@ __decorateClass([
|
|
|
196
196
|
watch(["checked", "indeterminate"], { waitUntilFirstUpdate: true })
|
|
197
197
|
], SdCheckbox.prototype, "handleStateChange", 1);
|
|
198
198
|
SdCheckbox = __decorateClass([
|
|
199
|
-
customElement("sd-4-
|
|
199
|
+
customElement("sd-4-1-1-checkbox")
|
|
200
200
|
], SdCheckbox);
|
|
201
201
|
|
|
202
202
|
export {
|
|
@@ -70,7 +70,7 @@ var SdRadio = class extends SolidElement {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
return html`<span part="base" class="${cx(
|
|
73
|
-
"sd-4-
|
|
73
|
+
"sd-4-1-1-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
74
74
|
this.disabled && "hover:cursor-not-allowed",
|
|
75
75
|
{
|
|
76
76
|
/* sizes, fonts */
|
|
@@ -122,7 +122,7 @@ __decorateClass([
|
|
|
122
122
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
123
123
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
124
124
|
SdRadio = __decorateClass([
|
|
125
|
-
customElement("sd-4-
|
|
125
|
+
customElement("sd-4-1-1-radio")
|
|
126
126
|
], SdRadio);
|
|
127
127
|
|
|
128
128
|
export {
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-1-1-divider[orientation=horizontal]){display:block}:host(sd-4-1-1-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-4-
|
|
44
|
+
customElement("sd-4-1-1-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -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-1-1-tab"),
|
|
33
|
+
customElements.whenDefined("sd-4-1-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-
|
|
74
|
+
return options.includeDisabled ? el.tagName.toLowerCase() === "sd-4-1-1-tab" : el.tagName.toLowerCase() === "sd-4-1-1-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-1-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-
|
|
86
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-
|
|
85
|
+
const tab = target.closest("sd-4-1-1-tab");
|
|
86
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-1-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-
|
|
97
|
-
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-
|
|
96
|
+
const tab = target.closest("sd-4-1-1-tab");
|
|
97
|
+
const tabGroup = tab == null ? void 0 : tab.closest("sd-4-1-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-
|
|
122
|
+
if ((activeEl == null ? void 0 : activeEl.tagName.toLowerCase()) === "sd-4-1-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-
|
|
218
|
+
)}" @click="${this.handleScrollToStart}"><sd-4-1-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-1-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-
|
|
221
|
+
)}" @click="${this.handleScrollToEnd}"><sd-4-1-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-1-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-
|
|
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-1-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-1-1-tab-panel){--padding:1rem 0}`
|
|
227
227
|
];
|
|
228
228
|
__decorateClass([
|
|
229
229
|
query("[part=base]")
|
|
@@ -244,7 +244,7 @@ __decorateClass([
|
|
|
244
244
|
property()
|
|
245
245
|
], SdTabGroup.prototype, "activation", 2);
|
|
246
246
|
SdTabGroup = __decorateClass([
|
|
247
|
-
customElement("sd-4-
|
|
247
|
+
customElement("sd-4-1-1-tab-group")
|
|
248
248
|
], SdTabGroup);
|
|
249
249
|
|
|
250
250
|
export {
|