@easypost/easy-ui 1.0.0-alpha.65 → 1.0.0-alpha.66
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 +6 -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 +13 -13
- package/CodeBlock/index.mjs +13 -13
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +57 -57
- package/DataGrid/index.mjs +58 -58
- package/DatePicker/index.js +3 -3
- package/DatePicker/index.mjs +5 -5
- package/DateRangePicker/index.js +3 -3
- package/DateRangePicker/index.mjs +5 -5
- package/Drawer/index.js +18 -18
- package/Drawer/index.mjs +22 -22
- package/DropdownButton/index.js +12 -12
- package/DropdownButton/index.mjs +12 -12
- 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 +41 -231
- package/ForgeLayout/index.mjs +40 -230
- 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 +12 -12
- package/IconButton/index.mjs +12 -12
- 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/MenuOverlay.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Menu/utilities.d.ts +3 -0
- package/Menu/utilities.d.ts.map +1 -1
- package/Modal/index.js +19 -19
- package/Modal/index.mjs +23 -23
- package/MultiSelect/MultiSelect.d.ts +123 -0
- package/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.stories.d.ts +11 -0
- package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
- package/MultiSelect/MultiSelect.test.d.ts +2 -0
- package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
- package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
- package/MultiSelect/index.d.ts +2 -0
- package/MultiSelect/index.d.ts.map +1 -0
- package/MultiSelect/index.js +1989 -0
- package/MultiSelect/index.mjs +1974 -0
- package/MultiSelect/utilities.d.ts +3 -0
- package/MultiSelect/utilities.d.ts.map +1 -0
- package/NexusLayout/index.js +28 -28
- package/NexusLayout/index.mjs +28 -28
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +7 -7
- package/Pagination/index.mjs +7 -7
- package/PillGroup/index.js +3 -1681
- package/PillGroup/index.mjs +3 -1681
- package/ProductLayout/index.js +21 -21
- package/ProductLayout/index.mjs +25 -25
- package/Provider/index.js +1 -1
- package/Provider/index.mjs +1 -1
- package/RadioButtonGroup/index.js +3 -3
- package/RadioButtonGroup/index.mjs +3 -3
- 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 +1 -1
- package/TabPanels/index.mjs +2 -2
- 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/VerticalNav/index.js +24 -24
- package/VerticalNav/index.mjs +24 -24
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-CDRssWxC.mjs → Button-BqogJAQ3.mjs} +3 -3
- package/__chunks__/{Button-DXhw-VUb.js → Button-CVaEK94Q.js} +18 -18
- package/__chunks__/{Button-lb6KY-VK.mjs → Button-CVbi-24J.mjs} +18 -18
- package/__chunks__/{Button-BvLvcmfd.js → Button-Y550ybuK.js} +1 -1
- package/__chunks__/{Calendar-ChbA9Ste.mjs → Calendar-C2JlXaSY.mjs} +1 -1
- package/__chunks__/{Calendar-D-oFF4f4.js → Calendar-CmF_v-Dn.js} +1 -1
- package/__chunks__/{CalendarBase-oPvH2YM1.js → CalendarBase-Cavy4k_H.js} +18 -18
- package/__chunks__/{CalendarBase-DC8WR7md.mjs → CalendarBase-aeU9JZC2.mjs} +18 -18
- package/__chunks__/{Card-CWv2re8Z.mjs → Card-B5c1vM8E.mjs} +12 -12
- package/__chunks__/{Card-CRFM7MOD.js → Card-BHZOcCVB.js} +12 -12
- package/__chunks__/{Checkbox-B7eahvPN.js → Checkbox-BmtLwm3J.js} +19 -19
- package/__chunks__/{Checkbox-XDmnzjIx.mjs → Checkbox-IhSMESiF.mjs} +20 -20
- package/__chunks__/{CodeSnippet-CnjYkoJo.mjs → CodeSnippet-DA3SuGi9.mjs} +2 -2
- package/__chunks__/{CodeSnippet-FCgb2RfQ.js → CodeSnippet-HAojQDBb.js} +2 -2
- package/__chunks__/{DatePickerBase-B9g5PeHi.mjs → DatePickerBase-DYuliQ2j.mjs} +20 -64
- package/__chunks__/{DatePickerBase-DMmeUEou.js → DatePickerBase-PqJZhPW5.js} +18 -62
- package/__chunks__/Dialog-CFyC5TFs.js +232 -0
- package/__chunks__/Dialog-DnCSZh3s.mjs +233 -0
- package/__chunks__/{HelpMenu-BjEMVfGE.js → HelpMenu-DttT1pkc.js} +6 -6
- package/__chunks__/{HelpMenu-DWvUM5hz.mjs → HelpMenu-dPaIsmEG.mjs} +6 -6
- package/__chunks__/{HorizontalGrid-BZX-WluO.js → HorizontalGrid-BFqXCljf.js} +1 -1
- package/__chunks__/{HorizontalGrid-DGrPEAhQ.mjs → HorizontalGrid-CyBrrh6k.mjs} +1 -1
- package/__chunks__/{HorizontalStack-VtCu2VMx.js → HorizontalStack-BG-lZii5.js} +1 -1
- package/__chunks__/{HorizontalStack--Qc3cVBd.mjs → HorizontalStack-p9m9muAJ.mjs} +1 -1
- package/__chunks__/{Icon-BDa4XL_V.js → Icon-BHbBKuGB.js} +2 -2
- package/__chunks__/{Icon-BD88DLNr.mjs → Icon-ZRjQkfey.mjs} +2 -2
- package/__chunks__/{InputCaption-DKZRO84o.js → InputCaption-BQw7pLl1.js} +2 -2
- package/__chunks__/{InputCaption-DYFfypKt.mjs → InputCaption-DE7SnGJr.mjs} +2 -2
- package/__chunks__/{InputField-Bv1SfmUB.mjs → InputField-1toY1X94.mjs} +6 -89
- package/__chunks__/{InputField-C7Ti5JNz.js → InputField-e2dBsTrQ.js} +6 -89
- package/__chunks__/{InputIcon-VzRxuUky.mjs → InputIcon-CKwsgYvg.mjs} +31 -31
- package/__chunks__/{InputIcon-c-x0Whak.js → InputIcon-DM19rdNu.js} +31 -31
- package/__chunks__/{KebabButton-CdlmuIRm.js → KebabButton-3APOVOtc.js} +4 -4
- package/__chunks__/{KebabButton-TgeYkgj5.mjs → KebabButton-CGvwEB3q.mjs} +4 -4
- package/__chunks__/{Menu-C1Q0RfOp.js → Menu-90Db_wYM.js} +22 -62
- package/__chunks__/{Menu-BL0okgwD.mjs → Menu-D7JiGJt4.mjs} +22 -62
- package/__chunks__/{Notification-CZS59-s8.mjs → Notification-C4gEE6IM.mjs} +14 -14
- package/__chunks__/{Notification-D7fRjiAH.js → Notification-DZ0uDsoT.js} +14 -14
- package/__chunks__/{Overlay-DyfvFsGi.mjs → Overlay-BEmOdNIB.mjs} +3 -3
- package/__chunks__/PillGroup-BetDOSFz.js +2061 -0
- package/__chunks__/PillGroup-Bp5vfk6Z.mjs +2062 -0
- package/__chunks__/{RadioGroup-D3RN5LLn.mjs → RadioGroup-DPJOnxCi.mjs} +16 -16
- package/__chunks__/{RadioGroup-CYlZvoxh.js → RadioGroup-Qn2c29rT.js} +15 -15
- package/__chunks__/{RangeCalendar-D5t6FuZp.mjs → RangeCalendar-BNySCRAa.mjs} +1 -1
- package/__chunks__/{RangeCalendar-0Zt6GJAs.js → RangeCalendar-lhIzCnWl.js} +1 -1
- package/__chunks__/{SelectOverlay-XRIcujy9.js → SelectOverlay-CoOED545.js} +28 -188
- package/__chunks__/{SelectOverlay-DAJ9-Wye.mjs → SelectOverlay-D12QgA_I.mjs} +29 -189
- package/__chunks__/{SelectorErrorTooltip-r2APVg60.js → SelectorErrorTooltip-CNinvIcU.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-BSNUFpGD.mjs → SelectorErrorTooltip-Cz7Uw_O_.mjs} +4 -4
- package/__chunks__/{Spinner-C6CoASxe.mjs → Spinner-Co64ezt-.mjs} +5 -5
- package/__chunks__/{Spinner-D9lZ3erf.js → Spinner-DTH0xdij.js} +5 -5
- package/__chunks__/{Stepper-D0YDhoPF.js → Stepper-DqcfNOrn.js} +25 -25
- package/__chunks__/{Stepper-BRecUCpd.mjs → Stepper-OFWKfhi3.mjs} +25 -25
- package/__chunks__/{TabNav-BzeG4JrK.mjs → TabNav-B44TuB70.mjs} +1 -1
- package/__chunks__/{TabNav-ipa33NIM.js → TabNav-DzF57oTN.js} +1 -1
- package/__chunks__/{Tabs-CsOlVyHJ.mjs → Tabs-ClOwavjv.mjs} +17 -17
- package/__chunks__/{Tabs-CDUhh-Bz.js → Tabs-CsxDAl1X.js} +17 -17
- package/__chunks__/{Text-CntV2Frc.js → Text-BwXTDw77.js} +34 -34
- package/__chunks__/{Text-BHyjSBcd.mjs → Text-DYLBjpe-.mjs} +34 -34
- package/__chunks__/{TextField-Ca_M-pak.mjs → TextField-DVWDMYaM.mjs} +1 -1
- package/__chunks__/{TextField-CBWpUHdy.js → TextField-YD_1oSnk.js} +1 -1
- package/__chunks__/{Toggle-BxtpUTDA.mjs → Toggle-DiK1wHdG.mjs} +11 -11
- package/__chunks__/{Toggle-C6ICkaF-.js → Toggle-gPKUf7QS.js} +11 -11
- package/__chunks__/{Tooltip-BK6l0C3n.mjs → Tooltip-BX_C7x_7.mjs} +10 -10
- package/__chunks__/{Tooltip-cqSETep4.js → Tooltip-DPZMv6Ia.js} +8 -8
- package/__chunks__/{VerticalStack-BVtgNZrG.mjs → VerticalStack-C466n8W1.mjs} +3 -3
- package/__chunks__/{VerticalStack-B7auhieq.js → VerticalStack-DIpmkisq.js} +3 -3
- package/__chunks__/{useDialog-c-C07qhw.mjs → useDialog-h-MPfyGr.mjs} +1 -1
- package/__chunks__/{useEdgeInterceptors-DrJ9MQmY.mjs → useEdgeInterceptors-BORL2txk.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-Bvg1fK8h.js → useEdgeInterceptors-DU8I_hQ1.js} +5 -5
- package/__chunks__/useFilter-D-K0Oj-7.mjs +65 -0
- package/__chunks__/useFilter-DpnZ54nd.js +64 -0
- package/__chunks__/{useFormValidation-v2O6VL2V.mjs → useFormValidation-B3euLzzR.mjs} +4 -4
- package/__chunks__/useListBoxSection-BlFRlBZy.js +192 -0
- package/__chunks__/useListBoxSection-BsSdeGKp.mjs +193 -0
- package/__chunks__/{useTriggerWidth-CRz8zSDa.mjs → useMenuTrigger-D4pQ727R.mjs} +3 -130
- package/__chunks__/{useTriggerWidth-Dj7C0lza.js → useMenuTrigger-qbIPy-fg.js} +0 -127
- package/__chunks__/useMenuTriggerState-Cf_X36NC.mjs +67 -0
- package/__chunks__/useMenuTriggerState-Dai3rheB.js +66 -0
- package/__chunks__/{useModalOverlay-S0R2uVTX.mjs → useModalOverlay-CkOujl0G.mjs} +1 -1
- package/__chunks__/{useOverlayPosition-BjK7cu6U.mjs → useOverlayPosition-dua8TTSS.mjs} +1 -1
- package/__chunks__/{useOverlayTrigger-DDcXdZOM.mjs → useOverlayTrigger-BS8c6XEz.mjs} +1 -1
- package/__chunks__/{useSelectableItem-D61t76J1.mjs → useSelectableItem-B8l2VAQ8.mjs} +2 -2
- package/__chunks__/{useSelectableList-UkBCcTuC.js → useSelectableList-CzTJAukw.js} +15 -0
- package/__chunks__/{useSelectableList-BdG5I7cy.mjs → useSelectableList-DsUuWr0P.mjs} +18 -3
- package/__chunks__/useTextField-CErFc3WZ.js +106 -0
- package/__chunks__/useTextField-Dd-YTxI4.mjs +107 -0
- package/__chunks__/useTriggerWidth-B-IM2wNY.js +132 -0
- package/__chunks__/useTriggerWidth-CAYuGPNq.mjs +133 -0
- package/__chunks__/{utilities-CaBPUKEB.js → utilities-BDABIMDb.js} +4 -0
- package/__chunks__/{utilities-DASknbaa.mjs → utilities-DpKIaDkW.mjs} +5 -1
- package/__chunks__/{utils-D4ddhsBL.mjs → utils-Dt6xdGol.mjs} +10 -2
- package/__chunks__/{utils-DIF5XAA2.js → utils-eHk7b-OB.js} +8 -0
- package/package.json +1 -1
- package/style.css +1609 -1445
- package/utilities/storybook.d.ts +1 -0
- package/utilities/storybook.d.ts.map +1 -1
|
@@ -29,69 +29,28 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import React__default, {
|
|
32
|
+
import React__default, { createContext, useContext, useCallback, useMemo } from "react";
|
|
33
33
|
import { o as omit } from "./omit-B_jU3Uog.mjs";
|
|
34
|
-
import { C as Checkbox } from "./Checkbox-
|
|
35
|
-
import { T as Text } from "./Text-
|
|
36
|
-
import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER,
|
|
34
|
+
import { C as Checkbox } from "./Checkbox-IhSMESiF.mjs";
|
|
35
|
+
import { T as Text } from "./Text-DYLBjpe-.mjs";
|
|
36
|
+
import { S as SELECT_ALL_KEY, i as isSelectAllSelected, e as isSelectAllIndeterminate, u as useSelectionCapture, $ as $f2f8a6077418541e$export$542a6fd13ac93354, f as filterSelectedKeys, g as getUnmergedPopoverStyles, a as $86ea4cb521eb2e37$export$2317d149ed6f78c4, b as DEFAULT_MAX_ITEMS_UNTIL_SCROLL, d as DEFAULT_PLACEMENT, D as DEFAULT_WIDTH, O as OVERLAY_PADDING_FROM_CONTAINER, h as getMenuPopoverMaxHeight, c as OVERLAY_OFFSET } from "./utilities-DpKIaDkW.mjs";
|
|
37
37
|
import { $ as $c1d7fb2ec91bae71$export$6d08773d2e66f8f2 } from "./Item-BhrTPNN2.mjs";
|
|
38
38
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, b as $bdb11010cef70236$export$b4cc09c592e8fdb8, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DSi85raC.mjs";
|
|
39
39
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
40
|
-
import { $ as $982254629710d113$export$b95089534ab7c1fd } from "./useSelectableList-
|
|
40
|
+
import { $ as $982254629710d113$export$b95089534ab7c1fd, a as $453cc9f0df89c0a5$export$77d5aafae4e095b2 } from "./useSelectableList-DsUuWr0P.mjs";
|
|
41
41
|
import { a as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, $ as $f6c31cce2adf654f$export$45712eceda6fad21, b as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18 } from "./usePress-Db4pSZfY.mjs";
|
|
42
|
-
import { $ as $453cc9f0df89c0a5$export$77d5aafae4e095b2, b as $9fc4852771d079eb$export$6e2c8f0811a474ce, c as $f4b273590fab9f93$export$52210f68a14655d0, a as $168583247155ddda$export$dc9c12ed27dd1b49, u as useTriggerWidth } from "./useTriggerWidth-CRz8zSDa.mjs";
|
|
43
42
|
import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-BJ7JikEx.mjs";
|
|
44
43
|
import { b as $507fabe10e71c6fb$export$b9b3dfddab17db27 } from "./useFocusVisible-ng1Hn25t.mjs";
|
|
45
44
|
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-BOYR4wqI.mjs";
|
|
46
45
|
import { a as $46d819fcbaf35654$export$8f71654801c2f7cd } from "./useFocusable-CNor_Zjt.mjs";
|
|
47
|
-
import {
|
|
46
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-B8l2VAQ8.mjs";
|
|
48
47
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.mjs";
|
|
49
48
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
50
|
-
import {
|
|
49
|
+
import { $ as $9fc4852771d079eb$export$6e2c8f0811a474ce, a as $f4b273590fab9f93$export$52210f68a14655d0, u as useTriggerWidth } from "./useTriggerWidth-CAYuGPNq.mjs";
|
|
50
|
+
import { d as $337b884510726a0d$export$c6fdb837b070b4ff } from "./Overlay-BEmOdNIB.mjs";
|
|
51
51
|
import { $ as $875d6693e12af071$export$728d6ba534403756 } from "./useTreeState-w_raYfy2.mjs";
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
55
|
-
let [expandedKeysStack, setExpandedKeysStack] = useState([]);
|
|
56
|
-
let closeAll = () => {
|
|
57
|
-
setExpandedKeysStack([]);
|
|
58
|
-
overlayTriggerState.close();
|
|
59
|
-
};
|
|
60
|
-
let openSubmenu = (triggerKey, level) => {
|
|
61
|
-
setExpandedKeysStack((oldStack) => {
|
|
62
|
-
if (level > oldStack.length) return oldStack;
|
|
63
|
-
return [
|
|
64
|
-
...oldStack.slice(0, level),
|
|
65
|
-
triggerKey
|
|
66
|
-
];
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
let closeSubmenu = (triggerKey, level) => {
|
|
70
|
-
setExpandedKeysStack((oldStack) => {
|
|
71
|
-
let key = oldStack[level];
|
|
72
|
-
if (key === triggerKey) return oldStack.slice(0, level);
|
|
73
|
-
else return oldStack;
|
|
74
|
-
});
|
|
75
|
-
};
|
|
76
|
-
return __spreadProps(__spreadValues({
|
|
77
|
-
focusStrategy
|
|
78
|
-
}, overlayTriggerState), {
|
|
79
|
-
open(focusStrategy2 = null) {
|
|
80
|
-
setFocusStrategy(focusStrategy2);
|
|
81
|
-
overlayTriggerState.open();
|
|
82
|
-
},
|
|
83
|
-
toggle(focusStrategy2 = null) {
|
|
84
|
-
setFocusStrategy(focusStrategy2);
|
|
85
|
-
overlayTriggerState.toggle();
|
|
86
|
-
},
|
|
87
|
-
close() {
|
|
88
|
-
closeAll();
|
|
89
|
-
},
|
|
90
|
-
expandedKeysStack,
|
|
91
|
-
openSubmenu,
|
|
92
|
-
closeSubmenu
|
|
93
|
-
});
|
|
94
|
-
}
|
|
52
|
+
import { $ as $a28c903ee9ad8dc5$export$79fefeb1c2091ac3 } from "./useMenuTriggerState-Cf_X36NC.mjs";
|
|
53
|
+
import { $ as $168583247155ddda$export$dc9c12ed27dd1b49 } from "./useMenuTrigger-D4pQ727R.mjs";
|
|
95
54
|
const $d5336fe17ce95402$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
|
|
96
55
|
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
97
56
|
let _a = props, { shouldFocusWrap = true, onKeyDown, onKeyUp } = _a, otherProps = __objRest(_a, ["shouldFocusWrap", "onKeyDown", "onKeyUp"]);
|
|
@@ -299,15 +258,15 @@ function useInternalMenuContext() {
|
|
|
299
258
|
}
|
|
300
259
|
return menuContext;
|
|
301
260
|
}
|
|
302
|
-
const underlay = "
|
|
303
|
-
const root = "
|
|
304
|
-
const menu = "
|
|
305
|
-
const menuList = "
|
|
306
|
-
const sectionList = "
|
|
307
|
-
const sectionTitle = "
|
|
308
|
-
const itemContent = "
|
|
309
|
-
const separator = "
|
|
310
|
-
const item = "
|
|
261
|
+
const underlay = "_underlay_1pq0e_5";
|
|
262
|
+
const root = "_root_1pq0e_10";
|
|
263
|
+
const menu = "_menu_1pq0e_74";
|
|
264
|
+
const menuList = "_menuList_1pq0e_79";
|
|
265
|
+
const sectionList = "_sectionList_1pq0e_80";
|
|
266
|
+
const sectionTitle = "_sectionTitle_1pq0e_86";
|
|
267
|
+
const itemContent = "_itemContent_1pq0e_93";
|
|
268
|
+
const separator = "_separator_1pq0e_94";
|
|
269
|
+
const item = "_item_1pq0e_93";
|
|
311
270
|
const styles = {
|
|
312
271
|
underlay,
|
|
313
272
|
root,
|
|
@@ -423,7 +382,9 @@ function MenuOverlayContent(props) {
|
|
|
423
382
|
const { menuTriggerState, triggerRef, triggerWidth, menuPropsFromTrigger } = useInternalMenuContext();
|
|
424
383
|
const { popoverProps, underlayProps } = $f2f8a6077418541e$export$542a6fd13ac93354({
|
|
425
384
|
containerPadding: OVERLAY_PADDING_FROM_CONTAINER,
|
|
426
|
-
maxHeight:
|
|
385
|
+
maxHeight: getMenuPopoverMaxHeight({
|
|
386
|
+
maxItemsUntilScroll
|
|
387
|
+
}),
|
|
427
388
|
offset: OVERLAY_OFFSET,
|
|
428
389
|
placement,
|
|
429
390
|
popoverRef,
|
|
@@ -528,6 +489,5 @@ Menu.Overlay = MenuOverlay;
|
|
|
528
489
|
Menu.Section = MenuSection;
|
|
529
490
|
Menu.Item = MenuItem;
|
|
530
491
|
export {
|
|
531
|
-
$a28c903ee9ad8dc5$export$79fefeb1c2091ac3 as $,
|
|
532
492
|
Menu as M
|
|
533
493
|
};
|
|
@@ -25,8 +25,8 @@ import { c as $bdb11010cef70236$export$f680877a34711e37, b as $bdb11010cef70236$
|
|
|
25
25
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-BHXy3Wtu.mjs";
|
|
26
26
|
import { createPortal } from "react-dom";
|
|
27
27
|
import { s as shimExports } from "./index-DCSYt1ke.mjs";
|
|
28
|
-
import { I as Icon } from "./Icon-
|
|
29
|
-
import { T as Text } from "./Text-
|
|
28
|
+
import { I as Icon } from "./Icon-ZRjQkfey.mjs";
|
|
29
|
+
import { T as Text } from "./Text-DYLBjpe-.mjs";
|
|
30
30
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
31
31
|
import { U as UnstyledButton } from "./UnstyledButton-Ctqv-3bt.mjs";
|
|
32
32
|
import { a as $7215afc6de606d6b$export$de79e2c695e052f3 } from "./context-EpOG85wC.mjs";
|
|
@@ -998,18 +998,18 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
|
|
|
998
998
|
})
|
|
999
999
|
};
|
|
1000
1000
|
}
|
|
1001
|
-
const statusPromotional = "
|
|
1002
|
-
const statusSuccess = "
|
|
1003
|
-
const statusNeutral = "
|
|
1004
|
-
const statusWarning = "
|
|
1005
|
-
const statusError = "
|
|
1006
|
-
const typeToast = "
|
|
1007
|
-
const typeAlert = "
|
|
1008
|
-
const Notification$1 = "
|
|
1009
|
-
const iconText = "
|
|
1010
|
-
const closeButton = "
|
|
1011
|
-
const region = "
|
|
1012
|
-
const container = "
|
|
1001
|
+
const statusPromotional = "_statusPromotional_1x2gs_5";
|
|
1002
|
+
const statusSuccess = "_statusSuccess_1x2gs_10";
|
|
1003
|
+
const statusNeutral = "_statusNeutral_1x2gs_15";
|
|
1004
|
+
const statusWarning = "_statusWarning_1x2gs_20";
|
|
1005
|
+
const statusError = "_statusError_1x2gs_25";
|
|
1006
|
+
const typeToast = "_typeToast_1x2gs_30";
|
|
1007
|
+
const typeAlert = "_typeAlert_1x2gs_34";
|
|
1008
|
+
const Notification$1 = "_Notification_1x2gs_39";
|
|
1009
|
+
const iconText = "_iconText_1x2gs_55";
|
|
1010
|
+
const closeButton = "_closeButton_1x2gs_61";
|
|
1011
|
+
const region = "_region_1x2gs_70";
|
|
1012
|
+
const container = "_container_1x2gs_76";
|
|
1013
1013
|
const styles = {
|
|
1014
1014
|
statusPromotional,
|
|
1015
1015
|
statusSuccess,
|
|
@@ -25,8 +25,8 @@ 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-BHbBKuGB.js");
|
|
29
|
+
const Text = require("./Text-BwXTDw77.js");
|
|
30
30
|
const utilities_css = require("../utilities/css.js");
|
|
31
31
|
const UnstyledButton = require("./UnstyledButton-Dmq9K7Jv.js");
|
|
32
32
|
const context = require("./context-CYcq9Zvo.js");
|
|
@@ -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_1x2gs_5";
|
|
1019
|
+
const statusSuccess = "_statusSuccess_1x2gs_10";
|
|
1020
|
+
const statusNeutral = "_statusNeutral_1x2gs_15";
|
|
1021
|
+
const statusWarning = "_statusWarning_1x2gs_20";
|
|
1022
|
+
const statusError = "_statusError_1x2gs_25";
|
|
1023
|
+
const typeToast = "_typeToast_1x2gs_30";
|
|
1024
|
+
const typeAlert = "_typeAlert_1x2gs_34";
|
|
1025
|
+
const Notification$1 = "_Notification_1x2gs_39";
|
|
1026
|
+
const iconText = "_iconText_1x2gs_55";
|
|
1027
|
+
const closeButton = "_closeButton_1x2gs_61";
|
|
1028
|
+
const region = "_region_1x2gs_70";
|
|
1029
|
+
const container = "_container_1x2gs_76";
|
|
1030
1030
|
const styles = {
|
|
1031
1031
|
statusPromotional,
|
|
1032
1032
|
statusSuccess,
|
|
@@ -157,9 +157,9 @@ function $337b884510726a0d$export$14c98a7594375490() {
|
|
|
157
157
|
}
|
|
158
158
|
export {
|
|
159
159
|
$dd149f63282afbbf$export$f6211563215e3b37 as $,
|
|
160
|
-
$
|
|
161
|
-
$
|
|
162
|
-
$
|
|
160
|
+
$fc909762b330b746$export$61c6a8c84e605fb6 as a,
|
|
161
|
+
$337b884510726a0d$export$14c98a7594375490 as b,
|
|
162
|
+
$dd149f63282afbbf$export$18fc8428861184da as c,
|
|
163
163
|
$337b884510726a0d$export$c6fdb837b070b4ff as d,
|
|
164
164
|
$f1ab8c75478c6f73$export$3351871ee4b288b8 as e
|
|
165
165
|
};
|