@easypost/easy-ui 1.0.0-alpha.66 → 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 +14 -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-CVbi-24J.mjs → Button-C2XjH0To.mjs} +19 -19
- package/__chunks__/{Button-BqogJAQ3.mjs → Button-DShBPWIF.mjs} +6 -6
- package/__chunks__/{Button-CVaEK94Q.js → Button-DnLoaSJr.js} +19 -19
- package/__chunks__/{Calendar-C2JlXaSY.mjs → Calendar-CE1me5kU.mjs} +1 -1
- package/__chunks__/{Calendar-CmF_v-Dn.js → Calendar-DDwEgLvp.js} +1 -1
- package/__chunks__/{CalendarBase-aeU9JZC2.mjs → CalendarBase-BaIRHctl.mjs} +49 -38
- package/__chunks__/{CalendarBase-Cavy4k_H.js → CalendarBase-C3ZpOlSV.js} +49 -38
- package/__chunks__/{Card-B5c1vM8E.mjs → Card-C6wAxtdL.mjs} +12 -12
- package/__chunks__/{Card-BHZOcCVB.js → Card-Dd-q1bh8.js} +12 -12
- package/__chunks__/{Checkbox-BmtLwm3J.js → Checkbox-CNu0kM51.js} +23 -23
- package/__chunks__/{Checkbox-IhSMESiF.mjs → Checkbox-DxVLox7u.mjs} +23 -23
- package/__chunks__/{CodeSnippet-HAojQDBb.js → CodeSnippet-BT2hkAfu.js} +2 -2
- package/__chunks__/{CodeSnippet-DA3SuGi9.mjs → CodeSnippet-Duhq5nHT.mjs} +2 -2
- package/__chunks__/{DatePickerBase-DYuliQ2j.mjs → DatePickerBase-BeCCGUnY.mjs} +24 -24
- package/__chunks__/{DatePickerBase-PqJZhPW5.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-dPaIsmEG.mjs → HelpMenu-BAmSNUnC.mjs} +7 -7
- package/__chunks__/{HelpMenu-DttT1pkc.js → HelpMenu-D1cDon5L.js} +7 -7
- package/__chunks__/{HorizontalGrid-CyBrrh6k.mjs → HorizontalGrid-Ch9ENxEo.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-BFqXCljf.js → HorizontalGrid-kfsspHih.js} +1 -1
- package/__chunks__/{HorizontalStack-BG-lZii5.js → HorizontalStack-B1uZiaNX.js} +1 -1
- package/__chunks__/{HorizontalStack-p9m9muAJ.mjs → HorizontalStack-Dyv-5-kh.mjs} +1 -1
- package/__chunks__/{Icon-BHbBKuGB.js → Icon-BEiJGivA.js} +2 -2
- package/__chunks__/{Icon-ZRjQkfey.mjs → Icon-DOHoWHbH.mjs} +2 -2
- package/__chunks__/{InputCaption-DE7SnGJr.mjs → InputCaption-CySYnmNV.mjs} +2 -2
- package/__chunks__/{InputCaption-BQw7pLl1.js → InputCaption-Dj5fHEqX.js} +2 -2
- package/__chunks__/{InputField-1toY1X94.mjs → InputField-DA7g3X1G.mjs} +6 -6
- package/__chunks__/{InputField-e2dBsTrQ.js → InputField-DHwzYUj5.js} +6 -6
- package/__chunks__/{InputIcon-CKwsgYvg.mjs → InputIcon-DuUwLnBp.mjs} +31 -31
- package/__chunks__/{InputIcon-DM19rdNu.js → InputIcon-UgLsMyoE.js} +31 -31
- package/__chunks__/{KebabButton-CGvwEB3q.mjs → KebabButton-BIAHO0Cj.mjs} +5 -5
- package/__chunks__/{KebabButton-3APOVOtc.js → KebabButton-C-bMU56U.js} +5 -5
- package/__chunks__/{Menu-90Db_wYM.js → Menu-7hcIonxF.js} +43 -30
- package/__chunks__/{Menu-D7JiGJt4.mjs → Menu-BhWR0nq_.mjs} +43 -30
- package/__chunks__/{Notification-C4gEE6IM.mjs → Notification-BHHczfET.mjs} +17 -17
- package/__chunks__/{Notification-DZ0uDsoT.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-Bp5vfk6Z.mjs → PillGroup-CNUAWSR0.mjs} +135 -51
- package/__chunks__/{PillGroup-BetDOSFz.js → PillGroup-DJbLolMZ.js} +134 -50
- package/__chunks__/{RadioGroup-Qn2c29rT.js → RadioGroup-CeV2gCqE.js} +21 -21
- package/__chunks__/{RadioGroup-DPJOnxCi.mjs → RadioGroup-Cxj8sLXq.mjs} +21 -21
- package/__chunks__/{RangeCalendar-BNySCRAa.mjs → RangeCalendar-CzkbWcll.mjs} +1 -1
- package/__chunks__/{RangeCalendar-lhIzCnWl.js → RangeCalendar-GePc_84N.js} +1 -1
- package/__chunks__/{SelectOverlay-CoOED545.js → SelectOverlay-BduwEfhI.js} +28 -28
- package/__chunks__/{SelectOverlay-D12QgA_I.mjs → SelectOverlay-XpPaiSFA.mjs} +28 -28
- package/__chunks__/{SelectorErrorTooltip-CNinvIcU.js → SelectorErrorTooltip-CKfb04-I.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-Cz7Uw_O_.mjs → SelectorErrorTooltip-Dh0VAxiG.mjs} +4 -4
- package/__chunks__/{Spinner-DTH0xdij.js → Spinner-BKXdBoJJ.js} +5 -5
- package/__chunks__/{Spinner-Co64ezt-.mjs → Spinner-nrWHZuaA.mjs} +5 -5
- package/__chunks__/{Stepper-OFWKfhi3.mjs → Stepper-DJoTq-8d.mjs} +27 -27
- package/__chunks__/{Stepper-DqcfNOrn.js → Stepper-Dsu6ZQmh.js} +27 -27
- package/__chunks__/{TabNav-B44TuB70.mjs → TabNav-BPVFmoVS.mjs} +1 -1
- package/__chunks__/{TabNav-DzF57oTN.js → TabNav-Cdy2fWSb.js} +1 -1
- package/__chunks__/{Tabs-CsxDAl1X.js → Tabs-BwwFqtnK.js} +18 -18
- package/__chunks__/{Tabs-ClOwavjv.mjs → Tabs-MOd7gGYp.mjs} +18 -18
- package/__chunks__/{Text-BwXTDw77.js → Text-Bi6LyLI0.js} +34 -34
- package/__chunks__/{Text-DYLBjpe-.mjs → Text-FQhZrmyS.mjs} +34 -34
- package/__chunks__/{TextField-DVWDMYaM.mjs → TextField-Beqw4ytb.mjs} +1 -1
- package/__chunks__/{TextField-YD_1oSnk.js → TextField-DcwzlNPF.js} +1 -1
- package/__chunks__/{Toggle-gPKUf7QS.js → Toggle-DDgvulcD.js} +13 -13
- package/__chunks__/{Toggle-DiK1wHdG.mjs → Toggle-t9mfqH-0.mjs} +13 -13
- package/__chunks__/{Tooltip-DPZMv6Ia.js → Tooltip-BB9vKUHa.js} +12 -12
- package/__chunks__/{Tooltip-BX_C7x_7.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-C466n8W1.mjs → VerticalStack-Cth39m-n.mjs} +3 -3
- package/__chunks__/{VerticalStack-DIpmkisq.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-DU8I_hQ1.js → useEdgeInterceptors-BPijGinK.js} +5 -5
- package/__chunks__/{useEdgeInterceptors-BORL2txk.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
|
@@ -25,13 +25,13 @@ const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
|
25
25
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-CaF1VsOH.js");
|
|
26
26
|
const ReactDOM = require("react-dom");
|
|
27
27
|
const index = require("./index-CTw89HMx.js");
|
|
28
|
-
const Icon = require("./Icon-
|
|
29
|
-
const Text = require("./Text-
|
|
28
|
+
const Icon = require("./Icon-BEiJGivA.js");
|
|
29
|
+
const Text = require("./Text-Bi6LyLI0.js");
|
|
30
30
|
const utilities_css = require("../utilities/css.js");
|
|
31
|
-
const UnstyledButton = require("./UnstyledButton-
|
|
31
|
+
const UnstyledButton = require("./UnstyledButton-BNpFL1WV.js");
|
|
32
32
|
const context = require("./context-CYcq9Zvo.js");
|
|
33
|
-
const useFocusVisible = require("./useFocusVisible-
|
|
34
|
-
const useFocusWithin = require("./useFocusWithin-
|
|
33
|
+
const useFocusVisible = require("./useFocusVisible-CiIrKjuz.js");
|
|
34
|
+
const useFocusWithin = require("./useFocusWithin-C-45XiL1.js");
|
|
35
35
|
const useHover = require("./useHover-BIKwjrCT.js");
|
|
36
36
|
function _interopNamespaceDefault(e) {
|
|
37
37
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
@@ -1015,18 +1015,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
1015
1015
|
})
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
|
-
const statusPromotional = "
|
|
1019
|
-
const statusSuccess = "
|
|
1020
|
-
const statusNeutral = "
|
|
1021
|
-
const statusWarning = "
|
|
1022
|
-
const statusError = "
|
|
1023
|
-
const typeToast = "
|
|
1024
|
-
const typeAlert = "
|
|
1025
|
-
const Notification$1 = "
|
|
1026
|
-
const iconText = "
|
|
1027
|
-
const closeButton = "
|
|
1028
|
-
const region = "
|
|
1029
|
-
const container = "
|
|
1018
|
+
const statusPromotional = "_statusPromotional_95i1j_5";
|
|
1019
|
+
const statusSuccess = "_statusSuccess_95i1j_10";
|
|
1020
|
+
const statusNeutral = "_statusNeutral_95i1j_15";
|
|
1021
|
+
const statusWarning = "_statusWarning_95i1j_20";
|
|
1022
|
+
const statusError = "_statusError_95i1j_25";
|
|
1023
|
+
const typeToast = "_typeToast_95i1j_30";
|
|
1024
|
+
const typeAlert = "_typeAlert_95i1j_34";
|
|
1025
|
+
const Notification$1 = "_Notification_95i1j_39";
|
|
1026
|
+
const iconText = "_iconText_95i1j_55";
|
|
1027
|
+
const closeButton = "_closeButton_95i1j_61";
|
|
1028
|
+
const region = "_region_95i1j_70";
|
|
1029
|
+
const container = "_container_95i1j_76";
|
|
1030
1030
|
const styles = {
|
|
1031
1031
|
statusPromotional,
|
|
1032
1032
|
statusSuccess,
|
|
@@ -35,7 +35,7 @@ const useControlledState = require("./useControlledState-mnKBd6Uc.js");
|
|
|
35
35
|
const context = require("./context-CYcq9Zvo.js");
|
|
36
36
|
const mergeProps = require("./mergeProps-DniMwM6P.js");
|
|
37
37
|
const useObjectRef = require("./useObjectRef-BOGMJ5vM.js");
|
|
38
|
-
const FocusScope = require("./FocusScope-
|
|
38
|
+
const FocusScope = require("./FocusScope-Djtxzznf.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);
|
|
@@ -34,7 +34,7 @@ import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledS
|
|
|
34
34
|
import { c as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, b as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./context-EpOG85wC.mjs";
|
|
35
35
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DSi85raC.mjs";
|
|
36
36
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
37
|
-
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-
|
|
37
|
+
import { c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-Bwm5pVEe.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);
|
|
@@ -29,37 +29,38 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, useCallback,
|
|
33
|
-
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
34
|
-
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3,
|
|
32
|
+
import React__default, { useState, useMemo, useRef, useEffect, cloneElement, useContext, useCallback, createContext, forwardRef } from "react";
|
|
33
|
+
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-DShBPWIF.mjs";
|
|
34
|
+
import { $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$4d86445c2cf5e3, b as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-BIfsWYLR.mjs";
|
|
35
35
|
import { createPortal } from "react-dom";
|
|
36
36
|
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-DSi85raC.mjs";
|
|
37
37
|
import { s as shimExports } from "./index-DCSYt1ke.mjs";
|
|
38
|
+
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
38
39
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
40
|
import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-wU82Pkgx.mjs";
|
|
40
|
-
import { $ as $293f70390ea03370$export$497855f14858aa34, b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7 } from "./useListBoxSection-BsSdeGKp.mjs";
|
|
41
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
42
41
|
import { $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-AFrlkW73.mjs";
|
|
43
42
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-BZCcafjG.mjs";
|
|
44
43
|
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-B-keb3wA.mjs";
|
|
45
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-
|
|
46
|
-
import { $ as $
|
|
47
|
-
import { $ as $
|
|
44
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, b as $2a25aae57d74318e$export$a05409b8bb224a5a } from "./useSelectableList-DDqgQiaE.mjs";
|
|
45
|
+
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-CAwVEYPF.mjs";
|
|
46
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-DE2KtVaT.mjs";
|
|
47
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-Bwm5pVEe.mjs";
|
|
48
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
48
49
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-B6VplZ_n.mjs";
|
|
49
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
50
|
-
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-
|
|
51
|
-
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-
|
|
52
|
-
import { g as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-
|
|
53
|
-
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-
|
|
50
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-C1nTntXX.mjs";
|
|
51
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-DjuXbVSH.mjs";
|
|
52
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-YC8W7aRx.mjs";
|
|
53
|
+
import { g as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-U7SFXdpv.mjs";
|
|
54
|
+
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-wURtlgJt.mjs";
|
|
54
55
|
import { $ as $62d8ded9296f3872$export$cfa2225e87938781 } from "./getScrollParent-B5CCP-yO.mjs";
|
|
55
|
-
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-
|
|
56
|
+
import { $ as $6a99195332edec8b$export$80f3e147d781571c } from "./focusSafely-DByEWahg.mjs";
|
|
56
57
|
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-DCO_d3m1.mjs";
|
|
57
|
-
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-
|
|
58
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
58
|
+
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27, e as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-BWsOm7z5.mjs";
|
|
59
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-BB067hsf.mjs";
|
|
59
60
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
60
61
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
61
|
-
import { I as Icon } from "./Icon-
|
|
62
|
-
import { T as Text } from "./Text-
|
|
62
|
+
import { I as Icon } from "./Icon-DOHoWHbH.mjs";
|
|
63
|
+
import { T as Text } from "./Text-FQhZrmyS.mjs";
|
|
63
64
|
import { getResponsiveDesignToken, getComponentToken } from "../utilities/css.mjs";
|
|
64
65
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
65
66
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -780,8 +781,10 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
780
781
|
}, state, ref), { rowProps, gridCellProps } = _a, states = __objRest(_a, ["rowProps", "gridCellProps"]);
|
|
781
782
|
delete rowProps.onKeyDownCapture;
|
|
782
783
|
let _b = states, { descriptionProps: _ } = _b, stateWithoutDescription = __objRest(_b, ["descriptionProps"]);
|
|
784
|
+
let isDisabled = state.disabledKeys.has(item.key) || item.props.isDisabled;
|
|
783
785
|
let onKeyDown = (e) => {
|
|
784
786
|
if (e.key === "Delete" || e.key === "Backspace") {
|
|
787
|
+
if (isDisabled) return;
|
|
785
788
|
e.preventDefault();
|
|
786
789
|
if (state.selectionManager.isSelected(item.key)) onRemove === null || onRemove === void 0 ? void 0 : onRemove(new Set(state.selectionManager.selectedKeys));
|
|
787
790
|
else onRemove === null || onRemove === void 0 ? void 0 : onRemove(/* @__PURE__ */ new Set([
|
|
@@ -793,14 +796,17 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
793
796
|
if (modality === "virtual" && typeof window !== "undefined" && "ontouchstart" in window) modality = "pointer";
|
|
794
797
|
let description = onRemove && (modality === "keyboard" || modality === "virtual") ? stringFormatter.format("removeDescription") : "";
|
|
795
798
|
let descProps = $ef06256079686ba0$export$f8aeda7b10753fa1(description);
|
|
796
|
-
let
|
|
799
|
+
let isItemFocused = item.key === state.selectionManager.focusedKey;
|
|
800
|
+
let isFocused = state.selectionManager.focusedKey != null;
|
|
801
|
+
let tabIndex = -1;
|
|
802
|
+
if (!isDisabled && (isItemFocused || !isFocused)) tabIndex = 0;
|
|
797
803
|
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(item.props);
|
|
798
804
|
let linkProps = $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6(item.props);
|
|
799
805
|
return __spreadProps(__spreadValues({
|
|
800
806
|
removeButtonProps: {
|
|
801
807
|
"aria-label": stringFormatter.format("removeButtonLabel"),
|
|
802
808
|
"aria-labelledby": `${buttonId} ${rowProps.id}`,
|
|
803
|
-
isDisabled
|
|
809
|
+
isDisabled,
|
|
804
810
|
id: buttonId,
|
|
805
811
|
onPress: () => onRemove ? onRemove(/* @__PURE__ */ new Set([
|
|
806
812
|
item.key
|
|
@@ -808,7 +814,7 @@ function $fc6126c82a4601f1$export$3f568fff7dff2f03(props, state, ref) {
|
|
|
808
814
|
excludeFromTabOrder: true
|
|
809
815
|
},
|
|
810
816
|
rowProps: $3ef42575df84b30b$export$9d1611c77c2fe928(rowProps, domProps, linkProps, {
|
|
811
|
-
tabIndex
|
|
817
|
+
tabIndex,
|
|
812
818
|
onKeyDown: onRemove ? onKeyDown : void 0,
|
|
813
819
|
"aria-describedby": descProps["aria-describedby"]
|
|
814
820
|
}),
|
|
@@ -947,6 +953,78 @@ class $23b9f4fcf0fe224b$export$408d25a4e12db025 {
|
|
|
947
953
|
this.lastKey = lastKey;
|
|
948
954
|
this.frozen = !isSSR;
|
|
949
955
|
}
|
|
956
|
+
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
957
|
+
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
958
|
+
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
959
|
+
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
960
|
+
filter(filterFn) {
|
|
961
|
+
let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();
|
|
962
|
+
let lastNode = null;
|
|
963
|
+
for (let node of this) {
|
|
964
|
+
if (node.type === "section" && node.hasChildNodes) {
|
|
965
|
+
let clonedSection = node.clone();
|
|
966
|
+
let lastChildInSection = null;
|
|
967
|
+
for (let child of this.getChildren(node.key)) if (filterFn(child.textValue) || child.type === "header") {
|
|
968
|
+
let clonedChild = child.clone();
|
|
969
|
+
if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;
|
|
970
|
+
if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;
|
|
971
|
+
if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {
|
|
972
|
+
lastChildInSection.nextKey = clonedChild.key;
|
|
973
|
+
clonedChild.prevKey = lastChildInSection.key;
|
|
974
|
+
} else clonedChild.prevKey = null;
|
|
975
|
+
clonedChild.nextKey = null;
|
|
976
|
+
newCollection.addNode(clonedChild);
|
|
977
|
+
lastChildInSection = clonedChild;
|
|
978
|
+
}
|
|
979
|
+
if (lastChildInSection) {
|
|
980
|
+
if (lastChildInSection.type !== "header") {
|
|
981
|
+
clonedSection.lastChildKey = lastChildInSection.key;
|
|
982
|
+
if (lastNode == null) clonedSection.prevKey = null;
|
|
983
|
+
else if (lastNode.type === "section" || lastNode.type === "separator") {
|
|
984
|
+
lastNode.nextKey = clonedSection.key;
|
|
985
|
+
clonedSection.prevKey = lastNode.key;
|
|
986
|
+
}
|
|
987
|
+
clonedSection.nextKey = null;
|
|
988
|
+
lastNode = clonedSection;
|
|
989
|
+
newCollection.addNode(clonedSection);
|
|
990
|
+
} else {
|
|
991
|
+
if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;
|
|
992
|
+
newCollection.removeNode(lastChildInSection.key);
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
} else if (node.type === "separator") {
|
|
996
|
+
let clonedSeparator = node.clone();
|
|
997
|
+
clonedSeparator.nextKey = null;
|
|
998
|
+
if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === "section") {
|
|
999
|
+
lastNode.nextKey = clonedSeparator.key;
|
|
1000
|
+
clonedSeparator.prevKey = lastNode.key;
|
|
1001
|
+
lastNode = clonedSeparator;
|
|
1002
|
+
newCollection.addNode(clonedSeparator);
|
|
1003
|
+
}
|
|
1004
|
+
} else if (filterFn(node.textValue)) {
|
|
1005
|
+
let clonedNode = node.clone();
|
|
1006
|
+
if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;
|
|
1007
|
+
if (lastNode != null && lastNode.type !== "section" && lastNode.type !== "separator" && lastNode.parentKey === clonedNode.parentKey) {
|
|
1008
|
+
lastNode.nextKey = clonedNode.key;
|
|
1009
|
+
clonedNode.prevKey = lastNode.key;
|
|
1010
|
+
} else clonedNode.prevKey = null;
|
|
1011
|
+
clonedNode.nextKey = null;
|
|
1012
|
+
newCollection.addNode(clonedNode);
|
|
1013
|
+
lastNode = clonedNode;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === "separator" && lastNode.nextKey === null) {
|
|
1017
|
+
let lastSection;
|
|
1018
|
+
if (lastNode.prevKey != null) {
|
|
1019
|
+
lastSection = newCollection.getItem(lastNode.prevKey);
|
|
1020
|
+
lastSection.nextKey = null;
|
|
1021
|
+
}
|
|
1022
|
+
newCollection.removeNode(lastNode.key);
|
|
1023
|
+
lastNode = lastSection;
|
|
1024
|
+
}
|
|
1025
|
+
newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;
|
|
1026
|
+
return newCollection;
|
|
1027
|
+
}
|
|
950
1028
|
constructor() {
|
|
951
1029
|
this.keyMap = /* @__PURE__ */ new Map();
|
|
952
1030
|
this.firstKey = null;
|
|
@@ -1413,6 +1491,18 @@ function $e1995378a142960e$var$CollectionRoot({ children }) {
|
|
|
1413
1491
|
value: doc
|
|
1414
1492
|
}, wrappedChildren) : /* @__PURE__ */ createPortal(wrappedChildren, doc);
|
|
1415
1493
|
}
|
|
1494
|
+
const $01b77f81d0f07f68$export$75b6ee27786ba447 = /* @__PURE__ */ createContext({});
|
|
1495
|
+
const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb(function Label(props, ref) {
|
|
1496
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $01b77f81d0f07f68$export$75b6ee27786ba447);
|
|
1497
|
+
let _a = props, { elementType: ElementType = "label" } = _a, labelProps = __objRest(_a, ["elementType"]);
|
|
1498
|
+
return /* @__PURE__ */ React__default.createElement(ElementType, __spreadProps(__spreadValues({
|
|
1499
|
+
className: "react-aria-Label"
|
|
1500
|
+
}, labelProps), {
|
|
1501
|
+
ref
|
|
1502
|
+
}));
|
|
1503
|
+
});
|
|
1504
|
+
const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ createContext({});
|
|
1505
|
+
const $d2f53cda644affe3$export$65d2a03b8800d6e3 = /* @__PURE__ */ createContext(null);
|
|
1416
1506
|
const $7135fc7d473fd974$export$d40e14dec8b060a8 = /* @__PURE__ */ createContext(null);
|
|
1417
1507
|
const $7135fc7d473fd974$export$a164736487e3f0ae = {
|
|
1418
1508
|
CollectionRoot({ collection, renderDropIndicator }) {
|
|
@@ -1454,25 +1544,12 @@ function $7135fc7d473fd974$export$90e00781bc59d8f9(focusedKey) {
|
|
|
1454
1544
|
focusedKey
|
|
1455
1545
|
]);
|
|
1456
1546
|
}
|
|
1457
|
-
const $01b77f81d0f07f68$export$75b6ee27786ba447 = /* @__PURE__ */ createContext({});
|
|
1458
|
-
function $01b77f81d0f07f68$var$Label(props, ref) {
|
|
1459
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $01b77f81d0f07f68$export$75b6ee27786ba447);
|
|
1460
|
-
let _a = props, { elementType: ElementType = "label" } = _a, labelProps = __objRest(_a, ["elementType"]);
|
|
1461
|
-
return /* @__PURE__ */ React__default.createElement(ElementType, __spreadProps(__spreadValues({
|
|
1462
|
-
className: "react-aria-Label"
|
|
1463
|
-
}, labelProps), {
|
|
1464
|
-
ref
|
|
1465
|
-
}));
|
|
1466
|
-
}
|
|
1467
|
-
const $01b77f81d0f07f68$export$b04be29aa201d4f5 = /* @__PURE__ */ $f39a9eba43920ace$export$86427a43e3e48ebb($01b77f81d0f07f68$var$Label);
|
|
1468
|
-
const $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ createContext({});
|
|
1469
1547
|
const $612b8eb6cb90e02d$export$d188a835a7bc5783 = /* @__PURE__ */ createContext({});
|
|
1470
1548
|
const $612b8eb6cb90e02d$export$f55761759794cf55 = /* @__PURE__ */ createContext(null);
|
|
1471
|
-
|
|
1549
|
+
const $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 = /* @__PURE__ */ forwardRef(function DropIndicator(props, ref) {
|
|
1472
1550
|
let { render } = useContext($612b8eb6cb90e02d$export$f55761759794cf55);
|
|
1473
1551
|
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, render(props, ref));
|
|
1474
|
-
}
|
|
1475
|
-
const $612b8eb6cb90e02d$export$62ed72bc21f6b8a6 = /* @__PURE__ */ forwardRef($612b8eb6cb90e02d$var$DropIndicator);
|
|
1552
|
+
});
|
|
1476
1553
|
function $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState) {
|
|
1477
1554
|
var _dragAndDropHooks_isVirtualDragging;
|
|
1478
1555
|
let renderDropIndicator = dragAndDropHooks === null || dragAndDropHooks === void 0 ? void 0 : dragAndDropHooks.renderDropIndicator;
|
|
@@ -1512,7 +1589,7 @@ const $72a5793c14baf454$export$e0e4026c12a8bdbb = /* @__PURE__ */ createContext(
|
|
|
1512
1589
|
const $431f98aba6844401$export$6615d83f6de245ce = /* @__PURE__ */ createContext({});
|
|
1513
1590
|
const $eed445e0843c11d0$export$7ff8f37d2d81a48d = /* @__PURE__ */ createContext(null);
|
|
1514
1591
|
const $eed445e0843c11d0$export$7c5906fe4f1f2af2 = /* @__PURE__ */ createContext(null);
|
|
1515
|
-
|
|
1592
|
+
const $eed445e0843c11d0$export$41f133550aa26f48 = /* @__PURE__ */ forwardRef(function ListBox(props, ref) {
|
|
1516
1593
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $eed445e0843c11d0$export$7ff8f37d2d81a48d);
|
|
1517
1594
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
1518
1595
|
if (state) return /* @__PURE__ */ React__default.createElement($eed445e0843c11d0$var$ListBoxInner, {
|
|
@@ -1527,7 +1604,7 @@ function $eed445e0843c11d0$var$ListBox(props, ref) {
|
|
|
1527
1604
|
listBoxRef: ref,
|
|
1528
1605
|
collection
|
|
1529
1606
|
}));
|
|
1530
|
-
}
|
|
1607
|
+
});
|
|
1531
1608
|
function $eed445e0843c11d0$var$StandaloneListBox({ props, listBoxRef, collection }) {
|
|
1532
1609
|
props = __spreadProps(__spreadValues({}, props), {
|
|
1533
1610
|
collection,
|
|
@@ -1535,16 +1612,25 @@ function $eed445e0843c11d0$var$StandaloneListBox({ props, listBoxRef, collection
|
|
|
1535
1612
|
items: null
|
|
1536
1613
|
});
|
|
1537
1614
|
let { layoutDelegate } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
1615
|
+
let { filterFn, collectionProps, collectionRef } = useContext($d2f53cda644affe3$export$65d2a03b8800d6e3) || {};
|
|
1616
|
+
listBoxRef = $df56164dff5785e2$export$4338b53315abf666(useMemo(() => $5dc95899b306f630$export$c9058316764c140e(listBoxRef, collectionRef !== void 0 ? collectionRef : null), [
|
|
1617
|
+
collectionRef,
|
|
1618
|
+
listBoxRef
|
|
1619
|
+
]));
|
|
1620
|
+
let filteredCollection = useMemo(() => filterFn ? collection.filter(filterFn) : collection, [
|
|
1621
|
+
collection,
|
|
1622
|
+
filterFn
|
|
1623
|
+
]);
|
|
1538
1624
|
let state = $e72dd72e1c76a225$export$2f645645f7bca764(__spreadProps(__spreadValues({}, props), {
|
|
1625
|
+
collection: filteredCollection,
|
|
1539
1626
|
layoutDelegate
|
|
1540
1627
|
}));
|
|
1541
1628
|
return /* @__PURE__ */ React__default.createElement($eed445e0843c11d0$var$ListBoxInner, {
|
|
1542
1629
|
state,
|
|
1543
|
-
props,
|
|
1630
|
+
props: __spreadValues(__spreadValues({}, props), collectionProps),
|
|
1544
1631
|
listBoxRef
|
|
1545
1632
|
});
|
|
1546
1633
|
}
|
|
1547
|
-
const $eed445e0843c11d0$export$41f133550aa26f48 = /* @__PURE__ */ forwardRef($eed445e0843c11d0$var$ListBox);
|
|
1548
1634
|
function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
1549
1635
|
let { dragAndDropHooks, layout = "stack", orientation = "vertical" } = props;
|
|
1550
1636
|
let { collection, selectionManager } = state;
|
|
@@ -1696,7 +1782,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
|
1696
1782
|
$7135fc7d473fd974$export$d40e14dec8b060a8,
|
|
1697
1783
|
{
|
|
1698
1784
|
name: "ListBoxSection",
|
|
1699
|
-
render: $eed445e0843c11d0$var$
|
|
1785
|
+
render: $eed445e0843c11d0$var$ListBoxSectionInner
|
|
1700
1786
|
}
|
|
1701
1787
|
]
|
|
1702
1788
|
]
|
|
@@ -1707,7 +1793,7 @@ function $eed445e0843c11d0$var$ListBoxInner({ state, props, listBoxRef }) {
|
|
|
1707
1793
|
renderDropIndicator: $612b8eb6cb90e02d$export$971707d8a129a1f7(dragAndDropHooks, dropState)
|
|
1708
1794
|
})), emptyState, dragPreview));
|
|
1709
1795
|
}
|
|
1710
|
-
function $eed445e0843c11d0$var$
|
|
1796
|
+
function $eed445e0843c11d0$var$ListBoxSectionInner(props, ref, section, className = "react-aria-ListBoxSection") {
|
|
1711
1797
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
1712
1798
|
let { dragAndDropHooks, dropState } = useContext($612b8eb6cb90e02d$export$d188a835a7bc5783);
|
|
1713
1799
|
let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
@@ -1836,7 +1922,7 @@ function $eed445e0843c11d0$var$ListBoxDropIndicator(props, ref) {
|
|
|
1836
1922
|
const $eed445e0843c11d0$var$ListBoxDropIndicatorForwardRef = /* @__PURE__ */ forwardRef($eed445e0843c11d0$var$ListBoxDropIndicator);
|
|
1837
1923
|
const $eaf9e70818b436db$export$5b07b5dd2cbd96e3 = /* @__PURE__ */ createContext(null);
|
|
1838
1924
|
const $eaf9e70818b436db$export$e755ce3685dd0ca9 = /* @__PURE__ */ createContext(null);
|
|
1839
|
-
|
|
1925
|
+
const $eaf9e70818b436db$export$67ea30858aaf75e3 = /* @__PURE__ */ forwardRef(function TagGroup(props, ref) {
|
|
1840
1926
|
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $eaf9e70818b436db$export$5b07b5dd2cbd96e3);
|
|
1841
1927
|
return /* @__PURE__ */ React__default.createElement($e1995378a142960e$export$bf788dd355e3a401, {
|
|
1842
1928
|
content: props.children
|
|
@@ -1845,7 +1931,7 @@ function $eaf9e70818b436db$var$TagGroup(props, ref) {
|
|
|
1845
1931
|
forwardedRef: ref,
|
|
1846
1932
|
collection
|
|
1847
1933
|
}));
|
|
1848
|
-
}
|
|
1934
|
+
});
|
|
1849
1935
|
function $eaf9e70818b436db$var$TagGroupInner({ props, forwardedRef: ref, collection }) {
|
|
1850
1936
|
let tagListRef = useRef(null);
|
|
1851
1937
|
let [labelRef, label] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8();
|
|
@@ -1898,14 +1984,13 @@ function $eaf9e70818b436db$var$TagGroupInner({ props, forwardedRef: ref, collect
|
|
|
1898
1984
|
]
|
|
1899
1985
|
}, props.children));
|
|
1900
1986
|
}
|
|
1901
|
-
const $eaf9e70818b436db$export$
|
|
1902
|
-
function $eaf9e70818b436db$var$TagList(props, ref) {
|
|
1987
|
+
const $eaf9e70818b436db$export$f9fef0f55402315b = /* @__PURE__ */ forwardRef(function TagList(props, ref) {
|
|
1903
1988
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
1904
1989
|
return state ? /* @__PURE__ */ React__default.createElement($eaf9e70818b436db$var$TagListInner, {
|
|
1905
1990
|
props,
|
|
1906
1991
|
forwardedRef: ref
|
|
1907
1992
|
}) : /* @__PURE__ */ React__default.createElement($e1995378a142960e$export$fb8073518f34e6ec, props);
|
|
1908
|
-
}
|
|
1993
|
+
});
|
|
1909
1994
|
function $eaf9e70818b436db$var$TagListInner({ props, forwardedRef }) {
|
|
1910
1995
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
1911
1996
|
let { CollectionRoot } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
@@ -1936,7 +2021,6 @@ function $eaf9e70818b436db$var$TagListInner({ props, forwardedRef }) {
|
|
|
1936
2021
|
persistedKeys
|
|
1937
2022
|
}));
|
|
1938
2023
|
}
|
|
1939
|
-
const $eaf9e70818b436db$export$f9fef0f55402315b = /* @__PURE__ */ forwardRef($eaf9e70818b436db$var$TagList);
|
|
1940
2024
|
const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a142960e$export$18af5c7a9e9b3664("item", (props, forwardedRef, item) => {
|
|
1941
2025
|
let state = useContext($eed445e0843c11d0$export$7c5906fe4f1f2af2);
|
|
1942
2026
|
let ref = $df56164dff5785e2$export$4338b53315abf666(forwardedRef);
|
|
@@ -2000,9 +2084,9 @@ const $eaf9e70818b436db$export$3288d34c523a1192 = /* @__PURE__ */ $e1995378a1429
|
|
|
2000
2084
|
]
|
|
2001
2085
|
}, renderProps.children)));
|
|
2002
2086
|
});
|
|
2003
|
-
const Pill$1 = "
|
|
2004
|
-
const remove = "
|
|
2005
|
-
const list = "
|
|
2087
|
+
const Pill$1 = "_Pill_qdj5d_5";
|
|
2088
|
+
const remove = "_remove_qdj5d_14";
|
|
2089
|
+
const list = "_list_qdj5d_26";
|
|
2006
2090
|
const styles = {
|
|
2007
2091
|
Pill: Pill$1,
|
|
2008
2092
|
remove,
|