@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
|
@@ -19,11 +19,12 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
21
21
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
22
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
23
|
+
const HorizontalStack = require("../__chunks__/HorizontalStack-CWdKKY8L.js");
|
|
24
|
+
const Text = require("../__chunks__/Text-DkzMEqky.js");
|
|
25
|
+
const VerticalStack = require("../__chunks__/VerticalStack-BHkiocKU.js");
|
|
22
26
|
const React = require("react");
|
|
23
|
-
const
|
|
24
|
-
const Text = require("../__chunks__/Text-CSESKR_s.js");
|
|
25
|
-
const VerticalStack = require("../__chunks__/VerticalStack-Dzpv3O67.js");
|
|
26
|
-
const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
|
|
27
|
+
const Icon = require("../__chunks__/Icon-BRlbo3RF.js");
|
|
27
28
|
const utilities_css = require("../utilities/css.js");
|
|
28
29
|
const useLink = require("../__chunks__/useLink-CChqhQkC.js");
|
|
29
30
|
const useFocusRing = require("../__chunks__/useFocusRing-DbC9E5wC.js");
|
|
@@ -54,21 +55,25 @@ function MultipageSectionSidebarNav(props) {
|
|
|
54
55
|
selectedHref
|
|
55
56
|
};
|
|
56
57
|
}, [selectedHref]);
|
|
57
|
-
return
|
|
58
|
-
value: context
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
return jsxRuntime.jsx(SidebarNavContext.Provider, {
|
|
59
|
+
value: context,
|
|
60
|
+
children: jsxRuntime.jsx(VerticalStack.VerticalStack, {
|
|
61
|
+
as: "nav",
|
|
62
|
+
gap: "2",
|
|
63
|
+
children
|
|
64
|
+
})
|
|
65
|
+
});
|
|
63
66
|
}
|
|
64
67
|
function MultipageSectionSidebarNavSection(props) {
|
|
65
68
|
const { title, children } = props;
|
|
66
|
-
return
|
|
69
|
+
return jsxRuntime.jsxs(VerticalStack.VerticalStack, {
|
|
67
70
|
gap: "2",
|
|
68
|
-
inlineAlign: "start"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
inlineAlign: "start",
|
|
72
|
+
children: [jsxRuntime.jsx(Text.Text, {
|
|
73
|
+
variant: "overline",
|
|
74
|
+
children: title
|
|
75
|
+
}), children]
|
|
76
|
+
});
|
|
72
77
|
}
|
|
73
78
|
function MultipageSectionSidebarNavLink(props) {
|
|
74
79
|
const { href, iconSymbol, children } = props;
|
|
@@ -79,17 +84,19 @@ function MultipageSectionSidebarNavLink(props) {
|
|
|
79
84
|
const { hoverProps, isHovered } = useHover.$6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
80
85
|
const isSelected = href === selectedHref;
|
|
81
86
|
const className = utilities_css.classNames(styles$1.link, isFocusVisible && styles$1.focused, isHovered && styles$1.hovered, isSelected && styles$1.selected);
|
|
82
|
-
return
|
|
87
|
+
return jsxRuntime.jsxs("a", __spreadProps(__spreadValues({
|
|
83
88
|
ref,
|
|
84
89
|
className
|
|
85
90
|
}, mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
86
|
-
"aria-current": isSelected ? "page" : void 0
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
"aria-current": isSelected ? "page" : void 0,
|
|
92
|
+
children: [jsxRuntime.jsx(Icon.Icon, {
|
|
93
|
+
symbol: iconSymbol
|
|
94
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
95
|
+
variant: "body2",
|
|
96
|
+
weight: isSelected ? "semibold" : void 0,
|
|
97
|
+
children
|
|
98
|
+
})]
|
|
99
|
+
}));
|
|
93
100
|
}
|
|
94
101
|
const MultipageSection$1 = "_MultipageSection_1opeu_4";
|
|
95
102
|
const container = "_container_1opeu_14";
|
|
@@ -109,86 +116,102 @@ const styles = {
|
|
|
109
116
|
};
|
|
110
117
|
function MultipageSection(props) {
|
|
111
118
|
const { children } = props;
|
|
112
|
-
return
|
|
113
|
-
className: styles.MultipageSection
|
|
114
|
-
|
|
119
|
+
return jsxRuntime.jsx("section", {
|
|
120
|
+
className: styles.MultipageSection,
|
|
121
|
+
children
|
|
122
|
+
});
|
|
115
123
|
}
|
|
116
124
|
function MultipageSectionContainer(props) {
|
|
117
125
|
const { children } = props;
|
|
118
|
-
return
|
|
119
|
-
className: styles.container
|
|
120
|
-
|
|
126
|
+
return jsxRuntime.jsx("div", {
|
|
127
|
+
className: styles.container,
|
|
128
|
+
children
|
|
129
|
+
});
|
|
121
130
|
}
|
|
122
131
|
function MultipageSectionSplitContainer(props) {
|
|
123
132
|
const { children } = props;
|
|
124
|
-
return
|
|
125
|
-
className: styles.splitContainer
|
|
126
|
-
|
|
133
|
+
return jsxRuntime.jsx("div", {
|
|
134
|
+
className: styles.splitContainer,
|
|
135
|
+
children
|
|
136
|
+
});
|
|
127
137
|
}
|
|
128
138
|
function MultipageSectionSidebar(props) {
|
|
129
139
|
const { children } = props;
|
|
130
|
-
return
|
|
140
|
+
return jsxRuntime.jsx("div", {
|
|
131
141
|
role: "region",
|
|
132
|
-
className: styles.sidebar
|
|
133
|
-
|
|
142
|
+
className: styles.sidebar,
|
|
143
|
+
children
|
|
144
|
+
});
|
|
134
145
|
}
|
|
135
146
|
function MultipageSectionBrandHeader(props) {
|
|
136
147
|
const { children } = props;
|
|
137
|
-
return
|
|
138
|
-
className: styles.brandHeader
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
148
|
+
return jsxRuntime.jsx("div", {
|
|
149
|
+
className: styles.brandHeader,
|
|
150
|
+
children: jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
151
|
+
gap: "2",
|
|
152
|
+
blockAlign: "center",
|
|
153
|
+
children
|
|
154
|
+
})
|
|
155
|
+
});
|
|
143
156
|
}
|
|
144
157
|
function MultipageSectionBrandHeaderLogo(props) {
|
|
145
158
|
const { children } = props;
|
|
146
|
-
return
|
|
147
|
-
className: styles.brandLogo
|
|
148
|
-
|
|
159
|
+
return jsxRuntime.jsx("div", {
|
|
160
|
+
className: styles.brandLogo,
|
|
161
|
+
children
|
|
162
|
+
});
|
|
149
163
|
}
|
|
150
164
|
function MultipageSectionBrandHeaderTitle(props) {
|
|
151
165
|
const { children } = props;
|
|
152
|
-
return
|
|
166
|
+
return jsxRuntime.jsx(Text.Text, {
|
|
153
167
|
as: "h2",
|
|
154
168
|
variant: "heading3",
|
|
155
|
-
color: "primary.800"
|
|
156
|
-
|
|
169
|
+
color: "primary.800",
|
|
170
|
+
children
|
|
171
|
+
});
|
|
157
172
|
}
|
|
158
173
|
function MultipageSectionContent(props) {
|
|
159
174
|
const { children } = props;
|
|
160
|
-
return
|
|
161
|
-
className: styles.content
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
175
|
+
return jsxRuntime.jsx("div", {
|
|
176
|
+
className: styles.content,
|
|
177
|
+
children: jsxRuntime.jsx(VerticalStack.VerticalStack, {
|
|
178
|
+
gap: "2",
|
|
179
|
+
children
|
|
180
|
+
})
|
|
181
|
+
});
|
|
165
182
|
}
|
|
166
183
|
function MultipageSectionContentHeader(props) {
|
|
167
184
|
const { children } = props;
|
|
168
|
-
return
|
|
185
|
+
return jsxRuntime.jsx(HorizontalStack.HorizontalStack, {
|
|
169
186
|
as: "header",
|
|
170
187
|
blockAlign: "center",
|
|
171
|
-
align: "space-between"
|
|
172
|
-
|
|
188
|
+
align: "space-between",
|
|
189
|
+
children
|
|
190
|
+
});
|
|
173
191
|
}
|
|
174
192
|
function MultipageSectionContentTitle(props) {
|
|
175
193
|
const { children, titleIcon } = props;
|
|
176
|
-
return
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
194
|
+
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
195
|
+
children: titleIcon ? jsxRuntime.jsxs(HorizontalStack.HorizontalStack, {
|
|
196
|
+
gap: "1",
|
|
197
|
+
blockAlign: "center",
|
|
198
|
+
children: [jsxRuntime.jsx(Icon.Icon, {
|
|
199
|
+
symbol: titleIcon,
|
|
200
|
+
size: "lg",
|
|
201
|
+
color: "primary.800"
|
|
202
|
+
}), jsxRuntime.jsx(Text.Text, {
|
|
203
|
+
as: "h3",
|
|
204
|
+
variant: "heading5",
|
|
205
|
+
color: "primary.800",
|
|
206
|
+
children
|
|
207
|
+
})]
|
|
208
|
+
}) : jsxRuntime.jsx(Text.Text, {
|
|
209
|
+
as: "h3",
|
|
210
|
+
variant: "heading5",
|
|
211
|
+
color: "primary.800",
|
|
212
|
+
children
|
|
213
|
+
})
|
|
214
|
+
});
|
|
192
215
|
}
|
|
193
216
|
MultipageSection.Container = MultipageSectionContainer;
|
|
194
217
|
MultipageSection.SplitContainer = MultipageSectionSplitContainer;
|
|
@@ -17,11 +17,12 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
21
|
+
import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CJavrBHm.mjs";
|
|
22
|
+
import { T as Text } from "../__chunks__/Text-D6oT5WJQ.mjs";
|
|
23
|
+
import { V as VerticalStack } from "../__chunks__/VerticalStack-DoMqBfYD.mjs";
|
|
20
24
|
import React__default, { useMemo, useRef, useContext } from "react";
|
|
21
|
-
import {
|
|
22
|
-
import { T as Text } from "../__chunks__/Text-YOL3isF4.mjs";
|
|
23
|
-
import { V as VerticalStack } from "../__chunks__/VerticalStack-C2yDQVHD.mjs";
|
|
24
|
-
import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
|
|
25
|
+
import { I as Icon } from "../__chunks__/Icon-BIpaQJ_I.mjs";
|
|
25
26
|
import { classNames } from "../utilities/css.mjs";
|
|
26
27
|
import { $ as $298d61e98472621b$export$dcf14c9974fe2767 } from "../__chunks__/useLink-y6WGv96n.mjs";
|
|
27
28
|
import { $ as $f7dceffc5ad7768b$export$4e328f61c538687f } from "../__chunks__/useFocusRing-BWKhJSvH.mjs";
|
|
@@ -52,21 +53,25 @@ function MultipageSectionSidebarNav(props) {
|
|
|
52
53
|
selectedHref
|
|
53
54
|
};
|
|
54
55
|
}, [selectedHref]);
|
|
55
|
-
return
|
|
56
|
-
value: context
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
return jsx(SidebarNavContext.Provider, {
|
|
57
|
+
value: context,
|
|
58
|
+
children: jsx(VerticalStack, {
|
|
59
|
+
as: "nav",
|
|
60
|
+
gap: "2",
|
|
61
|
+
children
|
|
62
|
+
})
|
|
63
|
+
});
|
|
61
64
|
}
|
|
62
65
|
function MultipageSectionSidebarNavSection(props) {
|
|
63
66
|
const { title, children } = props;
|
|
64
|
-
return
|
|
67
|
+
return jsxs(VerticalStack, {
|
|
65
68
|
gap: "2",
|
|
66
|
-
inlineAlign: "start"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
inlineAlign: "start",
|
|
70
|
+
children: [jsx(Text, {
|
|
71
|
+
variant: "overline",
|
|
72
|
+
children: title
|
|
73
|
+
}), children]
|
|
74
|
+
});
|
|
70
75
|
}
|
|
71
76
|
function MultipageSectionSidebarNavLink(props) {
|
|
72
77
|
const { href, iconSymbol, children } = props;
|
|
@@ -77,17 +82,19 @@ function MultipageSectionSidebarNavLink(props) {
|
|
|
77
82
|
const { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456(props);
|
|
78
83
|
const isSelected = href === selectedHref;
|
|
79
84
|
const className = classNames(styles$1.link, isFocusVisible && styles$1.focused, isHovered && styles$1.hovered, isSelected && styles$1.selected);
|
|
80
|
-
return
|
|
85
|
+
return jsxs("a", __spreadProps(__spreadValues({
|
|
81
86
|
ref,
|
|
82
87
|
className
|
|
83
88
|
}, $3ef42575df84b30b$export$9d1611c77c2fe928(hoverProps, focusProps, linkProps)), {
|
|
84
|
-
"aria-current": isSelected ? "page" : void 0
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
"aria-current": isSelected ? "page" : void 0,
|
|
90
|
+
children: [jsx(Icon, {
|
|
91
|
+
symbol: iconSymbol
|
|
92
|
+
}), jsx(Text, {
|
|
93
|
+
variant: "body2",
|
|
94
|
+
weight: isSelected ? "semibold" : void 0,
|
|
95
|
+
children
|
|
96
|
+
})]
|
|
97
|
+
}));
|
|
91
98
|
}
|
|
92
99
|
const MultipageSection$1 = "_MultipageSection_1opeu_4";
|
|
93
100
|
const container = "_container_1opeu_14";
|
|
@@ -107,86 +114,102 @@ const styles = {
|
|
|
107
114
|
};
|
|
108
115
|
function MultipageSection(props) {
|
|
109
116
|
const { children } = props;
|
|
110
|
-
return
|
|
111
|
-
className: styles.MultipageSection
|
|
112
|
-
|
|
117
|
+
return jsx("section", {
|
|
118
|
+
className: styles.MultipageSection,
|
|
119
|
+
children
|
|
120
|
+
});
|
|
113
121
|
}
|
|
114
122
|
function MultipageSectionContainer(props) {
|
|
115
123
|
const { children } = props;
|
|
116
|
-
return
|
|
117
|
-
className: styles.container
|
|
118
|
-
|
|
124
|
+
return jsx("div", {
|
|
125
|
+
className: styles.container,
|
|
126
|
+
children
|
|
127
|
+
});
|
|
119
128
|
}
|
|
120
129
|
function MultipageSectionSplitContainer(props) {
|
|
121
130
|
const { children } = props;
|
|
122
|
-
return
|
|
123
|
-
className: styles.splitContainer
|
|
124
|
-
|
|
131
|
+
return jsx("div", {
|
|
132
|
+
className: styles.splitContainer,
|
|
133
|
+
children
|
|
134
|
+
});
|
|
125
135
|
}
|
|
126
136
|
function MultipageSectionSidebar(props) {
|
|
127
137
|
const { children } = props;
|
|
128
|
-
return
|
|
138
|
+
return jsx("div", {
|
|
129
139
|
role: "region",
|
|
130
|
-
className: styles.sidebar
|
|
131
|
-
|
|
140
|
+
className: styles.sidebar,
|
|
141
|
+
children
|
|
142
|
+
});
|
|
132
143
|
}
|
|
133
144
|
function MultipageSectionBrandHeader(props) {
|
|
134
145
|
const { children } = props;
|
|
135
|
-
return
|
|
136
|
-
className: styles.brandHeader
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
146
|
+
return jsx("div", {
|
|
147
|
+
className: styles.brandHeader,
|
|
148
|
+
children: jsx(HorizontalStack, {
|
|
149
|
+
gap: "2",
|
|
150
|
+
blockAlign: "center",
|
|
151
|
+
children
|
|
152
|
+
})
|
|
153
|
+
});
|
|
141
154
|
}
|
|
142
155
|
function MultipageSectionBrandHeaderLogo(props) {
|
|
143
156
|
const { children } = props;
|
|
144
|
-
return
|
|
145
|
-
className: styles.brandLogo
|
|
146
|
-
|
|
157
|
+
return jsx("div", {
|
|
158
|
+
className: styles.brandLogo,
|
|
159
|
+
children
|
|
160
|
+
});
|
|
147
161
|
}
|
|
148
162
|
function MultipageSectionBrandHeaderTitle(props) {
|
|
149
163
|
const { children } = props;
|
|
150
|
-
return
|
|
164
|
+
return jsx(Text, {
|
|
151
165
|
as: "h2",
|
|
152
166
|
variant: "heading3",
|
|
153
|
-
color: "primary.800"
|
|
154
|
-
|
|
167
|
+
color: "primary.800",
|
|
168
|
+
children
|
|
169
|
+
});
|
|
155
170
|
}
|
|
156
171
|
function MultipageSectionContent(props) {
|
|
157
172
|
const { children } = props;
|
|
158
|
-
return
|
|
159
|
-
className: styles.content
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
173
|
+
return jsx("div", {
|
|
174
|
+
className: styles.content,
|
|
175
|
+
children: jsx(VerticalStack, {
|
|
176
|
+
gap: "2",
|
|
177
|
+
children
|
|
178
|
+
})
|
|
179
|
+
});
|
|
163
180
|
}
|
|
164
181
|
function MultipageSectionContentHeader(props) {
|
|
165
182
|
const { children } = props;
|
|
166
|
-
return
|
|
183
|
+
return jsx(HorizontalStack, {
|
|
167
184
|
as: "header",
|
|
168
185
|
blockAlign: "center",
|
|
169
|
-
align: "space-between"
|
|
170
|
-
|
|
186
|
+
align: "space-between",
|
|
187
|
+
children
|
|
188
|
+
});
|
|
171
189
|
}
|
|
172
190
|
function MultipageSectionContentTitle(props) {
|
|
173
191
|
const { children, titleIcon } = props;
|
|
174
|
-
return
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
192
|
+
return jsx(Fragment, {
|
|
193
|
+
children: titleIcon ? jsxs(HorizontalStack, {
|
|
194
|
+
gap: "1",
|
|
195
|
+
blockAlign: "center",
|
|
196
|
+
children: [jsx(Icon, {
|
|
197
|
+
symbol: titleIcon,
|
|
198
|
+
size: "lg",
|
|
199
|
+
color: "primary.800"
|
|
200
|
+
}), jsx(Text, {
|
|
201
|
+
as: "h3",
|
|
202
|
+
variant: "heading5",
|
|
203
|
+
color: "primary.800",
|
|
204
|
+
children
|
|
205
|
+
})]
|
|
206
|
+
}) : jsx(Text, {
|
|
207
|
+
as: "h3",
|
|
208
|
+
variant: "heading5",
|
|
209
|
+
color: "primary.800",
|
|
210
|
+
children
|
|
211
|
+
})
|
|
212
|
+
});
|
|
190
213
|
}
|
|
191
214
|
MultipageSection.Container = MultipageSectionContainer;
|
|
192
215
|
MultipageSection.SplitContainer = MultipageSectionSplitContainer;
|