@shipengine/elements 1.5.1 → 1.7.0

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 (149) hide show
  1. package/index.cjs +14782 -14386
  2. package/index.js +14797 -14413
  3. package/package.json +5 -7
  4. package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
  6. package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
  7. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
  8. package/src/components/date-range-select/date-range-select.d.ts +1 -2
  9. package/src/components/field/create-field-controller.d.ts +2 -1
  10. package/src/components/field/date-picker/date-picker.d.ts +2 -6
  11. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  12. package/src/components/field/rate-card/rate-card.d.ts +3 -1
  13. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
  14. package/src/components/field-label/field-label.d.ts +2 -1
  15. package/src/components/history/history-card/history-card.d.ts +5 -2
  16. package/src/components/index.d.ts +5 -2
  17. package/src/components/service-point-display/service-point-display.d.ts +1 -1
  18. package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
  19. package/src/components/templates/address-display/address-display.d.ts +2 -1
  20. package/src/components/templates/address-form/address-schema.d.ts +2 -0
  21. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
  22. package/src/components/templates/index.d.ts +1 -4
  23. package/src/components/templates/label/label.styles.d.ts +0 -6
  24. package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
  25. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
  26. package/src/components/templates/rate-form/rate-form.d.ts +4 -2
  27. package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
  28. package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
  29. package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
  30. package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
  31. package/src/elements/external-carriers/external-carriers.d.ts +819 -9
  32. package/src/elements/index.d.ts +7 -3
  33. package/src/elements/label-layout/index.d.ts +1 -0
  34. package/src/elements/label-layout/label-layout-element.d.ts +791 -0
  35. package/src/elements/labels-grid/labels-grid.d.ts +16 -2
  36. package/src/elements/manage-funding/index.d.ts +1 -0
  37. package/src/elements/manage-funding/manage-funding-element.d.ts +791 -0
  38. package/src/elements/manage-warehouses/manage-warehouses.d.ts +791 -21
  39. package/src/elements/payment-method-settings/index.d.ts +1 -0
  40. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +791 -0
  41. package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
  42. package/src/elements/purchase-label/hooks/index.d.ts +8 -0
  43. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  44. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
  45. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
  46. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
  47. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
  48. package/src/elements/purchase-label/purchase-label.d.ts +36 -50
  49. package/src/elements/shipengine-carriers/index.d.ts +1 -0
  50. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +854 -0
  51. package/src/elements/shipments-grid/shipments-grid.d.ts +16 -2
  52. package/src/elements/theme-creator/theme-creator.d.ts +16 -2
  53. package/src/elements/unit-settings/index.d.ts +1 -0
  54. package/src/elements/unit-settings/unit-settings-element.d.ts +791 -0
  55. package/src/elements/view-shipment/view-shipment.d.ts +29 -15
  56. package/src/elements/void-label/void-label.d.ts +25 -12
  57. package/src/elements/wallet-history/index.d.ts +1 -0
  58. package/src/elements/wallet-history/wallet-history-element.d.ts +791 -0
  59. package/src/features/external-carriers/external-carriers.d.ts +10 -0
  60. package/src/features/external-carriers/index.d.ts +1 -0
  61. package/src/features/index.d.ts +7 -0
  62. package/src/features/label-layout/index.d.ts +2 -0
  63. package/src/features/label-layout/label-layout.d.ts +7 -0
  64. package/src/features/label-layout/use-label-layout.d.ts +7 -0
  65. package/src/features/manage-funding/manage-funding.d.ts +16 -0
  66. package/src/features/manage-warehouses/index.d.ts +2 -0
  67. package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -0
  68. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
  69. package/src/features/shipengine-carriers/hooks/index.d.ts +2 -0
  70. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
  71. package/src/features/shipengine-carriers/index.d.ts +1 -0
  72. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
  73. package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -0
  74. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
  75. package/src/features/unit-settings/index.d.ts +2 -0
  76. package/src/features/unit-settings/unit-settings.d.ts +9 -0
  77. package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
  78. package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
  79. package/src/hooks/index.d.ts +0 -1
  80. package/src/hooks/options/use-rate-options.d.ts +1 -1
  81. package/src/locales/en/index.d.ts +16 -2
  82. package/src/types/carrier-metadata.d.ts +3 -0
  83. package/src/types/index.d.ts +1 -0
  84. package/src/types/preferred-rates.d.ts +13 -0
  85. package/src/utilities/date.d.ts +2 -1
  86. package/src/utilities/feature-flags.d.ts +5 -2
  87. package/src/utilities/index.d.ts +1 -0
  88. package/src/utilities/tracking-status-formatter.d.ts +1 -0
  89. package/src/{elements → workflows}/account-settings/account-settings.d.ts +25 -58
  90. package/src/workflows/account-settings/use-get-panel-props.d.ts +10 -0
  91. package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +16 -2
  92. package/src/workflows/index.d.ts +3 -0
  93. package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
  94. package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
  95. package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
  96. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
  97. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  98. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  99. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
  100. package/src/workflows/onboarding/onboarding.d.ts +21 -8
  101. package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
  102. package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
  103. package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
  104. package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
  105. package/src/components/label-layout/index.d.ts +0 -3
  106. package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
  107. package/src/components/label-layout/label-layout-settings.d.ts +0 -7
  108. package/src/components/label-layout/label-layout.d.ts +0 -9
  109. package/src/components/manage-funding/manage-funding.d.ts +0 -35
  110. package/src/components/templates/account-settings/account-settings.d.ts +0 -10
  111. package/src/components/templates/account-settings/index.d.ts +0 -1
  112. package/src/components/templates/list-carriers/index.d.ts +0 -1
  113. package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
  114. package/src/components/templates/list-carriers-row/index.d.ts +0 -1
  115. package/src/components/templates/list-carriers-row/list-carriers-row.d.ts +0 -9
  116. package/src/components/templates/manage-warehouses/index.d.ts +0 -1
  117. package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
  118. package/src/components/unit-settings/index.d.ts +0 -1
  119. package/src/components/unit-settings/unit-settings.d.ts +0 -6
  120. package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
  121. package/src/elements/configure-shipment/index.d.ts +0 -1
  122. package/src/elements/list-carriers/index.d.ts +0 -1
  123. package/src/elements/list-carriers/list-carriers.d.ts +0 -36
  124. package/src/elements/shipengine-workflow/index.d.ts +0 -1
  125. package/src/hooks/use-carrier-metadata.d.ts +0 -10
  126. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
  127. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
  128. /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
  129. /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
  130. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
  131. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
  132. /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
  133. /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
  134. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
  135. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
  136. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
  137. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
  138. /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
  139. /package/src/{components → features}/manage-funding/index.d.ts +0 -0
  140. /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
  141. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
  142. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
  143. /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
  144. /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
  145. /package/src/{elements/list-carriers → features/shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
  146. /package/src/{components/templates/list-carriers-row/list-carriers-row.styles.d.ts → features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts} +0 -0
  147. /package/src/{components/templates/list-carriers/list-carriers.styles.d.ts → features/shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
  148. /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
  149. /package/src/{elements → workflows}/connect-carrier/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/elements",
3
- "version": "1.5.1",
3
+ "version": "1.7.0",
4
4
  "peerDependencies": {
5
5
  "@shipengine/alchemy": "5.x.x",
6
6
  "@emotion/react": "11.x",
@@ -17,7 +17,6 @@
17
17
  "type": "module",
18
18
  "types": "./src/index.d.ts",
19
19
  "dependencies": {
20
- "@emotion/css": "11.10.5",
21
20
  "@emotion/serialize": "1.1.1",
22
21
  "@faker-js/faker": "7.6.0",
23
22
  "@hookform/resolvers": "2.9.1",
@@ -25,9 +24,9 @@
25
24
  "@rjsf/core": "5.16.1",
26
25
  "@rjsf/utils": "5.16.1",
27
26
  "@rjsf/validator-ajv8": "5.16.1",
28
- "@shipengine/giger": "1.4.2",
29
- "@shipengine/giger-theme": "1.1.0",
30
- "@shipengine/js-api": "1.4.1",
27
+ "@shipengine/giger": "1.9.0",
28
+ "@shipengine/giger-theme": "1.3.0",
29
+ "@shipengine/js-api": "1.9.0",
31
30
  "@storybook/addons": "6.5.16",
32
31
  "@storybook/components": "7.0.0-rc.1",
33
32
  "@storybook/core-events": "7.0.0-rc.1",
@@ -39,13 +38,12 @@
39
38
  "axios": "0.26.1",
40
39
  "card-validator": "8.1.1",
41
40
  "copy-to-clipboard": "3.3.3",
42
- "date-fns": "2.29.3",
41
+ "date-fns": "3.6.0",
43
42
  "expect": "28.1.3",
44
43
  "humps": "2.0.1",
45
44
  "js-base64": "3.7.3",
46
45
  "libphonenumber-js": "1.10.14",
47
46
  "lodash": "4.17.21",
48
- "react-datepicker": "4.25.0",
49
47
  "react-hook-form": "7.40.0",
50
48
  "rollup-plugin-copy": "3.4.0",
51
49
  "use-debounce": "10.0.0",
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from "react";
2
2
  import { SE } from "@shipengine/js-api";
3
- import { WalletPayload, WarehousePayload } from "../templates";
3
+ import { WarehousePayload } from "../";
4
+ import { WalletPayload } from "../templates";
4
5
  import { AddressValidationPreference } from "../templates/address-preference-select";
5
6
  type WarehouseData = Pick<WarehousePayload, "name" | "isDefault">;
6
7
  type WalletData = {
@@ -1,19 +1,15 @@
1
- import { Theme } from "@shipengine/giger-theme";
2
1
  export declare const styles: {
3
- edit: (theme: Theme) => {
2
+ edit: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
4
3
  color: string;
5
4
  padding: string;
6
5
  };
7
- getForm: (showForm: boolean) => (theme: Theme) => {
6
+ getForm: (showForm: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
8
7
  backgroundColor: string;
9
8
  display: "flex" | "none";
10
9
  flexDirection: "column";
11
10
  padding: number;
12
11
  };
13
- input: (theme: Theme) => {
14
- width: number;
15
- };
16
- marginLeft: {
17
- marginLeft: string;
12
+ marginLeft: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
+ marginLeft: number;
18
14
  };
19
15
  };
@@ -23,6 +23,11 @@ export type CollapsiblePanelProps = WithChildrenCommonProps<{
23
23
  * should display a bust state while work is being done.
24
24
  */
25
25
  isSaving?: boolean;
26
+ /**
27
+ * `nested` is an optional boolean that will be used to determine if the panel is nested
28
+ * within another panel and therfore should have a different background color and padding.
29
+ */
30
+ nested?: boolean;
26
31
  /**
27
32
  * `title` is an optional string that will be used to display the title of the panel.
28
33
  */
@@ -38,4 +43,4 @@ export type CollapsiblePanelProps = WithChildrenCommonProps<{
38
43
  *
39
44
  * @see {@link CollapsiblePanelProps | The props that are passed into the `<CollapsiblePanel />` component}
40
45
  */
41
- export declare const CollapsiblePanel: ({ errors, initialExpanded, isSaving, children, title, }: CollapsiblePanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
46
+ export declare const CollapsiblePanel: ({ errors, initialExpanded, isSaving, nested, children, title, }: CollapsiblePanelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ export declare const styles: {
2
2
  content: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  padding: string;
4
4
  };
5
- header: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
5
+ getHeaderStyles: (nested?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
6
6
  backgroundColor: string;
7
7
  display: "flex";
8
8
  height: number;
@@ -3,7 +3,6 @@ import { DateRangeOption } from "../../hooks";
3
3
  * @internal
4
4
  */
5
5
  export type DateRangeSelectProps = {
6
- fullWidth?: boolean;
7
6
  onChange: (nextOption: DateRangeOption) => void | Promise<void>;
8
7
  options: DateRangeOption[];
9
8
  value?: DateRangeOption;
@@ -11,4 +10,4 @@ export type DateRangeSelectProps = {
11
10
  /**
12
11
  * @internal
13
12
  */
14
- export declare const DateRangeSelect: ({ fullWidth, onChange, options, value }: DateRangeSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export declare const DateRangeSelect: ({ onChange, options, value }: DateRangeSelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -15,12 +15,13 @@ export type FieldControllerProps<NP, TFieldValues extends FieldValues = FieldVal
15
15
  isOptional?: boolean;
16
16
  label: string;
17
17
  labelWeight?: FieldLabelProps["weight"];
18
+ labelWidth?: FieldLabelProps["width"];
18
19
  nativeLabel?: boolean;
19
20
  } & Omit<FieldLabelProps, "children" | "weight"> & Omit<UseControllerProps<TFieldValues, TName>, "defaultValue"> & ControlledFormInputProps<NP>;
20
21
  type FieldControllerOptions = {
21
22
  inputOnly?: boolean;
22
23
  };
23
- export declare const createFieldController: <P>(options?: FieldControllerOptions) => <TFieldValues extends FieldValues = FieldValues, TName extends import("react-hook-form").Path<TFieldValues> = import("react-hook-form").Path<TFieldValues>>({ children, control, defaultValue, displayErrors, displayLabel, errors: errorsProp, hint, inputOnly, isOptional, label, labelInfo, labelWeight, name, nativeLabel, rules, shouldUnregister, subLabel, ...formInputProps }: FieldControllerProps<P, TFieldValues, TName>) => JSX.Element;
24
+ export declare const createFieldController: <P>(options?: FieldControllerOptions) => <TFieldValues extends FieldValues = FieldValues, TName extends import("react-hook-form").Path<TFieldValues> = import("react-hook-form").Path<TFieldValues>>({ children, control, defaultValue, displayErrors, displayLabel, errors: errorsProp, hint, inputOnly, isOptional, label, labelInfo, labelWeight, labelWidth, name, nativeLabel, rules, shouldUnregister, subLabel, ...formInputProps }: FieldControllerProps<P, TFieldValues, TName>) => JSX.Element;
24
25
  export type ControlledFieldProps = Parameters<ControlledField>[0];
25
26
  export type ControlledField<NP = object, CP = object, OK extends string = ""> = <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(fieldProps: Omit<FieldControllerProps<NP, TFieldValues, TName>, "children" | OK> & CP) => JSX.Element;
26
27
  export {};
@@ -1,7 +1,3 @@
1
- import * as RDP from "react-datepicker";
1
+ import { IDatePickerProps } from "@shipengine/giger";
2
2
  import { ControlledField } from "../create-field-controller";
3
- export type DatePickerProps = {
4
- onChange?: (date: string | null) => void;
5
- translator?: (text: string) => string;
6
- } & Omit<RDP.ReactDatePickerProps, "onChange">;
7
- export declare const DatePicker: ControlledField<DatePickerProps>;
3
+ export declare const DatePicker: ControlledField<IDatePickerProps>;
@@ -5,7 +5,7 @@ export interface CostBreakdownProps {
5
5
  insuranceAmount?: SE.Money;
6
6
  otherAmount?: SE.Money;
7
7
  shippingAmount?: SE.Money;
8
- showExtendedData: boolean;
8
+ showExtendedData?: boolean;
9
9
  taxAmount?: SE.Money;
10
10
  }
11
11
  export declare const CostBreakdown: ({ showExtendedData, shippingAmount, insuranceAmount, confirmationAmount, taxAmount, otherAmount, }: CostBreakdownProps) => JSX.Element;
@@ -10,7 +10,9 @@ export type RateCardProps = Partial<RateOption> & WithCommonProps<{
10
10
  onSelectServicePoint?: (servicePoint?: SE.ServicePoint) => void;
11
11
  selected?: boolean;
12
12
  selectedRateCost?: number;
13
+ trackable?: boolean;
14
+ trackingStatus?: string;
13
15
  voided?: boolean;
14
16
  voidedAt?: string;
15
17
  }>;
16
- export declare const RateCard: ({ carrierCode, carrierFriendlyName, carrierNickname, children, className, confirmationAmount, deliveryDays, insuranceAmount, isAcknowledged, messages, onClick, onClickAcknowledgement, onSelectServicePoint, otherAmount, rateId, requiresAcknowledgement, rateAcknowledgementMessage, selected, serviceCode, packageType, serviceType, shippingAmount, taxAmount, voided, voidedAt, isLoading: servicePointsLoading, isPreferredRate, selectedRateCost, servicePoints, }: RateCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
18
+ export declare const RateCard: ({ carrierCode, carrierFriendlyName, carrierNickname, children, className, confirmationAmount, deliveryDays, insuranceAmount, isAcknowledged, messages, onClick, onClickAcknowledgement, onSelectServicePoint, otherAmount, rateId, requiresAcknowledgement, rateAcknowledgementMessage, selected, serviceCode, packageType, serviceType, shippingAmount, taxAmount, trackable, trackingStatus, voided, voidedAt, isLoading: servicePointsLoading, isPreferredRate, selectedRateCost, servicePoints, }: RateCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -7,6 +7,7 @@ export declare const getArticleSelectedStyles: (theme: Theme) => SerializedStyle
7
7
  export declare const getArticleVoidedStyles: () => SerializedStyles;
8
8
  export declare const getSectionStyles: (theme: Theme) => SerializedStyles;
9
9
  export declare const getRateImageStyles: (theme: Theme) => SerializedStyles;
10
+ export declare const getViewShipmentImageStyles: (theme: Theme) => SerializedStyles;
10
11
  export declare const getRateSavingsSectionStyles: () => SerializedStyles;
11
12
  export declare const getRateSavingsStyles: (theme: Theme) => SerializedStyles;
12
13
  export declare const getRateInfoStyles: (theme: Theme) => SerializedStyles;
@@ -10,6 +10,7 @@ export type FieldLabelProps = {
10
10
  labelInfo?: React.ReactNode;
11
11
  subLabel?: string;
12
12
  weight?: "bold" | "normal";
13
+ width?: string | number;
13
14
  withInput?: boolean;
14
15
  };
15
16
  /**
@@ -17,4 +18,4 @@ export type FieldLabelProps = {
17
18
  *
18
19
  * # Field Label Component
19
20
  */
20
- export declare const FieldLabel: ({ children, label, labelInfo, subLabel, weight, withInput, }: FieldLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
21
+ export declare const FieldLabel: ({ children, label, labelInfo, subLabel, weight, withInput, width, }: FieldLabelProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,6 +1,9 @@
1
1
  import { FundingSourceTransaction } from "@shipengine/alchemy";
2
2
  export type HistoryCardProps = {
3
- carrier: string;
3
+ carrierInfo: {
4
+ carrierCode: string;
5
+ carrierName: string;
6
+ };
4
7
  transaction: FundingSourceTransaction;
5
8
  };
6
- export declare const HistoryCard: ({ carrier, transaction }: HistoryCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const HistoryCard: ({ transaction, carrierInfo }: HistoryCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -22,15 +22,18 @@ export * from "./inline-label";
22
22
  export * from "./items-breakdown";
23
23
  export * from "./link-action";
24
24
  export * from "./loader";
25
- export * from "./manage-funding";
26
25
  export * from "./pager";
27
- export * from "./payment-method-settings";
28
26
  export * from "./portal";
29
27
  export * from "./powered-by-shipengine";
30
28
  export * from "./section";
29
+ export * from "./settings-card";
31
30
  export * from "./spacer";
32
31
  export * from "./spread";
33
32
  export * from "./skeleton";
34
33
  export * from "./suspend";
35
34
  export * from "./story-notes";
36
35
  export * from "./tabs";
36
+ export * from "./wallet-card";
37
+ export * from "./warehouse-form";
38
+ export * from "./edit-billing-form";
39
+ export * from "./history";
@@ -6,5 +6,5 @@ type ServicePointDisplayProps = {
6
6
  selectedServicePoint?: SE.ServicePoint;
7
7
  servicePoint: SE.ServicePoint;
8
8
  };
9
- export declare const ServicePointDisplay: ({ onSelect, servicePoint, expanded, rateSelected, selectedServicePoint, }: ServicePointDisplayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const ServicePointDisplay: ({ onSelect, servicePoint, rateSelected, selectedServicePoint, }: ServicePointDisplayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -1,6 +1,7 @@
1
1
  export declare const styles: {
2
2
  closed: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
3
  color: string;
4
+ whiteSpace: "pre";
4
5
  };
5
6
  container: {
6
7
  display: "flex";
@@ -19,6 +20,12 @@ export declare const styles: {
19
20
  gap: number;
20
21
  justifyContent: "" | "space-between";
21
22
  };
23
+ hoursToggle: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
24
+ alignItems: "center";
25
+ color: string;
26
+ display: "flex";
27
+ lineHeight: string;
28
+ };
22
29
  inlineWrapper: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
23
30
  alignItems: "center";
24
31
  display: "flex";
@@ -27,6 +34,7 @@ export declare const styles: {
27
34
  };
28
35
  open: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
29
36
  color: string;
37
+ whiteSpace: "pre";
30
38
  };
31
39
  selectButton: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
32
40
  backgroundColor: string;
@@ -4,6 +4,7 @@ type AddressDisplayProps = {
4
4
  decoratorText?: string;
5
5
  nickname?: string;
6
6
  onEdit?: () => Promise<void> | void;
7
+ typographyVariant?: "body1" | "body2";
7
8
  };
8
- export declare const AddressDisplay: ({ address, decoratorText, nickname, onEdit, }: AddressDisplayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
+ export declare const AddressDisplay: ({ address, decoratorText, nickname, onEdit, typographyVariant, }: AddressDisplayProps) => import("@emotion/react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ export declare const postalCodeRegex: RegExp;
3
+ export declare const addressNameRegex: RegExp;
2
4
  export declare const addressLine1Schema: z.ZodString;
3
5
  export declare const addressLine2Schema: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
4
6
  export declare const companyNameSchema: z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>, z.ZodLiteral<"">]>, string | undefined, string | null | undefined>;
@@ -9,6 +9,23 @@ export declare const styles: {
9
9
  display: "flex";
10
10
  flexDirection: "column";
11
11
  };
12
+ disconnectCarrierOption: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
+ color: string;
14
+ };
15
+ dropdownOptionList: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
16
+ minWidth: number;
17
+ };
18
+ iconButton: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
19
+ "&:hover": {
20
+ backgroundColor: "transparent !important";
21
+ color: `${string} !important`;
22
+ };
23
+ backgroundColor: "transparent";
24
+ border: number;
25
+ color: string;
26
+ cursor: "pointer";
27
+ padding: number;
28
+ };
12
29
  logoContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
30
  alignItems: "center";
14
31
  columnGap: string;
@@ -1,5 +1,4 @@
1
1
  export * from "../address-preference-context";
2
- export * from "./account-settings";
3
2
  export * from "./add-carrier-form";
4
3
  export * from "./address-display";
5
4
  export * from "./address-form";
@@ -7,8 +6,7 @@ export * from "./address-parser";
7
6
  export * from "./address-preference-display";
8
7
  export * from "./address-preference-select";
9
8
  export * from "./label";
10
- export * from "./list-carriers";
11
- export * from "./manage-warehouses";
9
+ export * from "../../features/shipengine-carriers";
12
10
  export * from "./product-form";
13
11
  export * from "./rate-form";
14
12
  export * from "./shipment-form";
@@ -17,4 +15,3 @@ export * from "./suspend-sales-order";
17
15
  export * from "./suspend-shipment";
18
16
  export * from "./theme-creator";
19
17
  export * from "./wallet-form";
20
- export * from "./warehouse-form";
@@ -3,10 +3,4 @@ export declare const styles: {
3
3
  alignItems: "center";
4
4
  display: "flex";
5
5
  };
6
- truncatedTrackingNumber: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
7
- overflow: "hidden";
8
- textOverflow: "ellipsis";
9
- whiteSpace: "nowrap";
10
- width: number;
11
- };
12
6
  };
@@ -3,7 +3,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
3
3
  countryOfOrigin: z.ZodEnum<["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "IO", "VG", "BN", "BG", "BF", "BI", "CA", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "CI", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "VI", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "WF", "EH", "YE", "ZM", "ZW"]>;
4
4
  description: z.ZodString;
5
5
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
6
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
7
6
  valueQuantity: z.ZodObject<{
8
7
  quantity: z.ZodNumber;
9
8
  value: z.ZodObject<{
@@ -32,7 +31,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
32
31
  }, {
33
32
  harmonizedTariffCode: z.ZodString;
34
33
  }>, "strip", z.ZodTypeAny, {
35
- productId?: string | undefined;
36
34
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
37
35
  description: string;
38
36
  harmonizedTariffCode: string;
@@ -44,7 +42,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
44
42
  quantity: number;
45
43
  };
46
44
  }, {
47
- productId?: string | null | undefined;
48
45
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
49
46
  description: string;
50
47
  harmonizedTariffCode: string;
@@ -62,7 +59,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
62
59
  currency: import("@shipengine/js-api").Currency;
63
60
  };
64
61
  harmonizedTariffCode?: string | undefined;
65
- productId?: string | undefined;
66
62
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
67
63
  description: string;
68
64
  } | {
@@ -71,12 +67,10 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
71
67
  amount: number;
72
68
  currency: import("@shipengine/js-api").Currency;
73
69
  };
74
- productId?: string | undefined;
75
70
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
76
71
  description: string;
77
72
  harmonizedTariffCode: string;
78
73
  }, {
79
- productId?: string | null | undefined;
80
74
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
81
75
  description: string;
82
76
  harmonizedTariffCode: string;
@@ -91,7 +85,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
91
85
  countryOfOrigin: z.ZodEnum<["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BR", "IO", "VG", "BN", "BG", "BF", "BI", "CA", "KH", "CM", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FM", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "CI", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "KP", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "VI", "UM", "US", "UY", "UZ", "VU", "VE", "VN", "WF", "EH", "YE", "ZM", "ZW"]>;
92
86
  description: z.ZodString;
93
87
  harmonizedTariffCode: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
94
- productId: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
95
88
  valueQuantity: z.ZodObject<{
96
89
  quantity: z.ZodNumber;
97
90
  value: z.ZodObject<{
@@ -119,7 +112,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
119
112
  }>;
120
113
  }, "strip", z.ZodTypeAny, {
121
114
  harmonizedTariffCode?: string | undefined;
122
- productId?: string | undefined;
123
115
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
124
116
  description: string;
125
117
  valueQuantity: {
@@ -131,7 +123,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
131
123
  };
132
124
  }, {
133
125
  harmonizedTariffCode?: string | null | undefined;
134
- productId?: string | null | undefined;
135
126
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
136
127
  description: string;
137
128
  valueQuantity: {
@@ -148,7 +139,6 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
148
139
  currency: import("@shipengine/js-api").Currency;
149
140
  };
150
141
  harmonizedTariffCode?: string | undefined;
151
- productId?: string | undefined;
152
142
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
153
143
  description: string;
154
144
  } | {
@@ -157,13 +147,11 @@ export declare const getProductFormSchema: (shipToCountry?: string) => z.ZodEffe
157
147
  amount: number;
158
148
  currency: import("@shipengine/js-api").Currency;
159
149
  };
160
- productId?: string | undefined;
161
150
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
162
151
  description: string;
163
152
  harmonizedTariffCode: string;
164
153
  }, {
165
154
  harmonizedTariffCode?: string | null | undefined;
166
- productId?: string | null | undefined;
167
155
  countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
168
156
  description: string;
169
157
  valueQuantity: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UseFormReturn } from "react-hook-form";
2
3
  import { SE } from "@shipengine/alchemy";
3
4
  import { RateOption } from "../../../hooks";
@@ -9,14 +10,18 @@ export type PudoRateTabsProps = {
9
10
  rateId: string;
10
11
  };
11
12
  }, any>;
13
+ getFilteredRateOptions?: (rateOptions: RateOption[]) => RateOption[];
12
14
  nicknameFeature?: boolean;
13
15
  onSearch: (postalCode: string) => void;
14
16
  onSelectRate?: RateFormProps["onSelectRate"];
15
17
  onSelectServicePoint: (servicePoint?: SE.ServicePoint) => void;
16
18
  preferredServiceCodes?: RateFormProps["preferredServiceCodes"];
17
19
  pudoRateOptions: RateOption[];
20
+ rateFormScrollToRef?: React.RefObject<HTMLFormElement>;
18
21
  rates?: RateFormProps["rates"];
19
22
  servicePointsLoading?: boolean;
23
+ setShowHiddenRates?: (showHiddenRates: boolean) => void;
20
24
  shipment?: RateFormProps["shipment"];
25
+ showHiddenRates?: boolean;
21
26
  };
22
- export declare const PudoRateTabs: ({ shipment, pudoRateOptions, form, onSelectRate, servicePointsLoading, onSelectServicePoint, nicknameFeature, preferredServiceCodes, onSearch, }: PudoRateTabsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
27
+ export declare const PudoRateTabs: ({ shipment, pudoRateOptions, form, onSelectRate, servicePointsLoading, onSelectServicePoint, nicknameFeature, preferredServiceCodes, onSearch, showHiddenRates, setShowHiddenRates, getFilteredRateOptions, rateFormScrollToRef, }: PudoRateTabsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
- import { ConfigureShipmentFeatures, PreferredRatesResponse } from "../../../elements/configure-shipment";
2
+ import { ConfigureShipmentFeatures } from "../../../elements/purchase-label/configure-shipment";
3
+ import { PreferredRatesResponse } from "../../../types";
3
4
  export type RateFormProps = {
4
5
  carriers?: SE.Carrier[];
5
6
  currency: SE.Currency;
@@ -19,6 +20,7 @@ export type RateFormProps = {
19
20
  preferredRates?: PreferredRatesResponse;
20
21
  preferredServiceCodes?: string[];
21
22
  rates?: SE.Rate[];
23
+ salesOrder?: SE.SalesOrder;
22
24
  shipment?: SE.SalesOrderShipment;
23
25
  };
24
- export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, currency, displayableShipmentErrors, preferredRates, preferredServiceCodes, rates, shipment, onSave, onSelectRate, onSubmit, }: RateFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
26
+ export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, currency, displayableShipmentErrors, preferredRates, preferredServiceCodes, rates, salesOrder, shipment, onSave, onSelectRate, onSubmit, }: RateFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -1,7 +1,4 @@
1
1
  export declare const styles: {
2
- fundAndPurchase: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
- borderTop: string;
4
- };
5
2
  ratesInterstitial: {
6
3
  alignItems: "center";
7
4
  display: "flex";
@@ -9,8 +6,9 @@ export declare const styles: {
9
6
  justifyContent: "center";
10
7
  textAlign: "center";
11
8
  };
12
- showMoreOrLessRatesButton: {
9
+ showMoreOrLessRatesButton: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
13
10
  alignItems: "center";
14
11
  display: "flex";
12
+ paddingTop: number;
15
13
  };
16
14
  };