formica-ui-lib 1.0.222 → 1.0.224
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/dist/componentProps/molecules/cards/infocard/InfoCardProps.d.ts +2 -0
- package/dist/componentProps/molecules/cards/quantitycheckoutcard/QuantityCheckoutCardProps.d.ts +1 -0
- package/dist/componentProps/molecules/navigation/footerimagelink/FooterImageLinkProps.d.ts +2 -1
- package/dist/componentProps/molecules/navigation/footerlinkitem/FooterLinkItemProps.d.ts +2 -1
- package/dist/componentProps/organisms/account/AccountAccessPanelProps.d.ts +3 -6
- package/dist/componentProps/organisms/cart/cartconfimation/cartsummarysection/CartSummarySectionProps.d.ts +1 -0
- package/dist/componentProps/organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanelProps.d.ts +8 -0
- package/dist/componentProps/organisms/cart/shippingaddressform/ShippingAddressFormProps.d.ts +16 -0
- package/dist/componentProps/organisms/navigation/BrandNavBarProps.d.ts +3 -2
- package/dist/componentProps/organisms/navigation/footer/FooterProps.d.ts +16 -15
- package/dist/componentProps/organisms/navigation/footerlogosbar/FooterLogosBarProps.d.ts +2 -1
- package/dist/componentProps/shared/GeneralLinkProps.d.ts +17 -0
- package/dist/componentProps/shared/UserTypeOptions.d.ts +6 -0
- package/dist/componentProps/templates/cart/bpcs/confirmation/BpcsCartConfirmationTemplateProps.d.ts +10 -0
- package/dist/componentProps/templates/cart/bpcs/samples/BpcsCartSamplesTemplateProps.d.ts +16 -0
- package/dist/componentProps/templates/cart/bpcs/shipping/BpcsCartShippingTemplateProps.d.ts +12 -0
- package/dist/componentProps/templates/cart/ecommerce/confirmation/EcommCartConfirmationTemplateProps.d.ts +10 -0
- package/dist/componentProps/templates/cart/ecommerce/payment/EcommCartPaymentTemplateProps.d.ts +11 -0
- package/dist/componentProps/templates/cart/ecommerce/shipping/EcommCartShippingTemplateProps.d.ts +14 -0
- package/dist/componentProps/templates/cart/ecommerce/summary/EcommCartSummaryTemplateProps.d.ts +7 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +23 -7
- package/dist/index.js +1530 -1295
- package/dist/stories/molecules/cards/quantitycheckoutcard/QuantityCheckoutCard.d.ts +1 -1
- package/dist/stories/organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanel.d.ts +4 -0
- package/dist/stories/templates/cart/bpcs/confirmation/BpcsCartConfirmationTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/bpcs/samples/BpcsCartSamplesTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/bpcs/shipping/BpcsCartShippingTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/bpcs/shipping/BpcsCartShippingTemplate.test.d.ts +1 -0
- package/dist/stories/templates/cart/ecommerce/confirmation/EcommCartConfirmationTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/ecommerce/confirmation/EcommCartConfirmationTemplate.test.d.ts +1 -0
- package/dist/stories/templates/cart/ecommerce/payment/EcommCartPaymentTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/ecommerce/payment/EcommCartPaymentTemplate.test.d.ts +1 -0
- package/dist/stories/templates/cart/ecommerce/shipping/EcommCartShippingTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/ecommerce/summary/EcommCartSummaryTemplate.d.ts +4 -0
- package/dist/stories/templates/cart/ecommerce/summary/EcommCartSummaryTemplate.test.d.ts +1 -0
- package/dist/tailwind.css +1 -1
- package/dist/utils/generalLink.d.ts +5 -0
- package/dist/utils/userTypeOptions.d.ts +2 -0
- package/package.json +1 -1
- package/dist/componentProps/templates/cartconfirmationtemplate/CartConfirmationTemplateProps.d.ts +0 -10
- package/dist/componentProps/templates/cartpaymenttemplate/CartPaymentTemplateProps.d.ts +0 -11
- package/dist/componentProps/templates/cartshippingtemplate/CartShippingTemplateProps.d.ts +0 -14
- package/dist/componentProps/templates/cartsummarytemplate/CartSummaryTemplateProps.d.ts +0 -7
- package/dist/stories/templates/cart/confirmation/CartConfirmationTemplate.d.ts +0 -4
- package/dist/stories/templates/cart/payment/CartPaymentTemplate.d.ts +0 -4
- package/dist/stories/templates/cart/shipping/CartShippingTemplate.d.ts +0 -4
- package/dist/stories/templates/cart/summary/CartSummaryTemplate.d.ts +0 -4
- /package/dist/stories/{templates/cart/confirmation/CartConfirmationTemplate.test.d.ts → organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanel.test.d.ts} +0 -0
- /package/dist/stories/templates/cart/{payment/CartPaymentTemplate.test.d.ts → bpcs/confirmation/BpcsCartConfirmationTemplate.test.d.ts} +0 -0
- /package/dist/stories/templates/cart/{summary/CartSummaryTemplate.test.d.ts → bpcs/samples/BpcsCartSamplesTemplate.test.d.ts} +0 -0
- /package/dist/stories/templates/cart/{shipping/CartShippingTemplate.test.d.ts → ecommerce/shipping/EcommCartShippingTemplate.test.d.ts} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ButtonVariant, ButtonIntent, ButtonSize } from "../../../atoms/buttons/button/ButtonProps";
|
|
2
2
|
export type InfoCardAlign = "left" | "right";
|
|
3
|
+
export type InfoCardLayoutVariant = "default" | "underBanner";
|
|
3
4
|
export type InfoCardButton = {
|
|
4
5
|
buttonLabel: string;
|
|
5
6
|
buttonHref?: string;
|
|
@@ -19,5 +20,6 @@ export interface InfoCardProps {
|
|
|
19
20
|
body: string;
|
|
20
21
|
buttons?: InfoCardButton[];
|
|
21
22
|
align?: InfoCardAlign;
|
|
23
|
+
layoutVariant?: InfoCardLayoutVariant;
|
|
22
24
|
onButtonClick?: (payload: InfoCardButtonClickPayload) => void;
|
|
23
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FooterImageProps } from "../../../organisms/navigation/footer/FooterProps";
|
|
2
|
+
export type FooterImageLinkSize = "default" | "primary" | "parent" | "affiliate";
|
|
2
3
|
export type FooterImageLinkProps = {
|
|
3
4
|
img: FooterImageProps;
|
|
4
|
-
|
|
5
|
+
size?: FooterImageLinkSize;
|
|
5
6
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { FooterLinkProps } from "../../../organisms/navigation/footer/FooterProps";
|
|
2
|
+
export type FooterLinkItemVariant = "default" | "mobile" | "legal";
|
|
2
3
|
export type FooterLinkItemProps = {
|
|
3
4
|
item: FooterLinkProps;
|
|
4
|
-
|
|
5
|
+
variant?: FooterLinkItemVariant;
|
|
5
6
|
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import type { UserTypeOption, UserTypeValue } from "../../shared/UserTypeOptions";
|
|
2
3
|
export type AccountAccessPanelMode = "signIn" | "createAccount";
|
|
3
|
-
export type AccountAccessPanelUserTypeValue =
|
|
4
|
-
export type AccountAccessPanelUserTypeOption =
|
|
5
|
-
label: string;
|
|
6
|
-
value: AccountAccessPanelUserTypeValue;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
4
|
+
export type AccountAccessPanelUserTypeValue = UserTypeValue;
|
|
5
|
+
export type AccountAccessPanelUserTypeOption = UserTypeOption;
|
|
9
6
|
export type AccountAccessPanelErrors = {
|
|
10
7
|
email?: string;
|
|
11
8
|
password?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QuantityCheckoutCardProps } from "../../../../molecules/cards/quantitycheckoutcard/QuantityCheckoutCardProps";
|
|
2
2
|
export interface CartSummarySectionProps {
|
|
3
3
|
sectionTitle?: string;
|
|
4
|
+
showPricing?: boolean;
|
|
4
5
|
columnLabels?: {
|
|
5
6
|
orderDetails?: string;
|
|
6
7
|
quantity?: string;
|
package/dist/componentProps/organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanelProps.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CartSummaryItem } from "../cartsummary/CartSummaryProps";
|
|
2
|
+
export type SampleOrderSummaryPanelItem = Omit<CartSummaryItem, "price">;
|
|
3
|
+
export interface SampleOrderSummaryPanelProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
items: SampleOrderSummaryPanelItem[];
|
|
6
|
+
sampleCountLabel?: string;
|
|
7
|
+
note?: string;
|
|
8
|
+
}
|
package/dist/componentProps/organisms/cart/shippingaddressform/ShippingAddressFormProps.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DropdownOption } from "../../../atoms/dropdown/DropdownProps";
|
|
3
|
+
import type { UserTypeOption, UserTypeValue } from "../../../shared/UserTypeOptions";
|
|
4
|
+
export type ShippingAddressRegionVariant = "default" | "ca" | "mx";
|
|
5
|
+
export type ShippingCountryDisplayMode = "select" | "readonly";
|
|
3
6
|
export interface ShippingAddressFormErrors {
|
|
4
7
|
firstName?: string;
|
|
5
8
|
lastName?: string;
|
|
6
9
|
email?: string;
|
|
7
10
|
phoneNumber?: string;
|
|
8
11
|
companyName?: string;
|
|
12
|
+
userType?: string;
|
|
9
13
|
address?: string;
|
|
10
14
|
apartment?: string;
|
|
11
15
|
postalCode?: string;
|
|
@@ -21,20 +25,31 @@ export interface ShippingAddressFormProps {
|
|
|
21
25
|
email?: string;
|
|
22
26
|
phoneNumber?: string;
|
|
23
27
|
companyName?: string;
|
|
28
|
+
userType?: UserTypeValue | "";
|
|
24
29
|
address?: string;
|
|
25
30
|
apartment?: string;
|
|
26
31
|
postalCode?: string;
|
|
27
32
|
city?: string;
|
|
28
33
|
country?: string;
|
|
34
|
+
countryLabel?: string;
|
|
29
35
|
stateProvince?: string;
|
|
36
|
+
addressRegionVariant?: ShippingAddressRegionVariant;
|
|
37
|
+
countryDisplayMode?: ShippingCountryDisplayMode;
|
|
30
38
|
countryOptions?: DropdownOption[];
|
|
31
39
|
stateProvinceOptions?: DropdownOption[];
|
|
40
|
+
userTypeOptions?: UserTypeOption[];
|
|
41
|
+
userTypePlaceholder?: string;
|
|
42
|
+
cityPlaceholder?: string;
|
|
43
|
+
postalCodePlaceholder?: string;
|
|
44
|
+
stateProvincePlaceholder?: string;
|
|
45
|
+
showCompanyName?: boolean;
|
|
32
46
|
errors?: ShippingAddressFormErrors;
|
|
33
47
|
onFirstNameChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
34
48
|
onLastNameChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
35
49
|
onEmailChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
36
50
|
onPhoneNumberChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
37
51
|
onCompanyNameChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
52
|
+
onUserTypeChange?: (value: UserTypeValue) => void;
|
|
38
53
|
onAddressChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
39
54
|
onApartmentChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
40
55
|
onPostalCodeChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -46,6 +61,7 @@ export interface ShippingAddressFormProps {
|
|
|
46
61
|
onEmailBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
47
62
|
onPhoneNumberBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
48
63
|
onCompanyNameBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
64
|
+
onUserTypeBlur?: (event: React.FocusEvent<HTMLSelectElement>) => void;
|
|
49
65
|
onAddressBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
50
66
|
onApartmentBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
51
67
|
onPostalCodeBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { NavigationLinkValue, NavigationTextValue } from "../../shared/GeneralLinkProps";
|
|
1
2
|
export type BrandNavItem = {
|
|
2
|
-
label:
|
|
3
|
-
href:
|
|
3
|
+
label: NavigationTextValue;
|
|
4
|
+
href: NavigationLinkValue;
|
|
4
5
|
};
|
|
5
6
|
export type CustomerTypeOption = "Commercial" | "Residential";
|
|
6
7
|
export type BrandNavBarProps = {
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
import type { NavigationLinkValue, NavigationTextValue } from "../../../shared/GeneralLinkProps";
|
|
2
3
|
export type FooterLinkProps = {
|
|
3
|
-
label:
|
|
4
|
-
href?:
|
|
5
|
-
target?:
|
|
4
|
+
label: NavigationTextValue;
|
|
5
|
+
href?: NavigationLinkValue;
|
|
6
|
+
target?: string;
|
|
6
7
|
rel?: string;
|
|
7
8
|
};
|
|
8
9
|
export type FooterColumnProps = {
|
|
9
|
-
heading:
|
|
10
|
+
heading: NavigationTextValue;
|
|
10
11
|
links: FooterLinkProps[];
|
|
11
12
|
};
|
|
12
13
|
export type FooterImageProps = {
|
|
13
|
-
src:
|
|
14
|
-
alt:
|
|
15
|
-
label?:
|
|
16
|
-
href?:
|
|
17
|
-
target?:
|
|
14
|
+
src: NavigationTextValue;
|
|
15
|
+
alt: NavigationTextValue;
|
|
16
|
+
label?: NavigationTextValue;
|
|
17
|
+
href?: NavigationLinkValue;
|
|
18
|
+
target?: string;
|
|
18
19
|
rel?: string;
|
|
19
20
|
};
|
|
20
21
|
export type FooterSocialLinkProps = {
|
|
21
|
-
label:
|
|
22
|
-
href:
|
|
22
|
+
label: NavigationTextValue;
|
|
23
|
+
href: NavigationLinkValue;
|
|
23
24
|
faIcon?: IconDefinition;
|
|
24
|
-
iconSrc?:
|
|
25
|
+
iconSrc?: NavigationTextValue;
|
|
25
26
|
};
|
|
26
27
|
export type FooterBrandBlock = {
|
|
27
28
|
primaryLogo: FooterImageProps;
|
|
28
|
-
phoneLine?:
|
|
29
|
+
phoneLine?: NavigationTextValue;
|
|
29
30
|
socials?: FooterSocialLinkProps[];
|
|
30
31
|
affiliateLogos?: FooterImageProps[];
|
|
31
32
|
};
|
|
32
33
|
export type FooterLegalBlock = {
|
|
33
34
|
links?: FooterLinkProps[];
|
|
34
35
|
utilityLink?: FooterLinkProps;
|
|
35
|
-
disclaimerLines?:
|
|
36
|
-
copyrightLine?:
|
|
36
|
+
disclaimerLines?: NavigationTextValue[];
|
|
37
|
+
copyrightLine?: NavigationTextValue;
|
|
37
38
|
};
|
|
38
39
|
export type FooterProps = {
|
|
39
40
|
brand: FooterBrandBlock;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { FooterImageProps } from "../footer/FooterProps";
|
|
2
|
+
import type { NavigationTextValue } from "../../../shared/GeneralLinkProps";
|
|
2
3
|
export type FooterLogosBarProps = {
|
|
3
4
|
affiliateLogos?: FooterImageProps[];
|
|
4
5
|
parentLogo?: FooterImageProps;
|
|
5
|
-
phoneLine?:
|
|
6
|
+
phoneLine?: NavigationTextValue;
|
|
6
7
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type GeneralLinkValue = {
|
|
2
|
+
href?: string;
|
|
3
|
+
url?: string;
|
|
4
|
+
text?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
target?: string;
|
|
8
|
+
rel?: string;
|
|
9
|
+
querystring?: string;
|
|
10
|
+
anchor?: string;
|
|
11
|
+
};
|
|
12
|
+
export type GeneralLinkField = {
|
|
13
|
+
value?: string | GeneralLinkValue;
|
|
14
|
+
jsonValue?: string | GeneralLinkValue;
|
|
15
|
+
};
|
|
16
|
+
export type NavigationLinkValue = string | GeneralLinkValue | GeneralLinkField;
|
|
17
|
+
export type NavigationTextValue = string | GeneralLinkValue | GeneralLinkField;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type UserTypeValue = "architectDesigner" | "builderConstruction" | "dealerRetailer" | "distributor" | "fabricator" | "generalContractor" | "homeowner" | "mediaPress" | "other" | "postformer";
|
|
2
|
+
export type UserTypeOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: UserTypeValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
package/dist/componentProps/templates/cart/bpcs/confirmation/BpcsCartConfirmationTemplateProps.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CartConfirmedHeroProps } from "../../../../organisms/cart/cartconfimation/cartconfirmationhero/CartConfirmedHeroProps";
|
|
2
|
+
import type { CartOrderSummaryProps } from "../../../../organisms/cart/cartconfimation/cartordersummary/CartOrderSummaryProps";
|
|
3
|
+
import type { CartReceiptSectionProps } from "../../../../organisms/cart/cartconfimation/cartreceiptsection/CartReceiptSectionProps";
|
|
4
|
+
import type { CartSummarySectionProps } from "../../../../organisms/cart/cartconfimation/cartsummarysection/CartSummarySectionProps";
|
|
5
|
+
export interface BpcsCartConfirmationTemplateProps {
|
|
6
|
+
cartConfirmedHeroProps: CartConfirmedHeroProps;
|
|
7
|
+
cartReceiptSectionProps: CartReceiptSectionProps;
|
|
8
|
+
cartSummarySectionProps: CartSummarySectionProps;
|
|
9
|
+
cartOrderSummaryProps: CartOrderSummaryProps;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { CheckoutProgressIndicatorProps } from "../../../../molecules/selectors/progressindicator/CheckoutProgressIndicatorProps";
|
|
2
|
+
import type { CartSummaryItem } from "../../../../organisms/cart/cartsummary/CartSummaryProps";
|
|
3
|
+
import type { SampleOrderSummaryPanelProps } from "../../../../organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanelProps";
|
|
4
|
+
export type BpcsCartSampleItem = Omit<CartSummaryItem, "price">;
|
|
5
|
+
export interface BpcsCartSamplesTemplateProps {
|
|
6
|
+
title?: string;
|
|
7
|
+
items: BpcsCartSampleItem[];
|
|
8
|
+
checkoutProgressIndicatorProps: CheckoutProgressIndicatorProps;
|
|
9
|
+
sampleOrderSummaryPanelProps: SampleOrderSummaryPanelProps;
|
|
10
|
+
proceedToShippingLabel?: string;
|
|
11
|
+
browseMoreSamplesLabel?: string;
|
|
12
|
+
onQuantityChange?: (itemId: string, quantity: number) => void;
|
|
13
|
+
onRemoveItem?: (itemId: string) => void;
|
|
14
|
+
onProceedToShipping?: () => void;
|
|
15
|
+
onBrowseMoreSamples?: () => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CheckoutProgressIndicatorProps } from "../../../../molecules/selectors/progressindicator/CheckoutProgressIndicatorProps";
|
|
2
|
+
import type { ShippingAddressFormProps } from "../../../../organisms/cart/shippingaddressform/ShippingAddressFormProps";
|
|
3
|
+
import type { RadioOptionSelectorProps } from "../../../../organisms/selectors/radiooptionselector/RadioOptionSelectorProps";
|
|
4
|
+
import type { SampleOrderSummaryPanelProps } from "../../../../organisms/cart/sampleordersummarypanel/SampleOrderSummaryPanelProps";
|
|
5
|
+
export interface BpcsCartShippingTemplateProps {
|
|
6
|
+
shippingAddressFormProps: ShippingAddressFormProps;
|
|
7
|
+
shippingOptionSelectorProps: RadioOptionSelectorProps;
|
|
8
|
+
checkoutProgressIndicatorProps: CheckoutProgressIndicatorProps;
|
|
9
|
+
sampleOrderSummaryPanelProps: SampleOrderSummaryPanelProps;
|
|
10
|
+
submitLabel?: string;
|
|
11
|
+
onSubmitSampleOrder?: () => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CartConfirmedHeroProps } from "../../../../organisms/cart/cartconfimation/cartconfirmationhero/CartConfirmedHeroProps";
|
|
2
|
+
import { CartReceiptSectionProps } from "../../../../organisms/cart/cartconfimation/cartreceiptsection/CartReceiptSectionProps";
|
|
3
|
+
import { CartSummarySectionProps } from "../../../../organisms/cart/cartconfimation/cartsummarysection/CartSummarySectionProps";
|
|
4
|
+
import { CartOrderSummaryProps } from "../../../../organisms/cart/cartconfimation/cartordersummary/CartOrderSummaryProps";
|
|
5
|
+
export interface EcommCartConfirmationTemplateProps {
|
|
6
|
+
cartConfirmedHeroProps: CartConfirmedHeroProps;
|
|
7
|
+
cartReceiptSectionProps: CartReceiptSectionProps;
|
|
8
|
+
cartSummarySectionProps: CartSummarySectionProps;
|
|
9
|
+
cartOrderSummaryProps: CartOrderSummaryProps;
|
|
10
|
+
}
|
package/dist/componentProps/templates/cart/ecommerce/payment/EcommCartPaymentTemplateProps.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CheckoutProgressIndicatorProps } from "../../../../molecules/selectors/progressindicator/CheckoutProgressIndicatorProps";
|
|
2
|
+
import type { CartTotalsPanelProps } from "../../../../organisms/cart/carttotalspanel/CartTotalsPanelProps";
|
|
3
|
+
import { CartPaymentPanelProps } from "../../../../organisms/cart/cartpaymentpanel/CartPaymentPanelProps";
|
|
4
|
+
import type { RadioOptionSelectorProps } from "../../../../organisms/selectors/radiooptionselector/RadioOptionSelectorProps";
|
|
5
|
+
export interface EcommCartPaymentTemplateProps {
|
|
6
|
+
shippingMethodSelectorProps: RadioOptionSelectorProps;
|
|
7
|
+
cartPaymentPanelProps: CartPaymentPanelProps;
|
|
8
|
+
checkoutProgressIndicatorProps: CheckoutProgressIndicatorProps;
|
|
9
|
+
cartTotalsPanelProps: CartTotalsPanelProps;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
package/dist/componentProps/templates/cart/ecommerce/shipping/EcommCartShippingTemplateProps.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ShippingAddressFormProps } from "../../../../organisms/cart/shippingaddressform/ShippingAddressFormProps";
|
|
2
|
+
import type { CheckoutProgressIndicatorProps } from "../../../../molecules/selectors/progressindicator/CheckoutProgressIndicatorProps";
|
|
3
|
+
import type { CartTotalsPanelProps } from "../../../../organisms/cart/carttotalspanel/CartTotalsPanelProps";
|
|
4
|
+
import type { CheckboxChangePayload } from "../../../../atoms/checkbox/CheckboxProps";
|
|
5
|
+
export interface EcommCartShippingTemplateProps {
|
|
6
|
+
shippingAddressFormProps: ShippingAddressFormProps;
|
|
7
|
+
billingAddressFormProps?: ShippingAddressFormProps;
|
|
8
|
+
checkoutProgressIndicatorProps: CheckoutProgressIndicatorProps;
|
|
9
|
+
cartTotalsPanelProps: CartTotalsPanelProps;
|
|
10
|
+
billingSectionTitle?: string;
|
|
11
|
+
sameAsShipping?: boolean;
|
|
12
|
+
sameAsShippingLabel?: string;
|
|
13
|
+
onSameAsShippingChange?: (payload: CheckboxChangePayload) => void;
|
|
14
|
+
}
|
package/dist/componentProps/templates/cart/ecommerce/summary/EcommCartSummaryTemplateProps.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CheckoutAccountStepProps } from "../../../../organisms/cart/checkoutsteppanel/CheckoutAccountStepProps";
|
|
2
|
+
import { OrderSummarySectionLeftPanelProps } from "../../../../organisms/cart/ordersummarysection/OrderSummarySectionLeftPanelProps";
|
|
3
|
+
export interface EcommCartSummaryTemplateProps {
|
|
4
|
+
cartSummaryProps: OrderSummarySectionLeftPanelProps;
|
|
5
|
+
checkoutAccountStepProps: CheckoutAccountStepProps;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|