@easypost/easy-ui 1.0.0-alpha.87 → 1.0.0-alpha.89

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.
Files changed (159) hide show
  1. package/Badge/index.js +1 -1
  2. package/Badge/index.mjs +1 -1
  3. package/Banner/index.js +1 -1
  4. package/Banner/index.mjs +1 -1
  5. package/CHANGELOG.md +16 -0
  6. package/Calendar/index.js +1 -1
  7. package/Calendar/index.mjs +1 -1
  8. package/CheckableCard/index.js +2 -2
  9. package/CheckableCard/index.mjs +2 -2
  10. package/Checkbox/index.js +1 -1
  11. package/Checkbox/index.mjs +1 -1
  12. package/CodeBlock/index.js +3 -3
  13. package/CodeBlock/index.mjs +3 -3
  14. package/CustomerPortalLayout/CustomerPortalLayout.d.ts +97 -0
  15. package/CustomerPortalLayout/CustomerPortalLayout.d.ts.map +1 -0
  16. package/{HostedUILayout/HostedUILayout.stories.d.ts → CustomerPortalLayout/CustomerPortalLayout.stories.d.ts} +4 -4
  17. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts.map +1 -0
  18. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts +2 -0
  19. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts.map +1 -0
  20. package/{HostedUILayout/HostedUILayoutActions.d.ts → CustomerPortalLayout/CustomerPortalLayoutActions.d.ts} +11 -11
  21. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts.map +1 -0
  22. package/CustomerPortalLayout/index.d.ts +2 -0
  23. package/CustomerPortalLayout/index.d.ts.map +1 -0
  24. package/{HostedUILayout → CustomerPortalLayout}/index.js +39 -39
  25. package/{HostedUILayout → CustomerPortalLayout}/index.mjs +39 -39
  26. package/DataGrid/index.js +5 -5
  27. package/DataGrid/index.mjs +5 -5
  28. package/DatePicker/index.js +3 -3
  29. package/DatePicker/index.mjs +3 -3
  30. package/DateRangePicker/index.js +3 -3
  31. package/DateRangePicker/index.mjs +3 -3
  32. package/Drawer/index.js +1 -1
  33. package/Drawer/index.mjs +1 -1
  34. package/EmptyStateCard/index.js +1 -1
  35. package/EmptyStateCard/index.mjs +1 -1
  36. package/FocusedProductLayout/index.js +2 -2
  37. package/FocusedProductLayout/index.mjs +2 -2
  38. package/ForgeLayout/index.js +4 -4
  39. package/ForgeLayout/index.mjs +4 -4
  40. package/FormLayout/index.js +1 -1
  41. package/FormLayout/index.mjs +1 -1
  42. package/IconButton/index.js +1 -1
  43. package/IconButton/index.mjs +1 -1
  44. package/InputField/index.js +1 -1
  45. package/InputField/index.mjs +1 -1
  46. package/KebabButton/index.js +1 -1
  47. package/KebabButton/index.mjs +1 -1
  48. package/Menu/index.js +1 -1
  49. package/Menu/index.mjs +1 -1
  50. package/Modal/index.js +1 -1
  51. package/Modal/index.mjs +1 -1
  52. package/MultiSelect/index.js +3 -3
  53. package/MultiSelect/index.mjs +4 -4
  54. package/MultipageSection/index.js +1 -1
  55. package/MultipageSection/index.mjs +1 -1
  56. package/NexusLayout/index.js +2 -2
  57. package/NexusLayout/index.mjs +2 -2
  58. package/Notification/index.js +1 -1
  59. package/Notification/index.mjs +1 -1
  60. package/Pagination/index.js +2 -2
  61. package/Pagination/index.mjs +2 -2
  62. package/PillGroup/index.js +1 -1
  63. package/PillGroup/index.mjs +1 -1
  64. package/PlanCard/index.js +1 -1
  65. package/PlanCard/index.mjs +1 -1
  66. package/ProductLayout/index.js +2 -2
  67. package/ProductLayout/index.mjs +2 -2
  68. package/Provider/index.js +1 -1
  69. package/Provider/index.mjs +1 -1
  70. package/RadioButtonGroup/index.js +1 -1
  71. package/RadioButtonGroup/index.mjs +1 -1
  72. package/RadioGroup/RadioGroup.d.ts +6 -6
  73. package/RadioGroup/RadioGroup.d.ts.map +1 -1
  74. package/RadioGroup/index.js +1 -1
  75. package/RadioGroup/index.mjs +1 -1
  76. package/RangeCalendar/index.js +1 -1
  77. package/RangeCalendar/index.mjs +1 -1
  78. package/SearchNav/index.js +3 -3
  79. package/SearchNav/index.mjs +3 -3
  80. package/SectionCard/index.js +1 -1
  81. package/SectionCard/index.mjs +1 -1
  82. package/Select/Select.d.ts +7 -7
  83. package/Select/Select.d.ts.map +1 -1
  84. package/Select/index.js +6 -5
  85. package/Select/index.mjs +6 -5
  86. package/SelectorErrorTooltip/index.js +1 -1
  87. package/SelectorErrorTooltip/index.mjs +1 -1
  88. package/Spinner/index.js +1 -1
  89. package/Spinner/index.mjs +1 -1
  90. package/SplitToggleCard/index.js +1 -1
  91. package/SplitToggleCard/index.mjs +1 -1
  92. package/Text/Text.d.ts +4 -1
  93. package/Text/Text.d.ts.map +1 -1
  94. package/Text/Text.stories.d.ts +1 -0
  95. package/Text/Text.stories.d.ts.map +1 -1
  96. package/Text/index.js +1 -1
  97. package/Text/index.mjs +1 -1
  98. package/TextField/index.js +1 -1
  99. package/TextField/index.mjs +1 -1
  100. package/Textarea/index.js +1 -1
  101. package/Textarea/index.mjs +1 -1
  102. package/Toggle/index.js +1 -1
  103. package/Toggle/index.mjs +1 -1
  104. package/Tooltip/index.js +1 -1
  105. package/Tooltip/index.mjs +1 -1
  106. package/VerticalNav/index.js +1 -1
  107. package/VerticalNav/index.mjs +1 -1
  108. package/__chunks__/{Calendar-joo_8vqm.js → Calendar-B5vygFsi.js} +1 -1
  109. package/__chunks__/{Calendar-B8v6TkXp.mjs → Calendar-gsUZ4Ouw.mjs} +1 -1
  110. package/__chunks__/{CalendarBase-adL7KcVi.mjs → CalendarBase-DdQhuGNt.mjs} +1 -1
  111. package/__chunks__/{CalendarBase-B1T_Rybe.js → CalendarBase-uhGc8AVV.js} +1 -1
  112. package/__chunks__/{Checkbox-DwkJKuPC.js → Checkbox-DRiYZLsh.js} +2 -2
  113. package/__chunks__/{Checkbox-DJAFG_mm.mjs → Checkbox-qpqqY9LH.mjs} +2 -2
  114. package/__chunks__/{DatePickerBase-DRR0aOm4.js → DatePickerBase-CNWUovPI.js} +2 -2
  115. package/__chunks__/{DatePickerBase-Bg4YQMAj.mjs → DatePickerBase-ybPQnjX-.mjs} +2 -2
  116. package/__chunks__/{HelpMenu-LZ_ky28u.js → HelpMenu-B2V5jMQp.js} +2 -2
  117. package/__chunks__/{HelpMenu-DHNd3X_S.mjs → HelpMenu-wJ8eKahi.mjs} +2 -2
  118. package/__chunks__/{InputCaption-G9D1cPnP.js → InputCaption-DXmr8j5G.js} +1 -1
  119. package/__chunks__/{InputCaption-aU5qZQlo.mjs → InputCaption-DcmpIrex.mjs} +1 -1
  120. package/__chunks__/{InputField-CH28zjUK.js → InputField-Bs95nClb.js} +2 -2
  121. package/__chunks__/{InputField-D4Arfzdz.mjs → InputField-CVYymiyI.mjs} +2 -2
  122. package/__chunks__/{KebabButton-BF8hfPrB.js → KebabButton-C1m6nOIu.js} +1 -1
  123. package/__chunks__/{KebabButton-D5KhH0qQ.mjs → KebabButton-DBFzY1Rq.mjs} +1 -1
  124. package/__chunks__/{Menu-CfHK_0Sr.mjs → Menu-O33j8u7r.mjs} +2 -2
  125. package/__chunks__/{Menu-CivAepFq.js → Menu-y5owPz-O.js} +2 -2
  126. package/__chunks__/{Notification-D7ceWiZq.js → Notification-CLnVLOaw.js} +1 -1
  127. package/__chunks__/{Notification-CRi-0D3f.mjs → Notification-DbzTJzSE.mjs} +1 -1
  128. package/__chunks__/{PillGroup-BWNzHd3P.js → PillGroup-D5gTBzKy.js} +1 -1
  129. package/__chunks__/{PillGroup-D0TUV_Qh.mjs → PillGroup-QTB5sJER.mjs} +1 -1
  130. package/__chunks__/{RadioGroup-B5o5aPT-.mjs → RadioGroup-DqooAc9M.mjs} +5 -4
  131. package/__chunks__/{RadioGroup-yg8Gtbol.js → RadioGroup-K565r4-w.js} +5 -4
  132. package/__chunks__/{RangeCalendar-CNLF6YQu.mjs → RangeCalendar-Ce46gNnr.mjs} +1 -1
  133. package/__chunks__/{RangeCalendar-BgB6xU9q.js → RangeCalendar-DPThKM4W.js} +1 -1
  134. package/__chunks__/{SelectOverlay-BaATkSsw.js → SelectOverlay-CwRhbg9F.js} +1 -1
  135. package/__chunks__/{SelectOverlay-DkEL-0O_.mjs → SelectOverlay-DT4LOSDh.mjs} +1 -1
  136. package/__chunks__/{SelectorErrorTooltip-b5pE6hY-.js → SelectorErrorTooltip-BT5gU6Pn.js} +2 -2
  137. package/__chunks__/{SelectorErrorTooltip-BPLk3N_Q.mjs → SelectorErrorTooltip-DlXOZjmQ.mjs} +2 -2
  138. package/__chunks__/{Spinner-CNAJknx9.mjs → Spinner-CVdzIrmm.mjs} +1 -1
  139. package/__chunks__/{Spinner-CipzStjn.js → Spinner-Cyc2JsYB.js} +1 -1
  140. package/__chunks__/Text-BWjD7__Y.mjs +123 -0
  141. package/__chunks__/Text-BXsuDbqc.js +122 -0
  142. package/__chunks__/{TextField-C6qMiNmy.js → TextField-BPZ6niGw.js} +1 -1
  143. package/__chunks__/{TextField-CUOz6ZUe.mjs → TextField-BVpSTQw-.mjs} +1 -1
  144. package/__chunks__/{Toggle-BQqjvn6Z.mjs → Toggle-Cr_Myw_x.mjs} +1 -1
  145. package/__chunks__/{Toggle-CTUk7LSy.js → Toggle-O9F7R6RR.js} +1 -1
  146. package/__chunks__/{Tooltip-BIfmWjfP.js → Tooltip-CNKZl6De.js} +1 -1
  147. package/__chunks__/{Tooltip-BcHfMDtC.mjs → Tooltip-DMBtRdkk.mjs} +1 -1
  148. package/package.json +1 -1
  149. package/style.css +73 -53
  150. package/HostedUILayout/HostedUILayout.d.ts +0 -97
  151. package/HostedUILayout/HostedUILayout.d.ts.map +0 -1
  152. package/HostedUILayout/HostedUILayout.stories.d.ts.map +0 -1
  153. package/HostedUILayout/HostedUILayout.test.d.ts +0 -2
  154. package/HostedUILayout/HostedUILayout.test.d.ts.map +0 -1
  155. package/HostedUILayout/HostedUILayoutActions.d.ts.map +0 -1
  156. package/HostedUILayout/index.d.ts +0 -2
  157. package/HostedUILayout/index.d.ts.map +0 -1
  158. package/__chunks__/Text-B1xglKFU.js +0 -112
  159. package/__chunks__/Text-CX5GoBTS.mjs +0 -113
package/Badge/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
4
  const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
5
- const Text = require("../__chunks__/Text-B1xglKFU.js");
5
+ const Text = require("../__chunks__/Text-BXsuDbqc.js");
6
6
  const utilities_css = require("../utilities/css.js");
7
7
  const root = "_root_kb4na_4";
8
8
  const block = "_block_kb4na_15";
package/Badge/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
2
  import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
3
- import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
3
+ import { T as Text } from "../__chunks__/Text-BWjD7__Y.mjs";
4
4
  import { classNames, variationName } from "../utilities/css.mjs";
5
5
  const root = "_root_kb4na_4";
6
6
  const block = "_block_kb4na_15";
package/Banner/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- const Text = require("../__chunks__/Text-B1xglKFU.js");
4
+ const Text = require("../__chunks__/Text-BXsuDbqc.js");
5
5
  const utilities_css = require("../utilities/css.js");
6
6
  const colorSuccess = "_colorSuccess_1w4t9_4";
7
7
  const colorPrimary = "_colorPrimary_1w4t9_9";
package/Banner/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import React__default from "react";
2
- import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
2
+ import { T as Text } from "../__chunks__/Text-BWjD7__Y.mjs";
3
3
  import { classNames, variationName } from "../utilities/css.mjs";
4
4
  const colorSuccess = "_colorSuccess_1w4t9_4";
5
5
  const colorPrimary = "_colorPrimary_1w4t9_9";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @easypost/easy-ui
2
2
 
3
+ ## 1.0.0-alpha.89
4
+
5
+ ### Minor Changes
6
+
7
+ - 77cd6e9: breaking: rename HostedUILayout to CustomerPortalLayout
8
+
9
+ ### Patch Changes
10
+
11
+ - 6ed79eb: Makes the `Select` and `RadioGroup` components accept generic keys
12
+
13
+ ## 1.0.0-alpha.88
14
+
15
+ ### Minor Changes
16
+
17
+ - 3d49b6d: feat(Text): add text-wrap support via textWrap prop
18
+
3
19
  ## 1.0.0-alpha.87
4
20
 
5
21
  ### Patch Changes
package/Calendar/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Calendar = require("../__chunks__/Calendar-joo_8vqm.js");
3
+ const Calendar = require("../__chunks__/Calendar-B5vygFsi.js");
4
4
  exports.Calendar = Calendar.Calendar;
@@ -1,4 +1,4 @@
1
- import { C } from "../__chunks__/Calendar-B8v6TkXp.mjs";
1
+ import { C } from "../__chunks__/Calendar-gsUZ4Ouw.mjs";
2
2
  export {
3
3
  C as Calendar
4
4
  };
@@ -33,9 +33,9 @@ var __objRest = (source, exclude) => {
33
33
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
34
34
  const React = require("react");
35
35
  const Card = require("../__chunks__/Card-BM2DKiVA.js");
36
- const Checkbox = require("../__chunks__/Checkbox-DwkJKuPC.js");
36
+ const Checkbox = require("../__chunks__/Checkbox-DRiYZLsh.js");
37
37
  const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
38
- const Text = require("../__chunks__/Text-B1xglKFU.js");
38
+ const Text = require("../__chunks__/Text-BXsuDbqc.js");
39
39
  const VerticalStack = require("../__chunks__/VerticalStack-Dzpv3O67.js");
40
40
  const textContainer = "_textContainer_e4oa4_4";
41
41
  const styles = {
@@ -31,9 +31,9 @@ var __objRest = (source, exclude) => {
31
31
  };
32
32
  import React__default from "react";
33
33
  import { C as Card } from "../__chunks__/Card-CJug4GMX.mjs";
34
- import { C as Checkbox } from "../__chunks__/Checkbox-DJAFG_mm.mjs";
34
+ import { C as Checkbox } from "../__chunks__/Checkbox-qpqqY9LH.mjs";
35
35
  import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs";
36
- import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
36
+ import { T as Text } from "../__chunks__/Text-BWjD7__Y.mjs";
37
37
  import { V as VerticalStack } from "../__chunks__/VerticalStack-C2yDQVHD.mjs";
38
38
  const textContainer = "_textContainer_e4oa4_4";
39
39
  const styles = {
package/Checkbox/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Checkbox = require("../__chunks__/Checkbox-DwkJKuPC.js");
3
+ const Checkbox = require("../__chunks__/Checkbox-DRiYZLsh.js");
4
4
  exports.Checkbox = Checkbox.Checkbox;
5
5
  exports.DEFAULT_SIZE = Checkbox.DEFAULT_SIZE;
@@ -1,4 +1,4 @@
1
- import { C, D } from "../__chunks__/Checkbox-DJAFG_mm.mjs";
1
+ import { C, D } from "../__chunks__/Checkbox-qpqqY9LH.mjs";
2
2
  export {
3
3
  C as Checkbox,
4
4
  D as DEFAULT_SIZE
@@ -22,13 +22,13 @@ const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
22
22
  const utilities_css = require("../utilities/css.js");
23
23
  const utilities_react = require("../utilities/react.js");
24
24
  const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
25
- const Text = require("../__chunks__/Text-B1xglKFU.js");
26
- const Tooltip = require("../__chunks__/Tooltip-BIfmWjfP.js");
25
+ const Text = require("../__chunks__/Text-BXsuDbqc.js");
26
+ const Tooltip = require("../__chunks__/Tooltip-CNKZl6De.js");
27
27
  const useHover = require("../__chunks__/useHover-BMIowV0x.js");
28
28
  const useFocus = require("../__chunks__/useFocus-Df2haWPe.js");
29
29
  const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.js");
30
30
  const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
31
- const Menu = require("../__chunks__/Menu-CivAepFq.js");
31
+ const Menu = require("../__chunks__/Menu-y5owPz-O.js");
32
32
  const UnstyledButton = require("../__chunks__/UnstyledButton-CnIn7VBo.js");
33
33
  function _interopNamespaceDefault(e) {
34
34
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -21,13 +21,13 @@ import { H as HorizontalStack } from "../__chunks__/HorizontalStack-CxE8tPx_.mjs
21
21
  import { classNames, variationName } from "../utilities/css.mjs";
22
22
  import { filterChildrenByDisplayName } from "../utilities/react.mjs";
23
23
  import { I as Icon } from "../__chunks__/Icon-0SN9dbwU.mjs";
24
- import { T as Text } from "../__chunks__/Text-CX5GoBTS.mjs";
25
- import { T as Tooltip, $ as $8796f90736e175cb$export$4d40659c25ecb50b } from "../__chunks__/Tooltip-BcHfMDtC.mjs";
24
+ import { T as Text } from "../__chunks__/Text-BWjD7__Y.mjs";
25
+ import { T as Tooltip, $ as $8796f90736e175cb$export$4d40659c25ecb50b } from "../__chunks__/Tooltip-DMBtRdkk.mjs";
26
26
  import { $ as $6179b936705e76d3$export$ae780daf29e6d456 } from "../__chunks__/useHover-CwJuylzq.mjs";
27
27
  import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "../__chunks__/useFocus-DsnhrQiB.mjs";
28
28
  import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "../__chunks__/mergeProps-CORsYhTp.mjs";
29
29
  import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
30
- import { M as Menu } from "../__chunks__/Menu-CfHK_0Sr.mjs";
30
+ import { M as Menu } from "../__chunks__/Menu-O33j8u7r.mjs";
31
31
  import { U as UnstyledButton } from "../__chunks__/UnstyledButton-CfhKDftV.mjs";
32
32
  var __defProp2 = Object.defineProperty;
33
33
  var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
@@ -0,0 +1,97 @@
1
+ import React, { ReactNode } from "react";
2
+ import { CustomerPortalLayoutActionBadge, CustomerPortalLayoutActions, CustomerPortalLayoutButtonAction, CustomerPortalLayoutLinkAction, CustomerPortalLayoutMenuAction } from "./CustomerPortalLayoutActions";
3
+ export type Mode = "test" | "production";
4
+ export type CustomerPortalLayoutProps = {
5
+ /**
6
+ * Displays a prominent message with an icon when in test mode.
7
+ *
8
+ * @default production
9
+ */
10
+ mode?: Mode;
11
+ /**
12
+ * Controls whether the EasyPost logo displays.
13
+ *
14
+ * @default true
15
+ */
16
+ shouldDisplayEasyPostLogo?: boolean;
17
+ /** Layout children. */
18
+ children: ReactNode;
19
+ };
20
+ export type CustomerPortalLayoutHeaderProps = {
21
+ /** Header children. */
22
+ children: ReactNode;
23
+ };
24
+ export type CustomerPortalLayoutLogoContainerProps = {
25
+ /** Logo container children */
26
+ children: ReactNode;
27
+ };
28
+ export type CustomerPortalLayoutLogoProps = {
29
+ /** Logo children. */
30
+ children: ReactNode;
31
+ };
32
+ export type CustomerPortalLayoutContentProps = {
33
+ /** Content children. */
34
+ children: ReactNode;
35
+ };
36
+ export type CustomerPortalLayoutContextType = {
37
+ shouldDisplayEasyPostLogo?: boolean;
38
+ mode?: Mode;
39
+ };
40
+ export declare const useCustomerPortalLayout: () => CustomerPortalLayoutContextType;
41
+ /**
42
+ * `CustomerPortalLayout` defines a header and main content area for a CustomerPortal product page.
43
+ *
44
+ * @remarks
45
+ * `CustomerPortalLayout` can be combined with `MultipageSection` to render a multipage navigational container.
46
+ *
47
+ * @example
48
+ * ```tsx
49
+ * <CustomerPortalLayout mode="test">
50
+ * <CustomerPortalLayout.Header>
51
+ * <CustomerPortalLayout.LogoContainer>
52
+ * <CustomerPortalLayout.Logo>
53
+ * <SomeLogo />
54
+ * </CustomerPortalLayout.Logo>
55
+ * </CustomerPortalLayout.LogoContainer>
56
+ * <CustomerPortalLayout.Actions>
57
+ * <CustomerPortalLayout.MenuAction
58
+ * accessibilityLabel="Menu Action"
59
+ * iconSymbol={Icon}
60
+ * renderBadge={() => <CustomerPortalLayout.ActionBadge />}
61
+ * >
62
+ * <Menu.Overlay onAction={() => {}}>
63
+ * <Menu.Item>Action 1</Menu.Item>
64
+ * <Menu.Item>Action 2</Menu.Item>
65
+ * </Menu.Overlay>
66
+ * </CustomerPortalLayout.MenuAction>
67
+ * <CustomerPortalLayout.ButtonAction
68
+ * accessibilityLabel="Button Action"
69
+ * iconSymbol={Icon}
70
+ * onPress={() => {}}
71
+ * />
72
+ * </CustomerPortalLayout.Actions>
73
+ * </CustomerPortalLayout.Header>
74
+ * <CustomerPortalLayout.Content>
75
+ * CustomerPortal Content
76
+ * </CustomerPortalLayout.Content>
77
+ * </CustomerPortalLayout>
78
+ * ```
79
+ */
80
+ export declare function CustomerPortalLayout(props: CustomerPortalLayoutProps): React.JSX.Element;
81
+ export declare namespace CustomerPortalLayout {
82
+ var Header: typeof CustomerPortalLayoutHeader;
83
+ var Logo: typeof CustomerPortalLayoutLogo;
84
+ var LogoContainer: typeof CustomerPortalLayoutLogoContainer;
85
+ var Actions: typeof CustomerPortalLayoutActions;
86
+ var ActionBadge: typeof CustomerPortalLayoutActionBadge;
87
+ var MenuAction: typeof CustomerPortalLayoutMenuAction;
88
+ var LinkAction: typeof CustomerPortalLayoutLinkAction;
89
+ var ButtonAction: typeof CustomerPortalLayoutButtonAction;
90
+ var Content: typeof CustomerPortalLayoutContent;
91
+ }
92
+ declare function CustomerPortalLayoutHeader(props: CustomerPortalLayoutHeaderProps): React.JSX.Element;
93
+ declare function CustomerPortalLayoutLogo(props: CustomerPortalLayoutLogoProps): React.JSX.Element;
94
+ declare function CustomerPortalLayoutLogoContainer(props: CustomerPortalLayoutLogoContainerProps): React.JSX.Element;
95
+ declare function CustomerPortalLayoutContent(props: CustomerPortalLayoutContentProps): React.JSX.Element;
96
+ export {};
97
+ //# sourceMappingURL=CustomerPortalLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerPortalLayout.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/CustomerPortalLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAM9D,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,+BAA+B,CAAC;AAIvC,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,YAAY,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,8BAA8B;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAKF,eAAO,MAAM,uBAAuB,uCAQnC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,qBAepE;yBAfe,oBAAoB;;;;;;;;;;;AA8BpC,iBAAS,0BAA0B,CAAC,KAAK,EAAE,+BAA+B,qBAUzE;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBAIrE;AAED,iBAAS,iCAAiC,CACxC,KAAK,EAAE,sCAAsC,qBAc9C;AAED,iBAAS,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,qBAG3E"}
@@ -1,10 +1,10 @@
1
1
  import { Meta, StoryObj } from "@storybook/react";
2
- import { HostedUILayout } from "./HostedUILayout";
3
- type Story = StoryObj<typeof HostedUILayout>;
4
- declare const meta: Meta<typeof HostedUILayout>;
2
+ import { CustomerPortalLayout } from "./CustomerPortalLayout";
3
+ type Story = StoryObj<typeof CustomerPortalLayout>;
4
+ declare const meta: Meta<typeof CustomerPortalLayout>;
5
5
  export default meta;
6
6
  export declare const StandardContent: Story;
7
7
  export declare const TestMode: Story;
8
8
  export declare const DisplayEasyPostLogo: Story;
9
9
  export declare const WithMultipageSection: Story;
10
- //# sourceMappingURL=HostedUILayout.stories.d.ts.map
10
+ //# sourceMappingURL=CustomerPortalLayout.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerPortalLayout.stories.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/CustomerPortalLayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAU3C,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,eAAe,EAAE,KA4B7B,CAAC;AACF,eAAO,MAAM,QAAQ,EAAE,KA4BtB,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,KA4BjC,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,KAoFlC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CustomerPortalLayout.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerPortalLayout.test.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/CustomerPortalLayout.test.tsx"],"names":[],"mappings":""}
@@ -2,15 +2,15 @@ import React, { ReactNode } from "react";
2
2
  import { AriaLinkOptions, PressHookProps } from "react-aria";
3
3
  import { ButtonProps } from "../Button";
4
4
  import { IconSymbol } from "../types";
5
- export type HostedUILayoutActionsProps = {
5
+ export type CustomerPortalLayoutActionsProps = {
6
6
  /** Actions children. */
7
7
  children: ReactNode;
8
8
  };
9
- export type HostedUILayoutActionBadgeProps = {
9
+ export type CustomerPortalLayoutActionBadgeProps = {
10
10
  /** Badge children. */
11
11
  children?: ReactNode;
12
12
  };
13
- export type HostedUILayoutMenuActionProps = {
13
+ export type CustomerPortalLayoutMenuActionProps = {
14
14
  /** Optional custom accessibility label describing the menu action. */
15
15
  accessibilityLabel?: string;
16
16
  /** Icon symbol for the action. */
@@ -20,7 +20,7 @@ export type HostedUILayoutMenuActionProps = {
20
20
  /** Render the menu overlay. */
21
21
  children: ReactNode;
22
22
  };
23
- export type HostedUILayoutLinkActionProps = {
23
+ export type CustomerPortalLayoutLinkActionProps = {
24
24
  /** Optional custom accessibility label describing the menu action. */
25
25
  accessibilityLabel?: string;
26
26
  /** Action link icon symbol. */
@@ -30,7 +30,7 @@ export type HostedUILayoutLinkActionProps = {
30
30
  /** Badge for the action. */
31
31
  renderBadge?: () => ReactNode;
32
32
  } & AriaLinkOptions;
33
- export type HostedUILayoutButtonActionProps = {
33
+ export type CustomerPortalLayoutButtonActionProps = {
34
34
  /** Optional custom accessibility label describing the menu action. */
35
35
  accessibilityLabel?: string;
36
36
  /** Action button icon symbol. */
@@ -40,11 +40,11 @@ export type HostedUILayoutButtonActionProps = {
40
40
  /** Badge for the action. */
41
41
  renderBadge?: () => ReactNode;
42
42
  } & ButtonProps & React.RefAttributes<HTMLButtonElement>;
43
- export declare function HostedUILayoutActions(props: HostedUILayoutActionsProps): React.JSX.Element;
44
- export declare function HostedUILayoutMenuAction(props: HostedUILayoutMenuActionProps): React.JSX.Element;
45
- export declare function HostedUILayoutLinkAction(props: HostedUILayoutLinkActionProps): React.JSX.Element;
46
- export declare function HostedUILayoutButtonAction(props: HostedUILayoutButtonActionProps): React.JSX.Element;
47
- export declare function HostedUILayoutActionBadge(props: HostedUILayoutActionBadgeProps): React.JSX.Element;
43
+ export declare function CustomerPortalLayoutActions(props: CustomerPortalLayoutActionsProps): React.JSX.Element;
44
+ export declare function CustomerPortalLayoutMenuAction(props: CustomerPortalLayoutMenuActionProps): React.JSX.Element;
45
+ export declare function CustomerPortalLayoutLinkAction(props: CustomerPortalLayoutLinkActionProps): React.JSX.Element;
46
+ export declare function CustomerPortalLayoutButtonAction(props: CustomerPortalLayoutButtonActionProps): React.JSX.Element;
47
+ export declare function CustomerPortalLayoutActionBadge(props: CustomerPortalLayoutActionBadgeProps): React.JSX.Element;
48
48
  /** TODO: Figure out how to work with UnstyledButton instead */
49
49
  export declare const PressableButton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & PressHookProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
50
- //# sourceMappingURL=HostedUILayoutActions.d.ts.map
50
+ //# sourceMappingURL=CustomerPortalLayoutActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomerPortalLayoutActions.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/CustomerPortalLayoutActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAIV,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EAEf,cAAc,EAKf,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAKxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAKtC,MAAM,MAAM,gCAAgC,GAAG;IAC7C,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oCAAoC,GAAG;IACjD,sBAAsB;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kCAAkC;IAClC,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;IAC9B,+BAA+B;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAAG;IAChD,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+BAA+B;IAC/B,UAAU,EAAE,UAAU,CAAC;IACvB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;CAC/B,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,qCAAqC,GAAG;IAClD,sEAAsE;IACtE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iCAAiC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;CAC/B,GAAG,WAAW,GACb,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEzC,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,gCAAgC,qBAQxC;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,mCAAmC,qBAqC3C;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,mCAAmC,qBAgC3C;AAED,wBAAgB,gCAAgC,CAC9C,KAAK,EAAE,qCAAqC,qBAyB7C;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,oCAAoC,qBAI5C;AAED,+DAA+D;AAC/D,eAAO,MAAM,eAAe,kMAY1B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./CustomerPortalLayout";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
@@ -34,10 +34,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
34
34
  const React = require("react");
35
35
  const EasyPostLogo = require("../__chunks__/EasyPostLogo-DQt5KlFX.js");
36
36
  const HorizontalStack = require("../__chunks__/HorizontalStack-CXpjASZi.js");
37
- const Text = require("../__chunks__/Text-B1xglKFU.js");
37
+ const Text = require("../__chunks__/Text-BXsuDbqc.js");
38
38
  const Icon = require("../__chunks__/Icon-W8F9w-jS.js");
39
39
  const Button = require("../__chunks__/Button-2GplvjoR.js");
40
- const Menu = require("../__chunks__/Menu-CivAepFq.js");
40
+ const Menu = require("../__chunks__/Menu-y5owPz-O.js");
41
41
  const utilities_css = require("../utilities/css.js");
42
42
  const useFocusRing = require("../__chunks__/useFocusRing-ygRrwBu3.js");
43
43
  const mergeProps = require("../__chunks__/mergeProps-d7wJkv71.js");
@@ -114,7 +114,7 @@ const styles$1 = {
114
114
  badgeContainer,
115
115
  badge
116
116
  };
117
- function HostedUILayoutActions(props) {
117
+ function CustomerPortalLayoutActions(props) {
118
118
  const { children } = props;
119
119
  return React.createElement(HorizontalStack.HorizontalStack, {
120
120
  wrap: false,
@@ -122,7 +122,7 @@ function HostedUILayoutActions(props) {
122
122
  align: "end"
123
123
  }, children);
124
124
  }
125
- function HostedUILayoutMenuAction(props) {
125
+ function CustomerPortalLayoutMenuAction(props) {
126
126
  const { accessibilityLabel = "Actions", iconSymbol, children, renderBadge } = props;
127
127
  const [isOpen, setIsOpen] = React.useState(false);
128
128
  const handleOpenChange = React.useCallback((isOpen2) => {
@@ -144,7 +144,7 @@ function HostedUILayoutMenuAction(props) {
144
144
  className: styles$1.badgeContainer
145
145
  }, renderBadge()))), children);
146
146
  }
147
- function HostedUILayoutLinkAction(props) {
147
+ function CustomerPortalLayoutLinkAction(props) {
148
148
  const { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = props;
149
149
  const ref = React.useRef(null);
150
150
  const { linkProps } = useLink.$298d61e98472621b$export$dcf14c9974fe2767(props, ref);
@@ -164,7 +164,7 @@ function HostedUILayoutLinkAction(props) {
164
164
  className: styles$1.badgeContainer
165
165
  }, renderBadge()));
166
166
  }
167
- function HostedUILayoutButtonAction(props) {
167
+ function CustomerPortalLayoutButtonAction(props) {
168
168
  const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
169
169
  const ref = React.useRef(null);
170
170
  const className = utilities_css.classNames(styles$1.button, isSelected && styles$1.selected);
@@ -180,7 +180,7 @@ function HostedUILayoutButtonAction(props) {
180
180
  className: styles$1.badgeContainer
181
181
  }, renderBadge()));
182
182
  }
183
- function HostedUILayoutActionBadge(props) {
183
+ function CustomerPortalLayoutActionBadge(props) {
184
184
  const { children } = props;
185
185
  return React.createElement("div", {
186
186
  className: styles$1.badge
@@ -194,29 +194,29 @@ const PressableButton = React.forwardRef((props, ref) => {
194
194
  }));
195
195
  });
196
196
  PressableButton.displayName = "PressableButton";
197
- const HostedUILayout$1 = "_HostedUILayout_ikal9_4";
198
- const logo = "_logo_ikal9_15";
199
- const testModeBanner = "_testModeBanner_ikal9_19";
200
- const header = "_header_ikal9_27";
201
- const logoAndActions = "_logoAndActions_ikal9_37";
202
- const content = "_content_ikal9_45";
197
+ const CustomerPortalLayout$1 = "_CustomerPortalLayout_h0niy_4";
198
+ const logo = "_logo_h0niy_15";
199
+ const testModeBanner = "_testModeBanner_h0niy_19";
200
+ const header = "_header_h0niy_27";
201
+ const logoAndActions = "_logoAndActions_h0niy_37";
202
+ const content = "_content_h0niy_45";
203
203
  const styles = {
204
- HostedUILayout: HostedUILayout$1,
204
+ CustomerPortalLayout: CustomerPortalLayout$1,
205
205
  logo,
206
206
  testModeBanner,
207
207
  header,
208
208
  logoAndActions,
209
209
  content
210
210
  };
211
- const HostedUILayoutContext = React.createContext(null);
212
- const useHostedUILayout = () => {
213
- const context = React.useContext(HostedUILayoutContext);
211
+ const CustomerPortalLayoutContext = React.createContext(null);
212
+ const useCustomerPortalLayout = () => {
213
+ const context = React.useContext(CustomerPortalLayoutContext);
214
214
  if (!context) {
215
- throw new Error("useHostedUILayout must be used within a HostedUILayout");
215
+ throw new Error("useCustomerPortalLayout must be used within a CustomerPortalLayout");
216
216
  }
217
217
  return context;
218
218
  };
219
- function HostedUILayout(props) {
219
+ function CustomerPortalLayout(props) {
220
220
  const { children, mode = "production", shouldDisplayEasyPostLogo = true } = props;
221
221
  const context = React.useMemo(() => {
222
222
  return {
@@ -224,10 +224,10 @@ function HostedUILayout(props) {
224
224
  shouldDisplayEasyPostLogo
225
225
  };
226
226
  }, [mode, shouldDisplayEasyPostLogo]);
227
- return React.createElement(HostedUILayoutContext.Provider, {
227
+ return React.createElement(CustomerPortalLayoutContext.Provider, {
228
228
  value: context
229
229
  }, React.createElement("div", {
230
- className: styles.HostedUILayout
230
+ className: styles.CustomerPortalLayout
231
231
  }, children));
232
232
  }
233
233
  function TestModeBanner() {
@@ -245,9 +245,9 @@ function TestModeBanner() {
245
245
  color: "warning.900"
246
246
  }, "This Environment is in Test Mode")));
247
247
  }
248
- function HostedUILayoutHeader(props) {
248
+ function CustomerPortalLayoutHeader(props) {
249
249
  const { children } = props;
250
- const { mode } = useHostedUILayout();
250
+ const { mode } = useCustomerPortalLayout();
251
251
  const isTestMode = mode === "test";
252
252
  return React.createElement("header", {
253
253
  className: styles.header
@@ -255,36 +255,36 @@ function HostedUILayoutHeader(props) {
255
255
  className: styles.logoAndActions
256
256
  }, children));
257
257
  }
258
- function HostedUILayoutLogo(props) {
258
+ function CustomerPortalLayoutLogo(props) {
259
259
  const { children } = props;
260
260
  return React.createElement("div", {
261
261
  className: styles.logo
262
262
  }, children);
263
263
  }
264
- function HostedUILayoutLogoContainer(props) {
264
+ function CustomerPortalLayoutLogoContainer(props) {
265
265
  const { children } = props;
266
- const { shouldDisplayEasyPostLogo } = useHostedUILayout();
266
+ const { shouldDisplayEasyPostLogo } = useCustomerPortalLayout();
267
267
  return React.createElement(HorizontalStack.HorizontalStack, {
268
268
  gap: "1",
269
269
  blockAlign: "center",
270
270
  align: "start",
271
271
  wrap: false
272
- }, shouldDisplayEasyPostLogo && React.createElement(HostedUILayoutLogo, null, React.createElement(EasyPostLogo.EasyPostLogo, null)), children);
272
+ }, shouldDisplayEasyPostLogo && React.createElement(CustomerPortalLayoutLogo, null, React.createElement(EasyPostLogo.EasyPostLogo, null)), children);
273
273
  }
274
- function HostedUILayoutContent(props) {
274
+ function CustomerPortalLayoutContent(props) {
275
275
  const { children } = props;
276
276
  return React.createElement("main", {
277
277
  className: styles.content
278
278
  }, children);
279
279
  }
280
- HostedUILayout.Header = HostedUILayoutHeader;
281
- HostedUILayout.Logo = HostedUILayoutLogo;
282
- HostedUILayout.LogoContainer = HostedUILayoutLogoContainer;
283
- HostedUILayout.Actions = HostedUILayoutActions;
284
- HostedUILayout.ActionBadge = HostedUILayoutActionBadge;
285
- HostedUILayout.MenuAction = HostedUILayoutMenuAction;
286
- HostedUILayout.LinkAction = HostedUILayoutLinkAction;
287
- HostedUILayout.ButtonAction = HostedUILayoutButtonAction;
288
- HostedUILayout.Content = HostedUILayoutContent;
289
- exports.HostedUILayout = HostedUILayout;
290
- exports.useHostedUILayout = useHostedUILayout;
280
+ CustomerPortalLayout.Header = CustomerPortalLayoutHeader;
281
+ CustomerPortalLayout.Logo = CustomerPortalLayoutLogo;
282
+ CustomerPortalLayout.LogoContainer = CustomerPortalLayoutLogoContainer;
283
+ CustomerPortalLayout.Actions = CustomerPortalLayoutActions;
284
+ CustomerPortalLayout.ActionBadge = CustomerPortalLayoutActionBadge;
285
+ CustomerPortalLayout.MenuAction = CustomerPortalLayoutMenuAction;
286
+ CustomerPortalLayout.LinkAction = CustomerPortalLayoutLinkAction;
287
+ CustomerPortalLayout.ButtonAction = CustomerPortalLayoutButtonAction;
288
+ CustomerPortalLayout.Content = CustomerPortalLayoutContent;
289
+ exports.CustomerPortalLayout = CustomerPortalLayout;
290
+ exports.useCustomerPortalLayout = useCustomerPortalLayout;