yt-uikit 0.8.70-general-bugs.1 → 0.8.71
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.
|
@@ -24,6 +24,7 @@ export interface freebieClaimInterface {
|
|
|
24
24
|
productClaimCtaButtonText: string;
|
|
25
25
|
type: "section" | "overlay";
|
|
26
26
|
allowOverlayClose: boolean;
|
|
27
|
+
freeLabelText?: string;
|
|
27
28
|
}
|
|
28
29
|
export type CartLevelDiscountApplication = {
|
|
29
30
|
type: string;
|
|
@@ -234,6 +235,7 @@ export interface CartProps {
|
|
|
234
235
|
stealDealCheckpoints?: Checkpoint[];
|
|
235
236
|
stealDealProducts?: any[];
|
|
236
237
|
stealDealAddToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
238
|
+
useCartShell?: boolean;
|
|
237
239
|
}
|
|
238
240
|
declare const Cart: React.FC<CartProps>;
|
|
239
241
|
export default Cart;
|
|
@@ -18,6 +18,8 @@ interface CartDrawerProps extends CartProps {
|
|
|
18
18
|
showCheckoutButtonPaymentIcons?: boolean;
|
|
19
19
|
showCouponOptions?: boolean;
|
|
20
20
|
rewardCoupons?: RewardCoupon[];
|
|
21
|
+
applyTemplateDiscount?: (templateId?: number) => Promise<any>;
|
|
22
|
+
useCartShell?: boolean;
|
|
21
23
|
}
|
|
22
24
|
declare const CartDrawer: React.FC<CartDrawerProps>;
|
|
23
25
|
export default CartDrawer;
|
|
@@ -39,6 +39,7 @@ type CartProductsListProps = {
|
|
|
39
39
|
checkoutSectionMessageRedirectLink?: string;
|
|
40
40
|
showFreebieMilestone?: boolean;
|
|
41
41
|
freebieMilestoneData?: freebieMilestoneProps;
|
|
42
|
+
freeLabelText?: string;
|
|
42
43
|
};
|
|
43
44
|
declare const CartProductsList: React.FC<CartProductsListProps>;
|
|
44
45
|
export default CartProductsList;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
declare const ProductCard: ({ product: variant, handleDecrement, handleIncrement, removeCartItem, addCartItem, isDev, themeColor, primaryTextColor, secondaryTextColor, tertiaryColor, tertiaryTextColor, showQtySelector, themeTextColor, showEditOptionOnProducts, percentageOff, removeFreebieFromCart, showDeleteOnFreebies, imageAspectSelector, cartComponentsCornerType, cartComponentsCornerRadius, backgroundSubdued, backgroundColor, showDiscountOnMRP, }: {
|
|
2
|
+
declare const ProductCard: ({ product: variant, handleDecrement, handleIncrement, removeCartItem, addCartItem, isDev, themeColor, primaryTextColor, secondaryTextColor, tertiaryColor, tertiaryTextColor, showQtySelector, themeTextColor, showEditOptionOnProducts, percentageOff, removeFreebieFromCart, showDeleteOnFreebies, imageAspectSelector, cartComponentsCornerType, cartComponentsCornerRadius, backgroundSubdued, backgroundColor, showDiscountOnMRP, freeLabelText, }: {
|
|
3
3
|
product: any;
|
|
4
4
|
addCartItem?: ((product: any) => Promise<any>) | undefined;
|
|
5
5
|
removeCartItem?: ((product: any) => Promise<any>) | undefined;
|
|
@@ -25,5 +25,6 @@ declare const ProductCard: ({ product: variant, handleDecrement, handleIncrement
|
|
|
25
25
|
backgroundSubdued?: string | undefined;
|
|
26
26
|
backgroundColor?: string | undefined;
|
|
27
27
|
showDiscountOnMRP?: boolean | undefined;
|
|
28
|
+
freeLabelText?: string | undefined;
|
|
28
29
|
}) => React.JSX.Element;
|
|
29
30
|
export default ProductCard;
|