@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
|
@@ -31,30 +31,30 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { createContext, useContext, useCallback, useMemo } from "react";
|
|
33
33
|
import { o as omit } from "./omit-CYoLXTjq.mjs";
|
|
34
|
-
import { C as Checkbox } from "./Checkbox-
|
|
34
|
+
import { C as Checkbox } from "./Checkbox-DJAFG_mm.mjs";
|
|
35
35
|
import { T as Text } from "./Text-CX5GoBTS.mjs";
|
|
36
|
-
import { i as isSelectAllSelected, S as SELECT_ALL_KEY, e as isSelectAllIndeterminate, D as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, c as DEFAULT_PLACEMENT, b as DEFAULT_WIDTH, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, O as OVERLAY_OFFSET, f as getMenuPopoverMaxHeight, d as OVERLAY_PADDING_FROM_CONTAINER, h as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-
|
|
37
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-
|
|
36
|
+
import { i as isSelectAllSelected, S as SELECT_ALL_KEY, e as isSelectAllIndeterminate, D as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, c as DEFAULT_PLACEMENT, b as DEFAULT_WIDTH, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, O as OVERLAY_OFFSET, f as getMenuPopoverMaxHeight, d as OVERLAY_PADDING_FROM_CONTAINER, h as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-DaMKHxI8.mjs";
|
|
37
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
38
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
|
-
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-
|
|
40
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-
|
|
41
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
42
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-
|
|
43
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
44
|
-
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-
|
|
45
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
46
|
-
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-
|
|
39
|
+
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-BGHDb_ce.mjs";
|
|
40
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-C1gLRl6h.mjs";
|
|
41
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-DsnhrQiB.mjs";
|
|
42
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
43
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-CwJuylzq.mjs";
|
|
44
|
+
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-C6giMIa8.mjs";
|
|
45
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-CBqJNF3F.mjs";
|
|
46
|
+
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-FD89BR0i.mjs";
|
|
47
47
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
48
48
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
49
49
|
import { $ as $f4b273590fab9f93$export$52210f68a14655d0, a as $9fc4852771d079eb$export$6e2c8f0811a474ce, u as useTriggerWidth } from "./useTriggerWidth-74VNM0k9.mjs";
|
|
50
|
-
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-
|
|
51
|
-
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-
|
|
52
|
-
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-
|
|
53
|
-
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-
|
|
50
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-Cj4W5w8m.mjs";
|
|
51
|
+
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-DdjTMMtR.mjs";
|
|
52
|
+
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-DzOmQv8m.mjs";
|
|
53
|
+
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-Bm2l00Fx.mjs";
|
|
54
54
|
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
55
55
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
56
56
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
57
|
-
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
57
|
+
if (!props["aria-label"] && !props["aria-labelledby"] && process.env.NODE_ENV !== "production") console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
58
58
|
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
59
59
|
labelable: true
|
|
60
60
|
});
|
|
@@ -32,30 +32,30 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const omit = require("./omit-CC3uE8z5.js");
|
|
35
|
-
const Checkbox = require("./Checkbox-
|
|
35
|
+
const Checkbox = require("./Checkbox-DwkJKuPC.js");
|
|
36
36
|
const Text = require("./Text-B1xglKFU.js");
|
|
37
|
-
const utilities = require("./utilities-
|
|
38
|
-
const mergeProps = require("./mergeProps-
|
|
37
|
+
const utilities = require("./utilities-DgR-vXbf.js");
|
|
38
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
39
39
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
40
|
-
const usePress = require("./usePress-
|
|
41
|
-
const useSelectableList = require("./useSelectableList-
|
|
42
|
-
const useFocus = require("./useFocus-
|
|
43
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
44
|
-
const useHover = require("./useHover-
|
|
45
|
-
const useFocusable = require("./useFocusable-
|
|
46
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
47
|
-
const Item = require("./Item-
|
|
40
|
+
const usePress = require("./usePress-Btah4Wrd.js");
|
|
41
|
+
const useSelectableList = require("./useSelectableList-CPHfKit7.js");
|
|
42
|
+
const useFocus = require("./useFocus-Df2haWPe.js");
|
|
43
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
44
|
+
const useHover = require("./useHover-BMIowV0x.js");
|
|
45
|
+
const useFocusable = require("./useFocusable-HXkH_Kuc.js");
|
|
46
|
+
const useSelectableItem = require("./useSelectableItem-iCGDFQiY.js");
|
|
47
|
+
const Item = require("./Item-h_oPjYVR.js");
|
|
48
48
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
49
49
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
50
50
|
const useTriggerWidth = require("./useTriggerWidth-B-IM2wNY.js");
|
|
51
|
-
const Overlay = require("./Overlay-
|
|
52
|
-
const useTreeState = require("./useTreeState-
|
|
53
|
-
const useMenuTriggerState = require("./useMenuTriggerState-
|
|
54
|
-
const useMenuTrigger = require("./useMenuTrigger-
|
|
51
|
+
const Overlay = require("./Overlay-88Ee_QUh.js");
|
|
52
|
+
const useTreeState = require("./useTreeState-kH1tpPJB.js");
|
|
53
|
+
const useMenuTriggerState = require("./useMenuTriggerState-Bpow2FQo.js");
|
|
54
|
+
const useMenuTrigger = require("./useMenuTrigger-CYz-sHYa.js");
|
|
55
55
|
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
56
56
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
57
57
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
58
|
-
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
58
|
+
if (!props["aria-label"] && !props["aria-labelledby"] && process.env.NODE_ENV !== "production") console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
59
59
|
let domProps = filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
60
60
|
labelable: true
|
|
61
61
|
});
|
|
@@ -34,17 +34,18 @@ import React__default, { useCallback, useState, useEffect, useRef, isValidElemen
|
|
|
34
34
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
35
35
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
36
36
|
import { C as CheckCircle } from "./CheckCircle-C9h2PNWU.mjs";
|
|
37
|
-
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-
|
|
38
|
-
import { $ as $
|
|
37
|
+
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
|
+
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
39
40
|
import { createPortal } from "react-dom";
|
|
40
|
-
import {
|
|
41
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
42
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
41
|
+
import { r as $507fabe10e71c6fb$export$630ff653c5ada6a9, s as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
42
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DPnHAdQU.mjs";
|
|
43
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-CwJuylzq.mjs";
|
|
43
44
|
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
44
45
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
45
46
|
import { T as Text } from "./Text-CX5GoBTS.mjs";
|
|
46
47
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
47
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
48
|
+
import { U as UnstyledButton } from "./UnstyledButton-CfhKDftV.mjs";
|
|
48
49
|
import { _ as _inheritsLoose, T as TransitionGroupContext, P as PropTypes, C as CSSTransition } from "./CSSTransition-C4FQrt4m.mjs";
|
|
49
50
|
import { a as _extends, _ as _objectWithoutPropertiesLoose } from "./objectWithoutPropertiesLoose-COdxq1Ge.mjs";
|
|
50
51
|
function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
@@ -64,8 +65,8 @@ function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
67
|
-
runWithWrapUpdate(fn) {
|
|
68
|
-
if (this.wrapUpdate) this.wrapUpdate(fn);
|
|
68
|
+
runWithWrapUpdate(fn, action) {
|
|
69
|
+
if (this.wrapUpdate) this.wrapUpdate(fn, action);
|
|
69
70
|
else fn();
|
|
70
71
|
}
|
|
71
72
|
/** Subscribes to updates to the visible toasts. */
|
|
@@ -82,7 +83,7 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
82
83
|
timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
|
|
83
84
|
});
|
|
84
85
|
this.queue.unshift(toast);
|
|
85
|
-
this.updateVisibleToasts();
|
|
86
|
+
this.updateVisibleToasts("add");
|
|
86
87
|
return toastKey;
|
|
87
88
|
}
|
|
88
89
|
/**
|
|
@@ -95,11 +96,13 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
95
96
|
(_this_queue_index_onClose = (_this_queue_index = this.queue[index]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
|
|
96
97
|
this.queue.splice(index, 1);
|
|
97
98
|
}
|
|
98
|
-
this.updateVisibleToasts();
|
|
99
|
+
this.updateVisibleToasts("remove");
|
|
99
100
|
}
|
|
100
|
-
updateVisibleToasts() {
|
|
101
|
+
updateVisibleToasts(action) {
|
|
101
102
|
this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts);
|
|
102
|
-
|
|
103
|
+
this.runWithWrapUpdate(() => {
|
|
104
|
+
for (let fn of this.subscriptions) fn();
|
|
105
|
+
}, action);
|
|
103
106
|
}
|
|
104
107
|
/** Pauses the timers for all visible toasts. */
|
|
105
108
|
pauseAll() {
|
|
@@ -109,6 +112,10 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
109
112
|
resumeAll() {
|
|
110
113
|
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
|
|
111
114
|
}
|
|
115
|
+
clear() {
|
|
116
|
+
this.queue = [];
|
|
117
|
+
this.updateVisibleToasts("clear");
|
|
118
|
+
}
|
|
112
119
|
constructor(options) {
|
|
113
120
|
this.queue = [];
|
|
114
121
|
this.subscriptions = /* @__PURE__ */ new Set();
|
|
@@ -207,7 +214,7 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
|
|
|
207
214
|
addLandmark(newLandmark) {
|
|
208
215
|
this.setupIfNeeded();
|
|
209
216
|
if (this.landmarks.find((landmark) => landmark.ref === newLandmark.ref) || !newLandmark.ref.current) return;
|
|
210
|
-
if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1) console.error('Page can contain no more than one landmark with the role "main".');
|
|
217
|
+
if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1 && process.env.NODE_ENV !== "production") console.error('Page can contain no more than one landmark with the role "main".');
|
|
211
218
|
if (this.landmarks.length === 0) {
|
|
212
219
|
this.landmarks = [
|
|
213
220
|
newLandmark
|
|
@@ -250,8 +257,8 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
|
|
|
250
257
|
let duplicatesWithoutLabel = [
|
|
251
258
|
...landmarksWithRole
|
|
252
259
|
].filter((landmark) => !landmark.label);
|
|
253
|
-
if (duplicatesWithoutLabel.length > 0) console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark) => landmark.ref.current));
|
|
254
|
-
else {
|
|
260
|
+
if (duplicatesWithoutLabel.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark) => landmark.ref.current));
|
|
261
|
+
else if (process.env.NODE_ENV !== "production") {
|
|
255
262
|
let labels = [
|
|
256
263
|
...landmarksWithRole
|
|
257
264
|
].map((landmark) => landmark.label);
|
|
@@ -815,16 +822,17 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
|
|
|
815
822
|
useEffect(() => {
|
|
816
823
|
setIsVisible(true);
|
|
817
824
|
}, []);
|
|
825
|
+
let toastProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
826
|
+
labelable: true
|
|
827
|
+
});
|
|
818
828
|
return {
|
|
819
|
-
toastProps: {
|
|
829
|
+
toastProps: __spreadProps(__spreadValues({}, toastProps), {
|
|
820
830
|
role: "alertdialog",
|
|
821
831
|
"aria-modal": "false",
|
|
822
|
-
"aria-label": props["aria-label"],
|
|
823
832
|
"aria-labelledby": props["aria-labelledby"] || titleId,
|
|
824
833
|
"aria-describedby": props["aria-describedby"] || descriptionId,
|
|
825
|
-
"aria-details": props["aria-details"],
|
|
826
834
|
tabIndex: 0
|
|
827
|
-
},
|
|
835
|
+
}),
|
|
828
836
|
contentProps: {
|
|
829
837
|
role: "alert",
|
|
830
838
|
"aria-atomic": "true",
|
|
@@ -34,17 +34,18 @@ const React = require("react");
|
|
|
34
34
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
35
35
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
36
36
|
const CheckCircle = require("./CheckCircle-lgmtkEe6.js");
|
|
37
|
-
const mergeProps = require("./mergeProps-
|
|
38
|
-
const
|
|
37
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
38
|
+
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
39
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-X4sjSzZt.js");
|
|
39
40
|
const ReactDOM = require("react-dom");
|
|
40
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
41
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
42
|
-
const useHover = require("./useHover-
|
|
41
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
42
|
+
const useFocusWithin = require("./useFocusWithin-CxspK-F2.js");
|
|
43
|
+
const useHover = require("./useHover-BMIowV0x.js");
|
|
43
44
|
const index = require("./index-6ObXAT_4.js");
|
|
44
45
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
45
46
|
const Text = require("./Text-B1xglKFU.js");
|
|
46
47
|
const utilities_css = require("../utilities/css.js");
|
|
47
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
48
|
+
const UnstyledButton = require("./UnstyledButton-CnIn7VBo.js");
|
|
48
49
|
const CSSTransition = require("./CSSTransition-BXyX0mUc.js");
|
|
49
50
|
const objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose-C4Mip8ZU.js");
|
|
50
51
|
function _interopNamespaceDefault(e) {
|
|
@@ -81,8 +82,8 @@ function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
84
|
class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
84
|
-
runWithWrapUpdate(fn) {
|
|
85
|
-
if (this.wrapUpdate) this.wrapUpdate(fn);
|
|
85
|
+
runWithWrapUpdate(fn, action) {
|
|
86
|
+
if (this.wrapUpdate) this.wrapUpdate(fn, action);
|
|
86
87
|
else fn();
|
|
87
88
|
}
|
|
88
89
|
/** Subscribes to updates to the visible toasts. */
|
|
@@ -99,7 +100,7 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
99
100
|
timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
|
|
100
101
|
});
|
|
101
102
|
this.queue.unshift(toast);
|
|
102
|
-
this.updateVisibleToasts();
|
|
103
|
+
this.updateVisibleToasts("add");
|
|
103
104
|
return toastKey;
|
|
104
105
|
}
|
|
105
106
|
/**
|
|
@@ -112,11 +113,13 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
112
113
|
(_this_queue_index_onClose = (_this_queue_index = this.queue[index2]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
|
|
113
114
|
this.queue.splice(index2, 1);
|
|
114
115
|
}
|
|
115
|
-
this.updateVisibleToasts();
|
|
116
|
+
this.updateVisibleToasts("remove");
|
|
116
117
|
}
|
|
117
|
-
updateVisibleToasts() {
|
|
118
|
+
updateVisibleToasts(action) {
|
|
118
119
|
this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts);
|
|
119
|
-
|
|
120
|
+
this.runWithWrapUpdate(() => {
|
|
121
|
+
for (let fn of this.subscriptions) fn();
|
|
122
|
+
}, action);
|
|
120
123
|
}
|
|
121
124
|
/** Pauses the timers for all visible toasts. */
|
|
122
125
|
pauseAll() {
|
|
@@ -126,6 +129,10 @@ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
|
|
|
126
129
|
resumeAll() {
|
|
127
130
|
for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
|
|
128
131
|
}
|
|
132
|
+
clear() {
|
|
133
|
+
this.queue = [];
|
|
134
|
+
this.updateVisibleToasts("clear");
|
|
135
|
+
}
|
|
129
136
|
constructor(options) {
|
|
130
137
|
this.queue = [];
|
|
131
138
|
this.subscriptions = /* @__PURE__ */ new Set();
|
|
@@ -224,7 +231,7 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
|
|
|
224
231
|
addLandmark(newLandmark) {
|
|
225
232
|
this.setupIfNeeded();
|
|
226
233
|
if (this.landmarks.find((landmark) => landmark.ref === newLandmark.ref) || !newLandmark.ref.current) return;
|
|
227
|
-
if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1) console.error('Page can contain no more than one landmark with the role "main".');
|
|
234
|
+
if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1 && process.env.NODE_ENV !== "production") console.error('Page can contain no more than one landmark with the role "main".');
|
|
228
235
|
if (this.landmarks.length === 0) {
|
|
229
236
|
this.landmarks = [
|
|
230
237
|
newLandmark
|
|
@@ -267,8 +274,8 @@ class $a86207c5d7f7e1fb$var$LandmarkManager {
|
|
|
267
274
|
let duplicatesWithoutLabel = [
|
|
268
275
|
...landmarksWithRole
|
|
269
276
|
].filter((landmark) => !landmark.label);
|
|
270
|
-
if (duplicatesWithoutLabel.length > 0) console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark) => landmark.ref.current));
|
|
271
|
-
else {
|
|
277
|
+
if (duplicatesWithoutLabel.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark) => landmark.ref.current));
|
|
278
|
+
else if (process.env.NODE_ENV !== "production") {
|
|
272
279
|
let labels = [
|
|
273
280
|
...landmarksWithRole
|
|
274
281
|
].map((landmark) => landmark.label);
|
|
@@ -832,16 +839,17 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
|
|
|
832
839
|
React.useEffect(() => {
|
|
833
840
|
setIsVisible(true);
|
|
834
841
|
}, []);
|
|
842
|
+
let toastProps = filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
843
|
+
labelable: true
|
|
844
|
+
});
|
|
835
845
|
return {
|
|
836
|
-
toastProps: {
|
|
846
|
+
toastProps: __spreadProps(__spreadValues({}, toastProps), {
|
|
837
847
|
role: "alertdialog",
|
|
838
848
|
"aria-modal": "false",
|
|
839
|
-
"aria-label": props["aria-label"],
|
|
840
849
|
"aria-labelledby": props["aria-labelledby"] || titleId,
|
|
841
850
|
"aria-describedby": props["aria-describedby"] || descriptionId,
|
|
842
|
-
"aria-details": props["aria-details"],
|
|
843
851
|
tabIndex: 0
|
|
844
|
-
},
|
|
852
|
+
}),
|
|
845
853
|
contentProps: {
|
|
846
854
|
role: "alert",
|
|
847
855
|
"aria-atomic": "true",
|
|
@@ -31,11 +31,11 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const useControlledState = require("./useControlledState-
|
|
35
|
-
const focusSafely = require("./focusSafely-
|
|
36
|
-
const mergeProps = require("./mergeProps-
|
|
34
|
+
const useControlledState = require("./useControlledState-B2XIiHlL.js");
|
|
35
|
+
const focusSafely = require("./focusSafely-BgcYAZN6.js");
|
|
36
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
37
37
|
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
38
|
-
const FocusScope = require("./FocusScope-
|
|
38
|
+
const FocusScope = require("./FocusScope-BYrP0odg.js");
|
|
39
39
|
const ReactDOM = require("react-dom");
|
|
40
40
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
41
41
|
let [isOpen, setOpen] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -78,7 +78,7 @@ const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /* @__PURE__ */ React.forwardR
|
|
|
78
78
|
focusSafely.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, ref);
|
|
79
79
|
React.useEffect(() => {
|
|
80
80
|
if (!isRegistered.current) {
|
|
81
|
-
console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
81
|
+
if (process.env.NODE_ENV !== "production") console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
82
82
|
isRegistered.current = true;
|
|
83
83
|
}
|
|
84
84
|
}, []);
|
|
@@ -118,7 +118,7 @@ function $dd149f63282afbbf$export$18fc8428861184da(opts) {
|
|
|
118
118
|
]);
|
|
119
119
|
}
|
|
120
120
|
const $96b38030c423d352$export$60d741e20e0aa309 = /* @__PURE__ */ React.createContext({});
|
|
121
|
-
function $96b38030c423d352$export$
|
|
121
|
+
function $96b38030c423d352$export$9fc1347d4195ccb3() {
|
|
122
122
|
var _useContext;
|
|
123
123
|
return (_useContext = React.useContext($96b38030c423d352$export$60d741e20e0aa309)) !== null && _useContext !== void 0 ? _useContext : {};
|
|
124
124
|
}
|
|
@@ -134,7 +134,7 @@ function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
|
|
|
134
134
|
contain,
|
|
135
135
|
setContain
|
|
136
136
|
]);
|
|
137
|
-
let { getContainer } = $96b38030c423d352$export$
|
|
137
|
+
let { getContainer } = $96b38030c423d352$export$9fc1347d4195ccb3();
|
|
138
138
|
if (!props.portalContainer && getContainer) portalContainer = getContainer();
|
|
139
139
|
if (!portalContainer) return null;
|
|
140
140
|
let contents = props.children;
|
|
@@ -30,11 +30,11 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useCallback, useMemo, useRef, useContext, useEffect, createContext, useState } from "react";
|
|
33
|
-
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-
|
|
34
|
-
import { b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-
|
|
35
|
-
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-
|
|
33
|
+
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-BDO08zJF.mjs";
|
|
34
|
+
import { b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-D0XrieaU.mjs";
|
|
35
|
+
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-CORsYhTp.mjs";
|
|
36
36
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
37
|
-
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
37
|
+
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-DP1VSF7s.mjs";
|
|
38
38
|
import ReactDOM from "react-dom";
|
|
39
39
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
40
40
|
let [isOpen, setOpen] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -77,7 +77,7 @@ const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /* @__PURE__ */ React__default
|
|
|
77
77
|
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, ref);
|
|
78
78
|
useEffect(() => {
|
|
79
79
|
if (!isRegistered.current) {
|
|
80
|
-
console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
80
|
+
if (process.env.NODE_ENV !== "production") console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
81
81
|
isRegistered.current = true;
|
|
82
82
|
}
|
|
83
83
|
}, []);
|
|
@@ -117,7 +117,7 @@ function $dd149f63282afbbf$export$18fc8428861184da(opts) {
|
|
|
117
117
|
]);
|
|
118
118
|
}
|
|
119
119
|
const $96b38030c423d352$export$60d741e20e0aa309 = /* @__PURE__ */ createContext({});
|
|
120
|
-
function $96b38030c423d352$export$
|
|
120
|
+
function $96b38030c423d352$export$9fc1347d4195ccb3() {
|
|
121
121
|
var _useContext;
|
|
122
122
|
return (_useContext = useContext($96b38030c423d352$export$60d741e20e0aa309)) !== null && _useContext !== void 0 ? _useContext : {};
|
|
123
123
|
}
|
|
@@ -133,7 +133,7 @@ function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
|
|
|
133
133
|
contain,
|
|
134
134
|
setContain
|
|
135
135
|
]);
|
|
136
|
-
let { getContainer } = $96b38030c423d352$export$
|
|
136
|
+
let { getContainer } = $96b38030c423d352$export$9fc1347d4195ccb3();
|
|
137
137
|
if (!props.portalContainer && getContainer) portalContainer = getContainer();
|
|
138
138
|
if (!portalContainer) return null;
|
|
139
139
|
let contents = props.children;
|
|
@@ -31,35 +31,35 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const Button = require("./Button-
|
|
35
|
-
const utils = require("./utils-
|
|
34
|
+
const Button = require("./Button-2GplvjoR.js");
|
|
35
|
+
const utils = require("./utils-B-3LZYje.js");
|
|
36
36
|
const ReactDOM = require("react-dom");
|
|
37
|
-
const useFocusable = require("./useFocusable-
|
|
38
|
-
const mergeProps = require("./mergeProps-
|
|
37
|
+
const useFocusable = require("./useFocusable-HXkH_Kuc.js");
|
|
38
|
+
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
39
39
|
const index = require("./index-6ObXAT_4.js");
|
|
40
40
|
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
41
41
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
42
42
|
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
43
|
-
const useListState = require("./useListState-
|
|
44
|
-
const context = require("./context-
|
|
45
|
-
const useCollator = require("./useCollator-
|
|
46
|
-
const useSelectableList = require("./useSelectableList-
|
|
47
|
-
const useListBoxSection = require("./useListBoxSection-
|
|
48
|
-
const useFocusRing = require("./useFocusRing-
|
|
49
|
-
const FocusScope = require("./FocusScope-
|
|
50
|
-
const useHover = require("./useHover-
|
|
51
|
-
const useField = require("./useField-
|
|
52
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
53
|
-
const useHighlightSelectionDescription = require("./useHighlightSelectionDescription-
|
|
54
|
-
const useHasTabbableChild = require("./useHasTabbableChild-
|
|
55
|
-
const usePress = require("./usePress-
|
|
56
|
-
const scrollIntoView = require("./scrollIntoView-
|
|
57
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
43
|
+
const useListState = require("./useListState-CU712DaQ.js");
|
|
44
|
+
const context = require("./context-Dxz9OXQY.js");
|
|
45
|
+
const useCollator = require("./useCollator-Bbw6GMg7.js");
|
|
46
|
+
const useSelectableList = require("./useSelectableList-CPHfKit7.js");
|
|
47
|
+
const useListBoxSection = require("./useListBoxSection-yxKStnVF.js");
|
|
48
|
+
const useFocusRing = require("./useFocusRing-ygRrwBu3.js");
|
|
49
|
+
const FocusScope = require("./FocusScope-BYrP0odg.js");
|
|
50
|
+
const useHover = require("./useHover-BMIowV0x.js");
|
|
51
|
+
const useField = require("./useField-C80n1AHI.js");
|
|
52
|
+
const useFocusWithin = require("./useFocusWithin-CxspK-F2.js");
|
|
53
|
+
const useHighlightSelectionDescription = require("./useHighlightSelectionDescription-CT3jLcfS.js");
|
|
54
|
+
const useHasTabbableChild = require("./useHasTabbableChild-D23JzSLZ.js");
|
|
55
|
+
const usePress = require("./usePress-Btah4Wrd.js");
|
|
56
|
+
const scrollIntoView = require("./scrollIntoView-DrxAy81g.js");
|
|
57
|
+
const useFocusVisible = require("./useFocusVisible-7ks2C0sQ.js");
|
|
58
58
|
const getScrollParent = require("./getScrollParent-DNz2ReWu.js");
|
|
59
|
-
const focusSafely = require("./focusSafely-
|
|
60
|
-
const SelectionManager = require("./SelectionManager-
|
|
61
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
62
|
-
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-
|
|
59
|
+
const focusSafely = require("./focusSafely-BgcYAZN6.js");
|
|
60
|
+
const SelectionManager = require("./SelectionManager-BZ_5U5QP.js");
|
|
61
|
+
const useSelectableItem = require("./useSelectableItem-iCGDFQiY.js");
|
|
62
|
+
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-X4sjSzZt.js");
|
|
63
63
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
64
64
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
65
65
|
const Text = require("./Text-B1xglKFU.js");
|
|
@@ -261,7 +261,7 @@ function $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {
|
|
|
261
261
|
return "" + key;
|
|
262
262
|
}
|
|
263
263
|
function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
264
|
-
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow" } = props;
|
|
264
|
+
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow", escapeKeyBehavior = "clearSelection" } = props;
|
|
265
265
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
266
266
|
let { listProps } = useSelectableList.$982254629710d113$export$b95089534ab7c1fd({
|
|
267
267
|
selectionManager: state.selectionManager,
|
|
@@ -275,7 +275,8 @@ function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
|
275
275
|
shouldFocusWrap: props.shouldFocusWrap,
|
|
276
276
|
linkBehavior,
|
|
277
277
|
disallowTypeAhead,
|
|
278
|
-
autoFocus: props.autoFocus
|
|
278
|
+
autoFocus: props.autoFocus,
|
|
279
|
+
escapeKeyBehavior
|
|
279
280
|
});
|
|
280
281
|
let id = mergeProps.$bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
281
282
|
$ce9b18daab526bbd$export$5b9bb410392e3991.set(state, {
|
|
@@ -30,35 +30,35 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, createContext, useCallback, forwardRef } from "react";
|
|
33
|
-
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb,
|
|
34
|
-
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$c62b8e45d58ddad9 } from "./utils-
|
|
33
|
+
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, b as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-BpGjkRZu.mjs";
|
|
34
|
+
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$c62b8e45d58ddad9 } from "./utils-CZnJZGiu.mjs";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c, b as $f645667febf57a63$export$f9762fab77588ecb } from "./useFocusable-
|
|
37
|
-
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-
|
|
36
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c, b as $f645667febf57a63$export$f9762fab77588ecb } from "./useFocusable-C6giMIa8.mjs";
|
|
37
|
+
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
38
|
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
39
39
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
40
40
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
41
41
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
42
|
-
import { b as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-
|
|
43
|
-
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-
|
|
44
|
-
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-
|
|
45
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-
|
|
46
|
-
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-
|
|
47
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
48
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
49
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
50
|
-
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-
|
|
51
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
52
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-
|
|
53
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-
|
|
54
|
-
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-
|
|
55
|
-
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-
|
|
56
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27,
|
|
42
|
+
import { b as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-Doymm1MR.mjs";
|
|
43
|
+
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BEoWr5Bw.mjs";
|
|
44
|
+
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-D97tqUbx.mjs";
|
|
45
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-C1gLRl6h.mjs";
|
|
46
|
+
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-UWw98S5n.mjs";
|
|
47
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DAMeUI3t.mjs";
|
|
48
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-DP1VSF7s.mjs";
|
|
49
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-CwJuylzq.mjs";
|
|
50
|
+
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D1rL_Lz6.mjs";
|
|
51
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-DPnHAdQU.mjs";
|
|
52
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-BODt1AHW.mjs";
|
|
53
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-C5KDnOFZ.mjs";
|
|
54
|
+
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-BGHDb_ce.mjs";
|
|
55
|
+
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-BY1C_8w5.mjs";
|
|
56
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, B as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-DWC9qGtP.mjs";
|
|
57
57
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
|
|
58
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-
|
|
59
|
-
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-
|
|
60
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
61
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-
|
|
58
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-D0XrieaU.mjs";
|
|
59
|
+
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-VOfe5ZyB.mjs";
|
|
60
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-CBqJNF3F.mjs";
|
|
61
|
+
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
62
62
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
63
63
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
64
64
|
import { T as Text } from "./Text-CX5GoBTS.mjs";
|
|
@@ -260,7 +260,7 @@ function $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {
|
|
|
260
260
|
return "" + key;
|
|
261
261
|
}
|
|
262
262
|
function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
263
|
-
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow" } = props;
|
|
263
|
+
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow", escapeKeyBehavior = "clearSelection" } = props;
|
|
264
264
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
265
265
|
let { listProps } = $982254629710d113$export$b95089534ab7c1fd({
|
|
266
266
|
selectionManager: state.selectionManager,
|
|
@@ -274,7 +274,8 @@ function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
|
274
274
|
shouldFocusWrap: props.shouldFocusWrap,
|
|
275
275
|
linkBehavior,
|
|
276
276
|
disallowTypeAhead,
|
|
277
|
-
autoFocus: props.autoFocus
|
|
277
|
+
autoFocus: props.autoFocus,
|
|
278
|
+
escapeKeyBehavior
|
|
278
279
|
});
|
|
279
280
|
let id = $bdb11010cef70236$export$f680877a34711e37(props.id);
|
|
280
281
|
$ce9b18daab526bbd$export$5b9bb410392e3991.set(state, {
|