@solid-design-system/components 4.0.0-next.1 → 4.0.0-next.10
Sign up to get free protection for your applications and to get access to all the features.
- package/cdn/chunks/{chunk.4W3WLVGR.js → chunk.2O6P42TG.js} +1 -1
- package/cdn/chunks/{chunk.QNZWJACC.js → chunk.3QCHB7C4.js} +1 -1
- package/cdn/chunks/{chunk.NUB5WHGD.js → chunk.4R3BUYI6.js} +1 -1
- package/cdn/chunks/chunk.4ZLT6KBW.js +1 -0
- package/cdn/chunks/{chunk.YF5WEC4R.js → chunk.63QMXQSQ.js} +1 -1
- package/cdn/chunks/{chunk.TA7CZCP3.js → chunk.6AEKVM4D.js} +1 -1
- package/cdn/chunks/chunk.6ODGFNBK.js +1 -0
- package/cdn/chunks/{chunk.ZFA2VPUT.js → chunk.7VCG3G4V.js} +1 -1
- package/cdn/chunks/{chunk.GOVNZSCO.js → chunk.AKCSI5N6.js} +1 -1
- package/cdn/chunks/chunk.AOCTDOCG.js +1 -0
- package/cdn/chunks/{chunk.WP6KSGSU.js → chunk.BIGM6NEW.js} +1 -1
- package/cdn/chunks/{chunk.GQSLHWQC.js → chunk.BNXXO5KU.js} +1 -1
- package/cdn/chunks/{chunk.EWWGLHC5.js → chunk.BQQVLPY4.js} +1 -1
- package/cdn/chunks/{chunk.LZEFLOSA.js → chunk.CRQ75A7K.js} +1 -1
- package/cdn/chunks/{chunk.QFNCQQ6S.js → chunk.CSF7IJSV.js} +1 -1
- package/cdn/chunks/{chunk.BTRVMAGL.js → chunk.CV34FMRZ.js} +1 -1
- package/cdn/chunks/{chunk.KMLMMBY4.js → chunk.CY3FENGS.js} +1 -1
- package/cdn/chunks/{chunk.5ZDWEJDB.js → chunk.D6WAP655.js} +1 -1
- package/cdn/chunks/chunk.E4STSELW.js +1 -0
- package/cdn/chunks/chunk.FK3QAIHB.js +11 -0
- package/cdn/chunks/{chunk.FFNTXFC3.js → chunk.G45M3PVK.js} +1 -1
- package/cdn/chunks/{chunk.24SF73MY.js → chunk.GCWTBB43.js} +1 -1
- package/cdn/chunks/chunk.H7UHODBE.js +1 -0
- package/cdn/chunks/{chunk.6JBTCFHE.js → chunk.HIWT2ZT2.js} +1 -1
- package/cdn/chunks/{chunk.IZKUI5WK.js → chunk.HRXA5JN2.js} +1 -1
- package/cdn/chunks/{chunk.E7HNNYP6.js → chunk.IH7PPWKS.js} +1 -1
- package/cdn/chunks/{chunk.WMRFVNYU.js → chunk.INTAVJVZ.js} +1 -1
- package/cdn/chunks/{chunk.GUOHZTA7.js → chunk.JCLTUYPT.js} +1 -1
- package/cdn/chunks/chunk.JCTIIJ44.js +1 -0
- package/cdn/chunks/{chunk.LLXTYJXF.js → chunk.JOBV6UKJ.js} +1 -1
- package/cdn/chunks/{chunk.FD54463O.js → chunk.JVLAULKU.js} +1 -1
- package/cdn/chunks/{chunk.WENTMXB2.js → chunk.KPAW7QL2.js} +1 -1
- package/cdn/chunks/chunk.KXVP2SWS.js +1 -0
- package/cdn/chunks/chunk.MHHHE75F.js +40 -0
- package/cdn/chunks/{chunk.UBFU6D5B.js → chunk.N3BUJHMA.js} +1 -1
- package/cdn/chunks/chunk.OUQ5JFZE.js +11 -0
- package/cdn/chunks/{chunk.7RJ3O2FV.js → chunk.P4LMRQ2W.js} +1 -1
- package/cdn/chunks/{chunk.APMDRZQD.js → chunk.P7EPSHEQ.js} +1 -1
- package/cdn/chunks/{chunk.DVHKKAVM.js → chunk.QDZ6IRX3.js} +1 -1
- package/cdn/chunks/{chunk.VNKUGTKM.js → chunk.S3ZRXV3P.js} +1 -1
- package/cdn/chunks/{chunk.R354E6ZD.js → chunk.SLELMW5W.js} +1 -1
- package/cdn/chunks/{chunk.FX3ED655.js → chunk.SWKERNOK.js} +1 -1
- package/cdn/chunks/{chunk.36Z2VDHI.js → chunk.TZMBVR24.js} +1 -1
- package/cdn/chunks/{chunk.O4UXOQEI.js → chunk.V7RWAM4R.js} +1 -1
- package/cdn/chunks/{chunk.ND7BT52X.js → chunk.VMFHBPHG.js} +1 -1
- package/cdn/chunks/{chunk.OVV7TNT2.js → chunk.W2M3ITZ6.js} +1 -1
- package/cdn/chunks/{chunk.MPP7HYX7.js → chunk.WOJCTG6E.js} +1 -1
- package/cdn/chunks/{chunk.URB2K7JQ.js → chunk.XSWKLIM6.js} +1 -1
- package/cdn/chunks/{chunk.WQAPHFVM.js → chunk.YLM4CPSP.js} +1 -1
- package/cdn/chunks/chunk.ZH5YOK2R.js +1 -0
- package/cdn/components/accordion/accordion.d.ts +5 -3
- 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.d.ts +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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +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.d.ts +1 -0
- 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.d.ts +1 -0
- 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.d.ts +0 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +77 -31
- package/cdn/solid-components.bundle.js +54 -15
- package/cdn/solid-components.iife.js +54 -15
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +14 -13
- package/cdn/web-types.json +33 -20
- 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.4W3WLVGR.js → chunk.2O6P42TG.js} +1 -1
- package/cdn-versioned/chunks/chunk.3QCHB7C4.js +19 -0
- package/cdn-versioned/chunks/{chunk.NUB5WHGD.js → chunk.4R3BUYI6.js} +1 -1
- package/cdn-versioned/chunks/chunk.4ZLT6KBW.js +1 -0
- package/cdn-versioned/chunks/{chunk.YF5WEC4R.js → chunk.63QMXQSQ.js} +2 -2
- package/cdn-versioned/chunks/chunk.65NSSTJE.js +1 -1
- package/cdn-versioned/chunks/{chunk.TA7CZCP3.js → chunk.6AEKVM4D.js} +1 -1
- package/cdn-versioned/chunks/chunk.6ODGFNBK.js +1 -0
- package/cdn-versioned/chunks/chunk.7VCG3G4V.js +1 -0
- package/cdn-versioned/chunks/{chunk.GOVNZSCO.js → chunk.AKCSI5N6.js} +1 -1
- package/cdn-versioned/chunks/chunk.AOCTDOCG.js +1 -0
- package/cdn-versioned/chunks/chunk.BIGM6NEW.js +1 -0
- package/cdn-versioned/chunks/chunk.BNXXO5KU.js +1 -0
- package/cdn-versioned/chunks/chunk.BQQVLPY4.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.LZEFLOSA.js → chunk.CRQ75A7K.js} +1 -1
- package/cdn-versioned/chunks/chunk.CSF7IJSV.js +1 -0
- package/cdn-versioned/chunks/{chunk.BTRVMAGL.js → chunk.CV34FMRZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KMLMMBY4.js → chunk.CY3FENGS.js} +1 -1
- package/cdn-versioned/chunks/chunk.D6WAP655.js +1 -0
- package/cdn-versioned/chunks/chunk.E4STSELW.js +1 -0
- package/cdn-versioned/chunks/chunk.FK3QAIHB.js +11 -0
- package/cdn-versioned/chunks/chunk.G45M3PVK.js +1 -0
- package/cdn-versioned/chunks/{chunk.24SF73MY.js → chunk.GCWTBB43.js} +1 -1
- package/cdn-versioned/chunks/chunk.H7UHODBE.js +1 -0
- package/cdn-versioned/chunks/{chunk.6JBTCFHE.js → chunk.HIWT2ZT2.js} +2 -2
- package/cdn-versioned/chunks/chunk.HRXA5JN2.js +1 -0
- package/cdn-versioned/chunks/{chunk.E7HNNYP6.js → chunk.IH7PPWKS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WMRFVNYU.js → chunk.INTAVJVZ.js} +2 -2
- package/cdn-versioned/chunks/chunk.JCLTUYPT.js +1 -0
- package/cdn-versioned/chunks/chunk.JCTIIJ44.js +1 -0
- package/cdn-versioned/chunks/{chunk.LLXTYJXF.js → chunk.JOBV6UKJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FD54463O.js → chunk.JVLAULKU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.WENTMXB2.js → chunk.KPAW7QL2.js} +1 -1
- package/cdn-versioned/chunks/chunk.KXVP2SWS.js +1 -0
- package/cdn-versioned/chunks/chunk.MHHHE75F.js +40 -0
- package/cdn-versioned/chunks/chunk.N3BUJHMA.js +1 -0
- package/cdn-versioned/chunks/chunk.OUQ5JFZE.js +11 -0
- package/cdn-versioned/chunks/{chunk.7RJ3O2FV.js → chunk.P4LMRQ2W.js} +1 -1
- package/cdn-versioned/chunks/chunk.P7EPSHEQ.js +73 -0
- package/cdn-versioned/chunks/{chunk.DVHKKAVM.js → chunk.QDZ6IRX3.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VNKUGTKM.js → chunk.S3ZRXV3P.js} +1 -1
- package/cdn-versioned/chunks/{chunk.R354E6ZD.js → chunk.SLELMW5W.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FX3ED655.js → chunk.SWKERNOK.js} +1 -1
- package/cdn-versioned/chunks/{chunk.36Z2VDHI.js → chunk.TZMBVR24.js} +1 -1
- package/cdn-versioned/chunks/{chunk.O4UXOQEI.js → chunk.V7RWAM4R.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ND7BT52X.js → chunk.VMFHBPHG.js} +1 -1
- package/cdn-versioned/chunks/chunk.W2M3ITZ6.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WOJCTG6E.js +1 -0
- package/cdn-versioned/chunks/chunk.XSWKLIM6.js +1 -0
- package/cdn-versioned/chunks/{chunk.WQAPHFVM.js → chunk.YLM4CPSP.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZH5YOK2R.js +1 -0
- package/cdn-versioned/components/accordion/accordion.d.ts +6 -4
- 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 +2 -2
- 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 +5 -4
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +2 -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 +2 -2
- 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 +5 -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 +2 -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 -2
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +278 -232
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +54 -15
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +54 -15
- 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 +93 -92
- package/cdn-versioned/web-types.json +168 -155
- package/dist/chunks/{chunk.D6JZ4IKM.js → chunk.23UMRH3O.js} +1 -1
- package/dist/chunks/{chunk.RNSJAVQE.js → chunk.3SACKHZW.js} +1 -1
- package/dist/chunks/{chunk.WWS3CQ2Z.js → chunk.4NEMGQ57.js} +17 -6
- package/dist/chunks/{chunk.NM6QP6RJ.js → chunk.4WC43I2G.js} +1 -1
- package/dist/chunks/{chunk.HPR3PWAE.js → chunk.4WWL72HB.js} +1 -1
- package/dist/chunks/{chunk.UC5E3AEF.js → chunk.4XJBD3PS.js} +1 -1
- package/dist/chunks/{chunk.V7TQ6VJU.js → chunk.4XYZAEKQ.js} +1 -1
- package/dist/chunks/{chunk.IN3GJ5QL.js → chunk.6TKVFZLG.js} +1 -1
- package/dist/chunks/{chunk.BXB5WF23.js → chunk.6XP4L2GR.js} +1 -1
- package/dist/chunks/{chunk.PIR4YJUS.js → chunk.7245PZD4.js} +1 -1
- package/dist/chunks/{chunk.727ERQ4F.js → chunk.ALGO2EYV.js} +1 -1
- package/dist/chunks/{chunk.R4BETATX.js → chunk.AYZRRY6G.js} +1 -1
- package/dist/chunks/{chunk.65BWRJEA.js → chunk.AZWDFCND.js} +1 -1
- package/dist/chunks/{chunk.ZGPGFEVP.js → chunk.BUN3ON73.js} +1 -1
- package/dist/chunks/{chunk.QCICV36Z.js → chunk.C7ITLHV2.js} +2 -2
- package/dist/chunks/{chunk.UDZYWRPT.js → chunk.DNCLRX5Q.js} +1 -1
- package/dist/chunks/{chunk.VHGHICFG.js → chunk.DVSGWCY2.js} +1 -1
- package/dist/chunks/{chunk.JIKTGTDS.js → chunk.FJRTIKOG.js} +2 -2
- package/dist/chunks/{chunk.4WYIZLVF.js → chunk.FPZWHLNC.js} +2 -2
- package/dist/chunks/{chunk.7BEDTYS7.js → chunk.FYPZKHQ2.js} +9 -2
- package/dist/chunks/{chunk.3LGDUVS4.js → chunk.II5QKXKB.js} +1 -1
- package/dist/chunks/{chunk.EFEBQQHC.js → chunk.ISNWRY34.js} +33 -22
- package/dist/chunks/{chunk.DAM3ICHP.js → chunk.JCLUIZEF.js} +32 -6
- package/dist/chunks/{chunk.SSH6ATRK.js → chunk.JYRKP32Z.js} +1 -1
- package/dist/chunks/{chunk.6CUAQSFA.js → chunk.K6B7NG4F.js} +1 -1
- package/dist/chunks/{chunk.2IBVAXOX.js → chunk.L6MU3DLL.js} +1 -1
- package/dist/chunks/{chunk.BVC5FY4L.js → chunk.LEOC6FW6.js} +3 -3
- package/dist/chunks/{chunk.J2XBUIBC.js → chunk.MEGJ7CBG.js} +1 -1
- package/dist/chunks/{chunk.PGZ5AWZ2.js → chunk.MF3CL2AP.js} +1 -1
- package/dist/chunks/{chunk.3IT4HBTI.js → chunk.NTKMCOLR.js} +1 -1
- package/dist/chunks/{chunk.XVFJS7VS.js → chunk.O3MWFP7G.js} +1 -1
- package/dist/chunks/{chunk.J7MMF6WJ.js → chunk.O4QXE2LJ.js} +1 -1
- package/dist/chunks/{chunk.76ZNNLGN.js → chunk.O5W5RLTG.js} +1 -1
- package/dist/chunks/{chunk.7OHSCBBX.js → chunk.OZBWEFM7.js} +1 -1
- package/dist/chunks/{chunk.PDRECIYA.js → chunk.QQ4M35EE.js} +1 -1
- package/dist/chunks/{chunk.QP3SM2LZ.js → chunk.RKAIYDTU.js} +1 -1
- package/dist/chunks/{chunk.U6RY25TF.js → chunk.SFM7ZSKY.js} +1 -1
- package/dist/chunks/{chunk.Z2UY62T2.js → chunk.SI6BILWU.js} +1 -1
- package/dist/chunks/{chunk.DQPVSTUQ.js → chunk.STNLNYKE.js} +1 -1
- package/dist/chunks/{chunk.SPBPHTSS.js → chunk.T7U45C76.js} +2 -9
- package/dist/chunks/{chunk.ZWJI7SLE.js → chunk.TLVJDDZL.js} +1 -1
- package/dist/chunks/{chunk.RZRTIYXA.js → chunk.TYDRZQYV.js} +5 -5
- package/dist/chunks/{chunk.H655M7FD.js → chunk.UO7UGXMA.js} +1 -1
- package/dist/chunks/{chunk.6JI7NL3E.js → chunk.W6Z5BPA5.js} +49 -7
- package/dist/chunks/{chunk.56SNEGI4.js → chunk.WBTUVFBA.js} +5 -2
- package/dist/chunks/{chunk.QAZYUCBK.js → chunk.X55CH4SC.js} +1 -1
- package/dist/chunks/{chunk.MTSAWJLV.js → chunk.XFF2H3JK.js} +1 -1
- package/dist/chunks/{chunk.U5NFPAOX.js → chunk.YGC3JJ2C.js} +1 -1
- package/dist/chunks/{chunk.I3PY3VYP.js → chunk.YQJ2FRJY.js} +19 -9
- package/dist/chunks/{chunk.4QKRGAOL.js → chunk.YYRZLQAY.js} +1 -1
- package/dist/components/accordion/accordion.d.ts +5 -3
- 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 +2 -2
- package/dist/components/badge/badge.d.ts +1 -1
- 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.d.ts +1 -0
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +2 -2
- package/dist/components/flipcard/flipcard.d.ts +1 -0
- 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 +2 -2
- package/dist/components/notification/notification.js +2 -2
- 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.d.ts +1 -1
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.js +3 -3
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/scrollable/scrollable.js +2 -2
- package/dist/components/select/select.d.ts +1 -0
- package/dist/components/select/select.js +5 -5
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +2 -2
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.d.ts +1 -0
- package/dist/components/tab/tab.js +3 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +2 -2
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.js +3 -3
- package/dist/components/video/video.d.ts +0 -1
- package/dist/components/video/video.js +2 -2
- package/dist/custom-elements.json +77 -31
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/vscode.html-custom-data.json +14 -13
- package/dist/web-types.json +33 -20
- 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.D6JZ4IKM.js → chunk.23UMRH3O.js} +2 -2
- package/dist-versioned/chunks/{chunk.RNSJAVQE.js → chunk.3SACKHZW.js} +2 -2
- package/dist-versioned/chunks/{chunk.WWS3CQ2Z.js → chunk.4NEMGQ57.js} +21 -10
- package/dist-versioned/chunks/{chunk.NM6QP6RJ.js → chunk.4WC43I2G.js} +3 -3
- package/dist-versioned/chunks/{chunk.HPR3PWAE.js → chunk.4WWL72HB.js} +4 -4
- package/dist-versioned/chunks/{chunk.UC5E3AEF.js → chunk.4XJBD3PS.js} +2 -2
- package/dist-versioned/chunks/{chunk.V7TQ6VJU.js → chunk.4XYZAEKQ.js} +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.IN3GJ5QL.js → chunk.6TKVFZLG.js} +4 -4
- package/dist-versioned/chunks/{chunk.BXB5WF23.js → chunk.6XP4L2GR.js} +6 -6
- package/dist-versioned/chunks/{chunk.PIR4YJUS.js → chunk.7245PZD4.js} +3 -3
- package/dist-versioned/chunks/{chunk.727ERQ4F.js → chunk.ALGO2EYV.js} +3 -3
- package/dist-versioned/chunks/{chunk.R4BETATX.js → chunk.AYZRRY6G.js} +2 -2
- package/dist-versioned/chunks/{chunk.65BWRJEA.js → chunk.AZWDFCND.js} +6 -6
- package/dist-versioned/chunks/{chunk.ZGPGFEVP.js → chunk.BUN3ON73.js} +6 -6
- package/dist-versioned/chunks/{chunk.QCICV36Z.js → chunk.C7ITLHV2.js} +8 -8
- package/dist-versioned/chunks/chunk.DNCLRX5Q.js +65 -0
- package/dist-versioned/chunks/{chunk.VHGHICFG.js → chunk.DVSGWCY2.js} +3 -3
- package/dist-versioned/chunks/{chunk.JIKTGTDS.js → chunk.FJRTIKOG.js} +4 -4
- package/dist-versioned/chunks/{chunk.4WYIZLVF.js → chunk.FPZWHLNC.js} +7 -7
- package/dist-versioned/chunks/{chunk.7BEDTYS7.js → chunk.FYPZKHQ2.js} +11 -4
- package/dist-versioned/chunks/{chunk.3LGDUVS4.js → chunk.II5QKXKB.js} +3 -3
- package/dist-versioned/chunks/{chunk.EFEBQQHC.js → chunk.ISNWRY34.js} +57 -46
- package/dist-versioned/chunks/{chunk.DAM3ICHP.js → chunk.JCLUIZEF.js} +33 -7
- package/dist-versioned/chunks/{chunk.SSH6ATRK.js → chunk.JYRKP32Z.js} +3 -3
- package/dist-versioned/chunks/{chunk.6CUAQSFA.js → chunk.K6B7NG4F.js} +3 -3
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.2IBVAXOX.js → chunk.L6MU3DLL.js} +2 -2
- package/dist-versioned/chunks/{chunk.BVC5FY4L.js → chunk.LEOC6FW6.js} +16 -16
- package/dist-versioned/chunks/{chunk.J2XBUIBC.js → chunk.MEGJ7CBG.js} +3 -3
- package/dist-versioned/chunks/{chunk.PGZ5AWZ2.js → chunk.MF3CL2AP.js} +10 -10
- package/dist-versioned/chunks/{chunk.3IT4HBTI.js → chunk.NTKMCOLR.js} +2 -2
- package/dist-versioned/chunks/{chunk.XVFJS7VS.js → chunk.O3MWFP7G.js} +6 -6
- package/dist-versioned/chunks/{chunk.J7MMF6WJ.js → chunk.O4QXE2LJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.76ZNNLGN.js → chunk.O5W5RLTG.js} +2 -2
- package/dist-versioned/chunks/{chunk.7OHSCBBX.js → chunk.OZBWEFM7.js} +2 -2
- package/dist-versioned/chunks/{chunk.PDRECIYA.js → chunk.QQ4M35EE.js} +2 -2
- package/dist-versioned/chunks/{chunk.QP3SM2LZ.js → chunk.RKAIYDTU.js} +4 -4
- package/dist-versioned/chunks/{chunk.U6RY25TF.js → chunk.SFM7ZSKY.js} +3 -3
- package/dist-versioned/chunks/{chunk.Z2UY62T2.js → chunk.SI6BILWU.js} +2 -2
- package/dist-versioned/chunks/{chunk.DQPVSTUQ.js → chunk.STNLNYKE.js} +4 -4
- package/dist-versioned/chunks/{chunk.SPBPHTSS.js → chunk.T7U45C76.js} +3 -10
- package/dist-versioned/chunks/{chunk.ZWJI7SLE.js → chunk.TLVJDDZL.js} +12 -12
- package/dist-versioned/chunks/{chunk.RZRTIYXA.js → chunk.TYDRZQYV.js} +6 -6
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.H655M7FD.js → chunk.UO7UGXMA.js} +2 -2
- package/dist-versioned/chunks/chunk.W6Z5BPA5.js +107 -0
- package/dist-versioned/chunks/{chunk.56SNEGI4.js → chunk.WBTUVFBA.js} +18 -15
- package/dist-versioned/chunks/{chunk.QAZYUCBK.js → chunk.X55CH4SC.js} +7 -7
- package/dist-versioned/chunks/{chunk.MTSAWJLV.js → chunk.XFF2H3JK.js} +3 -3
- package/dist-versioned/chunks/{chunk.U5NFPAOX.js → chunk.YGC3JJ2C.js} +3 -3
- package/dist-versioned/chunks/{chunk.I3PY3VYP.js → chunk.YQJ2FRJY.js} +45 -35
- package/dist-versioned/chunks/{chunk.4QKRGAOL.js → chunk.YYRZLQAY.js} +5 -5
- package/dist-versioned/components/accordion/accordion.d.ts +6 -4
- 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 +2 -2
- package/dist-versioned/components/badge/badge.d.ts +2 -2
- 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 +5 -4
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +5 -5
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +5 -5
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +2 -2
- package/dist-versioned/components/flipcard/flipcard.d.ts +2 -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 +2 -2
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +5 -5
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +2 -2
- package/dist-versioned/components/select/select.d.ts +5 -4
- package/dist-versioned/components/select/select.js +5 -5
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +2 -2
- 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 +2 -1
- package/dist-versioned/components/tab/tab.js +3 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 -2
- package/dist-versioned/components/video/video.js +2 -2
- package/dist-versioned/custom-elements.json +278 -232
- 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 +93 -92
- package/dist-versioned/web-types.json +168 -155
- package/package.json +2 -2
- package/cdn/chunks/chunk.2UHPWLJE.js +0 -1
- package/cdn/chunks/chunk.5BROLR6V.js +0 -11
- package/cdn/chunks/chunk.7M7VCE7R.js +0 -1
- package/cdn/chunks/chunk.CZ3W7KBI.js +0 -1
- package/cdn/chunks/chunk.FREYGZDJ.js +0 -1
- package/cdn/chunks/chunk.ISEQUO4U.js +0 -1
- package/cdn/chunks/chunk.IVXFAQNG.js +0 -11
- package/cdn/chunks/chunk.KFW32Q4Q.js +0 -1
- package/cdn/chunks/chunk.MMRILMYU.js +0 -1
- package/cdn/chunks/chunk.SNUMAAEG.js +0 -1
- package/cdn/chunks/chunk.WGNXYONB.js +0 -1
- package/cdn-versioned/chunks/chunk.2UHPWLJE.js +0 -1
- package/cdn-versioned/chunks/chunk.5BROLR6V.js +0 -11
- package/cdn-versioned/chunks/chunk.5ZDWEJDB.js +0 -1
- package/cdn-versioned/chunks/chunk.7M7VCE7R.js +0 -1
- package/cdn-versioned/chunks/chunk.APMDRZQD.js +0 -73
- package/cdn-versioned/chunks/chunk.CZ3W7KBI.js +0 -1
- package/cdn-versioned/chunks/chunk.EWWGLHC5.js +0 -1
- package/cdn-versioned/chunks/chunk.FFNTXFC3.js +0 -1
- package/cdn-versioned/chunks/chunk.FREYGZDJ.js +0 -1
- package/cdn-versioned/chunks/chunk.GQSLHWQC.js +0 -1
- package/cdn-versioned/chunks/chunk.GUOHZTA7.js +0 -1
- package/cdn-versioned/chunks/chunk.ISEQUO4U.js +0 -1
- package/cdn-versioned/chunks/chunk.IVXFAQNG.js +0 -11
- package/cdn-versioned/chunks/chunk.IZKUI5WK.js +0 -1
- package/cdn-versioned/chunks/chunk.KFW32Q4Q.js +0 -1
- package/cdn-versioned/chunks/chunk.MMRILMYU.js +0 -1
- package/cdn-versioned/chunks/chunk.MPP7HYX7.js +0 -1
- package/cdn-versioned/chunks/chunk.OVV7TNT2.js +0 -1
- package/cdn-versioned/chunks/chunk.QFNCQQ6S.js +0 -1
- package/cdn-versioned/chunks/chunk.QNZWJACC.js +0 -19
- package/cdn-versioned/chunks/chunk.SNUMAAEG.js +0 -1
- package/cdn-versioned/chunks/chunk.UBFU6D5B.js +0 -1
- package/cdn-versioned/chunks/chunk.URB2K7JQ.js +0 -1
- package/cdn-versioned/chunks/chunk.WGNXYONB.js +0 -1
- package/cdn-versioned/chunks/chunk.WP6KSGSU.js +0 -1
- package/cdn-versioned/chunks/chunk.ZFA2VPUT.js +0 -1
- package/dist-versioned/chunks/chunk.6JI7NL3E.js +0 -65
- package/dist-versioned/chunks/chunk.UDZYWRPT.js +0 -65
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
SdTag
|
3
|
-
} from "./chunk.
|
3
|
+
} from "./chunk.4WC43I2G.js";
|
4
4
|
import {
|
5
5
|
SdPopup
|
6
|
-
} from "./chunk.
|
6
|
+
} from "./chunk.4XYZAEKQ.js";
|
7
7
|
import {
|
8
8
|
defaultValue
|
9
9
|
} from "./chunk.GI7VDIWX.js";
|
@@ -28,7 +28,7 @@ import {
|
|
28
28
|
} from "./chunk.N4LHE3QK.js";
|
29
29
|
import {
|
30
30
|
SdIcon
|
31
|
-
} from "./chunk.
|
31
|
+
} from "./chunk.NTKMCOLR.js";
|
32
32
|
import {
|
33
33
|
animateTo,
|
34
34
|
stopAnimations
|
@@ -48,7 +48,7 @@ import {
|
|
48
48
|
import {
|
49
49
|
SolidElement,
|
50
50
|
customElement
|
51
|
-
} from "./chunk.
|
51
|
+
} from "./chunk.DNCLRX5Q.js";
|
52
52
|
import {
|
53
53
|
__decorateClass
|
54
54
|
} from "./chunk.S3NI7NKU.js";
|
@@ -62,7 +62,7 @@ var SdCombobox = class extends SolidElement {
|
|
62
62
|
constructor() {
|
63
63
|
super(...arguments);
|
64
64
|
this.formControlController = new FormControlController(this, {
|
65
|
-
assumeInteractionOn: ["sd-blur", "sd-4-0-0-next-
|
65
|
+
assumeInteractionOn: ["sd-blur", "sd-4-0-0-next-10-input"]
|
66
66
|
});
|
67
67
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
68
68
|
this.localize = new LocalizeController(this);
|
@@ -79,7 +79,8 @@ var SdCombobox = class extends SolidElement {
|
|
79
79
|
this.value = "";
|
80
80
|
this.defaultValue = "";
|
81
81
|
this.size = "lg";
|
82
|
-
this.placeholder =
|
82
|
+
this.placeholder = "";
|
83
|
+
this.maxOptionsTagLabel = this.localize.term("tagsSelected");
|
83
84
|
this.disabled = false;
|
84
85
|
this.clearable = false;
|
85
86
|
this.open = false;
|
@@ -102,11 +103,11 @@ var SdCombobox = class extends SolidElement {
|
|
102
103
|
return normalizedOption.includes(normalizedQuery) || normalizedOptionLabel.includes(normalizedQuery);
|
103
104
|
};
|
104
105
|
this.getTag = (option) => {
|
105
|
-
return html`<sd-4-0-0-next-
|
106
|
+
return html`<sd-4-0-0-next-10-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
106
107
|
base:tag__base,
|
107
108
|
content:tag__content,
|
108
109
|
removable-indicator:tag__removable-indicator,
|
109
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-0-0-next-
|
110
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-4-0-0-next-10-tag>`;
|
110
111
|
};
|
111
112
|
this.handleDocumentFocusIn = (event) => {
|
112
113
|
const path = event.composedPath();
|
@@ -162,13 +163,13 @@ var SdCombobox = class extends SolidElement {
|
|
162
163
|
this.setOrderedSelectedOptions(currentOption);
|
163
164
|
this.setSelectedOptions(currentOption);
|
164
165
|
}
|
165
|
-
this.updateComplete.then(() =>
|
166
|
-
|
167
|
-
this.
|
166
|
+
this.updateComplete.then(() => {
|
167
|
+
this.displayInput.focus({ preventScroll: true });
|
168
|
+
if (this.value !== oldValue) {
|
168
169
|
this.emit("sd-input");
|
169
170
|
this.emit("sd-change");
|
170
|
-
}
|
171
|
-
}
|
171
|
+
}
|
172
|
+
});
|
172
173
|
}
|
173
174
|
this.displayInput.focus({ preventScroll: true });
|
174
175
|
if (!this.multiple) {
|
@@ -212,7 +213,6 @@ var SdCombobox = class extends SolidElement {
|
|
212
213
|
this.selectedTextLabel = (option == null ? void 0 : option.getTextLabel()) || "";
|
213
214
|
}
|
214
215
|
this.formControlController.updateValidity();
|
215
|
-
this.applySizeToOptions();
|
216
216
|
}
|
217
217
|
/** Gets the validity state object */
|
218
218
|
get validity() {
|
@@ -229,9 +229,9 @@ var SdCombobox = class extends SolidElement {
|
|
229
229
|
return html`${typeof optionHtml === "string" ? unsafeHTML(optionHtml) : optionHtml}`;
|
230
230
|
};
|
231
231
|
return this.filteredOptions.map((item) => {
|
232
|
-
if (item.tagName.toLowerCase() === "sd-4-0-0-next-
|
232
|
+
if (item.tagName.toLowerCase() === "sd-4-0-0-next-10-optgroup") {
|
233
233
|
Array.from(item.children).forEach((option) => {
|
234
|
-
if (option.tagName.toLowerCase() === "sd-4-0-0-next-
|
234
|
+
if (option.tagName.toLowerCase() === "sd-4-0-0-next-10-option") {
|
235
235
|
renderOption(option);
|
236
236
|
}
|
237
237
|
});
|
@@ -251,11 +251,11 @@ var SdCombobox = class extends SolidElement {
|
|
251
251
|
});
|
252
252
|
} else {
|
253
253
|
return [
|
254
|
-
html`<sd-4-0-0-next-
|
254
|
+
html`<sd-4-0-0-next-10-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
255
255
|
base:tag__base,
|
256
256
|
content:tag__content,
|
257
257
|
removable-indicator:tag__removable-indicator,
|
258
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.
|
258
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.maxOptionsTagLabel}</sd-4-0-0-next-10-tag>`
|
259
259
|
];
|
260
260
|
}
|
261
261
|
}
|
@@ -283,6 +283,7 @@ var SdCombobox = class extends SolidElement {
|
|
283
283
|
}
|
284
284
|
handleTagKeyDown(event, option) {
|
285
285
|
if (event.key === "Backspace" && this.multiple) {
|
286
|
+
event.preventDefault();
|
286
287
|
event.stopPropagation();
|
287
288
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
288
289
|
this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));
|
@@ -290,6 +291,7 @@ var SdCombobox = class extends SolidElement {
|
|
290
291
|
}
|
291
292
|
handleTagMaxOptionsKeyDown(event) {
|
292
293
|
if (event.key === "Backspace" && this.multiple) {
|
294
|
+
event.preventDefault();
|
293
295
|
event.stopPropagation();
|
294
296
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
295
297
|
this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));
|
@@ -362,7 +364,7 @@ var SdCombobox = class extends SolidElement {
|
|
362
364
|
}
|
363
365
|
handleOptionClick(event) {
|
364
366
|
const target = event.target;
|
365
|
-
const option = target.closest("sd-4-0-0-next-
|
367
|
+
const option = target.closest("sd-4-0-0-next-10-option");
|
366
368
|
const oldValue = this.value;
|
367
369
|
if (option && !option.disabled) {
|
368
370
|
if (this.multiple) {
|
@@ -376,13 +378,13 @@ var SdCombobox = class extends SolidElement {
|
|
376
378
|
this.setOrderedSelectedOptions(option);
|
377
379
|
this.setSelectedOptions(option);
|
378
380
|
}
|
379
|
-
this.updateComplete.then(() =>
|
380
|
-
|
381
|
-
this.
|
381
|
+
this.updateComplete.then(() => {
|
382
|
+
this.displayInput.focus({ preventScroll: true });
|
383
|
+
if (this.value !== oldValue) {
|
382
384
|
this.emit("sd-input");
|
383
385
|
this.emit("sd-change");
|
384
|
-
}
|
385
|
-
}
|
386
|
+
}
|
387
|
+
});
|
386
388
|
if (!this.multiple) {
|
387
389
|
this.hide();
|
388
390
|
this.displayInput.focus({ preventScroll: true });
|
@@ -414,7 +416,7 @@ var SdCombobox = class extends SolidElement {
|
|
414
416
|
scrollIntoView(this.getCurrentOption(), this.listbox, "vertical", "auto");
|
415
417
|
}
|
416
418
|
getAllFilteredOptions() {
|
417
|
-
return [...this.filteredWrapper.querySelectorAll("sd-4-0-0-next-
|
419
|
+
return [...this.filteredWrapper.querySelectorAll("sd-4-0-0-next-10-option")];
|
418
420
|
}
|
419
421
|
getCurrentOption() {
|
420
422
|
return this.getAllFilteredOptions().find((option) => option.current);
|
@@ -538,7 +540,9 @@ var SdCombobox = class extends SolidElement {
|
|
538
540
|
const clonedOption = option.cloneNode(true);
|
539
541
|
clonedOption.current = clonedOption.value === ((_a = this.lastOption) == null ? void 0 : _a.value);
|
540
542
|
clonedOption.selected = option.selected;
|
541
|
-
|
543
|
+
clonedOption.checkbox = option.checkbox;
|
544
|
+
clonedOption.size = option.size;
|
545
|
+
const hasOptgroup = ((_b = option.parentElement) == null ? void 0 : _b.tagName.toLowerCase()) === "sd-4-0-0-next-10-optgroup";
|
542
546
|
if (!hasOptgroup) {
|
543
547
|
return clonedOption;
|
544
548
|
}
|
@@ -568,7 +572,7 @@ var SdCombobox = class extends SolidElement {
|
|
568
572
|
handleMouseLeave() {
|
569
573
|
this.hasHover = false;
|
570
574
|
}
|
571
|
-
/** Receives incoming event detail from sd-4-0-0-next-
|
575
|
+
/** Receives incoming event detail from sd-4-0-0-next-10-popup and updates local state for conditional styling. */
|
572
576
|
handleCurrentPlacement(e) {
|
573
577
|
const incomingPlacement = e.detail;
|
574
578
|
if (incomingPlacement) {
|
@@ -580,7 +584,7 @@ var SdCombobox = class extends SolidElement {
|
|
580
584
|
}
|
581
585
|
handleUseTagsChange() {
|
582
586
|
const allOptions = this.getAllFilteredOptions();
|
583
|
-
if (customElements.get("sd-4-0-0-next-
|
587
|
+
if (customElements.get("sd-4-0-0-next-10-option")) {
|
584
588
|
allOptions.forEach((option) => {
|
585
589
|
option.checkbox = this.multiple;
|
586
590
|
});
|
@@ -706,20 +710,23 @@ var SdCombobox = class extends SolidElement {
|
|
706
710
|
return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));
|
707
711
|
}
|
708
712
|
async handleDefaultSlotChange() {
|
709
|
-
if (!customElements.get("sd-4-0-0-next-
|
710
|
-
customElements.whenDefined("sd-4-0-0-next-
|
713
|
+
if (!customElements.get("sd-4-0-0-next-10-option")) {
|
714
|
+
customElements.whenDefined("sd-4-0-0-next-10-option").then(() => this.handleDefaultSlotChange());
|
711
715
|
return;
|
712
716
|
}
|
713
717
|
const slottedOptions = this.getSlottedOptions();
|
714
718
|
const slottedOptgroups = this.getSlottedOptGroups();
|
719
|
+
this.applySizeToOptions();
|
720
|
+
const selectedOption = this.findOptionByValue(slottedOptions, this.value);
|
721
|
+
this.selectedTextLabel = (selectedOption == null ? void 0 : selectedOption.getTextLabel()) || "";
|
715
722
|
slottedOptions.forEach((option, index) => {
|
716
723
|
if (this.multiple) {
|
717
724
|
option.checkbox = true;
|
718
725
|
}
|
719
|
-
option.id = option.id || `sd-4-0-0-next-
|
726
|
+
option.id = option.id || `sd-4-0-0-next-10-combobox-option-${index}`;
|
720
727
|
});
|
721
728
|
slottedOptgroups.forEach((optgroup, index) => {
|
722
|
-
optgroup.id = optgroup.id || `sd-4-0-0-next-
|
729
|
+
optgroup.id = optgroup.id || `sd-4-0-0-next-10-combobox-optgroup-${index}`;
|
723
730
|
});
|
724
731
|
await this.syncSelectedOptionsAndValue();
|
725
732
|
if (this.multiple) {
|
@@ -727,9 +734,6 @@ var SdCombobox = class extends SolidElement {
|
|
727
734
|
} else {
|
728
735
|
this.createComboboxOptionsFromQuery("");
|
729
736
|
}
|
730
|
-
if (this.hasFocus && this.value.length > 0 && !this.open) {
|
731
|
-
await this.show();
|
732
|
-
}
|
733
737
|
}
|
734
738
|
render() {
|
735
739
|
const slots = {
|
@@ -740,7 +744,7 @@ var SdCombobox = class extends SolidElement {
|
|
740
744
|
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
741
745
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
742
746
|
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
743
|
-
const hasClearIcon = this.clearable && !this.disabled
|
747
|
+
const hasClearIcon = this.clearable && !this.disabled;
|
744
748
|
const selectState = this.disabled ? "disabled" : this.hasFocus && this.showInvalidStyle ? "activeInvalid" : this.hasFocus && this.styleOnValid && this.showValidStyle ? "activeValid" : this.hasFocus || this.open ? "active" : this.showInvalidStyle ? "invalid" : this.styleOnValid && this.showValidStyle ? "valid" : "default";
|
745
749
|
const cursorStyles = this.disabled ? "cursor-not-allowed" : "cursor-pointer";
|
746
750
|
const iconColor = this.disabled ? "text-neutral-500" : "text-primary";
|
@@ -770,7 +774,7 @@ var SdCombobox = class extends SolidElement {
|
|
770
774
|
default: "border-neutral-800"
|
771
775
|
}[selectState],
|
772
776
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
773
|
-
)}"></div><sd-4-0-0-next-
|
777
|
+
)}"></div><sd-4-0-0-next-10-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
774
778
|
"inline-flex relative w-full",
|
775
779
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
776
780
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
@@ -787,28 +791,32 @@ var SdCombobox = class extends SolidElement {
|
|
787
791
|
"appearance-none outline-none bg-transparent flex-auto min-w-0",
|
788
792
|
cursorStyles,
|
789
793
|
this.selectedTextLabel && !this.multiple ? "placeholder-black" : "placeholder-neutral-700"
|
790
|
-
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
794
|
+
)}" type="text" placeholder="${this.selectedTextLabel && !this.multiple ? this.selectedTextLabel : this.placeholder || this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map((option) => option == null ? void 0 : option.getTextLabel()).join(", ")}</div><input class="${cx("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10", cursorStyles)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value) ? this.value.join(", ") : this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${() => this.focus()}" @invalid="${this.handleInvalid}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx(
|
795
|
+
"flex justify-center",
|
796
|
+
iconMarginLeft,
|
797
|
+
this.value.length > 0 ? "visible" : "invisible"
|
798
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-4-0-0-next-10-icon class="${cx("text-icon-fill-neutral-800", iconSize)}" name="closing-round" library="system"></sd-4-0-0-next-10-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-4-0-0-next-10-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="system" name="risk"></sd-4-0-0-next-10-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-4-0-0-next-10-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="system" name="status-check"></sd-4-0-0-next-10-icon>` : ""}<slot name="right" part="right" class="${cx(
|
791
799
|
"inline-flex ml-2 leading-[0]",
|
792
800
|
this.disabled ? "text-neutral-500" : "text-primary",
|
793
801
|
iconSize
|
794
|
-
)}"><sd-4-0-0-next-
|
802
|
+
)}"><sd-4-0-0-next-10-icon class="${cx("transition-all", this.open ? "rotate-180" : "rotate-0")}" name="chevron-down" part="chevron" library="system" color="currentColor"></sd-4-0-0-next-10-icon></slot></div><div id="listbox" role="listbox" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${cx(
|
795
803
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
796
804
|
this.open && "shadow",
|
797
805
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default" : "border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default"
|
798
|
-
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-0-0-next-
|
806
|
+
)}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox" class="overflow-y-scroll">${this.filteredOptions.length === 0 ? html`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>` : this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-4-0-0-next-10-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700" aria-hidden="${!hasHelpText}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
799
807
|
}
|
800
808
|
};
|
801
809
|
SdCombobox.dependencies = {
|
802
|
-
"sd-4-0-0-next-
|
803
|
-
"sd-4-0-0-next-
|
804
|
-
"sd-4-0-0-next-
|
810
|
+
"sd-4-0-0-next-10-icon": SdIcon,
|
811
|
+
"sd-4-0-0-next-10-popup": SdPopup,
|
812
|
+
"sd-4-0-0-next-10-tag": SdTag
|
805
813
|
};
|
806
814
|
SdCombobox.styles = [
|
807
815
|
...SolidElement.styles,
|
808
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-0-0-next-
|
816
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-4-0-0-next-10-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-4-0-0-next-10-tag::part(base){border-radius:var(--sd-border-radius-default,.25rem);padding-left:var(--sd-spacing-1,.25rem);padding-right:var(--sd-spacing-1,.25rem)}sd-4-0-0-next-10-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-4-0-0-next-10-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-4-0-0-next-10-tag[disabled=false]::part(base):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-primary-100,236 240 249)/var(--tw-bg-opacity,1))}[part=filtered-listbox] sd-4-0-0-next-10-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;color:inherit;font-weight:700}`
|
809
817
|
];
|
810
818
|
__decorateClass([
|
811
|
-
query("sd-4-0-0-next-
|
819
|
+
query("sd-4-0-0-next-10-popup")
|
812
820
|
], SdCombobox.prototype, "popup", 2);
|
813
821
|
__decorateClass([
|
814
822
|
query('[part="combobox"]')
|
@@ -884,6 +892,9 @@ __decorateClass([
|
|
884
892
|
__decorateClass([
|
885
893
|
property()
|
886
894
|
], SdCombobox.prototype, "placeholder", 2);
|
895
|
+
__decorateClass([
|
896
|
+
property({ attribute: "max-options-tag-label" })
|
897
|
+
], SdCombobox.prototype, "maxOptionsTagLabel", 2);
|
887
898
|
__decorateClass([
|
888
899
|
property({ reflect: true, type: Boolean })
|
889
900
|
], SdCombobox.prototype, "disabled", 2);
|
@@ -957,7 +968,7 @@ __decorateClass([
|
|
957
968
|
watch("open", { waitUntilFirstUpdate: true })
|
958
969
|
], SdCombobox.prototype, "handleOpenChange", 1);
|
959
970
|
SdCombobox = __decorateClass([
|
960
|
-
customElement("sd-4-0-0-next-
|
971
|
+
customElement("sd-4-0-0-next-10-combobox")
|
961
972
|
], SdCombobox);
|
962
973
|
setDefaultAnimation("combobox.show", {
|
963
974
|
keyframes: [
|
@@ -19,13 +19,14 @@ import {
|
|
19
19
|
import {
|
20
20
|
SolidElement,
|
21
21
|
customElement
|
22
|
-
} from "./chunk.
|
22
|
+
} from "./chunk.DNCLRX5Q.js";
|
23
23
|
import {
|
24
24
|
__decorateClass
|
25
25
|
} from "./chunk.S3NI7NKU.js";
|
26
26
|
|
27
27
|
// src/components/accordion/accordion.ts
|
28
|
-
import { css
|
28
|
+
import { css } from "lit";
|
29
|
+
import { html } from "lit/static-html.js";
|
29
30
|
import { property, query } from "lit/decorators.js";
|
30
31
|
import cx from "classix";
|
31
32
|
var SdAccordion = class extends SolidElement {
|
@@ -38,8 +39,29 @@ var SdAccordion = class extends SolidElement {
|
|
38
39
|
firstUpdated() {
|
39
40
|
this.body.hidden = !this.open;
|
40
41
|
this.body.style.height = this.open ? "auto" : "0";
|
42
|
+
if (this.open) {
|
43
|
+
this.accordion.open = true;
|
44
|
+
}
|
45
|
+
this.accordionObserver = new MutationObserver((changes) => {
|
46
|
+
for (const change of changes) {
|
47
|
+
if (change.type === "attributes" && change.attributeName === "open") {
|
48
|
+
if (this.accordion.open) {
|
49
|
+
this.show();
|
50
|
+
} else {
|
51
|
+
this.hide();
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
});
|
56
|
+
this.accordionObserver.observe(this.accordion, { attributes: true });
|
57
|
+
}
|
58
|
+
disconnectedCallback() {
|
59
|
+
var _a;
|
60
|
+
super.disconnectedCallback();
|
61
|
+
(_a = this.accordionObserver) == null ? void 0 : _a.disconnect();
|
41
62
|
}
|
42
|
-
handleSummaryClick() {
|
63
|
+
handleSummaryClick(event) {
|
64
|
+
event.preventDefault();
|
43
65
|
if (this.open) {
|
44
66
|
this.hide();
|
45
67
|
} else {
|
@@ -66,9 +88,11 @@ var SdAccordion = class extends SolidElement {
|
|
66
88
|
}
|
67
89
|
async handleOpenChange() {
|
68
90
|
if (this.open) {
|
91
|
+
this.accordion.open = true;
|
69
92
|
const slShow = this.emit("sd-show", { cancelable: true });
|
70
93
|
if (slShow.defaultPrevented) {
|
71
94
|
this.open = false;
|
95
|
+
this.accordion.open = false;
|
72
96
|
return;
|
73
97
|
}
|
74
98
|
await stopAnimations(this.body);
|
@@ -80,6 +104,7 @@ var SdAccordion = class extends SolidElement {
|
|
80
104
|
} else {
|
81
105
|
const slHide = this.emit("sd-hide", { cancelable: true });
|
82
106
|
if (slHide.defaultPrevented) {
|
107
|
+
this.accordion.open = true;
|
83
108
|
this.open = true;
|
84
109
|
return;
|
85
110
|
}
|
@@ -88,6 +113,7 @@ var SdAccordion = class extends SolidElement {
|
|
88
113
|
await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);
|
89
114
|
this.body.hidden = true;
|
90
115
|
this.body.style.height = "auto";
|
116
|
+
this.accordion.open = false;
|
91
117
|
this.emit("sd-after-hide");
|
92
118
|
}
|
93
119
|
}
|
@@ -108,15 +134,15 @@ var SdAccordion = class extends SolidElement {
|
|
108
134
|
return waitForEvent(this, "sd-after-hide");
|
109
135
|
}
|
110
136
|
render() {
|
111
|
-
return html`<
|
137
|
+
return html`<details part="base" class="border-y border-neutral-400"><summary part="header" id="header" class="${cx(
|
112
138
|
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 py-3 focus-visible:focus-outline text-primary hover:bg-neutral-200 relative group"
|
113
|
-
)}"
|
139
|
+
)}" aria-expanded="${this.open ? "true" : "false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${cx(
|
114
140
|
!this.open && "opacity-0",
|
115
141
|
"w-1 bg-accent absolute left-0 transition-all h-[calc(100%-16px)] group-hover:h-full"
|
116
142
|
)}"></div><slot name="summary" part="summary" class="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${cx(
|
117
143
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-300 text-xl",
|
118
144
|
this.open && "rotate-180"
|
119
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-0-0-next-
|
145
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-4-0-0-next-10-icon library="system" name="chevron-down"></sd-4-0-0-next-10-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-4-0-0-next-10-icon library="system" name="chevron-down"></sd-4-0-0-next-10-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`;
|
120
146
|
}
|
121
147
|
};
|
122
148
|
SdAccordion.styles = [
|
@@ -142,7 +168,7 @@ __decorateClass([
|
|
142
168
|
watch("open", { waitUntilFirstUpdate: true })
|
143
169
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
144
170
|
SdAccordion = __decorateClass([
|
145
|
-
customElement("sd-4-0-0-next-
|
171
|
+
customElement("sd-4-0-0-next-10-accordion")
|
146
172
|
], SdAccordion);
|
147
173
|
setDefaultAnimation("accordion.show", {
|
148
174
|
keyframes: [
|
@@ -7,7 +7,7 @@ import {
|
|
7
7
|
import {
|
8
8
|
SolidElement,
|
9
9
|
customElement
|
10
|
-
} from "./chunk.
|
10
|
+
} from "./chunk.DNCLRX5Q.js";
|
11
11
|
import {
|
12
12
|
__decorateClass
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
@@ -91,7 +91,7 @@ var SdOption = class extends SolidElement {
|
|
91
91
|
)}"></span> ${this.checkbox ? html`<span id="control" part="control ${this.selected ? " control--checked" : "control--unchecked"}" class="${cx(
|
92
92
|
"relative flex flex-shrink-0 items-center justify-center border rounded-sm h-4 w-4 mr-2",
|
93
93
|
this.disabled ? "border-neutral-500" : this.selected ? "bg-accent border-accent" : "border-neutral-800"
|
94
|
-
)}">${this.selected ? html`<sd-4-0-0-next-
|
94
|
+
)}">${this.selected ? html`<sd-4-0-0-next-10-icon part="checked-icon" class="text-white w-3 h-3" library="system" name="status-check"></sd-4-0-0-next-10-icon>` : ""}</span>` : ""} ${slots["left"] ? html`<slot name="left" part="left" class="inline-flex mr-2"></slot>` : ""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${slots["right"] ? html`<slot name="right" part="right" class="inline-flex ml-2"></slot>` : ""}</div>`;
|
95
95
|
}
|
96
96
|
};
|
97
97
|
/**
|
@@ -135,7 +135,7 @@ __decorateClass([
|
|
135
135
|
watch("value")
|
136
136
|
], SdOption.prototype, "handleValueChange", 1);
|
137
137
|
SdOption = __decorateClass([
|
138
|
-
customElement("sd-4-0-0-next-
|
138
|
+
customElement("sd-4-0-0-next-10-option")
|
139
139
|
], SdOption);
|
140
140
|
|
141
141
|
export {
|
@@ -4,7 +4,7 @@ import {
|
|
4
4
|
import {
|
5
5
|
SolidElement,
|
6
6
|
customElement
|
7
|
-
} from "./chunk.
|
7
|
+
} from "./chunk.DNCLRX5Q.js";
|
8
8
|
import {
|
9
9
|
__decorateClass
|
10
10
|
} from "./chunk.S3NI7NKU.js";
|
@@ -18,7 +18,7 @@ var SdTabPanel = class extends SolidElement {
|
|
18
18
|
constructor() {
|
19
19
|
super(...arguments);
|
20
20
|
this.attrId = ++id;
|
21
|
-
this.componentId = `sd-4-0-0-next-
|
21
|
+
this.componentId = `sd-4-0-0-next-10-tab-panel-${this.attrId}`;
|
22
22
|
this.name = "";
|
23
23
|
this.active = false;
|
24
24
|
}
|
@@ -48,7 +48,7 @@ __decorateClass([
|
|
48
48
|
watch("active")
|
49
49
|
], SdTabPanel.prototype, "handleActiveChange", 1);
|
50
50
|
SdTabPanel = __decorateClass([
|
51
|
-
customElement("sd-4-0-0-next-
|
51
|
+
customElement("sd-4-0-0-next-10-tab-panel")
|
52
52
|
], SdTabPanel);
|
53
53
|
|
54
54
|
export {
|
@@ -15,7 +15,7 @@ var FormControlController = class {
|
|
15
15
|
const disabled = this.options.disabled(this.host);
|
16
16
|
const name = this.options.name(this.host);
|
17
17
|
const value = this.options.value(this.host);
|
18
|
-
const isButton = this.host.tagName.toLowerCase() === "sd-4-0-0-next-
|
18
|
+
const isButton = this.host.tagName.toLowerCase() === "sd-4-0-0-next-10-button";
|
19
19
|
if (!disabled && !isButton && typeof name === "string" && name.length > 0 && typeof value !== "undefined") {
|
20
20
|
if (Array.isArray(value)) {
|
21
21
|
value.forEach((val) => {
|
@@ -40,7 +40,7 @@ var FormControlController = class {
|
|
40
40
|
event.stopImmediatePropagation();
|
41
41
|
const invalidElements = (_b = this.form) == null ? void 0 : _b.querySelectorAll("[data-invalid]");
|
42
42
|
const sdRadioGroups = Array.from(invalidElements).filter(
|
43
|
-
(element) => element.tagName.toLowerCase() === "sd-4-0-0-next-
|
43
|
+
(element) => element.tagName.toLowerCase() === "sd-4-0-0-next-10-radio-group"
|
44
44
|
);
|
45
45
|
sdRadioGroups.forEach((radioGroup) => {
|
46
46
|
var _a2, _b2;
|
@@ -88,7 +88,7 @@ var FormControlController = class {
|
|
88
88
|
},
|
89
89
|
reportValidity: (input) => typeof input.reportValidity === "function" ? input.reportValidity() : true,
|
90
90
|
setValue: (input, value) => input.value = value,
|
91
|
-
assumeInteractionOn: ["sd-4-0-0-next-
|
91
|
+
assumeInteractionOn: ["sd-4-0-0-next-10-input"]
|
92
92
|
}, options);
|
93
93
|
}
|
94
94
|
hostConnected() {
|
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
import {
|
11
11
|
SolidElement,
|
12
12
|
customElement
|
13
|
-
} from "./chunk.
|
13
|
+
} from "./chunk.DNCLRX5Q.js";
|
14
14
|
import {
|
15
15
|
__decorateClass
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
@@ -168,7 +168,7 @@ __decorateClass([
|
|
168
168
|
watch(["checked"], { waitUntilFirstUpdate: true })
|
169
169
|
], SdSwitch.prototype, "handleStateChange", 1);
|
170
170
|
SdSwitch = __decorateClass([
|
171
|
-
customElement("sd-4-0-0-next-
|
171
|
+
customElement("sd-4-0-0-next-10-switch")
|
172
172
|
], SdSwitch);
|
173
173
|
|
174
174
|
export {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
SdRadio
|
3
|
-
} from "./chunk.
|
3
|
+
} from "./chunk.O4QXE2LJ.js";
|
4
4
|
import {
|
5
5
|
FormControlController,
|
6
6
|
customErrorValidityState,
|
@@ -9,7 +9,7 @@ import {
|
|
9
9
|
} from "./chunk.KVKRZJS7.js";
|
10
10
|
import {
|
11
11
|
SdButtonGroup
|
12
|
-
} from "./chunk.
|
12
|
+
} from "./chunk.TLVJDDZL.js";
|
13
13
|
import {
|
14
14
|
watch
|
15
15
|
} from "./chunk.X2OQMWGY.js";
|
@@ -19,7 +19,7 @@ import {
|
|
19
19
|
import {
|
20
20
|
SolidElement,
|
21
21
|
customElement
|
22
|
-
} from "./chunk.
|
22
|
+
} from "./chunk.DNCLRX5Q.js";
|
23
23
|
import {
|
24
24
|
__decorateClass
|
25
25
|
} from "./chunk.S3NI7NKU.js";
|
@@ -76,10 +76,10 @@ var SdRadioGroup = class extends SolidElement {
|
|
76
76
|
this.formControlController.updateValidity();
|
77
77
|
}
|
78
78
|
getAllRadios() {
|
79
|
-
return [...this.querySelectorAll("sd-4-0-0-next-
|
79
|
+
return [...this.querySelectorAll("sd-4-0-0-next-10-radio, sd-4-0-0-next-10-radio-button")];
|
80
80
|
}
|
81
81
|
handleRadioClick(event) {
|
82
|
-
const target = event.target.closest("sd-4-0-0-next-
|
82
|
+
const target = event.target.closest("sd-4-0-0-next-10-radio, sd-4-0-0-next-10-radio-button");
|
83
83
|
const radios = this.getAllRadios();
|
84
84
|
const oldValue = this.value;
|
85
85
|
if (target.disabled) {
|
@@ -156,7 +156,7 @@ var SdRadioGroup = class extends SolidElement {
|
|
156
156
|
}
|
157
157
|
})
|
158
158
|
);
|
159
|
-
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-0-0-next-
|
159
|
+
this.hasButtonGroup = radios.some((radio) => radio.tagName.toLowerCase() === "sd-4-0-0-next-10-radio-button");
|
160
160
|
if (!radios.some((radio) => radio.checked)) {
|
161
161
|
if (this.hasButtonGroup) {
|
162
162
|
const buttonRadio = (_a = radios[0].shadowRoot) == null ? void 0 : _a.querySelector("button");
|
@@ -168,26 +168,26 @@ var SdRadioGroup = class extends SolidElement {
|
|
168
168
|
}
|
169
169
|
}
|
170
170
|
if (this.hasButtonGroup) {
|
171
|
-
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-0-0-next-
|
171
|
+
const buttonGroup = (_b = this.shadowRoot) == null ? void 0 : _b.querySelector("sd-4-0-0-next-10-button-group");
|
172
172
|
if (buttonGroup) {
|
173
173
|
buttonGroup.disableRole = true;
|
174
174
|
}
|
175
175
|
}
|
176
176
|
}
|
177
177
|
syncRadios() {
|
178
|
-
if (customElements.get("sd-4-0-0-next-
|
178
|
+
if (customElements.get("sd-4-0-0-next-10-radio") && customElements.get("sd-4-0-0-next-10-radio-button")) {
|
179
179
|
this.syncRadioElements();
|
180
180
|
return;
|
181
181
|
}
|
182
|
-
if (customElements.get("sd-4-0-0-next-
|
182
|
+
if (customElements.get("sd-4-0-0-next-10-radio")) {
|
183
183
|
this.syncRadioElements();
|
184
184
|
} else {
|
185
|
-
customElements.whenDefined("sd-4-0-0-next-
|
185
|
+
customElements.whenDefined("sd-4-0-0-next-10-radio").then(() => this.syncRadios());
|
186
186
|
}
|
187
|
-
if (customElements.get("sd-4-0-0-next-
|
187
|
+
if (customElements.get("sd-4-0-0-next-10-radio-button")) {
|
188
188
|
this.syncRadioElements();
|
189
189
|
} else {
|
190
|
-
customElements.whenDefined("sd-4-0-0-next-
|
190
|
+
customElements.whenDefined("sd-4-0-0-next-10-radio-button").then(() => this.syncRadios());
|
191
191
|
}
|
192
192
|
}
|
193
193
|
updateCheckedRadio() {
|
@@ -259,16 +259,16 @@ var SdRadioGroup = class extends SolidElement {
|
|
259
259
|
vertical: "flex-col",
|
260
260
|
horizontal: "flex-row"
|
261
261
|
}[this.orientation]
|
262
|
-
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-0-0-next-
|
262
|
+
)}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup ? html`<sd-4-0-0-next-10-button-group part="button-group" exportparts="base:button-group__base" role="presentation">${defaultSlot}</sd-4-0-0-next-10-button-group>` : defaultSlot}</div></fieldset>${this.formControlController.renderInvalidMessage()}`;
|
263
263
|
}
|
264
264
|
};
|
265
|
-
SdRadioGroup.dependencies = { "sd-4-0-0-next-
|
265
|
+
SdRadioGroup.dependencies = { "sd-4-0-0-next-10-button-group": SdButtonGroup };
|
266
266
|
/**
|
267
267
|
* Inherits Tailwind classes and includes additional styling.
|
268
268
|
*/
|
269
269
|
SdRadioGroup.styles = [
|
270
270
|
...SolidElement.styles,
|
271
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-
|
271
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-10-radio){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-4-0-0-next-10-radio:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-10-radio){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-4-0-0-next-10-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-10-radio){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-4-0-0-next-10-radio:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([required]) #label:after{content:" *"}`
|
272
272
|
];
|
273
273
|
__decorateClass([
|
274
274
|
query("slot:not([name])")
|
@@ -322,7 +322,7 @@ __decorateClass([
|
|
322
322
|
watch("value")
|
323
323
|
], SdRadioGroup.prototype, "handleValueChange", 1);
|
324
324
|
SdRadioGroup = __decorateClass([
|
325
|
-
customElement("sd-4-0-0-next-
|
325
|
+
customElement("sd-4-0-0-next-10-radio-group")
|
326
326
|
], SdRadioGroup);
|
327
327
|
|
328
328
|
export {
|