@easypost/easy-ui 1.0.0-alpha.112 → 1.0.0-alpha.114
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/AlertBadge/AlertBadge.d.ts +1 -1
- package/AlertBadge/AlertBadge.d.ts.map +1 -1
- package/AlertBadge/index.js +20 -16
- package/AlertBadge/index.mjs +20 -16
- package/Badge/index.js +29 -19
- package/Badge/index.mjs +29 -19
- package/Banner/index.js +19 -12
- package/Banner/index.mjs +19 -12
- package/Button/index.js +1 -1
- package/Button/index.mjs +1 -1
- package/CHANGELOG.md +12 -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/CheckableCard/index.js +33 -24
- package/CheckableCard/index.mjs +33 -24
- package/Checkbox/index.js +1 -1
- package/Checkbox/index.mjs +1 -1
- package/CodeBlock/CodeBlock.d.ts.map +1 -1
- package/CodeBlock/context.d.ts +2 -1
- package/CodeBlock/context.d.ts.map +1 -1
- package/CodeBlock/index.js +81 -59
- package/CodeBlock/index.mjs +81 -59
- package/CodeSnippet/index.js +1 -1
- package/CodeSnippet/index.mjs +1 -1
- package/ColorPicker/index.js +71 -54
- package/ColorPicker/index.mjs +71 -54
- package/CustomerPortalLayout/index.js +101 -72
- package/CustomerPortalLayout/index.mjs +101 -72
- package/DataGrid/index.js +229 -173
- package/DataGrid/index.mjs +229 -173
- package/DatePicker/index.js +10 -8
- package/DatePicker/index.mjs +10 -8
- package/DateRangePicker/index.js +10 -8
- package/DateRangePicker/index.mjs +10 -8
- package/Drawer/context.d.ts +2 -2
- package/Drawer/context.d.ts.map +1 -1
- package/Drawer/index.js +99 -78
- package/Drawer/index.mjs +99 -78
- package/Drawer/useIntersectionDetection.d.ts +1 -1
- package/Drawer/useIntersectionDetection.d.ts.map +1 -1
- package/DropdownButton/index.js +15 -7
- package/DropdownButton/index.mjs +16 -8
- package/EmptyStateCard/index.js +53 -33
- package/EmptyStateCard/index.mjs +53 -33
- package/FocusedProductLayout/index.js +104 -76
- package/FocusedProductLayout/index.mjs +104 -76
- package/ForgeLayout/index.js +283 -217
- package/ForgeLayout/index.mjs +284 -218
- package/FormLayout/index.js +38 -24
- package/FormLayout/index.mjs +38 -24
- 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 +16 -9
- package/IconButton/index.mjs +17 -10
- 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/MenuTrigger.d.ts +1 -1
- package/Menu/MenuTrigger.d.ts.map +1 -1
- package/Menu/index.js +1 -1
- package/Menu/index.mjs +1 -1
- package/Modal/context.d.ts +3 -3
- package/Modal/context.d.ts.map +1 -1
- package/Modal/index.js +124 -93
- package/Modal/index.mjs +124 -93
- package/Modal/useIntersectionDetection.d.ts +1 -1
- package/Modal/useIntersectionDetection.d.ts.map +1 -1
- package/MultiSelect/MultiSelectDropdown.d.ts +2 -2
- package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -1
- package/MultiSelect/index.js +106 -83
- package/MultiSelect/index.mjs +107 -84
- package/MultiSelect/utilities.d.ts +1 -1
- package/MultiSelect/utilities.d.ts.map +1 -1
- package/MultipageSection/index.js +94 -71
- package/MultipageSection/index.mjs +94 -71
- package/NexusLayout/index.js +136 -102
- package/NexusLayout/index.mjs +136 -102
- package/Notification/NotificationTransition.d.ts +1 -1
- package/Notification/NotificationTransition.d.ts.map +1 -1
- package/Notification/index.js +1 -1
- package/Notification/index.mjs +1 -1
- package/Pagination/index.js +62 -50
- package/Pagination/index.mjs +63 -51
- package/PillGroup/index.js +1 -1
- package/PillGroup/index.mjs +1 -1
- package/PlanCard/illustrations/Building01/index.js +532 -531
- package/PlanCard/illustrations/Building01/index.mjs +532 -531
- package/PlanCard/illustrations/Building02/index.js +206 -205
- package/PlanCard/illustrations/Building02/index.mjs +206 -205
- package/PlanCard/illustrations/Building03/index.js +773 -772
- package/PlanCard/illustrations/Building03/index.mjs +773 -772
- package/PlanCard/illustrations/Building04/index.js +1528 -1527
- package/PlanCard/illustrations/Building04/index.mjs +1528 -1527
- package/PlanCard/index.js +59 -36
- package/PlanCard/index.mjs +60 -37
- package/ProductLayout/index.js +132 -91
- package/ProductLayout/index.mjs +132 -91
- package/Provider/index.js +18 -14
- package/Provider/index.mjs +18 -14
- package/RadioButtonGroup/index.js +14 -10
- package/RadioButtonGroup/index.mjs +14 -10
- 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/CondensedSearchNav.d.ts.map +1 -1
- package/SearchNav/index.js +197 -141
- package/SearchNav/index.mjs +198 -142
- package/SearchNav/utilities.d.ts +3 -3
- package/SearchNav/utilities.d.ts.map +1 -1
- package/SectionCard/index.js +43 -25
- package/SectionCard/index.mjs +43 -25
- package/Select/index.js +74 -62
- package/Select/index.mjs +74 -62
- 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 +22 -16
- package/SplitToggleCard/index.mjs +22 -16
- 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 +22 -16
- package/TabPanels/index.mjs +24 -18
- 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 +3 -3
- package/Textarea/index.mjs +3 -3
- 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 +20 -15
- package/ToggleCard/index.mjs +21 -16
- 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 +115 -88
- package/VerticalNav/index.mjs +115 -88
- package/VerticalStack/index.js +1 -1
- package/VerticalStack/index.mjs +1 -1
- package/__chunks__/{Button-5AuHgwU3.js → Button-CQdi4TMV.js} +15 -12
- package/__chunks__/{Button-BsGH6vGC.mjs → Button-JL1YQxJ5.mjs} +16 -13
- package/__chunks__/{Calendar-D09mdpmC.js → Calendar-C9zdRov0.js} +3 -2
- package/__chunks__/{Calendar-BGZysoV0.mjs → Calendar-DLzAtdfg.mjs} +3 -2
- package/__chunks__/{CalendarBase-Bn9o8BdD.mjs → CalendarBase-DJ38_qK6.mjs} +86 -64
- package/__chunks__/{CalendarBase-DHxad3N9.js → CalendarBase-M-f289w8.js} +86 -64
- package/__chunks__/{Card-CJug4GMX.mjs → Card-BgjWYPVY.mjs} +21 -12
- package/__chunks__/{Card-BM2DKiVA.js → Card-LPIW5drP.js} +21 -12
- package/__chunks__/{Checkbox-D2-8vvdr.js → Checkbox-B_-6lfKk.js} +36 -28
- package/__chunks__/{Checkbox-BWfY9XqH.mjs → Checkbox-DcaO0fC3.mjs} +36 -28
- package/__chunks__/{CodeSnippet-CIijbclb.js → CodeSnippet-25l4r2Gh.js} +16 -12
- package/__chunks__/{CodeSnippet-QpCpkoXv.mjs → CodeSnippet-B3nsMpvq.mjs} +16 -12
- package/__chunks__/{DatePickerBase-CFB0JDQA.mjs → DatePickerBase-BQc8LKWg.mjs} +80 -62
- package/__chunks__/{DatePickerBase-DSPIErms.js → DatePickerBase-BYYfRTEY.js} +80 -62
- package/__chunks__/EasyPostLogo-C9-Q0lSn.js +22 -0
- package/__chunks__/EasyPostLogo-DgIgAGa3.mjs +23 -0
- package/__chunks__/{HelpMenu-CO6kYktc.mjs → HelpMenu-BZRV42ab.mjs} +30 -21
- package/__chunks__/{HelpMenu-nihaGEVy.js → HelpMenu-C2t8KQuU.js} +30 -20
- package/__chunks__/{HorizontalGrid-CAwv7zKY.js → HorizontalGrid-CAoDcmPW.js} +5 -3
- package/__chunks__/{HorizontalGrid-Dz8EFgmu.mjs → HorizontalGrid-DbLeJBt8.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CxE8tPx_.mjs → HorizontalStack-CJavrBHm.mjs} +6 -4
- package/__chunks__/{HorizontalStack-CXpjASZi.js → HorizontalStack-CWdKKY8L.js} +5 -3
- package/__chunks__/{Icon-0SN9dbwU.mjs → Icon-BIpaQJ_I.mjs} +11 -10
- package/__chunks__/{Icon-W8F9w-jS.js → Icon-BRlbo3RF.js} +11 -10
- package/__chunks__/{InputCaption-C3Hf9Hvt.js → InputCaption-CccF4ynE.js} +19 -15
- package/__chunks__/{InputCaption-BJO9_Tby.mjs → InputCaption-DoyGkWQe.mjs} +19 -15
- package/__chunks__/{InputField-dq5XIhr1.mjs → InputField-CAY9O90X.mjs} +77 -66
- package/__chunks__/{InputField-CDHznUZd.js → InputField-DGb4ZDoR.js} +77 -66
- package/__chunks__/{InputIcon-Bpg4lyQx.mjs → InputIcon-CEATdJ1j.mjs} +9 -8
- package/__chunks__/{InputIcon-DdcvN3A4.js → InputIcon-DDKBJ_Tk.js} +9 -8
- package/__chunks__/{KebabButton-Bf1OdC5_.mjs → KebabButton-D-5Mjaj0.mjs} +15 -8
- package/__chunks__/{KebabButton-DdzHU7is.js → KebabButton-TbapERgy.js} +15 -8
- package/__chunks__/{Menu-DHwqwFlg.mjs → Menu-Ci1FGh8B.mjs} +88 -70
- package/__chunks__/{Menu-Kfc6nxFP.js → Menu-MGDv1tob.js} +88 -70
- package/__chunks__/{Notification-vF_YGVIP.js → Notification-DDQHWloB.js} +62 -48
- package/__chunks__/{Notification-BoT3Hm0B.mjs → Notification-DnNx0rb6.mjs} +64 -50
- package/__chunks__/{PillGroup-CAHVIlU0.js → PillGroup-BK8VCf3B.js} +41 -27
- package/__chunks__/{PillGroup-DjLJ4wVb.mjs → PillGroup-DN72MPhg.mjs} +41 -27
- package/__chunks__/{RadioGroup-DUu5GEpn.mjs → RadioGroup-BfKaJnSo.mjs} +58 -40
- package/__chunks__/{RadioGroup-CGQKZwDU.js → RadioGroup-BiCqtR0F.js} +58 -40
- package/__chunks__/{RangeCalendar-LPcJB19o.mjs → RangeCalendar-BdTjX8NT.mjs} +3 -2
- package/__chunks__/{RangeCalendar-Ckqj2J9L.js → RangeCalendar-Dz6LyRYS.js} +3 -2
- package/__chunks__/{SelectOverlay-CmbC4zrD.js → SelectOverlay-Bva0SG8D.js} +62 -51
- package/__chunks__/{SelectOverlay-DptO7xtn.mjs → SelectOverlay-q23ZLLi4.mjs} +62 -51
- package/__chunks__/{SelectorErrorTooltip-_D8DSBKs.js → SelectorErrorTooltip-BNLrFRLN.js} +19 -11
- package/__chunks__/{SelectorErrorTooltip-Dw1Fvd_q.mjs → SelectorErrorTooltip-rO2-k3Gl.mjs} +19 -12
- package/__chunks__/{Spinner-DOmPV59I.mjs → Spinner-COsekFr1.mjs} +17 -13
- package/__chunks__/{Spinner-D0ifPtVV.js → Spinner-vRnrcEz0.js} +16 -12
- package/__chunks__/{Stepper-BEyDIPNJ.mjs → Stepper-DlI-16t-.mjs} +48 -37
- package/__chunks__/{Stepper-CX0Mu37p.js → Stepper-lhcjfVFY.js} +47 -36
- package/__chunks__/{TabNav-vCt_zTvE.mjs → TabNav-BNhQF0b0.mjs} +10 -8
- package/__chunks__/{TabNav-B8aEzVyr.js → TabNav-bVgyfEV7.js} +10 -8
- package/__chunks__/{Tabs-DJ4aKu11.mjs → Tabs-BaROnbKg.mjs} +47 -38
- package/__chunks__/{Tabs-BL8odO0p.js → Tabs-DSngzN9A.js} +46 -37
- package/__chunks__/{Text-YOL3isF4.mjs → Text-D6oT5WJQ.mjs} +5 -4
- package/__chunks__/{Text-CSESKR_s.js → Text-DkzMEqky.js} +5 -4
- package/__chunks__/{TextField-D2QhDAdD.mjs → TextField-818kTElu.mjs} +3 -3
- package/__chunks__/{TextField-94cCP805.js → TextField-DKQVJPP_.js} +3 -3
- package/__chunks__/{Theme-DqbmY4wy.js → Theme-C2nSZUpG.js} +27 -17
- package/__chunks__/{Theme-BAFk7BvV.mjs → Theme-M__gFMM3.mjs} +28 -18
- package/__chunks__/{Toggle-D2ucsFxO.js → Toggle-BmJjrdVn.js} +43 -37
- package/__chunks__/{Toggle-CxjLdmzW.mjs → Toggle-DlDQ7rr2.mjs} +43 -37
- package/__chunks__/{Tooltip-DqpxBjpa.js → Tooltip-BSMvNula.js} +25 -17
- package/__chunks__/{Tooltip-DAyUY3na.mjs → Tooltip-BXRi0h4E.mjs} +25 -17
- package/__chunks__/{UnstyledButton-BFpQ2Irc.js → UnstyledButton-DW8CjaXN.js} +5 -3
- package/__chunks__/{UnstyledButton-DpQ5Ic9D.mjs → UnstyledButton-DxJLvL-G.mjs} +6 -4
- package/__chunks__/{VerticalStack-Dzpv3O67.js → VerticalStack-BHkiocKU.js} +5 -3
- package/__chunks__/{VerticalStack-C2yDQVHD.mjs → VerticalStack-DoMqBfYD.mjs} +6 -4
- package/__chunks__/index-CqNUlUoB.js +217 -0
- package/__chunks__/index-ee-P7jQr.mjs +218 -0
- package/__chunks__/{useEdgeInterceptors-D_DARZZd.mjs → useEdgeInterceptors-OZmGXvtF.mjs} +17 -14
- package/__chunks__/{useEdgeInterceptors-Ihk8NfjJ.js → useEdgeInterceptors-Rb2Hf0v8.js} +16 -13
- package/package.json +4 -6
- package/types.d.ts +1 -1
- package/types.d.ts.map +1 -1
- package/utilities/Noop.d.ts +1 -1
- package/utilities/Noop.d.ts.map +1 -1
- package/utilities/react.d.ts +1 -1
- package/utilities/react.d.ts.map +1 -1
- package/utilities/react.js +1 -1
- package/utilities/react.mjs +1 -1
- package/utilities/test.d.ts +1 -0
- package/utilities/test.d.ts.map +1 -1
- package/__chunks__/EasyPostLogo-B3Um5vvS.mjs +0 -22
- package/__chunks__/EasyPostLogo-DQt5KlFX.js +0 -21
- package/__chunks__/index-CUcRN4NO.js +0 -311
- package/__chunks__/index-Izk6uvQC.mjs +0 -312
|
@@ -31,16 +31,18 @@ var __objRest = (source, exclude) => {
|
|
|
31
31
|
return target;
|
|
32
32
|
};
|
|
33
33
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
34
|
-
const
|
|
34
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
35
35
|
const utilities_css = require("../utilities/css.js");
|
|
36
|
-
const HelpMenu = require("../__chunks__/HelpMenu-
|
|
36
|
+
const HelpMenu = require("../__chunks__/HelpMenu-C2t8KQuU.js");
|
|
37
37
|
const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
|
|
38
|
-
const Icon = require("../__chunks__/Icon-
|
|
39
|
-
const Text = require("../__chunks__/Text-
|
|
40
|
-
const Button = require("../__chunks__/Button-
|
|
41
|
-
const Stepper = require("../__chunks__/Stepper-
|
|
38
|
+
const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
|
|
39
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
40
|
+
const Button = require("../__chunks__/Button-CQdi4TMV.js");
|
|
41
|
+
const Stepper = require("../__chunks__/Stepper-lhcjfVFY.js");
|
|
42
42
|
function Content({ children }) {
|
|
43
|
-
return
|
|
43
|
+
return jsxRuntime.jsx("main", {
|
|
44
|
+
children
|
|
45
|
+
});
|
|
44
46
|
}
|
|
45
47
|
const BackArrow$1 = "_BackArrow_1hz2w_4";
|
|
46
48
|
const styles$5 = {
|
|
@@ -48,15 +50,19 @@ const styles$5 = {
|
|
|
48
50
|
};
|
|
49
51
|
function BackArrow(props) {
|
|
50
52
|
const { renderBackArrow } = props;
|
|
51
|
-
return
|
|
52
|
-
className: styles$5.BackArrow
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
return jsxRuntime.jsx("span", {
|
|
54
|
+
className: styles$5.BackArrow,
|
|
55
|
+
children: renderBackArrow({
|
|
56
|
+
children: jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
57
|
+
children: [jsxRuntime.jsx(Icon.Icon, {
|
|
58
|
+
symbol: ArrowBack.ArrowBack
|
|
59
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
60
|
+
visuallyHidden: true,
|
|
61
|
+
children: "Back"
|
|
62
|
+
})]
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
});
|
|
60
66
|
}
|
|
61
67
|
const HeaderAtTopOfPage$1 = "_HeaderAtTopOfPage_75jd7_4";
|
|
62
68
|
const logoBox = "_logoBox_75jd7_13";
|
|
@@ -66,16 +72,18 @@ const styles$4 = {
|
|
|
66
72
|
};
|
|
67
73
|
function HeaderAtTopOfPage(props) {
|
|
68
74
|
const { helpMenuItems, onHelpMenuAction, renderBackArrow, renderLogo } = props;
|
|
69
|
-
return
|
|
70
|
-
className: styles$4.HeaderAtTopOfPage
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
return jsxRuntime.jsxs("div", {
|
|
76
|
+
className: styles$4.HeaderAtTopOfPage,
|
|
77
|
+
children: [jsxRuntime.jsxs("span", {
|
|
78
|
+
className: styles$4.logoBox,
|
|
79
|
+
children: [jsxRuntime.jsx(BackArrow, {
|
|
80
|
+
renderBackArrow
|
|
81
|
+
}), renderLogo()]
|
|
82
|
+
}), jsxRuntime.jsx(HelpMenu.HelpMenu, {
|
|
83
|
+
items: helpMenuItems,
|
|
84
|
+
onAction: onHelpMenuAction
|
|
85
|
+
})]
|
|
86
|
+
});
|
|
79
87
|
}
|
|
80
88
|
const HeaderInContentArea$1 = "_HeaderInContentArea_9myao_4";
|
|
81
89
|
const logoBar = "_logoBar_9myao_11";
|
|
@@ -89,23 +97,30 @@ const styles$3 = {
|
|
|
89
97
|
};
|
|
90
98
|
function HeaderInContentArea(props) {
|
|
91
99
|
const { helpMenuItems, onHelpMenuAction, renderBackArrow, renderLogo, title } = props;
|
|
92
|
-
return
|
|
93
|
-
className: styles$3.HeaderInContentArea
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
100
|
+
return jsxRuntime.jsxs("div", {
|
|
101
|
+
className: styles$3.HeaderInContentArea,
|
|
102
|
+
children: [jsxRuntime.jsxs("div", {
|
|
103
|
+
className: styles$3.logoBar,
|
|
104
|
+
children: [renderLogo(), jsxRuntime.jsx(HelpMenu.HelpMenu, {
|
|
105
|
+
items: helpMenuItems,
|
|
106
|
+
onAction: onHelpMenuAction
|
|
107
|
+
})]
|
|
108
|
+
}), jsxRuntime.jsx("header", {
|
|
109
|
+
children: jsxRuntime.jsxs("div", {
|
|
110
|
+
className: styles$3.titleBox,
|
|
111
|
+
children: [jsxRuntime.jsx("span", {
|
|
112
|
+
className: styles$3.backArrowBox,
|
|
113
|
+
children: jsxRuntime.jsx(BackArrow, {
|
|
114
|
+
renderBackArrow
|
|
115
|
+
})
|
|
116
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
117
|
+
as: "h2",
|
|
118
|
+
variant: "heading3",
|
|
119
|
+
children: title
|
|
120
|
+
})]
|
|
121
|
+
})
|
|
122
|
+
})]
|
|
123
|
+
});
|
|
109
124
|
}
|
|
110
125
|
const SidePanel$1 = "_SidePanel_h0l1q_4";
|
|
111
126
|
const styles$2 = {
|
|
@@ -114,10 +129,11 @@ const styles$2 = {
|
|
|
114
129
|
function SidePanel(props) {
|
|
115
130
|
const { children, width = "auto" } = props;
|
|
116
131
|
const style = __spreadValues({}, utilities_css.getComponentToken("focused-product-layout-side-panel", "flex-basis", width));
|
|
117
|
-
return
|
|
132
|
+
return jsxRuntime.jsx("aside", {
|
|
118
133
|
className: styles$2.SidePanel,
|
|
119
|
-
style
|
|
120
|
-
|
|
134
|
+
style,
|
|
135
|
+
children
|
|
136
|
+
});
|
|
121
137
|
}
|
|
122
138
|
const WizardContent$1 = "_WizardContent_bmnre_4";
|
|
123
139
|
const main = "_main_bmnre_11";
|
|
@@ -133,25 +149,33 @@ const styles$1 = {
|
|
|
133
149
|
};
|
|
134
150
|
function WizardContent(props) {
|
|
135
151
|
const { activeStepIndex, steps, previousAction, nextAction, children } = props;
|
|
136
|
-
return
|
|
137
|
-
className: styles$1.WizardContent
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
return jsxRuntime.jsxs("div", {
|
|
153
|
+
className: styles$1.WizardContent,
|
|
154
|
+
children: [jsxRuntime.jsx("div", {
|
|
155
|
+
className: styles$1.stepperContainer,
|
|
156
|
+
children: jsxRuntime.jsx("div", {
|
|
157
|
+
className: styles$1.stepper,
|
|
158
|
+
children: jsxRuntime.jsx(Stepper.Stepper, {
|
|
159
|
+
activeStepIndex,
|
|
160
|
+
children: steps
|
|
161
|
+
})
|
|
162
|
+
})
|
|
163
|
+
}), jsxRuntime.jsx("main", {
|
|
164
|
+
className: styles$1.main,
|
|
165
|
+
children
|
|
166
|
+
}), jsxRuntime.jsxs("div", {
|
|
167
|
+
className: styles$1.footer,
|
|
168
|
+
children: [jsxRuntime.jsx(Button.Button, {
|
|
169
|
+
variant: "outlined",
|
|
170
|
+
color: "support",
|
|
171
|
+
onPress: previousAction.onAction,
|
|
172
|
+
children: previousAction.content
|
|
173
|
+
}), jsxRuntime.jsx(Button.Button, {
|
|
174
|
+
onPress: nextAction.onAction,
|
|
175
|
+
children: nextAction.content
|
|
176
|
+
})]
|
|
177
|
+
})]
|
|
178
|
+
});
|
|
155
179
|
}
|
|
156
180
|
const FocusedProductLayout$1 = "_FocusedProductLayout_q2le8_4";
|
|
157
181
|
const innerContainer = "_innerContainer_q2le8_17";
|
|
@@ -168,17 +192,21 @@ const styles = {
|
|
|
168
192
|
function FocusedProductLayout(props) {
|
|
169
193
|
const _a = props, { content, sidePanel, sidePanelPosition, title } = _a, headerProps = __objRest(_a, ["content", "sidePanel", "sidePanelPosition", "title"]);
|
|
170
194
|
const className = utilities_css.classNames(styles.FocusedProductLayout, sidePanelPosition && styles[utilities_css.variationName("sidePanelPosition", sidePanelPosition)]);
|
|
171
|
-
return
|
|
172
|
-
className
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
195
|
+
return jsxRuntime.jsx("div", {
|
|
196
|
+
className,
|
|
197
|
+
children: jsxRuntime.jsxs("div", {
|
|
198
|
+
className: styles.innerContainer,
|
|
199
|
+
children: [jsxRuntime.jsx("div", {
|
|
200
|
+
className: styles.topBar,
|
|
201
|
+
children: jsxRuntime.jsx(HeaderAtTopOfPage, __spreadValues({}, headerProps))
|
|
202
|
+
}), jsxRuntime.jsxs("div", {
|
|
203
|
+
className: styles.contentContainer,
|
|
204
|
+
children: [jsxRuntime.jsx(HeaderInContentArea, __spreadProps(__spreadValues({}, headerProps), {
|
|
205
|
+
title
|
|
206
|
+
})), content]
|
|
207
|
+
}), sidePanel]
|
|
208
|
+
})
|
|
209
|
+
});
|
|
182
210
|
}
|
|
183
211
|
FocusedProductLayout.SidePanel = SidePanel;
|
|
184
212
|
FocusedProductLayout.Content = Content;
|
|
@@ -29,16 +29,18 @@ var __objRest = (source, exclude) => {
|
|
|
29
29
|
}
|
|
30
30
|
return target;
|
|
31
31
|
};
|
|
32
|
-
import
|
|
32
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
33
33
|
import { getComponentToken, classNames, variationName } from "../utilities/css.mjs";
|
|
34
|
-
import { H as HelpMenu } from "../__chunks__/HelpMenu-
|
|
34
|
+
import { H as HelpMenu } from "../__chunks__/HelpMenu-BZRV42ab.mjs";
|
|
35
35
|
import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
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-
|
|
36
|
+
import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
|
|
37
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
38
|
+
import { B as Button } from "../__chunks__/Button-JL1YQxJ5.mjs";
|
|
39
|
+
import { S as Stepper } from "../__chunks__/Stepper-DlI-16t-.mjs";
|
|
40
40
|
function Content({ children }) {
|
|
41
|
-
return
|
|
41
|
+
return jsx("main", {
|
|
42
|
+
children
|
|
43
|
+
});
|
|
42
44
|
}
|
|
43
45
|
const BackArrow$1 = "_BackArrow_1hz2w_4";
|
|
44
46
|
const styles$5 = {
|
|
@@ -46,15 +48,19 @@ const styles$5 = {
|
|
|
46
48
|
};
|
|
47
49
|
function BackArrow(props) {
|
|
48
50
|
const { renderBackArrow } = props;
|
|
49
|
-
return
|
|
50
|
-
className: styles$5.BackArrow
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
51
|
+
return jsx("span", {
|
|
52
|
+
className: styles$5.BackArrow,
|
|
53
|
+
children: renderBackArrow({
|
|
54
|
+
children: jsxs(Fragment, {
|
|
55
|
+
children: [jsx(Icon, {
|
|
56
|
+
symbol: ArrowBack
|
|
57
|
+
}), jsx(Text, {
|
|
58
|
+
visuallyHidden: true,
|
|
59
|
+
children: "Back"
|
|
60
|
+
})]
|
|
61
|
+
})
|
|
62
|
+
})
|
|
63
|
+
});
|
|
58
64
|
}
|
|
59
65
|
const HeaderAtTopOfPage$1 = "_HeaderAtTopOfPage_75jd7_4";
|
|
60
66
|
const logoBox = "_logoBox_75jd7_13";
|
|
@@ -64,16 +70,18 @@ const styles$4 = {
|
|
|
64
70
|
};
|
|
65
71
|
function HeaderAtTopOfPage(props) {
|
|
66
72
|
const { helpMenuItems, onHelpMenuAction, renderBackArrow, renderLogo } = props;
|
|
67
|
-
return
|
|
68
|
-
className: styles$4.HeaderAtTopOfPage
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
return jsxs("div", {
|
|
74
|
+
className: styles$4.HeaderAtTopOfPage,
|
|
75
|
+
children: [jsxs("span", {
|
|
76
|
+
className: styles$4.logoBox,
|
|
77
|
+
children: [jsx(BackArrow, {
|
|
78
|
+
renderBackArrow
|
|
79
|
+
}), renderLogo()]
|
|
80
|
+
}), jsx(HelpMenu, {
|
|
81
|
+
items: helpMenuItems,
|
|
82
|
+
onAction: onHelpMenuAction
|
|
83
|
+
})]
|
|
84
|
+
});
|
|
77
85
|
}
|
|
78
86
|
const HeaderInContentArea$1 = "_HeaderInContentArea_9myao_4";
|
|
79
87
|
const logoBar = "_logoBar_9myao_11";
|
|
@@ -87,23 +95,30 @@ const styles$3 = {
|
|
|
87
95
|
};
|
|
88
96
|
function HeaderInContentArea(props) {
|
|
89
97
|
const { helpMenuItems, onHelpMenuAction, renderBackArrow, renderLogo, title } = props;
|
|
90
|
-
return
|
|
91
|
-
className: styles$3.HeaderInContentArea
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
98
|
+
return jsxs("div", {
|
|
99
|
+
className: styles$3.HeaderInContentArea,
|
|
100
|
+
children: [jsxs("div", {
|
|
101
|
+
className: styles$3.logoBar,
|
|
102
|
+
children: [renderLogo(), jsx(HelpMenu, {
|
|
103
|
+
items: helpMenuItems,
|
|
104
|
+
onAction: onHelpMenuAction
|
|
105
|
+
})]
|
|
106
|
+
}), jsx("header", {
|
|
107
|
+
children: jsxs("div", {
|
|
108
|
+
className: styles$3.titleBox,
|
|
109
|
+
children: [jsx("span", {
|
|
110
|
+
className: styles$3.backArrowBox,
|
|
111
|
+
children: jsx(BackArrow, {
|
|
112
|
+
renderBackArrow
|
|
113
|
+
})
|
|
114
|
+
}), jsx(Text, {
|
|
115
|
+
as: "h2",
|
|
116
|
+
variant: "heading3",
|
|
117
|
+
children: title
|
|
118
|
+
})]
|
|
119
|
+
})
|
|
120
|
+
})]
|
|
121
|
+
});
|
|
107
122
|
}
|
|
108
123
|
const SidePanel$1 = "_SidePanel_h0l1q_4";
|
|
109
124
|
const styles$2 = {
|
|
@@ -112,10 +127,11 @@ const styles$2 = {
|
|
|
112
127
|
function SidePanel(props) {
|
|
113
128
|
const { children, width = "auto" } = props;
|
|
114
129
|
const style = __spreadValues({}, getComponentToken("focused-product-layout-side-panel", "flex-basis", width));
|
|
115
|
-
return
|
|
130
|
+
return jsx("aside", {
|
|
116
131
|
className: styles$2.SidePanel,
|
|
117
|
-
style
|
|
118
|
-
|
|
132
|
+
style,
|
|
133
|
+
children
|
|
134
|
+
});
|
|
119
135
|
}
|
|
120
136
|
const WizardContent$1 = "_WizardContent_bmnre_4";
|
|
121
137
|
const main = "_main_bmnre_11";
|
|
@@ -131,25 +147,33 @@ const styles$1 = {
|
|
|
131
147
|
};
|
|
132
148
|
function WizardContent(props) {
|
|
133
149
|
const { activeStepIndex, steps, previousAction, nextAction, children } = props;
|
|
134
|
-
return
|
|
135
|
-
className: styles$1.WizardContent
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
return jsxs("div", {
|
|
151
|
+
className: styles$1.WizardContent,
|
|
152
|
+
children: [jsx("div", {
|
|
153
|
+
className: styles$1.stepperContainer,
|
|
154
|
+
children: jsx("div", {
|
|
155
|
+
className: styles$1.stepper,
|
|
156
|
+
children: jsx(Stepper, {
|
|
157
|
+
activeStepIndex,
|
|
158
|
+
children: steps
|
|
159
|
+
})
|
|
160
|
+
})
|
|
161
|
+
}), jsx("main", {
|
|
162
|
+
className: styles$1.main,
|
|
163
|
+
children
|
|
164
|
+
}), jsxs("div", {
|
|
165
|
+
className: styles$1.footer,
|
|
166
|
+
children: [jsx(Button, {
|
|
167
|
+
variant: "outlined",
|
|
168
|
+
color: "support",
|
|
169
|
+
onPress: previousAction.onAction,
|
|
170
|
+
children: previousAction.content
|
|
171
|
+
}), jsx(Button, {
|
|
172
|
+
onPress: nextAction.onAction,
|
|
173
|
+
children: nextAction.content
|
|
174
|
+
})]
|
|
175
|
+
})]
|
|
176
|
+
});
|
|
153
177
|
}
|
|
154
178
|
const FocusedProductLayout$1 = "_FocusedProductLayout_q2le8_4";
|
|
155
179
|
const innerContainer = "_innerContainer_q2le8_17";
|
|
@@ -166,17 +190,21 @@ const styles = {
|
|
|
166
190
|
function FocusedProductLayout(props) {
|
|
167
191
|
const _a = props, { content, sidePanel, sidePanelPosition, title } = _a, headerProps = __objRest(_a, ["content", "sidePanel", "sidePanelPosition", "title"]);
|
|
168
192
|
const className = classNames(styles.FocusedProductLayout, sidePanelPosition && styles[variationName("sidePanelPosition", sidePanelPosition)]);
|
|
169
|
-
return
|
|
170
|
-
className
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
193
|
+
return jsx("div", {
|
|
194
|
+
className,
|
|
195
|
+
children: jsxs("div", {
|
|
196
|
+
className: styles.innerContainer,
|
|
197
|
+
children: [jsx("div", {
|
|
198
|
+
className: styles.topBar,
|
|
199
|
+
children: jsx(HeaderAtTopOfPage, __spreadValues({}, headerProps))
|
|
200
|
+
}), jsxs("div", {
|
|
201
|
+
className: styles.contentContainer,
|
|
202
|
+
children: [jsx(HeaderInContentArea, __spreadProps(__spreadValues({}, headerProps), {
|
|
203
|
+
title
|
|
204
|
+
})), content]
|
|
205
|
+
}), sidePanel]
|
|
206
|
+
})
|
|
207
|
+
});
|
|
180
208
|
}
|
|
181
209
|
FocusedProductLayout.SidePanel = SidePanel;
|
|
182
210
|
FocusedProductLayout.Content = Content;
|