@solid-design-system/components 4.7.2 → 4.8.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.M2D44L3S.js → chunk.2ACESXLF.js} +1 -1
- package/cdn/chunks/{chunk.KSINXM3D.js → chunk.3CECQGCF.js} +1 -1
- package/cdn/chunks/{chunk.PZ4LOIGQ.js → chunk.3DDNX327.js} +1 -1
- package/cdn/chunks/{chunk.TCNBOHHG.js → chunk.3V4HFQ5W.js} +1 -1
- package/cdn/chunks/{chunk.ZM6LPLZV.js → chunk.4VLQS75A.js} +1 -1
- package/cdn/chunks/{chunk.GEMLWXJW.js → chunk.5KY6BIV3.js} +1 -1
- package/cdn/chunks/{chunk.HI5CZRPD.js → chunk.6M5O37VJ.js} +1 -1
- package/cdn/chunks/{chunk.HZ5ZWMHX.js → chunk.7IYNE42V.js} +1 -1
- package/cdn/chunks/{chunk.EDIGIZNO.js → chunk.ARJ5IWTT.js} +1 -1
- package/cdn/chunks/{chunk.HAR4GGFN.js → chunk.BUPSKGHG.js} +1 -1
- package/cdn/chunks/{chunk.RNWJGOXO.js → chunk.CAFBMLXB.js} +1 -1
- package/cdn/chunks/{chunk.N7BPYCNQ.js → chunk.D6GGRJJY.js} +1 -1
- package/cdn/chunks/{chunk.7WTXH3GH.js → chunk.E3KCBW5V.js} +1 -1
- package/cdn/chunks/{chunk.MQ25QZYJ.js → chunk.FBPOMQV7.js} +1 -1
- package/cdn/chunks/{chunk.DRCSJNEV.js → chunk.FZWEIQHD.js} +1 -1
- package/cdn/chunks/{chunk.7IOUU5QE.js → chunk.G4SESDXX.js} +1 -1
- package/cdn/chunks/{chunk.GLF7NWTD.js → chunk.GUKUXRNQ.js} +1 -1
- package/cdn/chunks/{chunk.ADQVHHE6.js → chunk.HXEH6FCX.js} +1 -1
- package/cdn/chunks/{chunk.MLYNQFO4.js → chunk.JEOESRAP.js} +1 -1
- package/cdn/chunks/{chunk.3ERTHZ5G.js → chunk.JSTQDFB5.js} +1 -1
- package/cdn/chunks/{chunk.ZUH6Y35F.js → chunk.KC5HYW44.js} +1 -1
- package/cdn/chunks/{chunk.A62PBAV6.js → chunk.KGY5M6CW.js} +1 -1
- package/cdn/chunks/{chunk.ZRN3UOHD.js → chunk.LWMWC2BY.js} +1 -1
- package/cdn/chunks/{chunk.L2EJDCLP.js → chunk.M2A4DKJE.js} +1 -1
- package/cdn/chunks/{chunk.OSLFJN7M.js → chunk.MU7TSWXE.js} +1 -1
- package/cdn/chunks/{chunk.OBRABCAD.js → chunk.MY3BLV5N.js} +1 -1
- package/cdn/chunks/{chunk.4K3YKS5Z.js → chunk.NFPYO3FO.js} +1 -1
- package/cdn/chunks/{chunk.UA75JCTI.js → chunk.OD3X3SPF.js} +1 -1
- package/cdn/chunks/{chunk.JEAAPBWB.js → chunk.P2GFJII7.js} +1 -1
- package/cdn/chunks/{chunk.QVTARO7B.js → chunk.QB5XRW3D.js} +1 -1
- package/cdn/chunks/{chunk.6WQEYQTU.js → chunk.QCGQTLWK.js} +1 -1
- package/cdn/chunks/{chunk.YBU7ICJY.js → chunk.QXGVQE6X.js} +1 -1
- package/cdn/chunks/{chunk.WMKAI3ML.js → chunk.R4ZEEPUZ.js} +1 -1
- package/cdn/chunks/{chunk.XEIJRH2N.js → chunk.SJPCYEZX.js} +1 -1
- package/cdn/chunks/{chunk.WVQUFD4S.js → chunk.SLWYMYOQ.js} +1 -1
- package/cdn/chunks/{chunk.2BEQNAMT.js → chunk.STUYBIXK.js} +1 -1
- package/cdn/chunks/{chunk.TRA2LFXX.js → chunk.U7MMKASK.js} +1 -1
- package/cdn/chunks/{chunk.YMLOVMSS.js → chunk.UA57DUVU.js} +1 -1
- package/cdn/chunks/{chunk.I7TDVT7L.js → chunk.UJGX2D6U.js} +1 -1
- package/cdn/chunks/{chunk.QZE7HHQB.js → chunk.UNGGT5NF.js} +1 -1
- package/cdn/chunks/chunk.UX7V7Q4U.js +10 -0
- package/cdn/chunks/{chunk.34LC4FX7.js → chunk.VAP2AXYU.js} +1 -1
- package/cdn/chunks/{chunk.SC52UUUI.js → chunk.WKWPEBJP.js} +1 -1
- package/cdn/chunks/{chunk.RLTYPVEL.js → chunk.WXRJEHMG.js} +1 -1
- package/cdn/chunks/{chunk.CVYBH5EP.js → chunk.WZIDBULK.js} +1 -1
- package/cdn/chunks/{chunk.BZZVA4LI.js → chunk.YI2OH2MN.js} +1 -1
- package/cdn/chunks/{chunk.3YE7BH4O.js → chunk.YMUOQ3X3.js} +1 -1
- package/cdn/chunks/{chunk.34ZJ52MD.js → chunk.YPQX4UIH.js} +1 -1
- package/cdn/chunks/{chunk.2WUVYZ2S.js → chunk.YVJT5ICZ.js} +1 -1
- package/cdn/chunks/{chunk.FURV7P5A.js → chunk.Z2JHVFLZ.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.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.M2D44L3S.js → chunk.2ACESXLF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KSINXM3D.js → chunk.3CECQGCF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.PZ4LOIGQ.js → chunk.3DDNX327.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TCNBOHHG.js → chunk.3V4HFQ5W.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZM6LPLZV.js → chunk.4VLQS75A.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GEMLWXJW.js → chunk.5KY6BIV3.js} +4 -4
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.HI5CZRPD.js → chunk.6M5O37VJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HZ5ZWMHX.js → chunk.7IYNE42V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EDIGIZNO.js → chunk.ARJ5IWTT.js} +1 -1
- package/cdn-versioned/chunks/{chunk.HAR4GGFN.js → chunk.BUPSKGHG.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RNWJGOXO.js → chunk.CAFBMLXB.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.N7BPYCNQ.js → chunk.D6GGRJJY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7WTXH3GH.js → chunk.E3KCBW5V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MQ25QZYJ.js → chunk.FBPOMQV7.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DRCSJNEV.js → chunk.FZWEIQHD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7IOUU5QE.js → chunk.G4SESDXX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GLF7NWTD.js → chunk.GUKUXRNQ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ADQVHHE6.js → chunk.HXEH6FCX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.MLYNQFO4.js → chunk.JEOESRAP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3ERTHZ5G.js → chunk.JSTQDFB5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZUH6Y35F.js → chunk.KC5HYW44.js} +1 -1
- package/cdn-versioned/chunks/{chunk.A62PBAV6.js → chunk.KGY5M6CW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ZRN3UOHD.js → chunk.LWMWC2BY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.L2EJDCLP.js → chunk.M2A4DKJE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OSLFJN7M.js → chunk.MU7TSWXE.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OBRABCAD.js → chunk.MY3BLV5N.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4K3YKS5Z.js → chunk.NFPYO3FO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UA75JCTI.js → chunk.OD3X3SPF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.JEAAPBWB.js → chunk.P2GFJII7.js} +2 -2
- package/cdn-versioned/chunks/{chunk.QVTARO7B.js → chunk.QB5XRW3D.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6WQEYQTU.js → chunk.QCGQTLWK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YBU7ICJY.js → chunk.QXGVQE6X.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WMKAI3ML.js → chunk.R4ZEEPUZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XEIJRH2N.js → chunk.SJPCYEZX.js} +4 -4
- package/cdn-versioned/chunks/{chunk.WVQUFD4S.js → chunk.SLWYMYOQ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2BEQNAMT.js → chunk.STUYBIXK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.TRA2LFXX.js → chunk.U7MMKASK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.YMLOVMSS.js → chunk.UA57DUVU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.I7TDVT7L.js → chunk.UJGX2D6U.js} +1 -1
- package/cdn-versioned/chunks/{chunk.QZE7HHQB.js → chunk.UNGGT5NF.js} +4 -4
- package/cdn-versioned/chunks/chunk.UX7V7Q4U.js +10 -0
- package/cdn-versioned/chunks/{chunk.34LC4FX7.js → chunk.VAP2AXYU.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.SC52UUUI.js → chunk.WKWPEBJP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.RLTYPVEL.js → chunk.WXRJEHMG.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CVYBH5EP.js → chunk.WZIDBULK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BZZVA4LI.js → chunk.YI2OH2MN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3YE7BH4O.js → chunk.YMUOQ3X3.js} +1 -1
- package/cdn-versioned/chunks/{chunk.34ZJ52MD.js → chunk.YPQX4UIH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2WUVYZ2S.js → chunk.YVJT5ICZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FURV7P5A.js → chunk.Z2JHVFLZ.js} +1 -1
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +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 +2 -2
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +2 -2
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +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 +211 -211
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +16 -16
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +16 -16
- 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.DDJ7LHKZ.js → chunk.2NNBJVTZ.js} +1 -1
- package/dist/chunks/{chunk.652RNIPF.js → chunk.2PTRX66S.js} +1 -1
- package/dist/chunks/{chunk.ATUAMEJQ.js → chunk.3FXZJEOK.js} +1 -1
- package/dist/chunks/{chunk.KLRHKRJY.js → chunk.3SSTRTWG.js} +1 -1
- package/dist/chunks/{chunk.RMONU73S.js → chunk.5D3DLEA5.js} +1 -1
- package/dist/chunks/{chunk.O2ZY4DUD.js → chunk.66D76UI7.js} +1 -1
- package/dist/chunks/{chunk.XRD3ICN2.js → chunk.6IAQSTST.js} +1 -1
- package/dist/chunks/{chunk.6KNY7Y5Z.js → chunk.6XBF3N4L.js} +1 -1
- package/dist/chunks/{chunk.2RYCEZM3.js → chunk.6YKDWN2D.js} +1 -1
- package/dist/chunks/{chunk.VS5HQNBX.js → chunk.7QLBUQWZ.js} +1 -1
- package/dist/chunks/{chunk.4YF4IO6L.js → chunk.7TEDJEW2.js} +1 -1
- package/dist/chunks/{chunk.UXSPHGZA.js → chunk.AOR7TGS6.js} +1 -1
- package/dist/chunks/{chunk.3LFXKIBZ.js → chunk.APR7T2Q2.js} +1 -1
- package/dist/chunks/{chunk.QHQXZZV4.js → chunk.BYNEIT5O.js} +1 -1
- package/dist/chunks/{chunk.LXVBD67X.js → chunk.C6RBE2LQ.js} +1 -1
- package/dist/chunks/{chunk.WOPQ6RFT.js → chunk.EDWWY2WL.js} +6 -3
- package/dist/chunks/{chunk.2M3PULYT.js → chunk.EPXGUWP5.js} +1 -1
- package/dist/chunks/{chunk.4DGV7IXU.js → chunk.F4E63GW7.js} +1 -1
- package/dist/chunks/{chunk.K4QGB7RK.js → chunk.FT7UBABX.js} +1 -1
- package/dist/chunks/{chunk.Q55MMUXZ.js → chunk.GVOME6PD.js} +1 -1
- package/dist/chunks/{chunk.MBMMCNBO.js → chunk.IYYFKCD2.js} +1 -1
- package/dist/chunks/{chunk.3N4DMMIZ.js → chunk.JPS2VQZR.js} +1 -1
- package/dist/chunks/{chunk.VXVNL356.js → chunk.KL2TXON5.js} +1 -1
- package/dist/chunks/{chunk.DHRH2NYA.js → chunk.L6RX3JU4.js} +2 -2
- package/dist/chunks/{chunk.K7IPOG5H.js → chunk.LKIMQD74.js} +2 -2
- package/dist/chunks/{chunk.KWMM4D7W.js → chunk.LYFVCZXL.js} +1 -1
- package/dist/chunks/{chunk.4NZWBZS4.js → chunk.MRAHP3SK.js} +1 -1
- package/dist/chunks/{chunk.K7R3LIL4.js → chunk.MVTLWOO6.js} +1 -1
- package/dist/chunks/{chunk.I3T5WBWE.js → chunk.NB24DI75.js} +1 -1
- package/dist/chunks/{chunk.BC4JV6EX.js → chunk.NKA4K4KV.js} +1 -1
- package/dist/chunks/{chunk.XYEGWJZW.js → chunk.NMFWOLLO.js} +1 -1
- package/dist/chunks/{chunk.TTKPPUFA.js → chunk.NRUFRUNL.js} +1 -1
- package/dist/chunks/{chunk.UJMPG5M2.js → chunk.OBZKDICF.js} +1 -1
- package/dist/chunks/{chunk.WAMI7OZ4.js → chunk.OOTMYYX7.js} +1 -1
- package/dist/chunks/{chunk.L64LVIXS.js → chunk.OT3GHFYG.js} +2 -2
- package/dist/chunks/{chunk.RDSH4OPP.js → chunk.PKYDE7EM.js} +1 -1
- package/dist/chunks/{chunk.BMTN3VEX.js → chunk.PWGSF3ZK.js} +1 -1
- package/dist/chunks/{chunk.QIJ3IUTL.js → chunk.QMVHHAVD.js} +1 -1
- package/dist/chunks/{chunk.KSYU5A2O.js → chunk.R6RYT35M.js} +1 -1
- package/dist/chunks/{chunk.26YRLDYL.js → chunk.RHATTS2F.js} +1 -1
- package/dist/chunks/{chunk.AMQ3JWRK.js → chunk.SI5HEOQ5.js} +1 -1
- package/dist/chunks/{chunk.SFVAKT7R.js → chunk.TMJWUQJA.js} +1 -1
- package/dist/chunks/{chunk.MGKZG6DL.js → chunk.TVIAU3GO.js} +1 -1
- package/dist/chunks/{chunk.4EJ3JRKK.js → chunk.VCIIYGYE.js} +1 -1
- package/dist/chunks/{chunk.EZKF7OC5.js → chunk.W2B5IXKP.js} +1 -1
- package/dist/chunks/{chunk.ABXFOQTZ.js → chunk.WQXQXTPT.js} +1 -1
- package/dist/chunks/{chunk.TCVKYTE5.js → chunk.XSC2JQSP.js} +1 -1
- package/dist/chunks/{chunk.OI6DA62Q.js → chunk.YFH2IBBJ.js} +3 -3
- package/dist/chunks/{chunk.YTF2HY7E.js → chunk.ZA7XBPBQ.js} +1 -1
- package/dist/chunks/{chunk.JMLIW5YJ.js → chunk.ZUQDKLXG.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 +5 -5
- 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 +4 -4
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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.DDJ7LHKZ.js → chunk.2NNBJVTZ.js} +4 -4
- package/dist-versioned/chunks/{chunk.652RNIPF.js → chunk.2PTRX66S.js} +5 -5
- package/dist-versioned/chunks/{chunk.ATUAMEJQ.js → chunk.3FXZJEOK.js} +6 -6
- package/dist-versioned/chunks/{chunk.KLRHKRJY.js → chunk.3SSTRTWG.js} +6 -6
- package/dist-versioned/chunks/{chunk.RMONU73S.js → chunk.5D3DLEA5.js} +3 -3
- package/dist-versioned/chunks/{chunk.O2ZY4DUD.js → chunk.66D76UI7.js} +3 -3
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.XRD3ICN2.js → chunk.6IAQSTST.js} +1 -1
- package/dist-versioned/chunks/{chunk.6KNY7Y5Z.js → chunk.6XBF3N4L.js} +3 -3
- package/dist-versioned/chunks/{chunk.2RYCEZM3.js → chunk.6YKDWN2D.js} +2 -2
- package/dist-versioned/chunks/{chunk.VS5HQNBX.js → chunk.7QLBUQWZ.js} +4 -4
- package/dist-versioned/chunks/{chunk.4YF4IO6L.js → chunk.7TEDJEW2.js} +2 -2
- package/dist-versioned/chunks/{chunk.UXSPHGZA.js → chunk.AOR7TGS6.js} +7 -7
- package/dist-versioned/chunks/{chunk.3LFXKIBZ.js → chunk.APR7T2Q2.js} +3 -3
- package/dist-versioned/chunks/{chunk.QHQXZZV4.js → chunk.BYNEIT5O.js} +2 -2
- package/dist-versioned/chunks/{chunk.LXVBD67X.js → chunk.C6RBE2LQ.js} +27 -27
- package/dist-versioned/chunks/{chunk.WOPQ6RFT.js → chunk.EDWWY2WL.js} +9 -6
- package/dist-versioned/chunks/{chunk.2M3PULYT.js → chunk.EPXGUWP5.js} +25 -25
- package/dist-versioned/chunks/{chunk.4DGV7IXU.js → chunk.F4E63GW7.js} +2 -2
- package/dist-versioned/chunks/{chunk.K4QGB7RK.js → chunk.FT7UBABX.js} +3 -3
- package/dist-versioned/chunks/{chunk.Q55MMUXZ.js → chunk.GVOME6PD.js} +2 -2
- package/dist-versioned/chunks/{chunk.MBMMCNBO.js → chunk.IYYFKCD2.js} +6 -6
- package/dist-versioned/chunks/{chunk.3N4DMMIZ.js → chunk.JPS2VQZR.js} +2 -2
- package/dist-versioned/chunks/{chunk.VXVNL356.js → chunk.KL2TXON5.js} +10 -10
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.DHRH2NYA.js → chunk.L6RX3JU4.js} +5 -5
- package/dist-versioned/chunks/{chunk.K7IPOG5H.js → chunk.LKIMQD74.js} +7 -7
- package/dist-versioned/chunks/{chunk.KWMM4D7W.js → chunk.LYFVCZXL.js} +2 -2
- package/dist-versioned/chunks/{chunk.4NZWBZS4.js → chunk.MRAHP3SK.js} +6 -6
- package/dist-versioned/chunks/{chunk.K7R3LIL4.js → chunk.MVTLWOO6.js} +3 -3
- package/dist-versioned/chunks/{chunk.I3T5WBWE.js → chunk.NB24DI75.js} +12 -12
- package/dist-versioned/chunks/{chunk.BC4JV6EX.js → chunk.NKA4K4KV.js} +3 -3
- package/dist-versioned/chunks/{chunk.XYEGWJZW.js → chunk.NMFWOLLO.js} +3 -3
- package/dist-versioned/chunks/{chunk.TTKPPUFA.js → chunk.NRUFRUNL.js} +3 -3
- package/dist-versioned/chunks/{chunk.UJMPG5M2.js → chunk.OBZKDICF.js} +15 -15
- package/dist-versioned/chunks/{chunk.WAMI7OZ4.js → chunk.OOTMYYX7.js} +3 -3
- package/dist-versioned/chunks/{chunk.L64LVIXS.js → chunk.OT3GHFYG.js} +8 -8
- package/dist-versioned/chunks/{chunk.RDSH4OPP.js → chunk.PKYDE7EM.js} +2 -2
- package/dist-versioned/chunks/{chunk.BMTN3VEX.js → chunk.PWGSF3ZK.js} +6 -6
- package/dist-versioned/chunks/{chunk.QIJ3IUTL.js → chunk.QMVHHAVD.js} +9 -9
- package/dist-versioned/chunks/{chunk.KSYU5A2O.js → chunk.R6RYT35M.js} +2 -2
- package/dist-versioned/chunks/{chunk.26YRLDYL.js → chunk.RHATTS2F.js} +5 -5
- package/dist-versioned/chunks/{chunk.AMQ3JWRK.js → chunk.SI5HEOQ5.js} +2 -2
- package/dist-versioned/chunks/{chunk.SFVAKT7R.js → chunk.TMJWUQJA.js} +3 -3
- package/dist-versioned/chunks/{chunk.MGKZG6DL.js → chunk.TVIAU3GO.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.4EJ3JRKK.js → chunk.VCIIYGYE.js} +2 -2
- package/dist-versioned/chunks/{chunk.EZKF7OC5.js → chunk.W2B5IXKP.js} +3 -3
- package/dist-versioned/chunks/{chunk.ABXFOQTZ.js → chunk.WQXQXTPT.js} +3 -3
- package/dist-versioned/chunks/{chunk.TCVKYTE5.js → chunk.XSC2JQSP.js} +2 -2
- package/dist-versioned/chunks/{chunk.OI6DA62Q.js → chunk.YFH2IBBJ.js} +16 -16
- package/dist-versioned/chunks/{chunk.YTF2HY7E.js → chunk.ZA7XBPBQ.js} +2 -2
- package/dist-versioned/chunks/{chunk.JMLIW5YJ.js → chunk.ZUQDKLXG.js} +3 -3
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +5 -5
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +211 -211
- 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 +2 -2
- package/cdn/chunks/chunk.S6AIHKKV.js +0 -10
- package/cdn-versioned/chunks/chunk.S6AIHKKV.js +0 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solid-design-system/components",
|
|
3
3
|
"description": "Solid Design System: Components",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.8.0",
|
|
5
5
|
"homepage": "https://solid-design-system.fe.union-investment.de/docs/",
|
|
6
6
|
"author": "Union Investment",
|
|
7
7
|
"license": "MIT",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"readme": "README.md",
|
|
112
112
|
"meta": {
|
|
113
113
|
"bundleSizeInKb": {
|
|
114
|
-
"uncompressed":
|
|
114
|
+
"uncompressed": 428,
|
|
115
115
|
"gzip": 100
|
|
116
116
|
}
|
|
117
117
|
},
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{a as H,b as S}from"./chunk.5XTSQKKL.js";import{a as B}from"./chunk.CDC46OKY.js";import{b as L}from"./chunk.6HLS5XU2.js";import{a as d}from"./chunk.YTG5BN3U.js";import{a as N}from"./chunk.6HO6CE4A.js";import{a as y,b as C,c as F}from"./chunk.CDEXCMVF.js";import{a as z}from"./chunk.DEXOQON7.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as M,b as l,c as f,d as x,h as k}from"./chunk.SC52UUUI.js";import{b as T,e as h,h as V,i as _}from"./chunk.UWPDCU52.js";import{a as E,e as i}from"./chunk.TJOCV4DC.js";var b=(a,r)=>{var s;let e=a._$AN;if(e===void 0)return!1;for(let o of e)(s=o._$AO)==null||s.call(o,r,!1),b(o,r);return!0},g=a=>{let r,e;do{if((r=a._$AM)===void 0)break;e=r._$AN,e.delete(a),a=r}while((e==null?void 0:e.size)===0)},U=a=>{for(let r;r=a._$AM;a=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(a))break;e.add(a),j(r)}};function R(a){this._$AN!==void 0?(g(this),this._$AM=a,U(this)):this._$AM=a}function J(a,r=!1,e=0){let s=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(s))for(let u=e;u<s.length;u++)b(s[u],!1),g(s[u]);else s!=null&&(b(s,!1),g(s));else b(this,a)}var j=a=>{var r,e;a.type==y.CHILD&&((r=a._$AP)!=null||(a._$AP=J),(e=a._$AQ)!=null||(a._$AQ=R))},$=class extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,s){super._$AT(r,e,s),U(this),this.isConnected=r._$AU}_$AO(r,e=!0){var s,o;r!==this.isConnected&&(this.isConnected=r,r?(s=this.reconnected)==null||s.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var D=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==y.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return _}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),V}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(u=>{u.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=C(D);var O,Q=(O=navigator.userAgentData)==null?void 0:O.brands.some(a=>a.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends k{constructor(){super(...arguments);this.formControlController=new L(this);this.hasSlotController=new N(this,"help-text","label","left","right","message","placeholder");this.localize=new z(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,o="none"){this.input.setSelectionRange(e,s,o)}setRangeText(e,s,o,u){this.input.setRangeText(e,s,o,u),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,u=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),K=!!e.tooltip,w=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",P=this.size==="sm"?"text-sm":"text-base",q={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[w],m=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",p={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${s||K?h`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(s?"inline-block":"hidden",P)}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${n("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-all",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",w==="disabled"||w==="visuallyDisabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500 cursor-not-allowed":"placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${S(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(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}"> ${u?h`<button part="clear-button" class="${n("flex justify-center",p)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${n("text-neutral-700",c)}" library="system" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible?h`<slot name="show-password-icon"><sd-icon class="${n(m,c)}" library="system" name="eye"></sd-icon></slot>`:h`<slot name="hide-password-icon"><sd-icon class="${n(m,c)}" library="system" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-icon class="${n(m,p,c)}" library="system" name="calendar"></sd-icon>`:""} ${this.type==="time"?h`<sd-icon class="${n(m,p,c)}" library="system" name="clock"></sd-icon>`:""} ${this.type==="search"?h`<button class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${n(m,c)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?h`<sd-icon part="invalid-icon" class="${n("text-error",p,c)}" library="system" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-icon class="${n("text-success flex-shrink-0",p,c)}" library="system" name="status-check" part="valid-icon"></sd-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,p,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-icon name="system/minus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon name="system/plus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...k.styles,T`: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-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],i([x("#input")],t.prototype,"input",2),i([x("#invalid-message")],t.prototype,"invalidMessage",2),i([f()],t.prototype,"hasFocus",2),i([f()],t.prototype,"showValidStyle",2),i([f()],t.prototype,"showInvalidStyle",2),i([l({type:String,reflect:!0})],t.prototype,"type",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:String,reflect:!0})],t.prototype,"inputmode",2),i([l()],t.prototype,"value",2),i([B()],t.prototype,"defaultValue",2),i([l({type:String,reflect:!0})],t.prototype,"placeholder",2),i([l({type:String,reflect:!0})],t.prototype,"label",2),i([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([l({type:Number,reflect:!0})],t.prototype,"minlength",2),i([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([l({reflect:!0})],t.prototype,"min",2),i([l({reflect:!0})],t.prototype,"max",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([l()],t.prototype,"pattern",2),i([l({reflect:!0})],t.prototype,"step",2),i([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([l({reflect:!0})],t.prototype,"autocomplete",2),i([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([v("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([v("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([v("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=i([M("sd-input")],t);export{t as a};
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
lit-html/async-directive.js:
|
|
5
|
-
(**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*)
|
|
10
|
-
*/
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{a as H,b as S}from"./chunk.5XTSQKKL.js";import{a as B}from"./chunk.CDC46OKY.js";import{b as L}from"./chunk.6HLS5XU2.js";import{a as d}from"./chunk.YTG5BN3U.js";import{a as N}from"./chunk.6HO6CE4A.js";import{a as y,b as C,c as F}from"./chunk.CDEXCMVF.js";import{a as z}from"./chunk.DEXOQON7.js";import{a as n}from"./chunk.26V4EXHB.js";import{a as v}from"./chunk.E2DRD2OX.js";import{a as M,b as l,c as f,d as x,h as k}from"./chunk.SC52UUUI.js";import{b as T,e as h,h as V,i as _}from"./chunk.UWPDCU52.js";import{a as E,e as i}from"./chunk.TJOCV4DC.js";var b=(a,r)=>{var s;let e=a._$AN;if(e===void 0)return!1;for(let o of e)(s=o._$AO)==null||s.call(o,r,!1),b(o,r);return!0},g=a=>{let r,e;do{if((r=a._$AM)===void 0)break;e=r._$AN,e.delete(a),a=r}while((e==null?void 0:e.size)===0)},U=a=>{for(let r;r=a._$AM;a=r){let e=r._$AN;if(e===void 0)r._$AN=e=new Set;else if(e.has(a))break;e.add(a),j(r)}};function R(a){this._$AN!==void 0?(g(this),this._$AM=a,U(this)):this._$AM=a}function J(a,r=!1,e=0){let s=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(r)if(Array.isArray(s))for(let u=e;u<s.length;u++)b(s[u],!1),g(s[u]);else s!=null&&(b(s,!1),g(s));else b(this,a)}var j=a=>{var r,e;a.type==y.CHILD&&((r=a._$AP)!=null||(a._$AP=J),(e=a._$AQ)!=null||(a._$AQ=R))},$=class extends F{constructor(){super(...arguments),this._$AN=void 0}_$AT(r,e,s){super._$AT(r,e,s),U(this),this.isConnected=r._$AU}_$AO(r,e=!0){var s,o;r!==this.isConnected&&(this.isConnected=r,r?(s=this.reconnected)==null||s.call(this):(o=this.disconnected)==null||o.call(this)),e&&(b(this,r),g(this))}setValue(r){if(H(this._$Ct))this._$Ct._$AI(r,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=r,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var D=class extends ${constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==y.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return _}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=E({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),V}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(o=>{o.forEach(u=>{u.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},A=C(D);var O,Q=(O=navigator.userAgentData)==null?void 0:O.brands.some(a=>a.brand.includes("Chromium")),G=Q?!1:navigator.userAgent.includes("Firefox"),t=class extends k{constructor(){super(...arguments);this.formControlController=new L(this);this.hasSlotController=new N(this,"help-text","label","left","right","message","placeholder");this.localize=new z(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,o="none"){this.input.setSelectionRange(e,s,o)}setRangeText(e,s,o,u){this.input.setRangeText(e,s,o,u),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,o=this.helpText?!0:!!e.helpText,u=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),K=!!e.tooltip,w=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",P=this.size==="sm"?"text-sm":"text-base",q={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[w],m=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",p={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],c={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return h`<div part="form-control" class="${n((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${s||K?h`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${n(s?"inline-block":"hidden",P)}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?h`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${n("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${n("absolute w-full h-full pointer-events-none border rounded-default",q)}"></div><div part="base" class="${n("px-4 flex flex-row items-center rounded-default transition-all",this.size==="lg"?"py-2":"py-1",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",w==="disabled"||w==="visuallyDisabled"?"text-neutral-500":"text-black")}">${e.left?h`<slot name="left" part="left" class="${n("inline-flex",this.size==="sm"?"mr-1":"mr-2",m,c)}"></slot>`:""} <input part="input" id="input" class="${n("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500 cursor-not-allowed":"placeholder-neutral-700",this.size==="sm"?"h-6":"h-8",P)}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${d(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${d(this.placeholder)}" minlength="${d(this.minlength)}" maxlength="${d(this.maxlength)}" min="${d(this.min)}" max="${d(this.max)}" step="${d(this.step)}" .value="${S(this.value)}" autocapitalize="${d(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${d(this.autocomplete)}" autocorrect="${d(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${d(this.pattern)}" enterkeyhint="${d(this.enterkeyhint)}" inputmode="${d(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}"> ${u?h`<button part="clear-button" class="${n("flex justify-center",p)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-7-2-icon class="${n("text-neutral-700",c)}" library="system" name="closing-round"></sd-4-7-2-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?h`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible?h`<slot name="show-password-icon"><sd-4-7-2-icon class="${n(m,c)}" library="system" name="eye"></sd-4-7-2-icon></slot>`:h`<slot name="hide-password-icon"><sd-4-7-2-icon class="${n(m,c)}" library="system" name="eye-crossed-out"></sd-4-7-2-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!G?h`<sd-4-7-2-icon class="${n(m,p,c)}" library="system" name="calendar"></sd-4-7-2-icon>`:""} ${this.type==="time"?h`<sd-4-7-2-icon class="${n(m,p,c)}" library="system" name="clock"></sd-4-7-2-icon>`:""} ${this.type==="search"?h`<button class="${n("flex items-center sd-interactive",p)}" type="button" @click="${this.handleSearchClick}"><sd-4-7-2-icon class="${n(m,c)}" library="system" name="magnifying-glass" label="${this.localize.term("search")}"></sd-4-7-2-icon></button>`:""} ${this.showInvalidStyle?h`<sd-4-7-2-icon part="invalid-icon" class="${n("text-error",p,c)}" library="system" name="risk"></sd-4-7-2-icon>`:""} ${this.showValidStyle&&this.styleOnValid?h`<sd-4-7-2-icon class="${n("text-success flex-shrink-0",p,c)}" library="system" name="status-check" part="valid-icon"></sd-4-7-2-icon>`:""} ${e.right?h`<slot name="right" part="right" class="${n("inline-flex",m,p,c)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?h`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1"><slot name="decrement-number-stepper"><sd-4-7-2-icon name="system/minus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-4-7-2-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${A({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-4-7-2-icon name="system/plus-circle" label="Decrease value" class="${n(m,p,c)}"></sd-4-7-2-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${n("text-sm text-neutral-700 mt-2",o?"block":"hidden")}" aria-hidden="${!o}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};t.styles=[...k.styles,T`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-4-7-2-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`],i([x("#input")],t.prototype,"input",2),i([x("#invalid-message")],t.prototype,"invalidMessage",2),i([f()],t.prototype,"hasFocus",2),i([f()],t.prototype,"showValidStyle",2),i([f()],t.prototype,"showInvalidStyle",2),i([l({type:String,reflect:!0})],t.prototype,"type",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:String,reflect:!0})],t.prototype,"inputmode",2),i([l()],t.prototype,"value",2),i([B()],t.prototype,"defaultValue",2),i([l({type:String,reflect:!0})],t.prototype,"placeholder",2),i([l({type:String,reflect:!0})],t.prototype,"label",2),i([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([l({type:Number,reflect:!0})],t.prototype,"minlength",2),i([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([l({reflect:!0})],t.prototype,"min",2),i([l({reflect:!0})],t.prototype,"max",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([l()],t.prototype,"pattern",2),i([l({reflect:!0})],t.prototype,"step",2),i([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([l({reflect:!0})],t.prototype,"autocomplete",2),i([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([v("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([v("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([v("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),t=i([M("sd-4-7-2-input")],t);export{t as a};
|
|
2
|
-
/*! Bundled license information:
|
|
3
|
-
|
|
4
|
-
lit-html/async-directive.js:
|
|
5
|
-
(**
|
|
6
|
-
* @license
|
|
7
|
-
* Copyright 2017 Google LLC
|
|
8
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*)
|
|
10
|
-
*/
|