@midas-ds/components 11.2.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionItem-DEiRuizp.js +361 -0
- package/AccordionItem-Dhr7uo8u.cjs +1 -0
- package/BadgeContainer-CxVmqJ7g.cjs +1 -0
- package/BadgeContainer-DGJGJMPi.js +37 -0
- package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
- package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
- package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
- package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
- package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
- package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
- package/CHANGELOG.md +49 -0
- package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
- package/Card-DPfOZC7f.cjs +1 -0
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
- package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
- package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
- package/{CheckboxGroup-DvrN1oyw.js → CheckboxGroup--xgOT1Do.js} +11 -11
- package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
- package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
- package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
- package/{ComboBox-DfJ_aJrf.js → ComboBox-Dn3tQzri.js} +93 -97
- package/{ComboBox-D_jh7TKo.cjs → ComboBox-UadZMhiR.cjs} +1 -1
- package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
- package/{DateField-DKCbEonm.js → DateField-CZmLugT0.js} +4 -4
- package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CJEGWmG0.js} +22 -22
- package/{DateRangePicker-DkIAEIIj.cjs → DateRangePicker-DhgLEa9P.cjs} +2 -2
- package/{DateRangePicker-B5vx9onl.js → DateRangePicker-WQ97Psz7.js} +22 -22
- package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
- package/{Dialog-D5c_dUnB.js → Dialog-BuJdAr0D.js} +48 -48
- package/Dialog-DYK8lySl.cjs +1 -0
- package/Dialog-L53DWF0Z.js +220 -0
- package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
- package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
- package/{Dropdown-Cpc2EszJ.js → Dropdown-BWbdSQ9U.js} +35 -34
- package/Dropdown-CJ-sujKv.cjs +6 -0
- package/FieldError-BlKkw9YL.js +46 -0
- package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
- package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
- package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
- package/{FocusScope-DMsfA3bj.js → FocusScope-CEgd3xCY.js} +17 -17
- package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
- package/Grid-Db5wZrw6.cjs +1 -0
- package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
- package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
- package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
- package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
- package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
- package/Heading-OUPkdoEJ.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-DpLcq_1R.cjs +1 -0
- package/InfoBanner-U5hxOipC.js +99 -0
- package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
- package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-ByWt6Lfh.js} +24 -24
- package/Label-COpr4xVt.cjs +1 -0
- package/{Layout-D0E1fOgZ.cjs → Layout-BR3Or1Ga.cjs} +2 -2
- package/{Layout-DtyhUz-G.js → Layout-Bdqauktv.js} +17 -17
- package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
- package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
- package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
- package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
- package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
- package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
- package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
- package/{ListBox-Djy7244v.js → ListBox-y_dw__MI.js} +16 -16
- package/{ListBoxButton-CIqNRR3y.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
- package/{ListBoxButton-sqirI6I4.js → ListBoxButton-DiseS_LX.js} +1 -1
- package/{ListBoxSection-Cicbu8pS.js → ListBoxSection-Cv-gN76G.js} +9 -9
- package/{ListBoxSection-BYJccE4T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
- package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
- package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
- package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
- package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
- package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-viLqHHX2.js} +2 -2
- package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
- package/PressResponder-Bm3_RM9c.cjs +1 -0
- package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
- package/{ProgressBar-DTn23Zkr.js → ProgressBar-wQirOG1N.js} +2 -2
- package/{Radio-CCN3o3s-.js → Radio-BIomn_sP.js} +23 -23
- package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
- package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
- package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
- package/{Select-MwvnbChP.js → Select-769RSZ9V.js} +114 -114
- package/{Select-lhIwwJL7.cjs → Select-Go5x0zWl.cjs} +1 -1
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-BdKKuso-.js} +9 -9
- package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
- package/{Separator-DvvVAypT.js → Separator-CggS0R7Q.js} +4 -4
- package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
- package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
- package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
- package/TabList-0gj27e_e.js +386 -0
- package/TabList-Cqpup53E.cjs +1 -0
- package/Table-BhtlNY9P.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CTS0J_sQ.js} +289 -268
- package/{Tag-rI-NhuT0.js → Tag-B9M-nBTM.js} +49 -49
- package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
- package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
- package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
- package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
- package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
- package/TextArea-CSrrYY05.cjs +1 -0
- package/{TextArea-CrEALC58.js → TextArea-DphcH6wE.js} +16 -16
- package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
- package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
- package/Toast-BEh5yYzO.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
- package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
- package/{ToggleButtonGroup-98z8Dw8-.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
- package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
- package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/theme.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +7 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
- package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +108 -111
- package/inertValue-BWmZ1afe.cjs +1 -0
- package/info-banner/InfoBanner.d.ts +18 -10
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
- package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -1
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +36 -12
- package/theme/index.js +12 -11
- package/theme/tokens.d.ts +36 -18
- package/toast/Toast.d.ts +2 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tokens-BWo7EvNX.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-BtEBd3jO.js} +69 -31
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
- package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
- package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
- package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
- package/useEvent-CGRyLM2c.cjs +1 -0
- package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
- package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BKQT28sh.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
- package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
- package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
- package/useHasTabbableChild-CogBR_6o.cjs +1 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-CyOmqumh.js} +2 -2
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
- package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
- package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
- package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
- package/{useListState-B3c3xcNW.js → useListState-e7cL-FOK.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
- package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
- package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
- package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
- package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
- package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/BadgeContainer-DWVHS5dn.cjs +0 -1
- package/Card-cdL5669N.cjs +0 -1
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-CDCvUjK5.js +0 -46
- package/Grid-DVQtOcu9.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/PressResponder-4jE_HLu3.cjs +0 -1
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/inertValue-B3AFhVG4.cjs +0 -1
- package/tokens-5PzK5zK7.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useEvent-DPxMu-X9.cjs +0 -1
- package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-MhzEsCkX.cjs +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as oe, b as O, $ as Ee, f as me, g as
|
|
2
|
-
import { e as
|
|
3
|
-
import { j as we, i as ke, h as G, k as _e, l as le, m as Oe, n as J } from "./useHover-
|
|
1
|
+
import { m as oe, b as O, $ as Ee, f as me, g as Se, e as p, d, n as q, h as V } from "./utils-CuqJqFqQ.js";
|
|
2
|
+
import { e as Ke, $ as xe } from "./useFocusable-ZjCKo1ed.js";
|
|
3
|
+
import { j as we, i as ke, h as G, k as _e, l as le, m as Oe, n as J } from "./useHover-D8fja4GW.js";
|
|
4
4
|
import fe, { useMemo as ce, createContext as Me, useContext as ue, useState as Ce, useRef as Ie, useEffect as Q } from "react";
|
|
5
|
-
import { d as k, a as de, e as Ae } from "./mergeProps-
|
|
5
|
+
import { d as k, a as de, e as Ae } from "./mergeProps-BYJQ6N1s.js";
|
|
6
6
|
import { flushSync as Le } from "react-dom";
|
|
7
7
|
const pe = /* @__PURE__ */ Me({
|
|
8
8
|
isNative: !0,
|
|
@@ -10,16 +10,16 @@ const pe = /* @__PURE__ */ Me({
|
|
|
10
10
|
useHref: (t) => t
|
|
11
11
|
});
|
|
12
12
|
function tt(t) {
|
|
13
|
-
let { children: n, navigate:
|
|
13
|
+
let { children: n, navigate: a, useHref: o } = t, c = ce(() => ({
|
|
14
14
|
isNative: !1,
|
|
15
15
|
open: (g, $, y, P) => {
|
|
16
16
|
ge(g, (b) => {
|
|
17
|
-
Ue(b, $) ?
|
|
17
|
+
Ue(b, $) ? a(y, P) : M(b, $);
|
|
18
18
|
});
|
|
19
19
|
},
|
|
20
20
|
useHref: o || ((g) => g)
|
|
21
21
|
}), [
|
|
22
|
-
|
|
22
|
+
a,
|
|
23
23
|
o
|
|
24
24
|
]);
|
|
25
25
|
return /* @__PURE__ */ fe.createElement(pe.Provider, {
|
|
@@ -30,13 +30,13 @@ function ve() {
|
|
|
30
30
|
return ue(pe);
|
|
31
31
|
}
|
|
32
32
|
function Ue(t, n) {
|
|
33
|
-
let
|
|
34
|
-
return (!
|
|
33
|
+
let a = t.getAttribute("target");
|
|
34
|
+
return (!a || a === "_self") && t.origin === location.origin && !t.hasAttribute("download") && !n.metaKey && // open in new tab (mac)
|
|
35
35
|
!n.ctrlKey && // open in new tab (windows)
|
|
36
36
|
!n.altKey && // download
|
|
37
37
|
!n.shiftKey;
|
|
38
38
|
}
|
|
39
|
-
function M(t, n,
|
|
39
|
+
function M(t, n, a = !0) {
|
|
40
40
|
var o, c;
|
|
41
41
|
let { metaKey: g, ctrlKey: $, altKey: y, shiftKey: P } = n;
|
|
42
42
|
we() && (!((c = window.event) === null || c === void 0 || (o = c.type) === null || o === void 0) && o.startsWith("key")) && t.target === "_blank" && (G() ? g = !0 : $ = !0);
|
|
@@ -54,23 +54,23 @@ function M(t, n, i = !0) {
|
|
|
54
54
|
bubbles: !0,
|
|
55
55
|
cancelable: !0
|
|
56
56
|
});
|
|
57
|
-
M.isOpening =
|
|
57
|
+
M.isOpening = a, oe(t), t.dispatchEvent(b), M.isOpening = !1;
|
|
58
58
|
}
|
|
59
59
|
M.isOpening = !1;
|
|
60
60
|
function ge(t, n) {
|
|
61
61
|
if (t instanceof HTMLAnchorElement) n(t);
|
|
62
62
|
else if (t.hasAttribute("data-href")) {
|
|
63
|
-
let
|
|
64
|
-
|
|
63
|
+
let a = document.createElement("a");
|
|
64
|
+
a.href = t.getAttribute("data-href"), t.hasAttribute("data-target") && (a.target = t.getAttribute("data-target")), t.hasAttribute("data-rel") && (a.rel = t.getAttribute("data-rel")), t.hasAttribute("data-download") && (a.download = t.getAttribute("data-download")), t.hasAttribute("data-ping") && (a.ping = t.getAttribute("data-ping")), t.hasAttribute("data-referrer-policy") && (a.referrerPolicy = t.getAttribute("data-referrer-policy")), t.appendChild(a), n(a), t.removeChild(a);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
function De(t, n) {
|
|
68
|
-
ge(t, (
|
|
68
|
+
ge(t, (a) => M(a, n));
|
|
69
69
|
}
|
|
70
70
|
function rt(t) {
|
|
71
71
|
let n = ve();
|
|
72
|
-
var
|
|
73
|
-
const o = n.useHref((
|
|
72
|
+
var a;
|
|
73
|
+
const o = n.useHref((a = t.href) !== null && a !== void 0 ? a : "");
|
|
74
74
|
return {
|
|
75
75
|
"data-href": t.href ? o : void 0,
|
|
76
76
|
"data-target": t.target,
|
|
@@ -82,8 +82,8 @@ function rt(t) {
|
|
|
82
82
|
}
|
|
83
83
|
function nt(t) {
|
|
84
84
|
let n = ve();
|
|
85
|
-
var
|
|
86
|
-
const o = n.useHref((
|
|
85
|
+
var a;
|
|
86
|
+
const o = n.useHref((a = t == null ? void 0 : t.href) !== null && a !== void 0 ? a : "");
|
|
87
87
|
return {
|
|
88
88
|
href: t != null && t.href ? o : void 0,
|
|
89
89
|
target: t == null ? void 0 : t.target,
|
|
@@ -110,7 +110,7 @@ function F(t) {
|
|
|
110
110
|
if (le()) {
|
|
111
111
|
if (I !== "disabled") return;
|
|
112
112
|
I = "restoring", setTimeout(() => {
|
|
113
|
-
|
|
113
|
+
Ke(() => {
|
|
114
114
|
if (I === "restoring") {
|
|
115
115
|
const n = O(t);
|
|
116
116
|
n.documentElement.style.webkitUserSelect === "none" && (n.documentElement.style.webkitUserSelect = j || ""), j = "", I = "default";
|
|
@@ -118,8 +118,8 @@ function F(t) {
|
|
|
118
118
|
});
|
|
119
119
|
}, 300);
|
|
120
120
|
} else if ((t instanceof HTMLElement || t instanceof SVGElement) && t && Y.has(t)) {
|
|
121
|
-
let n = Y.get(t),
|
|
122
|
-
t.style[
|
|
121
|
+
let n = Y.get(t), a = "userSelect" in t.style ? "userSelect" : "webkitUserSelect";
|
|
122
|
+
t.style[a] === "none" && (t.style[a] = n), t.getAttribute("style") === "" && t.removeAttribute("style"), Y.delete(t);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
const $e = fe.createContext({
|
|
@@ -130,38 +130,38 @@ $e.displayName = "PressResponderContext";
|
|
|
130
130
|
function He(t, n) {
|
|
131
131
|
return n.get ? n.get.call(t) : n.value;
|
|
132
132
|
}
|
|
133
|
-
function ye(t, n,
|
|
134
|
-
if (!n.has(t)) throw new TypeError("attempted to " +
|
|
133
|
+
function ye(t, n, a) {
|
|
134
|
+
if (!n.has(t)) throw new TypeError("attempted to " + a + " private field on non-instance");
|
|
135
135
|
return n.get(t);
|
|
136
136
|
}
|
|
137
137
|
function Ye(t, n) {
|
|
138
|
-
var
|
|
139
|
-
return He(t,
|
|
138
|
+
var a = ye(t, n, "get");
|
|
139
|
+
return He(t, a);
|
|
140
140
|
}
|
|
141
141
|
function Xe(t, n) {
|
|
142
142
|
if (n.has(t))
|
|
143
143
|
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
144
144
|
}
|
|
145
|
-
function Re(t, n,
|
|
146
|
-
Xe(t, n), n.set(t,
|
|
145
|
+
function Re(t, n, a) {
|
|
146
|
+
Xe(t, n), n.set(t, a);
|
|
147
147
|
}
|
|
148
|
-
function Ne(t, n,
|
|
149
|
-
if (n.set) n.set.call(t,
|
|
148
|
+
function Ne(t, n, a) {
|
|
149
|
+
if (n.set) n.set.call(t, a);
|
|
150
150
|
else {
|
|
151
151
|
if (!n.writable)
|
|
152
152
|
throw new TypeError("attempted to set read only private field");
|
|
153
|
-
n.value =
|
|
153
|
+
n.value = a;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
function ee(t, n,
|
|
156
|
+
function ee(t, n, a) {
|
|
157
157
|
var o = ye(t, n, "set");
|
|
158
|
-
return Ne(t, o,
|
|
158
|
+
return Ne(t, o, a), a;
|
|
159
159
|
}
|
|
160
160
|
function Fe(t) {
|
|
161
161
|
let n = ue($e);
|
|
162
162
|
if (n) {
|
|
163
|
-
let { register:
|
|
164
|
-
t = de(o, t),
|
|
163
|
+
let { register: a, ...o } = n;
|
|
164
|
+
t = de(o, t), a();
|
|
165
165
|
}
|
|
166
166
|
return xe(n, t.ref), t;
|
|
167
167
|
}
|
|
@@ -173,7 +173,7 @@ class H {
|
|
|
173
173
|
get shouldStopPropagation() {
|
|
174
174
|
return Ye(this, D);
|
|
175
175
|
}
|
|
176
|
-
constructor(n,
|
|
176
|
+
constructor(n, a, o, c) {
|
|
177
177
|
Re(this, D, {
|
|
178
178
|
writable: !0,
|
|
179
179
|
value: void 0
|
|
@@ -182,12 +182,12 @@ class H {
|
|
|
182
182
|
let $ = (g = c == null ? void 0 : c.target) !== null && g !== void 0 ? g : o.currentTarget;
|
|
183
183
|
const y = $ == null ? void 0 : $.getBoundingClientRect();
|
|
184
184
|
let P, b = 0, A, T = null;
|
|
185
|
-
o.clientX != null && o.clientY != null && (A = o.clientX, T = o.clientY), y && (A != null && T != null ? (P = A - y.left, b = T - y.top) : (P = y.width / 2, b = y.height / 2)), this.type = n, this.pointerType =
|
|
185
|
+
o.clientX != null && o.clientY != null && (A = o.clientX, T = o.clientY), y && (A != null && T != null ? (P = A - y.left, b = T - y.top) : (P = y.width / 2, b = y.height / 2)), this.type = n, this.pointerType = a, this.target = o.currentTarget, this.shiftKey = o.shiftKey, this.metaKey = o.metaKey, this.ctrlKey = o.ctrlKey, this.altKey = o.altKey, this.x = P, this.y = b;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
const te = Symbol("linkClicked"), re = "react-aria-pressable-style", ne = "data-react-aria-pressable";
|
|
189
|
-
function
|
|
190
|
-
let { onPress: n, onPressChange:
|
|
189
|
+
function at(t) {
|
|
190
|
+
let { onPress: n, onPressChange: a, onPressStart: o, onPressEnd: c, onPressUp: g, onClick: $, isDisabled: y, isPressed: P, preventFocusOnPress: b, shouldCancelOnPointerExit: A, allowTextSelectionOnPress: T, ref: X, ...Te } = Fe(t), [he, W] = Ce(!1), C = Ie({
|
|
191
191
|
isPressed: !1,
|
|
192
192
|
ignoreEmulatedMouseEvents: !1,
|
|
193
193
|
didFirePressStart: !1,
|
|
@@ -200,33 +200,33 @@ function it(t) {
|
|
|
200
200
|
}), { addGlobalListener: x, removeAllGlobalListeners: L } = Ee(), m = k((e, s) => {
|
|
201
201
|
let v = C.current;
|
|
202
202
|
if (y || v.didFirePressStart) return !1;
|
|
203
|
-
let
|
|
203
|
+
let i = !0;
|
|
204
204
|
if (v.isTriggeringEvent = !0, o) {
|
|
205
205
|
let u = new H("pressstart", s, e);
|
|
206
|
-
o(u),
|
|
206
|
+
o(u), i = u.shouldStopPropagation;
|
|
207
207
|
}
|
|
208
|
-
return
|
|
208
|
+
return a && a(!0), v.isTriggeringEvent = !1, v.didFirePressStart = !0, W(!0), i;
|
|
209
209
|
}), E = k((e, s, v = !0) => {
|
|
210
|
-
let
|
|
211
|
-
if (!
|
|
212
|
-
|
|
210
|
+
let i = C.current;
|
|
211
|
+
if (!i.didFirePressStart) return !1;
|
|
212
|
+
i.didFirePressStart = !1, i.isTriggeringEvent = !0;
|
|
213
213
|
let u = !0;
|
|
214
214
|
if (c) {
|
|
215
215
|
let r = new H("pressend", s, e);
|
|
216
216
|
c(r), u = r.shouldStopPropagation;
|
|
217
217
|
}
|
|
218
|
-
if (
|
|
218
|
+
if (a && a(!1), W(!1), n && v && !y) {
|
|
219
219
|
let r = new H("press", s, e);
|
|
220
220
|
n(r), u && (u = r.shouldStopPropagation);
|
|
221
221
|
}
|
|
222
|
-
return
|
|
222
|
+
return i.isTriggeringEvent = !1, u;
|
|
223
223
|
}), w = k((e, s) => {
|
|
224
224
|
let v = C.current;
|
|
225
225
|
if (y) return !1;
|
|
226
226
|
if (g) {
|
|
227
227
|
v.isTriggeringEvent = !0;
|
|
228
|
-
let
|
|
229
|
-
return g(
|
|
228
|
+
let i = new H("pressup", s, e);
|
|
229
|
+
return g(i), v.isTriggeringEvent = !1, i.shouldStopPropagation;
|
|
230
230
|
}
|
|
231
231
|
return !0;
|
|
232
232
|
}), h = k((e) => {
|
|
@@ -243,50 +243,50 @@ function it(t) {
|
|
|
243
243
|
}), N = k((e, s) => {
|
|
244
244
|
if ($) {
|
|
245
245
|
let v = new MouseEvent("click", e);
|
|
246
|
-
me(v, s), $(
|
|
246
|
+
me(v, s), $(Se(v));
|
|
247
247
|
}
|
|
248
248
|
}), Pe = ce(() => {
|
|
249
249
|
let e = C.current, s = {
|
|
250
|
-
onKeyDown(
|
|
251
|
-
if (B(
|
|
250
|
+
onKeyDown(i) {
|
|
251
|
+
if (B(i.nativeEvent, i.currentTarget) && p(i.currentTarget, d(i.nativeEvent))) {
|
|
252
252
|
var u;
|
|
253
|
-
se(d(
|
|
253
|
+
se(d(i.nativeEvent), i.key) && i.preventDefault();
|
|
254
254
|
let r = !0;
|
|
255
|
-
if (!e.isPressed && !
|
|
256
|
-
e.target =
|
|
257
|
-
let l =
|
|
258
|
-
B(
|
|
255
|
+
if (!e.isPressed && !i.repeat) {
|
|
256
|
+
e.target = i.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = m(i, "keyboard");
|
|
257
|
+
let l = i.currentTarget, f = (S) => {
|
|
258
|
+
B(S, l) && !S.repeat && p(l, d(S)) && e.target && w(_(e.target, S), "keyboard");
|
|
259
259
|
};
|
|
260
|
-
x(O(
|
|
260
|
+
x(O(i.currentTarget), "keyup", Ae(f, v), !0);
|
|
261
261
|
}
|
|
262
|
-
r &&
|
|
263
|
-
} else
|
|
262
|
+
r && i.stopPropagation(), i.metaKey && G() && ((u = e.metaKeyEvents) === null || u === void 0 || u.set(i.key, i.nativeEvent));
|
|
263
|
+
} else i.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
264
264
|
},
|
|
265
|
-
onClick(
|
|
266
|
-
if (!(
|
|
265
|
+
onClick(i) {
|
|
266
|
+
if (!(i && !p(i.currentTarget, d(i.nativeEvent))) && i && i.button === 0 && !e.isTriggeringEvent && !M.isOpening) {
|
|
267
267
|
let u = !0;
|
|
268
|
-
if (y &&
|
|
269
|
-
let r = m(
|
|
270
|
-
R(
|
|
268
|
+
if (y && i.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || J(i.nativeEvent))) {
|
|
269
|
+
let r = m(i, "virtual"), l = w(i, "virtual"), f = E(i, "virtual");
|
|
270
|
+
R(i), u = r && l && f;
|
|
271
271
|
} else if (e.isPressed && e.pointerType !== "keyboard") {
|
|
272
|
-
let r = e.pointerType ||
|
|
273
|
-
u = l && f, e.isOverTarget = !1, R(
|
|
272
|
+
let r = e.pointerType || i.nativeEvent.pointerType || "virtual", l = w(_(i.currentTarget, i), r), f = E(_(i.currentTarget, i), r, !0);
|
|
273
|
+
u = l && f, e.isOverTarget = !1, R(i), h(i);
|
|
274
274
|
}
|
|
275
|
-
e.ignoreEmulatedMouseEvents = !1, u &&
|
|
275
|
+
e.ignoreEmulatedMouseEvents = !1, u && i.stopPropagation();
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
|
-
}, v = (
|
|
278
|
+
}, v = (i) => {
|
|
279
279
|
var u;
|
|
280
|
-
if (e.isPressed && e.target && B(
|
|
280
|
+
if (e.isPressed && e.target && B(i, e.target)) {
|
|
281
281
|
var r;
|
|
282
|
-
se(d(
|
|
283
|
-
let f = d(
|
|
284
|
-
E(_(e.target,
|
|
285
|
-
} else if (
|
|
282
|
+
se(d(i), i.key) && i.preventDefault();
|
|
283
|
+
let f = d(i), S = p(e.target, d(i));
|
|
284
|
+
E(_(e.target, i), "keyboard", S), S && N(i, e.target), L(), i.key !== "Enter" && z(e.target) && p(e.target, f) && !i[te] && (i[te] = !0, M(e.target, i, !1)), e.isPressed = !1, (r = e.metaKeyEvents) === null || r === void 0 || r.delete(i.key);
|
|
285
|
+
} else if (i.key === "Meta" && (!((u = e.metaKeyEvents) === null || u === void 0) && u.size)) {
|
|
286
286
|
var l;
|
|
287
287
|
let f = e.metaKeyEvents;
|
|
288
288
|
e.metaKeyEvents = void 0;
|
|
289
|
-
for (let
|
|
289
|
+
for (let S of f.values()) (l = e.target) === null || l === void 0 || l.dispatchEvent(new KeyboardEvent("keyup", S));
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
if (typeof PointerEvent < "u") {
|
|
@@ -301,7 +301,7 @@ function it(t) {
|
|
|
301
301
|
if (!e.isPressed) {
|
|
302
302
|
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = r.pointerId, e.target = r.currentTarget, T || Z(e.target), l = m(r, e.pointerType);
|
|
303
303
|
let f = d(r.nativeEvent);
|
|
304
|
-
"releasePointerCapture" in f && f.releasePointerCapture(r.pointerId), x(O(r.currentTarget), "pointerup",
|
|
304
|
+
"releasePointerCapture" in f && f.releasePointerCapture(r.pointerId), x(O(r.currentTarget), "pointerup", i, !1), x(O(r.currentTarget), "pointercancel", u, !1);
|
|
305
305
|
}
|
|
306
306
|
l && r.stopPropagation();
|
|
307
307
|
}, s.onMouseDown = (r) => {
|
|
@@ -319,7 +319,7 @@ function it(t) {
|
|
|
319
319
|
}, s.onPointerLeave = (r) => {
|
|
320
320
|
r.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, E(_(e.target, r), e.pointerType, !1), U(r));
|
|
321
321
|
};
|
|
322
|
-
let
|
|
322
|
+
let i = (r) => {
|
|
323
323
|
if (r.pointerId === e.activePointerId && e.isPressed && r.button === 0 && e.target) {
|
|
324
324
|
if (p(e.target, d(r)) && e.pointerType != null) {
|
|
325
325
|
let l = !1, f = setTimeout(() => {
|
|
@@ -346,7 +346,7 @@ function it(t) {
|
|
|
346
346
|
let f = q(r.target);
|
|
347
347
|
f && e.disposables.push(f);
|
|
348
348
|
}
|
|
349
|
-
x(O(r.currentTarget), "mouseup",
|
|
349
|
+
x(O(r.currentTarget), "mouseup", i, !1);
|
|
350
350
|
}, s.onMouseEnter = (r) => {
|
|
351
351
|
if (!p(r.currentTarget, d(r.nativeEvent))) return;
|
|
352
352
|
let l = !0;
|
|
@@ -358,7 +358,7 @@ function it(t) {
|
|
|
358
358
|
}, s.onMouseUp = (r) => {
|
|
359
359
|
p(r.currentTarget, d(r.nativeEvent)) && !e.ignoreEmulatedMouseEvents && r.button === 0 && !e.isPressed && w(r, e.pointerType || "mouse");
|
|
360
360
|
};
|
|
361
|
-
let
|
|
361
|
+
let i = (r) => {
|
|
362
362
|
if (r.button === 0) {
|
|
363
363
|
if (e.ignoreEmulatedMouseEvents) {
|
|
364
364
|
e.ignoreEmulatedMouseEvents = !1;
|
|
@@ -371,25 +371,25 @@ function it(t) {
|
|
|
371
371
|
if (!p(r.currentTarget, d(r.nativeEvent))) return;
|
|
372
372
|
let l = Be(r.nativeEvent);
|
|
373
373
|
if (!l) return;
|
|
374
|
-
e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(
|
|
374
|
+
e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(K(e.target, r), e.pointerType) && r.stopPropagation(), x(V(r.currentTarget), "scroll", u, !0);
|
|
375
375
|
}, s.onTouchMove = (r) => {
|
|
376
376
|
if (!p(r.currentTarget, d(r.nativeEvent))) return;
|
|
377
377
|
if (!e.isPressed) {
|
|
378
378
|
r.stopPropagation();
|
|
379
379
|
return;
|
|
380
380
|
}
|
|
381
|
-
let l =
|
|
382
|
-
l &&
|
|
381
|
+
let l = ae(r.nativeEvent, e.activePointerId), f = !0;
|
|
382
|
+
l && ie(l, r.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, f = m(K(e.target, r), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, f = E(K(e.target, r), e.pointerType, !1), U(K(e.target, r))), f && r.stopPropagation();
|
|
383
383
|
}, s.onTouchEnd = (r) => {
|
|
384
384
|
if (!p(r.currentTarget, d(r.nativeEvent))) return;
|
|
385
385
|
if (!e.isPressed) {
|
|
386
386
|
r.stopPropagation();
|
|
387
387
|
return;
|
|
388
388
|
}
|
|
389
|
-
let l =
|
|
390
|
-
l &&
|
|
389
|
+
let l = ae(r.nativeEvent, e.activePointerId), f = !0;
|
|
390
|
+
l && ie(l, r.currentTarget) && e.pointerType != null ? (w(K(e.target, r), e.pointerType), f = E(K(e.target, r), e.pointerType), N(r.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (f = E(K(e.target, r), e.pointerType, !1)), f && r.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !T && F(e.target), L();
|
|
391
391
|
}, s.onTouchCancel = (r) => {
|
|
392
|
-
p(r.currentTarget, d(r.nativeEvent)) && (r.stopPropagation(), e.isPressed && h(
|
|
392
|
+
p(r.currentTarget, d(r.nativeEvent)) && (r.stopPropagation(), e.isPressed && h(K(e.target, r)));
|
|
393
393
|
};
|
|
394
394
|
let u = (r) => {
|
|
395
395
|
e.isPressed && p(d(r), e.target) && h({
|
|
@@ -454,61 +454,61 @@ function z(t) {
|
|
|
454
454
|
return t.tagName === "A" && t.hasAttribute("href");
|
|
455
455
|
}
|
|
456
456
|
function B(t, n) {
|
|
457
|
-
const { key:
|
|
458
|
-
return (
|
|
459
|
-
!((g === "link" || !g && z(c)) &&
|
|
457
|
+
const { key: a, code: o } = t, c = n, g = c.getAttribute("role");
|
|
458
|
+
return (a === "Enter" || a === " " || a === "Spacebar" || o === "Space") && !(c instanceof V(c).HTMLInputElement && !be(c, a) || c instanceof V(c).HTMLTextAreaElement || c.isContentEditable) && // Links should only trigger with Enter key
|
|
459
|
+
!((g === "link" || !g && z(c)) && a !== "Enter");
|
|
460
460
|
}
|
|
461
461
|
function Be(t) {
|
|
462
462
|
const { targetTouches: n } = t;
|
|
463
463
|
return n.length > 0 ? n[0] : null;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
466
|
-
const
|
|
467
|
-
for (let o = 0; o <
|
|
468
|
-
const c =
|
|
465
|
+
function ae(t, n) {
|
|
466
|
+
const a = t.changedTouches;
|
|
467
|
+
for (let o = 0; o < a.length; o++) {
|
|
468
|
+
const c = a[o];
|
|
469
469
|
if (c.identifier === n) return c;
|
|
470
470
|
}
|
|
471
471
|
return null;
|
|
472
472
|
}
|
|
473
|
-
function
|
|
474
|
-
let
|
|
475
|
-
return n.targetTouches && n.targetTouches.length === 1 && (
|
|
473
|
+
function K(t, n) {
|
|
474
|
+
let a = 0, o = 0;
|
|
475
|
+
return n.targetTouches && n.targetTouches.length === 1 && (a = n.targetTouches[0].clientX, o = n.targetTouches[0].clientY), {
|
|
476
476
|
currentTarget: t,
|
|
477
477
|
shiftKey: n.shiftKey,
|
|
478
478
|
ctrlKey: n.ctrlKey,
|
|
479
479
|
metaKey: n.metaKey,
|
|
480
480
|
altKey: n.altKey,
|
|
481
|
-
clientX:
|
|
481
|
+
clientX: a,
|
|
482
482
|
clientY: o
|
|
483
483
|
};
|
|
484
484
|
}
|
|
485
485
|
function _(t, n) {
|
|
486
|
-
let
|
|
486
|
+
let a = n.clientX, o = n.clientY;
|
|
487
487
|
return {
|
|
488
488
|
currentTarget: t,
|
|
489
489
|
shiftKey: n.shiftKey,
|
|
490
490
|
ctrlKey: n.ctrlKey,
|
|
491
491
|
metaKey: n.metaKey,
|
|
492
492
|
altKey: n.altKey,
|
|
493
|
-
clientX:
|
|
493
|
+
clientX: a,
|
|
494
494
|
clientY: o
|
|
495
495
|
};
|
|
496
496
|
}
|
|
497
497
|
function Ve(t) {
|
|
498
|
-
let n = 0,
|
|
499
|
-
return t.width !== void 0 ? n = t.width / 2 : t.radiusX !== void 0 && (n = t.radiusX), t.height !== void 0 ?
|
|
500
|
-
top: t.clientY -
|
|
498
|
+
let n = 0, a = 0;
|
|
499
|
+
return t.width !== void 0 ? n = t.width / 2 : t.radiusX !== void 0 && (n = t.radiusX), t.height !== void 0 ? a = t.height / 2 : t.radiusY !== void 0 && (a = t.radiusY), {
|
|
500
|
+
top: t.clientY - a,
|
|
501
501
|
right: t.clientX + n,
|
|
502
|
-
bottom: t.clientY +
|
|
502
|
+
bottom: t.clientY + a,
|
|
503
503
|
left: t.clientX - n
|
|
504
504
|
};
|
|
505
505
|
}
|
|
506
506
|
function Ge(t, n) {
|
|
507
507
|
return !(t.left > n.right || n.left > t.right || t.top > n.bottom || n.top > t.bottom);
|
|
508
508
|
}
|
|
509
|
-
function
|
|
510
|
-
let
|
|
511
|
-
return Ge(
|
|
509
|
+
function ie(t, n) {
|
|
510
|
+
let a = n.getBoundingClientRect(), o = Ve(t);
|
|
511
|
+
return Ge(a, o);
|
|
512
512
|
}
|
|
513
513
|
function je(t) {
|
|
514
514
|
return t instanceof HTMLInputElement ? !1 : t instanceof HTMLButtonElement ? t.type !== "submit" && t.type !== "reset" : !z(t);
|
|
@@ -534,7 +534,7 @@ export {
|
|
|
534
534
|
tt as $,
|
|
535
535
|
Re as _,
|
|
536
536
|
$e as a,
|
|
537
|
-
|
|
537
|
+
at as b,
|
|
538
538
|
ve as c,
|
|
539
539
|
nt as d,
|
|
540
540
|
Ue as e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("./useListState-
|
|
1
|
+
"use strict";const f=require("./useListState-TtWy_rDI.cjs"),b=require("./useControlledState-D0L6S_5r.cjs"),y=require("react");function $(l){var t;let[e,a]=b.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),s=y.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:s,onSelectionChange:d=>{if(d==="all")return;var n;let c=(n=d.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const q=require("./utils-
|
|
1
|
+
"use strict";const q=require("./utils-C5-CzvX2.cjs"),E=require("./mergeProps-C7Sx47fA.cjs"),I=require("./filterDOMProps-BS2lrgFA.cjs"),o=require("./useFormValidation-DSRwb9US.cjs"),M=require("./useControlledState-D0L6S_5r.cjs"),c=require("react"),S=require("./useField-CoQAzygg.cjs"),D=require("./useFocusable-DbmryjUH.cjs");function O(e,a){let{inputElementType:f="input",isDisabled:$=!1,isRequired:r=!1,isReadOnly:b=!1,type:v="text",validationBehavior:l="aria"}=e,[i,d]=M.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||"",e.onChange),{focusableProps:m}=D.$f645667febf57a63$export$4c014de7c8940b4c(e,a),u=o.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i}),{isInvalid:n,validationErrors:s,validationDetails:C}=u.displayValidation,{labelProps:P,fieldProps:g,descriptionProps:y,errorMessageProps:h}=S.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,isInvalid:n,errorMessage:e.errorMessage||s}),x=I.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});const p={type:v,pattern:e.pattern};return o.$99facab73266f662$export$5add1d006293d136(a,i,d),o.$e93e671b31057976$export$b8473d3665f3a75a(e,u,a),c.useEffect(()=>{if(a.current instanceof q.$431fbd86ca7dc216$export$f21a1ffae260145a(a.current).HTMLTextAreaElement){let t=a.current;Object.defineProperty(t,"defaultValue",{get:()=>t.value,set:()=>{},configurable:!0})}},[a]),{labelProps:P,inputProps:E.$3ef42575df84b30b$export$9d1611c77c2fe928(x,f==="input"?p:void 0,{disabled:$,readOnly:b,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:t=>d(t.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...m,...g}),descriptionProps:y,errorMessageProps:h,isInvalid:n,validationErrors:s,validationDetails:C}}exports.$2d73ec29415bd339$export$712718f7aec83d5=O;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { h as y } from "./utils-
|
|
2
|
-
import { a as x } from "./mergeProps-
|
|
1
|
+
import { h as y } from "./utils-CuqJqFqQ.js";
|
|
2
|
+
import { a as x } from "./mergeProps-BYJQ6N1s.js";
|
|
3
3
|
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
4
|
-
import { $ as I, a as M, b as
|
|
5
|
-
import { $ as
|
|
6
|
-
import
|
|
7
|
-
import { $ as
|
|
8
|
-
import { a as q } from "./useFocusable-
|
|
4
|
+
import { $ as I, a as M, b as S } from "./useFormValidation-BW2NSTM4.js";
|
|
5
|
+
import { $ as D } from "./useControlledState-u436Wbp1.js";
|
|
6
|
+
import L, { useEffect as O } from "react";
|
|
7
|
+
import { $ as R } from "./useField-5CEdtfab.js";
|
|
8
|
+
import { a as q } from "./useFocusable-ZjCKo1ed.js";
|
|
9
9
|
function _(e, a) {
|
|
10
|
-
let { inputElementType: u = "input", isDisabled: c = !1, isRequired: o = !1, isReadOnly: f = !1, type: m = "text", validationBehavior: r = "aria" } = e, [i, l] =
|
|
10
|
+
let { inputElementType: u = "input", isDisabled: c = !1, isRequired: o = !1, isReadOnly: f = !1, type: m = "text", validationBehavior: r = "aria" } = e, [i, l] = D(e.value, e.defaultValue || "", e.onChange), { focusableProps: $ } = q(e, a), d = I({
|
|
11
11
|
...e,
|
|
12
12
|
value: i
|
|
13
|
-
}), { isInvalid: n, validationErrors: s, validationDetails: b } = d.displayValidation, { labelProps: v, fieldProps: C, descriptionProps: p, errorMessageProps: P } =
|
|
13
|
+
}), { isInvalid: n, validationErrors: s, validationDetails: b } = d.displayValidation, { labelProps: v, fieldProps: C, descriptionProps: p, errorMessageProps: P } = R({
|
|
14
14
|
...e,
|
|
15
15
|
isInvalid: n,
|
|
16
16
|
errorMessage: e.errorMessage || s
|
|
@@ -21,7 +21,7 @@ function _(e, a) {
|
|
|
21
21
|
type: m,
|
|
22
22
|
pattern: e.pattern
|
|
23
23
|
};
|
|
24
|
-
return M(a, i, l),
|
|
24
|
+
return M(a, i, l), S(e, d, a), O(() => {
|
|
25
25
|
if (a.current instanceof y(a.current).HTMLTextAreaElement) {
|
|
26
26
|
let t = a.current;
|
|
27
27
|
Object.defineProperty(t, "defaultValue", {
|
|
@@ -57,7 +57,7 @@ function _(e, a) {
|
|
|
57
57
|
inputMode: e.inputMode,
|
|
58
58
|
autoCorrect: e.autoCorrect,
|
|
59
59
|
spellCheck: e.spellCheck,
|
|
60
|
-
[parseInt(
|
|
60
|
+
[parseInt(L.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: e.enterKeyHint,
|
|
61
61
|
// Clipboard events
|
|
62
62
|
onCopy: e.onCopy,
|
|
63
63
|
onCut: e.onCut,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react");function
|
|
1
|
+
"use strict";const t=require("react");function a(c,r){const e=t.useRef(!0),f=t.useRef(null);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{let u=f.current;e.current?e.current=!1:(!u||r.some((s,n)=>!Object.is(s,u[n])))&&c(),f.current=r},r)}exports.$4f58c5f72bcf79f7$export$496315a1608d9602=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const i=require("./mergeProps-C7Sx47fA.cjs"),u=require("react");function y(...e){return e.length===1&&e[0]?e[0]:l=>{let t=!1;const n=e.map(a=>{const f=$(a,l);return t||(t=typeof f=="function"),f});if(t)return()=>{n.forEach((a,f)=>{typeof a=="function"?a():$(e[f],null)})}}}function $(e,l){if(typeof e=="function")return e(l);e!=null&&(e.current=l)}function p(e){const l=u.useRef(null),t=u.useRef(void 0),n=u.useCallback(a=>{if(typeof e=="function"){const f=e,r=f(a);return()=>{typeof r=="function"?r():f(null)}}else if(e)return e.current=a,()=>{e.current=null}},[e]);return u.useMemo(()=>({get current(){return l.current},set current(a){l.current=a,t.current&&(t.current(),t.current=void 0),a!=null&&(t.current=n(a))}}),[n])}const b=Symbol("default");function C({values:e,children:l}){for(let[t,n]of e)l=u.createElement(t.Provider,{value:n},l);return l}function S(e){let{className:l,style:t,children:n,defaultClassName:a,defaultChildren:f,defaultStyle:r,values:s}=e;return u.useMemo(()=>{let o,d,c;return typeof l=="function"?o=l({...s,defaultClassName:a}):o=l,typeof t=="function"?d=t({...s,defaultStyle:r||{}}):d=t,typeof n=="function"?c=n({...s,defaultChildren:f}):n==null?c=f:c=n,{className:o??a,style:d||r?{...r,...d}:void 0,children:c??f,"data-rac":""}},[l,t,n,a,f,r,s])}function x(e,l){let t=u.useContext(e);if(l===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let n=l||b;if(!t.slots[n]){let a=new Intl.ListFormat().format(Object.keys(t.slots).map(r=>`"${r}"`)),f=l?`Invalid slot "${l}".`:"A slot prop is required.";throw new Error(`${f} Valid slot names are ${a}.`)}return t.slots[n]}return t}function h(e,l,t){let n=x(t,e.slot)||{},{ref:a,...f}=n,r=p(u.useMemo(()=>y(l,a),[l,a])),s=i.$3ef42575df84b30b$export$9d1611c77c2fe928(f,e);return"style"in f&&f.style&&"style"in e&&e.style&&(typeof f.style=="function"||typeof e.style=="function"?s.style=o=>{let d=typeof f.style=="function"?f.style(o):f.style,c={...o.defaultStyle,...d},m=typeof e.style=="function"?e.style({...o,defaultStyle:c}):e.style;return{...c,...m}}:s.style={...f.style,...e.style}),[s,r]}function R(e=!0){let[l,t]=u.useState(e),n=u.useRef(!1),a=u.useCallback(f=>{n.current=!0,t(!!f)},[]);return i.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{n.current||t(!1)},[]),[a,l]}function v(e){const l=/^(data-.*)$/;let t={};for(const n in e)l.test(n)||(t[n]=e[n]);return t}exports.$5dc95899b306f630$export$c9058316764c140e=y;exports.$64fa3d84918910a7$export$2881499e37b75b9a=C;exports.$64fa3d84918910a7$export$29f1550f4b0d4415=h;exports.$64fa3d84918910a7$export$4d86445c2cf5e3=S;exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8=R;exports.$64fa3d84918910a7$export$c62b8e45d58ddad9=b;exports.$64fa3d84918910a7$export$ef03459518577ad4=v;exports.$64fa3d84918910a7$export$fabf2dc03a41866e=x;exports.$df56164dff5785e2$export$4338b53315abf666=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react"),v=require("./mergeProps-
|
|
1
|
+
"use strict";const s=require("react"),v=require("./mergeProps-C7Sx47fA.cjs"),m=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},E=e=>e&&"window"in e&&e.window===e?e:m(e).defaultView||window;function h(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function T(e){return h(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let g=!1,w=!1;function S(){return g}function u(){return w}function P(e,t){if(!u())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:T(r)?r=r.host:r=r.parentNode}return!1}const F=(e=document)=>{var t;if(!u())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function M(e){return u()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function $(e){if(R())e.focus({preventScroll:!0});else{let t=y(e);e.focus(),N(t)}}let i=null;function R(){if(i==null){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}function y(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function N(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function O(){let e=s.useRef(new Map),t=s.useCallback((o,d,c,a)=>{let l=a!=null&&a.once?(...b)=>{e.current.delete(c),c(...b)}:c;e.current.set(c,{type:d,eventTarget:o,fn:l,options:a}),o.addEventListener(d,l,a)},[]),r=s.useCallback((o,d,c,a)=>{var l;let b=((l=e.current.get(c))===null||l===void 0?void 0:l.fn)||c;o.removeEventListener(d,b,a),e.current.delete(c)},[]),n=s.useCallback(()=>{e.current.forEach((o,d)=>{r(o.eventTarget,o.type,d,o.options)})},[r]);return s.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}const p=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],A=p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const C=p.join(':not([hidden]):not([tabindex="-1"]),');function x(e){return e.matches(A)}function H(e){return e.matches(C)}function L(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function _(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function B(e){let t=s.useRef({isFocused:!1,observer:null});v.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=v.$8ae05eaa5c114e9c$export$7f54fc3180508a52(n=>{e==null||e(n)});return s.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,d=c=>{if(t.current.isFocused=!1,o.disabled){let a=L(c);r(a)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",d,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var c;(c=t.current.observer)===null||c===void 0||c.disconnect();let a=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!1;function G(e){for(;e&&!x(e);)e=e.parentElement;let t=E(e),r=t.document.activeElement;if(!r||r===e)return;exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!0;let n=!1,o=f=>{(f.target===r||n)&&f.stopImmediatePropagation()},d=f=>{(f.target===r||n)&&(f.stopImmediatePropagation(),!e&&!n&&(n=!0,$(r),l()))},c=f=>{(f.target===e||n)&&f.stopImmediatePropagation()},a=f=>{(f.target===e||n)&&(f.stopImmediatePropagation(),n||(n=!0,$(r),l()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",d,!0),t.addEventListener("focusin",a,!0),t.addEventListener("focus",c,!0);let l=()=>{cancelAnimationFrame(b),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",d,!0),t.removeEventListener("focusin",a,!0),t.removeEventListener("focus",c,!0),exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!1,n=!1},b=requestAnimationFrame(l);return l}exports.$03deb23ff14920c4$export$4eaf04e54aa8eed6=O;exports.$431fbd86ca7dc216$export$b204af158042fbac=m;exports.$431fbd86ca7dc216$export$f21a1ffae260145a=E;exports.$7215afc6de606d6b$export$de79e2c695e052f3=$;exports.$8a9cb279dc87e130$export$525bc4921d56d4a=L;exports.$8a9cb279dc87e130$export$715c682d09d639cc=B;exports.$8a9cb279dc87e130$export$c2b7abe5d61ec696=_;exports.$8a9cb279dc87e130$export$cabe61c495ee3649=G;exports.$b4b717babfbb907b$export$4c063cf1350e6fed=x;exports.$b4b717babfbb907b$export$bebd5a1431fec25d=H;exports.$d4ee10de306f2510$export$4282f70798064fe0=P;exports.$d4ee10de306f2510$export$cd4e5573fbe2b576=F;exports.$d4ee10de306f2510$export$e58f029f0fbfdb29=M;exports.$f4e2df6bd15f8569$export$1b00cb14a96194e6=S;exports.$f4e2df6bd15f8569$export$98658e8c59125e6a=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef as p, useCallback as u, useEffect as E } from "react";
|
|
2
|
-
import { $ as L, d as h } from "./mergeProps-
|
|
2
|
+
import { $ as L, d as h } from "./mergeProps-BYJQ6N1s.js";
|
|
3
3
|
const T = (e) => {
|
|
4
4
|
var t;
|
|
5
5
|
return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
|