@solid-design-system/components 4.5.0 → 4.5.2
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-versioned/chunks/chunk.JDSUZDP4.js → cdn/chunks/chunk.2GY6T6QS.js} +1 -1
- package/cdn/chunks/{chunk.5YWPH3S7.js → chunk.2QVXJFPL.js} +1 -1
- package/cdn/chunks/{chunk.IUC5UQ2V.js → chunk.3X7ETFNY.js} +1 -1
- package/cdn/chunks/{chunk.NW6W2FSS.js → chunk.4T3MMIEQ.js} +1 -1
- package/cdn/chunks/{chunk.WJ55QSS3.js → chunk.4XZVXBNJ.js} +1 -1
- package/cdn/chunks/{chunk.SDZ6E4CH.js → chunk.5674RCSA.js} +1 -1
- package/cdn/chunks/{chunk.2BLQ3VDT.js → chunk.5AE46ABJ.js} +4 -4
- package/{cdn-versioned/chunks/chunk.DLY5AX2P.js → cdn/chunks/chunk.5IYTJ7AF.js} +1 -1
- package/{cdn-versioned/chunks/chunk.WMV7GLXF.js → cdn/chunks/chunk.5NXE2OTZ.js} +1 -1
- package/cdn/chunks/{chunk.CNGIUOE5.js → chunk.5PTPXZR2.js} +1 -1
- package/{cdn-versioned/chunks/chunk.V3YHI2G2.js → cdn/chunks/chunk.5ZCRDWIG.js} +1 -1
- package/cdn/chunks/{chunk.F45IDVYA.js → chunk.63QVXIWO.js} +1 -1
- package/cdn/chunks/{chunk.HT2MRC4Z.js → chunk.7T77HZ4H.js} +1 -1
- package/cdn/chunks/{chunk.NQXQB7LN.js → chunk.ABTV3KUR.js} +1 -1
- package/cdn/chunks/chunk.AYIAV4JH.js +1 -0
- package/cdn/chunks/{chunk.KLNBBP4R.js → chunk.BJ5V345G.js} +4 -4
- package/cdn/chunks/{chunk.WUTY672B.js → chunk.E6ML63IG.js} +1 -1
- package/{cdn-versioned/chunks/chunk.NZT4ORYP.js → cdn/chunks/chunk.F65VOONA.js} +1 -1
- package/cdn/chunks/{chunk.5TTHL3M2.js → chunk.GCDW2GZT.js} +1 -1
- package/{cdn-versioned/chunks/chunk.FVXID42E.js → cdn/chunks/chunk.GCJUHSVB.js} +1 -1
- package/cdn/chunks/chunk.GODTH2BV.js +1 -0
- package/cdn/chunks/{chunk.XYZ5DKTA.js → chunk.HHX4U6WL.js} +1 -1
- package/cdn/chunks/{chunk.NOJV6ZZF.js → chunk.ILP7DEPA.js} +1 -1
- package/cdn/chunks/{chunk.I2WEQVU3.js → chunk.L5V5SVP4.js} +1 -1
- package/cdn/chunks/{chunk.2HJF2D4H.js → chunk.LB6APJYZ.js} +1 -1
- package/cdn/chunks/{chunk.DDLTKNEO.js → chunk.MQTBDNS4.js} +1 -1
- package/cdn/chunks/{chunk.43NFQGWL.js → chunk.NKQX2WLJ.js} +1 -1
- package/cdn/chunks/{chunk.JCNKLGIS.js → chunk.P3BGKFWO.js} +1 -1
- package/cdn/chunks/{chunk.BWMHPT4Y.js → chunk.P3J3NT4K.js} +1 -1
- package/cdn/chunks/{chunk.O3IRROA2.js → chunk.PKR76VXM.js} +1 -1
- package/{cdn-versioned/chunks/chunk.E5FCRWHS.js → cdn/chunks/chunk.QU74JYEO.js} +1 -1
- package/cdn/chunks/{chunk.ONLECFTO.js → chunk.SNB43P47.js} +1 -1
- package/cdn/chunks/{chunk.ZVVSLR3B.js → chunk.UXSHRSR2.js} +1 -1
- package/cdn/chunks/{chunk.247MZWMU.js → chunk.V4OUQ3EH.js} +1 -1
- package/cdn/chunks/{chunk.ZN24IDXT.js → chunk.VTZF6UEH.js} +2 -2
- package/cdn/chunks/{chunk.QWMQJ6TF.js → chunk.W7775W5G.js} +1 -1
- package/cdn/chunks/{chunk.YBNWPLWL.js → chunk.WOLYEHCJ.js} +1 -1
- package/cdn/chunks/{chunk.Y4PTSCEB.js → chunk.YR376FSM.js} +1 -1
- package/cdn/chunks/{chunk.PGBIGG5I.js → chunk.YUKQPW36.js} +1 -1
- package/cdn/chunks/{chunk.KV424MMD.js → chunk.ZH5A5PAH.js} +1 -1
- package/{cdn-versioned/chunks/chunk.BHWV44KN.js → cdn/chunks/chunk.ZQBRQ52P.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/button-group/button-group.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/flipcard/flipcard.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/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/custom-elements.json +235 -126
- package/cdn/solid-components.bundle.js +14 -14
- package/cdn/solid-components.iife.js +13 -13
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +7 -0
- package/cdn/web-types.json +15 -15
- 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/chunks/chunk.JDSUZDP4.js → cdn-versioned/chunks/chunk.2GY6T6QS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5YWPH3S7.js → chunk.2QVXJFPL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.IUC5UQ2V.js → chunk.3X7ETFNY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NW6W2FSS.js → chunk.4T3MMIEQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WJ55QSS3.js → chunk.4XZVXBNJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SDZ6E4CH.js → chunk.5674RCSA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2BLQ3VDT.js → chunk.5AE46ABJ.js} +4 -4
- package/cdn-versioned/chunks/chunk.5AILWWY2.js +1 -1
- package/{cdn/chunks/chunk.DLY5AX2P.js → cdn-versioned/chunks/chunk.5IYTJ7AF.js} +1 -1
- package/{cdn/chunks/chunk.WMV7GLXF.js → cdn-versioned/chunks/chunk.5NXE2OTZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CNGIUOE5.js → chunk.5PTPXZR2.js} +1 -1
- package/{cdn/chunks/chunk.V3YHI2G2.js → cdn-versioned/chunks/chunk.5ZCRDWIG.js} +1 -1
- package/cdn-versioned/chunks/chunk.63QVXIWO.js +1 -0
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.HT2MRC4Z.js → chunk.7T77HZ4H.js} +1 -1
- package/cdn-versioned/chunks/chunk.7TRFUW6U.js +1 -1
- package/cdn-versioned/chunks/{chunk.NQXQB7LN.js → chunk.ABTV3KUR.js} +1 -1
- package/cdn-versioned/chunks/chunk.AYIAV4JH.js +1 -0
- package/cdn-versioned/chunks/{chunk.KLNBBP4R.js → chunk.BJ5V345G.js} +4 -4
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.WUTY672B.js → chunk.E6ML63IG.js} +1 -1
- package/{cdn/chunks/chunk.NZT4ORYP.js → cdn-versioned/chunks/chunk.F65VOONA.js} +1 -1
- package/cdn-versioned/chunks/chunk.FHU3KJ7Y.js +1 -1
- package/cdn-versioned/chunks/{chunk.5TTHL3M2.js → chunk.GCDW2GZT.js} +4 -4
- package/{cdn/chunks/chunk.FVXID42E.js → cdn-versioned/chunks/chunk.GCJUHSVB.js} +1 -1
- package/cdn-versioned/chunks/chunk.GODTH2BV.js +1 -0
- package/cdn-versioned/chunks/{chunk.XYZ5DKTA.js → chunk.HHX4U6WL.js} +1 -1
- package/cdn-versioned/chunks/{chunk.NOJV6ZZF.js → chunk.ILP7DEPA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.I2WEQVU3.js → chunk.L5V5SVP4.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2HJF2D4H.js → chunk.LB6APJYZ.js} +2 -2
- package/cdn-versioned/chunks/chunk.LET4FMBB.js +1 -1
- package/cdn-versioned/chunks/chunk.LKO4ZRE7.js +1 -1
- package/cdn-versioned/chunks/{chunk.DDLTKNEO.js → chunk.MQTBDNS4.js} +1 -1
- package/cdn-versioned/chunks/chunk.NFQN6UG4.js +1 -1
- package/cdn-versioned/chunks/{chunk.43NFQGWL.js → chunk.NKQX2WLJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JCNKLGIS.js → chunk.P3BGKFWO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BWMHPT4Y.js → chunk.P3J3NT4K.js} +1 -1
- package/cdn-versioned/chunks/chunk.PDIUABFP.js +1 -1
- package/cdn-versioned/chunks/{chunk.O3IRROA2.js → chunk.PKR76VXM.js} +1 -1
- package/{cdn/chunks/chunk.E5FCRWHS.js → cdn-versioned/chunks/chunk.QU74JYEO.js} +1 -1
- package/cdn-versioned/chunks/chunk.RGJXEMYT.js +1 -1
- package/cdn-versioned/chunks/{chunk.ONLECFTO.js → chunk.SNB43P47.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZVVSLR3B.js → chunk.UXSHRSR2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.247MZWMU.js → chunk.V4OUQ3EH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZN24IDXT.js → chunk.VTZF6UEH.js} +2 -2
- package/cdn-versioned/chunks/chunk.VZSFEHBE.js +1 -1
- package/cdn-versioned/chunks/{chunk.QWMQJ6TF.js → chunk.W7775W5G.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.YBNWPLWL.js → chunk.WOLYEHCJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.Y4PTSCEB.js → chunk.YR376FSM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PGBIGG5I.js → chunk.YUKQPW36.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KV424MMD.js → chunk.ZH5A5PAH.js} +1 -1
- package/{cdn/chunks/chunk.BHWV44KN.js → cdn-versioned/chunks/chunk.ZQBRQ52P.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/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/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/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/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/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/custom-elements.json +436 -327
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +19 -19
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +18 -18
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +87 -80
- package/cdn-versioned/web-types.json +151 -151
- package/dist/chunks/{chunk.OENW3EQT.js → chunk.2SYIHQWC.js} +3 -3
- package/dist/chunks/{chunk.H54CZFCF.js → chunk.3GR2B6T5.js} +2 -2
- package/dist/chunks/{chunk.RFVRT5UG.js → chunk.3QI4RAP5.js} +1 -1
- package/dist/chunks/{chunk.5AX4S2QZ.js → chunk.3W7IJBAR.js} +5 -5
- package/dist/chunks/{chunk.7SZFMAVT.js → chunk.4A22QCDA.js} +1 -1
- package/dist/chunks/{chunk.DI4CIT2A.js → chunk.4KQX3YKY.js} +3 -3
- package/dist/chunks/{chunk.GQXJC6ZE.js → chunk.7DTJFAHS.js} +1 -1
- package/dist/chunks/{chunk.MKZ5TRQH.js → chunk.7JAL5UCT.js} +2 -2
- package/dist/chunks/{chunk.Y6WJUTMM.js → chunk.7RSKPK73.js} +1 -1
- package/dist/chunks/{chunk.BFHRLREK.js → chunk.7VNCOUWO.js} +11 -11
- package/dist/chunks/{chunk.JPGDK3CW.js → chunk.AVS4VJXO.js} +5 -5
- package/dist/chunks/{chunk.5V7TZU4Q.js → chunk.AXJB3BAZ.js} +5 -5
- package/dist/chunks/{chunk.CVHGDRIM.js → chunk.BN7U3AV4.js} +2 -2
- package/dist/chunks/{chunk.G6KPFA3G.js → chunk.EON7Z22N.js} +9 -9
- package/dist/chunks/{chunk.JMAPLJHF.js → chunk.FEQ35E2X.js} +3 -3
- package/dist/chunks/{chunk.GWCHNKGW.js → chunk.FRPVDR6Z.js} +1 -1
- package/dist/chunks/{chunk.WZGJQPPD.js → chunk.G37Y7IVD.js} +1 -1
- package/dist/chunks/{chunk.UXEDWUMA.js → chunk.GAUAMVUZ.js} +17 -17
- package/dist/chunks/{chunk.LRQ55FZL.js → chunk.HKBYU6Q2.js} +2 -2
- package/dist/chunks/{chunk.XCNH2K2U.js → chunk.HWQTXXSY.js} +4 -4
- package/dist/chunks/{chunk.3UO2LKG5.js → chunk.IAJPZG3C.js} +9 -9
- package/dist/chunks/{chunk.MYCUDMGG.js → chunk.JE7PBXXX.js} +3 -3
- package/dist/chunks/{chunk.MCUC6LS6.js → chunk.JIG7HDOK.js} +1 -1
- package/dist/chunks/{chunk.K5MKZJEB.js → chunk.KCUUHR5D.js} +3 -3
- package/dist/chunks/{chunk.ZH6BP5XL.js → chunk.KSYD4JIL.js} +1 -1
- package/dist/chunks/{chunk.LUV3NLSJ.js → chunk.KX2TPV2P.js} +1 -1
- package/dist/chunks/{chunk.6MMBMCHF.js → chunk.N42GCDAU.js} +5 -5
- package/dist/chunks/{chunk.QUK3F6GK.js → chunk.NF4TXS55.js} +5 -5
- package/dist/chunks/{chunk.I2JBWY5C.js → chunk.PLM7YZ2S.js} +4 -4
- package/dist/chunks/{chunk.X7HEAUGJ.js → chunk.QWZA3TLI.js} +1 -1
- package/dist/chunks/{chunk.DNHLNGIL.js → chunk.RDHXOO2U.js} +1 -1
- package/dist/chunks/{chunk.XNH47HGG.js → chunk.RHLH2P45.js} +11 -11
- package/dist/chunks/{chunk.WHFYHMF4.js → chunk.SEAUN4X5.js} +1 -1
- package/dist/chunks/{chunk.F4BRIYYD.js → chunk.UOH2EPC3.js} +1 -1
- package/dist/chunks/{chunk.3YTMF6YZ.js → chunk.V7WU4CMK.js} +16 -16
- package/dist/chunks/{chunk.73HAOWEX.js → chunk.VFC3SCSY.js} +1 -1
- package/dist/chunks/{chunk.WJHCLJNK.js → chunk.WQ4TYFW3.js} +2 -2
- package/dist/chunks/{chunk.ZWJNBDIV.js → chunk.XMUDNUDW.js} +1 -1
- package/dist/chunks/{chunk.QN2ROZHZ.js → chunk.YCY2LBBX.js} +4 -4
- package/dist/chunks/{chunk.ZJGD23K6.js → chunk.Z3FJM2FE.js} +23 -23
- package/dist/chunks/{chunk.L5QYLWGO.js → chunk.ZTZN3GYY.js} +2 -2
- package/dist/components/accordion/accordion.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +2 -2
- package/dist/components/audio/audio.js +1 -1
- package/dist/components/badge/badge.js +1 -1
- package/dist/components/brandshape/brandshape.js +1 -1
- package/dist/components/button/button.js +2 -2
- package/dist/components/button-group/button-group.js +1 -1
- package/dist/components/carousel/carousel.js +1 -1
- package/dist/components/checkbox/checkbox.js +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.js +3 -3
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/flipcard/flipcard.js +2 -2
- package/dist/components/include/include.js +1 -1
- package/dist/components/input/input.js +1 -1
- package/dist/components/link/link.js +1 -1
- package/dist/components/map-marker/map-marker.js +1 -1
- package/dist/components/navigation-item/navigation-item.js +1 -1
- package/dist/components/notification/notification.js +1 -1
- package/dist/components/optgroup/optgroup.js +2 -2
- package/dist/components/option/option.js +1 -1
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/quickfact/quickfact.js +2 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-button/radio-button.js +1 -1
- package/dist/components/radio-group/radio-group.js +3 -3
- package/dist/components/select/select.js +3 -3
- package/dist/components/spinner/spinner.js +1 -1
- package/dist/components/step/step.js +1 -1
- package/dist/components/step-group/step-group.js +1 -1
- package/dist/components/switch/switch.js +1 -1
- package/dist/components/tab/tab.js +1 -1
- package/dist/components/tab-group/tab-group.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +1 -1
- package/dist/components/tag/tag.js +1 -1
- package/dist/components/teaser/teaser.js +1 -1
- package/dist/components/teaser-media/teaser-media.js +1 -1
- package/dist/components/textarea/textarea.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/custom-elements.json +235 -126
- package/dist/solid-components.js +41 -41
- package/dist/utilities/autocomplete-config.js +1 -1
- package/dist/vscode.html-custom-data.json +7 -0
- package/dist/web-types.json +15 -15
- 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.OENW3EQT.js → chunk.2SYIHQWC.js} +8 -8
- package/dist-versioned/chunks/{chunk.H54CZFCF.js → chunk.3GR2B6T5.js} +7 -7
- package/dist-versioned/chunks/{chunk.RFVRT5UG.js → chunk.3QI4RAP5.js} +3 -3
- package/dist-versioned/chunks/{chunk.5AX4S2QZ.js → chunk.3W7IJBAR.js} +7 -7
- package/dist-versioned/chunks/{chunk.7SZFMAVT.js → chunk.4A22QCDA.js} +2 -2
- package/dist-versioned/chunks/{chunk.DI4CIT2A.js → chunk.4KQX3YKY.js} +4 -4
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/chunk.6S3CCHLZ.js +1 -1
- package/dist-versioned/chunks/{chunk.GQXJC6ZE.js → chunk.7DTJFAHS.js} +3 -3
- package/dist-versioned/chunks/{chunk.MKZ5TRQH.js → chunk.7JAL5UCT.js} +3 -3
- package/dist-versioned/chunks/{chunk.Y6WJUTMM.js → chunk.7RSKPK73.js} +7 -7
- package/dist-versioned/chunks/{chunk.BFHRLREK.js → chunk.7VNCOUWO.js} +12 -12
- package/dist-versioned/chunks/{chunk.JPGDK3CW.js → chunk.AVS4VJXO.js} +7 -7
- package/dist-versioned/chunks/chunk.AWASHA2T.js +1 -1
- package/dist-versioned/chunks/{chunk.5V7TZU4Q.js → chunk.AXJB3BAZ.js} +10 -10
- package/dist-versioned/chunks/{chunk.CVHGDRIM.js → chunk.BN7U3AV4.js} +4 -4
- package/dist-versioned/chunks/{chunk.G6KPFA3G.js → chunk.EON7Z22N.js} +13 -13
- package/dist-versioned/chunks/{chunk.JMAPLJHF.js → chunk.FEQ35E2X.js} +5 -5
- package/dist-versioned/chunks/{chunk.GWCHNKGW.js → chunk.FRPVDR6Z.js} +2 -2
- package/dist-versioned/chunks/{chunk.WZGJQPPD.js → chunk.G37Y7IVD.js} +3 -3
- package/dist-versioned/chunks/{chunk.UXEDWUMA.js → chunk.GAUAMVUZ.js} +43 -43
- package/dist-versioned/chunks/chunk.HJ3ZUH4A.js +1 -1
- package/dist-versioned/chunks/{chunk.LRQ55FZL.js → chunk.HKBYU6Q2.js} +3 -3
- package/dist-versioned/chunks/{chunk.XCNH2K2U.js → chunk.HWQTXXSY.js} +9 -9
- package/dist-versioned/chunks/{chunk.3UO2LKG5.js → chunk.IAJPZG3C.js} +22 -22
- package/dist-versioned/chunks/chunk.IKWY7WM6.js +3 -3
- package/dist-versioned/chunks/chunk.JD5XFZKL.js +2 -2
- package/dist-versioned/chunks/{chunk.MYCUDMGG.js → chunk.JE7PBXXX.js} +5 -5
- package/dist-versioned/chunks/{chunk.MCUC6LS6.js → chunk.JIG7HDOK.js} +3 -3
- package/dist-versioned/chunks/{chunk.K5MKZJEB.js → chunk.KCUUHR5D.js} +8 -8
- package/dist-versioned/chunks/{chunk.ZH6BP5XL.js → chunk.KSYD4JIL.js} +4 -4
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.LUV3NLSJ.js → chunk.KX2TPV2P.js} +4 -4
- package/dist-versioned/chunks/{chunk.6MMBMCHF.js → chunk.N42GCDAU.js} +14 -14
- package/dist-versioned/chunks/{chunk.QUK3F6GK.js → chunk.NF4TXS55.js} +6 -6
- package/dist-versioned/chunks/chunk.ONBGPY5D.js +5 -5
- package/dist-versioned/chunks/{chunk.I2JBWY5C.js → chunk.PLM7YZ2S.js} +6 -6
- package/dist-versioned/chunks/{chunk.X7HEAUGJ.js → chunk.QWZA3TLI.js} +3 -3
- package/dist-versioned/chunks/{chunk.DNHLNGIL.js → chunk.RDHXOO2U.js} +14 -14
- package/dist-versioned/chunks/{chunk.XNH47HGG.js → chunk.RHLH2P45.js} +40 -40
- package/dist-versioned/chunks/{chunk.WHFYHMF4.js → chunk.SEAUN4X5.js} +3 -3
- package/dist-versioned/chunks/chunk.SH45GYZL.js +1 -1
- package/dist-versioned/chunks/chunk.T5VRGBLR.js +1 -1
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.F4BRIYYD.js → chunk.UOH2EPC3.js} +2 -2
- package/dist-versioned/chunks/{chunk.3YTMF6YZ.js → chunk.V7WU4CMK.js} +18 -18
- package/dist-versioned/chunks/{chunk.73HAOWEX.js → chunk.VFC3SCSY.js} +3 -3
- package/dist-versioned/chunks/chunk.WPHOQL7V.js +2 -2
- package/dist-versioned/chunks/{chunk.WJHCLJNK.js → chunk.WQ4TYFW3.js} +3 -3
- package/dist-versioned/chunks/{chunk.ZWJNBDIV.js → chunk.XMUDNUDW.js} +12 -12
- package/dist-versioned/chunks/{chunk.QN2ROZHZ.js → chunk.YCY2LBBX.js} +7 -7
- package/dist-versioned/chunks/{chunk.ZJGD23K6.js → chunk.Z3FJM2FE.js} +26 -26
- package/dist-versioned/chunks/{chunk.L5QYLWGO.js → chunk.ZTZN3GYY.js} +8 -8
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +2 -2
- 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/badge/badge.js +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +2 -2
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +1 -1
- 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 +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/dist-versioned/components/combobox/combobox.d.ts +4 -4
- package/dist-versioned/components/combobox/combobox.js +3 -3
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +3 -3
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +1 -1
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +3 -3
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +2 -2
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +2 -2
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +1 -1
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +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/optgroup/optgroup.js +2 -2
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +1 -1
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +2 -2
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/dist-versioned/components/radio-group/radio-group.js +3 -3
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/select/select.d.ts +4 -4
- package/dist-versioned/components/select/select.js +3 -3
- 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/step.js +1 -1
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +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/tab-panel/tab-panel.js +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +1 -1
- package/dist-versioned/components/teaser/teaser.js +1 -1
- package/dist-versioned/components/teaser-media/teaser-media.js +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +2 -2
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/custom-elements.json +436 -327
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +41 -41
- package/dist-versioned/utilities/autocomplete-config.js +1 -1
- package/dist-versioned/vscode.html-custom-data.json +87 -80
- package/dist-versioned/web-types.json +151 -151
- package/package.json +7 -7
- package/cdn/chunks/chunk.KWNRVZ54.js +0 -1
- package/cdn/chunks/chunk.RCLIOOS5.js +0 -1
- package/cdn-versioned/chunks/chunk.F45IDVYA.js +0 -1
- package/cdn-versioned/chunks/chunk.KWNRVZ54.js +0 -1
- package/cdn-versioned/chunks/chunk.RCLIOOS5.js +0 -1
package/cdn/solid-components.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Z}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as q}from"./chunks/chunk.
|
|
1
|
+
import{a as Z}from"./chunks/chunk.CEVVDV52.js";import"./chunks/chunk.HAL7R4WT.js";import{a as q}from"./chunks/chunk.63QVXIWO.js";import{a as y}from"./chunks/chunk.2GY6T6QS.js";import{a as z}from"./chunks/chunk.5NXE2OTZ.js";import{a as J}from"./chunks/chunk.AYIAV4JH.js";import{a as K}from"./chunks/chunk.LB6APJYZ.js";import{a as U}from"./chunks/chunk.RGJXEMYT.js";import{a as E}from"./chunks/chunk.LET4FMBB.js";import{a as F}from"./chunks/chunk.BJ5V345G.js";import{a as H}from"./chunks/chunk.7T77HZ4H.js";import{a as L}from"./chunks/chunk.ABTV3KUR.js";import{a as Q}from"./chunks/chunk.5ZCRDWIG.js";import{a as V}from"./chunks/chunk.MQTBDNS4.js";import{a as j}from"./chunks/chunk.UXSHRSR2.js";import{a as w}from"./chunks/chunk.PKR76VXM.js";import{a as R}from"./chunks/chunk.E6ML63IG.js";import{a as M}from"./chunks/chunk.YR376FSM.js";import{a as v}from"./chunks/chunk.GCDW2GZT.js";import{a as O}from"./chunks/chunk.P3J3NT4K.js";import{a as P}from"./chunks/chunk.5PTPXZR2.js";import{a as N}from"./chunks/chunk.ILP7DEPA.js";import{a as I}from"./chunks/chunk.NKQX2WLJ.js";import{a as h}from"./chunks/chunk.L5V5SVP4.js";import{a as A}from"./chunks/chunk.GODTH2BV.js";import{a as B}from"./chunks/chunk.WOLYEHCJ.js";import{a as D}from"./chunks/chunk.ZH5A5PAH.js";import{a as g}from"./chunks/chunk.5674RCSA.js";import{a as k}from"./chunks/chunk.PDIUABFP.js";import{a as C}from"./chunks/chunk.LKO4ZRE7.js";import{a as G}from"./chunks/chunk.VZSFEHBE.js";import{a as m}from"./chunks/chunk.V4OUQ3EH.js";import"./chunks/chunk.5CK64GWQ.js";import{a as S}from"./chunks/chunk.4XZVXBNJ.js";import{a as n}from"./chunks/chunk.5AE46ABJ.js";import{a as i}from"./chunks/chunk.GCJUHSVB.js";import{a as s}from"./chunks/chunk.QU74JYEO.js";import"./chunks/chunk.D7TMPF3D.js";import"./chunks/chunk.X2GM34WQ.js";import"./chunks/chunk.W7A3TU2Z.js";import{a as c}from"./chunks/chunk.W7775W5G.js";import{a as b}from"./chunks/chunk.3X7ETFNY.js";import{a as T}from"./chunks/chunk.4T3MMIEQ.js";import"./chunks/chunk.X2O263YD.js";import"./chunks/chunk.64UNKF45.js";import"./chunks/chunk.3L472FD4.js";import{a as d}from"./chunks/chunk.ZQBRQ52P.js";import{a as f}from"./chunks/chunk.F65VOONA.js";import{a as u}from"./chunks/chunk.VTZF6UEH.js";import{a as p}from"./chunks/chunk.5IYTJ7AF.js";import"./chunks/chunk.65NSSTJE.js";import"./chunks/chunk.HE2LNCWW.js";import"./chunks/chunk.P3BGKFWO.js";import{a as x}from"./chunks/chunk.2QVXJFPL.js";import"./chunks/chunk.CBQWVOOS.js";import"./chunks/chunk.EUGX6XW6.js";import"./chunks/chunk.MHWW3RZB.js";import{a as l}from"./chunks/chunk.NFQN6UG4.js";import{a}from"./chunks/chunk.HHX4U6WL.js";import{a as e}from"./chunks/chunk.SNB43P47.js";import"./chunks/chunk.A3DKF5BY.js";import"./chunks/chunk.5ZILM4TA.js";import{b as o}from"./chunks/chunk.7TRFUW6U.js";import"./chunks/chunk.SPDB3L7V.js";import{d as W,e as X}from"./chunks/chunk.SNS2IHBI.js";import"./chunks/chunk.TWZDCIM2.js";import"./chunks/chunk.MWDEA25W.js";import"./chunks/chunk.K7HF3VBZ.js";import"./chunks/chunk.PYHYYOBE.js";import"./chunks/chunk.EFLL7VXU.js";import"./chunks/chunk.RQYP7MH5.js";import"./chunks/chunk.KLRPP4NQ.js";import{a as t}from"./chunks/chunk.FHU3KJ7Y.js";import"./chunks/chunk.E2DRD2OX.js";import"./chunks/chunk.XR2KNB36.js";import{a as r}from"./chunks/chunk.YUKQPW36.js";import"./chunks/chunk.6HO6CE4A.js";import{a as Y}from"./chunks/chunk.TNPIUMKG.js";import"./chunks/chunk.LO4SY63J.js";import"./chunks/chunk.BQKFXDN2.js";import"./chunks/chunk.HJGLYEWV.js";import"./chunks/chunk.26V4EXHB.js";import"./chunks/chunk.5AILWWY2.js";import"./chunks/chunk.IRWHG2Q4.js";import"./chunks/chunk.WNP2V63C.js";import"./chunks/chunk.TJOCV4DC.js";export{Y as LocalizeController,e as SdAccordion,a as SdAccordionGroup,t as SdAnimation,r as SdAudio,d as SdBadge,f as SdBrandshape,u as SdButton,x as SdCarousel,l as SdCarouselItem,m as SdCheckbox,S as SdCheckboxGroup,n as SdCombobox,c as SdDialog,b as SdDivider,T as SdDrawer,g as SdDropdown,k as SdExpandable,C as SdFlipcard,G as SdHeader,o as SdIcon,I as SdInclude,h as SdInput,A as SdLink,B as SdMapMarker,D as SdNavigationItem,w as SdNotification,R as SdOptgroup,M as SdOption,s as SdPopup,v as SdQuickfact,N as SdRadio,O as SdRadioButton,P as SdRadioGroup,E as SdScrollable,F as SdSelect,p as SdSpinner,H as SdStep,L as SdStepGroup,Q as SdSwitch,V as SdTab,j as SdTabGroup,q as SdTabPanel,i as SdTag,y as SdTeaser,z as SdTeaserMedia,J as SdTextarea,K as SdTooltip,U as SdVideo,W as registerIconLibrary,Z as setupAutocomplete,X as unregisterIconLibrary};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.
|
|
1
|
+
import{a}from"../chunks/chunk.CEVVDV52.js";import"../chunks/chunk.QU74JYEO.js";import"../chunks/chunk.26V4EXHB.js";import"../chunks/chunk.5AILWWY2.js";import"../chunks/chunk.IRWHG2Q4.js";import"../chunks/chunk.TJOCV4DC.js";export{a as setupAutocomplete};
|
|
@@ -1186,6 +1186,7 @@
|
|
|
1186
1186
|
"name": "inputmode",
|
|
1187
1187
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
1188
1188
|
"values": [
|
|
1189
|
+
{ "name": "" },
|
|
1189
1190
|
{ "name": "none" },
|
|
1190
1191
|
{ "name": "text" },
|
|
1191
1192
|
{ "name": "decimal" },
|
|
@@ -1305,6 +1306,7 @@
|
|
|
1305
1306
|
"name": "autocapitalize",
|
|
1306
1307
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
1307
1308
|
"values": [
|
|
1309
|
+
{ "name": "" },
|
|
1308
1310
|
{ "name": "off" },
|
|
1309
1311
|
{ "name": "none" },
|
|
1310
1312
|
{ "name": "on" },
|
|
@@ -1332,6 +1334,7 @@
|
|
|
1332
1334
|
"name": "enterkeyhint",
|
|
1333
1335
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
1334
1336
|
"values": [
|
|
1337
|
+
{ "name": "" },
|
|
1335
1338
|
{ "name": "enter" },
|
|
1336
1339
|
{ "name": "done" },
|
|
1337
1340
|
{ "name": "go" },
|
|
@@ -1777,6 +1780,7 @@
|
|
|
1777
1780
|
"name": "arrow-placement",
|
|
1778
1781
|
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
1779
1782
|
"values": [
|
|
1783
|
+
{ "name": "" },
|
|
1780
1784
|
{ "name": "start" },
|
|
1781
1785
|
{ "name": "end" },
|
|
1782
1786
|
{ "name": "center" },
|
|
@@ -2781,6 +2785,7 @@
|
|
|
2781
2785
|
"name": "autocapitalize",
|
|
2782
2786
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
2783
2787
|
"values": [
|
|
2788
|
+
{ "name": "" },
|
|
2784
2789
|
{ "name": "off" },
|
|
2785
2790
|
{ "name": "none" },
|
|
2786
2791
|
{ "name": "on" },
|
|
@@ -2808,6 +2813,7 @@
|
|
|
2808
2813
|
"name": "enterkeyhint",
|
|
2809
2814
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
2810
2815
|
"values": [
|
|
2816
|
+
{ "name": "" },
|
|
2811
2817
|
{ "name": "enter" },
|
|
2812
2818
|
{ "name": "done" },
|
|
2813
2819
|
{ "name": "go" },
|
|
@@ -2868,6 +2874,7 @@
|
|
|
2868
2874
|
"name": "placement",
|
|
2869
2875
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
2870
2876
|
"values": [
|
|
2877
|
+
{ "name": "" },
|
|
2871
2878
|
{ "name": "top" },
|
|
2872
2879
|
{ "name": "top-start" },
|
|
2873
2880
|
{ "name": "top-end" },
|
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.5.
|
|
4
|
+
"version": "4.5.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2765,7 +2765,7 @@
|
|
|
2765
2765
|
"name": "inputmode",
|
|
2766
2766
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
2767
2767
|
"value": {
|
|
2768
|
-
"type": "'none'
|
|
2768
|
+
"type": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
|
|
2769
2769
|
}
|
|
2770
2770
|
},
|
|
2771
2771
|
{
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
"name": "autocapitalize",
|
|
2878
2878
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
2879
2879
|
"value": {
|
|
2880
|
-
"type": "'off'
|
|
2880
|
+
"type": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
2881
2881
|
}
|
|
2882
2882
|
},
|
|
2883
2883
|
{
|
|
@@ -2899,7 +2899,7 @@
|
|
|
2899
2899
|
"name": "enterkeyhint",
|
|
2900
2900
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
2901
2901
|
"value": {
|
|
2902
|
-
"type": "'enter'
|
|
2902
|
+
"type": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
2903
2903
|
}
|
|
2904
2904
|
},
|
|
2905
2905
|
{
|
|
@@ -2999,7 +2999,7 @@
|
|
|
2999
2999
|
{
|
|
3000
3000
|
"name": "inputmode",
|
|
3001
3001
|
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
3002
|
-
"type": "'none'
|
|
3002
|
+
"type": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
|
|
3003
3003
|
},
|
|
3004
3004
|
{
|
|
3005
3005
|
"name": "value",
|
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
{
|
|
3115
3115
|
"name": "autocapitalize",
|
|
3116
3116
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
3117
|
-
"type": "'off'
|
|
3117
|
+
"type": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
3118
3118
|
},
|
|
3119
3119
|
{
|
|
3120
3120
|
"name": "autocorrect",
|
|
@@ -3134,7 +3134,7 @@
|
|
|
3134
3134
|
{
|
|
3135
3135
|
"name": "enterkeyhint",
|
|
3136
3136
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
3137
|
-
"type": "'enter'
|
|
3137
|
+
"type": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
3138
3138
|
},
|
|
3139
3139
|
{
|
|
3140
3140
|
"name": "styleOnValid",
|
|
@@ -3984,7 +3984,7 @@
|
|
|
3984
3984
|
"name": "arrow-placement",
|
|
3985
3985
|
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
3986
3986
|
"value": {
|
|
3987
|
-
"type": "'start'
|
|
3987
|
+
"type": "| 'start'\n | 'end'\n | 'center'\n | 'anchor'",
|
|
3988
3988
|
"default": "'anchor'"
|
|
3989
3989
|
}
|
|
3990
3990
|
},
|
|
@@ -4124,7 +4124,7 @@
|
|
|
4124
4124
|
{
|
|
4125
4125
|
"name": "arrowPlacement",
|
|
4126
4126
|
"description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
|
|
4127
|
-
"type": "'start'
|
|
4127
|
+
"type": "| 'start'\n | 'end'\n | 'center'\n | 'anchor'"
|
|
4128
4128
|
},
|
|
4129
4129
|
{
|
|
4130
4130
|
"name": "arrowPadding",
|
|
@@ -6242,7 +6242,7 @@
|
|
|
6242
6242
|
"name": "autocapitalize",
|
|
6243
6243
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
6244
6244
|
"value": {
|
|
6245
|
-
"type": "'off'
|
|
6245
|
+
"type": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
6246
6246
|
}
|
|
6247
6247
|
},
|
|
6248
6248
|
{
|
|
@@ -6264,7 +6264,7 @@
|
|
|
6264
6264
|
"name": "enterkeyhint",
|
|
6265
6265
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
6266
6266
|
"value": {
|
|
6267
|
-
"type": "'enter'
|
|
6267
|
+
"type": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
6268
6268
|
}
|
|
6269
6269
|
},
|
|
6270
6270
|
{
|
|
@@ -6409,7 +6409,7 @@
|
|
|
6409
6409
|
{
|
|
6410
6410
|
"name": "autocapitalize",
|
|
6411
6411
|
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
6412
|
-
"type": "'off'
|
|
6412
|
+
"type": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
|
|
6413
6413
|
},
|
|
6414
6414
|
{
|
|
6415
6415
|
"name": "autocorrect",
|
|
@@ -6429,7 +6429,7 @@
|
|
|
6429
6429
|
{
|
|
6430
6430
|
"name": "enterkeyhint",
|
|
6431
6431
|
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
6432
|
-
"type": "'enter'
|
|
6432
|
+
"type": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
|
|
6433
6433
|
},
|
|
6434
6434
|
{
|
|
6435
6435
|
"name": "styleOnValid",
|
|
@@ -6513,7 +6513,7 @@
|
|
|
6513
6513
|
"name": "placement",
|
|
6514
6514
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6515
6515
|
"value": {
|
|
6516
|
-
"type": "'top'
|
|
6516
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'",
|
|
6517
6517
|
"default": "'top'"
|
|
6518
6518
|
}
|
|
6519
6519
|
},
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
{
|
|
6598
6598
|
"name": "placement",
|
|
6599
6599
|
"description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
|
|
6600
|
-
"type": "'top'
|
|
6600
|
+
"type": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'"
|
|
6601
6601
|
},
|
|
6602
6602
|
{
|
|
6603
6603
|
"name": "disabled",
|
|
@@ -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-5-
|
|
35
|
+
this.emit('sd-4-5-2-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-5-
|
|
77
|
+
<sd-4-5-2-icon name="check" library="system" aria-hidden="true"></sd-4-5-2-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-5-
|
|
87
|
+
<sd-4-5-2-icon name="chevron-right" library="system" aria-hidden="true"></sd-4-5-2-icon>
|
|
88
88
|
</span>
|
|
89
89
|
</div>
|
|
90
90
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as p}from"./chunk.6HO6CE4A.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as h,b as a,c as d,d as m,h as o}from"./chunk.5AILWWY2.js";import{b as l,e as n}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.hasSlotController=new p(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(e){super.updated(e),e.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let e=this.variant==="white border-neutral-400"||this.inset,s={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&e&&"py-8 px-10")}" part="base"><div part="media" id="media" aria-hidden="true" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r(!e&&this._orientation==="vertical"&&"mb-4",!s["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]")}"><slot name="media"></slot></div><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${e?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&e&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. <h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!s["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!s["teaser-has-default"]&&"hidden")}" aria-labelledby="media"><slot></slot></div></div></div>`}};t.styles=[...o.styles,l`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:var(--sd-spacing-0,0)!important}`],i([a({reflect:!0})],t.prototype,"variant",2),i([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),i([m('[part="base"]')],t.prototype,"teaser",2),i([d()],t.prototype,"_orientation",2),t=i([h("sd-teaser")],t);export{t as a};
|
|
1
|
+
import{a as p}from"./chunk.6HO6CE4A.js";import{a as r}from"./chunk.26V4EXHB.js";import{a as h,b as a,c as d,d as m,h as o}from"./chunk.5AILWWY2.js";import{b as l,e as n}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.hasSlotController=new p(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(e){super.updated(e),e.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let e=this.variant==="white border-neutral-400"||this.inset,s={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex",{white:"bg-white","white border-neutral-400":"bg-white border border-neutral-400","neutral-100":"bg-neutral-100",primary:"bg-primary text-white","primary-100":"bg-primary-100"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&e&&"py-8 px-10")}" part="base"><div part="media" id="media" aria-hidden="true" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r(!e&&this._orientation==="vertical"&&"mb-4",!s["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]")}"><slot name="media"></slot></div><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${e?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&e&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. <h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!s["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!s["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="media"><slot></slot></div></div></div>`}};t.styles=[...o.styles,l`:host{display:block}::slotted(*){margin:var(--sd-spacing-0,0)}::slotted([slot=headline]){font-size:var(--sd-font-size-lg,1.25rem)!important;font-weight:700;margin:var(--sd-spacing-0,0)!important}`],i([a({type:String,reflect:!0})],t.prototype,"variant",2),i([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),i([m('[part="base"]')],t.prototype,"teaser",2),i([d()],t.prototype,"_orientation",2),t=i([h("sd-4-5-2-teaser")],t);export{t as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a as k}from"./chunk.CBQWVOOS.js";import{a as T}from"./chunk.EUGX6XW6.js";import{a as L}from"./chunk.NFQN6UG4.js";import{c as A}from"./chunk.RQYP7MH5.js";import{a as m}from"./chunk.E2DRD2OX.js";import{a as $}from"./chunk.TNPIUMKG.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as E,b as g,c as f,d as v,e as M,h as P}from"./chunk.5AILWWY2.js";import{b as x,e as b}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";function _(h,d,e){let i=t=>Object.is(t,-0)?0:t;return h<d?i(d):h>e?i(e):i(h)}function*C(h,d){if(h!==void 0){let e=0;for(let i of h)yield d(i,e++)}}function*I(h,d,e=1){let i=d===void 0?0:h;d!=null||(d=h);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends P{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new k(this,()=>this.next());this.scrollController=new T(this);this.slides=this.getElementsByTagName("sd-4-5-
|
|
1
|
+
import{a as k}from"./chunk.CBQWVOOS.js";import{a as T}from"./chunk.EUGX6XW6.js";import{a as L}from"./chunk.NFQN6UG4.js";import{c as A}from"./chunk.RQYP7MH5.js";import{a as m}from"./chunk.E2DRD2OX.js";import{a as $}from"./chunk.TNPIUMKG.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as E,b as g,c as f,d as v,e as M,h as P}from"./chunk.5AILWWY2.js";import{b as x,e as b}from"./chunk.IRWHG2Q4.js";import{e as o}from"./chunk.TJOCV4DC.js";function _(h,d,e){let i=t=>Object.is(t,-0)?0:t;return h<d?i(d):h>e?i(e):i(h)}function*C(h,d){if(h!==void 0){let e=0;for(let i of h)yield d(i,e++)}}function*I(h,d,e=1){let i=d===void 0?0:h;d!=null||(d=h);for(let t=i;e>0?t<d:d<t;t+=e)yield t}var r=class extends P{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.autoplayController=new k(this,()=>this.next());this.scrollController=new T(this);this.slides=this.getElementsByTagName("sd-4-5-2-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new $(this);this.userInteracted=!1;this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>L.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction));let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction))}firstUpdated(){this.initializeSlides(),this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1})}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,l=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),l&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let u=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');u&&u.focus()})}}handleScrollEnd(){let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){var e,i;this.pausedAutoplay?(this.autoplayController.stop(),(e=this.autoplayControls)==null||e.setAttribute("aria-pressed","false")):this.autoplay&&(this.autoplayController.start(3e3),(i=this.autoplayControls)==null||i.setAttribute("aria-pressed","true"))}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop){let t=this.slidesPerPage,s=e.slice(-t),l=e.slice(0,t);s.reverse().forEach((c,u)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-u-1)),this.prepend(a)}),l.forEach((c,u)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(u)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,l)=>{s.classList.toggle("--is-active",l===this.activeSlide)});let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}});let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(3e3)}previous(e="smooth"){let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:l}=this,c=this.getSlides(),u=this.getSlides({excludeClones:!1}),a=(e+c.length)%c.length;this.activeSlide=a;let p=_(e+(s?t:0),0,u.length+1),y=u[p],w=l.getBoundingClientRect(),S=y.getBoundingClientRect();if(l.scrollTo({left:S.left-w.left+l.scrollLeft,top:S.top-w.top+l.scrollTop,behavior:A()?"auto":i}),this.userInteracted&&!this.loop){let O=this.activeSlide===c.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,B=this.activeSlide===0;O?this.previousButton.focus({preventScroll:!0}):B&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),l=this.loop||s>1,c=this.loop||s<t,u=this.localize.dir()==="ltr";return b`<div part="base" class="${n("carousel h-full w-full")}"><div id="scroll-container" part="scroll-container" class="${n(`carousel__slides mb-6
|
|
2
2
|
grid max-h-full w-full items-center justify-items-center overflow-auto`,this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",`overscroll-x-contain grid-flow-col auto-rows-[100%]
|
|
3
|
-
snap-x snap-mandatory overflow-y-hidden`)}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" role="status" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-4-5-
|
|
3
|
+
snap-x snap-mandatory overflow-y-hidden`)}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" role="status" tabindex="0" @keydown="${this.handleKeyDown}" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${n("w-full flex items-center justify-center relative")}"><div part="navigation" class="${n("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!l}" class="${n("!mr-6 !rounded-sm sd-interactive",!l&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${l?"false":"true"}" @click="${l?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-4-5-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${u?"chevron-down":"chevron-up"}"></sd-4-5-2-icon></slot></button> ${this.variant==="dot"?b`<div part="pagination-dot" role="tablist" class="${n("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${C(I(t),a=>{let p=a+1===s;return b`<button part="pagination-item ${p?"pagination-item--active":""}" class="${n("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",p?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${p?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}" @keydown="${this.handleKeyDown}"><span class="${n("h-4 w-4 block border hover:border-primary-500 rounded-full",this.inverted?"border-white hover:border-primary-500":"border-primary",p&&"bg-accent border-none",p?this.inverted?"hover:bg-accent-300":"hover:bg-accent-550":"")}"></span></button>`})}</div>`:b`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${n("w-5 text-center border-b-2 border-accent",this.inverted?"text-white":"text-black")}">${s}</span> <span part="pagination-divider" class="${n("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${n("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${n("!ml-6 !rounded-sm sd-interactive ",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-4-5-2-icon class="${n("h-6 w-6 rotate-90 grid place-items-center")}" library="system" name="${u?"chevron-up":"chevron-down"}"></sd-4-5-2-icon></slot></button></div><button class="${n("ml-6 !rounded-sm","!absolute !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.localize.term("autoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${n(this.pausedAutoplay?"":"hidden")}"><sd-4-5-2-icon class="h-6 w-6 grid place-items-center" library="system" name="start"></sd-4-5-2-icon></slot><slot name="autoplay-pause" class="${n(this.pausedAutoplay?"hidden":"")}"><sd-4-5-2-icon class="h-6 w-6 grid place-items-center" library="system" name="pause"></sd-4-5-2-icon></slot></button></div></div>`}};r.styles=[...P.styles,x`:host{--slide-gap:var(--sl-spacing-medium,1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:". slides ." ". pagination ."}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1)*var(--slide-gap))/var(--slides-per-page));-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);grid-auto-columns:var(--slide-size);padding-inline:var(--scroll-hint);scroll-padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-4-5-2-button::part(label){align-items:center;display:flex;flex:1 1 auto;pointer-events:none}`],o([v('[part~="autoplay-controls"]')],r.prototype,"autoplayControls",2),o([v('[part~="navigation-button--previous"]')],r.prototype,"previousButton",2),o([v('[part~="navigation-button--next"]')],r.prototype,"nextButton",2),o([M('[part~="pagination-item"]')],r.prototype,"paginationItems",2),o([g({type:String,reflect:!0})],r.prototype,"variant",2),o([g({type:Boolean,reflect:!0})],r.prototype,"inverted",2),o([g({type:Boolean,reflect:!0})],r.prototype,"loop",2),o([g({type:Boolean,reflect:!0})],r.prototype,"autoplay",2),o([g({type:Number,attribute:"slides-per-page",reflect:!0})],r.prototype,"slidesPerPage",2),o([g({type:Number,attribute:"slides-per-move",reflect:!0})],r.prototype,"slidesPerMove",2),o([v("slot:not([name])")],r.prototype,"defaultSlot",2),o([v(".carousel__slides")],r.prototype,"scrollContainer",2),o([v(".carousel__pagination")],r.prototype,"paginationContainer",2),o([f()],r.prototype,"activeSlide",2),o([f()],r.prototype,"currentPage",2),o([f()],r.prototype,"pausedAutoplay",2),o([m("pausedAutoplay")],r.prototype,"handlePausedAutoplay",1),o([m("loop",{waitUntilFirstUpdate:!0}),m("slidesPerPage",{waitUntilFirstUpdate:!0})],r.prototype,"initializeSlides",1),o([m("activeSlide")],r.prototype,"handleSlideChange",1),o([m("slidesPerMove")],r.prototype,"handleSlidesPerMoveChange",1),o([m("autoplay")],r.prototype,"handleAutoplayChange",1),r=o([E("sd-4-5-2-carousel")],r);export{r as a};
|
|
4
4
|
/*! Bundled license information:
|
|
5
5
|
|
|
6
6
|
lit-html/directives/map.js:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk.26V4EXHB.js";import{a as l,b as e,h as o}from"./chunk.5AILWWY2.js";import{b as a,e as i}from"./chunk.IRWHG2Q4.js";import{e as r}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return i`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"border-primary-400":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,a`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-5-
|
|
1
|
+
import{a as n}from"./chunk.26V4EXHB.js";import{a as l,b as e,h as o}from"./chunk.5AILWWY2.js";import{b as a,e as i}from"./chunk.IRWHG2Q4.js";import{e as r}from"./chunk.TJOCV4DC.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return i`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"border-primary-400":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,a`:host{margin:var(--sd-spacing-0,0)}:host(sd-4-5-2-divider[orientation=horizontal]){display:block}:host(sd-4-5-2-divider[orientation=vertical]){display:inline-block}`],r([e({type:String,reflect:!0})],t.prototype,"orientation",2),r([e({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=r([l("sd-4-5-2-divider")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as A}from"./chunk.X2O263YD.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as o,c as n}from"./chunk.A3DKF5BY.js";import{a as l,d as h}from"./chunk.RQYP7MH5.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as L}from"./chunk.6HO6CE4A.js";import{a as E}from"./chunk.TNPIUMKG.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C,b as r,d as c,h as w}from"./chunk.5AILWWY2.js";import{b as x,e as u}from"./chunk.IRWHG2Q4.js";import{e as
|
|
1
|
+
import{a as A}from"./chunk.X2O263YD.js";import{a as m,b as f}from"./chunk.3L472FD4.js";import{a as o,c as n}from"./chunk.A3DKF5BY.js";import{a as l,d as h}from"./chunk.RQYP7MH5.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as L}from"./chunk.6HO6CE4A.js";import{a as E}from"./chunk.TNPIUMKG.js";import{a as p}from"./chunk.26V4EXHB.js";import{a as C,b as r,d as c,h as w}from"./chunk.5AILWWY2.js";import{b as x,e as u}from"./chunk.IRWHG2Q4.js";import{e as i}from"./chunk.TJOCV4DC.js";function k(y){return y.charAt(0).toUpperCase()+y.slice(1)}var t=class extends w{constructor(){super(...arguments);this.hasSlotController=new L(this,"footer");this.localize=new E(this);this.modal=new A(this);this.open=!1;this.label="";this.placement="end";this.contained=!1;this.noHeader=!1;this.handleDocumentKeyDown=e=>{this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),m(this)))}disconnectedCallback(){super.disconnectedCallback(),f(this)}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let a=n(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.panel,a.keyframes,a.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){var b;let e=(b=this.closeButton.shadowRoot)==null?void 0:b.querySelector('[part="base"]');if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),m(this));let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await Promise.all([h(this.drawer),h(this.overlay)]),this.drawer.hidden=!1,this.drawer.removeAttribute("inert"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()});let d=n(this,`drawer.show${k(this.placement)}`,{dir:this.localize.dir()}),s=n(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([l(this.panel,d.keyframes,d.options),l(this.overlay,s.keyframes,s.options)]),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),f(this)),await Promise.all([h(this.drawer),h(this.overlay)]);let a=n(this,`drawer.hide${k(this.placement)}`,{dir:this.localize.dir()}),d=n(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,a.keyframes,a.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.drawer.setAttribute("inert",""),this.overlay.hidden=!1,this.panel.hidden=!1;let s=this.originalTrigger;typeof(s==null?void 0:s.focus)=="function"&&setTimeout(()=>s.focus()),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),m(this)),this.open&&this.contained&&(this.modal.deactivate(),f(this))}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}render(){return u`<section id="drawer" part="base" class="${p("top-0 start-0 w-full h-full pointer-events-none overflow-hidden",this.contained?"absolute":"fixed")}" aria-label="${this.label}"><div part="overlay" class="${p("block top-0 left-0 right-0 bottom-0 bg-neutral-800/75 pointer-events-auto",this.contained?"absolute":"fixed")}" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[--width] h-full",start:"top-0 end-auto bottom-auto start-0 w-[--width] h-full"}[this.placement])}" role="dialog" aria-modal="true" aria-labelledby="label" tabindex="0"><p class="sr-only" id="label">${this.label}</p>${this.noHeader?u`<sd-4-5-2-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 right-2"><sd-4-5-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-5-2-icon></sd-4-5-2-button>`:u`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:56px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ml-4 absolute top-2 right-2"><sd-4-5-2-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-4-5-2-icon label="${this.localize.term("close")}" name="close" library="system"></sd-4-5-2-icon></sd-4-5-2-button></div></header>`}<div part="body" class="flex-auto block px-4" tabindex="0"><slot></slot></div><footer part="footer" class="${p(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></section>`}};t.styles=[...w.styles,x`:host{--width:25rem;display:contents}:host([contained]){z-index:auto}:host(:not([contained])){z-index:var(--sd-z-index-drawer,700)}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:var(--sd-spacing-0,0);width:var(--sd-spacing-0,0)}`],i([c("[part=base]")],t.prototype,"drawer",2),i([c("[part=panel]")],t.prototype,"panel",2),i([c("[part=overlay]")],t.prototype,"overlay",2),i([c("[part=close-button]")],t.prototype,"closeButton",2),i([r({type:Boolean,reflect:!0})],t.prototype,"open",2),i([r({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),i([r({type:String,reflect:!0})],t.prototype,"placement",2),i([r({type:Boolean,reflect:!0})],t.prototype,"contained",2),i([r({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([v("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),i([v("contained",{waitUntilFirstUpdate:!0})],t.prototype,"handleNoModalChange",1),t=i([C("sd-4-5-2-drawer")],t);o("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}});o("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});o("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}});o("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}});o("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}});o("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}});export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk.E2DRD2OX.js";import{a as p}from"./chunk.6HO6CE4A.js";import{a}from"./chunk.26V4EXHB.js";import{a as d,b as o,h as n}from"./chunk.5AILWWY2.js";import{b as m,e as s}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-4-5-
|
|
1
|
+
import{a as r}from"./chunk.E2DRD2OX.js";import{a as p}from"./chunk.6HO6CE4A.js";import{a}from"./chunk.26V4EXHB.js";import{a as d,b as o,h as n}from"./chunk.5AILWWY2.js";import{b as m,e as s}from"./chunk.IRWHG2Q4.js";import{e}from"./chunk.TJOCV4DC.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-4-5-2-checkbox")]}async syncCheckboxElements(){let i=this.getAllCheckboxes();await Promise.all(i.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-4-5-2-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-4-5-2-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let i=this.hasSlotController.test("label"),l=this.label?!0:i,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${a("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-5-2-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-5-2-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-4-5-2-checkbox-group")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as z}from"./chunk.64UNKF45.js";import{c as O}from"./chunk.3L472FD4.js";import{a as c,c as
|
|
1
|
+
import{a as z}from"./chunk.64UNKF45.js";import{c as O}from"./chunk.3L472FD4.js";import{a as c,c as u}from"./chunk.A3DKF5BY.js";import{a as h,d as p}from"./chunk.RQYP7MH5.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as K}from"./chunk.E2DRD2OX.js";import{a as D}from"./chunk.TNPIUMKG.js";import{a as I}from"./chunk.26V4EXHB.js";import{a as C,b as o,d as l,h as d}from"./chunk.5AILWWY2.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-5-2-button":case"sd-4-5-2-icon-button":s=t.button;break;case"sd-4-5-2-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,f,g,y,w,b,E,v,k,T,L;let s=((y=(g=(f=(r=(a=document.activeElement)==null?void 0:a.shadowRoot)==null?void 0:r.activeElement)==null?void 0:f.shadowRoot)==null?void 0:g.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,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("sd-activate",this.handleMenuItemActivate),this.panel.addEventListener("sd-4-5-2-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-5-2-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}=u(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}=u(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-5-2-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-5-2-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({type:String,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({type:String,attribute:!1,reflect:!0})],n.prototype,"containingElement",2),i([o({type:Number,reflect:!0})],n.prototype,"distance",2),i([o({type:Number,reflect:!0})],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,reflect:!0})],n.prototype,"hoist",2),i([K("open",{waitUntilFirstUpdate:!0})],n.prototype,"handleOpenChange",1),n=i([C("sd-4-5-2-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};
|