@shipengine/elements 0.39.0 → 1.1.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 (102) hide show
  1. package/README.md +15 -0
  2. package/index.cjs +5604 -5930
  3. package/index.js +5601 -5934
  4. package/package.json +14 -13
  5. package/src/components/carrier-icon/carrier-icon.d.ts +13 -0
  6. package/src/components/carrier-icon/index.d.ts +1 -0
  7. package/src/components/carrier-logo/carrier-logo.d.ts +11 -0
  8. package/src/components/carrier-logo/index.d.ts +1 -0
  9. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
  10. package/src/components/display-term/display-term.d.ts +5 -0
  11. package/src/components/display-term/display-term.styles.d.ts +23 -0
  12. package/src/components/display-term/index.d.ts +1 -0
  13. package/src/components/grid-controller/cell-formatted-date.d.ts +4 -0
  14. package/src/components/grid-controller/grid-controller.d.ts +22 -0
  15. package/src/components/grid-controller/grid-controller.styles.d.ts +61 -0
  16. package/src/components/grid-controller/hooks/use-grid.d.ts +43 -0
  17. package/src/components/grid-controller/index.d.ts +2 -0
  18. package/src/components/history/history-card-extension/history-card-extension.styles.d.ts +2 -2
  19. package/src/components/index.d.ts +4 -0
  20. package/src/components/label-layout/label-layout.styles.d.ts +8 -5
  21. package/src/components/loader/loader.styles.d.ts +11 -0
  22. package/src/components/powered-by-shipengine/powered-by-shipengine.styles.d.ts +2 -2
  23. package/src/components/save-status/save-status-styles.d.ts +4 -9
  24. package/src/components/section/section.d.ts +2 -2
  25. package/src/components/templates/connect-carrier/connect-carrier.d.ts +1 -0
  26. package/src/components/templates/connect-carrier/connect-carrier.styles.d.ts +1 -0
  27. package/src/components/templates/connect-carrier/index.d.ts +1 -0
  28. package/src/components/templates/connect-carrier-form/connect-carrier-form.d.ts +4 -0
  29. package/src/components/templates/connect-carrier-form/connect-carrier-form.styles.d.ts +60 -0
  30. package/src/components/templates/connect-carrier-form/index.d.ts +1 -0
  31. package/src/components/templates/display-carrier-terms/display-carrier-terms.d.ts +2 -2
  32. package/src/components/templates/display-carrier-terms/display-carrier-terms.styles.d.ts +25 -0
  33. package/src/components/templates/index.d.ts +2 -6
  34. package/src/components/templates/list-carriers/list-carriers.d.ts +2 -2
  35. package/src/components/templates/rate-form/rate-form.d.ts +2 -2
  36. package/src/components/templates/warehouse-form/warehouse-form.d.ts +2 -2
  37. package/src/elements/account-settings/account-settings.d.ts +47 -36
  38. package/src/elements/configure-shipment/hooks/use-rates-form.d.ts +1 -2
  39. package/src/elements/{onboarding/onboarding.d.ts → connect-carrier/connect-carrier.d.ts} +53 -112
  40. package/src/elements/connect-carrier/index.d.ts +1 -0
  41. package/src/elements/index.d.ts +0 -1
  42. package/src/elements/labels-grid/index.d.ts +1 -0
  43. package/src/elements/labels-grid/labels-grid.d.ts +687 -0
  44. package/src/elements/list-carriers/list-carriers.d.ts +2 -2
  45. package/src/elements/purchase-label/purchase-label.d.ts +57 -12
  46. package/src/elements/view-shipment/view-shipment.d.ts +51 -18
  47. package/src/elements/void-label/void-label.d.ts +52 -36
  48. package/src/features/wallet-history/wallet-history.styles.d.ts +2 -2
  49. package/src/index.d.ts +1 -0
  50. package/src/locales/en/index.d.ts +47 -7
  51. package/src/types/index.d.ts +1 -0
  52. package/src/types/patch.d.ts +13 -0
  53. package/src/utilities/assertions.d.ts +2 -0
  54. package/src/utilities/feature-flags.d.ts +1 -1
  55. package/src/utilities/index.d.ts +1 -0
  56. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +10 -0
  57. package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +4 -0
  58. package/src/workflows/onboarding/components/account-registration-form/index.d.ts +1 -0
  59. package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +5 -0
  60. package/src/workflows/onboarding/components/account-registration-step/index.d.ts +2 -0
  61. package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +7 -0
  62. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +241 -0
  63. package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.d.ts +4 -2
  64. package/src/workflows/onboarding/components/carrier-recovery-form/index.d.ts +1 -0
  65. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +9 -0
  66. package/src/{components/templates/onboarding/onboarding.styles.d.ts → workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts} +1 -14
  67. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +2 -0
  68. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +25 -0
  69. package/src/workflows/onboarding/components/onboarding-wizard/index.d.ts +1 -0
  70. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +27 -0
  71. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +10 -0
  72. package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +2 -0
  73. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +7 -0
  74. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +9 -0
  75. package/src/workflows/onboarding/components/step-header/index.d.ts +1 -0
  76. package/src/workflows/onboarding/components/step-header/step-header.d.ts +5 -0
  77. package/src/workflows/onboarding/components/terms-agreement-form/index.d.ts +1 -0
  78. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form-schema.d.ts +10 -0
  79. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +7 -0
  80. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +24 -0
  81. package/src/workflows/onboarding/components/terms-agreement-step/index.d.ts +1 -0
  82. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +8 -0
  83. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +17 -0
  84. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +18 -0
  85. package/src/workflows/onboarding/onboarding.d.ts +804 -0
  86. package/src/components/templates/carrier-recovery-form/carrier-recovery-form-schema.d.ts +0 -241
  87. package/src/components/templates/carrier-recovery-form/index.d.ts +0 -2
  88. package/src/components/templates/carrier-terms-form/carrier-terms-form-schema.d.ts +0 -10
  89. package/src/components/templates/carrier-terms-form/carrier-terms-form.d.ts +0 -6
  90. package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +0 -65
  91. package/src/components/templates/carrier-terms-form/index.d.ts +0 -1
  92. package/src/components/templates/landing-page/index.d.ts +0 -1
  93. package/src/components/templates/landing-page/landing-page-form-schema.d.ts +0 -10
  94. package/src/components/templates/landing-page/landing-page-form.d.ts +0 -4
  95. package/src/components/templates/landing-page/landing-page.d.ts +0 -5
  96. package/src/components/templates/onboarding/onboarding.d.ts +0 -42
  97. /package/src/{components/templates/onboarding → workflows}/index.d.ts +0 -0
  98. /package/src/{components/templates/landing-page/landing-page.styles.d.ts → workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts} +0 -0
  99. /package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.styles.d.ts +0 -0
  100. /package/src/{components/templates → workflows/onboarding/components}/completion-page/completion-page.d.ts +0 -0
  101. /package/src/{components/templates → workflows/onboarding/components}/completion-page/index.d.ts +0 -0
  102. /package/src/{elements → workflows}/onboarding/index.d.ts +0 -0
@@ -290,7 +290,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
290
290
  onboarding: {
291
291
  title: string;
292
292
  inlineTitle: string;
293
- landing: {
293
+ accountRegistration: {
294
294
  action: string;
295
295
  title: string;
296
296
  subtitle: string;
@@ -299,33 +299,11 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
299
299
  partnerMessageLine1: string;
300
300
  messageLine2: string;
301
301
  };
302
- steps: {
303
- register: string;
304
- carriers: string;
305
- /**
306
- * # Account Settings Component
307
- *
308
- * - The `<AccountSettings />` component is used to display the user's account settings, as well as
309
- * allowing them to make changes to various aspects of their account.
310
- *
311
- * @returns Element An EmotionJSX.Element that will render the `<AccountSettings />` component
312
- * with all the appropriate wrappers.
313
- *
314
- * @example
315
- * You can see how the `<Component />` is used in the `createElement` function call below.
316
- * ```tsx
317
- * export const Element = alchemy.createElement(Component, ErrorFallback, {
318
- * css: { height: "100%", maxWidth: "800px", minWidth: "440px", width: "100%" },
319
- * resources: { en },
320
- * });
321
- * ```
322
- *
323
- * <br />
324
- *
325
- * @see {@link AccountSettings.Element | The **Element** created to render `<AccountSettings />`}
326
- */
327
- addresses: string;
328
- billing: string;
302
+ stepLabel: {
303
+ accountRegistration: string;
304
+ termsAgreement: string;
305
+ shipFromAddress: string;
306
+ fundingAndCarrierConnection: string;
329
307
  };
330
308
  warehouse: {
331
309
  title: string;
@@ -337,6 +315,22 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
337
315
  subtitle: string;
338
316
  action: string;
339
317
  };
318
+ termsAndAgreementLinkText: {
319
+ aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
320
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
321
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
322
+ "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
323
+ aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
324
+ "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
325
+ "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
326
+ "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
327
+ aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
328
+ };
329
+ termsAndAgreementTitles: {
330
+ "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
331
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
332
+ "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
333
+ };
340
334
  };
341
335
  "manage-defaults": {
342
336
  label: {
@@ -461,17 +455,11 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
461
455
  cancel: string;
462
456
  close: string;
463
457
  confirm: string;
458
+ connect: string;
464
459
  continue: string;
465
460
  delete: string;
466
461
  edit: string;
467
462
  hide: string;
468
- /**
469
- * # Account Settings Component Props
470
- *
471
- * - These are the base props that will be passed into the `<AccountSettings />` component.
472
- *
473
- * @see {@link AccountSettings.Component | This prop types usage in the `<AccountSettings /> component`}
474
- */
475
463
  parse: string;
476
464
  purchase: string;
477
465
  remove: string;
@@ -484,6 +472,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
484
472
  fields: {
485
473
  name: string;
486
474
  company: string;
475
+ county: string;
487
476
  countryCode: string;
488
477
  addressLine1: string;
489
478
  addressLine2: string;
@@ -598,6 +587,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
598
587
  autoFundingSettings: string;
599
588
  carrier: string;
600
589
  carriers: string;
590
+ fundingSourceMetadata: string;
601
591
  label: string;
602
592
  salesOrder: string;
603
593
  shipment: string;
@@ -605,7 +595,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
605
595
  };
606
596
  unknown: string;
607
597
  noRatesAvailable: string;
608
- saveRateError: string;
609
598
  };
610
599
  errorTypes: {
611
600
  accountStatus: string;
@@ -620,6 +609,11 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
620
609
  unknown: string;
621
610
  validation: string;
622
611
  };
612
+ grid: {
613
+ "row-count_one": string;
614
+ "row-count_other": string;
615
+ rows: string;
616
+ };
623
617
  insuranceProviders: {
624
618
  carrier: string;
625
619
  none: string;
@@ -631,6 +625,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
631
625
  carrier: string;
632
626
  carriers: string;
633
627
  connectingCarriers: string;
628
+ creatingFundingSource: string;
634
629
  data: string;
635
630
  importingSalesOrder: string;
636
631
  label: string;
@@ -692,6 +687,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
692
687
  platform: string;
693
688
  user: string;
694
689
  };
690
+ terms: {
691
+ fields: {
692
+ agreement: string;
693
+ };
694
+ agreeToTerms: string;
695
+ carriersTitle: string;
696
+ fundingSourceTitle: string;
697
+ };
695
698
  weight: {
696
699
  ounces: string;
697
700
  pounds_one: string;
@@ -707,6 +710,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
707
710
  gram: string;
708
711
  kilogram: string;
709
712
  };
713
+ T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
710
714
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
711
715
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
712
716
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
@@ -718,6 +722,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
718
722
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
719
723
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
720
724
  };
725
+ "connect-carrier": {
726
+ registrationForm: {
727
+ title: string;
728
+ isLoading: string;
729
+ betaWarning: string;
730
+ };
731
+ };
721
732
  "account-settings": {
722
733
  title: string;
723
734
  sections: {
@@ -24,11 +24,10 @@ export type UseRatesFormProps = {
24
24
  export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBeforeLabelCreate, onLabelCreateFailure, onLabelCreateSuccess, onRateSaved, onRatesCalculated, onShipmentUpdated, printLabelLayout, shipment, }: UseRatesFormProps) => {
25
25
  carriers: SE.Carrier[] | undefined;
26
26
  displayableRateErrors: string[] | undefined;
27
- displayableSaveRateErrors: string[] | undefined;
28
27
  errors: SE.CodedError[] | undefined;
29
28
  isLoading: boolean;
30
29
  labelErrors: string[] | undefined;
31
- labels: SE.Label[] | undefined;
30
+ labels: SE.Label[];
32
31
  labelsLoading: boolean;
33
32
  onSave: ({ carrierId, serviceCode }: Pick<SE.Rate, "carrierId" | "serviceCode">) => Promise<void>;
34
33
  onSubmit: (rateId: string) => Promise<void>;
@@ -1,90 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { OnboardingProps } from "../../components/templates/onboarding";
3
- /**
4
- * # Onboarding Component Props
5
- *
6
- * - These are the base props that will be passed into the `<Onboarding />` component.
7
- *
8
- * @see {@link Onboarding.Component | This prop types usage in the `<Onboarding />` component}
9
- */
10
- export type ComponentProps = {
11
- /**
12
- * `features` is a set of feature flags you would like to enable or disable in this component.
13
- */
14
- features?: OnboardingProps["features"];
15
- /**
16
- * `onboardingAddress` is the address that will be used to create the warehouse for the user
17
- * during the onboarding process.
18
- */
19
- onboardingAddress?: OnboardingProps["onboardingAddress"];
20
- /**
21
- * `onCompleteOnboarding` is a callback function that will be invoked once the onboarding process
22
- * is completed.
23
- */
24
- onCompleteOnboarding: () => void;
25
- /**
26
- * `partnerName` is the name of the partner that is using the Onboarding component. This is typically
27
- * the name of the entity that owns the host application.
28
- */
29
- partnerName?: OnboardingProps["partnerName"];
30
- };
31
- /**
32
- * # Onboarding Component
33
- *
34
- * - The `<Onboarding />` component is used to onboard a new user to the ShipEngine platform. This
35
- * component will allow the user to create a warehouse, register a carrier, and create a funding
36
- * source for their account. This is everything a user needs to begin fulfilling their shipments
37
- * using the ShipEngine Platform.
38
- *
39
- * @param ComponentProps The base props that will be passed into the `<Onboarding />` component.
40
- *
41
- * @returns Element An EmotionJSX.Element that will render the `<Onboarding />` component
42
- * with all the appropriate wrappers.
43
- *
44
- * @example
45
- * You can see how the `<Component />` is used in the `createElement` function call below.
46
- * ```tsx
47
- * export const Element = alchemy.createElement(Component, ErrorFallback, {
48
- * css: {
49
- * height: "100%",
50
- * maxWidth: "800px",
51
- * minWidth: "440px",
52
- * overflow: "auto",
53
- * scrollbarGutter: "stable both-edges",
54
- * width: "100%",
55
- * },
56
- * resources: { en },
57
- * });
58
- * ```
59
- *
60
- * <br />
61
- *
62
- * @see {@link Onboarding.Element | The **Element** created to render `<Onboarding />`}
63
- */
64
- export declare const Component: ({ features, onboardingAddress, onCompleteOnboarding, partnerName, }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
65
- /**
66
- * # Registered Onboarding Element
67
- *
68
- * - This is the registered `<Onboarding />` element that will be used to render the
69
- * `<Onboarding.Element />` component.
70
- *
71
- * @param ElementProps The props, callbacks, and resources necessary to render
72
- * the `<Onboarding.Element />` component.
73
- *
74
- * @example
75
- * The `<Component />` is the source JSX that is rendered when you make use of the `Onboarding`
76
- * Element directly. Here is a brief example of how you would use it within your application.
77
- * ```tsx
78
- * <Onboarding.Element
79
- * onCompleteOnboarding={() => console.log('Onboarding Complete!')}
80
- * />
81
- * ```
82
- *
83
- * <br />
84
- *
85
- * @see {@link Onboarding.ComponentProps | The **props** that can be passed into the `<Onboarding.Element />` component}
86
- */
87
- export declare const Element: ({ resources, ...props }: ComponentProps & {
2
+ export declare const Component: () => import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export declare const Element: ({ resources, ...props }: object & {
88
4
  resources?: {
89
5
  en: {
90
6
  "wallet-history": {
@@ -148,10 +64,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
148
64
  deliveryConfirmation: string;
149
65
  };
150
66
  highVolumeForms: string;
151
- multipleShippingServices: string; /**
152
- * `onCompleteOnboarding` is a callback function that will be invoked once the onboarding process
153
- * is completed.
154
- */
67
+ multipleShippingServices: string;
155
68
  sections: {
156
69
  labels: string;
157
70
  };
@@ -317,7 +230,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
317
230
  onboarding: {
318
231
  title: string;
319
232
  inlineTitle: string;
320
- landing: {
233
+ accountRegistration: {
321
234
  action: string;
322
235
  title: string;
323
236
  subtitle: string;
@@ -326,11 +239,11 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
326
239
  partnerMessageLine1: string;
327
240
  messageLine2: string;
328
241
  };
329
- steps: {
330
- register: string;
331
- carriers: string;
332
- addresses: string;
333
- billing: string;
242
+ stepLabel: {
243
+ accountRegistration: string;
244
+ termsAgreement: string;
245
+ shipFromAddress: string;
246
+ fundingAndCarrierConnection: string;
334
247
  };
335
248
  warehouse: {
336
249
  title: string;
@@ -342,6 +255,22 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
342
255
  subtitle: string;
343
256
  action: string;
344
257
  };
258
+ termsAndAgreementLinkText: {
259
+ aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
260
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
261
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
262
+ "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
263
+ aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
264
+ "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
265
+ "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
266
+ "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
267
+ aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
268
+ };
269
+ termsAndAgreementTitles: {
270
+ "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
271
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
272
+ "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
273
+ };
345
274
  };
346
275
  "manage-defaults": {
347
276
  label: {
@@ -369,9 +298,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
369
298
  dimensions: {
370
299
  title: string;
371
300
  standard: string;
372
- metric: string; /**
373
- * `features` is a set of feature flags you would like to enable or disable in this component.
374
- */
301
+ metric: string;
375
302
  };
376
303
  weight: {
377
304
  title: string;
@@ -422,10 +349,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
422
349
  error: {
423
350
  title: string;
424
351
  message: string;
425
- }; /**
426
- * `onCompleteOnboarding` is a callback function that will be invoked once the onboarding process
427
- * is completed.
428
- */
352
+ };
429
353
  isLoading: string;
430
354
  labels: {
431
355
  amount: string;
@@ -468,6 +392,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
468
392
  cancel: string;
469
393
  close: string;
470
394
  confirm: string;
395
+ connect: string;
471
396
  continue: string;
472
397
  delete: string;
473
398
  edit: string;
@@ -484,15 +409,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
484
409
  fields: {
485
410
  name: string;
486
411
  company: string;
412
+ county: string;
487
413
  countryCode: string;
488
414
  addressLine1: string;
489
415
  addressLine2: string;
490
416
  cityLocality: string;
491
417
  stateProvince: string;
492
418
  postalCode: string;
493
- phone: string; /**
494
- * `features` is a set of feature flags you would like to enable or disable in this component.
495
- */
419
+ phone: string;
496
420
  email: string;
497
421
  addressResidentialIndicator: string;
498
422
  };
@@ -600,6 +524,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
600
524
  autoFundingSettings: string;
601
525
  carrier: string;
602
526
  carriers: string;
527
+ fundingSourceMetadata: string;
603
528
  label: string;
604
529
  salesOrder: string;
605
530
  shipment: string;
@@ -607,7 +532,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
607
532
  };
608
533
  unknown: string;
609
534
  noRatesAvailable: string;
610
- saveRateError: string;
611
535
  };
612
536
  errorTypes: {
613
537
  accountStatus: string;
@@ -622,6 +546,11 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
622
546
  unknown: string;
623
547
  validation: string;
624
548
  };
549
+ grid: {
550
+ "row-count_one": string;
551
+ "row-count_other": string;
552
+ rows: string;
553
+ };
625
554
  insuranceProviders: {
626
555
  carrier: string;
627
556
  none: string;
@@ -633,6 +562,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
633
562
  carrier: string;
634
563
  carriers: string;
635
564
  connectingCarriers: string;
565
+ creatingFundingSource: string;
636
566
  data: string;
637
567
  importingSalesOrder: string;
638
568
  label: string;
@@ -694,6 +624,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
694
624
  platform: string;
695
625
  user: string;
696
626
  };
627
+ terms: {
628
+ fields: {
629
+ agreement: string;
630
+ };
631
+ agreeToTerms: string;
632
+ carriersTitle: string;
633
+ fundingSourceTitle: string;
634
+ };
697
635
  weight: {
698
636
  ounces: string;
699
637
  pounds_one: string;
@@ -709,6 +647,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
709
647
  gram: string;
710
648
  kilogram: string;
711
649
  };
650
+ T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
712
651
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
713
652
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
714
653
  QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
@@ -720,6 +659,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
720
659
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
721
660
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
722
661
  };
662
+ "connect-carrier": {
663
+ registrationForm: {
664
+ title: string;
665
+ isLoading: string;
666
+ betaWarning: string;
667
+ };
668
+ };
723
669
  "account-settings": {
724
670
  title: string;
725
671
  sections: {
@@ -736,9 +682,4 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
736
682
  };
737
683
  } | undefined;
738
684
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
739
- /**
740
- * # Onboarding Element Props
741
- *
742
- * @see {@link Onboarding.Element | See the full type that `typeof Element` will return}
743
- */
744
685
  export type ElementProps = React.ComponentProps<typeof Element>;
@@ -0,0 +1 @@
1
+ export * as ConnectCarrier from "./connect-carrier";
@@ -1,7 +1,6 @@
1
1
  export * from "./account-settings";
2
2
  export * from "./list-carriers";
3
3
  export * from "./manage-warehouses";
4
- export * from "./onboarding";
5
4
  export * from "./purchase-label";
6
5
  export * from "./view-shipment";
7
6
  export * from "./void-label";
@@ -0,0 +1 @@
1
+ export * as LabelsGrid from "./labels-grid";