@solid-design-system/components 6.27.2 → 7.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.AO6SNRNL.js → chunk.2DXMRKN3.js} +1 -1
- package/cdn/chunks/{chunk.5X5JRXZK.js → chunk.2I5OTO4L.js} +1 -1
- package/cdn/chunks/{chunk.WKRUSUP5.js → chunk.2JXJ24RQ.js} +1 -1
- package/cdn/chunks/{chunk.XRBLVTS7.js → chunk.3KUBBEDF.js} +1 -1
- package/cdn/chunks/{chunk.FUONGVWC.js → chunk.3WMR63OG.js} +1 -1
- package/cdn/chunks/{chunk.WCUOYX2O.js → chunk.3ZA7LK5B.js} +1 -1
- package/cdn/chunks/{chunk.AOLUHUSF.js → chunk.55K7D54J.js} +1 -1
- package/cdn/chunks/{chunk.KDUC23NC.js → chunk.5DVOGKB4.js} +1 -1
- package/cdn/chunks/{chunk.3JIMAV3K.js → chunk.5NGQGOI5.js} +1 -1
- package/cdn/chunks/{chunk.7SNWTFKD.js → chunk.5NK5RKKZ.js} +1 -1
- package/cdn/chunks/{chunk.GAWWLECF.js → chunk.7SLF374G.js} +1 -1
- package/cdn/chunks/{chunk.7QOVVO7A.js → chunk.A4ICFOOO.js} +1 -1
- package/cdn/chunks/{chunk.RBIHJJJH.js → chunk.A6TJ7AAE.js} +1 -1
- package/cdn/chunks/{chunk.BJ6LURC2.js → chunk.A7AH5DNR.js} +1 -1
- package/cdn/chunks/{chunk.MWPUIVNY.js → chunk.APZUONW2.js} +1 -1
- package/cdn/chunks/{chunk.5HUX5VFB.js → chunk.BFAAJHOY.js} +1 -1
- package/cdn/chunks/{chunk.TOGRTI4R.js → chunk.BKHX2CF6.js} +1 -1
- package/cdn/chunks/{chunk.NVBDCLSB.js → chunk.CIVE342L.js} +1 -1
- package/cdn/chunks/{chunk.GANINSPD.js → chunk.CMJRYUXX.js} +1 -1
- package/cdn/chunks/{chunk.MINBYM3X.js → chunk.D62JG5TL.js} +1 -1
- package/cdn/chunks/{chunk.AVVZHYFS.js → chunk.DESBURSJ.js} +1 -1
- package/cdn/chunks/{chunk.XLOQLF7T.js → chunk.E4KXIVE5.js} +1 -1
- package/cdn/chunks/{chunk.2NOYGNXE.js → chunk.ESL4JKQV.js} +1 -1
- package/cdn/chunks/{chunk.UMMMHVGK.js → chunk.F5X4VAKB.js} +1 -1
- package/cdn/chunks/{chunk.7ZVQLLM7.js → chunk.FFIQGZKB.js} +1 -1
- package/cdn/chunks/{chunk.ENGQY5PQ.js → chunk.FFTXB7SP.js} +1 -1
- package/cdn/chunks/{chunk.STDRBG54.js → chunk.GAOAOKL4.js} +1 -1
- package/cdn/chunks/{chunk.BTWK37K2.js → chunk.GLM2MXY3.js} +1 -1
- package/cdn/chunks/{chunk.NMQWMKA4.js → chunk.IPJZ5TCY.js} +1 -1
- package/cdn/chunks/{chunk.FIN34FFZ.js → chunk.ITSE6USQ.js} +2 -2
- package/cdn/chunks/{chunk.LS7DRXQL.js → chunk.J5RIXHGG.js} +1 -1
- package/cdn/chunks/{chunk.DLSBHX3L.js → chunk.JKD6A4RA.js} +1 -1
- package/cdn/chunks/{chunk.UUT3RNXX.js → chunk.JM3GQDJN.js} +1 -1
- package/cdn/chunks/{chunk.WKWRMAYZ.js → chunk.JP3WLAQM.js} +1 -1
- package/cdn/chunks/{chunk.BCJZHMRU.js → chunk.K2LK6CUI.js} +1 -1
- package/cdn/chunks/{chunk.RJBMCBBF.js → chunk.LIJDAVU5.js} +1 -1
- package/cdn/chunks/{chunk.NO37AAPJ.js → chunk.LQYMZEW6.js} +1 -1
- package/cdn/chunks/{chunk.QZ4TINX7.js → chunk.LRSLQHV6.js} +1 -1
- package/cdn/chunks/{chunk.L7ERUBEO.js → chunk.MRINOSHO.js} +1 -1
- package/cdn/chunks/{chunk.DUAVYRMV.js → chunk.MTOCUKPI.js} +1 -1
- package/cdn/chunks/{chunk.VQZJSHKG.js → chunk.N3L4BF3D.js} +1 -1
- package/cdn/chunks/chunk.ND7KR2OB.js +26 -0
- package/cdn/chunks/{chunk.2SYX234H.js → chunk.NLEGWO6E.js} +1 -1
- package/cdn/chunks/{chunk.J7HKJOBT.js → chunk.NVY4DAHM.js} +1 -1
- package/cdn/chunks/{chunk.XCUN24EM.js → chunk.NYJUQAML.js} +1 -1
- package/cdn/chunks/{chunk.VHNBQXBQ.js → chunk.OXGNLH3H.js} +1 -1
- package/cdn/chunks/{chunk.UEFD3UMC.js → chunk.P3PSCTOG.js} +1 -1
- package/cdn/chunks/{chunk.2U4TAJUC.js → chunk.PSNO7W6D.js} +1 -1
- package/cdn/chunks/{chunk.ZB3TIOGA.js → chunk.QIEAZQKM.js} +1 -1
- package/cdn/chunks/{chunk.TJDPWAVB.js → chunk.QVGKTTLT.js} +1 -1
- package/cdn/chunks/{chunk.A7OKDFGO.js → chunk.RQ5YPSVB.js} +1 -1
- package/cdn/chunks/{chunk.SP3LJOKF.js → chunk.SOY4RB6B.js} +1 -1
- package/cdn/chunks/{chunk.WMNN34G7.js → chunk.SVUNO3VN.js} +1 -1
- package/cdn/chunks/{chunk.ZWU3HKO7.js → chunk.U4A5O7JM.js} +1 -1
- package/cdn/chunks/{chunk.DJ527NKP.js → chunk.U53W4WGD.js} +1 -1
- package/cdn/chunks/chunk.U7TS5SGA.js +1 -0
- package/cdn/chunks/{chunk.YHEOMQ3U.js → chunk.VMPFVDKG.js} +1 -1
- package/cdn/chunks/{chunk.KBNYCL2A.js → chunk.VXSKQPYR.js} +1 -1
- package/cdn/chunks/{chunk.GJHFXIDQ.js → chunk.XIS5S2BQ.js} +1 -1
- package/cdn/chunks/{chunk.MRKCTLHO.js → chunk.XXGMKJBE.js} +1 -1
- package/cdn/chunks/{chunk.OFME6DWX.js → chunk.Y4MOVPF5.js} +1 -1
- package/cdn/chunks/{chunk.TPFV72LH.js → chunk.YU7OA7CJ.js} +1 -1
- package/cdn/chunks/{chunk.HQVTWWED.js → chunk.Z6RYHXBZ.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.multi-theming.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/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/spinner/spinner.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/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 +1 -1
- package/cdn/solid-components.bundle.js +4 -4
- package/cdn/solid-components.iife.js +4 -4
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/web-types.json +1 -1
- package/cdn-versioned/chunks/chunk.2DXMRKN3.js +2 -0
- package/cdn-versioned/chunks/chunk.2I5OTO4L.js +2 -0
- package/cdn-versioned/chunks/chunk.2JXJ24RQ.js +2 -0
- package/cdn-versioned/chunks/chunk.3KUBBEDF.js +4 -0
- package/cdn-versioned/chunks/{chunk.FUONGVWC.js → chunk.3WMR63OG.js} +2 -2
- package/cdn-versioned/chunks/chunk.3ZA7LK5B.js +2 -0
- package/cdn-versioned/chunks/{chunk.AOLUHUSF.js → chunk.55K7D54J.js} +2 -2
- package/cdn-versioned/chunks/{chunk.KDUC23NC.js → chunk.5DVOGKB4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3JIMAV3K.js → chunk.5NGQGOI5.js} +2 -2
- package/cdn-versioned/chunks/chunk.5NK5RKKZ.js +12 -0
- package/cdn-versioned/chunks/chunk.7SLF374G.js +2 -0
- package/cdn-versioned/chunks/chunk.A4ICFOOO.js +2 -0
- package/cdn-versioned/chunks/{chunk.RBIHJJJH.js → chunk.A6TJ7AAE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.BJ6LURC2.js → chunk.A7AH5DNR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MWPUIVNY.js → chunk.APZUONW2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.5HUX5VFB.js → chunk.BFAAJHOY.js} +2 -2
- package/cdn-versioned/chunks/chunk.BKHX2CF6.js +2 -0
- package/cdn-versioned/chunks/chunk.CIVE342L.js +12 -0
- package/cdn-versioned/chunks/{chunk.GANINSPD.js → chunk.CMJRYUXX.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MINBYM3X.js → chunk.D62JG5TL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AVVZHYFS.js → chunk.DESBURSJ.js} +3 -3
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/chunk.E3RBLJOD.js +2 -2
- package/cdn-versioned/chunks/{chunk.XLOQLF7T.js → chunk.E4KXIVE5.js} +2 -2
- package/cdn-versioned/chunks/chunk.ESL4JKQV.js +2 -0
- package/cdn-versioned/chunks/{chunk.UMMMHVGK.js → chunk.F5X4VAKB.js} +2 -2
- package/cdn-versioned/chunks/chunk.FFIQGZKB.js +2 -0
- package/cdn-versioned/chunks/{chunk.ENGQY5PQ.js → chunk.FFTXB7SP.js} +2 -2
- package/cdn-versioned/chunks/{chunk.STDRBG54.js → chunk.GAOAOKL4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.BTWK37K2.js → chunk.GLM2MXY3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.NMQWMKA4.js → chunk.IPJZ5TCY.js} +2 -2
- package/cdn-versioned/chunks/chunk.ITSE6USQ.js +2 -0
- package/cdn-versioned/chunks/chunk.J5RIXHGG.js +2 -0
- package/cdn-versioned/chunks/chunk.JKD6A4RA.js +2 -0
- package/cdn-versioned/chunks/{chunk.UUT3RNXX.js → chunk.JM3GQDJN.js} +2 -2
- package/cdn-versioned/chunks/{chunk.WKWRMAYZ.js → chunk.JP3WLAQM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.BCJZHMRU.js → chunk.K2LK6CUI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RJBMCBBF.js → chunk.LIJDAVU5.js} +2 -2
- package/cdn-versioned/chunks/chunk.LQYMZEW6.js +2 -0
- package/cdn-versioned/chunks/chunk.LRSLQHV6.js +12 -0
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MRINOSHO.js +2 -0
- package/cdn-versioned/chunks/chunk.MTOCUKPI.js +12 -0
- package/cdn-versioned/chunks/{chunk.VQZJSHKG.js → chunk.N3L4BF3D.js} +3 -3
- package/cdn-versioned/chunks/chunk.ND7KR2OB.js +26 -0
- package/cdn-versioned/chunks/{chunk.2SYX234H.js → chunk.NLEGWO6E.js} +2 -2
- package/cdn-versioned/chunks/{chunk.J7HKJOBT.js → chunk.NVY4DAHM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.XCUN24EM.js → chunk.NYJUQAML.js} +1 -1
- package/cdn-versioned/chunks/chunk.OXGNLH3H.js +2 -0
- package/cdn-versioned/chunks/chunk.P3PSCTOG.js +2 -0
- package/cdn-versioned/chunks/chunk.PSNO7W6D.js +2 -0
- package/cdn-versioned/chunks/{chunk.ZB3TIOGA.js → chunk.QIEAZQKM.js} +2 -2
- package/cdn-versioned/chunks/chunk.QVGKTTLT.js +2 -0
- package/cdn-versioned/chunks/{chunk.A7OKDFGO.js → chunk.RQ5YPSVB.js} +2 -2
- package/cdn-versioned/chunks/{chunk.SP3LJOKF.js → chunk.SOY4RB6B.js} +3 -3
- package/cdn-versioned/chunks/{chunk.WMNN34G7.js → chunk.SVUNO3VN.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZWU3HKO7.js → chunk.U4A5O7JM.js} +2 -2
- package/cdn-versioned/chunks/{chunk.DJ527NKP.js → chunk.U53W4WGD.js} +2 -2
- package/cdn-versioned/chunks/chunk.U7TS5SGA.js +1 -0
- package/cdn-versioned/chunks/{chunk.YHEOMQ3U.js → chunk.VMPFVDKG.js} +2 -2
- package/cdn-versioned/chunks/chunk.VXSKQPYR.js +2 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.XIS5S2BQ.js +2 -0
- package/cdn-versioned/chunks/{chunk.MRKCTLHO.js → chunk.XXGMKJBE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.OFME6DWX.js → chunk.Y4MOVPF5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.TPFV72LH.js → chunk.YU7OA7CJ.js} +2 -2
- package/cdn-versioned/chunks/chunk.Z6RYHXBZ.js +2 -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 +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.multi-theming.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/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/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/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 +259 -259
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +82 -82
- package/cdn-versioned/solid-components.css +2 -2
- package/cdn-versioned/solid-components.iife.js +82 -82
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +114 -114
- package/cdn-versioned/web-types.json +170 -170
- package/dist/chunks/{chunk.U4ES752F.js → chunk.2B76SHER.js} +1 -1
- package/dist/chunks/{chunk.ZCK2AJ6F.js → chunk.2PSP6N2B.js} +1 -1
- package/dist/chunks/{chunk.EQKXEQYI.js → chunk.2QG5VVWH.js} +1 -1
- package/dist/chunks/{chunk.6LUXWBVQ.js → chunk.33BZJRJB.js} +1 -1
- package/dist/chunks/{chunk.QH4PJIEK.js → chunk.3T4RF2D2.js} +1 -1
- package/dist/chunks/{chunk.XAFXRA3O.js → chunk.4BAU2OM4.js} +1 -1
- package/dist/chunks/{chunk.32PMIHHH.js → chunk.4MGAXDM2.js} +1 -1
- package/{dist-versioned/chunks/chunk.6HICCGIO.js → dist/chunks/chunk.54DGZ62W.js} +1 -1
- package/dist/chunks/{chunk.ISDCFN2T.js → chunk.5EDUJ62Z.js} +1 -1
- package/dist/chunks/{chunk.FZW355YU.js → chunk.5K6Y7HJU.js} +1 -1
- package/dist/chunks/{chunk.RJD5JWEE.js → chunk.7MA7NTM5.js} +1 -1
- package/dist/chunks/{chunk.3JGLYKUT.js → chunk.AI65BHXH.js} +1 -1
- package/dist/chunks/{chunk.PAGXROMQ.js → chunk.AN3L6KYA.js} +1 -1
- package/dist/chunks/{chunk.67RQILIX.js → chunk.AVB7EUPN.js} +1 -1
- package/dist/chunks/{chunk.LFY6FLC7.js → chunk.B3GXJSVQ.js} +1 -1
- package/dist/chunks/{chunk.H6AYJU2Z.js → chunk.DLDMILPJ.js} +1 -1
- package/dist/chunks/{chunk.RIMF3V3U.js → chunk.DZT4P3QO.js} +2 -2
- package/dist/chunks/{chunk.6VONS4GH.js → chunk.ENTIPHXZ.js} +1 -1
- package/dist/chunks/{chunk.LDEYZ5WH.js → chunk.EUECKG57.js} +1 -1
- package/dist/chunks/{chunk.2GY5X74S.js → chunk.GESPTAQO.js} +1 -1
- package/dist/chunks/{chunk.EWBPFI7O.js → chunk.GVV65UCW.js} +1 -1
- package/dist/chunks/{chunk.FTLHBRJ7.js → chunk.GWNXDEYS.js} +2 -2
- package/dist/chunks/{chunk.FO2XDPBY.js → chunk.HNDYMCBH.js} +1 -1
- package/dist/chunks/{chunk.HFUPD442.js → chunk.I5B5QE4Q.js} +1 -1
- package/dist/chunks/{chunk.7DSVL7JH.js → chunk.INUHEU2V.js} +1 -1
- package/dist/chunks/{chunk.4CYE55LF.js → chunk.J4MQWCIP.js} +1 -1
- package/dist/chunks/{chunk.22QJOKRT.js → chunk.JCAECFX2.js} +1 -1
- package/dist/chunks/{chunk.76H4PKGT.js → chunk.K6EQX5H6.js} +1 -1
- package/dist/chunks/{chunk.LMAZLSWN.js → chunk.KIY36UBP.js} +1 -1
- package/dist/chunks/{chunk.FDOJX6W4.js → chunk.KTAV32B3.js} +1 -1
- package/dist/chunks/{chunk.2JVBNRAE.js → chunk.L2IFANFY.js} +1 -1
- package/dist/chunks/chunk.LB37DTSJ.js +93 -0
- package/dist/chunks/{chunk.2QLV3FGQ.js → chunk.LB3F2QDN.js} +1 -1
- package/dist/chunks/{chunk.5SP53TRC.js → chunk.LDRHLY66.js} +1 -1
- package/dist/chunks/{chunk.GURHKBOS.js → chunk.LFOMFT6A.js} +1 -1
- package/dist/chunks/{chunk.DFSINDVF.js → chunk.LTNNVXKN.js} +1 -1
- package/dist/chunks/{chunk.3AZV733X.js → chunk.LVPWOXKT.js} +1 -1
- package/dist/chunks/{chunk.VMOVHC54.js → chunk.MGLNCJH4.js} +1 -1
- package/dist/chunks/{chunk.YVNA2ZV6.js → chunk.MKQMOE4O.js} +1 -1
- package/dist/chunks/{chunk.4QQTPWQK.js → chunk.MU6BOIQP.js} +1 -1
- package/dist/chunks/{chunk.WC6QJGPY.js → chunk.NVTCRCR2.js} +1 -1
- package/dist/chunks/{chunk.43WIFSAV.js → chunk.OGTWG7PX.js} +1 -1
- package/dist/chunks/{chunk.HSMX4JWE.js → chunk.OMWYWBPW.js} +2 -2
- package/dist/chunks/{chunk.P7WF3BP4.js → chunk.PH4JLH76.js} +1 -1
- package/dist/chunks/{chunk.5FLDWYHF.js → chunk.Q4LFZ4MN.js} +1 -1
- package/dist/chunks/{chunk.3YRBYYHB.js → chunk.QELO6X62.js} +1 -1
- package/dist/chunks/{chunk.HFD4GVQH.js → chunk.QFAJOIOI.js} +1 -1
- package/dist/chunks/{chunk.ON7JW7DZ.js → chunk.RAT2NJIO.js} +1 -1
- package/dist/chunks/{chunk.6QITMMHT.js → chunk.SBBWYGUE.js} +1 -1
- package/dist/chunks/{chunk.Z4VNO3XB.js → chunk.SRSERHD5.js} +1 -1
- package/dist/chunks/{chunk.MIDB4P4Z.js → chunk.TXVRZXUB.js} +3 -3
- package/dist/chunks/{chunk.ATPMJXDV.js → chunk.UAYS6YUK.js} +1 -1
- package/dist/chunks/{chunk.TVVA3SEO.js → chunk.UCQEVTLR.js} +1 -1
- package/dist/chunks/{chunk.WALY6H2S.js → chunk.UQAZ7Y4O.js} +1 -1
- package/dist/chunks/{chunk.3UAYIX4K.js → chunk.VMQ6E5XQ.js} +1 -1
- package/dist/chunks/{chunk.KNNHUZRK.js → chunk.W2FPAWSD.js} +1 -1
- package/dist/chunks/{chunk.GIYK2K7S.js → chunk.WEGQKE7P.js} +2 -2
- package/dist/chunks/{chunk.LIHFBMY3.js → chunk.WKBNTZYS.js} +1 -1
- package/dist/chunks/{chunk.DPOFFN22.js → chunk.XQA7WCIY.js} +1 -1
- package/dist/chunks/{chunk.NF6TENBG.js → chunk.YFTT3BJS.js} +1 -1
- package/dist/chunks/{chunk.E32D3Z6I.js → chunk.YHQDUFIA.js} +1 -1
- package/dist/chunks/{chunk.LVUKQ7ZS.js → chunk.YTITLVWX.js} +1 -1
- package/dist/chunks/{chunk.QWPTKRZY.js → chunk.YZ5DZPPN.js} +1 -1
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion-group/accordion-group.js +6 -6
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +8 -8
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +7 -7
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/components/combobox/combobox.js +7 -7
- package/dist/components/datepicker/datepicker.js +7 -7
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +5 -5
- package/dist/components/flipcard/flipcard.js +7 -7
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.multi-theming.js +1 -1
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +5 -5
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +6 -6
- package/dist/components/notification/notification.js +7 -7
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +5 -5
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quickfact/quickfact.js +6 -6
- 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 +7 -7
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +5 -5
- package/dist/components/select/select.js +7 -7
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +5 -5
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/theme-listener/theme-listener.js +2 -2
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/video/video.js +5 -5
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +63 -63
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/utilities/icon-library.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/{chunk.U4ES752F.js → chunk.2B76SHER.js} +5 -5
- package/dist-versioned/chunks/{chunk.ZCK2AJ6F.js → chunk.2PSP6N2B.js} +11 -11
- package/dist-versioned/chunks/{chunk.EQKXEQYI.js → chunk.2QG5VVWH.js} +7 -7
- package/dist-versioned/chunks/{chunk.6LUXWBVQ.js → chunk.33BZJRJB.js} +3 -3
- package/dist-versioned/chunks/{chunk.QH4PJIEK.js → chunk.3T4RF2D2.js} +11 -11
- package/dist-versioned/chunks/{chunk.XAFXRA3O.js → chunk.4BAU2OM4.js} +34 -34
- package/dist-versioned/chunks/{chunk.32PMIHHH.js → chunk.4MGAXDM2.js} +11 -11
- package/{dist/chunks/chunk.6HICCGIO.js → dist-versioned/chunks/chunk.54DGZ62W.js} +1 -1
- package/dist-versioned/chunks/{chunk.ISDCFN2T.js → chunk.5EDUJ62Z.js} +3 -3
- package/dist-versioned/chunks/{chunk.FZW355YU.js → chunk.5K6Y7HJU.js} +5 -5
- package/dist-versioned/chunks/{chunk.RJD5JWEE.js → chunk.7MA7NTM5.js} +7 -7
- package/dist-versioned/chunks/{chunk.3JGLYKUT.js → chunk.AI65BHXH.js} +2 -2
- package/dist-versioned/chunks/{chunk.PAGXROMQ.js → chunk.AN3L6KYA.js} +7 -7
- package/dist-versioned/chunks/{chunk.67RQILIX.js → chunk.AVB7EUPN.js} +4 -4
- package/dist-versioned/chunks/{chunk.LFY6FLC7.js → chunk.B3GXJSVQ.js} +12 -12
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/{chunk.H6AYJU2Z.js → chunk.DLDMILPJ.js} +7 -7
- package/dist-versioned/chunks/{chunk.RIMF3V3U.js → chunk.DZT4P3QO.js} +12 -12
- package/dist-versioned/chunks/chunk.EAJ3CM6N.js +4 -4
- package/dist-versioned/chunks/{chunk.6VONS4GH.js → chunk.ENTIPHXZ.js} +6 -6
- package/dist-versioned/chunks/{chunk.LDEYZ5WH.js → chunk.EUECKG57.js} +6 -6
- package/dist-versioned/chunks/{chunk.2GY5X74S.js → chunk.GESPTAQO.js} +26 -26
- package/dist-versioned/chunks/{chunk.EWBPFI7O.js → chunk.GVV65UCW.js} +4 -4
- package/dist-versioned/chunks/{chunk.FTLHBRJ7.js → chunk.GWNXDEYS.js} +4 -4
- package/dist-versioned/chunks/{chunk.FO2XDPBY.js → chunk.HNDYMCBH.js} +2 -2
- package/dist-versioned/chunks/{chunk.HFUPD442.js → chunk.I5B5QE4Q.js} +3 -3
- package/dist-versioned/chunks/{chunk.7DSVL7JH.js → chunk.INUHEU2V.js} +3 -3
- package/dist-versioned/chunks/{chunk.4CYE55LF.js → chunk.J4MQWCIP.js} +2 -2
- package/dist-versioned/chunks/{chunk.22QJOKRT.js → chunk.JCAECFX2.js} +3 -3
- package/dist-versioned/chunks/{chunk.76H4PKGT.js → chunk.K6EQX5H6.js} +12 -12
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.LMAZLSWN.js → chunk.KIY36UBP.js} +6 -6
- package/dist-versioned/chunks/{chunk.FDOJX6W4.js → chunk.KTAV32B3.js} +4 -4
- package/dist-versioned/chunks/{chunk.2JVBNRAE.js → chunk.L2IFANFY.js} +12 -12
- package/dist-versioned/chunks/chunk.LB37DTSJ.js +93 -0
- package/dist-versioned/chunks/{chunk.2QLV3FGQ.js → chunk.LB3F2QDN.js} +2 -2
- package/dist-versioned/chunks/{chunk.5SP53TRC.js → chunk.LDRHLY66.js} +8 -8
- package/dist-versioned/chunks/{chunk.GURHKBOS.js → chunk.LFOMFT6A.js} +5 -5
- package/dist-versioned/chunks/{chunk.DFSINDVF.js → chunk.LTNNVXKN.js} +3 -3
- package/dist-versioned/chunks/{chunk.3AZV733X.js → chunk.LVPWOXKT.js} +2 -2
- package/dist-versioned/chunks/{chunk.VMOVHC54.js → chunk.MGLNCJH4.js} +3 -3
- package/dist-versioned/chunks/{chunk.YVNA2ZV6.js → chunk.MKQMOE4O.js} +3 -3
- package/dist-versioned/chunks/{chunk.4QQTPWQK.js → chunk.MU6BOIQP.js} +3 -3
- package/dist-versioned/chunks/{chunk.WC6QJGPY.js → chunk.NVTCRCR2.js} +4 -4
- package/dist-versioned/chunks/{chunk.43WIFSAV.js → chunk.OGTWG7PX.js} +9 -9
- package/dist-versioned/chunks/{chunk.HSMX4JWE.js → chunk.OMWYWBPW.js} +14 -14
- package/dist-versioned/chunks/{chunk.P7WF3BP4.js → chunk.PH4JLH76.js} +13 -13
- package/dist-versioned/chunks/{chunk.5FLDWYHF.js → chunk.Q4LFZ4MN.js} +1 -1
- package/dist-versioned/chunks/{chunk.3YRBYYHB.js → chunk.QELO6X62.js} +15 -15
- package/dist-versioned/chunks/{chunk.HFD4GVQH.js → chunk.QFAJOIOI.js} +7 -7
- package/dist-versioned/chunks/{chunk.ON7JW7DZ.js → chunk.RAT2NJIO.js} +5 -5
- package/dist-versioned/chunks/{chunk.6QITMMHT.js → chunk.SBBWYGUE.js} +2 -2
- package/dist-versioned/chunks/{chunk.Z4VNO3XB.js → chunk.SRSERHD5.js} +24 -24
- package/dist-versioned/chunks/{chunk.MIDB4P4Z.js → chunk.TXVRZXUB.js} +8 -8
- package/dist-versioned/chunks/{chunk.ATPMJXDV.js → chunk.UAYS6YUK.js} +8 -8
- package/dist-versioned/chunks/{chunk.TVVA3SEO.js → chunk.UCQEVTLR.js} +4 -4
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.WALY6H2S.js → chunk.UQAZ7Y4O.js} +6 -6
- package/dist-versioned/chunks/{chunk.3UAYIX4K.js → chunk.VMQ6E5XQ.js} +6 -6
- package/dist-versioned/chunks/{chunk.KNNHUZRK.js → chunk.W2FPAWSD.js} +6 -6
- package/dist-versioned/chunks/{chunk.GIYK2K7S.js → chunk.WEGQKE7P.js} +5 -5
- package/dist-versioned/chunks/{chunk.LIHFBMY3.js → chunk.WKBNTZYS.js} +6 -6
- package/dist-versioned/chunks/{chunk.DPOFFN22.js → chunk.XQA7WCIY.js} +6 -6
- package/dist-versioned/chunks/{chunk.NF6TENBG.js → chunk.YFTT3BJS.js} +14 -14
- package/dist-versioned/chunks/{chunk.E32D3Z6I.js → chunk.YHQDUFIA.js} +2 -2
- package/dist-versioned/chunks/{chunk.LVUKQ7ZS.js → chunk.YTITLVWX.js} +8 -8
- package/dist-versioned/chunks/{chunk.QWPTKRZY.js → chunk.YZ5DZPPN.js} +3 -3
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +5 -5
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +6 -6
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +8 -8
- 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 +7 -7
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +6 -6
- 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 +5 -5
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +5 -5
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +7 -7
- package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
- package/dist-versioned/components/datepicker/datepicker.js +7 -7
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +7 -7
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +7 -7
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +5 -5
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +7 -7
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +4 -4
- package/dist-versioned/components/icon/library.js +2 -2
- package/dist-versioned/components/icon/library.multi-theming.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 +1 -1
- package/dist-versioned/components/input/input.js +5 -5
- 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 +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +2 -2
- 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 +6 -6
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +7 -7
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +5 -5
- 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 +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +6 -6
- 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 +7 -7
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +5 -5
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +7 -7
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.js +2 -2
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +5 -5
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +5 -5
- 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 +5 -5
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +5 -5
- 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 +6 -6
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +5 -5
- package/dist-versioned/custom-elements.json +259 -259
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +2 -2
- package/dist-versioned/solid-components.js +63 -63
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/utilities/icon-library.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +114 -114
- package/dist-versioned/web-types.json +170 -170
- package/package.json +2 -2
- package/cdn/chunks/chunk.JTN6NSK2.js +0 -1
- package/cdn/chunks/chunk.TFVRFH37.js +0 -26
- package/cdn-versioned/chunks/chunk.2NOYGNXE.js +0 -2
- package/cdn-versioned/chunks/chunk.2U4TAJUC.js +0 -2
- package/cdn-versioned/chunks/chunk.5X5JRXZK.js +0 -2
- package/cdn-versioned/chunks/chunk.7QOVVO7A.js +0 -2
- package/cdn-versioned/chunks/chunk.7SNWTFKD.js +0 -12
- package/cdn-versioned/chunks/chunk.7ZVQLLM7.js +0 -2
- package/cdn-versioned/chunks/chunk.AO6SNRNL.js +0 -2
- package/cdn-versioned/chunks/chunk.DLSBHX3L.js +0 -2
- package/cdn-versioned/chunks/chunk.DUAVYRMV.js +0 -12
- package/cdn-versioned/chunks/chunk.FIN34FFZ.js +0 -2
- package/cdn-versioned/chunks/chunk.GAWWLECF.js +0 -2
- package/cdn-versioned/chunks/chunk.GJHFXIDQ.js +0 -2
- package/cdn-versioned/chunks/chunk.HQVTWWED.js +0 -2
- package/cdn-versioned/chunks/chunk.JTN6NSK2.js +0 -1
- package/cdn-versioned/chunks/chunk.KBNYCL2A.js +0 -2
- package/cdn-versioned/chunks/chunk.L7ERUBEO.js +0 -2
- package/cdn-versioned/chunks/chunk.LS7DRXQL.js +0 -2
- package/cdn-versioned/chunks/chunk.NO37AAPJ.js +0 -2
- package/cdn-versioned/chunks/chunk.NVBDCLSB.js +0 -12
- package/cdn-versioned/chunks/chunk.QZ4TINX7.js +0 -12
- package/cdn-versioned/chunks/chunk.TFVRFH37.js +0 -26
- package/cdn-versioned/chunks/chunk.TJDPWAVB.js +0 -2
- package/cdn-versioned/chunks/chunk.TOGRTI4R.js +0 -2
- package/cdn-versioned/chunks/chunk.UEFD3UMC.js +0 -2
- package/cdn-versioned/chunks/chunk.VHNBQXBQ.js +0 -2
- package/cdn-versioned/chunks/chunk.WCUOYX2O.js +0 -2
- package/cdn-versioned/chunks/chunk.WKRUSUP5.js +0 -2
- package/cdn-versioned/chunks/chunk.XRBLVTS7.js +0 -4
- package/dist/chunks/chunk.PGR6OZIM.js +0 -93
- package/dist-versioned/chunks/chunk.PGR6OZIM.js +0 -93
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as E}from"./chunk.NLEGWO6E.js";import{b,c as C,d as x,e as w}from"./chunk.LZRL7OLU.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as c}from"./chunk.UFTAQNZB.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as y,b as r,c as u,d as m,h as f}from"./chunk.ND7KR2OB.js";import{b as v,e as d}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var s=class extends f{constructor(){super(...arguments);this.formControlController=new b(this);this.hasSlotController=new k(this,"label","error-text");this.customValidityMessage="";this.hasButtonGroup=!1;this.defaultValue="";this.showInvalidStyle=!1;this.size="lg";this.required=!1;this.orientation="vertical";this.label="";this.helpText="";this.name="option";this.value="";this.form=""}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?w:t?x:C}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}updated(t){super.updated(t),this.syncAriaDescription()}syncAriaDescription(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("fieldset"),e=this.showInvalidStyle?this.validationMessage:"";e?t==null||t.setAttribute("aria-description",e):t==null||t.removeAttribute("aria-description")}getAllRadios(){let t=[...this.querySelectorAll("sd-7-0-0-next-1-radio, sd-7-0-0-next-1-radio-button")];return t.length===0&&console.warn("No radios found in the radio group."),t}handleRadioClick(t){let e=t.target.closest("sd-7-0-0-next-1-radio, sd-7-0-0-next-1-radio-button"),a=this.value,i=this.getAllRadios();i.length!==0&&(e.disabled||(this.value=e.value,i.forEach(n=>n.checked=n===e),this.value!==a&&(this.emit("sd-change"),this.emit("sd-input"))))}handleKeyDown(t){var g;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key))return;let e=this.getAllRadios().filter(h=>!h.disabled);if(e.length===0)return;let a=(g=e.find(h=>h.checked))!=null?g:e[0],i=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,n=this.value,l=e.indexOf(a)+i;l<0&&(l=e.length-1),l>e.length-1&&(l=0),this.getAllRadios().forEach(h=>{h.checked=!1,this.hasButtonGroup||(h.tabIndex=-1)}),this.value=e[l].value,e[l].checked=!0,this.hasButtonGroup?e[l].shadowRoot.querySelector("button").focus():(e[l].tabIndex=0,e[l].focus()),this.value!==n&&(this.emit("sd-change"),this.emit("sd-input")),t.preventDefault()}focus(){let t=this.getAllRadios();if(t.length===0)return;let a=t.find(i=>i.checked)||t[0];a&&a.focus()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}async syncRadioElements(){var e,a;let t=this.getAllRadios();if(t.length===0){this.hasButtonGroup=!1;return}if(await Promise.all(t.map(async i=>{await i.updateComplete,i.checked=i.value===this.value,i.size=this.size,i instanceof E&&(i.invalid=this.showInvalidStyle)})),this.hasButtonGroup=t.some(i=>i.tagName.toLowerCase()==="sd-7-0-0-next-1-radio-button"),!t.some(i=>i.checked))if(this.hasButtonGroup){let i=(e=t[0].shadowRoot)==null?void 0:e.querySelector("button");i&&(i.tabIndex=0)}else t[0].tabIndex=0;if(this.hasButtonGroup){let i=(a=this.shadowRoot)==null?void 0:a.querySelector("sd-7-0-0-next-1-button-group");i&&(i.disableRole=!0)}}syncRadios(){if(customElements.get("sd-7-0-0-next-1-radio")&&customElements.get("sd-7-0-0-next-1-radio-button")){this.syncRadioElements();return}customElements.get("sd-7-0-0-next-1-radio")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-1-radio").then(()=>this.syncRadios()),customElements.get("sd-7-0-0-next-1-radio-button")?this.syncRadioElements():customElements.whenDefined("sd-7-0-0-next-1-radio-button").then(()=>this.syncRadios())}updateCheckedRadio(){let t=this.getAllRadios();t.length!==0&&(t.forEach(e=>e.checked=e.value===this.value),this.formControlController.setValidity(this.validity.valid))}handleSizeChange(){this.syncRadios()}handleInvalidChange(){this.syncRadios()}handleValueChange(){this.hasUpdated&&(this.updateCheckedRadio(),this.reportValidity())}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),this.formControlController.fakeUserInteraction(),t||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.label?!0:t,a=this.hasSlotController.test("help-text"),i=this.helpText?!0:!!a,n=this.hasSlotController.test("tooltip"),l=d`<slot @slotchange="${this.syncRadios}" @click="${this.handleRadioClick}" @keydown="${this.handleKeyDown}"></slot>`;return d`<fieldset part="form-control" class="${c("border-0 p-0 m-0 flex flex-col",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="radiogroup" aria-describedby="invalid-message" aria-labelledby="label">${e||n?d`<div class="flex items-center gap-1 mb-2"><legend part="form-control-label" id="label" class="${c("p-0 font-bold leading-normal text-black text-left",e?"inline-block":"hidden")}" @click="${this.focus}" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></legend>${n?d`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${c("flex",{vertical:"flex-col",horizontal:"flex-row"}[this.orientation])}"><div class="sr-only"><label><input id="validation-input" type="text" ?required="${this.required}" aria-labelledby="label" tabindex="-1" hidden @invalid="${this.handleInvalid}"></label></div>${this.hasButtonGroup?d`<sd-7-0-0-next-1-button-group class="border border-primary sd-7-0-0-next-1-radio-button-group-border-radius sd-7-0-0-next-1-radio-button-group-border-width sd-7-0-0-next-1-radio-button-group-padding" part="button-group" exportparts="base:button-group__base" role="presentation">${l}</sd-7-0-0-next-1-button-group>`:l}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-2",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot><div part="invalid-icon-message" class="flex items-center gap-2 mt-2">${this.showInvalidStyle?d`<sd-7-0-0-next-1-icon part="invalid-icon" class="${c("text-error")}" library="_internal" name="risk"></sd-7-0-0-next-1-icon>`:""} ${this.formControlController.renderInvalidMessage(this.size)}</div>`}};s.styles=[...f.styles,v`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-1-radio){margin-bottom:var(--sd-spacing-2);display:flex}:host([orientation=vertical]) ::slotted(sd-7-0-0-next-1-radio:last-of-type){margin-bottom:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-1-radio){margin-right:var(--sd-spacing-6)}:host([orientation=horizontal]) ::slotted(sd-7-0-0-next-1-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-1-radio){margin-right:var(--sd-spacing-4)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-7-0-0-next-1-radio:last-of-type){margin-right:calc(var(--sd-spacing-1) * 0)}:host([required]) #label::after{content:' *'}:host:has(sd-7-0-0-next-1-button-group){display:inline-flex}`],o([m("slot:not([name])")],s.prototype,"defaultSlot",2),o([m("#validation-input")],s.prototype,"validationInput",2),o([m("#invalid-message")],s.prototype,"invalidMessage",2),o([u()],s.prototype,"hasButtonGroup",2),o([u()],s.prototype,"defaultValue",2),o([u()],s.prototype,"showInvalidStyle",2),o([r({type:String,reflect:!0})],s.prototype,"size",2),o([r({type:Boolean,reflect:!0})],s.prototype,"required",2),o([r({type:String,reflect:!0})],s.prototype,"orientation",2),o([r({type:String,reflect:!0})],s.prototype,"label",2),o([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),o([r({type:String,reflect:!0})],s.prototype,"name",2),o([r()],s.prototype,"value",2),o([r({type:String,reflect:!0})],s.prototype,"form",2),o([p("size",{waitUntilFirstUpdate:!0})],s.prototype,"handleSizeChange",1),o([p("showInvalidStyle",{waitUntilFirstUpdate:!0})],s.prototype,"handleInvalidChange",1),o([p("value")],s.prototype,"handleValueChange",1),s=o([y("sd-7-0-0-next-1-radio-group")],s);export{s as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk.VAM5SM3O.js";import{a as e}from"./chunk.UFTAQNZB.js";import{a,b as c,h as i}from"./chunk.
|
|
2
|
-
:host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-
|
|
1
|
+
import{a as n}from"./chunk.VAM5SM3O.js";import{a as e}from"./chunk.UFTAQNZB.js";import{a,b as c,h as i}from"./chunk.ND7KR2OB.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var r=class extends i{constructor(){super(...arguments);this.color="currentColor";this.localize=new n(this)}render(){return o`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" role="progressbar" aria-label="${this.localize.term("loading")}"><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="20" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="12" cy="12" r="2" fill="currentColor"/><circle class="${e("dot",{primary:"text-primary animate-loader-primary",white:"text-white animate-loader-white",currentColor:"animate-loader-current"}[this.color])}" cx="4" cy="12" r="2" fill="currentColor"/></svg>`}};r.styles=[...i.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:inline-block;width:1em;height:1em}.dot:nth-child(2){animation-delay:.1s}.dot:nth-child(1){animation-delay:.2s}`],t([c({type:String,reflect:!0})],r.prototype,"color",2),r=t([a("sd-7-0-0-next-1-loader")],r);export{r as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"./chunk.VAM5SM3O.js";import{a as m}from"./chunk.UFTAQNZB.js";import{a as i,b as s,h as t}from"./chunk.
|
|
2
|
-
:host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-
|
|
1
|
+
import{a}from"./chunk.VAM5SM3O.js";import{a as m}from"./chunk.UFTAQNZB.js";import{a as i,b as s,h as t}from"./chunk.ND7KR2OB.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e as r}from"./chunk.6EV4YU6C.js";var e=class extends t{constructor(){super(...arguments);this.color="currentColor";this.localize=new a(this)}render(){return o`<svg role="progressbar" viewBox="0 0 24 24" class="${m("animate-spin",{primary:"text-primary",white:"text-white",currentColor:""}[this.color])}" aria-label="${this.localize.term("loading")}"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" class="opacity-20" fill="currentColor"/><mask id="mask0_5273_25391" style="mask-type:alpha" maskUnits="userSpaceOnUse"><path d="M24 12C24 5.37258 18.6274 0 12 0V12H24Z" fill="currentColor"/></mask><g mask="url(#mask0_5273_25391)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z" fill="currentColor"/></g></svg>`}};e.styles=[...t.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:inline-block;width:1em;height:1em}`],r([s({type:String,reflect:!0})],e.prototype,"color",2),e=r([i("sd-7-0-0-next-1-spinner")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as C}from"./chunk.O7KFGYFO.js";import{a as M}from"./chunk.TXP36Z3M.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.LHSR56PH.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.VAM5SM3O.js";import{a as p}from"./chunk.UFTAQNZB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.
|
|
2
|
-
:host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-
|
|
1
|
+
import{a as C}from"./chunk.O7KFGYFO.js";import{a as M}from"./chunk.TXP36Z3M.js";import{a as y,b as v}from"./chunk.3L472FD4.js";import{a as f}from"./chunk.LHSR56PH.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.VAM5SM3O.js";import{a as p}from"./chunk.UFTAQNZB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as w,b as h,d as c,h as u}from"./chunk.ND7KR2OB.js";import{b as g,e as l}from"./chunk.OBAEIKIV.js";import{b as n,e as d}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends u{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.headline="";this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new C(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),y(this))}disconnectedCallback(){super.disconnectedCallback(),v(this)}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 i=s(this,"dialog.denyClose",{dir:this.localize.dir()});n(this.panel,i.keyframes,i.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.requestClose("keyboard"))}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.addOpenListeners(),this.originalTrigger=M(),this.modal.activate(),y(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([d(this.dialog),d(this.overlay)]),this.dialog.hidden=!1,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.prefersReducedMotion?s(this,"dialog.showReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.show",{dir:this.localize.dir()}),i=s(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,i.keyframes,i.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([d(this.dialog),d(this.overlay)]);let e=this.prefersReducedMotion?s(this,"dialog.hideReducedMotion",{dir:this.localize.dir()}):s(this,"dialog.hide",{dir:this.localize.dir()}),r=s(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,v(this);let i=this.originalTrigger;typeof(i==null?void 0:i.focus)=="function"&&i.isConnected&&setTimeout(()=>{try{i.focus({preventScroll:!0})}catch(L){i.focus()}this.originalTrigger=null}),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 l`<div part="base" class="${p("flex items-center justify-center fixed inset-0 z-dialog",this.hasSlotController.test("footer")&&"dialog--has-footer")}"><div part="overlay" class="fixed inset-0 overlay-color-background" @click="${()=>this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="${p("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")}" role="dialog" aria-modal="true" aria-hidden="${this.open?"false":"true"}" aria-label="${f(this.headline?this.headline:void 0)}" aria-labelledby="${f(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?l`<span class="sd-headline sd-headline--size-3xl leading-tight">${this.headline}</span>`:l`<slot name="headline"></slot>`}</h2>${this.noCloseButton?"":l`<sd-7-0-0-next-1-button part="close-button" variant="tertiary" exportparts="base:close-button__base" class="${p("absolute top-2 right-2")}" name="x-lg" @click="${()=>this.requestClose("close-button")}" type="button"><sd-7-0-0-next-1-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-7-0-0-next-1-icon></sd-7-0-0-next-1-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="flex flex-grow-0 flex-shrink-0 basis-auto ml-auto gap-4 px-6 sm:px-10"><slot name="footer"></slot></footer></div></div>`}};t.styles=[...u.styles,g`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{--width:662px}[part=panel]{width:var(--width);max-height:80vh}[part=body]{-webkit-overflow-scrolling:touch}@media (max-width:414px){:host{--width:335px}[part=body]{min-height:50px}[part=footer]{width:100%}}`],o([c('[part="base"]')],t.prototype,"dialog",2),o([c('[part="panel"]')],t.prototype,"panel",2),o([c('[part="overlay"]')],t.prototype,"overlay",2),o([h({type:Boolean,reflect:!0})],t.prototype,"open",2),o([h({type:String,reflect:!0})],t.prototype,"headline",2),o([h({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-7-0-0-next-1-dialog")],t);a("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"}});a("dialog.showReducedMotion",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("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"}});a("dialog.hideReducedMotion",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});a("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out",reducedMotion:"allow"}});a("dialog.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out",reducedMotion:"allow"}});export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as N}from"./chunk.ICEC5PGK.js";import{a as B}from"./chunk.SAEYIL5V.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as z}from"./chunk.LZRL7OLU.js";import{a as n}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.QQD62QOV.js";import{a as T}from"./chunk.VAM5SM3O.js";import{a}from"./chunk.UFTAQNZB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as l,c as m,d as w,h as x}from"./chunk.TFVRFH37.js";import{b as D,e as r,h as F,i as L}from"./chunk.OBAEIKIV.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var $=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V($);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends x{constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,u="none"){this.input.setSelectionRange(e,s,u)}setRangeText(e,s,u,p){this.input.setRangeText(e,s,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&s&&(this.hasFocus||v||this.isClickableIconFocused),y=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",U={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"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(s||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(s?"inline-block":"hidden",g,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?n(this.placeholder):""}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${B(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${s&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${s?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-6-27-2-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-6-27-2-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-6-27-2-icon class="${a(c,o)}" library="_internal" name="eye"></sd-6-27-2-icon></slot>`:r`<slot name="hide-password-icon"><sd-6-27-2-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-6-27-2-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-6-27-2-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-6-27-2-icon>`:""} ${this.type==="time"?r`<sd-6-27-2-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-6-27-2-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-6-27-2-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-6-27-2-icon></button>`:""} ${this.showInvalidStyle?r`<sd-6-27-2-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-6-27-2-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-6-27-2-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-6-27-2-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-6-27-2-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-27-2-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-6-27-2-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-6-27-2-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm mt-1",u&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...x.styles,D`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-
|
|
1
|
+
import{a as N}from"./chunk.ICEC5PGK.js";import{a as B}from"./chunk.SAEYIL5V.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as z}from"./chunk.LZRL7OLU.js";import{a as n}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.QQD62QOV.js";import{a as T}from"./chunk.VAM5SM3O.js";import{a}from"./chunk.UFTAQNZB.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as l,c as m,d as w,h as x}from"./chunk.ND7KR2OB.js";import{b as D,e as r,h as F,i as L}from"./chunk.OBAEIKIV.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var $=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V($);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends x{constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,u="none"){this.input.setSelectionRange(e,s,u)}setRangeText(e,s,u,p){this.input.setRangeText(e,s,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&s&&(this.hasFocus||v||this.isClickableIconFocused),y=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",U={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"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(s||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(s?"inline-block":"hidden",g,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?n(this.placeholder):""}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${B(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${s&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${s?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-7-0-0-next-1-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-7-0-0-next-1-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-7-0-0-next-1-icon class="${a(c,o)}" library="_internal" name="eye"></sd-7-0-0-next-1-icon></slot>`:r`<slot name="hide-password-icon"><sd-7-0-0-next-1-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-7-0-0-next-1-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-7-0-0-next-1-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-7-0-0-next-1-icon>`:""} ${this.type==="time"?r`<sd-7-0-0-next-1-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-7-0-0-next-1-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-7-0-0-next-1-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-7-0-0-next-1-icon></button>`:""} ${this.showInvalidStyle?r`<sd-7-0-0-next-1-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-7-0-0-next-1-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-7-0-0-next-1-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-7-0-0-next-1-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-7-0-0-next-1-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-7-0-0-next-1-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-7-0-0-next-1-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-7-0-0-next-1-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm mt-1",u&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...x.styles,D`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-7-0-0-next-1-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([m()],t.prototype,"hasFocus",2),i([m()],t.prototype,"showValidStyle",2),i([m()],t.prototype,"showInvalidStyle",2),i([m()],t.prototype,"isClickableIconFocused",2),i([l({type:String,reflect:!0})],t.prototype,"type",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:String,reflect:!0})],t.prototype,"inputmode",2),i([l()],t.prototype,"value",2),i([A()],t.prototype,"defaultValue",2),i([l({type:String,reflect:!0})],t.prototype,"placeholder",2),i([l({type:String,reflect:!0})],t.prototype,"label",2),i([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([l({type:Number,reflect:!0})],t.prototype,"minlength",2),i([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([l({reflect:!0})],t.prototype,"min",2),i([l({reflect:!0})],t.prototype,"max",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([l({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),i([l()],t.prototype,"pattern",2),i([l({reflect:!0})],t.prototype,"step",2),i([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([l({reflect:!0})],t.prototype,"autocomplete",2),i([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([b("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([b("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([b("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),i([b(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=i([E("sd-7-0-0-next-1-input")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as m}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.UFTAQNZB.js";import{a as h,b as a,c as d,d as c,h as o}from"./chunk.ND7KR2OB.js";import{b as l,e as n}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.variant="white";this.breakpoint=448;this.inset=!1;this.reversedLayout=!1;this.hasSlotController=new m(this,"[default]","media","meta","headline")}connectedCallback(){super.connectedCallback(),this.breakpoint===0?this._orientation="horizontal":this.breakpoint===9999?this._orientation="vertical":window.ResizeObserver&&(this.resizeObserver=new ResizeObserver(()=>this.updateOrientation()),this.resizeObserver.observe(this))}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver&&this.resizeObserver.disconnect()}updated(i){super.updated(i),i.has("breakpoint")&&this.updateOrientation()}updateOrientation(){this._orientation=this.offsetWidth>=this.breakpoint?"horizontal":"vertical"}render(){let i=this.variant==="white border-neutral-400"||this.inset,s={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline")};return n`<div class="${r("flex sd-7-0-0-next-1-teaser-border-radius",{white:"bg-white","white border-neutral-400":"bg-white border sd-7-0-0-next-1-teaser--neutral-400-color-border","neutral-100":"sd-7-0-0-next-1-teaser--neutral-100-color-background",primary:"bg-primary text-white","primary-100":"sd-7-0-0-next-1-teaser--primary-100-color-background"}[this.variant],this._orientation==="vertical"&&"flex-col",this._orientation==="horizontal"&&"flex-row gap-8",this._orientation==="horizontal"&&i&&"py-8 px-10")}" part="base"><div style="${this._orientation==="horizontal"?`width: var(--distribution-content, 100%); ${i?"width: var(--distribution-content, calc(100% - 2rem));":""}`:""}" class="${r("flex flex-col text-left order-2",this._orientation==="horizontal"&&"flex flex-col",this._orientation==="vertical"&&i&&"m-4")}" part="content"><div class="flex flex-col-reverse"><div part="headline" class="${r("text-lg font-bold m-0",this.variant==="primary"?"text-white":"text-black")}"><slot name="headline">Always insert one semantically correct heading element here (e. g. <h2>)</slot></div><div part="meta" class="${r("gap-2 mb-4",!s["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!s["teaser-has-default"]&&"hidden")}" role="group" aria-labelledby="headline"><slot></slot></div></div><div part="media" id="media" style="${this._orientation==="horizontal"?"width: var(--distribution-media, 100%);":""}" class="${r("order-1",!i&&this._orientation==="vertical"&&"mb-4",!s["teaser-has-media"]&&"hidden",this.variant==="white border-neutral-400"&&this._orientation==="vertical"&&"mx-[-1px] mt-[-1px]",this._orientation!=="vertical"&&this.reversedLayout&&"order-2")}"><slot name="media"></slot></div></div>`}};t.styles=[...o.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:block}::slotted(*){margin:calc(var(--sd-spacing-1) * 0)}`],e([a({type:String,reflect:!0})],t.prototype,"variant",2),e([a({reflect:!0,type:Number})],t.prototype,"breakpoint",2),e([a({type:Boolean,reflect:!0})],t.prototype,"inset",2),e([a({type:Boolean,reflect:!0,attribute:"reversed-layout"})],t.prototype,"reversedLayout",2),e([c('[part="base"]')],t.prototype,"teaser",2),e([d()],t.prototype,"_orientation",2),t=e([h("sd-7-0-0-next-1-teaser")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as o}from"./chunk.LHSR56PH.js";import{a as y}from"./chunk.CGQ2BPPZ.js";import{a as u,b as a}from"./chunk.NL7YFV4O.js";import{a as m}from"./chunk.VAM5SM3O.js";import{a as s}from"./chunk.UFTAQNZB.js";import{a as b,b as r,d as p,h as f}from"./chunk.ND7KR2OB.js";import{b as v}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends f{constructor(){super(...arguments);this.hasSlotController=new y(this,"[default]","description","children");this.localize=new m(this);this.vertical=!1;this.size="md";this.current=!1;this.disabled=!1;this.stacked=!1;this.chevron=!1;this.relaxed=!1;this.divider=!1;this.indented=!1;this.open=!1;this.separated=!1}get isButton(){return!this.href&&!this.hasSlotController.test("children")}get isLink(){return!!this.href}get isAccordion(){return!this.separated&&!this.href&&this.hasSlotController.test("children")}get isIconOnly(){if(!this.defaultSlot)return!1;let i=this.defaultSlot.assignedNodes({flatten:!0});return i.length>0&&i.every(n=>{var c;return n.nodeType===Node.TEXT_NODE?!((c=n.textContent)!=null&&c.trim()):n.nodeType===Node.ELEMENT_NODE?n.tagName.toLowerCase()==="sd-7-0-0-next-1-icon":!1})}get isStackedHorizontal(){return!this.vertical&&this.stacked}handleClickButton(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}handleClickSummary(i){i.preventDefault(),i.stopPropagation(),this.disabled||(this.open?this.hideDetails():this.showDetails())}hideDetails(){this.open=!1,this.emit("sd-hide",{cancelable:!0})}showDetails(){this.open=!0,this.emit("sd-show",{cancelable:!0})}get calculatePaddingX(){return this.relaxed&&this.indented?"pl-8 pr-4":this.relaxed?"px-4":this.indented?"pl-4":""}get tag(){return this.separated&&!this.isLink?u`div`:this.isAccordion&&!this.isLink?u`summary`:this.isLink?u`a`:u`button`}focus(){var i;this.disabled||(i=this.button)==null||i.focus()}blur(){var i;(i=this.button)==null||i.blur()}render(){let i=this.tag,n=this.isLink,c=this.isButton,l=this.isAccordion,g=this.isIconOnly,d={label:this.hasSlotController.test("[default]"),main:this.hasSlotController.test("main"),description:this.hasSlotController.test("description"),children:this.hasSlotController.test("children")},x=this.vertical?"py-3":this.isStackedHorizontal?"pt-1 pb-0":"py-2",h=a`<${i} part="base" class="${s("flex items-center cursor-pointer relative focus-visible:focus-outline group hover:bg-neutral-200 transition-colors duration-fast ease-in-out min-h-[48px] navigable-border-radius",this.isStackedHorizontal?"text-xs leading-4.5":{md:"navigable-font-size",lg:"text-lg",sm:"text-[14px]"}[this.size],this.disabled?"text-neutral-500 pointer-events-none":"sd-7-0-0-next-1-navigation-item--default-color-text",this.current&&!this.disabled&&"sd-7-0-0-next-1-navigation-item--current-color-text",this.current&&!this.isStackedHorizontal&&"font-bold",!this.current&&!this.isStackedHorizontal&&"choice-control-font-weight",!l&&"w-full",this.divider&&this.vertical&&"mt-0.25",!this.vertical&&(this.isStackedHorizontal?"inline-flex flex-col items-center justify-center text-center rounded-full wrap":"inline-flex items-center"),!this.separated&&"hover:bg-neutral-200 group transition-colors duration-fast ease-in-out min-h-[48px]",g?"justify-center aspect-square p-3":this.isStackedHorizontal?"px-8":"px-4")}" aria-current="${o(this.current?"page":void 0)}" aria-disabled="${this.disabled}" aria-labelledby="content" aria-describedby="description" ?disabled="${o(c?this.disabled:void 0)}" href="${o(n?this.href:void 0)}" target="${o(n?this.target:void 0)}" download="${o(n?this.download:void 0)}" rel="${o(n&&this.target?"noreferrer noopener":void 0)}" tabindex="${this.disabled?"-1":"0"}" @click="${this.separated?void 0:l?this.handleClickSummary:c?this.handleClickButton:void 0}"><div part="current-indicator" class="${s("absolute bg-accent pointer-events-none navigable__current-indicator-border-radius",this.isStackedHorizontal&&"hidden",this.vertical?"navigable__current-indicator-width h-[calc(100%-16px)] top-2 left-0 group-hover:h-full group-hover:top-0":"navigable__current-indicator-height w-[calc(100%-16px)] left-2 bottom-0 group-hover:w-full group-hover:left-0 transition-all",this.disabled&&"bg-neutral-500")}"></div><div class="${s("inline-flex flex-col justify-center gap-1 w-full h-full",this.isStackedHorizontal&&"flex-col items-center")}"><span part="content-area" class="${s("relative inline-flex justify-between items-center",l?"grow":"w-full",this.isStackedHorizontal&&"justify-center",d.description&&"pt-3",!d.description&&!this.separated&&x,this.calculatePaddingX)}">${this.divider&&this.vertical?a`<sd-7-0-0-next-1-divider part="divider" class="${s("w-full transition-all absolute -top-0.25 left-0",this.calculatePaddingX)}"></sd-7-0-0-next-1-divider>`:""} <span id="content" part="content-container" class="${s("inline-flex items-center",this.vertical?"flex-auto gap-2":this.isStackedHorizontal?"relative text-center pb-1":"flex-auto flex-col justify-center gap-1 text-center")}"><slot part="content" class="${s("inline-flex items-center",this.vertical?"gap-2":this.isStackedHorizontal?"flex-col justify-center gap-1 text-center":"justify-center gap-1 text-center")}"></slot>${this.isStackedHorizontal?a`<span part="current-indicator" aria-hidden="true" class="${s("absolute left-0 right-0 bottom-0 h-[2px] pointer-events-none bg-accent navigable__current-indicator-border-radius",this.disabled&&"bg-neutral-500")}"></span>`:""} </span>${this.chevron||d.children&&this.vertical&&!this.separated?a`<sd-7-0-0-next-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("h-6 w-6 ml-2 transition-all",l?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-7-0-0-next-1-icon>`:""} </span>${d.description&&this.vertical?a`<slot id="description" name="description" part="description" class="${s("inline-block text-sm text-left font-normal text-black pb-3",l||this.separated?"grow":"w-full",this.calculatePaddingX)}"></slot>`:""}</div></${i}>`;return this.separated?a`<div part="details" id="navigation-item-details" class="relative flex flex-col"><div class="flex items-start">${h} ${d.children&&this.vertical?a`<button type="button" title="${this.open?this.localize.term("collapseNavigationItem"):this.localize.term("expandNavigationItem")}" class="sd-interactive sd-interactive--reset -mt-1" @click="${this.handleClickSummary}"><sd-7-0-0-next-1-icon name="chevron-down" part="chevron" library="_internal" color="currentColor" class="${s("m-4 h-6 w-6 transition-all",l||this.separated?this.open?"rotate-180":"rotate-0":"rotate-[270deg]")}"></sd-7-0-0-next-1-icon></button>`:""}</div>${this.open?a`<slot name="children"></slot>`:""}</div>`:l?a`<details aria-expanded="${this.open}" part="details" id="navigation-item-details" ?open="${this.open}" class="relative">${h}<slot name="children"></slot></details>`:a`${h}`}};t.styles=[...f.styles,v`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
+
:host{position:relative;box-sizing:border-box;display:inline-block}:host([vertical]){display:block}:host([stacked]:not([vertical])) ::slotted(sd-7-0-0-next-1-icon){height:var(--sd-spacing-6);width:var(--sd-spacing-6)}.sd-7-0-0-next-1-navigation-item--current-color-text{color:rgb(var(--sd-navigation-item--current-color-text,var(--sd-navigation-item-color-text)))}details summary::-webkit-details-marker{display:none}[part=current-indicator]{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-0);--tw-duration:var(--sd-duration-fast, 150ms);transition-duration:var(--sd-duration-fast,150ms);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,opacity var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out var(--sd-duration-fast)}:host([current]) [part=current-indicator]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y);opacity:var(--sd-opacity-100);transition:width var(--sd-duration-fast) ease-in-out,height var(--sd-duration-fast) ease-in-out,left var(--sd-duration-fast) ease-in-out,top var(--sd-duration-fast) ease-in-out,transform var(--sd-duration-fast) ease-in-out}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-duration{syntax:"*";inherits:false}`],e([p('[part="base"]')],t.prototype,"button",2),e([p("slot:not([name])")],t.prototype,"defaultSlot",2),e([r({type:Boolean,reflect:!0})],t.prototype,"vertical",2),e([r({type:String,reflect:!0})],t.prototype,"size",2),e([r({reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({reflect:!0})],t.prototype,"download",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([r({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r({type:Boolean,reflect:!0})],t.prototype,"stacked",2),e([r({type:Boolean,reflect:!0})],t.prototype,"chevron",2),e([r({type:Boolean,reflect:!0})],t.prototype,"relaxed",2),e([r({type:Boolean,reflect:!0})],t.prototype,"divider",2),e([r({type:Boolean,reflect:!0})],t.prototype,"indented",2),e([r({type:Boolean,reflect:!0})],t.prototype,"open",2),e([r({type:Boolean,reflect:!0})],t.prototype,"separated",2),t=e([b("sd-7-0-0-next-1-navigation-item")],t);export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as c}from"./chunk.UFTAQNZB.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.ND7KR2OB.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-1-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.0 | 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-1-tab-panel")],t);export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as v}from"./chunk.UFTAQNZB.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.
|
|
2
|
-
:host{width:-moz-max-content;width:max-content}`],s([m("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([n("activeStep",{waitUntilFirstUpdate:!0})],e.prototype,"handleActiveStepChange",1),s([n("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([n("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([n("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([f("sd-
|
|
1
|
+
import{a as v}from"./chunk.UFTAQNZB.js";import{a as n}from"./chunk.NYKJXI3Q.js";import{a as f,b as a,d as m,h as l}from"./chunk.ND7KR2OB.js";import{b as o,e as c,i as h}from"./chunk.OBAEIKIV.js";import{e as s}from"./chunk.6EV4YU6C.js";var e=class extends l{constructor(){super(...arguments);this.steps=[];this.size="lg";this.orientation="horizontal";this.activeStep=0;this.notInteractive=!1;this.label=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.steps=this.getAllSteps(),this.steps[this.steps.length-1].noTail=!0;let t;this.steps.forEach((i,r)=>{i.index=r+1,i.size=this.size,i.orientation=this.orientation,this.notInteractive?(i.current=!1,i.disabled=!1,i.notInteractive=!0):i.current&&(t=r)}),this.activeStep!==-1&&this.setActiveStep(t||this.activeStep)})}handleActiveStepChange(){let t=Number(this.activeStep);Number.isNaN(t)||this.setActiveStep(t)}updateSize(){this.steps.forEach(t=>{t.size=this.size})}updateOrientation(){this.steps.forEach(t=>{t.orientation=this.orientation})}getAllSteps(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="sd-7-0-0-next-1-step")}setActiveStep(t){t>=0&&t<this.steps.length&&!this.notInteractive&&(this.activeStep=t,this.steps.forEach((i,r)=>{r===t?i.current=!0:r>t?(i.waiting=!0,i.current=!1):(i.current=!1,i.waiting=!1)}))}handleInteractivityChange(){this.notInteractive&&this.steps.forEach(t=>{t.current=!1,t.disabled=!1,t.notInteractive=!0})}render(){return this.size==="xs"&&this.orientation!=="vertical"?(console.warn('Size "xs" is only supported when orientation is "vertical". The element will not be rendered.'),h):c`<div role="${this.notInteractive?"group":"navigation"}" class="h-full" aria-label="${this.label}"><div role="list" part="base" class="${v("flex",this.orientation==="vertical"&&"flex-col h-full")}"><slot part="body"></slot></div></div>`}};e.styles=[...l.styles,o`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{width:-moz-max-content;width:max-content}`],s([m("[part=body]")],e.prototype,"body",2),s([a({type:String,reflect:!0})],e.prototype,"size",2),s([a({type:String,reflect:!0})],e.prototype,"orientation",2),s([a({type:Number,reflect:!0,attribute:"active-step"})],e.prototype,"activeStep",2),s([a({type:Boolean,reflect:!0,attribute:"not-interactive"})],e.prototype,"notInteractive",2),s([a({type:String,reflect:!0})],e.prototype,"label",2),s([n("activeStep",{waitUntilFirstUpdate:!0})],e.prototype,"handleActiveStepChange",1),s([n("size",{waitUntilFirstUpdate:!0})],e.prototype,"updateSize",1),s([n("orientation",{waitUntilFirstUpdate:!0})],e.prototype,"updateOrientation",1),s([n("notInteractive")],e.prototype,"handleInteractivityChange",1),e=s([f("sd-7-0-0-next-1-step-group")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.UFTAQNZB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.
|
|
2
|
-
:host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-
|
|
1
|
+
import{a as u}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.UFTAQNZB.js";import{a as o}from"./chunk.NYKJXI3Q.js";import{a as h,b as a,c as r,d,h as n}from"./chunk.ND7KR2OB.js";import{b as c,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 u(this,"default","left","right");this.current=!1;this.selected=!1;this.hasHover=!1;this.isKeyboardFocus=!1;this.size="lg";this.checkbox=!1;this.disabled=!1;this.value=""}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false")}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}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var s;return((s=this.textContent)!=null?s:"").trim()}render(){let s={default:this.hasSlotController.test("default"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")};return l`<div part="base" style="word-break:break-word" class="${i("px-4 flex items-start w-full transition-colors duration-fast ease-in-out text-left text-base relative",{sm:"text-base py-1",md:"text-base py-2",lg:"text-base py-3"}[this.size],this.disabled?"text-neutral-500 cursor-not-allowed":"text-black cursor-pointer",this.hasHover&&!this.disabled?"bg-neutral-200":"",this.isKeyboardFocus?"focus-outline focus-outline-offset":"",this.current&&"bg-neutral-200")}" @mouseenter="${this.handleMouseEnter}" @mouseleave="${this.handleMouseLeave}"><span class="${i("absolute w-full left-0 top-0 pointer-events-none transition-[height,top] duration-fast ease-in-out border-l-4 h-[calc(100%-8px)]",this.selected&&!this.checkbox?"border-accent":"border-transparent",this.disabled&&"border-neutral-500 top-1",!this.disabled&&this.hasHover?"h-full top-0":"top-1")}"></span> ${this.checkbox?l`<span id="control" part="control ${this.selected?" control--checked":"control--unchecked"}" class="${i("relative flex flex-shrink-0 items-center justify-center border sd-7-0-0-next-1-checkbox-border-width rounded-sm h-4 w-4 mr-2",{sm:"mt-0.5",md:"mt-1",lg:"mt-1"}[this.size],this.disabled?"sd-7-0-0-next-1-option--disabled-color-border":this.selected?"bg-accent border-accent":"bg-white form-control-color-border")}">${this.selected?l`<sd-7-0-0-next-1-icon part="checked-icon" class="text-white w-3 h-3" library="_internal" name="status-check"></sd-7-0-0-next-1-icon>`:""}</span>`:""} ${s.left?l`<slot name="left" part="left" class="inline-flex mr-2"></slot>`:""}<slot part="label" class="inline-block flex-grow" @slotchange="${this.handleDefaultSlotChange}"></slot>${s.right?l`<slot name="right" part="right" class="inline-flex ml-2"></slot>`:""}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{position:relative;display:block;width:100%;--tw-outline-style:none!important;outline-style:none!important}.focus-outline-offset{outline-offset:-2px}.sd-7-0-0-next-1-option--disabled-color-border{border-color:rgb(var(--sd-option--disabled-color-border))}`],t([d('[part="base"]')],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([r()],e.prototype,"isKeyboardFocus",2),t([a({type:String,reflect:!0})],e.prototype,"size",2),t([a({type:Boolean,reflect:!0})],e.prototype,"checkbox",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:String,reflect:!0})],e.prototype,"value",2),t([o("disabled")],e.prototype,"handleDisabledChange",1),t([o("selected")],e.prototype,"handleSelectedChange",1),t([o("value")],e.prototype,"handleValueChange",1),e=t([h("sd-7-0-0-next-1-option")],e);export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a}from"./chunk.UFTAQNZB.js";import{a as p,b as s,c as d,d as c,h as n}from"./chunk.
|
|
1
|
+
import{a}from"./chunk.UFTAQNZB.js";import{a as p,b as s,c as d,d as c,h as n}from"./chunk.ND7KR2OB.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-7-0-0-next-1-brandshape--neutral-100-color-background",primary:"sd-7-0-0-next-1-brandshape--primary-color-background",white:"sd-7-0-0-next-1-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-next-1-brandshape--primary-80-color-background","white|80":"sd-7-0-0-next-1-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-7-0-0-next-1-brandshape--neutral-100-color-background",primary:"sd-7-0-0-next-1-brandshape--primary-color-background",white:"sd-7-0-0-next-1-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-7-0-0-next-1-brandshape--primary-80-color-background","white|80":"sd-7-0-0-next-1-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
|
|
3
3
|
(var(--opposite) - (var(--radius) / 3)) * 0.5
|
|
4
|
-
)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:calc(var(--sd-spacing-1) * 0);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([c("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-
|
|
4
|
+
)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:calc(var(--sd-spacing-1) * 0);border-style:var(--tw-border-style);border-width:var(--sd-border-width-2);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([c("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-7-0-0-next-1-brandshape")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as Bt}from"./chunk.UFTAQNZB.js";import{a as kt,b as O,d as Et,h as Ct}from"./chunk.TFVRFH37.js";import{b as Dt,e as Rt}from"./chunk.OBAEIKIV.js";import{a as S,b as W,c as mt,e as A}from"./chunk.6EV4YU6C.js";var V=Math.min,T=Math.max,ft=Math.round,ut=Math.floor,$=t=>({x:t,y:t}),ge={left:"right",right:"left",bottom:"top",top:"bottom"};function gt(t,e,n){return T(t,V(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function wt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function yt(t){return St(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=yt(t),s=wt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Ht(t){let e=at(t);return[pt(t),e,pt(e)]}function pt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var $t=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:$t:e?$t:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Wt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(pt)))),s}function at(t){let e=Y(t);return ge[e]+t.slice(e.length)}function ve(t){return S({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(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 Vt(t,e,n){let{reference:i,floating:o}=t,s=_(e),r=yt(e),c=wt(r),f=Y(e),u=s==="y",l=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[c]/2-o[c]/2,a;switch(f){case"top":a={x:l,y:i.y-o.height};break;case"bottom":a={x:l,y:i.y+i.height};break;case"right":a={x:i.x+i.width,y:h};break;case"left":a={x:i.x-o.width,y:h};break;default:a={x:i.x,y:i.y}}switch(tt(e)){case"start":a[r]-=m*(n&&u?-1:1);break;case"end":a[r]+=m*(n&&u?-1:1);break}return a}async function _t(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:m=!1,padding:a=0}=Z(e,t),d=Tt(a),w=c[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:l,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},R=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:f}):y);return{top:(g.top-R.top+d.top)/b.y,bottom:(R.bottom-g.bottom+d.bottom)/b.y,left:(g.left-R.left+d.left)/b.x,right:(R.right-g.right+d.right)/b.x}}var be=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,c=r.detectOverflow?r:W(S({},r),{detectOverflow:_t}),f=await(r.isRTL==null?void 0:r.isRTL(e)),u=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:l,y:h}=Vt(u,i,f),m=i,a=0,d={};for(let p=0;p<s.length;p++){let w=s[p];if(!w)continue;let{name:g,fn:y}=w,{x:v,y:b,data:R,reset:E}=await y({x:l,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:d,rects:u,platform:c,elements:{reference:t,floating:e}});l=v!=null?v:l,h=b!=null?b:h,d[g]=S(S({},d[g]),R),E&&a<be&&(a++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):E.rects),{x:l,y:h}=Vt(u,m,f)),p=-1)}return{x:l,y:h,placement:m,strategy:o,middlewareData:d}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:c,middlewareData:f}=e,{element:u,padding:l=0}=Z(t,e)||{};if(u==null)return{};let h=Tt(l),m={x:n,y:i},a=yt(o),d=wt(a),p=await r.getDimensions(u),w=a==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[a]-m[a]-s.floating[d],R=m[a]-s.reference[a],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(u)),C=E?E[v]:0;(!C||!await(r.isElement==null?void 0:r.isElement(E)))&&(C=c.floating[v]||s.floating[d]);let I=b/2-R/2,N=C/2-p[d]/2-1,z=V(h[g],N),U=V(h[y],N),H=z,K=C-p[d]-U,P=C/2-p[d]/2+I,k=gt(H,P,K),J=!f.arrow&&tt(o)!=null&&P!==k&&s.reference[d]/2-(P<H?z:U)-p[d]/2<0,X=J?P<H?P-H:P-K:0;return{[a]:m[a]+X,data:S({[a]:k,centerOffset:P-k-X},J&&{alignmentOffset:X}),reset:J}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=e,P=Z(t,e),{mainAxis:l=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=mt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=_(c),v=Y(c)===c,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),R=m||(v||!p?[at(c)]:Ht(c)),E=d!=="none";!m&&E&&R.push(...Wt(c,p,d,b));let C=[c,...R],I=await f.detectOverflow(e,w),N=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(l&&N.push(I[g]),h){let k=Nt(o,r,b);N.push(I[k[0]],I[k[1]])}if(z=[...z,{placement:o,overflows:N}],!N.every(k=>k<=0)){var U,H;let k=(((U=s.flip)==null?void 0:U.index)||0)+1,J=C[k];if(J&&(!(h==="alignment"?y!==_(J):!1)||z.every(B=>_(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:k,overflows:z},reset:{placement:J}};let X=(H=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:H.placement;if(!X)switch(a){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(E){let G=_(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,pe)=>G+pe,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=c;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var Ae=new Set(["left","top"]);async function Oe(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),c=tt(n),f=_(n)==="y",u=Ae.has(r)?-1:1,l=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:a,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof d=="number"&&(a=c==="end"?d*-1:d),f?{x:a*l,y:m*u}:{x:m*u,y:a*l}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:c}=e,f=await Oe(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:W(S({},f),{placement:r})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,g=Z(t,e),{mainAxis:r=!0,crossAxis:c=!1,limiter:f={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=g,u=mt(g,["mainAxis","crossAxis","limiter"]),l={x:n,y:i},h=await s.detectOverflow(e,u),m=_(Y(o)),a=St(m),d=l[a],p=l[m];if(r){let y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",b=d+h[y],R=d-h[v];d=gt(b,d,R)}if(c){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],R=p-h[v];p=gt(b,p,R)}let w=f.fn(W(S({},e),{[a]:d,[m]:p}));return W(S({},w),{data:{x:w.x-n,y:w.y-i,enabled:{[a]:r,[m]:c}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:c}=e,z=Z(t,e),{apply:f=()=>{}}=z,u=mt(z,["apply"]),l=await r.detectOverflow(e,u),h=Y(o),m=tt(o),a=_(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-l.top-l.bottom,v=d-l.left-l.right,b=V(p-l[w],y),R=V(d-l[g],v),E=!e.middlewareData.shift,C=b,I=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(C=y),E&&!m){let U=T(l.left,0),H=T(l.right,0),K=T(l.top,0),P=T(l.bottom,0);a?I=d-2*(U!==0||H!==0?U+H:T(l.left,l.right)):C=p-2*(K!==0||P!==0?K+P:T(l.top,l.bottom))}await f(W(S({},e),{availableWidth:I,availableHeight:C}));let N=await r.getDimensions(c.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function it(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function F(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return xt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return xt()?t instanceof Element||t instanceof L(t).Element:!1}function j(t){return xt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function Kt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}function ct(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=D(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(it(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Re=/transform|translate|scale|rotate|perspective|filter/,Ee=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none",Lt;function vt(t){let e=M(t)?D(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!bt()&&(nt(e.backdropFilter)||nt(e.filter))||Re.test(e.willChange||"")||Ee.test(e.contain||"")}function Qt(t){let e=q(t);for(;j(e)&&!ot(e);){if(vt(e))return e;if(ht(e))return null;e=q(e)}return null}function bt(){return Lt==null&&(Lt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lt}function ot(t){return/^(html|body|#document)$/.test(it(t))}function D(t){return L(t).getComputedStyle(t)}function dt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(it(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||F(t);return Kt(e)?e.host:e}function Zt(t){let e=q(t);return ot(e)?t.ownerDocument?t.ownerDocument.body:t.body:j(e)&&ct(e)?e:Zt(e)}function st(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let c=At(r);return e.concat(r,r.visualViewport||[],ct(o)?o:[],c&&n?st(c):[])}else return e.concat(o,st(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ie(t){let e=D(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,c=ft(n)!==s||ft(i)!==r;return c&&(n=s,i=r),{width:n,height:i,$:c}}function zt(t){return M(t)?t:t.contextElement}function lt(t){let e=zt(t);if(!j(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ie(e),r=(s?ft(n.width):n.width)/i,c=(s?ft(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}var Ce=$(0);function oe(t){let e=L(t);return!bt()||!e.visualViewport?Ce:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Se(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function rt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=zt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let c=Se(s,n,i)?oe(s):$(0),f=(o.left+c.x)/r.x,u=(o.top+c.y)/r.y,l=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),a=i&&M(i)?L(i):i,d=m,p=At(d);for(;p&&i&&a!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=D(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,b=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,u*=w.y,l*=w.x,h*=w.y,f+=v,u+=b,d=L(p),p=At(d)}}return et({width:l,height:h,x:f,y:u})}function Ot(t,e){let n=dt(t).scrollLeft;return e?e.left+n:rt(F(t)).left+n}function re(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Te(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=F(i),c=e?ht(e.floating):!1;if(i===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$(1),l=$(0),h=j(i);if((h||!h&&!s)&&((it(i)!=="body"||ct(r))&&(f=dt(i)),h)){let a=rt(i);u=lt(i),l.x=a.x+i.clientLeft,l.y=a.y+i.clientTop}let m=r&&!h&&!s?re(r,f):$(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+l.x+m.x,y:n.y*u.y-f.scrollTop*u.y+l.y+m.y}}function Le(t){return Array.from(t.getClientRects())}function Pe(t){let e=F(t),n=dt(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),c=-n.scrollTop;return D(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:c}}var te=25;function ze(t,e){let n=L(t),i=F(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,c=0,f=0;if(o){s=o.width,r=o.height;let l=bt();(!l||l&&e==="fixed")&&(c=o.offsetLeft,f=o.offsetTop)}let u=Ot(i);if(u<=0){let l=i.ownerDocument,h=l.body,m=getComputedStyle(h),a=l.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-a);d<=te&&(s-=d)}else u<=te&&(s+=u);return{width:s,height:r,x:c,y:f}}function Me(t,e){let n=rt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=j(t)?lt(t):$(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=o*s.x,u=i*s.y;return{width:r,height:c,x:f,y:u}}function ee(t,e,n){let i;if(e==="viewport")i=ze(t,n);else if(e==="document")i=Pe(F(t));else if(M(e))i=Me(e,n);else{let o=oe(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function se(t,e){let n=q(t);return n===e||!M(n)||ot(n)?!1:D(n).position==="fixed"||se(n,e)}function De(t,e){let n=e.get(t);if(n)return n;let i=st(t,[],!1).filter(c=>M(c)&&it(c)!=="body"),o=null,s=D(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!ot(r);){let c=D(r),f=vt(r);!f&&c.position==="fixed"&&(o=null),(s?!f&&!o:!f&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ct(r)&&!f&&se(t,r))?i=i.filter(l=>l!==r):o=c,r=q(r)}return e.set(t,i),i}function ke(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ht(e)?[]:De(e,this._c):[].concat(n),i],c=ee(e,r[0],o),f=c.top,u=c.right,l=c.bottom,h=c.left;for(let m=1;m<r.length;m++){let a=ee(e,r[m],o);f=T(a.top,f),u=V(a.right,u),l=V(a.bottom,l),h=T(a.left,h)}return{width:u-h,height:l-f,x:h,y:f}}function Be(t){let{width:e,height:n}=ie(t);return{width:e,height:n}}function $e(t,e,n){let i=j(e),o=F(e),s=n==="fixed",r=rt(t,!0,s,e),c={scrollLeft:0,scrollTop:0},f=$(0);function u(){f.x=Ot(o)}if(i||!i&&!s)if((it(e)!=="body"||ct(o))&&(c=dt(e)),i){let a=rt(e,!0,s,e);f.x=a.x+e.clientLeft,f.y=a.y+e.clientTop}else o&&u();s&&!i&&o&&u();let l=o&&!i&&!s?re(o,c):$(0),h=r.left+c.scrollLeft-f.x-l.x,m=r.top+c.scrollTop-f.y-l.y;return{x:h,y:m,width:r.width,height:r.height}}function Pt(t){return D(t).position==="static"}function ne(t,e){if(!j(t)||D(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return F(t)===n&&(n=n.ownerDocument.body),n}function ce(t,e){let n=L(t);if(ht(t))return n;if(!j(t)){let o=q(t);for(;o&&!ot(o);){if(M(o)&&!Pt(o))return o;o=q(o)}return n}let i=ne(t,e);for(;i&&Jt(i)&&Pt(i);)i=ne(i,e);return i&&ot(i)&&Pt(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||ce,n=this.getDimensions,i=await n(t.floating);return{reference:$e(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ne(t){return D(t).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:Te,getDocumentElement:F,getClippingRect:ke,getOffsetParent:ce,getElementRects:Fe,getClientRects:Le,getDimensions:Be,getScale:lt,isElement:M,isRTL:Ne};function le(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function We(t,e){let n=null,i,o=F(t);function s(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();let u=t.getBoundingClientRect(),{left:l,top:h,width:m,height:a}=u;if(c||e(),!m||!a)return;let d=ut(h),p=ut(o.clientWidth-(l+m)),w=ut(o.clientHeight-(h+a)),g=ut(l),v={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:T(0,V(1,f))||1},b=!0;function R(E){let C=E[0].intersectionRatio;if(C!==f){if(!b)return r();C?r(!1,C):i=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!le(u,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(R,W(S({},v),{root:o.ownerDocument}))}catch(E){n=new IntersectionObserver(R,v)}n.observe(t)}return r(!0),s}function ae(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,u=zt(t),l=o||s?[...u?st(u):[],...e?st(e):[]]:[];l.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=u&&c?We(u,n):null,m=-1,a=null;r&&(a=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&a&&e&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=a)==null||v.observe(e)})),n()}),u&&!f&&a.observe(u),e&&a.observe(e));let d,p=f?rt(t):null;f&&w();function w(){let g=rt(t);p&&!le(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;l.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(d)}}var fe=Yt;var ue=qt,he=Xt,Mt=Ut;var de=It;var me=(t,e,n)=>{let i=new Map,o=S({platform:He},n),s=W(S({},o.platform),{_c:i});return jt(t,e,W(S({},o),{platform:s}))};var x=class extends Ct{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=ae(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=[fe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(he({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ue({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(de({element:this.arrowEl,padding:this.arrowPadding})),me(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let c=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let u=s.arrow.x,l=s.arrow.y,h="",m="",a="",d="";if(this.arrowPlacement==="start"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=c?p:"",d=c?"":p}else if(this.arrowPlacement==="end"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=c?"":p,d=c?p:"",a=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof u=="number"?`${u}px`:"",h=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:a,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Rt`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Bt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Rt`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Dt`/*! tailwindcss v4.3.0 | 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([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.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(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([kt("sd-
|
|
1
|
+
import{a as Bt}from"./chunk.UFTAQNZB.js";import{a as kt,b as O,d as Et,h as Ct}from"./chunk.ND7KR2OB.js";import{b as Dt,e as Rt}from"./chunk.OBAEIKIV.js";import{a as S,b as W,c as mt,e as A}from"./chunk.6EV4YU6C.js";var V=Math.min,T=Math.max,ft=Math.round,ut=Math.floor,$=t=>({x:t,y:t}),ge={left:"right",right:"left",bottom:"top",top:"bottom"};function gt(t,e,n){return T(t,V(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function Y(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function wt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function yt(t){return St(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=tt(t),o=yt(t),s=wt(o),r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=at(r)),[r,at(r)]}function Ht(t){let e=at(t);return[pt(t),e,pt(e)]}function pt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var $t=["left","right"],Ft=["right","left"],we=["top","bottom"],ye=["bottom","top"];function xe(t,e,n){switch(t){case"top":case"bottom":return n?e?Ft:$t:e?$t:Ft;case"left":case"right":return e?we:ye;default:return[]}}function Wt(t,e,n,i){let o=tt(t),s=xe(Y(t),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),e&&(s=s.concat(s.map(pt)))),s}function at(t){let e=Y(t);return ge[e]+t.slice(e.length)}function ve(t){return S({top:0,right:0,bottom:0,left:0},t)}function Tt(t){return typeof t!="number"?ve(t):{top:t,right:t,bottom:t,left:t}}function et(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 Vt(t,e,n){let{reference:i,floating:o}=t,s=_(e),r=yt(e),c=wt(r),f=Y(e),u=s==="y",l=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,m=i[c]/2-o[c]/2,a;switch(f){case"top":a={x:l,y:i.y-o.height};break;case"bottom":a={x:l,y:i.y+i.height};break;case"right":a={x:i.x+i.width,y:h};break;case"left":a={x:i.x-o.width,y:h};break;default:a={x:i.x,y:i.y}}switch(tt(e)){case"start":a[r]-=m*(n&&u?-1:1);break;case"end":a[r]+=m*(n&&u?-1:1);break}return a}async function _t(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:s,rects:r,elements:c,strategy:f}=t,{boundary:u="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:m=!1,padding:a=0}=Z(e,t),d=Tt(a),w=c[m?h==="floating"?"reference":"floating":h],g=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:l,strategy:f})),y=h==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),b=await(s.isElement==null?void 0:s.isElement(v))?await(s.getScale==null?void 0:s.getScale(v))||{x:1,y:1}:{x:1,y:1},R=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:v,strategy:f}):y);return{top:(g.top-R.top+d.top)/b.y,bottom:(R.bottom-g.bottom+d.bottom)/b.y,left:(g.left-R.left+d.left)/b.x,right:(R.right-g.right+d.right)/b.x}}var be=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,c=r.detectOverflow?r:W(S({},r),{detectOverflow:_t}),f=await(r.isRTL==null?void 0:r.isRTL(e)),u=await r.getElementRects({reference:t,floating:e,strategy:o}),{x:l,y:h}=Vt(u,i,f),m=i,a=0,d={};for(let p=0;p<s.length;p++){let w=s[p];if(!w)continue;let{name:g,fn:y}=w,{x:v,y:b,data:R,reset:E}=await y({x:l,y:h,initialPlacement:i,placement:m,strategy:o,middlewareData:d,rects:u,platform:c,elements:{reference:t,floating:e}});l=v!=null?v:l,h=b!=null?b:h,d[g]=S(S({},d[g]),R),E&&a<be&&(a++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(u=E.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:o}):E.rects),{x:l,y:h}=Vt(u,m,f)),p=-1)}return{x:l,y:h,placement:m,strategy:o,middlewareData:d}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:s,platform:r,elements:c,middlewareData:f}=e,{element:u,padding:l=0}=Z(t,e)||{};if(u==null)return{};let h=Tt(l),m={x:n,y:i},a=yt(o),d=wt(a),p=await r.getDimensions(u),w=a==="y",g=w?"top":"left",y=w?"bottom":"right",v=w?"clientHeight":"clientWidth",b=s.reference[d]+s.reference[a]-m[a]-s.floating[d],R=m[a]-s.reference[a],E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(u)),C=E?E[v]:0;(!C||!await(r.isElement==null?void 0:r.isElement(E)))&&(C=c.floating[v]||s.floating[d]);let I=b/2-R/2,N=C/2-p[d]/2-1,z=V(h[g],N),U=V(h[y],N),H=z,K=C-p[d]-U,P=C/2-p[d]/2+I,k=gt(H,P,K),J=!f.arrow&&tt(o)!=null&&P!==k&&s.reference[d]/2-(P<H?z:U)-p[d]/2<0,X=J?P<H?P-H:P-K:0;return{[a]:m[a]+X,data:S({[a]:k,centerOffset:P-k-X},J&&{alignmentOffset:X}),reset:J}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:s,rects:r,initialPlacement:c,platform:f,elements:u}=e,P=Z(t,e),{mainAxis:l=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:p=!0}=P,w=mt(P,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let g=Y(o),y=_(c),v=Y(c)===c,b=await(f.isRTL==null?void 0:f.isRTL(u.floating)),R=m||(v||!p?[at(c)]:Ht(c)),E=d!=="none";!m&&E&&R.push(...Wt(c,p,d,b));let C=[c,...R],I=await f.detectOverflow(e,w),N=[],z=((i=s.flip)==null?void 0:i.overflows)||[];if(l&&N.push(I[g]),h){let k=Nt(o,r,b);N.push(I[k[0]],I[k[1]])}if(z=[...z,{placement:o,overflows:N}],!N.every(k=>k<=0)){var U,H;let k=(((U=s.flip)==null?void 0:U.index)||0)+1,J=C[k];if(J&&(!(h==="alignment"?y!==_(J):!1)||z.every(B=>_(B.placement)===y?B.overflows[0]>0:!0)))return{data:{index:k,overflows:z},reset:{placement:J}};let X=(H=z.filter(Q=>Q.overflows[0]<=0).sort((Q,B)=>Q.overflows[1]-B.overflows[1])[0])==null?void 0:H.placement;if(!X)switch(a){case"bestFit":{var K;let Q=(K=z.filter(B=>{if(E){let G=_(B.placement);return G===y||G==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(G=>G>0).reduce((G,pe)=>G+pe,0)]).sort((B,G)=>B[1]-G[1])[0])==null?void 0:K[0];Q&&(X=Q);break}case"initialPlacement":X=c;break}if(o!==X)return{reset:{placement:X}}}return{}}}};var Ae=new Set(["left","top"]);async function Oe(t,e){let{placement:n,platform:i,elements:o}=t,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=Y(n),c=tt(n),f=_(n)==="y",u=Ae.has(r)?-1:1,l=s&&f?-1:1,h=Z(e,t),{mainAxis:m,crossAxis:a,alignmentAxis:d}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return c&&typeof d=="number"&&(a=c==="end"?d*-1:d),f?{x:a*l,y:m*u}:{x:m*u,y:a*l}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:s,placement:r,middlewareData:c}=e,f=await Oe(e,t);return r===((n=c.offset)==null?void 0:n.placement)&&(i=c.arrow)!=null&&i.alignmentOffset?{}:{x:o+f.x,y:s+f.y,data:W(S({},f),{placement:r})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:s}=e,g=Z(t,e),{mainAxis:r=!0,crossAxis:c=!1,limiter:f={fn:y=>{let{x:v,y:b}=y;return{x:v,y:b}}}}=g,u=mt(g,["mainAxis","crossAxis","limiter"]),l={x:n,y:i},h=await s.detectOverflow(e,u),m=_(Y(o)),a=St(m),d=l[a],p=l[m];if(r){let y=a==="y"?"top":"left",v=a==="y"?"bottom":"right",b=d+h[y],R=d-h[v];d=gt(b,d,R)}if(c){let y=m==="y"?"top":"left",v=m==="y"?"bottom":"right",b=p+h[y],R=p-h[v];p=gt(b,p,R)}let w=f.fn(W(S({},e),{[a]:d,[m]:p}));return W(S({},w),{data:{x:w.x-n,y:w.y-i,enabled:{[a]:r,[m]:c}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,i;let{placement:o,rects:s,platform:r,elements:c}=e,z=Z(t,e),{apply:f=()=>{}}=z,u=mt(z,["apply"]),l=await r.detectOverflow(e,u),h=Y(o),m=tt(o),a=_(o)==="y",{width:d,height:p}=s.floating,w,g;h==="top"||h==="bottom"?(w=h,g=m===(await(r.isRTL==null?void 0:r.isRTL(c.floating))?"start":"end")?"left":"right"):(g=h,w=m==="end"?"top":"bottom");let y=p-l.top-l.bottom,v=d-l.left-l.right,b=V(p-l[w],y),R=V(d-l[g],v),E=!e.middlewareData.shift,C=b,I=R;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(I=v),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(C=y),E&&!m){let U=T(l.left,0),H=T(l.right,0),K=T(l.top,0),P=T(l.bottom,0);a?I=d-2*(U!==0||H!==0?U+H:T(l.left,l.right)):C=p-2*(K!==0||P!==0?K+P:T(l.top,l.bottom))}await f(W(S({},e),{availableWidth:I,availableHeight:C}));let N=await r.getDimensions(c.floating);return d!==N.width||p!==N.height?{reset:{rects:!0}}:{}}}};function xt(){return typeof window!="undefined"}function it(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function F(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return xt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return xt()?t instanceof Element||t instanceof L(t).Element:!1}function j(t){return xt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function Kt(t){return!xt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}function ct(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=D(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(it(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Re=/transform|translate|scale|rotate|perspective|filter/,Ee=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none",Lt;function vt(t){let e=M(t)?D(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!bt()&&(nt(e.backdropFilter)||nt(e.filter))||Re.test(e.willChange||"")||Ee.test(e.contain||"")}function Qt(t){let e=q(t);for(;j(e)&&!ot(e);){if(vt(e))return e;if(ht(e))return null;e=q(e)}return null}function bt(){return Lt==null&&(Lt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lt}function ot(t){return/^(html|body|#document)$/.test(it(t))}function D(t){return L(t).getComputedStyle(t)}function dt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(it(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||F(t);return Kt(e)?e.host:e}function Zt(t){let e=q(t);return ot(e)?t.ownerDocument?t.ownerDocument.body:t.body:j(e)&&ct(e)?e:Zt(e)}function st(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),s=o===((i=t.ownerDocument)==null?void 0:i.body),r=L(o);if(s){let c=At(r);return e.concat(r,r.visualViewport||[],ct(o)?o:[],c&&n?st(c):[])}else return e.concat(o,st(o,[],n))}function At(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ie(t){let e=D(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),s=o?t.offsetWidth:n,r=o?t.offsetHeight:i,c=ft(n)!==s||ft(i)!==r;return c&&(n=s,i=r),{width:n,height:i,$:c}}function zt(t){return M(t)?t:t.contextElement}function lt(t){let e=zt(t);if(!j(e))return $(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:s}=ie(e),r=(s?ft(n.width):n.width)/i,c=(s?ft(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}var Ce=$(0);function oe(t){let e=L(t);return!bt()||!e.visualViewport?Ce:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Se(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function rt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),s=zt(t),r=$(1);e&&(i?M(i)&&(r=lt(i)):r=lt(t));let c=Se(s,n,i)?oe(s):$(0),f=(o.left+c.x)/r.x,u=(o.top+c.y)/r.y,l=o.width/r.x,h=o.height/r.y;if(s){let m=L(s),a=i&&M(i)?L(i):i,d=m,p=At(d);for(;p&&i&&a!==d;){let w=lt(p),g=p.getBoundingClientRect(),y=D(p),v=g.left+(p.clientLeft+parseFloat(y.paddingLeft))*w.x,b=g.top+(p.clientTop+parseFloat(y.paddingTop))*w.y;f*=w.x,u*=w.y,l*=w.x,h*=w.y,f+=v,u+=b,d=L(p),p=At(d)}}return et({width:l,height:h,x:f,y:u})}function Ot(t,e){let n=dt(t).scrollLeft;return e?e.left+n:rt(F(t)).left+n}function re(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-Ot(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Te(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,s=o==="fixed",r=F(i),c=e?ht(e.floating):!1;if(i===r||c&&s)return n;let f={scrollLeft:0,scrollTop:0},u=$(1),l=$(0),h=j(i);if((h||!h&&!s)&&((it(i)!=="body"||ct(r))&&(f=dt(i)),h)){let a=rt(i);u=lt(i),l.x=a.x+i.clientLeft,l.y=a.y+i.clientTop}let m=r&&!h&&!s?re(r,f):$(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+l.x+m.x,y:n.y*u.y-f.scrollTop*u.y+l.y+m.y}}function Le(t){return Array.from(t.getClientRects())}function Pe(t){let e=F(t),n=dt(t),i=t.ownerDocument.body,o=T(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),s=T(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),r=-n.scrollLeft+Ot(t),c=-n.scrollTop;return D(i).direction==="rtl"&&(r+=T(e.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:c}}var te=25;function ze(t,e){let n=L(t),i=F(t),o=n.visualViewport,s=i.clientWidth,r=i.clientHeight,c=0,f=0;if(o){s=o.width,r=o.height;let l=bt();(!l||l&&e==="fixed")&&(c=o.offsetLeft,f=o.offsetTop)}let u=Ot(i);if(u<=0){let l=i.ownerDocument,h=l.body,m=getComputedStyle(h),a=l.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,d=Math.abs(i.clientWidth-h.clientWidth-a);d<=te&&(s-=d)}else u<=te&&(s+=u);return{width:s,height:r,x:c,y:f}}function Me(t,e){let n=rt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,s=j(t)?lt(t):$(1),r=t.clientWidth*s.x,c=t.clientHeight*s.y,f=o*s.x,u=i*s.y;return{width:r,height:c,x:f,y:u}}function ee(t,e,n){let i;if(e==="viewport")i=ze(t,n);else if(e==="document")i=Pe(F(t));else if(M(e))i=Me(e,n);else{let o=oe(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return et(i)}function se(t,e){let n=q(t);return n===e||!M(n)||ot(n)?!1:D(n).position==="fixed"||se(n,e)}function De(t,e){let n=e.get(t);if(n)return n;let i=st(t,[],!1).filter(c=>M(c)&&it(c)!=="body"),o=null,s=D(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!ot(r);){let c=D(r),f=vt(r);!f&&c.position==="fixed"&&(o=null),(s?!f&&!o:!f&&c.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ct(r)&&!f&&se(t,r))?i=i.filter(l=>l!==r):o=c,r=q(r)}return e.set(t,i),i}function ke(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,r=[...n==="clippingAncestors"?ht(e)?[]:De(e,this._c):[].concat(n),i],c=ee(e,r[0],o),f=c.top,u=c.right,l=c.bottom,h=c.left;for(let m=1;m<r.length;m++){let a=ee(e,r[m],o);f=T(a.top,f),u=V(a.right,u),l=V(a.bottom,l),h=T(a.left,h)}return{width:u-h,height:l-f,x:h,y:f}}function Be(t){let{width:e,height:n}=ie(t);return{width:e,height:n}}function $e(t,e,n){let i=j(e),o=F(e),s=n==="fixed",r=rt(t,!0,s,e),c={scrollLeft:0,scrollTop:0},f=$(0);function u(){f.x=Ot(o)}if(i||!i&&!s)if((it(e)!=="body"||ct(o))&&(c=dt(e)),i){let a=rt(e,!0,s,e);f.x=a.x+e.clientLeft,f.y=a.y+e.clientTop}else o&&u();s&&!i&&o&&u();let l=o&&!i&&!s?re(o,c):$(0),h=r.left+c.scrollLeft-f.x-l.x,m=r.top+c.scrollTop-f.y-l.y;return{x:h,y:m,width:r.width,height:r.height}}function Pt(t){return D(t).position==="static"}function ne(t,e){if(!j(t)||D(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return F(t)===n&&(n=n.ownerDocument.body),n}function ce(t,e){let n=L(t);if(ht(t))return n;if(!j(t)){let o=q(t);for(;o&&!ot(o);){if(M(o)&&!Pt(o))return o;o=q(o)}return n}let i=ne(t,e);for(;i&&Jt(i)&&Pt(i);)i=ne(i,e);return i&&ot(i)&&Pt(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||ce,n=this.getDimensions,i=await n(t.floating);return{reference:$e(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ne(t){return D(t).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:Te,getDocumentElement:F,getClippingRect:ke,getOffsetParent:ce,getElementRects:Fe,getClientRects:Le,getDimensions:Be,getScale:lt,isElement:M,isRTL:Ne};function le(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function We(t,e){let n=null,i,o=F(t);function s(){var c;clearTimeout(i),(c=n)==null||c.disconnect(),n=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),s();let u=t.getBoundingClientRect(),{left:l,top:h,width:m,height:a}=u;if(c||e(),!m||!a)return;let d=ut(h),p=ut(o.clientWidth-(l+m)),w=ut(o.clientHeight-(h+a)),g=ut(l),v={rootMargin:-d+"px "+-p+"px "+-w+"px "+-g+"px",threshold:T(0,V(1,f))||1},b=!0;function R(E){let C=E[0].intersectionRatio;if(C!==f){if(!b)return r();C?r(!1,C):i=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!le(u,t.getBoundingClientRect())&&r(),b=!1}try{n=new IntersectionObserver(R,W(S({},v),{root:o.ownerDocument}))}catch(E){n=new IntersectionObserver(R,v)}n.observe(t)}return r(!0),s}function ae(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,u=zt(t),l=o||s?[...u?st(u):[],...e?st(e):[]]:[];l.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),s&&g.addEventListener("resize",n)});let h=u&&c?We(u,n):null,m=-1,a=null;r&&(a=new ResizeObserver(g=>{let[y]=g;y&&y.target===u&&a&&e&&(a.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var v;(v=a)==null||v.observe(e)})),n()}),u&&!f&&a.observe(u),e&&a.observe(e));let d,p=f?rt(t):null;f&&w();function w(){let g=rt(t);p&&!le(p,g)&&n(),p=g,d=requestAnimationFrame(w)}return n(),()=>{var g;l.forEach(y=>{o&&y.removeEventListener("scroll",n),s&&y.removeEventListener("resize",n)}),h==null||h(),(g=a)==null||g.disconnect(),a=null,f&&cancelAnimationFrame(d)}}var fe=Yt;var ue=qt,he=Xt,Mt=Ut;var de=It;var me=(t,e,n)=>{let i=new Map,o=S({platform:He},n),s=W(S({},o.platform),{_c:i});return jt(t,e,W(S({},o),{platform:s}))};var x=class extends Ct{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=ae(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=[fe({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",s=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=s?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(he({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ue({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(de({element:this.arrowEl,padding:this.arrowPadding})),me(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:s,placement:r})=>{let c=getComputedStyle(this).direction==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]];if(this.setAttribute("data-current-placement",r),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let u=s.arrow.x,l=s.arrow.y,h="",m="",a="",d="";if(this.arrowPlacement==="start"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=c?p:"",d=c?"":p}else if(this.arrowPlacement==="end"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=c?"":p,d=c?p:"",a=typeof l=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(d=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof l=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(d=typeof u=="number"?`${u}px`:"",h=typeof l=="number"?`${l}px`:"");Object.assign(this.arrowEl.style,{top:h,right:m,bottom:a,left:d,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Rt`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${Bt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Rt`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};x.styles=[...Ct.styles,Dt`/*! tailwindcss v4.3.0 | 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([Et('[part="popup"]')],x.prototype,"popup",2),A([Et('[part="arrow"]')],x.prototype,"arrowEl",2),A([O({reflect:!0})],x.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],x.prototype,"active",2),A([O({type:String,reflect:!0})],x.prototype,"placement",2),A([O({type:String,reflect:!0})],x.prototype,"strategy",2),A([O({type:Number,reflect:!0})],x.prototype,"distance",2),A([O({type:Number,reflect:!0})],x.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],x.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],x.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],x.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],x.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(" ")}})],x.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],x.prototype,"flipFallbackStrategy",2),A([O({type:Object})],x.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],x.prototype,"flipPadding",2),A([O({type:Boolean})],x.prototype,"shift",2),A([O({type:Object})],x.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],x.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],x.prototype,"autoSize",2),A([O()],x.prototype,"sync",2),A([O({type:Object})],x.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],x.prototype,"autoSizePadding",2),x=A([kt("sd-7-0-0-next-1-popup")],x);export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as m,b as g,c as b,d as h,h as u}from"./chunk.ND7KR2OB.js";import{b as d,e as c}from"./chunk.OBAEIKIV.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-1-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-1-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-7-0-0-next-1-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-7-0-0-next-1-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-7-0-0-next-1-button-group__button"),o.classList.toggle("sd-7-0-0-next-1-button-group__button--first",n===0),o.classList.toggle("sd-7-0-0-next-1-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-7-0-0-next-1-button-group__button--last",n===e.length-1),o.classList.toggle("sd-7-0-0-next-1-button-group__button--radio",o.tagName.toLowerCase()==="sd-7-0-0-next-1-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
+
:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-7-0-0-next-1-button-group")],s);function a(r){var e;let i="sd-7-0-0-next-1-button, sd-7-0-0-next-1-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
|