@shipengine/elements 1.5.0 → 1.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.
- package/index.cjs +13000 -12540
- package/index.js +13018 -12569
- 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/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/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/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 +2 -1
- 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/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
- package/src/elements/external-carriers/external-carriers.d.ts +817 -9
- package/src/elements/index.d.ts +7 -2
- package/src/elements/label-layout/index.d.ts +1 -0
- package/src/elements/label-layout/label-layout-element.d.ts +785 -0
- package/src/elements/labels-grid/labels-grid.d.ts +9 -1
- package/src/elements/list-carriers/list-carriers.d.ts +810 -1
- package/src/elements/manage-funding/index.d.ts +1 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +785 -0
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +805 -1
- package/src/elements/payment-method-settings/index.d.ts +1 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +785 -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 +29 -49
- package/src/elements/shipments-grid/shipments-grid.d.ts +9 -1
- package/src/elements/theme-creator/theme-creator.d.ts +9 -1
- package/src/elements/unit-settings/index.d.ts +1 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +785 -0
- package/src/elements/view-shipment/view-shipment.d.ts +12 -2
- package/src/elements/void-label/void-label.d.ts +9 -1
- package/src/elements/wallet-history/index.d.ts +1 -0
- package/src/elements/wallet-history/wallet-history-element.d.ts +785 -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 +2 -0
- package/src/features/label-layout/use-label-layout.d.ts +7 -0
- package/src/features/list-carriers/hooks/index.d.ts +2 -0
- package/src/{hooks → features/list-carriers/hooks}/use-carrier-metadata.d.ts +1 -1
- package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.d.ts +2 -2
- package/src/features/list-carriers/list-carriers.d.ts +9 -0
- package/src/features/manage-funding/manage-funding.d.ts +16 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -0
- package/src/{components → features}/unit-settings/unit-settings.d.ts +0 -5
- 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 +9 -1
- 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 +1 -1
- 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 +14 -50
- package/src/workflows/account-settings/use-get-panel-props.d.ts +4 -0
- package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +9 -1
- package/src/workflows/index.d.ts +3 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -1
- 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/onboarding.d.ts +10 -2
- 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/list-carriers.d.ts +0 -16
- package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
- package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
- package/src/elements/configure-shipment/index.d.ts +0 -1
- package/src/elements/shipengine-workflow/index.d.ts +0 -1
- /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/{elements → features}/list-carriers/hooks/use-list-connected-carriers.d.ts +0 -0
- /package/src/{components/templates → features}/list-carriers/index.d.ts +0 -0
- /package/src/{components/templates → features/list-carriers}/list-carriers-row/index.d.ts +0 -0
- /package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.styles.d.ts +0 -0
- /package/src/{components/templates → features}/list-carriers/list-carriers.styles.d.ts +0 -0
- /package/src/{components → features}/manage-funding/index.d.ts +0 -0
- /package/src/{components/templates → features}/manage-warehouses/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/{components → features}/unit-settings/index.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
|
@@ -334,7 +334,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
334
334
|
nextOpeningDay: string;
|
|
335
335
|
until: string;
|
|
336
336
|
selected: string;
|
|
337
|
-
|
|
337
|
+
select: string;
|
|
338
|
+
today: string;
|
|
338
339
|
viewMap: string;
|
|
339
340
|
otherLocations: string;
|
|
340
341
|
noServicePointsFound: string;
|
|
@@ -390,12 +391,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
390
391
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
391
392
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
392
393
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
394
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
393
395
|
};
|
|
394
396
|
termsAndAgreementTitles: {
|
|
395
397
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
396
398
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
397
399
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
398
400
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
401
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
399
402
|
};
|
|
400
403
|
};
|
|
401
404
|
"manage-defaults": {
|
|
@@ -843,6 +846,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
843
846
|
"connect-carrier": {
|
|
844
847
|
actions: {
|
|
845
848
|
cancel: string;
|
|
849
|
+
carrierSettings: string;
|
|
846
850
|
connectCarriers: string;
|
|
847
851
|
disconnect: string;
|
|
848
852
|
disconnectCarrier: string;
|
|
@@ -851,7 +855,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
851
855
|
registrationForm: {
|
|
852
856
|
error: string;
|
|
853
857
|
title: string;
|
|
854
|
-
betaWarning: string;
|
|
858
|
+
betaWarning: string; /**
|
|
859
|
+
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
860
|
+
*/
|
|
855
861
|
};
|
|
856
862
|
search: string;
|
|
857
863
|
settingsModal: {
|
|
@@ -861,6 +867,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
861
867
|
status: {
|
|
862
868
|
connected: string;
|
|
863
869
|
};
|
|
870
|
+
disconnectDropdown: {
|
|
871
|
+
toastTitle: string;
|
|
872
|
+
toastBody: string;
|
|
873
|
+
};
|
|
864
874
|
};
|
|
865
875
|
"account-settings": {
|
|
866
876
|
messages: {
|
|
@@ -332,7 +332,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
332
332
|
nextOpeningDay: string;
|
|
333
333
|
until: string;
|
|
334
334
|
selected: string;
|
|
335
|
-
|
|
335
|
+
select: string;
|
|
336
|
+
today: string;
|
|
336
337
|
viewMap: string;
|
|
337
338
|
otherLocations: string;
|
|
338
339
|
noServicePointsFound: string;
|
|
@@ -391,12 +392,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
391
392
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
392
393
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
393
394
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
395
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
394
396
|
};
|
|
395
397
|
termsAndAgreementTitles: {
|
|
396
398
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
397
399
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
398
400
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
399
401
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
402
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
400
403
|
};
|
|
401
404
|
};
|
|
402
405
|
"manage-defaults": {
|
|
@@ -841,6 +844,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
841
844
|
"connect-carrier": {
|
|
842
845
|
actions: {
|
|
843
846
|
cancel: string;
|
|
847
|
+
carrierSettings: string;
|
|
844
848
|
connectCarriers: string;
|
|
845
849
|
disconnect: string;
|
|
846
850
|
disconnectCarrier: string;
|
|
@@ -859,6 +863,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
859
863
|
status: {
|
|
860
864
|
connected: string;
|
|
861
865
|
};
|
|
866
|
+
disconnectDropdown: {
|
|
867
|
+
toastTitle: string;
|
|
868
|
+
toastBody: string;
|
|
869
|
+
};
|
|
862
870
|
};
|
|
863
871
|
"account-settings": {
|
|
864
872
|
messages: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as WalletHistory from "./wallet-history-element";
|