@midas-ds/components 15.2.15 → 15.2.17
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/{AccordionItem-BC1ogvtn.cjs → AccordionItem-BNRyRwQ6.cjs} +1 -1
- package/{AccordionItem-DDqHaLf6.js → AccordionItem-DojgZmLR.js} +8 -8
- package/{BadgeContainer-BZl6mSeb.cjs → BadgeContainer-CumdQ7zn.cjs} +1 -1
- package/{BadgeContainer-DilMiV6u.js → BadgeContainer-R5NxVbk3.js} +8 -8
- package/{Breadcrumbs-G8PykxwF.cjs → Breadcrumbs-B9TILEP2.cjs} +1 -1
- package/{Breadcrumbs-BKft9SZ9.js → Breadcrumbs-C9ZQZqbb.js} +14 -14
- package/{Button-CPtsYcdR.cjs → Button-CU5CMW5J.cjs} +1 -1
- package/{Button-DQKRTkoz.js → Button-DPzexc8J.js} +8 -8
- package/{Button-BuelSBWx.cjs → Button-V-NwloHK.cjs} +1 -1
- package/{Button-aWvg3R6-.js → Button-XUO3qx30.js} +2 -2
- package/CHANGELOG.md +16 -0
- package/Card-BLA8mg9h.cjs +1 -0
- package/{Card-BIx_JcUG.js → Card-RTsgP4bD.js} +5 -5
- package/{CharacterCounter-mifF3s5f.js → CharacterCounter-CgFTT3Zm.js} +8 -8
- package/{CharacterCounter-C8PalBAH.cjs → CharacterCounter-DLNqoZBq.cjs} +1 -1
- package/{Checkbox-CsITchPQ.js → Checkbox-BBAfwI1J.js} +16 -16
- package/{Checkbox-LGIr8OfT.cjs → Checkbox-DYushCuC.cjs} +1 -1
- package/{CheckboxGroup-D2Sa6zYI.js → CheckboxGroup-LDeB3_o_.js} +28 -28
- package/{CheckboxGroup-D9L7J0yo.cjs → CheckboxGroup-rz-HXM-r.cjs} +1 -1
- package/{Collection-CXAXUgCh.js → Collection-CekMPzl5.js} +4 -4
- package/{Collection-Dq97IKYm.cjs → Collection-DrQ_ESeV.cjs} +1 -1
- package/{ColorSchemeSwitch-DK2w93PC.js → ColorSchemeSwitch-D9f8DZsT.js} +10 -10
- package/{ColorSchemeSwitch-AM8Xon5u.cjs → ColorSchemeSwitch-DxlcOHsj.cjs} +1 -1
- package/{ComboBox-Bt1MZeC4.cjs → ComboBox-V4T2-9Mw.cjs} +1 -1
- package/{ComboBox-DxQw26od.js → ComboBox-c5xYN3zf.js} +30 -30
- package/{DateField-gQBrgakI.cjs → DateField-BnIcfig_.cjs} +1 -1
- package/{DateField-DVpB3_an.js → DateField-CjHO2861.js} +4 -4
- package/{DateInputDivider-DCOj8K0x.js → DateInputDivider-CV6FTyPC.js} +25 -25
- package/{DateInputDivider-DJN5KyLX.cjs → DateInputDivider-DZtU3D2_.cjs} +1 -1
- package/{DateRangePicker-ZQNq-cbI.cjs → DateRangePicker-BTeCZDUQ.cjs} +1 -1
- package/{DateRangePicker-CkRQpPYL.js → DateRangePicker-CrXVxAxN.js} +21 -21
- package/{Dialog-XOUP-FA_.cjs → Dialog-BB93NpJv.cjs} +1 -1
- package/{Dialog-C_PfYd4_.cjs → Dialog-BT_ScYmN.cjs} +1 -1
- package/{Dialog-F3u8agGf.js → Dialog-BuVUeIcW.js} +58 -58
- package/{Dialog-BicjIcni.js → Dialog-D1jMDNFB.js} +34 -34
- package/{DragAndDrop-37cBrgqG.js → DragAndDrop-B94opnY0.js} +2 -2
- package/{DragAndDrop-pskCjm3i.cjs → DragAndDrop-CQ-kaSTB.cjs} +1 -1
- package/{Dropdown-BnJHvNQx.js → Dropdown-B9hTiV7E.js} +2 -2
- package/{Dropdown-C2aoQ_Pv.cjs → Dropdown-CiPioclP.cjs} +1 -1
- package/{FieldError-DwYQXCwP.cjs → FieldError-CKv6khcH.cjs} +1 -1
- package/FieldError-yPJ1LnNe.js +48 -0
- package/{FileUpload-DsTi9F39.cjs → FileUpload-CHt_ZPHH.cjs} +1 -1
- package/{FileUpload-B3KSWqbo.js → FileUpload-CX0VALvB.js} +15 -15
- package/{Group-BGDzFZ4R.cjs → Group-C4SHEwYa.cjs} +1 -1
- package/{Group-C-bh9aEE.js → Group-yRJMENe9.js} +6 -6
- package/Heading-BltB0sR2.cjs +1 -0
- package/{Heading-BRErvUe8.js → Heading-D3uz-ZGT.js} +14 -14
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/InfoBanner-DLidXEIJ.cjs +1 -0
- package/{InfoBanner-CgSm9bjk.js → InfoBanner-NnTo60iD.js} +20 -20
- package/{Input-B6G4aU36.js → Input-D96X8c5u.js} +9 -9
- package/{Input-CpMWCSE3.cjs → Input-T_vwx812.cjs} +1 -1
- package/Label-BR5JXGOU.cjs +1 -0
- package/{Label-AgADiPwL.js → Label-DBHKiX9x.js} +11 -11
- package/{Layout-3vZ97J1E.cjs → Layout-CcLUSsFq.cjs} +1 -1
- package/{Layout-CSujs98x.js → Layout-XNVILg6E.js} +7 -7
- package/{Link-BPg_SBiF.cjs → Link-BMzDJfwb.cjs} +1 -1
- package/{Link-bblcx0a9.js → Link-DYfsCodh.js} +10 -10
- package/{Link-BEXS7vVU.js → Link-KjDGW0W7.js} +1 -1
- package/{Link-MUiihlbG.cjs → Link-yaPWLaxX.cjs} +1 -1
- package/{LinkButton-zk257klG.cjs → LinkButton-CcTcgPfZ.cjs} +1 -1
- package/{LinkButton-Dr3wO2Gq.js → LinkButton-Dcij7EgN.js} +1 -1
- package/{ListBox-BJLtPJiW.cjs → ListBox-B6CxF6d1.cjs} +1 -1
- package/{ListBox-BDEzuwgf.cjs → ListBox-D2PxR1uD.cjs} +1 -1
- package/{ListBox-CEkHNTKf.js → ListBox-DH74Rs1l.js} +16 -16
- package/{ListBox-TsgvK95f.js → ListBox-DJLO33c1.js} +7 -7
- package/{ListBoxLoadMoreItem-B31-J1-a.cjs → ListBoxLoadMoreItem-BbXE50c3.cjs} +1 -1
- package/{ListBoxLoadMoreItem-495VPa51.js → ListBoxLoadMoreItem-CTC9dTKI.js} +4 -4
- package/{ListBoxSection-DcajcZMK.cjs → ListBoxSection-CjO-E9-2.cjs} +1 -1
- package/{ListBoxSection-C-7JFypr.js → ListBoxSection-DwK6r3P1.js} +4 -4
- package/{ListKeyboardDelegate-RT2g6YNq.js → ListKeyboardDelegate-BP9HiObq.js} +3 -3
- package/{ListKeyboardDelegate-6U5oNrPf.cjs → ListKeyboardDelegate-BchDDJ1l.cjs} +1 -1
- package/{Logo-YY9hQ8G3.cjs → Logo-CE31Mobw.cjs} +1 -1
- package/{Logo-DJIcUslN.js → Logo-CxRoCHCJ.js} +1 -1
- package/{OverlayArrow-C2rMXHUL.cjs → OverlayArrow-BxbxesPA.cjs} +1 -1
- package/{OverlayArrow--IqDwz6a.js → OverlayArrow-DbP3KJ3e.js} +4 -4
- package/{Popover-DatBJsbE.cjs → Popover-CzRe8oME.cjs} +1 -1
- package/{Popover-wdMVjcxB.js → Popover-jipaNdg1.js} +2 -2
- package/{PressResponder-zxT2DkkQ.js → PressResponder-B8QS6rPH.js} +9 -9
- package/PressResponder-BASquPoE.cjs +1 -0
- package/{ProgressBar-B6xscMY3.cjs → ProgressBar-CVROdxrr.cjs} +1 -1
- package/{ProgressBar-YITQVXp6.js → ProgressBar-sAc-CTDa.js} +2 -2
- package/{Radio-BrzLuRFq.cjs → Radio-BAIVg7DK.cjs} +1 -1
- package/{Radio-UKurdI_v.js → Radio-U5Q_wuvl.js} +29 -29
- package/RangeCalendar-ZpFjRmGW.cjs +1 -0
- package/{RangeCalendar-KRDfh41H.js → RangeCalendar-sta-ATTE.js} +417 -424
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-DV2ul88x.cjs → SearchField-D5BbJ77B.cjs} +1 -1
- package/{SearchField-CNR3stL5.js → SearchField-jBQi87i2.js} +6 -6
- package/{Select-BATiN27h.cjs → Select-BO3gAY30.cjs} +1 -1
- package/{Select-CXUTzSQa.cjs → Select-CBM79TIA.cjs} +1 -1
- package/{Select-AxHoF7DD.js → Select-Cvf0aNOE.js} +87 -87
- package/{Select-IgA7mpJF.js → Select-DnkSPYHw.js} +28 -28
- package/{SelectionIndicator-CD2Lb431.cjs → SelectionIndicator-CMe7Gwdc.cjs} +1 -1
- package/{SelectionIndicator-B5J-eND9.js → SelectionIndicator-OwhRl98A.js} +5 -5
- package/{SelectionManager-C4hvFZl0.cjs → SelectionManager-CzZrRNIe.cjs} +1 -1
- package/{SelectionManager-bnxBDhgb.js → SelectionManager-hTlTNJoc.js} +10 -10
- package/{Separator-Cxt7kicM.js → Separator-6oe0Omo4.js} +5 -5
- package/{Separator-DNzGXwgr.js → Separator-B5O-ZdO-.js} +2 -2
- package/{Separator--v6lgpnX.cjs → Separator-BAxldD13.cjs} +1 -1
- package/{Separator-CYPstw7z.cjs → Separator-BQdeWwPF.cjs} +1 -1
- package/{Spinner-6nei2CMj.cjs → Spinner-ClrJl6T1.cjs} +1 -1
- package/{Spinner-C29Pyxlj.js → Spinner-P_tlg0BC.js} +2 -2
- package/{TabList-B3171e0b.js → TabList-UAMkDM4u.js} +14 -14
- package/{TabList-DPmDWfKk.cjs → TabList-WqHdKQY9.cjs} +1 -1
- package/{Table-BJeCQyOH.js → Table-Bi1Yh3if.js} +22 -22
- package/{Table-CU5_3Mhq.cjs → Table-DM-yp4kW.cjs} +1 -1
- package/{Tag-CMciiehF.js → Tag-C0SQSoBS.js} +47 -47
- package/{Tag-DsmOy4f_.cjs → Tag-CpIiPlmz.cjs} +1 -1
- package/{Text-6Fdknq88.js → Text-BV2IV9cT.js} +1 -1
- package/{Text-D29KP4_q.cjs → Text-DRzd1SY7.cjs} +1 -1
- package/{Text-B30xuDOt.js → Text-DZzw-XzG.js} +3 -3
- package/{Text-BiDSbNaP.cjs → Text-gyLWHlGg.cjs} +1 -1
- package/TextArea-B2fLaPjb.cjs +1 -0
- package/TextArea-DoKWGzKO.js +127 -0
- package/{TextField-1_-3gKYa.js → TextField-Cl3vyG0o.js} +25 -25
- package/{TextField-6v1u8c__.cjs → TextField-DZrpW2LM.cjs} +1 -1
- package/{Toast-CAgEwr7H.js → Toast-BKGbJIit.js} +16 -16
- package/{Toast-CUMy7sPq.cjs → Toast-Cm3XIR1Q.cjs} +1 -1
- package/{ToggleButtonGroup-H5EyZXFC.js → ToggleButtonGroup-CAXtCb2Z.js} +7 -7
- package/{ToggleButtonGroup-DWqPFJWL.cjs → ToggleButtonGroup-QLhBIE7_.cjs} +1 -1
- package/{Tooltip-CPn8DVh8.cjs → Tooltip--GMAv7cM.cjs} +1 -1
- package/{Tooltip-CTF8e-pm.js → Tooltip-CR5_QO1U.js} +6 -6
- package/{VisuallyHidden-CrRi8fmq.cjs → VisuallyHidden-D1o4ugWh.cjs} +1 -1
- package/{VisuallyHidden-BCa6ThRH.js → VisuallyHidden-DsmiKXve.js} +8 -8
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBox.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Select2.css +1 -1
- package/assets/Separator.css +1 -1
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/default.css +1 -1
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/CalendarGrid.d.ts +0 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
- package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{getScrollParent-DL0OH1RF.cjs → getScrollParent-DFEQoVP1.cjs} +1 -1
- package/{getScrollParent-DcNANHTB.js → getScrollParent-W_3mSk76.js} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-Cm_oKP6P.js → index-DUrDdRht.js} +21 -21
- package/index-aWpd9TiP.cjs +1 -0
- package/index.cjs +1 -1
- package/index.js +46 -46
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/legacy-select/index.cjs +1 -1
- package/legacy-select/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +3 -3
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/{mergeProps-oYrDoKjU.js → mergeProps-CdO3Q0hv.js} +1 -1
- package/{mergeProps-D9EPHb19.cjs → mergeProps-DkKMzSB1.cjs} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +2 -2
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/{scrollIntoView-CogxjvPU.cjs → scrollIntoView-BuDouLxy.cjs} +1 -1
- package/{scrollIntoView-LRRMWgN9.js → scrollIntoView-CsMRNIXg.js} +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-BuHg3SHI.cjs → useButton-DeY9T2HW.cjs} +1 -1
- package/{useButton-aiD_OMdm.js → useButton-I_nWYat3.js} +3 -3
- package/{useDateFormatter-BjUtrG4h.js → useDateFormatter-CFc48go7.js} +5 -5
- package/{useDateFormatter-DsPmipft.cjs → useDateFormatter-CKwtEDMP.cjs} +1 -1
- package/{useDescription-D-EGF3RO.cjs → useDescription-BhWkiNqp.cjs} +1 -1
- package/{useDescription-6jSV4EKe.js → useDescription-DUuw8t75.js} +1 -1
- package/{useEvent-ChPThFqF.js → useEvent-BB5JW--J.js} +1 -1
- package/useEvent-CzE2_ce_.cjs +1 -0
- package/{useField-yjDSH-M4.cjs → useField-CLnlAiTx.cjs} +1 -1
- package/{useField-Bf6sH2Px.js → useField-CuqjH99D.js} +2 -2
- package/{useFilter-DMfUE0Pr.js → useFilter-CV6Y6s1Y.js} +1 -1
- package/{useFilter-Dg_Msy0o.cjs → useFilter-ChCxw0cP.cjs} +1 -1
- package/{useFocusRing-BV6zA8CX.cjs → useFocusRing-CMej8-eL.cjs} +1 -1
- package/{useFocusRing-DAZgolYd.js → useFocusRing-D9txYLox.js} +2 -2
- package/{useFocusWithin-Bfslfw41.js → useFocusWithin-DAdltjwX.js} +1 -1
- package/{useFocusWithin-CrScjOpV.cjs → useFocusWithin-DTieJstr.cjs} +1 -1
- package/{useFocusable--wi5KJXc.js → useFocusable-BCvZRQpU.js} +14 -14
- package/{useFocusable-Sz45n7Ye.cjs → useFocusable-XNvXY0IY.cjs} +1 -1
- package/{useFormValidation-BgOffXI-.js → useFormValidation-Ccwuq1Xc.js} +2 -2
- package/{useFormValidation-pVNhWoaN.cjs → useFormValidation-CtcsyZTC.cjs} +1 -1
- package/{useHasTabbableChild-CqUFT0lE.js → useHasTabbableChild--WqN-wjd.js} +2 -2
- package/{useHasTabbableChild-CdkTG0q5.cjs → useHasTabbableChild-BPIkv0CH.cjs} +1 -1
- package/{useHighlightSelectionDescription-Cb6lF44_.js → useHighlightSelectionDescription-BftWPY0o.js} +5 -5
- package/{useHighlightSelectionDescription-P3sZZm15.cjs → useHighlightSelectionDescription-D0HozcRN.cjs} +1 -1
- package/{useHover-DIDiFsU7.cjs → useHover-GqlPs4gX.cjs} +1 -1
- package/{useHover-BkQu__4t.js → useHover-HEE64RY1.js} +2 -2
- package/{useLabels-Cu5Jf9jq.js → useLabels-C19Y6OsI.js} +1 -1
- package/{useLabels-CU8PN8IQ.cjs → useLabels-DTNJ-eDV.cjs} +1 -1
- package/{useListState-DeBExb3v.js → useListState-2kcEzGOD.js} +1 -1
- package/{useListState-BCVYtjD-.cjs → useListState-C3K6nOoP.cjs} +1 -1
- package/{useLocalizedStringFormatter-m7LExKN3.js → useLocalizedStringFormatter-3gSCwH4b.js} +1 -1
- package/{useLocalizedStringFormatter-Dfow0G-0.cjs → useLocalizedStringFormatter-BYyiOWPo.cjs} +1 -1
- package/useLocalizedStringFormatter-BoQQ3og7.cjs +1 -0
- package/{useLocalizedStringFormatter-D1ErlkJ8.js → useLocalizedStringFormatter-rriWtum4.js} +1 -1
- package/{usePress-DPxp2Cij.js → usePress-DgZWZTrq.js} +15 -15
- package/{usePress-BQdBua-S.cjs → usePress-HGQyU13u.cjs} +2 -2
- package/{useSingleSelectListState-HaZMDvFf.js → useSingleSelectListState-BGYovRKl.js} +1 -1
- package/{useSingleSelectListState-CdlkYnNt.cjs → useSingleSelectListState-CP56TMfm.cjs} +1 -1
- package/{useTextField-CMt3kP3D.cjs → useTextField-CYqmq5ny.cjs} +1 -1
- package/{useTextField-BwMgd3fF.js → useTextField-DPZIYLoT.js} +7 -7
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/{utils-ZN3Na38z.cjs → utils-ByR8yLzr.cjs} +1 -1
- package/{utils-DdKRtUsl.js → utils-DH_ZoHeL.js} +1 -1
- package/{utils-BJ6_Ry69.js → utils-DU-Pvaj9.js} +6 -6
- package/{utils-CByogC0r.cjs → utils-Do__sWed.cjs} +1 -1
- package/Card-Du2Tzg4R.cjs +0 -1
- package/FieldError-DQ61agyq.js +0 -48
- package/Heading-DWSQCI4U.cjs +0 -1
- package/InfoBanner-Dc5gf1JR.cjs +0 -1
- package/Label-Dn9QqKX8.cjs +0 -1
- package/PressResponder-DNelELQh.cjs +0 -1
- package/RangeCalendar-Cq-PcfFg.cjs +0 -1
- package/TextArea-BO8a85PU.js +0 -127
- package/TextArea-DWVTIHGF.cjs +0 -1
- package/index-DTHSUSyf.cjs +0 -1
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/useEvent-DnWDW9C-.cjs +0 -1
- package/useLocalizedStringFormatter-MAvCRfhy.cjs +0 -1
- package/useToggleState-DaxmInOW.cjs +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsxs as Y, jsx as v } from "react/jsx-runtime";
|
|
2
2
|
import { c as ee } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import { $ as na, a as ra, C as oa, R as sa } from "./RangeCalendar-
|
|
4
|
-
import { c as Oe, d as Re, e as Fe, f as ua, g as Ce, h as ca, i as X, j as p, k as fa, l as Te, m as ba, a as se, D as ue, b as va } from "./DateInputDivider-
|
|
5
|
-
import { $ as Ie, F as ae } from "./FieldError-
|
|
6
|
-
import { a as _e, L as Be } from "./Label-
|
|
7
|
-
import { T as Ze } from "./Text-
|
|
8
|
-
import { e as ve, c as me, $ as ma } from "./Button-
|
|
9
|
-
import { $ as ke, c as Me, d as we, e as Ee, a as Se, f as We } from "./utils-
|
|
10
|
-
import { i as Ne, n as Ue, o as Le, b as $a, l as ha } from "./Dialog-
|
|
3
|
+
import { $ as na, a as ra, C as oa, R as sa } from "./RangeCalendar-sta-ATTE.js";
|
|
4
|
+
import { c as Oe, d as Re, e as Fe, f as ua, g as Ce, h as ca, i as X, j as p, k as fa, l as Te, m as ba, a as se, D as ue, b as va } from "./DateInputDivider-CV6FTyPC.js";
|
|
5
|
+
import { $ as Ie, F as ae } from "./FieldError-yPJ1LnNe.js";
|
|
6
|
+
import { a as _e, L as Be } from "./Label-DBHKiX9x.js";
|
|
7
|
+
import { T as Ze } from "./Text-BV2IV9cT.js";
|
|
8
|
+
import { e as ve, c as me, $ as ma } from "./Button-DPzexc8J.js";
|
|
9
|
+
import { $ as ke, c as Me, d as we, e as Ee, a as Se, f as We } from "./utils-DU-Pvaj9.js";
|
|
10
|
+
import { i as Ne, n as Ue, o as Le, b as $a, l as ha } from "./Dialog-BuVUeIcW.js";
|
|
11
11
|
import { $ as Ke } from "./Form-CXcEMuBf.js";
|
|
12
|
-
import { $ as $e, a as ga } from "./Group-
|
|
13
|
-
import { $ as he } from "./Text-
|
|
14
|
-
import { c as H, a as le } from "./mergeProps-
|
|
12
|
+
import { $ as $e, a as ga } from "./Group-yRJMENe9.js";
|
|
13
|
+
import { $ as he } from "./Text-DZzw-XzG.js";
|
|
14
|
+
import { c as H, a as le } from "./mergeProps-CdO3Q0hv.js";
|
|
15
15
|
import { $ as ie } from "./filterDOMProps-BSVCO5jK.js";
|
|
16
|
-
import { a as je, g as ze } from "./OverlayArrow
|
|
16
|
+
import { a as je, g as ze } from "./OverlayArrow-DbP3KJ3e.js";
|
|
17
17
|
import J, { useMemo as z, useRef as A, useState as N, forwardRef as qe, createContext as te, useCallback as Ge } from "react";
|
|
18
|
-
import { $ as Q, a as ce, b as fe } from "./useDateFormatter-
|
|
19
|
-
import { d as be, e as De, c as xe, $ as pe } from "./useFormValidation-
|
|
18
|
+
import { $ as Q, a as ce, b as fe } from "./useDateFormatter-CFc48go7.js";
|
|
19
|
+
import { d as be, e as De, c as xe, $ as pe } from "./useFormValidation-Ccwuq1Xc.js";
|
|
20
20
|
import { $ as Ae } from "./useControlledState-u436Wbp1.js";
|
|
21
|
-
import { d as Xe } from "./SelectionIndicator-
|
|
22
|
-
import { $ as He } from "./useDescription-
|
|
23
|
-
import { $ as Je } from "./useFocusWithin-
|
|
24
|
-
import { $ as Qe } from "./useField-
|
|
25
|
-
import { $ as Ye } from "./context-
|
|
26
|
-
import { $ as ea } from "./useLocalizedStringFormatter-
|
|
27
|
-
import { $ as aa } from "./useFocusRing-
|
|
21
|
+
import { d as Xe } from "./SelectionIndicator-OwhRl98A.js";
|
|
22
|
+
import { $ as He } from "./useDescription-DUuw8t75.js";
|
|
23
|
+
import { $ as Je } from "./useFocusWithin-DAdltjwX.js";
|
|
24
|
+
import { $ as Qe } from "./useField-CuqjH99D.js";
|
|
25
|
+
import { $ as Ye } from "./context-CGNJ3grH.js";
|
|
26
|
+
import { $ as ea } from "./useLocalizedStringFormatter-rriWtum4.js";
|
|
27
|
+
import { $ as aa } from "./useFocusRing-D9txYLox.js";
|
|
28
28
|
import { c as ya } from "./createLucideIcon-D4r5Phnh.js";
|
|
29
29
|
import './assets/DateRangePicker.css';function Va(e) {
|
|
30
30
|
return e && e.__esModule ? e.default : e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const br=require("./Button-
|
|
1
|
+
"use strict";const br=require("./Button-V-NwloHK.cjs"),h=require("./utils-ByR8yLzr.cjs"),J=require("./RSPContexts-XUvspq3j.cjs"),w=require("./OverlayArrow-BxbxesPA.cjs"),k=require("./Collection-DrQ_ESeV.cjs"),te=require("./Separator-BAxldD13.cjs"),a=require("react"),U=require("./SelectionIndicator-CMe7Gwdc.cjs"),pr=require("./Text-gyLWHlGg.cjs"),y=require("./mergeProps-DkKMzSB1.cjs"),F=require("./filterDOMProps-WUskt27c.cjs"),B=require("./SelectionManager-CzZrRNIe.cjs"),pe=require("./PressResponder-BASquPoE.cjs"),N=require("./useHover-GqlPs4gX.cjs"),Q=require("./utils-Do__sWed.cjs"),Ae=require("./useLocalizedStringFormatter-BoQQ3og7.cjs"),j=require("./usePress-HGQyU13u.cjs"),X=require("./useFocusable-XNvXY0IY.cjs"),gr=require("./useControlledState-D0L6S_5r.cjs"),xr=require("react-dom"),vr=require("./SSRProvider-Bc-sMhsT.cjs"),mr=require("./Hidden-BxRZGdEW.cjs"),yr=require("./context-Df3XbgBG.cjs"),hr=require("./useFocusWithin-DTieJstr.cjs"),Be=require("./getScrollParent-DFEQoVP1.cjs"),Pr=require("./scrollIntoView-BuDouLxy.cjs"),Er=require("./useLabels-DTNJ-eDV.cjs"),Dr=require("./VisuallyHidden-D1o4ugWh.cjs");function Cr(t){let{ref:e,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:o}=t,s=a.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),u=y.$8ae05eaa5c114e9c$export$7f54fc3180508a52(l=>{r&&G(l,e)&&(o&&o(l),s.current.isPointerDown=!0)}),i=y.$8ae05eaa5c114e9c$export$7f54fc3180508a52(l=>{r&&r(l)});a.useEffect(()=>{let l=s.current;if(n)return;const d=e.current,f=Q.$431fbd86ca7dc216$export$b204af158042fbac(d);if(typeof PointerEvent<"u"){let p=v=>{l.isPointerDown&&G(v,e)&&i(v),l.isPointerDown=!1};return f.addEventListener("pointerdown",u,!0),f.addEventListener("click",p,!0),()=>{f.removeEventListener("pointerdown",u,!0),f.removeEventListener("click",p,!0)}}else if(process.env.NODE_ENV==="test"){let p=c=>{l.ignoreEmulatedMouseEvents?l.ignoreEmulatedMouseEvents=!1:l.isPointerDown&&G(c,e)&&i(c),l.isPointerDown=!1},v=c=>{l.ignoreEmulatedMouseEvents=!0,l.isPointerDown&&G(c,e)&&i(c),l.isPointerDown=!1};return f.addEventListener("mousedown",u,!0),f.addEventListener("mouseup",p,!0),f.addEventListener("touchstart",u,!0),f.addEventListener("touchend",v,!0),()=>{f.removeEventListener("mousedown",u,!0),f.removeEventListener("mouseup",p,!0),f.removeEventListener("touchstart",u,!0),f.removeEventListener("touchend",v,!0)}}},[e,n,u,i])}function G(t,e){if(t.button>0)return!1;if(t.target){const r=t.target.ownerDocument;if(!r||!r.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current?!t.composedPath().includes(e.current):!1}const A=[];function we(t,e){let{onClose:r,shouldCloseOnBlur:n,isOpen:o,isDismissable:s=!1,isKeyboardDismissDisabled:u=!1,shouldCloseOnInteractOutside:i}=t;a.useEffect(()=>{if(o&&!A.includes(e))return A.push(e),()=>{let b=A.indexOf(e);b>=0&&A.splice(b,1)}},[o,e]);let l=()=>{A[A.length-1]===e&&r&&r()},d=b=>{(!i||i(b.target))&&A[A.length-1]===e&&(b.stopPropagation(),b.preventDefault())},f=b=>{(!i||i(b.target))&&(A[A.length-1]===e&&(b.stopPropagation(),b.preventDefault()),l())},p=b=>{b.key==="Escape"&&!u&&!b.nativeEvent.isComposing&&(b.stopPropagation(),b.preventDefault(),l())};Cr({ref:e,onInteractOutside:s&&o?f:void 0,onInteractOutsideStart:d});let{focusWithinProps:v}=hr.$9ab94262bd0047c7$export$420e68273165f4ec({isDisabled:!n,onBlurWithin:b=>{!b.relatedTarget||U.$9bf71ea28793e738$export$1258395f99bf9cbf(b.relatedTarget)||(!i||i(b.relatedTarget))&&r?.()}}),c=b=>{b.target===b.currentTarget&&b.preventDefault()};return{overlayProps:{onKeyDown:p,...v},underlayProps:{onPointerDown:c}}}function Fe(t,e,r){let{type:n}=t,{isOpen:o}=e;a.useEffect(()=>{r&&r.current&&w.$dd149f63282afbbf$export$f6211563215e3b37.set(r.current,e.close)});let s;n==="menu"?s=!0:n==="listbox"&&(s="listbox");let u=y.$bdb11010cef70236$export$f680877a34711e37();return{triggerProps:{"aria-haspopup":s,"aria-expanded":o,"aria-controls":o?u:void 0,onPress:e.toggle},overlayProps:{id:u}}}const _=typeof document<"u"&&window.visualViewport;let Z=0,ue;function Ke(t={}){let{isDisabled:e}=t;y.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(!e)return Z++,Z===1&&(N.$c87311424ea30a05$export$fedb369cb70207f1()?ue=Sr():ue=Mr()),()=>{Z--,Z===0&&ue()}},[e])}function Mr(){let t=window.innerWidth-document.documentElement.clientWidth;return y.$ff5963eb1fccf552$export$e08e3b67e392101e(t>0&&("scrollbarGutter"in document.documentElement.style?de(document.documentElement,"scrollbarGutter","stable"):de(document.documentElement,"paddingRight",`${t}px`)),de(document.documentElement,"overflow","hidden"))}function Sr(){let t,e=!1,r=l=>{let d=l.target;t=Pr.$cc38e7bd3fc7b213$export$2bb74740c4e19def(d)?d:Be.$62d8ded9296f3872$export$cfa2225e87938781(d,!0),e=!1;let f=d.ownerDocument.defaultView.getSelection();f&&!f.isCollapsed&&f.containsNode(d,!0)&&(e=!0),"selectionStart"in d&&"selectionEnd"in d&&d.selectionStart<d.selectionEnd&&d.ownerDocument.activeElement===d&&(e=!0)},n=document.createElement("style");n.textContent=`
|
|
2
2
|
@layer {
|
|
3
3
|
* {
|
|
4
4
|
overscroll-behavior: contain;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Dialog.css');const u=require("react/jsx-runtime"),$=require("./Dialog-
|
|
1
|
+
"use strict";require('./assets/Dialog.css');const u=require("react/jsx-runtime"),$=require("./Dialog-BB93NpJv.cjs"),m=require("./utils-ByR8yLzr.cjs"),v=require("./mergeProps-DkKMzSB1.cjs"),C=require("./filterDOMProps-WUskt27c.cjs"),M=require("./scrollIntoView-BuDouLxy.cjs"),O=require("./SelectionManager-CzZrRNIe.cjs"),i=require("react"),R=require("./SSRProvider-Bc-sMhsT.cjs"),g=require("./OverlayArrow-BxbxesPA.cjs"),B=require("./Button-CU5CMW5J.cjs"),L=require("./Heading-BltB0sR2.cjs"),j=require("./clsx-DKOfLqne.cjs"),T=require("./x-DRkCcaDU.cjs"),H=require("./useLocalizedStringFormatter-BYyiOWPo.cjs");let s=typeof document<"u"&&window.visualViewport;function I(){let t=R.$b5e257d569688ac6$export$535bd6ca7f90a273(),[e,n]=i.useState(()=>t?{width:0,height:0}:w());return i.useEffect(()=>{let a=()=>{s&&s.scale>1||n(l=>{let r=w();return r.width===l.width&&r.height===l.height?l:r})},d,o=l=>{s&&s.scale>1||O.$21f1aa98acb08317$export$c57958e35f31ed73(l.target)&&(d=requestAnimationFrame(()=>{(!document.activeElement||!O.$21f1aa98acb08317$export$c57958e35f31ed73(document.activeElement))&&n(r=>{let c={width:window.innerWidth,height:window.innerHeight};return c.width===r.width&&c.height===r.height?r:c})}))};return window.addEventListener("blur",o,!0),s?s.addEventListener("resize",a):window.addEventListener("resize",a),()=>{cancelAnimationFrame(d),window.removeEventListener("blur",o,!0),s?s.removeEventListener("resize",a):window.removeEventListener("resize",a)}},[]),e}function w(){return{width:s?s.width*s.scale:window.innerWidth,height:s?s.height*s.scale:window.innerHeight}}function z(t,e,n){let{overlayProps:a,underlayProps:d}=$.$a11501f3d1d39e6c$export$ea8f71083e90600f({...t,isOpen:e.isOpen,onClose:e.close},n);return $.$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({isDisabled:!e.isOpen}),$.$337b884510726a0d$export$14c98a7594375490(),i.useEffect(()=>{if(e.isOpen&&n.current)return $.$5e3802645cc19319$export$1c3ebcada18427bf([n.current],{shouldUseInert:!0})},[e.isOpen,n]),{modalProps:v.$3ef42575df84b30b$export$9d1611c77c2fe928(a),underlayProps:d}}const A=i.createContext(null),p=i.createContext(null),k=i.forwardRef(function(e,n){if(i.useContext(p)){if(process.env.NODE_ENV!=="production"&&(e.onOpenChange||e.defaultOpen!==void 0||e.isOpen!==void 0)){const P=new Set(["isDismissable","isKeyboardDismissDisabled","isOpen","defaultOpen","onOpenChange","isEntering","isExiting","UNSTABLE_portalContainer","shouldCloseOnInteractOutside"]),q=Object.keys(e).filter(N=>P.has(N));console.warn(`This modal is already wrapped in a ModalOverlay, props [${q.join(", ")}] should be placed on the ModalOverlay instead.`)}return i.createElement(y,{...e,modalRef:n},e.children)}let{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,children:f,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D,..._}=e;return i.createElement(S,{isDismissable:d,isKeyboardDismissDisabled:o,isOpen:l,defaultOpen:r,onOpenChange:c,isEntering:b,isExiting:h,UNSTABLE_portalContainer:E,shouldCloseOnInteractOutside:D},i.createElement(y,{..._,modalRef:n},f))});function U(t,e){[t,e]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(t,e,A);let n=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),a=g.$fc909762b330b746$export$61c6a8c84e605fb6(t),d=t.isOpen!=null||t.defaultOpen!=null||!n?a:n;d===n&&process.env.NODE_ENV!=="production"&&(t.onOpenChange||t.defaultOpen!==void 0||t.isOpen!==void 0)&&console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");let o=m.$df56164dff5785e2$export$4338b53315abf666(e),l=i.useRef(null),r=g.$d3f049242431219c$export$45fda7c47f93fd48(o,d.isOpen),c=g.$d3f049242431219c$export$45fda7c47f93fd48(l,d.isOpen),f=r||c||t.isExiting||!1,b=R.$b5e257d569688ac6$export$535bd6ca7f90a273();return!d.isOpen&&!f||b?null:i.createElement(V,{...t,state:d,isExiting:f,overlayRef:o,modalRef:l})}const S=i.forwardRef(U);function V({UNSTABLE_portalContainer:t,...e}){let n=e.modalRef,{state:a}=e,{modalProps:d,underlayProps:o}=z(e,a,n),l=g.$d3f049242431219c$export$6d3443f2c48bfc20(e.overlayRef)||e.isEntering||!1,r=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:l,isExiting:e.isExiting,state:a}}),c=I(),f;if(typeof document<"u"){let h=M.$cc38e7bd3fc7b213$export$2bb74740c4e19def(document.body)?document.body:document.scrollingElement||document.documentElement,E=h.getBoundingClientRect().height%1;f=h.scrollHeight-E}let b={...r.style,"--visual-viewport-height":c.height+"px","--page-height":f!==void 0?f+"px":void 0};return i.createElement($.$337b884510726a0d$export$c6fdb837b070b4ff,{isExiting:e.isExiting,portalContainer:t},i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),o),...r,style:b,ref:e.overlayRef,"data-entering":l||void 0,"data-exiting":e.isExiting||void 0},i.createElement(m.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[p,{modalProps:d,modalRef:n,isExiting:e.isExiting,isDismissable:e.isDismissable}],[$.$de32f1b87079253c$export$d2f961adcb0afbe,a]]},r.children)))}function y(t){let{modalProps:e,modalRef:n,isExiting:a,isDismissable:d}=i.useContext(p),o=i.useContext($.$de32f1b87079253c$export$d2f961adcb0afbe),l=i.useMemo(()=>m.$5dc95899b306f630$export$c9058316764c140e(t.modalRef,n),[t.modalRef,n]),r=m.$df56164dff5785e2$export$4338b53315abf666(l),c=g.$d3f049242431219c$export$6d3443f2c48bfc20(r),f=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Modal",values:{isEntering:c,isExiting:a,state:o}});return i.createElement("div",{...v.$3ef42575df84b30b$export$9d1611c77c2fe928(C.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0}),e),...f,ref:r,"data-entering":c||void 0,"data-exiting":a||void 0},d&&i.createElement($.$86ea4cb521eb2e37$export$2317d149ed6f78c4,{onDismiss:o.close}),f.children)}const F="_modal_skl37_1",K="_overlay_skl37_24",W="_modalHeader_skl37_48",X="_modalTitle_skl37_59",G="_modalBody_skl37_65",x={modal:F,overlay:K,modalHeader:W,modalTitle:X,modalBody:G},J={close:"Close"},Q={close:"Stäng"},Y={en:J,sv:Q},Z=({children:t,title:e,hideCloseButton:n=!1,className:a,...d})=>{const o=H.useLocalizedStringFormatter(Y);return u.jsx(S,{...d,className:j.clsx(x.overlay,a),children:u.jsx(k,{className:x.modal,children:u.jsxs($.$de32f1b87079253c$export$3ddf2d174ce01153,{children:[u.jsxs("div",{className:x.modalHeader,children:[u.jsx("div",{className:x.modalTitle,children:e&&u.jsx(L.Heading,{level:3,elementType:"h2",slot:"title",children:e})}),!n&&u.jsx(B.Button,{slot:"close",variant:"tertiary",icon:T.X,iconPlacement:"right",children:o.format("close")})]}),u.jsx("div",{className:x.modalBody,tabIndex:-1,children:t})]})})})};exports.Modal=Z;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { e as kr } from "./Button-
|
|
2
|
-
import { $ as j, a as W, f as H, c as
|
|
3
|
-
import { b as
|
|
4
|
-
import { h as Kr, e as Tr, d as Or, a as Ie, b as Rr, c as Ir, f as Nr, g as Ne } from "./OverlayArrow
|
|
5
|
-
import { $ as Lr, a as Hr, b as _r, c as zr, d as Vr, e as Ur, g as Le, h as jr, l as Wr, j as Gr } from "./Collection-
|
|
6
|
-
import { a as Zr, b as qr, c as Jr, d as Qr } from "./Separator-
|
|
7
|
-
import b, { useRef as
|
|
8
|
-
import { g as Xr, b as He, a as Yr, c as eo } from "./SelectionIndicator-
|
|
9
|
-
import { $ as to } from "./Text-
|
|
10
|
-
import { d as
|
|
1
|
+
import { e as kr } from "./Button-DPzexc8J.js";
|
|
2
|
+
import { $ as j, a as W, f as H, c as Ar, b as Sr, g as ce, d as Br } from "./utils-DU-Pvaj9.js";
|
|
3
|
+
import { b as Ae, $ as wr, a as Fr } from "./RSPContexts-B0lEq7qq.js";
|
|
4
|
+
import { h as Kr, e as Tr, d as Or, a as Ie, b as Rr, c as Ir, f as Nr, g as Ne } from "./OverlayArrow-DbP3KJ3e.js";
|
|
5
|
+
import { $ as Lr, a as Hr, b as _r, c as zr, d as Vr, e as Ur, g as Le, h as jr, l as Wr, j as Gr } from "./Collection-CekMPzl5.js";
|
|
6
|
+
import { a as Zr, b as qr, c as Jr, d as Qr } from "./Separator-6oe0Omo4.js";
|
|
7
|
+
import b, { useRef as S, useEffect as O, useState as L, useMemo as Y, useContext as M, useCallback as be, forwardRef as pe, createContext as k } from "react";
|
|
8
|
+
import { g as Xr, b as He, a as Yr, c as eo } from "./SelectionIndicator-OwhRl98A.js";
|
|
9
|
+
import { $ as to } from "./Text-DZzw-XzG.js";
|
|
10
|
+
import { d as Se, c as ee, $ as ge, e as _e, a as B, b as J } from "./mergeProps-CdO3Q0hv.js";
|
|
11
11
|
import { $ as w } from "./filterDOMProps-BSVCO5jK.js";
|
|
12
|
-
import { g as le, m as ro, d as oo, $ as ze, a as ao, b as Ve } from "./SelectionManager-
|
|
13
|
-
import { a as no, $ as Ue } from "./PressResponder-
|
|
14
|
-
import { l as so, $ as je, a as Be, c as lo } from "./useHover-
|
|
15
|
-
import { b as io, h as uo, m as we } from "./utils-
|
|
16
|
-
import { $ as We } from "./useLocalizedStringFormatter-
|
|
17
|
-
import { c as co, b as fo, d as $o, e as bo } from "./usePress-
|
|
18
|
-
import { f as po, b as fe } from "./useFocusable
|
|
12
|
+
import { g as le, m as ro, d as oo, $ as ze, a as ao, b as Ve } from "./SelectionManager-hTlTNJoc.js";
|
|
13
|
+
import { a as no, $ as Ue } from "./PressResponder-B8QS6rPH.js";
|
|
14
|
+
import { l as so, $ as je, a as Be, c as lo } from "./useHover-HEE64RY1.js";
|
|
15
|
+
import { b as io, h as uo, m as we } from "./utils-DH_ZoHeL.js";
|
|
16
|
+
import { $ as We } from "./useLocalizedStringFormatter-rriWtum4.js";
|
|
17
|
+
import { c as co, b as fo, d as $o, e as bo } from "./usePress-DgZWZTrq.js";
|
|
18
|
+
import { f as po, b as fe } from "./useFocusable-BCvZRQpU.js";
|
|
19
19
|
import { $ as go } from "./useControlledState-u436Wbp1.js";
|
|
20
20
|
import mo from "react-dom";
|
|
21
|
-
import { $ as vo } from "./SSRProvider-
|
|
22
|
-
import { b as xo } from "./Hidden-
|
|
23
|
-
import { $ as yo } from "./context-
|
|
24
|
-
import { $ as ho } from "./useFocusWithin-
|
|
25
|
-
import { $ as Ge } from "./getScrollParent-
|
|
26
|
-
import { $ as Po } from "./scrollIntoView-
|
|
27
|
-
import { $ as Eo } from "./useLabels-
|
|
28
|
-
import { $ as Do } from "./VisuallyHidden-
|
|
21
|
+
import { $ as vo } from "./SSRProvider-40TXmsUG.js";
|
|
22
|
+
import { b as xo } from "./Hidden-C9KWUR7b.js";
|
|
23
|
+
import { $ as yo } from "./context-CGNJ3grH.js";
|
|
24
|
+
import { $ as ho } from "./useFocusWithin-DAdltjwX.js";
|
|
25
|
+
import { $ as Ge } from "./getScrollParent-W_3mSk76.js";
|
|
26
|
+
import { $ as Po } from "./scrollIntoView-CsMRNIXg.js";
|
|
27
|
+
import { $ as Eo } from "./useLabels-C19Y6OsI.js";
|
|
28
|
+
import { $ as Do } from "./VisuallyHidden-DsmiKXve.js";
|
|
29
29
|
function Co(t) {
|
|
30
|
-
let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s =
|
|
30
|
+
let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s = S({
|
|
31
31
|
isPointerDown: !1,
|
|
32
32
|
ignoreEmulatedMouseEvents: !1
|
|
33
|
-
}), i =
|
|
33
|
+
}), i = Se((n) => {
|
|
34
34
|
r && Z(n, e) && (o && o(n), s.current.isPointerDown = !0);
|
|
35
|
-
}), l =
|
|
35
|
+
}), l = Se((n) => {
|
|
36
36
|
r && r(n);
|
|
37
37
|
});
|
|
38
38
|
O(() => {
|
|
@@ -71,25 +71,25 @@ function Z(t, e) {
|
|
|
71
71
|
}
|
|
72
72
|
return e.current ? !t.composedPath().includes(e.current) : !1;
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const A = [];
|
|
75
75
|
function Mo(t, e) {
|
|
76
76
|
let { onClose: r, shouldCloseOnBlur: a, isOpen: o, isDismissable: s = !1, isKeyboardDismissDisabled: i = !1, shouldCloseOnInteractOutside: l } = t;
|
|
77
77
|
O(() => {
|
|
78
|
-
if (o && !
|
|
79
|
-
return
|
|
80
|
-
let $ =
|
|
81
|
-
$ >= 0 &&
|
|
78
|
+
if (o && !A.includes(e))
|
|
79
|
+
return A.push(e), () => {
|
|
80
|
+
let $ = A.indexOf(e);
|
|
81
|
+
$ >= 0 && A.splice($, 1);
|
|
82
82
|
};
|
|
83
83
|
}, [
|
|
84
84
|
o,
|
|
85
85
|
e
|
|
86
86
|
]);
|
|
87
87
|
let n = () => {
|
|
88
|
-
|
|
88
|
+
A[A.length - 1] === e && r && r();
|
|
89
89
|
}, u = ($) => {
|
|
90
|
-
(!l || l($.target)) &&
|
|
90
|
+
(!l || l($.target)) && A[A.length - 1] === e && ($.stopPropagation(), $.preventDefault());
|
|
91
91
|
}, c = ($) => {
|
|
92
|
-
(!l || l($.target)) && (
|
|
92
|
+
(!l || l($.target)) && (A[A.length - 1] === e && ($.stopPropagation(), $.preventDefault()), n());
|
|
93
93
|
}, p = ($) => {
|
|
94
94
|
$.key === "Escape" && !i && !$.nativeEvent.isComposing && ($.stopPropagation(), $.preventDefault(), n());
|
|
95
95
|
};
|
|
@@ -142,19 +142,19 @@ function ko(t = {}) {
|
|
|
142
142
|
let { isDisabled: e } = t;
|
|
143
143
|
ge(() => {
|
|
144
144
|
if (!e)
|
|
145
|
-
return q++, q === 1 && (so() ? ie =
|
|
145
|
+
return q++, q === 1 && (so() ? ie = So() : ie = Ao()), () => {
|
|
146
146
|
q--, q === 0 && ie();
|
|
147
147
|
};
|
|
148
148
|
}, [
|
|
149
149
|
e
|
|
150
150
|
]);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Ao() {
|
|
153
153
|
let t = window.innerWidth - document.documentElement.clientWidth;
|
|
154
154
|
return _e(t > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
|
|
155
155
|
("scrollbarGutter" in document.documentElement.style ? ue(document.documentElement, "scrollbarGutter", "stable") : ue(document.documentElement, "paddingRight", `${t}px`)), ue(document.documentElement, "overflow", "hidden"));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function So() {
|
|
158
158
|
let t, e = !1, r = (n) => {
|
|
159
159
|
let u = n.target;
|
|
160
160
|
t = Po(u) ? u : Ge(u, !0), e = !1;
|
|
@@ -375,12 +375,12 @@ var kt = {};
|
|
|
375
375
|
kt = {
|
|
376
376
|
dismiss: "取消"
|
|
377
377
|
};
|
|
378
|
-
var St = {};
|
|
379
|
-
St = {
|
|
380
|
-
dismiss: "關閉"
|
|
381
|
-
};
|
|
382
378
|
var At = {};
|
|
383
379
|
At = {
|
|
380
|
+
dismiss: "關閉"
|
|
381
|
+
};
|
|
382
|
+
var St = {};
|
|
383
|
+
St = {
|
|
384
384
|
"ar-AE": qe,
|
|
385
385
|
"bg-BG": Je,
|
|
386
386
|
"cs-CZ": Qe,
|
|
@@ -414,13 +414,13 @@ At = {
|
|
|
414
414
|
"tr-TR": Ct,
|
|
415
415
|
"uk-UA": Mt,
|
|
416
416
|
"zh-CN": kt,
|
|
417
|
-
"zh-TW":
|
|
417
|
+
"zh-TW": At
|
|
418
418
|
};
|
|
419
419
|
function Bo(t) {
|
|
420
420
|
return t && t.__esModule ? t.default : t;
|
|
421
421
|
}
|
|
422
422
|
function Te(t) {
|
|
423
|
-
let { onDismiss: e, ...r } = t, a = We(Bo(
|
|
423
|
+
let { onDismiss: e, ...r } = t, a = We(Bo(St), "@react-aria/overlays"), o = Eo(r, a.format("dismiss")), s = () => {
|
|
424
424
|
e && e();
|
|
425
425
|
};
|
|
426
426
|
return /* @__PURE__ */ b.createElement(Do, null, /* @__PURE__ */ b.createElement("button", {
|
|
@@ -860,9 +860,9 @@ function Lo(t, e, r) {
|
|
|
860
860
|
"aria-expanded": t["aria-expanded"]
|
|
861
861
|
};
|
|
862
862
|
P.selectionMode !== "none" && !C && (G["aria-checked"] = ye), i && (G["aria-posinset"] = h?.index, G["aria-setsize"] = qr(e.collection));
|
|
863
|
-
let Ce =
|
|
863
|
+
let Ce = S(!1), vr = (x) => {
|
|
864
864
|
p?.(x), Ce.current = x;
|
|
865
|
-
}, I =
|
|
865
|
+
}, I = S(null), xr = (x) => {
|
|
866
866
|
x.pointerType !== "keyboard" && (I.current = {
|
|
867
867
|
pointerType: x.pointerType
|
|
868
868
|
}), x.pointerType === "mouse" && (Ce.current || x.target.click()), u?.(x);
|
|
@@ -995,7 +995,7 @@ function Ho(t) {
|
|
|
995
995
|
function _o(t, e) {
|
|
996
996
|
let { role: r = "dialog" } = t, a = J();
|
|
997
997
|
a = t["aria-label"] ? void 0 : a;
|
|
998
|
-
let o =
|
|
998
|
+
let o = S(!1);
|
|
999
999
|
return O(() => {
|
|
1000
1000
|
if (e.current && !e.current.contains(document.activeElement)) {
|
|
1001
1001
|
fe(e.current);
|
|
@@ -1156,7 +1156,7 @@ const ve = /* @__PURE__ */ k(null), Re = /* @__PURE__ */ k(null), Ca = /* @__PUR
|
|
|
1156
1156
|
});
|
|
1157
1157
|
});
|
|
1158
1158
|
function jo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: a, ...o }) {
|
|
1159
|
-
let s =
|
|
1159
|
+
let s = S(null), i = S(null), l = M(Re), n = l && o.trigger === "SubmenuTrigger";
|
|
1160
1160
|
var u;
|
|
1161
1161
|
let { popoverProps: c, underlayProps: p, arrowProps: v, placement: d, triggerAnchorPoint: $ } = To({
|
|
1162
1162
|
...o,
|
|
@@ -1258,7 +1258,7 @@ function jo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
|
|
|
1258
1258
|
}
|
|
1259
1259
|
const Wo = /* @__PURE__ */ k({}), $r = /* @__PURE__ */ k(null), xe = /* @__PURE__ */ k(null), Q = /* @__PURE__ */ k(null), X = /* @__PURE__ */ k(null);
|
|
1260
1260
|
function Ma(t) {
|
|
1261
|
-
let e = me(t), r =
|
|
1261
|
+
let e = me(t), r = S(null), { menuTriggerProps: a, menuProps: o } = Io({
|
|
1262
1262
|
...t,
|
|
1263
1263
|
type: "menu"
|
|
1264
1264
|
}, e, r), [s, i] = L(null), l = be(() => {
|
|
@@ -1270,7 +1270,7 @@ function Ma(t) {
|
|
|
1270
1270
|
ref: r,
|
|
1271
1271
|
onResize: l
|
|
1272
1272
|
});
|
|
1273
|
-
let n =
|
|
1273
|
+
let n = S(null);
|
|
1274
1274
|
return /* @__PURE__ */ b.createElement(H, {
|
|
1275
1275
|
values: [
|
|
1276
1276
|
[
|
|
@@ -1330,7 +1330,7 @@ const ka = /* @__PURE__ */ pe(function(e, r) {
|
|
|
1330
1330
|
}));
|
|
1331
1331
|
});
|
|
1332
1332
|
function qo({ props: t, collection: e, menuRef: r }) {
|
|
1333
|
-
[t, r] = j(t, r,
|
|
1333
|
+
[t, r] = j(t, r, Ae);
|
|
1334
1334
|
let { filter: a, ...o } = t, s = Y(() => a ? e.filter(a) : e, [
|
|
1335
1335
|
e,
|
|
1336
1336
|
a
|
|
@@ -1396,7 +1396,7 @@ function qo({ props: t, collection: e, menuRef: r }) {
|
|
|
1396
1396
|
null
|
|
1397
1397
|
],
|
|
1398
1398
|
[
|
|
1399
|
-
|
|
1399
|
+
Ae,
|
|
1400
1400
|
null
|
|
1401
1401
|
],
|
|
1402
1402
|
[
|
|
@@ -1478,10 +1478,10 @@ function br(t, e, r, a = "react-aria-MenuSection") {
|
|
|
1478
1478
|
parent: r
|
|
1479
1479
|
})));
|
|
1480
1480
|
}
|
|
1481
|
-
const
|
|
1481
|
+
const Aa = /* @__PURE__ */ Hr(Ur, br), $e = /* @__PURE__ */ k(null), Sa = /* @__PURE__ */ Lr(Vr, function(e, r, a) {
|
|
1482
1482
|
var o;
|
|
1483
1483
|
[e, r] = j(e, r, $e);
|
|
1484
|
-
let s = (o =
|
|
1484
|
+
let s = (o = Ar($e)) === null || o === void 0 ? void 0 : o.id, i = M(xe), l = Sr(r), n = M(X), { menuItemProps: u, labelProps: c, descriptionProps: p, keyboardShortcutProps: v, ...d } = Lo({
|
|
1485
1485
|
...e,
|
|
1486
1486
|
id: s,
|
|
1487
1487
|
key: a.key,
|
|
@@ -1543,7 +1543,7 @@ const Sa = /* @__PURE__ */ Hr(Ur, br), $e = /* @__PURE__ */ k(null), Aa = /* @__
|
|
|
1543
1543
|
}, m.children));
|
|
1544
1544
|
}), pr = /* @__PURE__ */ k(null), te = /* @__PURE__ */ k(null);
|
|
1545
1545
|
function Ba(t) {
|
|
1546
|
-
let e = me(t), r =
|
|
1546
|
+
let e = me(t), r = S(null), { triggerProps: a, overlayProps: o } = Ze({
|
|
1547
1547
|
type: "dialog"
|
|
1548
1548
|
}, e, r), [s, i] = L(null), l = be(() => {
|
|
1549
1549
|
r.current && i(r.current.offsetWidth + "px");
|
|
@@ -1644,7 +1644,7 @@ export {
|
|
|
1644
1644
|
Ma as a,
|
|
1645
1645
|
Ca as b,
|
|
1646
1646
|
ka as c,
|
|
1647
|
-
|
|
1647
|
+
Sa as d,
|
|
1648
1648
|
Mo as e,
|
|
1649
1649
|
ko as f,
|
|
1650
1650
|
Oo as g,
|
|
@@ -1653,7 +1653,7 @@ export {
|
|
|
1653
1653
|
Te as j,
|
|
1654
1654
|
Oe as k,
|
|
1655
1655
|
wa as l,
|
|
1656
|
-
|
|
1656
|
+
Aa as m,
|
|
1657
1657
|
ve as n,
|
|
1658
1658
|
pr as o,
|
|
1659
1659
|
Io as p,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsx as m, jsxs as v } from "react/jsx-runtime";
|
|
2
|
-
import { e as A, f as j, g as U, h as V, i as x, j as F, k as K, l as W } from "./Dialog-
|
|
3
|
-
import { $ as q, b as R, h as X, a as _, f as G } from "./utils-
|
|
4
|
-
import { a as p } from "./mergeProps-
|
|
2
|
+
import { e as A, f as j, g as U, h as V, i as x, j as F, k as K, l as W } from "./Dialog-BuVUeIcW.js";
|
|
3
|
+
import { $ as q, b as R, h as X, a as _, f as G } from "./utils-DU-Pvaj9.js";
|
|
4
|
+
import { a as p } from "./mergeProps-CdO3Q0hv.js";
|
|
5
5
|
import { $ as D } from "./filterDOMProps-BSVCO5jK.js";
|
|
6
|
-
import { $ as J } from "./scrollIntoView-
|
|
7
|
-
import { g as O } from "./SelectionManager-
|
|
6
|
+
import { $ as J } from "./scrollIntoView-CsMRNIXg.js";
|
|
7
|
+
import { g as O } from "./SelectionManager-hTlTNJoc.js";
|
|
8
8
|
import f, { useState as Q, useEffect as S, forwardRef as P, useContext as b, createContext as N, useRef as Y, useMemo as Z } from "react";
|
|
9
|
-
import { $ as B } from "./SSRProvider-
|
|
10
|
-
import { a as ee, b as y, c as M } from "./OverlayArrow
|
|
11
|
-
import { B as te } from "./Button-
|
|
12
|
-
import { H as ie } from "./Heading-
|
|
9
|
+
import { $ as B } from "./SSRProvider-40TXmsUG.js";
|
|
10
|
+
import { a as ee, b as y, c as M } from "./OverlayArrow-DbP3KJ3e.js";
|
|
11
|
+
import { B as te } from "./Button-XUO3qx30.js";
|
|
12
|
+
import { H as ie } from "./Heading-D3uz-ZGT.js";
|
|
13
13
|
import { c as ne } from "./clsx-jbLnTBqA.js";
|
|
14
14
|
import { X as ae } from "./x-BXShoIAM.js";
|
|
15
|
-
import { u as
|
|
15
|
+
import { u as le } from "./useLocalizedStringFormatter-3gSCwH4b.js";
|
|
16
16
|
import './assets/Dialog.css';let r = typeof document < "u" && window.visualViewport;
|
|
17
|
-
function
|
|
17
|
+
function de() {
|
|
18
18
|
let t = B(), [e, i] = Q(() => t ? {
|
|
19
19
|
width: 0,
|
|
20
20
|
height: 0
|
|
21
21
|
} : w());
|
|
22
22
|
return S(() => {
|
|
23
23
|
let n = () => {
|
|
24
|
-
r && r.scale > 1 || i((
|
|
25
|
-
let
|
|
26
|
-
return
|
|
24
|
+
r && r.scale > 1 || i((d) => {
|
|
25
|
+
let l = w();
|
|
26
|
+
return l.width === d.width && l.height === d.height ? d : l;
|
|
27
27
|
});
|
|
28
|
-
}, a, o = (
|
|
29
|
-
r && r.scale > 1 || O(
|
|
30
|
-
(!document.activeElement || !O(document.activeElement)) && i((
|
|
28
|
+
}, a, o = (d) => {
|
|
29
|
+
r && r.scale > 1 || O(d.target) && (a = requestAnimationFrame(() => {
|
|
30
|
+
(!document.activeElement || !O(document.activeElement)) && i((l) => {
|
|
31
31
|
let s = {
|
|
32
32
|
width: window.innerWidth,
|
|
33
33
|
height: window.innerHeight
|
|
34
34
|
};
|
|
35
|
-
return s.width ===
|
|
35
|
+
return s.width === l.width && s.height === l.height ? l : s;
|
|
36
36
|
});
|
|
37
37
|
}));
|
|
38
38
|
};
|
|
@@ -91,12 +91,12 @@ const re = /* @__PURE__ */ N(null), E = /* @__PURE__ */ N(null), se = /* @__PURE
|
|
|
91
91
|
modalRef: i
|
|
92
92
|
}, e.children);
|
|
93
93
|
}
|
|
94
|
-
let { isDismissable: a, isKeyboardDismissDisabled: o, isOpen:
|
|
94
|
+
let { isDismissable: a, isKeyboardDismissDisabled: o, isOpen: d, defaultOpen: l, onOpenChange: s, children: c, isEntering: u, isExiting: g, UNSTABLE_portalContainer: h, shouldCloseOnInteractOutside: T, ...H } = e;
|
|
95
95
|
return /* @__PURE__ */ f.createElement(L, {
|
|
96
96
|
isDismissable: a,
|
|
97
97
|
isKeyboardDismissDisabled: o,
|
|
98
|
-
isOpen:
|
|
99
|
-
defaultOpen:
|
|
98
|
+
isOpen: d,
|
|
99
|
+
defaultOpen: l,
|
|
100
100
|
onOpenChange: s,
|
|
101
101
|
isEntering: u,
|
|
102
102
|
isExiting: g,
|
|
@@ -111,32 +111,32 @@ function ce(t, e) {
|
|
|
111
111
|
[t, e] = q(t, e, re);
|
|
112
112
|
let i = b(x), n = ee(t), a = t.isOpen != null || t.defaultOpen != null || !i ? n : i;
|
|
113
113
|
a === i && process.env.NODE_ENV !== "production" && (t.onOpenChange || t.defaultOpen !== void 0 || t.isOpen !== void 0) && console.warn("This modals state is controlled by a trigger, place onOpenChange on the trigger instead.");
|
|
114
|
-
let o = R(e),
|
|
114
|
+
let o = R(e), d = Y(null), l = y(o, a.isOpen), s = y(d, a.isOpen), c = l || s || t.isExiting || !1, u = B();
|
|
115
115
|
return !a.isOpen && !c || u ? null : /* @__PURE__ */ f.createElement(fe, {
|
|
116
116
|
...t,
|
|
117
117
|
state: a,
|
|
118
118
|
isExiting: c,
|
|
119
119
|
overlayRef: o,
|
|
120
|
-
modalRef:
|
|
120
|
+
modalRef: d
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
123
|
const L = /* @__PURE__ */ P(ce);
|
|
124
124
|
function fe({ UNSTABLE_portalContainer: t, ...e }) {
|
|
125
|
-
let i = e.modalRef, { state: n } = e, { modalProps: a, underlayProps: o } = oe(e, n, i),
|
|
125
|
+
let i = e.modalRef, { state: n } = e, { modalProps: a, underlayProps: o } = oe(e, n, i), d = M(e.overlayRef) || e.isEntering || !1, l = _({
|
|
126
126
|
...e,
|
|
127
127
|
defaultClassName: "react-aria-ModalOverlay",
|
|
128
128
|
values: {
|
|
129
|
-
isEntering:
|
|
129
|
+
isEntering: d,
|
|
130
130
|
isExiting: e.isExiting,
|
|
131
131
|
state: n
|
|
132
132
|
}
|
|
133
|
-
}), s =
|
|
133
|
+
}), s = de(), c;
|
|
134
134
|
if (typeof document < "u") {
|
|
135
135
|
let g = J(document.body) ? document.body : document.scrollingElement || document.documentElement, h = g.getBoundingClientRect().height % 1;
|
|
136
136
|
c = g.scrollHeight - h;
|
|
137
137
|
}
|
|
138
138
|
let u = {
|
|
139
|
-
...
|
|
139
|
+
...l.style,
|
|
140
140
|
"--visual-viewport-height": s.height + "px",
|
|
141
141
|
"--page-height": c !== void 0 ? c + "px" : void 0
|
|
142
142
|
};
|
|
@@ -147,10 +147,10 @@ function fe({ UNSTABLE_portalContainer: t, ...e }) {
|
|
|
147
147
|
...p(D(e, {
|
|
148
148
|
global: !0
|
|
149
149
|
}), o),
|
|
150
|
-
...
|
|
150
|
+
...l,
|
|
151
151
|
style: u,
|
|
152
152
|
ref: e.overlayRef,
|
|
153
|
-
"data-entering":
|
|
153
|
+
"data-entering": d || void 0,
|
|
154
154
|
"data-exiting": e.isExiting || void 0
|
|
155
155
|
}, /* @__PURE__ */ f.createElement(G, {
|
|
156
156
|
values: [
|
|
@@ -168,13 +168,13 @@ function fe({ UNSTABLE_portalContainer: t, ...e }) {
|
|
|
168
168
|
n
|
|
169
169
|
]
|
|
170
170
|
]
|
|
171
|
-
},
|
|
171
|
+
}, l.children)));
|
|
172
172
|
}
|
|
173
173
|
function C(t) {
|
|
174
|
-
let { modalProps: e, modalRef: i, isExiting: n, isDismissable: a } = b(E), o = b(x),
|
|
174
|
+
let { modalProps: e, modalRef: i, isExiting: n, isDismissable: a } = b(E), o = b(x), d = Z(() => X(t.modalRef, i), [
|
|
175
175
|
t.modalRef,
|
|
176
176
|
i
|
|
177
|
-
]),
|
|
177
|
+
]), l = R(d), s = M(l), c = _({
|
|
178
178
|
...t,
|
|
179
179
|
defaultClassName: "react-aria-Modal",
|
|
180
180
|
values: {
|
|
@@ -188,7 +188,7 @@ function C(t) {
|
|
|
188
188
|
global: !0
|
|
189
189
|
}), e),
|
|
190
190
|
...c,
|
|
191
|
-
ref:
|
|
191
|
+
ref: l,
|
|
192
192
|
"data-entering": s || void 0,
|
|
193
193
|
"data-exiting": n || void 0
|
|
194
194
|
}, a && /* @__PURE__ */ f.createElement(F, {
|
|
@@ -211,7 +211,7 @@ const me = "_modal_skl37_1", ue = "_overlay_skl37_24", $e = "_modalHeader_skl37_
|
|
|
211
211
|
className: n,
|
|
212
212
|
...a
|
|
213
213
|
}) => {
|
|
214
|
-
const o =
|
|
214
|
+
const o = le(pe);
|
|
215
215
|
return /* @__PURE__ */ m(
|
|
216
216
|
L,
|
|
217
217
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as x } from "./getScrollParent-
|
|
2
|
-
import { d as y, $ as m } from "./mergeProps-
|
|
1
|
+
import { $ as x } from "./getScrollParent-W_3mSk76.js";
|
|
2
|
+
import { d as y, $ as m } from "./mergeProps-CdO3Q0hv.js";
|
|
3
3
|
import d, { useRef as K, createContext as s, useCallback as M, forwardRef as V, useMemo as w, useContext as I } from "react";
|
|
4
4
|
function T(i, e) {
|
|
5
5
|
let { collection: l, onLoadMore: r, scrollOffset: c = 1 } = i, u = K(null), n = y((o) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const y=require("./getScrollParent-
|
|
1
|
+
"use strict";const y=require("./getScrollParent-DFEQoVP1.cjs"),s=require("./mergeProps-DkKMzSB1.cjs"),u=require("react");function K(n,e){let{collection:l,onLoadMore:r,scrollOffset:c=1}=n,o=u.useRef(null),t=s.$8ae05eaa5c114e9c$export$7f54fc3180508a52(a=>{for(let b of a)b.isIntersecting&&r&&r()});s.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(o.current=new IntersectionObserver(t,{root:y.$62d8ded9296f3872$export$cfa2225e87938781(e?.current),rootMargin:`0px ${100*c}% ${100*c}% ${100*c}%`}),o.current.observe(e.current)),()=>{o.current&&o.current.disconnect()}),[l,t,e,c])}const m=u.createContext({}),g=u.createContext(null),M=u.forwardRef(function(e,l){let{render:r}=u.useContext(g);return u.createElement(u.Fragment,null,r(e,l))});function V(n,e){var l;let r=n?.renderDropIndicator,c=n==null||(l=n.isVirtualDragging)===null||l===void 0?void 0:l.call(n),o=u.useCallback(t=>{if(c||e?.isDropTarget(t))return r?r(t):u.createElement(M,{target:t})},[e?.target,c,r]);return n?.useDropIndicator?o:void 0}function w(n,e,l){var r,c;let o=n.focusedKey,t=null;if(!(e==null||(r=e.isVirtualDragging)===null||r===void 0)&&r.call(e)&&(l==null||(c=l.target)===null||c===void 0?void 0:c.type)==="item"&&(t=l.target.key,l.target.dropPosition==="after")){let i=l.collection.getKeyAfter(t),v=null;if(i!=null){var a,b;let x=(b=(a=l.collection.getItem(t))===null||a===void 0?void 0:a.level)!==null&&b!==void 0?b:0;for(;i;){let d=l.collection.getItem(i);if(!d)break;if(d.type!=="item"){i=l.collection.getKeyAfter(i);continue}var $;if((($=d.level)!==null&&$!==void 0?$:0)<=x)break;v=i,i=l.collection.getKeyAfter(i)}}var f;t=(f=i??v)!==null&&f!==void 0?f:t}return u.useMemo(()=>new Set([o,t].filter(i=>i!=null)),[o,t])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=V;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=m;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=w;exports.$612b8eb6cb90e02d$export$f55761759794cf55=g;exports.$a5fa973c1850dd36$export$ccaea96c28e8b9e7=K;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as c, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { a as s, b as d, c as m, d as u } from "./Dialog-
|
|
3
|
-
import { B as b } from "./Button-
|
|
2
|
+
import { a as s, b as d, c as m, d as u } from "./Dialog-BuVUeIcW.js";
|
|
3
|
+
import { B as b } from "./Button-XUO3qx30.js";
|
|
4
4
|
import { c as x } from "./clsx-jbLnTBqA.js";
|
|
5
5
|
import { c as f } from "./createLucideIcon-D4r5Phnh.js";
|
|
6
6
|
import './assets/Dropdown.css';const h = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-
|
|
1
|
+
"use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-BB93NpJv.cjs"),l=require("./Button-CU5CMW5J.cjs"),d=require("./clsx-DKOfLqne.cjs"),a=require("./createLucideIcon-H_Gy5FIB.cjs");const u=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],x=a.createLucideIcon("ellipsis-vertical",u),m="_dropDownMenu_1493w_1",b="_menuItem_1493w_17",s={dropDownMenu:m,menuItem:b};function h({label:c,title:t,children:n,icon:i=x,...o}){return e.jsxs(r.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...o,children:[e.jsxs(l.Button,{"aria-label":c||o["aria-label"],variant:"icon",children:[t,e.jsx(i,{size:20,"aria-hidden":!0})]}),e.jsx(r.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:e.jsx(r.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{...o,className:s.dropDownMenu,children:n})})]})}function $(c){const t=c.textValue||(typeof c.children=="string"?c.children:void 0);return e.jsx(r.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{...c,textValue:t,className:({isFocused:n,isOpen:i})=>d.clsx(s.menuItem,c.className,n&&"focused",i&&"open"),children:({hasSubmenu:n})=>e.jsxs(e.Fragment,{children:[c.children,n&&e.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:e.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}exports.Dropdown=h;exports.DropdownItem=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/FieldError.css');const
|
|
1
|
+
"use strict";require('./assets/FieldError.css');const s=require("react/jsx-runtime"),o=require("react"),d=require("./utils-ByR8yLzr.cjs"),f=require("./Text-gyLWHlGg.cjs"),u=require("./filterDOMProps-WUskt27c.cjs"),$=require("./clsx-DKOfLqne.cjs"),x=require("./Text-DRzd1SY7.cjs");function b(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=b(o),l=o.createContext(null),E=o.forwardRef(function(n,r){let t=o.useContext(l);return t?.isInvalid?o.createElement(v,{...n,ref:r}):null}),v=o.forwardRef((e,n)=>{let r=o.useContext(l),t=u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0}),c=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return c.children==null?null:o.createElement(f.$514c0188e459b4c0$export$5f1af8db9871e1d6,{slot:"errorMessage",...t,...c,ref:n})}),m="_fieldError_u3cks_1",p={fieldError:m},g=a.forwardRef((e,n)=>{const{children:r,isInvalid:t}=e,c=$.clsx(p.fieldError,e.className),i=a.useContext(l);return!i&&t&&typeof r!="function"?s.jsx(x.Text,{className:c,children:r}):i?.isInvalid?s.jsx(E,{...e,ref:n,className:c}):null});exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=l;exports.FieldError=g;
|