@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.
Files changed (35) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/CustomerPortalLayout/CustomerPortalLayout.d.ts +97 -0
  3. package/CustomerPortalLayout/CustomerPortalLayout.d.ts.map +1 -0
  4. package/{HostedUILayout/HostedUILayout.stories.d.ts → CustomerPortalLayout/CustomerPortalLayout.stories.d.ts} +4 -4
  5. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts.map +1 -0
  6. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts +2 -0
  7. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts.map +1 -0
  8. package/{HostedUILayout/HostedUILayoutActions.d.ts → CustomerPortalLayout/CustomerPortalLayoutActions.d.ts} +11 -11
  9. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts.map +1 -0
  10. package/CustomerPortalLayout/index.d.ts +2 -0
  11. package/CustomerPortalLayout/index.d.ts.map +1 -0
  12. package/{HostedUILayout → CustomerPortalLayout}/index.js +37 -37
  13. package/{HostedUILayout → CustomerPortalLayout}/index.mjs +37 -37
  14. package/ForgeLayout/index.js +1 -1
  15. package/ForgeLayout/index.mjs +1 -1
  16. package/RadioGroup/RadioGroup.d.ts +6 -6
  17. package/RadioGroup/RadioGroup.d.ts.map +1 -1
  18. package/RadioGroup/index.js +1 -1
  19. package/RadioGroup/index.mjs +1 -1
  20. package/Select/Select.d.ts +7 -7
  21. package/Select/Select.d.ts.map +1 -1
  22. package/Select/index.js +3 -2
  23. package/Select/index.mjs +3 -2
  24. package/__chunks__/{RadioGroup-R6mEgxdk.mjs → RadioGroup-DqooAc9M.mjs} +3 -2
  25. package/__chunks__/{RadioGroup-CPapXJZH.js → RadioGroup-K565r4-w.js} +3 -2
  26. package/package.json +1 -1
  27. package/style.css +8 -8
  28. package/HostedUILayout/HostedUILayout.d.ts +0 -97
  29. package/HostedUILayout/HostedUILayout.d.ts.map +0 -1
  30. package/HostedUILayout/HostedUILayout.stories.d.ts.map +0 -1
  31. package/HostedUILayout/HostedUILayout.test.d.ts +0 -2
  32. package/HostedUILayout/HostedUILayout.test.d.ts.map +0 -1
  33. package/HostedUILayout/HostedUILayoutActions.d.ts.map +0 -1
  34. package/HostedUILayout/index.d.ts +0 -2
  35. 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=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"}
@@ -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;
@@ -96,7 +96,7 @@ const styles$1 = {
96
96
  badgeContainer,
97
97
  badge
98
98
  };
99
- function HostedUILayoutActions(props) {
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 HostedUILayoutMenuAction(props) {
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 HostedUILayoutLinkAction(props) {
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 HostedUILayoutButtonAction(props) {
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 HostedUILayoutActionBadge(props) {
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 HostedUILayout$1 = "_HostedUILayout_ikal9_4";
180
- const logo = "_logo_ikal9_15";
181
- const testModeBanner = "_testModeBanner_ikal9_19";
182
- const header = "_header_ikal9_27";
183
- const logoAndActions = "_logoAndActions_ikal9_37";
184
- const content = "_content_ikal9_45";
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
- HostedUILayout: HostedUILayout$1,
186
+ CustomerPortalLayout: CustomerPortalLayout$1,
187
187
  logo,
188
188
  testModeBanner,
189
189
  header,
190
190
  logoAndActions,
191
191
  content
192
192
  };
193
- const HostedUILayoutContext = React__default.createContext(null);
194
- const useHostedUILayout = () => {
195
- const context = useContext(HostedUILayoutContext);
193
+ const CustomerPortalLayoutContext = React__default.createContext(null);
194
+ const useCustomerPortalLayout = () => {
195
+ const context = useContext(CustomerPortalLayoutContext);
196
196
  if (!context) {
197
- throw new Error("useHostedUILayout must be used within a HostedUILayout");
197
+ throw new Error("useCustomerPortalLayout must be used within a CustomerPortalLayout");
198
198
  }
199
199
  return context;
200
200
  };
201
- function HostedUILayout(props) {
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(HostedUILayoutContext.Provider, {
209
+ return React__default.createElement(CustomerPortalLayoutContext.Provider, {
210
210
  value: context
211
211
  }, React__default.createElement("div", {
212
- className: styles.HostedUILayout
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 HostedUILayoutHeader(props) {
230
+ function CustomerPortalLayoutHeader(props) {
231
231
  const { children } = props;
232
- const { mode } = useHostedUILayout();
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 HostedUILayoutLogo(props) {
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 HostedUILayoutLogoContainer(props) {
246
+ function CustomerPortalLayoutLogoContainer(props) {
247
247
  const { children } = props;
248
- const { shouldDisplayEasyPostLogo } = useHostedUILayout();
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(HostedUILayoutLogo, null, React__default.createElement(EasyPostLogo, null)), children);
254
+ }, shouldDisplayEasyPostLogo && React__default.createElement(CustomerPortalLayoutLogo, null, React__default.createElement(EasyPostLogo, null)), children);
255
255
  }
256
- function HostedUILayoutContent(props) {
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
- HostedUILayout.Header = HostedUILayoutHeader;
263
- HostedUILayout.Logo = HostedUILayoutLogo;
264
- HostedUILayout.LogoContainer = HostedUILayoutLogoContainer;
265
- HostedUILayout.Actions = HostedUILayoutActions;
266
- HostedUILayout.ActionBadge = HostedUILayoutActionBadge;
267
- HostedUILayout.MenuAction = HostedUILayoutMenuAction;
268
- HostedUILayout.LinkAction = HostedUILayoutLinkAction;
269
- HostedUILayout.ButtonAction = HostedUILayoutButtonAction;
270
- HostedUILayout.Content = HostedUILayoutContent;
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
- HostedUILayout,
273
- useHostedUILayout
272
+ CustomerPortalLayout,
273
+ useCustomerPortalLayout
274
274
  };
@@ -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-CPapXJZH.js");
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";
@@ -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-R6mEgxdk.mjs";
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?: string;
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: string) => void;
22
+ onChange?: (value: K) => void;
23
23
  /** The current value (controlled). */
24
- value?: string;
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,EAAqB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvE,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG;IAChD,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iCAAiC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,qDAAqD;IACrD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,iBAAS,mBAAmB,CAAC,KAAK,EAAE,eAAe,qBAyBlD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAOhD;yBAPe,UAAU;;;;AAmB1B,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
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,EAAqB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAIvE,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,iBAAiB,GAAG;IAClE,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,wCAAwC;IACxC,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB,qCAAqC;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,iCAAiC;IACjC,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,qDAAqD;IACrD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAE9B,sCAAsC;IACtC,KAAK,CAAC,EAAE,CAAC,CAAC;CACX,CAAC;AAEF,iBAAS,mBAAmB,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,qBA8BvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,UAAU,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,qBAOrE;yBAPe,UAAU;;;;AAmB1B,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const RadioGroup = require("../__chunks__/RadioGroup-CPapXJZH.js");
3
+ const RadioGroup = require("../__chunks__/RadioGroup-K565r4-w.js");
4
4
  exports.RadioGroup = RadioGroup.RadioGroup;
5
5
  exports.useRadioGroupContext = RadioGroup.useRadioGroupContext;
@@ -1,4 +1,4 @@
1
- import { R, u } from "../__chunks__/RadioGroup-R6mEgxdk.mjs";
1
+ import { R, u } from "../__chunks__/RadioGroup-DqooAc9M.mjs";
2
2
  export {
3
3
  R as RadioGroup,
4
4
  u as useRadioGroupContext
@@ -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?: Key | null;
13
+ selectedKey?: K | null;
14
14
  /** The initial selected key in the collection (uncontrolled). */
15
- defaultSelectedKey?: Key;
15
+ defaultSelectedKey?: K;
16
16
  /** Handler that is called when the selection changes. */
17
- onSelectionChange?: (key: Key) => void;
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<Key>;
21
+ disabledKeys?: Iterable<K>;
22
22
  };
23
- export type SelectProps<T> = AriaSelectProps<T> & BaseSelectFieldProps & BaseSelectProps<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;
@@ -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;IAC/B,6EAA6E;IAC7E,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,WAAW,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACzB,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,sCAAsC;IACtC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChC,kHAAkH;IAClH,YAAY,CAAC,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,eAAe,CAAC,CAAC,CAAC,GAC7C,oBAAoB,GACpB,eAAe,CAAC,CAAC,CAAC,CAAC;AAErB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,qBA4D7D;yBA5De,MAAM"}
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,EAAE,CAAC,SAAS,GAAG,GAAG,GAAG,IAAI;IACpD,6EAA6E;IAC7E,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACvB,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,CAAC,CAAC;IACvB,yDAAyD;IACzD,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;IACrC,sCAAsC;IACtC,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAChC,kHAAkH;IAClH,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAC9C,eAAe,CAAC,CAAC,CAAC,EAClB,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAC5B,GACC,oBAAoB,GACpB,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,GAAG,EACpD,KAAK,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,qBAmEzB;yBApEe,MAAM"}
package/Select/index.js CHANGED
@@ -86,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 selectState = SelectOverlay.$2bc3a590c5373a4e$export$5159ec8b34d4ec12(props);
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(props, selectState, triggerRef);
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 selectState = $2bc3a590c5373a4e$export$5159ec8b34d4ec12(props);
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(props, selectState, triggerRef);
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 state = $a54cdc5c1942b639$export$bca9d026f8e704eb(props);
312
- const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(props, state);
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 state = $a54cdc5c1942b639$export$bca9d026f8e704eb(props);
313
- const { radioGroupProps, labelProps } = $430f30ed08ec25fa$export$62b9571f283ff5c2(props, state);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easypost/easy-ui",
3
- "version": "1.0.0-alpha.88",
3
+ "version": "1.0.0-alpha.89",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ],
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
- ._HostedUILayout_ikal9_4 {
4868
- --ezui-c-hostedui-layout-max-width: 1369px;
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
- ._logo_ikal9_15 {
4878
+ ._logo_h0niy_15 {
4879
4879
  display: inline-flex;
4880
4880
  }
4881
4881
 
4882
- ._testModeBanner_ikal9_19 {
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
- ._header_ikal9_27 {
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
- ._logoAndActions_ikal9_37 {
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
- ._content_ikal9_45 {
4908
+ ._content_h0niy_45 {
4909
4909
  padding: var(--ezui-space-3);
4910
- max-width: var(--ezui-c-hostedui-layout-max-width);
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,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,qBAAqB;IACrB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,wBAAwB;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,CAAC;AAKF,eAAO,MAAM,iBAAiB,iCAM7B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBAexD;yBAfe,cAAc;;;;;;;;;;;AA8B9B,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,qBAU7D;AAED,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBAIzD;AAED,iBAAS,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,qBAa3E;AAED,iBAAS,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAG/D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"HostedUILayout.stories.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/HostedUILayout.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOlD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAUrC,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=HostedUILayout.test.d.ts.map
@@ -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,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,+BAA+B,GAAG;IAC5C,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,qBAAqB,CAAC,KAAK,EAAE,0BAA0B,qBAOtE;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBAoC5E;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,6BAA6B,qBA+B5E;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,+BAA+B,qBAyBvC;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,8BAA8B,qBAItC;AAED,+DAA+D;AAC/D,eAAO,MAAM,eAAe,kMAY1B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./HostedUILayout";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/HostedUILayout/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}