@shipengine/elements 2.4.0 → 2.6.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 (67) hide show
  1. package/actions-menu.js +1 -1
  2. package/components.js +1 -1
  3. package/index.js +1 -1
  4. package/package.json +1 -1
  5. package/src/components/actions-menu/actions-menu.d.ts +2 -1
  6. package/src/components/error-state/error-state.d.ts +6 -0
  7. package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
  8. package/src/components/error-state/index.d.ts +1 -0
  9. package/src/components/index.d.ts +1 -0
  10. package/src/components/templates/address-display/address-display.d.ts +2 -1
  11. package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
  12. package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
  13. package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
  14. package/src/elements/label-layout/label-layout-element.d.ts +44 -15
  15. package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +2 -0
  16. package/src/elements/labels-grid/labels-grid.d.ts +79 -44
  17. package/src/elements/labels-grid/labels-grid.styles.d.ts +7 -1
  18. package/src/elements/manage-carriers/manage-carriers.d.ts +44 -15
  19. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +66 -16
  20. package/src/elements/manage-funding/manage-funding-element.d.ts +44 -15
  21. package/src/elements/manage-warehouses/manage-warehouses.d.ts +44 -15
  22. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +44 -15
  23. package/src/elements/purchase-label/purchase-label.d.ts +54 -28
  24. package/src/elements/shipment-summary/shipment-summary.d.ts +51 -19
  25. package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +162 -0
  26. package/src/elements/shipments-grid/shipments-grid.d.ts +128 -23
  27. package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
  28. package/src/elements/theme-creator/theme-creator.d.ts +44 -15
  29. package/src/elements/transaction-history/transaction-history-element.d.ts +44 -15
  30. package/src/elements/unit-settings/unit-settings-element.d.ts +44 -15
  31. package/src/elements/vat-settings/vat-settings-element.d.ts +44 -15
  32. package/src/elements/void-label/void-label.d.ts +56 -26
  33. package/src/locales/en/index.d.ts +44 -15
  34. package/src/workflows/account-settings/account-settings.d.ts +44 -15
  35. package/src/workflows/carrier-services/carrier-services.d.ts +44 -15
  36. package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +44 -15
  37. package/src/workflows/label-workflow/label-workflow.d.ts +31 -29
  38. package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
  39. package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
  40. package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
  41. package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
  42. package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
  43. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
  44. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
  45. package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
  46. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
  47. package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
  48. package/src/workflows/onboarding/components/{funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts → step-header/step-header.styles.d.ts} +5 -8
  49. package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
  50. package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
  51. package/src/workflows/onboarding/onboarding.d.ts +46 -19
  52. package/suspend-text.js +1 -1
  53. package/transaction-history-element.js +1 -1
  54. package/use-unit-settings.js +1 -1
  55. package/usePager.js +1 -1
  56. package/wallet-form.js +1 -1
  57. package/workflows.js +1 -1
  58. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
  59. package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
  60. package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
  61. package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
  62. package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
  63. package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
  64. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
  65. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
  66. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
  67. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +0 -9
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const getWarehouseSchema: (useStrict: boolean) => z.ZodDiscriminatedUnion<"returnToAddressIsDifferent", z.Primitive, z.ZodObject<{
2
+ export declare const getWarehouseSchema: (useStrict: boolean, emailRequired?: boolean) => z.ZodDiscriminatedUnion<"returnToAddressIsDifferent", z.Primitive, z.ZodObject<{
3
3
  isDefault: z.ZodBoolean;
4
4
  name: z.ZodString;
5
5
  originAddress: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<z.extendShape<{
@@ -16,6 +16,7 @@ export declare const getWarehouseSchema: (useStrict: boolean) => z.ZodDiscrimina
16
16
  }, {
17
17
  addressResidentialIndicator: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodBoolean>, "yes" | "no", boolean | undefined>, "yes" | "no", unknown>;
18
18
  companyName: z.ZodString;
19
+ email: z.ZodString | z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
19
20
  name: z.ZodString;
20
21
  phone: z.ZodString;
21
22
  }>, "strip", z.ZodTypeAny, {
@@ -129,6 +130,7 @@ export declare const getWarehouseSchema: (useStrict: boolean) => z.ZodDiscrimina
129
130
  }, {
130
131
  addressResidentialIndicator: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodBoolean>, "yes" | "no", boolean | undefined>, "yes" | "no", unknown>;
131
132
  companyName: z.ZodString;
133
+ email: z.ZodString | z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
132
134
  name: z.ZodString;
133
135
  phone: z.ZodString;
134
136
  }>, "strip", z.ZodTypeAny, {
@@ -306,6 +308,7 @@ export declare const getWarehouseSchema: (useStrict: boolean) => z.ZodDiscrimina
306
308
  }, {
307
309
  addressResidentialIndicator: z.ZodEffects<z.ZodEffects<z.ZodDefault<z.ZodBoolean>, "yes" | "no", boolean | undefined>, "yes" | "no", unknown>;
308
310
  companyName: z.ZodString;
311
+ email: z.ZodString | z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
309
312
  name: z.ZodString;
310
313
  phone: z.ZodString;
311
314
  }>, "strip", z.ZodTypeAny, {
@@ -5,6 +5,7 @@ export type WarehouseFormProps<T = undefined> = {
5
5
  onCancel?: () => void;
6
6
  onDelete?: () => void;
7
7
  onSubmit: (payload: WarehousePayload) => void;
8
+ requireEmail?: boolean;
8
9
  shouldForceDefault?: boolean;
9
10
  submitButtonTitle: string;
10
11
  useStrictSchema?: boolean;
@@ -16,4 +17,4 @@ export type WarehouseFormProps<T = undefined> = {
16
17
  formId?: string;
17
18
  portalRef?: never;
18
19
  });
19
- export declare const WarehouseForm: <T extends Element>({ onCancel, formId, onDelete, onSubmit, portalRef, submitButtonTitle, warehouse, shouldForceDefault, useStrictSchema, }: WarehouseFormProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
20
+ export declare const WarehouseForm: <T extends Element>({ onCancel, formId, onDelete, onSubmit, portalRef, requireEmail, submitButtonTitle, warehouse, shouldForceDefault, useStrictSchema, }: WarehouseFormProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -117,7 +117,6 @@ export declare const Element: ({ resources, ...props }: object & {
117
117
  setup: {
118
118
  title: string;
119
119
  subtitle: string;
120
- hiddenTermsSubtitle: string;
121
120
  descriptionTitle: string;
122
121
  description: string;
123
122
  };
@@ -125,7 +124,6 @@ export declare const Element: ({ resources, ...props }: object & {
125
124
  title: string;
126
125
  cardSubTitle: string;
127
126
  addressSubTitle: string;
128
- info: string;
129
127
  };
130
128
  vatSettings: {
131
129
  title: string;
@@ -139,7 +137,6 @@ export declare const Element: ({ resources, ...props }: object & {
139
137
  title: string;
140
138
  };
141
139
  info: {
142
- title: string;
143
140
  description: string;
144
141
  };
145
142
  poBox: {
@@ -340,18 +337,15 @@ export declare const Element: ({ resources, ...props }: object & {
340
337
  };
341
338
  onboarding: {
342
339
  title: string;
343
- inlineTitle: string;
344
- accountRegistration: {
345
- action: string;
340
+ confirmation: {
346
341
  title: string;
347
- subtitle: string;
348
- welcome: string;
349
- messageLine1: string;
350
- partnerMessageLine1: string;
351
- messageLine2: string;
342
+ warehouse: string;
343
+ billingAddress: string;
344
+ paymentMethod: string;
345
+ action: string;
352
346
  };
353
347
  stepLabel: {
354
- accountRegistration: string;
348
+ confirmation: string;
355
349
  termsAgreement: string;
356
350
  shipFromAddress: string;
357
351
  fundingAndCarrierConnection: string;
@@ -398,6 +392,14 @@ export declare const Element: ({ resources, ...props }: object & {
398
392
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
399
393
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
400
394
  };
395
+ tooltip: {
396
+ warehouse: string;
397
+ };
398
+ welcomePage: {
399
+ title: string;
400
+ message: string;
401
+ action: string;
402
+ };
401
403
  };
402
404
  "manage-warehouses": {
403
405
  title: string;
@@ -506,18 +508,38 @@ export declare const Element: ({ resources, ...props }: object & {
506
508
  };
507
509
  "list-shipments": {
508
510
  title: string;
511
+ none: string;
509
512
  headers: {
510
513
  created: string;
511
- download: string;
514
+ modified: string;
515
+ shipping: string;
512
516
  shipmentId: string;
513
- shipDate: string;
514
- shipTo: string;
517
+ parcels: string;
518
+ recipient: string;
519
+ status: string;
520
+ };
521
+ status: {
522
+ cancelled: string;
523
+ purchased: string;
524
+ readyToBuy: string;
525
+ processing: string;
515
526
  };
516
527
  actions: {
517
528
  download: {
518
529
  pdf: string;
519
530
  };
520
531
  };
532
+ emptyState: {
533
+ title: string;
534
+ subtitle: string;
535
+ filtersTitle: string;
536
+ filtersSubtitle: string;
537
+ viewAll: string;
538
+ };
539
+ errorMessages: {
540
+ title: string;
541
+ subtitle: string;
542
+ };
521
543
  };
522
544
  "list-labels": {
523
545
  title: string;
@@ -551,6 +573,10 @@ export declare const Element: ({ resources, ...props }: object & {
551
573
  void: string;
552
574
  printForms: string;
553
575
  };
576
+ errorMessages: {
577
+ title: string;
578
+ subtitle: string;
579
+ };
554
580
  };
555
581
  "connect-carrier": {
556
582
  actions: {
@@ -751,6 +777,7 @@ export declare const Element: ({ resources, ...props }: object & {
751
777
  emailIsRequired: string;
752
778
  unknown: string;
753
779
  noRatesAvailable: string;
780
+ refreshAndTryAgain: string;
754
781
  };
755
782
  errorTypes: {
756
783
  accountStatus: string;
@@ -865,6 +892,7 @@ export declare const Element: ({ resources, ...props }: object & {
865
892
  agreeToTerms: string;
866
893
  carriersTitle: string;
867
894
  fundingSourceTitle: string;
895
+ shipEngineTitle: string;
868
896
  };
869
897
  weight: {
870
898
  ounces: string;
@@ -889,6 +917,7 @@ export declare const Element: ({ resources, ...props }: object & {
889
917
  printForms: string;
890
918
  edit: string;
891
919
  remove: string;
920
+ viewDetails: string;
892
921
  };
893
922
  };
894
923
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
@@ -5,6 +5,7 @@ export declare const useLabelsGrid: ({ labelStatus, showShipmentIdFilter }: Labe
5
5
  clearAllFilters: () => void;
6
6
  filters: IGridFilters;
7
7
  isAnyFilterActive: boolean;
8
+ isError: boolean;
8
9
  isLoading: boolean;
9
10
  labels: {
10
11
  serviceName: string | null | undefined;
@@ -60,6 +61,7 @@ export declare const useLabelsGrid: ({ labelStatus, showShipmentIdFilter }: Labe
60
61
  };
61
62
  pagesAmount: number;
62
63
  pageSize: number;
64
+ showPagination: boolean;
63
65
  totalElements: number;
64
66
  };
65
67
  setFilters: import("react").Dispatch<import("react").SetStateAction<IGridFilters>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SE } from "@shipengine/js-api";
2
3
  export type LabelsGridProps = {
3
4
  /**
@@ -15,16 +16,26 @@ export type LabelsGridProps = {
15
16
  * `Print Label` button.
16
17
  */
17
18
  onClickPrintLabel?: () => void;
19
+ /**
20
+ * `onViewDetails` is a callback function that controls the "View Details" action button and
21
+ * will be invoked when the user clicks on it.
22
+ */
23
+ onClickViewDetails?: (label: SE.Label) => void;
18
24
  /**
19
25
  * `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
20
26
  * will be invoked when the user clicks on it.
21
27
  */
22
28
  onClickVoidLabel?: (label: SE.Label) => void;
29
+ /**
30
+ * `onRowClick` callback invoked when a row is clicked.
31
+ */
32
+ onRowClick?: (label: SE.Label) => void;
23
33
  /**
24
34
  * `showShipmentIdFilter` controls the display of the shipmentId search filter
25
35
  */
26
36
  showShipmentIdFilter?: boolean;
27
37
  };
38
+ export declare const Component: ({ labelStatus, showShipmentIdFilter, onClickPrintLabel, onClickVoidLabel, onClickPrintForms, onClickViewDetails, onRowClick, }: LabelsGridProps) => import("@emotion/react/jsx-runtime").JSX.Element;
28
39
  export declare const Element: ({ resources, ...props }: LabelsGridProps & {
29
40
  resources?: {
30
41
  en: {
@@ -69,10 +80,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
69
80
  approved: string;
70
81
  rejected: string;
71
82
  };
72
- voidedOn: string; /**
73
- * `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
74
- * will be invoked when the user clicks on it.
75
- */
83
+ voidedOn: string;
76
84
  };
77
85
  "view-shipment": {
78
86
  title: string;
@@ -92,10 +100,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
92
100
  items: string;
93
101
  orderDate: string;
94
102
  orderValue: string;
95
- requestedShipping: string; /**
96
- * `labelStatus` is the status of the labels you wish to view.
97
- * If no value is defined, all labels will be rendered.
98
- */
103
+ requestedShipping: string;
99
104
  shipDate: string;
100
105
  shipTo: string;
101
106
  warehouse: string;
@@ -148,7 +153,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
148
153
  setup: {
149
154
  title: string;
150
155
  subtitle: string;
151
- hiddenTermsSubtitle: string;
152
156
  descriptionTitle: string;
153
157
  description: string;
154
158
  };
@@ -156,7 +160,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
156
160
  title: string;
157
161
  cardSubTitle: string;
158
162
  addressSubTitle: string;
159
- info: string;
160
163
  };
161
164
  vatSettings: {
162
165
  title: string;
@@ -170,7 +173,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
170
173
  title: string;
171
174
  };
172
175
  info: {
173
- title: string;
176
+ /**
177
+ * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
178
+ * `Print Forms` button.
179
+ */
174
180
  description: string;
175
181
  };
176
182
  poBox: {
@@ -371,33 +377,31 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
371
377
  };
372
378
  onboarding: {
373
379
  title: string;
374
- inlineTitle: string;
375
- accountRegistration: {
376
- action: string;
380
+ confirmation: {
377
381
  title: string;
378
- subtitle: string;
379
- welcome: string;
380
- messageLine1: string;
381
- partnerMessageLine1: string;
382
- messageLine2: string;
382
+ warehouse: string;
383
+ billingAddress: string;
384
+ paymentMethod: string;
385
+ action: string;
383
386
  };
384
387
  stepLabel: {
385
- accountRegistration: string;
388
+ confirmation: string;
386
389
  termsAgreement: string;
387
390
  shipFromAddress: string;
388
391
  fundingAndCarrierConnection: string;
389
392
  };
390
393
  warehouse: {
391
394
  title: string;
392
- subtitle: string; /**
393
- * `onClickPrintLabel` is an optional callback function that will be invoked when the user clicks the
394
- * `Print Label` button.
395
- */
395
+ subtitle: string;
396
396
  inlineMessage: string;
397
397
  };
398
398
  errors: {
399
399
  noCarriers: {
400
400
  title: string;
401
+ /**
402
+ * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
403
+ * `Print Forms` button.
404
+ */
401
405
  subtitle: string;
402
406
  };
403
407
  };
@@ -407,7 +411,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
407
411
  action: string;
408
412
  };
409
413
  termsAndAgreementLinkText: {
410
- shipEngineToS: string;
414
+ shipEngineToS: string; /**
415
+ * `onViewDetails` is a callback function that controls the "View Details" action button and
416
+ * will be invoked when the user clicks on it.
417
+ */
411
418
  auctanePrivacyPolicy: string;
412
419
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
413
420
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
@@ -432,6 +439,14 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
432
439
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
433
440
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
434
441
  };
442
+ tooltip: {
443
+ warehouse: string;
444
+ };
445
+ welcomePage: {
446
+ title: string;
447
+ message: string;
448
+ action: string;
449
+ };
435
450
  };
436
451
  "manage-warehouses": {
437
452
  title: string;
@@ -447,10 +462,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
447
462
  setDefault: string;
448
463
  shipFrom: string;
449
464
  noWarehouses: string;
450
- }; /**
451
- * `labelStatus` is the status of the labels you wish to view.
452
- * If no value is defined, all labels will be rendered.
453
- */
465
+ };
454
466
  "manage-funding": {
455
467
  actions: {
456
468
  addFunds: string;
@@ -470,15 +482,9 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
470
482
  isLoading: string;
471
483
  lowBalancePurchaseThreshold: string;
472
484
  maximumPurchasesPerDay: string;
473
- purchaseAmount: string; /**
474
- * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
475
- * `Print Forms` button.
476
- */
485
+ purchaseAmount: string;
477
486
  readSettings: string;
478
- }; /**
479
- * `onClickPrintLabel` is an optional callback function that will be invoked when the user clicks the
480
- * `Print Label` button.
481
- */
487
+ };
482
488
  addFunds: {
483
489
  custom: string;
484
490
  error: {
@@ -490,6 +496,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
490
496
  amount: string;
491
497
  };
492
498
  minimumPurchaseAmount: string;
499
+ /**
500
+ * `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
501
+ * will be invoked when the user clicks on it.
502
+ */
493
503
  other: string;
494
504
  };
495
505
  fundAndPurchase: {
@@ -549,18 +559,38 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
549
559
  };
550
560
  "list-shipments": {
551
561
  title: string;
562
+ none: string;
552
563
  headers: {
553
564
  created: string;
554
- download: string;
565
+ modified: string;
566
+ shipping: string;
555
567
  shipmentId: string;
556
- shipDate: string;
557
- shipTo: string;
568
+ parcels: string;
569
+ recipient: string;
570
+ status: string;
571
+ };
572
+ status: {
573
+ cancelled: string;
574
+ purchased: string;
575
+ readyToBuy: string;
576
+ processing: string;
558
577
  };
559
578
  actions: {
560
579
  download: {
561
580
  pdf: string;
562
581
  };
563
582
  };
583
+ emptyState: {
584
+ title: string;
585
+ subtitle: string;
586
+ filtersTitle: string;
587
+ filtersSubtitle: string;
588
+ viewAll: string;
589
+ };
590
+ errorMessages: {
591
+ title: string;
592
+ subtitle: string;
593
+ };
564
594
  };
565
595
  "list-labels": {
566
596
  title: string;
@@ -594,6 +624,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
594
624
  void: string;
595
625
  printForms: string;
596
626
  };
627
+ errorMessages: {
628
+ title: string;
629
+ subtitle: string;
630
+ };
597
631
  };
598
632
  "connect-carrier": {
599
633
  actions: {
@@ -653,10 +687,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
653
687
  addressLine1: string;
654
688
  addressLine2: string;
655
689
  cityLocality: string;
656
- stateProvince: string; /**
657
- * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
658
- * `Print Forms` button.
659
- */
690
+ stateProvince: string;
660
691
  postalCode: string;
661
692
  phone: string;
662
693
  email: string;
@@ -797,6 +828,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
797
828
  emailIsRequired: string;
798
829
  unknown: string;
799
830
  noRatesAvailable: string;
831
+ refreshAndTryAgain: string;
800
832
  };
801
833
  errorTypes: {
802
834
  accountStatus: string;
@@ -911,6 +943,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
911
943
  agreeToTerms: string;
912
944
  carriersTitle: string;
913
945
  fundingSourceTitle: string;
946
+ shipEngineTitle: string;
914
947
  };
915
948
  weight: {
916
949
  ounces: string;
@@ -935,6 +968,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
935
968
  printForms: string;
936
969
  edit: string;
937
970
  remove: string;
971
+ viewDetails: string;
938
972
  };
939
973
  };
940
974
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
@@ -975,3 +1009,4 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
975
1009
  };
976
1010
  } | undefined;
977
1011
  }) => import("@emotion/react/jsx-runtime").JSX.Element;
1012
+ export type ElementProps = React.ComponentProps<typeof Element>;
@@ -1,5 +1,11 @@
1
1
  export declare const styles: {
2
- tableParagraph: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
2
+ errorState: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
3
+ border?: string | undefined;
4
+ borderRadius?: string | undefined;
5
+ boxShadow?: string | undefined;
6
+ backgroundColor: string;
7
+ };
8
+ tableParagraph: {
3
9
  margin: number;
4
10
  };
5
11
  };
@@ -141,7 +141,6 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
141
141
  setup: {
142
142
  title: string;
143
143
  subtitle: string;
144
- hiddenTermsSubtitle: string;
145
144
  descriptionTitle: string;
146
145
  description: string;
147
146
  };
@@ -149,7 +148,6 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
149
148
  title: string;
150
149
  cardSubTitle: string;
151
150
  addressSubTitle: string;
152
- info: string;
153
151
  };
154
152
  vatSettings: {
155
153
  title: string;
@@ -163,7 +161,6 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
163
161
  title: string;
164
162
  };
165
163
  info: {
166
- title: string;
167
164
  description: string;
168
165
  };
169
166
  poBox: {
@@ -386,18 +383,15 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
386
383
  };
387
384
  onboarding: {
388
385
  title: string;
389
- inlineTitle: string;
390
- accountRegistration: {
391
- action: string;
386
+ confirmation: {
392
387
  title: string;
393
- subtitle: string;
394
- welcome: string;
395
- messageLine1: string;
396
- partnerMessageLine1: string;
397
- messageLine2: string;
388
+ warehouse: string;
389
+ billingAddress: string;
390
+ paymentMethod: string;
391
+ action: string;
398
392
  };
399
393
  stepLabel: {
400
- accountRegistration: string;
394
+ confirmation: string;
401
395
  termsAgreement: string;
402
396
  shipFromAddress: string;
403
397
  fundingAndCarrierConnection: string;
@@ -444,6 +438,14 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
444
438
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
445
439
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
446
440
  };
441
+ tooltip: {
442
+ warehouse: string;
443
+ };
444
+ welcomePage: {
445
+ title: string;
446
+ message: string;
447
+ action: string;
448
+ };
447
449
  };
448
450
  "manage-warehouses": {
449
451
  title: string;
@@ -552,18 +554,38 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
552
554
  };
553
555
  "list-shipments": {
554
556
  title: string;
557
+ none: string;
555
558
  headers: {
556
559
  created: string;
557
- download: string;
560
+ modified: string;
561
+ shipping: string;
558
562
  shipmentId: string;
559
- shipDate: string;
560
- shipTo: string;
563
+ parcels: string;
564
+ recipient: string;
565
+ status: string;
566
+ };
567
+ status: {
568
+ cancelled: string;
569
+ purchased: string;
570
+ readyToBuy: string;
571
+ processing: string;
561
572
  };
562
573
  actions: {
563
574
  download: {
564
575
  pdf: string;
565
576
  };
566
577
  };
578
+ emptyState: {
579
+ title: string;
580
+ subtitle: string;
581
+ filtersTitle: string;
582
+ filtersSubtitle: string;
583
+ viewAll: string;
584
+ };
585
+ errorMessages: {
586
+ title: string;
587
+ subtitle: string;
588
+ };
567
589
  };
568
590
  "list-labels": {
569
591
  title: string;
@@ -597,6 +619,10 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
597
619
  void: string;
598
620
  printForms: string;
599
621
  };
622
+ errorMessages: {
623
+ title: string;
624
+ subtitle: string;
625
+ };
600
626
  };
601
627
  "connect-carrier": {
602
628
  actions: {
@@ -819,6 +845,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
819
845
  emailIsRequired: string;
820
846
  unknown: string;
821
847
  noRatesAvailable: string;
848
+ refreshAndTryAgain: string;
822
849
  };
823
850
  errorTypes: {
824
851
  accountStatus: string;
@@ -933,6 +960,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
933
960
  agreeToTerms: string;
934
961
  carriersTitle: string;
935
962
  fundingSourceTitle: string;
963
+ shipEngineTitle: string;
936
964
  };
937
965
  weight: {
938
966
  ounces: string;
@@ -957,6 +985,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
957
985
  printForms: string;
958
986
  edit: string;
959
987
  remove: string;
988
+ viewDetails: string;
960
989
  };
961
990
  };
962
991
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;