@shipengine/elements 0.38.0 → 0.39.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 +65 -61
- package/index.js +65 -61
- package/package.json +6 -6
- 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/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/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/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/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/carrier-recovery-form/carrier-recovery-form.styles.d.ts +1 -1
- package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +6 -6
- package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +16 -16
- package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +3 -3
- package/src/components/templates/label/label.styles.d.ts +2 -2
- package/src/components/templates/landing-page/landing-page.styles.d.ts +1 -1
- 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/onboarding/onboarding.styles.d.ts +4 -4
- 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/elements/account-settings/account-settings.d.ts +1 -9
- 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/list-carriers/hooks/use-list-connected-carriers.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +1 -1
- package/src/elements/view-shipment/view-shipment.d.ts +7 -1
- 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/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/utilities/styles.d.ts +1 -1
|
@@ -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 getRateCardFirstLineSize: (theme: Theme) => string;
|
|
4
4
|
export declare const getArticleStyles: (theme: Theme) => SerializedStyles;
|
|
5
5
|
export declare const getArticleNonSelectedStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISelectAutocomplete as NativeSelectAutoCompleteProps } from "@
|
|
1
|
+
import { ISelectAutocomplete as NativeSelectAutoCompleteProps } from "@shipengine/giger";
|
|
2
2
|
import { ControlledField } from "../create-field-controller";
|
|
3
3
|
type SelectAutoCompleteProps = {
|
|
4
4
|
onChange?: (value?: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Control } from "react-hook-form";
|
|
3
|
-
import { IButtonProps } from "@
|
|
3
|
+
import { IButtonProps } from "@shipengine/giger";
|
|
4
4
|
export type SubmitButtonProps = {
|
|
5
5
|
alwaysRequireValidity?: boolean;
|
|
6
6
|
control: Control<any, any>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TextareaProps as NativeTextAreaProps } from "@
|
|
1
|
+
import { TextareaProps as NativeTextAreaProps } from "@shipengine/giger";
|
|
2
2
|
import { ControlledField } from "../create-field-controller";
|
|
3
3
|
export declare const TextArea: ControlledField<NativeTextAreaProps>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
balanceText: (theme: import("@
|
|
2
|
+
balanceText: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
color: string;
|
|
4
4
|
};
|
|
5
|
-
container: (theme: import("@
|
|
5
|
+
container: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
6
|
padding: string;
|
|
7
7
|
};
|
|
8
|
-
getFormExtension: (isCustomAmount?: boolean) => (theme: import("@
|
|
8
|
+
getFormExtension: (isCustomAmount?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
9
9
|
backgroundColor: string;
|
|
10
10
|
display: "flex";
|
|
11
11
|
flexDirection: "column";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
balanceTypography: (theme: import("@
|
|
2
|
+
balanceTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
color: string;
|
|
4
4
|
marginLeft: string;
|
|
5
5
|
};
|
|
6
|
-
cardColumn: (theme: import("@
|
|
6
|
+
cardColumn: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
7
|
"&:last-child": {
|
|
8
8
|
alignItems: "flex-end";
|
|
9
9
|
};
|
|
@@ -13,28 +13,28 @@ export declare const styles: {
|
|
|
13
13
|
justifyContent: "space-between";
|
|
14
14
|
rowGap: string;
|
|
15
15
|
};
|
|
16
|
-
cardContainer: (theme: import("@
|
|
16
|
+
cardContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
17
17
|
display: "flex";
|
|
18
18
|
justifyContent: "space-between";
|
|
19
19
|
};
|
|
20
|
-
carrierTypography: (theme: import("@
|
|
20
|
+
carrierTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
21
21
|
color: string;
|
|
22
22
|
fontSize: string;
|
|
23
23
|
fontWeight: number;
|
|
24
24
|
};
|
|
25
|
-
dateTypography: (theme: import("@
|
|
25
|
+
dateTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
26
26
|
color: string;
|
|
27
27
|
};
|
|
28
|
-
getAmountTypography: (isReload?: boolean) => (theme: import("@
|
|
28
|
+
getAmountTypography: (isReload?: boolean) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
29
29
|
color: string;
|
|
30
30
|
fontSize: string;
|
|
31
31
|
marginLeft: string;
|
|
32
32
|
};
|
|
33
|
-
getTransactionTypeTypography: (transactionType?: string) => (theme: import("@
|
|
33
|
+
getTransactionTypeTypography: (transactionType?: string) => (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
34
34
|
color: string;
|
|
35
35
|
textTransform: "capitalize";
|
|
36
36
|
};
|
|
37
|
-
transactionDetails: (theme: import("@
|
|
37
|
+
transactionDetails: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
38
38
|
alignItems: "center";
|
|
39
39
|
columnGap: number;
|
|
40
40
|
display: "flex";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
chevronTypography: (theme: import("@
|
|
2
|
+
chevronTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
color: string;
|
|
4
4
|
};
|
|
5
5
|
detailsBottomContainer: {
|
|
@@ -10,7 +10,7 @@ export declare const styles: {
|
|
|
10
10
|
display: "flex";
|
|
11
11
|
justifyContent: "space-between";
|
|
12
12
|
};
|
|
13
|
-
detailsTypography: (theme: import("@
|
|
13
|
+
detailsTypography: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
14
14
|
color: string;
|
|
15
15
|
};
|
|
16
16
|
headingContainer: {
|
|
@@ -18,7 +18,7 @@ export declare const styles: {
|
|
|
18
18
|
display: "flex";
|
|
19
19
|
justifyContent: "space-between";
|
|
20
20
|
};
|
|
21
|
-
loadingStateContainer: (theme: import("@
|
|
21
|
+
loadingStateContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
22
22
|
display: "flex";
|
|
23
23
|
flexDirection: "column";
|
|
24
24
|
rowGap: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const styles: (isLabelRight?: boolean) => {
|
|
2
|
-
inlineContainer: (theme: import("@
|
|
2
|
+
inlineContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
alignItems: "center";
|
|
4
4
|
display: "flex";
|
|
5
5
|
flexDirection: "row-reverse" | "row";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
itemDescription: (theme: import("@
|
|
2
|
+
itemDescription: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
display: "flex";
|
|
4
4
|
flexDirection: "column";
|
|
5
5
|
padding: string;
|
|
6
6
|
};
|
|
7
|
-
itemDetail: (theme: import("@
|
|
7
|
+
itemDetail: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
8
8
|
padding: string;
|
|
9
9
|
verticalAlign: string;
|
|
10
10
|
};
|
|
11
|
-
itemName: (theme: import("@
|
|
12
|
-
"-webkit-box-orient": string;
|
|
13
|
-
"-webkit-line-clamp": string;
|
|
11
|
+
itemName: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
14
12
|
display: "-webkit-box";
|
|
15
13
|
lineHeight: string;
|
|
16
14
|
maxHeight: string;
|
|
17
15
|
overflow: "hidden";
|
|
18
16
|
textOverflow: "ellipsis";
|
|
17
|
+
WebkitBoxOrient: "vertical";
|
|
18
|
+
WebkitLineClamp: "3";
|
|
19
19
|
whiteSpace: "normal";
|
|
20
20
|
};
|
|
21
21
|
numericCell: () => {
|
|
22
22
|
textAlign: "right";
|
|
23
23
|
width: string;
|
|
24
24
|
};
|
|
25
|
-
tableWrapper: (theme: import("@
|
|
25
|
+
tableWrapper: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
26
26
|
"&& > div": {
|
|
27
27
|
boxShadow: "none";
|
|
28
28
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WithConditionalCSSProp } from "@emotion/react/types/jsx-namespace";
|
|
2
|
-
import { ITypographyProps, WithChildrenCommonProps } from "@
|
|
2
|
+
import { ITypographyProps, WithChildrenCommonProps } from "@shipengine/giger";
|
|
3
3
|
export type LabelProps = WithChildrenCommonProps<{
|
|
4
4
|
spacing?: number | "spread";
|
|
5
5
|
text: string;
|
|
@@ -3,7 +3,7 @@ export declare const styles: ({ variant, spacing, }: {
|
|
|
3
3
|
spacing: LabelProps["spacing"];
|
|
4
4
|
variant: LabelProps["variant"];
|
|
5
5
|
}) => {
|
|
6
|
-
labelContainer: (theme: import("@
|
|
6
|
+
labelContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
7
|
alignItems: "center";
|
|
8
8
|
display: "flex";
|
|
9
9
|
flexDirection: "column" | "row" | "row-reverse";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const styles: {
|
|
2
|
-
button: (theme: import("@
|
|
2
|
+
button: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
3
|
backgroundColor: "transparent";
|
|
4
4
|
padding: number;
|
|
5
5
|
};
|
|
6
|
-
buttonContainer: (theme: import("@
|
|
6
|
+
buttonContainer: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
7
|
alignItems: "center";
|
|
8
8
|
display: "flex";
|
|
9
9
|
justifyContent: "left";
|
|
10
10
|
};
|
|
11
|
-
icon: (theme: import("@
|
|
11
|
+
icon: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
12
|
color: string;
|
|
13
13
|
position: "absolute";
|
|
14
14
|
right: number;
|
|
15
15
|
top: number;
|
|
16
16
|
};
|
|
17
|
-
letter: (theme: import("@
|
|
17
|
+
letter: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
18
18
|
":hover": {
|
|
19
19
|
border: string;
|
|
20
20
|
};
|
|
@@ -29,7 +29,7 @@ export declare const styles: {
|
|
|
29
29
|
position: "relative";
|
|
30
30
|
width: number;
|
|
31
31
|
};
|
|
32
|
-
letterInner: (theme: import("@
|
|
32
|
+
letterInner: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
33
33
|
backgroundColor: "white";
|
|
34
34
|
border: string;
|
|
35
35
|
height: number;
|
|
@@ -37,12 +37,12 @@ export declare const styles: {
|
|
|
37
37
|
marginTop: number;
|
|
38
38
|
width: number;
|
|
39
39
|
};
|
|
40
|
-
letterLabel: (theme: import("@
|
|
40
|
+
letterLabel: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
41
41
|
backgroundColor: "#95C2E0";
|
|
42
42
|
height: number;
|
|
43
43
|
margin: number;
|
|
44
44
|
};
|
|
45
|
-
selectedLetter: (theme: import("@
|
|
45
|
+
selectedLetter: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
46
46
|
alignItems: "center";
|
|
47
47
|
backgroundColor: "#EAF6FF";
|
|
48
48
|
border: string;
|
|
@@ -57,7 +57,7 @@ export declare const styles: {
|
|
|
57
57
|
position: "relative";
|
|
58
58
|
width: number;
|
|
59
59
|
};
|
|
60
|
-
selectedThermal: (theme: import("@
|
|
60
|
+
selectedThermal: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
61
61
|
alignItems: "center";
|
|
62
62
|
backgroundColor: "#EAF6FF";
|
|
63
63
|
border: string;
|
|
@@ -70,7 +70,7 @@ export declare const styles: {
|
|
|
70
70
|
position: "relative";
|
|
71
71
|
width: number;
|
|
72
72
|
};
|
|
73
|
-
thermal: (theme: import("@
|
|
73
|
+
thermal: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
74
74
|
":hover": {
|
|
75
75
|
border: string;
|
|
76
76
|
};
|
|
@@ -84,12 +84,12 @@ export declare const styles: {
|
|
|
84
84
|
position: "relative";
|
|
85
85
|
width: number;
|
|
86
86
|
};
|
|
87
|
-
thermalIcon: (theme: import("@
|
|
87
|
+
thermalIcon: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
88
88
|
backgroundColor: "#95C2E0";
|
|
89
89
|
height: number;
|
|
90
90
|
width: number;
|
|
91
91
|
};
|
|
92
|
-
thermalInner: (theme: import("@
|
|
92
|
+
thermalInner: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
93
93
|
alignItems: "center";
|
|
94
94
|
display: "flex";
|
|
95
95
|
height: number;
|
|
@@ -98,7 +98,7 @@ export declare const styles: {
|
|
|
98
98
|
marginTop: number;
|
|
99
99
|
width: number;
|
|
100
100
|
};
|
|
101
|
-
thermalLabel: (theme: import("@
|
|
101
|
+
thermalLabel: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
102
102
|
backgroundColor: "#95C2E0";
|
|
103
103
|
height: number;
|
|
104
104
|
width: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ILinkProps } from "@
|
|
2
|
-
import { IconNames } from "@
|
|
1
|
+
import { ILinkProps } from "@shipengine/giger";
|
|
2
|
+
import { IconNames } from "@shipengine/giger-theme";
|
|
3
3
|
declare const icons: {
|
|
4
4
|
readonly add: IconNames.ADD;
|
|
5
5
|
readonly checkFilled: IconNames.CHECK_FILLED;
|
|
@@ -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;
|
|
@@ -5,7 +5,7 @@ export declare const styles: {
|
|
|
5
5
|
flexDirection: "column";
|
|
6
6
|
justifyContent: "center";
|
|
7
7
|
};
|
|
8
|
-
carrierLogos: (theme: import("@
|
|
8
|
+
carrierLogos: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
9
9
|
display: "flex";
|
|
10
10
|
flexDirection: "row";
|
|
11
11
|
gap: number;
|
|
@@ -24,7 +24,7 @@ export declare const styles: {
|
|
|
24
24
|
};
|
|
25
25
|
border: string;
|
|
26
26
|
};
|
|
27
|
-
links: (theme: import("@
|
|
27
|
+
links: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
28
28
|
border: string;
|
|
29
29
|
display: "flex";
|
|
30
30
|
flexDirection: "column";
|
|
@@ -36,12 +36,12 @@ export declare const styles: {
|
|
|
36
36
|
border: string;
|
|
37
37
|
listStyle: "none";
|
|
38
38
|
};
|
|
39
|
-
terms: (theme: import("@
|
|
39
|
+
terms: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
40
40
|
display: "flex";
|
|
41
41
|
flexDirection: "column";
|
|
42
42
|
gap: number;
|
|
43
43
|
};
|
|
44
|
-
termsForm: (theme: import("@
|
|
44
|
+
termsForm: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
45
45
|
alignItems: "center";
|
|
46
46
|
display: "flex";
|
|
47
47
|
flexDirection: "column";
|
|
@@ -49,7 +49,7 @@ export declare const styles: {
|
|
|
49
49
|
paddingTop: number;
|
|
50
50
|
textAlign: "center";
|
|
51
51
|
};
|
|
52
|
-
termsLink: (theme: import("@
|
|
52
|
+
termsLink: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
53
53
|
alignItems: "center";
|
|
54
54
|
display: "inline-flex";
|
|
55
55
|
fontWeight: number;
|
|
@@ -57,7 +57,7 @@ export declare const styles: {
|
|
|
57
57
|
termsList: {
|
|
58
58
|
listStyle: "none";
|
|
59
59
|
};
|
|
60
|
-
well: (theme: import("@
|
|
60
|
+
well: (theme: import("@shipengine/giger-theme/dist/lib/Theme").Theme) => {
|
|
61
61
|
backgroundColor: string;
|
|
62
62
|
marginBottom: number;
|
|
63
63
|
padding: 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";
|