@solid-design-system/components 5.3.0 → 5.4.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.ZD2BTY4V.js → chunk.2GZJLMSG.js} +1 -1
- package/cdn/chunks/{chunk.NZX6HEFF.js → chunk.2QJJ2GGX.js} +1 -1
- package/cdn/chunks/{chunk.DNY4VFPK.js → chunk.3CLAHKN2.js} +1 -1
- package/cdn/chunks/{chunk.XKXOGDVL.js → chunk.3V26CQAC.js} +1 -1
- package/cdn/chunks/{chunk.QZDE3U76.js → chunk.4TOZCRMQ.js} +1 -1
- package/cdn/chunks/{chunk.JHPAKIVH.js → chunk.5RTTEWNK.js} +1 -1
- package/cdn/chunks/{chunk.L7R7HWPM.js → chunk.5ZCX6DQM.js} +1 -1
- package/cdn/chunks/{chunk.YGUIAXWI.js → chunk.6IZHLO4O.js} +1 -1
- package/cdn/chunks/{chunk.YJOI3LVK.js → chunk.7ADT7GXT.js} +1 -1
- package/cdn/chunks/{chunk.RB53TXIH.js → chunk.7MCN5637.js} +1 -1
- package/cdn/chunks/{chunk.TFH63ECW.js → chunk.A6OAPRBG.js} +1 -1
- package/cdn/chunks/{chunk.EVR4OW4M.js → chunk.AXH5NVYQ.js} +1 -1
- package/cdn/chunks/{chunk.HAJRGO52.js → chunk.BMIYMDOW.js} +1 -1
- package/cdn/chunks/{chunk.LQ4YWXDS.js → chunk.BRGDAQJS.js} +1 -1
- package/cdn/chunks/{chunk.ZZAPHMNJ.js → chunk.CDTSUOUW.js} +1 -1
- package/cdn/chunks/{chunk.NAWIPCKW.js → chunk.D7A25CW2.js} +1 -1
- package/cdn/chunks/{chunk.FSSX3CPB.js → chunk.FJY2VDLX.js} +1 -1
- package/cdn/chunks/{chunk.FYS3DDEG.js → chunk.FJYTESL5.js} +1 -1
- package/cdn/chunks/{chunk.LXOFCU5E.js → chunk.G5QO6WGI.js} +1 -1
- package/cdn/chunks/{chunk.46QVV2AF.js → chunk.GEABNT3R.js} +1 -1
- package/cdn/chunks/{chunk.7HY7K4DD.js → chunk.H3HCI6UK.js} +1 -1
- package/cdn/chunks/{chunk.DF3OI6U7.js → chunk.HB34ZH5G.js} +1 -1
- package/cdn/chunks/chunk.J4OXKWHD.js +1 -0
- package/cdn/chunks/{chunk.UG3KRRRJ.js → chunk.JFRL5PI6.js} +1 -1
- package/cdn/chunks/{chunk.3NTZTRHX.js → chunk.JHLXS4RE.js} +1 -1
- package/cdn/chunks/{chunk.EKVOOBRX.js → chunk.KPL3RJW5.js} +1 -1
- package/cdn/chunks/{chunk.FMKBW5QT.js → chunk.LCFGG3XQ.js} +1 -1
- package/cdn/chunks/{chunk.VWMP7BPS.js → chunk.M7XV42AN.js} +1 -1
- package/cdn/chunks/{chunk.NOLBLLEU.js → chunk.MWXZG4SC.js} +1 -1
- package/cdn/chunks/{chunk.UB67SZHV.js → chunk.N55MQWVK.js} +1 -1
- package/cdn/chunks/{chunk.MOHNKM2J.js → chunk.NV6YZ464.js} +1 -1
- package/cdn/chunks/{chunk.QE4HSCCI.js → chunk.OEXEP6H5.js} +1 -1
- package/cdn/chunks/{chunk.IHOIDFHN.js → chunk.OHXAZE3D.js} +1 -1
- package/cdn/chunks/{chunk.Y234O3CY.js → chunk.P5JSPSW7.js} +1 -1
- package/cdn/chunks/{chunk.W5PPJ4GQ.js → chunk.P64YQW6Z.js} +1 -1
- package/cdn/chunks/{chunk.T2PGP4EB.js → chunk.P6LTY5WA.js} +1 -1
- package/cdn/chunks/{chunk.AGMKE5QS.js → chunk.PDIUVN5U.js} +1 -1
- package/cdn/chunks/{chunk.T4K2CNQN.js → chunk.PVLTPG2G.js} +1 -1
- package/cdn/chunks/{chunk.Y53EFOWJ.js → chunk.QP52PXLO.js} +1 -1
- package/cdn/chunks/{chunk.2G4YXLRI.js → chunk.RBZIMQA5.js} +1 -1
- package/cdn/chunks/{chunk.ZGVVIAOG.js → chunk.RKKBKOOP.js} +1 -1
- package/cdn/chunks/{chunk.22YQCJQR.js → chunk.SLIDD3LU.js} +1 -1
- package/cdn/chunks/{chunk.SKHBJCQX.js → chunk.TLLNLQPN.js} +1 -1
- package/cdn/chunks/{chunk.3LBHQDAN.js → chunk.TSI5Q2JI.js} +1 -1
- package/cdn/chunks/{chunk.UMEBJH2F.js → chunk.TTZGP3EJ.js} +1 -1
- package/cdn/chunks/{chunk.S6DXKEDV.js → chunk.UAUT4G77.js} +1 -1
- package/cdn/chunks/{chunk.IKZILP2H.js → chunk.VT5F2LC2.js} +1 -1
- package/cdn/chunks/{chunk.B5QNH2DJ.js → chunk.YK3BL7Z2.js} +1 -1
- package/cdn/chunks/{chunk.Y76ZS7DL.js → chunk.YYONUP4L.js} +1 -1
- package/cdn/chunks/chunk.ZAHVXNIZ.js +25 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +1 -1
- package/cdn/solid-components.bundle.js +2 -2
- package/cdn/solid-components.iife.js +2 -2
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/_components/menu/menu.js +1 -1
- package/cdn-versioned/_components/menu/menu.styles.js +1 -1
- package/cdn-versioned/_components/menu-item/menu-item.js +2 -2
- package/cdn-versioned/chunks/{chunk.ZD2BTY4V.js → chunk.2GZJLMSG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NZX6HEFF.js → chunk.2QJJ2GGX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DNY4VFPK.js → chunk.3CLAHKN2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XKXOGDVL.js → chunk.3V26CQAC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QZDE3U76.js → chunk.4TOZCRMQ.js} +4 -4
- package/cdn-versioned/chunks/{chunk.JHPAKIVH.js → chunk.5RTTEWNK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.L7R7HWPM.js → chunk.5ZCX6DQM.js} +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.YGUIAXWI.js → chunk.6IZHLO4O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YJOI3LVK.js → chunk.7ADT7GXT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RB53TXIH.js → chunk.7MCN5637.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TFH63ECW.js → chunk.A6OAPRBG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EVR4OW4M.js → chunk.AXH5NVYQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HAJRGO52.js → chunk.BMIYMDOW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LQ4YWXDS.js → chunk.BRGDAQJS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZZAPHMNJ.js → chunk.CDTSUOUW.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.NAWIPCKW.js → chunk.D7A25CW2.js} +4 -4
- package/cdn-versioned/chunks/{chunk.FSSX3CPB.js → chunk.FJY2VDLX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FYS3DDEG.js → chunk.FJYTESL5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LXOFCU5E.js → chunk.G5QO6WGI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.46QVV2AF.js → chunk.GEABNT3R.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7HY7K4DD.js → chunk.H3HCI6UK.js} +2 -2
- package/cdn-versioned/chunks/{chunk.DF3OI6U7.js → chunk.HB34ZH5G.js} +1 -1
- package/cdn-versioned/chunks/chunk.J4OXKWHD.js +1 -0
- package/cdn-versioned/chunks/{chunk.UG3KRRRJ.js → chunk.JFRL5PI6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3NTZTRHX.js → chunk.JHLXS4RE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EKVOOBRX.js → chunk.KPL3RJW5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FMKBW5QT.js → chunk.LCFGG3XQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VWMP7BPS.js → chunk.M7XV42AN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NOLBLLEU.js → chunk.MWXZG4SC.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UB67SZHV.js → chunk.N55MQWVK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MOHNKM2J.js → chunk.NV6YZ464.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QE4HSCCI.js → chunk.OEXEP6H5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IHOIDFHN.js → chunk.OHXAZE3D.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y234O3CY.js → chunk.P5JSPSW7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.W5PPJ4GQ.js → chunk.P64YQW6Z.js} +1 -1
- package/cdn-versioned/chunks/{chunk.T2PGP4EB.js → chunk.P6LTY5WA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.AGMKE5QS.js → chunk.PDIUVN5U.js} +2 -2
- package/cdn-versioned/chunks/{chunk.T4K2CNQN.js → chunk.PVLTPG2G.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y53EFOWJ.js → chunk.QP52PXLO.js} +4 -4
- package/cdn-versioned/chunks/{chunk.2G4YXLRI.js → chunk.RBZIMQA5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZGVVIAOG.js → chunk.RKKBKOOP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.22YQCJQR.js → chunk.SLIDD3LU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SKHBJCQX.js → chunk.TLLNLQPN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3LBHQDAN.js → chunk.TSI5Q2JI.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UMEBJH2F.js → chunk.TTZGP3EJ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.S6DXKEDV.js → chunk.UAUT4G77.js} +2 -2
- package/cdn-versioned/chunks/{chunk.IKZILP2H.js → chunk.VT5F2LC2.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.B5QNH2DJ.js → chunk.YK3BL7Z2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y76ZS7DL.js → chunk.YYONUP4L.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZAHVXNIZ.js +25 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +209 -209
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +17 -17
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +17 -17
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +80 -80
- package/cdn-versioned/web-types.json +137 -137
- package/dist/chunks/{chunk.QW7S2YBU.js → chunk.23SXULLQ.js} +1 -1
- package/dist/chunks/{chunk.GBEYBTXR.js → chunk.2WN7YMGY.js} +2 -2
- package/dist/chunks/{chunk.Y4I24ZO6.js → chunk.3AY4ZE3B.js} +1 -1
- package/dist/chunks/{chunk.XG7W22LV.js → chunk.3OJHLEDR.js} +1 -1
- package/dist/chunks/{chunk.LDMCWDHQ.js → chunk.4BOVS5IV.js} +16 -3
- package/dist/chunks/{chunk.4PGBJ2GY.js → chunk.4KY6NI4T.js} +1 -1
- package/dist/chunks/{chunk.F566CY7I.js → chunk.55WKP7T3.js} +1 -1
- package/dist/chunks/{chunk.O3BDNR75.js → chunk.5FFIE4YZ.js} +1 -1
- package/dist/chunks/{chunk.KNE5BF6K.js → chunk.6JJ6VBYS.js} +1 -1
- package/dist/chunks/{chunk.OLDS73I6.js → chunk.74LNGOSZ.js} +1 -1
- package/dist/chunks/{chunk.WO5BA2XB.js → chunk.7P374LCS.js} +1 -1
- package/dist/chunks/{chunk.K2V25QNC.js → chunk.AH4JSEVL.js} +1 -1
- package/dist/chunks/{chunk.4RXC63FH.js → chunk.AQ33SHN7.js} +1 -1
- package/dist/chunks/{chunk.V7YMTZ3N.js → chunk.CV47NCMS.js} +1 -1
- package/dist/chunks/{chunk.FFSBCHSN.js → chunk.DNIODML7.js} +1 -1
- package/dist/chunks/{chunk.TXB4ZASR.js → chunk.E2HV423L.js} +1 -1
- package/dist/chunks/{chunk.4MF2HV7B.js → chunk.EX6L6CQ3.js} +1 -1
- package/dist/chunks/{chunk.GJLYCNCY.js → chunk.F7CEWVTD.js} +1 -1
- package/dist/chunks/{chunk.7JXNK4NJ.js → chunk.HO2HFXMJ.js} +1 -1
- package/dist/chunks/{chunk.LWG4NNSD.js → chunk.HTULDNAU.js} +1 -1
- package/dist/chunks/{chunk.ZUDPIYKJ.js → chunk.JWORONFM.js} +1 -1
- package/dist/chunks/{chunk.6HZMUK6D.js → chunk.JWS37SX3.js} +1 -1
- package/dist/chunks/{chunk.2SR3K7I5.js → chunk.KLMMEDV3.js} +1 -1
- package/dist/chunks/{chunk.4UNV2E7R.js → chunk.KMM7NCFU.js} +1 -1
- package/dist/chunks/{chunk.ANABWMOU.js → chunk.L7EUFNUL.js} +1 -1
- package/dist/chunks/{chunk.LUAKUNET.js → chunk.LA3LK5U7.js} +1 -1
- package/dist/chunks/{chunk.45UJZYWC.js → chunk.LIZZEBBC.js} +1 -1
- package/dist/chunks/{chunk.RWMU4UKX.js → chunk.MKGGWQBV.js} +1 -1
- package/dist/chunks/{chunk.CT5ZKDT2.js → chunk.N5ISGLPU.js} +1 -1
- package/dist/chunks/{chunk.XFAV2JD2.js → chunk.O5OO4ZYT.js} +1 -1
- package/dist/chunks/{chunk.YQJFQIPM.js → chunk.OGZQTS5F.js} +1 -1
- package/dist/chunks/{chunk.UT27ILJE.js → chunk.OSVHP3IT.js} +1 -1
- package/dist/chunks/{chunk.ICXTSWJJ.js → chunk.PBPSZJYK.js} +1 -1
- package/dist/chunks/{chunk.FGXRVZGB.js → chunk.PFIUB53L.js} +1 -1
- package/dist/chunks/{chunk.6EXG6JHO.js → chunk.RPLU56MF.js} +1 -1
- package/dist/chunks/{chunk.KMUQ4MOS.js → chunk.S5CIECBU.js} +1 -1
- package/dist/chunks/{chunk.U3PCY4NW.js → chunk.TBUESXVZ.js} +1 -1
- package/dist/chunks/{chunk.A6V2BWCM.js → chunk.TPMPCCRV.js} +2 -2
- package/dist/chunks/{chunk.EFZENYQR.js → chunk.TQ4DIMUW.js} +1 -1
- package/dist/chunks/{chunk.XI2DU4KV.js → chunk.TR7F4J6K.js} +1 -1
- package/dist/chunks/{chunk.TVCQ7G4C.js → chunk.VCDQPSR5.js} +1 -1
- package/dist/chunks/{chunk.6IEX7Z5F.js → chunk.VVDUCRRF.js} +1 -1
- package/dist/chunks/chunk.WJ3R5TMO.js +81 -0
- package/dist/chunks/{chunk.IKFOP6PV.js → chunk.XNNCGTSI.js} +1 -1
- package/dist/chunks/{chunk.H4NA5LSX.js → chunk.XR4CBBMX.js} +1 -1
- package/dist/chunks/{chunk.JHAZCKUZ.js → chunk.XVF5EILY.js} +2 -2
- package/dist/chunks/{chunk.KJ7FHSEC.js → chunk.Y6OGZSS6.js} +1 -1
- package/dist/chunks/{chunk.WYETTGSI.js → chunk.YLAUIXEA.js} +1 -1
- package/dist/chunks/{chunk.XBQF6SYZ.js → chunk.ZLD7GEOS.js} +1 -1
- package/dist/chunks/{chunk.FUTLFMTI.js → chunk.ZRSPZUZY.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +6 -6
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +3 -3
- package/dist/components/flipcard/flipcard.js +5 -5
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +3 -3
- package/dist/components/link/link.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +4 -4
- package/dist/components/notification/notification.js +5 -5
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/scrollable/scrollable.js +3 -3
- package/dist/components/select/select.js +5 -5
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +3 -3
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +3 -3
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/video/video.js +3 -3
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/_components/menu/menu.js +1 -1
- package/dist-versioned/_components/menu/menu.styles.js +1 -1
- package/dist-versioned/_components/menu-item/menu-item.js +2 -2
- package/dist-versioned/chunks/{chunk.QW7S2YBU.js → chunk.23SXULLQ.js} +4 -4
- package/dist-versioned/chunks/{chunk.GBEYBTXR.js → chunk.2WN7YMGY.js} +8 -8
- package/dist-versioned/chunks/{chunk.Y4I24ZO6.js → chunk.3AY4ZE3B.js} +2 -2
- package/dist-versioned/chunks/{chunk.XG7W22LV.js → chunk.3OJHLEDR.js} +5 -5
- package/dist-versioned/chunks/{chunk.LDMCWDHQ.js → chunk.4BOVS5IV.js} +18 -5
- package/dist-versioned/chunks/{chunk.4PGBJ2GY.js → chunk.4KY6NI4T.js} +10 -10
- package/dist-versioned/chunks/{chunk.F566CY7I.js → chunk.55WKP7T3.js} +25 -25
- package/dist-versioned/chunks/{chunk.O3BDNR75.js → chunk.5FFIE4YZ.js} +3 -3
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.KNE5BF6K.js → chunk.6JJ6VBYS.js} +3 -3
- package/dist-versioned/chunks/{chunk.OLDS73I6.js → chunk.74LNGOSZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.WO5BA2XB.js → chunk.7P374LCS.js} +3 -3
- package/dist-versioned/chunks/{chunk.K2V25QNC.js → chunk.AH4JSEVL.js} +2 -2
- package/dist-versioned/chunks/{chunk.4RXC63FH.js → chunk.AQ33SHN7.js} +6 -6
- package/dist-versioned/chunks/{chunk.V7YMTZ3N.js → chunk.CV47NCMS.js} +5 -5
- package/dist-versioned/chunks/{chunk.FFSBCHSN.js → chunk.DNIODML7.js} +2 -2
- package/dist-versioned/chunks/{chunk.TXB4ZASR.js → chunk.E2HV423L.js} +3 -3
- package/dist-versioned/chunks/{chunk.4MF2HV7B.js → chunk.EX6L6CQ3.js} +2 -2
- package/dist-versioned/chunks/{chunk.GJLYCNCY.js → chunk.F7CEWVTD.js} +3 -3
- package/dist-versioned/chunks/{chunk.7JXNK4NJ.js → chunk.HO2HFXMJ.js} +2 -2
- package/dist-versioned/chunks/{chunk.LWG4NNSD.js → chunk.HTULDNAU.js} +12 -12
- package/dist-versioned/chunks/{chunk.ZUDPIYKJ.js → chunk.JWORONFM.js} +2 -2
- package/dist-versioned/chunks/{chunk.6HZMUK6D.js → chunk.JWS37SX3.js} +4 -4
- package/dist-versioned/chunks/{chunk.2SR3K7I5.js → chunk.KLMMEDV3.js} +3 -3
- package/dist-versioned/chunks/{chunk.4UNV2E7R.js → chunk.KMM7NCFU.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.ANABWMOU.js → chunk.L7EUFNUL.js} +6 -6
- package/dist-versioned/chunks/{chunk.LUAKUNET.js → chunk.LA3LK5U7.js} +9 -9
- package/dist-versioned/chunks/{chunk.45UJZYWC.js → chunk.LIZZEBBC.js} +6 -6
- package/dist-versioned/chunks/{chunk.RWMU4UKX.js → chunk.MKGGWQBV.js} +2 -2
- package/dist-versioned/chunks/{chunk.CT5ZKDT2.js → chunk.N5ISGLPU.js} +2 -2
- package/dist-versioned/chunks/{chunk.XFAV2JD2.js → chunk.O5OO4ZYT.js} +2 -2
- package/dist-versioned/chunks/{chunk.YQJFQIPM.js → chunk.OGZQTS5F.js} +5 -5
- package/dist-versioned/chunks/{chunk.UT27ILJE.js → chunk.OSVHP3IT.js} +3 -3
- package/dist-versioned/chunks/{chunk.ICXTSWJJ.js → chunk.PBPSZJYK.js} +3 -3
- package/dist-versioned/chunks/{chunk.FGXRVZGB.js → chunk.PFIUB53L.js} +6 -6
- package/dist-versioned/chunks/{chunk.6EXG6JHO.js → chunk.RPLU56MF.js} +3 -3
- package/dist-versioned/chunks/{chunk.KMUQ4MOS.js → chunk.S5CIECBU.js} +3 -3
- package/dist-versioned/chunks/{chunk.U3PCY4NW.js → chunk.TBUESXVZ.js} +2 -2
- package/dist-versioned/chunks/{chunk.A6V2BWCM.js → chunk.TPMPCCRV.js} +5 -5
- package/dist-versioned/chunks/{chunk.EFZENYQR.js → chunk.TQ4DIMUW.js} +3 -3
- package/dist-versioned/chunks/{chunk.XI2DU4KV.js → chunk.TR7F4J6K.js} +15 -15
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.TVCQ7G4C.js → chunk.VCDQPSR5.js} +3 -3
- package/dist-versioned/chunks/{chunk.6IEX7Z5F.js → chunk.VVDUCRRF.js} +2 -2
- package/dist-versioned/chunks/chunk.WJ3R5TMO.js +81 -0
- package/dist-versioned/chunks/{chunk.IKFOP6PV.js → chunk.XNNCGTSI.js} +27 -27
- package/dist-versioned/chunks/{chunk.H4NA5LSX.js → chunk.XR4CBBMX.js} +2 -2
- package/dist-versioned/chunks/{chunk.JHAZCKUZ.js → chunk.XVF5EILY.js} +14 -14
- package/dist-versioned/chunks/{chunk.KJ7FHSEC.js → chunk.Y6OGZSS6.js} +3 -3
- package/dist-versioned/chunks/{chunk.WYETTGSI.js → chunk.YLAUIXEA.js} +3 -3
- package/dist-versioned/chunks/{chunk.XBQF6SYZ.js → chunk.ZLD7GEOS.js} +4 -4
- package/dist-versioned/chunks/{chunk.FUTLFMTI.js → chunk.ZRSPZUZY.js} +7 -7
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +6 -6
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +5 -5
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +5 -5
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +3 -3
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +5 -5
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +5 -5
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +3 -3
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +5 -5
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +3 -3
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +3 -3
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +3 -3
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +3 -3
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +4 -4
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +3 -3
- package/dist-versioned/custom-elements.json +209 -209
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +50 -50
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +80 -80
- package/dist-versioned/web-types.json +137 -137
- package/package.json +7 -7
- package/cdn/chunks/chunk.7ZUTOTLK.js +0 -1
- package/cdn/chunks/chunk.IL2VKLCZ.js +0 -25
- package/cdn-versioned/chunks/chunk.7ZUTOTLK.js +0 -1
- package/cdn-versioned/chunks/chunk.IL2VKLCZ.js +0 -25
- package/dist/chunks/chunk.XHYWBX6K.js +0 -81
- package/dist-versioned/chunks/chunk.XHYWBX6K.js +0 -81
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -17,19 +17,19 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
17
17
|
}
|
|
18
18
|
handleFocus(event) {
|
|
19
19
|
const button = findButton(event.target);
|
|
20
|
-
button == null ? void 0 : button.classList.add("sd-5-
|
|
20
|
+
button == null ? void 0 : button.classList.add("sd-5-4-0-button-group__button--focus");
|
|
21
21
|
}
|
|
22
22
|
handleBlur(event) {
|
|
23
23
|
const button = findButton(event.target);
|
|
24
|
-
button == null ? void 0 : button.classList.remove("sd-5-
|
|
24
|
+
button == null ? void 0 : button.classList.remove("sd-5-4-0-button-group__button--focus");
|
|
25
25
|
}
|
|
26
26
|
handleMouseOver(event) {
|
|
27
27
|
const button = findButton(event.target);
|
|
28
|
-
button == null ? void 0 : button.classList.add("sd-5-
|
|
28
|
+
button == null ? void 0 : button.classList.add("sd-5-4-0-button-group__button--hover");
|
|
29
29
|
}
|
|
30
30
|
handleMouseOut(event) {
|
|
31
31
|
const button = findButton(event.target);
|
|
32
|
-
button == null ? void 0 : button.classList.remove("sd-5-
|
|
32
|
+
button == null ? void 0 : button.classList.remove("sd-5-4-0-button-group__button--hover");
|
|
33
33
|
}
|
|
34
34
|
handleSlotChange() {
|
|
35
35
|
const slottedElements = [...this.defaultSlot.assignedElements({ flatten: true })];
|
|
@@ -37,11 +37,11 @@ var SdButtonGroup = class extends SolidElement {
|
|
|
37
37
|
const index = slottedElements.indexOf(el);
|
|
38
38
|
const button = findButton(el);
|
|
39
39
|
if (button !== null) {
|
|
40
|
-
button.classList.add("sd-5-
|
|
41
|
-
button.classList.toggle("sd-5-
|
|
42
|
-
button.classList.toggle("sd-5-
|
|
43
|
-
button.classList.toggle("sd-5-
|
|
44
|
-
button.classList.toggle("sd-5-
|
|
40
|
+
button.classList.add("sd-5-4-0-button-group__button");
|
|
41
|
+
button.classList.toggle("sd-5-4-0-button-group__button--first", index === 0);
|
|
42
|
+
button.classList.toggle("sd-5-4-0-button-group__button--inner", index > 0 && index < slottedElements.length - 1);
|
|
43
|
+
button.classList.toggle("sd-5-4-0-button-group__button--last", index === slottedElements.length - 1);
|
|
44
|
+
button.classList.toggle("sd-5-4-0-button-group__button--radio", button.tagName.toLowerCase() === "sd-5-4-0-radio-button");
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
}
|
|
@@ -63,11 +63,11 @@ __decorateClass([
|
|
|
63
63
|
property({ type: String, reflect: true })
|
|
64
64
|
], SdButtonGroup.prototype, "label", 2);
|
|
65
65
|
SdButtonGroup = __decorateClass([
|
|
66
|
-
customElement("sd-5-
|
|
66
|
+
customElement("sd-5-4-0-button-group")
|
|
67
67
|
], SdButtonGroup);
|
|
68
68
|
function findButton(el) {
|
|
69
69
|
var _a;
|
|
70
|
-
const selector = "sd-5-
|
|
70
|
+
const selector = "sd-5-4-0-button, sd-5-4-0-radio-button";
|
|
71
71
|
return (_a = el.closest(selector)) != null ? _a : el.querySelector(selector);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
SolidElement,
|
|
14
14
|
customElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["name", "src", "library"])
|
|
127
127
|
], SdIcon.prototype, "setIcon", 1);
|
|
128
128
|
SdIcon = __decorateClass([
|
|
129
|
-
customElement("sd-5-
|
|
129
|
+
customElement("sd-5-4-0-icon")
|
|
130
130
|
], SdIcon);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass,
|
|
22
22
|
__spreadValues
|
|
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
|
|
|
385
385
|
this.size === "sm" ? "h-6" : "h-8",
|
|
386
386
|
textSize
|
|
387
387
|
)}" 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="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
388
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @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-5-
|
|
388
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @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-5-4-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-4-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-4-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-4-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-4-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-4-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-4-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-4-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-4-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-4-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-4-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-4-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-4-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-4-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-4-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-4-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-4-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-4-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-4-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-4-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
/**
|
|
@@ -393,7 +393,7 @@ var SdInput = class extends SolidElement {
|
|
|
393
393
|
*/
|
|
394
394
|
SdInput.styles = [
|
|
395
395
|
...SolidElement.styles,
|
|
396
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-
|
|
396
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-4-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
397
397
|
];
|
|
398
398
|
__decorateClass([
|
|
399
399
|
query("#input")
|
|
@@ -523,7 +523,7 @@ __decorateClass([
|
|
|
523
523
|
watch("value", { waitUntilFirstUpdate: true })
|
|
524
524
|
], SdInput.prototype, "handleValueChange", 1);
|
|
525
525
|
SdInput = __decorateClass([
|
|
526
|
-
customElement("sd-5-
|
|
526
|
+
customElement("sd-5-4-0-input")
|
|
527
527
|
], SdInput);
|
|
528
528
|
|
|
529
529
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -84,7 +84,7 @@ var SdRadioButton = class extends SolidElement {
|
|
|
84
84
|
};
|
|
85
85
|
SdRadioButton.styles = [
|
|
86
86
|
...SolidElement.styles,
|
|
87
|
-
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-5-
|
|
87
|
+
css`:host{display:block;width:-moz-min-content;width:min-content}.hidden-input{all:unset;inset:var(--sd-spacing-0,0);opacity:var(--sd-opacity-0,0);outline-color:rgb(var(--sd-color-error,204 25 55)/1);outline-style:dotted;outline-width:1px;position:absolute;z-index:-10}.lg-label,.lg-no-label{height:var(--sd-spacing-12,3rem)}.lg-no-label{width:var(--sd-spacing-12,3rem)}.md-label,.md-no-label{height:var(--sd-spacing-10,2.5rem)}.md-no-label{width:var(--sd-spacing-10,2.5rem)}.sm-label,.sm-no-label{height:var(--sd-spacing-8,2rem)}.sm-no-label{width:var(--sd-spacing-8,2rem)}:host(.sd-5-4-0-button-group__button--first:not(.sd-5-4-0-button-group__button--last)) button{border-bottom-right-radius:var(--sd-border-radius-none,0);border-top-right-radius:var(--sd-border-radius-none,0)}:host(.sd-5-4-0-button-group__button--inner) button{border-radius:var(--sd-border-radius-none,0)}:host(.sd-5-4-0-button-group__button--last:not(.sd-5-4-0-button-group__button--first)) button{border-bottom-left-radius:var(--sd-border-radius-none,0);border-top-left-radius:var(--sd-border-radius-none,0)}:host(.sd-5-4-0-button-group__button:not(.sd-5-4-0-button-group__button--first)){margin-inline-start:-1px}:host(.sd-5-4-0-button-group__button--hover){z-index:10}:host(.sd-5-4-0-button-group__button--focus),:host(.sd-5-4-0-button-group__button[checked]){z-index:20}`
|
|
88
88
|
];
|
|
89
89
|
__decorateClass([
|
|
90
90
|
query(".button")
|
|
@@ -114,7 +114,7 @@ __decorateClass([
|
|
|
114
114
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
115
115
|
], SdRadioButton.prototype, "handleDisabledChange", 1);
|
|
116
116
|
SdRadioButton = __decorateClass([
|
|
117
|
-
customElement("sd-5-
|
|
117
|
+
customElement("sd-5-4-0-radio-button")
|
|
118
118
|
], SdRadioButton);
|
|
119
119
|
|
|
120
120
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -71,7 +71,7 @@ var SdRadio = class extends SolidElement {
|
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
73
|
return html`<span part="base" class="${cx(
|
|
74
|
-
"sd-5-
|
|
74
|
+
"sd-5-4-0-radio group inline-flex items-start items-center text-base leading-normal text-black cursor-pointer align-middle",
|
|
75
75
|
(this.disabled || this.visuallyDisabled) && "hover:cursor-not-allowed",
|
|
76
76
|
{
|
|
77
77
|
/* sizes, fonts */
|
|
@@ -126,7 +126,7 @@ __decorateClass([
|
|
|
126
126
|
watch(["disabled", "visually-disabled"], { waitUntilFirstUpdate: true })
|
|
127
127
|
], SdRadio.prototype, "handleDisabledChange", 1);
|
|
128
128
|
SdRadio = __decorateClass([
|
|
129
|
-
customElement("sd-5-
|
|
129
|
+
customElement("sd-5-4-0-radio")
|
|
130
130
|
], SdRadio);
|
|
131
131
|
|
|
132
132
|
export {
|
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
|
16
16
|
const name = this.options.name(this.host);
|
|
17
17
|
const value = this.options.value(this.host);
|
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-5-
|
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-5-4-0-button";
|
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
|
20
20
|
if (Array.isArray(value)) {
|
|
21
21
|
value.forEach((val) => {
|
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
|
40
40
|
event.stopImmediatePropagation();
|
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-5-
|
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-5-4-0-radio-group"
|
|
44
44
|
);
|
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
|
46
46
|
var _a2, _b2;
|
|
@@ -88,7 +88,7 @@ var FormControlController = class {
|
|
|
88
88
|
},
|
|
89
89
|
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
|
90
90
|
setValue: (input, value) => input.value = value,
|
|
91
|
-
assumeInteractionOn: ["sd-5-
|
|
91
|
+
assumeInteractionOn: ["sd-5-4-0-input"]
|
|
92
92
|
}, options);
|
|
93
93
|
}
|
|
94
94
|
hostConnected() {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SolidElement,
|
|
16
16
|
customElement
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
18
18
|
import {
|
|
19
19
|
animateTo,
|
|
20
20
|
parseDuration,
|
|
@@ -202,15 +202,15 @@ var SdTooltip = class extends SolidElement {
|
|
|
202
202
|
render() {
|
|
203
203
|
const isStart = this.placement.endsWith("-start");
|
|
204
204
|
const isEnd = this.placement.endsWith("-end");
|
|
205
|
-
return html`<sd-5-
|
|
205
|
+
return html`<sd-5-4-0-popup part="base" exportparts="
|
|
206
206
|
popup:base__popup,
|
|
207
207
|
arrow:base__arrow
|
|
208
|
-
" 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">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-
|
|
208
|
+
" 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">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-4-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-4-0-icon></button>`}<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="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-4-0-popup>`;
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
SdTooltip.styles = [
|
|
212
212
|
...SolidElement.styles,
|
|
213
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-
|
|
213
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-4-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-4-0-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-5-4-0-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-5-4-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-4-0-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}`
|
|
214
214
|
];
|
|
215
215
|
__decorateClass([
|
|
216
216
|
query("slot:not([name])")
|
|
@@ -219,7 +219,7 @@ __decorateClass([
|
|
|
219
219
|
query("#tooltip")
|
|
220
220
|
], SdTooltip.prototype, "body", 2);
|
|
221
221
|
__decorateClass([
|
|
222
|
-
query("sd-5-
|
|
222
|
+
query("sd-5-4-0-popup")
|
|
223
223
|
], SdTooltip.prototype, "popup", 2);
|
|
224
224
|
__decorateClass([
|
|
225
225
|
property({ type: String, reflect: true })
|
|
@@ -252,7 +252,7 @@ __decorateClass([
|
|
|
252
252
|
watch("disabled")
|
|
253
253
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
254
254
|
SdTooltip = __decorateClass([
|
|
255
|
-
customElement("sd-5-
|
|
255
|
+
customElement("sd-5-4-0-tooltip")
|
|
256
256
|
], SdTooltip);
|
|
257
257
|
setDefaultAnimation("tooltip.show", {
|
|
258
258
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -129,7 +129,7 @@ var SdScrollable = class extends SolidElement {
|
|
|
129
129
|
down: this.upButton
|
|
130
130
|
}[direction];
|
|
131
131
|
const label = reachedStart ? `${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}` : `${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;
|
|
132
|
-
(_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-5-
|
|
132
|
+
(_c = oppositeButton == null ? void 0 : oppositeButton.querySelector("sd-5-4-0-icon")) == null ? void 0 : _c.setAttribute("label", label);
|
|
133
133
|
if (isKeyboardTriggered) {
|
|
134
134
|
oppositeButton == null ? void 0 : oppositeButton.focus();
|
|
135
135
|
} else {
|
|
@@ -141,7 +141,7 @@ var SdScrollable = class extends SolidElement {
|
|
|
141
141
|
const scrollTo = ["left", "up"].includes(direction) ? "start" : "end";
|
|
142
142
|
const label = scrollTo === "start" ? this.localize.term("scrollToStart") : this.localize.term("scrollToEnd");
|
|
143
143
|
const button = e.target;
|
|
144
|
-
(_a = button.querySelector("sd-5-
|
|
144
|
+
(_a = button.querySelector("sd-5-4-0-icon")) == null ? void 0 : _a.setAttribute("label", label);
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
147
|
const scrollButtonClasses = "relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg";
|
|
@@ -158,16 +158,16 @@ var SdScrollable = class extends SolidElement {
|
|
|
158
158
|
)}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons ? html`${this.isScrollHorizontalEnabled ? html`<div part="button-left" class="${cx(
|
|
159
159
|
"absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",
|
|
160
160
|
!this.canScroll.left && "opacity-0 pointer-events-none"
|
|
161
|
-
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-5-
|
|
161
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.left || void 0)}" tabindex="${ifDefined(!this.canScroll.left ? -1 : void 0)}" @click="${(e) => this.handleScroll("left", e)}" @blur="${(e) => this.handleButtonBlur("left", e)}"><slot name="icon-start"><sd-5-4-0-icon library="_internal" name="chevron-up" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-5-4-0-icon></slot></button></div><div part="button-right" class="${cx(
|
|
162
162
|
"absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",
|
|
163
163
|
!this.canScroll.right && "opacity-0 pointer-events-none"
|
|
164
|
-
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-5-
|
|
164
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.right || void 0)}" tabindex="${ifDefined(!this.canScroll.right ? -1 : void 0)}" @click="${(e) => this.handleScroll("right", e)}" @blur="${(e) => this.handleButtonBlur("right", e)}"><slot name="icon-end"><sd-5-4-0-icon library="_internal" name="chevron-down" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-5-4-0-icon></slot></button></div>` : null} ${this.isScrollVerticalEnabled ? html`<div part="button-top" class="${cx(
|
|
165
165
|
"absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",
|
|
166
166
|
!this.canScroll.up && "opacity-0 pointer-events-none"
|
|
167
|
-
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-5-
|
|
167
|
+
)}"><button part="button-start" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.up || void 0)}" tabindex="${ifDefined(!this.canScroll.up ? -1 : void 0)}" @click="${(e) => this.handleScroll("up", e)}" @blur="${(e) => this.handleButtonBlur("up", e)}"><slot name="icon-start"><sd-5-4-0-icon library="_internal" name="chevron-up" label="${this.localize.term("scrollToStart")}"></sd-5-4-0-icon></slot></button></div><div part="button-bottom" class="${cx(
|
|
168
168
|
"absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",
|
|
169
169
|
!this.canScroll.down && "opacity-0 pointer-events-none"
|
|
170
|
-
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-5-
|
|
170
|
+
)}"><button part="button-end" class="${cx(scrollButtonClasses)}" aria-hidden="${ifDefined(!this.canScroll.down || void 0)}" tabindex="${ifDefined(!this.canScroll.down ? -1 : void 0)}" @click="${(e) => this.handleScroll("down", e)}" @blur="${(e) => this.handleButtonBlur("down", e)}"><slot name="icon-end"><sd-5-4-0-icon library="_internal" name="chevron-down" label="${this.localize.term("scrollToEnd")}"></sd-5-4-0-icon></slot></button></div>` : null}` : null} ${this.shadows ? html`${this.isScrollHorizontalEnabled ? html`<div part="shadow-left" class="${cx(
|
|
171
171
|
"left top-0 left-0 w-[6px] h-full",
|
|
172
172
|
scrollShadowClasses,
|
|
173
173
|
this.canScroll.left ? "opacity-100" : "opacity-0"
|
|
@@ -188,7 +188,7 @@ var SdScrollable = class extends SolidElement {
|
|
|
188
188
|
};
|
|
189
189
|
SdScrollable.styles = [
|
|
190
190
|
...SolidElement.styles,
|
|
191
|
-
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-
|
|
191
|
+
css`:host{--gradient-color:hsla(0,0%,100%,0);--gradient:var(--gradient-color) 0%,#fff 80%,#fff 100%;display:flex;overflow:hidden;position:relative}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-border-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-right]{background:linear-gradient(90deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-top]{background:linear-gradient(0deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}[part=shadow-bottom]{background:linear-gradient(180deg,hsla(0,0%,9%,0) 50%,hsla(0,0%,9%,.4))}.sd-5-4-0-icon--top{align-self:flex-start}.sd-5-4-0-icon--down{align-self:flex-end}`
|
|
192
192
|
];
|
|
193
193
|
__decorateClass([
|
|
194
194
|
query('[part="button-right"] button')
|
|
@@ -236,7 +236,7 @@ __decorateClass([
|
|
|
236
236
|
state()
|
|
237
237
|
], SdScrollable.prototype, "isScrollVerticalEnabled", 2);
|
|
238
238
|
SdScrollable = __decorateClass([
|
|
239
|
-
customElement("sd-5-
|
|
239
|
+
customElement("sd-5-4-0-scrollable")
|
|
240
240
|
], SdScrollable);
|
|
241
241
|
|
|
242
242
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -117,16 +117,16 @@ var SdNavigationItem = class extends SolidElement {
|
|
|
117
117
|
slots["description"] && "pt-3",
|
|
118
118
|
slots["description"] || this.separated ? "pb-1" : horizontalPadding,
|
|
119
119
|
this.calculatePaddingX
|
|
120
|
-
)}">${this.divider && this.vertical ? html`<sd-5-
|
|
120
|
+
)}">${this.divider && this.vertical ? html`<sd-5-4-0-divider part="divider" class="${cx("w-full transition-all absolute -top-0.25 left-0", this.calculatePaddingX)}"></sd-5-4-0-divider>` : ""} <span part="content-container" class="inline-flex items-center flex-auto">${this.separated ? html`<a class="${cx(
|
|
121
121
|
"mr-4 w-full inline-flex items-center pl-4 cursor-pointer relative focus-visible:focus-outline hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",
|
|
122
122
|
!slots["description"] && "py-4"
|
|
123
|
-
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline-flex"></slot></a>` : html`<slot part="content" class="inline-flex"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-
|
|
123
|
+
)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}"><slot part="content" class="inline-flex"></slot></a>` : html`<slot part="content" class="inline-flex"></slot>`} </span>${(this.chevron || slots["children"]) && this.vertical ? this.separated ? html`<button type="button" title="${this.open ? this.localize.term("collapseNavigationItem") : this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset" @click="${this.handleClickSummary}"><sd-5-4-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
124
124
|
"m-4 h-6 w-6 transition-all",
|
|
125
125
|
isAccordion || this.separated ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
126
|
-
)}"></sd-5-
|
|
126
|
+
)}"></sd-5-4-0-icon></button>` : html`<sd-5-4-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${cx(
|
|
127
127
|
"h-6 w-6 ml-2 transition-all",
|
|
128
128
|
isAccordion ? this.open ? "rotate-180" : "rotate-0" : "rotate-[270deg]"
|
|
129
|
-
)}"></sd-5-
|
|
129
|
+
)}"></sd-5-4-0-icon>` : ""} </span>${slots["description"] && this.vertical ? html`<slot name="description" part="description" class="${cx(
|
|
130
130
|
"inline-block text-sm text-left text-black pb-3",
|
|
131
131
|
isAccordion || this.separated ? "grow" : "w-full",
|
|
132
132
|
this.separated ? "px-4" : this.calculatePaddingX
|
|
@@ -190,7 +190,7 @@ __decorateClass([
|
|
|
190
190
|
property({ type: Boolean, reflect: true })
|
|
191
191
|
], SdNavigationItem.prototype, "separated", 2);
|
|
192
192
|
SdNavigationItem = __decorateClass([
|
|
193
|
-
customElement("sd-5-
|
|
193
|
+
customElement("sd-5-4-0-navigation-item")
|
|
194
194
|
], SdNavigationItem);
|
|
195
195
|
|
|
196
196
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -25,7 +25,7 @@ SdCarouselItem.styles = [
|
|
|
25
25
|
css`:host{align-items:center;aspect-ratio:var(--aspect-ratio);display:flex;flex-direction:column;height:100%;justify-content:center;scroll-snap-align:start;scroll-snap-stop:always;width:100%}::slotted(img){height:100%;-o-object-fit:cover;object-fit:cover;width:100%}`
|
|
26
26
|
];
|
|
27
27
|
SdCarouselItem = __decorateClass([
|
|
28
|
-
customElement("sd-5-
|
|
28
|
+
customElement("sd-5-4-0-carousel-item")
|
|
29
29
|
], SdCarouselItem);
|
|
30
30
|
|
|
31
31
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -137,7 +137,7 @@ __decorateClass([
|
|
|
137
137
|
state()
|
|
138
138
|
], SdBrandshape.prototype, "componentBreakpoint", 2);
|
|
139
139
|
SdBrandshape = __decorateClass([
|
|
140
|
-
customElement("sd-5-
|
|
140
|
+
customElement("sd-5-4-0-brandshape")
|
|
141
141
|
], SdBrandshape);
|
|
142
142
|
|
|
143
143
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -68,7 +68,7 @@ __decorateClass([
|
|
|
68
68
|
watch("src")
|
|
69
69
|
], SdInclude.prototype, "handleSrcChange", 1);
|
|
70
70
|
SdInclude = __decorateClass([
|
|
71
|
-
customElement("sd-5-
|
|
71
|
+
customElement("sd-5-4-0-include")
|
|
72
72
|
], SdInclude);
|
|
73
73
|
|
|
74
74
|
export {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
SolidElement,
|
|
13
13
|
customElement
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
15
15
|
import {
|
|
16
16
|
__decorateClass
|
|
17
17
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -221,7 +221,7 @@ var SdButton = class extends SolidElement {
|
|
|
221
221
|
md: "ml-2",
|
|
222
222
|
lg: "ml-2"
|
|
223
223
|
}[this.size]
|
|
224
|
-
)}"></slot>${this.loading ? html`<sd-5-
|
|
224
|
+
)}"></slot>${this.loading ? html`<sd-5-4-0-spinner class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-5-4-0-spinner>` : ""}</${tag}>`;
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
@@ -229,13 +229,13 @@ var SdButton = class extends SolidElement {
|
|
|
229
229
|
*/
|
|
230
230
|
SdButton.styles = [
|
|
231
231
|
...SolidElement.styles,
|
|
232
|
-
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto);z-index:0}sd-5-
|
|
232
|
+
css`:host{cursor:pointer;display:inline-block;position:relative;width:var(--sd-spacing-auto,auto);z-index:0}sd-5-4-0-spinner{--indicator-color:currentColor;--track-color:var(--tw-varcolor-200)}::slotted(sd-5-4-0-badge){pointer-events:none;position:absolute;right:var(--sd-spacing-0,0);top:var(--sd-spacing-0,0);--tw-translate-x:50%!important;--tw-translate-y:-50%!important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}::slotted(sd-5-4-0-icon),sd-5-4-0-spinner{font-size:calc(var(--tw-varspacing)/2)}`
|
|
233
233
|
];
|
|
234
234
|
__decorateClass([
|
|
235
235
|
query("a, button")
|
|
236
236
|
], SdButton.prototype, "button", 2);
|
|
237
237
|
__decorateClass([
|
|
238
|
-
queryAssignedElements({ selector: "sd-5-
|
|
238
|
+
queryAssignedElements({ selector: "sd-5-4-0-icon" })
|
|
239
239
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
240
240
|
__decorateClass([
|
|
241
241
|
state()
|
|
@@ -301,7 +301,7 @@ __decorateClass([
|
|
|
301
301
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
302
302
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
303
303
|
SdButton = __decorateClass([
|
|
304
|
-
customElement("sd-5-
|
|
304
|
+
customElement("sd-5-4-0-button")
|
|
305
305
|
], SdButton);
|
|
306
306
|
|
|
307
307
|
export {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SolidElement,
|
|
6
6
|
customElement
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -80,7 +80,7 @@ var SdTag = class extends SolidElement {
|
|
|
80
80
|
!this.removable ? "hover:border-primary-500 hover:bg-neutral-100 hover:text-primary-500" : "has-[button:hover]:border-primary-500 has-[button:hover]:bg-neutral-100 has-[button:hover]:text-primary-500"
|
|
81
81
|
) : "bg-primary border-primary text-white hover:bg-primary-500 hover:border-primary-500 disabled:bg-neutral-500 disabled:border-neutral-500",
|
|
82
82
|
this.disabled && !isLink && "cursor-not-allowed"
|
|
83
|
-
)}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-
|
|
83
|
+
)}"><slot id="content" part="content"></slot>${this.removable ? html`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}"><slot part="removable-indicator" name="removable-indicator"><sd-5-4-0-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-5-4-0-icon></slot></button>` : ""}</${tag}>`;
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
SdTag.styles = [
|
|
@@ -115,7 +115,7 @@ __decorateClass([
|
|
|
115
115
|
property({ reflect: true })
|
|
116
116
|
], SdTag.prototype, "download", 2);
|
|
117
117
|
SdTag = __decorateClass([
|
|
118
|
-
customElement("sd-5-
|
|
118
|
+
customElement("sd-5-4-0-tag")
|
|
119
119
|
], SdTag);
|
|
120
120
|
|
|
121
121
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -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-5-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-4-0-divider[orientation=horizontal]){display:block}:host(sd-5-4-0-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, 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-5-
|
|
44
|
+
customElement("sd-5-4-0-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.WJ3R5TMO.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-5-
|
|
29
|
+
return [...this.querySelectorAll("sd-5-4-0-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-5-
|
|
42
|
+
if (customElements.get("sd-5-4-0-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-5-
|
|
45
|
+
customElements.whenDefined("sd-5-4-0-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-4-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-4-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-4-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-4-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-4-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-4-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-5-
|
|
103
|
+
customElement("sd-5-4-0-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|