formica-ui-lib 1.0.263 → 1.0.264
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/cart/cartactions/CartActionsProps.d.ts +2 -1
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelLeftPanelProps.d.ts +1 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +1 -0
- package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +443 -438
- package/package.json +1 -1
|
@@ -3,12 +3,13 @@ export type CartActionsProps = {
|
|
|
3
3
|
minQuantity?: number;
|
|
4
4
|
maxQuantity?: number;
|
|
5
5
|
/** parent callbacks */
|
|
6
|
-
onAddToWishlist
|
|
6
|
+
onAddToWishlist?: () => void;
|
|
7
7
|
onAddToCart: (quantity: number) => void;
|
|
8
8
|
onQuantityChange?: (quantity: number) => void;
|
|
9
9
|
/** optional labels */
|
|
10
10
|
wishlistLabel?: string;
|
|
11
11
|
cartLabel?: string;
|
|
12
|
+
showFavorites?: boolean;
|
|
12
13
|
/** layout hooks */
|
|
13
14
|
className?: string;
|
|
14
15
|
};
|
|
@@ -46,6 +46,7 @@ export type PurchasePanelLeftPanelProps = {
|
|
|
46
46
|
minQuantity?: number;
|
|
47
47
|
maxQuantity?: number;
|
|
48
48
|
showCartActions?: boolean;
|
|
49
|
+
showFavorites?: boolean;
|
|
49
50
|
actionMode?: PurchasePanelActionMode;
|
|
50
51
|
contactActions?: [ProductContactAction, ProductContactAction];
|
|
51
52
|
onQuantityChange?: (quantity: number) => void;
|
|
@@ -93,6 +93,7 @@ export type PurchasePanelProps = {
|
|
|
93
93
|
initialQuantity?: number;
|
|
94
94
|
minQuantity?: number;
|
|
95
95
|
maxQuantity?: number;
|
|
96
|
+
showFavorites?: boolean;
|
|
96
97
|
actionMode?: PurchasePanelActionMode;
|
|
97
98
|
contactActions?: [ProductContactAction, ProductContactAction];
|
|
98
99
|
onAddToWishlist?: (payload: AddToFavoritesPayloadProps) => void;
|
package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts
CHANGED
|
@@ -49,7 +49,6 @@ export type ProductDetailContent = {
|
|
|
49
49
|
returnPolicyHref?: string;
|
|
50
50
|
notReturnableText?: string;
|
|
51
51
|
sampleDisclaimer?: string;
|
|
52
|
-
sampleSizeNote?: string;
|
|
53
52
|
};
|
|
54
53
|
export type ProductDetailDownloadLink = {
|
|
55
54
|
label?: string;
|
|
@@ -242,6 +241,7 @@ export type ProductDetailCartFlyoutProps = CartFlyoutProps;
|
|
|
242
241
|
export type ProductDetailPageTemplateProps = {
|
|
243
242
|
breadcrumbsProps?: BreadcrumbsProps;
|
|
244
243
|
productData: ProductDetailData;
|
|
244
|
+
showFavorites?: boolean;
|
|
245
245
|
onDownloadSwatch?: (productData: ProductDetailData) => void;
|
|
246
246
|
onDownloadFullSheet?: (productData: ProductDetailData) => void;
|
|
247
247
|
onAddToWishlist?: (payload: ProductDetailWishlistPayload, productData: ProductDetailData) => void;
|