@easypost/easy-ui 1.0.0-alpha.54 → 1.0.0-alpha.56
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 +13 -0
- package/Calendar/Calendar.d.ts +43 -33
- package/Calendar/Calendar.d.ts.map +1 -1
- package/Calendar/CalendarBase.d.ts +57 -0
- package/Calendar/CalendarBase.d.ts.map +1 -0
- package/Calendar/CalendarCell.d.ts +2 -2
- package/Calendar/CalendarCell.d.ts.map +1 -1
- package/Calendar/CalendarGrid.d.ts +2 -5
- package/Calendar/CalendarGrid.d.ts.map +1 -1
- package/Calendar/CalendarHeader.d.ts +1 -6
- package/Calendar/CalendarHeader.d.ts.map +1 -1
- package/Calendar/index.js +9 -3349
- package/Calendar/index.mjs +8 -3348
- 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 +14 -14
- package/CodeBlock/index.mjs +16 -16
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/DataGrid/index.js +63 -63
- package/DataGrid/index.mjs +72 -72
- package/Drawer/index.js +23 -24
- package/Drawer/index.mjs +21 -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/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/InputField.d.ts +4 -0
- package/InputField/InputField.d.ts.map +1 -1
- package/InputField/index.js +1 -1
- package/InputField/index.mjs +1 -1
- package/InputField/inputText.d.ts +24 -0
- package/InputField/inputText.d.ts.map +1 -0
- package/InputField/utilities.d.ts +1 -1
- package/InputField/utilities.d.ts.map +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 +24 -25
- package/Modal/index.mjs +22 -23
- package/NexusLayout/index.js +30 -30
- package/NexusLayout/index.mjs +32 -32
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +11 -11
- package/Pagination/index.mjs +9 -9
- package/PillGroup/index.js +12 -12
- package/PillGroup/index.mjs +22 -22
- package/ProductLayout/index.js +26 -27
- package/ProductLayout/index.mjs +25 -26
- package/Provider/index.js +2 -2
- package/Provider/index.mjs +2 -2
- package/RadioButtonGroup/index.js +4 -4
- package/RadioButtonGroup/index.mjs +8 -8
- package/RadioGroup/index.js +18 -18
- package/RadioGroup/index.mjs +25 -25
- package/RangeCalendar/RangeCalendar.d.ts +71 -0
- package/RangeCalendar/RangeCalendar.d.ts.map +1 -0
- package/RangeCalendar/RangeCalendar.stories.d.ts +15 -0
- package/RangeCalendar/RangeCalendar.stories.d.ts.map +1 -0
- package/RangeCalendar/RangeCalendar.test.d.ts +2 -0
- package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -0
- package/RangeCalendar/index.d.ts +2 -0
- package/RangeCalendar/index.d.ts.map +1 -0
- package/RangeCalendar/index.js +228 -0
- package/RangeCalendar/index.mjs +228 -0
- package/SearchNav/index.js +30 -30
- package/SearchNav/index.mjs +30 -30
- package/SectionCard/index.js +9 -5497
- package/SectionCard/index.mjs +8 -5496
- 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 +7 -7
- 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/TextField.stories.d.ts +1 -0
- package/TextField/TextField.stories.d.ts.map +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 +26 -26
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-Dy9idhgT.mjs → Button-D6onI-kJ.mjs} +18 -18
- package/__chunks__/{Button-D_Bk7BuN.js → Button-DQ2NkvB7.js} +18 -18
- package/__chunks__/CalendarBase-DaXcE0Vl.js +3410 -0
- package/__chunks__/CalendarBase-DkLU-xxk.mjs +3411 -0
- package/__chunks__/{Card-mxjU9S-F.mjs → Card-CYdEo89C.mjs} +12 -12
- package/__chunks__/{Card-9RlZlFEC.js → Card-Cw9W0Zvm.js} +12 -12
- package/__chunks__/{Checkbox-CBB8jlZw.js → Checkbox-DMIaBIMX.js} +21 -21
- package/__chunks__/{Checkbox-BgumKMXU.mjs → Checkbox-DTX_wDBB.mjs} +24 -24
- package/__chunks__/{CodeSnippet-BjUoaeh9.mjs → CodeSnippet-CBDtqnFn.mjs} +2 -2
- package/__chunks__/{CodeSnippet-DVrkwOg4.js → CodeSnippet-Dg-w1ncw.js} +2 -2
- package/__chunks__/{FocusScope-C194OB-4.mjs → FocusScope-CEeqhVmO.mjs} +3 -3
- package/__chunks__/{FocusScope-DJer9ahG.js → FocusScope-Co1hHX8R.js} +1 -1
- package/__chunks__/{HelpMenu-m1qJ4EyP.mjs → HelpMenu-DCIr7b5K.mjs} +7 -7
- package/__chunks__/{HelpMenu-DF2Bx-bn.js → HelpMenu-br4uY5D7.js} +7 -7
- package/__chunks__/{HorizontalGrid-BYR8Gr-h.mjs → HorizontalGrid--W2GD8lN.mjs} +1 -1
- package/__chunks__/{HorizontalGrid-DuHNRhon.js → HorizontalGrid-BUpw5nwO.js} +1 -1
- package/__chunks__/{HorizontalStack-By6XdGZh.js → HorizontalStack-CXhmbQu4.js} +1 -1
- package/__chunks__/{HorizontalStack-DaZakHYj.mjs → HorizontalStack-x4HGqgsU.mjs} +1 -1
- package/__chunks__/{Icon-BB9QecRC.js → Icon-BCBvOy-b.js} +2 -2
- package/__chunks__/{Icon-3zFwhVjn.mjs → Icon-CDgix2Sz.mjs} +2 -2
- package/__chunks__/{InputField-CdEl4M4-.mjs → InputField-Bj22Z9om.mjs} +36 -14
- package/__chunks__/{InputField-CHAxJwME.js → InputField-C86b2081.js} +31 -9
- package/__chunks__/{InputIcon-oj25h1MN.js → InputIcon-BLzlQuQq.js} +44 -27
- package/__chunks__/{InputIcon--PdoGQOO.mjs → InputIcon-zjySEVjo.mjs} +44 -27
- package/__chunks__/{KebabButton-3bAqpgLu.js → KebabButton-ClU7vgEf.js} +5 -5
- package/__chunks__/{KebabButton-fmLpDchx.mjs → KebabButton-DDDKfSUI.mjs} +5 -5
- package/__chunks__/{Menu-B95QYBVQ.mjs → Menu-B4KcJbMm.mjs} +20 -21
- package/__chunks__/{Menu--B0Fn4Ol.js → Menu-anVQErb9.js} +18 -19
- package/__chunks__/{Notification-DTb3bJn4.js → Notification-BCLsclpu.js} +20 -20
- package/__chunks__/{Notification-D15awRNG.mjs → Notification-BoMoXyLI.mjs} +20 -20
- package/__chunks__/{Overlay-BtzIt9Ka.mjs → Overlay-CuhLUuXt.mjs} +58 -6
- package/__chunks__/{Overlay-CUtfbILq.js → Overlay-ZinDp2HW.js} +54 -2
- package/__chunks__/{SelectOverlay-_dx1vHML.js → SelectOverlay-BAFmxwi9.js} +26 -27
- package/__chunks__/{SelectOverlay-D39ws5R2.mjs → SelectOverlay-C5Kk7H2z.mjs} +34 -35
- package/__chunks__/{SelectorErrorTooltip-DhV9YtiA.js → SelectorErrorTooltip-B1tkBijI.js} +4 -4
- package/__chunks__/{SelectorErrorTooltip-D8y5kImH.mjs → SelectorErrorTooltip-C3BApHSk.mjs} +4 -4
- package/__chunks__/{Spinner-CVcjgzNy.js → Spinner-0AHyjbiK.js} +5 -5
- package/__chunks__/{Spinner-CfniY1TS.mjs → Spinner-DCi-JKIV.mjs} +8 -8
- package/__chunks__/{Stepper-D_2YRENa.mjs → Stepper-CgF1pSNE.mjs} +28 -28
- package/__chunks__/{Stepper-E2li7kd2.js → Stepper-Ds60cKSk.js} +26 -26
- package/__chunks__/{TabNav-BgwlyiLE.mjs → TabNav-BVyJkGz0.mjs} +1 -1
- package/__chunks__/{TabNav-C7_HMIZx.js → TabNav-BpsdF4EQ.js} +1 -1
- package/__chunks__/{Tabs-WKn9NKJy.js → Tabs-BTr3Uoym.js} +17 -17
- package/__chunks__/{Tabs-CwxqTiAn.mjs → Tabs-N3WVqQTL.mjs} +19 -19
- package/__chunks__/{Text-CoOcI-ZA.js → Text-Bo5ZXIKu.js} +34 -34
- package/__chunks__/{Text-Dfn-c0km.mjs → Text-Sv_euunS.mjs} +34 -34
- package/__chunks__/{Toggle-DYTnMD3t.js → Toggle-CHXljwk6.js} +12 -12
- package/__chunks__/{Toggle-qa6gbH9Q.mjs → Toggle-Dj6H2veI.mjs} +14 -14
- package/__chunks__/{Tooltip-6vJKVOnU.js → Tooltip-C0qyP5jK.js} +14 -14
- package/__chunks__/{Tooltip-DnLwtGUV.mjs → Tooltip-DMLWZU15.mjs} +14 -14
- package/__chunks__/{UnstyledButton-0v6TRjMY.mjs → UnstyledButton-6seSbTV1.mjs} +2 -2
- package/__chunks__/{UnstyledButton-BfeN_d1h.js → UnstyledButton-Dn8KZHdh.js} +1 -1
- package/__chunks__/{VerticalStack-ac4iBcxE.mjs → VerticalStack-BGcflJsS.mjs} +3 -3
- package/__chunks__/{VerticalStack-BUxIVmGp.js → VerticalStack-DYStFa7Z.js} +3 -3
- package/__chunks__/{VisuallyHidden-BsBkcHpw.mjs → VisuallyHidden-BttNIgVC.mjs} +2 -2
- package/__chunks__/{ariaHideOutside-2fSu0FuJ.js → ariaHideOutside-DNGR3Fo6.js} +3 -3
- package/__chunks__/{ariaHideOutside-Dhj8j6Mb.mjs → ariaHideOutside-DcIkumuG.mjs} +5 -5
- package/__chunks__/{runAfterTransition-DtSqibrj.js → context-C6CFGY_J.js} +7 -0
- package/__chunks__/{runAfterTransition-B7Bfhj0D.mjs → context-CgOWZch5.mjs} +8 -1
- package/__chunks__/{context-D3I6RuRU.mjs → context-DEwqildc.mjs} +1 -1
- package/__chunks__/{focusSafely-DfpH-pE9.mjs → focusSafely-Dw7K4rnX.mjs} +3 -3
- package/__chunks__/{focusSafely-CZPj1Dug.js → focusSafely-sLifanM7.js} +4 -4
- package/__chunks__/{isVirtualEvent-BPCuFO54.mjs → isVirtualEvent-BFRy7P_p.mjs} +2 -2
- package/__chunks__/lodash-Cu2-TIbX.mjs +5492 -0
- package/__chunks__/lodash-DfTCP3Dk.js +5491 -0
- package/__chunks__/{mergeProps-SJQ-f8LF.mjs → mergeProps-T961Q1yJ.mjs} +4 -4
- package/__chunks__/{scrollIntoView-C4vMSOYx.mjs → scrollIntoView-GfnXaOCE.mjs} +1 -1
- package/__chunks__/{useButton-C6QFpa4j.mjs → useButton-DEhs-Rkj.mjs} +3 -3
- package/__chunks__/{useButton-DVdJNlul.js → useButton-DvulUoU2.js} +2 -2
- package/__chunks__/{useDialog-CfUEt_df.mjs → useDialog-DAYxqkKY.mjs} +4 -4
- package/__chunks__/{useDialog-CtMBWxF5.js → useDialog-Dsqz1M_N.js} +3 -3
- package/__chunks__/{useEdgeInterceptors-DYwJNXXm.mjs → useEdgeInterceptors-B-WQYXsP.mjs} +5 -5
- package/__chunks__/{useEdgeInterceptors-CQ1iontu.js → useEdgeInterceptors-CuD3aTAb.js} +5 -5
- package/__chunks__/useEvent-C5RCZjKr.mjs +23 -0
- package/__chunks__/useEvent-DY7dR7Mi.js +22 -0
- package/__chunks__/{useField-DPD-La1H.mjs → useField-DWmSslhe.mjs} +2 -2
- package/__chunks__/{useFocus-By3Cx-xz.mjs → useFocus-DDj4i8Xy.mjs} +2 -2
- package/__chunks__/{useFocusRing-dRPhwlpK.mjs → useFocusRing-BE_dgxH5.mjs} +3 -3
- package/__chunks__/{useFocusVisible-BbEmluTm.mjs → useFocusVisible-CXSIZSY_.mjs} +2 -2
- package/__chunks__/{useFocusWithin-krnNAgDY.mjs → useFocusWithin-CDX8m0Wu.mjs} +1 -1
- package/__chunks__/{useFocusable-D0hhxIk-.js → useFocusable-BfXLORiH.js} +1 -1
- package/__chunks__/{useFocusable-B0naYTNU.mjs → useFocusable-DD5dAIXt.mjs} +4 -4
- package/__chunks__/{useFormReset-CFhWic3i.mjs → useFormReset-CmXMJVpO.mjs} +1 -1
- package/__chunks__/{useFormValidation-DAScndBq.mjs → useFormValidation-gwcVryr8.mjs} +2 -2
- package/__chunks__/{useHasTabbableChild-BY-g4H3y.js → useHasTabbableChild-C34XhtMr.js} +1 -1
- package/__chunks__/{useHasTabbableChild-9rS-nuc-.mjs → useHasTabbableChild-CRCY1COZ.mjs} +2 -2
- package/__chunks__/{useHighlightSelectionDescription-CPtYsCSQ.mjs → useHighlightSelectionDescription-DCgFgP4G.mjs} +3 -3
- package/__chunks__/{useLabel-BlM5Qwvq.mjs → useLabel-C0Q8946u.mjs} +2 -2
- package/__chunks__/{useLabels-DdXkBiwn.mjs → useLabels-Bly436JP.mjs} +1 -1
- package/__chunks__/{useLocalizedStringFormatter-DJWWtB78.mjs → useLocalizedStringFormatter-B5ons_mh.mjs} +1 -1
- package/__chunks__/{useModal-DajWXu6g.mjs → useOverlayPosition-B31NgShQ.mjs} +6 -73
- package/__chunks__/{useModal-QwDRNW96.js → useOverlayPosition-ucZjuzzI.js} +2 -69
- package/__chunks__/{usePress-CiUDlxr6.mjs → usePress-DV7a17gG.mjs} +4 -5
- package/__chunks__/{usePress-BVH8whNd.js → usePress-Dz8YYpge.js} +7 -8
- package/__chunks__/{useSelectableItem-CHd6ksRw.mjs → useSelectableItem-BDZ5pN_C.mjs} +11 -28
- package/__chunks__/{useSelectableItem-C0qCIU8l.js → useSelectableItem-BGvBbIwY.js} +9 -26
- package/__chunks__/{useSelectableList-FvytdUu7.mjs → useSelectableList-Bj35aLZH.mjs} +2 -2
- package/__chunks__/{useSelectableList-CnP9hXkb.js → useSelectableList-DlkRkps4.js} +1 -1
- package/__chunks__/{useSyncRef-Cp332icp.mjs → useSyncRef-CpaiKz0R.mjs} +1 -1
- package/__chunks__/{useToggle-YUgC8qn-.mjs → useToggle-BfGkPrAg.mjs} +4 -4
- package/__chunks__/{useToggle-DsYRac30.js → useToggle-D7gzXCXF.js} +2 -2
- package/__chunks__/{useTriggerWidth-B3JINZlR.mjs → useTriggerWidth-BC_zeUJ5.mjs} +7 -7
- package/__chunks__/{useTriggerWidth-CcKoLR8z.js → useTriggerWidth-C7OT3WI9.js} +4 -4
- package/__chunks__/{utils-Dm-0qf_-.mjs → utils-XuD3IFpv.mjs} +1 -1
- package/package.json +1 -1
- package/style.css +1131 -1046
- package/__chunks__/context-B-c1HPQa.js +0 -8
- package/__chunks__/context-BzShm_W7.mjs +0 -9
- package/__chunks__/useCloseOnScroll-CLFhBFoo.js +0 -54
- package/__chunks__/useCloseOnScroll-DxZ3orlK.mjs +0 -55
- package/__chunks__/{KeyboardDoubleArrowLeft-GpUjmD9o.mjs → KeyboardDoubleArrowRight-AAMLvGk-.mjs} +4 -4
- package/__chunks__/{KeyboardDoubleArrowLeft-BHR8vGMo.js → KeyboardDoubleArrowRight-Ber8mUIO.js} +4 -4
|
@@ -32,11 +32,11 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import * as React from "react";
|
|
33
33
|
import React__default from "react";
|
|
34
34
|
import { getComponentToken, classNames, variationName } from "../utilities/css.mjs";
|
|
35
|
-
import { H as HelpMenu } from "../__chunks__/HelpMenu-
|
|
36
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
37
|
-
import { T as Text } from "../__chunks__/Text-
|
|
38
|
-
import { B as Button } from "../__chunks__/Button-
|
|
39
|
-
import { S as Stepper } from "../__chunks__/Stepper-
|
|
35
|
+
import { H as HelpMenu } from "../__chunks__/HelpMenu-DCIr7b5K.mjs";
|
|
36
|
+
import { I as Icon } from "../__chunks__/Icon-CDgix2Sz.mjs";
|
|
37
|
+
import { T as Text } from "../__chunks__/Text-Sv_euunS.mjs";
|
|
38
|
+
import { B as Button } from "../__chunks__/Button-D6onI-kJ.mjs";
|
|
39
|
+
import { S as Stepper } from "../__chunks__/Stepper-CgF1pSNE.mjs";
|
|
40
40
|
function Content({ children }) {
|
|
41
41
|
return React__default.createElement("main", null, children);
|
|
42
42
|
}
|
|
@@ -77,7 +77,7 @@ const ArrowBack = (_a) => {
|
|
|
77
77
|
d: "M266.31-457.31 512-212l-32 32-300-300 300-300 32 32-245.69 245.31H780v45.38H266.31Z"
|
|
78
78
|
}));
|
|
79
79
|
};
|
|
80
|
-
const BackArrow$1 = "
|
|
80
|
+
const BackArrow$1 = "_BackArrow_9gncy_5";
|
|
81
81
|
const styles$5 = {
|
|
82
82
|
BackArrow: BackArrow$1
|
|
83
83
|
};
|
|
@@ -93,8 +93,8 @@ function BackArrow(props) {
|
|
|
93
93
|
}, "Back"))
|
|
94
94
|
}));
|
|
95
95
|
}
|
|
96
|
-
const HeaderAtTopOfPage$1 = "
|
|
97
|
-
const logoBox = "
|
|
96
|
+
const HeaderAtTopOfPage$1 = "_HeaderAtTopOfPage_1pmcl_5";
|
|
97
|
+
const logoBox = "_logoBox_1pmcl_14";
|
|
98
98
|
const styles$4 = {
|
|
99
99
|
HeaderAtTopOfPage: HeaderAtTopOfPage$1,
|
|
100
100
|
logoBox
|
|
@@ -112,10 +112,10 @@ function HeaderAtTopOfPage(props) {
|
|
|
112
112
|
onAction: onHelpMenuAction
|
|
113
113
|
}));
|
|
114
114
|
}
|
|
115
|
-
const HeaderInContentArea$1 = "
|
|
116
|
-
const logoBar = "
|
|
117
|
-
const titleBox = "
|
|
118
|
-
const backArrowBox = "
|
|
115
|
+
const HeaderInContentArea$1 = "_HeaderInContentArea_cnczi_5";
|
|
116
|
+
const logoBar = "_logoBar_cnczi_12";
|
|
117
|
+
const titleBox = "_titleBox_cnczi_24";
|
|
118
|
+
const backArrowBox = "_backArrowBox_cnczi_30";
|
|
119
119
|
const styles$3 = {
|
|
120
120
|
HeaderInContentArea: HeaderInContentArea$1,
|
|
121
121
|
logoBar,
|
|
@@ -142,7 +142,7 @@ function HeaderInContentArea(props) {
|
|
|
142
142
|
variant: "heading3"
|
|
143
143
|
}, title))));
|
|
144
144
|
}
|
|
145
|
-
const SidePanel$1 = "
|
|
145
|
+
const SidePanel$1 = "_SidePanel_1mhxl_5";
|
|
146
146
|
const styles$2 = {
|
|
147
147
|
SidePanel: SidePanel$1
|
|
148
148
|
};
|
|
@@ -154,11 +154,11 @@ function SidePanel(props) {
|
|
|
154
154
|
style
|
|
155
155
|
}, children);
|
|
156
156
|
}
|
|
157
|
-
const WizardContent$1 = "
|
|
158
|
-
const main = "
|
|
159
|
-
const stepperContainer = "
|
|
160
|
-
const stepper = "
|
|
161
|
-
const footer = "
|
|
157
|
+
const WizardContent$1 = "_WizardContent_o5zwa_5";
|
|
158
|
+
const main = "_main_o5zwa_12";
|
|
159
|
+
const stepperContainer = "_stepperContainer_o5zwa_16";
|
|
160
|
+
const stepper = "_stepper_o5zwa_16";
|
|
161
|
+
const footer = "_footer_o5zwa_35";
|
|
162
162
|
const styles$1 = {
|
|
163
163
|
WizardContent: WizardContent$1,
|
|
164
164
|
main,
|
|
@@ -188,11 +188,11 @@ function WizardContent(props) {
|
|
|
188
188
|
onPress: nextAction.onAction
|
|
189
189
|
}, nextAction.content)));
|
|
190
190
|
}
|
|
191
|
-
const FocusedProductLayout$1 = "
|
|
192
|
-
const innerContainer = "
|
|
193
|
-
const topBar = "
|
|
194
|
-
const contentContainer = "
|
|
195
|
-
const sidePanelPositionStart = "
|
|
191
|
+
const FocusedProductLayout$1 = "_FocusedProductLayout_whj99_5";
|
|
192
|
+
const innerContainer = "_innerContainer_whj99_18";
|
|
193
|
+
const topBar = "_topBar_whj99_33";
|
|
194
|
+
const contentContainer = "_contentContainer_whj99_42";
|
|
195
|
+
const sidePanelPositionStart = "_sidePanelPositionStart_whj99_56";
|
|
196
196
|
const styles = {
|
|
197
197
|
FocusedProductLayout: FocusedProductLayout$1,
|
|
198
198
|
innerContainer,
|
package/FormLayout/index.js
CHANGED
|
@@ -30,8 +30,8 @@ var __objRest = (source, exclude) => {
|
|
|
30
30
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
31
|
const React = require("react");
|
|
32
32
|
const utilities_css = require("../utilities/css.js");
|
|
33
|
-
const HorizontalGrid = require("../__chunks__/HorizontalGrid-
|
|
34
|
-
const Text = require("../__chunks__/Text-
|
|
33
|
+
const HorizontalGrid = require("../__chunks__/HorizontalGrid-BUpw5nwO.js");
|
|
34
|
+
const Text = require("../__chunks__/Text-Bo5ZXIKu.js");
|
|
35
35
|
const utilities_react = require("../utilities/react.js");
|
|
36
36
|
function Grid(props) {
|
|
37
37
|
const { children, columns } = props;
|
|
@@ -40,7 +40,7 @@ function Grid(props) {
|
|
|
40
40
|
gap: "2"
|
|
41
41
|
}, children);
|
|
42
42
|
}
|
|
43
|
-
const Header$1 = "
|
|
43
|
+
const Header$1 = "_Header_1caay_5";
|
|
44
44
|
const styles$2 = {
|
|
45
45
|
Header: Header$1
|
|
46
46
|
};
|
|
@@ -58,7 +58,7 @@ function HelperText(props) {
|
|
|
58
58
|
}, children);
|
|
59
59
|
}
|
|
60
60
|
const WithinSectionContext = React.createContext(false);
|
|
61
|
-
const Section$1 = "
|
|
61
|
+
const Section$1 = "_Section_59yl8_5";
|
|
62
62
|
const styles$1 = {
|
|
63
63
|
Section: Section$1
|
|
64
64
|
};
|
|
@@ -107,7 +107,7 @@ function Title(props) {
|
|
|
107
107
|
}, restProps), textProps), children);
|
|
108
108
|
}
|
|
109
109
|
Title.displayName = "FormLayout.Title";
|
|
110
|
-
const FormLayout$1 = "
|
|
110
|
+
const FormLayout$1 = "_FormLayout_120i8_5";
|
|
111
111
|
const styles = {
|
|
112
112
|
FormLayout: FormLayout$1
|
|
113
113
|
};
|
package/FormLayout/index.mjs
CHANGED
|
@@ -28,8 +28,8 @@ var __objRest = (source, exclude) => {
|
|
|
28
28
|
};
|
|
29
29
|
import React__default, { createContext, useMemo, isValidElement, useContext } from "react";
|
|
30
30
|
import { classNames } from "../utilities/css.mjs";
|
|
31
|
-
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid
|
|
32
|
-
import { T as Text } from "../__chunks__/Text-
|
|
31
|
+
import { H as HorizontalGrid } from "../__chunks__/HorizontalGrid--W2GD8lN.mjs";
|
|
32
|
+
import { T as Text } from "../__chunks__/Text-Sv_euunS.mjs";
|
|
33
33
|
import { deepFind } from "../utilities/react.mjs";
|
|
34
34
|
function Grid(props) {
|
|
35
35
|
const { children, columns } = props;
|
|
@@ -38,7 +38,7 @@ function Grid(props) {
|
|
|
38
38
|
gap: "2"
|
|
39
39
|
}, children);
|
|
40
40
|
}
|
|
41
|
-
const Header$1 = "
|
|
41
|
+
const Header$1 = "_Header_1caay_5";
|
|
42
42
|
const styles$2 = {
|
|
43
43
|
Header: Header$1
|
|
44
44
|
};
|
|
@@ -56,7 +56,7 @@ function HelperText(props) {
|
|
|
56
56
|
}, children);
|
|
57
57
|
}
|
|
58
58
|
const WithinSectionContext = createContext(false);
|
|
59
|
-
const Section$1 = "
|
|
59
|
+
const Section$1 = "_Section_59yl8_5";
|
|
60
60
|
const styles$1 = {
|
|
61
61
|
Section: Section$1
|
|
62
62
|
};
|
|
@@ -105,7 +105,7 @@ function Title(props) {
|
|
|
105
105
|
}, restProps), textProps), children);
|
|
106
106
|
}
|
|
107
107
|
Title.displayName = "FormLayout.Title";
|
|
108
|
-
const FormLayout$1 = "
|
|
108
|
+
const FormLayout$1 = "_FormLayout_120i8_5";
|
|
109
109
|
const styles = {
|
|
110
110
|
FormLayout: FormLayout$1
|
|
111
111
|
};
|
package/HorizontalGrid/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const HorizontalGrid = require("../__chunks__/HorizontalGrid-
|
|
3
|
+
const HorizontalGrid = require("../__chunks__/HorizontalGrid-BUpw5nwO.js");
|
|
4
4
|
exports.HorizontalGrid = HorizontalGrid.HorizontalGrid;
|
package/HorizontalGrid/index.mjs
CHANGED
package/HorizontalStack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
3
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CXhmbQu4.js");
|
|
4
4
|
exports.HorizontalStack = HorizontalStack.HorizontalStack;
|
package/Icon/index.js
CHANGED
package/Icon/index.mjs
CHANGED
package/IconButton/index.js
CHANGED
|
@@ -29,20 +29,20 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
31
31
|
const React = require("react");
|
|
32
|
-
const UnstyledButton = require("../__chunks__/UnstyledButton-
|
|
33
|
-
const Icon = require("../__chunks__/Icon-
|
|
34
|
-
const Text = require("../__chunks__/Text-
|
|
32
|
+
const UnstyledButton = require("../__chunks__/UnstyledButton-Dn8KZHdh.js");
|
|
33
|
+
const Icon = require("../__chunks__/Icon-BCBvOy-b.js");
|
|
34
|
+
const Text = require("../__chunks__/Text-Bo5ZXIKu.js");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const IconButton$1 = "
|
|
37
|
-
const colorPrimary = "
|
|
38
|
-
const colorSecondary = "
|
|
39
|
-
const colorSuccess = "
|
|
40
|
-
const colorWarning = "
|
|
41
|
-
const colorNeutral = "
|
|
42
|
-
const colorSupport = "
|
|
43
|
-
const colorInverse = "
|
|
44
|
-
const variantOutlined = "
|
|
45
|
-
const variantFilled = "
|
|
36
|
+
const IconButton$1 = "_IconButton_u82s8_5";
|
|
37
|
+
const colorPrimary = "_colorPrimary_u82s8_20";
|
|
38
|
+
const colorSecondary = "_colorSecondary_u82s8_28";
|
|
39
|
+
const colorSuccess = "_colorSuccess_u82s8_36";
|
|
40
|
+
const colorWarning = "_colorWarning_u82s8_44";
|
|
41
|
+
const colorNeutral = "_colorNeutral_u82s8_52";
|
|
42
|
+
const colorSupport = "_colorSupport_u82s8_60";
|
|
43
|
+
const colorInverse = "_colorInverse_u82s8_66";
|
|
44
|
+
const variantOutlined = "_variantOutlined_u82s8_72";
|
|
45
|
+
const variantFilled = "_variantFilled_u82s8_101";
|
|
46
46
|
const styles = {
|
|
47
47
|
IconButton: IconButton$1,
|
|
48
48
|
colorPrimary,
|
package/IconButton/index.mjs
CHANGED
|
@@ -27,20 +27,20 @@ var __objRest = (source, exclude) => {
|
|
|
27
27
|
return target;
|
|
28
28
|
};
|
|
29
29
|
import React__default, { forwardRef } from "react";
|
|
30
|
-
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-
|
|
31
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
32
|
-
import { T as Text } from "../__chunks__/Text-
|
|
30
|
+
import { l as logWarningIfInvalidColorVariantCombination, U as UnstyledButton } from "../__chunks__/UnstyledButton-6seSbTV1.mjs";
|
|
31
|
+
import { I as Icon } from "../__chunks__/Icon-CDgix2Sz.mjs";
|
|
32
|
+
import { T as Text } from "../__chunks__/Text-Sv_euunS.mjs";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
const IconButton$1 = "
|
|
35
|
-
const colorPrimary = "
|
|
36
|
-
const colorSecondary = "
|
|
37
|
-
const colorSuccess = "
|
|
38
|
-
const colorWarning = "
|
|
39
|
-
const colorNeutral = "
|
|
40
|
-
const colorSupport = "
|
|
41
|
-
const colorInverse = "
|
|
42
|
-
const variantOutlined = "
|
|
43
|
-
const variantFilled = "
|
|
34
|
+
const IconButton$1 = "_IconButton_u82s8_5";
|
|
35
|
+
const colorPrimary = "_colorPrimary_u82s8_20";
|
|
36
|
+
const colorSecondary = "_colorSecondary_u82s8_28";
|
|
37
|
+
const colorSuccess = "_colorSuccess_u82s8_36";
|
|
38
|
+
const colorWarning = "_colorWarning_u82s8_44";
|
|
39
|
+
const colorNeutral = "_colorNeutral_u82s8_52";
|
|
40
|
+
const colorSupport = "_colorSupport_u82s8_60";
|
|
41
|
+
const colorInverse = "_colorInverse_u82s8_66";
|
|
42
|
+
const variantOutlined = "_variantOutlined_u82s8_72";
|
|
43
|
+
const variantFilled = "_variantFilled_u82s8_101";
|
|
44
44
|
const styles = {
|
|
45
45
|
IconButton: IconButton$1,
|
|
46
46
|
colorPrimary,
|
|
@@ -69,6 +69,10 @@ export type InputFieldProps = AriaTextFieldProps & {
|
|
|
69
69
|
iconAtStart?: IconSymbol;
|
|
70
70
|
/** Right aligned icon on input. */
|
|
71
71
|
iconAtEnd?: IconSymbol;
|
|
72
|
+
/** Left aligned text on input */
|
|
73
|
+
textAtStart?: ReactNode;
|
|
74
|
+
/** Right aligned text on input */
|
|
75
|
+
textAtEnd?: ReactNode;
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* @privateRemarks
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../src/InputField/InputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAY,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"InputField.d.ts","sourceRoot":"","sources":["../../src/InputField/InputField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAY,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAetC,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,OAAO,GACP,UAAU,GACV,KAAK,GACL,QAAQ,GACR,SAAS,CAAC;AACd,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,kBAAkB,GAAG;IACjD;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,4CAA4C;IAC5C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,mCAAmC;IACnC,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,iCAAiC;IACjC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,kCAAkC;IAClC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AACF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBA8JhD"}
|
package/InputField/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const InputField = require("../__chunks__/InputField-
|
|
3
|
+
const InputField = require("../__chunks__/InputField-C86b2081.js");
|
|
4
4
|
exports.InputField = InputField.InputField;
|
package/InputField/index.mjs
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import { InputSize } from "./InputField";
|
|
3
|
+
export type TextFieldTextAlignment = "start" | "end";
|
|
4
|
+
export type TextFieldTextProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Input's text alignment.
|
|
7
|
+
* @default false
|
|
8
|
+
*/
|
|
9
|
+
alignment?: TextFieldTextAlignment;
|
|
10
|
+
/**
|
|
11
|
+
* Size of associated input.
|
|
12
|
+
* @default 'md'
|
|
13
|
+
*/
|
|
14
|
+
size?: InputSize;
|
|
15
|
+
/** Text to display alongside input. */
|
|
16
|
+
text: ReactNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @privateRemarks
|
|
20
|
+
* The InputText component has been designed for use on the InputField
|
|
21
|
+
* component. Text can appears either at the start or end of the input
|
|
22
|
+
*/
|
|
23
|
+
export declare function InputText(props: TextFieldTextProps): React.JSX.Element;
|
|
24
|
+
//# sourceMappingURL=inputText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputText.d.ts","sourceRoot":"","sources":["../../src/InputField/inputText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,KAAK,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uCAAuC;IACvC,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB,qBAkBlD"}
|
|
@@ -2,7 +2,7 @@ import { ReactNode } from "react";
|
|
|
2
2
|
import { InputSize } from "./InputField";
|
|
3
3
|
/** Small fields need xs icon */
|
|
4
4
|
export declare function mapIconSize(size: InputSize): "md" | "xs";
|
|
5
|
-
export declare function logWarningsForInvalidPropConfiguration(bothIconPropsDefined: boolean, smallSizeTextarea: boolean, definedIconsWithTextarea: boolean): void;
|
|
5
|
+
export declare function logWarningsForInvalidPropConfiguration(bothIconPropsDefined: boolean, smallSizeTextarea: boolean, definedIconsWithTextarea: boolean, iconAndTextPropsDefined: boolean): void;
|
|
6
6
|
export declare function logWarningForMissingAriaLabel(label: ReactNode, ariaLabel: string | undefined): void;
|
|
7
7
|
export declare function getElementType(isMultiline: boolean): "input" | "textarea";
|
|
8
8
|
//# sourceMappingURL=utilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/InputField/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,gCAAgC;AAChC,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,eAO1C;AAED,wBAAgB,sCAAsC,CACpD,oBAAoB,EAAE,OAAO,EAC7B,iBAAiB,EAAE,OAAO,EAC1B,wBAAwB,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../src/InputField/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,gCAAgC;AAChC,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,eAO1C;AAED,wBAAgB,sCAAsC,CACpD,oBAAoB,EAAE,OAAO,EAC7B,iBAAiB,EAAE,OAAO,EAC1B,wBAAwB,EAAE,OAAO,EACjC,uBAAuB,EAAE,OAAO,QAmBjC;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE,MAAM,GAAG,SAAS,QAK9B;AAED,wBAAgB,cAAc,CAAC,WAAW,EAAE,OAAO,wBAElD"}
|
package/KebabButton/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const KebabButton = require("../__chunks__/KebabButton-
|
|
3
|
+
const KebabButton = require("../__chunks__/KebabButton-ClU7vgEf.js");
|
|
4
4
|
exports.KebabButton = KebabButton.KebabButton;
|
package/KebabButton/index.mjs
CHANGED
package/Menu/index.js
CHANGED
package/Menu/index.mjs
CHANGED
package/Modal/index.js
CHANGED
|
@@ -34,16 +34,15 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
34
34
|
const React = require("react");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
36
|
const utilities_useScrollbar = require("../utilities/useScrollbar.js");
|
|
37
|
-
const Button = require("../__chunks__/Button-
|
|
37
|
+
const Button = require("../__chunks__/Button-DQ2NkvB7.js");
|
|
38
38
|
const Close = require("../__chunks__/Close-BQ2IlPyf.js");
|
|
39
|
-
const HorizontalStack = require("../__chunks__/HorizontalStack-
|
|
40
|
-
const Icon = require("../__chunks__/Icon-
|
|
41
|
-
const Text = require("../__chunks__/Text-
|
|
42
|
-
const VerticalStack = require("../__chunks__/VerticalStack-
|
|
43
|
-
const useDialog = require("../__chunks__/useDialog-
|
|
44
|
-
const Overlay = require("../__chunks__/Overlay-
|
|
45
|
-
const
|
|
46
|
-
const ariaHideOutside = require("../__chunks__/ariaHideOutside-2fSu0FuJ.js");
|
|
39
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CXhmbQu4.js");
|
|
40
|
+
const Icon = require("../__chunks__/Icon-BCBvOy-b.js");
|
|
41
|
+
const Text = require("../__chunks__/Text-Bo5ZXIKu.js");
|
|
42
|
+
const VerticalStack = require("../__chunks__/VerticalStack-DYStFa7Z.js");
|
|
43
|
+
const useDialog = require("../__chunks__/useDialog-Dsqz1M_N.js");
|
|
44
|
+
const Overlay = require("../__chunks__/Overlay-ZinDp2HW.js");
|
|
45
|
+
const ariaHideOutside = require("../__chunks__/ariaHideOutside-DNGR3Fo6.js");
|
|
47
46
|
const useIntersectionDetection = require("../__chunks__/useIntersectionDetection-DI5n4zwA.js");
|
|
48
47
|
const ModalContext = React.createContext(null);
|
|
49
48
|
const useModalContext = () => {
|
|
@@ -65,20 +64,20 @@ const useModalTrigger = () => {
|
|
|
65
64
|
const modalTriggerContext = useModalTriggerContext();
|
|
66
65
|
return modalTriggerContext.state;
|
|
67
66
|
};
|
|
68
|
-
const underlayBg = "
|
|
69
|
-
const underlayBox = "
|
|
70
|
-
const underlayEdge = "
|
|
71
|
-
const Modal$1 = "
|
|
72
|
-
const header = "
|
|
73
|
-
const stuck = "
|
|
74
|
-
const body = "
|
|
75
|
-
const content = "
|
|
76
|
-
const footer = "
|
|
77
|
-
const closeBtn = "
|
|
78
|
-
const iconAtEnd = "
|
|
79
|
-
const sizeSm = "
|
|
80
|
-
const sizeMd = "
|
|
81
|
-
const sizeLg = "
|
|
67
|
+
const underlayBg = "_underlayBg_1exz2_5";
|
|
68
|
+
const underlayBox = "_underlayBox_1exz2_28";
|
|
69
|
+
const underlayEdge = "_underlayEdge_1exz2_36";
|
|
70
|
+
const Modal$1 = "_Modal_1exz2_42";
|
|
71
|
+
const header = "_header_1exz2_60";
|
|
72
|
+
const stuck = "_stuck_1exz2_66";
|
|
73
|
+
const body = "_body_1exz2_70";
|
|
74
|
+
const content = "_content_1exz2_77";
|
|
75
|
+
const footer = "_footer_1exz2_94";
|
|
76
|
+
const closeBtn = "_closeBtn_1exz2_111";
|
|
77
|
+
const iconAtEnd = "_iconAtEnd_1exz2_125";
|
|
78
|
+
const sizeSm = "_sizeSm_1exz2_131";
|
|
79
|
+
const sizeMd = "_sizeMd_1exz2_135";
|
|
80
|
+
const sizeLg = "_sizeLg_1exz2_139";
|
|
82
81
|
const styles = {
|
|
83
82
|
underlayBg,
|
|
84
83
|
underlayBox,
|
|
@@ -188,7 +187,7 @@ function ModalUnderlay(props) {
|
|
|
188
187
|
}
|
|
189
188
|
function ModalTrigger(props) {
|
|
190
189
|
const _a = props, { children, isDismissable = true } = _a, inTriggerProps = __objRest(_a, ["children", "isDismissable"]);
|
|
191
|
-
const state =
|
|
190
|
+
const state = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6(inTriggerProps);
|
|
192
191
|
const { triggerProps, overlayProps } = ariaHideOutside.$628037886ba31236$export$f9d5c8beee7d008d({
|
|
193
192
|
type: "dialog"
|
|
194
193
|
}, state);
|
|
@@ -229,7 +228,7 @@ function ModalContainer(props) {
|
|
|
229
228
|
if (child && child !== lastChild) {
|
|
230
229
|
setLastChild(child);
|
|
231
230
|
}
|
|
232
|
-
const state =
|
|
231
|
+
const state = Overlay.$fc909762b330b746$export$61c6a8c84e605fb6({
|
|
233
232
|
isOpen: Boolean(child),
|
|
234
233
|
onOpenChange: (isOpen) => {
|
|
235
234
|
if (!isOpen) {
|
package/Modal/index.mjs
CHANGED
|
@@ -32,16 +32,15 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
import React__default, { createContext, useContext, useMemo, cloneElement, useState, useRef } from "react";
|
|
33
33
|
import { classNames, variationName } from "../utilities/css.mjs";
|
|
34
34
|
import { useScrollbar } from "../utilities/useScrollbar.mjs";
|
|
35
|
-
import { B as Button } from "../__chunks__/Button-
|
|
35
|
+
import { B as Button } from "../__chunks__/Button-D6onI-kJ.mjs";
|
|
36
36
|
import { C as Close } from "../__chunks__/Close-Cq6Q6MN6.mjs";
|
|
37
|
-
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-
|
|
38
|
-
import { I as Icon } from "../__chunks__/Icon-
|
|
39
|
-
import { T as Text } from "../__chunks__/Text-
|
|
40
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-
|
|
41
|
-
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb, a as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { c as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/ariaHideOutside-Dhj8j6Mb.mjs";
|
|
37
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-x4HGqgsU.mjs";
|
|
38
|
+
import { I as Icon } from "../__chunks__/Icon-CDgix2Sz.mjs";
|
|
39
|
+
import { T as Text } from "../__chunks__/Text-Sv_euunS.mjs";
|
|
40
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-BGcflJsS.mjs";
|
|
41
|
+
import { $ as $8ac8429251c45e4b$export$dbc0f175b25fb0fb, a as $40df3f8667284809$export$d55e7ee900f34e93 } from "../__chunks__/useDialog-DAYxqkKY.mjs";
|
|
42
|
+
import { c as $337b884510726a0d$export$c6fdb837b070b4ff, b as $fc909762b330b746$export$61c6a8c84e605fb6 } from "../__chunks__/Overlay-CuhLUuXt.mjs";
|
|
43
|
+
import { c as $628037886ba31236$export$f9d5c8beee7d008d } from "../__chunks__/ariaHideOutside-DcIkumuG.mjs";
|
|
45
44
|
import { u as useIntersectionDetection } from "../__chunks__/useIntersectionDetection-BvUmtDgl.mjs";
|
|
46
45
|
const ModalContext = createContext(null);
|
|
47
46
|
const useModalContext = () => {
|
|
@@ -63,20 +62,20 @@ const useModalTrigger = () => {
|
|
|
63
62
|
const modalTriggerContext = useModalTriggerContext();
|
|
64
63
|
return modalTriggerContext.state;
|
|
65
64
|
};
|
|
66
|
-
const underlayBg = "
|
|
67
|
-
const underlayBox = "
|
|
68
|
-
const underlayEdge = "
|
|
69
|
-
const Modal$1 = "
|
|
70
|
-
const header = "
|
|
71
|
-
const stuck = "
|
|
72
|
-
const body = "
|
|
73
|
-
const content = "
|
|
74
|
-
const footer = "
|
|
75
|
-
const closeBtn = "
|
|
76
|
-
const iconAtEnd = "
|
|
77
|
-
const sizeSm = "
|
|
78
|
-
const sizeMd = "
|
|
79
|
-
const sizeLg = "
|
|
65
|
+
const underlayBg = "_underlayBg_1exz2_5";
|
|
66
|
+
const underlayBox = "_underlayBox_1exz2_28";
|
|
67
|
+
const underlayEdge = "_underlayEdge_1exz2_36";
|
|
68
|
+
const Modal$1 = "_Modal_1exz2_42";
|
|
69
|
+
const header = "_header_1exz2_60";
|
|
70
|
+
const stuck = "_stuck_1exz2_66";
|
|
71
|
+
const body = "_body_1exz2_70";
|
|
72
|
+
const content = "_content_1exz2_77";
|
|
73
|
+
const footer = "_footer_1exz2_94";
|
|
74
|
+
const closeBtn = "_closeBtn_1exz2_111";
|
|
75
|
+
const iconAtEnd = "_iconAtEnd_1exz2_125";
|
|
76
|
+
const sizeSm = "_sizeSm_1exz2_131";
|
|
77
|
+
const sizeMd = "_sizeMd_1exz2_135";
|
|
78
|
+
const sizeLg = "_sizeLg_1exz2_139";
|
|
80
79
|
const styles = {
|
|
81
80
|
underlayBg,
|
|
82
81
|
underlayBox,
|