@solid-design-system/components 7.0.0-next.1 → 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-versioned/chunks/chunk.D62JG5TL.js → cdn/chunks/chunk.27COXYSS.js} +2 -2
- package/cdn/chunks/{chunk.IPJZ5TCY.js → chunk.2TJHRJVR.js} +2 -2
- package/cdn/chunks/{chunk.K2LK6CUI.js → chunk.2XFIFYRX.js} +2 -2
- package/cdn/chunks/{chunk.ITSE6USQ.js → chunk.3RDG7HQT.js} +2 -2
- package/cdn/chunks/chunk.4XZDW2BJ.js +1 -0
- package/cdn/chunks/{chunk.NYJUQAML.js → chunk.552X4W43.js} +1 -1
- package/cdn/chunks/{chunk.A4ICFOOO.js → chunk.55B57RXL.js} +1 -1
- package/cdn/chunks/chunk.5B33ZALC.js +26 -0
- package/cdn/chunks/{chunk.JP3WLAQM.js → chunk.77C2CBMU.js} +1 -1
- package/cdn/chunks/{chunk.XXGMKJBE.js → chunk.7EIPS2GV.js} +1 -1
- package/cdn/chunks/{chunk.CMJRYUXX.js → chunk.7O3WO7T4.js} +2 -2
- package/cdn/chunks/chunk.ARA5JW32.js +2 -0
- package/cdn/chunks/{chunk.SOY4RB6B.js → chunk.B4BAFEZE.js} +2 -2
- package/cdn/chunks/{chunk.E3RBLJOD.js → chunk.C45254AN.js} +1 -1
- package/cdn/chunks/{chunk.PSNO7W6D.js → chunk.CWRWVUT3.js} +1 -1
- package/cdn/chunks/{chunk.LQYMZEW6.js → chunk.DEC3VKXA.js} +1 -1
- package/cdn/chunks/chunk.DFCHDZDG.js +2 -0
- package/cdn/chunks/{chunk.F5X4VAKB.js → chunk.E7MFWEYN.js} +2 -2
- package/cdn/chunks/{chunk.3ZA7LK5B.js → chunk.FCBNIOWP.js} +1 -1
- package/cdn/chunks/{chunk.A6TJ7AAE.js → chunk.FPC4KJUF.js} +1 -1
- package/cdn/chunks/{chunk.55K7D54J.js → chunk.H5ODW4DI.js} +1 -1
- package/cdn/chunks/chunk.HS3Q3NPY.js +2 -0
- package/cdn/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
- package/cdn/chunks/{chunk.FFTXB7SP.js → chunk.J7SSJXR3.js} +1 -1
- package/cdn/chunks/{chunk.NLEGWO6E.js → chunk.KDTVJE37.js} +1 -1
- package/cdn/chunks/{chunk.YU7OA7CJ.js → chunk.KITZT7MU.js} +1 -1
- package/cdn/chunks/{chunk.J5RIXHGG.js → chunk.KP7W5F3Y.js} +1 -1
- package/cdn/chunks/{chunk.NVY4DAHM.js → chunk.KZLMAANO.js} +1 -1
- package/cdn/chunks/{chunk.3WMR63OG.js → chunk.LM5SJXYL.js} +1 -1
- package/cdn/chunks/{chunk.VMPFVDKG.js → chunk.LPOPOGGB.js} +1 -1
- package/{cdn-versioned/chunks/chunk.MB7SWCJ2.js → cdn/chunks/chunk.LWLOMMIE.js} +13 -22
- package/cdn/chunks/{chunk.Y4MOVPF5.js → chunk.LYJX2BW7.js} +1 -1
- package/cdn/chunks/{chunk.VAM5SM3O.js → chunk.MEDJPDBB.js} +1 -1
- package/cdn/chunks/{chunk.Z6RYHXBZ.js → chunk.N2PGOHWH.js} +2 -2
- package/cdn/chunks/{chunk.U4A5O7JM.js → chunk.NFJMIR7G.js} +1 -1
- package/cdn/chunks/{chunk.2JXJ24RQ.js → chunk.NISL6W7W.js} +1 -1
- package/cdn/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
- package/cdn/chunks/{chunk.2I5OTO4L.js → chunk.NLVPT4C5.js} +2 -2
- package/cdn/chunks/chunk.NSAUFZ4I.js +4 -0
- package/cdn/chunks/chunk.OFLEA353.js +12 -0
- package/cdn/chunks/{chunk.VXSKQPYR.js → chunk.OKAUTL3G.js} +1 -1
- package/cdn/chunks/chunk.OKNJ5BPS.js +1 -0
- package/cdn/chunks/chunk.OR64TDYE.js +2 -0
- package/cdn/chunks/{chunk.5DVOGKB4.js → chunk.OYJTDY24.js} +2 -2
- package/cdn/chunks/{chunk.JM3GQDJN.js → chunk.PUC7BGPD.js} +1 -1
- package/cdn/chunks/{chunk.OXGNLH3H.js → chunk.R5GIN36W.js} +1 -1
- package/cdn/chunks/{chunk.LRSLQHV6.js → chunk.R6L2KIAT.js} +2 -2
- package/cdn/chunks/{chunk.5NGQGOI5.js → chunk.RGSF2XLM.js} +1 -1
- package/cdn/chunks/chunk.RJIOLFBG.js +2 -0
- package/cdn/chunks/{chunk.BFAAJHOY.js → chunk.RSP57JUX.js} +1 -1
- package/cdn/chunks/{chunk.MRINOSHO.js → chunk.S3UYULN7.js} +1 -1
- package/cdn/chunks/{chunk.N3L4BF3D.js → chunk.S63R2AXT.js} +2 -2
- package/cdn/chunks/{chunk.CIVE342L.js → chunk.SCP54EUM.js} +2 -2
- package/cdn/chunks/chunk.SOLVKQIM.js +1 -0
- package/cdn/chunks/{chunk.MTOCUKPI.js → chunk.SPU6E7DX.js} +2 -2
- package/cdn/chunks/{chunk.QIEAZQKM.js → chunk.SVZV3YHZ.js} +1 -1
- package/cdn/chunks/chunk.TS6S25HT.js +2 -0
- package/cdn/chunks/chunk.U2TVO27N.js +2 -0
- package/cdn/chunks/{chunk.JKD6A4RA.js → chunk.UFWE6XC3.js} +1 -1
- package/cdn/chunks/chunk.V3TQLJF2.js +2 -0
- package/cdn/chunks/{chunk.U53W4WGD.js → chunk.VA64L52R.js} +2 -2
- package/cdn/chunks/{chunk.QVGKTTLT.js → chunk.VSIBCI2V.js} +1 -1
- package/cdn/chunks/{chunk.SVUNO3VN.js → chunk.WHDOGCAD.js} +1 -1
- package/cdn/chunks/chunk.WWHH2NDP.js +2 -0
- package/cdn/chunks/chunk.WZS3PEEQ.js +2 -0
- package/cdn/chunks/{chunk.BKHX2CF6.js → chunk.XHWQ4DCO.js} +1 -1
- package/cdn/chunks/{chunk.ESL4JKQV.js → chunk.XVR65EXR.js} +2 -2
- package/cdn/chunks/{chunk.DESBURSJ.js → chunk.YAT66EQJ.js} +2 -2
- package/cdn/chunks/chunk.Z7AMUW7S.js +2 -0
- package/cdn/chunks/chunk.ZCWTP5MX.js +6 -0
- 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/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.d.ts +5 -0
- 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/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +6 -8
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.d.ts +2 -10
- 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/file-selector/file-selector.d.ts +72 -0
- package/cdn/components/file-selector/file-selector.js +1 -0
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.d.ts +1 -0
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +30 -31
- 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/include/include.js +1 -1
- package/cdn/components/input/input.d.ts +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/menu-item/menu-item.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/progress-bar/progress-bar.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/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/skeleton/skeleton.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.d.ts +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/theme-listener/theme-listener.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +757 -266
- package/cdn/solid-components.bundle.js +108 -117
- package/cdn/solid-components.css +7 -4
- package/cdn/solid-components.d.ts +1 -1
- package/cdn/solid-components.iife.js +108 -117
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.d.ts +7 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +128 -53
- package/cdn/web-types.json +339 -90
- package/{cdn/chunks/chunk.D62JG5TL.js → cdn-versioned/chunks/chunk.27COXYSS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.IPJZ5TCY.js → chunk.2TJHRJVR.js} +2 -2
- package/cdn-versioned/chunks/chunk.2XFIFYRX.js +4 -0
- package/cdn-versioned/chunks/chunk.3RDG7HQT.js +2 -0
- package/cdn-versioned/chunks/chunk.4XZDW2BJ.js +1 -0
- package/cdn-versioned/chunks/{chunk.NYJUQAML.js → chunk.552X4W43.js} +1 -1
- package/cdn-versioned/chunks/chunk.55B57RXL.js +2 -0
- package/cdn-versioned/chunks/chunk.5B33ZALC.js +26 -0
- package/cdn-versioned/chunks/{chunk.JP3WLAQM.js → chunk.77C2CBMU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XXGMKJBE.js → chunk.7EIPS2GV.js} +2 -2
- package/cdn-versioned/chunks/{chunk.CMJRYUXX.js → chunk.7O3WO7T4.js} +3 -3
- package/cdn-versioned/chunks/chunk.ARA5JW32.js +2 -0
- package/cdn-versioned/chunks/{chunk.SOY4RB6B.js → chunk.B4BAFEZE.js} +3 -3
- package/cdn-versioned/chunks/chunk.C45254AN.js +2 -0
- package/cdn-versioned/chunks/chunk.CWRWVUT3.js +2 -0
- package/cdn-versioned/chunks/chunk.DEC3VKXA.js +2 -0
- package/cdn-versioned/chunks/chunk.DFCHDZDG.js +2 -0
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.E7MFWEYN.js +5 -0
- package/cdn-versioned/chunks/chunk.FCBNIOWP.js +2 -0
- package/cdn-versioned/chunks/{chunk.A6TJ7AAE.js → chunk.FPC4KJUF.js} +2 -2
- package/cdn-versioned/chunks/chunk.H5ODW4DI.js +2 -0
- package/cdn-versioned/chunks/chunk.HS3Q3NPY.js +2 -0
- package/cdn-versioned/chunks/{chunk.U7TS5SGA.js → chunk.J4FJ2SAP.js} +1 -1
- package/cdn-versioned/chunks/{chunk.FFTXB7SP.js → chunk.J7SSJXR3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.NLEGWO6E.js → chunk.KDTVJE37.js} +2 -2
- package/cdn-versioned/chunks/{chunk.YU7OA7CJ.js → chunk.KITZT7MU.js} +2 -2
- package/cdn-versioned/chunks/chunk.KP7W5F3Y.js +2 -0
- package/cdn-versioned/chunks/{chunk.NVY4DAHM.js → chunk.KZLMAANO.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3WMR63OG.js → chunk.LM5SJXYL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VMPFVDKG.js → chunk.LPOPOGGB.js} +2 -2
- package/{cdn/chunks/chunk.MB7SWCJ2.js → cdn-versioned/chunks/chunk.LWLOMMIE.js} +13 -22
- package/cdn-versioned/chunks/{chunk.Y4MOVPF5.js → chunk.LYJX2BW7.js} +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/{chunk.VAM5SM3O.js → chunk.MEDJPDBB.js} +1 -1
- package/cdn-versioned/chunks/chunk.N2PGOHWH.js +2 -0
- package/cdn-versioned/chunks/{chunk.U4A5O7JM.js → chunk.NFJMIR7G.js} +2 -2
- package/cdn-versioned/chunks/chunk.NISL6W7W.js +2 -0
- package/cdn-versioned/chunks/{chunk.PYHYYOBE.js → chunk.NJIXLFKZ.js} +2 -2
- package/cdn-versioned/chunks/chunk.NLVPT4C5.js +2 -0
- package/cdn-versioned/chunks/chunk.NSAUFZ4I.js +4 -0
- package/cdn-versioned/chunks/chunk.OFLEA353.js +12 -0
- package/cdn-versioned/chunks/chunk.OKAUTL3G.js +2 -0
- package/cdn-versioned/chunks/chunk.OKNJ5BPS.js +1 -0
- package/cdn-versioned/chunks/chunk.OR64TDYE.js +2 -0
- package/cdn-versioned/chunks/chunk.OYJTDY24.js +2 -0
- package/cdn-versioned/chunks/{chunk.JM3GQDJN.js → chunk.PUC7BGPD.js} +2 -2
- package/cdn-versioned/chunks/chunk.R5GIN36W.js +2 -0
- package/cdn-versioned/chunks/chunk.R6L2KIAT.js +12 -0
- package/cdn-versioned/chunks/{chunk.5NGQGOI5.js → chunk.RGSF2XLM.js} +2 -2
- package/cdn-versioned/chunks/chunk.RJIOLFBG.js +2 -0
- package/cdn-versioned/chunks/{chunk.BFAAJHOY.js → chunk.RSP57JUX.js} +2 -2
- package/cdn-versioned/chunks/chunk.S3UYULN7.js +2 -0
- package/cdn-versioned/chunks/{chunk.N3L4BF3D.js → chunk.S63R2AXT.js} +3 -3
- package/cdn-versioned/chunks/chunk.SCP54EUM.js +12 -0
- package/cdn-versioned/chunks/chunk.SOLVKQIM.js +1 -0
- package/cdn-versioned/chunks/chunk.SPU6E7DX.js +12 -0
- package/cdn-versioned/chunks/{chunk.QIEAZQKM.js → chunk.SVZV3YHZ.js} +2 -2
- package/cdn-versioned/chunks/chunk.TS6S25HT.js +2 -0
- package/cdn-versioned/chunks/chunk.U2TVO27N.js +2 -0
- package/cdn-versioned/chunks/chunk.UFWE6XC3.js +2 -0
- package/cdn-versioned/chunks/chunk.V3TQLJF2.js +2 -0
- package/cdn-versioned/chunks/chunk.VA64L52R.js +2 -0
- package/cdn-versioned/chunks/chunk.VSIBCI2V.js +2 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.SVUNO3VN.js → chunk.WHDOGCAD.js} +2 -2
- package/cdn-versioned/chunks/chunk.WWHH2NDP.js +2 -0
- package/cdn-versioned/chunks/chunk.WZS3PEEQ.js +2 -0
- package/cdn-versioned/chunks/chunk.XHWQ4DCO.js +2 -0
- package/cdn-versioned/chunks/chunk.XVR65EXR.js +2 -0
- package/cdn-versioned/chunks/{chunk.DESBURSJ.js → chunk.YAT66EQJ.js} +3 -3
- package/cdn-versioned/chunks/chunk.Z7AMUW7S.js +2 -0
- package/cdn-versioned/chunks/chunk.ZCWTP5MX.js +6 -0
- 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/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/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +6 -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/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +7 -9
- 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 +3 -11
- 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/file-selector/file-selector.d.ts +72 -0
- package/cdn-versioned/components/file-selector/file-selector.js +1 -0
- 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 +2 -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/icon/library.internal.d.ts +30 -31
- 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/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +2 -2
- 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/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.js +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.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 +1 -1
- 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/progress-bar/progress-bar.d.ts +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.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 +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +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/range-tick/range-tick.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/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.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 +2 -2
- 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/theme-listener/theme-listener.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 +1009 -518
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +110 -119
- package/cdn-versioned/solid-components.css +9 -6
- package/cdn-versioned/solid-components.d.ts +1 -1
- package/cdn-versioned/solid-components.iife.js +110 -119
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.d.ts +7 -0
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +240 -165
- package/cdn-versioned/web-types.json +506 -257
- package/dist/chunks/{chunk.L2IFANFY.js → chunk.266V4W27.js} +2 -2
- package/dist/chunks/{chunk.5K6Y7HJU.js → chunk.2ZO5TQLM.js} +3 -3
- package/dist/chunks/{chunk.LB3F2QDN.js → chunk.33KST4RJ.js} +2 -2
- package/dist/chunks/{chunk.33BZJRJB.js → chunk.346KUZ2N.js} +3 -3
- package/{dist-versioned/chunks/chunk.54DGZ62W.js → dist/chunks/chunk.365UZIBA.js} +3 -3
- package/dist/chunks/{chunk.6SPABX2F.js → chunk.37JWARFZ.js} +74 -33
- package/dist/chunks/{chunk.QFAJOIOI.js → chunk.3XIEL44S.js} +4 -4
- package/dist/chunks/{chunk.VMQ6E5XQ.js → chunk.3Y3V2LY4.js} +3 -3
- package/dist/chunks/{chunk.OMWYWBPW.js → chunk.4USTQEWG.js} +4 -4
- package/dist/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
- package/dist/chunks/{chunk.JCAECFX2.js → chunk.4ZNMCQ55.js} +4 -4
- package/dist/chunks/{chunk.B3GXJSVQ.js → chunk.5R5MY3VD.js} +3 -3
- package/dist/chunks/{chunk.J4MQWCIP.js → chunk.5VCVDFRJ.js} +2 -2
- package/dist/chunks/{chunk.YZ5DZPPN.js → chunk.6A4DHVDL.js} +7 -3
- package/{dist-versioned/chunks/chunk.MU6BOIQP.js → dist/chunks/chunk.6DUOHFNN.js} +65 -69
- package/dist/chunks/{chunk.2B76SHER.js → chunk.6MSQDSJK.js} +2 -2
- package/dist/chunks/chunk.6OYBQ6CO.js +373 -0
- package/dist/chunks/{chunk.LVPWOXKT.js → chunk.77CINHAJ.js} +2 -2
- package/{dist-versioned/chunks/chunk.X4IYFUX6.js → dist/chunks/chunk.7D23CZ3Y.js} +9 -0
- package/dist/chunks/{chunk.UCQEVTLR.js → chunk.AJVSDITF.js} +2 -2
- package/dist/chunks/{chunk.QELO6X62.js → chunk.ANUBVNLR.js} +8 -8
- package/dist/chunks/{chunk.WEGQKE7P.js → chunk.B72XZRDP.js} +4 -4
- package/dist/chunks/{chunk.UQAZ7Y4O.js → chunk.BZO3OLK2.js} +2 -2
- package/dist/chunks/{chunk.YHQDUFIA.js → chunk.C4RJM5BO.js} +2 -2
- package/dist/chunks/{chunk.AI65BHXH.js → chunk.D5JLEZPO.js} +2 -2
- package/dist/chunks/chunk.DJJN4MJ4.js +93 -0
- package/dist/chunks/{chunk.XQA7WCIY.js → chunk.DKN5SHQ2.js} +2 -2
- package/dist/chunks/{chunk.5EDUJ62Z.js → chunk.EVGV2PWW.js} +2 -2
- package/dist/chunks/{chunk.I5B5QE4Q.js → chunk.F3C76UKB.js} +2 -2
- package/dist/chunks/{chunk.AN3L6KYA.js → chunk.G7M7XYS3.js} +2 -2
- package/dist/chunks/{chunk.GVV65UCW.js → chunk.GBB73ZFE.js} +12 -4
- package/dist/chunks/{chunk.INUHEU2V.js → chunk.GRRHK6BP.js} +2 -2
- package/dist/chunks/{chunk.LTNNVXKN.js → chunk.HIR2MKW6.js} +2 -2
- package/dist/chunks/{chunk.ENTIPHXZ.js → chunk.HSFOQQ52.js} +16 -6
- package/dist/chunks/{chunk.LDRHLY66.js → chunk.I57THEU4.js} +2 -2
- package/dist/chunks/{chunk.SRSERHD5.js → chunk.I5C34XR6.js} +5 -5
- package/dist/chunks/{chunk.K6EQX5H6.js → chunk.IXJGPE6X.js} +2 -2
- package/dist/chunks/{chunk.TXVRZXUB.js → chunk.JAPL7DQX.js} +3 -3
- package/dist/chunks/{chunk.BT6SAX2H.js → chunk.KE6F4NXN.js} +9 -0
- package/dist/chunks/{chunk.4BAU2OM4.js → chunk.LJ5ONJGL.js} +62 -24
- package/{dist-versioned/chunks/chunk.WDWV53JP.js → dist/chunks/chunk.LTZVVIB2.js} +0 -22
- package/dist/chunks/{chunk.7MA7NTM5.js → chunk.LW2NFCFY.js} +3 -3
- package/dist/chunks/{chunk.DZT4P3QO.js → chunk.MVUZGVJ6.js} +6 -6
- package/dist/chunks/{chunk.GESPTAQO.js → chunk.NRI3NAMP.js} +5 -5
- package/dist/chunks/{chunk.GWNXDEYS.js → chunk.O6VYYKTA.js} +6 -6
- package/dist/chunks/{chunk.YFTT3BJS.js → chunk.PCB2BA7U.js} +64 -7
- package/dist/chunks/{chunk.AVB7EUPN.js → chunk.PMM3MDLE.js} +2 -2
- package/dist/chunks/{chunk.MKQMOE4O.js → chunk.QD2ZQPDB.js} +2 -2
- package/dist/chunks/{chunk.EAJ3CM6N.js → chunk.QGERTGJH.js} +1 -1
- package/dist/chunks/{chunk.UAYS6YUK.js → chunk.QOIO3YAP.js} +2 -2
- package/dist/chunks/{chunk.NVTCRCR2.js → chunk.RGVIOXPM.js} +3 -3
- package/dist/chunks/{chunk.OGTWG7PX.js → chunk.SDEYEU3M.js} +6 -6
- package/dist/chunks/{chunk.MGLNCJH4.js → chunk.SVAL7V6Q.js} +25 -101
- package/{dist-versioned/chunks/chunk.Q4LFZ4MN.js → dist/chunks/chunk.UGGH4H2X.js} +4 -4
- package/dist/chunks/{chunk.2QG5VVWH.js → chunk.UMF56HAL.js} +3 -3
- package/dist/chunks/{chunk.SBBWYGUE.js → chunk.UOMFY7RY.js} +2 -2
- package/dist/chunks/{chunk.W2FPAWSD.js → chunk.UTW3WRV2.js} +2 -2
- package/dist/chunks/{chunk.KTAV32B3.js → chunk.VHQQB75I.js} +3 -3
- package/dist/chunks/{chunk.LFOMFT6A.js → chunk.WVSKCZ63.js} +3 -3
- package/dist/chunks/{chunk.PH4JLH76.js → chunk.WXT5HYGA.js} +2 -2
- package/dist/chunks/{chunk.DLDMILPJ.js → chunk.WZOVHSGU.js} +2 -2
- package/dist/chunks/{chunk.KIY36UBP.js → chunk.Y4XJY6Y4.js} +2 -2
- package/dist/chunks/{chunk.RAT2NJIO.js → chunk.Y6QQUPB5.js} +2 -2
- package/dist/chunks/{chunk.3T4RF2D2.js → chunk.YCLLM3OQ.js} +4 -4
- package/dist/chunks/{chunk.4MGAXDM2.js → chunk.YF5CJVKA.js} +3 -3
- package/dist/chunks/{chunk.WKBNTZYS.js → chunk.YY6BDJPL.js} +3 -3
- package/dist/chunks/{chunk.YTITLVWX.js → chunk.Z462LBEB.js} +2 -2
- package/dist/chunks/{chunk.2PSP6N2B.js → chunk.ZCG43UX7.js} +4 -4
- package/dist/chunks/{chunk.EUECKG57.js → chunk.ZCNNMATK.js} +4 -4
- package/dist/components/accordion/accordion.js +10 -10
- package/dist/components/accordion-group/accordion-group.js +11 -11
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +14 -16
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +13 -14
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/button/button.d.ts +5 -0
- package/dist/components/button/button.js +6 -5
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +11 -11
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/checkbox-group/checkbox-group.js +8 -8
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/datepicker/datepicker.js +12 -12
- package/dist/components/dialog/dialog.d.ts +6 -8
- package/dist/components/dialog/dialog.js +13 -15
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.d.ts +2 -10
- package/dist/components/drawer/drawer.js +13 -15
- package/dist/components/dropdown/dropdown.js +6 -7
- package/dist/components/expandable/expandable.js +10 -10
- package/dist/components/file-selector/file-selector.d.ts +72 -0
- package/dist/components/file-selector/file-selector.js +27 -0
- package/dist/components/flipcard/flipcard.js +13 -12
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +7 -7
- package/dist/components/icon/library.internal.d.ts +30 -31
- 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/include/include.js +2 -2
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/input/input.js +10 -10
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +4 -4
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +4 -4
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +11 -11
- package/dist/components/notification/notification.js +13 -12
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/option/option.js +8 -8
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +4 -4
- package/dist/components/quickfact/quickfact.js +11 -11
- 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/range/range.js +12 -12
- package/dist/components/range-tick/range-tick.js +4 -4
- package/dist/components/scrollable/scrollable.js +10 -10
- package/dist/components/select/select.js +13 -13
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/step/step.js +8 -8
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.js +11 -11
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +10 -10
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.js +8 -8
- package/dist/components/theme-listener/theme-listener.js +2 -2
- package/dist/components/tooltip/tooltip.js +11 -11
- package/dist/components/video/video.js +10 -10
- package/dist/custom-elements.json +757 -266
- package/dist/solid-components.css +7 -4
- package/dist/solid-components.d.ts +1 -1
- package/dist/solid-components.js +84 -86
- package/dist/translations/de.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/utilities/autocomplete-config.js +3 -3
- package/dist/utilities/icon-library.js +4 -4
- package/dist/utilities/localize.d.ts +7 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +128 -53
- package/dist/web-types.json +339 -90
- package/dist-versioned/chunks/{chunk.L2IFANFY.js → chunk.266V4W27.js} +13 -13
- package/dist-versioned/chunks/{chunk.5K6Y7HJU.js → chunk.2ZO5TQLM.js} +6 -6
- package/dist-versioned/chunks/{chunk.LB3F2QDN.js → chunk.33KST4RJ.js} +3 -3
- package/dist-versioned/chunks/{chunk.33BZJRJB.js → chunk.346KUZ2N.js} +4 -4
- package/{dist/chunks/chunk.54DGZ62W.js → dist-versioned/chunks/chunk.365UZIBA.js} +3 -3
- package/dist-versioned/chunks/{chunk.6SPABX2F.js → chunk.37JWARFZ.js} +74 -33
- package/dist-versioned/chunks/{chunk.QFAJOIOI.js → chunk.3XIEL44S.js} +9 -9
- package/dist-versioned/chunks/{chunk.VMQ6E5XQ.js → chunk.3Y3V2LY4.js} +7 -7
- package/dist-versioned/chunks/{chunk.OMWYWBPW.js → chunk.4USTQEWG.js} +15 -15
- package/dist-versioned/chunks/{chunk.4TPOL3LB.js → chunk.4X2JEQJ2.js} +4 -1
- package/dist-versioned/chunks/{chunk.JCAECFX2.js → chunk.4ZNMCQ55.js} +5 -5
- package/dist-versioned/chunks/{chunk.B3GXJSVQ.js → chunk.5R5MY3VD.js} +14 -14
- package/dist-versioned/chunks/{chunk.J4MQWCIP.js → chunk.5VCVDFRJ.js} +3 -3
- package/dist-versioned/chunks/chunk.6A4DHVDL.js +84 -0
- package/{dist/chunks/chunk.MU6BOIQP.js → dist-versioned/chunks/chunk.6DUOHFNN.js} +65 -69
- package/dist-versioned/chunks/{chunk.2B76SHER.js → chunk.6MSQDSJK.js} +6 -6
- package/dist-versioned/chunks/chunk.6OYBQ6CO.js +373 -0
- package/dist-versioned/chunks/{chunk.LVPWOXKT.js → chunk.77CINHAJ.js} +3 -3
- package/{dist/chunks/chunk.X4IYFUX6.js → dist-versioned/chunks/chunk.7D23CZ3Y.js} +9 -0
- package/dist-versioned/chunks/{chunk.UCQEVTLR.js → chunk.AJVSDITF.js} +5 -5
- package/dist-versioned/chunks/{chunk.QELO6X62.js → chunk.ANUBVNLR.js} +19 -19
- package/dist-versioned/chunks/{chunk.WEGQKE7P.js → chunk.B72XZRDP.js} +6 -6
- package/dist-versioned/chunks/{chunk.UQAZ7Y4O.js → chunk.BZO3OLK2.js} +7 -7
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/{chunk.YHQDUFIA.js → chunk.C4RJM5BO.js} +3 -3
- package/dist-versioned/chunks/{chunk.AI65BHXH.js → chunk.D5JLEZPO.js} +3 -3
- package/dist-versioned/chunks/chunk.DJJN4MJ4.js +93 -0
- package/dist-versioned/chunks/{chunk.XQA7WCIY.js → chunk.DKN5SHQ2.js} +7 -7
- package/dist-versioned/chunks/{chunk.5EDUJ62Z.js → chunk.EVGV2PWW.js} +4 -4
- package/dist-versioned/chunks/{chunk.I5B5QE4Q.js → chunk.F3C76UKB.js} +4 -4
- package/dist-versioned/chunks/{chunk.AN3L6KYA.js → chunk.G7M7XYS3.js} +8 -8
- package/dist-versioned/chunks/{chunk.GVV65UCW.js → chunk.GBB73ZFE.js} +14 -6
- package/dist-versioned/chunks/{chunk.INUHEU2V.js → chunk.GRRHK6BP.js} +4 -4
- package/dist-versioned/chunks/{chunk.LTNNVXKN.js → chunk.HIR2MKW6.js} +4 -4
- package/dist-versioned/chunks/{chunk.ENTIPHXZ.js → chunk.HSFOQQ52.js} +19 -9
- package/dist-versioned/chunks/{chunk.LDRHLY66.js → chunk.I57THEU4.js} +9 -9
- package/dist-versioned/chunks/{chunk.SRSERHD5.js → chunk.I5C34XR6.js} +26 -26
- package/dist-versioned/chunks/{chunk.K6EQX5H6.js → chunk.IXJGPE6X.js} +13 -13
- package/dist-versioned/chunks/{chunk.TXVRZXUB.js → chunk.JAPL7DQX.js} +8 -8
- package/dist-versioned/chunks/{chunk.BT6SAX2H.js → chunk.KE6F4NXN.js} +9 -0
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/chunk.LJ5ONJGL.js +370 -0
- package/{dist/chunks/chunk.WDWV53JP.js → dist-versioned/chunks/chunk.LTZVVIB2.js} +0 -22
- package/dist-versioned/chunks/{chunk.7MA7NTM5.js → chunk.LW2NFCFY.js} +8 -8
- package/dist-versioned/chunks/{chunk.DZT4P3QO.js → chunk.MVUZGVJ6.js} +13 -13
- package/dist-versioned/chunks/{chunk.GESPTAQO.js → chunk.NRI3NAMP.js} +28 -28
- package/dist-versioned/chunks/{chunk.GWNXDEYS.js → chunk.O6VYYKTA.js} +8 -8
- package/dist-versioned/chunks/{chunk.YFTT3BJS.js → chunk.PCB2BA7U.js} +77 -20
- package/dist-versioned/chunks/{chunk.AVB7EUPN.js → chunk.PMM3MDLE.js} +5 -5
- package/dist-versioned/chunks/{chunk.MKQMOE4O.js → chunk.QD2ZQPDB.js} +4 -4
- package/dist-versioned/chunks/chunk.QGERTGJH.js +70 -0
- package/dist-versioned/chunks/{chunk.UAYS6YUK.js → chunk.QOIO3YAP.js} +9 -9
- package/dist-versioned/chunks/{chunk.NVTCRCR2.js → chunk.RGVIOXPM.js} +5 -5
- package/dist-versioned/chunks/{chunk.OGTWG7PX.js → chunk.SDEYEU3M.js} +10 -10
- package/dist-versioned/chunks/{chunk.MGLNCJH4.js → chunk.SVAL7V6Q.js} +26 -102
- 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.2QG5VVWH.js → chunk.UMF56HAL.js} +8 -8
- package/dist-versioned/chunks/{chunk.SBBWYGUE.js → chunk.UOMFY7RY.js} +3 -3
- package/dist-versioned/chunks/{chunk.W2FPAWSD.js → chunk.UTW3WRV2.js} +7 -7
- package/dist-versioned/chunks/{chunk.KTAV32B3.js → chunk.VHQQB75I.js} +5 -5
- package/dist-versioned/chunks/{chunk.LFOMFT6A.js → chunk.WVSKCZ63.js} +6 -6
- package/dist-versioned/chunks/{chunk.PH4JLH76.js → chunk.WXT5HYGA.js} +14 -14
- package/dist-versioned/chunks/{chunk.DLDMILPJ.js → chunk.WZOVHSGU.js} +8 -8
- package/dist-versioned/chunks/{chunk.KIY36UBP.js → chunk.Y4XJY6Y4.js} +7 -7
- package/dist-versioned/chunks/{chunk.RAT2NJIO.js → chunk.Y6QQUPB5.js} +6 -6
- package/dist-versioned/chunks/{chunk.3T4RF2D2.js → chunk.YCLLM3OQ.js} +12 -12
- package/dist-versioned/chunks/{chunk.4MGAXDM2.js → chunk.YF5CJVKA.js} +12 -12
- package/dist-versioned/chunks/{chunk.WKBNTZYS.js → chunk.YY6BDJPL.js} +7 -7
- package/dist-versioned/chunks/{chunk.YTITLVWX.js → chunk.Z462LBEB.js} +9 -9
- package/dist-versioned/chunks/{chunk.2PSP6N2B.js → chunk.ZCG43UX7.js} +14 -14
- package/dist-versioned/chunks/{chunk.EUECKG57.js → chunk.ZCNNMATK.js} +7 -7
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +10 -10
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +11 -11
- 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 +14 -16
- 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/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +13 -14
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist-versioned/components/button/button.d.ts +6 -1
- package/dist-versioned/components/button/button.js +6 -5
- 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 +11 -11
- 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 +8 -8
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +8 -8
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +13 -13
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +12 -12
- package/dist-versioned/components/dialog/dialog.d.ts +7 -9
- package/dist-versioned/components/dialog/dialog.js +13 -15
- 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 +3 -11
- package/dist-versioned/components/drawer/drawer.js +13 -15
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +6 -7
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +10 -10
- package/dist-versioned/components/file-selector/file-selector.d.ts +72 -0
- package/dist-versioned/components/file-selector/file-selector.js +27 -0
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +13 -12
- package/dist-versioned/components/header/header.d.ts +2 -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 +7 -7
- package/dist-versioned/components/icon/library.internal.d.ts +30 -31
- 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/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +2 -2
- package/dist-versioned/components/input/input.js +10 -10
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +4 -4
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +4 -4
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +11 -11
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +13 -12
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +5 -5
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +8 -8
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.js +4 -4
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +11 -11
- 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 +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +12 -12
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +4 -4
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +10 -10
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +13 -13
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +8 -8
- 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 +4 -4
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +11 -11
- 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 +10 -10
- 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 +2 -2
- package/dist-versioned/components/textarea/textarea.js +8 -8
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +11 -11
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +10 -10
- package/dist-versioned/custom-elements.json +1009 -518
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +9 -6
- package/dist-versioned/solid-components.d.ts +1 -1
- package/dist-versioned/solid-components.js +84 -86
- package/dist-versioned/translations/de.js +1 -1
- package/dist-versioned/translations/en.js +1 -1
- package/dist-versioned/utilities/autocomplete-config.js +3 -3
- package/dist-versioned/utilities/icon-library.js +4 -4
- package/dist-versioned/utilities/localize.d.ts +7 -0
- package/dist-versioned/utilities/localize.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +240 -165
- package/dist-versioned/web-types.json +506 -257
- package/package.json +24 -24
- package/cdn/chunks/chunk.2DXMRKN3.js +0 -2
- package/cdn/chunks/chunk.3KUBBEDF.js +0 -4
- package/cdn/chunks/chunk.3L472FD4.js +0 -1
- package/cdn/chunks/chunk.5NK5RKKZ.js +0 -12
- package/cdn/chunks/chunk.7SLF374G.js +0 -2
- package/cdn/chunks/chunk.A7AH5DNR.js +0 -2
- package/cdn/chunks/chunk.APZUONW2.js +0 -2
- package/cdn/chunks/chunk.E4KXIVE5.js +0 -2
- package/cdn/chunks/chunk.FFIQGZKB.js +0 -2
- package/cdn/chunks/chunk.GAOAOKL4.js +0 -2
- package/cdn/chunks/chunk.GLM2MXY3.js +0 -2
- package/cdn/chunks/chunk.LIJDAVU5.js +0 -2
- package/cdn/chunks/chunk.NADOKI3X.js +0 -1
- package/cdn/chunks/chunk.ND7KR2OB.js +0 -26
- package/cdn/chunks/chunk.O7KFGYFO.js +0 -1
- package/cdn/chunks/chunk.P3PSCTOG.js +0 -2
- package/cdn/chunks/chunk.PB7NJRWC.js +0 -1
- package/cdn/chunks/chunk.RQ5YPSVB.js +0 -6
- package/cdn/chunks/chunk.TXP36Z3M.js +0 -1
- package/cdn/chunks/chunk.XIS5S2BQ.js +0 -2
- package/cdn/components/spinner/spinner.d.ts +0 -13
- package/cdn/components/spinner/spinner.js +0 -1
- package/cdn/internal/modal.d.ts +0 -12
- package/cdn/internal/modal.js +0 -49
- package/cdn-versioned/chunks/chunk.2DXMRKN3.js +0 -2
- package/cdn-versioned/chunks/chunk.2I5OTO4L.js +0 -2
- package/cdn-versioned/chunks/chunk.2JXJ24RQ.js +0 -2
- package/cdn-versioned/chunks/chunk.3KUBBEDF.js +0 -4
- package/cdn-versioned/chunks/chunk.3L472FD4.js +0 -1
- package/cdn-versioned/chunks/chunk.3ZA7LK5B.js +0 -2
- package/cdn-versioned/chunks/chunk.55K7D54J.js +0 -2
- package/cdn-versioned/chunks/chunk.5DVOGKB4.js +0 -2
- package/cdn-versioned/chunks/chunk.5NK5RKKZ.js +0 -12
- package/cdn-versioned/chunks/chunk.7SLF374G.js +0 -2
- package/cdn-versioned/chunks/chunk.A4ICFOOO.js +0 -2
- package/cdn-versioned/chunks/chunk.A7AH5DNR.js +0 -2
- package/cdn-versioned/chunks/chunk.APZUONW2.js +0 -2
- package/cdn-versioned/chunks/chunk.BKHX2CF6.js +0 -2
- package/cdn-versioned/chunks/chunk.CIVE342L.js +0 -12
- package/cdn-versioned/chunks/chunk.E3RBLJOD.js +0 -2
- package/cdn-versioned/chunks/chunk.E4KXIVE5.js +0 -2
- package/cdn-versioned/chunks/chunk.ESL4JKQV.js +0 -2
- package/cdn-versioned/chunks/chunk.F5X4VAKB.js +0 -5
- package/cdn-versioned/chunks/chunk.FFIQGZKB.js +0 -2
- package/cdn-versioned/chunks/chunk.GAOAOKL4.js +0 -2
- package/cdn-versioned/chunks/chunk.GLM2MXY3.js +0 -2
- package/cdn-versioned/chunks/chunk.ITSE6USQ.js +0 -2
- package/cdn-versioned/chunks/chunk.J5RIXHGG.js +0 -2
- package/cdn-versioned/chunks/chunk.JKD6A4RA.js +0 -2
- package/cdn-versioned/chunks/chunk.K2LK6CUI.js +0 -4
- package/cdn-versioned/chunks/chunk.LIJDAVU5.js +0 -2
- package/cdn-versioned/chunks/chunk.LQYMZEW6.js +0 -2
- package/cdn-versioned/chunks/chunk.LRSLQHV6.js +0 -12
- package/cdn-versioned/chunks/chunk.MRINOSHO.js +0 -2
- package/cdn-versioned/chunks/chunk.MTOCUKPI.js +0 -12
- package/cdn-versioned/chunks/chunk.NADOKI3X.js +0 -1
- package/cdn-versioned/chunks/chunk.ND7KR2OB.js +0 -26
- package/cdn-versioned/chunks/chunk.O7KFGYFO.js +0 -1
- package/cdn-versioned/chunks/chunk.OXGNLH3H.js +0 -2
- package/cdn-versioned/chunks/chunk.P3PSCTOG.js +0 -2
- package/cdn-versioned/chunks/chunk.PB7NJRWC.js +0 -1
- package/cdn-versioned/chunks/chunk.PSNO7W6D.js +0 -2
- package/cdn-versioned/chunks/chunk.QVGKTTLT.js +0 -2
- package/cdn-versioned/chunks/chunk.RQ5YPSVB.js +0 -6
- package/cdn-versioned/chunks/chunk.TXP36Z3M.js +0 -1
- package/cdn-versioned/chunks/chunk.U53W4WGD.js +0 -2
- package/cdn-versioned/chunks/chunk.VXSKQPYR.js +0 -2
- package/cdn-versioned/chunks/chunk.XIS5S2BQ.js +0 -2
- package/cdn-versioned/chunks/chunk.Z6RYHXBZ.js +0 -2
- package/cdn-versioned/components/spinner/spinner.d.ts +0 -13
- package/cdn-versioned/components/spinner/spinner.js +0 -1
- package/cdn-versioned/internal/modal.d.ts +0 -12
- package/cdn-versioned/internal/modal.js +0 -49
- package/dist/chunks/chunk.EDMG7C5H.js +0 -57
- package/dist/chunks/chunk.HNDYMCBH.js +0 -50
- package/dist/chunks/chunk.LB37DTSJ.js +0 -93
- package/dist/chunks/chunk.UMIKFOMI.js +0 -65
- package/dist/components/spinner/spinner.d.ts +0 -13
- package/dist/components/spinner/spinner.js +0 -12
- package/dist/internal/modal.d.ts +0 -12
- package/dist/internal/modal.js +0 -49
- package/dist-versioned/chunks/chunk.4BAU2OM4.js +0 -332
- package/dist-versioned/chunks/chunk.EAJ3CM6N.js +0 -70
- package/dist-versioned/chunks/chunk.EDMG7C5H.js +0 -57
- package/dist-versioned/chunks/chunk.HNDYMCBH.js +0 -50
- package/dist-versioned/chunks/chunk.LB37DTSJ.js +0 -93
- package/dist-versioned/chunks/chunk.UMIKFOMI.js +0 -65
- package/dist-versioned/chunks/chunk.YZ5DZPPN.js +0 -80
- package/dist-versioned/components/spinner/spinner.d.ts +0 -13
- package/dist-versioned/components/spinner/spinner.js +0 -12
- package/dist-versioned/internal/modal.d.ts +0 -12
- package/dist-versioned/internal/modal.js +0 -49
- /package/cdn/chunks/{chunk.UFTAQNZB.js → chunk.4ZZFYCXX.js} +0 -0
- /package/cdn-versioned/chunks/{chunk.UFTAQNZB.js → chunk.4ZZFYCXX.js} +0 -0
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Modal
|
|
3
|
-
} from "./chunk.EDMG7C5H.js";
|
|
4
|
-
import {
|
|
5
|
-
getDeepActiveElement
|
|
6
|
-
} from "./chunk.UMIKFOMI.js";
|
|
7
|
-
import {
|
|
8
|
-
lockBodyScrolling,
|
|
9
|
-
unlockBodyScrolling
|
|
10
|
-
} from "./chunk.WDWV53JP.js";
|
|
11
1
|
import {
|
|
12
2
|
HasSlotController
|
|
13
3
|
} from "./chunk.IVMQWO2L.js";
|
|
@@ -27,7 +17,7 @@ import {
|
|
|
27
17
|
import {
|
|
28
18
|
SolidElement,
|
|
29
19
|
customElement
|
|
30
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.DJJN4MJ4.js";
|
|
31
21
|
import {
|
|
32
22
|
animateTo,
|
|
33
23
|
stopAnimations
|
|
@@ -46,26 +36,30 @@ var SdDialog = class extends SolidElement {
|
|
|
46
36
|
super(...arguments);
|
|
47
37
|
this.hasSlotController = new HasSlotController(this, "footer");
|
|
48
38
|
this.localize = new LocalizeController(this);
|
|
39
|
+
this.hasUiMotion = false;
|
|
49
40
|
this.open = false;
|
|
50
41
|
this.headline = "";
|
|
51
42
|
this.noCloseButton = false;
|
|
52
43
|
}
|
|
53
44
|
connectedCallback() {
|
|
54
45
|
super.connectedCallback();
|
|
55
|
-
this.
|
|
56
|
-
this.modal = new Modal(this);
|
|
46
|
+
this.updateMotionTheme();
|
|
57
47
|
}
|
|
58
48
|
firstUpdated() {
|
|
59
|
-
this.dialog.
|
|
49
|
+
this.dialog.addEventListener("cancel", (event) => {
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
this.requestClose("keyboard");
|
|
52
|
+
});
|
|
60
53
|
if (this.open) {
|
|
61
|
-
this.
|
|
62
|
-
this.modal.activate();
|
|
63
|
-
lockBodyScrolling(this);
|
|
54
|
+
this.dialog.showModal();
|
|
64
55
|
}
|
|
65
56
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
onThemeChange() {
|
|
58
|
+
this.updateMotionTheme();
|
|
59
|
+
}
|
|
60
|
+
updateMotionTheme() {
|
|
61
|
+
const theme = getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g, "");
|
|
62
|
+
this.hasUiMotion = theme === "" || theme === "ui-light" || theme === "ui-dark";
|
|
69
63
|
}
|
|
70
64
|
get prefersReducedMotion() {
|
|
71
65
|
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
@@ -76,37 +70,23 @@ var SdDialog = class extends SolidElement {
|
|
|
76
70
|
detail: { source }
|
|
77
71
|
});
|
|
78
72
|
if (sdRequestClose.defaultPrevented) {
|
|
79
|
-
const animation = getAnimation(this, "dialog.denyClose"
|
|
73
|
+
const animation = getAnimation(this, this.hasUiMotion ? "dialog.denyClose" : "dialog.denyCloseSimple", {
|
|
74
|
+
dir: this.localize.dir()
|
|
75
|
+
});
|
|
80
76
|
animateTo(this.panel, animation.keyframes, animation.options);
|
|
81
77
|
return;
|
|
82
78
|
}
|
|
83
79
|
this.hide();
|
|
84
80
|
}
|
|
85
|
-
addOpenListeners() {
|
|
86
|
-
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
87
|
-
}
|
|
88
|
-
removeOpenListeners() {
|
|
89
|
-
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
90
|
-
}
|
|
91
|
-
handleDocumentKeyDown(event) {
|
|
92
|
-
if (this.open && event.key === "Escape") {
|
|
93
|
-
event.stopPropagation();
|
|
94
|
-
this.requestClose("keyboard");
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
81
|
async handleOpenChange() {
|
|
98
82
|
if (this.open) {
|
|
99
83
|
this.emit("sd-show");
|
|
100
|
-
this.addOpenListeners();
|
|
101
|
-
this.originalTrigger = getDeepActiveElement();
|
|
102
|
-
this.modal.activate();
|
|
103
|
-
lockBodyScrolling(this);
|
|
104
84
|
const autoFocusTarget = this.querySelector("[autofocus]");
|
|
105
85
|
if (autoFocusTarget) {
|
|
106
86
|
autoFocusTarget.removeAttribute("autofocus");
|
|
107
87
|
}
|
|
108
|
-
await
|
|
109
|
-
this.dialog.
|
|
88
|
+
await stopAnimations(this.dialog);
|
|
89
|
+
this.dialog.showModal();
|
|
110
90
|
requestAnimationFrame(() => {
|
|
111
91
|
const slInitialFocus = this.emit("sd-initial-focus", { cancelable: true });
|
|
112
92
|
if (!slInitialFocus.defaultPrevented) {
|
|
@@ -120,8 +100,10 @@ var SdDialog = class extends SolidElement {
|
|
|
120
100
|
autoFocusTarget.setAttribute("autofocus", "");
|
|
121
101
|
}
|
|
122
102
|
});
|
|
123
|
-
const
|
|
124
|
-
const
|
|
103
|
+
const showAnimation = this.hasUiMotion ? "dialog.show" : "dialog.showSimple";
|
|
104
|
+
const panelAnimation = this.prefersReducedMotion ? getAnimation(this, "dialog.showReducedMotion", { dir: this.localize.dir() }) : getAnimation(this, showAnimation, { dir: this.localize.dir() });
|
|
105
|
+
const overlayShowAnimation = this.hasUiMotion ? "dialog.overlay.show" : "dialog.overlay.showSimple";
|
|
106
|
+
const overlayAnimation = getAnimation(this, overlayShowAnimation, { dir: this.localize.dir() });
|
|
125
107
|
await Promise.all([
|
|
126
108
|
animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),
|
|
127
109
|
animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)
|
|
@@ -129,11 +111,11 @@ var SdDialog = class extends SolidElement {
|
|
|
129
111
|
this.emit("sd-after-show");
|
|
130
112
|
} else {
|
|
131
113
|
this.emit("sd-hide");
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
const overlayAnimation = getAnimation(this,
|
|
114
|
+
await stopAnimations(this.dialog);
|
|
115
|
+
const hideAnimation = this.hasUiMotion ? "dialog.hide" : "dialog.hideSimple";
|
|
116
|
+
const panelAnimation = this.prefersReducedMotion ? getAnimation(this, "dialog.hideReducedMotion", { dir: this.localize.dir() }) : getAnimation(this, hideAnimation, { dir: this.localize.dir() });
|
|
117
|
+
const overlayHideAnimation = this.hasUiMotion ? "dialog.overlay.hide" : "dialog.overlay.hideSimple";
|
|
118
|
+
const overlayAnimation = getAnimation(this, overlayHideAnimation, { dir: this.localize.dir() });
|
|
137
119
|
await Promise.all([
|
|
138
120
|
animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {
|
|
139
121
|
this.overlay.hidden = true;
|
|
@@ -142,21 +124,9 @@ var SdDialog = class extends SolidElement {
|
|
|
142
124
|
this.panel.hidden = true;
|
|
143
125
|
})
|
|
144
126
|
]);
|
|
145
|
-
this.dialog.
|
|
127
|
+
this.dialog.close();
|
|
146
128
|
this.overlay.hidden = false;
|
|
147
129
|
this.panel.hidden = false;
|
|
148
|
-
unlockBodyScrolling(this);
|
|
149
|
-
const trigger = this.originalTrigger;
|
|
150
|
-
if (typeof (trigger == null ? void 0 : trigger.focus) === "function" && trigger.isConnected) {
|
|
151
|
-
setTimeout(() => {
|
|
152
|
-
try {
|
|
153
|
-
trigger.focus({ preventScroll: true });
|
|
154
|
-
} catch (e) {
|
|
155
|
-
trigger.focus();
|
|
156
|
-
}
|
|
157
|
-
this.originalTrigger = null;
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
130
|
this.emit("sd-after-hide");
|
|
161
131
|
}
|
|
162
132
|
}
|
|
@@ -177,29 +147,29 @@ var SdDialog = class extends SolidElement {
|
|
|
177
147
|
return waitForEvent(this, "sd-after-hide");
|
|
178
148
|
}
|
|
179
149
|
render() {
|
|
180
|
-
return html`<
|
|
181
|
-
"flex items-center justify-center
|
|
150
|
+
return html`<sd-theme-listener></sd-theme-listener><dialog part="base" class="${cx(
|
|
151
|
+
"flex items-center justify-center p-0 m-auto bg-transparent border-none overflow-visible",
|
|
182
152
|
this.hasSlotController.test("footer") && "dialog--has-footer"
|
|
183
|
-
)}"><div part="overlay" class="fixed inset-0
|
|
153
|
+
)}"><div part="overlay" class="fixed inset-0" @click="${() => this.requestClose("overlay")}"></div><div part="panel" class="${cx(
|
|
184
154
|
"panel-color-border border flex flex-col z-20 bg-white py-4 sm:py-8 relative gap-6 focus-visible:focus-outline-inverted overflow-y-auto",
|
|
185
155
|
this.open && "flex opacity-100"
|
|
186
|
-
)}"
|
|
156
|
+
)}" aria-label="${ifDefined(this.headline ? this.headline : void 0)}" aria-labelledby="${ifDefined(!this.headline ? "title" : void 0)}" tabindex="0"><header part="header" class="flex flex-grow-0 flex-shrink-0 basis-auto px-6 sm:px-10"><h2 part="title" class="flex-auto m-0" id="title">${this.headline.length > 0 ? html`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>` : html`<slot name="headline"></slot>`}</h2>${!this.noCloseButton ? html`<sd-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${cx("absolute top-2 right-2")}" name="x-lg" @click="${() => this.requestClose("close-button")}" type="button"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>` : ""}</header><main part="body" class="flex flex-auto overflow-auto w-full px-6 sm:px-10"><slot></slot></main><footer part="footer" class="px-6 sm:px-10"><slot name="footer"></slot></footer></div></dialog>`;
|
|
187
157
|
}
|
|
188
158
|
};
|
|
189
159
|
SdDialog.styles = [
|
|
190
160
|
...SolidElement.styles,
|
|
191
|
-
css`/*! tailwindcss v4.3.
|
|
192
|
-
:host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}
|
|
161
|
+
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
162
|
+
:host{--width:662px;display:contents}[part=base]:not([open]){display:none}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}}`
|
|
193
163
|
];
|
|
194
164
|
__decorateClass([
|
|
195
165
|
query('[part="base"]')
|
|
196
166
|
], SdDialog.prototype, "dialog", 2);
|
|
197
|
-
__decorateClass([
|
|
198
|
-
query('[part="panel"]')
|
|
199
|
-
], SdDialog.prototype, "panel", 2);
|
|
200
167
|
__decorateClass([
|
|
201
168
|
query('[part="overlay"]')
|
|
202
169
|
], SdDialog.prototype, "overlay", 2);
|
|
170
|
+
__decorateClass([
|
|
171
|
+
query('[part="panel"]')
|
|
172
|
+
], SdDialog.prototype, "panel", 2);
|
|
203
173
|
__decorateClass([
|
|
204
174
|
property({ type: Boolean, reflect: true })
|
|
205
175
|
], SdDialog.prototype, "open", 2);
|
|
@@ -213,7 +183,7 @@ __decorateClass([
|
|
|
213
183
|
watch("open", { waitUntilFirstUpdate: true })
|
|
214
184
|
], SdDialog.prototype, "handleOpenChange", 1);
|
|
215
185
|
SdDialog = __decorateClass([
|
|
216
|
-
customElement("sd-
|
|
186
|
+
customElement("sd-dialog")
|
|
217
187
|
], SdDialog);
|
|
218
188
|
setDefaultAnimation("dialog.show", {
|
|
219
189
|
keyframes: [
|
|
@@ -226,6 +196,13 @@ setDefaultAnimation("dialog.showReducedMotion", {
|
|
|
226
196
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
227
197
|
options: { duration: "var(--sd-duration-medium, 300)", easing: "ease-in-out", reducedMotion: "allow" }
|
|
228
198
|
});
|
|
199
|
+
setDefaultAnimation("dialog.showSimple", {
|
|
200
|
+
keyframes: [
|
|
201
|
+
{ opacity: 0, scale: 0.8 },
|
|
202
|
+
{ opacity: 1, scale: 1 }
|
|
203
|
+
],
|
|
204
|
+
options: { duration: 250, easing: "ease" }
|
|
205
|
+
});
|
|
229
206
|
setDefaultAnimation("dialog.hide", {
|
|
230
207
|
keyframes: [
|
|
231
208
|
{ opacity: 1, transform: "translate(0, 0)" },
|
|
@@ -237,18 +214,37 @@ setDefaultAnimation("dialog.hideReducedMotion", {
|
|
|
237
214
|
keyframes: [{ opacity: 1 }, { opacity: 0 }],
|
|
238
215
|
options: { duration: "var(--sd-duration-fast, 150)", easing: "ease-in-out", reducedMotion: "allow" }
|
|
239
216
|
});
|
|
217
|
+
setDefaultAnimation("dialog.hideSimple", {
|
|
218
|
+
keyframes: [
|
|
219
|
+
{ opacity: 1, scale: 1 },
|
|
220
|
+
{ opacity: 0, scale: 0.8 }
|
|
221
|
+
],
|
|
222
|
+
options: { duration: 250, easing: "ease" }
|
|
223
|
+
});
|
|
240
224
|
setDefaultAnimation("dialog.denyClose", {
|
|
241
225
|
keyframes: [{ scale: 1 }, { scale: 1.02 }, { scale: 1 }],
|
|
242
226
|
options: { duration: 250 }
|
|
243
227
|
});
|
|
228
|
+
setDefaultAnimation("dialog.denyCloseSimple", {
|
|
229
|
+
keyframes: [{ scale: 1 }, { scale: 1.02 }, { scale: 1 }],
|
|
230
|
+
options: { duration: 250 }
|
|
231
|
+
});
|
|
244
232
|
setDefaultAnimation("dialog.overlay.show", {
|
|
245
233
|
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
246
234
|
options: { duration: "var(--sd-duration-medium, 300)", easing: "ease-in-out", reducedMotion: "allow" }
|
|
247
235
|
});
|
|
236
|
+
setDefaultAnimation("dialog.overlay.showSimple", {
|
|
237
|
+
keyframes: [{ opacity: 0 }, { opacity: 1 }],
|
|
238
|
+
options: { duration: 250, reducedMotion: "allow" }
|
|
239
|
+
});
|
|
248
240
|
setDefaultAnimation("dialog.overlay.hide", {
|
|
249
241
|
keyframes: [{ opacity: 1 }, { opacity: 0 }],
|
|
250
242
|
options: { duration: "var(--sd-duration-fast, 150)", easing: "ease-in-out", reducedMotion: "allow" }
|
|
251
243
|
});
|
|
244
|
+
setDefaultAnimation("dialog.overlay.hideSimple", {
|
|
245
|
+
keyframes: [{ opacity: 1 }, { opacity: 0 }],
|
|
246
|
+
options: { duration: 250, reducedMotion: "allow" }
|
|
247
|
+
});
|
|
252
248
|
|
|
253
249
|
export {
|
|
254
250
|
SdDialog
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SolidElement,
|
|
3
3
|
customElement
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.DJJN4MJ4.js";
|
|
5
5
|
import {
|
|
6
6
|
__decorateClass
|
|
7
7
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -31,7 +31,7 @@ var SdBadge = class extends SolidElement {
|
|
|
31
31
|
};
|
|
32
32
|
SdBadge.styles = [
|
|
33
33
|
...SolidElement.styles,
|
|
34
|
-
css`/*! tailwindcss v4.3.
|
|
34
|
+
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
35
35
|
:host{display:inline-flex;align-items:center;justify-content:center}:host([size=md]){height:var(--sd-spacing-4);min-width:var(--sd-spacing-4);font-size:.625rem}:host([size=lg]){height:calc(var(--sd-spacing-1) * 5);min-width:calc(var(--sd-spacing-1) * 5);font-size:.75rem}:host([size=sm])::part(base){height:var(--sd-spacing-2);min-width:var(--sd-spacing-2)}:host([size=md])::part(base){padding-inline:var(--sd-spacing-1)}:host([size=lg])::part(base){padding-left:.313rem;padding-right:.313rem}`
|
|
36
36
|
];
|
|
37
37
|
__decorateClass([
|
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultValue
|
|
3
|
+
} from "./chunk.GI7VDIWX.js";
|
|
4
|
+
import {
|
|
5
|
+
FormControlController
|
|
6
|
+
} from "./chunk.C3WIBDGG.js";
|
|
7
|
+
import {
|
|
8
|
+
HasSlotController
|
|
9
|
+
} from "./chunk.IVMQWO2L.js";
|
|
10
|
+
import {
|
|
11
|
+
LocalizeController
|
|
12
|
+
} from "./chunk.X3FE7OHE.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.X2OQMWGY.js";
|
|
16
|
+
import {
|
|
17
|
+
SolidElement,
|
|
18
|
+
customElement
|
|
19
|
+
} from "./chunk.DJJN4MJ4.js";
|
|
20
|
+
import {
|
|
21
|
+
__decorateClass
|
|
22
|
+
} from "./chunk.S3NI7NKU.js";
|
|
23
|
+
|
|
24
|
+
// src/components/file-selector/file-selector.ts
|
|
25
|
+
import { css, html } from "lit";
|
|
26
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
27
|
+
import { property, query, state } from "lit/decorators.js";
|
|
28
|
+
import cx from "classix";
|
|
29
|
+
var SdFileSelector = class extends SolidElement {
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments);
|
|
32
|
+
this.formControlController = new FormControlController(this, {
|
|
33
|
+
assumeInteractionOn: ["sd-change"],
|
|
34
|
+
value: (el) => el.files
|
|
35
|
+
});
|
|
36
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
37
|
+
this.localize = new LocalizeController(this);
|
|
38
|
+
this.userIsDragging = false;
|
|
39
|
+
this.showInvalidStyle = false;
|
|
40
|
+
this.name = "";
|
|
41
|
+
this.title = "";
|
|
42
|
+
this.defaultValue = "";
|
|
43
|
+
this.size = "lg";
|
|
44
|
+
this.label = "";
|
|
45
|
+
this.showLabel = false;
|
|
46
|
+
this.helpText = "";
|
|
47
|
+
this.disabled = false;
|
|
48
|
+
this.visuallyDisabled = false;
|
|
49
|
+
this.droparea = false;
|
|
50
|
+
this.accept = "";
|
|
51
|
+
this.styleOnValid = false;
|
|
52
|
+
this.multiple = false;
|
|
53
|
+
this.webkitdirectory = false;
|
|
54
|
+
this.form = "";
|
|
55
|
+
this.required = false;
|
|
56
|
+
this.hideValue = false;
|
|
57
|
+
}
|
|
58
|
+
set files(v) {
|
|
59
|
+
if (this.input) {
|
|
60
|
+
this.input.files = v;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
get files() {
|
|
64
|
+
var _a, _b;
|
|
65
|
+
return (_b = (_a = this.input) == null ? void 0 : _a.files) != null ? _b : null;
|
|
66
|
+
}
|
|
67
|
+
set value(v) {
|
|
68
|
+
if (this.input) {
|
|
69
|
+
this.input.value = v;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
get value() {
|
|
73
|
+
var _a, _b;
|
|
74
|
+
return (_b = (_a = this.input) == null ? void 0 : _a.value) != null ? _b : "";
|
|
75
|
+
}
|
|
76
|
+
/** Gets the validity state object. */
|
|
77
|
+
get validity() {
|
|
78
|
+
return this.input.validity;
|
|
79
|
+
}
|
|
80
|
+
/** Gets the validation message. */
|
|
81
|
+
get validationMessage() {
|
|
82
|
+
return this.input.validationMessage;
|
|
83
|
+
}
|
|
84
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
85
|
+
checkValidity() {
|
|
86
|
+
return this.input.checkValidity();
|
|
87
|
+
}
|
|
88
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
89
|
+
reportValidity() {
|
|
90
|
+
this.formControlController.fakeUserInteraction();
|
|
91
|
+
return this.input.reportValidity();
|
|
92
|
+
}
|
|
93
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
94
|
+
setCustomValidity(message) {
|
|
95
|
+
this.input.setCustomValidity(message);
|
|
96
|
+
this.formControlController.updateValidity();
|
|
97
|
+
}
|
|
98
|
+
handleDisabledChange() {
|
|
99
|
+
this.formControlController.setValidity(this.disabled);
|
|
100
|
+
}
|
|
101
|
+
async handleValueChange() {
|
|
102
|
+
await this.updateComplete;
|
|
103
|
+
this.formControlController.updateValidity();
|
|
104
|
+
}
|
|
105
|
+
firstUpdated() {
|
|
106
|
+
this.formControlController.updateValidity();
|
|
107
|
+
}
|
|
108
|
+
focus(options) {
|
|
109
|
+
var _a, _b;
|
|
110
|
+
if (this.droparea) {
|
|
111
|
+
(_a = this.dropareaWrapper) == null ? void 0 : _a.focus(options);
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
(_b = this.button) == null ? void 0 : _b.focus(options);
|
|
115
|
+
}
|
|
116
|
+
blur() {
|
|
117
|
+
var _a, _b;
|
|
118
|
+
if (this.droparea) {
|
|
119
|
+
(_a = this.dropareaWrapper) == null ? void 0 : _a.blur();
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
(_b = this.button) == null ? void 0 : _b.blur();
|
|
123
|
+
}
|
|
124
|
+
handleInvalid(event) {
|
|
125
|
+
this.formControlController.setValidity(false);
|
|
126
|
+
this.formControlController.emitInvalidEvent(event);
|
|
127
|
+
this.invalidMessage.textContent = event.target.validationMessage;
|
|
128
|
+
}
|
|
129
|
+
handleFiles(files) {
|
|
130
|
+
if (!files) {
|
|
131
|
+
this.value = "";
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
this.files = files;
|
|
135
|
+
}
|
|
136
|
+
async handleTransferItems(items) {
|
|
137
|
+
if (!items) {
|
|
138
|
+
this.value = "";
|
|
139
|
+
throw new Error("No proper items found");
|
|
140
|
+
}
|
|
141
|
+
const entries = Array.from(items).map((item) => item.webkitGetAsEntry());
|
|
142
|
+
const filesPromises = entries.map((entry) => this.getFilesFromEntry(entry));
|
|
143
|
+
const filesArray = await Promise.all(filesPromises);
|
|
144
|
+
const files = filesArray.flat();
|
|
145
|
+
const dataTransfer = new DataTransfer();
|
|
146
|
+
files.forEach((f) => dataTransfer.items.add(f));
|
|
147
|
+
return dataTransfer.files;
|
|
148
|
+
}
|
|
149
|
+
async getFilesFromEntry(entry) {
|
|
150
|
+
if (!entry) {
|
|
151
|
+
return [];
|
|
152
|
+
}
|
|
153
|
+
if (entry.isFile) {
|
|
154
|
+
return new Promise((resolve, reject) => {
|
|
155
|
+
entry.file((file) => resolve([file]), reject);
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
if (entry.isDirectory) {
|
|
159
|
+
return new Promise((resolve, reject) => {
|
|
160
|
+
const dirReader = entry.createReader();
|
|
161
|
+
dirReader.readEntries((nestedEntries) => {
|
|
162
|
+
Promise.all(nestedEntries.map((e) => this.getFilesFromEntry(e))).then((nested) => resolve(nested.flat())).catch(reject);
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
return [];
|
|
167
|
+
}
|
|
168
|
+
handleClick(e) {
|
|
169
|
+
e.preventDefault();
|
|
170
|
+
if (this.disabled || this.visuallyDisabled) {
|
|
171
|
+
e.stopPropagation();
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
this.input.click();
|
|
175
|
+
}
|
|
176
|
+
handleDropareaKeyDown(e) {
|
|
177
|
+
if (e.key !== "Enter" && e.key !== " ") return;
|
|
178
|
+
e.preventDefault();
|
|
179
|
+
this.handleClick(e);
|
|
180
|
+
}
|
|
181
|
+
handleChange(e) {
|
|
182
|
+
e.preventDefault();
|
|
183
|
+
e.stopPropagation();
|
|
184
|
+
this.emit("sd-input");
|
|
185
|
+
this.emit("sd-change");
|
|
186
|
+
}
|
|
187
|
+
handleDragOver(e) {
|
|
188
|
+
e.preventDefault();
|
|
189
|
+
e.stopPropagation();
|
|
190
|
+
if (this.disabled || this.visuallyDisabled) return;
|
|
191
|
+
this.userIsDragging = true;
|
|
192
|
+
}
|
|
193
|
+
handleDragLeave(e) {
|
|
194
|
+
e.preventDefault();
|
|
195
|
+
e.stopPropagation();
|
|
196
|
+
if (this.disabled || this.visuallyDisabled) return;
|
|
197
|
+
this.userIsDragging = false;
|
|
198
|
+
}
|
|
199
|
+
async handleDrop(e) {
|
|
200
|
+
e.preventDefault();
|
|
201
|
+
e.stopPropagation();
|
|
202
|
+
if (this.disabled || this.visuallyDisabled) return;
|
|
203
|
+
if (!e.dataTransfer) return;
|
|
204
|
+
const files = await this.handleTransferItems(e.dataTransfer.items);
|
|
205
|
+
this.userIsDragging = false;
|
|
206
|
+
if (!files) return;
|
|
207
|
+
if (!this.multiple && !this.webkitdirectory && files.length > 1) {
|
|
208
|
+
this.emit("sd-error");
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
this.handleFiles(files);
|
|
212
|
+
this.input.dispatchEvent(new Event("change"));
|
|
213
|
+
}
|
|
214
|
+
handleFocus() {
|
|
215
|
+
this.emit("sd-focus");
|
|
216
|
+
}
|
|
217
|
+
handleBlur() {
|
|
218
|
+
this.emit("sd-blur");
|
|
219
|
+
}
|
|
220
|
+
renderValue() {
|
|
221
|
+
let hasFiles = false;
|
|
222
|
+
let fileChosenLabel = this.localize.term("numFilesSelected", 0, this.webkitdirectory, this.multiple);
|
|
223
|
+
if (this.files && this.files.length > 0) {
|
|
224
|
+
hasFiles = true;
|
|
225
|
+
fileChosenLabel = this.files.length === 1 ? this.files[0].name : this.localize.term("numFilesSelected", this.files.length, this.webkitdirectory, this.multiple);
|
|
226
|
+
}
|
|
227
|
+
return html`<span id="file-status" role="status" aria-live="polite" aria-atomic="true" class="${cx(
|
|
228
|
+
"input__value truncate text-sm",
|
|
229
|
+
this.hideValue && "sr-only",
|
|
230
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : !hasFiles ? "text-neutral-700" : "text-black"
|
|
231
|
+
)}" part="value">${fileChosenLabel}</span>`;
|
|
232
|
+
}
|
|
233
|
+
renderDroparea() {
|
|
234
|
+
return html`<div class="${cx("droparea", this.disabled || this.visuallyDisabled ? "cursor-not-allowed" : "cursor-pointer")}" @click="${this.handleClick}" @keydown="${this.handleDropareaKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" tabindex="${this.disabled ? -1 : 0}" role="button" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" part="droparea"><div part="droparea-background" class="${cx(
|
|
235
|
+
"droparea__background relative w-full flex flex-row items-center gap-4 p-6 form-control-border-radius transition-colors ease-in-out duration-medium",
|
|
236
|
+
this.disabled || this.visuallyDisabled ? "droparea__background--disabled bg-neutral-100" : this.showInvalidStyle ? "droparea__background--invalid" : this.userIsDragging ? "bg-primary-100" : "hover:bg-neutral-200"
|
|
237
|
+
)}"><svg class="droparea__border" aria-hidden="true" preserveAspectRatio="none"><rect class="droparea__border-rect" x="0.5" y="0.5" width="calc(100% - 1px)" height="calc(100% - 1px)"/></svg><div part="droparea-icon" class="${cx(
|
|
238
|
+
"droparea__icon inline-flex h-18",
|
|
239
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
|
|
240
|
+
)}"><sd-icon class="w-full h-full" library="_internal" name="upload"></sd-icon></div><p part="droparea-value"><span class="${cx(
|
|
241
|
+
"block text-lg font-semibold",
|
|
242
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-primary"
|
|
243
|
+
)}">${this.localize.term(
|
|
244
|
+
this.webkitdirectory ? "folderDragDrop" : this.multiple ? "fileDragDropMultiple" : "fileDragDrop"
|
|
245
|
+
)} </span>${this.renderValue()}</p></div></div>`;
|
|
246
|
+
}
|
|
247
|
+
renderButton() {
|
|
248
|
+
let buttonText = this.localize.term("fileButtonText");
|
|
249
|
+
if (this.multiple) buttonText = this.localize.term("fileButtonTextMultiple");
|
|
250
|
+
if (this.webkitdirectory) buttonText = this.localize.term("folderButtonText");
|
|
251
|
+
return html`<div part="button-wrapper" class="${cx(
|
|
252
|
+
"button__wrapper flex flex-row items-center gap-4",
|
|
253
|
+
this.disabled || this.visuallyDisabled ? "cursor-not-allowed" : "cursor-default"
|
|
254
|
+
)}"><sd-button class="button" @click="${this.handleClick}" ?disabled="${this.disabled}" ?visually-disabled="${this.visuallyDisabled}" part="button" size="${this.size}" variant="secondary" aria-labelledby="form-control-label" aria-describedby="file-status help-text invalid-message" aria-invalid="${this.showInvalidStyle ? "true" : "false"}">${buttonText}</sd-button>${this.renderValue()}</div>`;
|
|
255
|
+
}
|
|
256
|
+
render() {
|
|
257
|
+
const slots = {
|
|
258
|
+
label: this.hasSlotController.test("label"),
|
|
259
|
+
helpText: this.hasSlotController.test("help-text")
|
|
260
|
+
};
|
|
261
|
+
const hasLabel = this.label ? true : !!slots["label"];
|
|
262
|
+
const hasHelpText = this.helpText ? true : !!slots["helpText"];
|
|
263
|
+
const showLabel = this.showLabel && hasLabel;
|
|
264
|
+
return html`<div @dragenter="${this.handleDragOver}" @dragleave="${this.handleDragLeave}" @dragover="${this.handleDragOver}" @drop="${this.handleDrop}" part="form-control">${hasLabel ? html`<label id="form-control-label" class="${cx(
|
|
265
|
+
"form-control__label text-base",
|
|
266
|
+
showLabel ? "inline-block mb-2" : "sr-only",
|
|
267
|
+
this.disabled ? "text-neutral-500" : "form-control-color-text"
|
|
268
|
+
)}" for="input" part="form-control-label"><slot name="label">${this.label}</slot></label>` : null}<div class="form-control-input" part="form-control-input">${this.droparea ? this.renderDroparea() : this.renderButton()}</div><slot name="help-text" part="form-control-help-text" id="help-text" class="${cx(
|
|
269
|
+
"text-sm mt-2",
|
|
270
|
+
hasHelpText ? "block" : "hidden",
|
|
271
|
+
this.disabled || this.visuallyDisabled ? "text-neutral-500" : "text-neutral-700"
|
|
272
|
+
)}" aria-hidden="${hasHelpText ? "false" : "true"}">${this.helpText}</slot><input accept="${this.accept}" aria-disabled="${this.disabled || this.visuallyDisabled ? "true" : "false"}" @change="${this.handleChange}" class="input__control sr-only" capture="${ifDefined(this.capture)}" ?disabled="${this.disabled}" id="input" @invalid="${this.handleInvalid}" ?multiple="${this.multiple}" name="${ifDefined(this.name)}" ?required="${this.required}" title="${this.title}" type="file" tabindex="-1" ?webkitdirectory="${this.webkitdirectory}"></div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle ? html`<sd-icon part="invalid-icon" class="${cx("text-error")}" library="_internal" name="risk"></sd-icon>` : ""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`;
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Inherits global stylesheet including TailwindCSS.
|
|
277
|
+
*/
|
|
278
|
+
SdFileSelector.styles = [
|
|
279
|
+
...SolidElement.styles,
|
|
280
|
+
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
281
|
+
:host{display:block;width:100%;text-align:left}:host([required]) .form-control__label::after{content:' *'}.input__control{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.droparea__background{--sd-droparea-border-color:rgba(var(--sd-form-control-color-border, rgba(var(--sd-color-neutral-800))))}.droparea__background--disabled{--sd-droparea-border-color:rgba(var(--sd-color-neutral-500))}.droparea__background--invalid{--sd-droparea-border-color:rgba(var(--sd-color-error))}.droparea__border{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.droparea__border-rect{fill:none;stroke:var(--sd-droparea-border-color);stroke-width:2px;stroke-dasharray:0 8px;stroke-linecap:square;vector-effect:non-scaling-stroke}`
|
|
282
|
+
];
|
|
283
|
+
__decorateClass([
|
|
284
|
+
state()
|
|
285
|
+
], SdFileSelector.prototype, "userIsDragging", 2);
|
|
286
|
+
__decorateClass([
|
|
287
|
+
state()
|
|
288
|
+
], SdFileSelector.prototype, "showInvalidStyle", 2);
|
|
289
|
+
__decorateClass([
|
|
290
|
+
property({ type: Object })
|
|
291
|
+
], SdFileSelector.prototype, "files", 1);
|
|
292
|
+
__decorateClass([
|
|
293
|
+
property({ type: String, reflect: true })
|
|
294
|
+
], SdFileSelector.prototype, "name", 2);
|
|
295
|
+
__decorateClass([
|
|
296
|
+
property({ type: String, reflect: true })
|
|
297
|
+
], SdFileSelector.prototype, "title", 2);
|
|
298
|
+
__decorateClass([
|
|
299
|
+
property({ type: String })
|
|
300
|
+
], SdFileSelector.prototype, "value", 1);
|
|
301
|
+
__decorateClass([
|
|
302
|
+
defaultValue()
|
|
303
|
+
], SdFileSelector.prototype, "defaultValue", 2);
|
|
304
|
+
__decorateClass([
|
|
305
|
+
property({ type: String, reflect: true })
|
|
306
|
+
], SdFileSelector.prototype, "size", 2);
|
|
307
|
+
__decorateClass([
|
|
308
|
+
property({ type: String, reflect: true })
|
|
309
|
+
], SdFileSelector.prototype, "label", 2);
|
|
310
|
+
__decorateClass([
|
|
311
|
+
property({ type: Boolean, reflect: true, attribute: "show-label" })
|
|
312
|
+
], SdFileSelector.prototype, "showLabel", 2);
|
|
313
|
+
__decorateClass([
|
|
314
|
+
property({ type: String, attribute: "help-text", reflect: true })
|
|
315
|
+
], SdFileSelector.prototype, "helpText", 2);
|
|
316
|
+
__decorateClass([
|
|
317
|
+
property({ type: Boolean, reflect: true })
|
|
318
|
+
], SdFileSelector.prototype, "disabled", 2);
|
|
319
|
+
__decorateClass([
|
|
320
|
+
property({ type: Boolean, reflect: true, attribute: "visually-disabled" })
|
|
321
|
+
], SdFileSelector.prototype, "visuallyDisabled", 2);
|
|
322
|
+
__decorateClass([
|
|
323
|
+
property({ type: Boolean, reflect: true, attribute: "drop-area" })
|
|
324
|
+
], SdFileSelector.prototype, "droparea", 2);
|
|
325
|
+
__decorateClass([
|
|
326
|
+
property({ type: String })
|
|
327
|
+
], SdFileSelector.prototype, "accept", 2);
|
|
328
|
+
__decorateClass([
|
|
329
|
+
property({ type: Boolean, reflect: true, attribute: "style-on-valid" })
|
|
330
|
+
], SdFileSelector.prototype, "styleOnValid", 2);
|
|
331
|
+
__decorateClass([
|
|
332
|
+
property({ type: String })
|
|
333
|
+
], SdFileSelector.prototype, "capture", 2);
|
|
334
|
+
__decorateClass([
|
|
335
|
+
property({ type: Boolean, reflect: true })
|
|
336
|
+
], SdFileSelector.prototype, "multiple", 2);
|
|
337
|
+
__decorateClass([
|
|
338
|
+
property({ type: Boolean, reflect: true })
|
|
339
|
+
], SdFileSelector.prototype, "webkitdirectory", 2);
|
|
340
|
+
__decorateClass([
|
|
341
|
+
property({ type: String, reflect: true })
|
|
342
|
+
], SdFileSelector.prototype, "form", 2);
|
|
343
|
+
__decorateClass([
|
|
344
|
+
property({ type: Boolean, reflect: true })
|
|
345
|
+
], SdFileSelector.prototype, "required", 2);
|
|
346
|
+
__decorateClass([
|
|
347
|
+
property({ attribute: "hide-value", type: Boolean, reflect: true })
|
|
348
|
+
], SdFileSelector.prototype, "hideValue", 2);
|
|
349
|
+
__decorateClass([
|
|
350
|
+
query(".input__control")
|
|
351
|
+
], SdFileSelector.prototype, "input", 2);
|
|
352
|
+
__decorateClass([
|
|
353
|
+
query(".button")
|
|
354
|
+
], SdFileSelector.prototype, "button", 2);
|
|
355
|
+
__decorateClass([
|
|
356
|
+
query(".droparea")
|
|
357
|
+
], SdFileSelector.prototype, "dropareaWrapper", 2);
|
|
358
|
+
__decorateClass([
|
|
359
|
+
query("#invalid-message")
|
|
360
|
+
], SdFileSelector.prototype, "invalidMessage", 2);
|
|
361
|
+
__decorateClass([
|
|
362
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
363
|
+
], SdFileSelector.prototype, "handleDisabledChange", 1);
|
|
364
|
+
__decorateClass([
|
|
365
|
+
watch("value", { waitUntilFirstUpdate: true })
|
|
366
|
+
], SdFileSelector.prototype, "handleValueChange", 1);
|
|
367
|
+
SdFileSelector = __decorateClass([
|
|
368
|
+
customElement("sd-file-selector")
|
|
369
|
+
], SdFileSelector);
|
|
370
|
+
|
|
371
|
+
export {
|
|
372
|
+
SdFileSelector
|
|
373
|
+
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SolidElement,
|
|
9
9
|
customElement
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.DJJN4MJ4.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.S3NI7NKU.js";
|
|
@@ -53,7 +53,7 @@ var SdInclude = class extends SolidElement {
|
|
|
53
53
|
};
|
|
54
54
|
SdInclude.styles = [
|
|
55
55
|
...SolidElement.styles,
|
|
56
|
-
css`/*! tailwindcss v4.3.
|
|
56
|
+
css`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
57
57
|
:host{display:block}`
|
|
58
58
|
];
|
|
59
59
|
__decorateClass([
|