@shipengine/elements 0.18.0 → 0.20.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 +7835 -25575
- package/index.js +7826 -25570
- package/package.json +32 -22
- package/{components → src/components}/accordion/accordion.styles.d.ts +1 -1
- package/{components → src/components}/add-funds-form/add-funds-form.styles.d.ts +1 -1
- package/{components → src/components}/add-funds-form/add-funds-schema.d.ts +7 -7
- package/{components → src/components}/auto-funding-form/auto-funding-form.styles.d.ts +1 -1
- package/{components → src/components}/auto-funding-form/auto-funding-schema.d.ts +10 -10
- package/{components → src/components}/carrier-balance/carrier-balance.styles.d.ts +1 -1
- package/{components → src/components}/disclosure/disclosure.styles.d.ts +1 -1
- package/{components → src/components}/field/date-picker/date-picker.styles.d.ts +1 -1
- package/{components → src/components}/field/field.styles.d.ts +1 -1
- package/{components → src/components}/field/rate-card/cost-breakdown/cost-breakdown.styles.d.ts +1 -1
- package/{components → src/components}/field/rate-card/rate-card.styles.d.ts +1 -1
- package/{components → src/components}/field/rate-select/rate-select.styles.d.ts +1 -1
- package/{components → src/components}/fund-and-purchase/fund-and-purchase.styles.d.ts +1 -1
- package/src/components/history/history-actions/history-actions.d.ts +1 -0
- package/src/components/history/history-actions/history-actions.styles.d.ts +1 -0
- package/src/components/history/history-actions/index.d.ts +1 -0
- package/src/components/history/history-body/history-body.d.ts +6 -0
- package/src/components/history/history-body/index.d.ts +1 -0
- package/src/components/history/history-list/history-list.d.ts +12 -0
- package/src/components/history/history-list/index.d.ts +1 -0
- package/src/components/history/history-row/history-row.d.ts +6 -0
- package/src/components/history/history-row/index.d.ts +1 -0
- package/src/components/history/history.d.ts +11 -0
- package/src/components/history/index.d.ts +1 -0
- package/{components → src/components}/items-breakdown/items-breakdown.styles.d.ts +1 -1
- package/src/components/label-layout/index.d.ts +1 -0
- package/src/components/label-layout/label-layout-purchase.d.ts +4 -0
- package/src/components/label-layout/label-layout-settings.d.ts +4 -0
- package/src/components/label-layout/label-layout.d.ts +4 -0
- package/src/components/label-layout/label-layout.styles.d.ts +1 -0
- package/{components → src/components}/link-action/link-action.d.ts +1 -1
- package/{components → src/components}/preset-descriptor/preset-descriptor.styles.d.ts +1 -1
- package/{components → src/components}/settings-card/settings-card.styles.d.ts +1 -1
- package/{components → src/components}/spacer/spacer.d.ts +1 -1
- package/{components → src/components}/templates/address-form/address-fields.styles.d.ts +1 -1
- package/{components → src/components}/templates/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -1
- package/{components → src/components}/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +1 -1
- package/{components → src/components}/templates/customs-item-form/customs-item-form-schema.d.ts +20 -20
- package/{components → src/components}/templates/edit-billing-form/edit-billing-form.styles.d.ts +1 -1
- package/{components → src/components}/templates/index.d.ts +1 -0
- package/{components → src/components}/templates/landing-page/landing-page.styles.d.ts +1 -1
- package/{components → src/components}/templates/list-carriers/list-carriers.d.ts +2 -1
- package/src/components/templates/list-carriers/list-carriers.styles.d.ts +1 -0
- package/{components → src/components}/templates/list-carriers-row/list-carriers-row.styles.d.ts +1 -1
- package/{components → src/components}/templates/manage-wallet/manage-wallet.styles.d.ts +1 -1
- package/{components → src/components}/templates/manage-warehouses/manage-warehouse.styles.d.ts +1 -1
- package/{components → src/components}/templates/onboarding/onboarding.d.ts +7 -1
- package/src/components/templates/onboarding/onboarding.styles.d.ts +1 -0
- package/{components → src/components}/templates/rate-form/rate-form.d.ts +4 -1
- package/{components → src/components}/templates/rate-form/rate-form.styles.d.ts +1 -1
- package/src/components/templates/wallet-card/wallet-card.styles.d.ts +1 -0
- package/{components → src/components}/templates/wallet-form/wallet-form.styles.d.ts +1 -1
- package/src/components/templates/wallet-history/index.d.ts +1 -0
- package/src/components/templates/wallet-history/wallet-history.d.ts +6 -0
- package/{components → src/components}/templates/warehouse-form/warehouse-form-schema.d.ts +51 -45
- package/{elements → src/elements}/components/configure-shipment/hooks/use-rates-form.d.ts +2 -0
- package/{elements → src/elements}/components/configure-shipment/hooks/use-shipment-form.d.ts +2 -0
- package/{elements → src/elements}/components/index.d.ts +1 -0
- package/{elements → src/elements}/components/list-carriers/hooks/use-list-connected-carriers.d.ts +2 -2
- package/{elements → src/elements}/components/purchase-label/hooks/use-import-sales-order.d.ts +2 -2
- package/{elements → src/elements}/components/purchase-label/hooks/use-load-shipment.d.ts +3 -3
- package/src/elements/components/wallet-history/index.d.ts +1 -0
- package/src/elements/components/wallet-history/wallet-history.d.ts +1 -0
- package/{elements → src/elements}/index.d.ts +1 -0
- package/src/elements/wallet-history.d.ts +1 -0
- package/{factories → src/factories}/shipengine/index.d.ts +1 -0
- package/src/factories/shipengine/wallet-history.d.ts +14 -0
- package/src/hooks/use-scrub-errors.d.ts +14 -0
- package/{locales → src/locales}/en/index.d.ts +28 -0
- package/{utilities → src/utilities}/styles.d.ts +1 -1
- package/components/templates/list-carriers/list-carriers.styles.d.ts +0 -1
- package/components/templates/onboarding/onboarding.styles.d.ts +0 -1
- package/components/templates/wallet-card/wallet-card.styles.d.ts +0 -1
- /package/{components → src/components}/accordion/accordion.d.ts +0 -0
- /package/{components → src/components}/accordion/index.d.ts +0 -0
- /package/{components → src/components}/add-funds-form/add-funds-form.d.ts +0 -0
- /package/{components → src/components}/add-funds-form/index.d.ts +0 -0
- /package/{components → src/components}/auto-funding-form/auto-funding-form.d.ts +0 -0
- /package/{components → src/components}/auto-funding-form/index.d.ts +0 -0
- /package/{components → src/components}/button-group/button-group.d.ts +0 -0
- /package/{components → src/components}/button-group/index.d.ts +0 -0
- /package/{components → src/components}/carrier-balance/carrier-balance.d.ts +0 -0
- /package/{components → src/components}/carrier-balance/index.d.ts +0 -0
- /package/{components → src/components}/cube/cube.d.ts +0 -0
- /package/{components → src/components}/cube/index.d.ts +0 -0
- /package/{components → src/components}/disclosure/disclosure.d.ts +0 -0
- /package/{components → src/components}/disclosure/index.d.ts +0 -0
- /package/{components → src/components}/error-boundary/error-boundary.d.ts +0 -0
- /package/{components → src/components}/error-boundary/index.d.ts +0 -0
- /package/{components → src/components}/field/checkbox-input/checkbox-input.d.ts +0 -0
- /package/{components → src/components}/field/checkbox-input/index.d.ts +0 -0
- /package/{components → src/components}/field/create-field-controller.d.ts +0 -0
- /package/{components → src/components}/field/credit-card-input/credit-card-input.d.ts +0 -0
- /package/{components → src/components}/field/credit-card-input/index.d.ts +0 -0
- /package/{components → src/components}/field/date-picker/date-picker.d.ts +0 -0
- /package/{components → src/components}/field/date-picker/index.d.ts +0 -0
- /package/{components → src/components}/field/expiration-input/expiration-input.d.ts +0 -0
- /package/{components → src/components}/field/expiration-input/index.d.ts +0 -0
- /package/{components → src/components}/field/fields.d.ts +0 -0
- /package/{components → src/components}/field/index.d.ts +0 -0
- /package/{components → src/components}/field/input-group/index.d.ts +0 -0
- /package/{components → src/components}/field/input-group/input-group.d.ts +0 -0
- /package/{components → src/components}/field/money-input/hooks/index.d.ts +0 -0
- /package/{components → src/components}/field/money-input/hooks/use-utils.d.ts +0 -0
- /package/{components → src/components}/field/money-input/index.d.ts +0 -0
- /package/{components → src/components}/field/money-input/money-input-styles.d.ts +0 -0
- /package/{components → src/components}/field/money-input/money-input.d.ts +0 -0
- /package/{components → src/components}/field/number-input/index.d.ts +0 -0
- /package/{components → src/components}/field/number-input/number-input.d.ts +0 -0
- /package/{components → src/components}/field/rate-card/cost-breakdown/cost-breakdown.d.ts +0 -0
- /package/{components → src/components}/field/rate-card/cost-breakdown/index.d.ts +0 -0
- /package/{components → src/components}/field/rate-card/index.d.ts +0 -0
- /package/{components → src/components}/field/rate-card/rate-card.d.ts +0 -0
- /package/{components → src/components}/field/rate-select/index.d.ts +0 -0
- /package/{components → src/components}/field/rate-select/rate-select.d.ts +0 -0
- /package/{components → src/components}/field/select/index.d.ts +0 -0
- /package/{components → src/components}/field/select/select.d.ts +0 -0
- /package/{components → src/components}/field/submit-button/index.d.ts +0 -0
- /package/{components → src/components}/field/submit-button/submit-button.d.ts +0 -0
- /package/{components → src/components}/field/switch/index.d.ts +0 -0
- /package/{components → src/components}/field/switch/switch.d.ts +0 -0
- /package/{components → src/components}/field/text-area/index.d.ts +0 -0
- /package/{components → src/components}/field/text-area/text-area.d.ts +0 -0
- /package/{components → src/components}/field/text-input/index.d.ts +0 -0
- /package/{components → src/components}/field/text-input/text-input.d.ts +0 -0
- /package/{components → src/components}/field-label/field-label.d.ts +0 -0
- /package/{components → src/components}/field-label/index.d.ts +0 -0
- /package/{components → src/components}/form-portal/form-portal.d.ts +0 -0
- /package/{components → src/components}/form-portal/index.d.ts +0 -0
- /package/{components → src/components}/fund-and-purchase/fund-and-purchase.d.ts +0 -0
- /package/{components → src/components}/fund-and-purchase/index.d.ts +0 -0
- /package/{components → src/components}/index.d.ts +0 -0
- /package/{components → src/components}/inline-label/index.d.ts +0 -0
- /package/{components → src/components}/inline-label/inline-label.d.ts +0 -0
- /package/{components → src/components}/items-breakdown/index.d.ts +0 -0
- /package/{components → src/components}/items-breakdown/items-breakdown.d.ts +0 -0
- /package/{components → src/components}/link-action/index.d.ts +0 -0
- /package/{components → src/components}/loader/index.d.ts +0 -0
- /package/{components → src/components}/loader/loader.d.ts +0 -0
- /package/{components → src/components}/manage-funding/index.d.ts +0 -0
- /package/{components → src/components}/manage-funding/manage-funding.d.ts +0 -0
- /package/{components → src/components}/portal/index.d.ts +0 -0
- /package/{components → src/components}/portal/portal.d.ts +0 -0
- /package/{components → src/components}/preset-descriptor/index.d.ts +0 -0
- /package/{components → src/components}/preset-descriptor/preset-descriptor.d.ts +0 -0
- /package/{components → src/components}/settings-card/index.d.ts +0 -0
- /package/{components → src/components}/settings-card/settings-card.d.ts +0 -0
- /package/{components → src/components}/spacer/index.d.ts +0 -0
- /package/{components → src/components}/spread/index.d.ts +0 -0
- /package/{components → src/components}/spread/spread.d.ts +0 -0
- /package/{components → src/components}/story-notes/index.d.ts +0 -0
- /package/{components → src/components}/story-notes/story-notes.d.ts +0 -0
- /package/{components → src/components}/templates/add-carrier-form/add-carrier-form-schema.d.ts +0 -0
- /package/{components → src/components}/templates/add-carrier-form/add-carrier-form-test.d.ts +0 -0
- /package/{components → src/components}/templates/add-carrier-form/add-carrier-form.d.ts +0 -0
- /package/{components → src/components}/templates/add-carrier-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/address-display/address-display.d.ts +0 -0
- /package/{components → src/components}/templates/address-display/index.d.ts +0 -0
- /package/{components → src/components}/templates/address-form/address-fields.d.ts +0 -0
- /package/{components → src/components}/templates/address-form/address-form-schema.d.ts +0 -0
- /package/{components → src/components}/templates/address-form/address-form.d.ts +0 -0
- /package/{components → src/components}/templates/address-form/address-schema.d.ts +0 -0
- /package/{components → src/components}/templates/address-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/address-parser/address-parser-schema.d.ts +0 -0
- /package/{components → src/components}/templates/address-parser/address-parser.d.ts +0 -0
- /package/{components → src/components}/templates/address-parser/index.d.ts +0 -0
- /package/{components → src/components}/templates/address-preference-display/address-preference-display.d.ts +0 -0
- /package/{components → src/components}/templates/address-preference-display/index.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-recovery-form/carrier-recovery-form-schema.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-recovery-form/carrier-recovery-form.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-recovery-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-terms-form/carrier-terms-form-schema.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-terms-form/carrier-terms-form.d.ts +0 -0
- /package/{components → src/components}/templates/carrier-terms-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/completion-page/completion-page.d.ts +0 -0
- /package/{components → src/components}/templates/completion-page/index.d.ts +0 -0
- /package/{components → src/components}/templates/customs-item-form/customs-item-form.d.ts +0 -0
- /package/{components → src/components}/templates/customs-item-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/customs-items-display/customs-items-display.d.ts +0 -0
- /package/{components → src/components}/templates/customs-items-display/customs-items-display.styles.d.ts +0 -0
- /package/{components → src/components}/templates/customs-items-display/index.d.ts +0 -0
- /package/{components → src/components}/templates/display-carrier-terms/display-carrier-terms.d.ts +0 -0
- /package/{components → src/components}/templates/display-carrier-terms/index.d.ts +0 -0
- /package/{components → src/components}/templates/edit-billing-form/edit-billing-form.d.ts +0 -0
- /package/{components → src/components}/templates/edit-billing-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/label/index.d.ts +0 -0
- /package/{components → src/components}/templates/label/label.d.ts +0 -0
- /package/{components → src/components}/templates/landing-page/index.d.ts +0 -0
- /package/{components → src/components}/templates/landing-page/landing-page-form-schema.d.ts +0 -0
- /package/{components → src/components}/templates/landing-page/landing-page-form.d.ts +0 -0
- /package/{components → src/components}/templates/landing-page/landing-page.d.ts +0 -0
- /package/{components → src/components}/templates/list-carriers/index.d.ts +0 -0
- /package/{components → src/components}/templates/list-carriers-row/index.d.ts +0 -0
- /package/{components → src/components}/templates/list-carriers-row/list-carriers-row.d.ts +0 -0
- /package/{components → src/components}/templates/manage-wallet/index.d.ts +0 -0
- /package/{components → src/components}/templates/manage-wallet/manage-wallet.d.ts +0 -0
- /package/{components → src/components}/templates/manage-warehouses/index.d.ts +0 -0
- /package/{components → src/components}/templates/manage-warehouses/manage-warehouses.d.ts +0 -0
- /package/{components → src/components}/templates/onboarding/index.d.ts +0 -0
- /package/{components → src/components}/templates/rate-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/rate-form/rate-schema.d.ts +0 -0
- /package/{components → src/components}/templates/shipment/index.d.ts +0 -0
- /package/{components → src/components}/templates/shipment/shipment.d.ts +0 -0
- /package/{components → src/components}/templates/shipment-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/shipment-form/shipment-form.d.ts +0 -0
- /package/{components → src/components}/templates/shipment-form/shipment-schema.d.ts +0 -0
- /package/{components → src/components}/templates/suspend-sales-order/index.d.ts +0 -0
- /package/{components → src/components}/templates/suspend-sales-order/suspend-sales-order.d.ts +0 -0
- /package/{components → src/components}/templates/suspend-shipment/index.d.ts +0 -0
- /package/{components → src/components}/templates/suspend-shipment/suspend-shipment.d.ts +0 -0
- /package/{components → src/components}/templates/void-label/index.d.ts +0 -0
- /package/{components → src/components}/templates/void-label/void-label.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-card/index.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-card/wallet-card.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-form/billing-fields.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-form/edit-wallet-address-form.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-form/wallet-form.d.ts +0 -0
- /package/{components → src/components}/templates/wallet-form/wallet-schema.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-display/index.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-display/warehouse-display.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-form/index.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-form/warehouse-form.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-preference-select/index.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-preference-select/warehouse-preference-select.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-preference-wizard/index.d.ts +0 -0
- /package/{components → src/components}/templates/warehouse-preference-wizard/warehouse-preference-wizard.d.ts +0 -0
- /package/{constants → src/constants}/index.d.ts +0 -0
- /package/{constants → src/constants}/shipengine/address.d.ts +0 -0
- /package/{constants → src/constants}/shipengine/index.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/configure-shipment.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/hooks/index.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/hooks/use-address.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/hooks/use-customs.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/hooks/use-presets.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/hooks/use-request-rates.d.ts +0 -0
- /package/{elements → src/elements}/components/configure-shipment/index.d.ts +0 -0
- /package/{elements → src/elements}/components/list-carriers/index.d.ts +0 -0
- /package/{elements → src/elements}/components/list-carriers/list-carriers.d.ts +0 -0
- /package/{elements → src/elements}/components/manage-warehouses/index.d.ts +0 -0
- /package/{elements → src/elements}/components/manage-warehouses/manage-warehouses.d.ts +0 -0
- /package/{elements → src/elements}/components/onboarding/index.d.ts +0 -0
- /package/{elements → src/elements}/components/onboarding/onboarding.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/hooks/index.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/hooks/use-configure-shipment.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/hooks/use-pending-shipment.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/index.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/purchase-label-by-sales-order.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/purchase-label-by-shipment.d.ts +0 -0
- /package/{elements → src/elements}/components/purchase-label/purchase-label.d.ts +0 -0
- /package/{elements → src/elements}/components/shipment/index.d.ts +0 -0
- /package/{elements → src/elements}/components/shipment/shipment.d.ts +0 -0
- /package/{elements → src/elements}/components/void-label/index.d.ts +0 -0
- /package/{elements → src/elements}/components/void-label/void-label.d.ts +0 -0
- /package/{elements → src/elements}/list-carriers.d.ts +0 -0
- /package/{elements → src/elements}/manage-warehouses.d.ts +0 -0
- /package/{elements → src/elements}/onboarding.d.ts +0 -0
- /package/{elements → src/elements}/purchase-label.d.ts +0 -0
- /package/{elements → src/elements}/view-shipment.d.ts +0 -0
- /package/{elements → src/elements}/void-label.d.ts +0 -0
- /package/{extensions → src/extensions}/index.d.ts +0 -0
- /package/{extensions → src/extensions}/zod.d.ts +0 -0
- /package/{factories → src/factories}/index.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/address.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/carrier.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/label.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/money.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/order-source.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/package.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/resource.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/sales-order.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/service.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/shipment.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/warehouse.d.ts +0 -0
- /package/{factories → src/factories}/shipengine/weight.d.ts +0 -0
- /package/{factories → src/factories}/utils.d.ts +0 -0
- /package/{hooks → src/hooks}/index.d.ts +0 -0
- /package/{hooks → src/hooks}/options/index.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-confirmation-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-country-code-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-customs-contents-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-customs-non-delivery-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-expiration-month-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-insurance-provider-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-package-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-rate-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-service-code-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-shipping-presets-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-state-code-options.d.ts +0 -0
- /package/{hooks → src/hooks}/options/use-warehouse-options.d.ts +0 -0
- /package/{hooks → src/hooks}/use-carrier-metadata.d.ts +0 -0
- /package/{hooks → src/hooks}/use-elements.d.ts +0 -0
- /package/{hooks → src/hooks}/use-nested-form.d.ts +0 -0
- /package/{hooks → src/hooks}/use-page-layout.d.ts +0 -0
- /package/{hooks → src/hooks}/use-root-portal.d.ts +0 -0
- /package/{hooks → src/hooks}/use-run-once-on-true.d.ts +0 -0
- /package/{hooks → src/hooks}/use-toggle.d.ts +0 -0
- /package/{hooks → src/hooks}/use-warehouse-validation.d.ts +0 -0
- /package/{index.d.ts → src/index.d.ts} +0 -0
- /package/{locales → src/locales}/index.d.ts +0 -0
- /package/{mocks → src/mocks}/browser.d.ts +0 -0
- /package/{mocks → src/mocks}/carriers/handlers.d.ts +0 -0
- /package/{mocks → src/mocks}/carriers/index.d.ts +0 -0
- /package/{mocks → src/mocks}/index.d.ts +0 -0
- /package/{mocks → src/mocks}/server.d.ts +0 -0
- /package/{mocks → src/mocks}/warehouses/handlers.d.ts +0 -0
- /package/{mocks → src/mocks}/warehouses/index.d.ts +0 -0
- /package/{providers → src/providers}/giger-provider.d.ts +0 -0
- /package/{providers → src/providers}/index.d.ts +0 -0
- /package/{register.d.ts → src/register.d.ts} +0 -0
- /package/{schemas → src/schemas}/index.d.ts +0 -0
- /package/{schemas → src/schemas}/shipengine/index.d.ts +0 -0
- /package/{schemas → src/schemas}/shipengine/money.d.ts +0 -0
- /package/{schemas → src/schemas}/shipengine/phone.d.ts +0 -0
- /package/{testing → src/testing}/index.d.ts +0 -0
- /package/{testing → src/testing}/render.d.ts +0 -0
- /package/{types → src/types}/carrier-metadata.d.ts +0 -0
- /package/{types → src/types}/index.d.ts +0 -0
- /package/{types → src/types}/shipping-preset/index.d.ts +0 -0
- /package/{types → src/types}/shipping-preset/shipping-preset.d.ts +0 -0
- /package/{utilities → src/utilities}/create-dictionary.d.ts +0 -0
- /package/{utilities → src/utilities}/date.d.ts +0 -0
- /package/{utilities → src/utilities}/error.d.ts +0 -0
- /package/{utilities → src/utilities}/form-logger.d.ts +0 -0
- /package/{utilities → src/utilities}/index.d.ts +0 -0
- /package/{utilities → src/utilities}/money.d.ts +0 -0
- /package/{utilities → src/utilities}/predicates/index.d.ts +0 -0
- /package/{utilities → src/utilities}/predicates/isString.d.ts +0 -0
- /package/{utilities → src/utilities}/rates.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/address.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/carrier.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/dimensions.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/index.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/package.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/sales-order.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/shipment.d.ts +0 -0
- /package/{utilities → src/utilities}/shipengine/weight.d.ts +0 -0
- /package/{utilities → src/utilities}/string.d.ts +0 -0
- /package/{utilities → src/utilities}/validation.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipengine/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"readmeFile": "../../README.md",
|
|
@@ -14,30 +14,40 @@
|
|
|
14
14
|
"msw": {
|
|
15
15
|
"workerDirectory": "public"
|
|
16
16
|
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "restricted"
|
|
19
|
+
},
|
|
17
20
|
"module": "./index.js",
|
|
18
21
|
"main": "./index.cjs",
|
|
19
22
|
"type": "module",
|
|
20
|
-
"types": "./index.d.ts",
|
|
23
|
+
"types": "./src/index.d.ts",
|
|
21
24
|
"dependencies": {
|
|
22
|
-
"
|
|
23
|
-
"@emotion/
|
|
24
|
-
"@
|
|
25
|
-
"react
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"
|
|
29
|
-
"@
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"react
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"i18next-browser-languagedetector": "
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
25
|
+
"@emotion/cache": "11.10.5",
|
|
26
|
+
"@emotion/css": "11.10.5",
|
|
27
|
+
"@emotion/memoize": "0.8.0",
|
|
28
|
+
"@emotion/react": "11.10.0",
|
|
29
|
+
"@emotion/serialize": "1.1.1",
|
|
30
|
+
"@faker-js/faker": "7.6.0",
|
|
31
|
+
"@hookform/resolvers": "2.9.1",
|
|
32
|
+
"@packlink/brands": "3.24.0",
|
|
33
|
+
"@packlink/giger-theme": "1.3.1",
|
|
34
|
+
"@shipengine/api": "0.19.1",
|
|
35
|
+
"@shipengine/react": "0.19.1",
|
|
36
|
+
"@storybook/manager-api": "7.0.0-rc.1",
|
|
37
|
+
"@storybook/theming": "7.0.0-rc.1",
|
|
38
|
+
"axios": "0.26.1",
|
|
39
|
+
"card-validator": "8.1.1",
|
|
40
|
+
"humps": "2.0.1",
|
|
41
|
+
"i18next-browser-languagedetector": "6.1.8",
|
|
42
|
+
"js-base64": "3.7.3",
|
|
43
|
+
"libphonenumber-js": "1.10.14",
|
|
44
|
+
"lodash": "4.17.21",
|
|
45
|
+
"react": "18.2.0",
|
|
46
|
+
"react-datepicker": "4.8.0",
|
|
47
|
+
"react-dom": "18.2.0",
|
|
48
|
+
"react-hook-form": "7.40.0",
|
|
49
|
+
"react-query": "3.39.3",
|
|
50
|
+
"stylis": "4.1.3",
|
|
51
|
+
"zod": "3.19.1"
|
|
42
52
|
}
|
|
43
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Theme } from "@packlink/
|
|
2
|
+
import { Theme } from "@packlink/giger-theme";
|
|
3
3
|
export declare const getAccordionSummaryStyles: (theme: Theme) => SerializedStyles;
|
|
4
4
|
export declare const getAccordionSummaryWrapperStyles: (theme: Theme) => SerializedStyles;
|
|
5
5
|
export declare const getIconStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -2,5 +2,5 @@ type GetStylesProps = {
|
|
|
2
2
|
isDisabled?: boolean;
|
|
3
3
|
isSelected?: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const getStyles: ({ isDisabled, isSelected }?: GetStylesProps) => Record<"chip" | "chipList" | "fundsInput", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
5
|
+
export declare const getStyles: ({ isDisabled, isSelected }?: GetStylesProps) => Record<"chip" | "chipList" | "fundsInput", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
6
6
|
export {};
|
|
@@ -2,33 +2,33 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const getAddFundsSchema: (minimumAmount?: number) => z.ZodEffects<z.ZodObject<{
|
|
3
3
|
funds: z.ZodObject<z.extendShape<{
|
|
4
4
|
amount: z.ZodNumber;
|
|
5
|
-
currency: z.ZodNativeEnum<typeof import("
|
|
5
|
+
currency: z.ZodNativeEnum<typeof import("dist/shipengine-api/src").Currency>;
|
|
6
6
|
}, {
|
|
7
7
|
amount: z.ZodNumber;
|
|
8
8
|
}>, "strip", z.ZodTypeAny, {
|
|
9
9
|
amount: number;
|
|
10
|
-
currency: import("
|
|
10
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
11
11
|
}, {
|
|
12
12
|
amount: number;
|
|
13
|
-
currency: import("
|
|
13
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
14
14
|
}>;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
funds: {
|
|
17
17
|
amount: number;
|
|
18
|
-
currency: import("
|
|
18
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
19
19
|
};
|
|
20
20
|
}, {
|
|
21
21
|
funds: {
|
|
22
22
|
amount: number;
|
|
23
|
-
currency: import("
|
|
23
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
24
24
|
};
|
|
25
25
|
}>, {
|
|
26
26
|
amount: number;
|
|
27
|
-
currency: import("
|
|
27
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
28
28
|
}, {
|
|
29
29
|
funds: {
|
|
30
30
|
amount: number;
|
|
31
|
-
currency: import("
|
|
31
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
type AddFundsFormSchema = ReturnType<typeof getAddFundsSchema>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Theme } from "@packlink/
|
|
1
|
+
import { Theme } from "@packlink/giger-theme";
|
|
2
2
|
export declare const getStyles: (showForm: boolean) => Record<"edit" | "form" | "input" | "marginLeft", import("@emotion/serialize").Interpolation<Theme>>;
|
|
@@ -3,50 +3,50 @@ export declare const autoFundingSchema: z.ZodObject<{
|
|
|
3
3
|
isEnabled: z.ZodBoolean;
|
|
4
4
|
lowBalancePurchaseThreshold: z.ZodObject<z.extendShape<{
|
|
5
5
|
amount: z.ZodNumber;
|
|
6
|
-
currency: z.ZodNativeEnum<typeof import("
|
|
6
|
+
currency: z.ZodNativeEnum<typeof import("dist/shipengine-api/src").Currency>;
|
|
7
7
|
}, {
|
|
8
8
|
amount: z.ZodNumber;
|
|
9
9
|
}>, "strip", z.ZodTypeAny, {
|
|
10
10
|
amount: number;
|
|
11
|
-
currency: import("
|
|
11
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
12
12
|
}, {
|
|
13
13
|
amount: number;
|
|
14
|
-
currency: import("
|
|
14
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
15
15
|
}>;
|
|
16
16
|
maximumPurchasesPerDay: z.ZodNumber;
|
|
17
17
|
purchaseAmount: z.ZodObject<z.extendShape<{
|
|
18
18
|
amount: z.ZodNumber;
|
|
19
|
-
currency: z.ZodNativeEnum<typeof import("
|
|
19
|
+
currency: z.ZodNativeEnum<typeof import("dist/shipengine-api/src").Currency>;
|
|
20
20
|
}, {
|
|
21
21
|
amount: z.ZodNumber;
|
|
22
22
|
}>, "strip", z.ZodTypeAny, {
|
|
23
23
|
amount: number;
|
|
24
|
-
currency: import("
|
|
24
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
25
25
|
}, {
|
|
26
26
|
amount: number;
|
|
27
|
-
currency: import("
|
|
27
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
28
28
|
}>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
isEnabled: boolean;
|
|
31
31
|
lowBalancePurchaseThreshold: {
|
|
32
32
|
amount: number;
|
|
33
|
-
currency: import("
|
|
33
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
34
34
|
};
|
|
35
35
|
maximumPurchasesPerDay: number;
|
|
36
36
|
purchaseAmount: {
|
|
37
37
|
amount: number;
|
|
38
|
-
currency: import("
|
|
38
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
41
41
|
isEnabled: boolean;
|
|
42
42
|
lowBalancePurchaseThreshold: {
|
|
43
43
|
amount: number;
|
|
44
|
-
currency: import("
|
|
44
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
45
45
|
};
|
|
46
46
|
maximumPurchasesPerDay: number;
|
|
47
47
|
purchaseAmount: {
|
|
48
48
|
amount: number;
|
|
49
|
-
currency: import("
|
|
49
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
50
50
|
};
|
|
51
51
|
}>;
|
|
52
52
|
export type AutoFundingFormFields = z.input<typeof autoFundingSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getStyles: (balance?: number) => Record<"balanceText", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const getStyles: (balance?: number) => Record<"balanceText", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"container" | "content" | "icon" | "toggle", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"container" | "content" | "icon" | "toggle", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
package/{components → src/components}/field/rate-card/cost-breakdown/cost-breakdown.styles.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Theme } from "@packlink/
|
|
2
|
+
import { Theme } from "@packlink/giger-theme";
|
|
3
3
|
export declare const getAsideStyles: (theme: Theme) => SerializedStyles;
|
|
4
4
|
export declare const getPriceStyles: (theme: Theme) => SerializedStyles;
|
|
5
5
|
export declare const getTableStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Theme } from "@packlink/
|
|
2
|
+
import { Theme } from "@packlink/giger-theme";
|
|
3
3
|
export declare const getRateCardFirstLineSize: (theme: Theme) => string;
|
|
4
4
|
export declare const getArticleStyles: (theme: Theme) => SerializedStyles;
|
|
5
5
|
export declare const getArticleNonSelectedStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getStyles: (isCustomAmount?: boolean) => Record<"balanceText" | "container" | "formExtension" | "saveRateButton", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const getStyles: (isCustomAmount?: boolean) => Record<"balanceText" | "container" | "formExtension" | "saveRateButton", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HistoryActions: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: Record<"dateRangeInput", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history-actions";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history-body";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { WalletTransactionHistory } from "@shipengine/api";
|
|
3
|
+
export type HistoryListProps = {
|
|
4
|
+
historyData: WalletTransactionHistory;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* This component is the list of events that represent the history of a
|
|
8
|
+
* specific entity. The events are displayed in reverse chronological order.
|
|
9
|
+
*
|
|
10
|
+
* @param historyData The history data to display.
|
|
11
|
+
*/
|
|
12
|
+
export declare const HistoryList: React.FC<HistoryListProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history-list";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history-row";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { HistoryBodyProps } from "./history-body";
|
|
3
|
+
import { HistoryListProps } from "./history-list";
|
|
4
|
+
import { HistoryRowProps } from "./history-row";
|
|
5
|
+
export type HistoryType = React.FC & {
|
|
6
|
+
Actions: React.FC;
|
|
7
|
+
Body: React.FC<HistoryBodyProps>;
|
|
8
|
+
List: React.FC<HistoryListProps>;
|
|
9
|
+
Row: React.FC<HistoryRowProps>;
|
|
10
|
+
};
|
|
11
|
+
export declare const History: HistoryType;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Theme } from "@packlink/
|
|
1
|
+
import { Theme } from "@packlink/giger-theme";
|
|
2
2
|
export declare const getNumericCellStyle: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
3
3
|
export declare const getTableWrapperStyles: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./label-layout";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: Record<"subtitle" | "letter" | "button" | "buttonContainer" | "headingContainer" | "icon" | "letterInner" | "letterLabel" | "selectedLetter" | "selectedThermal" | "thermal" | "thermalIcon" | "thermalInner" | "thermalLabel", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Theme } from "@packlink/
|
|
2
|
+
import { Theme } from "@packlink/giger-theme";
|
|
3
3
|
export declare const getContainerStyles: (theme: Theme) => SerializedStyles;
|
|
4
4
|
export declare const getDimensionStyles: (theme: Theme) => SerializedStyles;
|
|
5
5
|
export declare const getServiceNameStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"body" | "container" | "header" | "title" | "verticalContainer", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"body" | "container" | "header" | "title" | "verticalContainer", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"grow" | "stateWrapper" | "stateZipWrapper" | "zipWrapper", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"grow" | "stateWrapper" | "stateZipWrapper" | "zipWrapper", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"grid" | "heading" | "subtitle", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"grid" | "heading" | "subtitle", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
package/{components → src/components}/templates/carrier-terms-form/carrier-terms-form.styles.d.ts
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"agreement" | "carrierLogos" | "close" | "link" | "links" | "listItems" | "terms" | "termsForm" | "termsList" | "well", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"agreement" | "carrierLogos" | "close" | "link" | "links" | "listItems" | "terms" | "termsForm" | "termsList" | "well", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
package/{components → src/components}/templates/customs-item-form/customs-item-form-schema.d.ts
RENAMED
|
@@ -8,24 +8,24 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
8
8
|
quantity: z.ZodNumber;
|
|
9
9
|
value: z.ZodObject<{
|
|
10
10
|
amount: z.ZodNumber;
|
|
11
|
-
currency: z.ZodNativeEnum<typeof import("
|
|
11
|
+
currency: z.ZodNativeEnum<typeof import("dist/shipengine-api/src").Currency>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
amount: number;
|
|
14
|
-
currency: import("
|
|
14
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
15
15
|
}, {
|
|
16
16
|
amount: number;
|
|
17
|
-
currency: import("
|
|
17
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
18
18
|
}>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
value: {
|
|
21
21
|
amount: number;
|
|
22
|
-
currency: import("
|
|
22
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
23
23
|
};
|
|
24
24
|
quantity: number;
|
|
25
25
|
}, {
|
|
26
26
|
value: {
|
|
27
27
|
amount: number;
|
|
28
|
-
currency: import("
|
|
28
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
29
29
|
};
|
|
30
30
|
quantity: number;
|
|
31
31
|
}>;
|
|
@@ -39,7 +39,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
39
39
|
valueQuantity: {
|
|
40
40
|
value: {
|
|
41
41
|
amount: number;
|
|
42
|
-
currency: import("
|
|
42
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
43
43
|
};
|
|
44
44
|
quantity: number;
|
|
45
45
|
};
|
|
@@ -51,7 +51,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
51
51
|
valueQuantity: {
|
|
52
52
|
value: {
|
|
53
53
|
amount: number;
|
|
54
|
-
currency: import("
|
|
54
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
55
55
|
};
|
|
56
56
|
quantity: number;
|
|
57
57
|
};
|
|
@@ -59,7 +59,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
59
59
|
quantity: number;
|
|
60
60
|
value: {
|
|
61
61
|
amount: number;
|
|
62
|
-
currency: import("
|
|
62
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
63
63
|
};
|
|
64
64
|
customsItemId?: string | undefined;
|
|
65
65
|
harmonizedTariffCode?: string | undefined;
|
|
@@ -69,7 +69,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
69
69
|
quantity: number;
|
|
70
70
|
value: {
|
|
71
71
|
amount: number;
|
|
72
|
-
currency: import("
|
|
72
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
73
73
|
};
|
|
74
74
|
customsItemId?: string | undefined;
|
|
75
75
|
countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
@@ -83,7 +83,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
83
83
|
valueQuantity: {
|
|
84
84
|
value: {
|
|
85
85
|
amount: number;
|
|
86
|
-
currency: import("
|
|
86
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
87
87
|
};
|
|
88
88
|
quantity: number;
|
|
89
89
|
};
|
|
@@ -96,24 +96,24 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
96
96
|
quantity: z.ZodNumber;
|
|
97
97
|
value: z.ZodObject<{
|
|
98
98
|
amount: z.ZodNumber;
|
|
99
|
-
currency: z.ZodNativeEnum<typeof import("
|
|
99
|
+
currency: z.ZodNativeEnum<typeof import("dist/shipengine-api/src").Currency>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
101
|
amount: number;
|
|
102
|
-
currency: import("
|
|
102
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
103
103
|
}, {
|
|
104
104
|
amount: number;
|
|
105
|
-
currency: import("
|
|
105
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
106
106
|
}>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
value: {
|
|
109
109
|
amount: number;
|
|
110
|
-
currency: import("
|
|
110
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
111
111
|
};
|
|
112
112
|
quantity: number;
|
|
113
113
|
}, {
|
|
114
114
|
value: {
|
|
115
115
|
amount: number;
|
|
116
|
-
currency: import("
|
|
116
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
117
117
|
};
|
|
118
118
|
quantity: number;
|
|
119
119
|
}>;
|
|
@@ -125,7 +125,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
125
125
|
valueQuantity: {
|
|
126
126
|
value: {
|
|
127
127
|
amount: number;
|
|
128
|
-
currency: import("
|
|
128
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
129
129
|
};
|
|
130
130
|
quantity: number;
|
|
131
131
|
};
|
|
@@ -137,7 +137,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
137
137
|
valueQuantity: {
|
|
138
138
|
value: {
|
|
139
139
|
amount: number;
|
|
140
|
-
currency: import("
|
|
140
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
141
141
|
};
|
|
142
142
|
quantity: number;
|
|
143
143
|
};
|
|
@@ -145,7 +145,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
145
145
|
quantity: number;
|
|
146
146
|
value: {
|
|
147
147
|
amount: number;
|
|
148
|
-
currency: import("
|
|
148
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
149
149
|
};
|
|
150
150
|
customsItemId?: string | undefined;
|
|
151
151
|
harmonizedTariffCode?: string | undefined;
|
|
@@ -155,7 +155,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
155
155
|
quantity: number;
|
|
156
156
|
value: {
|
|
157
157
|
amount: number;
|
|
158
|
-
currency: import("
|
|
158
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
159
159
|
};
|
|
160
160
|
customsItemId?: string | undefined;
|
|
161
161
|
countryOfOrigin: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "CA" | "KH" | "CM" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FM" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "VI" | "UM" | "US" | "UY" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
|
@@ -169,7 +169,7 @@ export declare const getCustomsItemFormSchema: (shipToCountry?: string) => z.Zod
|
|
|
169
169
|
valueQuantity: {
|
|
170
170
|
value: {
|
|
171
171
|
amount: number;
|
|
172
|
-
currency: import("
|
|
172
|
+
currency: import("dist/shipengine-api/src").Currency;
|
|
173
173
|
};
|
|
174
174
|
quantity: number;
|
|
175
175
|
};
|
package/{components → src/components}/templates/edit-billing-form/edit-billing-form.styles.d.ts
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"boldLink" | "container" | "heading" | "subtitle", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"boldLink" | "container" | "heading" | "subtitle", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -16,6 +16,7 @@ export * from "./suspend-sales-order";
|
|
|
16
16
|
export * from "./shipment-form";
|
|
17
17
|
export * from "./shipment";
|
|
18
18
|
export * from "./suspend-shipment";
|
|
19
|
+
export * from "./wallet-history";
|
|
19
20
|
export * from "./warehouse-form";
|
|
20
21
|
export * from "./void-label";
|
|
21
22
|
export * from "./wallet-form";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"container" | "description" | "header", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"container" | "description" | "header", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -2,8 +2,9 @@ import { CarrierConnection, CodedError } from "@shipengine/api";
|
|
|
2
2
|
import { ConnectedCarrierMetadata } from "../../../elements/components/list-carriers/hooks/use-list-connected-carriers";
|
|
3
3
|
export type ListCarriersProps = {
|
|
4
4
|
carriers?: ConnectedCarrierMetadata[];
|
|
5
|
+
errors?: CodedError[] | null;
|
|
5
6
|
isLoading?: boolean;
|
|
6
7
|
onRegisterCarrier: (payload: CarrierConnection) => Promise<void>;
|
|
7
8
|
registerCarrierErrors?: CodedError[] | null;
|
|
8
9
|
};
|
|
9
|
-
export declare const ListCarriers: ({ carriers, isLoading, onRegisterCarrier, registerCarrierErrors, }: ListCarriersProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const ListCarriers: ({ carriers, errors, isLoading, onRegisterCarrier, registerCarrierErrors, }: ListCarriersProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: Record<"carriersList" | "skeletonLogoContainer" | "skeletonRow", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
package/{components → src/components}/templates/list-carriers-row/list-carriers-row.styles.d.ts
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getStyles: (isConnected?: boolean) => Record<"connectButton" | "container" | "logoContainer" | "rowContainer", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const getStyles: (isConnected?: boolean) => Record<"connectButton" | "container" | "logoContainer" | "rowContainer", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"container" | "subtitle" | "headingContainer", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"container" | "subtitle" | "headingContainer", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|
package/{components → src/components}/templates/manage-warehouses/manage-warehouse.styles.d.ts
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const styles: Record<"cardSpacing" | "header" | "well", import("@emotion/serialize").Interpolation<import("@packlink/
|
|
1
|
+
export declare const styles: Record<"cardSpacing" | "header" | "well", import("@emotion/serialize").Interpolation<import("@packlink/giger-theme/dist/lib/Theme").Theme>>;
|