@easypost/easy-ui 1.0.0-alpha.78 → 1.0.0-alpha.79
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/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +6 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/CheckableCard/index.js +1 -1
- package/CheckableCard/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +6 -6
- package/CodeBlock/index.mjs +6 -6
- package/DataGrid/index.js +33 -28
- package/DataGrid/index.mjs +33 -28
- package/DatePicker/index.js +13 -13
- package/DatePicker/index.mjs +13 -13
- package/DateRangePicker/index.js +13 -13
- package/DateRangePicker/index.mjs +13 -13
- package/Drawer/index.js +4 -4
- package/Drawer/index.mjs +4 -4
- package/DropdownButton/index.js +1 -1
- package/DropdownButton/index.mjs +1 -1
- package/FocusedProductLayout/index.js +3 -3
- package/FocusedProductLayout/index.mjs +3 -3
- package/ForgeLayout/index.js +11 -11
- package/ForgeLayout/index.mjs +11 -11
- package/HostedUILayout/HostedUILayout.d.ts +76 -0
- package/HostedUILayout/HostedUILayout.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayout.stories.d.ts +8 -0
- package/HostedUILayout/HostedUILayout.stories.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayout.test.d.ts +2 -0
- package/HostedUILayout/HostedUILayout.test.d.ts.map +1 -0
- package/HostedUILayout/HostedUILayoutActions.d.ts +50 -0
- package/HostedUILayout/HostedUILayoutActions.d.ts.map +1 -0
- package/HostedUILayout/index.d.ts +2 -0
- package/HostedUILayout/index.d.ts.map +1 -0
- package/HostedUILayout/index.js +195 -0
- package/HostedUILayout/index.mjs +195 -0
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +1 -1
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +5 -5
- package/Modal/index.mjs +5 -5
- package/MultiSelect/index.js +27 -27
- package/MultiSelect/index.mjs +28 -28
- package/MultipageSection/MultipageSection.d.ts +118 -0
- package/MultipageSection/MultipageSection.d.ts.map +1 -0
- package/MultipageSection/MultipageSection.stories.d.ts +8 -0
- package/MultipageSection/MultipageSection.stories.d.ts.map +1 -0
- package/MultipageSection/MultipageSection.test.d.ts +2 -0
- package/MultipageSection/MultipageSection.test.d.ts.map +1 -0
- package/MultipageSection/MultipageSectionSidebarNav.d.ts +29 -0
- package/MultipageSection/MultipageSectionSidebarNav.d.ts.map +1 -0
- package/MultipageSection/index.d.ts +2 -0
- package/MultipageSection/index.d.ts.map +1 -0
- package/MultipageSection/index.js +208 -0
- package/MultipageSection/index.mjs +208 -0
- package/NexusLayout/index.js +8 -25
- package/NexusLayout/index.mjs +7 -24
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +2 -2
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/index.js +4 -4
- package/PlanCard/index.mjs +4 -4
- package/ProductLayout/index.js +8 -8
- package/ProductLayout/index.mjs +8 -8
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +9 -9
- package/RadioButtonGroup/index.mjs +9 -9
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +4 -4
- package/SearchNav/index.mjs +4 -4
- package/Select/index.js +2 -2
- package/Select/index.mjs +2 -2
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/Spinner/index.js +1 -1
- package/Spinner/index.mjs +1 -1
- package/SplitToggleCard/index.js +1 -1
- package/SplitToggleCard/index.mjs +1 -1
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +18 -16
- package/TabPanels/index.mjs +18 -16
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +6 -6
- package/VerticalNav/index.mjs +6 -6
- package/__chunks__/{Button-D9a9VZzF.js → Button-2GplvjoR.js} +5 -5
- package/__chunks__/{Button-D-ucl04v.mjs → Button-BE3zVhME.mjs} +1 -1
- package/__chunks__/{Button-UHHZB1DN.mjs → Button-BpGjkRZu.mjs} +8 -8
- package/__chunks__/{Button-DA6XfGLP.js → Button-DUZZ9HoT.js} +1 -1
- package/__chunks__/{Calendar-DjW0E3mk.mjs → Calendar-B8v6TkXp.mjs} +2 -2
- package/__chunks__/{Calendar-2o01guc2.js → Calendar-joo_8vqm.js} +2 -2
- package/__chunks__/{CalendarBase-RcVbhUvM.js → CalendarBase-B1T_Rybe.js} +30 -18
- package/__chunks__/{CalendarBase-D8NmV5mS.mjs → CalendarBase-adL7KcVi.mjs} +34 -22
- package/__chunks__/{Checkbox-C8XZu-1F.mjs → Checkbox-DJAFG_mm.mjs} +8 -8
- package/__chunks__/{Checkbox-sznEdCc0.js → Checkbox-DwkJKuPC.js} +8 -8
- package/__chunks__/{DatePickerBase-BJH3bhGM.mjs → DatePickerBase-Bg4YQMAj.mjs} +26 -23
- package/__chunks__/{DatePickerBase-BWFcyR_m.js → DatePickerBase-DRR0aOm4.js} +26 -23
- package/__chunks__/{Dialog-BBt18JUl.mjs → Dialog-71SzSgdZ.mjs} +10 -10
- package/__chunks__/{Dialog-Dde11Vfw.js → Dialog-D1oLQPjX.js} +10 -10
- package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +22 -0
- package/__chunks__/EasyPostLogo-DQt5KlFX.js +21 -0
- package/__chunks__/{FocusScope-DxiwSl55.js → FocusScope-BYrP0odg.js} +3 -3
- package/__chunks__/{FocusScope-jG-ZgYgr.mjs → FocusScope-DP1VSF7s.mjs} +3 -3
- package/__chunks__/{HelpMenu-DQngktSJ.mjs → HelpMenu-DHNd3X_S.mjs} +2 -2
- package/__chunks__/{HelpMenu-B3gwBqqY.js → HelpMenu-LZ_ky28u.js} +2 -2
- package/__chunks__/{InputField-CPgMRigD.js → InputField-CH28zjUK.js} +3 -3
- package/__chunks__/{InputField-D4feGzmR.mjs → InputField-D4Arfzdz.mjs} +3 -3
- package/__chunks__/{Item-BhrTPNN2.mjs → Item-FD89BR0i.mjs} +1 -1
- package/__chunks__/{Item-CfWjPrxx.js → Item-h_oPjYVR.js} +1 -1
- package/__chunks__/{KebabButton-B97kYKaW.js → KebabButton-BF8hfPrB.js} +1 -1
- package/__chunks__/{KebabButton-tTikhARu.mjs → KebabButton-D5KhH0qQ.mjs} +1 -1
- package/__chunks__/{Menu-L3un-ZpR.mjs → Menu-CfHK_0Sr.mjs} +16 -16
- package/__chunks__/{Menu-BjKQfXId.js → Menu-CivAepFq.js} +16 -16
- package/__chunks__/{Notification-C22_98O5.mjs → Notification-CRi-0D3f.mjs} +27 -19
- package/__chunks__/{Notification-eckCE8Jj.js → Notification-D7ceWiZq.js} +27 -19
- package/__chunks__/{Overlay-BqaNlC3s.js → Overlay-88Ee_QUh.js} +7 -7
- package/__chunks__/{Overlay-huXBYY4a.mjs → Overlay-Cj4W5w8m.mjs} +7 -7
- package/__chunks__/{PillGroup-q2LMLV6q.js → PillGroup-B9WQ2to5.js} +26 -25
- package/__chunks__/{PillGroup-8hng2YcX.mjs → PillGroup-CuPREwvS.mjs} +26 -25
- package/__chunks__/{RadioGroup-CaCZDI4f.mjs → RadioGroup-B5o5aPT-.mjs} +14 -14
- package/__chunks__/{RadioGroup-Cbzsv5jw.js → RadioGroup-yg8Gtbol.js} +14 -14
- package/__chunks__/{RangeCalendar-aUakXSjU.js → RangeCalendar-BgB6xU9q.js} +4 -4
- package/__chunks__/{RangeCalendar-DhFnV8j-.mjs → RangeCalendar-CNLF6YQu.mjs} +4 -4
- package/__chunks__/{SelectOverlay-BFRRqmYL.js → SelectOverlay-BaATkSsw.js} +17 -16
- package/__chunks__/{SelectOverlay-CsxfifYV.mjs → SelectOverlay-DkEL-0O_.mjs} +17 -16
- package/__chunks__/{SelectionManager-px2R7S_e.js → SelectionManager-BZ_5U5QP.js} +1 -1
- package/__chunks__/{SelectionManager-my6312qq.mjs → SelectionManager-VOfe5ZyB.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-C5XJ5swy.mjs → SelectorErrorTooltip-BPLk3N_Q.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-EwN0tf2g.js → SelectorErrorTooltip-b5pE6hY-.js} +1 -1
- package/__chunks__/{Spinner-BsFJZqxe.mjs → Spinner-CNAJknx9.mjs} +3 -3
- package/__chunks__/{Spinner-BsvfYBAO.js → Spinner-CipzStjn.js} +3 -3
- package/__chunks__/{Stepper-lFftpFos.js → Stepper--KsoKMdM.js} +3 -3
- package/__chunks__/{Stepper-F7Czxecp.mjs → Stepper-CACO2jLG.mjs} +3 -3
- package/__chunks__/{TabNav-DbDaDR6R.mjs → TabNav-D2_vfrMU.mjs} +1 -1
- package/__chunks__/{TabNav-D6mXxhua.js → TabNav-DTnHIUFZ.js} +1 -1
- package/__chunks__/{Tabs-DbH5NmIf.mjs → Tabs-BkzVKvWV.mjs} +3 -3
- package/__chunks__/{Tabs-9z2E6ZhV.js → Tabs-J924obQC.js} +3 -3
- package/__chunks__/{TextField-D1YUSD6j.js → TextField-C6qMiNmy.js} +1 -1
- package/__chunks__/{TextField-BwGqzpya.mjs → TextField-CUOz6ZUe.mjs} +1 -1
- package/__chunks__/{Toggle-DqKzs3Y8.mjs → Toggle-BQqjvn6Z.mjs} +5 -5
- package/__chunks__/{Toggle-13H0VeGP.js → Toggle-CTUk7LSy.js} +5 -5
- package/__chunks__/{Tooltip-DP2EYuM4.js → Tooltip-BIfmWjfP.js} +6 -6
- package/__chunks__/{Tooltip-By8WH1wI.mjs → Tooltip-BcHfMDtC.mjs} +6 -6
- package/__chunks__/{UnstyledButton-0yreaZnh.mjs → UnstyledButton-CfhKDftV.mjs} +2 -2
- package/__chunks__/{UnstyledButton-d3ChgECf.js → UnstyledButton-CnIn7VBo.js} +2 -2
- package/__chunks__/{VisuallyHidden-DLuOutNi.mjs → VisuallyHidden-CCdi-Y1w.mjs} +2 -2
- package/__chunks__/{VisuallyHidden-Cl5AQsPA.js → VisuallyHidden-DeSpvYML.js} +2 -2
- package/__chunks__/{ariaHideOutside-7ae_6If3.js → ariaHideOutside-Bq8FQnZq.js} +5 -5
- package/__chunks__/{ariaHideOutside-DRsDXtWO.mjs → ariaHideOutside-CT4hjtef.mjs} +5 -5
- package/__chunks__/{context-C5QKMZmh.mjs → context-BEoWr5Bw.mjs} +1 -1
- package/__chunks__/{context-BQfsEeih.js → context-Dxz9OXQY.js} +1 -1
- package/__chunks__/{focusSafely-CucekFxc.js → focusSafely-BgcYAZN6.js} +2 -2
- package/__chunks__/{focusSafely-BW4_g0fd.mjs → focusSafely-D0XrieaU.mjs} +2 -2
- package/__chunks__/{mergeProps-DRsiQq2k.mjs → mergeProps-CORsYhTp.mjs} +1 -1
- package/__chunks__/{mergeProps-6pKCnMWU.js → mergeProps-d7wJkv71.js} +1 -1
- package/__chunks__/{scrollIntoView-DSPpbfzY.mjs → scrollIntoView-BY1C_8w5.mjs} +1 -1
- package/__chunks__/{scrollIntoView-CzFYIYQT.js → scrollIntoView-DrxAy81g.js} +1 -1
- package/__chunks__/{useButton-SSooC6Sc.js → useButton-BxK3VBiR.js} +6 -27
- package/__chunks__/{useButton-ovH6gI84.mjs → useButton-W0nkeGLb.mjs} +6 -27
- package/__chunks__/{useCollator-DpGidudE.js → useCollator-Bbw6GMg7.js} +1 -1
- package/__chunks__/{useCollator-DiblLehW.mjs → useCollator-D97tqUbx.mjs} +1 -1
- package/__chunks__/{useControlledState-mnKBd6Uc.js → useControlledState-B2XIiHlL.js} +2 -2
- package/__chunks__/{useControlledState-CFWhSD5C.mjs → useControlledState-BDO08zJF.mjs} +2 -2
- package/__chunks__/{useDialog-zKH03v_d.mjs → useDialog-BhvpnpTk.mjs} +3 -3
- package/__chunks__/{useDialog-CmV1awNZ.js → useDialog-D_2QCyti.js} +3 -3
- package/__chunks__/{useEvent-BR4RE1uc.mjs → useEvent-B40RDiQ6.mjs} +1 -1
- package/__chunks__/{useEvent-DiEr5shV.js → useEvent-Dh4hqdOa.js} +1 -1
- package/__chunks__/{useField-MeTEdBhD.js → useField-C80n1AHI.js} +2 -2
- package/__chunks__/{useField-D71RzzwQ.mjs → useField-D1rL_Lz6.mjs} +2 -2
- package/__chunks__/{useFilter-Cd0PVtCe.mjs → useFilter-CQzUxSTO.mjs} +1 -1
- package/__chunks__/{useFilter-DUqh08RA.js → useFilter-DMnYaJdO.js} +1 -1
- package/__chunks__/{useFocus-Da6IfenG.js → useFocus-Df2haWPe.js} +1 -1
- package/__chunks__/{useFocus-BJE6cxrg.mjs → useFocus-DsnhrQiB.mjs} +1 -1
- package/__chunks__/{useFocusRing-Dg_M1jfs.mjs → useFocusRing-DAMeUI3t.mjs} +3 -3
- package/__chunks__/{useFocusRing-CtLKOxxD.js → useFocusRing-ygRrwBu3.js} +3 -3
- package/__chunks__/{useFocusVisible-CLoIPL6T.js → useFocusVisible-7ks2C0sQ.js} +26 -36
- package/__chunks__/{useFocusVisible-DgcLCVnV.mjs → useFocusVisible-DWC9qGtP.mjs} +46 -56
- package/__chunks__/{useFocusWithin-T1vqkUYN.js → useFocusWithin-CxspK-F2.js} +5 -5
- package/__chunks__/{useFocusWithin-BE5KE588.mjs → useFocusWithin-DPnHAdQU.mjs} +5 -5
- package/__chunks__/{useFocusable-B5QcOTFc.mjs → useFocusable-C6giMIa8.mjs} +4 -4
- package/__chunks__/{useFocusable-DRHM1otK.js → useFocusable-HXkH_Kuc.js} +4 -4
- package/__chunks__/{useFormReset-BUBASXJO.mjs → useFormReset-XL_MAi9u.mjs} +1 -1
- package/__chunks__/{useFormReset-Ja1aibwy.js → useFormReset-mp5g2mF5.js} +1 -1
- package/__chunks__/{useFormValidation-DaCYT2Ut.js → useFormValidation-CAsEJ1eu.js} +2 -2
- package/__chunks__/{useFormValidation-gt5I8m2g.mjs → useFormValidation-HasG7QCl.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-BBua_oUS.mjs → useHasTabbableChild-C5KDnOFZ.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-DSm3UrCF.js → useHasTabbableChild-D23JzSLZ.js} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-Dl5YfxVo.mjs → useHighlightSelectionDescription-BODt1AHW.mjs} +4 -4
- package/__chunks__/{useHighlightSelectionDescription-B49pg43a.js → useHighlightSelectionDescription-CT3jLcfS.js} +4 -4
- package/__chunks__/{useHover-BCKoTdS5.js → useHover-BMIowV0x.js} +4 -4
- package/__chunks__/{useHover-mdyQ6kou.mjs → useHover-CwJuylzq.mjs} +4 -4
- package/__chunks__/{useLabel-DVLShpAi.js → useLabel-D9oYLpKn.js} +3 -3
- package/__chunks__/{useLabel-CMWuiLM0.mjs → useLabel-DG4LdFPw.mjs} +3 -3
- package/__chunks__/{useLabels-DrIYrapv.js → useLabels-DMDlcCM_.js} +1 -1
- package/__chunks__/{useLabels-DCSAqT2C.mjs → useLabels-DWprW4wx.mjs} +1 -1
- package/__chunks__/{useLink-DihQM2-s.js → useLink-CcRvXaFq.js} +5 -23
- package/__chunks__/{useLink-Dr9Pjalq.mjs → useLink-CxFvWxcs.mjs} +5 -23
- package/__chunks__/{useListBoxSection-Bw5OEI4S.mjs → useListBoxSection-UWw98S5n.mjs} +8 -8
- package/__chunks__/{useListBoxSection-u2FxpXWK.js → useListBoxSection-yxKStnVF.js} +8 -8
- package/__chunks__/{useListState-CKHwm7j_.js → useListState-CU712DaQ.js} +1 -1
- package/__chunks__/{useListState-DqBHV23A.mjs → useListState-Doymm1MR.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-SC1Py3Uf.mjs → useLocalizedStringFormatter-D-qKpkp4.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-C3ZwxPrF.js → useLocalizedStringFormatter-X4sjSzZt.js} +1 -1
- package/__chunks__/{useMenuTrigger-C9nRdVJk.mjs → useMenuTrigger-Bm2l00Fx.mjs} +9 -6
- package/__chunks__/{useMenuTrigger-Dq7mhK38.js → useMenuTrigger-CYz-sHYa.js} +9 -6
- package/__chunks__/{useMenuTriggerState-DmsfK2RH.js → useMenuTriggerState-Bpow2FQo.js} +1 -1
- package/__chunks__/{useMenuTriggerState-BHenEvUl.mjs → useMenuTriggerState-DzOmQv8m.mjs} +1 -1
- package/__chunks__/{useModalOverlay-BLiaW3WH.mjs → useModalOverlay-1zoyqSAR.mjs} +3 -3
- package/__chunks__/{useModalOverlay-C_b9YfI9.js → useModalOverlay-E3JkPreO.js} +3 -3
- package/__chunks__/{useOverlayPosition-_GnIrSzW.mjs → useOverlayPosition-BJjENFKW.mjs} +4 -4
- package/__chunks__/{useOverlayPosition-BIRVQjJL.js → useOverlayPosition-Ba2II0yy.js} +4 -4
- package/__chunks__/{useOverlayTrigger-BJJgq7LS.js → useOverlayTrigger-DSYyww_1.js} +2 -2
- package/__chunks__/{useOverlayTrigger-BIc8jsUc.mjs → useOverlayTrigger-DTO7VB3r.mjs} +2 -2
- package/__chunks__/{usePress-DQ3FxwWo.mjs → usePress-BGHDb_ce.mjs} +35 -33
- package/__chunks__/{usePress-DchxjERD.js → usePress-Btah4Wrd.js} +35 -33
- package/__chunks__/{useSelectableItem-DcveeRN2.mjs → useSelectableItem-CBqJNF3F.mjs} +13 -11
- package/__chunks__/{useSelectableItem-CxOGkw0W.js → useSelectableItem-iCGDFQiY.js} +13 -11
- package/__chunks__/{useSelectableList-C_zJw1dp.mjs → useSelectableList-C1gLRl6h.mjs} +3 -3
- package/__chunks__/{useSelectableList-F9Rfjy4j.js → useSelectableList-CPHfKit7.js} +3 -3
- package/__chunks__/{useSingleSelectListState-IrBbHxlA.js → useSingleSelectListState-Br2JooAG.js} +2 -2
- package/__chunks__/{useSingleSelectListState-61RqBjo5.mjs → useSingleSelectListState-ByDUc5Ex.mjs} +2 -2
- package/__chunks__/{useTextField-B6vr1ZoD.mjs → useTextField-DUw10Bpa.mjs} +7 -7
- package/__chunks__/{useTextField-USpUKriF.js → useTextField-DYKc0daU.js} +7 -7
- package/__chunks__/{useToggle-C7k9_K6R.mjs → useToggle-Dvy3oMSz.mjs} +5 -5
- package/__chunks__/{useToggle-CRkaTfEP.js → useToggle-nWML_sp8.js} +5 -5
- package/__chunks__/{useToggleState-kFojjzgV.mjs → useToggleState-1Mo_p5l0.mjs} +1 -1
- package/__chunks__/{useToggleState-CdbEMLRz.js → useToggleState-8QqTgvTU.js} +1 -1
- package/__chunks__/{useTreeState-DtfZCGLY.mjs → useTreeState-DdjTMMtR.mjs} +2 -2
- package/__chunks__/{useTreeState-DrWJoIPU.js → useTreeState-kH1tpPJB.js} +2 -2
- package/__chunks__/{utilities-U5Ql_Myz.mjs → utilities-DaMKHxI8.mjs} +6 -6
- package/__chunks__/{utilities-x6Aiy1EG.js → utilities-DgR-vXbf.js} +6 -6
- package/__chunks__/{utils-CY9C69XV.js → utils-B-3LZYje.js} +1 -1
- package/__chunks__/{utils-CwzguevQ.mjs → utils-CZnJZGiu.mjs} +1 -1
- package/package.json +4 -4
- package/style.css +404 -223
|
@@ -34,7 +34,7 @@ var __yieldStar = (value) => {
|
|
|
34
34
|
throw x;
|
|
35
35
|
}, "return" in obj && method("return"), it;
|
|
36
36
|
};
|
|
37
|
-
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-
|
|
37
|
+
import { $ as $7af3f5b51489e0b5$export$253fe78d46329472, a as $7613b1592d41b092$export$6cd28814d92fa9c9, b as $d496c0a20b6e58ec$export$6c8a5aaad13c9852 } from "./SelectionManager-VOfe5ZyB.mjs";
|
|
38
38
|
import { useMemo, useCallback, useRef, useEffect } from "react";
|
|
39
39
|
class $a02d57049d202695$export$d085fb9e920b5ca7 {
|
|
40
40
|
*[Symbol.iterator]() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
1
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BEoWr5Bw.mjs";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
4
4
|
const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const context = require("./context-
|
|
2
|
+
const context = require("./context-Dxz9OXQY.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const $5b160d28a433310d$var$localeSymbol = Symbol.for("react-aria.i18n.locale");
|
|
5
5
|
const $5b160d28a433310d$var$stringsSymbol = Symbol.for("react-aria.i18n.strings");
|
|
@@ -17,11 +17,11 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-
|
|
21
|
-
import {
|
|
22
|
-
import { d as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-
|
|
23
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
24
|
-
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-
|
|
20
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-CORsYhTp.mjs";
|
|
21
|
+
import { s as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
22
|
+
import { d as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-CBqJNF3F.mjs";
|
|
23
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
24
|
+
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-DTO7VB3r.mjs";
|
|
25
25
|
var $c0398ad35c3639b7$exports = {};
|
|
26
26
|
$c0398ad35c3639b7$exports = {
|
|
27
27
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -246,7 +246,10 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
onPress(e) {
|
|
249
|
-
if (e.pointerType === "touch" && !isDisabled)
|
|
249
|
+
if (e.pointerType === "touch" && !isDisabled) {
|
|
250
|
+
$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
251
|
+
state.toggle();
|
|
252
|
+
}
|
|
250
253
|
}
|
|
251
254
|
};
|
|
252
255
|
delete triggerProps.onPress;
|
|
@@ -18,11 +18,11 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const mergeProps = require("./mergeProps-
|
|
22
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
23
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
24
|
-
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-
|
|
25
|
-
const useOverlayTrigger = require("./useOverlayTrigger-
|
|
21
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
22
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
23
|
+
const useSelectableItem = require("./useSelectableItem-iCGDFQiY.js");
|
|
24
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-X4sjSzZt.js");
|
|
25
|
+
const useOverlayTrigger = require("./useOverlayTrigger-DSYyww_1.js");
|
|
26
26
|
var $c0398ad35c3639b7$exports = {};
|
|
27
27
|
$c0398ad35c3639b7$exports = {
|
|
28
28
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -247,7 +247,10 @@ function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
onPress(e) {
|
|
250
|
-
if (e.pointerType === "touch" && !isDisabled)
|
|
250
|
+
if (e.pointerType === "touch" && !isDisabled) {
|
|
251
|
+
useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
252
|
+
state.toggle();
|
|
253
|
+
}
|
|
251
254
|
}
|
|
252
255
|
};
|
|
253
256
|
delete triggerProps.onPress;
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const Overlay = require("./Overlay-
|
|
21
|
+
const Overlay = require("./Overlay-88Ee_QUh.js");
|
|
22
22
|
const React = require("react");
|
|
23
23
|
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
24
24
|
let overlayTriggerState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-
|
|
20
|
+
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-Cj4W5w8m.mjs";
|
|
21
21
|
import { useState } from "react";
|
|
22
22
|
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
23
23
|
let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -17,9 +17,9 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-
|
|
21
|
-
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-
|
|
22
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
20
|
+
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-CT4hjtef.mjs";
|
|
21
|
+
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-Cj4W5w8m.mjs";
|
|
22
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-CORsYhTp.mjs";
|
|
23
23
|
import { useEffect } from "react";
|
|
24
24
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
25
25
|
let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
|
|
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const ariaHideOutside = require("./ariaHideOutside-
|
|
22
|
-
const Overlay = require("./Overlay-
|
|
23
|
-
const mergeProps = require("./mergeProps-
|
|
21
|
+
const ariaHideOutside = require("./ariaHideOutside-Bq8FQnZq.js");
|
|
22
|
+
const Overlay = require("./Overlay-88Ee_QUh.js");
|
|
23
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
26
26
|
let { overlayProps, underlayProps } = ariaHideOutside.$a11501f3d1d39e6c$export$ea8f71083e90600f(__spreadProps(__spreadValues({}, props), {
|
|
@@ -17,13 +17,13 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import {
|
|
20
|
+
import { k as $c87311424ea30a05$export$78551043582a6a98 } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
21
21
|
import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CLRm_tTs.mjs";
|
|
22
|
-
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-
|
|
22
|
+
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-Cj4W5w8m.mjs";
|
|
23
23
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
24
|
-
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-
|
|
24
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-CORsYhTp.mjs";
|
|
25
25
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
|
|
26
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
26
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BEoWr5Bw.mjs";
|
|
27
27
|
const $edcf132a9284368a$var$AXIS = {
|
|
28
28
|
top: "top",
|
|
29
29
|
bottom: "top",
|
|
@@ -18,13 +18,13 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
21
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
22
22
|
const number = require("./number-C4N6pKyl.js");
|
|
23
|
-
const Overlay = require("./Overlay-
|
|
23
|
+
const Overlay = require("./Overlay-88Ee_QUh.js");
|
|
24
24
|
const React = require("react");
|
|
25
|
-
const mergeProps = require("./mergeProps-
|
|
25
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
26
26
|
const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
|
|
27
|
-
const context = require("./context-
|
|
27
|
+
const context = require("./context-Dxz9OXQY.js");
|
|
28
28
|
const $edcf132a9284368a$var$AXIS = {
|
|
29
29
|
top: "top",
|
|
30
30
|
bottom: "top",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const Overlay = require("./Overlay-
|
|
2
|
+
const Overlay = require("./Overlay-88Ee_QUh.js");
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const mergeProps = require("./mergeProps-
|
|
4
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
5
5
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
6
6
|
let { type } = props;
|
|
7
7
|
let { isOpen } = state;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-
|
|
1
|
+
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-Cj4W5w8m.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
|
-
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-
|
|
3
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-CORsYhTp.mjs";
|
|
4
4
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
5
5
|
let { type } = props;
|
|
6
6
|
let { isOpen } = state;
|
|
@@ -13,9 +13,9 @@ var __objRest = (source, exclude) => {
|
|
|
13
13
|
}
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
|
-
import {
|
|
17
|
-
import { c as $bbed8b41f857bcc0$export$24490316f764c430, b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-
|
|
18
|
-
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-
|
|
16
|
+
import { w as $c87311424ea30a05$export$b7d78993b74f766d, k as $c87311424ea30a05$export$78551043582a6a98, t as $c87311424ea30a05$export$9ac100e40613ea10, x as $c87311424ea30a05$export$7bef049ce92e4224, s as $7215afc6de606d6b$export$de79e2c695e052f3, u as $c87311424ea30a05$export$fedb369cb70207f1, a as $431fbd86ca7dc216$export$b204af158042fbac, $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, h as $8a9cb279dc87e130$export$c2b7abe5d61ec696, i as $8a9cb279dc87e130$export$525bc4921d56d4a, b as $d4ee10de306f2510$export$4282f70798064fe0, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, y as $6a7db85432448f7f$export$29bf1b5f2c56cf63, z as $8a9cb279dc87e130$export$cabe61c495ee3649, A as $6a7db85432448f7f$export$60278871457622de, j as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
17
|
+
import { c as $bbed8b41f857bcc0$export$24490316f764c430, b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-D0XrieaU.mjs";
|
|
18
|
+
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-CORsYhTp.mjs";
|
|
19
19
|
import React__default, { useMemo, createContext, useContext, useState, useRef, useEffect } from "react";
|
|
20
20
|
import { flushSync } from "react-dom";
|
|
21
21
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
@@ -68,7 +68,7 @@ function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening
|
|
|
68
68
|
if ($c87311424ea30a05$export$9ac100e40613ea10()) metaKey = true;
|
|
69
69
|
else ctrlKey = true;
|
|
70
70
|
}
|
|
71
|
-
let event = $c87311424ea30a05$export$78551043582a6a98() && $c87311424ea30a05$export$9ac100e40613ea10() && !$c87311424ea30a05$export$7bef049ce92e4224() &&
|
|
71
|
+
let event = $c87311424ea30a05$export$78551043582a6a98() && $c87311424ea30a05$export$9ac100e40613ea10() && !$c87311424ea30a05$export$7bef049ce92e4224() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
|
|
72
72
|
keyIdentifier: "Enter",
|
|
73
73
|
metaKey,
|
|
74
74
|
ctrlKey,
|
|
@@ -254,32 +254,7 @@ class $f6c31cce2adf654f$var$PressEvent {
|
|
|
254
254
|
}
|
|
255
255
|
const $f6c31cce2adf654f$var$LINK_CLICKED = Symbol("linkClicked");
|
|
256
256
|
function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
257
|
-
let _a = $f6c31cce2adf654f$var$usePressResponderContext(props), {
|
|
258
|
-
onPress,
|
|
259
|
-
onPressChange,
|
|
260
|
-
onPressStart,
|
|
261
|
-
onPressEnd,
|
|
262
|
-
onPressUp,
|
|
263
|
-
isDisabled,
|
|
264
|
-
isPressed: isPressedProp,
|
|
265
|
-
preventFocusOnPress,
|
|
266
|
-
shouldCancelOnPointerExit,
|
|
267
|
-
allowTextSelectionOnPress,
|
|
268
|
-
ref: _
|
|
269
|
-
} = _a, domProps = __objRest(_a, [
|
|
270
|
-
"onPress",
|
|
271
|
-
"onPressChange",
|
|
272
|
-
"onPressStart",
|
|
273
|
-
"onPressEnd",
|
|
274
|
-
"onPressUp",
|
|
275
|
-
"isDisabled",
|
|
276
|
-
"isPressed",
|
|
277
|
-
"preventFocusOnPress",
|
|
278
|
-
"shouldCancelOnPointerExit",
|
|
279
|
-
"allowTextSelectionOnPress",
|
|
280
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
281
|
-
"ref"
|
|
282
|
-
]);
|
|
257
|
+
let _a = $f6c31cce2adf654f$var$usePressResponderContext(props), { onPress, onPressChange, onPressStart, onPressEnd, onPressUp, onClick, isDisabled, isPressed: isPressedProp, preventFocusOnPress, shouldCancelOnPointerExit, allowTextSelectionOnPress, ref: domRef } = _a, domProps = __objRest(_a, ["onPress", "onPressChange", "onPressStart", "onPressEnd", "onPressUp", "onClick", "isDisabled", "isPressed", "preventFocusOnPress", "shouldCancelOnPointerExit", "allowTextSelectionOnPress", "ref"]);
|
|
283
258
|
let [isPressed, setPressed] = useState(false);
|
|
284
259
|
let ref = useRef({
|
|
285
260
|
isPressed: false,
|
|
@@ -359,6 +334,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
359
334
|
let cancelOnPointerExit = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
360
335
|
if (shouldCancelOnPointerExit) cancel(e);
|
|
361
336
|
});
|
|
337
|
+
let triggerClick = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
338
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
339
|
+
});
|
|
340
|
+
let triggerSyntheticClick = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e, target) => {
|
|
341
|
+
if (onClick) {
|
|
342
|
+
let event = new MouseEvent("click", e);
|
|
343
|
+
$8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target);
|
|
344
|
+
onClick($8a9cb279dc87e130$export$525bc4921d56d4a(event));
|
|
345
|
+
}
|
|
346
|
+
});
|
|
362
347
|
let pressProps = useMemo(() => {
|
|
363
348
|
let state = ref.current;
|
|
364
349
|
let pressProps2 = {
|
|
@@ -391,11 +376,13 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
391
376
|
let stopPressStart = triggerPressStart(e, "virtual");
|
|
392
377
|
let stopPressUp = triggerPressUp(e, "virtual");
|
|
393
378
|
let stopPressEnd = triggerPressEnd(e, "virtual");
|
|
379
|
+
triggerClick(e);
|
|
394
380
|
shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;
|
|
395
381
|
} else if (state.isPressed && state.pointerType !== "keyboard") {
|
|
396
382
|
let pointerType = state.pointerType || e.nativeEvent.pointerType || "virtual";
|
|
397
383
|
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType, true);
|
|
398
384
|
state.isOverTarget = false;
|
|
385
|
+
triggerClick(e);
|
|
399
386
|
cancel(e);
|
|
400
387
|
}
|
|
401
388
|
state.ignoreEmulatedMouseEvents = false;
|
|
@@ -409,7 +396,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
409
396
|
var _state_metaKeyEvents1;
|
|
410
397
|
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard($d4ee10de306f2510$export$e58f029f0fbfdb29(e), e.key)) e.preventDefault();
|
|
411
398
|
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
412
|
-
|
|
399
|
+
let wasPressed = $d4ee10de306f2510$export$4282f70798064fe0(state.target, $d4ee10de306f2510$export$e58f029f0fbfdb29(e));
|
|
400
|
+
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard", wasPressed);
|
|
401
|
+
if (wasPressed) triggerSyntheticClick(e, state.target);
|
|
413
402
|
removeAllGlobalListeners();
|
|
414
403
|
if (e.key !== "Enter" && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) && $d4ee10de306f2510$export$4282f70798064fe0(state.target, target) && !e[$f6c31cce2adf654f$var$LINK_CLICKED]) {
|
|
415
404
|
e[$f6c31cce2adf654f$var$LINK_CLICKED] = true;
|
|
@@ -500,7 +489,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
500
489
|
if (!$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
501
490
|
cancel(e);
|
|
502
491
|
};
|
|
503
|
-
} else {
|
|
492
|
+
} else if (process.env.NODE_ENV === "test") {
|
|
504
493
|
pressProps2.onMouseDown = (e) => {
|
|
505
494
|
if (e.button !== 0 || !$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
506
495
|
if (state.ignoreEmulatedMouseEvents) {
|
|
@@ -598,6 +587,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
598
587
|
if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {
|
|
599
588
|
triggerPressUp($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
600
589
|
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
590
|
+
triggerSyntheticClick(e.nativeEvent, state.target);
|
|
601
591
|
} else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType, false);
|
|
602
592
|
if (shouldStopPropagation) e.stopPropagation();
|
|
603
593
|
state.isPressed = false;
|
|
@@ -637,7 +627,19 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
637
627
|
cancelOnPointerExit,
|
|
638
628
|
triggerPressEnd,
|
|
639
629
|
triggerPressStart,
|
|
640
|
-
triggerPressUp
|
|
630
|
+
triggerPressUp,
|
|
631
|
+
triggerClick,
|
|
632
|
+
triggerSyntheticClick
|
|
633
|
+
]);
|
|
634
|
+
useEffect(() => {
|
|
635
|
+
let element = domRef === null || domRef === void 0 ? void 0 : domRef.current;
|
|
636
|
+
if (element && element instanceof $431fbd86ca7dc216$export$f21a1ffae260145a(element).Element) {
|
|
637
|
+
let style = $431fbd86ca7dc216$export$f21a1ffae260145a(element).getComputedStyle(element);
|
|
638
|
+
if (style.touchAction === "auto")
|
|
639
|
+
element.style.touchAction = "pan-x pan-y pinch-zoom";
|
|
640
|
+
}
|
|
641
|
+
}, [
|
|
642
|
+
domRef
|
|
641
643
|
]);
|
|
642
644
|
useEffect(() => {
|
|
643
645
|
let state = ref.current;
|
|
@@ -14,9 +14,9 @@ var __objRest = (source, exclude) => {
|
|
|
14
14
|
}
|
|
15
15
|
return target;
|
|
16
16
|
};
|
|
17
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
18
|
-
const focusSafely = require("./focusSafely-
|
|
19
|
-
const mergeProps = require("./mergeProps-
|
|
17
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
18
|
+
const focusSafely = require("./focusSafely-BgcYAZN6.js");
|
|
19
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
20
20
|
const React = require("react");
|
|
21
21
|
const ReactDOM = require("react-dom");
|
|
22
22
|
function _check_private_redeclaration(obj, privateCollection) {
|
|
@@ -69,7 +69,7 @@ function $ea8dcbcb9ea1b556$export$95185d699e05d4d7(target, modifiers, setOpening
|
|
|
69
69
|
if (useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10()) metaKey = true;
|
|
70
70
|
else ctrlKey = true;
|
|
71
71
|
}
|
|
72
|
-
let event = useFocusVisible.$c87311424ea30a05$export$78551043582a6a98() && useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10() && !useFocusVisible.$c87311424ea30a05$export$7bef049ce92e4224() &&
|
|
72
|
+
let event = useFocusVisible.$c87311424ea30a05$export$78551043582a6a98() && useFocusVisible.$c87311424ea30a05$export$9ac100e40613ea10() && !useFocusVisible.$c87311424ea30a05$export$7bef049ce92e4224() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
|
|
73
73
|
keyIdentifier: "Enter",
|
|
74
74
|
metaKey,
|
|
75
75
|
ctrlKey,
|
|
@@ -255,32 +255,7 @@ class $f6c31cce2adf654f$var$PressEvent {
|
|
|
255
255
|
}
|
|
256
256
|
const $f6c31cce2adf654f$var$LINK_CLICKED = Symbol("linkClicked");
|
|
257
257
|
function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
258
|
-
let _a = $f6c31cce2adf654f$var$usePressResponderContext(props), {
|
|
259
|
-
onPress,
|
|
260
|
-
onPressChange,
|
|
261
|
-
onPressStart,
|
|
262
|
-
onPressEnd,
|
|
263
|
-
onPressUp,
|
|
264
|
-
isDisabled,
|
|
265
|
-
isPressed: isPressedProp,
|
|
266
|
-
preventFocusOnPress,
|
|
267
|
-
shouldCancelOnPointerExit,
|
|
268
|
-
allowTextSelectionOnPress,
|
|
269
|
-
ref: _
|
|
270
|
-
} = _a, domProps = __objRest(_a, [
|
|
271
|
-
"onPress",
|
|
272
|
-
"onPressChange",
|
|
273
|
-
"onPressStart",
|
|
274
|
-
"onPressEnd",
|
|
275
|
-
"onPressUp",
|
|
276
|
-
"isDisabled",
|
|
277
|
-
"isPressed",
|
|
278
|
-
"preventFocusOnPress",
|
|
279
|
-
"shouldCancelOnPointerExit",
|
|
280
|
-
"allowTextSelectionOnPress",
|
|
281
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
282
|
-
"ref"
|
|
283
|
-
]);
|
|
258
|
+
let _a = $f6c31cce2adf654f$var$usePressResponderContext(props), { onPress, onPressChange, onPressStart, onPressEnd, onPressUp, onClick, isDisabled, isPressed: isPressedProp, preventFocusOnPress, shouldCancelOnPointerExit, allowTextSelectionOnPress, ref: domRef } = _a, domProps = __objRest(_a, ["onPress", "onPressChange", "onPressStart", "onPressEnd", "onPressUp", "onClick", "isDisabled", "isPressed", "preventFocusOnPress", "shouldCancelOnPointerExit", "allowTextSelectionOnPress", "ref"]);
|
|
284
259
|
let [isPressed, setPressed] = React.useState(false);
|
|
285
260
|
let ref = React.useRef({
|
|
286
261
|
isPressed: false,
|
|
@@ -360,6 +335,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
360
335
|
let cancelOnPointerExit = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
361
336
|
if (shouldCancelOnPointerExit) cancel(e);
|
|
362
337
|
});
|
|
338
|
+
let triggerClick = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
339
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
340
|
+
});
|
|
341
|
+
let triggerSyntheticClick = mergeProps.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e, target) => {
|
|
342
|
+
if (onClick) {
|
|
343
|
+
let event = new MouseEvent("click", e);
|
|
344
|
+
useFocusVisible.$8a9cb279dc87e130$export$c2b7abe5d61ec696(event, target);
|
|
345
|
+
onClick(useFocusVisible.$8a9cb279dc87e130$export$525bc4921d56d4a(event));
|
|
346
|
+
}
|
|
347
|
+
});
|
|
363
348
|
let pressProps = React.useMemo(() => {
|
|
364
349
|
let state = ref.current;
|
|
365
350
|
let pressProps2 = {
|
|
@@ -392,11 +377,13 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
392
377
|
let stopPressStart = triggerPressStart(e, "virtual");
|
|
393
378
|
let stopPressUp = triggerPressUp(e, "virtual");
|
|
394
379
|
let stopPressEnd = triggerPressEnd(e, "virtual");
|
|
380
|
+
triggerClick(e);
|
|
395
381
|
shouldStopPropagation = stopPressStart && stopPressUp && stopPressEnd;
|
|
396
382
|
} else if (state.isPressed && state.pointerType !== "keyboard") {
|
|
397
383
|
let pointerType = state.pointerType || e.nativeEvent.pointerType || "virtual";
|
|
398
384
|
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createEvent(e.currentTarget, e), pointerType, true);
|
|
399
385
|
state.isOverTarget = false;
|
|
386
|
+
triggerClick(e);
|
|
400
387
|
cancel(e);
|
|
401
388
|
}
|
|
402
389
|
state.ignoreEmulatedMouseEvents = false;
|
|
@@ -410,7 +397,9 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
410
397
|
var _state_metaKeyEvents1;
|
|
411
398
|
if ($f6c31cce2adf654f$var$shouldPreventDefaultKeyboard(useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e), e.key)) e.preventDefault();
|
|
412
399
|
let target = useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
413
|
-
|
|
400
|
+
let wasPressed = useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e));
|
|
401
|
+
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), "keyboard", wasPressed);
|
|
402
|
+
if (wasPressed) triggerSyntheticClick(e, state.target);
|
|
414
403
|
removeAllGlobalListeners();
|
|
415
404
|
if (e.key !== "Enter" && $f6c31cce2adf654f$var$isHTMLAnchorLink(state.target) && useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(state.target, target) && !e[$f6c31cce2adf654f$var$LINK_CLICKED]) {
|
|
416
405
|
e[$f6c31cce2adf654f$var$LINK_CLICKED] = true;
|
|
@@ -501,7 +490,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
501
490
|
if (!useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
502
491
|
cancel(e);
|
|
503
492
|
};
|
|
504
|
-
} else {
|
|
493
|
+
} else if (process.env.NODE_ENV === "test") {
|
|
505
494
|
pressProps2.onMouseDown = (e) => {
|
|
506
495
|
if (e.button !== 0 || !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent))) return;
|
|
507
496
|
if (state.ignoreEmulatedMouseEvents) {
|
|
@@ -599,6 +588,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
599
588
|
if (touch && $f6c31cce2adf654f$var$isOverTarget(touch, e.currentTarget) && state.pointerType != null) {
|
|
600
589
|
triggerPressUp($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
601
590
|
shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType);
|
|
591
|
+
triggerSyntheticClick(e.nativeEvent, state.target);
|
|
602
592
|
} else if (state.isOverTarget && state.pointerType != null) shouldStopPropagation = triggerPressEnd($f6c31cce2adf654f$var$createTouchEvent(state.target, e), state.pointerType, false);
|
|
603
593
|
if (shouldStopPropagation) e.stopPropagation();
|
|
604
594
|
state.isPressed = false;
|
|
@@ -638,7 +628,19 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
638
628
|
cancelOnPointerExit,
|
|
639
629
|
triggerPressEnd,
|
|
640
630
|
triggerPressStart,
|
|
641
|
-
triggerPressUp
|
|
631
|
+
triggerPressUp,
|
|
632
|
+
triggerClick,
|
|
633
|
+
triggerSyntheticClick
|
|
634
|
+
]);
|
|
635
|
+
React.useEffect(() => {
|
|
636
|
+
let element = domRef === null || domRef === void 0 ? void 0 : domRef.current;
|
|
637
|
+
if (element && element instanceof useFocusVisible.$431fbd86ca7dc216$export$f21a1ffae260145a(element).Element) {
|
|
638
|
+
let style = useFocusVisible.$431fbd86ca7dc216$export$f21a1ffae260145a(element).getComputedStyle(element);
|
|
639
|
+
if (style.touchAction === "auto")
|
|
640
|
+
element.style.touchAction = "pan-x pan-y pinch-zoom";
|
|
641
|
+
}
|
|
642
|
+
}, [
|
|
643
|
+
domRef
|
|
642
644
|
]);
|
|
643
645
|
React.useEffect(() => {
|
|
644
646
|
let state = ref.current;
|
|
@@ -18,15 +18,15 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { useRef, useEffect } from "react";
|
|
21
|
-
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-
|
|
22
|
-
import {
|
|
23
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-
|
|
24
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-
|
|
25
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-
|
|
21
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-CORsYhTp.mjs";
|
|
22
|
+
import { t as $c87311424ea30a05$export$9ac100e40613ea10, $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, a as $431fbd86ca7dc216$export$b204af158042fbac, s as $7215afc6de606d6b$export$de79e2c695e052f3, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, v as $c87311424ea30a05$export$e1865c3bedcd822b, r as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
23
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, e as $ea8dcbcb9ea1b556$export$95185d699e05d4d7 } from "./usePress-BGHDb_ce.mjs";
|
|
24
|
+
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-B40RDiQ6.mjs";
|
|
25
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1, a as $2f04cbc44ee30ce0$export$53a0910f038337bd, b as $2f04cbc44ee30ce0$export$c826860796309d1b } from "./scrollIntoView-BY1C_8w5.mjs";
|
|
26
26
|
import { flushSync } from "react-dom";
|
|
27
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-
|
|
28
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
29
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
27
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-D0XrieaU.mjs";
|
|
28
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-DP1VSF7s.mjs";
|
|
29
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BEoWr5Bw.mjs";
|
|
30
30
|
function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
|
|
31
31
|
const isInitialMount = useRef(true);
|
|
32
32
|
const lastDeps = useRef(null);
|
|
@@ -191,7 +191,7 @@ function $fb3050f43d946246$var$getStringForKey(key) {
|
|
|
191
191
|
return "";
|
|
192
192
|
}
|
|
193
193
|
function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
194
|
-
let { selectionManager: manager, keyboardDelegate: delegate, ref, autoFocus = false, shouldFocusWrap = false, disallowEmptySelection = false, disallowSelectAll = false, selectOnFocus = manager.selectionBehavior === "replace", disallowTypeAhead = false, shouldUseVirtualFocus, allowsTabNavigation = false, isVirtualized, scrollRef = ref, linkBehavior = "action" } = options;
|
|
194
|
+
let { selectionManager: manager, keyboardDelegate: delegate, ref, autoFocus = false, shouldFocusWrap = false, disallowEmptySelection = false, disallowSelectAll = false, escapeKeyBehavior = "clearSelection", selectOnFocus = manager.selectionBehavior === "replace", disallowTypeAhead = false, shouldUseVirtualFocus, allowsTabNavigation = false, isVirtualized, scrollRef = ref, linkBehavior = "action" } = options;
|
|
195
195
|
let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
196
196
|
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
197
197
|
let onKeyDown = (e) => {
|
|
@@ -309,7 +309,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
|
309
309
|
}
|
|
310
310
|
break;
|
|
311
311
|
case "Escape":
|
|
312
|
-
if (!disallowEmptySelection && manager.selectedKeys.size !== 0) {
|
|
312
|
+
if (escapeKeyBehavior === "clearSelection" && !disallowEmptySelection && manager.selectedKeys.size !== 0) {
|
|
313
313
|
e.stopPropagation();
|
|
314
314
|
e.preventDefault();
|
|
315
315
|
manager.clearSelection();
|
|
@@ -565,7 +565,9 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
|
|
|
565
565
|
router.open(ref.current, e, itemProps2.href, itemProps2.routerOptions);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
|
-
let itemPressProps = {
|
|
568
|
+
let itemPressProps = {
|
|
569
|
+
ref
|
|
570
|
+
};
|
|
569
571
|
if (shouldSelectOnPressUp) {
|
|
570
572
|
itemPressProps.onPressStart = (e) => {
|
|
571
573
|
modality.current = e.pointerType;
|
|
@@ -19,15 +19,15 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
|
-
const mergeProps = require("./mergeProps-
|
|
23
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
24
|
-
const usePress = require("./usePress-
|
|
25
|
-
const useEvent = require("./useEvent-
|
|
26
|
-
const scrollIntoView = require("./scrollIntoView-
|
|
22
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
23
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
24
|
+
const usePress = require("./usePress-Btah4Wrd.js");
|
|
25
|
+
const useEvent = require("./useEvent-Dh4hqdOa.js");
|
|
26
|
+
const scrollIntoView = require("./scrollIntoView-DrxAy81g.js");
|
|
27
27
|
const ReactDOM = require("react-dom");
|
|
28
|
-
const focusSafely = require("./focusSafely-
|
|
29
|
-
const FocusScope = require("./FocusScope-
|
|
30
|
-
const context = require("./context-
|
|
28
|
+
const focusSafely = require("./focusSafely-BgcYAZN6.js");
|
|
29
|
+
const FocusScope = require("./FocusScope-BYrP0odg.js");
|
|
30
|
+
const context = require("./context-Dxz9OXQY.js");
|
|
31
31
|
function $ca9b37712f007381$export$72ef708ab07251f1(effect, dependencies) {
|
|
32
32
|
const isInitialMount = React.useRef(true);
|
|
33
33
|
const lastDeps = React.useRef(null);
|
|
@@ -192,7 +192,7 @@ function $fb3050f43d946246$var$getStringForKey(key) {
|
|
|
192
192
|
return "";
|
|
193
193
|
}
|
|
194
194
|
function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
195
|
-
let { selectionManager: manager, keyboardDelegate: delegate, ref, autoFocus = false, shouldFocusWrap = false, disallowEmptySelection = false, disallowSelectAll = false, selectOnFocus = manager.selectionBehavior === "replace", disallowTypeAhead = false, shouldUseVirtualFocus, allowsTabNavigation = false, isVirtualized, scrollRef = ref, linkBehavior = "action" } = options;
|
|
195
|
+
let { selectionManager: manager, keyboardDelegate: delegate, ref, autoFocus = false, shouldFocusWrap = false, disallowEmptySelection = false, disallowSelectAll = false, escapeKeyBehavior = "clearSelection", selectOnFocus = manager.selectionBehavior === "replace", disallowTypeAhead = false, shouldUseVirtualFocus, allowsTabNavigation = false, isVirtualized, scrollRef = ref, linkBehavior = "action" } = options;
|
|
196
196
|
let { direction } = context.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
197
197
|
let router = usePress.$ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
198
198
|
let onKeyDown = (e) => {
|
|
@@ -310,7 +310,7 @@ function $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {
|
|
|
310
310
|
}
|
|
311
311
|
break;
|
|
312
312
|
case "Escape":
|
|
313
|
-
if (!disallowEmptySelection && manager.selectedKeys.size !== 0) {
|
|
313
|
+
if (escapeKeyBehavior === "clearSelection" && !disallowEmptySelection && manager.selectedKeys.size !== 0) {
|
|
314
314
|
e.stopPropagation();
|
|
315
315
|
e.preventDefault();
|
|
316
316
|
manager.clearSelection();
|
|
@@ -566,7 +566,9 @@ function $880e95eb8b93ba9a$export$ecf600387e221c37(options) {
|
|
|
566
566
|
router.open(ref.current, e, itemProps2.href, itemProps2.routerOptions);
|
|
567
567
|
}
|
|
568
568
|
};
|
|
569
|
-
let itemPressProps = {
|
|
569
|
+
let itemPressProps = {
|
|
570
|
+
ref
|
|
571
|
+
};
|
|
570
572
|
if (shouldSelectOnPressUp) {
|
|
571
573
|
itemPressProps.onPressStart = (e) => {
|
|
572
574
|
modality.current = e.pointerType;
|
|
@@ -17,10 +17,10 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-
|
|
21
|
-
import { a as $feb5ffebff200149$export$c3d8340acf92597f, b as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-
|
|
20
|
+
import { c as $c5a24bc478652b5f$export$1005530eda016c13 } from "./SelectionManager-VOfe5ZyB.mjs";
|
|
21
|
+
import { a as $feb5ffebff200149$export$c3d8340acf92597f, b as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./useSelectableItem-CBqJNF3F.mjs";
|
|
22
22
|
import { $ as $cc38e7bd3fc7b213$export$2bb74740c4e19def } from "./isScrollable-DwbLAiO0.mjs";
|
|
23
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-
|
|
23
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-D97tqUbx.mjs";
|
|
24
24
|
import { useMemo } from "react";
|
|
25
25
|
const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
|
|
26
26
|
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
|
|
@@ -18,10 +18,10 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const SelectionManager = require("./SelectionManager-
|
|
22
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
21
|
+
const SelectionManager = require("./SelectionManager-BZ_5U5QP.js");
|
|
22
|
+
const useSelectableItem = require("./useSelectableItem-iCGDFQiY.js");
|
|
23
23
|
const isScrollable = require("./isScrollable-CE3Xdlg4.js");
|
|
24
|
-
const useCollator = require("./useCollator-
|
|
24
|
+
const useCollator = require("./useCollator-Bbw6GMg7.js");
|
|
25
25
|
const React = require("react");
|
|
26
26
|
const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
|
|
27
27
|
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
|
package/__chunks__/{useSingleSelectListState-IrBbHxlA.js → useSingleSelectListState-Br2JooAG.js}
RENAMED
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const useListState = require("./useListState-
|
|
22
|
-
const useControlledState = require("./useControlledState-
|
|
21
|
+
const useListState = require("./useListState-CU712DaQ.js");
|
|
22
|
+
const useControlledState = require("./useControlledState-B2XIiHlL.js");
|
|
23
23
|
const React = require("react");
|
|
24
24
|
function $a0d645289fe9b86b$export$e7f05e985daf4b5f(props) {
|
|
25
25
|
var _props_defaultSelectedKey;
|