@easypost/easy-ui 1.0.0-alpha.67 → 1.0.0-alpha.68
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/Badge/index.js +14 -14
- package/Badge/index.mjs +14 -14
- package/Banner/index.js +5 -5
- package/Banner/index.mjs +5 -5
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +7 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +15 -15
- package/CodeBlock/index.mjs +15 -15
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +69 -69
- package/DataGrid/index.mjs +69 -69
- package/DatePicker/index.js +8 -8
- package/DatePicker/index.mjs +8 -8
- package/DateRangePicker/index.js +8 -8
- package/DateRangePicker/index.mjs +8 -8
- package/Drawer/index.js +22 -22
- package/Drawer/index.mjs +22 -22
- package/DropdownButton/index.js +13 -13
- package/DropdownButton/index.mjs +13 -13
- package/EmptyStateCard/index.js +8 -8
- package/EmptyStateCard/index.mjs +8 -8
- package/FocusedProductLayout/index.js +23 -23
- package/FocusedProductLayout/index.mjs +23 -23
- package/ForgeLayout/index.js +42 -42
- package/ForgeLayout/index.mjs +42 -42
- package/FormLayout/index.js +5 -5
- package/FormLayout/index.mjs +5 -5
- package/HorizontalGrid/index.js +1 -1
- package/HorizontalGrid/index.mjs +1 -1
- package/HorizontalStack/index.js +1 -1
- package/HorizontalStack/index.mjs +1 -1
- package/Icon/index.js +1 -1
- package/Icon/index.mjs +1 -1
- package/IconButton/index.js +13 -13
- package/IconButton/index.mjs +13 -13
- 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 +23 -23
- package/Modal/index.mjs +23 -23
- package/MultiSelect/index.js +37 -39
- package/MultiSelect/index.mjs +38 -40
- package/NexusLayout/index.js +31 -31
- package/NexusLayout/index.mjs +31 -31
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +8 -8
- package/Pagination/index.mjs +8 -8
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/ProductLayout/index.js +26 -26
- package/ProductLayout/index.mjs +26 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +10 -12
- package/RadioButtonGroup/index.mjs +10 -12
- 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 +29 -29
- package/SearchNav/index.mjs +29 -29
- package/SectionCard/index.js +7 -7
- package/SectionCard/index.mjs +7 -7
- package/Select/index.js +5 -5
- package/Select/index.mjs +5 -5
- 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 +4 -4
- package/SplitToggleCard/index.mjs +4 -4
- 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 +4 -4
- package/TabPanels/index.mjs +4 -4
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/Text/index.js +1 -1
- package/Text/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/ToggleCard/index.js +2 -2
- package/ToggleCard/index.mjs +2 -2
- 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 +25 -25
- package/VerticalNav/index.mjs +25 -25
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Y550ybuK.js → Button-BoPQ-Fx9.js} +6 -6
- package/__chunks__/{Button-10mhxReQ.mjs → Button-C2XjH0To.mjs} +19 -19
- package/__chunks__/{Button-BqogJAQ3.mjs → Button-DShBPWIF.mjs} +6 -6
- package/__chunks__/{Button-BxncM-fm.js → Button-DnLoaSJr.js} +19 -19
- package/__chunks__/{Calendar-D0ysbR2X.mjs → Calendar-CE1me5kU.mjs} +1 -1
- package/__chunks__/{Calendar-SdcIIg8-.js → Calendar-DDwEgLvp.js} +1 -1
- package/__chunks__/{CalendarBase-ncItGlBS.mjs → CalendarBase-BaIRHctl.mjs} +49 -38
- package/__chunks__/{CalendarBase-Vw2pBuuE.js → CalendarBase-C3ZpOlSV.js} +49 -38
- package/__chunks__/{Card-B1cXTObc.mjs → Card-C6wAxtdL.mjs} +12 -12
- package/__chunks__/{Card-DaX-ZuLu.js → Card-Dd-q1bh8.js} +12 -12
- package/__chunks__/{Checkbox-DSYdN5fC.js → Checkbox-CNu0kM51.js} +23 -23
- package/__chunks__/{Checkbox-DdAWbHpa.mjs → Checkbox-DxVLox7u.mjs} +23 -23
- package/__chunks__/{CodeSnippet-CPuuHMuI.js → CodeSnippet-BT2hkAfu.js} +2 -2
- package/__chunks__/{CodeSnippet-BbIqouQg.mjs → CodeSnippet-Duhq5nHT.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DVA3ya0P.mjs → DatePickerBase-BeCCGUnY.mjs} +24 -24
- package/__chunks__/{DatePickerBase-D8v7yMaR.js → DatePickerBase-L-HoCUep.js} +24 -24
- package/__chunks__/{Dialog-CFyC5TFs.js → Dialog-CuqmbMC4.js} +74 -15
- package/__chunks__/{Dialog-DnCSZh3s.mjs → Dialog-Dhrf3s5u.mjs} +75 -16
- package/__chunks__/{FocusScope-Qg8vUhZ_.mjs → FocusScope-Bwm5pVEe.mjs} +7 -4
- package/__chunks__/{FocusScope-DFE0IeGl.js → FocusScope-Djtxzznf.js} +7 -4
- package/__chunks__/{HelpMenu-DeTGhGis.mjs → HelpMenu-BAmSNUnC.mjs} +7 -7
- package/__chunks__/{HelpMenu-CJK_EziM.js → HelpMenu-D1cDon5L.js} +7 -7
- package/__chunks__/{HorizontalGrid-N2NkjG0P.mjs → HorizontalGrid-Ch9ENxEo.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BYnV-Dy9.js → HorizontalGrid-kfsspHih.js} +1 -1
- package/__chunks__/{HorizontalStack-DqPlOkSw.js → HorizontalStack-B1uZiaNX.js} +1 -1
- package/__chunks__/{HorizontalStack-BjMnJAXd.mjs → HorizontalStack-Dyv-5-kh.mjs} +1 -1
- package/__chunks__/{Icon-SeXHAWa2.js → Icon-BEiJGivA.js} +2 -2
- package/__chunks__/{Icon-QpfeMf4x.mjs → Icon-DOHoWHbH.mjs} +2 -2
- package/__chunks__/{InputCaption-Bcjaxvqr.mjs → InputCaption-CySYnmNV.mjs} +2 -2
- package/__chunks__/{InputCaption-peDy98l4.js → InputCaption-Dj5fHEqX.js} +2 -2
- package/__chunks__/{InputField-CmJ6SAKl.mjs → InputField-DA7g3X1G.mjs} +6 -6
- package/__chunks__/{InputField-DvSIzId4.js → InputField-DHwzYUj5.js} +6 -6
- package/__chunks__/{InputIcon-BNR3_LeL.mjs → InputIcon-DuUwLnBp.mjs} +31 -31
- package/__chunks__/{InputIcon-szDt09pM.js → InputIcon-UgLsMyoE.js} +31 -31
- package/__chunks__/{KebabButton-BcKtZQv2.mjs → KebabButton-BIAHO0Cj.mjs} +5 -5
- package/__chunks__/{KebabButton-C4QJla9Y.js → KebabButton-C-bMU56U.js} +5 -5
- package/__chunks__/{Menu-C45BBC1Y.js → Menu-7hcIonxF.js} +43 -30
- package/__chunks__/{Menu-CW11-o2X.mjs → Menu-BhWR0nq_.mjs} +43 -30
- package/__chunks__/{Notification-BJKPFSzJ.mjs → Notification-BHHczfET.mjs} +17 -17
- package/__chunks__/{Notification-CxrDF_Pg.js → Notification-CsAZEegz.js} +17 -17
- package/__chunks__/{Overlay-Dmwy9VjC.js → Overlay-CwJbrICR.js} +1 -1
- package/__chunks__/{Overlay-BEmOdNIB.mjs → Overlay-kQ6Q7dIG.mjs} +1 -1
- package/__chunks__/{PillGroup-BtvBL5fM.mjs → PillGroup-CNUAWSR0.mjs} +135 -51
- package/__chunks__/{PillGroup-BUMKmU-f.js → PillGroup-DJbLolMZ.js} +134 -50
- package/__chunks__/{RadioGroup-C0py9A-2.js → RadioGroup-CeV2gCqE.js} +21 -21
- package/__chunks__/{RadioGroup-DZXOUSXN.mjs → RadioGroup-Cxj8sLXq.mjs} +21 -21
- package/__chunks__/{RangeCalendar-DSEwJpHw.mjs → RangeCalendar-CzkbWcll.mjs} +1 -1
- package/__chunks__/{RangeCalendar-DBiN8Tu8.js → RangeCalendar-GePc_84N.js} +1 -1
- package/__chunks__/{SelectOverlay-DBo4MARx.js → SelectOverlay-BduwEfhI.js} +28 -28
- package/__chunks__/{SelectOverlay-Cy3-vsZK.mjs → SelectOverlay-XpPaiSFA.mjs} +28 -28
- package/__chunks__/{SelectorErrorTooltip-DkECS0nt.js → SelectorErrorTooltip-CKfb04-I.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-fPBKPgvD.mjs → SelectorErrorTooltip-Dh0VAxiG.mjs} +4 -4
- package/__chunks__/{Spinner-BadWfHqn.js → Spinner-BKXdBoJJ.js} +5 -5
- package/__chunks__/{Spinner-BjlaHcou.mjs → Spinner-nrWHZuaA.mjs} +5 -5
- package/__chunks__/{Stepper-BB_ESAbw.mjs → Stepper-DJoTq-8d.mjs} +27 -27
- package/__chunks__/{Stepper-BqgzsSzg.js → Stepper-Dsu6ZQmh.js} +27 -27
- package/__chunks__/{TabNav-D77kh-Xx.mjs → TabNav-BPVFmoVS.mjs} +1 -1
- package/__chunks__/{TabNav-DnnHglAy.js → TabNav-Cdy2fWSb.js} +1 -1
- package/__chunks__/{Tabs-Y2WlJlna.js → Tabs-BwwFqtnK.js} +18 -18
- package/__chunks__/{Tabs-C2FPFWA4.mjs → Tabs-MOd7gGYp.mjs} +18 -18
- package/__chunks__/{Text-Crcy_R7t.js → Text-Bi6LyLI0.js} +34 -34
- package/__chunks__/{Text-V-yZP2s7.mjs → Text-FQhZrmyS.mjs} +34 -34
- package/__chunks__/{TextField-EkC5gsJ8.mjs → TextField-Beqw4ytb.mjs} +1 -1
- package/__chunks__/{TextField-D847huaI.js → TextField-DcwzlNPF.js} +1 -1
- package/__chunks__/{Toggle-CQIvcPcu.js → Toggle-DDgvulcD.js} +13 -13
- package/__chunks__/{Toggle-H4aOxdc8.mjs → Toggle-t9mfqH-0.mjs} +13 -13
- package/__chunks__/{Tooltip-DKFYEVdG.js → Tooltip-BB9vKUHa.js} +12 -12
- package/__chunks__/{Tooltip-CIS6DQEh.mjs → Tooltip-C30mSvZB.mjs} +12 -12
- package/__chunks__/{UnstyledButton-Dmq9K7Jv.js → UnstyledButton-BNpFL1WV.js} +1 -1
- package/__chunks__/{UnstyledButton-Ctqv-3bt.mjs → UnstyledButton-_Fv2Zvnn.mjs} +1 -1
- package/__chunks__/{VerticalStack-Djj29NqV.mjs → VerticalStack-Cth39m-n.mjs} +3 -3
- package/__chunks__/{VerticalStack-DjuWiMXF.js → VerticalStack-D5juweSg.js} +3 -3
- package/__chunks__/{VisuallyHidden-BC5PXI9q.mjs → VisuallyHidden-BM6BpKe-.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-CVfjb1YY.js → VisuallyHidden-DcUrMWfu.js} +1 -1
- package/__chunks__/{ariaHideOutside-B6WqGXJj.js → ariaHideOutside-DkYn-eBq.js} +4 -14
- package/__chunks__/{ariaHideOutside-CxWZQtI1.mjs → ariaHideOutside-DzT8L09V.mjs} +4 -14
- package/__chunks__/{focusSafely-BWGCG3W3.mjs → focusSafely-DByEWahg.mjs} +2 -2
- package/__chunks__/{focusSafely-BvrXUhlW.js → focusSafely-wmTq_iKq.js} +2 -2
- package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-B_Z4yzgm.mjs} +7 -6
- package/__chunks__/{isVirtualEvent-DwoP1rNI.js → isVirtualEvent-C-tB2MCl.js} +1 -0
- package/__chunks__/{scrollIntoView-DkcUbB3D.js → scrollIntoView-BN4yt25y.js} +11 -7
- package/__chunks__/{scrollIntoView-CZM0k-rp.mjs → scrollIntoView-wURtlgJt.mjs} +11 -7
- package/__chunks__/{useButton-DZ0C3d-K.js → useButton-B_VJe1i5.js} +2 -2
- package/__chunks__/{useButton-BK6hwK02.mjs → useButton-CAB58gzb.mjs} +2 -2
- package/__chunks__/{useDialog-wy_ru95P.js → useDialog-DJ-g6m8Y.js} +2 -2
- package/__chunks__/{useDialog-h-MPfyGr.mjs → useDialog-IOP1VbOS.mjs} +2 -2
- package/__chunks__/{useEdgeInterceptors-ClXj8z7M.js → useEdgeInterceptors-BPijGinK.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-CJs5WRkG.mjs → useEdgeInterceptors-DD-Z8qkB.mjs} +5 -5
- package/__chunks__/{useFocus-BJ7JikEx.mjs → useFocus-CK70xB5-.mjs} +2 -2
- package/__chunks__/{useFocus-B4oRb1dU.js → useFocus-l6ZlVMHW.js} +2 -2
- package/__chunks__/{useFocusRing-YOWeCHgO.mjs → useFocusRing-DE2KtVaT.mjs} +3 -3
- package/__chunks__/{useFocusRing-DFRFvht_.js → useFocusRing-f5StfjhA.js} +3 -3
- package/__chunks__/{useFocusVisible-ng1Hn25t.mjs → useFocusVisible-BWsOm7z5.mjs} +1 -1
- package/__chunks__/{useFocusVisible-PBQuklI8.js → useFocusVisible-CiIrKjuz.js} +1 -1
- package/__chunks__/{useFocusWithin-C1ioGWec.js → useFocusWithin-C-45XiL1.js} +1 -1
- package/__chunks__/{useFocusWithin-B-vQAW9V.mjs → useFocusWithin-C1nTntXX.mjs} +1 -1
- package/__chunks__/{useFocusable-8kJcp2yc.js → useFocusable-BQyiwtXU.js} +7 -3
- package/__chunks__/{useFocusable-CNor_Zjt.mjs → useFocusable-DFWO-r50.mjs} +7 -3
- package/__chunks__/{useFormValidation-DYz5WFze.js → useFormValidation-BeqiYVJN.js} +2 -2
- package/__chunks__/{useFormValidation-B3euLzzR.mjs → useFormValidation-DfzAl9pN.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-Cs10TUUE.js → useHasTabbableChild-CepF5tQS.js} +1 -1
- package/__chunks__/{useHasTabbableChild-BKgmY6ej.mjs → useHasTabbableChild-YC8W7aRx.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-Cebr-N8X.mjs → useHighlightSelectionDescription-DjuXbVSH.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-CT5XKTz0.js → useHighlightSelectionDescription-nSfKxNPA.js} +2 -2
- package/__chunks__/{useLink-DSnaSTQf.js → useLink-CQhl3ZGL.js} +2 -2
- package/__chunks__/{useLink-xdTgcuUM.mjs → useLink-D-4bwjAt.mjs} +2 -2
- package/__chunks__/{useListBoxSection-BsSdeGKp.mjs → useListBoxSection-CAwVEYPF.mjs} +10 -8
- package/__chunks__/{useListBoxSection-BlFRlBZy.js → useListBoxSection-TdoNdwIM.js} +10 -8
- package/__chunks__/{useMenuTrigger-qbIPy-fg.js → useMenuTrigger-DhSBxWW5.js} +2 -2
- package/__chunks__/{useMenuTrigger-D4pQ727R.mjs → useMenuTrigger-sRmDwcBp.mjs} +2 -2
- package/__chunks__/{useMenuTriggerState-Dai3rheB.js → useMenuTriggerState-DTZmPbSP.js} +1 -1
- package/__chunks__/{useMenuTriggerState-Cf_X36NC.mjs → useMenuTriggerState-cQf7L0mT.mjs} +1 -1
- package/__chunks__/{useModalOverlay-CkOujl0G.mjs → useModalOverlay-DyHdFvmT.mjs} +2 -2
- package/__chunks__/{useModalOverlay-BljLSPJ0.js → useModalOverlay-gSHY_FAb.js} +2 -2
- package/__chunks__/{useOverlayPosition-CMvGmqVL.js → useOverlayPosition-DJGEWKwM.js} +2 -2
- package/__chunks__/{useOverlayPosition-dua8TTSS.mjs → useOverlayPosition-VlLR-wFE.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-BS8c6XEz.mjs → useOverlayTrigger-BDiptZUo.mjs} +1 -1
- package/__chunks__/{useOverlayTrigger-Dp7RXQ9B.js → useOverlayTrigger-CiUR_pLO.js} +1 -1
- package/__chunks__/{usePress-DNETV97g.js → usePress-DTGD4Sub.js} +14 -13
- package/__chunks__/{usePress-Db4pSZfY.mjs → usePress-U7SFXdpv.mjs} +14 -13
- package/__chunks__/{useSelectableItem-B8l2VAQ8.mjs → useSelectableItem-BB067hsf.mjs} +102 -25
- package/__chunks__/{useSelectableItem-DpEX9QBc.js → useSelectableItem-BEkjpB_K.js} +101 -24
- package/__chunks__/{useSelectableList-DsUuWr0P.mjs → useSelectableList-DDqgQiaE.mjs} +1 -1
- package/__chunks__/{useSelectableList-CzTJAukw.js → useSelectableList-Dk3TxzYJ.js} +1 -1
- package/__chunks__/{useTextField-CErFc3WZ.js → useTextField-DM-ZTn9j.js} +6 -3
- package/__chunks__/{useTextField-Dd-YTxI4.mjs → useTextField-DmLS2Qbm.mjs} +6 -3
- package/__chunks__/{useToggle-BfpHeO2F.js → useToggle-Cu5EqIJD.js} +2 -2
- package/__chunks__/{useToggle-BDx-p-Zv.mjs → useToggle-infPUFau.mjs} +2 -2
- package/__chunks__/{utilities-DpKIaDkW.mjs → utilities-BXDJP7Yh.mjs} +4 -4
- package/__chunks__/{utilities-BDABIMDb.js → utilities-DIZYscJV.js} +4 -4
- package/__chunks__/{utils-Dt6xdGol.mjs → utils-BIfsWYLR.mjs} +5 -57
- package/__chunks__/{utils-eHk7b-OB.js → utils-BlKqJM2_.js} +0 -52
- package/package.json +5 -5
- package/style.css +1056 -1056
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-
|
|
1
|
+
import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
-
import { $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-
|
|
3
|
+
import { $ as $431fbd86ca7dc216$export$b204af158042fbac } from "./isVirtualEvent-B_Z4yzgm.mjs";
|
|
4
4
|
function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
5
5
|
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
|
6
6
|
const onBlur = useCallback((e) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
2
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
3
3
|
const React = require("react");
|
|
4
|
-
const isVirtualEvent = require("./isVirtualEvent-
|
|
4
|
+
const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
|
|
5
5
|
function $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props) {
|
|
6
6
|
let { isDisabled, onFocus: onFocusProp, onBlur: onBlurProp, onFocusChange } = props;
|
|
7
7
|
const onBlur = React.useCallback((e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
2
|
-
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, c as $507fabe10e71c6fb$export$ec71b4b83ac08ec3 } from "./useFocusVisible-
|
|
3
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
1
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-CK70xB5-.mjs";
|
|
2
|
+
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, c as $507fabe10e71c6fb$export$ec71b4b83ac08ec3 } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
3
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-C1nTntXX.mjs";
|
|
4
4
|
import { useRef, useState, useCallback } from "react";
|
|
5
5
|
function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
|
|
6
6
|
let { autoFocus = false, isTextInput, within } = props;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const useFocus = require("./useFocus-
|
|
3
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
4
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
2
|
+
const useFocus = require("./useFocus-l6ZlVMHW.js");
|
|
3
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
4
|
+
const useFocusWithin = require("./useFocusWithin-C-45XiL1.js");
|
|
5
5
|
const React = require("react");
|
|
6
6
|
function $f7dceffc5ad7768b$export$4e328f61c538687f(props = {}) {
|
|
7
7
|
let { autoFocus = false, isTextInput, within } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef, useCallback, useEffect, useState } from "react";
|
|
2
2
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-DSi85raC.mjs";
|
|
3
|
-
import { $ as $431fbd86ca7dc216$export$b204af158042fbac, a as $431fbd86ca7dc216$export$f21a1ffae260145a, b as $6a7db85432448f7f$export$60278871457622de, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-
|
|
3
|
+
import { $ as $431fbd86ca7dc216$export$b204af158042fbac, a as $431fbd86ca7dc216$export$f21a1ffae260145a, b as $6a7db85432448f7f$export$60278871457622de, c as $c87311424ea30a05$export$9ac100e40613ea10 } from "./isVirtualEvent-B_Z4yzgm.mjs";
|
|
4
4
|
class $8a9cb279dc87e130$export$905e7fc544a71f36 {
|
|
5
5
|
isDefaultPrevented() {
|
|
6
6
|
return this.nativeEvent.defaultPrevented;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
3
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
4
|
-
const isVirtualEvent = require("./isVirtualEvent-
|
|
4
|
+
const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
|
|
5
5
|
class $8a9cb279dc87e130$export$905e7fc544a71f36 {
|
|
6
6
|
isDefaultPrevented() {
|
|
7
7
|
return this.nativeEvent.defaultPrevented;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
2
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
5
5
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-
|
|
1
|
+
import { a as $8a9cb279dc87e130$export$715c682d09d639cc } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
2
2
|
import { useRef, useCallback } from "react";
|
|
3
3
|
function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
|
|
4
4
|
let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
|
|
@@ -30,11 +30,11 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const focusSafely = require("./focusSafely-
|
|
33
|
+
const focusSafely = require("./focusSafely-wmTq_iKq.js");
|
|
34
34
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
35
35
|
const context = require("./context-CYcq9Zvo.js");
|
|
36
36
|
const React = require("react");
|
|
37
|
-
const useFocus = require("./useFocus-
|
|
37
|
+
const useFocus = require("./useFocus-l6ZlVMHW.js");
|
|
38
38
|
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
39
39
|
if (!handler) return void 0;
|
|
40
40
|
let shouldStopPropagation = true;
|
|
@@ -47,10 +47,14 @@ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
|
47
47
|
return e.isDefaultPrevented();
|
|
48
48
|
},
|
|
49
49
|
stopPropagation() {
|
|
50
|
-
console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
50
|
+
if (shouldStopPropagation) console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
51
|
+
else shouldStopPropagation = true;
|
|
51
52
|
},
|
|
52
53
|
continuePropagation() {
|
|
53
54
|
shouldStopPropagation = false;
|
|
55
|
+
},
|
|
56
|
+
isPropagationStopped() {
|
|
57
|
+
return shouldStopPropagation;
|
|
54
58
|
}
|
|
55
59
|
});
|
|
56
60
|
handler(event);
|
|
@@ -29,11 +29,11 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-
|
|
32
|
+
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DByEWahg.mjs";
|
|
33
33
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
34
34
|
import { b as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-EpOG85wC.mjs";
|
|
35
35
|
import React__default, { useRef, useEffect, useContext } from "react";
|
|
36
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
36
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-CK70xB5-.mjs";
|
|
37
37
|
function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
38
38
|
if (!handler) return void 0;
|
|
39
39
|
let shouldStopPropagation = true;
|
|
@@ -46,10 +46,14 @@ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
|
|
|
46
46
|
return e.isDefaultPrevented();
|
|
47
47
|
},
|
|
48
48
|
stopPropagation() {
|
|
49
|
-
console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
49
|
+
if (shouldStopPropagation) console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
|
|
50
|
+
else shouldStopPropagation = true;
|
|
50
51
|
},
|
|
51
52
|
continuePropagation() {
|
|
52
53
|
shouldStopPropagation = false;
|
|
54
|
+
},
|
|
55
|
+
isPropagationStopped() {
|
|
56
|
+
return shouldStopPropagation;
|
|
53
57
|
}
|
|
54
58
|
});
|
|
55
59
|
handler(event);
|
|
@@ -19,7 +19,7 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const React = require("react");
|
|
22
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
22
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
23
23
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
24
24
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
25
25
|
badInput: false,
|
|
@@ -177,7 +177,7 @@ function $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {
|
|
|
177
177
|
function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
|
|
178
178
|
let { validationBehavior, focus } = props;
|
|
179
179
|
mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
180
|
-
if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current)) {
|
|
180
|
+
if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {
|
|
181
181
|
let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
182
182
|
ref.current.setCustomValidity(errorMessage);
|
|
183
183
|
if (!ref.current.hasAttribute("title")) ref.current.title = "";
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { createContext, useMemo, useContext, useState, useRef, useEffect } from "react";
|
|
21
|
-
import { d as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-
|
|
21
|
+
import { d as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
22
22
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./mergeProps-DSi85raC.mjs";
|
|
23
23
|
const $e5be200c675c3b3a$export$aca958c65c314e6c = {
|
|
24
24
|
badInput: false,
|
|
@@ -176,7 +176,7 @@ function $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {
|
|
|
176
176
|
function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
|
|
177
177
|
let { validationBehavior, focus } = props;
|
|
178
178
|
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
179
|
-
if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current)) {
|
|
179
|
+
if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {
|
|
180
180
|
let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
|
|
181
181
|
ref.current.setCustomValidity(errorMessage);
|
|
182
182
|
if (!ref.current.hasAttribute("title")) ref.current.title = "";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const FocusScope = require("./FocusScope-
|
|
2
|
+
const FocusScope = require("./FocusScope-Djtxzznf.js");
|
|
3
3
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
1
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-Bwm5pVEe.mjs";
|
|
2
2
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DSi85raC.mjs";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
function $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {
|
|
@@ -2,8 +2,8 @@ import { $ as $319e236875307eab$export$a9b970dcc4ae71a9 } from "./LiveAnnouncer-
|
|
|
2
2
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
3
3
|
import { useRef, useMemo } from "react";
|
|
4
4
|
import { $ as $4f58c5f72bcf79f7$export$496315a1608d9602 } from "./useUpdateEffect-BLgGnNgL.mjs";
|
|
5
|
-
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-
|
|
6
|
-
import { e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-
|
|
5
|
+
import { $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-wURtlgJt.mjs";
|
|
6
|
+
import { e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
7
7
|
var $682989befd4f478d$exports = {};
|
|
8
8
|
$682989befd4f478d$exports = {
|
|
9
9
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -3,8 +3,8 @@ const LiveAnnouncer = require("./LiveAnnouncer-CzeNwq2D.js");
|
|
|
3
3
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const useUpdateEffect = require("./useUpdateEffect-CssYIsWI.js");
|
|
6
|
-
const scrollIntoView = require("./scrollIntoView-
|
|
7
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
6
|
+
const scrollIntoView = require("./scrollIntoView-BN4yt25y.js");
|
|
7
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
8
8
|
var $682989befd4f478d$exports = {};
|
|
9
9
|
$682989befd4f478d$exports = {
|
|
10
10
|
"deselectedItem": (args) => `${args.item} غير المحدد`,
|
|
@@ -32,8 +32,8 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
34
34
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
35
|
-
const usePress = require("./usePress-
|
|
36
|
-
const useFocusable = require("./useFocusable-
|
|
35
|
+
const usePress = require("./usePress-DTGD4Sub.js");
|
|
36
|
+
const useFocusable = require("./useFocusable-BQyiwtXU.js");
|
|
37
37
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
38
38
|
let _a = props, {
|
|
39
39
|
elementType = "a",
|
|
@@ -31,8 +31,8 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
33
33
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
34
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-
|
|
35
|
-
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-
|
|
34
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21, a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, c as $ea8dcbcb9ea1b556$export$efa8c9099e530235 } from "./usePress-U7SFXdpv.mjs";
|
|
35
|
+
import { $ as $e6afbd83fe6ebbd2$export$4c014de7c8940b4c } from "./useFocusable-DFWO-r50.mjs";
|
|
36
36
|
function $298d61e98472621b$export$dcf14c9974fe2767(props, ref) {
|
|
37
37
|
let _a = props, {
|
|
38
38
|
elementType = "a",
|
|
@@ -19,14 +19,14 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DSi85raC.mjs";
|
|
21
21
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
22
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
22
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-C1nTntXX.mjs";
|
|
23
23
|
import { $ as $d191a55c9702f145$export$8467354a121f1b9f } from "./useLabel-D37VV43W.mjs";
|
|
24
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-
|
|
25
|
-
import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-
|
|
26
|
-
import { c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-
|
|
27
|
-
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-
|
|
24
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DDqgQiaE.mjs";
|
|
25
|
+
import { b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-U7SFXdpv.mjs";
|
|
26
|
+
import { c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-B_Z4yzgm.mjs";
|
|
27
|
+
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
28
28
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
29
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
29
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-BB067hsf.mjs";
|
|
30
30
|
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
31
31
|
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
32
32
|
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
@@ -120,6 +120,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
120
120
|
var _data_onAction;
|
|
121
121
|
return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);
|
|
122
122
|
} : void 0;
|
|
123
|
+
let id = $b1f0cad8af73213b$export$9145995848b05025(state, key);
|
|
123
124
|
let { itemProps, isPressed, isFocused, hasAction, allowsSelection } = $880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
124
125
|
selectionManager: state.selectionManager,
|
|
125
126
|
key,
|
|
@@ -130,7 +131,8 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
130
131
|
shouldUseVirtualFocus,
|
|
131
132
|
isDisabled,
|
|
132
133
|
onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? $ff5963eb1fccf552$export$e08e3b67e392101e(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : void 0,
|
|
133
|
-
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior
|
|
134
|
+
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,
|
|
135
|
+
id
|
|
134
136
|
});
|
|
135
137
|
let { hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
136
138
|
isDisabled: isDisabled || !shouldFocusOnHover,
|
|
@@ -146,7 +148,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
146
148
|
let linkProps = $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(item === null || item === void 0 ? void 0 : item.props);
|
|
147
149
|
return {
|
|
148
150
|
optionProps: __spreadProps(__spreadValues(__spreadValues({}, optionProps), $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, itemProps, hoverProps, linkProps)), {
|
|
149
|
-
id
|
|
151
|
+
id
|
|
150
152
|
}),
|
|
151
153
|
labelProps: {
|
|
152
154
|
id: labelId
|
|
@@ -20,14 +20,14 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
22
22
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
23
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
23
|
+
const useFocusWithin = require("./useFocusWithin-C-45XiL1.js");
|
|
24
24
|
const useLabel = require("./useLabel-t-N6anB8.js");
|
|
25
|
-
const useSelectableList = require("./useSelectableList-
|
|
26
|
-
const usePress = require("./usePress-
|
|
27
|
-
const isVirtualEvent = require("./isVirtualEvent-
|
|
28
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
25
|
+
const useSelectableList = require("./useSelectableList-Dk3TxzYJ.js");
|
|
26
|
+
const usePress = require("./usePress-DTGD4Sub.js");
|
|
27
|
+
const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
|
|
28
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
29
29
|
const useHover = require("./useHover-BIKwjrCT.js");
|
|
30
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
30
|
+
const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
|
|
31
31
|
const $b1f0cad8af73213b$export$3585ede4d035bf14 = /* @__PURE__ */ new WeakMap();
|
|
32
32
|
function $b1f0cad8af73213b$var$normalizeKey(key) {
|
|
33
33
|
if (typeof key === "string") return key.replace(/\s*/g, "");
|
|
@@ -121,6 +121,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
121
121
|
var _data_onAction;
|
|
122
122
|
return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);
|
|
123
123
|
} : void 0;
|
|
124
|
+
let id = $b1f0cad8af73213b$export$9145995848b05025(state, key);
|
|
124
125
|
let { itemProps, isPressed, isFocused, hasAction, allowsSelection } = useSelectableItem.$880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
125
126
|
selectionManager: state.selectionManager,
|
|
126
127
|
key,
|
|
@@ -131,7 +132,8 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
131
132
|
shouldUseVirtualFocus,
|
|
132
133
|
isDisabled,
|
|
133
134
|
onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? mergeProps.$ff5963eb1fccf552$export$e08e3b67e392101e(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : void 0,
|
|
134
|
-
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior
|
|
135
|
+
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,
|
|
136
|
+
id
|
|
135
137
|
});
|
|
136
138
|
let { hoverProps } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({
|
|
137
139
|
isDisabled: isDisabled || !shouldFocusOnHover,
|
|
@@ -147,7 +149,7 @@ function $293f70390ea03370$export$497855f14858aa34(props, state, ref) {
|
|
|
147
149
|
let linkProps = usePress.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(item === null || item === void 0 ? void 0 : item.props);
|
|
148
150
|
return {
|
|
149
151
|
optionProps: __spreadProps(__spreadValues(__spreadValues({}, optionProps), mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, itemProps, hoverProps, linkProps)), {
|
|
150
|
-
id
|
|
152
|
+
id
|
|
151
153
|
}),
|
|
152
154
|
labelProps: {
|
|
153
155
|
id: labelId
|
|
@@ -20,8 +20,8 @@ var __spreadValues = (a, b) => {
|
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
22
22
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
|
|
23
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
24
|
-
const useOverlayTrigger = require("./useOverlayTrigger-
|
|
23
|
+
const useSelectableItem = require("./useSelectableItem-BEkjpB_K.js");
|
|
24
|
+
const useOverlayTrigger = require("./useOverlayTrigger-CiUR_pLO.js");
|
|
25
25
|
var $c0398ad35c3639b7$exports = {};
|
|
26
26
|
$c0398ad35c3639b7$exports = {
|
|
27
27
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -19,8 +19,8 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
21
21
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
22
|
-
import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-
|
|
23
|
-
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-
|
|
22
|
+
import { c as $8a26561d2877236e$export$c24ed0104d07eab9 } from "./useSelectableItem-BB067hsf.mjs";
|
|
23
|
+
import { $ as $628037886ba31236$export$f9d5c8beee7d008d } from "./useOverlayTrigger-BDiptZUo.mjs";
|
|
24
24
|
var $c0398ad35c3639b7$exports = {};
|
|
25
25
|
$c0398ad35c3639b7$exports = {
|
|
26
26
|
"longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const Overlay = require("./Overlay-
|
|
21
|
+
const Overlay = require("./Overlay-CwJbrICR.js");
|
|
22
22
|
const React = require("react");
|
|
23
23
|
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
24
24
|
let overlayTriggerState = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-
|
|
20
|
+
import { a as $fc909762b330b746$export$61c6a8c84e605fb6 } from "./Overlay-kQ6Q7dIG.mjs";
|
|
21
21
|
import { useState } from "react";
|
|
22
22
|
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
23
23
|
let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
@@ -17,8 +17,8 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-
|
|
21
|
-
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-
|
|
20
|
+
import { $ as $a11501f3d1d39e6c$export$ea8f71083e90600f, a as $49c51c25361d4cd2$export$ee0f7cc6afcd1c18, b as $5e3802645cc19319$export$1c3ebcada18427bf } from "./ariaHideOutside-DzT8L09V.mjs";
|
|
21
|
+
import { b as $337b884510726a0d$export$14c98a7594375490 } from "./Overlay-kQ6Q7dIG.mjs";
|
|
22
22
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-DSi85raC.mjs";
|
|
23
23
|
import { useEffect } from "react";
|
|
24
24
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
@@ -18,8 +18,8 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const ariaHideOutside = require("./ariaHideOutside-
|
|
22
|
-
const Overlay = require("./Overlay-
|
|
21
|
+
const ariaHideOutside = require("./ariaHideOutside-DkYn-eBq.js");
|
|
22
|
+
const Overlay = require("./Overlay-CwJbrICR.js");
|
|
23
23
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
function $8ac8429251c45e4b$export$dbc0f175b25fb0fb(props, state, ref) {
|
|
@@ -18,9 +18,9 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
-
const isVirtualEvent = require("./isVirtualEvent-
|
|
21
|
+
const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
|
|
22
22
|
const number = require("./number-C4N6pKyl.js");
|
|
23
|
-
const Overlay = require("./Overlay-
|
|
23
|
+
const Overlay = require("./Overlay-CwJbrICR.js");
|
|
24
24
|
const React = require("react");
|
|
25
25
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
26
26
|
const useResizeObserver = require("./useResizeObserver-BsbT3mjh.js");
|
|
@@ -17,9 +17,9 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-
|
|
20
|
+
import { d as $c87311424ea30a05$export$78551043582a6a98 } from "./isVirtualEvent-B_Z4yzgm.mjs";
|
|
21
21
|
import { $ as $9446cca9a3875146$export$7d15b64cf5a3a4c4 } from "./number-CLRm_tTs.mjs";
|
|
22
|
-
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-
|
|
22
|
+
import { c as $dd149f63282afbbf$export$18fc8428861184da } from "./Overlay-kQ6Q7dIG.mjs";
|
|
23
23
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
24
24
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DSi85raC.mjs";
|
|
25
25
|
import { $ as $9daab02d461809db$export$683480f191c0e3ea } from "./useResizeObserver-Dyb4wvuA.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-
|
|
1
|
+
import { $ as $dd149f63282afbbf$export$f6211563215e3b37 } from "./Overlay-kQ6Q7dIG.mjs";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
4
4
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const Overlay = require("./Overlay-
|
|
2
|
+
const Overlay = require("./Overlay-CwJbrICR.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
5
5
|
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
@@ -14,7 +14,7 @@ var __objRest = (source, exclude) => {
|
|
|
14
14
|
}
|
|
15
15
|
return target;
|
|
16
16
|
};
|
|
17
|
-
const isVirtualEvent = require("./isVirtualEvent-
|
|
17
|
+
const isVirtualEvent = require("./isVirtualEvent-C-tB2MCl.js");
|
|
18
18
|
const context = require("./context-CYcq9Zvo.js");
|
|
19
19
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
20
20
|
const React = require("react");
|
|
@@ -145,7 +145,7 @@ function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
|
145
145
|
fn,
|
|
146
146
|
options
|
|
147
147
|
});
|
|
148
|
-
eventTarget.addEventListener(type,
|
|
148
|
+
eventTarget.addEventListener(type, fn, options);
|
|
149
149
|
}, []);
|
|
150
150
|
let removeGlobalListener = React.useCallback((eventTarget, type, listener, options) => {
|
|
151
151
|
var _globalListeners_current_get;
|
|
@@ -474,7 +474,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
474
474
|
if (!isDisabled && !preventFocusOnPress) context.$7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
|
|
475
475
|
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
476
476
|
shouldStopPropagation = triggerPressStart(e, state.pointerType);
|
|
477
|
-
|
|
477
|
+
let target = e.target;
|
|
478
|
+
if ("releasePointerCapture" in target) target.releasePointerCapture(e.pointerId);
|
|
478
479
|
addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointerup", onPointerUp, false);
|
|
479
480
|
addGlobalListener(isVirtualEvent.$431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointercancel", onPointerCancel, false);
|
|
480
481
|
}
|
|
@@ -489,16 +490,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
489
490
|
};
|
|
490
491
|
pressProps2.onPointerUp = (e) => {
|
|
491
492
|
if (!e.currentTarget.contains(e.target) || state.pointerType === "virtual") return;
|
|
492
|
-
if (e.button === 0
|
|
493
|
+
if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
493
494
|
};
|
|
494
|
-
|
|
495
|
-
if (e.pointerId
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
495
|
+
pressProps2.onPointerEnter = (e) => {
|
|
496
|
+
if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
|
|
497
|
+
state.isOverTarget = true;
|
|
498
|
+
triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
pressProps2.onPointerLeave = (e) => {
|
|
502
|
+
if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {
|
|
502
503
|
state.isOverTarget = false;
|
|
503
504
|
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
504
505
|
cancelOnPointerExit(e);
|
|
@@ -506,7 +507,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
506
507
|
};
|
|
507
508
|
let onPointerUp = (e) => {
|
|
508
509
|
if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
|
|
509
|
-
if (
|
|
510
|
+
if (state.target.contains(e.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
|
|
510
511
|
else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
511
512
|
state.isPressed = false;
|
|
512
513
|
state.isOverTarget = false;
|
|
@@ -13,7 +13,7 @@ var __objRest = (source, exclude) => {
|
|
|
13
13
|
}
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
|
-
import {
|
|
16
|
+
import { i as $c87311424ea30a05$export$b7d78993b74f766d, c as $c87311424ea30a05$export$9ac100e40613ea10, d as $c87311424ea30a05$export$78551043582a6a98, j as $c87311424ea30a05$export$7bef049ce92e4224, g as $c87311424ea30a05$export$fedb369cb70207f1, $ as $431fbd86ca7dc216$export$b204af158042fbac, k as $6a7db85432448f7f$export$29bf1b5f2c56cf63, b as $6a7db85432448f7f$export$60278871457622de, a as $431fbd86ca7dc216$export$f21a1ffae260145a } from "./isVirtualEvent-B_Z4yzgm.mjs";
|
|
17
17
|
import { a as $7215afc6de606d6b$export$de79e2c695e052f3, $ as $bbed8b41f857bcc0$export$24490316f764c430, c as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, b as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-EpOG85wC.mjs";
|
|
18
18
|
import { a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, f as $ff5963eb1fccf552$export$e08e3b67e392101e } from "./mergeProps-DSi85raC.mjs";
|
|
19
19
|
import React__default, { useMemo, createContext, useContext, useRef, useCallback, useEffect, useState } from "react";
|
|
@@ -144,7 +144,7 @@ function $03deb23ff14920c4$export$4eaf04e54aa8eed6() {
|
|
|
144
144
|
fn,
|
|
145
145
|
options
|
|
146
146
|
});
|
|
147
|
-
eventTarget.addEventListener(type,
|
|
147
|
+
eventTarget.addEventListener(type, fn, options);
|
|
148
148
|
}, []);
|
|
149
149
|
let removeGlobalListener = useCallback((eventTarget, type, listener, options) => {
|
|
150
150
|
var _globalListeners_current_get;
|
|
@@ -473,7 +473,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
473
473
|
if (!isDisabled && !preventFocusOnPress) $7215afc6de606d6b$export$de79e2c695e052f3(e.currentTarget);
|
|
474
474
|
if (!allowTextSelectionOnPress) $14c0b72509d70225$export$16a4697467175487(state.target);
|
|
475
475
|
shouldStopPropagation = triggerPressStart(e, state.pointerType);
|
|
476
|
-
|
|
476
|
+
let target = e.target;
|
|
477
|
+
if ("releasePointerCapture" in target) target.releasePointerCapture(e.pointerId);
|
|
477
478
|
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointerup", onPointerUp, false);
|
|
478
479
|
addGlobalListener($431fbd86ca7dc216$export$b204af158042fbac(e.currentTarget), "pointercancel", onPointerCancel, false);
|
|
479
480
|
}
|
|
@@ -488,16 +489,16 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
488
489
|
};
|
|
489
490
|
pressProps2.onPointerUp = (e) => {
|
|
490
491
|
if (!e.currentTarget.contains(e.target) || state.pointerType === "virtual") return;
|
|
491
|
-
if (e.button === 0
|
|
492
|
+
if (e.button === 0) triggerPressUp(e, state.pointerType || e.pointerType);
|
|
492
493
|
};
|
|
493
|
-
|
|
494
|
-
if (e.pointerId
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
494
|
+
pressProps2.onPointerEnter = (e) => {
|
|
495
|
+
if (e.pointerId === state.activePointerId && state.target && !state.isOverTarget && state.pointerType != null) {
|
|
496
|
+
state.isOverTarget = true;
|
|
497
|
+
triggerPressStart($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
pressProps2.onPointerLeave = (e) => {
|
|
501
|
+
if (e.pointerId === state.activePointerId && state.target && state.isOverTarget && state.pointerType != null) {
|
|
501
502
|
state.isOverTarget = false;
|
|
502
503
|
triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
503
504
|
cancelOnPointerExit(e);
|
|
@@ -505,7 +506,7 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
505
506
|
};
|
|
506
507
|
let onPointerUp = (e) => {
|
|
507
508
|
if (e.pointerId === state.activePointerId && state.isPressed && e.button === 0 && state.target) {
|
|
508
|
-
if (
|
|
509
|
+
if (state.target.contains(e.target) && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType);
|
|
509
510
|
else if (state.isOverTarget && state.pointerType != null) triggerPressEnd($f6c31cce2adf654f$var$createEvent(state.target, e), state.pointerType, false);
|
|
510
511
|
state.isPressed = false;
|
|
511
512
|
state.isOverTarget = false;
|