@solid-design-system/components 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.63MF7F4O.js → chunk.2SOEBGDS.js} +1 -1
- package/cdn/chunks/{chunk.OQM23IJ6.js → chunk.3AEOVI4V.js} +1 -1
- package/cdn/chunks/{chunk.24NAQP34.js → chunk.4336N4TN.js} +1 -1
- package/cdn/chunks/{chunk.GUQYIKUH.js → chunk.466HB7MH.js} +1 -1
- package/cdn/chunks/{chunk.LLMJPBPU.js → chunk.54XQKZNU.js} +1 -1
- package/cdn/chunks/{chunk.XYJWLDWC.js → chunk.5I76HTXX.js} +1 -1
- package/cdn/chunks/{chunk.6HETYMOP.js → chunk.5SNCMR36.js} +1 -1
- package/cdn/chunks/{chunk.XVOWJXRK.js → chunk.66GOZEE4.js} +1 -1
- package/cdn/chunks/{chunk.DDYOZMUK.js → chunk.6OJK4N6O.js} +1 -1
- package/cdn/chunks/{chunk.SUL3XIWG.js → chunk.7LHKLE4G.js} +1 -1
- package/cdn/chunks/{chunk.4VSK5ST5.js → chunk.7RCSPRWP.js} +1 -1
- package/cdn/chunks/{chunk.VEAL7L4X.js → chunk.7SJEXZSM.js} +1 -1
- package/cdn/chunks/{chunk.5RKART7T.js → chunk.AFKPYWS5.js} +1 -1
- package/cdn/chunks/{chunk.4FWO2JFZ.js → chunk.AMKBNS7H.js} +1 -1
- package/cdn/chunks/{chunk.JGSQEZKI.js → chunk.EVLY2HWM.js} +1 -1
- package/cdn/chunks/{chunk.XMYHQ3RJ.js → chunk.FY4ZQ25C.js} +1 -1
- package/cdn/chunks/{chunk.U47LULNM.js → chunk.HAYM6MTB.js} +1 -1
- package/cdn/chunks/{chunk.IXF4WTNA.js → chunk.I4VI7CRD.js} +1 -1
- package/cdn/chunks/{chunk.H7MIOI36.js → chunk.IDX4RDHZ.js} +1 -1
- package/cdn/chunks/{chunk.AB7XNCA6.js → chunk.KINWB3R6.js} +1 -1
- package/cdn/chunks/{chunk.VH5VPRX2.js → chunk.KYWP646O.js} +1 -1
- package/cdn/chunks/{chunk.T57D67S5.js → chunk.LQ5Q73YJ.js} +1 -1
- package/cdn/chunks/{chunk.UO5T3YYC.js → chunk.LRTBIARY.js} +1 -1
- package/cdn/chunks/{chunk.5QNLI2ZJ.js → chunk.M43SHSJ7.js} +1 -1
- package/cdn/chunks/{chunk.VKFY3OQC.js → chunk.MFSX5MIZ.js} +1 -1
- package/cdn/chunks/{chunk.KFZTALU6.js → chunk.MHPWICL2.js} +1 -1
- package/cdn/chunks/{chunk.5QKKX7BL.js → chunk.MNEGNJBN.js} +1 -1
- package/cdn/chunks/chunk.N2OPZHJV.js +11 -0
- package/cdn/chunks/{chunk.UHTFJWWX.js → chunk.OOE73LIA.js} +1 -1
- package/cdn/chunks/{chunk.3FDVJBSF.js → chunk.ORM6LFSP.js} +1 -1
- package/cdn/chunks/{chunk.EQD3QFY2.js → chunk.PIYHBRRO.js} +1 -1
- package/cdn/chunks/{chunk.ACQENQRU.js → chunk.PKL7HSML.js} +1 -1
- package/cdn/chunks/{chunk.BRBTXWYJ.js → chunk.PM4HPYFT.js} +2 -2
- package/cdn/chunks/chunk.QCGZSSDL.js +1 -0
- package/cdn/chunks/{chunk.DZQ3ELX5.js → chunk.QDPTVUAW.js} +1 -1
- package/cdn/chunks/{chunk.DCKEYTYR.js → chunk.QHURAHWP.js} +1 -1
- package/cdn/chunks/chunk.RYR5JMPR.js +25 -0
- package/cdn/chunks/{chunk.I4ZKBGAB.js → chunk.T25YQB27.js} +1 -1
- package/cdn/chunks/{chunk.4VT5Z2HL.js → chunk.TUVJON3T.js} +1 -1
- package/cdn/chunks/{chunk.UCP62LZF.js → chunk.UUQIXQII.js} +1 -1
- package/cdn/chunks/{chunk.OLLYYRFO.js → chunk.VYFYAVQV.js} +1 -1
- package/cdn/chunks/{chunk.2OZUXFC2.js → chunk.WHJMIN4O.js} +1 -1
- package/cdn/chunks/{chunk.JPHZN55N.js → chunk.XLPONTTF.js} +1 -1
- package/cdn/chunks/{chunk.ALYMVLUP.js → chunk.Y63VGL2X.js} +1 -1
- package/cdn/chunks/{chunk.GJMMISZZ.js → chunk.YBDULCI5.js} +1 -1
- package/cdn/chunks/{chunk.2NKZVN6T.js → chunk.Z7R4W5J7.js} +1 -1
- package/cdn/chunks/chunk.ZGWHWNN7.js +10 -0
- package/cdn/chunks/{chunk.LL5NC5IC.js → chunk.ZHIT75AP.js} +1 -1
- package/cdn/chunks/{chunk.7GCBGKAC.js → chunk.ZIXORQQN.js} +1 -1
- package/cdn/chunks/{chunk.65USTXPJ.js → chunk.ZUSDFNOR.js} +1 -1
- package/cdn/chunks/{chunk.KV2JBQ2O.js → chunk.ZWRWVYOC.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.d.ts +1 -2
- 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 +19 -1
- package/cdn/solid-components.bundle.js +27 -18
- package/cdn/solid-components.iife.js +27 -18
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +1 -1
- package/cdn/web-types.json +2 -2
- 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.63MF7F4O.js → chunk.2SOEBGDS.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OQM23IJ6.js → chunk.3AEOVI4V.js} +1 -1
- package/cdn-versioned/chunks/{chunk.24NAQP34.js → chunk.4336N4TN.js} +4 -4
- package/cdn-versioned/chunks/{chunk.GUQYIKUH.js → chunk.466HB7MH.js} +1 -1
- package/cdn-versioned/chunks/{chunk.LLMJPBPU.js → chunk.54XQKZNU.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XYJWLDWC.js → chunk.5I76HTXX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.6HETYMOP.js → chunk.5SNCMR36.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XVOWJXRK.js → chunk.66GOZEE4.js} +1 -1
- package/cdn-versioned/chunks/chunk.6HLS5XU2.js +1 -1
- package/cdn-versioned/chunks/{chunk.DDYOZMUK.js → chunk.6OJK4N6O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.SUL3XIWG.js → chunk.7LHKLE4G.js} +2 -2
- package/cdn-versioned/chunks/{chunk.4VSK5ST5.js → chunk.7RCSPRWP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VEAL7L4X.js → chunk.7SJEXZSM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5RKART7T.js → chunk.AFKPYWS5.js} +4 -4
- package/cdn-versioned/chunks/{chunk.4FWO2JFZ.js → chunk.AMKBNS7H.js} +1 -1
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -1
- package/cdn-versioned/chunks/{chunk.JGSQEZKI.js → chunk.EVLY2HWM.js} +1 -1
- package/cdn-versioned/chunks/{chunk.XMYHQ3RJ.js → chunk.FY4ZQ25C.js} +1 -1
- package/cdn-versioned/chunks/{chunk.U47LULNM.js → chunk.HAYM6MTB.js} +1 -1
- package/cdn-versioned/chunks/{chunk.IXF4WTNA.js → chunk.I4VI7CRD.js} +1 -1
- package/cdn-versioned/chunks/{chunk.H7MIOI36.js → chunk.IDX4RDHZ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AB7XNCA6.js → chunk.KINWB3R6.js} +1 -1
- package/cdn-versioned/chunks/{chunk.VH5VPRX2.js → chunk.KYWP646O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.T57D67S5.js → chunk.LQ5Q73YJ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UO5T3YYC.js → chunk.LRTBIARY.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5QNLI2ZJ.js → chunk.M43SHSJ7.js} +4 -4
- package/cdn-versioned/chunks/{chunk.VKFY3OQC.js → chunk.MFSX5MIZ.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KFZTALU6.js → chunk.MHPWICL2.js} +1 -1
- package/cdn-versioned/chunks/{chunk.5QKKX7BL.js → chunk.MNEGNJBN.js} +2 -2
- package/cdn-versioned/chunks/chunk.N2OPZHJV.js +11 -0
- package/cdn-versioned/chunks/{chunk.UHTFJWWX.js → chunk.OOE73LIA.js} +1 -1
- package/cdn-versioned/chunks/{chunk.3FDVJBSF.js → chunk.ORM6LFSP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.EQD3QFY2.js → chunk.PIYHBRRO.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ACQENQRU.js → chunk.PKL7HSML.js} +1 -1
- package/cdn-versioned/chunks/{chunk.BRBTXWYJ.js → chunk.PM4HPYFT.js} +2 -2
- package/cdn-versioned/chunks/chunk.QCGZSSDL.js +1 -0
- package/cdn-versioned/chunks/{chunk.DZQ3ELX5.js → chunk.QDPTVUAW.js} +1 -1
- package/cdn-versioned/chunks/{chunk.DCKEYTYR.js → chunk.QHURAHWP.js} +1 -1
- package/cdn-versioned/chunks/chunk.RYR5JMPR.js +25 -0
- package/cdn-versioned/chunks/{chunk.I4ZKBGAB.js → chunk.T25YQB27.js} +1 -1
- package/cdn-versioned/chunks/{chunk.4VT5Z2HL.js → chunk.TUVJON3T.js} +1 -1
- package/cdn-versioned/chunks/{chunk.UCP62LZF.js → chunk.UUQIXQII.js} +1 -1
- package/cdn-versioned/chunks/{chunk.OLLYYRFO.js → chunk.VYFYAVQV.js} +1 -1
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.2OZUXFC2.js → chunk.WHJMIN4O.js} +1 -1
- package/cdn-versioned/chunks/{chunk.JPHZN55N.js → chunk.XLPONTTF.js} +1 -1
- package/cdn-versioned/chunks/{chunk.ALYMVLUP.js → chunk.Y63VGL2X.js} +1 -1
- package/cdn-versioned/chunks/{chunk.GJMMISZZ.js → chunk.YBDULCI5.js} +1 -1
- package/cdn-versioned/chunks/{chunk.2NKZVN6T.js → chunk.Z7R4W5J7.js} +1 -1
- package/cdn-versioned/chunks/chunk.ZGWHWNN7.js +10 -0
- package/cdn-versioned/chunks/{chunk.LL5NC5IC.js → chunk.ZHIT75AP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.7GCBGKAC.js → chunk.ZIXORQQN.js} +1 -1
- package/cdn-versioned/chunks/{chunk.65USTXPJ.js → chunk.ZUSDFNOR.js} +1 -1
- package/cdn-versioned/chunks/{chunk.KV2JBQ2O.js → chunk.ZWRWVYOC.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 +2 -3
- 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 +229 -211
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/solid-components.bundle.js +29 -20
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +29 -20
- 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 +81 -81
- package/cdn-versioned/web-types.json +138 -138
- package/dist/chunks/{chunk.5TXDZ6OQ.js → chunk.25JYDDEL.js} +1 -1
- package/dist/chunks/{chunk.MBOP4XDK.js → chunk.2KW3OQK3.js} +1 -1
- package/dist/chunks/{chunk.QHQBGFCN.js → chunk.2XYOJHUN.js} +1 -1
- package/dist/chunks/{chunk.P3M4RPHM.js → chunk.4JIUFSXL.js} +1 -1
- package/dist/chunks/{chunk.SOAF3TY4.js → chunk.4X5KLZKG.js} +1 -1
- package/dist/chunks/{chunk.7GKULTU7.js → chunk.57IRQB22.js} +1 -1
- package/dist/chunks/{chunk.ZAWI6TGO.js → chunk.5E7OOWFM.js} +1 -1
- package/dist/chunks/{chunk.YTDKF4U7.js → chunk.5HB4AZFH.js} +1 -1
- package/dist/chunks/{chunk.OGWBQ3DK.js → chunk.67HGWRDC.js} +2 -2
- package/dist/chunks/{chunk.357PR2IB.js → chunk.6BPYGYKJ.js} +1 -1
- package/dist/chunks/{chunk.4JPDAEAZ.js → chunk.6MIVTHPW.js} +1 -1
- package/dist/chunks/{chunk.F5WZXOGP.js → chunk.7A77E2WF.js} +1 -1
- package/dist/chunks/{chunk.MJ3MZ7IA.js → chunk.AD7FTSCZ.js} +1 -1
- package/dist/chunks/{chunk.MGUEJDPC.js → chunk.ASKGMA6Q.js} +1 -1
- package/dist/chunks/{chunk.G3LCJLER.js → chunk.CY7STHBY.js} +1 -1
- package/dist/chunks/{chunk.AH4MJVKG.js → chunk.DFQ36XHY.js} +1 -1
- package/dist/chunks/{chunk.Q7ULKBP6.js → chunk.DPVQIW2K.js} +5 -11
- package/dist/chunks/{chunk.RHQ6U3DB.js → chunk.EH5YMA4E.js} +2 -2
- package/dist/chunks/{chunk.X7HYCD3E.js → chunk.EOLWJNLD.js} +1 -1
- package/dist/chunks/{chunk.M7TUM74F.js → chunk.EQXVKF2G.js} +1 -1
- package/dist/chunks/{chunk.F4LWSCE7.js → chunk.FA2PSB3G.js} +2 -2
- package/dist/chunks/{chunk.PK3XZW2G.js → chunk.FZYBHAXZ.js} +1 -1
- package/dist/chunks/{chunk.2BVPWR2S.js → chunk.GCBWRTSA.js} +1 -1
- package/dist/chunks/{chunk.NMI37BFS.js → chunk.GIDPKVNI.js} +1 -1
- package/dist/chunks/{chunk.P4BL4RSV.js → chunk.I5QIVC43.js} +1 -1
- package/dist/chunks/chunk.IUBULF5H.js +81 -0
- package/dist/chunks/{chunk.3MARQHUW.js → chunk.JK7S3JAQ.js} +1 -1
- package/dist/chunks/{chunk.P775L6OS.js → chunk.JNTYSC5E.js} +1 -1
- package/dist/chunks/{chunk.XI3IZCLB.js → chunk.JQ4VVB6S.js} +1 -1
- package/dist/chunks/{chunk.75VFJ3VZ.js → chunk.KPGT5KTE.js} +1 -1
- package/dist/chunks/{chunk.4J3ZCSIH.js → chunk.LO2A6JZJ.js} +1 -1
- package/dist/chunks/{chunk.73ZM47SZ.js → chunk.LVZUFX7G.js} +1 -1
- package/dist/chunks/{chunk.YTDXH4KI.js → chunk.MGN6UKEO.js} +1 -1
- package/dist/chunks/{chunk.2FRKOJLK.js → chunk.MTWZ3KVK.js} +1 -1
- package/dist/chunks/{chunk.4PVTBZ45.js → chunk.NG6H4NIH.js} +1 -1
- package/dist/chunks/{chunk.AUFB3CF2.js → chunk.NTCYC424.js} +1 -1
- package/dist/chunks/{chunk.ENBSTUKA.js → chunk.QJGXEBXI.js} +3 -3
- package/dist/chunks/{chunk.M2VTLBRP.js → chunk.TIB22UHZ.js} +1 -1
- package/dist/chunks/{chunk.QZCGIMWI.js → chunk.TJBA6JWN.js} +1 -1
- package/dist/chunks/{chunk.QF3WLERT.js → chunk.TYVXH7ZW.js} +1 -1
- package/dist/chunks/{chunk.O6YESZHA.js → chunk.U6ZVQYN2.js} +1 -1
- package/dist/chunks/{chunk.QDFEG22S.js → chunk.UT2PBNPH.js} +1 -1
- package/dist/chunks/{chunk.K3HF3JA4.js → chunk.UUW3B5S5.js} +1 -1
- package/dist/chunks/{chunk.WM4AGOIZ.js → chunk.W5BEGOS2.js} +1 -1
- package/dist/chunks/{chunk.BLQFQXCU.js → chunk.XAOH7E5Y.js} +1 -1
- package/dist/chunks/{chunk.GCNQNIVQ.js → chunk.XQPSZT7C.js} +1 -1
- package/dist/chunks/{chunk.EYYHIJ7Q.js → chunk.Z2TW3FW6.js} +1 -1
- package/dist/chunks/{chunk.3AQM6FKF.js → chunk.Z7OTCKNY.js} +1 -1
- package/dist/chunks/chunk.ZQKFSIZX.js +115 -0
- package/dist/chunks/{chunk.V5HD2RQH.js → chunk.ZU6B6J6V.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.d.ts +1 -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 +19 -1
- package/dist/solid-components.js +50 -50
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/vscode.html-custom-data.json +1 -1
- package/dist/web-types.json +2 -2
- 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.5TXDZ6OQ.js → chunk.25JYDDEL.js} +3 -3
- package/dist-versioned/chunks/{chunk.MBOP4XDK.js → chunk.2KW3OQK3.js} +2 -2
- package/dist-versioned/chunks/{chunk.QHQBGFCN.js → chunk.2XYOJHUN.js} +3 -3
- package/dist-versioned/chunks/{chunk.P3M4RPHM.js → chunk.4JIUFSXL.js} +2 -2
- package/dist-versioned/chunks/{chunk.SOAF3TY4.js → chunk.4X5KLZKG.js} +3 -3
- package/dist-versioned/chunks/{chunk.7GKULTU7.js → chunk.57IRQB22.js} +6 -6
- package/dist-versioned/chunks/{chunk.ZAWI6TGO.js → chunk.5E7OOWFM.js} +3 -3
- package/dist-versioned/chunks/{chunk.YTDKF4U7.js → chunk.5HB4AZFH.js} +12 -12
- package/dist-versioned/chunks/{chunk.OGWBQ3DK.js → chunk.67HGWRDC.js} +5 -5
- package/dist-versioned/chunks/{chunk.357PR2IB.js → chunk.6BPYGYKJ.js} +2 -2
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +4 -4
- package/dist-versioned/chunks/{chunk.4JPDAEAZ.js → chunk.6MIVTHPW.js} +27 -27
- package/dist-versioned/chunks/{chunk.F5WZXOGP.js → chunk.7A77E2WF.js} +4 -4
- package/dist-versioned/chunks/{chunk.MJ3MZ7IA.js → chunk.AD7FTSCZ.js} +3 -3
- package/dist-versioned/chunks/{chunk.MGUEJDPC.js → chunk.ASKGMA6Q.js} +2 -2
- package/dist-versioned/chunks/{chunk.G3LCJLER.js → chunk.CY7STHBY.js} +6 -6
- package/dist-versioned/chunks/{chunk.AH4MJVKG.js → chunk.DFQ36XHY.js} +3 -3
- package/dist-versioned/chunks/{chunk.Q7ULKBP6.js → chunk.DPVQIW2K.js} +10 -16
- package/dist-versioned/chunks/{chunk.RHQ6U3DB.js → chunk.EH5YMA4E.js} +7 -7
- package/dist-versioned/chunks/{chunk.X7HYCD3E.js → chunk.EOLWJNLD.js} +4 -4
- package/dist-versioned/chunks/{chunk.M7TUM74F.js → chunk.EQXVKF2G.js} +3 -3
- package/dist-versioned/chunks/{chunk.F4LWSCE7.js → chunk.FA2PSB3G.js} +8 -8
- package/dist-versioned/chunks/{chunk.PK3XZW2G.js → chunk.FZYBHAXZ.js} +15 -15
- package/dist-versioned/chunks/{chunk.2BVPWR2S.js → chunk.GCBWRTSA.js} +5 -5
- package/dist-versioned/chunks/{chunk.NMI37BFS.js → chunk.GIDPKVNI.js} +2 -2
- package/dist-versioned/chunks/{chunk.P4BL4RSV.js → chunk.I5QIVC43.js} +4 -4
- package/dist-versioned/chunks/chunk.IUBULF5H.js +81 -0
- package/dist-versioned/chunks/{chunk.3MARQHUW.js → chunk.JK7S3JAQ.js} +9 -9
- package/dist-versioned/chunks/{chunk.P775L6OS.js → chunk.JNTYSC5E.js} +2 -2
- package/dist-versioned/chunks/{chunk.XI3IZCLB.js → chunk.JQ4VVB6S.js} +3 -3
- package/dist-versioned/chunks/{chunk.75VFJ3VZ.js → chunk.KPGT5KTE.js} +5 -5
- package/dist-versioned/chunks/chunk.KVKRZJS7.js +3 -3
- package/dist-versioned/chunks/{chunk.4J3ZCSIH.js → chunk.LO2A6JZJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.73ZM47SZ.js → chunk.LVZUFX7G.js} +2 -2
- package/dist-versioned/chunks/{chunk.YTDXH4KI.js → chunk.MGN6UKEO.js} +6 -6
- package/dist-versioned/chunks/{chunk.2FRKOJLK.js → chunk.MTWZ3KVK.js} +2 -2
- package/dist-versioned/chunks/{chunk.4PVTBZ45.js → chunk.NG6H4NIH.js} +3 -3
- package/dist-versioned/chunks/{chunk.AUFB3CF2.js → chunk.NTCYC424.js} +2 -2
- package/dist-versioned/chunks/{chunk.ENBSTUKA.js → chunk.QJGXEBXI.js} +16 -16
- package/dist-versioned/chunks/{chunk.M2VTLBRP.js → chunk.TIB22UHZ.js} +7 -7
- package/dist-versioned/chunks/{chunk.QZCGIMWI.js → chunk.TJBA6JWN.js} +2 -2
- package/dist-versioned/chunks/{chunk.QF3WLERT.js → chunk.TYVXH7ZW.js} +10 -10
- package/dist-versioned/chunks/{chunk.O6YESZHA.js → chunk.U6ZVQYN2.js} +2 -2
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.QDFEG22S.js → chunk.UT2PBNPH.js} +3 -3
- package/dist-versioned/chunks/{chunk.K3HF3JA4.js → chunk.UUW3B5S5.js} +3 -3
- package/dist-versioned/chunks/{chunk.WM4AGOIZ.js → chunk.W5BEGOS2.js} +4 -4
- package/dist-versioned/chunks/{chunk.BLQFQXCU.js → chunk.XAOH7E5Y.js} +3 -3
- package/dist-versioned/chunks/{chunk.GCNQNIVQ.js → chunk.XQPSZT7C.js} +3 -3
- package/dist-versioned/chunks/{chunk.EYYHIJ7Q.js → chunk.Z2TW3FW6.js} +2 -2
- package/dist-versioned/chunks/{chunk.3AQM6FKF.js → chunk.Z7OTCKNY.js} +3 -3
- package/dist-versioned/chunks/chunk.ZQKFSIZX.js +115 -0
- package/dist-versioned/chunks/{chunk.V5HD2RQH.js → chunk.ZU6B6J6V.js} +25 -25
- 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 +2 -3
- 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 +229 -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 +81 -81
- package/dist-versioned/web-types.json +138 -138
- package/package.json +2 -2
- package/cdn/chunks/chunk.3X2DDJ4U.js +0 -1
- package/cdn/chunks/chunk.NODVJPTE.js +0 -25
- package/cdn/chunks/chunk.OYZELC4M.js +0 -11
- package/cdn-versioned/chunks/chunk.3X2DDJ4U.js +0 -1
- package/cdn-versioned/chunks/chunk.NODVJPTE.js +0 -25
- package/cdn-versioned/chunks/chunk.OYZELC4M.js +0 -11
- package/dist/chunks/chunk.DXLUBAVX.js +0 -81
- package/dist/chunks/chunk.QQHF7ENZ.js +0 -100
- package/dist-versioned/chunks/chunk.DXLUBAVX.js +0 -81
- package/dist-versioned/chunks/chunk.QQHF7ENZ.js +0 -100
|
@@ -10,7 +10,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
10
10
|
var _a, _b;
|
|
11
11
|
const ul = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("ul");
|
|
12
12
|
ul == null ? void 0 : ul.setAttribute("part", "listbox");
|
|
13
|
-
const popup = document.createElement("sd-5-
|
|
13
|
+
const popup = document.createElement("sd-5-1-0-popup");
|
|
14
14
|
popup.appendChild(ul);
|
|
15
15
|
(_b = sdInput.shadowRoot) == null ? void 0 : _b.appendChild(popup);
|
|
16
16
|
popup == null ? void 0 : popup.setAttribute("exportparts", "popup__content");
|
|
@@ -22,7 +22,7 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
22
22
|
popup.anchor = sdInput;
|
|
23
23
|
popup.sync = "width";
|
|
24
24
|
}
|
|
25
|
-
const styles = css`sd-5-
|
|
25
|
+
const styles = css`sd-5-1-0-popup::part(popup){border-bottom-left-radius:var(--sd-border-radius-default,.25rem);border-bottom-right-radius:var(--sd-border-radius-default,.25rem);border-width:0 2px 2px;overflow-y:scroll;z-index:var(--sd-z-index-dropdown,900);--tw-border-opacity:1;border-color:rgb(var(--sd-color-primary,0 53 142)/var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(var(--sd-color-white,255 255 255)/var(--tw-bg-opacity,1));padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-2,.5rem);--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-1-0-popup li{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}sd-5-1-0-popup li:hover:not([disabled]){--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-100,246 246 246)/var(--tw-bg-opacity,1))}sd-5-1-0-popup li{list-style-type:""}sd-5-1-0-popup li mark{background-color:transparent;font-weight:700}sd-5-1-0-popup li:not(:has(sd-5-1-0-option)){cursor:pointer;font-size:var(--sd-font-size-base,1rem);padding:var(--sd-spacing-3,.75rem) var(--sd-spacing-4,1rem);--tw-text-opacity:1;color:rgb(var(--sd-color-black,24 24 24)/var(--tw-text-opacity,1))}sd-5-1-0-popup li:not(:has(sd-5-1-0-option)):hover{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}sd-5-1-0-popup li[aria-selected=true]{--tw-bg-opacity:1;background-color:rgb(var(--sd-color-neutral-200,233 233 233)/var(--tw-bg-opacity,1))}`;
|
|
26
26
|
const styleSheet = new CSSStyleSheet();
|
|
27
27
|
styleSheet.replaceSync(styles);
|
|
28
28
|
sdInput.shadowRoot.adoptedStyleSheets = [...sdInput.shadowRoot.adoptedStyleSheets, styleSheet];
|
|
@@ -35,13 +35,13 @@ function setupAutocomplete(selector, { setValueOnSelection, scrollSelectionIntoV
|
|
|
35
35
|
}
|
|
36
36
|
input.addEventListener("open", () => {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f;
|
|
38
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-
|
|
38
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-1-0-popup")) == null ? void 0 : _b.setAttribute("active", "true");
|
|
39
39
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.add("rounded-b-none");
|
|
40
40
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.add("z-50");
|
|
41
41
|
});
|
|
42
42
|
input.addEventListener("close", () => {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-
|
|
44
|
+
(_b = (_a = sdInput.shadowRoot) == null ? void 0 : _a.querySelector("sd-5-1-0-popup")) == null ? void 0 : _b.removeAttribute("active");
|
|
45
45
|
(_d = (_c = sdInput.shadowRoot) == null ? void 0 : _c.querySelector('[part="border"]')) == null ? void 0 : _d.classList.remove("rounded-b-none");
|
|
46
46
|
(_f = (_e = sdInput.shadowRoot) == null ? void 0 : _e.querySelector('[part="form-control"]')) == null ? void 0 : _f.classList.remove("z-50");
|
|
47
47
|
});
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
SolidElement,
|
|
28
28
|
customElement
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.IUBULF5H.js";
|
|
30
30
|
import {
|
|
31
31
|
animateTo,
|
|
32
32
|
stopAnimations
|
|
@@ -44,7 +44,7 @@ var SdSelect = class extends SolidElement {
|
|
|
44
44
|
constructor() {
|
|
45
45
|
super(...arguments);
|
|
46
46
|
this.formControlController = new FormControlController(this, {
|
|
47
|
-
assumeInteractionOn: ["sd-blur", "sd-5-
|
|
47
|
+
assumeInteractionOn: ["sd-blur", "sd-5-1-0-input"]
|
|
48
48
|
});
|
|
49
49
|
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
50
50
|
this.localize = new LocalizeController(this);
|
|
@@ -77,11 +77,11 @@ var SdSelect = class extends SolidElement {
|
|
|
77
77
|
this.styleOnValid = false;
|
|
78
78
|
this.hoist = false;
|
|
79
79
|
this.getTag = (option) => {
|
|
80
|
-
return html`<sd-5-
|
|
80
|
+
return html`<sd-5-1-0-tag class="relative z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
81
81
|
base:tag__base,
|
|
82
82
|
content:tag__content,
|
|
83
83
|
removable-indicator:tag__removable-indicator,
|
|
84
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-5-1-0-tag>`;
|
|
85
85
|
};
|
|
86
86
|
this.handleDocumentFocusIn = (event) => {
|
|
87
87
|
const path = event.composedPath();
|
|
@@ -92,7 +92,7 @@ var SdSelect = class extends SolidElement {
|
|
|
92
92
|
this.handleDocumentKeyDown = (event) => {
|
|
93
93
|
const target = event.target;
|
|
94
94
|
const isClearButton = target.closest(".select__clear") !== null;
|
|
95
|
-
const isIconButton = target.closest("sd-5-
|
|
95
|
+
const isIconButton = target.closest("sd-5-1-0-icon-button") !== null;
|
|
96
96
|
if (isClearButton || isIconButton) {
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
@@ -227,8 +227,8 @@ var SdSelect = class extends SolidElement {
|
|
|
227
227
|
event.preventDefault();
|
|
228
228
|
event.stopPropagation();
|
|
229
229
|
const tagParent = (_a = event.currentTarget) == null ? void 0 : _a.parentElement;
|
|
230
|
-
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-5-1-0-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-5-1-0-tag");
|
|
232
232
|
this.handleTagRemove(new CustomEvent("sd-remove"), option);
|
|
233
233
|
this.updateComplete.then(() => {
|
|
234
234
|
if (nextTag) {
|
|
@@ -248,7 +248,7 @@ var SdSelect = class extends SolidElement {
|
|
|
248
248
|
this.handleTagRemove(new CustomEvent("sd-remove"), this.selectedOptions[this.selectedOptions.length - 1]);
|
|
249
249
|
this.updateComplete.then(() => {
|
|
250
250
|
var _a;
|
|
251
|
-
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-5-1-0-tag");
|
|
252
252
|
if (tags && tags.length > 0) {
|
|
253
253
|
tags == null ? void 0 : tags[(tags == null ? void 0 : tags.length) - 1].focus();
|
|
254
254
|
} else {
|
|
@@ -294,7 +294,7 @@ var SdSelect = class extends SolidElement {
|
|
|
294
294
|
}
|
|
295
295
|
handleOptionClick(event) {
|
|
296
296
|
const target = event.target;
|
|
297
|
-
const option = target.closest("sd-5-
|
|
297
|
+
const option = target.closest("sd-5-1-0-option");
|
|
298
298
|
const oldValue = this.value;
|
|
299
299
|
if (option && !option.disabled) {
|
|
300
300
|
if (this.multiple) {
|
|
@@ -319,7 +319,7 @@ var SdSelect = class extends SolidElement {
|
|
|
319
319
|
const allOptions = this.getAllOptions();
|
|
320
320
|
const value = Array.isArray(this.value) ? this.value : [this.value];
|
|
321
321
|
const values = [];
|
|
322
|
-
if (customElements.get("sd-5-
|
|
322
|
+
if (customElements.get("sd-5-1-0-option")) {
|
|
323
323
|
allOptions.forEach((option) => {
|
|
324
324
|
if (this.multiple) {
|
|
325
325
|
option.checkbox = true;
|
|
@@ -328,7 +328,7 @@ var SdSelect = class extends SolidElement {
|
|
|
328
328
|
});
|
|
329
329
|
this.setSelectedOptions(allOptions.filter((el) => value.includes(el.value)));
|
|
330
330
|
} else {
|
|
331
|
-
customElements.whenDefined("sd-5-
|
|
331
|
+
customElements.whenDefined("sd-5-1-0-option").then(() => this.handleDefaultSlotChange());
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
handleTagRemove(event, option) {
|
|
@@ -345,13 +345,13 @@ var SdSelect = class extends SolidElement {
|
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
// Gets an array of all <sd-5-
|
|
348
|
+
// Gets an array of all <sd-5-1-0-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-5-
|
|
350
|
+
return [...this.querySelectorAll("sd-5-1-0-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-5-
|
|
352
|
+
// Gets the first <sd-5-1-0-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-5-
|
|
354
|
+
return this.querySelector("sd-5-1-0-option");
|
|
355
355
|
}
|
|
356
356
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
357
357
|
// option may be "current" at a time.
|
|
@@ -440,11 +440,11 @@ var SdSelect = class extends SolidElement {
|
|
|
440
440
|
});
|
|
441
441
|
} else {
|
|
442
442
|
return [
|
|
443
|
-
html`<sd-5-
|
|
443
|
+
html`<sd-5-1-0-tag class="z-10" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
444
444
|
base:tag__base,
|
|
445
445
|
content:tag__content,
|
|
446
446
|
removable-indicator:tag__removable-indicator,
|
|
447
|
-
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-
|
|
447
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagMaxOptionsKeyDown(event)}" @sd-remove="${(event) => this.handleTagRemove(event)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-1-0-tag>`
|
|
448
448
|
];
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -453,7 +453,7 @@ var SdSelect = class extends SolidElement {
|
|
|
453
453
|
this.formControlController.emitInvalidEvent(event);
|
|
454
454
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
455
455
|
}
|
|
456
|
-
/** Receives incoming event detail from sd-5-
|
|
456
|
+
/** Receives incoming event detail from sd-5-1-0-popup and updates local state for conditional styling. */
|
|
457
457
|
handleCurrentPlacement(e) {
|
|
458
458
|
const incomingPlacement = e.detail;
|
|
459
459
|
if (incomingPlacement) {
|
|
@@ -462,7 +462,7 @@ var SdSelect = class extends SolidElement {
|
|
|
462
462
|
}
|
|
463
463
|
handleUseTagsChange() {
|
|
464
464
|
const allOptions = this.getAllOptions();
|
|
465
|
-
if (customElements.get("sd-5-
|
|
465
|
+
if (customElements.get("sd-5-1-0-option")) {
|
|
466
466
|
allOptions.forEach((option) => {
|
|
467
467
|
option.checkbox = this.multiple;
|
|
468
468
|
});
|
|
@@ -598,7 +598,7 @@ var SdSelect = class extends SolidElement {
|
|
|
598
598
|
default: "border-neutral-800"
|
|
599
599
|
}[selectState],
|
|
600
600
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
601
|
-
)}"></div><sd-5-
|
|
601
|
+
)}"></div><sd-5-1-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
602
602
|
"inline-flex relative w-full",
|
|
603
603
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
604
604
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -621,12 +621,12 @@ var SdSelect = class extends SolidElement {
|
|
|
621
621
|
"select__clear flex justify-center",
|
|
622
622
|
iconMarginLeft,
|
|
623
623
|
this.value.length > 0 ? "visible" : "invisible"
|
|
624
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-
|
|
624
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-1-0-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="closing-round"></sd-5-1-0-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-1-0-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize, "text-error")}" library="_internal" name="risk"></sd-5-1-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-1-0-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="status-check"></sd-5-1-0-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
625
625
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
626
626
|
this.open ? "rotate-180" : "rotate-0",
|
|
627
627
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary",
|
|
628
628
|
iconSize
|
|
629
|
-
)}"><sd-5-
|
|
629
|
+
)}"><sd-5-1-0-icon name="chevron-down" part="chevron" library="_internal" color="currentColor"></sd-5-1-0-icon></slot></div><button part="combobox" class="${cx(
|
|
630
630
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
631
631
|
cursorStyles,
|
|
632
632
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -639,7 +639,7 @@ var SdSelect = class extends SolidElement {
|
|
|
639
639
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
640
640
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
641
641
|
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"
|
|
642
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-
|
|
642
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-5-1-0-popup></div><div class="text-sm text-neutral-700 mt-2" part="form-control-help-text" id="help-text" aria-hidden="${hasHelpText ? "false" : "true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`;
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
/**
|
|
@@ -647,13 +647,13 @@ var SdSelect = class extends SolidElement {
|
|
|
647
647
|
*/
|
|
648
648
|
SdSelect.styles = [
|
|
649
649
|
...SolidElement.styles,
|
|
650
|
-
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-
|
|
650
|
+
css`:host{display:block;position:relative;width:100%}:host([required]) #label:after{content:" *"}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-5-1-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-1-0-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-5-1-0-tag::part(content){display:inline-block;max-width:var(--tag-max-width,15ch);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}sd-5-1-0-tag[size=lg]::part(base){padding-left:var(--sd-spacing-2,.5rem);padding-right:var(--sd-spacing-2,.5rem)}sd-5-1-0-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))}`
|
|
651
651
|
];
|
|
652
652
|
__decorateClass([
|
|
653
|
-
queryAssignedElements({ selector: "sd-5-
|
|
653
|
+
queryAssignedElements({ selector: "sd-5-1-0-option" })
|
|
654
654
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
655
655
|
__decorateClass([
|
|
656
|
-
query("sd-5-
|
|
656
|
+
query("sd-5-1-0-popup")
|
|
657
657
|
], SdSelect.prototype, "popup", 2);
|
|
658
658
|
__decorateClass([
|
|
659
659
|
query('[part="combobox"]')
|
|
@@ -778,7 +778,7 @@ __decorateClass([
|
|
|
778
778
|
watch("value", { waitUntilFirstUpdate: true })
|
|
779
779
|
], SdSelect.prototype, "handleValueChange", 1);
|
|
780
780
|
SdSelect = __decorateClass([
|
|
781
|
-
customElement("sd-5-
|
|
781
|
+
customElement("sd-5-1-0-select")
|
|
782
782
|
], SdSelect);
|
|
783
783
|
setDefaultAnimation("select.show", {
|
|
784
784
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
SolidElement,
|
|
15
15
|
customElement
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.IUBULF5H.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -208,7 +208,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
208
208
|
this.readonly ? "bg-neutral-100" : "bg-white",
|
|
209
209
|
textareaState === "disabled" || textareaState === "visuallyDisabled" ? "text-neutral-500" : "text-black"
|
|
210
210
|
)}"><textarea part="textarea" id="input" class="${cx(
|
|
211
|
-
"ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-
|
|
211
|
+
"ps-4 flex-grow focus:outline-none bg-transparent placeholder-neutral-700 resize-none group-has-[sd-5-1-0-icon]:pe-8",
|
|
212
212
|
{
|
|
213
213
|
sm: "py-1",
|
|
214
214
|
md: "py-1",
|
|
@@ -216,7 +216,7 @@ var SdTextarea = class extends SolidElement {
|
|
|
216
216
|
}[this.size],
|
|
217
217
|
this.disabled && "cursor-not-allowed",
|
|
218
218
|
textSize
|
|
219
|
-
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-5-
|
|
219
|
+
)}" title="${this.title}" name="${ifDefined(this.name)}" .value="${live(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" rows="${ifDefined(this.rows)}" autocapitalize="${ifDefined(this.autocapitalize)}" autocorrect="${ifDefined(this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${ifDefined(this.spellcheck)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled || this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle ? html`<sd-5-1-0-icon class="${cx("text-error absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="risk" part="invalid-icon"></sd-5-1-0-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-5-1-0-icon class="${cx("text-success absolute right-4 pointer-events-none", iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-1-0-icon>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
/**
|
|
@@ -330,7 +330,7 @@ __decorateClass([
|
|
|
330
330
|
watch("value", { waitUntilFirstUpdate: true })
|
|
331
331
|
], SdTextarea.prototype, "handleValueChange", 1);
|
|
332
332
|
SdTextarea = __decorateClass([
|
|
333
|
-
customElement("sd-5-
|
|
333
|
+
customElement("sd-5-1-0-textarea")
|
|
334
334
|
], SdTextarea);
|
|
335
335
|
|
|
336
336
|
export {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SolidElement,
|
|
16
16
|
customElement
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.IUBULF5H.js";
|
|
18
18
|
import {
|
|
19
19
|
animateTo,
|
|
20
20
|
shimKeyframesHeightAuto,
|
|
@@ -94,7 +94,7 @@ var SdExpandable = class extends SolidElement {
|
|
|
94
94
|
)}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${cx("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${cx(
|
|
95
95
|
"flex items-center mr-2 transition-transform duration-medium ease-in-out",
|
|
96
96
|
this.open && "rotate-180"
|
|
97
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-
|
|
97
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-5-1-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-1-0-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-5-1-0-icon library="_internal" name="chevron-down" class="text-xl"></sd-5-1-0-icon></slot></span><slot name="toggle-closed" class="${cx(this.open && "hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${cx(!this.open && "hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${ifDefined(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`;
|
|
98
98
|
}
|
|
99
99
|
firstUpdated() {
|
|
100
100
|
this.cloneContentToLightDOM();
|
|
@@ -134,7 +134,7 @@ __decorateClass([
|
|
|
134
134
|
watch("open", { waitUntilFirstUpdate: true })
|
|
135
135
|
], SdExpandable.prototype, "onOpenChange", 1);
|
|
136
136
|
SdExpandable = __decorateClass([
|
|
137
|
-
customElement("sd-5-
|
|
137
|
+
customElement("sd-5-1-0-expandable")
|
|
138
138
|
], SdExpandable);
|
|
139
139
|
setDefaultAnimation("expandable.show", {
|
|
140
140
|
keyframes: [{ height: "var(--component-expandable-max-block-size, 90px)" }, { height: "auto" }],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.IUBULF5H.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -323,7 +323,7 @@ __decorateClass([
|
|
|
323
323
|
property({ attribute: "auto-size-padding", type: Number })
|
|
324
324
|
], SdPopup.prototype, "autoSizePadding", 2);
|
|
325
325
|
SdPopup = __decorateClass([
|
|
326
|
-
customElement("sd-5-
|
|
326
|
+
customElement("sd-5-1-0-popup")
|
|
327
327
|
], SdPopup);
|
|
328
328
|
|
|
329
329
|
export {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.IUBULF5H.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -26,7 +26,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
26
26
|
this.helpText = "";
|
|
27
27
|
}
|
|
28
28
|
getAllCheckboxes() {
|
|
29
|
-
return [...this.querySelectorAll("sd-5-
|
|
29
|
+
return [...this.querySelectorAll("sd-5-1-0-checkbox")];
|
|
30
30
|
}
|
|
31
31
|
async syncCheckboxElements() {
|
|
32
32
|
const checkboxes = this.getAllCheckboxes();
|
|
@@ -39,10 +39,10 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
41
|
syncCheckboxes() {
|
|
42
|
-
if (customElements.get("sd-5-
|
|
42
|
+
if (customElements.get("sd-5-1-0-checkbox")) {
|
|
43
43
|
this.syncCheckboxElements();
|
|
44
44
|
} else {
|
|
45
|
-
customElements.whenDefined("sd-5-
|
|
45
|
+
customElements.whenDefined("sd-5-1-0-checkbox").then(() => this.syncCheckboxes());
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
handleSizeChange() {
|
|
@@ -79,7 +79,7 @@ var SdCheckboxGroup = class extends SolidElement {
|
|
|
79
79
|
*/
|
|
80
80
|
SdCheckboxGroup.styles = [
|
|
81
81
|
...SolidElement.styles,
|
|
82
|
-
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-
|
|
82
|
+
css`:host{display:block}:host([orientation=vertical]) ::slotted(sd-5-1-0-checkbox){display:flex;margin-bottom:var(--sd-spacing-2,.5rem)}:host([orientation=vertical]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-bottom:var(--sd-spacing-0,0)}:host([orientation=horizontal]) ::slotted(sd-5-1-0-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-1-0-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-5-1-0-checkbox:last-of-type){margin-right:var(--sd-spacing-0,0)}`
|
|
83
83
|
];
|
|
84
84
|
__decorateClass([
|
|
85
85
|
property({ type: String, reflect: true })
|
|
@@ -100,7 +100,7 @@ __decorateClass([
|
|
|
100
100
|
watch("invalid", { waitUntilFirstUpdate: true })
|
|
101
101
|
], SdCheckboxGroup.prototype, "handleInvalid", 1);
|
|
102
102
|
SdCheckboxGroup = __decorateClass([
|
|
103
|
-
customElement("sd-5-
|
|
103
|
+
customElement("sd-5-1-0-checkbox-group")
|
|
104
104
|
], SdCheckboxGroup);
|
|
105
105
|
|
|
106
106
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.IUBULF5H.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -32,7 +32,7 @@ var SdDivider = class extends SolidElement {
|
|
|
32
32
|
*/
|
|
33
33
|
SdDivider.styles = [
|
|
34
34
|
...SolidElement.styles,
|
|
35
|
-
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-
|
|
35
|
+
css`:host{margin:var(--sd-spacing-0,0)}:host(sd-5-1-0-divider[orientation=horizontal]){display:block}:host(sd-5-1-0-divider[orientation=vertical]){display:inline-block}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
38
38
|
property({ type: String, reflect: true })
|
|
@@ -41,7 +41,7 @@ __decorateClass([
|
|
|
41
41
|
property({ type: Boolean, reflect: true })
|
|
42
42
|
], SdDivider.prototype, "inverted", 2);
|
|
43
43
|
SdDivider = __decorateClass([
|
|
44
|
-
customElement("sd-5-
|
|
44
|
+
customElement("sd-5-1-0-divider")
|
|
45
45
|
], SdDivider);
|
|
46
46
|
|
|
47
47
|
export {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
SolidElement,
|
|
16
16
|
customElement
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.IUBULF5H.js";
|
|
18
18
|
import {
|
|
19
19
|
animateTo,
|
|
20
20
|
parseDuration,
|
|
@@ -202,15 +202,15 @@ var SdTooltip = class extends SolidElement {
|
|
|
202
202
|
render() {
|
|
203
203
|
const isStart = this.placement.endsWith("-start");
|
|
204
204
|
const isEnd = this.placement.endsWith("-end");
|
|
205
|
-
return html`<sd-5-
|
|
205
|
+
return html`<sd-5-1-0-popup part="base" exportparts="
|
|
206
206
|
popup:base__popup,
|
|
207
207
|
arrow:base__arrow
|
|
208
|
-
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-
|
|
208
|
+
" class="${cx(this.open && "tooltip--open")}" placement="${this.placement}" distance="10" skidding="${{ start: 2, end: -2, default: 0 }[isStart ? "start" : isEnd ? "end" : "default"] * (this.size === "sm" ? -1 : 1)}" strategy="${this.hoist ? "fixed" : "absolute"}" flip shift arrow auto-size="vertical" arrow-padding="0">${this.hasCustomTrigger ? html`<slot slot="anchor"></slot>` : html`<button slot="anchor" aria-describedby="tooltip" class="${cx("flex sd-interactive rounded-full", this.size === "lg" ? "text-xl" : "text-base")}" ?disabled="${this.disabled}" aria-expanded="${this.open}" aria-controls="tooltip"><sd-5-1-0-icon library="_internal" name="info-circle" label="Tooltip" class="${cx(this.disabled && "sd-interactive--disabled")}"></sd-5-1-0-icon></button>`}<slot name="content" part="body" id="tooltip" class="bg-primary text-white py-3 px-4 block rounded-none text-sm text-left" role="tooltip" aria-label="${this.content}" aria-live="${this.open ? "polite" : "off"}">${this.content}</slot></sd-5-1-0-popup>`;
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
SdTooltip.styles = [
|
|
212
212
|
...SolidElement.styles,
|
|
213
|
-
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-
|
|
213
|
+
css`:host{--hide-delay:0ms;--show-delay:150ms;display:contents}sd-5-1-0-popup{--arrow-color:rgb(var(--sd-color-primary,0 53 142)/1);--arrow-size:10px}sd-5-1-0-popup::part(popup){pointer-events:none;z-index:10;--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-1-0-popup::part(arrow){--tw-shadow:var(--sd-shadow,0px 1px 3px 0px rgba(81,81,81,.75));--tw-shadow-colored:0px 1px 3px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}sd-5-1-0-popup[placement^=top]::part(popup){transform-origin:bottom}sd-5-1-0-popup[placement^=bottom]::part(popup){transform-origin:top}#tooltip{max-width:var(--max-width)}::slotted([slot=content]){max-height:var(--auto-size-available-height)!important;max-width:var(--auto-size-available-width)!important;overflow:auto}`
|
|
214
214
|
];
|
|
215
215
|
__decorateClass([
|
|
216
216
|
query("slot:not([name])")
|
|
@@ -219,7 +219,7 @@ __decorateClass([
|
|
|
219
219
|
query("#tooltip")
|
|
220
220
|
], SdTooltip.prototype, "body", 2);
|
|
221
221
|
__decorateClass([
|
|
222
|
-
query("sd-5-
|
|
222
|
+
query("sd-5-1-0-popup")
|
|
223
223
|
], SdTooltip.prototype, "popup", 2);
|
|
224
224
|
__decorateClass([
|
|
225
225
|
property({ type: String, reflect: true })
|
|
@@ -252,21 +252,15 @@ __decorateClass([
|
|
|
252
252
|
watch("disabled")
|
|
253
253
|
], SdTooltip.prototype, "handleDisabledChange", 1);
|
|
254
254
|
SdTooltip = __decorateClass([
|
|
255
|
-
customElement("sd-5-
|
|
255
|
+
customElement("sd-5-1-0-tooltip")
|
|
256
256
|
], SdTooltip);
|
|
257
257
|
setDefaultAnimation("tooltip.show", {
|
|
258
|
-
keyframes: [
|
|
259
|
-
|
|
260
|
-
{ opacity: 1, scale: 1 }
|
|
261
|
-
],
|
|
262
|
-
options: { duration: 150, easing: "ease" }
|
|
258
|
+
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
259
|
+
options: { duration: "var(--sd-duration-fast, 150)", easing: "ease-in-out" }
|
|
263
260
|
});
|
|
264
261
|
setDefaultAnimation("tooltip.hide", {
|
|
265
|
-
keyframes: [
|
|
266
|
-
|
|
267
|
-
{ opacity: 0, scale: 0.8 }
|
|
268
|
-
],
|
|
269
|
-
options: { duration: 150, easing: "ease" }
|
|
262
|
+
keyframes: [{ opacity: 1 }, { opacity: 0 }],
|
|
263
|
+
options: { duration: "var(--sd-duration-fast, 150)", easing: "ease-in-out" }
|
|
270
264
|
});
|
|
271
265
|
|
|
272
266
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SdDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DFQ36XHY.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
6
|
} from "./chunk.YKM42GKF.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SolidElement,
|
|
12
12
|
customElement
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.IUBULF5H.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -28,11 +28,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
28
28
|
this.label = "";
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Syncs the disabled prop for all slotted sd-5-
|
|
31
|
+
* Syncs the disabled prop for all slotted sd-5-1-0-options when it is triggered
|
|
32
32
|
*/
|
|
33
33
|
handleDisableOptions() {
|
|
34
34
|
const { disabled } = this;
|
|
35
|
-
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-
|
|
35
|
+
this.defaultSlot.assignedElements().filter((opt) => opt.tagName.toLowerCase() === "sd-5-1-0-option").forEach((opt) => {
|
|
36
36
|
opt.disabled = disabled;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
@@ -41,11 +41,11 @@ var SdOptgroup = class extends SolidElement {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const { disabled } = this;
|
|
44
|
-
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-
|
|
44
|
+
return html`<div role="${disabled ? "presentation" : "group"}" class="${cx(this.disabled ? "text-neutral-500" : "")}" part="base" aria-labelledby="group-label"><sd-5-1-0-divider id="divider" class="pt-2 pb-4" part="divider"></sd-5-1-0-divider><div part="label-container" class="${cx(this.disabled ? "text-neutral-500" : "text-black")} px-4 font-bold text-left" role="presentation" id="group-label"><slot name="label"><span>${this.label}</span></slot></div><div role="listbox" part="options" aria-label="${this.localize.term("optionGroup")}"><slot @slotchange="${this.handleDisableOptions}"></slot></div></div>`;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SdOptgroup.dependencies = {
|
|
48
|
-
"sd-5-
|
|
48
|
+
"sd-5-1-0-divider": SdDivider
|
|
49
49
|
};
|
|
50
50
|
SdOptgroup.styles = [
|
|
51
51
|
...SolidElement.styles,
|
|
@@ -64,7 +64,7 @@ __decorateClass([
|
|
|
64
64
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
65
65
|
], SdOptgroup.prototype, "handleDisabledChange", 1);
|
|
66
66
|
SdOptgroup = __decorateClass([
|
|
67
|
-
customElement("sd-5-
|
|
67
|
+
customElement("sd-5-1-0-optgroup")
|
|
68
68
|
], SdOptgroup);
|
|
69
69
|
|
|
70
70
|
export {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
SolidElement,
|
|
18
18
|
customElement
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.IUBULF5H.js";
|
|
20
20
|
import {
|
|
21
21
|
__decorateClass,
|
|
22
22
|
__spreadValues
|
|
@@ -385,7 +385,7 @@ var SdInput = class extends SolidElement {
|
|
|
385
385
|
this.size === "sm" ? "h-6" : "h-8",
|
|
386
386
|
textSize
|
|
387
387
|
)}" type="${this.type === "password" && this.passwordVisible ? "text" : this.type}" title="${this.title}" name="${ifDefined(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${ifDefined(this.placeholder)}" minlength="${ifDefined(this.minlength)}" maxlength="${ifDefined(this.maxlength)}" min="${ifDefined(this.min)}" max="${ifDefined(this.max)}" step="${ifDefined(this.step)}" .value="${live(this.value)}" autocapitalize="${ifDefined(this.type === "password" ? "off" : this.autocapitalize)}" autocomplete="${// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
388
|
-
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-
|
|
388
|
+
ifDefined(this.autocomplete)}" autocorrect="${ifDefined(this.type === "password" ? "off" : this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${ifDefined(this.pattern)}" enterkeyhint="${ifDefined(this.enterkeyhint)}" inputmode="${ifDefined(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled || this.disabled ? "true" : "false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${hasClearIcon ? html`<button part="clear-button" class="${cx("flex justify-center", iconMarginLeft)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-1-0-icon class="${cx("text-neutral-700", iconSize)}" library="_internal" name="closing-round"></sd-5-1-0-icon></slot></button>` : ""} ${this.passwordToggle && this.type === "password" ? html`<button aria-label="${this.localize.term(this.passwordVisible ? "hidePassword" : "showPassword")}" part="password-toggle-button" class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handlePasswordToggle}">${this.passwordVisible ? html`<slot name="show-password-icon"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye"></sd-5-1-0-icon></slot>` : html`<slot name="hide-password-icon"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="eye-crossed-out"></sd-5-1-0-icon></slot>`}</button>` : ""} ${(this.type === "date" || this.type === "datetime-local") && !isFirefox ? html`<sd-5-1-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="calendar"></sd-5-1-0-icon>` : ""} ${this.type === "time" ? html`<sd-5-1-0-icon class="${cx(iconColor, iconMarginLeft, iconSize)}" library="_internal" name="clock"></sd-5-1-0-icon>` : ""} ${this.type === "search" ? html`<button class="${cx("flex items-center sd-interactive", iconMarginLeft)}" type="button" @click="${this.handleSearchClick}"><sd-5-1-0-icon class="${cx(iconColor, iconSize)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-1-0-icon></button>` : ""} ${this.showInvalidStyle ? html`<sd-5-1-0-icon part="invalid-icon" class="${cx("text-error", iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-5-1-0-icon>` : ""} ${this.showValidStyle && this.styleOnValid ? html`<sd-5-1-0-icon class="${cx("text-success flex-shrink-0", iconMarginLeft, iconSize)}" library="_internal" name="status-check" part="valid-icon"></sd-5-1-0-icon>` : ""} ${slots["right"] ? html`<slot name="right" part="right" class="${cx("inline-flex", iconColor, iconMarginLeft, iconSize)}"></slot>` : ""} ${this.type === "number" && this.spinButtons ? html`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepDown(), end: () => this.handleChange() })} tabindex="-1"><slot name="decrement-number-stepper"><sd-5-1-0-icon name="system/minus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-1-0-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${longPress({ start: () => this.handleStepUp(), end: () => this.handleChange() })} tabindex="-1"><slot name="increment-number-stepper"><sd-5-1-0-icon name="system/plus-circle" label="Decrease value" class="${cx(iconColor, iconMarginLeft, iconSize)}"></sd-5-1-0-icon></slot></button></div>` : ""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx("text-sm text-neutral-700 mt-2", hasHelpText ? "block" : "hidden")}" aria-hidden="${!hasHelpText}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`;
|
|
389
389
|
}
|
|
390
390
|
};
|
|
391
391
|
/**
|
|
@@ -393,7 +393,7 @@ var SdInput = class extends SolidElement {
|
|
|
393
393
|
*/
|
|
394
394
|
SdInput.styles = [
|
|
395
395
|
...SolidElement.styles,
|
|
396
|
-
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-
|
|
396
|
+
css`:host{box-sizing:border-box;display:inline-block;position:relative;text-align:left;width:100%}:host([vertical]){display:block}:host([required]) #label:after{content:" *"}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-5-1-0-icon{--tw-text-opacity:1;color:rgb(var(--sd-color-neutral-500,174 174 174)/var(--tw-text-opacity,1))}`
|
|
397
397
|
];
|
|
398
398
|
__decorateClass([
|
|
399
399
|
query("#input")
|
|
@@ -523,7 +523,7 @@ __decorateClass([
|
|
|
523
523
|
watch("value", { waitUntilFirstUpdate: true })
|
|
524
524
|
], SdInput.prototype, "handleValueChange", 1);
|
|
525
525
|
SdInput = __decorateClass([
|
|
526
|
-
customElement("sd-5-
|
|
526
|
+
customElement("sd-5-1-0-input")
|
|
527
527
|
], SdInput);
|
|
528
528
|
|
|
529
529
|
export {
|