@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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.MEDJPDBB.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.5B33ZALC.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-7-0-0-next-11-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
2
|
+
base:tag__base,
|
|
3
|
+
content:tag__content,
|
|
4
|
+
removable-indicator:tag__removable-indicator,
|
|
5
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-7-0-0-next-11-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest(".select__clear")!==null,l=e.closest("sd-7-0-0-next-11-icon-button")!==null;if(!(o||l)){if(t.key==="Escape"&&this.open&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.combobox.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show(),this.setCurrentOption(this.currentOption||this.getFirstOption(),t);return}this.currentOption&&!this.currentOption.disabled&&(this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let d=this.getAllOptions(),r=d.indexOf(this.currentOption),a=Math.max(0,r);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(a=r+1,a>d.length-1&&(a=0)):t.key==="ArrowUp"?(a=r-1,a<0&&(a=d.length-1)):t.key==="Home"?a=0:t.key==="End"&&(a=d.length-1),this.setCurrentOption(d[a],t)}if(t.key.length===1||t.key==="Backspace"){let d=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>this.typeToSelectString="",1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let r of d)if(r.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(r);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){this.applySizeToOptions()}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){var o,l,d;if((t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple){t.preventDefault(),t.stopPropagation();let r=(o=t.currentTarget)==null?void 0:o.parentElement,a=(l=r==null?void 0:r.previousElementSibling)==null?void 0:l.querySelector("sd-7-0-0-next-11-tag"),b=(d=r==null?void 0:r.nextElementSibling)==null?void 0:d.querySelector("sd-7-0-0-next-11-tag");this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>{b?b.focus():a?a.focus():this.focus({preventScroll:!0})})}}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>{var o;let e=(o=this.shadowRoot)==null?void 0:o.querySelectorAll("sd-7-0-0-next-11-tag");e&&e.length>0?e==null||e[(e==null?void 0:e.length)-1].focus():this.focus({preventScroll:!0})}))}handleLabelClick(){this.combobox.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(l=>l instanceof HTMLSlotElement&&l.name==="removable-indicator");this.disabled||o||this.visuallyDisabled||(t.preventDefault(),this.combobox.focus({preventScroll:!0}),this.open=!this.open,this.setCurrentOption(this.currentOption||this.getFirstOption(),t))}handleComboboxKeyDown(t){t.stopPropagation(),this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearSelect()}clearSelect(){this.setSelectedOptions([]),this.combobox.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")})}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("sd-7-0-0-next-11-option"),l=this.value;o&&!o.disabled&&(this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.combobox.focus({preventScroll:!0})),this.value!==l&&this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}),this.multiple||(this.hide(),this.combobox.focus({preventScroll:!0})))}handleDefaultSlotChange(){let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value],o=[];customElements.get("sd-7-0-0-next-11-option")?(t.forEach(l=>{this.multiple&&(l.checkbox=!0),o.push(l.value)}),this.setSelectedOptions(t.filter(l=>e.includes(l.value)))):customElements.whenDefined("sd-7-0-0-next-11-option").then(()=>this.handleDefaultSlotChange())}handleTagRemove(t,e){t.stopPropagation(),e||this.clearSelect(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.emit("sd-input"),this.emit("sd-change")}))}getAllOptions(){return[...this.querySelectorAll("sd-7-0-0-next-11-option")]}getFirstOption(){return this.querySelector("sd-7-0-0-next-11-option")}setCurrentOption(t,e){this.getAllOptions().forEach(l=>{l.current=!1,l.tabIndex=-1,((e==null?void 0:e.type)==="keydown"||(e==null?void 0:e.type)==="mousedown")&&(l.isKeyboardFocus=!1)}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus()),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(l=>l.selected=!1),o.length&&o.forEach(l=>l.selected=!0),Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,Array.isArray(t)?this.selectionChanged():this.selectionChanged(t)}get displayLabel(){var t,e;return this.multiple?this.useTags||this.value.length===0?"":this.localize.term("numOptionsSelected",this.selectedOptions.length):(e=(t=this.selectedOptions[0])==null?void 0:t.getTextLabel())!=null?e:""}selectionChanged(t){var e,o;t&&this.multiple?this.selectedOptions.find(l=>l.value===t.value)?this.selectedOptions=this.selectedOptions.filter(l=>l.value!==t.value):this.selectedOptions=[...this.selectedOptions,t]:this.selectedOptions=this.getAllOptions().filter(l=>l.selected),this.multiple?this.value=this.selectedOptions.map(l=>l.value):this.value=(o=(e=this.selectedOptions[0])==null?void 0:e.value)!=null?o:"",this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return p`<div @sd-remove="${l=>this.handleTagRemove(l,t)}" class="max-w-full">${typeof o=="string"?L(o):o}</div>`}return[p``]}):[p`<sd-7-0-0-next-11-tag class="z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
6
|
+
base:tag__base,
|
|
7
|
+
content:tag__content,
|
|
8
|
+
removable-indicator:tag__removable-indicator,
|
|
9
|
+
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-7-0-0-next-11-tag>`]}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleUseTagsChange(){let t=this.getAllOptions();customElements.get("sd-7-0-0-next-11-option")&&t.forEach(e=>{e.checkbox=this.multiple})}handleDisabledChange(){(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),this.emit("sd-show"),this.addOpenListeners(),await w(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=$(this,"select.show",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.currentOption&&A(this.currentOption,this.listbox,"vertical","auto"),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),await w(this);let{keyframes:t,options:e}=$(this,"select.hide",{dir:this.localize.dir()});await x(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}}applySizeToOptions(){this._optionsInDefaultSlot.forEach(t=>{t.size=this.size})}handleValueChange(){let t=this.value,e=Array.isArray(t)?t:[t],o=this.selectedOptions.map(r=>r.value);if(e.length===o.length&&e.every(r=>o.includes(r)))return;let l=this.getAllOptions(),d=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(l.filter(r=>d.includes(r.value))),this.value=t}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,T(this,"sd-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,T(this,"sd-after-hide")}checkValidity(){var t;return(t=this.valueInput)==null?void 0:t.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.combobox.focus(t)}blur(){this.combobox.blur()}render(){let t={default:this.hasSlotController.test("[default]"),label:this.hasSlotController.test("label"),clearIcon:this.hasSlotController.test("clear-icon"),expandIcon:this.hasSlotController.test("expand-icon"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,o=this.helpText?!0:!!t.helpText,l=this.clearable&&!this.disabled,d=!!t.tooltip,r=this.value!==null&&String(this.value).length>0,a=this.floatingLabel&&e&&(this.hasFocus&&!this.visuallyDisabled||this.open||r)&&!(this.disabled&&!r),b=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],g={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],_=this.size==="lg"?this.floatingLabel?a?"py-3":"py-4":"py-2":this.floatingLabel?a?"py-2":"py-3":"py-1";return p`<div part="form-control" class="${h("relative text-left",f,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><span class="sr-only" aria-live="polite">${this.deletedTagLabel}</span> ${e&&!this.floatingLabel||d?p`<div class="flex items-center gap-1 mb-2"><label id="label" part="form-control-label" class="${h(e&&"inline-block",this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" aria-hidden="${e?"false":"true"}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> ${t.tooltip?p`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${h("relative w-full bg-white",b==="disabled"?"text-neutral-500":"text-black")}">${e&&this.floatingLabel?p`<label id="label" part="form-control-floating-label" class="${h("absolute left-4 z-20 pointer-events-none transition-all duration-200",a?this.size==="lg"?"top-2 text-xs":"top-1 text-xs":"top-1/2 -translate-y-1/2 form-control-color-text",a&&"mt-1")}" for="input"><span class="${h("leading-none",a&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${h("absolute top-0 w-full h-full pointer-events-none border form-control-border-radius z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[b],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-7-0-0-next-11-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${h("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
10
|
+
popup:popup__content,
|
|
11
|
+
"><div class="${h("relative w-full h-full grid rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:[@media(hover:hover)]:form-control--hover-color-background",["invalid","activeInvalid"].includes(b)&&"form-control--invalid-color-background")}" slot="anchor"><div class="${h("input-container items-center w-full h-full px-4 flex min-w-0",{sm:"py-1",md:"py-1",lg:"py-2"}[this.size],_)}"><input name="${this.name}" form="${this.form}" part="display-input" class="${h("top-0 left-0 appearance-none outline-none flex-grow bg-transparent flex-1 placeholder:text-neutral-700 min-w-0",f,this.multiple&&this.useTags&&this.value.length>0?"hidden":"",this.size==="sm"?a?"h-4":"h-6":a?"h-6":"h-8",a&&"leading-none mt-4")}" type="text" .disabled="${this.disabled}" placeholder="${!this.floatingLabel||a?this.placeholder||this.localize.term("selectDefaultPlaceholder"):""}" .value="${this.displayLabel}" autocomplete="off" spellcheck="false" autocapitalize="off" readonly="readonly" aria-controls="listbox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="help-text invalid-message" role="combobox" tabindex="-1"> ${this.multiple&&this.useTags&&this.tags&&this.tags.length>0?p`<div part="tags" class="${h("flex-grow flex flex-wrap items-center gap-1 min-w-0",this.floatingLabel&&"pt-4")}">${this.tags}</div>`:""}<div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(y=>y==null?void 0:y.getTextLabel()).join(", ")}</div><input class="${h("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",f)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${l?p`<button part="clear-button" class="${h("select__clear flex justify-center",v,this.value.length>0?"visible":"hidden")}" 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="${h("text-neutral-700 z-10",g)}" library="_internal" name="close-circle"></sd-7-0-0-next-11-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-7-0-0-next-11-icon part="invalid-icon" class="${h(v,g)}" library="_internal" name="risk"></sd-7-0-0-next-11-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-7-0-0-next-11-icon part="valid-icon" class="${h("flex-shrink-0 text-success",v,g)}" library="_internal" name="confirm-circle"></sd-7-0-0-next-11-icon>`:""}<slot name="expand-icon" part="expand-icon" class="${h("inline-flex ml-2 items-center transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0",this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",g)}"><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="${h("relative w-full px-4 flex flex-row items-center rounded-default focus-visible:outline-none",f,this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"min-h-[32px]",md:"min-h-[40px]",lg:"min-h-[48px]"}[this.size])}" type="button" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-labelledby="label"></button></div><div id="listbox" role="listbox" aria-expanded="${this.open?"true":"false"}" aria-multiselectable="${this.multiple?"true":"false"}" aria-labelledby="label" part="listbox" class="${h("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow-listbox transition-shadow duration-medium ease-in-out",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")}" tabindex="-1" @mouseup="${this.handleOptionClick}" @slotchange="${this.handleDefaultSlotChange}"><slot></slot></div></sd-7-0-0-next-11-popup></div><div class="${h("text-sm mt-1",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" part="form-control-help-text" id="help-text" aria-hidden="${o?"false":"true"}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage(this.size)}`}};i.styles=[...O.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
12
|
+
: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))}`],s([k({selector:"sd-7-0-0-next-11-option"})],i.prototype,"_optionsInDefaultSlot",2),s([c("sd-7-0-0-next-11-popup")],i.prototype,"popup",2),s([c('[part="combobox"]')],i.prototype,"combobox",2),s([c('[part="display-input"]')],i.prototype,"displayInput",2),s([c(".value-input")],i.prototype,"valueInput",2),s([c('[part="listbox"]')],i.prototype,"listbox",2),s([c("#invalid-message")],i.prototype,"invalidMessage",2),s([u()],i.prototype,"deletedTagLabel",2),s([u()],i.prototype,"hasFocus",2),s([u()],i.prototype,"currentOption",2),s([u()],i.prototype,"selectedOptions",2),s([u()],i.prototype,"showValidStyle",2),s([u()],i.prototype,"showInvalidStyle",2),s([F()],i.prototype,"defaultValue",2),s([n({type:Boolean,reflect:!0})],i.prototype,"open",2),s([n({type:String,reflect:!0})],i.prototype,"size",2),s([n({type:String,reflect:!0})],i.prototype,"placement",2),s([n({type:String,reflect:!0})],i.prototype,"label",2),s([n({type:String,reflect:!0})],i.prototype,"placeholder",2),s([n({type:String,attribute:"max-options-tag-label",reflect:!0})],i.prototype,"maxOptionsTagLabel",2),s([n({type:Boolean,reflect:!0})],i.prototype,"disabled",2),s([n({type:Boolean,reflect:!0,attribute:"visually-disabled"})],i.prototype,"visuallyDisabled",2),s([n({type:String,attribute:"help-text",reflect:!0})],i.prototype,"helpText",2),s([u()],i.prototype,"currentPlacement",2),s([n({type:Boolean,reflect:!0})],i.prototype,"clearable",2),s([n({type:Boolean,reflect:!0})],i.prototype,"multiple",2),s([n({type:Boolean,reflect:!0})],i.prototype,"useTags",2),s([n({attribute:"max-options-visible",type:Number,reflect:!0})],i.prototype,"maxOptionsVisible",2),s([n({reflect:!0})],i.prototype,"form",2),s([n({reflect:!0})],i.prototype,"name",2),s([n({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],i.prototype,"value",2),s([n({type:Boolean,reflect:!0})],i.prototype,"required",2),s([n({attribute:"floating-label",type:Boolean,reflect:!0})],i.prototype,"floatingLabel",2),s([n({type:Boolean,reflect:!0,attribute:"style-on-valid"})],i.prototype,"styleOnValid",2),s([n({type:Boolean,reflect:!0})],i.prototype,"hoist",2),s([n()],i.prototype,"getTag",2),s([m("useTags",{waitUntilFirstUpdate:!0})],i.prototype,"handleUseTagsChange",1),s([m(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),s([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),s([m("size",{waitUntilFirstUpdate:!0})],i.prototype,"applySizeToOptions",1),s([m("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),s([m(["size","floatingLabel"])],i.prototype,"handleSizeChange",1),i=s([D("sd-7-0-0-next-11-select")],i);C("select.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});C("select.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk.4XDRYWQQ.js";var r={$code:"de",$name:"Deutsch",$dir:"ltr",audioPlayer:"Audio-Player",autoplay:"Autoplay",carousel:"Karussell",carouselContainer:e=>`Karussell hat ${e} folien`,clearEntry:"Eingabe l\xF6schen",close:"Schlie\xDFen",collapseNavigationItem:"Navigationspunkt reduzieren",comboboxDefaultPlaceholder:"Bitte suchen und ausw\xE4hlen",copy:"Kopieren",currentValue:"Aktueller Wert",datePicker:"Datumsauswahl",datePickerInfo:"Pfeiltasten zum Navigieren verwenden, Enter zum Ausw\xE4hlen. Bild-auf/Bild-ab \xE4ndert den Monat. Shift+Bild-auf/Bild-ab \xE4ndert das Jahr",datePickerRange:"Datumsbereichsauswahl",datePlaceholder:"Datum ausw\xE4hlen",dateRangePlaceholder:"Datumsbereich ausw\xE4hlen",endDateSelected:"Enddatum ausgew\xE4hlt",expandNavigationItem:"Navigationspunkt erweitern",fileButtonText:"Datei ausw\xE4hlen",fileButtonTextMultiple:"Dateien ausw\xE4hlen",fileDragDrop:"Datei ablegen oder ausw\xE4hlen",fileDragDropMultiple:"Dateien ablegen oder ausw\xE4hlen",folderButtonText:"Ordner ausw\xE4hlen",folderDragDrop:"Ordner hierher ziehen oder klicken, um zu suchen",goToSlide:(e,t)=>`Zu Folie ${e} von ${t} gehen`,hidePassword:"Passwort verbergen",invalidDate:"Ung\xFCltiges Datum",loading:"Wird geladen",maximum:"H\xF6chstwert",minimum:"Minimum",mute:"Stummschalten",nextMonth:"N\xE4chster Monat",nextSlide:"N\xE4chste Folie",nextYear:"N\xE4chstes Jahr",noResults:"Keine Ergebnisse gefunden",notifications:"Benachrichtigungen",numFilesSelected:(e,t,a)=>e===0?t?a?"Keine Ordner ausgew\xE4hlt":"Kein Ordner ausgew\xE4hlt":a?"Keine Dateien ausgew\xE4hlt":"Keine Datei ausgew\xE4hlt":t?`${e} Ordner ausgew\xE4hlt`:`${e} Datei${e===1?"":"en"} ausgew\xE4hlt`,numOptionsSelected:e=>e===0?"":`Optionen ausgew\xE4hlt (${e})`,open:"\xD6ffnen",openTranscript:"Transkript \xF6ffnen",optionGroup:"Optionsgruppe",pauseAudio:"Audio pausieren",playAudio:"Audio abspielen",playbackSpeed:"Wiedergabe Geschwindigkeit",playVideo:"Video abspielen",previousMonth:"Vorheriger Monat",previousSlide:"Vorherige Folie",previousYear:"Vorheriges Jahr",progress:"Fortschritt",remove:"Entfernen",removed:e=>`${e} entfernt`,resize:"Gr\xF6\xDFe \xE4ndern",scrolled:"Gescrollt",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",search:"Suchen",seconds:e=>`${e} Sekunden`,seekBar:"Schieberegler f\xFCr Suche",selectAColorFromTheScreen:"Farbe vom Bildschirm ausw\xE4hlen",selectDefaultPlaceholder:"Bitte ausw\xE4hlen",selected:"Ausgew\xE4hlt",selectionCleared:"Auswahl gel\xF6scht",showLess:"Weniger anzeigen",showMore:"Mehr anzeigen",showPassword:"Passwort anzeigen",slideNum:(e,t)=>`Folie ${e} von ${t}`,startAutoplay:"Automatische Wiedergabe starten",startDateSelected:"Startdatum ausgew\xE4hlt",stopAutoplay:"Automatische Wiedergabe stoppen",tagsSelected:"Optionen ausgew\xE4hlt",toggleColorFormat:"Farbformat umschalten",transcriptIsOpen:"Transkript ist offen",truncatedBreadcrumbs:"Verk\xFCrzter Navigationspfad",unmute:"Unmute"};n(r);var l=r;export{l as a};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{a as $}from"./chunk.BJBQEPZV.js";import{a as k}from"./chunk.EOXYPQZI.js";import{a as C}from"./chunk.SVZV3YHZ.js";import{a as T}from"./chunk.CBQWVOOS.js";import{a as _}from"./chunk.MEDJPDBB.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a as v}from"./chunk.NYKJXI3Q.js";import{a as E,b as p,c as b,d as g,e as A,h as S}from"./chunk.5B33ZALC.js";import{b as P,e as m}from"./chunk.OBAEIKIV.js";import{d as M}from"./chunk.W4QBFD6E.js";import{e as r}from"./chunk.6EV4YU6C.js";function L(u,h,e){let i=t=>Object.is(t,-0)?0:t;return u<h?i(h):u>e?i(e):i(u)}function*I(u,h){if(u!==void 0){let e=0;for(let i of u)yield h(i,e++)}}function*O(u,h,e=1){let i=h===void 0?0:u;h!=null||(h=u);for(let t=i;e>0?t<h:h<t;t+=e)yield t}var o=class extends S{constructor(){super(...arguments);this.variant="number";this.inverted=!1;this.loop=!1;this.autoplay=!1;this.autoplayInterval=5;this.fade=!1;this.slidesPerPage=1;this.slidesPerMove=1;this.activeSlide=0;this.currentPage=1;this.pausedAutoplay=!1;this.isFocused=!1;this.autoplayController=new T(this,()=>{this.isFocused||this.next()});this.scrollController=new k(this);this.slides=this.getElementsByTagName("sd-7-0-0-next-11-carousel-item");this.intersectionObserverEntries=new Map;this.localize=new _(this);this.userInteracted=!1;this.fadeController=new $(this);this.handleUserInteraction=()=>{this.userInteracted=!0};this.handleSlotChange=e=>{e.some(t=>[...t.addedNodes,...t.removedNodes].some(s=>C.isCarouselItem(s)&&!s.hasAttribute("data-clone")))&&this.initializeSlides(),this.requestUpdate()};this.unblockAutoplay=(e,i)=>{e.detail&&i.blur()}}connectedCallback(){super.connectedCallback(),["click","keydown"].forEach(i=>this.addEventListener(i,this.handleUserInteraction)),this.addEventListener("focusin",this.handleFocus),this.addEventListener("focusout",this.handleBlur),this.addEventListener("keydown",this.handleKeyDown);let e=new IntersectionObserver(i=>{i.forEach(t=>{this.intersectionObserverEntries.set(t.target,t);let s=t.target;s.toggleAttribute("inert",!t.isIntersecting),s.classList.toggle("--in-view",t.isIntersecting),s.setAttribute("aria-hidden",t.isIntersecting?"false":"true")})},{root:this,threshold:.6});this.intersectionObserver=e,e.takeRecords().forEach(i=>{this.intersectionObserverEntries.set(i.target,i)})}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),["click","keydown"].forEach(e=>this.removeEventListener(e,this.handleUserInteraction)),this.removeEventListener("focusin",this.handleFocus),this.removeEventListener("focusout",this.handleBlur),this.removeEventListener("keydown",this.handleKeyDown),this.fade&&this.fadeController.disable()}async firstUpdated(){if((()=>{let i=this.getSlides({excludeClones:!1});return i.length>0&&i[0].getBoundingClientRect().width>0})())this.initializeSlides();else{let i=new IntersectionObserver(t=>{t.forEach(s=>{s.isIntersecting&&s.target.getBoundingClientRect().width>0&&(this.initializeSlides(),i.disconnect())})});i.observe(this)}this.mutationObserver=new MutationObserver(this.handleSlotChange),this.mutationObserver.observe(this,{childList:!0,subtree:!1}),this.fade&&(await this.updateComplete,this.fadeController.enable())}getPageCount(e,i,t){return Math.ceil((e-i)/t)+1>0?Math.ceil((e-i)/t)+1:1}getCurrentPage(e,i,t,s){return Math.ceil((e-t)/s)-Math.ceil((e-t-i)/s)+1}getSlides({excludeClones:e=!0}={}){return[...this.slides].filter(i=>!e||!i.hasAttribute("data-clone"))}handleKeyDown(e){if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let i=e.target,t=this.localize.dir()==="rtl",s=i.closest('[part~="pagination-item"]')!==null,n=e.key==="ArrowDown"||!t&&e.key==="ArrowRight"||t&&e.key==="ArrowLeft",c=e.key==="ArrowUp"||!t&&e.key==="ArrowLeft"||t&&e.key==="ArrowRight";e.preventDefault(),c&&this.previous(),n&&this.next(),e.key==="Home"&&this.goToSlide(0),e.key==="End"&&this.goToSlide(this.getSlides().length-1),s&&this.updateComplete.then(()=>{var a;let d=(a=this.shadowRoot)==null?void 0:a.querySelector('[part~="pagination-item--active"]');d&&d.focus()})}}handleScrollEnd(){if(this.fade)return;let e=this.getSlides(),t=[...this.intersectionObserverEntries.values()].find(s=>s.isIntersecting);if(this.loop&&(t!=null&&t.target.hasAttribute("data-clone"))){let s=Number(t.target.getAttribute("data-clone"));this.goToSlide(s,"auto");return}t&&(this.activeSlide=e.indexOf(t.target))}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}getSlideText(e){var n;let i=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ALL),s=t.nextNode();for(;s;){if(s.nodeType===Node.TEXT_NODE){let c=(n=s.textContent)==null?void 0:n.trim();c&&i.push(c)}else s instanceof HTMLImageElement&&s.alt&&i.push(s.alt);s=t.nextNode()}return i.join(" ")}pause(){this.pausedAutoplay=!0}resume(){this.pausedAutoplay=!1}handlePausedAutoplay(){this.pausedAutoplay?this.autoplayController.stop():this.autoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleFadeChange(){this.fade?this.fadeController.enable():this.fadeController.disable()}initializeSlides(){let e=this.getSlides(),i=this.intersectionObserver;if(this.intersectionObserverEntries.clear(),this.getSlides({excludeClones:!1}).forEach((t,s)=>{i.unobserve(t),t.classList.remove("--in-view"),t.classList.remove("--is-active"),t.setAttribute("aria-label",this.localize.term("slideNum",s+1,e.length)),t.hasAttribute("data-clone")&&t.remove()}),this.loop&&!this.fade){let t=this.slidesPerPage,s=e.slice(-t),n=e.slice(0,t);s.reverse().forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(e.length-d-1)),this.prepend(a)}),n.forEach((c,d)=>{let a=c.cloneNode(!0);a.setAttribute("data-clone",String(d)),this.append(a)})}this.getSlides({excludeClones:!1}).forEach(t=>{i.observe(t)}),this.fade&&this.updateComplete.then(()=>{this.fadeController.enable()}),this.fade||this.goToSlide(this.activeSlide,"auto")}handleSlideChange(){let e=this.getSlides();e.forEach((s,n)=>{s.classList.toggle("--is-active",n===this.activeSlide)}),this.fade&&this.fadeController.updateActiveSlide(this.activeSlide);let i=this.getCurrentPage(e.length,this.activeSlide,this.slidesPerPage,this.slidesPerMove);if(this.currentPage!==i&&(this.currentPage=i),this.hasUpdated&&(this.emit("sd-slide-change",{detail:{index:this.activeSlide,slide:e[this.activeSlide]}}),this.announcementRegion)){let s=this.getSlideText(e[this.activeSlide]),n=this.localize.term("slideNum",this.activeSlide+1,e.length);requestAnimationFrame(()=>{this.announcementRegion.textContent=s?`${s} ${n}`:n})}let t=this.getPageCount(e.length,this.slidesPerPage,this.slidesPerMove);this.currentPage>t&&requestAnimationFrame(()=>{this.nextTillFirst()})}handleSlidesPerMoveChange(){if(this.fade)return;let e=this.getSlides({excludeClones:!1}),i=this.slidesPerMove;e.forEach((t,s)=>{Math.abs(s-i)%i===0?t.style.removeProperty("scroll-snap-align"):t.style.setProperty("scroll-snap-align","none")})}handleAutoplayChange(){this.autoplayController.stop(),this.autoplay&&!this.pausedAutoplay&&this.autoplayController.start(this.autoplayInterval*1e3)}handleautoplayIntervalChange(){!this.autoplay||this.pausedAutoplay||(this.autoplayController.stop(),this.autoplayController.start(this.autoplayInterval*1e3))}previous(e="smooth"){if(this.fade){let s=this.loop?(this.activeSlide-1+this.getSlides().length)%this.getSlides().length:Math.max(0,this.activeSlide-1);this.goToSlide(s);return}let i=this.activeSlide||this.activeSlide-this.slidesPerMove,t=!1;for(;!t&&i>0;)i-=1,t=Math.abs(i-this.slidesPerMove)%this.slidesPerMove===0;this.currentPage-1===0&&this.loop?this.goToSlide(this.activeSlide-this.slidesPerPage,e):this.goToSlide(i,e)}next(e="smooth"){if(this.fade){let i=this.loop?(this.activeSlide+1)%this.getSlides().length:Math.min(this.getSlides().length-1,this.activeSlide+1);this.goToSlide(i);return}this.currentPage+1<=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove)?this.goToSlide(this.activeSlide+this.slidesPerMove,e):this.loop&&this.nextTillFirst(e)}nextTillFirst(e="smooth"){if(this.fade){this.goToSlide(0);return}for(;this.activeSlide!==0;)this.goToSlide(this.activeSlide+1,e);this.currentPage=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove)}goToSlide(e,i="smooth"){let{slidesPerPage:t,loop:s,scrollContainer:n,fade:c}=this,d=this.getSlides(),a=this.getSlides({excludeClones:!1}),f=(e+d.length)%d.length;if(this.activeSlide=f,c)return;let y=L(e+(s?t:0),0,a.length+1),B=a[y],w=n.getBoundingClientRect(),x=B.getBoundingClientRect();if(n.scrollTo({left:x.left-w.left+n.scrollLeft,top:x.top-w.top+n.scrollTop,behavior:M()?"auto":i}),this.userInteracted&&!this.loop){let z=this.activeSlide===d.length-1||this.activeSlide===this.slides.length-this.slidesPerPage,F=this.activeSlide===0;z?this.previousButton.focus({preventScroll:!0}):F&&this.nextButton.focus({preventScroll:!0})}}render(){let{scrollController:e,slidesPerMove:i}=this,t=this.getPageCount(this.getSlides().length,this.slidesPerPage,this.slidesPerMove),s=this.getCurrentPage(this.getSlides().length,this.activeSlide,this.slidesPerPage,this.slidesPerMove),n=this.loop||s>1,c=this.loop||s<t,d=this.localize.dir()==="ltr";return m`<div part="base" class="${l("carousel h-full w-full relative")}"><button class="${l("ml-6 !rounded-sm","!absolute !bottom-0 !right-0 sd-interactive",this.inverted?"sd-interactive--inverted":"sd-interactive--reset",!this.autoplay&&"!hidden")}" part="autoplay-controls" aria-label="${this.pausedAutoplay?this.localize.term("startAutoplay"):this.localize.term("stopAutoplay")}" aria-pressed="true" @click="${a=>{this.pausedAutoplay=!this.pausedAutoplay,a.detail&&this.autoplayControls.blur()}}"><slot name="autoplay-start" class="${l(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="${l(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="${l("carousel__slides mb-6 max-h-full w-full items-center justify-items-center",this.inverted?"focus-visible:focus-outline-inverted":"focus-visible:focus-outline",this.fade?"relative overflow-hidden":"grid overflow-auto overscroll-x-contain grid-flow-col auto-rows-[100%] snap-x snap-mandatory overflow-y-hidden")}" style="--slides-per-page:${this.slidesPerPage}" aria-busy="${e.scrolling?"true":"false"}" aria-label="${this.localize.term("carouselContainer",Array.from(this.slides).filter(a=>!a.hasAttribute("data-clone")).length)}" tabindex="0" @scrollend="${this.handleScrollEnd}"><slot></slot></div><div part="controls" class="${l("w-full flex items-center justify-center relative")}"><div part="navigation" class="${l("carousel__navigation flex items-center justify-center")}"><button part="navigation-button navigation-button--previous" id="carousel__navigation-button--previous" ?disabled="${!n}" class="${l("!mr-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!n&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("previousSlide")}" aria-controls="scroll-container" aria-disabled="${n?"false":"true"}" @click="${n?a=>{this.previous(),this.unblockAutoplay(a,this.previousButton)}:null}"><slot name="previous-icon"><sd-7-0-0-next-11-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-bottom":"chevron-top"}"></sd-7-0-0-next-11-icon></slot></button> ${this.variant==="dot"?m`<div part="pagination-dot" role="tablist" class="${l("carousel__pagination dot flex wrap items-center gap-2")}" aria-controls="scroll-container">${I(O(t),a=>{let f=a+1===s;return m`<button part="pagination-item ${f?"pagination-item--active":""}" class="${l("carousel__pagination-item","block cursor-pointer bg-none border-0 rounded-full",f?"bg-accent":"",this.inverted?"focus-within:focus-outline-inverted":"focus-within:focus-outline")}" role="tab" tabindex="0" aria-selected="${f?"true":"false"}" aria-label="${this.localize.term("goToSlide",a+1,t)}" @click="${y=>{this.goToSlide(a*i),this.unblockAutoplay(y,this.paginationItems[a])}}"><span class="${l("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",this.inverted?"sd-7-0-0-next-11-carousel__pager-dot--inverted-border hover:border-primary-200":"border-primary hover:border-primary-500",f&&"border-none",f?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":"")}"></span></button>`})}</div>`:m`<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="${l("w-5 text-center border-b-2",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")}">${s}</span> <span part="pagination-divider" class="${l("scale-y-[1.5]","text-center",this.inverted?"text-white":"text-black")}">/</span> <span part="pagination-item" class="${l("w-5 text-center",this.inverted?"text-white":"text-black")}">${t}</span></span>`} <button part="navigation-button navigation-button--next" id="carousel__navigation-button--next" ?disabled="${!c}" class="${l("!ml-6 !rounded-sm sd-interactive transition-colors duration-fast ease-in-out",!c&&"sd-interactive--disabled",this.inverted?"sd-interactive--inverted":"sd-interactive--reset")}" aria-label="${this.localize.term("nextSlide")}" aria-controls="scroll-container" aria-disabled="${c?"false":"true"}" @click="${c?a=>{this.next(),this.unblockAutoplay(a,this.nextButton)}:null}"><slot name="next-icon"><sd-7-0-0-next-11-icon class="${l("h-6 w-6 rotate-90 grid place-items-center")}" library="_internal" name="${d?"chevron-top":"chevron-bottom"}"></sd-7-0-0-next-11-icon></slot></button></div></div></div>`}};o.styles=[...S.styles,P`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
: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}`],r([g('[part~="autoplay-controls"]')],o.prototype,"autoplayControls",2),r([g('[part~="navigation-button--previous"]')],o.prototype,"previousButton",2),r([g('[part~="navigation-button--next"]')],o.prototype,"nextButton",2),r([A('[part~="pagination-item"]')],o.prototype,"paginationItems",2),r([p({type:String,reflect:!0})],o.prototype,"variant",2),r([p({type:Boolean,reflect:!0})],o.prototype,"inverted",2),r([p({type:Boolean,reflect:!0})],o.prototype,"loop",2),r([p({type:Boolean,reflect:!0})],o.prototype,"autoplay",2),r([p({type:Number,attribute:"autoplay-interval",reflect:!0})],o.prototype,"autoplayInterval",2),r([p({type:Boolean,reflect:!0})],o.prototype,"fade",2),r([p({type:Number,attribute:"slides-per-page",reflect:!0})],o.prototype,"slidesPerPage",2),r([p({type:Number,attribute:"slides-per-move",reflect:!0})],o.prototype,"slidesPerMove",2),r([g("slot:not([name])")],o.prototype,"defaultSlot",2),r([g(".carousel__slides")],o.prototype,"scrollContainer",2),r([g(".carousel__pagination")],o.prototype,"paginationContainer",2),r([g(".carousel__announcement")],o.prototype,"announcementRegion",2),r([b()],o.prototype,"activeSlide",2),r([b()],o.prototype,"currentPage",2),r([b()],o.prototype,"pausedAutoplay",2),r([b()],o.prototype,"isFocused",2),r([v("pausedAutoplay")],o.prototype,"handlePausedAutoplay",1),r([v("fade",{waitUntilFirstUpdate:!0})],o.prototype,"handleFadeChange",1),r([v("loop",{waitUntilFirstUpdate:!0}),v("slidesPerPage",{waitUntilFirstUpdate:!0})],o.prototype,"initializeSlides",1),r([v("activeSlide")],o.prototype,"handleSlideChange",1),r([v("slidesPerMove")],o.prototype,"handleSlidesPerMoveChange",1),r([v("autoplay")],o.prototype,"handleAutoplayChange",1),r([v("autoplayInterval")],o.prototype,"handleautoplayIntervalChange",1),o=r([E("sd-7-0-0-next-11-carousel")],o);export{o as a};
|
|
3
|
+
/*! Bundled license information:
|
|
4
|
+
|
|
5
|
+
lit-html/directives/map.js:
|
|
6
|
+
lit-html/directives/range.js:
|
|
7
|
+
(**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2021 Google LLC
|
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
+
*)
|
|
12
|
+
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c,h as e}from"./chunk.
|
|
2
|
-
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-7-0-0-next-
|
|
1
|
+
import{a as c,h as e}from"./chunk.5B33ZALC.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-7-0-0-next-11-carousel-item")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.5B33ZALC.js";import{b as m,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-7-0-0-next-11-checkbox")]}async syncCheckboxElements(){let a=this.getAllCheckboxes();await Promise.all(a.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-7-0-0-next-11-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-7-0-0-next-11-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let a=this.hasSlotController.test("label"),l=this.label?!0:a,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${i("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${i("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${i({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-11-checkbox){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-11-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-11-checkbox){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-11-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-11-checkbox){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-11-checkbox:last-of-type){margin-right:0}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-7-0-0-next-11-checkbox-group")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.5B33ZALC.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new h(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return o`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-7-0-0-next-11-menu--disabled-color-text hover:bg-transparent":"cursor-pointer sd-7-0-0-next-11-menu-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?o`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-7-0-0-next-11-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-7-0-0-next-11-icon></span>`:""} ${p.iconIndent?o`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?o`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-7-0-0-next-11-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-7-0-0-next-11-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-7-0-0-next-11-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}[part=checked-icon]{margin-right:var(--sd-spacing-3)}.submenu-expanded::after{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}//TODO clean up sd-7-0-0-next-11-menu-color-icon variable replacing with sd-7-0-0-next-11-menu-item-color-icon-fill (breakingchange) :host [part=icon-indent],:host [part=checked-icon],:host [part=submenu-icon]{color:rgba(var(--sd-menu-color-icon,var(--sd-menu-item-color-icon-fill)))}//TODO clean up sd-7-0-0-next-11-menu--disabled-color-icon variable replacing with sd-7-0-0-next-11-menu-item--disabled-color-icon-fill (breakingchange) :host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu--disabled-color-icon,var(--sd-menu-item--disabled-color-icon-fill)))}sd-7-0-0-next-11-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white));margin-left:var(--submenu-offset)}::slotted(sd-7-0-0-next-11-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-7-0-0-next-11-menu-color-text{color:rgba(var(--sd-menu-color-text,var(--sd-menu-item-color-text)))}.sd-7-0-0-next-11-menu--disabled-color-text{color:rgba(var(--sd-menu--disabled-color-text,var(--sd-menu-item--disabled-color-text)))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([i()],e.prototype,"type",2),t([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([a("checked")],e.prototype,"handleCheckedChange",1),t([a("disabled")],e.prototype,"handleDisabledChange",1),t([a("type")],e.prototype,"handleTypeChange",1),e=t([d("sd-7-0-0-next-11-menu-item")],e);export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as c}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.5B33ZALC.js";import{b as s,e as r}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-7-0-0-next-11-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-7-0-0-next-11-tab-panel")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.5B33ZALC.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Rt('[part="popup"]')],y.prototype,"popup",2),A([Rt('[part="arrow"]')],y.prototype,"arrowEl",2),A([O({reflect:!0})],y.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],y.prototype,"active",2),A([O({type:String,reflect:!0})],y.prototype,"placement",2),A([O({type:String,reflect:!0})],y.prototype,"strategy",2),A([O({type:Number,reflect:!0})],y.prototype,"distance",2),A([O({type:Number,reflect:!0})],y.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],y.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],y.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],y.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],y.prototype,"flipFallbackStrategy",2),A([O({type:Object})],y.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],y.prototype,"flipPadding",2),A([O({type:Boolean})],y.prototype,"shift",2),A([O({type:Object})],y.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],y.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],y.prototype,"autoSize",2),A([O()],y.prototype,"sync",2),A([O({type:Object})],y.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],y.prototype,"autoSizePadding",2),y=A([Dt("sd-7-0-0-next-11-popup")],y);export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as h}from"./chunk.R5GIN36W.js";import{a as s}from"./chunk.LHSR56PH.js";import{a as r}from"./chunk.B2NUKX6G.js";import{a,b as p}from"./chunk.NL7YFV4O.js";import{a as e}from"./chunk.4ZZFYCXX.js";import{a as d,b as m,h as c}from"./chunk.5B33ZALC.js";import{b as l}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.expandable=!1}render(){let i=this.expandable?a`details`:a`div`,n=this.expandable?a`summary`:a`div`;return p`<${i} part="base" class="sm:p-6"><${n} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"sd-7-0-0-next-11-quickfact--expandable-color-text":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-7-0-0-next-11-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-7-0-0-next-11-icon></slot></span></${n}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${i}>`}};t.styles=[...c.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=summary-icon]{color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=icon]{font-size:var(--sd-spacing-12,3rem);color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],o([m({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=o([d("sd-7-0-0-next-11-quickfact")],t);r("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});r("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as r}from"./chunk.LHSR56PH.js";import{a as l,b as n}from"./chunk.NL7YFV4O.js";import{a as f}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as u,b as s,d as b,h as d}from"./chunk.5B33ZALC.js";import{b as h}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends d{constructor(){super(...arguments);this.localize=new f(this);this.size="lg";this.selected=!1;this.toggleable=!1;this.removable=!1;this.disabled=!1;this.href=""}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleRemove(){this.emit("sd-remove")}isLink(){return!!this.href}click(){this.tag.click()}focus(t){this.tag.focus(t)}blur(){this.tag.blur()}async hide(){this.emit("sd-hide"),this.style.opacity="0",await new Promise(t=>setTimeout(t,this.token("--sd-duration-fast",150))),this.hidden=!0,this.emit("sd-after-hide")}render(){let t=this.isLink(),a=this.removable&&!this.selected&&!this.toggleable,c=t?l`a`:a?l`div`:l`button`;return n`<${c} part="base" type="${r(t?void 0:"button")}" href="${r(t?this.href:void 0)}" rel="${r(t&&this.target?"noreferrer noopener":void 0)}" target="${r(t?this.target:void 0)}" download="${r(t?this.download:void 0)}" ?disabled="${r(t?void 0:this.disabled)}" aria-labelledby="content" aria-disabled="${this.disabled?"true":"false"}" aria-pressed="${r(this.toggleable?this.selected:void 0)}" tabindex="${this.disabled||a?"-1":"0"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" class="${o("flex border box-border sd-7-0-0-next-11-tag-border-radius items-center leading-none whitespace-nowrap transition-colors duration-fast ease-in-out focus-visible:focus-outline",{lg:"h-8 sd-7-0-0-next-11-tag-font-weight sd-7-0-0-next-11-tag--size-lg-font-size gap-2",sm:"h-6 sd-7-0-0-next-11-tag-font-weight sd-7-0-0-next-11-tag--size-sm-font-size gap-1"}[this.size],{lg:a?"sd-7-0-0-next-11-tag--removable--size-lg-padding-right sd-7-0-0-next-11-tag--removable--size-lg-padding-left py-3":"py-2 sd-7-0-0-next-11-tag--size-lg-padding-inline",sm:a?"sd-7-0-0-next-11-tag--removable--size-sm-padding-right sd-7-0-0-next-11-tag--removable--size-sm-padding-left py-2":"py-1 sd-7-0-0-next-11-tag--size-sm-padding-inline"}[this.size],this.disabled?o(!t&&"cursor-not-allowed",this.selected&&"bg-neutral-500 text-white","sd-7-0-0-next-11-tag--disabled-color-border sd-7-0-0-next-11-tag--disabled-color-text"):this.selected?"sd-7-0-0-next-11-tag--selected-border-width sd-7-0-0-next-11-tag--selected--default-color-background sd-7-0-0-next-11-tag--selected--default-color-border sd-7-0-0-next-11-tag--selected--default-color-text hover:sd-7-0-0-next-11-tag--selected--hover-color-background hover:sd-7-0-0-next-11-tag--selected--hover-color-border hover:sd-7-0-0-next-11-tag--selected--hover-color-text":o("sd-7-0-0-next-11-tag--default-color-border sd-7-0-0-next-11-tag--default-color-text",a?"sd-7-0-0-next-11-tag--default-color-background has-[button:hover]:border-primary-500 has-[button:hover]:text-primary-500":"sd-7-0-0-next-11-tag--default-color-background hover:border-primary-500 hover:text-primary-500 hover:sd-7-0-0-next-11-tag--default--hover-color-background"))}"><slot name="icon-left" class="${o("flex-shrink-0",this.size==="lg"?"text-base":"text-[0.75rem]")}"></slot><slot id="content" part="content"></slot>${a&&!t?n`<button class="sd-interactive flex items-center" type="button" @click="${this.handleRemove}" ?disabled="${r(t?void 0:this.disabled)}"><slot part="removable-indicator" name="removable-indicator" class="${o(this.disabled&&"sd-7-0-0-next-11-tag--disabled-color-text")}"><sd-7-0-0-next-11-icon library="_internal" name="close" label="${this.localize.term("remove")}"></sd-7-0-0-next-11-icon></slot></button>`:""}</${c}>`}};e.styles=[...d.styles,h`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:inline-block;transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([size=lg])::part(removable-indicator){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=sm])::part(removable-indicator){font-size:.75rem}.sd-7-0-0-next-11-tag--disabled-color-border{border-color:rgb(var(--sd-tag--disabled-color-border))}.sd-7-0-0-next-11-tag-font-weight{font-weight:var(--sd-tag-font-weight)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([b("a, button, div")],e.prototype,"tag",2),i([s({type:String,reflect:!0})],e.prototype,"size",2),i([s({type:Boolean,reflect:!0})],e.prototype,"selected",2),i([s({type:Boolean,reflect:!0})],e.prototype,"toggleable",2),i([s({type:Boolean,reflect:!0})],e.prototype,"removable",2),i([s({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([s({type:String,reflect:!0})],e.prototype,"href",2),i([s({type:String,reflect:!0})],e.prototype,"target",2),i([s({reflect:!0})],e.prototype,"download",2),e=i([u("sd-7-0-0-next-11-tag")],e);export{e as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-next-
|
|
1
|
+
var p=t=>Array.from(t.assignedElements({flatten:!0})),o=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-next-11-option"?t:Array.from(t.querySelectorAll(":scope > sd-7-0-0-next-11-option")),e=t=>t.tagName.toLocaleLowerCase()==="sd-7-0-0-next-11-optgroup",r=t=>t.map(o),n=t=>t.filter(e),s=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase();export{p as a,o as b,e as c,r as d,n as e,s as f};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l,b as i,g as c,h as o}from"./chunk.
|
|
2
|
-
:host{display:block}::slotted(sd-7-0-0-next-
|
|
1
|
+
import{a as l,b as i,g as c,h as o}from"./chunk.5B33ZALC.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}::slotted(sd-7-0-0-next-11-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-7-0-0-next-11-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-7-0-0-next-11-accordion-group")],e);export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as y}from"./chunk.I2H6CZK5.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as r,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.MEDJPDBB.js";import{a as f}from"./chunk.4ZZFYCXX.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as w,b as n,d,h}from"./chunk.5B33ZALC.js";import{b as v,e as c}from"./chunk.OBAEIKIV.js";import{b as i,e as u}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1}firstUpdated(){this.drawer.addEventListener("cancel",e=>{e.preventDefault(),this.requestClose("keyboard")}),this.open&&this.drawer.showModal()}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let a=s(this,"drawer.denyClose",{dir:this.localize.dir()});i(this.panel,a.keyframes,a.options);return}this.hide()}async handleOpenChange(){var p;let e=(p=this.closeButton.shadowRoot)==null?void 0:p.querySelector('[part="base"]');if(this.open){this.emit("sd-show");let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await u(this.drawer),this.drawer.showModal(),this.drawer.removeAttribute("inert");let l=s(this,"drawer.overlay.show",{dir:this.localize.dir()});i(this.overlay,l.keyframes,l.options);let b=s(this,`drawer.show${y(this.placement)}`,{dir:this.localize.dir()});await i(this.panel,b.keyframes,b.options),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()}),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.drawer);let a=s(this,"drawer.overlay.hide",{dir:this.localize.dir()});i(this.overlay,a.keyframes,a.options);let l=s(this,`drawer.hide${y(this.placement)}`,{dir:this.localize.dir()});await i(this.panel,l.keyframes,l.options),this.drawer.close(),this.drawer.setAttribute("inert",""),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return c`<dialog id="drawer" part="base" class="top-0 start-0 w-full h-full p-0 bg-transparent border-none max-w-none max-h-none" aria-label="${this.label}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${f("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[var(--width)] h-full",start:"top-0 end-auto bottom-auto start-0 w-[var(--width)] h-full"}[this.placement])}" aria-label="${this.label}" tabindex="0">${this.noHeader?c`<sd-7-0-0-next-11-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-7-0-0-next-11-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-0-next-11-icon></sd-7-0-0-next-11-button>`:c`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-7-0-0-next-11-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-7-0-0-next-11-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-7-0-0-next-11-icon></sd-7-0-0-next-11-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${f(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></dialog>`}};t.styles=[...h.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{--width:25rem;display:contents}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:0;width:0}:host [part=panel]{outline:1px solid rgb(var(--sd-panel-color-border,transparent))}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}`],o([d("[part=base]")],t.prototype,"drawer",2),o([d("[part=overlay]")],t.prototype,"overlay",2),o([d("[part=panel]")],t.prototype,"panel",2),o([d("[part=close-button]")],t.prototype,"closeButton",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),o([n({type:String,reflect:!0})],t.prototype,"placement",2),o([n({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),o([g("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-7-0-0-next-11-drawer")],t);r("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});r("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});r("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"linear"}});r("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"linear"}});export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as n}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as o}from"./chunk.5B33ZALC.js";import{b as i,e as l}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.orientation="horizontal";this.inverted=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}render(){return l`<hr part="main" aria-orientation="${this.orientation}" class="${n(this.inverted?"sd-7-0-0-next-11-divider--inverted-color-border":"border-neutral-400",this.orientation==="horizontal"?"border-t w-full":" border-l h-full")}">`}};t.styles=[...o.styles,i`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{margin:0}:host(sd-7-0-0-next-11-divider[orientation=horizontal]){display:block}:host(sd-7-0-0-next-11-divider[orientation=vertical]){display:inline-block}`],e([r({type:String,reflect:!0})],t.prototype,"orientation",2),e([r({type:Boolean,reflect:!0})],t.prototype,"inverted",2),t=e([a("sd-7-0-0-next-11-divider")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as i}from"./chunk.4ZZFYCXX.js";import{a,b as r,h as s}from"./chunk.5B33ZALC.js";import{b as n,e as d}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends s{constructor(){super(...arguments);this.size="lg";this.variant="blue";this.inverted=!1}render(){return d`<span part="base" aria-labelledby="content" class="${i("inline-flex items-center justify-center gap-x-[1px] text-center font-bold whitespace-nowrap border rounded-full select-none cursor-[inherit]",{blue:this.inverted?"sd-7-0-0-next-11-badge--blue--inverted-color-text sd-7-0-0-next-11-badge--blue--inverted-color-background sd-7-0-0-next-11-badge--inverted-color-border":"text-white sd-7-0-0-next-11-badge--blue-color-background border-white",green:this.inverted?"sd-7-0-0-next-11-badge--green-color--inverted-text sd-7-0-0-next-11-badge--green-color--inverted-background sd-7-0-0-next-11-badge--inverted-color-border":"text-white sd-7-0-0-next-11-badge--green-color-background border-white",red:this.inverted?"sd-7-0-0-next-11-badge--red--inverted-text sd-7-0-0-next-11-badge--red--inverted-background sd-7-0-0-next-11-badge--inverted-color-border":"text-white sd-7-0-0-next-11-badge--red-color-background border-white"}[this.variant])}"><span id="content" part="content" class="${i(this.size==="sm"&&"sr-only")}"><slot></slot></span></span>`}};e.styles=[...s.styles,n`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
: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}`],t([r({type:String,reflect:!0})],e.prototype,"size",2),t([r({type:String,reflect:!0})],e.prototype,"variant",2),t([r({type:Boolean,reflect:!0})],e.prototype,"inverted",2),e=t([a("sd-7-0-0-next-11-badge")],e);export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as b}from"./chunk.OKNJ5BPS.js";import{a as T}from"./chunk.MHWW3RZB.js";import{a as f}from"./chunk.LHSR56PH.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as g,b as y,c as v,d as h,h as u}from"./chunk.5B33ZALC.js";import{b as m,e as d}from"./chunk.OBAEIKIV.js";import{a as p,e as l}from"./chunk.6EV4YU6C.js";var a=class extends u{constructor(){super(...arguments);this.localize=new w(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.variant="default";this.canScroll={left:!1,right:!1};this.activation="auto"}connectedCallback(){let t=Promise.all([customElements.whenDefined("sd-7-0-0-next-11-tab"),customElements.whenDefined("sd-7-0-0-next-11-tab-panel")]);super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.updateScrollControls(),this.repositionIndicator()}),this.mutationObserver=new MutationObserver(i=>{i.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),i.some(e=>e.attributeName==="disabled")&&this.syncTabsAndPanels()}),this.updateComplete.then(()=>{this.syncTabsAndPanels(),this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.nav.addEventListener("scroll",()=>this.handleScroll()),t.then(()=>{new IntersectionObserver((e,o)=>{var s;e[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((s=this.activeTab)!=null?s:this.tabs[0],{emitEvents:!1}),o.unobserve(e[0].target))}).observe(this.tabGroup)})})}updated(t){!t.get("canScroll")&&this.canScroll&&this.handleScroll()}disconnectedCallback(){var t;this.mutationObserver.disconnect(),this.nav&&((t=this.resizeObserver)==null||t.unobserve(this.nav))}getAllTabs(t={includeDisabled:!0}){let i=this.shadowRoot.querySelector('slot[name="nav"]');return Array.from(i.assignedElements()).map(e=>e.tagName.toLocaleLowerCase()==="sd-7-0-0-next-11-tab"?e:e.querySelector("sd-7-0-0-next-11-tab")).filter(e=>e&&t.includeDisabled?e.tagName.toLowerCase()==="sd-7-0-0-next-11-tab":e.tagName.toLowerCase()==="sd-7-0-0-next-11-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-0-next-11-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.matches(":focus"))}handleClick(t){let e=t.target.closest("sd-7-0-0-next-11-tab");(e==null?void 0:e.closest("sd-7-0-0-next-11-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("sd-7-0-0-next-11-tab");if((e==null?void 0:e.closest("sd-7-0-0-next-11-tab-group"))===this){if(["Enter"," "].includes(t.key)&&e!==null&&(this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()),["Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s+1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["Shift","Tab"].includes(t.key)){let s=this.tabs.indexOf(this.getActiveTab()),n=this.tabs[s-1];e!==null&&n&&b(n,this.nav,"horizontal")}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(t.key)){let s=this.tabs.find(r=>r.matches(":focus")),n=this.localize.dir()==="rtl";if((s==null?void 0:s.tagName.toLowerCase())==="sd-7-0-0-next-11-tab"){let r=this.tabs.indexOf(s);t.key==="Home"?r=0:t.key==="End"?r=this.tabs.length-1:t.key===(n?"ArrowRight":"ArrowLeft")||t.key==="ArrowUp"?r--:(t.key===(n?"ArrowLeft":"ArrowRight")||t.key==="ArrowDown")&&r++,r<0&&(r=this.tabs.length-1),r>this.tabs.length-1&&(r=0),this.tabs[r].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[r],{scrollBehavior:"smooth"}),b(this.tabs[r],this.nav,"horizontal"),t.preventDefault()}}}}handleScroll(){this.canScroll={left:this.nav.scrollLeft>0,right:this.nav.scrollLeft+this.nav.clientWidth<this.nav.scrollWidth-1}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}setActiveTab(t,i){if(i=p({emitEvents:!0,scrollBehavior:"auto"},i),t!==this.activeTab&&!t.disabled&&!t.visuallyDisabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(o=>o.active=o===this.activeTab),this.panels.map(o=>{var s;return o.active=o.name===((s=this.activeTab)==null?void 0:s.panel)}),this.repositionIndicator(),b(this.activeTab,this.nav,"horizontal",i.scrollBehavior),i.emitEvents&&(e&&this.emit("sd-tab-hide",{detail:{name:e.panel}}),this.emit("sd-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let i=this.panels.find(e=>e.name===t.panel);i&&t.setAttribute("aria-controls",i.getAttribute("id"))})}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels(),this.repositionIndicator(),this.panels.forEach(t=>{t.tabIndex=0}),this.updateComplete.then(()=>this.updateScrollControls()),this.tabs.length!==0&&this.tabs[0].variant==="container"&&(this.variant="container")}updateScrollControls(){this.hasScrollControls=this.nav.scrollWidth>this.nav.clientWidth}async repositionIndicator(){await this.updateComplete;let t=this.activeTab,i=this.indicator,e=this.tabsContainer;if(!t||!i||!e||t.variant==="container")return;let o=t.getBoundingClientRect(),s=e.getBoundingClientRect(),n=getComputedStyle(e).justifyContent==="center",r=s.left+s.width/2,A=o.left+o.width/2,x=t.offsetWidth,C=n?A-r:o.left-s.left;i.style.width=`${x}px`,i.style.transform=`translateX(${C}px)`}show(t){let i=this.tabs.find(e=>e.panel===t);i&&this.setActiveTab(i,{scrollBehavior:"smooth"})}render(){var i;let t=this.localize.dir()==="rtl";return d`<div part="base" class="${c("flex flex-col rounded-none")}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}"><div part="nav" class="${c(this.hasScrollControls&&"relative py-0 px-12")}">${this.hasScrollControls?d`<button part="scroll-button--start" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.left||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 left-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"left-auto right-0")}" @click="${this.handleScrollToStart}"><sd-7-0-0-next-11-icon library="_internal" name="${t?"chevron-top":"chevron-bottom"}" label="previous" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-next-11-icon></button>`:""}<div part="scroll-container" class="flex overflow-x-auto focus-visible:focus-outline !outline-offset-0"><div part="tabs" class="${c("flex flex-auto relative flex-row")}" role="tablist">${((i=this.activeTab)==null?void 0:i.variant)!=="container"?d`<div part="active-tab-indicator" id="indicator" class="absolute h-1 bg-accent bottom-0 transition-[transform,width] duration-medium ease-in-out z-30 navigable__current-indicator-height navigable__current-indicator-border-radius"></div>`:""}<div part="separation" class="border-neutral-400 absolute w-full h-0.25 bottom-0 border-b z-10"></div><slot name="nav" @slotchange="${this.syncTabsAndPanels}"></slot></div></div>${this.hasScrollControls?d`<button part="scroll-button--end" exportparts="base:scroll-button__base" tabindex="-1" aria-hidden="true" disabled="${f(!this.canScroll.right||void 0)}" class="${c("sd-interactive flex items-center justify-center absolute top-0 bottom-0 right-0 !outline-offset-0 border-b border-neutral-400 z-10",this.localize.dir()==="rtl"&&"right-auto left-0")}" @click="${this.handleScrollToEnd}"><sd-7-0-0-next-11-icon library="_internal" name="${t?"chevron-bottom":"chevron-top"}" label="next" class="${c("h-6 w-12 rotate-90 grid place-items-center")}"></sd-7-0-0-next-11-icon></button>`:""}</div><slot part="body" class="${c("block auto py-8 px-6",this.variant==="container"&&"border border-neutral-400 border-t-0")}" @slotchange="${this.syncTabsAndPanels}"></slot></div>`}};a.styles=[...u.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{box-sizing:border-box;display:block}[part=scroll-container]{scrollbar-width:none}[part=scroll-container]::-webkit-scrollbar{height:0;width:0}::slotted(sd-7-0-0-next-11-tab-panel){--padding:1rem 0}::slotted(sd-7-0-0-next-11-tab-panel:focus-visible){outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary)}`],l([h("[part=base]")],a.prototype,"tabGroup",2),l([h("[part=body]")],a.prototype,"body",2),l([h("[part=scroll-container]")],a.prototype,"nav",2),l([h("[part=active-tab-indicator]")],a.prototype,"indicator",2),l([h('[part="tabs"]')],a.prototype,"tabsContainer",2),l([v()],a.prototype,"hasScrollControls",2),l([v()],a.prototype,"variant",2),l([v()],a.prototype,"canScroll",2),l([y({type:String,reflect:!0})],a.prototype,"activation",2),l([T(20)],a.prototype,"handleScroll",1),a=l([g("sd-7-0-0-next-11-tab-group")],a);export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.
|
|
1
|
+
import{a as v}from"./chunk.SAEYIL5V.js";import{a as b}from"./chunk.ERP45OHF.js";import{b as u}from"./chunk.LZRL7OLU.js";import{a as m}from"./chunk.LHSR56PH.js";import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as c,b as o,c as h,d as s,h as n}from"./chunk.5B33ZALC.js";import{b as d,e as l}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"tooltip");this.formControlController=new u(this,{value:r=>r.checked?r.value||"on":void 0,defaultValue:r=>r.defaultChecked,setValue:(r,f)=>r.checked=f});this.showInvalidStyle=!1;this.title="";this.name="";this.disabled=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleClick(){this.checked=!this.checked,this.emit("sd-change")}handleBlur(){this.emit("sd-blur")}handleInput(){this.emit("sd-input")}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r),this.invalidMessage.textContent=r.target.validationMessage}handleFocus(){this.emit("sd-focus")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}click(){this.input.click()}focus(r){this.input.focus(r)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(r){this.input.setCustomValidity(r),this.formControlController.updateValidity()}render(){return l`<div class="flex flex-row items-center gap-2"><label part="base" class="${i("group flex items-center text-base leading-normal text-black cursor-pointer",this.disabled&&"hover:cursor-not-allowed")}"><input id="input" class="peer absolute opacity-0 p-0 m-0 pointer-events-none" type="checkbox" role="switch" title="${this.title}" name="${this.name}" value="${m(this.value)}" .checked="${v(this.checked)}" .disabled="${this.disabled}" .required="${this.required}" aria-checked="${this.checked?"true":"false"}" aria-invalid="${this.showInvalidStyle}" aria-describedby="invalid-message" @click="${this.handleClick}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @blur="${this.handleBlur}" @focus="${this.handleFocus}"> <span id="control" part="control ${this.checked?" control--checked":"control--unchecked"}" class="${i(`relative flex flex-initial items-center justify-center sd-7-0-0-next-11-switch-border-width rounded-full h-4 w-8 transition-colors ease duration-100
|
|
2
2
|
peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2
|
|
3
|
-
peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-0-next-
|
|
4
|
-
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-7-0-0-next-
|
|
3
|
+
peer-focus-visible:outline-primary outline-transparent transition-colors ease-in-out duration-medium hover:duration-fast`,this.disabled&&this.checked?"bg-neutral-500":this.disabled?"border-neutral-500":this.showInvalidStyle?this.checked?"border-error bg-error hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":"border-error bg-white hover:border-error-400 hover:bg-white group-hover:border-error-400 group-hover:bg-white":this.checked?"border-accent hover:sd-7-0-0-next-11-switch--checked--hover-color-background bg-accent hover:border-accent-550 group-hover:border-accent-550 group-hover:sd-7-0-0-next-11-switch--checked--hover-color-background":"sd-7-0-0-next-11-switch--unchecked-color-border bg-white hover:sd-7-0-0-next-11-switch--unchecked--hover-color-background group-hover:sd-7-0-0-next-11-switch--unchecked--hover-color-background")}"><span id="thumb" part="thumb" class="${i("w-2.5 h-2.5 rounded-full transition[transform,colors] ease-in-out duration-medium",this.disabled&&this.checked?"translate-x-2":this.disabled?"-translate-x-2":this.showInvalidStyle?this.checked?"translate-x-2":"bg-error -translate-x-2 hover:bg-error-400 hover:border-error-400 group-hover:border-error-400 group-hover:bg-error-400":this.checked?"translate-x-2":"-translate-x-2 sd-7-0-0-next-11-switch--unchecked__icon-color-background")}"></span> </span><span part="label" id="label" class="${i("select-none inline-block ml-2",this.disabled?"text-neutral-500":"sd-7-0-0-next-11-switch-color-text")}"><slot></slot></span></label> ${this.hasSlotController.test("tooltip")?l`<slot name="tooltip"></slot>`:null}</div><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?l`<sd-7-0-0-next-11-icon part="invalid-icon" class="${i("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-11-icon>`:""} ${this.formControlController.renderInvalidMessage("lg")}</div>`}};e.styles=[...n.styles,d`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
4
|
+
:host{display:block;width:-moz-max-content;width:max-content}:host(:focus-visible){--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}:host([disabled][checked]) #control{border-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}:host([checked]) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-white,rgba(var(--sd-color-white))))}:host([disabled]:not([checked])) [part=thumb]{background-color:rgba(var(--sd-color-icon-fill-neutral-500,rgba(var(--sd-color-neutral-500))))}`],t([s("input")],e.prototype,"input",2),t([s("#invalid-message")],e.prototype,"invalidMessage",2),t([h()],e.prototype,"showInvalidStyle",2),t([o({type:String,reflect:!0})],e.prototype,"title",2),t([o({type:String,reflect:!0})],e.prototype,"name",2),t([o()],e.prototype,"value",2),t([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([o({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([b("checked")],e.prototype,"defaultChecked",2),t([o({reflect:!0})],e.prototype,"form",2),t([o({type:Boolean,reflect:!0})],e.prototype,"required",2),t([a("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),t([a(["checked"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),e=t([c("sd-7-0-0-next-11-switch")],e);export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as y}from"./chunk.LHSR56PH.js";import{a as x}from"./chunk.CGQ2BPPZ.js";import{a as t,c as a}from"./chunk.B2NUKX6G.js";import{a as f}from"./chunk.KLRPP4NQ.js";import{a as M}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as p,h as m}from"./chunk.5B33ZALC.js";import{b as v,e as n}from"./chunk.OBAEIKIV.js";import{b as l,e as u}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var o=class extends m{constructor(){super(...arguments);this.hasSlotController=new x(this,"footer");this.localize=new M(this);this.hasUiMotion=!1;this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.updateMotionTheme()}firstUpdated(){this.dialog.addEventListener("cancel",e=>{e.preventDefault(),this.requestClose("keyboard")}),this.open&&this.dialog.showModal()}onThemeChange(){this.updateMotionTheme()}updateMotionTheme(){let e=getComputedStyle(this).getPropertyValue("--sd-theme").trim().replace(/['"]/g,"");this.hasUiMotion=e===""||e==="ui-light"||e==="ui-dark"}get prefersReducedMotion(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let s=a(this,this.hasUiMotion?"dialog.denyClose":"dialog.denyCloseSimple",{dir:this.localize.dir()});l(this.panel,s.keyframes,s.options);return}this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show");let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await u(this.dialog),this.dialog.showModal(),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let r=this.hasUiMotion?"dialog.show":"dialog.showSimple",s=this.prefersReducedMotion?a(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):a(this,r,{dir:this.localize.dir()}),d=this.hasUiMotion?"dialog.overlay.show":"dialog.overlay.showSimple",g=a(this,d,{dir:this.localize.dir()});await Promise.all([l(this.panel,s.keyframes,s.options),l(this.overlay,g.keyframes,g.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.dialog);let e=this.hasUiMotion?"dialog.hide":"dialog.hideSimple",r=this.prefersReducedMotion?a(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):a(this,e,{dir:this.localize.dir()}),s=this.hasUiMotion?"dialog.overlay.hide":"dialog.overlay.hideSimple",d=a(this,s,{dir:this.localize.dir()});await Promise.all([l(this.overlay,d.keyframes,d.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,r.keyframes,r.options).then(()=>{this.panel.hidden=!0})]),this.dialog.close(),this.overlay.hidden=!1,this.panel.hidden=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,f(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,f(this,"sd-after-hide")}render(){return n`<sd-7-0-0-next-11-theme-listener></sd-7-0-0-next-11-theme-listener><dialog part="base" class="${c("flex items-center justify-center p-0 m-auto bg-transparent border-none overflow-visible",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${c("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",this.open&&"flex opacity-100")}" aria-label="${y(this.headline?this.headline:void 0)}" aria-labelledby="${y(this.headline?void 0:"title")}" 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?n`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:n`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":n`<sd-7-0-0-next-11-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${c("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-7-0-0-next-11-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-0-next-11-icon></sd-7-0-0-next-11-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>`}};o.styles=[...m.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
: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}}`],i([p('[part="base"]')],o.prototype,"dialog",2),i([p('[part="overlay"]')],o.prototype,"overlay",2),i([p('[part="panel"]')],o.prototype,"panel",2),i([h({type:Boolean,reflect:!0})],o.prototype,"open",2),i([h({type:String,reflect:!0})],o.prototype,"headline",2),i([h({attribute:"no-close-button",type:Boolean,reflect:!0})],o.prototype,"noCloseButton",2),i([b("open",{waitUntilFirstUpdate:!0})],o.prototype,"handleOpenChange",1),o=i([w("sd-7-0-0-next-11-dialog")],o);t("dialog.show",{keyframes:[{opacity:0,transform:"translate(-50%, 100%)"},{opacity:1,transform:"translate(0, 0)"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});t("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.showSimple",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});t("dialog.hide",{keyframes:[{opacity:1,transform:"translate(0, 0)"},{opacity:0,transform:"translate(50%, -100%)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});t("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.hideSimple",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});t("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.denyCloseSimple",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});t("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.showSimple",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250,reducedMotion:"allow"}});t("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});t("dialog.overlay.hideSimple",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250,reducedMotion:"allow"}});export{o as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{a as y}from"./chunk.LHSR56PH.js";import{a as h,c as p}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as b}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as s,h as c}from"./chunk.5B33ZALC.js";import{b as u,e as g}from"./chunk.OBAEIKIV.js";import{b as r,e as l,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new b(this)}updateMaxHeight(){var n;let e=(n=this.contentPreview)==null?void 0:n.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:n}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),n),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return g`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom" class="text-xl"></sd-7-0-0-next-11-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-7-0-0-next-11-icon library="_internal" name="chevron-bottom" class="text-xl"></sd-7-0-0-next-11-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${y(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(x=>{let w=x.cloneNode(!0);e.appendChild(w)}),this.appendChild(e)}};t.styles=[...c.styles,u`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(
|
|
3
|
+
--gradient-color-start,
|
|
4
|
+
transparent,
|
|
5
|
+
var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))))
|
|
6
|
+
) 80%,var(--gradient-color-end, rgba(var(--sd-color-background-white, rgba(var(--sd-color-white))))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:0}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:0;left:0;display:block;width:100%;opacity:var(--sd-opacity-0);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient));pointer-events:none}:host([inverted]){--gradient-color-start:transparent;--gradient-color-end:rgba(var(--sd-color-background-primary) / 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([s(".content-preview")],t.prototype,"contentPreview",2),i([s("details")],t.prototype,"details",2),i([s('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([v("sd-7-0-0-next-11-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.R5GIN36W.js";import"../../chunks/chunk.B2NUKX6G.js";import"../../chunks/chunk.NL7YFV4O.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.NFJMIR7G.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.552X4W43.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.LWLOMMIE.js";import"../../chunks/chunk.J4FJ2SAP.js";import"../../chunks/chunk.NJIXLFKZ.js";import"../../chunks/chunk.MEDJPDBB.js";import"../../chunks/chunk.4XZDW2BJ.js";import"../../chunks/chunk.SOLVKQIM.js";import"../../chunks/chunk.4XDRYWQQ.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.5B33ZALC.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.WHDOGCAD.js";import"../../chunks/chunk.R5GIN36W.js";import"../../chunks/chunk.B2NUKX6G.js";import"../../chunks/chunk.NL7YFV4O.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.NFJMIR7G.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.552X4W43.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.LWLOMMIE.js";import"../../chunks/chunk.J4FJ2SAP.js";import"../../chunks/chunk.NJIXLFKZ.js";import"../../chunks/chunk.MEDJPDBB.js";import"../../chunks/chunk.4XZDW2BJ.js";import"../../chunks/chunk.SOLVKQIM.js";import"../../chunks/chunk.4XDRYWQQ.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.5B33ZALC.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.KZLMAANO.js";import"../../chunks/chunk.D4E5ZIRW.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.5B33ZALC.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.OYJTDY24.js";import"../../chunks/chunk.WWHH2NDP.js";import"../../chunks/chunk.I2H6CZK5.js";import"../../chunks/chunk.OFLEA353.js";import"../../chunks/chunk.7O3WO7T4.js";import"../../chunks/chunk.J7SSJXR3.js";import"../../chunks/chunk.LZRL7OLU.js";import"../../chunks/chunk.LHSR56PH.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.B2NUKX6G.js";import"../../chunks/chunk.NL7YFV4O.js";import"../../chunks/chunk.KLRPP4NQ.js";import"../../chunks/chunk.NFJMIR7G.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.552X4W43.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.LWLOMMIE.js";import"../../chunks/chunk.J4FJ2SAP.js";import"../../chunks/chunk.NJIXLFKZ.js";import"../../chunks/chunk.MEDJPDBB.js";import"../../chunks/chunk.4XZDW2BJ.js";import"../../chunks/chunk.SOLVKQIM.js";import"../../chunks/chunk.4XDRYWQQ.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.5B33ZALC.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.WNP2V63C.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.
|
|
1
|
+
import{a}from"../../chunks/chunk.XHWQ4DCO.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.5B33ZALC.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|