@shipengine/elements 2.6.0 → 2.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 (32) hide show
  1. package/actions-menu.js +2 -2
  2. package/package.json +5 -5
  3. package/src/components/history/history-card/history-card.styles.d.ts +0 -3
  4. package/src/components/service-point-display/operating-hours.styles.d.ts +0 -1
  5. package/src/components/tabs/tabs.styles.d.ts +0 -1
  6. package/src/components/templates/shipment-form/shipment-schema.d.ts +67 -49
  7. package/src/elements/label-layout/label-layout-element.d.ts +7 -0
  8. package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +1 -1
  9. package/src/elements/labels-grid/labels-grid.d.ts +28 -18
  10. package/src/elements/manage-carriers/manage-carriers.d.ts +7 -0
  11. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +7 -0
  12. package/src/elements/manage-funding/manage-funding-element.d.ts +7 -0
  13. package/src/elements/manage-warehouses/manage-warehouses.d.ts +7 -0
  14. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +7 -0
  15. package/src/elements/purchase-label/purchase-label.d.ts +7 -0
  16. package/src/elements/shipment-summary/shipment-summary.d.ts +7 -0
  17. package/src/elements/shipments-grid/shipments-grid.d.ts +20 -17
  18. package/src/elements/theme-creator/theme-creator.d.ts +7 -0
  19. package/src/elements/theme-creator/themeData/themeData.d.ts +1 -1
  20. package/src/elements/transaction-history/transaction-history-element.d.ts +7 -0
  21. package/src/elements/unit-settings/unit-settings-element.d.ts +7 -0
  22. package/src/elements/vat-settings/vat-settings-element.d.ts +7 -0
  23. package/src/elements/void-label/void-label.d.ts +7 -0
  24. package/src/locales/en/index.d.ts +7 -0
  25. package/src/workflows/account-settings/account-settings.d.ts +7 -0
  26. package/src/workflows/carrier-services/carrier-services.d.ts +7 -0
  27. package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +7 -0
  28. package/src/workflows/onboarding/onboarding.d.ts +7 -0
  29. package/transaction-history-element.js +1 -1
  30. package/use-unit-settings.js +1 -1
  31. package/vat.js +1 -1
  32. package/wallet-form.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/elements",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "peerDependencies": {
5
5
  "@emotion/react": "11.x",
6
6
  "react-i18next": "11.x",
@@ -35,10 +35,10 @@
35
35
  "@rjsf/core": "5.16.1",
36
36
  "@rjsf/utils": "5.16.1",
37
37
  "@rjsf/validator-ajv8": "5.16.1",
38
- "@shipengine/giger": "1.15.0",
39
- "@shipengine/giger-theme": "1.6.0",
40
- "@shipengine/js-api": "2.0.1",
41
- "@shipengine/react-api": "3.1.2",
38
+ "@shipengine/giger": "1.17.0",
39
+ "@shipengine/giger-theme": "1.7.0",
40
+ "@shipengine/js-api": "2.1.1",
41
+ "@shipengine/react-api": "3.2.1",
42
42
  "@storybook/addons": "6.5.16",
43
43
  "@storybook/api": "6.5.16",
44
44
  "@storybook/components": "7.0.0-rc.1",
@@ -19,15 +19,12 @@ export declare const styles: {
19
19
  };
20
20
  carrierTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
21
21
  color: string;
22
- fontSize: string;
23
- fontWeight: number;
24
22
  };
25
23
  dateTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
26
24
  color: string;
27
25
  };
28
26
  getAmountTypography: (isReload?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
29
27
  color: string;
30
- fontSize: string;
31
28
  marginLeft: string;
32
29
  };
33
30
  getTransactionTypeTypography: (transactionType?: string) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
@@ -9,7 +9,6 @@ export declare const styles: {
9
9
  };
10
10
  getTextStyles: (isToday?: boolean, expanded?: boolean, isClosed?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
11
11
  color: string;
12
- fontSize: string;
13
12
  fontStyle: "normal" | "italic";
14
13
  fontWeight: "normal" | "bold";
15
14
  };
@@ -13,7 +13,6 @@ export declare const styles: {
13
13
  borderRadius: string;
14
14
  color: string;
15
15
  cursor: "pointer";
16
- fontSize: string;
17
16
  fontWeight: "normal" | "bold";
18
17
  padding: string;
19
18
  width: string;
@@ -84,7 +84,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
84
84
  height: number;
85
85
  width: number;
86
86
  }>;
87
- insuredValue: z.ZodOptional<z.ZodObject<z.extendShape<{
87
+ insuredValue: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
88
88
  amount: z.ZodNumber;
89
89
  currency: z.ZodNativeEnum<typeof SE.Currency>;
90
90
  }, {
@@ -95,7 +95,13 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
95
95
  }, {
96
96
  amount: number;
97
97
  currency: SE.Currency;
98
- }>>;
98
+ }>>>, {
99
+ amount: number;
100
+ currency: SE.Currency;
101
+ } | null, {
102
+ amount: number;
103
+ currency: SE.Currency;
104
+ } | null | undefined>;
99
105
  products: z.ZodArray<z.ZodObject<{
100
106
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
101
107
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
@@ -217,10 +223,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
217
223
  volume?: number | undefined;
218
224
  width: number;
219
225
  } | undefined;
220
- insuredValue?: {
221
- amount: number;
222
- currency: SE.Currency;
223
- } | undefined;
224
226
  products?: {
225
227
  countryOfOrigin?: string | undefined;
226
228
  description?: string | undefined;
@@ -245,6 +247,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
245
247
  code?: string | null | undefined;
246
248
  carrierId?: string | null | undefined;
247
249
  };
250
+ insuredValue: {
251
+ amount: number;
252
+ currency: SE.Currency;
253
+ } | null;
248
254
  }, {
249
255
  contentDescription?: string | null | undefined;
250
256
  dimensions?: {
@@ -259,7 +265,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
259
265
  insuredValue?: {
260
266
  amount: number;
261
267
  currency: SE.Currency;
262
- } | undefined;
268
+ } | null | undefined;
263
269
  products?: {
264
270
  countryOfOrigin?: string | null | undefined;
265
271
  description?: string | null | undefined;
@@ -336,10 +342,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
336
342
  volume?: number | undefined;
337
343
  width: number;
338
344
  } | undefined;
339
- insuredValue?: {
340
- amount: number;
341
- currency: SE.Currency;
342
- } | undefined;
343
345
  products?: {
344
346
  countryOfOrigin?: string | undefined;
345
347
  description?: string | undefined;
@@ -364,6 +366,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
364
366
  code?: string | null | undefined;
365
367
  carrierId?: string | null | undefined;
366
368
  };
369
+ insuredValue: {
370
+ amount: number;
371
+ currency: SE.Currency;
372
+ } | null;
367
373
  }[];
368
374
  shipDate: string;
369
375
  warehouseId: string;
@@ -398,7 +404,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
398
404
  insuredValue?: {
399
405
  amount: number;
400
406
  currency: SE.Currency;
401
- } | undefined;
407
+ } | null | undefined;
402
408
  products?: {
403
409
  countryOfOrigin?: string | null | undefined;
404
410
  description?: string | null | undefined;
@@ -508,7 +514,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
508
514
  height: number;
509
515
  width: number;
510
516
  }>;
511
- insuredValue: z.ZodOptional<z.ZodObject<z.extendShape<{
517
+ insuredValue: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
512
518
  amount: z.ZodNumber;
513
519
  currency: z.ZodNativeEnum<typeof SE.Currency>;
514
520
  }, {
@@ -519,7 +525,13 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
519
525
  }, {
520
526
  amount: number;
521
527
  currency: SE.Currency;
522
- }>>;
528
+ }>>>, {
529
+ amount: number;
530
+ currency: SE.Currency;
531
+ } | null, {
532
+ amount: number;
533
+ currency: SE.Currency;
534
+ } | null | undefined>;
523
535
  products: z.ZodArray<z.ZodObject<{
524
536
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
525
537
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
@@ -641,10 +653,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
641
653
  volume?: number | undefined;
642
654
  width: number;
643
655
  } | undefined;
644
- insuredValue?: {
645
- amount: number;
646
- currency: SE.Currency;
647
- } | undefined;
648
656
  products?: {
649
657
  countryOfOrigin?: string | undefined;
650
658
  description?: string | undefined;
@@ -669,6 +677,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
669
677
  code?: string | null | undefined;
670
678
  carrierId?: string | null | undefined;
671
679
  };
680
+ insuredValue: {
681
+ amount: number;
682
+ currency: SE.Currency;
683
+ } | null;
672
684
  }, {
673
685
  contentDescription?: string | null | undefined;
674
686
  dimensions?: {
@@ -683,7 +695,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
683
695
  insuredValue?: {
684
696
  amount: number;
685
697
  currency: SE.Currency;
686
- } | undefined;
698
+ } | null | undefined;
687
699
  products?: {
688
700
  countryOfOrigin?: string | null | undefined;
689
701
  description?: string | null | undefined;
@@ -785,7 +797,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
785
797
  height: number;
786
798
  width: number;
787
799
  }>;
788
- insuredValue: z.ZodOptional<z.ZodObject<z.extendShape<{
800
+ insuredValue: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
789
801
  amount: z.ZodNumber;
790
802
  currency: z.ZodNativeEnum<typeof SE.Currency>;
791
803
  }, {
@@ -796,7 +808,13 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
796
808
  }, {
797
809
  amount: number;
798
810
  currency: SE.Currency;
799
- }>>;
811
+ }>>>, {
812
+ amount: number;
813
+ currency: SE.Currency;
814
+ } | null, {
815
+ amount: number;
816
+ currency: SE.Currency;
817
+ } | null | undefined>;
800
818
  products: z.ZodArray<z.ZodObject<{
801
819
  countryOfOrigin: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
802
820
  description: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>;
@@ -954,10 +972,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
954
972
  volume?: number | undefined;
955
973
  width: number;
956
974
  } | undefined;
957
- insuredValue?: {
958
- amount: number;
959
- currency: SE.Currency;
960
- } | undefined;
961
975
  products?: {
962
976
  countryOfOrigin?: string | undefined;
963
977
  description?: string | undefined;
@@ -982,6 +996,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
982
996
  code?: string | null | undefined;
983
997
  carrierId?: string | null | undefined;
984
998
  };
999
+ insuredValue: {
1000
+ amount: number;
1001
+ currency: SE.Currency;
1002
+ } | null;
985
1003
  }, {
986
1004
  contentDescription?: string | null | undefined;
987
1005
  dimensions?: {
@@ -992,7 +1010,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
992
1010
  insuredValue?: {
993
1011
  amount: number;
994
1012
  currency: SE.Currency;
995
- } | undefined;
1013
+ } | null | undefined;
996
1014
  products?: {
997
1015
  countryOfOrigin?: string | null | undefined;
998
1016
  description?: string | null | undefined;
@@ -1060,10 +1078,6 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1060
1078
  volume?: number | undefined;
1061
1079
  width: number;
1062
1080
  } | undefined;
1063
- insuredValue?: {
1064
- amount: number;
1065
- currency: SE.Currency;
1066
- } | undefined;
1067
1081
  products?: {
1068
1082
  countryOfOrigin?: string | undefined;
1069
1083
  description?: string | undefined;
@@ -1088,6 +1102,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1088
1102
  code?: string | null | undefined;
1089
1103
  carrierId?: string | null | undefined;
1090
1104
  };
1105
+ insuredValue: {
1106
+ amount: number;
1107
+ currency: SE.Currency;
1108
+ } | null;
1091
1109
  }[];
1092
1110
  service: {
1093
1111
  carrierId: string;
@@ -1118,7 +1136,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1118
1136
  insuredValue?: {
1119
1137
  amount: number;
1120
1138
  currency: SE.Currency;
1121
- } | undefined;
1139
+ } | null | undefined;
1122
1140
  products?: {
1123
1141
  countryOfOrigin?: string | null | undefined;
1124
1142
  description?: string | null | undefined;
@@ -1190,10 +1208,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1190
1208
  value: number;
1191
1209
  } | undefined;
1192
1210
  contentDescription?: string | null | undefined;
1193
- insuredValue?: {
1211
+ insuredValue: {
1194
1212
  amount: number;
1195
1213
  currency: SE.Currency;
1196
- } | undefined;
1214
+ } | null;
1197
1215
  } | {
1198
1216
  products: {
1199
1217
  countryOfOrigin?: string | undefined;
@@ -1211,10 +1229,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1211
1229
  value: number;
1212
1230
  } | undefined;
1213
1231
  contentDescription?: string | null | undefined;
1214
- insuredValue?: {
1232
+ insuredValue: {
1215
1233
  amount: number;
1216
1234
  currency: SE.Currency;
1217
- } | undefined;
1235
+ } | null;
1218
1236
  } | {
1219
1237
  products: {
1220
1238
  countryOfOrigin?: string | undefined;
@@ -1243,10 +1261,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1243
1261
  value: number;
1244
1262
  } | undefined;
1245
1263
  contentDescription?: string | null | undefined;
1246
- insuredValue?: {
1264
+ insuredValue: {
1247
1265
  amount: number;
1248
1266
  currency: SE.Currency;
1249
- } | undefined;
1267
+ } | null;
1250
1268
  } | {
1251
1269
  products: {
1252
1270
  countryOfOrigin?: string | undefined;
@@ -1264,10 +1282,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1264
1282
  value: number;
1265
1283
  } | undefined;
1266
1284
  contentDescription?: string | null | undefined;
1267
- insuredValue?: {
1285
+ insuredValue: {
1268
1286
  amount: number;
1269
1287
  currency: SE.Currency;
1270
- } | undefined;
1288
+ } | null;
1271
1289
  })[];
1272
1290
  serviceCode: string | undefined;
1273
1291
  advancedOptions?: {
@@ -1313,10 +1331,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1313
1331
  value: number;
1314
1332
  } | undefined;
1315
1333
  contentDescription?: string | null | undefined;
1316
- insuredValue?: {
1334
+ insuredValue: {
1317
1335
  amount: number;
1318
1336
  currency: SE.Currency;
1319
- } | undefined;
1337
+ } | null;
1320
1338
  } | {
1321
1339
  products: {
1322
1340
  countryOfOrigin?: string | undefined;
@@ -1334,10 +1352,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1334
1352
  value: number;
1335
1353
  } | undefined;
1336
1354
  contentDescription?: string | null | undefined;
1337
- insuredValue?: {
1355
+ insuredValue: {
1338
1356
  amount: number;
1339
1357
  currency: SE.Currency;
1340
- } | undefined;
1358
+ } | null;
1341
1359
  } | {
1342
1360
  products: {
1343
1361
  countryOfOrigin?: string | undefined;
@@ -1366,10 +1384,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1366
1384
  value: number;
1367
1385
  } | undefined;
1368
1386
  contentDescription?: string | null | undefined;
1369
- insuredValue?: {
1387
+ insuredValue: {
1370
1388
  amount: number;
1371
1389
  currency: SE.Currency;
1372
- } | undefined;
1390
+ } | null;
1373
1391
  } | {
1374
1392
  products: {
1375
1393
  countryOfOrigin?: string | undefined;
@@ -1387,10 +1405,10 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1387
1405
  value: number;
1388
1406
  } | undefined;
1389
1407
  contentDescription?: string | null | undefined;
1390
- insuredValue?: {
1408
+ insuredValue: {
1391
1409
  amount: number;
1392
1410
  currency: SE.Currency;
1393
- } | undefined;
1411
+ } | null;
1394
1412
  })[];
1395
1413
  serviceCode: string | undefined;
1396
1414
  advancedOptions?: {
@@ -1433,7 +1451,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1433
1451
  insuredValue?: {
1434
1452
  amount: number;
1435
1453
  currency: SE.Currency;
1436
- } | undefined;
1454
+ } | null | undefined;
1437
1455
  products?: {
1438
1456
  countryOfOrigin?: string | null | undefined;
1439
1457
  description?: string | null | undefined;
@@ -1490,7 +1508,7 @@ export declare const getShipmentSchema: ({ dimensionsUnit, isContentDescriptionR
1490
1508
  insuredValue?: {
1491
1509
  amount: number;
1492
1510
  currency: SE.Currency;
1493
- } | undefined;
1511
+ } | null | undefined;
1494
1512
  products?: {
1495
1513
  countryOfOrigin?: string | null | undefined;
1496
1514
  description?: string | null | undefined;
@@ -551,6 +551,7 @@ export declare const Element: ({ resources, ...props }: object & {
551
551
  shipping: string;
552
552
  shipDate: string;
553
553
  status: string;
554
+ trackingStatus: string;
554
555
  };
555
556
  empty: {
556
557
  title: string;
@@ -567,6 +568,12 @@ export declare const Element: ({ resources, ...props }: object & {
567
568
  completed: string;
568
569
  processing: string;
569
570
  };
571
+ trackingStatus: {
572
+ unknown: string;
573
+ inTransit: string;
574
+ delivered: string;
575
+ error: string;
576
+ };
570
577
  actions: {
571
578
  title: string;
572
579
  print: string;
@@ -46,7 +46,7 @@ export declare const useLabelsGrid: ({ labelStatus, showShipmentIdFilter }: Labe
46
46
  status: import("@shipengine/react-api").LabelStatus;
47
47
  trackable: boolean;
48
48
  trackingNumber: string;
49
- trackingStatus: string;
49
+ trackingStatus: import("@shipengine/react-api").LabelTrackingStatus;
50
50
  trackingUrl: string;
51
51
  voided: boolean;
52
52
  voidedAt: string | null;
@@ -173,10 +173,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
173
173
  title: string;
174
174
  };
175
175
  info: {
176
- /**
177
- * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
178
- * `Print Forms` button.
179
- */
180
176
  description: string;
181
177
  };
182
178
  poBox: {
@@ -236,7 +232,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
236
232
  pickup: string;
237
233
  location_fee: string;
238
234
  oversize: string;
239
- returns: string;
235
+ returns: string; /**
236
+ * `labelStatus` is the status of the labels you wish to view.
237
+ * If no value is defined, all labels will be rendered.
238
+ */
240
239
  notifications: string;
241
240
  tip: string;
242
241
  duties_and_taxes: string;
@@ -398,11 +397,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
398
397
  errors: {
399
398
  noCarriers: {
400
399
  title: string;
401
- /**
400
+ subtitle: string; /**
402
401
  * `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
403
402
  * `Print Forms` button.
404
403
  */
405
- subtitle: string;
406
404
  };
407
405
  };
408
406
  success: {
@@ -411,10 +409,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
411
409
  action: string;
412
410
  };
413
411
  termsAndAgreementLinkText: {
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
- */
412
+ shipEngineToS: string;
418
413
  auctanePrivacyPolicy: string;
419
414
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
420
415
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
@@ -496,10 +491,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
496
491
  amount: string;
497
492
  };
498
493
  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
- */
503
494
  other: string;
504
495
  };
505
496
  fundAndPurchase: {
@@ -602,6 +593,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
602
593
  shipping: string;
603
594
  shipDate: string;
604
595
  status: string;
596
+ trackingStatus: string;
605
597
  };
606
598
  empty: {
607
599
  title: string;
@@ -613,15 +605,27 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
613
605
  button: string;
614
606
  };
615
607
  status: {
616
- voided: string;
608
+ voided: string; /**
609
+ * `labelStatus` is the status of the labels you wish to view.
610
+ * If no value is defined, all labels will be rendered.
611
+ */
617
612
  error: string;
618
613
  completed: string;
619
614
  processing: string;
620
615
  };
616
+ trackingStatus: {
617
+ unknown: string;
618
+ inTransit: string;
619
+ delivered: string;
620
+ error: string;
621
+ };
621
622
  actions: {
622
623
  title: string;
623
624
  print: string;
624
- void: string;
625
+ void: string; /**
626
+ * `onClickPrintLabel` is an optional callback function that will be invoked when the user clicks the
627
+ * `Print Label` button.
628
+ */
625
629
  printForms: string;
626
630
  };
627
631
  errorMessages: {
@@ -711,6 +715,9 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
711
715
  unableToValidate: string;
712
716
  use: {
713
717
  originalAddress: string;
718
+ /**
719
+ * `onRowClick` callback invoked when a row is clicked.
720
+ */
714
721
  matchedAddress: string;
715
722
  };
716
723
  };
@@ -999,7 +1006,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
999
1006
  transactionHistory: string;
1000
1007
  adjustmentHistory: string;
1001
1008
  warehouses: string;
1002
- carriers: string;
1009
+ carriers: string; /**
1010
+ * `labelStatus` is the status of the labels you wish to view.
1011
+ * If no value is defined, all labels will be rendered.
1012
+ */
1003
1013
  externalCarriers: string;
1004
1014
  labelLayout: string;
1005
1015
  unitSettings: string;
@@ -597,6 +597,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
597
597
  shipping: string;
598
598
  shipDate: string;
599
599
  status: string;
600
+ trackingStatus: string;
600
601
  };
601
602
  empty: {
602
603
  title: string;
@@ -613,6 +614,12 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
613
614
  completed: string;
614
615
  processing: string;
615
616
  };
617
+ trackingStatus: {
618
+ unknown: string;
619
+ inTransit: string;
620
+ delivered: string;
621
+ error: string;
622
+ };
616
623
  actions: {
617
624
  title: string;
618
625
  print: string;
@@ -618,6 +618,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
618
618
  shipping: string;
619
619
  shipDate: string;
620
620
  status: string;
621
+ trackingStatus: string;
621
622
  };
622
623
  empty: {
623
624
  title: string;
@@ -634,6 +635,12 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
634
635
  completed: string;
635
636
  processing: string;
636
637
  };
638
+ trackingStatus: {
639
+ unknown: string;
640
+ inTransit: string;
641
+ delivered: string;
642
+ error: string;
643
+ };
637
644
  actions: {
638
645
  title: string;
639
646
  print: string;
@@ -552,6 +552,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
552
552
  shipping: string;
553
553
  shipDate: string;
554
554
  status: string;
555
+ trackingStatus: string;
555
556
  };
556
557
  empty: {
557
558
  title: string;
@@ -568,6 +569,12 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
568
569
  completed: string;
569
570
  processing: string;
570
571
  };
572
+ trackingStatus: {
573
+ unknown: string;
574
+ inTransit: string;
575
+ delivered: string;
576
+ error: string;
577
+ };
571
578
  actions: {
572
579
  title: string;
573
580
  print: string;
@@ -569,6 +569,7 @@ export declare const Element: ({ resources, ...props }: object & {
569
569
  shipping: string;
570
570
  shipDate: string;
571
571
  status: string;
572
+ trackingStatus: string;
572
573
  };
573
574
  empty: {
574
575
  title: string;
@@ -585,6 +586,12 @@ export declare const Element: ({ resources, ...props }: object & {
585
586
  completed: string;
586
587
  processing: string;
587
588
  };
589
+ trackingStatus: {
590
+ unknown: string;
591
+ inTransit: string;
592
+ delivered: string;
593
+ error: string;
594
+ };
588
595
  actions: {
589
596
  title: string;
590
597
  print: string;
@@ -552,6 +552,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
552
552
  shipping: string;
553
553
  shipDate: string;
554
554
  status: string;
555
+ trackingStatus: string;
555
556
  };
556
557
  empty: {
557
558
  title: string;
@@ -568,6 +569,12 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
568
569
  completed: string;
569
570
  processing: string;
570
571
  };
572
+ trackingStatus: {
573
+ unknown: string;
574
+ inTransit: string;
575
+ delivered: string;
576
+ error: string;
577
+ };
571
578
  actions: {
572
579
  title: string;
573
580
  print: string;
@@ -748,6 +748,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
748
748
  shipping: string;
749
749
  shipDate: string;
750
750
  status: string;
751
+ trackingStatus: string;
751
752
  };
752
753
  empty: {
753
754
  title: string;
@@ -764,6 +765,12 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
764
765
  completed: string;
765
766
  processing: string;
766
767
  };
768
+ trackingStatus: {
769
+ unknown: string;
770
+ inTransit: string;
771
+ delivered: string;
772
+ error: string;
773
+ };
767
774
  actions: {
768
775
  title: string;
769
776
  print: string;