@shipengine/elements 0.38.0 → 1.0.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 +4520 -4443
- package/index.js +4519 -4446
- package/package.json +11 -14
- package/src/components/add-funds-form/add-funds-form.styles.d.ts +3 -3
- package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +1 -1
- package/src/components/carrier-balance/carrier-balance.styles.d.ts +1 -1
- package/src/components/carrier-logo/carrier-logo.d.ts +11 -0
- package/src/components/carrier-logo/index.d.ts +1 -0
- package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
- package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +4 -4
- package/src/components/date-range-select/date-range-select.styles.d.ts +1 -1
- package/src/components/disclosure/disclosure.styles.d.ts +3 -3
- package/src/components/display-term/display-term.d.ts +5 -0
- package/src/components/display-term/display-term.styles.d.ts +23 -0
- package/src/components/display-term/index.d.ts +1 -0
- package/src/components/error-display/error-display.styles.d.ts +3 -3
- package/src/components/field/checkbox-input/checkbox-input.d.ts +1 -1
- package/src/components/field/credit-card-input/credit-card-input.d.ts +1 -1
- package/src/components/field/date-picker/date-picker.styles.d.ts +1 -1
- package/src/components/field/expiration-input/expiration-input.d.ts +1 -1
- package/src/components/field/field.styles.d.ts +1 -1
- package/src/components/field/money-input/money-input.d.ts +1 -1
- package/src/components/field/number-input/number-input.d.ts +1 -1
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.styles.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +1 -1
- package/src/components/field/rate-select/rate-select.styles.d.ts +1 -1
- package/src/components/field/select-auto-complete/select-auto-complete.d.ts +1 -1
- package/src/components/field/submit-button/submit-button.d.ts +1 -1
- package/src/components/field/switch/switch.d.ts +1 -1
- package/src/components/field/text-area/text-area.d.ts +1 -1
- package/src/components/field/text-input/text-input.d.ts +1 -1
- package/src/components/fund-and-purchase/fund-and-purchase.styles.d.ts +3 -3
- package/src/components/history/history-card/history-card.styles.d.ts +8 -8
- package/src/components/history/history-card-extension/history-card-extension.styles.d.ts +3 -3
- package/src/components/index.d.ts +2 -0
- package/src/components/inline-label/inline-label.d.ts +1 -1
- package/src/components/inline-label/inline-label.styles.d.ts +1 -1
- package/src/components/items-breakdown/items-breakdown.styles.d.ts +6 -6
- package/src/components/label/label.d.ts +1 -1
- package/src/components/label/label.styles.d.ts +1 -1
- package/src/components/label-layout/label-layout.styles.d.ts +12 -12
- package/src/components/link-action/link-action.d.ts +2 -2
- package/src/components/loader/loader.d.ts +1 -1
- package/src/components/loader/loader.styles.d.ts +11 -0
- package/src/components/preset-descriptor/preset-descriptor.styles.d.ts +1 -1
- package/src/components/save-status/save-status-styles.d.ts +4 -4
- package/src/components/section/section.d.ts +1 -1
- package/src/components/section/section.styles.d.ts +4 -4
- package/src/components/settings-card/settings-card.styles.d.ts +5 -5
- package/src/components/spacer/spacer.d.ts +1 -1
- package/src/components/templates/account-settings/account-settings.d.ts +0 -1
- package/src/components/templates/address-form/address-fields.styles.d.ts +1 -1
- package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +16 -16
- package/src/components/templates/display-carrier-terms/display-carrier-terms.d.ts +2 -2
- package/src/components/templates/display-carrier-terms/display-carrier-terms.styles.d.ts +25 -0
- package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +3 -3
- package/src/components/templates/index.d.ts +2 -6
- package/src/components/templates/label/label.styles.d.ts +2 -2
- package/src/components/templates/list-carriers/list-carriers.d.ts +2 -2
- package/src/components/templates/list-carriers/list-carriers.styles.d.ts +3 -3
- package/src/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +3 -3
- package/src/components/templates/manage-warehouses/manage-warehouse.styles.d.ts +2 -2
- package/src/components/templates/rate-form/rate-form.d.ts +2 -2
- package/src/components/templates/rate-form/rate-form.styles.d.ts +1 -1
- package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
- package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
- package/src/components/templates/wallet-card/wallet-card.styles.d.ts +1 -1
- package/src/components/templates/wallet-form/wallet-form.styles.d.ts +1 -1
- package/src/components/templates/warehouse-form/warehouse-form.d.ts +2 -2
- package/src/elements/account-settings/account-settings.d.ts +35 -38
- package/src/elements/configure-shipment/hooks/use-rates-form.d.ts +0 -1
- package/src/elements/configure-shipment/hooks/use-request-preferred-rates.d.ts +1 -1
- package/src/elements/configure-shipment/hooks/use-request-rates.d.ts +1 -1
- package/src/elements/index.d.ts +0 -1
- package/src/elements/list-carriers/hooks/use-list-connected-carriers.d.ts +1 -1
- package/src/elements/list-carriers/list-carriers.d.ts +2 -2
- package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +1 -1
- package/src/elements/purchase-label/purchase-label.d.ts +37 -10
- package/src/elements/view-shipment/view-shipment.d.ts +34 -11
- package/src/elements/void-label/void-label.d.ts +45 -36
- package/src/features/wallet-history/wallet-history.styles.d.ts +11 -11
- package/src/hooks/use-get-or-create-shipment.d.ts +1 -1
- package/src/index.d.ts +1 -0
- package/src/locales/en/index.d.ts +34 -7
- package/src/testing/extensions/queries/by-icon-name.d.ts +1 -1
- package/src/testing/extensions/queries/index.d.ts +6 -6
- package/src/testing/test-utils.d.ts +1 -2
- package/src/types/index.d.ts +1 -0
- package/src/types/patch.d.ts +13 -0
- package/src/utilities/assertions.d.ts +2 -0
- package/src/utilities/feature-flags.d.ts +1 -1
- package/src/utilities/index.d.ts +1 -0
- package/src/utilities/styles.d.ts +1 -1
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +10 -0
- package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +4 -0
- package/src/workflows/onboarding/components/account-registration-form/index.d.ts +1 -0
- package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +5 -0
- package/src/{components/templates/landing-page/landing-page.styles.d.ts → workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts} +1 -1
- package/src/workflows/onboarding/components/account-registration-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +7 -0
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +241 -0
- package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.d.ts +4 -2
- package/src/{components/templates → workflows/onboarding/components}/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -1
- package/src/workflows/onboarding/components/carrier-recovery-form/index.d.ts +1 -0
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +9 -0
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts +18 -0
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +25 -0
- package/src/workflows/onboarding/components/onboarding-wizard/index.d.ts +1 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +27 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +10 -0
- package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +2 -0
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +7 -0
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +9 -0
- package/src/workflows/onboarding/components/step-header/index.d.ts +1 -0
- package/src/workflows/onboarding/components/step-header/step-header.d.ts +5 -0
- package/src/workflows/onboarding/components/terms-agreement-form/index.d.ts +1 -0
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form-schema.d.ts +10 -0
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +7 -0
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +24 -0
- package/src/workflows/onboarding/components/terms-agreement-step/index.d.ts +1 -0
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +8 -0
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +17 -0
- package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +18 -0
- package/src/{elements → workflows}/onboarding/onboarding.d.ts +55 -48
- package/src/components/templates/carrier-recovery-form/carrier-recovery-form-schema.d.ts +0 -241
- package/src/components/templates/carrier-recovery-form/index.d.ts +0 -2
- package/src/components/templates/carrier-terms-form/carrier-terms-form-schema.d.ts +0 -10
- package/src/components/templates/carrier-terms-form/carrier-terms-form.d.ts +0 -6
- package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +0 -65
- package/src/components/templates/carrier-terms-form/index.d.ts +0 -1
- package/src/components/templates/landing-page/index.d.ts +0 -1
- package/src/components/templates/landing-page/landing-page-form-schema.d.ts +0 -10
- package/src/components/templates/landing-page/landing-page-form.d.ts +0 -4
- package/src/components/templates/landing-page/landing-page.d.ts +0 -5
- package/src/components/templates/onboarding/onboarding.d.ts +0 -42
- package/src/components/templates/onboarding/onboarding.styles.d.ts +0 -31
- /package/src/{components/templates/onboarding → workflows}/index.d.ts +0 -0
- /package/src/{components/templates → workflows/onboarding/components}/completion-page/completion-page.d.ts +0 -0
- /package/src/{components/templates → workflows/onboarding/components}/completion-page/index.d.ts +0 -0
- /package/src/{elements → workflows}/onboarding/index.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Theme } from "@
|
|
2
|
+
import { Theme } from "@shipengine/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;
|
|
@@ -16,18 +16,18 @@ export declare const styles: {
|
|
|
16
16
|
strokeDasharray: string;
|
|
17
17
|
strokeDashoffset: string;
|
|
18
18
|
};
|
|
19
|
-
container: (theme: import("@
|
|
19
|
+
container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
20
20
|
alignItems: "center";
|
|
21
21
|
animation: `${string} 2.5s ease-in-out forwards`;
|
|
22
22
|
display: "flex";
|
|
23
23
|
justifyContent: "flex-start";
|
|
24
24
|
padding: string;
|
|
25
25
|
};
|
|
26
|
-
saved: (theme: import("@
|
|
26
|
+
saved: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
27
27
|
color: string;
|
|
28
28
|
marginLeft: string;
|
|
29
29
|
};
|
|
30
|
-
saving: (theme: import("@
|
|
30
|
+
saving: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
31
31
|
marginLeft: string;
|
|
32
32
|
};
|
|
33
33
|
savingContainer: () => {
|
|
@@ -36,7 +36,7 @@ export declare const styles: {
|
|
|
36
36
|
display: "flex";
|
|
37
37
|
justifyContent: "flex-start";
|
|
38
38
|
};
|
|
39
|
-
savingFailed: (theme: import("@
|
|
39
|
+
savingFailed: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
40
40
|
color: "#EE3B3F";
|
|
41
41
|
marginLeft: string;
|
|
42
42
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
icon: (theme: import("@
|
|
2
|
+
icon: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
color: string;
|
|
4
4
|
marginRight: number;
|
|
5
5
|
};
|
|
6
6
|
rightContentWrapper: {
|
|
7
7
|
marginLeft: string;
|
|
8
8
|
};
|
|
9
|
-
section: (theme: import("@
|
|
9
|
+
section: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
10
10
|
boxSizing: "border-box";
|
|
11
11
|
padding: string;
|
|
12
12
|
width: string;
|
|
13
13
|
};
|
|
14
|
-
summary: (theme: import("@
|
|
14
|
+
summary: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
15
15
|
"&::-webkit-details-marker": {
|
|
16
16
|
display: "none";
|
|
17
17
|
};
|
|
@@ -24,7 +24,7 @@ export declare const styles: {
|
|
|
24
24
|
padding: string;
|
|
25
25
|
width: string;
|
|
26
26
|
};
|
|
27
|
-
summaryWrapper: (theme: import("@
|
|
27
|
+
summaryWrapper: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
28
28
|
alignItems: "center";
|
|
29
29
|
color: string;
|
|
30
30
|
display: "flex";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
body: (theme: import("@
|
|
2
|
+
body: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
borderTop: string;
|
|
4
4
|
color: string;
|
|
5
5
|
lineHeight: number;
|
|
@@ -8,13 +8,13 @@ export declare const styles: {
|
|
|
8
8
|
textTransform: "uppercase";
|
|
9
9
|
width: string;
|
|
10
10
|
};
|
|
11
|
-
container: (theme: import("@
|
|
11
|
+
container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
12
|
border: string;
|
|
13
13
|
borderRadius: string;
|
|
14
14
|
boxSizing: "border-box";
|
|
15
15
|
width: string;
|
|
16
16
|
};
|
|
17
|
-
header: (theme: import("@
|
|
17
|
+
header: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
18
18
|
alignItems: "center";
|
|
19
19
|
borderRadius: number;
|
|
20
20
|
color: string;
|
|
@@ -23,13 +23,13 @@ export declare const styles: {
|
|
|
23
23
|
padding: number;
|
|
24
24
|
width: string;
|
|
25
25
|
};
|
|
26
|
-
title: (theme: import("@
|
|
26
|
+
title: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
27
27
|
alignItems: "center";
|
|
28
28
|
display: "flex";
|
|
29
29
|
gap: number;
|
|
30
30
|
justifyContent: "space-between";
|
|
31
31
|
};
|
|
32
|
-
verticalContainer: (theme: import("@
|
|
32
|
+
verticalContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
33
33
|
alignItems: "center";
|
|
34
34
|
border: string;
|
|
35
35
|
borderRadius: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
export type AccountSettingsProps = {
|
|
3
3
|
carriers?: SE.Carrier[];
|
|
4
|
-
onSaveSettings: () => void;
|
|
5
4
|
};
|
|
6
5
|
export declare const AccountSettings: ({ carriers, ...rest }: AccountSettingsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ export declare const styles: {
|
|
|
10
10
|
flex: string;
|
|
11
11
|
width: string;
|
|
12
12
|
};
|
|
13
|
-
stateZipWrapper: (theme: import("@
|
|
13
|
+
stateZipWrapper: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
14
14
|
"@media (max-width: 375px)": {
|
|
15
15
|
flexDirection: "column";
|
|
16
16
|
gap: number;
|
|
@@ -1,82 +1,82 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
actions: (theme: import("@
|
|
2
|
+
actions: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
background: string;
|
|
4
4
|
display: "flex";
|
|
5
5
|
flexDirection: "column";
|
|
6
6
|
};
|
|
7
|
-
actionsButton: (theme: import("@
|
|
7
|
+
actionsButton: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
8
8
|
padding: string;
|
|
9
9
|
verticalAlign: string;
|
|
10
10
|
};
|
|
11
|
-
actionsColumn: (theme: import("@
|
|
11
|
+
actionsColumn: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
12
|
padding: string;
|
|
13
13
|
width: number;
|
|
14
14
|
};
|
|
15
|
-
alertContainer: (theme: import("@
|
|
15
|
+
alertContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
16
16
|
color: string;
|
|
17
17
|
display: "flex";
|
|
18
18
|
};
|
|
19
|
-
alertText: (theme: import("@
|
|
19
|
+
alertText: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
20
20
|
color: "inherit";
|
|
21
21
|
fontWeight: number;
|
|
22
22
|
paddingLeft: string;
|
|
23
23
|
};
|
|
24
|
-
header: (theme: import("@
|
|
24
|
+
header: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
25
25
|
"& > tr > th": {
|
|
26
26
|
"&:after": {
|
|
27
27
|
borderBottom: string;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
headerActions: (theme: import("@
|
|
31
|
+
headerActions: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
32
32
|
backgroundColor: string;
|
|
33
33
|
padding: string;
|
|
34
34
|
width: number;
|
|
35
35
|
};
|
|
36
|
-
headerDescription: (theme: import("@
|
|
36
|
+
headerDescription: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
37
37
|
backgroundColor: string;
|
|
38
38
|
overflow: "visible";
|
|
39
39
|
padding: string;
|
|
40
40
|
};
|
|
41
|
-
headerEach: (theme: import("@
|
|
41
|
+
headerEach: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
42
42
|
backgroundColor: string;
|
|
43
43
|
padding: string;
|
|
44
44
|
textAlign: "right";
|
|
45
45
|
width: number;
|
|
46
46
|
};
|
|
47
|
-
headerQty: (theme: import("@
|
|
47
|
+
headerQty: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
48
48
|
backgroundColor: string;
|
|
49
49
|
padding: number;
|
|
50
50
|
textAlign: "right";
|
|
51
51
|
width: number;
|
|
52
52
|
};
|
|
53
|
-
headerTotal: (theme: import("@
|
|
53
|
+
headerTotal: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
54
54
|
backgroundColor: string;
|
|
55
55
|
padding: string;
|
|
56
56
|
textAlign: "right";
|
|
57
57
|
width: number;
|
|
58
58
|
};
|
|
59
|
-
hsCode: (theme: import("@
|
|
59
|
+
hsCode: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
60
60
|
padding: string;
|
|
61
61
|
whiteSpace: "normal";
|
|
62
62
|
wordBreak: "break-word";
|
|
63
63
|
};
|
|
64
|
-
itemEach: (theme: import("@
|
|
64
|
+
itemEach: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
65
65
|
padding: string;
|
|
66
66
|
textAlign: "right";
|
|
67
67
|
width: number;
|
|
68
68
|
};
|
|
69
|
-
itemInfoLeft: (theme: import("@
|
|
69
|
+
itemInfoLeft: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
70
70
|
overflow: "hidden";
|
|
71
71
|
padding: string;
|
|
72
72
|
};
|
|
73
|
-
itemQty: (theme: import("@
|
|
73
|
+
itemQty: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
74
74
|
overflow: "visible";
|
|
75
75
|
padding: string;
|
|
76
76
|
textAlign: "right";
|
|
77
77
|
width: number;
|
|
78
78
|
};
|
|
79
|
-
itemTotal: (theme: import("@
|
|
79
|
+
itemTotal: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
80
80
|
overflow: "visible";
|
|
81
81
|
padding: string;
|
|
82
82
|
textAlign: "right";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CarrierTerms } from "../../../types";
|
|
2
|
-
interface
|
|
2
|
+
interface DisplayCarrierTermsProps {
|
|
3
3
|
carrierTerms: CarrierTerms;
|
|
4
4
|
}
|
|
5
|
-
export declare const DisplayCarrierTerms: (
|
|
5
|
+
export declare const DisplayCarrierTerms: (props: DisplayCarrierTermsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
link: {
|
|
3
|
+
"&:visited": {
|
|
4
|
+
color: "#006fbb";
|
|
5
|
+
};
|
|
6
|
+
border: string;
|
|
7
|
+
};
|
|
8
|
+
links: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
9
|
+
border: string;
|
|
10
|
+
display: "flex";
|
|
11
|
+
flexDirection: "column";
|
|
12
|
+
gap: number;
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
};
|
|
16
|
+
listItems: {
|
|
17
|
+
border: string;
|
|
18
|
+
listStyle: "none";
|
|
19
|
+
};
|
|
20
|
+
terms: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
21
|
+
display: "flex";
|
|
22
|
+
flexDirection: "column";
|
|
23
|
+
gap: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
boldLink: (theme: import("@
|
|
2
|
+
boldLink: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
fontWeight: number;
|
|
4
4
|
};
|
|
5
|
-
container: (theme: import("@
|
|
5
|
+
container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
6
|
backgroundColor: string;
|
|
7
7
|
rowGap: string;
|
|
8
8
|
};
|
|
9
9
|
heading: {
|
|
10
10
|
textAlign: "center";
|
|
11
11
|
};
|
|
12
|
-
subtitle: (theme: import("@
|
|
12
|
+
subtitle: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
13
13
|
paddingBottom: number;
|
|
14
14
|
textAlign: "left";
|
|
15
15
|
};
|
|
@@ -3,15 +3,13 @@ export * from "./add-carrier-form";
|
|
|
3
3
|
export * from "./address-display";
|
|
4
4
|
export * from "./address-form";
|
|
5
5
|
export * from "./address-parser";
|
|
6
|
+
export * from "../address-preference-context";
|
|
6
7
|
export * from "./address-preference-display";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./carrier-terms-form";
|
|
8
|
+
export * from "./address-preference-select";
|
|
9
9
|
export * from "./customs-item-form";
|
|
10
10
|
export * from "./label";
|
|
11
|
-
export * from "./landing-page";
|
|
12
11
|
export * from "./list-carriers";
|
|
13
12
|
export * from "./manage-warehouses";
|
|
14
|
-
export * from "./onboarding";
|
|
15
13
|
export * from "./rate-form";
|
|
16
14
|
export * from "./suspend-sales-order";
|
|
17
15
|
export * from "./shipment-form";
|
|
@@ -19,5 +17,3 @@ export * from "./shipment";
|
|
|
19
17
|
export * from "./suspend-shipment";
|
|
20
18
|
export * from "./warehouse-form";
|
|
21
19
|
export * from "./wallet-form";
|
|
22
|
-
export * from "../address-preference-context";
|
|
23
|
-
export * from "./address-preference-select";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
trackingNumber: (theme: import("@
|
|
2
|
+
trackingNumber: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
alignItems: "center";
|
|
4
4
|
display: "flex";
|
|
5
5
|
};
|
|
6
|
-
truncatedTrackingNumber: (theme: import("@
|
|
6
|
+
truncatedTrackingNumber: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
7
|
overflow: "hidden";
|
|
8
8
|
textOverflow: "ellipsis";
|
|
9
9
|
whiteSpace: "nowrap";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CarrierConnection, CodedError } from "@shipengine/alchemy";
|
|
2
2
|
import { ConnectedCarrierMetadata } from "../../../elements/list-carriers/hooks/use-list-connected-carriers";
|
|
3
3
|
export type ListCarriersFeatures = {
|
|
4
|
-
carriers
|
|
5
|
-
enabledCarriers:
|
|
4
|
+
carriers: {
|
|
5
|
+
enabledCarriers: ("stamps_com" | "ups_walleted" | "ups" | "dhl_express_walleted" | "dhl_express_worldwide" | "hermes" | "yodel_walleted")[];
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export type ListCarriersProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
carriersList: (theme: import("@
|
|
2
|
+
carriersList: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
"& > li:not(:last-of-type)": {
|
|
4
4
|
borderBottom: string;
|
|
5
5
|
};
|
|
@@ -7,12 +7,12 @@ export declare const styles: {
|
|
|
7
7
|
borderRadius: string;
|
|
8
8
|
listStyle: "none";
|
|
9
9
|
};
|
|
10
|
-
skeletonLogoContainer: (theme: import("@
|
|
10
|
+
skeletonLogoContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
11
11
|
alignItems: "center";
|
|
12
12
|
columnGap: string;
|
|
13
13
|
display: "flex";
|
|
14
14
|
};
|
|
15
|
-
skeletonRow: (theme: import("@
|
|
15
|
+
skeletonRow: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
16
16
|
"&:not(:last-of-type)": {
|
|
17
17
|
borderBottom: string;
|
|
18
18
|
};
|
|
@@ -3,18 +3,18 @@ export declare const styles: {
|
|
|
3
3
|
display: "flex";
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
};
|
|
6
|
-
getConnectButton: (isConnected?: boolean) => (theme: import("@
|
|
6
|
+
getConnectButton: (isConnected?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
7
|
backgroundColor?: string | undefined;
|
|
8
8
|
borderRadius?: string | undefined;
|
|
9
9
|
color?: string | undefined;
|
|
10
10
|
padding: string;
|
|
11
11
|
};
|
|
12
|
-
logoContainer: (theme: import("@
|
|
12
|
+
logoContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
13
13
|
alignItems: "center";
|
|
14
14
|
columnGap: string;
|
|
15
15
|
display: "flex";
|
|
16
16
|
};
|
|
17
|
-
rowContainer: (theme: import("@
|
|
17
|
+
rowContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
18
18
|
alignItems: "center";
|
|
19
19
|
display: "flex";
|
|
20
20
|
justifyContent: "space-between";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
cardSpacing: (theme: import("@
|
|
2
|
+
cardSpacing: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
display: "flex";
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
gap: number;
|
|
@@ -7,7 +7,7 @@ export declare const styles: {
|
|
|
7
7
|
header: {
|
|
8
8
|
textAlign: "left";
|
|
9
9
|
};
|
|
10
|
-
well: (theme: import("@
|
|
10
|
+
well: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
11
11
|
backgroundColor: string;
|
|
12
12
|
padding: number;
|
|
13
13
|
};
|
|
@@ -5,6 +5,7 @@ export type RateFormProps = {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
displayableRateErrors?: string[];
|
|
7
7
|
displayableSaveRateErrors?: string[];
|
|
8
|
+
displayableShipmentErrors?: string[];
|
|
8
9
|
errors?: SE.CodedError[];
|
|
9
10
|
features?: ConfigureShipmentFeatures;
|
|
10
11
|
isLoading?: boolean;
|
|
@@ -14,10 +15,9 @@ export type RateFormProps = {
|
|
|
14
15
|
onSave?: (rate: Pick<SE.Rate, "carrierId" | "serviceCode">) => Promise<void> | void;
|
|
15
16
|
onSelectRate?: (rateId: string) => void;
|
|
16
17
|
onSubmit?: (rateId: string) => Promise<void> | void;
|
|
17
|
-
outOfBandDisplayableErrors?: string[];
|
|
18
18
|
preferredRates?: PreferredRatesResponse;
|
|
19
19
|
preferredServiceCodes?: string[];
|
|
20
20
|
rates?: SE.Rate[];
|
|
21
21
|
shipment?: SE.SalesOrderShipment;
|
|
22
22
|
};
|
|
23
|
-
export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, onSave, onSelectRate, onSubmit,
|
|
23
|
+
export declare const RateForm: ({ carriers, disabled, displayableRateErrors, displayableSaveRateErrors, errors, features, isLoading, labelErrors, labels, labelsLoading, onSave, onSelectRate, onSubmit, displayableShipmentErrors, preferredRates, preferredServiceCodes, rates, shipment, }: RateFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WithChildrenCommonProps } from "@packlink/giger";
|
|
2
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
+
import { WithChildrenCommonProps } from "@shipengine/giger";
|
|
3
3
|
export type SuspendSalesOrderProps = WithChildrenCommonProps<{
|
|
4
4
|
errors?: SE.CodedError[];
|
|
5
5
|
isLoading?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WithChildrenCommonProps } from "@packlink/giger";
|
|
2
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
+
import { WithChildrenCommonProps } from "@shipengine/giger";
|
|
3
3
|
export type SuspendShipmentProps = WithChildrenCommonProps<{
|
|
4
4
|
errors?: SE.CodedError[];
|
|
5
5
|
isLoading?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
2
|
import { WarehousePayload } from "../manage-warehouses";
|
|
3
3
|
export type WarehouseFormProps = {
|
|
4
|
-
isOnboarding?: boolean;
|
|
5
4
|
onCancel?: () => void;
|
|
6
5
|
onDelete?: () => void;
|
|
7
6
|
onSubmit: (payload: WarehousePayload) => void;
|
|
7
|
+
shouldForceDefault?: boolean;
|
|
8
8
|
submitButtonTitle: string;
|
|
9
9
|
warehouse?: SE.Warehouse | Pick<SE.Warehouse, "name" | "isDefault" | "originAddress" | "returnAddress">;
|
|
10
10
|
};
|
|
11
|
-
export declare const WarehouseForm: ({
|
|
11
|
+
export declare const WarehouseForm: ({ onCancel, onDelete, onSubmit, submitButtonTitle, warehouse, shouldForceDefault, }: WarehouseFormProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|