@easypost/easy-ui 1.0.0-alpha.89 → 1.0.0-alpha.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +7 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/CheckableCard/index.js +1 -1
- package/CheckableCard/index.mjs +1 -1
- package/Checkbox/Checkbox.d.ts.map +1 -1
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +6 -6
- package/CodeBlock/index.mjs +6 -6
- package/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/CustomerPortalLayout/index.js +6 -6
- package/CustomerPortalLayout/index.mjs +6 -6
- package/DataGrid/index.js +21 -20
- package/DataGrid/index.mjs +21 -20
- package/DatePicker/index.js +7 -7
- package/DatePicker/index.mjs +7 -7
- package/DateRangePicker/index.js +8 -8
- package/DateRangePicker/index.mjs +8 -8
- package/Drawer/index.js +4 -4
- package/Drawer/index.mjs +4 -4
- package/DropdownButton/index.js +1 -1
- package/DropdownButton/index.mjs +1 -1
- package/FocusedProductLayout/index.js +3 -3
- package/FocusedProductLayout/index.mjs +3 -3
- package/ForgeLayout/index.js +10 -10
- package/ForgeLayout/index.mjs +10 -10
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +1 -1
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/KebabButton/index.js +1 -1
- package/KebabButton/index.mjs +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/index.js +5 -5
- package/Modal/index.mjs +5 -5
- package/MultiSelect/index.js +21 -20
- package/MultiSelect/index.mjs +22 -21
- package/MultipageSection/index.js +3 -3
- package/MultipageSection/index.mjs +3 -3
- package/NexusLayout/index.js +5 -5
- package/NexusLayout/index.mjs +5 -5
- package/Notification/Notification.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +2 -2
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/index.js +3 -3
- package/PlanCard/index.mjs +3 -3
- package/ProductLayout/index.js +8 -8
- package/ProductLayout/index.mjs +8 -8
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/README.md +52 -27
- package/RadioButtonGroup/index.js +5 -5
- package/RadioButtonGroup/index.mjs +5 -5
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/RangeCalendar/index.js +1 -1
- package/RangeCalendar/index.mjs +1 -1
- package/SearchNav/index.js +4 -4
- package/SearchNav/index.mjs +4 -4
- package/Select/Select.d.ts.map +1 -1
- package/Select/index.js +2 -2
- package/Select/index.mjs +2 -2
- package/SelectorErrorTooltip/index.js +1 -1
- package/SelectorErrorTooltip/index.mjs +1 -1
- package/SplitToggleCard/index.js +1 -1
- package/SplitToggleCard/index.mjs +1 -1
- package/Stepper/index.js +1 -1
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.js +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.js +9 -5
- package/TabPanels/index.mjs +9 -5
- package/Tabs/index.js +1 -1
- package/Tabs/index.mjs +1 -1
- package/TextField/index.js +1 -1
- package/TextField/index.mjs +1 -1
- package/Textarea/index.js +1 -1
- package/Textarea/index.mjs +1 -1
- package/Toggle/Toggle.d.ts.map +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/UnstyledButton.d.ts.map +1 -1
- package/UnstyledButton/index.js +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +2 -2
- package/VerticalNav/index.mjs +2 -2
- package/__chunks__/{Button-DUZZ9HoT.js → Button--4bR8jiH.js} +1 -1
- package/__chunks__/{Button-BpGjkRZu.mjs → Button-B9eOc3oY.mjs} +4 -4
- package/__chunks__/{Button-2GplvjoR.js → Button-BpAgRrMP.js} +4 -4
- package/__chunks__/{Button-BE3zVhME.mjs → Button-DweJ2JfF.mjs} +1 -1
- package/__chunks__/{Calendar-gsUZ4Ouw.mjs → Calendar-BX4HC7xq.mjs} +1 -1
- package/__chunks__/{Calendar-B5vygFsi.js → Calendar-CU64FTOr.js} +1 -1
- package/__chunks__/{CalendarBase-DdQhuGNt.mjs → CalendarBase-Dh_owoCy.mjs} +5 -4
- package/__chunks__/{CalendarBase-uhGc8AVV.js → CalendarBase-m7eUzrcA.js} +5 -4
- package/__chunks__/{Checkbox-DRiYZLsh.js → Checkbox-Log6uL2y.js} +10 -8
- package/__chunks__/{Checkbox-qpqqY9LH.mjs → Checkbox-WhepkGg3.mjs} +10 -8
- package/__chunks__/{CodeSnippet-DOyQDfxp.mjs → CodeSnippet-Bc_MNBCp.mjs} +4 -2
- package/__chunks__/{CodeSnippet-Bpf7eWjq.js → CodeSnippet-C2dSUmN3.js} +4 -2
- package/__chunks__/{DatePickerBase-ybPQnjX-.mjs → DatePickerBase-BQISZ4tY.mjs} +35 -21
- package/__chunks__/{DatePickerBase-CNWUovPI.js → DatePickerBase-DTRyPxUH.js} +35 -21
- package/__chunks__/{Dialog-71SzSgdZ.mjs → Dialog-CrixpxNM.mjs} +8 -8
- package/__chunks__/{Dialog-D1oLQPjX.js → Dialog-DHEa0HJb.js} +8 -8
- package/__chunks__/{FocusScope-BYrP0odg.js → FocusScope-Beno1SIx.js} +2 -2
- package/__chunks__/{FocusScope-DP1VSF7s.mjs → FocusScope-DHbxxtYV.mjs} +2 -2
- package/__chunks__/{HelpMenu-B2V5jMQp.js → HelpMenu-BWEypFzC.js} +2 -2
- package/__chunks__/{HelpMenu-wJ8eKahi.mjs → HelpMenu-CSrPwH1K.mjs} +2 -2
- package/__chunks__/{InputField-CVYymiyI.mjs → InputField-B2ypcQOx.mjs} +3 -3
- package/__chunks__/{InputField-Bs95nClb.js → InputField-MGA2_gCZ.js} +3 -3
- package/__chunks__/{KebabButton-C1m6nOIu.js → KebabButton-C7gZ573-.js} +1 -1
- package/__chunks__/{KebabButton-DBFzY1Rq.mjs → KebabButton-Csspxerl.mjs} +1 -1
- package/__chunks__/{Menu-y5owPz-O.js → Menu-CxptqDZf.js} +12 -12
- package/__chunks__/{Menu-O33j8u7r.mjs → Menu-DVei3CtR.mjs} +12 -12
- package/__chunks__/{Notification-CLnVLOaw.js → Notification-BfBwPNub.js} +8 -6
- package/__chunks__/{Notification-DbzTJzSE.mjs → Notification-_uA9Lm5j.mjs} +8 -6
- package/__chunks__/{Overlay-88Ee_QUh.js → Overlay-CTC5iCTq.js} +3 -3
- package/__chunks__/{Overlay-Cj4W5w8m.mjs → Overlay-aI53DFC4.mjs} +3 -3
- package/__chunks__/{PillGroup-QTB5sJER.mjs → PillGroup-DLiSsITz.mjs} +43 -37
- package/__chunks__/{PillGroup-D5gTBzKy.js → PillGroup-Eqyl1bDU.js} +43 -37
- package/__chunks__/{RadioGroup-K565r4-w.js → RadioGroup-XPAeX1Q8.js} +8 -8
- package/__chunks__/{RadioGroup-DqooAc9M.mjs → RadioGroup-wcwn_iD9.mjs} +8 -8
- package/__chunks__/{RangeCalendar-Ce46gNnr.mjs → RangeCalendar-1DS6SiHr.mjs} +1 -1
- package/__chunks__/{RangeCalendar-DPThKM4W.js → RangeCalendar-BkOPNa-r.js} +1 -1
- package/__chunks__/{SelectOverlay-DT4LOSDh.mjs → SelectOverlay-Wgoyy1xh.mjs} +17 -11
- package/__chunks__/{SelectOverlay-CwRhbg9F.js → SelectOverlay-yK4x3ME5.js} +17 -11
- package/__chunks__/{SelectorErrorTooltip-DlXOZjmQ.mjs → SelectorErrorTooltip-CfELFFol.mjs} +1 -1
- package/__chunks__/{SelectorErrorTooltip-BT5gU6Pn.js → SelectorErrorTooltip-Dy5XVo5i.js} +1 -1
- package/__chunks__/{Stepper-CACO2jLG.mjs → Stepper-CexdatYw.mjs} +2 -2
- package/__chunks__/{Stepper--KsoKMdM.js → Stepper-DV4cL0T9.js} +2 -2
- package/__chunks__/{TabNav-DTnHIUFZ.js → TabNav-Csa-J3Fk.js} +1 -1
- package/__chunks__/{TabNav-D2_vfrMU.mjs → TabNav-T8hRXmuY.mjs} +1 -1
- package/__chunks__/{Tabs-BkzVKvWV.mjs → Tabs-CIjTS2ET.mjs} +2 -2
- package/__chunks__/{Tabs-J924obQC.js → Tabs-Dzj2pWUX.js} +2 -2
- package/__chunks__/{TextField-BVpSTQw-.mjs → TextField-CwU9Dqtd.mjs} +1 -1
- package/__chunks__/{TextField-BPZ6niGw.js → TextField-E-qy6m58.js} +1 -1
- package/__chunks__/{Toggle-O9F7R6RR.js → Toggle-HaiwEDJI.js} +7 -5
- package/__chunks__/{Toggle-Cr_Myw_x.mjs → Toggle-yrZiKq0v.mjs} +7 -5
- package/__chunks__/{Tooltip-CNKZl6De.js → Tooltip-DCaNdmWS.js} +5 -5
- package/__chunks__/{Tooltip-DMBtRdkk.mjs → Tooltip-UHXfPjcM.mjs} +5 -5
- package/__chunks__/{UnstyledButton-CfhKDftV.mjs → UnstyledButton-CbCwVIkK.mjs} +5 -3
- package/__chunks__/{UnstyledButton-CnIn7VBo.js → UnstyledButton-DaRYVyfB.js} +5 -3
- package/__chunks__/{VisuallyHidden-CCdi-Y1w.mjs → VisuallyHidden-CEixEKmF.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-DeSpvYML.js → VisuallyHidden-xO9zYcmX.js} +1 -1
- package/__chunks__/{ariaHideOutside-CT4hjtef.mjs → ariaHideOutside-B7gPQCIa.mjs} +9 -7
- package/__chunks__/{ariaHideOutside-Bq8FQnZq.js → ariaHideOutside-HcCjeNMn.js} +9 -7
- package/__chunks__/{focusSafely-D0XrieaU.mjs → focusSafely-D4cM_C4U.mjs} +6 -1
- package/__chunks__/{focusSafely-BgcYAZN6.js → focusSafely-DGwTMyzw.js} +6 -1
- package/__chunks__/mergeRefs-ClQjEiLh.mjs +24 -0
- package/__chunks__/mergeRefs-qNwPManW.js +23 -0
- package/__chunks__/{useButton-W0nkeGLb.mjs → useButton-Ca3vtrUS.mjs} +2 -2
- package/__chunks__/{useButton-BxK3VBiR.js → useButton-RDnDDS-w.js} +2 -2
- package/__chunks__/{useDialog-BhvpnpTk.mjs → useDialog-C2wEAsRc.mjs} +2 -2
- package/__chunks__/{useDialog-D_2QCyti.js → useDialog-s6kCqmHb.js} +2 -2
- package/__chunks__/{useFocus-DsnhrQiB.mjs → useFocus-QhB_LR_6.mjs} +1 -1
- package/__chunks__/{useFocus-Df2haWPe.js → useFocus-r5im5eX7.js} +1 -1
- package/__chunks__/{useFocusRing-ygRrwBu3.js → useFocusRing-Do5WdNL_.js} +3 -3
- package/__chunks__/{useFocusRing-DAMeUI3t.mjs → useFocusRing-I6O2iIqT.mjs} +3 -3
- package/__chunks__/{useFocusVisible-7ks2C0sQ.js → useFocusVisible-CbSS3hxW.js} +1 -1
- package/__chunks__/{useFocusVisible-DWC9qGtP.mjs → useFocusVisible-S02S36Aj.mjs} +1 -1
- package/__chunks__/{useFocusWithin-CxspK-F2.js → useFocusWithin-4tCIop4g.js} +1 -1
- package/__chunks__/{useFocusWithin-DPnHAdQU.mjs → useFocusWithin-eVSXHfLE.mjs} +1 -1
- package/__chunks__/{useFocusable-HXkH_Kuc.js → useFocusable-CztLmeBQ.js} +2 -2
- package/__chunks__/{useFocusable-C6giMIa8.mjs → useFocusable-YWcLWvwY.mjs} +2 -2
- package/__chunks__/{useFormValidation-HasG7QCl.mjs → useFormValidation-CUeEhwOT.mjs} +1 -1
- package/__chunks__/{useFormValidation-CAsEJ1eu.js → useFormValidation-CzZERvX9.js} +1 -1
- package/__chunks__/{useHasTabbableChild-D23JzSLZ.js → useHasTabbableChild-Bq9mFdfm.js} +1 -1
- package/__chunks__/{useHasTabbableChild-C5KDnOFZ.mjs → useHasTabbableChild-CCkpUWx6.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-CT3jLcfS.js → useHighlightSelectionDescription-2e9FDFKT.js} +14 -9
- package/__chunks__/{useHighlightSelectionDescription-BODt1AHW.mjs → useHighlightSelectionDescription-Dpnx4leb.mjs} +14 -9
- package/__chunks__/{useHover-BMIowV0x.js → useHover-BK8LX0kX.js} +1 -1
- package/__chunks__/{useHover-CwJuylzq.mjs → useHover-Djd8mM67.mjs} +1 -1
- package/__chunks__/{useLink-CxFvWxcs.mjs → useLink-hFVDzAjm.mjs} +2 -2
- package/__chunks__/{useLink-CcRvXaFq.js → useLink-rHGI96g9.js} +2 -2
- package/__chunks__/{useListBoxSection-UWw98S5n.mjs → useListBoxSection-C0KVZkom.mjs} +6 -6
- package/__chunks__/{useListBoxSection-yxKStnVF.js → useListBoxSection-UKCe8noj.js} +6 -6
- package/__chunks__/{useMenuTrigger-Bm2l00Fx.mjs → useMenuTrigger-C91gC8Fc.mjs} +3 -3
- package/__chunks__/{useMenuTrigger-CYz-sHYa.js → useMenuTrigger-Caz-rlTr.js} +3 -3
- package/__chunks__/{useMenuTriggerState-DzOmQv8m.mjs → useMenuTriggerState-4geEb8Fl.mjs} +1 -1
- package/__chunks__/{useMenuTriggerState-Bpow2FQo.js → useMenuTriggerState-trGu1Eq_.js} +1 -1
- package/__chunks__/{useModalOverlay-E3JkPreO.js → useModalOverlay-B1oqp24F.js} +2 -2
- package/__chunks__/{useModalOverlay-1zoyqSAR.mjs → useModalOverlay-C2Qh_ZjU.mjs} +2 -2
- package/__chunks__/useObjectRef-77h4G8qk.mjs +40 -0
- package/__chunks__/useObjectRef-Bma_uNHw.js +39 -0
- package/__chunks__/{useOverlayPosition-Ba2II0yy.js → useOverlayPosition-BT4OWkj_.js} +2 -2
- package/__chunks__/{useOverlayPosition-BJjENFKW.mjs → useOverlayPosition-CgkOWsX7.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-DSYyww_1.js → useOverlayTrigger-AXvrWojB.js} +1 -1
- package/__chunks__/{useOverlayTrigger-DTO7VB3r.mjs → useOverlayTrigger-DOqDd2-0.mjs} +1 -1
- package/__chunks__/{usePress-Btah4Wrd.js → usePress-BbU41fvX.js} +25 -12
- package/__chunks__/{usePress-BGHDb_ce.mjs → usePress-tJX1Ngpm.mjs} +25 -12
- package/__chunks__/{useSelectableItem-iCGDFQiY.js → useSelectableItem-CHrk6m3n.js} +19 -8
- package/__chunks__/{useSelectableItem-CBqJNF3F.mjs → useSelectableItem-DeMnuLRU.mjs} +19 -8
- package/__chunks__/{useSelectableList-C1gLRl6h.mjs → useSelectableList-By73z8mx.mjs} +5 -3
- package/__chunks__/{useSelectableList-CPHfKit7.js → useSelectableList-CdgAPdCe.js} +5 -3
- package/__chunks__/{useTextField-DUw10Bpa.mjs → useTextField-CWNBnEVY.mjs} +3 -3
- package/__chunks__/{useTextField-DYKc0daU.js → useTextField-DjK7_RjC.js} +3 -3
- package/__chunks__/{useToggle-Dvy3oMSz.mjs → useToggle-DOBadbRi.mjs} +2 -2
- package/__chunks__/{useToggle-nWML_sp8.js → useToggle-DyJeZfUS.js} +2 -2
- package/__chunks__/{utilities-DgR-vXbf.js → utilities-Bg_lZUNn.js} +3 -3
- package/__chunks__/{utilities-DaMKHxI8.mjs → utilities-DUnS31dY.mjs} +3 -3
- package/__chunks__/{utils-B-3LZYje.js → utils-Bjpgmx8t.js} +2 -2
- package/__chunks__/{utils-CZnJZGiu.mjs → utils-mDT30gHU.mjs} +2 -2
- package/package.json +8 -8
- package/__chunks__/mergeRefs-CCV6itCY.mjs +0 -12
- package/__chunks__/mergeRefs-CQsNYO0P.js +0 -11
- package/__chunks__/useObjectRef-BOGMJ5vM.js +0 -18
- package/__chunks__/useObjectRef-wU82Pkgx.mjs +0 -19
|
@@ -30,19 +30,19 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
}
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
|
-
const Button = require("./Button-
|
|
34
|
-
const utils = require("./utils-
|
|
33
|
+
const Button = require("./Button-BpAgRrMP.js");
|
|
34
|
+
const utils = require("./utils-Bjpgmx8t.js");
|
|
35
35
|
const React = require("react");
|
|
36
36
|
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
37
37
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
38
|
-
const Overlay = require("./Overlay-
|
|
39
|
-
const useMenuTriggerState = require("./useMenuTriggerState-
|
|
40
|
-
const useOverlayTrigger = require("./useOverlayTrigger-
|
|
41
|
-
const useDialog = require("./useDialog-
|
|
38
|
+
const Overlay = require("./Overlay-CTC5iCTq.js");
|
|
39
|
+
const useMenuTriggerState = require("./useMenuTriggerState-trGu1Eq_.js");
|
|
40
|
+
const useOverlayTrigger = require("./useOverlayTrigger-AXvrWojB.js");
|
|
41
|
+
const useDialog = require("./useDialog-s6kCqmHb.js");
|
|
42
42
|
const ReactDOM = require("react-dom");
|
|
43
|
-
const focusSafely = require("./focusSafely-
|
|
43
|
+
const focusSafely = require("./focusSafely-DGwTMyzw.js");
|
|
44
44
|
const context = require("./context-Dxz9OXQY.js");
|
|
45
|
-
const utilities = require("./utilities-
|
|
45
|
+
const utilities = require("./utilities-Bg_lZUNn.js");
|
|
46
46
|
function $d3f049242431219c$export$6d3443f2c48bfc20(ref, isReady = true) {
|
|
47
47
|
let [isEntering, setEntering] = React.useState(true);
|
|
48
48
|
let isAnimationReady = isEntering && isReady;
|
|
@@ -35,9 +35,9 @@ var __yieldStar = (value) => {
|
|
|
35
35
|
throw x;
|
|
36
36
|
}, "return" in obj && method("return"), it;
|
|
37
37
|
};
|
|
38
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
38
|
+
const useFocusVisible = require("./useFocusVisible-CbSS3hxW.js");
|
|
39
39
|
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
40
|
-
const focusSafely = require("./focusSafely-
|
|
40
|
+
const focusSafely = require("./focusSafely-DGwTMyzw.js");
|
|
41
41
|
const React = require("react");
|
|
42
42
|
class $dfc540311bf7f109$export$63eb3ababa9c55c4 {
|
|
43
43
|
get currentNode() {
|
|
@@ -34,9 +34,9 @@ var __yieldStar = (value) => {
|
|
|
34
34
|
throw x;
|
|
35
35
|
}, "return" in obj && method("return"), it;
|
|
36
36
|
};
|
|
37
|
-
import { m as $f4e2df6bd15f8569$export$98658e8c59125e6a, b as $d4ee10de306f2510$export$4282f70798064fe0, j as $431fbd86ca7dc216$export$f21a1ffae260145a, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, a as $431fbd86ca7dc216$export$b204af158042fbac, n as $b4b717babfbb907b$export$bebd5a1431fec25d, o as $b4b717babfbb907b$export$4c063cf1350e6fed, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, p as $c87311424ea30a05$export$a11b0059900ceec8, q as $c87311424ea30a05$export$6446a186d09e379e, r as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-
|
|
37
|
+
import { m as $f4e2df6bd15f8569$export$98658e8c59125e6a, b as $d4ee10de306f2510$export$4282f70798064fe0, j as $431fbd86ca7dc216$export$f21a1ffae260145a, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, a as $431fbd86ca7dc216$export$b204af158042fbac, n as $b4b717babfbb907b$export$bebd5a1431fec25d, o as $b4b717babfbb907b$export$4c063cf1350e6fed, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, p as $c87311424ea30a05$export$a11b0059900ceec8, q as $c87311424ea30a05$export$6446a186d09e379e, r as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useFocusVisible-S02S36Aj.mjs";
|
|
38
38
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-CORsYhTp.mjs";
|
|
39
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-
|
|
39
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-D4cM_C4U.mjs";
|
|
40
40
|
import React__default, { useRef, useContext, useMemo, useEffect } from "react";
|
|
41
41
|
class $dfc540311bf7f109$export$63eb3ababa9c55c4 {
|
|
42
42
|
get currentNode() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const React = require("react");
|
|
3
3
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
4
|
-
const Menu = require("./Menu-
|
|
4
|
+
const Menu = require("./Menu-CxptqDZf.js");
|
|
5
5
|
const Text = require("./Text-BXsuDbqc.js");
|
|
6
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
6
|
+
const UnstyledButton = require("./UnstyledButton-DaRYVyfB.js");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
8
8
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
9
9
|
if (e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
4
|
-
import { M as Menu } from "./Menu-
|
|
4
|
+
import { M as Menu } from "./Menu-DVei3CtR.mjs";
|
|
5
5
|
import { T as Text } from "./Text-BWjD7__Y.mjs";
|
|
6
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
6
|
+
import { U as UnstyledButton } from "./UnstyledButton-CbCwVIkK.mjs";
|
|
7
7
|
var __defProp$1 = Object.defineProperty;
|
|
8
8
|
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
9
9
|
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
@@ -23,10 +23,10 @@ import { classNames, variationName } from "../utilities/css.mjs";
|
|
|
23
23
|
import { L as Label, I as InputCaption } from "./InputCaption-DcmpIrex.mjs";
|
|
24
24
|
import { T as Text } from "./Text-BWjD7__Y.mjs";
|
|
25
25
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
26
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
26
|
+
import { U as UnstyledButton } from "./UnstyledButton-CbCwVIkK.mjs";
|
|
27
27
|
import { s as styles, m as mapIconSize, g as getElementType, a as logWarningsForInvalidPropConfiguration, l as logWarningForMissingAriaLabel, I as InputIcon } from "./InputIcon-B3t4QT3H.mjs";
|
|
28
|
-
import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-
|
|
29
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
28
|
+
import { $ as $2d73ec29415bd339$export$712718f7aec83d5 } from "./useTextField-CWNBnEVY.mjs";
|
|
29
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-Djd8mM67.mjs";
|
|
30
30
|
var __defProp$1 = Object.defineProperty;
|
|
31
31
|
var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
|
|
32
32
|
var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
|
|
@@ -23,10 +23,10 @@ const utilities_css = require("../utilities/css.js");
|
|
|
23
23
|
const InputCaption = require("./InputCaption-DXmr8j5G.js");
|
|
24
24
|
const Text = require("./Text-BXsuDbqc.js");
|
|
25
25
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
26
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
26
|
+
const UnstyledButton = require("./UnstyledButton-DaRYVyfB.js");
|
|
27
27
|
const InputIcon = require("./InputIcon-BIaAI6v9.js");
|
|
28
|
-
const useTextField = require("./useTextField-
|
|
29
|
-
const useHover = require("./useHover-
|
|
28
|
+
const useTextField = require("./useTextField-DjK7_RjC.js");
|
|
29
|
+
const useHover = require("./useHover-BK8LX0kX.js");
|
|
30
30
|
function _interopNamespaceDefault(e) {
|
|
31
31
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
32
32
|
if (e) {
|
|
@@ -28,7 +28,7 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
return target;
|
|
29
29
|
};
|
|
30
30
|
const React = require("react");
|
|
31
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
31
|
+
const UnstyledButton = require("./UnstyledButton-DaRYVyfB.js");
|
|
32
32
|
const Text = require("./Text-BXsuDbqc.js");
|
|
33
33
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
34
34
|
function _interopNamespaceDefault(e) {
|
|
@@ -28,7 +28,7 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
};
|
|
29
29
|
import * as React from "react";
|
|
30
30
|
import React__default from "react";
|
|
31
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
31
|
+
import { U as UnstyledButton } from "./UnstyledButton-CbCwVIkK.mjs";
|
|
32
32
|
import { T as Text } from "./Text-BWjD7__Y.mjs";
|
|
33
33
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
34
34
|
var __defProp2 = Object.defineProperty;
|
|
@@ -32,26 +32,26 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const omit = require("./omit-CC3uE8z5.js");
|
|
35
|
-
const Checkbox = require("./Checkbox-
|
|
35
|
+
const Checkbox = require("./Checkbox-Log6uL2y.js");
|
|
36
36
|
const Text = require("./Text-BXsuDbqc.js");
|
|
37
|
-
const utilities = require("./utilities-
|
|
37
|
+
const utilities = require("./utilities-Bg_lZUNn.js");
|
|
38
38
|
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
39
39
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
40
|
-
const usePress = require("./usePress-
|
|
41
|
-
const useSelectableList = require("./useSelectableList-
|
|
42
|
-
const useFocus = require("./useFocus-
|
|
43
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
44
|
-
const useHover = require("./useHover-
|
|
45
|
-
const useFocusable = require("./useFocusable-
|
|
46
|
-
const useSelectableItem = require("./useSelectableItem-
|
|
40
|
+
const usePress = require("./usePress-BbU41fvX.js");
|
|
41
|
+
const useSelectableList = require("./useSelectableList-CdgAPdCe.js");
|
|
42
|
+
const useFocus = require("./useFocus-r5im5eX7.js");
|
|
43
|
+
const useFocusVisible = require("./useFocusVisible-CbSS3hxW.js");
|
|
44
|
+
const useHover = require("./useHover-BK8LX0kX.js");
|
|
45
|
+
const useFocusable = require("./useFocusable-CztLmeBQ.js");
|
|
46
|
+
const useSelectableItem = require("./useSelectableItem-CHrk6m3n.js");
|
|
47
47
|
const Item = require("./Item-h_oPjYVR.js");
|
|
48
48
|
const _commonjsHelpers = require("./_commonjsHelpers-Bc2YnDe1.js");
|
|
49
49
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
50
50
|
const useTriggerWidth = require("./useTriggerWidth-B-IM2wNY.js");
|
|
51
|
-
const Overlay = require("./Overlay-
|
|
51
|
+
const Overlay = require("./Overlay-CTC5iCTq.js");
|
|
52
52
|
const useTreeState = require("./useTreeState-kH1tpPJB.js");
|
|
53
|
-
const useMenuTriggerState = require("./useMenuTriggerState-
|
|
54
|
-
const useMenuTrigger = require("./useMenuTrigger-
|
|
53
|
+
const useMenuTriggerState = require("./useMenuTriggerState-trGu1Eq_.js");
|
|
54
|
+
const useMenuTrigger = require("./useMenuTrigger-Caz-rlTr.js");
|
|
55
55
|
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
56
56
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
57
57
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
@@ -31,26 +31,26 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { createContext, useContext, useCallback, useMemo } from "react";
|
|
33
33
|
import { o as omit } from "./omit-CYoLXTjq.mjs";
|
|
34
|
-
import { C as Checkbox } from "./Checkbox-
|
|
34
|
+
import { C as Checkbox } from "./Checkbox-WhepkGg3.mjs";
|
|
35
35
|
import { T as Text } from "./Text-BWjD7__Y.mjs";
|
|
36
|
-
import { i as isSelectAllSelected, S as SELECT_ALL_KEY, e as isSelectAllIndeterminate, D as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, c as DEFAULT_PLACEMENT, b as DEFAULT_WIDTH, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, O as OVERLAY_OFFSET, f as getMenuPopoverMaxHeight, d as OVERLAY_PADDING_FROM_CONTAINER, h as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-
|
|
36
|
+
import { i as isSelectAllSelected, S as SELECT_ALL_KEY, e as isSelectAllIndeterminate, D as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, c as DEFAULT_PLACEMENT, b as DEFAULT_WIDTH, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, O as OVERLAY_OFFSET, f as getMenuPopoverMaxHeight, d as OVERLAY_PADDING_FROM_CONTAINER, h as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4 } from "./utilities-DUnS31dY.mjs";
|
|
37
37
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
38
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
|
-
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-
|
|
40
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-
|
|
41
|
-
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-
|
|
42
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-
|
|
43
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
44
|
-
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-
|
|
45
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
39
|
+
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-tJX1Ngpm.mjs";
|
|
40
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-By73z8mx.mjs";
|
|
41
|
+
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-QhB_LR_6.mjs";
|
|
42
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-S02S36Aj.mjs";
|
|
43
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-Djd8mM67.mjs";
|
|
44
|
+
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-YWcLWvwY.mjs";
|
|
45
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DeMnuLRU.mjs";
|
|
46
46
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-FD89BR0i.mjs";
|
|
47
47
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
48
48
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
49
49
|
import { $ as $f4b273590fab9f93$export$52210f68a14655d0, a as $9fc4852771d079eb$export$6e2c8f0811a474ce, u as useTriggerWidth } from "./useTriggerWidth-74VNM0k9.mjs";
|
|
50
|
-
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-
|
|
50
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-aI53DFC4.mjs";
|
|
51
51
|
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-DdjTMMtR.mjs";
|
|
52
|
-
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-
|
|
53
|
-
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-
|
|
52
|
+
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-4geEb8Fl.mjs";
|
|
53
|
+
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-C91gC8Fc.mjs";
|
|
54
54
|
const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
55
55
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
56
56
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
@@ -31,21 +31,22 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const mergeRefs = require("./mergeRefs-
|
|
34
|
+
const mergeRefs = require("./mergeRefs-qNwPManW.js");
|
|
35
|
+
const useObjectRef = require("./useObjectRef-Bma_uNHw.js");
|
|
35
36
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
36
37
|
const CheckCircle = require("./CheckCircle-lgmtkEe6.js");
|
|
37
38
|
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
38
39
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
39
40
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-X4sjSzZt.js");
|
|
40
41
|
const ReactDOM = require("react-dom");
|
|
41
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
42
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
43
|
-
const useHover = require("./useHover-
|
|
42
|
+
const useFocusVisible = require("./useFocusVisible-CbSS3hxW.js");
|
|
43
|
+
const useFocusWithin = require("./useFocusWithin-4tCIop4g.js");
|
|
44
|
+
const useHover = require("./useHover-BK8LX0kX.js");
|
|
44
45
|
const index = require("./index-6ObXAT_4.js");
|
|
45
46
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
46
47
|
const Text = require("./Text-BXsuDbqc.js");
|
|
47
48
|
const utilities_css = require("../utilities/css.js");
|
|
48
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
49
|
+
const UnstyledButton = require("./UnstyledButton-DaRYVyfB.js");
|
|
49
50
|
const CSSTransition = require("./CSSTransition-BXyX0mUc.js");
|
|
50
51
|
const objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose-C4Mip8ZU.js");
|
|
51
52
|
function _interopNamespaceDefault(e) {
|
|
@@ -1584,6 +1585,7 @@ function useNotificationState() {
|
|
|
1584
1585
|
}
|
|
1585
1586
|
const Notification = React.forwardRef((props, forwardedRef) => {
|
|
1586
1587
|
const ref = React.useRef(null);
|
|
1588
|
+
const mergedRef = useObjectRef.$df56164dff5785e2$export$4338b53315abf666(mergeRefs.$5dc95899b306f630$export$c9058316764c140e(ref, forwardedRef));
|
|
1587
1589
|
const { state, toast: notification } = props;
|
|
1588
1590
|
const { type = "toast", message, status = "success", hasIcon = true, onDismiss } = notification.content;
|
|
1589
1591
|
const { toastProps: notificationProps, titleProps, closeButtonProps } = $d6542812f0669241$export$a407b657d3044108(props, state);
|
|
@@ -1600,7 +1602,7 @@ const Notification = React.forwardRef((props, forwardedRef) => {
|
|
|
1600
1602
|
onPress: handleDismiss
|
|
1601
1603
|
});
|
|
1602
1604
|
return React.createElement("div", __spreadProps(__spreadValues({}, notificationPropsWithAdjustedAriaRole), {
|
|
1603
|
-
ref:
|
|
1605
|
+
ref: mergedRef,
|
|
1604
1606
|
className: utilities_css.classNames(styles$1.Notification, styles$1[utilities_css.variationName("status", status)], styles$1[utilities_css.variationName("type", type)])
|
|
1605
1607
|
}), React.createElement("div", {
|
|
1606
1608
|
className: styles$1.iconText
|
|
@@ -31,21 +31,22 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import * as React from "react";
|
|
33
33
|
import React__default, { useCallback, useState, useEffect, useRef, isValidElement, cloneElement, Children, useMemo, createContext, useContext } from "react";
|
|
34
|
-
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-
|
|
34
|
+
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-ClQjEiLh.mjs";
|
|
35
|
+
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-77h4G8qk.mjs";
|
|
35
36
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
36
37
|
import { C as CheckCircle } from "./CheckCircle-C9h2PNWU.mjs";
|
|
37
38
|
import { d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, a as $8ae05eaa5c114e9c$export$7f54fc3180508a52, $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
39
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
40
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
40
41
|
import { createPortal } from "react-dom";
|
|
41
|
-
import { r as $507fabe10e71c6fb$export$630ff653c5ada6a9, s as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./useFocusVisible-
|
|
42
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
43
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
42
|
+
import { r as $507fabe10e71c6fb$export$630ff653c5ada6a9, s as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./useFocusVisible-S02S36Aj.mjs";
|
|
43
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-eVSXHfLE.mjs";
|
|
44
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-Djd8mM67.mjs";
|
|
44
45
|
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
45
46
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
46
47
|
import { T as Text } from "./Text-BWjD7__Y.mjs";
|
|
47
48
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
48
|
-
import { U as UnstyledButton } from "./UnstyledButton-
|
|
49
|
+
import { U as UnstyledButton } from "./UnstyledButton-CbCwVIkK.mjs";
|
|
49
50
|
import { _ as _inheritsLoose, T as TransitionGroupContext, P as PropTypes, C as CSSTransition } from "./CSSTransition-C4FQrt4m.mjs";
|
|
50
51
|
import { a as _extends, _ as _objectWithoutPropertiesLoose } from "./objectWithoutPropertiesLoose-COdxq1Ge.mjs";
|
|
51
52
|
function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
|
|
@@ -1567,6 +1568,7 @@ function useNotificationState() {
|
|
|
1567
1568
|
}
|
|
1568
1569
|
const Notification = React__default.forwardRef((props, forwardedRef) => {
|
|
1569
1570
|
const ref = useRef(null);
|
|
1571
|
+
const mergedRef = $df56164dff5785e2$export$4338b53315abf666($5dc95899b306f630$export$c9058316764c140e(ref, forwardedRef));
|
|
1570
1572
|
const { state, toast: notification } = props;
|
|
1571
1573
|
const { type = "toast", message, status = "success", hasIcon = true, onDismiss } = notification.content;
|
|
1572
1574
|
const { toastProps: notificationProps, titleProps, closeButtonProps } = $d6542812f0669241$export$a407b657d3044108(props, state);
|
|
@@ -1583,7 +1585,7 @@ const Notification = React__default.forwardRef((props, forwardedRef) => {
|
|
|
1583
1585
|
onPress: handleDismiss
|
|
1584
1586
|
});
|
|
1585
1587
|
return React__default.createElement("div", __spreadProps(__spreadValues({}, notificationPropsWithAdjustedAriaRole), {
|
|
1586
|
-
ref:
|
|
1588
|
+
ref: mergedRef,
|
|
1587
1589
|
className: classNames(styles$1.Notification, styles$1[variationName("status", status)], styles$1[variationName("type", type)])
|
|
1588
1590
|
}), React__default.createElement("div", {
|
|
1589
1591
|
className: styles$1.iconText
|
|
@@ -32,10 +32,10 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
34
|
const useControlledState = require("./useControlledState-B2XIiHlL.js");
|
|
35
|
-
const focusSafely = require("./focusSafely-
|
|
35
|
+
const focusSafely = require("./focusSafely-DGwTMyzw.js");
|
|
36
36
|
const mergeProps = require("./mergeProps-d7wJkv71.js");
|
|
37
|
-
const useObjectRef = require("./useObjectRef-
|
|
38
|
-
const FocusScope = require("./FocusScope-
|
|
37
|
+
const useObjectRef = require("./useObjectRef-Bma_uNHw.js");
|
|
38
|
+
const FocusScope = require("./FocusScope-Beno1SIx.js");
|
|
39
39
|
const ReactDOM = require("react-dom");
|
|
40
40
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
41
41
|
let [isOpen, setOpen] = useControlledState.$458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -31,10 +31,10 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useCallback, useMemo, useRef, useContext, useEffect, createContext, useState } from "react";
|
|
33
33
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-BDO08zJF.mjs";
|
|
34
|
-
import { b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-
|
|
34
|
+
import { b as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-D4cM_C4U.mjs";
|
|
35
35
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-CORsYhTp.mjs";
|
|
36
|
-
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-
|
|
37
|
-
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
36
|
+
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-77h4G8qk.mjs";
|
|
37
|
+
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-DHbxxtYV.mjs";
|
|
38
38
|
import ReactDOM from "react-dom";
|
|
39
39
|
function $fc909762b330b746$export$61c6a8c84e605fb6(props) {
|
|
40
40
|
let [isOpen, setOpen] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.isOpen, props.defaultOpen || false, props.onOpenChange);
|
|
@@ -30,34 +30,34 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, createContext, useCallback, forwardRef } from "react";
|
|
33
|
-
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, b as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
34
|
-
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$c62b8e45d58ddad9 } from "./utils-
|
|
33
|
+
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, b as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $ as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-B9eOc3oY.mjs";
|
|
34
|
+
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, c as $64fa3d84918910a7$export$c62b8e45d58ddad9 } from "./utils-mDT30gHU.mjs";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c, b as $f645667febf57a63$export$f9762fab77588ecb } from "./useFocusable-
|
|
36
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c, b as $f645667febf57a63$export$f9762fab77588ecb } from "./useFocusable-YWcLWvwY.mjs";
|
|
37
37
|
import { c as $bdb11010cef70236$export$f680877a34711e37, $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, f as $ff5963eb1fccf552$export$e08e3b67e392101e, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, e as $b5e257d569688ac6$export$535bd6ca7f90a273 } from "./mergeProps-CORsYhTp.mjs";
|
|
38
38
|
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
39
|
-
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-
|
|
39
|
+
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-ClQjEiLh.mjs";
|
|
40
40
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
41
|
-
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-
|
|
41
|
+
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-77h4G8qk.mjs";
|
|
42
42
|
import { b as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-Doymm1MR.mjs";
|
|
43
43
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BEoWr5Bw.mjs";
|
|
44
44
|
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-D97tqUbx.mjs";
|
|
45
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-
|
|
46
|
-
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-
|
|
47
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
48
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
49
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
45
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-By73z8mx.mjs";
|
|
46
|
+
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-C0KVZkom.mjs";
|
|
47
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-I6O2iIqT.mjs";
|
|
48
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-DHbxxtYV.mjs";
|
|
49
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-Djd8mM67.mjs";
|
|
50
50
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D1rL_Lz6.mjs";
|
|
51
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
52
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-
|
|
53
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-
|
|
54
|
-
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-
|
|
51
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-eVSXHfLE.mjs";
|
|
52
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-Dpnx4leb.mjs";
|
|
53
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-CCkpUWx6.mjs";
|
|
54
|
+
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-tJX1Ngpm.mjs";
|
|
55
55
|
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-BY1C_8w5.mjs";
|
|
56
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, B as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-
|
|
56
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, B as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-S02S36Aj.mjs";
|
|
57
57
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
|
|
58
|
-
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-
|
|
58
|
+
import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c } from "./focusSafely-D4cM_C4U.mjs";
|
|
59
59
|
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-VOfe5ZyB.mjs";
|
|
60
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
60
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DeMnuLRU.mjs";
|
|
61
61
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-D-qKpkp4.mjs";
|
|
62
62
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
63
63
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
@@ -260,7 +260,7 @@ function $ce9b18daab526bbd$export$e0c709538cb8ae18(key) {
|
|
|
260
260
|
return "" + key;
|
|
261
261
|
}
|
|
262
262
|
function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
263
|
-
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow", escapeKeyBehavior = "clearSelection" } = props;
|
|
263
|
+
let { isVirtualized, keyboardDelegate, layoutDelegate, onAction, disallowTypeAhead, linkBehavior = "action", keyboardNavigationBehavior = "arrow", escapeKeyBehavior = "clearSelection", shouldSelectOnPressUp } = props;
|
|
264
264
|
if (!props["aria-label"] && !props["aria-labelledby"]) console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
265
265
|
let { listProps } = $982254629710d113$export$b95089534ab7c1fd({
|
|
266
266
|
selectionManager: state.selectionManager,
|
|
@@ -282,7 +282,8 @@ function $f47efb0c3a859cf2$export$664f9155035607eb(props, state, ref) {
|
|
|
282
282
|
id,
|
|
283
283
|
onAction,
|
|
284
284
|
linkBehavior,
|
|
285
|
-
keyboardNavigationBehavior
|
|
285
|
+
keyboardNavigationBehavior,
|
|
286
|
+
shouldSelectOnPressUp
|
|
286
287
|
});
|
|
287
288
|
let descriptionProps = $5b9b5b5723db6ae1$export$be42ebdab07ae4c2({
|
|
288
289
|
selectionManager: state.selectionManager,
|
|
@@ -328,9 +329,9 @@ const $4e8b0456ef72939f$var$EXPANSION_KEYS = {
|
|
|
328
329
|
};
|
|
329
330
|
function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
330
331
|
var _node_props, _node_props1;
|
|
331
|
-
let { node, isVirtualized
|
|
332
|
+
let { node, isVirtualized } = props;
|
|
332
333
|
let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
333
|
-
let { onAction, linkBehavior, keyboardNavigationBehavior } = $ce9b18daab526bbd$export$5b9bb410392e3991.get(state);
|
|
334
|
+
let { onAction, linkBehavior, keyboardNavigationBehavior, shouldSelectOnPressUp } = $ce9b18daab526bbd$export$5b9bb410392e3991.get(state);
|
|
334
335
|
let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
335
336
|
let keyWhenFocused = useRef(null);
|
|
336
337
|
let focus = () => {
|
|
@@ -372,12 +373,12 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
372
373
|
key: node.key,
|
|
373
374
|
ref,
|
|
374
375
|
isVirtualized,
|
|
375
|
-
shouldSelectOnPressUp,
|
|
376
|
+
shouldSelectOnPressUp: props.shouldSelectOnPressUp || shouldSelectOnPressUp,
|
|
376
377
|
onAction: onAction || ((_node_props = node.props) === null || _node_props === void 0 ? void 0 : _node_props.onAction) ? $ff5963eb1fccf552$export$e08e3b67e392101e((_node_props1 = node.props) === null || _node_props1 === void 0 ? void 0 : _node_props1.onAction, onAction ? () => onAction(node.key) : void 0) : void 0,
|
|
377
378
|
focus,
|
|
378
379
|
linkBehavior
|
|
379
380
|
}), { itemProps } = _a, itemStates = __objRest(_a, ["itemProps"]);
|
|
380
|
-
let
|
|
381
|
+
let onKeyDownCapture = (e) => {
|
|
381
382
|
if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;
|
|
382
383
|
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ref.current);
|
|
383
384
|
walker.currentNode = document.activeElement;
|
|
@@ -464,15 +465,6 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
464
465
|
(_ref_current_parentElement = ref.current.parentElement) === null || _ref_current_parentElement === void 0 ? void 0 : _ref_current_parentElement.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
|
|
465
466
|
}
|
|
466
467
|
break;
|
|
467
|
-
case "Tab":
|
|
468
|
-
if (keyboardNavigationBehavior === "tab") {
|
|
469
|
-
let walker2 = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ref.current, {
|
|
470
|
-
tabbable: true
|
|
471
|
-
});
|
|
472
|
-
walker2.currentNode = document.activeElement;
|
|
473
|
-
let next = e.shiftKey ? walker2.previousNode() : walker2.nextNode();
|
|
474
|
-
if (next) e.stopPropagation();
|
|
475
|
-
}
|
|
476
468
|
}
|
|
477
469
|
};
|
|
478
470
|
let onFocus = (e) => {
|
|
@@ -482,11 +474,26 @@ function $4e8b0456ef72939f$export$9610e69494fadfd2(props, state, ref) {
|
|
|
482
474
|
return;
|
|
483
475
|
}
|
|
484
476
|
};
|
|
477
|
+
let onKeyDown = (e) => {
|
|
478
|
+
if (!e.currentTarget.contains(e.target) || !ref.current || !document.activeElement) return;
|
|
479
|
+
switch (e.key) {
|
|
480
|
+
case "Tab":
|
|
481
|
+
if (keyboardNavigationBehavior === "tab") {
|
|
482
|
+
let walker = $9bf71ea28793e738$export$2d6ec8fc375ceafa(ref.current, {
|
|
483
|
+
tabbable: true
|
|
484
|
+
});
|
|
485
|
+
walker.currentNode = document.activeElement;
|
|
486
|
+
let next = e.shiftKey ? walker.previousNode() : walker.nextNode();
|
|
487
|
+
if (next) e.stopPropagation();
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
};
|
|
485
491
|
let syntheticLinkProps = $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(node.props);
|
|
486
492
|
let linkProps = itemStates.hasAction ? syntheticLinkProps : {};
|
|
487
493
|
let rowProps = $3ef42575df84b30b$export$9d1611c77c2fe928(itemProps, linkProps, {
|
|
488
494
|
role: "row",
|
|
489
|
-
onKeyDownCapture
|
|
495
|
+
onKeyDownCapture,
|
|
496
|
+
onKeyDown,
|
|
490
497
|
onFocus,
|
|
491
498
|
// 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),
|
|
492
499
|
"aria-label": node.textValue || void 0,
|
|
@@ -534,7 +541,8 @@ function $d7323bca8d074eeb$export$4f8b5cda58b7e8ff(props, state, ref) {
|
|
|
534
541
|
let { gridProps } = $f47efb0c3a859cf2$export$664f9155035607eb(__spreadProps(__spreadValues(__spreadValues({}, props), fieldProps), {
|
|
535
542
|
keyboardDelegate,
|
|
536
543
|
shouldFocusWrap: true,
|
|
537
|
-
linkBehavior: "override"
|
|
544
|
+
linkBehavior: "override",
|
|
545
|
+
keyboardNavigationBehavior: "tab"
|
|
538
546
|
}), state, ref);
|
|
539
547
|
let [isFocusWithin, setFocusWithin] = useState(false);
|
|
540
548
|
let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
|
|
@@ -783,7 +791,6 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
783
791
|
let _a = $4e8b0456ef72939f$export$9610e69494fadfd2({
|
|
784
792
|
node: item
|
|
785
793
|
}, state, ref), { rowProps, gridCellProps } = _a, states = __objRest(_a, ["rowProps", "gridCellProps"]);
|
|
786
|
-
delete rowProps.onKeyDownCapture;
|
|
787
794
|
let _b = states, { descriptionProps: _ } = _b, stateWithoutDescription = __objRest(_b, ["descriptionProps"]);
|
|
788
795
|
let isDisabled = state.disabledKeys.has(item.key) || item.props.isDisabled;
|
|
789
796
|
let onKeyDown = (e) => {
|
|
@@ -817,8 +824,7 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
817
824
|
id: buttonId,
|
|
818
825
|
onPress: () => onRemove ? onRemove(/* @__PURE__ */ new Set([
|
|
819
826
|
item.key
|
|
820
|
-
])) : null
|
|
821
|
-
excludeFromTabOrder: true
|
|
827
|
+
])) : null
|
|
822
828
|
},
|
|
823
829
|
rowProps: $3ef42575df84b30b$export$9d1611c77c2fe928(focusableProps, rowProps, domProps, linkProps, {
|
|
824
830
|
tabIndex,
|