@easypost/easy-ui 1.0.0-alpha.88 → 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.
- package/CHANGELOG.md +10 -0
- package/CustomerPortalLayout/CustomerPortalLayout.d.ts +97 -0
- package/CustomerPortalLayout/CustomerPortalLayout.d.ts.map +1 -0
- package/{HostedUILayout/HostedUILayout.stories.d.ts → CustomerPortalLayout/CustomerPortalLayout.stories.d.ts} +4 -4
- package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts.map +1 -0
- package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts +2 -0
- package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts.map +1 -0
- package/{HostedUILayout/HostedUILayoutActions.d.ts → CustomerPortalLayout/CustomerPortalLayoutActions.d.ts} +11 -11
- package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts.map +1 -0
- package/CustomerPortalLayout/index.d.ts +2 -0
- package/CustomerPortalLayout/index.d.ts.map +1 -0
- package/{HostedUILayout → CustomerPortalLayout}/index.js +37 -37
- package/{HostedUILayout → CustomerPortalLayout}/index.mjs +37 -37
- package/ForgeLayout/index.js +1 -1
- package/ForgeLayout/index.mjs +1 -1
- package/RadioGroup/RadioGroup.d.ts +6 -6
- package/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/RadioGroup/index.js +1 -1
- package/RadioGroup/index.mjs +1 -1
- package/Select/Select.d.ts +7 -7
- package/Select/Select.d.ts.map +1 -1
- package/Select/index.js +3 -2
- package/Select/index.mjs +3 -2
- package/__chunks__/{RadioGroup-R6mEgxdk.mjs → RadioGroup-DqooAc9M.mjs} +3 -2
- package/__chunks__/{RadioGroup-CPapXJZH.js → RadioGroup-K565r4-w.js} +3 -2
- package/package.json +1 -1
- package/style.css +8 -8
- package/HostedUILayout/HostedUILayout.d.ts +0 -97
- package/HostedUILayout/HostedUILayout.d.ts.map +0 -1
- package/HostedUILayout/HostedUILayout.stories.d.ts.map +0 -1
- package/HostedUILayout/HostedUILayout.test.d.ts +0 -2
- package/HostedUILayout/HostedUILayout.test.d.ts.map +0 -1
- package/HostedUILayout/HostedUILayoutActions.d.ts.map +0 -1
- package/HostedUILayout/index.d.ts +0 -2
- package/HostedUILayout/index.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
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
|
+
|
|
3
13
|
## 1.0.0-alpha.88
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -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=Customer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;;;;;;;;;;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 {
|
|
3
|
-
type Story = StoryObj<typeof
|
|
4
|
-
declare const meta: Meta<typeof
|
|
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=
|
|
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 @@
|
|
|
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
|
|
5
|
+
export type CustomerPortalLayoutActionsProps = {
|
|
6
6
|
/** Actions children. */
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
};
|
|
9
|
-
export type
|
|
9
|
+
export type CustomerPortalLayoutActionBadgeProps = {
|
|
10
10
|
/** Badge children. */
|
|
11
11
|
children?: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export type
|
|
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
|
|
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
|
|
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
|
|
44
|
-
export declare function
|
|
45
|
-
export declare function
|
|
46
|
-
export declare function
|
|
47
|
-
export declare function
|
|
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=
|
|
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;AAE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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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CustomerPortalLayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -114,7 +114,7 @@ const styles$1 = {
|
|
|
114
114
|
badgeContainer,
|
|
115
115
|
badge
|
|
116
116
|
};
|
|
117
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
198
|
-
const logo = "
|
|
199
|
-
const testModeBanner = "
|
|
200
|
-
const header = "
|
|
201
|
-
const logoAndActions = "
|
|
202
|
-
const content = "
|
|
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
|
-
|
|
204
|
+
CustomerPortalLayout: CustomerPortalLayout$1,
|
|
205
205
|
logo,
|
|
206
206
|
testModeBanner,
|
|
207
207
|
header,
|
|
208
208
|
logoAndActions,
|
|
209
209
|
content
|
|
210
210
|
};
|
|
211
|
-
const
|
|
212
|
-
const
|
|
213
|
-
const context = React.useContext(
|
|
211
|
+
const CustomerPortalLayoutContext = React.createContext(null);
|
|
212
|
+
const useCustomerPortalLayout = () => {
|
|
213
|
+
const context = React.useContext(CustomerPortalLayoutContext);
|
|
214
214
|
if (!context) {
|
|
215
|
-
throw new Error("
|
|
215
|
+
throw new Error("useCustomerPortalLayout must be used within a CustomerPortalLayout");
|
|
216
216
|
}
|
|
217
217
|
return context;
|
|
218
218
|
};
|
|
219
|
-
function
|
|
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(
|
|
227
|
+
return React.createElement(CustomerPortalLayoutContext.Provider, {
|
|
228
228
|
value: context
|
|
229
229
|
}, React.createElement("div", {
|
|
230
|
-
className: styles.
|
|
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
|
|
248
|
+
function CustomerPortalLayoutHeader(props) {
|
|
249
249
|
const { children } = props;
|
|
250
|
-
const { mode } =
|
|
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
|
|
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
|
|
264
|
+
function CustomerPortalLayoutLogoContainer(props) {
|
|
265
265
|
const { children } = props;
|
|
266
|
-
const { shouldDisplayEasyPostLogo } =
|
|
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(
|
|
272
|
+
}, shouldDisplayEasyPostLogo && React.createElement(CustomerPortalLayoutLogo, null, React.createElement(EasyPostLogo.EasyPostLogo, null)), children);
|
|
273
273
|
}
|
|
274
|
-
function
|
|
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
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
exports.
|
|
290
|
-
exports.
|
|
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;
|
|
@@ -96,7 +96,7 @@ const styles$1 = {
|
|
|
96
96
|
badgeContainer,
|
|
97
97
|
badge
|
|
98
98
|
};
|
|
99
|
-
function
|
|
99
|
+
function CustomerPortalLayoutActions(props) {
|
|
100
100
|
const { children } = props;
|
|
101
101
|
return React__default.createElement(HorizontalStack, {
|
|
102
102
|
wrap: false,
|
|
@@ -104,7 +104,7 @@ function HostedUILayoutActions(props) {
|
|
|
104
104
|
align: "end"
|
|
105
105
|
}, children);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function CustomerPortalLayoutMenuAction(props) {
|
|
108
108
|
const { accessibilityLabel = "Actions", iconSymbol, children, renderBadge } = props;
|
|
109
109
|
const [isOpen, setIsOpen] = useState(false);
|
|
110
110
|
const handleOpenChange = useCallback((isOpen2) => {
|
|
@@ -126,7 +126,7 @@ function HostedUILayoutMenuAction(props) {
|
|
|
126
126
|
className: styles$1.badgeContainer
|
|
127
127
|
}, renderBadge()))), children);
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function CustomerPortalLayoutLinkAction(props) {
|
|
130
130
|
const { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = props;
|
|
131
131
|
const ref = useRef(null);
|
|
132
132
|
const { linkProps } = $298d61e98472621b$export$dcf14c9974fe2767(props, ref);
|
|
@@ -146,7 +146,7 @@ function HostedUILayoutLinkAction(props) {
|
|
|
146
146
|
className: styles$1.badgeContainer
|
|
147
147
|
}, renderBadge()));
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function CustomerPortalLayoutButtonAction(props) {
|
|
150
150
|
const _a = props, { accessibilityLabel = "Actions", iconSymbol, renderBadge, isSelected } = _a, buttonProps = __objRest(_a, ["accessibilityLabel", "iconSymbol", "renderBadge", "isSelected"]);
|
|
151
151
|
const ref = useRef(null);
|
|
152
152
|
const className = classNames(styles$1.button, isSelected && styles$1.selected);
|
|
@@ -162,7 +162,7 @@ function HostedUILayoutButtonAction(props) {
|
|
|
162
162
|
className: styles$1.badgeContainer
|
|
163
163
|
}, renderBadge()));
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function CustomerPortalLayoutActionBadge(props) {
|
|
166
166
|
const { children } = props;
|
|
167
167
|
return React__default.createElement("div", {
|
|
168
168
|
className: styles$1.badge
|
|
@@ -176,29 +176,29 @@ const PressableButton = forwardRef((props, ref) => {
|
|
|
176
176
|
}));
|
|
177
177
|
});
|
|
178
178
|
PressableButton.displayName = "PressableButton";
|
|
179
|
-
const
|
|
180
|
-
const logo = "
|
|
181
|
-
const testModeBanner = "
|
|
182
|
-
const header = "
|
|
183
|
-
const logoAndActions = "
|
|
184
|
-
const content = "
|
|
179
|
+
const CustomerPortalLayout$1 = "_CustomerPortalLayout_h0niy_4";
|
|
180
|
+
const logo = "_logo_h0niy_15";
|
|
181
|
+
const testModeBanner = "_testModeBanner_h0niy_19";
|
|
182
|
+
const header = "_header_h0niy_27";
|
|
183
|
+
const logoAndActions = "_logoAndActions_h0niy_37";
|
|
184
|
+
const content = "_content_h0niy_45";
|
|
185
185
|
const styles = {
|
|
186
|
-
|
|
186
|
+
CustomerPortalLayout: CustomerPortalLayout$1,
|
|
187
187
|
logo,
|
|
188
188
|
testModeBanner,
|
|
189
189
|
header,
|
|
190
190
|
logoAndActions,
|
|
191
191
|
content
|
|
192
192
|
};
|
|
193
|
-
const
|
|
194
|
-
const
|
|
195
|
-
const context = useContext(
|
|
193
|
+
const CustomerPortalLayoutContext = React__default.createContext(null);
|
|
194
|
+
const useCustomerPortalLayout = () => {
|
|
195
|
+
const context = useContext(CustomerPortalLayoutContext);
|
|
196
196
|
if (!context) {
|
|
197
|
-
throw new Error("
|
|
197
|
+
throw new Error("useCustomerPortalLayout must be used within a CustomerPortalLayout");
|
|
198
198
|
}
|
|
199
199
|
return context;
|
|
200
200
|
};
|
|
201
|
-
function
|
|
201
|
+
function CustomerPortalLayout(props) {
|
|
202
202
|
const { children, mode = "production", shouldDisplayEasyPostLogo = true } = props;
|
|
203
203
|
const context = useMemo(() => {
|
|
204
204
|
return {
|
|
@@ -206,10 +206,10 @@ function HostedUILayout(props) {
|
|
|
206
206
|
shouldDisplayEasyPostLogo
|
|
207
207
|
};
|
|
208
208
|
}, [mode, shouldDisplayEasyPostLogo]);
|
|
209
|
-
return React__default.createElement(
|
|
209
|
+
return React__default.createElement(CustomerPortalLayoutContext.Provider, {
|
|
210
210
|
value: context
|
|
211
211
|
}, React__default.createElement("div", {
|
|
212
|
-
className: styles.
|
|
212
|
+
className: styles.CustomerPortalLayout
|
|
213
213
|
}, children));
|
|
214
214
|
}
|
|
215
215
|
function TestModeBanner() {
|
|
@@ -227,9 +227,9 @@ function TestModeBanner() {
|
|
|
227
227
|
color: "warning.900"
|
|
228
228
|
}, "This Environment is in Test Mode")));
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function CustomerPortalLayoutHeader(props) {
|
|
231
231
|
const { children } = props;
|
|
232
|
-
const { mode } =
|
|
232
|
+
const { mode } = useCustomerPortalLayout();
|
|
233
233
|
const isTestMode = mode === "test";
|
|
234
234
|
return React__default.createElement("header", {
|
|
235
235
|
className: styles.header
|
|
@@ -237,38 +237,38 @@ function HostedUILayoutHeader(props) {
|
|
|
237
237
|
className: styles.logoAndActions
|
|
238
238
|
}, children));
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function CustomerPortalLayoutLogo(props) {
|
|
241
241
|
const { children } = props;
|
|
242
242
|
return React__default.createElement("div", {
|
|
243
243
|
className: styles.logo
|
|
244
244
|
}, children);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function CustomerPortalLayoutLogoContainer(props) {
|
|
247
247
|
const { children } = props;
|
|
248
|
-
const { shouldDisplayEasyPostLogo } =
|
|
248
|
+
const { shouldDisplayEasyPostLogo } = useCustomerPortalLayout();
|
|
249
249
|
return React__default.createElement(HorizontalStack, {
|
|
250
250
|
gap: "1",
|
|
251
251
|
blockAlign: "center",
|
|
252
252
|
align: "start",
|
|
253
253
|
wrap: false
|
|
254
|
-
}, shouldDisplayEasyPostLogo && React__default.createElement(
|
|
254
|
+
}, shouldDisplayEasyPostLogo && React__default.createElement(CustomerPortalLayoutLogo, null, React__default.createElement(EasyPostLogo, null)), children);
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function CustomerPortalLayoutContent(props) {
|
|
257
257
|
const { children } = props;
|
|
258
258
|
return React__default.createElement("main", {
|
|
259
259
|
className: styles.content
|
|
260
260
|
}, children);
|
|
261
261
|
}
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
262
|
+
CustomerPortalLayout.Header = CustomerPortalLayoutHeader;
|
|
263
|
+
CustomerPortalLayout.Logo = CustomerPortalLayoutLogo;
|
|
264
|
+
CustomerPortalLayout.LogoContainer = CustomerPortalLayoutLogoContainer;
|
|
265
|
+
CustomerPortalLayout.Actions = CustomerPortalLayoutActions;
|
|
266
|
+
CustomerPortalLayout.ActionBadge = CustomerPortalLayoutActionBadge;
|
|
267
|
+
CustomerPortalLayout.MenuAction = CustomerPortalLayoutMenuAction;
|
|
268
|
+
CustomerPortalLayout.LinkAction = CustomerPortalLayoutLinkAction;
|
|
269
|
+
CustomerPortalLayout.ButtonAction = CustomerPortalLayoutButtonAction;
|
|
270
|
+
CustomerPortalLayout.Content = CustomerPortalLayoutContent;
|
|
271
271
|
export {
|
|
272
|
-
|
|
273
|
-
|
|
272
|
+
CustomerPortalLayout,
|
|
273
|
+
useCustomerPortalLayout
|
|
274
274
|
};
|
package/ForgeLayout/index.js
CHANGED
|
@@ -49,7 +49,7 @@ const ArrowBack = require("../__chunks__/ArrowBack-C_LSatif.js");
|
|
|
49
49
|
const Search = require("../__chunks__/Search-BY7IgEyX.js");
|
|
50
50
|
const ExpandMore400 = require("../__chunks__/ExpandMore400-CJpvxyJm.js");
|
|
51
51
|
const UnstyledButton = require("../__chunks__/UnstyledButton-CnIn7VBo.js");
|
|
52
|
-
const RadioGroup = require("../__chunks__/RadioGroup-
|
|
52
|
+
const RadioGroup = require("../__chunks__/RadioGroup-K565r4-w.js");
|
|
53
53
|
const TextField = require("../__chunks__/TextField-BPZ6niGw.js");
|
|
54
54
|
const utilities_react = require("../utilities/react.js");
|
|
55
55
|
const button = "_button_1j18l_4";
|
package/ForgeLayout/index.mjs
CHANGED
|
@@ -47,7 +47,7 @@ import { A as ArrowBack } from "../__chunks__/ArrowBack-BFS-tCpV.mjs";
|
|
|
47
47
|
import { S as Search } from "../__chunks__/Search-Cyblmqo5.mjs";
|
|
48
48
|
import { E as ExpandMore400 } from "../__chunks__/ExpandMore400-CH7GNxqk.mjs";
|
|
49
49
|
import { U as UnstyledButton } from "../__chunks__/UnstyledButton-CfhKDftV.mjs";
|
|
50
|
-
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-
|
|
50
|
+
import { R as RadioGroup, u as useRadioGroupContext } from "../__chunks__/RadioGroup-DqooAc9M.mjs";
|
|
51
51
|
import { T as TextField } from "../__chunks__/TextField-BVpSTQw-.mjs";
|
|
52
52
|
import { flattenChildren } from "../utilities/react.mjs";
|
|
53
53
|
const button = "_button_1j18l_4";
|
|
@@ -2,11 +2,11 @@ import { AriaLabelingProps } from "@react-types/shared";
|
|
|
2
2
|
import React, { ReactNode } from "react";
|
|
3
3
|
import { useRadioGroupContext } from "./RadioGroupContext";
|
|
4
4
|
import { RadioGroupItem, RadioGroupItemProps } from "./RadioGroupItem";
|
|
5
|
-
export type RadioGroupProps = AriaLabelingProps & {
|
|
5
|
+
export type RadioGroupProps<K extends string> = AriaLabelingProps & {
|
|
6
6
|
/** Radio buttons to render inside the radio group. */
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
/** The default value (uncontrolled). */
|
|
9
|
-
defaultValue?:
|
|
9
|
+
defaultValue?: K;
|
|
10
10
|
/** Whether the radio is disabled. */
|
|
11
11
|
isDisabled?: boolean;
|
|
12
12
|
/** Whether the radio group can be selected but not changed by the user. */
|
|
@@ -19,11 +19,11 @@ export type RadioGroupProps = AriaLabelingProps & {
|
|
|
19
19
|
*/
|
|
20
20
|
name?: string;
|
|
21
21
|
/** Handler that is called when the value changes. */
|
|
22
|
-
onChange?: (value:
|
|
22
|
+
onChange?: (value: K) => void;
|
|
23
23
|
/** The current value (controlled). */
|
|
24
|
-
value?:
|
|
24
|
+
value?: K;
|
|
25
25
|
};
|
|
26
|
-
declare function RadioGroupContainer(props: RadioGroupProps): React.JSX.Element;
|
|
26
|
+
declare function RadioGroupContainer<K extends string>(props: RadioGroupProps<K>): React.JSX.Element;
|
|
27
27
|
/**
|
|
28
28
|
* A form element that lets users select a single choice from a list of at
|
|
29
29
|
* least two options.
|
|
@@ -61,7 +61,7 @@ declare function RadioGroupContainer(props: RadioGroupProps): React.JSX.Element;
|
|
|
61
61
|
* </RadioGroup>
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
export declare function RadioGroup(props: RadioGroupProps): React.JSX.Element;
|
|
64
|
+
export declare function RadioGroup<K extends string>(props: RadioGroupProps<K>): React.JSX.Element;
|
|
65
65
|
export declare namespace RadioGroup {
|
|
66
66
|
var Container: typeof RadioGroupContainer;
|
|
67
67
|
var Item: typeof RadioGroupItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAq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UAAU;;;;AAmB1B,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
|
package/RadioGroup/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const RadioGroup = require("../__chunks__/RadioGroup-
|
|
3
|
+
const RadioGroup = require("../__chunks__/RadioGroup-K565r4-w.js");
|
|
4
4
|
exports.RadioGroup = RadioGroup.RadioGroup;
|
|
5
5
|
exports.useRadioGroupContext = RadioGroup.useRadioGroupContext;
|
package/RadioGroup/index.mjs
CHANGED
package/Select/Select.d.ts
CHANGED
|
@@ -4,23 +4,23 @@ import { AriaSelectProps } from "react-aria";
|
|
|
4
4
|
import { BaseSelectFieldProps } from "./SelectField";
|
|
5
5
|
import { SelectOption } from "./SelectOption";
|
|
6
6
|
import { SelectSection } from "./SelectSection";
|
|
7
|
-
export type BaseSelectProps<T> = {
|
|
7
|
+
export type BaseSelectProps<T, K extends Key = Key> = {
|
|
8
8
|
/** Method that is called when the open state of the select field changes. */
|
|
9
9
|
onOpenChange?: (isOpen: boolean) => void;
|
|
10
10
|
/** Sets the open state of the select field. */
|
|
11
11
|
isOpen?: boolean;
|
|
12
12
|
/** The currently selected key in the collection (controlled). */
|
|
13
|
-
selectedKey?:
|
|
13
|
+
selectedKey?: K | null;
|
|
14
14
|
/** The initial selected key in the collection (uncontrolled). */
|
|
15
|
-
defaultSelectedKey?:
|
|
15
|
+
defaultSelectedKey?: K;
|
|
16
16
|
/** Handler that is called when the selection changes. */
|
|
17
|
-
onSelectionChange?: (key:
|
|
17
|
+
onSelectionChange?: (key: K) => void;
|
|
18
18
|
/** The contents of the collection. */
|
|
19
19
|
children: CollectionChildren<T>;
|
|
20
20
|
/** The option keys that are disabled. These options cannot be selected, focused, or otherwise interacted with. */
|
|
21
|
-
disabledKeys?: Iterable<
|
|
21
|
+
disabledKeys?: Iterable<K>;
|
|
22
22
|
};
|
|
23
|
-
export type SelectProps<T> = AriaSelectProps<T
|
|
23
|
+
export type SelectProps<T, K extends Key> = Omit<AriaSelectProps<T>, keyof BaseSelectProps<T, K>> & BaseSelectFieldProps & BaseSelectProps<T, K>;
|
|
24
24
|
/**
|
|
25
25
|
* The `<Select />` component allows users to select a value from a set of options.
|
|
26
26
|
*
|
|
@@ -81,7 +81,7 @@ export type SelectProps<T> = AriaSelectProps<T> & BaseSelectFieldProps & BaseSel
|
|
|
81
81
|
* }
|
|
82
82
|
```
|
|
83
83
|
*/
|
|
84
|
-
export declare function Select<T extends object>(props: SelectProps<T>): React.JSX.Element;
|
|
84
|
+
export declare function Select<T extends object, K extends Key>(props: SelectProps<T, K>): React.JSX.Element;
|
|
85
85
|
export declare namespace Select {
|
|
86
86
|
var Section: typeof SelectSection;
|
|
87
87
|
var Option: typeof SelectOption;
|
package/Select/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AAExD,OAAO,EAAe,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAKhD,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAE9D,OA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,9 +86,10 @@ function SelectField(props) {
|
|
|
86
86
|
function Select(props) {
|
|
87
87
|
const { isDisabled, validationState, isLabelEmphasized, size = "md", "aria-label": ariaLabel, label, errorText, helperText, placeholder, iconAtStart } = props;
|
|
88
88
|
const triggerRef = React.useRef(null);
|
|
89
|
-
const
|
|
89
|
+
const castProps = props;
|
|
90
|
+
const selectState = SelectOverlay.$2bc3a590c5373a4e$export$5159ec8b34d4ec12(castProps);
|
|
90
91
|
InputIcon.logWarningForMissingAriaLabel(label, ariaLabel);
|
|
91
|
-
const { labelProps, valueProps, triggerProps, menuProps: listBoxPropsFromSelect, descriptionProps: helperTextProps, errorMessageProps: errorTextProps } = SelectOverlay.$58aed456727eb0f3$export$e64b2f635402ca43(
|
|
92
|
+
const { labelProps, valueProps, triggerProps, menuProps: listBoxPropsFromSelect, descriptionProps: helperTextProps, errorMessageProps: errorTextProps } = SelectOverlay.$58aed456727eb0f3$export$e64b2f635402ca43(castProps, selectState, triggerRef);
|
|
92
93
|
const triggerWidth = useTriggerWidth.useTriggerWidth(triggerRef);
|
|
93
94
|
const context = React.useMemo(() => {
|
|
94
95
|
return {
|
package/Select/index.mjs
CHANGED
|
@@ -84,9 +84,10 @@ function SelectField(props) {
|
|
|
84
84
|
function Select(props) {
|
|
85
85
|
const { isDisabled, validationState, isLabelEmphasized, size = "md", "aria-label": ariaLabel, label, errorText, helperText, placeholder, iconAtStart } = props;
|
|
86
86
|
const triggerRef = React__default.useRef(null);
|
|
87
|
-
const
|
|
87
|
+
const castProps = props;
|
|
88
|
+
const selectState = $2bc3a590c5373a4e$export$5159ec8b34d4ec12(castProps);
|
|
88
89
|
logWarningForMissingAriaLabel(label, ariaLabel);
|
|
89
|
-
const { labelProps, valueProps, triggerProps, menuProps: listBoxPropsFromSelect, descriptionProps: helperTextProps, errorMessageProps: errorTextProps } = $58aed456727eb0f3$export$e64b2f635402ca43(
|
|
90
|
+
const { labelProps, valueProps, triggerProps, menuProps: listBoxPropsFromSelect, descriptionProps: helperTextProps, errorMessageProps: errorTextProps } = $58aed456727eb0f3$export$e64b2f635402ca43(castProps, selectState, triggerRef);
|
|
90
91
|
const triggerWidth = useTriggerWidth(triggerRef);
|
|
91
92
|
const context = useMemo(() => {
|
|
92
93
|
return {
|
|
@@ -308,8 +308,9 @@ const styles = {
|
|
|
308
308
|
};
|
|
309
309
|
function RadioGroupContainer(props) {
|
|
310
310
|
const { children, label: label2 } = props;
|
|
311
|
-
const
|
|
312
|
-
const
|
|
311
|
+
const castProps = props;
|
|
312
|
+
const state = $a54cdc5c1942b639$export$bca9d026f8e704eb(castProps);
|
|
313
|
+
const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(castProps, state);
|
|
313
314
|
return React__default.createElement("fieldset", __spreadValues({
|
|
314
315
|
className: styles.RadioGroup
|
|
315
316
|
}, radioGroupProps), label2 && React__default.createElement("div", null, React__default.createElement(Text, __spreadValues({
|
|
@@ -309,8 +309,9 @@ const styles = {
|
|
|
309
309
|
};
|
|
310
310
|
function RadioGroupContainer(props) {
|
|
311
311
|
const { children, label: label2 } = props;
|
|
312
|
-
const
|
|
313
|
-
const
|
|
312
|
+
const castProps = props;
|
|
313
|
+
const state = $a54cdc5c1942b639$export$bca9d026f8e704eb(castProps);
|
|
314
|
+
const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(castProps, state);
|
|
314
315
|
return React.createElement("fieldset", __spreadValues({
|
|
315
316
|
className: styles.RadioGroup
|
|
316
317
|
}, radioGroupProps), label2 && React.createElement("div", null, React.createElement(Text.Text, __spreadValues({
|
package/package.json
CHANGED
package/style.css
CHANGED
|
@@ -4864,8 +4864,8 @@ textarea {
|
|
|
4864
4864
|
}/**
|
|
4865
4865
|
* Do not edit directly, this file was auto-generated.
|
|
4866
4866
|
*/
|
|
4867
|
-
.
|
|
4868
|
-
--ezui-c-
|
|
4867
|
+
._CustomerPortalLayout_h0niy_4 {
|
|
4868
|
+
--ezui-c-customerportal-layout-max-width: 1369px;
|
|
4869
4869
|
display: flex;
|
|
4870
4870
|
flex-direction: column;
|
|
4871
4871
|
min-height: 100svh;
|
|
@@ -4875,11 +4875,11 @@ textarea {
|
|
|
4875
4875
|
background-position: -40px -90px, calc(100% + 24px) calc(100% + 24px);
|
|
4876
4876
|
}
|
|
4877
4877
|
|
|
4878
|
-
.
|
|
4878
|
+
._logo_h0niy_15 {
|
|
4879
4879
|
display: inline-flex;
|
|
4880
4880
|
}
|
|
4881
4881
|
|
|
4882
|
-
.
|
|
4882
|
+
._testModeBanner_h0niy_19 {
|
|
4883
4883
|
width: 100%;
|
|
4884
4884
|
background: var(--ezui-color-warning-100);
|
|
4885
4885
|
padding: var(--ezui-space-1) var(--ezui-space-2) var(--ezui-space-1) var(--ezui-space-1);
|
|
@@ -4887,7 +4887,7 @@ textarea {
|
|
|
4887
4887
|
box-shadow: var(--ezui-shadow-level-1);
|
|
4888
4888
|
}
|
|
4889
4889
|
|
|
4890
|
-
.
|
|
4890
|
+
._header_h0niy_27 {
|
|
4891
4891
|
z-index: var(--ezui-z-index-nav);
|
|
4892
4892
|
position: sticky;
|
|
4893
4893
|
top: 0;
|
|
@@ -4897,7 +4897,7 @@ textarea {
|
|
|
4897
4897
|
padding: 0 var(--ezui-space-3);
|
|
4898
4898
|
}
|
|
4899
4899
|
|
|
4900
|
-
.
|
|
4900
|
+
._logoAndActions_h0niy_37 {
|
|
4901
4901
|
display: flex;
|
|
4902
4902
|
flex-wrap: nowrap;
|
|
4903
4903
|
align-items: center;
|
|
@@ -4905,9 +4905,9 @@ textarea {
|
|
|
4905
4905
|
height: var(--ezui-space-7);
|
|
4906
4906
|
}
|
|
4907
4907
|
|
|
4908
|
-
.
|
|
4908
|
+
._content_h0niy_45 {
|
|
4909
4909
|
padding: var(--ezui-space-3);
|
|
4910
|
-
max-width: var(--ezui-c-
|
|
4910
|
+
max-width: var(--ezui-c-customerportal-layout-max-width);
|
|
4911
4911
|
width: 100%;
|
|
4912
4912
|
margin: 0 auto;
|
|
4913
4913
|
}/**
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { HostedUILayoutActionBadge, HostedUILayoutActions, HostedUILayoutButtonAction, HostedUILayoutLinkAction, HostedUILayoutMenuAction } from "./HostedUILayoutActions";
|
|
3
|
-
export type Mode = "test" | "production";
|
|
4
|
-
export type HostedUILayoutProps = {
|
|
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 HostedUILayoutHeaderProps = {
|
|
21
|
-
/** Header children. */
|
|
22
|
-
children: ReactNode;
|
|
23
|
-
};
|
|
24
|
-
export type HostedUILayoutLogoContainerProps = {
|
|
25
|
-
/** Logo container children */
|
|
26
|
-
children: ReactNode;
|
|
27
|
-
};
|
|
28
|
-
export type HostedUILayoutLogoProps = {
|
|
29
|
-
/** Logo children. */
|
|
30
|
-
children: ReactNode;
|
|
31
|
-
};
|
|
32
|
-
export type HostedUILayoutContentProps = {
|
|
33
|
-
/** Content children. */
|
|
34
|
-
children: ReactNode;
|
|
35
|
-
};
|
|
36
|
-
export type HostedUILayoutContextType = {
|
|
37
|
-
shouldDisplayEasyPostLogo?: boolean;
|
|
38
|
-
mode?: Mode;
|
|
39
|
-
};
|
|
40
|
-
export declare const useHostedUILayout: () => HostedUILayoutContextType;
|
|
41
|
-
/**
|
|
42
|
-
* `HostedUILayout` defines a header and main content area for a HostedUI product page.
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* `HostedUILayout` can be combined with `MultipageSection` to render a multipage navigational container.
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* ```tsx
|
|
49
|
-
* <HostedUILayout mode="test">
|
|
50
|
-
* <HostedUILayout.Header>
|
|
51
|
-
* <HostedUILayout.LogoContainer>
|
|
52
|
-
* <HostedUILayout.Logo>
|
|
53
|
-
* <SomeLogo />
|
|
54
|
-
* </HostedUILayout.Logo>
|
|
55
|
-
* </HostedUILayout.LogoContainer>
|
|
56
|
-
* <HostedUILayout.Actions>
|
|
57
|
-
* <HostedUILayout.MenuAction
|
|
58
|
-
* accessibilityLabel="Menu Action"
|
|
59
|
-
* iconSymbol={Icon}
|
|
60
|
-
* renderBadge={() => <HostedUILayout.ActionBadge />}
|
|
61
|
-
* >
|
|
62
|
-
* <Menu.Overlay onAction={() => {}}>
|
|
63
|
-
* <Menu.Item>Action 1</Menu.Item>
|
|
64
|
-
* <Menu.Item>Action 2</Menu.Item>
|
|
65
|
-
* </Menu.Overlay>
|
|
66
|
-
* </HostedUILayout.MenuAction>
|
|
67
|
-
* <HostedUILayout.ButtonAction
|
|
68
|
-
* accessibilityLabel="Button Action"
|
|
69
|
-
* iconSymbol={Icon}
|
|
70
|
-
* onPress={() => {}}
|
|
71
|
-
* />
|
|
72
|
-
* </HostedUILayout.Actions>
|
|
73
|
-
* </HostedUILayout.Header>
|
|
74
|
-
* <HostedUILayout.Content>
|
|
75
|
-
* HostedUI Content
|
|
76
|
-
* </HostedUILayout.Content>
|
|
77
|
-
* </HostedUILayout>
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
80
|
-
export declare function HostedUILayout(props: HostedUILayoutProps): React.JSX.Element;
|
|
81
|
-
export declare namespace HostedUILayout {
|
|
82
|
-
var Header: typeof HostedUILayoutHeader;
|
|
83
|
-
var Logo: typeof HostedUILayoutLogo;
|
|
84
|
-
var LogoContainer: typeof HostedUILayoutLogoContainer;
|
|
85
|
-
var Actions: typeof HostedUILayoutActions;
|
|
86
|
-
var ActionBadge: typeof HostedUILayoutActionBadge;
|
|
87
|
-
var MenuAction: typeof HostedUILayoutMenuAction;
|
|
88
|
-
var LinkAction: typeof HostedUILayoutLinkAction;
|
|
89
|
-
var ButtonAction: typeof HostedUILayoutButtonAction;
|
|
90
|
-
var Content: typeof HostedUILayoutContent;
|
|
91
|
-
}
|
|
92
|
-
declare function HostedUILayoutHeader(props: HostedUILayoutHeaderProps): React.JSX.Element;
|
|
93
|
-
declare function HostedUILayoutLogo(props: HostedUILayoutLogoProps): React.JSX.Element;
|
|
94
|
-
declare function HostedUILayoutLogoContainer(props: HostedUILayoutLogoContainerProps): React.JSX.Element;
|
|
95
|
-
declare function HostedUILayoutContent(props: HostedUILayoutContentProps): React.JSX.Element;
|
|
96
|
-
export {};
|
|
97
|
-
//# sourceMappingURL=HostedUILayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HostedUILayout.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAM9D,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAIjC,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,YAAY,CAAC;AAEzC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;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,yBAAyB,GAAG;IACtC,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,8BAA8B;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,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4BjC,CAAC;AAIF,eAAO,MAAM,oBAAoB,EAAE,KAoFlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HostedUILayout.test.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HostedUILayoutActions.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayoutActions.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,0BAA0B,GAAG;IACvC,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,sBAAsB;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,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,6BAA6B,GAAG;IAC1C,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,GAA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