@easypost/easy-ui 1.0.0-alpha.75 → 1.0.0-alpha.77
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/Badge.d.ts +11 -0
- package/Badge/Badge.d.ts.map +1 -1
- package/Badge/index.js +19 -15
- package/Badge/index.mjs +19 -15
- package/Banner/index.js +1 -1
- package/Banner/index.mjs +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +23 -0
- package/Calendar/index.js +1 -1
- package/Calendar/index.mjs +1 -1
- package/Card/Card.d.ts +2 -0
- package/Card/Card.d.ts.map +1 -1
- package/Card/index.js +1 -1
- package/Card/index.mjs +1 -1
- package/CheckableCard/index.js +3 -3
- package/CheckableCard/index.mjs +3 -3
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/index.js +4 -4
- package/CodeBlock/index.mjs +7 -7
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +5 -5
- package/DataGrid/index.mjs +17 -17
- package/DatePicker/index.js +3 -3
- package/DatePicker/index.mjs +7 -7
- package/DateRangePicker/index.js +3 -3
- package/DateRangePicker/index.mjs +7 -7
- package/Drawer/index.js +4 -1686
- package/Drawer/index.mjs +6 -1688
- package/DropdownButton/index.mjs +1 -1
- package/EmptyStateCard/index.js +2 -2
- package/EmptyStateCard/index.mjs +2 -2
- package/FocusedProductLayout/index.js +2 -2
- package/FocusedProductLayout/index.mjs +4 -4
- package/ForgeLayout/index.js +4 -4
- package/ForgeLayout/index.mjs +11 -11
- package/FormLayout/index.js +1 -1
- package/FormLayout/index.mjs +1 -1
- package/IconButton/index.js +1 -1
- package/IconButton/index.mjs +2 -2
- 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 +1 -1
- package/Modal/index.mjs +6 -6
- package/MultiSelect/index.js +3 -3
- package/MultiSelect/index.mjs +20 -20
- package/NexusLayout/index.js +2 -2
- package/NexusLayout/index.mjs +6 -6
- package/Notification/Notification.d.ts +12 -1
- package/Notification/Notification.d.ts.map +1 -1
- package/Notification/NotificationContainer.d.ts.map +1 -1
- package/Notification/NotificationRegion.d.ts +7 -2
- package/Notification/NotificationRegion.d.ts.map +1 -1
- package/Notification/NotificationTransition.d.ts +29 -0
- package/Notification/NotificationTransition.d.ts.map +1 -0
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +2 -2
- package/Pagination/index.mjs +3 -3
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/PlanCard.d.ts +89 -0
- package/PlanCard/PlanCard.d.ts.map +1 -0
- package/PlanCard/PlanCard.stories.d.ts +12 -0
- package/PlanCard/PlanCard.stories.d.ts.map +1 -0
- package/PlanCard/PlanCard.test.d.ts +2 -0
- package/PlanCard/PlanCard.test.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/Building01.d.ts +3 -0
- package/PlanCard/illustrations/Building01/Building01.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/index.d.ts +2 -0
- package/PlanCard/illustrations/Building01/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building01/index.js +540 -0
- package/PlanCard/illustrations/Building01/index.mjs +540 -0
- package/PlanCard/illustrations/Building02/Building02.d.ts +3 -0
- package/PlanCard/illustrations/Building02/Building02.d.ts.map +1 -0
- package/PlanCard/illustrations/Building02/index.d.ts +2 -0
- package/PlanCard/illustrations/Building02/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building02/index.js +214 -0
- package/PlanCard/illustrations/Building02/index.mjs +214 -0
- package/PlanCard/illustrations/Building03/Building03.d.ts +3 -0
- package/PlanCard/illustrations/Building03/Building03.d.ts.map +1 -0
- package/PlanCard/illustrations/Building03/index.d.ts +2 -0
- package/PlanCard/illustrations/Building03/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building03/index.js +781 -0
- package/PlanCard/illustrations/Building03/index.mjs +781 -0
- package/PlanCard/illustrations/Building04/Building04.d.ts +3 -0
- package/PlanCard/illustrations/Building04/Building04.d.ts.map +1 -0
- package/PlanCard/illustrations/Building04/index.d.ts +2 -0
- package/PlanCard/illustrations/Building04/index.d.ts.map +1 -0
- package/PlanCard/illustrations/Building04/index.js +1536 -0
- package/PlanCard/illustrations/Building04/index.mjs +1536 -0
- package/PlanCard/index.d.ts +2 -0
- package/PlanCard/index.d.ts.map +1 -0
- package/PlanCard/index.js +146 -0
- package/PlanCard/index.mjs +146 -0
- package/ProductLayout/index.js +3 -3
- package/ProductLayout/index.mjs +10 -10
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +3 -3
- package/RadioButtonGroup/index.js +1 -1
- 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 +3 -3
- package/SearchNav/index.mjs +5 -5
- package/SectionCard/index.js +2 -2
- package/SectionCard/index.mjs +2 -2
- package/Select/index.js +3 -3
- package/Select/index.mjs +4 -4
- 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 +2 -2
- package/SplitToggleCard/index.mjs +2 -2
- package/Stepper/index.mjs +1 -1
- package/TabNav/index.mjs +1 -1
- package/TabPanels/index.mjs +5 -5
- package/Tabs/index.mjs +1 -1
- package/Text/Text.d.ts +4 -1
- package/Text/Text.d.ts.map +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/Theme/index.js +1 -1
- package/Theme/index.mjs +1 -1
- package/Toggle/index.js +1 -1
- package/Toggle/index.mjs +1 -1
- package/ToggleCard/index.js +1 -1
- package/ToggleCard/index.mjs +1 -1
- package/Tooltip/index.js +1 -1
- package/Tooltip/index.mjs +1 -1
- package/UnstyledButton/index.mjs +1 -1
- package/VerticalNav/index.js +1 -1
- package/VerticalNav/index.mjs +3 -3
- package/__chunks__/{Button-cjD7z6sK.mjs → Button-D-ucl04v.mjs} +1 -1
- package/__chunks__/{Button-CSNMWizI.mjs → Button-UHHZB1DN.mjs} +3 -3
- package/__chunks__/CSSTransition-BXyX0mUc.js +1689 -0
- package/__chunks__/CSSTransition-C4FQrt4m.mjs +1690 -0
- package/__chunks__/{Calendar-BGIbWVyN.js → Calendar-2o01guc2.js} +1 -1
- package/__chunks__/{Calendar-B4BCW9t8.mjs → Calendar-DjW0E3mk.mjs} +1 -1
- package/__chunks__/{CalendarBase-C_AQ7bu5.mjs → CalendarBase-D8NmV5mS.mjs} +5 -5
- package/__chunks__/{CalendarBase-BgzOdHfS.js → CalendarBase-RcVbhUvM.js} +1 -1
- package/__chunks__/{Card-svNtJnxD.js → Card-BM2DKiVA.js} +2 -2
- package/__chunks__/{Card-DLf_ttOB.mjs → Card-CJug4GMX.mjs} +2 -2
- package/__chunks__/{Checkbox-BMBM6doF.mjs → Checkbox-C8XZu-1F.mjs} +7 -7
- package/__chunks__/{Checkbox-DEmP9BGE.js → Checkbox-sznEdCc0.js} +2 -2
- package/__chunks__/{CodeSnippet-BBZpDbHX.js → CodeSnippet-Bpf7eWjq.js} +2 -2
- package/__chunks__/{CodeSnippet-B6KCRlKQ.mjs → CodeSnippet-DOyQDfxp.mjs} +2 -2
- package/__chunks__/{DatePickerBase-VNenwOmb.mjs → DatePickerBase-BJH3bhGM.mjs} +10 -10
- package/__chunks__/{DatePickerBase-WNWiVJoF.js → DatePickerBase-BWFcyR_m.js} +2 -2
- package/__chunks__/{Dialog-E2U6mUFU.mjs → Dialog-BBt18JUl.mjs} +7 -7
- package/__chunks__/{FocusScope-CQhiv02m.mjs → FocusScope-jG-ZgYgr.mjs} +2 -2
- package/__chunks__/{HelpMenu-CTNmYcKm.js → HelpMenu-B3gwBqqY.js} +2 -2
- package/__chunks__/{HelpMenu-Bed-PzGS.mjs → HelpMenu-DQngktSJ.mjs} +3 -3
- package/__chunks__/{InputCaption-z01Eep0I.js → InputCaption-G9D1cPnP.js} +1 -1
- package/__chunks__/{InputCaption-CRtCXzV7.mjs → InputCaption-aU5qZQlo.mjs} +1 -1
- package/__chunks__/{InputField-Bb98b1MA.js → InputField-CPgMRigD.js} +2 -2
- package/__chunks__/{InputField-Dm5yHcWV.mjs → InputField-D4feGzmR.mjs} +5 -5
- package/__chunks__/{KebabButton-B9eYB6ZD.js → KebabButton-B97kYKaW.js} +1 -1
- package/__chunks__/{KebabButton-gf3gFlb0.mjs → KebabButton-tTikhARu.mjs} +2 -2
- package/__chunks__/{Menu-BVTFMAX-.js → Menu-BjKQfXId.js} +2 -2
- package/__chunks__/{Menu-DJS86zDM.mjs → Menu-L3un-ZpR.mjs} +13 -13
- package/__chunks__/{Notification-lg6ggtug.mjs → Notification-C22_98O5.mjs} +350 -36
- package/__chunks__/{Notification-BCS0ugaf.js → Notification-eckCE8Jj.js} +348 -34
- package/__chunks__/{Overlay-CG-kKp6T.mjs → Overlay-huXBYY4a.mjs} +2 -2
- package/__chunks__/{PillGroup-DZtHC3NK.mjs → PillGroup-8hng2YcX.mjs} +15 -15
- package/__chunks__/{PillGroup-D-VEy6sn.js → PillGroup-q2LMLV6q.js} +1 -1
- package/__chunks__/{RadioGroup-ppUojVMB.mjs → RadioGroup-CaCZDI4f.mjs} +9 -9
- package/__chunks__/{RadioGroup-CDmT0FW5.js → RadioGroup-Cbzsv5jw.js} +2 -2
- package/__chunks__/{RangeCalendar-rMPxj6HM.mjs → RangeCalendar-DhFnV8j-.mjs} +1 -1
- package/__chunks__/{RangeCalendar-B5UtHhmt.js → RangeCalendar-aUakXSjU.js} +1 -1
- package/__chunks__/{SelectOverlay-DgDBimW8.js → SelectOverlay-BFRRqmYL.js} +1 -1
- package/__chunks__/{SelectOverlay-CG2jyYZ_.mjs → SelectOverlay-CsxfifYV.mjs} +10 -10
- package/__chunks__/{SelectorErrorTooltip-Dkuaiq7N.mjs → SelectorErrorTooltip-C5XJ5swy.mjs} +2 -2
- package/__chunks__/{SelectorErrorTooltip-BfKzfYpQ.js → SelectorErrorTooltip-EwN0tf2g.js} +2 -2
- package/__chunks__/{Spinner-C4B8utkI.mjs → Spinner-BsFJZqxe.mjs} +1 -1
- package/__chunks__/{Spinner-BQg8KbBa.js → Spinner-BsvfYBAO.js} +1 -1
- package/__chunks__/{Stepper-Dbvg5Wn_.mjs → Stepper-F7Czxecp.mjs} +2 -2
- package/__chunks__/{TabNav-CNAVzfBp.mjs → TabNav-DbDaDR6R.mjs} +1 -1
- package/__chunks__/{Tabs-Chw75GHi.mjs → Tabs-DbH5NmIf.mjs} +2 -2
- package/__chunks__/Text-B1xglKFU.js +112 -0
- package/__chunks__/Text-CX5GoBTS.mjs +113 -0
- package/__chunks__/{TextField-HXNCIy4W.mjs → TextField-BwGqzpya.mjs} +1 -1
- package/__chunks__/{TextField-Co8OtDnO.js → TextField-D1YUSD6j.js} +1 -1
- package/__chunks__/{Theme-CctofSlt.mjs → Theme-Bzhg0otp.mjs} +1 -1
- package/__chunks__/{Theme-Ck5K42IR.js → Theme-Cos5kTlc.js} +1 -1
- package/__chunks__/{Toggle-C1cAD3ld.js → Toggle-13H0VeGP.js} +1 -1
- package/__chunks__/{Toggle-Dm0_ZvLs.mjs → Toggle-DqKzs3Y8.mjs} +4 -4
- package/__chunks__/{Tooltip-DzWQUbuB.mjs → Tooltip-By8WH1wI.mjs} +6 -6
- package/__chunks__/{Tooltip-C9bST6SD.js → Tooltip-DP2EYuM4.js} +1 -1
- package/__chunks__/{UnstyledButton-D0_XmlIu.mjs → UnstyledButton-0yreaZnh.mjs} +1 -1
- package/__chunks__/{VisuallyHidden-Buyb8r_B.mjs → VisuallyHidden-DLuOutNi.mjs} +1 -1
- package/__chunks__/{ariaHideOutside-b0UviP2F.mjs → ariaHideOutside-DRsDXtWO.mjs} +3 -3
- package/__chunks__/{focusSafely-psnzsNzD.mjs → focusSafely-BW4_g0fd.mjs} +1 -1
- package/__chunks__/{tokens-CyXKQDx6.mjs → tokens-D4KvbbyC.mjs} +1 -0
- package/__chunks__/{tokens-MDLCVf35.js → tokens-oBdmeeGv.js} +1 -0
- package/__chunks__/{useButton-Doz4-YMS.mjs → useButton-ovH6gI84.mjs} +2 -2
- package/__chunks__/{useDialog-B6qJASRh.mjs → useDialog-zKH03v_d.mjs} +2 -2
- package/__chunks__/{useFocus-BL_s_3zv.mjs → useFocus-BJE6cxrg.mjs} +1 -1
- package/__chunks__/{useFocusRing-4hM0Ggs3.mjs → useFocusRing-Dg_M1jfs.mjs} +3 -3
- package/__chunks__/{useFocusVisible-CQ1e0o7u.mjs → useFocusVisible-DgcLCVnV.mjs} +2 -2
- package/__chunks__/{useFocusWithin-BgSjulWP.mjs → useFocusWithin-BE5KE588.mjs} +1 -1
- package/__chunks__/{useFocusable-C-Ge2Ht4.mjs → useFocusable-B5QcOTFc.mjs} +2 -2
- package/__chunks__/{useFormValidation-Crn66hAu.mjs → useFormValidation-gt5I8m2g.mjs} +1 -1
- package/__chunks__/{useHasTabbableChild-DQC24yLO.mjs → useHasTabbableChild-BBua_oUS.mjs} +1 -1
- package/__chunks__/{useHighlightSelectionDescription-BGq4guwQ.mjs → useHighlightSelectionDescription-Dl5YfxVo.mjs} +1 -1
- package/__chunks__/{useHover-BBXJy5NT.mjs → useHover-mdyQ6kou.mjs} +1 -1
- package/__chunks__/{useLink-Dmu5rS4r.mjs → useLink-Dr9Pjalq.mjs} +2 -2
- package/__chunks__/{useListBoxSection-CpQ4pADf.mjs → useListBoxSection-Bw5OEI4S.mjs} +6 -6
- package/__chunks__/{useMenuTrigger-BlLkvrnl.mjs → useMenuTrigger-C9nRdVJk.mjs} +3 -3
- package/__chunks__/{useMenuTriggerState-C-zvqrX2.mjs → useMenuTriggerState-BHenEvUl.mjs} +1 -1
- package/__chunks__/{useModalOverlay-BlCaGnUr.mjs → useModalOverlay-BLiaW3WH.mjs} +2 -2
- package/__chunks__/{useOverlayPosition-D8MX_oIt.mjs → useOverlayPosition-_GnIrSzW.mjs} +2 -2
- package/__chunks__/{useOverlayTrigger-Coc4zW72.mjs → useOverlayTrigger-BIc8jsUc.mjs} +1 -1
- package/__chunks__/{usePress-BH70cn5g.mjs → usePress-DQ3FxwWo.mjs} +2 -2
- package/__chunks__/{useSelectableItem-Xr4pjjqP.mjs → useSelectableItem-DcveeRN2.mjs} +4 -4
- package/__chunks__/{useSelectableList-D7mL6j6I.mjs → useSelectableList-C_zJw1dp.mjs} +1 -1
- package/__chunks__/{useTextField-Dn8JlzYF.mjs → useTextField-B6vr1ZoD.mjs} +3 -3
- package/__chunks__/{useToggle-BlKdU7Ta.mjs → useToggle-C7k9_K6R.mjs} +2 -2
- package/__chunks__/{utilities-BB2zmROs.mjs → utilities-U5Ql_Myz.mjs} +3 -3
- package/package.json +3 -3
- package/style.css +298 -207
- package/styles/_token-helpers.scss +4 -0
- package/__chunks__/Text-BYGcKHR7.mjs +0 -110
- package/__chunks__/Text-DZ601qf9.js +0 -109
|
@@ -18,20 +18,35 @@ var __spreadValues = (a, b) => {
|
|
|
18
18
|
return a;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
|
+
var __objRest = (source, exclude) => {
|
|
22
|
+
var target = {};
|
|
23
|
+
for (var prop in source)
|
|
24
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
25
|
+
target[prop] = source[prop];
|
|
26
|
+
if (source != null && __getOwnPropSymbols)
|
|
27
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
28
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
}
|
|
31
|
+
return target;
|
|
32
|
+
};
|
|
21
33
|
const React = require("react");
|
|
34
|
+
const mergeRefs = require("./mergeRefs-CQsNYO0P.js");
|
|
22
35
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
23
36
|
const CheckCircle = require("./CheckCircle-lgmtkEe6.js");
|
|
24
37
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
25
38
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
26
39
|
const ReactDOM = require("react-dom");
|
|
40
|
+
const useFocusVisible = require("./useFocusVisible-CLoIPL6T.js");
|
|
41
|
+
const useFocusWithin = require("./useFocusWithin-T1vqkUYN.js");
|
|
42
|
+
const useHover = require("./useHover-BCKoTdS5.js");
|
|
27
43
|
const index = require("./index-6ObXAT_4.js");
|
|
28
44
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
29
|
-
const Text = require("./Text-
|
|
45
|
+
const Text = require("./Text-B1xglKFU.js");
|
|
30
46
|
const utilities_css = require("../utilities/css.js");
|
|
31
47
|
const UnstyledButton = require("./UnstyledButton-d3ChgECf.js");
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const useHover = require("./useHover-BCKoTdS5.js");
|
|
48
|
+
const CSSTransition = require("./CSSTransition-BXyX0mUc.js");
|
|
49
|
+
const objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose-C4Mip8ZU.js");
|
|
35
50
|
function _interopNamespaceDefault(e) {
|
|
36
51
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
37
52
|
if (e) {
|
|
@@ -1106,7 +1121,7 @@ var __spreadValues2 = (a, b) => {
|
|
|
1106
1121
|
}
|
|
1107
1122
|
return a;
|
|
1108
1123
|
};
|
|
1109
|
-
var
|
|
1124
|
+
var __objRest2 = (source, exclude) => {
|
|
1110
1125
|
var target = {};
|
|
1111
1126
|
for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
|
|
1112
1127
|
if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
|
|
@@ -1115,7 +1130,7 @@ var __objRest = (source, exclude) => {
|
|
|
1115
1130
|
return target;
|
|
1116
1131
|
};
|
|
1117
1132
|
const CurrencyExchange = (_a) => {
|
|
1118
|
-
var _b = _a, { title, titleId } = _b, props =
|
|
1133
|
+
var _b = _a, { title, titleId } = _b, props = __objRest2(_b, ["title", "titleId"]);
|
|
1119
1134
|
return React__namespace.createElement("svg", __spreadValues2({
|
|
1120
1135
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1121
1136
|
viewBox: "0 -960 960 960",
|
|
@@ -1126,19 +1141,249 @@ const CurrencyExchange = (_a) => {
|
|
|
1126
1141
|
d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
|
|
1127
1142
|
}));
|
|
1128
1143
|
};
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1144
|
+
function _assertThisInitialized(e) {
|
|
1145
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1146
|
+
return e;
|
|
1147
|
+
}
|
|
1148
|
+
function getChildMapping(children, mapFn) {
|
|
1149
|
+
var mapper = function mapper2(child) {
|
|
1150
|
+
return mapFn && React.isValidElement(child) ? mapFn(child) : child;
|
|
1151
|
+
};
|
|
1152
|
+
var result = /* @__PURE__ */ Object.create(null);
|
|
1153
|
+
if (children) React.Children.map(children, function(c) {
|
|
1154
|
+
return c;
|
|
1155
|
+
}).forEach(function(child) {
|
|
1156
|
+
result[child.key] = mapper(child);
|
|
1157
|
+
});
|
|
1158
|
+
return result;
|
|
1159
|
+
}
|
|
1160
|
+
function mergeChildMappings(prev, next) {
|
|
1161
|
+
prev = prev || {};
|
|
1162
|
+
next = next || {};
|
|
1163
|
+
function getValueForKey(key) {
|
|
1164
|
+
return key in next ? next[key] : prev[key];
|
|
1165
|
+
}
|
|
1166
|
+
var nextKeysPending = /* @__PURE__ */ Object.create(null);
|
|
1167
|
+
var pendingKeys = [];
|
|
1168
|
+
for (var prevKey in prev) {
|
|
1169
|
+
if (prevKey in next) {
|
|
1170
|
+
if (pendingKeys.length) {
|
|
1171
|
+
nextKeysPending[prevKey] = pendingKeys;
|
|
1172
|
+
pendingKeys = [];
|
|
1173
|
+
}
|
|
1174
|
+
} else {
|
|
1175
|
+
pendingKeys.push(prevKey);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
var i;
|
|
1179
|
+
var childMapping = {};
|
|
1180
|
+
for (var nextKey in next) {
|
|
1181
|
+
if (nextKeysPending[nextKey]) {
|
|
1182
|
+
for (i = 0; i < nextKeysPending[nextKey].length; i++) {
|
|
1183
|
+
var pendingNextKey = nextKeysPending[nextKey][i];
|
|
1184
|
+
childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
childMapping[nextKey] = getValueForKey(nextKey);
|
|
1188
|
+
}
|
|
1189
|
+
for (i = 0; i < pendingKeys.length; i++) {
|
|
1190
|
+
childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
|
|
1191
|
+
}
|
|
1192
|
+
return childMapping;
|
|
1193
|
+
}
|
|
1194
|
+
function getProp(child, prop, props) {
|
|
1195
|
+
return props[prop] != null ? props[prop] : child.props[prop];
|
|
1196
|
+
}
|
|
1197
|
+
function getInitialChildMapping(props, onExited) {
|
|
1198
|
+
return getChildMapping(props.children, function(child) {
|
|
1199
|
+
return React.cloneElement(child, {
|
|
1200
|
+
onExited: onExited.bind(null, child),
|
|
1201
|
+
in: true,
|
|
1202
|
+
appear: getProp(child, "appear", props),
|
|
1203
|
+
enter: getProp(child, "enter", props),
|
|
1204
|
+
exit: getProp(child, "exit", props)
|
|
1205
|
+
});
|
|
1206
|
+
});
|
|
1207
|
+
}
|
|
1208
|
+
function getNextChildMapping(nextProps, prevChildMapping, onExited) {
|
|
1209
|
+
var nextChildMapping = getChildMapping(nextProps.children);
|
|
1210
|
+
var children = mergeChildMappings(prevChildMapping, nextChildMapping);
|
|
1211
|
+
Object.keys(children).forEach(function(key) {
|
|
1212
|
+
var child = children[key];
|
|
1213
|
+
if (!React.isValidElement(child)) return;
|
|
1214
|
+
var hasPrev = key in prevChildMapping;
|
|
1215
|
+
var hasNext = key in nextChildMapping;
|
|
1216
|
+
var prevChild = prevChildMapping[key];
|
|
1217
|
+
var isLeaving = React.isValidElement(prevChild) && !prevChild.props.in;
|
|
1218
|
+
if (hasNext && (!hasPrev || isLeaving)) {
|
|
1219
|
+
children[key] = React.cloneElement(child, {
|
|
1220
|
+
onExited: onExited.bind(null, child),
|
|
1221
|
+
in: true,
|
|
1222
|
+
exit: getProp(child, "exit", nextProps),
|
|
1223
|
+
enter: getProp(child, "enter", nextProps)
|
|
1224
|
+
});
|
|
1225
|
+
} else if (!hasNext && hasPrev && !isLeaving) {
|
|
1226
|
+
children[key] = React.cloneElement(child, {
|
|
1227
|
+
in: false
|
|
1228
|
+
});
|
|
1229
|
+
} else if (hasNext && hasPrev && React.isValidElement(prevChild)) {
|
|
1230
|
+
children[key] = React.cloneElement(child, {
|
|
1231
|
+
onExited: onExited.bind(null, child),
|
|
1232
|
+
in: prevChild.props.in,
|
|
1233
|
+
exit: getProp(child, "exit", nextProps),
|
|
1234
|
+
enter: getProp(child, "enter", nextProps)
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
});
|
|
1238
|
+
return children;
|
|
1239
|
+
}
|
|
1240
|
+
var values = Object.values || function(obj) {
|
|
1241
|
+
return Object.keys(obj).map(function(k) {
|
|
1242
|
+
return obj[k];
|
|
1243
|
+
});
|
|
1244
|
+
};
|
|
1245
|
+
var defaultProps = {
|
|
1246
|
+
component: "div",
|
|
1247
|
+
childFactory: function childFactory(child) {
|
|
1248
|
+
return child;
|
|
1249
|
+
}
|
|
1250
|
+
};
|
|
1251
|
+
var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
1252
|
+
CSSTransition._inheritsLoose(TransitionGroup2, _React$Component);
|
|
1253
|
+
function TransitionGroup2(props, context) {
|
|
1254
|
+
var _this;
|
|
1255
|
+
_this = _React$Component.call(this, props, context) || this;
|
|
1256
|
+
var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
|
|
1257
|
+
_this.state = {
|
|
1258
|
+
contextValue: {
|
|
1259
|
+
isMounting: true
|
|
1260
|
+
},
|
|
1261
|
+
handleExited,
|
|
1262
|
+
firstRender: true
|
|
1263
|
+
};
|
|
1264
|
+
return _this;
|
|
1265
|
+
}
|
|
1266
|
+
var _proto = TransitionGroup2.prototype;
|
|
1267
|
+
_proto.componentDidMount = function componentDidMount() {
|
|
1268
|
+
this.mounted = true;
|
|
1269
|
+
this.setState({
|
|
1270
|
+
contextValue: {
|
|
1271
|
+
isMounting: false
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
|
1276
|
+
this.mounted = false;
|
|
1277
|
+
};
|
|
1278
|
+
TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
|
|
1279
|
+
var prevChildMapping = _ref.children, handleExited = _ref.handleExited, firstRender = _ref.firstRender;
|
|
1280
|
+
return {
|
|
1281
|
+
children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
|
|
1282
|
+
firstRender: false
|
|
1283
|
+
};
|
|
1284
|
+
};
|
|
1285
|
+
_proto.handleExited = function handleExited(child, node) {
|
|
1286
|
+
var currentChildMapping = getChildMapping(this.props.children);
|
|
1287
|
+
if (child.key in currentChildMapping) return;
|
|
1288
|
+
if (child.props.onExited) {
|
|
1289
|
+
child.props.onExited(node);
|
|
1290
|
+
}
|
|
1291
|
+
if (this.mounted) {
|
|
1292
|
+
this.setState(function(state) {
|
|
1293
|
+
var children = objectWithoutPropertiesLoose._extends({}, state.children);
|
|
1294
|
+
delete children[child.key];
|
|
1295
|
+
return {
|
|
1296
|
+
children
|
|
1297
|
+
};
|
|
1298
|
+
});
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
_proto.render = function render() {
|
|
1302
|
+
var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = objectWithoutPropertiesLoose._objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
1303
|
+
var contextValue = this.state.contextValue;
|
|
1304
|
+
var children = values(this.state.children).map(childFactory2);
|
|
1305
|
+
delete props.appear;
|
|
1306
|
+
delete props.enter;
|
|
1307
|
+
delete props.exit;
|
|
1308
|
+
if (Component === null) {
|
|
1309
|
+
return /* @__PURE__ */ React.createElement(CSSTransition.TransitionGroupContext.Provider, {
|
|
1310
|
+
value: contextValue
|
|
1311
|
+
}, children);
|
|
1312
|
+
}
|
|
1313
|
+
return /* @__PURE__ */ React.createElement(CSSTransition.TransitionGroupContext.Provider, {
|
|
1314
|
+
value: contextValue
|
|
1315
|
+
}, /* @__PURE__ */ React.createElement(Component, props, children));
|
|
1316
|
+
};
|
|
1317
|
+
return TransitionGroup2;
|
|
1318
|
+
}(React.Component);
|
|
1319
|
+
TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1320
|
+
/**
|
|
1321
|
+
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
1322
|
+
* behavior by providing a `component` prop.
|
|
1323
|
+
* If you use React v16+ and would like to avoid a wrapping `<div>` element
|
|
1324
|
+
* you can pass in `component={null}`. This is useful if the wrapping div
|
|
1325
|
+
* borks your css styles.
|
|
1326
|
+
*/
|
|
1327
|
+
component: CSSTransition.PropTypes.any,
|
|
1328
|
+
/**
|
|
1329
|
+
* A set of `<Transition>` components, that are toggled `in` and out as they
|
|
1330
|
+
* leave. the `<TransitionGroup>` will inject specific transition props, so
|
|
1331
|
+
* remember to spread them through if you are wrapping the `<Transition>` as
|
|
1332
|
+
* with our `<Fade>` example.
|
|
1333
|
+
*
|
|
1334
|
+
* While this component is meant for multiple `Transition` or `CSSTransition`
|
|
1335
|
+
* children, sometimes you may want to have a single transition child with
|
|
1336
|
+
* content that you want to be transitioned out and in when you change it
|
|
1337
|
+
* (e.g. routes, images etc.) In that case you can change the `key` prop of
|
|
1338
|
+
* the transition child as you change its content, this will cause
|
|
1339
|
+
* `TransitionGroup` to transition the child out and back in.
|
|
1340
|
+
*/
|
|
1341
|
+
children: CSSTransition.PropTypes.node,
|
|
1342
|
+
/**
|
|
1343
|
+
* A convenience prop that enables or disables appear animations
|
|
1344
|
+
* for all children. Note that specifying this will override any defaults set
|
|
1345
|
+
* on individual children Transitions.
|
|
1346
|
+
*/
|
|
1347
|
+
appear: CSSTransition.PropTypes.bool,
|
|
1348
|
+
/**
|
|
1349
|
+
* A convenience prop that enables or disables enter animations
|
|
1350
|
+
* for all children. Note that specifying this will override any defaults set
|
|
1351
|
+
* on individual children Transitions.
|
|
1352
|
+
*/
|
|
1353
|
+
enter: CSSTransition.PropTypes.bool,
|
|
1354
|
+
/**
|
|
1355
|
+
* A convenience prop that enables or disables exit animations
|
|
1356
|
+
* for all children. Note that specifying this will override any defaults set
|
|
1357
|
+
* on individual children Transitions.
|
|
1358
|
+
*/
|
|
1359
|
+
exit: CSSTransition.PropTypes.bool,
|
|
1360
|
+
/**
|
|
1361
|
+
* You may need to apply reactive updates to a child as it is exiting.
|
|
1362
|
+
* This is generally done by using `cloneElement` however in the case of an exiting
|
|
1363
|
+
* child the element has already been removed and not accessible to the consumer.
|
|
1364
|
+
*
|
|
1365
|
+
* If you do need to update a child as it leaves you can provide a `childFactory`
|
|
1366
|
+
* to wrap every child, even the ones that are leaving.
|
|
1367
|
+
*
|
|
1368
|
+
* @type Function(child: ReactElement) -> ReactElement
|
|
1369
|
+
*/
|
|
1370
|
+
childFactory: CSSTransition.PropTypes.func
|
|
1371
|
+
} : {};
|
|
1372
|
+
TransitionGroup.defaultProps = defaultProps;
|
|
1373
|
+
const statusPromotional = "_statusPromotional_1xl7t_4";
|
|
1374
|
+
const statusSuccess = "_statusSuccess_1xl7t_9";
|
|
1375
|
+
const statusNeutral = "_statusNeutral_1xl7t_14";
|
|
1376
|
+
const statusWarning = "_statusWarning_1xl7t_19";
|
|
1377
|
+
const statusError = "_statusError_1xl7t_24";
|
|
1378
|
+
const typeToast = "_typeToast_1xl7t_29";
|
|
1379
|
+
const typeAlert = "_typeAlert_1xl7t_33";
|
|
1380
|
+
const Notification$1 = "_Notification_1xl7t_38";
|
|
1381
|
+
const iconText = "_iconText_1xl7t_55";
|
|
1382
|
+
const closeButtonContainer = "_closeButtonContainer_1xl7t_61";
|
|
1383
|
+
const closeButton = "_closeButton_1xl7t_61";
|
|
1384
|
+
const region = "_region_1xl7t_74";
|
|
1385
|
+
const container = "_container_1xl7t_81";
|
|
1386
|
+
const styles$1 = {
|
|
1142
1387
|
statusPromotional,
|
|
1143
1388
|
statusSuccess,
|
|
1144
1389
|
statusNeutral,
|
|
@@ -1148,26 +1393,91 @@ const styles = {
|
|
|
1148
1393
|
typeAlert,
|
|
1149
1394
|
Notification: Notification$1,
|
|
1150
1395
|
iconText,
|
|
1396
|
+
closeButtonContainer,
|
|
1151
1397
|
closeButton,
|
|
1152
1398
|
region,
|
|
1153
1399
|
container
|
|
1154
1400
|
};
|
|
1401
|
+
const appear = "_appear_9o3cj_1";
|
|
1402
|
+
const enter = "_enter_9o3cj_2";
|
|
1403
|
+
const appearActive = "_appearActive_9o3cj_7";
|
|
1404
|
+
const enterActive = "_enterActive_9o3cj_8";
|
|
1405
|
+
const exit = "_exit_9o3cj_14";
|
|
1406
|
+
const exitActive = "_exitActive_9o3cj_22";
|
|
1407
|
+
const styles = {
|
|
1408
|
+
appear,
|
|
1409
|
+
enter,
|
|
1410
|
+
appearActive,
|
|
1411
|
+
enterActive,
|
|
1412
|
+
exit,
|
|
1413
|
+
exitActive
|
|
1414
|
+
};
|
|
1415
|
+
function NotificationTransition(_a) {
|
|
1416
|
+
var _b = _a, { children, transitionKey, onTransitionPendingChange = () => {
|
|
1417
|
+
} } = _b, transitionGroupProps = __objRest(_b, ["children", "transitionKey", "onTransitionPendingChange"]);
|
|
1418
|
+
const nodeRef = React.useRef(null);
|
|
1419
|
+
const transitionEndListener = React.useCallback((done) => {
|
|
1420
|
+
if (nodeRef.current) {
|
|
1421
|
+
nodeRef.current.addEventListener("transitionend", done, false);
|
|
1422
|
+
}
|
|
1423
|
+
}, []);
|
|
1424
|
+
return React.createElement(CSSTransition.CSSTransition, __spreadProps(__spreadValues({}, transitionGroupProps), {
|
|
1425
|
+
key: transitionKey,
|
|
1426
|
+
appear: true,
|
|
1427
|
+
nodeRef,
|
|
1428
|
+
unmountOnExit: true,
|
|
1429
|
+
addEndListener: transitionEndListener,
|
|
1430
|
+
classNames: {
|
|
1431
|
+
appear: styles.appear,
|
|
1432
|
+
appearActive: styles.appearActive,
|
|
1433
|
+
enter: styles.enter,
|
|
1434
|
+
enterActive: styles.enterActive,
|
|
1435
|
+
exit: styles.exit,
|
|
1436
|
+
exitActive: styles.exitActive
|
|
1437
|
+
},
|
|
1438
|
+
onEnter: () => {
|
|
1439
|
+
onTransitionPendingChange(true);
|
|
1440
|
+
},
|
|
1441
|
+
onExited: () => {
|
|
1442
|
+
onTransitionPendingChange(false);
|
|
1443
|
+
}
|
|
1444
|
+
}), children({
|
|
1445
|
+
nodeRef
|
|
1446
|
+
}));
|
|
1447
|
+
}
|
|
1448
|
+
function useNotificationTransitionTracking() {
|
|
1449
|
+
const [transitionsPending, setTransitionsPending] = React.useState(0);
|
|
1450
|
+
const onTransitionPendingChange = (isTransitionPending) => {
|
|
1451
|
+
setTransitionsPending((prev) => isTransitionPending ? prev + 1 : prev - 1);
|
|
1452
|
+
};
|
|
1453
|
+
return {
|
|
1454
|
+
isTransitionPending: transitionsPending > 0,
|
|
1455
|
+
onTransitionPendingChange
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1155
1458
|
function NotificationRegion(props) {
|
|
1156
|
-
const { state } = props;
|
|
1459
|
+
const { state, onTransitionPendingChange } = props;
|
|
1157
1460
|
const ref = React.useRef(null);
|
|
1158
1461
|
const { regionProps } = $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref);
|
|
1159
1462
|
return React.createElement("div", __spreadProps(__spreadValues({}, regionProps), {
|
|
1160
1463
|
ref,
|
|
1161
|
-
className: styles.region
|
|
1162
|
-
}),
|
|
1464
|
+
className: styles$1.region
|
|
1465
|
+
}), React.createElement(TransitionGroup, {
|
|
1466
|
+
component: null
|
|
1467
|
+
}, state.visibleToasts.map((toast) => React.createElement(NotificationTransition, {
|
|
1163
1468
|
key: toast.key,
|
|
1469
|
+
transitionKey: toast.key,
|
|
1470
|
+
onTransitionPendingChange
|
|
1471
|
+
}, ({ nodeRef }) => React.createElement(Notification, {
|
|
1472
|
+
ref: nodeRef,
|
|
1164
1473
|
toast,
|
|
1165
1474
|
state
|
|
1166
|
-
})));
|
|
1475
|
+
})))));
|
|
1167
1476
|
}
|
|
1168
1477
|
function NotificationContainer(props) {
|
|
1169
1478
|
const { getContainer = null, position = "fixed", offset, state } = props;
|
|
1170
|
-
const
|
|
1479
|
+
const { isTransitionPending, onTransitionPendingChange } = useNotificationTransitionTracking();
|
|
1480
|
+
const showNotifications = state.visibleToasts.length > 0 || isTransitionPending;
|
|
1171
1481
|
let requestFailed = false;
|
|
1172
1482
|
let container2 = null;
|
|
1173
1483
|
if (showNotifications && getContainer) {
|
|
@@ -1188,10 +1498,11 @@ function NotificationContainer(props) {
|
|
|
1188
1498
|
};
|
|
1189
1499
|
const containerStyles = __spreadValues(__spreadValues({}, positionStyleProps), positionProps);
|
|
1190
1500
|
return React.createElement(React.Fragment, null, showNotifications ? ReactDOM.createPortal(React.createElement("div", {
|
|
1191
|
-
className: styles.container,
|
|
1501
|
+
className: styles$1.container,
|
|
1192
1502
|
style: containerStyles
|
|
1193
1503
|
}, React.createElement(NotificationRegion, {
|
|
1194
|
-
state
|
|
1504
|
+
state,
|
|
1505
|
+
onTransitionPendingChange
|
|
1195
1506
|
})), container2 != null ? container2 : document.body) : null);
|
|
1196
1507
|
}
|
|
1197
1508
|
const TOAST_TIMEOUT_DURATION = 4e3;
|
|
@@ -1263,7 +1574,7 @@ function useNotificationState() {
|
|
|
1263
1574
|
closeActiveNotification: () => queue.closeActiveNotification()
|
|
1264
1575
|
});
|
|
1265
1576
|
}
|
|
1266
|
-
|
|
1577
|
+
const Notification = React.forwardRef((props, forwardedRef) => {
|
|
1267
1578
|
const ref = React.useRef(null);
|
|
1268
1579
|
const { state, toast: notification } = props;
|
|
1269
1580
|
const { type = "toast", message, status = "success", hasIcon = true, onDismiss } = notification.content;
|
|
@@ -1281,22 +1592,25 @@ function Notification(props) {
|
|
|
1281
1592
|
onPress: handleDismiss
|
|
1282
1593
|
});
|
|
1283
1594
|
return React.createElement("div", __spreadProps(__spreadValues({}, notificationPropsWithAdjustedAriaRole), {
|
|
1284
|
-
ref,
|
|
1285
|
-
className: utilities_css.classNames(styles.Notification, styles[utilities_css.variationName("status", status)], styles[utilities_css.variationName("type", type)])
|
|
1595
|
+
ref: mergeRefs.$5dc95899b306f630$export$c9058316764c140e(ref, forwardedRef),
|
|
1596
|
+
className: utilities_css.classNames(styles$1.Notification, styles$1[utilities_css.variationName("status", status)], styles$1[utilities_css.variationName("type", type)])
|
|
1286
1597
|
}), React.createElement("div", {
|
|
1287
|
-
className: styles.iconText
|
|
1598
|
+
className: styles$1.iconText
|
|
1288
1599
|
}, hasIcon && React.createElement(Icon.Icon, {
|
|
1289
1600
|
size: "lg",
|
|
1290
1601
|
symbol: getStatusIcon(status)
|
|
1291
1602
|
}), React.createElement("div", __spreadValues({}, titleProps), React.createElement(Text.Text, {
|
|
1292
1603
|
weight: "semibold"
|
|
1293
|
-
}, message))), type === "alert" && React.createElement(
|
|
1294
|
-
className:
|
|
1604
|
+
}, message))), type === "alert" && React.createElement("span", {
|
|
1605
|
+
className: styles$1.closeButtonContainer
|
|
1606
|
+
}, React.createElement(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, closeButtonPropsWithDismiss), {
|
|
1607
|
+
className: styles$1.closeButton
|
|
1295
1608
|
}), React.createElement(Icon.Icon, {
|
|
1296
1609
|
size: "md",
|
|
1297
1610
|
symbol: Close.Close
|
|
1298
|
-
})));
|
|
1299
|
-
}
|
|
1611
|
+
}))));
|
|
1612
|
+
});
|
|
1613
|
+
Notification.displayName = "Notification";
|
|
1300
1614
|
function getStatusIcon(status) {
|
|
1301
1615
|
switch (status) {
|
|
1302
1616
|
case "promotional":
|
|
@@ -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-CFWhSD5C.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-BW4_g0fd.mjs";
|
|
35
35
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, e as $b5e257d569688ac6$export$535bd6ca7f90a273, d as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-DRsiQq2k.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-jG-ZgYgr.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,10 +30,10 @@ 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, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-
|
|
33
|
+
import { d as $f39a9eba43920ace$export$8dc98ba7eadeaa56, c as $f39a9eba43920ace$export$86427a43e3e48ebb, a as $d2b4bc8c273e7be6$export$24d547caef80ccd1, b as $d2b4bc8c273e7be6$export$353f5b6fc5456de1 } from "./Button-UHHZB1DN.mjs";
|
|
34
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-CwzguevQ.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-B5QcOTFc.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-DRsiQq2k.mjs";
|
|
38
38
|
import { s as shimExports } from "./index-DOQwYO8h.mjs";
|
|
39
39
|
import { $ as $5dc95899b306f630$export$c9058316764c140e } from "./mergeRefs-CCV6itCY.mjs";
|
|
@@ -42,26 +42,26 @@ import { $ as $df56164dff5785e2$export$4338b53315abf666 } from "./useObjectRef-w
|
|
|
42
42
|
import { b as $e72dd72e1c76a225$export$ba9d38c0f1bf2b36, $ as $e72dd72e1c76a225$export$2f645645f7bca764 } from "./useListState-DqBHV23A.mjs";
|
|
43
43
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
|
|
44
44
|
import { $ as $325a3faab7a68acd$export$a16aca283550c30d } from "./useCollator-DiblLehW.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-C_zJw1dp.mjs";
|
|
46
|
+
import { b as $c132121280ec012d$export$50eacbbf140a3141, a as $af383d3bef1cfdc9$export$c3f9f39876e4bc7, $ as $293f70390ea03370$export$497855f14858aa34 } from "./useListBoxSection-Bw5OEI4S.mjs";
|
|
47
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Dg_M1jfs.mjs";
|
|
48
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa, c as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-jG-ZgYgr.mjs";
|
|
49
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-mdyQ6kou.mjs";
|
|
50
50
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D71RzzwQ.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-BE5KE588.mjs";
|
|
52
|
+
import { $ as $5b9b5b5723db6ae1$export$be42ebdab07ae4c2, a as $92599c3fd427b763$export$137e594ef3218a10 } from "./useHighlightSelectionDescription-Dl5YfxVo.mjs";
|
|
53
|
+
import { $ as $83013635b024ae3d$export$eac1895992b9f3d6 } from "./useHasTabbableChild-BBua_oUS.mjs";
|
|
54
|
+
import { f as $ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6 } from "./usePress-DQ3FxwWo.mjs";
|
|
55
55
|
import { b as $2f04cbc44ee30ce0$export$c826860796309d1b, $ as $ef06256079686ba0$export$f8aeda7b10753fa1 } from "./scrollIntoView-DSPpbfzY.mjs";
|
|
56
|
-
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, A as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-
|
|
56
|
+
import { f as $507fabe10e71c6fb$export$b9b3dfddab17db27, A as $507fabe10e71c6fb$export$98e20ec92f614cfe } from "./useFocusVisible-DgcLCVnV.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-BW4_g0fd.mjs";
|
|
59
59
|
import { d as $c5a24bc478652b5f$export$7475b2c64539e4cf } from "./SelectionManager-my6312qq.mjs";
|
|
60
|
-
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-
|
|
60
|
+
import { $ as $880e95eb8b93ba9a$export$ecf600387e221c37 } from "./useSelectableItem-DcveeRN2.mjs";
|
|
61
61
|
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-SC1Py3Uf.mjs";
|
|
62
62
|
import { C as Close } from "./Close-Cq6Q6MN6.mjs";
|
|
63
63
|
import { I as Icon } from "./Icon-0SN9dbwU.mjs";
|
|
64
|
-
import { T as Text } from "./Text-
|
|
64
|
+
import { T as Text } from "./Text-CX5GoBTS.mjs";
|
|
65
65
|
import { getComponentToken, getResponsiveDesignToken } from "../utilities/css.mjs";
|
|
66
66
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
67
67
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -62,7 +62,7 @@ const useSelectableItem = require("./useSelectableItem-CxOGkw0W.js");
|
|
|
62
62
|
const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-C3ZwxPrF.js");
|
|
63
63
|
const Close = require("./Close-BQ2IlPyf.js");
|
|
64
64
|
const Icon = require("./Icon-W8F9w-jS.js");
|
|
65
|
-
const Text = require("./Text-
|
|
65
|
+
const Text = require("./Text-B1xglKFU.js");
|
|
66
66
|
const utilities_css = require("../utilities/css.js");
|
|
67
67
|
function $0d86e9c8f07f9a7b$export$762f73dccccd255d(options) {
|
|
68
68
|
let { initialItems = [], initialSelectedKeys, getKey = (item) => {
|
|
@@ -30,21 +30,21 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useMemo, useState, useContext } from "react";
|
|
33
|
-
import { T as Text } from "./Text-
|
|
33
|
+
import { T as Text } from "./Text-CX5GoBTS.mjs";
|
|
34
34
|
import { H as HorizontalStack } from "./HorizontalStack-CxE8tPx_.mjs";
|
|
35
|
-
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-
|
|
35
|
+
import { S as SelectorErrorTooltip } from "./SelectorErrorTooltip-C5XJ5swy.mjs";
|
|
36
36
|
import { classNames } from "../utilities/css.mjs";
|
|
37
37
|
import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928, c as $bdb11010cef70236$export$f680877a34711e37 } from "./mergeProps-DRsiQq2k.mjs";
|
|
38
38
|
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-EDDcM64A.mjs";
|
|
39
39
|
import { $ as $99facab73266f662$export$5add1d006293d136 } from "./useFormReset-BUBASXJO.mjs";
|
|
40
|
-
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-
|
|
41
|
-
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-
|
|
42
|
-
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-
|
|
43
|
-
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-
|
|
44
|
-
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-
|
|
40
|
+
import { $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-DQ3FxwWo.mjs";
|
|
41
|
+
import { $ as $f645667febf57a63$export$4c014de7c8940b4c } from "./useFocusable-B5QcOTFc.mjs";
|
|
42
|
+
import { $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, a as $e93e671b31057976$export$b8473d3665f3a75a } from "./useFormValidation-gt5I8m2g.mjs";
|
|
43
|
+
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "./useFocusRing-Dg_M1jfs.mjs";
|
|
44
|
+
import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "./useHover-mdyQ6kou.mjs";
|
|
45
45
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
46
|
-
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-
|
|
47
|
-
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-
|
|
46
|
+
import { $ as $9bf71ea28793e738$export$2d6ec8fc375ceafa } from "./FocusScope-jG-ZgYgr.mjs";
|
|
47
|
+
import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusWithin-BE5KE588.mjs";
|
|
48
48
|
import { $ as $2baaea4c71418dea$export$294aa081a6c6f55d } from "./useField-D71RzzwQ.mjs";
|
|
49
49
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
|
|
50
50
|
let $a54cdc5c1942b639$var$instance = Math.round(Math.random() * 1e10);
|
|
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const Text = require("./Text-
|
|
34
|
+
const Text = require("./Text-B1xglKFU.js");
|
|
35
35
|
const HorizontalStack = require("./HorizontalStack-CXpjASZi.js");
|
|
36
|
-
const SelectorErrorTooltip = require("./SelectorErrorTooltip-
|
|
36
|
+
const SelectorErrorTooltip = require("./SelectorErrorTooltip-EwN0tf2g.js");
|
|
37
37
|
const utilities_css = require("../utilities/css.js");
|
|
38
38
|
const mergeProps = require("./mergeProps-6pKCnMWU.js");
|
|
39
39
|
const filterDOMProps = require("./filterDOMProps-D3iOHP0H.js");
|
|
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
32
|
import React__default, { useState, useRef, useMemo } from "react";
|
|
33
|
-
import { c as $f62d864046160412$export$f4a51ff076cc9a09, d as $11d87f3f76e88657$export$93522d1a439f3617, e as $14e0f24ef4ac5c92$export$a75f2bff57811055, f as $14e0f24ef4ac5c92$export$5c333a116e949cdd, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, g as $14e0f24ef4ac5c92$export$91b62ebf2ba703ee, h as $f62d864046160412$export$eac50920cf2fd59a, i as $f62d864046160412$export$4f5203c0d889109e, j as $f62d864046160412$export$a1d3911297b952d7, k as $11d87f3f76e88657$export$b4a036af3fc0b032, l as $3b62074eb05584b2$export$80ee6245ec4f29ec, $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, C as CalendarBase, b as $64244302c3013299$export$dd0bbc9b26defe37 } from "./CalendarBase-
|
|
33
|
+
import { c as $f62d864046160412$export$f4a51ff076cc9a09, d as $11d87f3f76e88657$export$93522d1a439f3617, e as $14e0f24ef4ac5c92$export$a75f2bff57811055, f as $14e0f24ef4ac5c92$export$5c333a116e949cdd, a as $131cf43a05231e1e$export$6d095e787d2b5e1f, g as $14e0f24ef4ac5c92$export$91b62ebf2ba703ee, h as $f62d864046160412$export$eac50920cf2fd59a, i as $f62d864046160412$export$4f5203c0d889109e, j as $f62d864046160412$export$a1d3911297b952d7, k as $11d87f3f76e88657$export$b4a036af3fc0b032, l as $3b62074eb05584b2$export$80ee6245ec4f29ec, $ as $c4acc1de3ab169cf$export$d652b3ea2d672d5b, C as CalendarBase, b as $64244302c3013299$export$dd0bbc9b26defe37 } from "./CalendarBase-D8NmV5mS.mjs";
|
|
34
34
|
import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C5QKMZmh.mjs";
|
|
35
35
|
import { $ as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "./useControlledState-CFWhSD5C.mjs";
|
|
36
36
|
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-BR4RE1uc.mjs";
|
|
@@ -31,7 +31,7 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
const React = require("react");
|
|
34
|
-
const CalendarBase = require("./CalendarBase-
|
|
34
|
+
const CalendarBase = require("./CalendarBase-RcVbhUvM.js");
|
|
35
35
|
const context = require("./context-BQfsEeih.js");
|
|
36
36
|
const useControlledState = require("./useControlledState-mnKBd6Uc.js");
|
|
37
37
|
const useEvent = require("./useEvent-DiEr5shV.js");
|
|
@@ -32,7 +32,7 @@ const useField = require("./useField-MeTEdBhD.js");
|
|
|
32
32
|
const useMenuTrigger = require("./useMenuTrigger-Dq7mhK38.js");
|
|
33
33
|
const useFormReset = require("./useFormReset-Ja1aibwy.js");
|
|
34
34
|
const VisuallyHidden = require("./VisuallyHidden-Cl5AQsPA.js");
|
|
35
|
-
const Text = require("./Text-
|
|
35
|
+
const Text = require("./Text-B1xglKFU.js");
|
|
36
36
|
const useListBoxSection = require("./useListBoxSection-u2FxpXWK.js");
|
|
37
37
|
const Item = require("./Item-CfWjPrxx.js");
|
|
38
38
|
const utilities = require("./utilities-x6Aiy1EG.js");
|