@solid-design-system/components 4.0.10 → 4.1.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.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.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.MOQCXANY.js → chunk.TY23JP7L.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.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.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.MOQCXANY.js → chunk.TY23JP7L.js} +2 -2
- 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 +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 +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.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.js +1 -1
- package/dist/custom-elements.json +41 -1
- package/dist/solid-components.js +16 -15
- 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.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.K3JCC7KV.js +5 -5
- 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 +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +1 -1
- 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 +16 -15
- 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-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.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
package/cdn/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@solid-design-system/components",
|
|
4
|
-
"version": "4.0
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -6021,236 +6021,6 @@
|
|
|
6021
6021
|
"events": []
|
|
6022
6022
|
}
|
|
6023
6023
|
},
|
|
6024
|
-
{
|
|
6025
|
-
"name": "sd-tooltip",
|
|
6026
|
-
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
6027
|
-
"doc-url": "",
|
|
6028
|
-
"attributes": [
|
|
6029
|
-
{
|
|
6030
|
-
"name": "size",
|
|
6031
|
-
"description": "Sets the size of the default trigger icon.",
|
|
6032
|
-
"value": { "type": "'lg' | 'sm'", "default": "'lg'" }
|
|
6033
|
-
},
|
|
6034
|
-
{
|
|
6035
|
-
"name": "content",
|
|
6036
|
-
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
6037
|
-
"value": { "type": "string", "default": "''" }
|
|
6038
|
-
},
|
|
6039
|
-
{
|
|
6040
|
-
"name": "placement",
|
|
6041
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6042
|
-
"value": {
|
|
6043
|
-
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'",
|
|
6044
|
-
"default": "'top'"
|
|
6045
|
-
}
|
|
6046
|
-
},
|
|
6047
|
-
{
|
|
6048
|
-
"name": "disabled",
|
|
6049
|
-
"description": "Disables the tooltip so it won't show when triggered.",
|
|
6050
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6051
|
-
},
|
|
6052
|
-
{
|
|
6053
|
-
"name": "open",
|
|
6054
|
-
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
6055
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6056
|
-
},
|
|
6057
|
-
{
|
|
6058
|
-
"name": "trigger",
|
|
6059
|
-
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
6060
|
-
"value": { "type": "string", "default": "'click focus'" }
|
|
6061
|
-
},
|
|
6062
|
-
{
|
|
6063
|
-
"name": "hoist",
|
|
6064
|
-
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
6065
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6066
|
-
},
|
|
6067
|
-
{
|
|
6068
|
-
"name": "dir",
|
|
6069
|
-
"description": "The element's directionality.",
|
|
6070
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6071
|
-
},
|
|
6072
|
-
{
|
|
6073
|
-
"name": "lang",
|
|
6074
|
-
"description": "The element's language.",
|
|
6075
|
-
"value": { "type": "string" }
|
|
6076
|
-
}
|
|
6077
|
-
],
|
|
6078
|
-
"slots": [
|
|
6079
|
-
{
|
|
6080
|
-
"name": "",
|
|
6081
|
-
"description": "The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored."
|
|
6082
|
-
},
|
|
6083
|
-
{
|
|
6084
|
-
"name": "anchor",
|
|
6085
|
-
"description": "Slot to change the default trigger icon. The default icon is an info circle."
|
|
6086
|
-
},
|
|
6087
|
-
{
|
|
6088
|
-
"name": "content",
|
|
6089
|
-
"description": "The content to render in the tooltip. Alternatively, you can use the `content` attribute."
|
|
6090
|
-
}
|
|
6091
|
-
],
|
|
6092
|
-
"events": [
|
|
6093
|
-
{
|
|
6094
|
-
"name": "sd-show",
|
|
6095
|
-
"description": "Emitted when the tooltip begins to show."
|
|
6096
|
-
},
|
|
6097
|
-
{
|
|
6098
|
-
"name": "sd-after-show",
|
|
6099
|
-
"description": "Emitted after the tooltip has shown and all animations are complete."
|
|
6100
|
-
},
|
|
6101
|
-
{
|
|
6102
|
-
"name": "sd-hide",
|
|
6103
|
-
"description": "Emitted when the tooltip begins to hide."
|
|
6104
|
-
},
|
|
6105
|
-
{
|
|
6106
|
-
"name": "sd-after-hide",
|
|
6107
|
-
"description": "Emitted after the tooltip has hidden and all animations are complete."
|
|
6108
|
-
}
|
|
6109
|
-
],
|
|
6110
|
-
"js": {
|
|
6111
|
-
"properties": [
|
|
6112
|
-
{ "name": "localize" },
|
|
6113
|
-
{ "name": "popup", "type": "SdPopup" },
|
|
6114
|
-
{
|
|
6115
|
-
"name": "size",
|
|
6116
|
-
"description": "Sets the size of the default trigger icon.",
|
|
6117
|
-
"type": "'lg' | 'sm'"
|
|
6118
|
-
},
|
|
6119
|
-
{
|
|
6120
|
-
"name": "content",
|
|
6121
|
-
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
6122
|
-
"type": "string"
|
|
6123
|
-
},
|
|
6124
|
-
{
|
|
6125
|
-
"name": "placement",
|
|
6126
|
-
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6127
|
-
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
|
|
6128
|
-
},
|
|
6129
|
-
{
|
|
6130
|
-
"name": "disabled",
|
|
6131
|
-
"description": "Disables the tooltip so it won't show when triggered.",
|
|
6132
|
-
"type": "boolean"
|
|
6133
|
-
},
|
|
6134
|
-
{
|
|
6135
|
-
"name": "open",
|
|
6136
|
-
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
6137
|
-
"type": "boolean"
|
|
6138
|
-
},
|
|
6139
|
-
{
|
|
6140
|
-
"name": "trigger",
|
|
6141
|
-
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
6142
|
-
"type": "string"
|
|
6143
|
-
},
|
|
6144
|
-
{
|
|
6145
|
-
"name": "hoist",
|
|
6146
|
-
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
6147
|
-
"type": "boolean"
|
|
6148
|
-
},
|
|
6149
|
-
{
|
|
6150
|
-
"name": "dir",
|
|
6151
|
-
"description": "The element's directionality.",
|
|
6152
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6153
|
-
},
|
|
6154
|
-
{
|
|
6155
|
-
"name": "lang",
|
|
6156
|
-
"description": "The element's language.",
|
|
6157
|
-
"type": "string"
|
|
6158
|
-
}
|
|
6159
|
-
],
|
|
6160
|
-
"events": [
|
|
6161
|
-
{
|
|
6162
|
-
"name": "sd-show",
|
|
6163
|
-
"description": "Emitted when the tooltip begins to show."
|
|
6164
|
-
},
|
|
6165
|
-
{
|
|
6166
|
-
"name": "sd-after-show",
|
|
6167
|
-
"description": "Emitted after the tooltip has shown and all animations are complete."
|
|
6168
|
-
},
|
|
6169
|
-
{
|
|
6170
|
-
"name": "sd-hide",
|
|
6171
|
-
"description": "Emitted when the tooltip begins to hide."
|
|
6172
|
-
},
|
|
6173
|
-
{
|
|
6174
|
-
"name": "sd-after-hide",
|
|
6175
|
-
"description": "Emitted after the tooltip has hidden and all animations are complete."
|
|
6176
|
-
}
|
|
6177
|
-
]
|
|
6178
|
-
}
|
|
6179
|
-
},
|
|
6180
|
-
{
|
|
6181
|
-
"name": "sd-video",
|
|
6182
|
-
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
|
|
6183
|
-
"doc-url": "",
|
|
6184
|
-
"attributes": [
|
|
6185
|
-
{
|
|
6186
|
-
"name": "playing",
|
|
6187
|
-
"description": "Set to `true` to hide the play icon.",
|
|
6188
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6189
|
-
},
|
|
6190
|
-
{
|
|
6191
|
-
"name": "isBelowBreakpoint",
|
|
6192
|
-
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
6193
|
-
"value": { "type": "boolean", "default": "false" }
|
|
6194
|
-
},
|
|
6195
|
-
{
|
|
6196
|
-
"name": "dir",
|
|
6197
|
-
"description": "The element's directionality.",
|
|
6198
|
-
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6199
|
-
},
|
|
6200
|
-
{
|
|
6201
|
-
"name": "lang",
|
|
6202
|
-
"description": "The element's language.",
|
|
6203
|
-
"value": { "type": "string" }
|
|
6204
|
-
}
|
|
6205
|
-
],
|
|
6206
|
-
"slots": [
|
|
6207
|
-
{
|
|
6208
|
-
"name": "",
|
|
6209
|
-
"description": "The default slot used to pass a video player element."
|
|
6210
|
-
},
|
|
6211
|
-
{ "name": "play-icon", "description": "The video's play icon." },
|
|
6212
|
-
{
|
|
6213
|
-
"name": "poster",
|
|
6214
|
-
"description": "Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag."
|
|
6215
|
-
}
|
|
6216
|
-
],
|
|
6217
|
-
"events": [
|
|
6218
|
-
{
|
|
6219
|
-
"name": "sd-play",
|
|
6220
|
-
"description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
|
|
6221
|
-
}
|
|
6222
|
-
],
|
|
6223
|
-
"js": {
|
|
6224
|
-
"properties": [
|
|
6225
|
-
{
|
|
6226
|
-
"name": "playing",
|
|
6227
|
-
"description": "Set to `true` to hide the play icon.",
|
|
6228
|
-
"type": "boolean"
|
|
6229
|
-
},
|
|
6230
|
-
{
|
|
6231
|
-
"name": "isBelowBreakpoint",
|
|
6232
|
-
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
6233
|
-
"type": "boolean"
|
|
6234
|
-
},
|
|
6235
|
-
{
|
|
6236
|
-
"name": "dir",
|
|
6237
|
-
"description": "The element's directionality.",
|
|
6238
|
-
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6239
|
-
},
|
|
6240
|
-
{
|
|
6241
|
-
"name": "lang",
|
|
6242
|
-
"description": "The element's language.",
|
|
6243
|
-
"type": "string"
|
|
6244
|
-
}
|
|
6245
|
-
],
|
|
6246
|
-
"events": [
|
|
6247
|
-
{
|
|
6248
|
-
"name": "sd-play",
|
|
6249
|
-
"description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
|
|
6250
|
-
}
|
|
6251
|
-
]
|
|
6252
|
-
}
|
|
6253
|
-
},
|
|
6254
6024
|
{
|
|
6255
6025
|
"name": "sd-textarea",
|
|
6256
6026
|
"description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - An optional tooltip that helps describe the input. Use this slot with the `sd-tooltip` component.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **textarea** - The internal `<textarea>` control.",
|
|
@@ -6576,6 +6346,236 @@
|
|
|
6576
6346
|
}
|
|
6577
6347
|
]
|
|
6578
6348
|
}
|
|
6349
|
+
},
|
|
6350
|
+
{
|
|
6351
|
+
"name": "sd-tooltip",
|
|
6352
|
+
"description": "Tooltips display additional information based on a specific action.\n---\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n- **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **anchor** - Slot to change the default trigger icon. The default icon is an info circle.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
6353
|
+
"doc-url": "",
|
|
6354
|
+
"attributes": [
|
|
6355
|
+
{
|
|
6356
|
+
"name": "size",
|
|
6357
|
+
"description": "Sets the size of the default trigger icon.",
|
|
6358
|
+
"value": { "type": "'lg' | 'sm'", "default": "'lg'" }
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
"name": "content",
|
|
6362
|
+
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
6363
|
+
"value": { "type": "string", "default": "''" }
|
|
6364
|
+
},
|
|
6365
|
+
{
|
|
6366
|
+
"name": "placement",
|
|
6367
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6368
|
+
"value": {
|
|
6369
|
+
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'",
|
|
6370
|
+
"default": "'top'"
|
|
6371
|
+
}
|
|
6372
|
+
},
|
|
6373
|
+
{
|
|
6374
|
+
"name": "disabled",
|
|
6375
|
+
"description": "Disables the tooltip so it won't show when triggered.",
|
|
6376
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6377
|
+
},
|
|
6378
|
+
{
|
|
6379
|
+
"name": "open",
|
|
6380
|
+
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
6381
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6382
|
+
},
|
|
6383
|
+
{
|
|
6384
|
+
"name": "trigger",
|
|
6385
|
+
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
6386
|
+
"value": { "type": "string", "default": "'click focus'" }
|
|
6387
|
+
},
|
|
6388
|
+
{
|
|
6389
|
+
"name": "hoist",
|
|
6390
|
+
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
6391
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6392
|
+
},
|
|
6393
|
+
{
|
|
6394
|
+
"name": "dir",
|
|
6395
|
+
"description": "The element's directionality.",
|
|
6396
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6397
|
+
},
|
|
6398
|
+
{
|
|
6399
|
+
"name": "lang",
|
|
6400
|
+
"description": "The element's language.",
|
|
6401
|
+
"value": { "type": "string" }
|
|
6402
|
+
}
|
|
6403
|
+
],
|
|
6404
|
+
"slots": [
|
|
6405
|
+
{
|
|
6406
|
+
"name": "",
|
|
6407
|
+
"description": "The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored."
|
|
6408
|
+
},
|
|
6409
|
+
{
|
|
6410
|
+
"name": "anchor",
|
|
6411
|
+
"description": "Slot to change the default trigger icon. The default icon is an info circle."
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
6414
|
+
"name": "content",
|
|
6415
|
+
"description": "The content to render in the tooltip. Alternatively, you can use the `content` attribute."
|
|
6416
|
+
}
|
|
6417
|
+
],
|
|
6418
|
+
"events": [
|
|
6419
|
+
{
|
|
6420
|
+
"name": "sd-show",
|
|
6421
|
+
"description": "Emitted when the tooltip begins to show."
|
|
6422
|
+
},
|
|
6423
|
+
{
|
|
6424
|
+
"name": "sd-after-show",
|
|
6425
|
+
"description": "Emitted after the tooltip has shown and all animations are complete."
|
|
6426
|
+
},
|
|
6427
|
+
{
|
|
6428
|
+
"name": "sd-hide",
|
|
6429
|
+
"description": "Emitted when the tooltip begins to hide."
|
|
6430
|
+
},
|
|
6431
|
+
{
|
|
6432
|
+
"name": "sd-after-hide",
|
|
6433
|
+
"description": "Emitted after the tooltip has hidden and all animations are complete."
|
|
6434
|
+
}
|
|
6435
|
+
],
|
|
6436
|
+
"js": {
|
|
6437
|
+
"properties": [
|
|
6438
|
+
{ "name": "localize" },
|
|
6439
|
+
{ "name": "popup", "type": "SdPopup" },
|
|
6440
|
+
{
|
|
6441
|
+
"name": "size",
|
|
6442
|
+
"description": "Sets the size of the default trigger icon.",
|
|
6443
|
+
"type": "'lg' | 'sm'"
|
|
6444
|
+
},
|
|
6445
|
+
{
|
|
6446
|
+
"name": "content",
|
|
6447
|
+
"description": "The tooltip's content. If you need to display HTML, use the `content` slot instead.",
|
|
6448
|
+
"type": "string"
|
|
6449
|
+
},
|
|
6450
|
+
{
|
|
6451
|
+
"name": "placement",
|
|
6452
|
+
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6453
|
+
"type": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
|
|
6454
|
+
},
|
|
6455
|
+
{
|
|
6456
|
+
"name": "disabled",
|
|
6457
|
+
"description": "Disables the tooltip so it won't show when triggered.",
|
|
6458
|
+
"type": "boolean"
|
|
6459
|
+
},
|
|
6460
|
+
{
|
|
6461
|
+
"name": "open",
|
|
6462
|
+
"description": "Indicates whether or not the tooltip is open. You can use this in lieu of the show/hide methods.",
|
|
6463
|
+
"type": "boolean"
|
|
6464
|
+
},
|
|
6465
|
+
{
|
|
6466
|
+
"name": "trigger",
|
|
6467
|
+
"description": "Controls how the tooltip is activated. Possible options include `click`, `hover`, `focus`, and `manual`. Multiple\noptions can be passed by separating them with a space. When manual is used, the tooltip must be activated\nprogrammatically.",
|
|
6468
|
+
"type": "string"
|
|
6469
|
+
},
|
|
6470
|
+
{
|
|
6471
|
+
"name": "hoist",
|
|
6472
|
+
"description": "Enable this option to prevent the tooltip from being clipped when the component is placed inside a container with\n`overflow: auto|hidden|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all,\nscenarios.",
|
|
6473
|
+
"type": "boolean"
|
|
6474
|
+
},
|
|
6475
|
+
{
|
|
6476
|
+
"name": "dir",
|
|
6477
|
+
"description": "The element's directionality.",
|
|
6478
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6479
|
+
},
|
|
6480
|
+
{
|
|
6481
|
+
"name": "lang",
|
|
6482
|
+
"description": "The element's language.",
|
|
6483
|
+
"type": "string"
|
|
6484
|
+
}
|
|
6485
|
+
],
|
|
6486
|
+
"events": [
|
|
6487
|
+
{
|
|
6488
|
+
"name": "sd-show",
|
|
6489
|
+
"description": "Emitted when the tooltip begins to show."
|
|
6490
|
+
},
|
|
6491
|
+
{
|
|
6492
|
+
"name": "sd-after-show",
|
|
6493
|
+
"description": "Emitted after the tooltip has shown and all animations are complete."
|
|
6494
|
+
},
|
|
6495
|
+
{
|
|
6496
|
+
"name": "sd-hide",
|
|
6497
|
+
"description": "Emitted when the tooltip begins to hide."
|
|
6498
|
+
},
|
|
6499
|
+
{
|
|
6500
|
+
"name": "sd-after-hide",
|
|
6501
|
+
"description": "Emitted after the tooltip has hidden and all animations are complete."
|
|
6502
|
+
}
|
|
6503
|
+
]
|
|
6504
|
+
}
|
|
6505
|
+
},
|
|
6506
|
+
{
|
|
6507
|
+
"name": "sd-video",
|
|
6508
|
+
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n---\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Methods:**\n - **emit(name: _string_, options: _CustomEventInit_)** - Emits a custom event with more convenient defaults.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.",
|
|
6509
|
+
"doc-url": "",
|
|
6510
|
+
"attributes": [
|
|
6511
|
+
{
|
|
6512
|
+
"name": "playing",
|
|
6513
|
+
"description": "Set to `true` to hide the play icon.",
|
|
6514
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6515
|
+
},
|
|
6516
|
+
{
|
|
6517
|
+
"name": "isBelowBreakpoint",
|
|
6518
|
+
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
6519
|
+
"value": { "type": "boolean", "default": "false" }
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
"name": "dir",
|
|
6523
|
+
"description": "The element's directionality.",
|
|
6524
|
+
"value": { "type": "'ltr' | 'rtl' | 'auto'" }
|
|
6525
|
+
},
|
|
6526
|
+
{
|
|
6527
|
+
"name": "lang",
|
|
6528
|
+
"description": "The element's language.",
|
|
6529
|
+
"value": { "type": "string" }
|
|
6530
|
+
}
|
|
6531
|
+
],
|
|
6532
|
+
"slots": [
|
|
6533
|
+
{
|
|
6534
|
+
"name": "",
|
|
6535
|
+
"description": "The default slot used to pass a video player element."
|
|
6536
|
+
},
|
|
6537
|
+
{ "name": "play-icon", "description": "The video's play icon." },
|
|
6538
|
+
{
|
|
6539
|
+
"name": "poster",
|
|
6540
|
+
"description": "Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag."
|
|
6541
|
+
}
|
|
6542
|
+
],
|
|
6543
|
+
"events": [
|
|
6544
|
+
{
|
|
6545
|
+
"name": "sd-play",
|
|
6546
|
+
"description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
|
|
6547
|
+
}
|
|
6548
|
+
],
|
|
6549
|
+
"js": {
|
|
6550
|
+
"properties": [
|
|
6551
|
+
{
|
|
6552
|
+
"name": "playing",
|
|
6553
|
+
"description": "Set to `true` to hide the play icon.",
|
|
6554
|
+
"type": "boolean"
|
|
6555
|
+
},
|
|
6556
|
+
{
|
|
6557
|
+
"name": "isBelowBreakpoint",
|
|
6558
|
+
"description": "Reactive property to trigger breakpoint re-renders.",
|
|
6559
|
+
"type": "boolean"
|
|
6560
|
+
},
|
|
6561
|
+
{
|
|
6562
|
+
"name": "dir",
|
|
6563
|
+
"description": "The element's directionality.",
|
|
6564
|
+
"type": "'ltr' | 'rtl' | 'auto'"
|
|
6565
|
+
},
|
|
6566
|
+
{
|
|
6567
|
+
"name": "lang",
|
|
6568
|
+
"description": "The element's language.",
|
|
6569
|
+
"type": "string"
|
|
6570
|
+
}
|
|
6571
|
+
],
|
|
6572
|
+
"events": [
|
|
6573
|
+
{
|
|
6574
|
+
"name": "sd-play",
|
|
6575
|
+
"description": "Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video."
|
|
6576
|
+
}
|
|
6577
|
+
]
|
|
6578
|
+
}
|
|
6579
6579
|
}
|
|
6580
6580
|
]
|
|
6581
6581
|
}
|
|
@@ -32,7 +32,7 @@ let SdMenu = class SdMenu extends SolidElement {
|
|
|
32
32
|
if (item.type === 'checkbox') {
|
|
33
33
|
item.checked = !item.checked;
|
|
34
34
|
}
|
|
35
|
-
this.emit('sd-4-0-
|
|
35
|
+
this.emit('sd-4-1-0-select', { detail: { item } });
|
|
36
36
|
}
|
|
37
37
|
handleKeyDown(event) {
|
|
38
38
|
if (event.key === 'Enter') {
|
|
@@ -74,7 +74,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
74
74
|
})}
|
|
75
75
|
>
|
|
76
76
|
<span part="checked-icon" class="menu-item__check">
|
|
77
|
-
<sd-4-0-
|
|
77
|
+
<sd-4-1-0-icon name="check" library="system" aria-hidden="true"></sd-4-1-0-icon>
|
|
78
78
|
</span>
|
|
79
79
|
|
|
80
80
|
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
@@ -84,7 +84,7 @@ let SdMenuItem = class SdMenuItem extends SolidElement {
|
|
|
84
84
|
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
85
85
|
|
|
86
86
|
<span class="menu-item__chevron">
|
|
87
|
-
<sd-4-0-
|
|
87
|
+
<sd-4-1-0-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-1-0-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as z}from"./chunk.64UNKF45.js";import{c as O}from"./chunk.3L472FD4.js";import{a as c,c as m}from"./chunk.A3DKF5BY.js";import{a as h,d as p}from"./chunk.RQYP7MH5.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as K}from"./chunk.E2DRD2OX.js";import{a as D}from"./chunk.26YUWEYR.js";import{a as I}from"./chunk.TWQVHGYD.js";import{a as C,b as o,d as l,h as d}from"./chunk.GQU4LYQ6.js";import{b as M,e as A}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var n=class extends d{constructor(){super(...arguments);this.localize=new D(this);this.open=!1;this.rounded=!1;this.placement="bottom-start";this.disabled=!1;this.stayOpenOnSelect=!1;this.distance=0;this.skidding=0;this.noAutoSize=!1;this.noFlip=!1;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleMenuItemActivate=this.handleMenuItemActivate.bind(this),this.handlePanelSelect=this.handlePanelSelect.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}getAccessibleTrigger(){let t=this.trigger.assignedElements({flatten:!0}).find(a=>z(a).start),s=null;if(t)switch(t.tagName.toLowerCase()){case"sd-4-1-0-button":case"sd-4-1-0-icon-button":s=t.button;break;case"sd-4-1-0-navigation-item":s=t.button;break;default:s=t}return s}updateAccessibleTrigger(){let e=this.getAccessibleTrigger();e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",this.open?"true":"false"))}focusOnTrigger(){let e=this.getAccessibleTrigger();typeof(e==null?void 0:e.focus)=="function"&&e.focus()}getMenu(){return this.panel.assignedElements({flatten:!0}).find(e=>e.tagName.toLowerCase()==="sd-menu")}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){var t;if(e.key==="Tab"){if(this.open&&((t=document.activeElement)==null?void 0:t.tagName.toLowerCase())==="sd-menu-item"){e.preventDefault(),this.hide(),this.focusOnTrigger();return}setTimeout(()=>{var a,r,g,f,y,w,b,E,v,k,T,L;let s=((y=(f=(g=(r=(a=document.activeElement)==null?void 0:a.shadowRoot)==null?void 0:r.activeElement)==null?void 0:g.shadowRoot)==null?void 0:f.activeElement)==null?void 0:y.getRootNode())instanceof ShadowRoot?(v=(E=(b=(w=document.activeElement)==null?void 0:w.shadowRoot)==null?void 0:b.activeElement)==null?void 0:E.shadowRoot)==null?void 0:v.activeElement:((k=this.containingElement)==null?void 0:k.getRootNode())instanceof ShadowRoot?(L=(T=document.activeElement)==null?void 0:T.shadowRoot)==null?void 0:L.activeElement:document.activeElement;(!this.containingElement||(s==null?void 0:s.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()})}}handleDocumentMouseDown(e){let t=e.composedPath();this.containingElement&&!t.includes(this.containingElement)&&this.hide()}handleMenuItemActivate(e){let t=e.target;O(t,this.panel)}handlePanelSelect(e){let t=e.target;!this.stayOpenOnSelect&&t.tagName.toLowerCase()==="sd-menu"&&(this.hide(),this.focusOnTrigger())}handleTriggerClick(){this.open?this.hide():this.show()}handleTriggerKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}if([" ","Enter"].includes(e.key)){e.preventDefault(),this.handleTriggerClick();return}let t=this.getMenu();if(t){let s=t.defaultSlot.assignedElements({flatten:!0}),a=s[0],r=s[s.length-1];["ArrowDown","ArrowUp","Home","End"].includes(e.key)&&(e.preventDefault(),this.open||this.show(),s.length>0&&requestAnimationFrame(()=>{(e.key==="ArrowDown"||e.key==="Home")&&(t.setCurrentItem(a),a.focus()),(e.key==="ArrowUp"||e.key==="End")&&(t.setCurrentItem(r),r.focus())}))}}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.updateAccessibleTrigger()}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-4-1-0-select",this.handlePanelSelect),this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&(this.panel.removeEventListener("sd-activate",this.handleMenuItemActivate),this.panel.removeEventListener("sd-4-1-0-select",this.handlePanelSelect),this.panel.removeEventListener("keydown",this.handleKeyDown)),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("sd-show"),this.addOpenListeners(),await p(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:t}=m(this,"dropdown.show",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await p(this);let{keyframes:e,options:t}=m(this,"dropdown.hide",{dir:this.localize.dir()});await h(this.popup.popup,e,t),this.panel.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}render(){return A`<sd-4-1-0-popup part="base" id="dropdown" placement="${this.placement}" distance="${this.rounded&&this.distance<1?1:this.distance}" skidding="${this.skidding}" strategy="${this.hoist?"fixed":"absolute"}" ?flip="${!this.noFlip}" shift auto-size="vertical" auto-size-padding="10" ?active="${this.open}"><slot name="trigger" slot="anchor" part="trigger" class="block" @click="${this.handleTriggerClick}" @keydown="${this.handleTriggerKeyDown}" @keyup="${this.handleTriggerKeyUp}" @slotchange="${this.handleTriggerSlotChange}"></slot><slot part="panel" class="${I("shadow bg-white",this.open?"block pointer-events-auto":"pointer-events-none",this.rounded&&"rounded-md")}" aria-hidden="${this.open?"false":"true"}" aria-labelledby="dropdown"></slot></sd-4-1-0-popup>`}};n.styles=[...d.styles,M`:host{display:inline-block}#dropdown::part(popup){z-index:var(--sd-z-index-dropdown,900)}#dropdown[data-current-placement^=top]::part(popup){transform-origin:bottom}#dropdown[data-current-placement^=bottom]::part(popup){transform-origin:top}#dropdown[data-current-placement^=left]::part(popup){transform-origin:right}#dropdown[data-current-placement^=right]::part(popup){transform-origin:left}:host(:not([no-auto-size])) ::slotted(:not([slot=trigger])){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`],i([l("#dropdown")],n.prototype,"popup",2),i([l("[part=trigger]")],n.prototype,"trigger",2),i([l("[part=panel]")],n.prototype,"panel",2),i([o({type:Boolean,reflect:!0})],n.prototype,"open",2),i([o({type:Boolean,reflect:!0})],n.prototype,"rounded",2),i([o({reflect:!0})],n.prototype,"placement",2),i([o({type:Boolean,reflect:!0})],n.prototype,"disabled",2),i([o({attribute:"stay-open-on-select",type:Boolean,reflect:!0})],n.prototype,"stayOpenOnSelect",2),i([o({attribute:!1})],n.prototype,"containingElement",2),i([o({type:Number})],n.prototype,"distance",2),i([o({type:Number})],n.prototype,"skidding",2),i([o({type:Boolean,reflect:!0,attribute:"no-auto-size"})],n.prototype,"noAutoSize",2),i([o({type:Boolean,reflect:!0,attribute:"no-flip"})],n.prototype,"noFlip",2),i([o({type:Boolean})],n.prototype,"hoist",2),i([K("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([C("sd-4-1-0-dropdown")],n);c("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});c("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as w}from"./chunk.SXH5LQRL.js";import{b as C,c as E,d as V,e as k}from"./chunk.65NSSTJE.js";import{a as M}from"./chunk.EJKLI2Q4.js";import{a as m}from"./chunk.E2DRD2OX.js";import{a as b}from"./chunk.6HO6CE4A.js";import{a as f}from"./chunk.TWQVHGYD.js";import{a as y,b as n,c as u,d as c,h as p}from"./chunk.GQU4LYQ6.js";import{b as g,e as d}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";var s=class extends p{constructor(){super(...arguments);this.formControlController=new C(this);this.hasSlotController=new b(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.boldLabel=!1;this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?k:t?V:E}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){return[...this.querySelectorAll("sd-4-1-0-radio, sd-4-1-0-radio-button")]}handleRadioClick(t){let e=t.target.closest("sd-4-1-0-radio, sd-4-1-0-radio-button"),l=this.getAllRadios(),i=this.value;e.disabled||(this.value=e.value,l.forEach(h=>h.checked=h===e),this.value!==i&&(this.emit("sd-change"),this.emit("sd-input")))}handleKeyDown(t){var v;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(r=>!r.disabled),l=(v=e.find(r=>r.checked))!=null?v:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,h=this.value,a=e.indexOf(l)+i;a<0&&(a=e.length-1),a>e.length-1&&(a=0),this.getAllRadios().forEach(r=>{r.checked=!1,this.hasButtonGroup||(r.tabIndex=-1)}),this.value=e[a].value,e[a].checked=!0,this.hasButtonGroup?e[a].shadowRoot.querySelector("button").focus():(e[a].tabIndex=0,e[a].focus()),this.value!==h&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios(),l=t.find(i=>i.checked)||t[0];l&&l.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,l;let t=this.getAllRadios();if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof w&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-4-1-0-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(l=this.shadowRoot)==null?void 0:l.querySelector("sd-4-1-0-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-4-1-0-radio")&&customElements.get("sd-4-1-0-radio-button")){this.syncRadioElements();return}customElements.get("sd-4-1-0-radio")?this.syncRadioElements():customElements.whenDefined("sd-4-1-0-radio").then(()=>this.syncRadios()),customElements.get("sd-4-1-0-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-4-1-0-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){this.getAllRadios().forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid)}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:!!t,l=this.hasSlotController.test("tooltip"),i=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${f("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message">${t||l?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${f("p-0 leading-normal text-black text-left",!e&&"hidden",this.boldLabel&&"font-bold")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${l?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${f("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-4-1-0-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${i}</sd-4-1-0-button-group>`:i}</div></fieldset>${this.formControlController.renderInvalidMessage()}`}};s.dependencies={"sd-4-1-0-button-group":M},s.styles=[...p.styles,g`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-1-0-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-1-0-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-1-0-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-1-0-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-1-0-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-1-0-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`],o([c("slot:not([name])")],s.prototype,"defaultSlot",2),o([c("#validation-input")],s.prototype,"validationInput",2),o([c("#invalid-message")],s.prototype,"invalidMessage",2),o([u()],s.prototype,"hasButtonGroup",2),o([u()],s.prototype,"defaultValue",2),o([u()],s.prototype,"showInvalidStyle",2),o([n({reflect:!0})],s.prototype,"size",2),o([n({type:Boolean,reflect:!0})],s.prototype,"required",2),o([n({reflect:!0})],s.prototype,"orientation",2),o([n()],s.prototype,"label",2),o([n({type:Boolean,reflect:!0})],s.prototype,"boldLabel",2),o([n()],s.prototype,"name",2),o([n({reflect:!0})],s.prototype,"value",2),o([n({reflect:!0})],s.prototype,"form",2),o([m("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([m("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([m("value")],s.prototype,"handleValueChange",1),s=o([y("sd-4-1-0-radio-group")],s);export{s as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk.
|
|
1
|
+
import{a}from"./chunk.TWQVHGYD.js";import{a as p,b as o,c as d,d as v,h as n}from"./chunk.GQU4LYQ6.js";import{b as l,e as t}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var r=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(e,s){return{0:this.smallSvg(s),414:this.mediumSvg(s),640:this.largeSvg(s)}[e]}largeSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(e){return e==="top"?t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:t`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return t`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return t`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":t`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return t`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(e){return t`<div class="${a({"neutral-100":"bg-neutral-100",primary:"bg-primary",white:"bg-white","border-white":"bg-transparent","border-primary":"bg-transparent",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[e],"block absolute left-0 w-full h-[1px]")}"></div>`}renderStylizedVariant(){return t`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return t`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let e=this.variant.startsWith("border-")||this.variant==="image";return t`<div class="${a({"neutral-100":"fill-neutral-100",primary:"fill-primary",white:"fill-white","border-white":"fill-transparent","border-primary":"fill-transparent",image:"fill-transparent"}[this.variant],"relative")}" part="base">${e?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};r.styles=[...n.styles,l`:host{container-type:inline-size;display:block;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan)*var(--adjacent));--curve:calc((var(--opposite) - (var(--radius)/3))*0.5)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{border-radius:0 var(--radius);height:calc(100% - var(--curve)*2);left:var(--sd-spacing-0,0);margin-top:calc(var(--curve));position:absolute;top:var(--sd-spacing-0,0);transform:skewY(calc(var(--angle)*-1))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:calc(100% + var(--curve)*2)!important;-o-object-fit:cover;object-fit:cover;position:absolute!important;transform:translateY(calc(var(--curve)*-1)) skewY(var(--angle));width:100%}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]:before{height:100%;margin-top:0;transform:unset}slot[name=image]::slotted(img),slot[name=image]::slotted(video){height:100%!important;transform:unset}}:host([variant=border-primary]){--internal-border-color:rgb(var(--sd-color-primary,0 53 142))}:host([variant=border-white]){--internal-border-color:var(--sd-color-white,#fff)}:host([variant^=border-]) [part=stylized-container]:before{border-color:var(--internal-border-color,#000);border-style:solid;border-width:2px;content:"";right:var(--sd-spacing-0,0)}`],i([v("[part=base]")],r.prototype,"containerElem",2),i([o({type:String})],r.prototype,"variant",2),i([o({type:Array})],r.prototype,"shapes",2),i([d()],r.prototype,"componentBreakpoint",2),r=i([p("sd-4-1-0-brandshape")],r);export{r as a};
|