@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.
- package/index.cjs +14782 -14386
- package/index.js +14797 -14413
- package/package.json +5 -7
- package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
- package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
- package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
- package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
- package/src/components/date-range-select/date-range-select.d.ts +1 -2
- package/src/components/field/create-field-controller.d.ts +2 -1
- package/src/components/field/date-picker/date-picker.d.ts +2 -6
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.d.ts +3 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
- package/src/components/field-label/field-label.d.ts +2 -1
- package/src/components/history/history-card/history-card.d.ts +5 -2
- package/src/components/index.d.ts +5 -2
- package/src/components/service-point-display/service-point-display.d.ts +1 -1
- package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/address-form/address-schema.d.ts +2 -0
- package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
- package/src/components/templates/index.d.ts +1 -4
- package/src/components/templates/label/label.styles.d.ts +0 -6
- package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
- package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
- package/src/components/templates/rate-form/rate-form.d.ts +4 -2
- package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
- package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
- package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
- package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
- package/src/elements/external-carriers/external-carriers.d.ts +819 -9
- package/src/elements/index.d.ts +7 -3
- package/src/elements/label-layout/index.d.ts +1 -0
- package/src/elements/label-layout/label-layout-element.d.ts +791 -0
- package/src/elements/labels-grid/labels-grid.d.ts +16 -2
- package/src/elements/manage-funding/index.d.ts +1 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +791 -0
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +791 -21
- package/src/elements/payment-method-settings/index.d.ts +1 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +791 -0
- package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
- package/src/elements/purchase-label/hooks/index.d.ts +8 -0
- package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
- package/src/elements/purchase-label/purchase-label.d.ts +36 -50
- package/src/elements/shipengine-carriers/index.d.ts +1 -0
- package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +854 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +16 -2
- package/src/elements/theme-creator/theme-creator.d.ts +16 -2
- package/src/elements/unit-settings/index.d.ts +1 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +791 -0
- package/src/elements/view-shipment/view-shipment.d.ts +29 -15
- package/src/elements/void-label/void-label.d.ts +25 -12
- package/src/elements/wallet-history/index.d.ts +1 -0
- package/src/elements/wallet-history/wallet-history-element.d.ts +791 -0
- package/src/features/external-carriers/external-carriers.d.ts +10 -0
- package/src/features/external-carriers/index.d.ts +1 -0
- package/src/features/index.d.ts +7 -0
- package/src/features/label-layout/index.d.ts +2 -0
- package/src/features/label-layout/label-layout.d.ts +7 -0
- package/src/features/label-layout/use-label-layout.d.ts +7 -0
- package/src/features/manage-funding/manage-funding.d.ts +16 -0
- package/src/features/manage-warehouses/index.d.ts +2 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -0
- package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
- package/src/features/shipengine-carriers/hooks/index.d.ts +2 -0
- package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
- package/src/features/shipengine-carriers/index.d.ts +1 -0
- package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
- package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -0
- package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
- package/src/features/unit-settings/index.d.ts +2 -0
- package/src/features/unit-settings/unit-settings.d.ts +9 -0
- package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
- package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
- package/src/hooks/index.d.ts +0 -1
- package/src/hooks/options/use-rate-options.d.ts +1 -1
- package/src/locales/en/index.d.ts +16 -2
- package/src/types/carrier-metadata.d.ts +3 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/preferred-rates.d.ts +13 -0
- package/src/utilities/date.d.ts +2 -1
- package/src/utilities/feature-flags.d.ts +5 -2
- package/src/utilities/index.d.ts +1 -0
- package/src/utilities/tracking-status-formatter.d.ts +1 -0
- package/src/{elements → workflows}/account-settings/account-settings.d.ts +25 -58
- package/src/workflows/account-settings/use-get-panel-props.d.ts +10 -0
- package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +16 -2
- package/src/workflows/index.d.ts +3 -0
- package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
- package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
- package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
- package/src/workflows/onboarding/onboarding.d.ts +21 -8
- package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
- package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
- package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
- package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
- package/src/components/label-layout/index.d.ts +0 -3
- package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
- package/src/components/label-layout/label-layout-settings.d.ts +0 -7
- package/src/components/label-layout/label-layout.d.ts +0 -9
- package/src/components/manage-funding/manage-funding.d.ts +0 -35
- package/src/components/templates/account-settings/account-settings.d.ts +0 -10
- package/src/components/templates/account-settings/index.d.ts +0 -1
- package/src/components/templates/list-carriers/index.d.ts +0 -1
- package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
- package/src/components/templates/list-carriers-row/index.d.ts +0 -1
- package/src/components/templates/list-carriers-row/list-carriers-row.d.ts +0 -9
- package/src/components/templates/manage-warehouses/index.d.ts +0 -1
- package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
- package/src/components/unit-settings/index.d.ts +0 -1
- package/src/components/unit-settings/unit-settings.d.ts +0 -6
- package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
- package/src/elements/configure-shipment/index.d.ts +0 -1
- package/src/elements/list-carriers/index.d.ts +0 -1
- package/src/elements/list-carriers/list-carriers.d.ts +0 -36
- package/src/elements/shipengine-workflow/index.d.ts +0 -1
- package/src/hooks/use-carrier-metadata.d.ts +0 -10
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
- /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
- /package/src/{components → features}/manage-funding/index.d.ts +0 -0
- /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
- /package/src/{elements/list-carriers → features/shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
- /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
- /package/src/{components/templates/list-carriers/list-carriers.styles.d.ts → features/shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
- /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
- /package/src/{elements → workflows}/connect-carrier/index.d.ts +0 -0
|
@@ -85,6 +85,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
85
85
|
setup: {
|
|
86
86
|
title: string;
|
|
87
87
|
subtitle: string;
|
|
88
|
+
hiddenTermsSubtitle: string;
|
|
88
89
|
descriptionTitle: string;
|
|
89
90
|
description: string;
|
|
90
91
|
};
|
|
@@ -214,6 +215,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
214
215
|
needToAcknowledge: string;
|
|
215
216
|
};
|
|
216
217
|
rates: {
|
|
218
|
+
requestedShippingNotification: string;
|
|
217
219
|
uspsMediaMailAcknowledgement: string;
|
|
218
220
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
219
221
|
rateSavings: string;
|
|
@@ -238,7 +240,8 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
238
240
|
nextOpeningDay: string;
|
|
239
241
|
until: string;
|
|
240
242
|
selected: string;
|
|
241
|
-
|
|
243
|
+
select: string;
|
|
244
|
+
today: string;
|
|
242
245
|
viewMap: string;
|
|
243
246
|
otherLocations: string;
|
|
244
247
|
noServicePointsFound: string;
|
|
@@ -294,12 +297,18 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
294
297
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
295
298
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
296
299
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
300
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
301
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
302
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
297
303
|
};
|
|
298
304
|
termsAndAgreementTitles: {
|
|
299
305
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
300
306
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
301
307
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
302
308
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
309
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
310
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
311
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
303
312
|
};
|
|
304
313
|
};
|
|
305
314
|
"manage-defaults": {
|
|
@@ -435,7 +444,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
435
444
|
};
|
|
436
445
|
};
|
|
437
446
|
};
|
|
438
|
-
"
|
|
447
|
+
"shipengine-carriers": {
|
|
439
448
|
title: string;
|
|
440
449
|
headers: {
|
|
441
450
|
accountCarriers: string;
|
|
@@ -738,6 +747,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
738
747
|
"connect-carrier": {
|
|
739
748
|
actions: {
|
|
740
749
|
cancel: string;
|
|
750
|
+
carrierSettings: string;
|
|
741
751
|
connectCarriers: string;
|
|
742
752
|
disconnect: string;
|
|
743
753
|
disconnectCarrier: string;
|
|
@@ -756,6 +766,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
756
766
|
status: {
|
|
757
767
|
connected: string;
|
|
758
768
|
};
|
|
769
|
+
disconnectDropdown: {
|
|
770
|
+
toastTitle: string;
|
|
771
|
+
toastBody: string;
|
|
772
|
+
};
|
|
759
773
|
};
|
|
760
774
|
"account-settings": {
|
|
761
775
|
messages: {
|
|
@@ -95,6 +95,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
95
95
|
setup: {
|
|
96
96
|
title: string;
|
|
97
97
|
subtitle: string;
|
|
98
|
+
hiddenTermsSubtitle: string;
|
|
98
99
|
descriptionTitle: string;
|
|
99
100
|
description: string;
|
|
100
101
|
};
|
|
@@ -224,6 +225,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
224
225
|
needToAcknowledge: string;
|
|
225
226
|
};
|
|
226
227
|
rates: {
|
|
228
|
+
requestedShippingNotification: string;
|
|
227
229
|
uspsMediaMailAcknowledgement: string;
|
|
228
230
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
229
231
|
rateSavings: string;
|
|
@@ -248,7 +250,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
248
250
|
nextOpeningDay: string;
|
|
249
251
|
until: string;
|
|
250
252
|
selected: string;
|
|
251
|
-
|
|
253
|
+
select: string;
|
|
254
|
+
today: string;
|
|
252
255
|
viewMap: string;
|
|
253
256
|
otherLocations: string;
|
|
254
257
|
noServicePointsFound: string;
|
|
@@ -304,12 +307,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
304
307
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
305
308
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
306
309
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
310
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
311
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
312
|
+
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
307
313
|
};
|
|
308
314
|
termsAndAgreementTitles: {
|
|
309
315
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
310
316
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
311
317
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
312
318
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
319
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
320
|
+
"UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
|
|
321
|
+
UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
|
|
313
322
|
};
|
|
314
323
|
};
|
|
315
324
|
"manage-defaults": {
|
|
@@ -445,7 +454,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
445
454
|
};
|
|
446
455
|
};
|
|
447
456
|
};
|
|
448
|
-
"
|
|
457
|
+
"shipengine-carriers": {
|
|
449
458
|
title: string;
|
|
450
459
|
headers: {
|
|
451
460
|
accountCarriers: string;
|
|
@@ -748,6 +757,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
748
757
|
"connect-carrier": {
|
|
749
758
|
actions: {
|
|
750
759
|
cancel: string;
|
|
760
|
+
carrierSettings: string;
|
|
751
761
|
connectCarriers: string;
|
|
752
762
|
disconnect: string;
|
|
753
763
|
disconnectCarrier: string;
|
|
@@ -766,6 +776,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
766
776
|
status: {
|
|
767
777
|
connected: string;
|
|
768
778
|
};
|
|
779
|
+
disconnectDropdown: {
|
|
780
|
+
toastTitle: string;
|
|
781
|
+
toastBody: string;
|
|
782
|
+
};
|
|
769
783
|
};
|
|
770
784
|
"account-settings": {
|
|
771
785
|
messages: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as UnitSettings from "./unit-settings-element";
|