@shipengine/elements 0.23.1 → 0.25.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 +594 -293
- package/index.js +599 -298
- package/package.json +4 -3
- package/src/components/add-funds-form/add-funds-form.styles.d.ts +21 -5
- package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +18 -1
- package/src/components/carrier-balance/carrier-balance.styles.d.ts +5 -1
- package/src/components/date-range-select/date-range-select.styles.d.ts +7 -1
- package/src/components/disclosure/disclosure.styles.d.ts +23 -1
- package/src/components/error-display/error-display.d.ts +1 -0
- package/src/components/error-display/error-display.styles.d.ts +19 -0
- package/src/components/error-display/index.d.ts +1 -0
- package/src/components/field/rate-card/rate-card.d.ts +1 -2
- package/src/components/field/rate-card/rate-card.styles.d.ts +0 -2
- package/src/components/field/switch/switch.d.ts +3 -2
- package/src/components/fund-and-purchase/fund-and-purchase.styles.d.ts +20 -1
- package/src/components/history/history-card/history-card.styles.d.ts +42 -1
- package/src/components/history/history-card-extension/history-card-extension.d.ts +1 -0
- package/src/components/history/history-card-extension/history-card-extension.styles.d.ts +26 -0
- package/src/components/history/history-card-extension/index.d.ts +1 -0
- package/src/components/history/index.d.ts +1 -0
- package/src/components/inline-label/inline-label.styles.d.ts +8 -1
- package/src/components/items-breakdown/items-breakdown.styles.d.ts +21 -1
- package/src/components/label/label.d.ts +1 -1
- package/src/components/label/label.styles.d.ts +12 -1
- package/src/components/label-layout/label-layout.styles.d.ts +106 -1
- package/src/components/link-action/link-action.d.ts +3 -1
- package/src/components/section/section.styles.d.ts +33 -1
- package/src/components/settings-card/settings-card.styles.d.ts +41 -1
- package/src/components/templates/address-form/address-fields.styles.d.ts +27 -1
- package/src/components/templates/carrier-recovery-form/carrier-recovery-form.styles.d.ts +11 -1
- package/src/components/templates/carrier-terms-form/carrier-terms-form.styles.d.ts +56 -1
- package/src/components/templates/customs-items-display/customs-items-display.styles.d.ts +60 -1
- package/src/components/templates/edit-billing-form/edit-billing-form.styles.d.ts +16 -1
- package/src/components/templates/label/label.styles.d.ts +12 -1
- package/src/components/templates/landing-page/landing-page.styles.d.ts +14 -1
- package/src/components/templates/list-carriers/list-carriers.styles.d.ts +25 -1
- package/src/components/templates/list-carriers-row/list-carriers-row.styles.d.ts +23 -1
- package/src/components/templates/manage-wallet/manage-wallet.styles.d.ts +21 -1
- package/src/components/templates/manage-warehouses/manage-warehouse.styles.d.ts +14 -1
- package/src/components/templates/onboarding/onboarding.styles.d.ts +21 -1
- package/src/components/templates/rate-form/rate-form.d.ts +3 -2
- package/src/components/templates/rate-form/rate-form.styles.d.ts +16 -1
- package/src/components/templates/wallet-card/wallet-card.styles.d.ts +11 -1
- package/src/components/templates/wallet-form/wallet-form.styles.d.ts +5 -1
- package/src/components/unit-settings/unit-settings.d.ts +1 -4
- package/src/elements/configure-shipment/hooks/use-rates-form.d.ts +2 -0
- package/src/elements/list-carriers/list-carriers.d.ts +10 -4
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +10 -4
- package/src/elements/onboarding/onboarding.d.ts +10 -4
- package/src/elements/purchase-label/purchase-label.d.ts +10 -4
- package/src/elements/view-shipment/view-shipment.d.ts +10 -4
- package/src/elements/void-label/void-label.d.ts +10 -4
- package/src/factories/shipengine/wallet-history.d.ts +52 -0
- package/src/features/wallet-history/wallet-history.styles.d.ts +81 -1
- package/src/hooks/options/use-rate-options.d.ts +1 -14
- package/src/locales/en/index.d.ts +10 -4
- package/src/mocks/account-settings/handlers.d.ts +8 -0
- package/src/mocks/account-settings/index.d.ts +1 -0
- package/src/mocks/index.d.ts +1 -0
- package/src/public-sdk.d.ts +38 -0
- package/src/utilities/rates.d.ts +1 -1
- package/src/utilities/styles.d.ts +27 -6
- package/vite.config.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipengine/elements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"readmeFile": "../../README.md",
|
|
@@ -29,10 +29,11 @@
|
|
|
29
29
|
"@hookform/resolvers": "2.9.1",
|
|
30
30
|
"@packlink/brands": "3.24.0",
|
|
31
31
|
"@packlink/giger-theme": "1.3.1",
|
|
32
|
-
"@shipengine/alchemy": "0.4.
|
|
33
|
-
"@shipengine/js-api": "0.7.
|
|
32
|
+
"@shipengine/alchemy": "0.4.14",
|
|
33
|
+
"@shipengine/js-api": "0.7.1",
|
|
34
34
|
"@storybook/manager-api": "7.0.0-rc.1",
|
|
35
35
|
"@storybook/theming": "7.0.0-rc.1",
|
|
36
|
+
"@vitejs/plugin-react": "1.3.2",
|
|
36
37
|
"axios": "0.26.1",
|
|
37
38
|
"card-validator": "8.1.1",
|
|
38
39
|
"copy-to-clipboard": "3.3.3",
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
chipList: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
gap: number;
|
|
4
|
+
};
|
|
5
|
+
fundsInput: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
|
+
maxWidth: number;
|
|
7
|
+
};
|
|
8
|
+
getChip: ({ isDisabled, isSelected }: {
|
|
9
|
+
isDisabled?: boolean | undefined;
|
|
10
|
+
isSelected?: boolean | undefined;
|
|
11
|
+
}) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => (false | {
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
color: string;
|
|
14
|
+
cursor?: undefined;
|
|
15
|
+
pointerEvents?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
cursor: "none";
|
|
19
|
+
pointerEvents: "none";
|
|
20
|
+
color?: undefined;
|
|
21
|
+
} | undefined)[];
|
|
4
22
|
};
|
|
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
|
-
export {};
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
import { Theme } from "@packlink/giger-theme";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const styles: {
|
|
3
|
+
edit: (theme: Theme) => {
|
|
4
|
+
color: string;
|
|
5
|
+
padding: string;
|
|
6
|
+
};
|
|
7
|
+
getForm: (showForm: boolean) => (theme: Theme) => {
|
|
8
|
+
backgroundColor: string;
|
|
9
|
+
display: "flex" | "none";
|
|
10
|
+
flexDirection: "column";
|
|
11
|
+
padding: number;
|
|
12
|
+
};
|
|
13
|
+
input: (theme: Theme) => {
|
|
14
|
+
width: number;
|
|
15
|
+
};
|
|
16
|
+
marginLeft: {
|
|
17
|
+
marginLeft: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
getBalanceText: (balance?: number) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
getDateRangeSelect: (fullWidth?: boolean) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
minWidth: number;
|
|
4
|
+
position: "relative";
|
|
5
|
+
width: string | number;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
@@ -1 +1,23 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
display: "flex";
|
|
4
|
+
gap: number;
|
|
5
|
+
};
|
|
6
|
+
content: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
|
+
[x: string]: string | number | {
|
|
8
|
+
maxWidth: string;
|
|
9
|
+
};
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
maxWidth: string;
|
|
12
|
+
padding: number;
|
|
13
|
+
};
|
|
14
|
+
icon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
toggle: {
|
|
18
|
+
backgroundColor: "transparent";
|
|
19
|
+
border: number;
|
|
20
|
+
cursor: "pointer";
|
|
21
|
+
padding: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ErrorDisplay: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
errorContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
alignItems: "center";
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
display: "flex";
|
|
6
|
+
flexDirection: "column";
|
|
7
|
+
paddingBottom: number;
|
|
8
|
+
paddingTop: number;
|
|
9
|
+
rowGap: number;
|
|
10
|
+
};
|
|
11
|
+
errorCTA: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
|
+
color: string;
|
|
13
|
+
fontSize: string;
|
|
14
|
+
lineHeight: string;
|
|
15
|
+
};
|
|
16
|
+
errorHeading: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
17
|
+
fontSize: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./error-display";
|
|
@@ -4,9 +4,8 @@ export type RateCardProps = Partial<RateOption> & WithCommonProps<{
|
|
|
4
4
|
isAcknowledged?: boolean;
|
|
5
5
|
onClick?: (rateId: string) => void;
|
|
6
6
|
onClickAcknowledgement?: (isAcknowledged: boolean) => void;
|
|
7
|
-
recommended?: boolean;
|
|
8
7
|
selected?: boolean;
|
|
9
8
|
voided?: boolean;
|
|
10
9
|
voidedAt?: string;
|
|
11
10
|
}>;
|
|
12
|
-
export declare const RateCard: ({ carrierCode, carrierFriendlyName, carrierNickname, children, className, confirmationAmount, deliveryDays, insuranceAmount, isAcknowledged, messages, onClick, onClickAcknowledgement, otherAmount, rateId,
|
|
11
|
+
export declare const RateCard: ({ carrierCode, carrierFriendlyName, carrierNickname, children, className, confirmationAmount, deliveryDays, insuranceAmount, isAcknowledged, messages, onClick, onClickAcknowledgement, otherAmount, rateId, requiresAcknowledgement, selected, serviceCode, packageType, serviceType, shippingAmount, taxAmount, voided, voidedAt, }: RateCardProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -5,11 +5,9 @@ export declare const getArticleStyles: (theme: Theme) => SerializedStyles;
|
|
|
5
5
|
export declare const getArticleNonSelectedStyles: (theme: Theme) => SerializedStyles;
|
|
6
6
|
export declare const getArticleSelectedStyles: (theme: Theme) => SerializedStyles;
|
|
7
7
|
export declare const getArticleVoidedStyles: () => SerializedStyles;
|
|
8
|
-
export declare const getArticleRecommendedStyles: (theme: Theme) => SerializedStyles;
|
|
9
8
|
export declare const getSectionStyles: (theme: Theme) => SerializedStyles;
|
|
10
9
|
export declare const getRateImageStyles: (theme: Theme) => SerializedStyles;
|
|
11
10
|
export declare const getRateInfoStyles: (theme: Theme) => SerializedStyles;
|
|
12
|
-
export declare const getRateRecommendedStyles: (theme: Theme) => SerializedStyles;
|
|
13
11
|
export declare const getServiceTypeStyles: (theme: Theme) => SerializedStyles;
|
|
14
12
|
export declare const getCarrierNameStyles: (theme: Theme) => SerializedStyles;
|
|
15
13
|
export declare const getDividerStyles: (theme: Theme) => SerializedStyles;
|
|
@@ -5,5 +5,6 @@ export type SwitchProps = {
|
|
|
5
5
|
defaultChecked?: boolean;
|
|
6
6
|
label?: React.ReactNode;
|
|
7
7
|
shouldUnmount?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
value?: boolean;
|
|
9
|
+
} & Omit<ISwitchProps, "children" | "value">;
|
|
10
|
+
export declare const Switch: ({ defaultChecked, children, shouldUnmount, label, onChange, value, ...props }: SwitchProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1,20 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
balanceText: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
|
+
padding: string;
|
|
7
|
+
};
|
|
8
|
+
getFormExtension: (isCustomAmount?: boolean) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
display: "flex";
|
|
11
|
+
flexDirection: "column";
|
|
12
|
+
gap: number;
|
|
13
|
+
marginTop: number;
|
|
14
|
+
padding: number;
|
|
15
|
+
paddingTop: number;
|
|
16
|
+
};
|
|
17
|
+
saveRateButton: {
|
|
18
|
+
whiteSpace: "nowrap";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1 +1,42 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
balanceTypography: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
color: string;
|
|
4
|
+
marginLeft: string;
|
|
5
|
+
};
|
|
6
|
+
cardColumn: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
|
+
"&:last-child": {
|
|
8
|
+
alignItems: "flex-end";
|
|
9
|
+
};
|
|
10
|
+
alignItems: "flex-start";
|
|
11
|
+
display: "flex";
|
|
12
|
+
flexDirection: "column";
|
|
13
|
+
justifyContent: "space-between";
|
|
14
|
+
rowGap: string;
|
|
15
|
+
};
|
|
16
|
+
cardContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
17
|
+
display: "flex";
|
|
18
|
+
justifyContent: "space-between";
|
|
19
|
+
};
|
|
20
|
+
carrierTypography: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
21
|
+
color: string;
|
|
22
|
+
fontSize: string;
|
|
23
|
+
fontWeight: number;
|
|
24
|
+
};
|
|
25
|
+
dateTypography: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
getAmountTypography: (isReload?: boolean) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
29
|
+
color: string;
|
|
30
|
+
fontSize: string;
|
|
31
|
+
marginLeft: string;
|
|
32
|
+
};
|
|
33
|
+
getTransactionTypeTypography: (transactionType?: string) => (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
34
|
+
color: string;
|
|
35
|
+
textTransform: "capitalize";
|
|
36
|
+
};
|
|
37
|
+
transactionDetails: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
38
|
+
alignItems: "center";
|
|
39
|
+
columnGap: number;
|
|
40
|
+
display: "flex";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HistoryCardExtension: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
chevronTypography: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
detailsBottomContainer: {
|
|
6
|
+
backgroundColor: "#f4f6f8";
|
|
7
|
+
padding: string;
|
|
8
|
+
};
|
|
9
|
+
detailsRow: {
|
|
10
|
+
display: "flex";
|
|
11
|
+
justifyContent: "space-between";
|
|
12
|
+
};
|
|
13
|
+
detailsTypography: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
headingContainer: {
|
|
17
|
+
alignItems: "center";
|
|
18
|
+
display: "flex";
|
|
19
|
+
justifyContent: "space-between";
|
|
20
|
+
};
|
|
21
|
+
loadingStateContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
22
|
+
display: "flex";
|
|
23
|
+
flexDirection: "column";
|
|
24
|
+
rowGap: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./history-card-extension";
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
export declare const styles: (isLabelRight?: boolean) =>
|
|
1
|
+
export declare const styles: (isLabelRight?: boolean) => {
|
|
2
|
+
inlineContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
alignItems: "center";
|
|
4
|
+
display: "flex";
|
|
5
|
+
flexDirection: "row-reverse" | "row";
|
|
6
|
+
gap: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1 +1,21 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
itemDetail: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
padding: string;
|
|
4
|
+
};
|
|
5
|
+
itemName: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
6
|
+
padding: string;
|
|
7
|
+
};
|
|
8
|
+
numericCell: () => {
|
|
9
|
+
textAlign: "right";
|
|
10
|
+
width: string;
|
|
11
|
+
};
|
|
12
|
+
tableWrapper: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
13
|
+
"&& > div": {
|
|
14
|
+
boxShadow: "none";
|
|
15
|
+
};
|
|
16
|
+
"&& > div table thead th": {
|
|
17
|
+
fontStyle: "italic";
|
|
18
|
+
fontWeight: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WithConditionalCSSProp } from "@emotion/react/types/jsx-namespace";
|
|
2
2
|
import { ITypographyProps, WithChildrenCommonProps } from "@packlink/giger";
|
|
3
3
|
export type LabelProps = WithChildrenCommonProps<{
|
|
4
|
-
spacing?: number;
|
|
4
|
+
spacing?: number | "spread";
|
|
5
5
|
text: string;
|
|
6
6
|
textProps?: WithConditionalCSSProp<ITypographyProps<"span">>;
|
|
7
7
|
variant?: LabelVariant;
|
|
@@ -1,2 +1,13 @@
|
|
|
1
1
|
import { LabelProps } from "./label";
|
|
2
|
-
export declare const styles: (
|
|
2
|
+
export declare const styles: ({ variant, spacing, }: {
|
|
3
|
+
spacing: LabelProps["spacing"];
|
|
4
|
+
variant: LabelProps["variant"];
|
|
5
|
+
}) => {
|
|
6
|
+
labelContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
|
+
alignItems: "center";
|
|
8
|
+
display: "flex";
|
|
9
|
+
flexDirection: "column" | "row" | "row-reverse";
|
|
10
|
+
gap: number;
|
|
11
|
+
justifyContent: "flex-start" | "space-between;";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1 +1,106 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
button: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
backgroundColor: "transparent";
|
|
4
|
+
padding: number;
|
|
5
|
+
};
|
|
6
|
+
buttonContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
7
|
+
alignItems: "center";
|
|
8
|
+
display: "flex";
|
|
9
|
+
justifyContent: "left";
|
|
10
|
+
};
|
|
11
|
+
icon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
|
+
color: string;
|
|
13
|
+
position: "absolute";
|
|
14
|
+
right: number;
|
|
15
|
+
top: number;
|
|
16
|
+
};
|
|
17
|
+
letter: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
18
|
+
":hover": {
|
|
19
|
+
border: string;
|
|
20
|
+
};
|
|
21
|
+
alignItems: "center";
|
|
22
|
+
border: string;
|
|
23
|
+
borderRadius: string;
|
|
24
|
+
cursor: "pointer";
|
|
25
|
+
display: "flex";
|
|
26
|
+
flexDirection: "column";
|
|
27
|
+
height: number;
|
|
28
|
+
marginRight: number;
|
|
29
|
+
position: "relative";
|
|
30
|
+
width: number;
|
|
31
|
+
};
|
|
32
|
+
letterInner: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
33
|
+
backgroundColor: "white";
|
|
34
|
+
border: string;
|
|
35
|
+
height: number;
|
|
36
|
+
marginBottom: number;
|
|
37
|
+
marginTop: number;
|
|
38
|
+
width: number;
|
|
39
|
+
};
|
|
40
|
+
letterLabel: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
41
|
+
backgroundColor: "#95C2E0";
|
|
42
|
+
height: number;
|
|
43
|
+
margin: number;
|
|
44
|
+
};
|
|
45
|
+
selectedLetter: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
46
|
+
alignItems: "center";
|
|
47
|
+
backgroundColor: "#EAF6FF";
|
|
48
|
+
border: string;
|
|
49
|
+
borderRadius: string;
|
|
50
|
+
boxShadow: `0 0 0 3px ${string}`;
|
|
51
|
+
boxSizing: "border-box";
|
|
52
|
+
cursor: "pointer";
|
|
53
|
+
display: "flex";
|
|
54
|
+
flexDirection: "column";
|
|
55
|
+
height: number;
|
|
56
|
+
marginRight: number;
|
|
57
|
+
position: "relative";
|
|
58
|
+
width: number;
|
|
59
|
+
};
|
|
60
|
+
selectedThermal: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
61
|
+
alignItems: "center";
|
|
62
|
+
backgroundColor: "#EAF6FF";
|
|
63
|
+
border: string;
|
|
64
|
+
borderRadius: string;
|
|
65
|
+
boxShadow: `0 0 0 3px ${string}`;
|
|
66
|
+
cursor: "pointer";
|
|
67
|
+
display: "flex";
|
|
68
|
+
flexDirection: "column";
|
|
69
|
+
height: number;
|
|
70
|
+
position: "relative";
|
|
71
|
+
width: number;
|
|
72
|
+
};
|
|
73
|
+
thermal: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
74
|
+
":hover": {
|
|
75
|
+
border: string;
|
|
76
|
+
};
|
|
77
|
+
alignItems: "center";
|
|
78
|
+
border: string;
|
|
79
|
+
borderRadius: string;
|
|
80
|
+
cursor: "pointer";
|
|
81
|
+
display: "flex";
|
|
82
|
+
flexDirection: "column";
|
|
83
|
+
height: number;
|
|
84
|
+
position: "relative";
|
|
85
|
+
width: number;
|
|
86
|
+
};
|
|
87
|
+
thermalIcon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
88
|
+
backgroundColor: "#95C2E0";
|
|
89
|
+
height: number;
|
|
90
|
+
width: number;
|
|
91
|
+
};
|
|
92
|
+
thermalInner: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
93
|
+
alignItems: "center";
|
|
94
|
+
display: "flex";
|
|
95
|
+
height: number;
|
|
96
|
+
justifyContent: "center";
|
|
97
|
+
marginBottom: number;
|
|
98
|
+
marginTop: number;
|
|
99
|
+
width: number;
|
|
100
|
+
};
|
|
101
|
+
thermalLabel: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
102
|
+
backgroundColor: "#95C2E0";
|
|
103
|
+
height: number;
|
|
104
|
+
width: number;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
@@ -5,10 +5,12 @@ declare const icons: {
|
|
|
5
5
|
readonly checkFilled: IconNames.CHECK_FILLED;
|
|
6
6
|
readonly copy: IconNames.COPY;
|
|
7
7
|
readonly download: IconNames.DOWNLOAD;
|
|
8
|
+
readonly retry: IconNames.CIRCULAR_ARROW;
|
|
8
9
|
};
|
|
9
10
|
export type LinkActionProps = {
|
|
10
11
|
icon?: keyof typeof icons;
|
|
12
|
+
isBold?: boolean;
|
|
11
13
|
title: string;
|
|
12
14
|
} & ILinkProps;
|
|
13
|
-
export declare const LinkAction: ({ css, icon, isDisabled, isLoading, title, ...props }: LinkActionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const LinkAction: ({ css, icon, isDisabled, isLoading, title, isBold, ...props }: LinkActionProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
16
|
export {};
|
|
@@ -1 +1,33 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
icon: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
color: string;
|
|
4
|
+
marginRight: number;
|
|
5
|
+
};
|
|
6
|
+
rightContentWrapper: {
|
|
7
|
+
marginLeft: string;
|
|
8
|
+
};
|
|
9
|
+
section: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
10
|
+
boxSizing: "border-box";
|
|
11
|
+
padding: string;
|
|
12
|
+
width: string;
|
|
13
|
+
};
|
|
14
|
+
summary: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
15
|
+
"&::-webkit-details-marker": {
|
|
16
|
+
display: "none";
|
|
17
|
+
};
|
|
18
|
+
"&::marker": {
|
|
19
|
+
content: "\"\"";
|
|
20
|
+
};
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
boxSizing: "border-box";
|
|
23
|
+
listStyle: "none";
|
|
24
|
+
padding: string;
|
|
25
|
+
width: string;
|
|
26
|
+
};
|
|
27
|
+
summaryWrapper: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
28
|
+
alignItems: "center";
|
|
29
|
+
color: string;
|
|
30
|
+
display: "flex";
|
|
31
|
+
width: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1 +1,41 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
body: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
borderTop: string;
|
|
4
|
+
color: string;
|
|
5
|
+
lineHeight: number;
|
|
6
|
+
marginRight: number;
|
|
7
|
+
padding: number;
|
|
8
|
+
textTransform: "uppercase";
|
|
9
|
+
width: string;
|
|
10
|
+
};
|
|
11
|
+
container: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
12
|
+
border: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
boxSizing: "border-box";
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
header: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
18
|
+
alignItems: "center";
|
|
19
|
+
borderRadius: number;
|
|
20
|
+
color: string;
|
|
21
|
+
display: "flex";
|
|
22
|
+
justifyContent: "space-between";
|
|
23
|
+
padding: number;
|
|
24
|
+
width: string;
|
|
25
|
+
};
|
|
26
|
+
title: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
27
|
+
alignItems: "center";
|
|
28
|
+
display: "flex";
|
|
29
|
+
gap: number;
|
|
30
|
+
justifyContent: "space-between";
|
|
31
|
+
};
|
|
32
|
+
verticalContainer: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
33
|
+
alignItems: "center";
|
|
34
|
+
border: string;
|
|
35
|
+
borderRadius: string;
|
|
36
|
+
boxSizing: "border-box";
|
|
37
|
+
display: "flex";
|
|
38
|
+
height: string;
|
|
39
|
+
width: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -1 +1,27 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
grow: {
|
|
3
|
+
flexGrow: number;
|
|
4
|
+
};
|
|
5
|
+
stateWrapper: {
|
|
6
|
+
"@media (max-width: 375px)": {
|
|
7
|
+
flex: string;
|
|
8
|
+
};
|
|
9
|
+
display: "flex";
|
|
10
|
+
flex: string;
|
|
11
|
+
width: string;
|
|
12
|
+
};
|
|
13
|
+
stateZipWrapper: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
14
|
+
"@media (max-width: 375px)": {
|
|
15
|
+
flexDirection: "column";
|
|
16
|
+
gap: number;
|
|
17
|
+
};
|
|
18
|
+
display: "flex";
|
|
19
|
+
flexDirection: "row";
|
|
20
|
+
gap: number;
|
|
21
|
+
width: string;
|
|
22
|
+
};
|
|
23
|
+
zipWrapper: {
|
|
24
|
+
display: "flex";
|
|
25
|
+
width: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
grid: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
3
|
+
margin: number;
|
|
4
|
+
};
|
|
5
|
+
heading: {
|
|
6
|
+
textAlign: "center";
|
|
7
|
+
};
|
|
8
|
+
subtitle: {
|
|
9
|
+
textAlign: "center";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1 +1,56 @@
|
|
|
1
|
-
export declare const styles:
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
agreement: {
|
|
3
|
+
alignItems: "center";
|
|
4
|
+
display: "flex";
|
|
5
|
+
flexDirection: "column";
|
|
6
|
+
justifyContent: "center";
|
|
7
|
+
};
|
|
8
|
+
carrierLogos: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
9
|
+
display: "flex";
|
|
10
|
+
flexDirection: "row";
|
|
11
|
+
gap: number;
|
|
12
|
+
justifyContent: "space-between";
|
|
13
|
+
paddingBottom: number;
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
};
|
|
16
|
+
close: {
|
|
17
|
+
alignItems: "end";
|
|
18
|
+
display: "flex";
|
|
19
|
+
flexDirection: "column";
|
|
20
|
+
};
|
|
21
|
+
link: {
|
|
22
|
+
border: string;
|
|
23
|
+
};
|
|
24
|
+
links: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
25
|
+
border: string;
|
|
26
|
+
display: "flex";
|
|
27
|
+
flexDirection: "column";
|
|
28
|
+
gap: number;
|
|
29
|
+
paddingBottom: number;
|
|
30
|
+
paddingTop: number;
|
|
31
|
+
};
|
|
32
|
+
listItems: {
|
|
33
|
+
border: string;
|
|
34
|
+
listStyle: "none";
|
|
35
|
+
};
|
|
36
|
+
terms: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
37
|
+
display: "flex";
|
|
38
|
+
flexDirection: "column";
|
|
39
|
+
gap: number;
|
|
40
|
+
};
|
|
41
|
+
termsForm: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
42
|
+
alignItems: "center";
|
|
43
|
+
display: "flex";
|
|
44
|
+
flexDirection: "column";
|
|
45
|
+
paddingBottom: number;
|
|
46
|
+
paddingTop: number;
|
|
47
|
+
};
|
|
48
|
+
termsList: {
|
|
49
|
+
listStyle: "none";
|
|
50
|
+
};
|
|
51
|
+
well: (theme: import("@packlink/giger-theme/dist/lib/Theme").Theme) => {
|
|
52
|
+
backgroundColor: string;
|
|
53
|
+
marginBottom: number;
|
|
54
|
+
padding: number;
|
|
55
|
+
};
|
|
56
|
+
};
|