@solid-design-system/components 7.0.0-next.10 → 7.0.0-next.11
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.RFVQLD5K.js → chunk.27COXYSS.js} +1 -1
- package/cdn/chunks/{chunk.NOW64QHB.js → chunk.2TJHRJVR.js} +1 -1
- package/cdn/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
- package/cdn/chunks/{chunk.CQI2RS2L.js → chunk.77C2CBMU.js} +1 -1
- package/cdn/chunks/{chunk.U3X6ZYRC.js → chunk.7EIPS2GV.js} +1 -1
- package/cdn/chunks/{chunk.6JKZ63QX.js → chunk.E7MFWEYN.js} +1 -1
- package/cdn/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
- package/cdn/chunks/{chunk.WIAQ2X73.js → chunk.KP7W5F3Y.js} +1 -1
- package/cdn/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
- package/cdn/chunks/{chunk.UPV2DLDG.js → chunk.NFJMIR7G.js} +1 -1
- package/cdn/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
- package/cdn/chunks/{chunk.7USKB2GO.js → chunk.NLVPT4C5.js} +1 -1
- package/cdn/chunks/{chunk.J663MKB4.js → chunk.OYJTDY24.js} +2 -2
- package/cdn/chunks/{chunk.JTBZGOCE.js → chunk.R5GIN36W.js} +1 -1
- package/cdn/chunks/{chunk.CVB6PQL3.js → chunk.R6L2KIAT.js} +1 -1
- package/cdn/chunks/{chunk.GX5EMWG2.js → chunk.S3UYULN7.js} +1 -1
- package/cdn/chunks/{chunk.QXTQ4QBZ.js → chunk.SCP54EUM.js} +1 -1
- package/cdn/chunks/{chunk.6A2XPA27.js → chunk.SPU6E7DX.js} +2 -2
- package/cdn/chunks/{chunk.3VTWQPQB.js → chunk.VA64L52R.js} +2 -2
- package/cdn/chunks/{chunk.OYCIMCNH.js → chunk.XVR65EXR.js} +2 -2
- package/cdn/chunks/{chunk.MIROXJW4.js → chunk.ZCWTP5MX.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/file-selector/file-selector.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +30 -32
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.multi-theming.js +1 -1
- package/cdn/components/icon/library.status.d.ts +9 -8
- package/cdn/components/icon/library.status.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tag/tag.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 +4 -10
- package/cdn/solid-components.bundle.js +87 -100
- package/cdn/solid-components.iife.js +87 -100
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/{chunk.RFVQLD5K.js → chunk.27COXYSS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.NOW64QHB.js → chunk.2TJHRJVR.js} +2 -2
- package/cdn-versioned/chunks/chunk.2XFIFYRX.js +2 -2
- package/cdn-versioned/chunks/chunk.3RDG7HQT.js +2 -2
- package/cdn-versioned/chunks/{chunk.AUZKCMXB.js → chunk.552X4W43.js} +1 -1
- package/cdn-versioned/chunks/chunk.55B57RXL.js +2 -2
- package/cdn-versioned/chunks/chunk.5B33ZALC.js +1 -1
- package/cdn-versioned/chunks/{chunk.CQI2RS2L.js → chunk.77C2CBMU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.U3X6ZYRC.js → chunk.7EIPS2GV.js} +2 -2
- package/cdn-versioned/chunks/chunk.7O3WO7T4.js +1 -1
- package/cdn-versioned/chunks/chunk.ARA5JW32.js +2 -2
- package/cdn-versioned/chunks/chunk.B4BAFEZE.js +2 -2
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
- package/cdn-versioned/chunks/chunk.CWRWVUT3.js +2 -2
- package/cdn-versioned/chunks/chunk.DEC3VKXA.js +2 -2
- package/cdn-versioned/chunks/chunk.DFCHDZDG.js +2 -2
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/{chunk.6JKZ63QX.js → chunk.E7MFWEYN.js} +2 -2
- package/cdn-versioned/chunks/chunk.FCBNIOWP.js +2 -2
- package/cdn-versioned/chunks/chunk.FPC4KJUF.js +1 -1
- package/cdn-versioned/chunks/chunk.H5ODW4DI.js +2 -2
- package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +2 -2
- package/cdn-versioned/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
- package/cdn-versioned/chunks/chunk.J7SSJXR3.js +1 -1
- package/cdn-versioned/chunks/chunk.KDTVJE37.js +2 -2
- package/cdn-versioned/chunks/chunk.KITZT7MU.js +1 -1
- package/cdn-versioned/chunks/{chunk.WIAQ2X73.js → chunk.KP7W5F3Y.js} +2 -2
- package/cdn-versioned/chunks/chunk.KZLMAANO.js +1 -1
- package/cdn-versioned/chunks/chunk.LM5SJXYL.js +2 -2
- package/cdn-versioned/chunks/chunk.LPOPOGGB.js +2 -2
- package/cdn-versioned/chunks/{chunk.ZCLAPTH6.js → chunk.LWLOMMIE.js} +9 -22
- package/cdn-versioned/chunks/chunk.LYJX2BW7.js +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.N2PGOHWH.js +2 -2
- package/cdn-versioned/chunks/{chunk.UPV2DLDG.js → chunk.NFJMIR7G.js} +2 -2
- package/cdn-versioned/chunks/chunk.NISL6W7W.js +2 -2
- package/cdn-versioned/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7USKB2GO.js → chunk.NLVPT4C5.js} +2 -2
- package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +3 -3
- package/cdn-versioned/chunks/chunk.OFLEA353.js +10 -10
- package/cdn-versioned/chunks/chunk.OKAUTL3G.js +2 -2
- package/cdn-versioned/chunks/chunk.OR64TDYE.js +2 -2
- package/cdn-versioned/chunks/chunk.OYJTDY24.js +2 -0
- package/cdn-versioned/chunks/chunk.PUC7BGPD.js +2 -2
- package/cdn-versioned/chunks/{chunk.JTBZGOCE.js → chunk.R5GIN36W.js} +2 -2
- package/cdn-versioned/chunks/{chunk.CVB6PQL3.js → chunk.R6L2KIAT.js} +5 -5
- package/cdn-versioned/chunks/chunk.RGSF2XLM.js +2 -2
- package/cdn-versioned/chunks/chunk.RJIOLFBG.js +2 -2
- package/cdn-versioned/chunks/chunk.RSP57JUX.js +2 -2
- package/cdn-versioned/chunks/{chunk.GX5EMWG2.js → chunk.S3UYULN7.js} +2 -2
- package/cdn-versioned/chunks/chunk.S63R2AXT.js +3 -3
- package/cdn-versioned/chunks/{chunk.QXTQ4QBZ.js → chunk.SCP54EUM.js} +5 -5
- package/cdn-versioned/chunks/{chunk.6A2XPA27.js → chunk.SPU6E7DX.js} +2 -2
- package/cdn-versioned/chunks/chunk.SVZV3YHZ.js +1 -1
- package/cdn-versioned/chunks/chunk.TS6S25HT.js +2 -2
- package/cdn-versioned/chunks/chunk.U2TVO27N.js +2 -2
- package/cdn-versioned/chunks/chunk.UFWE6XC3.js +2 -2
- package/cdn-versioned/chunks/chunk.V3TQLJF2.js +1 -1
- package/cdn-versioned/chunks/{chunk.3VTWQPQB.js → chunk.VA64L52R.js} +2 -2
- package/cdn-versioned/chunks/chunk.VSIBCI2V.js +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WHDOGCAD.js +1 -1
- package/cdn-versioned/chunks/chunk.WWHH2NDP.js +2 -2
- package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +2 -2
- package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +2 -2
- package/cdn-versioned/chunks/{chunk.OYCIMCNH.js → chunk.XVR65EXR.js} +2 -2
- package/cdn-versioned/chunks/chunk.YAT66EQJ.js +3 -3
- package/cdn-versioned/chunks/chunk.Z7AMUW7S.js +2 -2
- package/cdn-versioned/chunks/{chunk.MIROXJW4.js → chunk.ZCWTP5MX.js} +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.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/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/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/cdn-versioned/components/file-selector/file-selector.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/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +30 -32
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
- package/cdn-versioned/components/icon/library.status.d.ts +9 -8
- package/cdn-versioned/components/icon/library.status.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/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/progress-bar/progress-bar.d.ts +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-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +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/skeleton/skeleton.d.ts +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/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +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/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.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/theme-listener/theme-listener.d.ts +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 +269 -275
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +97 -110
- package/cdn-versioned/solid-components.css +3 -3
- package/cdn-versioned/solid-components.iife.js +97 -110
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +115 -115
- package/cdn-versioned/web-types.json +173 -173
- package/dist/chunks/{chunk.3MGF33VU.js → chunk.346KUZ2N.js} +1 -1
- package/dist/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
- package/dist/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
- package/dist/chunks/{chunk.OUFMMO37.js → chunk.3XIEL44S.js} +1 -1
- package/{dist-versioned/chunks/chunk.4TPOL3LB.js → dist/chunks/chunk.4X2JEQJ2.js} +4 -1
- package/dist/chunks/{chunk.UYQP3VDT.js → chunk.4ZNMCQ55.js} +1 -1
- package/dist/chunks/{chunk.GHWO5PUG.js → chunk.ANUBVNLR.js} +2 -2
- package/dist/chunks/{chunk.3JGMLVGL.js → chunk.B72XZRDP.js} +2 -2
- package/dist/chunks/{chunk.GOZXDQTL.js → chunk.HSFOQQ52.js} +2 -2
- package/dist/chunks/{chunk.P5V6KORX.js → chunk.I5C34XR6.js} +2 -2
- package/dist/chunks/{chunk.KAWDESCC.js → chunk.LW2NFCFY.js} +1 -1
- package/dist/chunks/{chunk.7ZKBKOS5.js → chunk.MVUZGVJ6.js} +3 -3
- package/dist/chunks/{chunk.FQJPWM4Z.js → chunk.NRI3NAMP.js} +2 -2
- package/dist/chunks/{chunk.JHSA2DI2.js → chunk.O6VYYKTA.js} +1 -1
- package/dist/chunks/{chunk.4BB4LNMY.js → chunk.SDEYEU3M.js} +4 -4
- package/{dist-versioned/chunks/chunk.Q4LFZ4MN.js → dist/chunks/chunk.UGGH4H2X.js} +4 -4
- package/dist/chunks/{chunk.52XEAMVX.js → chunk.UMF56HAL.js} +1 -1
- package/dist/chunks/{chunk.AFD4FHYM.js → chunk.YCLLM3OQ.js} +2 -2
- package/dist/chunks/{chunk.CQTEYWVJ.js → chunk.YF5CJVKA.js} +1 -1
- package/dist/chunks/{chunk.INSUQDO7.js → chunk.YY6BDJPL.js} +1 -1
- package/dist/chunks/{chunk.WYS3OZYO.js → chunk.ZCNNMATK.js} +1 -1
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/accordion-group/accordion-group.js +6 -6
- package/dist/components/audio/audio.js +6 -6
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/datepicker/datepicker.js +6 -6
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/file-selector/file-selector.js +5 -5
- package/dist/components/flipcard/flipcard.js +5 -5
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.internal.d.ts +30 -32
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +4 -4
- package/dist/components/icon/library.multi-theming.js +1 -1
- package/dist/components/icon/library.status.d.ts +9 -8
- package/dist/components/icon/library.status.js +1 -1
- package/dist/components/input/input.js +6 -6
- package/dist/components/navigation-item/navigation-item.js +6 -6
- package/dist/components/notification/notification.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/quickfact/quickfact.js +7 -7
- package/dist/components/range/range.js +5 -5
- package/dist/components/scrollable/scrollable.js +6 -6
- package/dist/components/select/select.js +6 -6
- package/dist/components/step/step.js +6 -6
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/teaser-media/teaser-media.js +1 -1
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +4 -10
- package/dist/solid-components.js +23 -23
- package/dist/utilities/icon-library.js +4 -4
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/chunk.266V4W27.js +11 -11
- package/dist-versioned/chunks/chunk.2ZO5TQLM.js +4 -4
- package/dist-versioned/chunks/chunk.33KST4RJ.js +1 -1
- package/dist-versioned/chunks/{chunk.3MGF33VU.js → chunk.346KUZ2N.js} +2 -2
- package/dist-versioned/chunks/{chunk.XBDLZTHZ.js → chunk.365UZIBA.js} +3 -3
- package/dist-versioned/chunks/{chunk.Z3HEYXRX.js → chunk.37JWARFZ.js} +69 -33
- package/dist-versioned/chunks/{chunk.OUFMMO37.js → chunk.3XIEL44S.js} +6 -6
- package/dist-versioned/chunks/chunk.3Y3V2LY4.js +5 -5
- package/dist-versioned/chunks/chunk.4USTQEWG.js +12 -12
- package/{dist/chunks/chunk.4TPOL3LB.js → dist-versioned/chunks/chunk.4X2JEQJ2.js} +4 -1
- package/dist-versioned/chunks/{chunk.UYQP3VDT.js → chunk.4ZNMCQ55.js} +2 -2
- package/dist-versioned/chunks/chunk.5R5MY3VD.js +11 -11
- package/dist-versioned/chunks/chunk.5VCVDFRJ.js +1 -1
- package/dist-versioned/chunks/chunk.6A4DHVDL.js +2 -2
- package/dist-versioned/chunks/chunk.6DUOHFNN.js +3 -3
- package/dist-versioned/chunks/chunk.6MSQDSJK.js +4 -4
- package/dist-versioned/chunks/chunk.6OYBQ6CO.js +4 -4
- package/dist-versioned/chunks/chunk.77CINHAJ.js +1 -1
- package/dist-versioned/chunks/chunk.AJVSDITF.js +3 -3
- package/dist-versioned/chunks/{chunk.GHWO5PUG.js → chunk.ANUBVNLR.js} +14 -14
- package/dist-versioned/chunks/{chunk.3JGMLVGL.js → chunk.B72XZRDP.js} +4 -4
- package/dist-versioned/chunks/chunk.BZO3OLK2.js +5 -5
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/chunk.C4RJM5BO.js +1 -1
- package/dist-versioned/chunks/chunk.D5JLEZPO.js +1 -1
- package/dist-versioned/chunks/chunk.DJJN4MJ4.js +1 -1
- package/dist-versioned/chunks/chunk.DKN5SHQ2.js +5 -5
- package/dist-versioned/chunks/chunk.EVGV2PWW.js +2 -2
- package/dist-versioned/chunks/chunk.F3C76UKB.js +2 -2
- package/dist-versioned/chunks/chunk.G7M7XYS3.js +6 -6
- package/dist-versioned/chunks/chunk.GBB73ZFE.js +3 -3
- package/dist-versioned/chunks/chunk.GRRHK6BP.js +2 -2
- package/dist-versioned/chunks/chunk.HIR2MKW6.js +2 -2
- package/dist-versioned/chunks/{chunk.GOZXDQTL.js → chunk.HSFOQQ52.js} +5 -5
- package/dist-versioned/chunks/chunk.I57THEU4.js +7 -7
- package/dist-versioned/chunks/{chunk.P5V6KORX.js → chunk.I5C34XR6.js} +23 -23
- package/dist-versioned/chunks/chunk.IXJGPE6X.js +11 -11
- package/dist-versioned/chunks/chunk.JAPL7DQX.js +5 -5
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.LJ5ONJGL.js +42 -42
- package/dist-versioned/chunks/{chunk.KAWDESCC.js → chunk.LW2NFCFY.js} +6 -6
- package/dist-versioned/chunks/{chunk.7ZKBKOS5.js → chunk.MVUZGVJ6.js} +10 -10
- package/dist-versioned/chunks/{chunk.FQJPWM4Z.js → chunk.NRI3NAMP.js} +25 -25
- package/dist-versioned/chunks/{chunk.JHSA2DI2.js → chunk.O6VYYKTA.js} +3 -3
- package/dist-versioned/chunks/chunk.PCB2BA7U.js +13 -13
- package/dist-versioned/chunks/chunk.PMM3MDLE.js +3 -3
- package/dist-versioned/chunks/chunk.QD2ZQPDB.js +2 -2
- package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
- package/dist-versioned/chunks/chunk.QOIO3YAP.js +7 -7
- package/dist-versioned/chunks/chunk.RGVIOXPM.js +3 -3
- package/dist-versioned/chunks/{chunk.4BB4LNMY.js → chunk.SDEYEU3M.js} +8 -8
- package/dist-versioned/chunks/chunk.SVAL7V6Q.js +2 -2
- package/{dist/chunks/chunk.Q4LFZ4MN.js → dist-versioned/chunks/chunk.UGGH4H2X.js} +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.52XEAMVX.js → chunk.UMF56HAL.js} +6 -6
- package/dist-versioned/chunks/chunk.UOMFY7RY.js +1 -1
- package/dist-versioned/chunks/chunk.UTW3WRV2.js +5 -5
- package/dist-versioned/chunks/chunk.VHQQB75I.js +3 -3
- package/dist-versioned/chunks/chunk.WVSKCZ63.js +4 -4
- package/dist-versioned/chunks/chunk.WXT5HYGA.js +12 -12
- package/dist-versioned/chunks/chunk.WZOVHSGU.js +6 -6
- package/dist-versioned/chunks/chunk.Y4XJY6Y4.js +5 -5
- package/dist-versioned/chunks/chunk.Y6QQUPB5.js +4 -4
- package/dist-versioned/chunks/{chunk.AFD4FHYM.js → chunk.YCLLM3OQ.js} +10 -10
- package/dist-versioned/chunks/{chunk.CQTEYWVJ.js → chunk.YF5CJVKA.js} +10 -10
- package/dist-versioned/chunks/{chunk.INSUQDO7.js → chunk.YY6BDJPL.js} +5 -5
- package/dist-versioned/chunks/chunk.Z462LBEB.js +7 -7
- package/dist-versioned/chunks/chunk.ZCG43UX7.js +10 -10
- package/dist-versioned/chunks/{chunk.WYS3OZYO.js → chunk.ZCNNMATK.js} +5 -5
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +6 -6
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +6 -6
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +6 -6
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +5 -5
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +6 -6
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +6 -6
- 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/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/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +6 -6
- package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/dist-versioned/components/file-selector/file-selector.js +5 -5
- 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/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +5 -5
- package/dist-versioned/components/icon/library.internal.d.ts +30 -32
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +4 -4
- package/dist-versioned/components/icon/library.multi-theming.js +1 -1
- package/dist-versioned/components/icon/library.status.d.ts +9 -8
- package/dist-versioned/components/icon/library.status.js +1 -1
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +6 -6
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +6 -6
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +5 -5
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +6 -6
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +7 -7
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +5 -5
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +6 -6
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +6 -6
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +6 -6
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +6 -6
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +5 -5
- package/dist-versioned/components/teaser-media/teaser-media.js +1 -1
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +5 -5
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +5 -5
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +6 -6
- package/dist-versioned/custom-elements.json +269 -275
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +3 -3
- package/dist-versioned/solid-components.js +23 -23
- package/dist-versioned/utilities/icon-library.js +4 -4
- package/dist-versioned/vscode.html-custom-data.json +115 -115
- package/dist-versioned/web-types.json +173 -173
- package/package.json +1 -1
- package/cdn-versioned/chunks/chunk.J663MKB4.js +0 -2
|
@@ -163,76 +163,76 @@ var SdButton = class extends SolidElement {
|
|
|
163
163
|
const hasBorder = this.variant === "secondary";
|
|
164
164
|
const variantBackgroundColors = {
|
|
165
165
|
primary: this.inverted ? {
|
|
166
|
-
motionBackground: "sd-7-0-0-next-
|
|
167
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
166
|
+
motionBackground: "sd-7-0-0-next-11-button--primary--inverted--hover-color-background group-active:sd-7-0-0-next-11-button--primary--inverted--active-color-background",
|
|
167
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--primary--inverted--hover-color-background active:sd-7-0-0-next-11-button--primary--inverted--active-color-background"
|
|
168
168
|
} : {
|
|
169
|
-
motionBackground: "sd-7-0-0-next-
|
|
170
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
169
|
+
motionBackground: "sd-7-0-0-next-11-button--primary--hover-color-background group-active:sd-7-0-0-next-11-button--primary--active-color-background",
|
|
170
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--primary--hover-color-background active:sd-7-0-0-next-11-button--primary--active-color-background"
|
|
171
171
|
},
|
|
172
172
|
secondary: this.inverted ? {
|
|
173
|
-
motionBackground: "sd-7-0-0-next-
|
|
174
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
173
|
+
motionBackground: "sd-7-0-0-next-11-button--secondary--inverted--hover-color-background group-active:sd-7-0-0-next-11-button--secondary--inverted--active-color-background group-active:sd-7-0-0-next-11-button--secondary--inverted--active-color-text",
|
|
174
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--secondary--inverted--hover-color-background active:sd-7-0-0-next-11-button--secondary--inverted--active-color-background"
|
|
175
175
|
} : {
|
|
176
|
-
motionBackground: "sd-7-0-0-next-
|
|
177
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
176
|
+
motionBackground: "sd-7-0-0-next-11-button--secondary--hover-color-background group-active:sd-7-0-0-next-11-button--secondary--active-color-background",
|
|
177
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--secondary--hover-color-background active:sd-7-0-0-next-11-button--secondary--active-color-background"
|
|
178
178
|
},
|
|
179
179
|
tertiary: this.inverted ? {
|
|
180
|
-
motionBackground: "sd-7-0-0-next-
|
|
181
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
180
|
+
motionBackground: "sd-7-0-0-next-11-button--tertiary--inverted--hover-color-background group-active:sd-7-0-0-next-11-button--tertiary--inverted--active-color-background group-active:sd-7-0-0-next-11-button--tertiary--inverted--active-color-text",
|
|
181
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--tertiary--inverted--hover-color-background active:sd-7-0-0-next-11-button--tertiary--inverted--active-color-background"
|
|
182
182
|
} : {
|
|
183
|
-
motionBackground: "sd-7-0-0-next-
|
|
184
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
183
|
+
motionBackground: "sd-7-0-0-next-11-button--tertiary--hover-color-background group-active:sd-7-0-0-next-11-button--tertiary--active-color-background",
|
|
184
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--tertiary--hover-color-background active:sd-7-0-0-next-11-button--tertiary--active-color-background"
|
|
185
185
|
},
|
|
186
186
|
cta: this.inverted ? {
|
|
187
|
-
motionBackground: "sd-7-0-0-next-
|
|
188
|
-
baseBackground: "hover:sd-7-0-0-next-
|
|
187
|
+
motionBackground: "sd-7-0-0-next-11-button--cta--inverted--hover-color-background group-active:sd-7-0-0-next-11-button--cta--inverted--active-color-background",
|
|
188
|
+
baseBackground: "hover:sd-7-0-0-next-11-button--cta--inverted--hover-color-background active:sd-7-0-0-next-11-button--cta--inverted--active-color-background"
|
|
189
189
|
} : {
|
|
190
190
|
motionBackground: "bg-accent-500 group-active:bg-accent-700",
|
|
191
191
|
baseBackground: "hover:bg-accent-500 active:bg-accent-700"
|
|
192
192
|
}
|
|
193
193
|
}[this.variant];
|
|
194
|
-
return html`<sd-7-0-0-next-
|
|
194
|
+
return html`<sd-7-0-0-next-11-theme-listener></sd-7-0-0-next-11-theme-listener><${tag} part="base" class="${cx(
|
|
195
195
|
`group relative z-10 font-md no-underline
|
|
196
196
|
w-full align-middle inline-flex items-stretch justify-center
|
|
197
197
|
transition-colors duration-fast ease-in-out
|
|
198
198
|
select-none cursor-[inherit]`,
|
|
199
|
-
!this.hasUiMotion && "sd-7-0-0-next-
|
|
199
|
+
!this.hasUiMotion && "sd-7-0-0-next-11-button--simple-motion",
|
|
200
200
|
!this.inverted ? "focus-visible:focus-outline" : "focus-visible:focus-outline-inverted",
|
|
201
201
|
this.loading && "relative cursor-wait",
|
|
202
202
|
(this.disabled || this.visuallyDisabled) && "cursor-not-allowed",
|
|
203
203
|
{
|
|
204
204
|
/* sizes, fonts */
|
|
205
|
-
sm: `varspacing-8 min-h-8 sd-7-0-0-next-
|
|
206
|
-
md: `varspacing-10 sd-7-0-0-next-
|
|
207
|
-
lg: `varspacing-12 sd-7-0-0-next-
|
|
205
|
+
sm: `varspacing-8 min-h-8 sd-7-0-0-next-11-button--size-sm-font-size sd-7-0-0-next-11-button-font-weight sd-7-0-0-next-11-button--secondary--size-sm-padding-block sd-7-0-0-next-11-button--size-sm-border-radius`,
|
|
206
|
+
md: `varspacing-10 sd-7-0-0-next-11-button--size-md-height sd-7-0-0-next-11-button--size-md-font-size sd-7-0-0-next-11-button--secondary--size-md-padding-block sd-7-0-0-next-11-button-font-weight sd-7-0-0-next-11-button--size-md-border-radius`,
|
|
207
|
+
lg: `varspacing-12 sd-7-0-0-next-11-button--size-lg-height sd-7-0-0-next-11-button--size-lg-font-size sd-7-0-0-next-11-button--secondary--size-lg-padding-block sd-7-0-0-next-11-button-font-weight sd-7-0-0-next-11-button--size-lg-border-radius`
|
|
208
208
|
}[this.size],
|
|
209
209
|
!slots["icon-only"] && {
|
|
210
210
|
/* sizes, fonts */
|
|
211
|
-
sm: `${hasBorder ? "sd-7-0-0-next-
|
|
212
|
-
md: `${hasBorder ? "sd-7-0-0-next-
|
|
213
|
-
lg: `${hasBorder ? "sd-7-0-0-next-
|
|
211
|
+
sm: `${hasBorder ? "sd-7-0-0-next-11-button--secondary-padding-inline" : "sd-7-0-0-next-11-button--size-sm-padding-block sd-7-0-0-next-11-button-padding-inline"}`,
|
|
212
|
+
md: `${hasBorder ? "sd-7-0-0-next-11-button--secondary-padding-inline" : "sd-7-0-0-next-11-button--size-md-padding-block sd-7-0-0-next-11-button-padding-inline"}`,
|
|
213
|
+
lg: `${hasBorder ? "sd-7-0-0-next-11-button--secondary-padding-inline" : "sd-7-0-0-next-11-button--size-lg-padding-block sd-7-0-0-next-11-button-padding-inline"}`
|
|
214
214
|
}[this.size],
|
|
215
215
|
/**
|
|
216
216
|
* Anatomy
|
|
217
217
|
* */
|
|
218
218
|
slots["icon-only"] && {
|
|
219
219
|
sm: "px-1 aspect-square",
|
|
220
|
-
md: "sd-7-0-0-next-
|
|
220
|
+
md: "sd-7-0-0-next-11-button--size-md--icon-only-padding-inline aspect-square",
|
|
221
221
|
lg: "px-[12px] aspect-square"
|
|
222
222
|
}[this.size],
|
|
223
223
|
{
|
|
224
224
|
/* variants */
|
|
225
|
-
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
226
|
-
disabled:sd-7-0-0-next-
|
|
227
|
-
disabled:sd-7-0-0-next-
|
|
228
|
-
secondary: !this.inverted ? `border sd-7-0-0-next-
|
|
229
|
-
disabled:sd-7-0-0-next-
|
|
230
|
-
disabled:sd-7-0-0-next-
|
|
231
|
-
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
232
|
-
disabled:sd-7-0-0-next-
|
|
233
|
-
disabled:sd-7-0-0-next-
|
|
234
|
-
cta: `${this.visuallyDisabled ? "sd-7-0-0-next-
|
|
235
|
-
${!this.inverted ? "text-white bg-accent disabled:sd-7-0-0-next-
|
|
225
|
+
primary: !this.inverted ? `${this.visuallyDisabled ? "sd-7-0-0-next-11-button--primary--disabled-color-background border-neutral-500 text-white" : "sd-7-0-0-next-11-button--primary--default-color-background border-transparent sd-7-0-0-next-11-button--primary--default-color-text hover:sd-7-0-0-next-11-button--primary--hover-color-text active:sd-7-0-0-next-11-button--primary--active-color-text"}
|
|
226
|
+
disabled:sd-7-0-0-next-11-button--primary--disabled-color-background disabled:text-white` : `${this.visuallyDisabled ? "sd-7-0-0-next-11-button--inverted--disabled-color-background text-white border-neutral-500" : "sd-7-0-0-next-11-button--primary--inverted--default-color-text sd-7-0-0-next-11-button--primary--inverted--default-color-background border-white hover:sd-7-0-0-next-11-button--primary--inverted--hover-color-text active:sd-7-0-0-next-11-button--primary--inverted--active-color-text"}
|
|
227
|
+
disabled:sd-7-0-0-next-11-button--inverted--disabled-color-background disabled:text-white`,
|
|
228
|
+
secondary: !this.inverted ? `border sd-7-0-0-next-11-button-border-width ${this.visuallyDisabled ? "sd-7-0-0-next-11-button--secondary--disabled-color-text sd-7-0-0-next-11-button--secondary--disabled-color-border" : "sd-7-0-0-next-11-button--secondary--default-color-text sd-7-0-0-next-11-button--secondary--default-color-border hover:sd-7-0-0-next-11-button--secondary--hover-color-text hover:sd-7-0-0-next-11-button--secondary--hover-color-border active:sd-7-0-0-next-11-button--secondary--active-color-text active:sd-7-0-0-next-11-button--secondary--active-color-border"}
|
|
229
|
+
disabled:sd-7-0-0-next-11-button--secondary--disabled-color-text disabled:sd-7-0-0-next-11-button--secondary--disabled-color-border` : `border sd-7-0-0-next-11-button-border-width ${this.visuallyDisabled ? "text-neutral-600 border-neutral-600" : "sd-7-0-0-next-11-button--secondary--inverted-color-text sd-7-0-0-next-11-button--secondary--inverted-color-border hover:sd-7-0-0-next-11-button--secondary--inverted-color-border hover:sd-7-0-0-next-11-button--secondary--inverted--hover-color-text active:sd-7-0-0-next-11-button--secondary--inverted--active-color-text active:border-primary-200"}
|
|
230
|
+
disabled:sd-7-0-0-next-11-button--inverted--disabled-color-border disabled:sd-7-0-0-next-11-button--inverted--disabled-color-text`,
|
|
231
|
+
tertiary: !this.inverted ? `border-transparent ${this.visuallyDisabled ? "sd-7-0-0-next-11-button--tertiary--disabled-color-text" : "sd-7-0-0-next-11-button--tertiary--default-color-text hover:sd-7-0-0-next-11-button--tertiary--hover-color-text active:sd-7-0-0-next-11-button--tertiary--active-color-text"}
|
|
232
|
+
disabled:sd-7-0-0-next-11-button--tertiary--disabled-color-text` : `border-transparent ${this.visuallyDisabled ? "text-neutral-600" : "sd-7-0-0-next-11-button--tertiary--inverted-color-text hover:sd-7-0-0-next-11-button--tertiary--inverted--hover-color-text active:sd-7-0-0-next-11-button--tertiary--inverted--active-color-text"}
|
|
233
|
+
disabled:sd-7-0-0-next-11-button--inverted--disabled-color-text`,
|
|
234
|
+
cta: `${this.visuallyDisabled ? "sd-7-0-0-next-11-button--primary--disabled-color-background border-neutral-500" : "border-transparent"}
|
|
235
|
+
${!this.inverted ? "text-white bg-accent disabled:sd-7-0-0-next-11-button--primary--disabled-color-background disabled:border-neutral-500 disabled:text-white" : "sd-7-0-0-next-11-button--cta--inverted--default-color-background sd-7-0-0-next-11-button--cta--inverted--default-color-text hover:sd-7-0-0-next-11-button--cta--inverted--hover-color-text active:sd-7-0-0-next-11-button--cta--inverted--active-color-text disabled:sd-7-0-0-next-11-button--inverted--disabled-color-background disabled:text-white"}`
|
|
236
236
|
}[this.variant],
|
|
237
237
|
!this.hasUiMotion && !this.disabled && !this.visuallyDisabled && variantBackgroundColors.baseBackground
|
|
238
238
|
)}" ?disabled="${ifDefined(isLink ? void 0 : this.disabled)}" type="${ifDefined(isLink ? void 0 : this.type)}" title="${this.title}" name="${ifDefined(isLink ? void 0 : this.name)}" value="${ifDefined(isLink ? void 0 : this.value)}" href="${ifDefined(isLink ? this.href : void 0)}" target="${ifDefined(isLink ? this.target : void 0)}" download="${ifDefined(isLink ? this.download : void 0)}" rel="${ifDefined(isLink && this.target ? "noreferrer noopener" : void 0)}" role="${ifDefined(isLink ? void 0 : "button")}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" aria-labelledby="content" tabindex="${this.disabled ? "-1" : "0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @invalid="${this.isButton() ? this.handleInvalid : null}" @click="${this.handleClick}"><div part="motion-wrapper" class="${cx(
|
|
@@ -240,9 +240,9 @@ var SdButton = class extends SolidElement {
|
|
|
240
240
|
(!this.hasUiMotion || this.disabled || this.visuallyDisabled) && "hidden",
|
|
241
241
|
{
|
|
242
242
|
/* sizes, fonts */
|
|
243
|
-
sm: `sd-7-0-0-next-
|
|
244
|
-
md: `sd-7-0-0-next-
|
|
245
|
-
lg: `sd-7-0-0-next-
|
|
243
|
+
sm: `sd-7-0-0-next-11-button-border-radius`,
|
|
244
|
+
md: `sd-7-0-0-next-11-button-border-radius`,
|
|
245
|
+
lg: `sd-7-0-0-next-11-button-border-radius`
|
|
246
246
|
}[this.size]
|
|
247
247
|
)}"><div class="absolute inset-0 w-full h-full transition-all duration-fast translate-y-full group-hover:translate-y-0 group-hover:mt-[-22%] mt-[11%]"><div class="${cx(
|
|
248
248
|
"absolute right-0 min-w-full min-h-full aspect-square skew-y-[-11deg] mt-[11%]",
|
|
@@ -250,7 +250,7 @@ var SdButton = class extends SolidElement {
|
|
|
250
250
|
)}"></div><div class="${cx(
|
|
251
251
|
"absolute w-full h-full mt-[22%]",
|
|
252
252
|
variantBackgroundColors.motionBackground,
|
|
253
|
-
this.variant === "secondary" && this.inverted && "group-active:sd-7-0-0-next-
|
|
253
|
+
this.variant === "secondary" && this.inverted && "group-active:sd-7-0-0-next-11-button--secondary--active-color-border"
|
|
254
254
|
)}"></div></div></div><slot name="icon-left" part="icon-left" class="${cx(
|
|
255
255
|
"flex flex-auto items-center justify-end pointer-events-none",
|
|
256
256
|
slots["icon-only"] && "hidden",
|
|
@@ -278,7 +278,7 @@ var SdButton = class extends SolidElement {
|
|
|
278
278
|
md: "ml-2",
|
|
279
279
|
lg: "ml-2"
|
|
280
280
|
}[this.size]
|
|
281
|
-
)}"></slot>${this.loading ? html`<sd-7-0-0-next-
|
|
281
|
+
)}"></slot>${this.loading ? html`<sd-7-0-0-next-11-loader class="${cx("absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2")}"></sd-7-0-0-next-11-loader>` : ""}</${tag}>`;
|
|
282
282
|
}
|
|
283
283
|
};
|
|
284
284
|
/**
|
|
@@ -287,13 +287,13 @@ var SdButton = class extends SolidElement {
|
|
|
287
287
|
SdButton.styles = [
|
|
288
288
|
...SolidElement.styles,
|
|
289
289
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
290
|
-
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}.sd-7-0-0-next-
|
|
290
|
+
:host{position:relative;z-index:0;display:inline-block;width:auto;cursor:pointer}.sd-7-0-0-next-11-button--simple-motion{transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease,box-shadow 150ms ease}::slotted(sd-7-0-0-next-11-badge){pointer-events:none;position:absolute;top:0;right:0;--tw-translate-x:calc(1 / 2 * 100%)!important;--tw-translate-y:calc(calc(1 / 2 * 100%) * -1)!important;translate:var(--tw-translate-x) var(--tw-translate-y)!important}::slotted(sd-7-0-0-next-11-icon),sd-7-0-0-next-11-loader{font-size:calc(var(--tw-varspacing)/ 2)}:host([size=lg]) ::slotted(sd-7-0-0-next-11-icon){font-size:var(--sd-button--size-lg-icon-height,var(--sd-spacing-6))}:host([size=sm]) .sd-7-0-0-next-11-button--size-sm-border-radius{border-radius:var(--sd-button--size-sm-border-radius,var(--sd-button-border-radius))}:host([size=md]) .sd-7-0-0-next-11-button--size-md-border-radius{border-radius:var(--sd-button--size-md-border-radius,var(--sd-button-border-radius))}:host([size=lg]) .sd-7-0-0-next-11-button--size-lg-border-radius{border-radius:var(--sd-button--size-lg-border-radius,var(--sd-button-border-radius))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}`
|
|
291
291
|
];
|
|
292
292
|
__decorateClass([
|
|
293
293
|
query("a, button")
|
|
294
294
|
], SdButton.prototype, "button", 2);
|
|
295
295
|
__decorateClass([
|
|
296
|
-
queryAssignedElements({ selector: "sd-7-0-0-next-
|
|
296
|
+
queryAssignedElements({ selector: "sd-7-0-0-next-11-icon" })
|
|
297
297
|
], SdButton.prototype, "_iconsInDefaultSlot", 2);
|
|
298
298
|
__decorateClass([
|
|
299
299
|
state()
|
|
@@ -362,7 +362,7 @@ __decorateClass([
|
|
|
362
362
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
363
363
|
], SdButton.prototype, "handleDisabledChange", 1);
|
|
364
364
|
SdButton = __decorateClass([
|
|
365
|
-
customElement("sd-7-0-0-next-
|
|
365
|
+
customElement("sd-7-0-0-next-11-button")
|
|
366
366
|
], SdButton);
|
|
367
367
|
|
|
368
368
|
export {
|
|
@@ -135,23 +135,23 @@ var SdAccordion = class extends SolidElement {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
return html`<details part="base"><summary part="header" id="header" class="${cx(
|
|
138
|
-
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-0-next-
|
|
138
|
+
"flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-7-0-0-next-11-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:sd-7-0-0-next-11-accordion--hover-color-background"
|
|
139
139
|
)}" aria-expanded="${this.open ? "true" : "false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${cx(
|
|
140
140
|
!this.open && "opacity-0",
|
|
141
|
-
"w-1 sd-7-0-0-next-
|
|
141
|
+
"w-1 sd-7-0-0-next-11-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full"
|
|
142
142
|
)}"></div><slot name="summary" part="summary" class="${cx(
|
|
143
|
-
this.open ? "sd-7-0-0-next-
|
|
143
|
+
this.open ? "sd-7-0-0-next-11-accordion--open-color-text" : "sd-7-0-0-next-11-accordion-color-text",
|
|
144
144
|
"flex flex-auto items-center text-left"
|
|
145
145
|
)}">${this.summary}</slot><span part="summary-icon" class="${cx(
|
|
146
146
|
"flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",
|
|
147
147
|
this.open && "rotate-180"
|
|
148
|
-
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-7-0-0-next-
|
|
148
|
+
)}"><slot name="expand-icon" class="${cx(this.open && "hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom"></sd-7-0-0-next-11-icon></slot><slot name="collapse-icon" class="${cx(!this.open && "hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom"></sd-7-0-0-next-11-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>`;
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
SdAccordion.styles = [
|
|
152
152
|
...SolidElement.styles,
|
|
153
153
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
154
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-0-next-
|
|
154
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-7-0-0-next-11-icon{color:rgb(var(--sd-accordion__chevron-color-text,var(--sd-accordion-color-icon-fill)))}`
|
|
155
155
|
];
|
|
156
156
|
__decorateClass([
|
|
157
157
|
query('[part="base"]')
|
|
@@ -172,7 +172,7 @@ __decorateClass([
|
|
|
172
172
|
watch("open", { waitUntilFirstUpdate: true })
|
|
173
173
|
], SdAccordion.prototype, "handleOpenChange", 1);
|
|
174
174
|
SdAccordion = __decorateClass([
|
|
175
|
-
customElement("sd-7-0-0-next-
|
|
175
|
+
customElement("sd-7-0-0-next-11-accordion")
|
|
176
176
|
], SdAccordion);
|
|
177
177
|
setDefaultAnimation("accordion.show", {
|
|
178
178
|
keyframes: [
|
|
@@ -64,7 +64,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
64
64
|
if (!this.isFocused) this.next();
|
|
65
65
|
});
|
|
66
66
|
this.scrollController = new ScrollController(this);
|
|
67
|
-
this.slides = this.getElementsByTagName("sd-7-0-0-next-
|
|
67
|
+
this.slides = this.getElementsByTagName("sd-7-0-0-next-11-carousel-item");
|
|
68
68
|
// determines which slide is displayed
|
|
69
69
|
// A map containing the state of all the slides
|
|
70
70
|
this.intersectionObserverEntries = /* @__PURE__ */ new Map();
|
|
@@ -476,7 +476,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
476
476
|
if (e.detail) {
|
|
477
477
|
this.autoplayControls.blur();
|
|
478
478
|
}
|
|
479
|
-
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-
|
|
479
|
+
}}"><slot name="autoplay-start" class="${cx(!this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-11-icon class="h-6 w-6 grid place-items-center" library="_internal" name="play"></sd-7-0-0-next-11-icon></slot><slot name="autoplay-pause" class="${cx(this.pausedAutoplay ? "hidden" : "")}"><sd-7-0-0-next-11-icon class="h-6 w-6 grid place-items-center" library="_internal" name="pause"></sd-7-0-0-next-11-icon></slot></button><div class="carousel__announcement sr-only" aria-live="${!this.autoplay || this.pausedAutoplay || this.isFocused ? "polite" : "off"}" aria-atomic="true"></div><div id="scroll-container" part="scroll-container" class="${cx(
|
|
480
480
|
`carousel__slides mb-6 max-h-full w-full items-center justify-items-center`,
|
|
481
481
|
this.inverted ? "focus-visible:focus-outline-inverted" : "focus-visible:focus-outline",
|
|
482
482
|
this.fade ? "relative overflow-hidden" : `grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden`
|
|
@@ -490,7 +490,7 @@ var SdCarousel = class extends SolidElement {
|
|
|
490
490
|
)}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${prevEnabled ? "false" : "true"}" @click="${prevEnabled ? (e) => {
|
|
491
491
|
this.previous();
|
|
492
492
|
this.unblockAutoplay(e, this.previousButton);
|
|
493
|
-
} : null}"><slot name="previous-icon"><sd-7-0-0-next-
|
|
493
|
+
} : null}"><slot name="previous-icon"><sd-7-0-0-next-11-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-bottom" : "chevron-top"}"></sd-7-0-0-next-11-icon></slot></button> ${this.variant === "dot" ? html`<div part="pagination-dot" role="tablist" class="${cx("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${map(range(pagesCount), (index) => {
|
|
494
494
|
const isActive = index + 1 === currentPage;
|
|
495
495
|
return html`<button part="pagination-item ${isActive ? "pagination-item--active" : ""}" class="${cx(
|
|
496
496
|
"carousel__pagination-item",
|
|
@@ -501,14 +501,14 @@ var SdCarousel = class extends SolidElement {
|
|
|
501
501
|
this.goToSlide(index * slidesPerMove);
|
|
502
502
|
this.unblockAutoplay(e, this.paginationItems[index]);
|
|
503
503
|
}}"><span class="${cx(
|
|
504
|
-
"h-4 w-4 block border sd-7-0-0-next-
|
|
505
|
-
this.inverted ? "sd-7-0-0-next-
|
|
504
|
+
"h-4 w-4 block border sd-7-0-0-next-11-carousel__pager-dot-border-width rounded-full transition-colors duration-slow hover:duration-fast ease-in-out",
|
|
505
|
+
this.inverted ? "sd-7-0-0-next-11-carousel__pager-dot--inverted-border hover:border-primary-200" : "border-primary hover:border-primary-500",
|
|
506
506
|
isActive && "border-none",
|
|
507
|
-
isActive ? this.inverted ? "sd-7-0-0-next-
|
|
507
|
+
isActive ? this.inverted ? "sd-7-0-0-next-11-carousel__pager-dot--inverted-background hover:sd-7-0-0-next-11-carousel__pager-dot--inverted--hovered-background" : "sd-7-0-0-next-11-carousel__pager-dot-background hover:bg-accent-550" : ""
|
|
508
508
|
)}"></span></button>`;
|
|
509
509
|
})}</div>` : html`<span part="pagination-number" class="carousel__pagination number flex gap-0.5 cursor-default select-none" aria-controls="scroll-container"><span part="pagination-item" class="${cx(
|
|
510
510
|
"w-5 text-center border-b-2",
|
|
511
|
-
this.inverted ? "text-white sd-7-0-0-next-
|
|
511
|
+
this.inverted ? "text-white sd-7-0-0-next-11-carousel--active--inverted-color-border" : "text-black sd-7-0-0-next-11-carousel--active-color-border"
|
|
512
512
|
)}">${currentPage}</span> <span part="pagination-divider" class="${cx("scale-y-[1.5]", "text-center", this.inverted ? "text-white" : "text-black")}">/</span> <span part="pagination-item" class="${cx("w-5 text-center", this.inverted ? "text-white" : "text-black")}">${pagesCount}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!nextEnabled ? true : false}" class="${cx(
|
|
513
513
|
"!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",
|
|
514
514
|
!nextEnabled && "sd-interactive--disabled",
|
|
@@ -516,13 +516,13 @@ var SdCarousel = class extends SolidElement {
|
|
|
516
516
|
)}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${nextEnabled ? "false" : "true"}" @click="${nextEnabled ? (e) => {
|
|
517
517
|
this.next();
|
|
518
518
|
this.unblockAutoplay(e, this.nextButton);
|
|
519
|
-
} : null}"><slot name="next-icon"><sd-7-0-0-next-
|
|
519
|
+
} : null}"><slot name="next-icon"><sd-7-0-0-next-11-icon class="${cx("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${isLtr ? "chevron-top" : "chevron-bottom"}"></sd-7-0-0-next-11-icon></slot></button></div></div></div>`;
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
SdCarousel.styles = [
|
|
523
523
|
...SolidElement.styles,
|
|
524
524
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
525
|
-
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-0-next-
|
|
525
|
+
:host{--slide-gap:var(--sl-spacing-medium, 1rem);--scroll-hint:0px;display:flex}.carousel{grid-template-areas:'. slides .' '. pagination .'}.carousel__pagination{grid-area:pagination}.carousel__slides{grid-area:slides;scrollbar-width:none;--slide-size:calc((100% - (var(--slides-per-page) - 1) * var(--slide-gap)) / var(--slides-per-page));grid-auto-columns:var(--slide-size);-moz-column-gap:var(--slide-gap);column-gap:var(--slide-gap);scroll-padding-inline:var(--scroll-hint);padding-inline:var(--scroll-hint)}.carousel__slides::-webkit-scrollbar{display:none}[part=autoplay-controls]{z-index:1}:host([fade]){--carousel-height:auto}:host([fade]) .carousel__slides{position:relative;display:block;overflow:hidden;height:var(--carousel-height)}@media (prefers-reduced-motion){:where(.carousel__slides){scroll-behavior:auto}}.carousel__navigation{grid-area:navigation}sd-7-0-0-next-11-button::part(label){pointer-events:none;display:flex;flex:auto;align-items:center}`
|
|
526
526
|
];
|
|
527
527
|
__decorateClass([
|
|
528
528
|
query('[part~="autoplay-controls"]')
|
|
@@ -607,7 +607,7 @@ __decorateClass([
|
|
|
607
607
|
watch("autoplayInterval")
|
|
608
608
|
], SdCarousel.prototype, "handleautoplayIntervalChange", 1);
|
|
609
609
|
SdCarousel = __decorateClass([
|
|
610
|
-
customElement("sd-7-0-0-next-
|
|
610
|
+
customElement("sd-7-0-0-next-11-carousel")
|
|
611
611
|
], SdCarousel);
|
|
612
612
|
|
|
613
613
|
export {
|
|
@@ -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-7-0-0-next-
|
|
80
|
+
return html`<sd-7-0-0-next-11-tag class="relative z-10 min-w-0 max-w-full" ?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-7-0-0-next-
|
|
84
|
+
" size="${this.size === "sm" ? "sm" : "lg"}" removable @keydown="${(event) => this.handleTagKeyDown(event, option)}" @sd-remove="${(event) => this.handleTagRemove(event, option)}">${option.getTextLabel()}</sd-7-0-0-next-11-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-7-0-0-next-
|
|
95
|
+
const isIconButton = target.closest("sd-7-0-0-next-11-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-7-0-0-next-
|
|
231
|
-
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-7-0-0-next-
|
|
230
|
+
const previousTag = (_b = tagParent == null ? void 0 : tagParent.previousElementSibling) == null ? void 0 : _b.querySelector("sd-7-0-0-next-11-tag");
|
|
231
|
+
const nextTag = (_c = tagParent == null ? void 0 : tagParent.nextElementSibling) == null ? void 0 : _c.querySelector("sd-7-0-0-next-11-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-7-0-0-next-
|
|
251
|
+
const tags = (_a = this.shadowRoot) == null ? void 0 : _a.querySelectorAll("sd-7-0-0-next-11-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-7-0-0-next-
|
|
297
|
+
const option = target.closest("sd-7-0-0-next-11-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-7-0-0-next-
|
|
322
|
+
if (customElements.get("sd-7-0-0-next-11-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-7-0-0-next-
|
|
331
|
+
customElements.whenDefined("sd-7-0-0-next-11-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-7-0-0-next-
|
|
348
|
+
// Gets an array of all <sd-7-0-0-next-11-option> elements
|
|
349
349
|
getAllOptions() {
|
|
350
|
-
return [...this.querySelectorAll("sd-7-0-0-next-
|
|
350
|
+
return [...this.querySelectorAll("sd-7-0-0-next-11-option")];
|
|
351
351
|
}
|
|
352
|
-
// Gets the first <sd-7-0-0-next-
|
|
352
|
+
// Gets the first <sd-7-0-0-next-11-option> element
|
|
353
353
|
getFirstOption() {
|
|
354
|
-
return this.querySelector("sd-7-0-0-next-
|
|
354
|
+
return this.querySelector("sd-7-0-0-next-11-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.
|
|
@@ -450,11 +450,11 @@ var SdSelect = class extends SolidElement {
|
|
|
450
450
|
});
|
|
451
451
|
} else {
|
|
452
452
|
return [
|
|
453
|
-
html`<sd-7-0-0-next-
|
|
453
|
+
html`<sd-7-0-0-next-11-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
454
454
|
base:tag__base,
|
|
455
455
|
content:tag__content,
|
|
456
456
|
removable-indicator:tag__removable-indicator,
|
|
457
|
-
" 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-7-0-0-next-
|
|
457
|
+
" 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-7-0-0-next-11-tag>`
|
|
458
458
|
];
|
|
459
459
|
}
|
|
460
460
|
}
|
|
@@ -463,7 +463,7 @@ var SdSelect = class extends SolidElement {
|
|
|
463
463
|
this.formControlController.emitInvalidEvent(event);
|
|
464
464
|
this.invalidMessage.textContent = event.target.validationMessage;
|
|
465
465
|
}
|
|
466
|
-
/** Receives incoming event detail from sd-7-0-0-next-
|
|
466
|
+
/** Receives incoming event detail from sd-7-0-0-next-11-popup and updates local state for conditional styling. */
|
|
467
467
|
handleCurrentPlacement(e) {
|
|
468
468
|
const incomingPlacement = e.detail;
|
|
469
469
|
if (incomingPlacement) {
|
|
@@ -472,7 +472,7 @@ var SdSelect = class extends SolidElement {
|
|
|
472
472
|
}
|
|
473
473
|
handleUseTagsChange() {
|
|
474
474
|
const allOptions = this.getAllOptions();
|
|
475
|
-
if (customElements.get("sd-7-0-0-next-
|
|
475
|
+
if (customElements.get("sd-7-0-0-next-11-option")) {
|
|
476
476
|
allOptions.forEach((option) => {
|
|
477
477
|
option.checkbox = this.multiple;
|
|
478
478
|
});
|
|
@@ -629,7 +629,7 @@ var SdSelect = class extends SolidElement {
|
|
|
629
629
|
default: "form-control-color-border"
|
|
630
630
|
}[selectState],
|
|
631
631
|
this.open && (this.currentPlacement === "bottom" ? "rounded-bl-none rounded-br-none" : "rounded-tl-none rounded-tr-none")
|
|
632
|
-
)}"></div><sd-7-0-0-next-
|
|
632
|
+
)}"></div><sd-7-0-0-next-11-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${cx(
|
|
633
633
|
"inline-flex relative w-full",
|
|
634
634
|
this.currentPlacement === "bottom" ? "origin-top" : "origin-bottom"
|
|
635
635
|
)}" placement="${this.placement}" strategy="${this.hoist ? "fixed" : "absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
@@ -656,12 +656,12 @@ var SdSelect = class extends SolidElement {
|
|
|
656
656
|
"select__clear flex justify-center",
|
|
657
657
|
iconMarginLeft,
|
|
658
658
|
this.value.length > 0 ? "visible" : "hidden"
|
|
659
|
-
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-next-
|
|
659
|
+
)}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.handleClearMouseDown}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-next-11-icon class="${cx("text-neutral-700 z-10", iconSize)}" library="_internal" name="close-circle"></sd-7-0-0-next-11-icon></slot></button>` : ""} ${this.showInvalidStyle ? html`<sd-7-0-0-next-11-icon part="invalid-icon" class="${cx(iconMarginLeft, iconSize)}" library="_internal" name="risk"></sd-7-0-0-next-11-icon>` : ""} ${this.styleOnValid && this.showValidStyle ? html`<sd-7-0-0-next-11-icon part="valid-icon" class="${cx("flex-shrink-0 text-success", iconMarginLeft, iconSize)}" library="_internal" name="confirm-circle"></sd-7-0-0-next-11-icon>` : ""}<slot name="expand-icon" part="expand-icon" class="${cx(
|
|
660
660
|
"inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",
|
|
661
661
|
this.open ? "rotate-180" : "rotate-0",
|
|
662
662
|
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "icon-color",
|
|
663
663
|
iconSize
|
|
664
|
-
)}"><sd-7-0-0-next-
|
|
664
|
+
)}"><sd-7-0-0-next-11-icon name="chevron-bottom" part="chevron" library="_internal" color="currentColor"></sd-7-0-0-next-11-icon></slot></div><button part="combobox" class="${cx(
|
|
665
665
|
"relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",
|
|
666
666
|
cursorStyles,
|
|
667
667
|
this.open && "shadow transition-shadow duration-medium ease-in-out",
|
|
@@ -674,7 +674,7 @@ var SdSelect = class extends SolidElement {
|
|
|
674
674
|
"bg-white px-2 py-3 relative border-primary overflow-y-auto",
|
|
675
675
|
this.open && "shadow-listbox transition-shadow duration-medium ease-in-out",
|
|
676
676
|
this.currentPlacement === "bottom" ? "border-r-2 border-b-2 border-l-2 form-control__listbox-border-bottom-right-radius form-control__listbox-border-bottom-left-radius" : "border-r-2 border-t-2 border-l-2 form-control__listbox-border-top-right-radius form-control__listbox-border-top-left-radius"
|
|
677
|
-
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-0-next-
|
|
677
|
+
)}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-0-next-11-popup></div><div class="${cx("text-sm mt-1", this.visuallyDisabled || this.disabled ? "text-neutral-500" : "text-neutral-700")}" 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(this.size)}`;
|
|
678
678
|
}
|
|
679
679
|
};
|
|
680
680
|
/**
|
|
@@ -683,13 +683,13 @@ var SdSelect = class extends SolidElement {
|
|
|
683
683
|
SdSelect.styles = [
|
|
684
684
|
...SolidElement.styles,
|
|
685
685
|
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
686
|
-
:host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-0-next-
|
|
686
|
+
:host{position:relative;display:block;width:auto}[part=invalid-icon]{color:rgb(var(--sd-color-icon-fill-error,--sd-color-error))}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}[part=listbox]{max-height:var(--auto-size-available-height,auto)}.input-container,[part=combobox]{grid-column:1/1;grid-row:1/1}sd-7-0-0-next-11-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-7-0-0-next-11-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-7-0-0-next-11-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-7-0-0-next-11-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-7-0-0-next-11-tag[disabled=false]::part(base):hover{background-color:rgba(var(--sd-color-background-primary-100))}.icon-color{color:rgb(var(--sd-form-control-color-icon-fill))}`
|
|
687
687
|
];
|
|
688
688
|
__decorateClass([
|
|
689
|
-
queryAssignedElements({ selector: "sd-7-0-0-next-
|
|
689
|
+
queryAssignedElements({ selector: "sd-7-0-0-next-11-option" })
|
|
690
690
|
], SdSelect.prototype, "_optionsInDefaultSlot", 2);
|
|
691
691
|
__decorateClass([
|
|
692
|
-
query("sd-7-0-0-next-
|
|
692
|
+
query("sd-7-0-0-next-11-popup")
|
|
693
693
|
], SdSelect.prototype, "popup", 2);
|
|
694
694
|
__decorateClass([
|
|
695
695
|
query('[part="combobox"]')
|
|
@@ -817,7 +817,7 @@ __decorateClass([
|
|
|
817
817
|
watch(["size", "floatingLabel"])
|
|
818
818
|
], SdSelect.prototype, "handleSizeChange", 1);
|
|
819
819
|
SdSelect = __decorateClass([
|
|
820
|
-
customElement("sd-7-0-0-next-
|
|
820
|
+
customElement("sd-7-0-0-next-11-select")
|
|
821
821
|
], SdSelect);
|
|
822
822
|
setDefaultAnimation("select.show", {
|
|
823
823
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getIconLibrary,
|
|
6
6
|
unwatchIcon,
|
|
7
7
|
watchIcon
|
|
8
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.365UZIBA.js";
|
|
9
9
|
import {
|
|
10
10
|
watch
|
|
11
11
|
} from "./chunk.X2OQMWGY.js";
|
|
@@ -100,7 +100,7 @@ var SdIcon = class extends SolidElement {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
|
-
return html`<sd-7-0-0-next-
|
|
103
|
+
return html`<sd-7-0-0-next-11-theme-listener></sd-7-0-0-next-11-theme-listener>${unsafeSVG(this.svg)}`;
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
SdIcon.styles = [
|
|
@@ -133,7 +133,7 @@ __decorateClass([
|
|
|
133
133
|
watch(["name", "src", "library"])
|
|
134
134
|
], SdIcon.prototype, "setIcon", 1);
|
|
135
135
|
SdIcon = __decorateClass([
|
|
136
|
-
customElement("sd-7-0-0-next-
|
|
136
|
+
customElement("sd-7-0-0-next-11-icon")
|
|
137
137
|
], SdIcon);
|
|
138
138
|
|
|
139
139
|
export {
|