yt-uikit 0.10.136 → 0.10.137

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.
Files changed (23) hide show
  1. package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +9 -0
  2. package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +1 -0
  3. package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +4 -0
  4. package/dist/esm/components/Cart/Cart.d.ts +13 -0
  5. package/dist/esm/components/Cart/CartProductsList.d.ts +2 -0
  6. package/dist/esm/components/Cart/EmptyCart.d.ts +2 -1
  7. package/dist/esm/components/Cart/FreebieClaimManager.d.ts +1 -0
  8. package/dist/esm/components/Cart/FreebieClaimSection.d.ts +2 -0
  9. package/dist/esm/components/Cart/GiftWrap.d.ts +3 -1
  10. package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +2 -0
  11. package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +1 -1
  12. package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +2 -0
  13. package/dist/esm/components/Cart/ProductCard.d.ts +2 -1
  14. package/dist/esm/components/Cart/QuantitySelector.d.ts +2 -1
  15. package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +3 -0
  16. package/dist/esm/components/Cart/StickyCart.d.ts +5 -1
  17. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +3 -0
  18. package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +12 -0
  19. package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +3 -0
  20. package/dist/esm/index.js +632 -538
  21. package/dist/esm/utils/converter.d.ts +0 -1
  22. package/dist/esm/utils/index.d.ts +1 -4
  23. package/package.json +1 -1
@@ -41,5 +41,14 @@ type BundleProductDetailsModalProps = {
41
41
  dealPrice?: number | string;
42
42
  totalSelectedOriginal?: number;
43
43
  };
44
+ export declare const RatingDisplay: ({ className, product, rating, reviewRatingType, }: {
45
+ className?: string | undefined;
46
+ product?: ProductDetails | undefined;
47
+ rating?: {
48
+ averageRating: number;
49
+ ratingCount: number;
50
+ } | undefined;
51
+ reviewRatingType?: string | undefined;
52
+ }) => React.JSX.Element | null;
44
53
  declare const BundleProductDetailsModal: React.ForwardRefExoticComponent<BundleProductDetailsModalProps & React.RefAttributes<HTMLDivElement>>;
45
54
  export default BundleProductDetailsModal;
@@ -122,6 +122,7 @@ export type BundleConfig = {
122
122
  enableSearch?: boolean;
123
123
  enableSort?: boolean;
124
124
  productClickAction?: ProductClickAction;
125
+ productRatingsDisplay?: "none" | "ratingOnly" | "ratingAndReviewCount";
125
126
  };
126
127
  };
127
128
  interface CollectionBundleProps {
@@ -1,5 +1,9 @@
1
1
  import React from "react";
2
2
  import { Product, BundleConfig } from "./ColllectionBundle";
3
+ export declare const getProductRating: (product: Product) => {
4
+ averageRating: number;
5
+ ratingCount: number;
6
+ };
3
7
  type ProductDetailsModalProps = {
4
8
  product: Product;
5
9
  tierIdx: number;
@@ -34,6 +34,19 @@ export interface freebieClaimInterface {
34
34
  showVariantsInClaimSection: boolean;
35
35
  showVariantSelectionDropdownInProductClaim: boolean;
36
36
  }
37
+ export type CartLevelDiscountApplication = {
38
+ type: string;
39
+ key: string;
40
+ title: string;
41
+ description: string | null;
42
+ value: string;
43
+ created_at: string;
44
+ value_type: string;
45
+ allocation_method: string;
46
+ target_selection: string;
47
+ target_type: string;
48
+ total_allocated_amount: number;
49
+ };
37
50
  export type LoyaltyDiscount = {
38
51
  type: string;
39
52
  key: string;
@@ -13,9 +13,11 @@ type CartProductsListProps = {
13
13
  [key: string]: string;
14
14
  }) => Promise<any>;
15
15
  handleDecrement: (lineItemKey: string | number, newQuantity?: number) => Promise<any>;
16
+ isDev?: boolean;
16
17
  themeColor?: string;
17
18
  primaryTextColor?: string;
18
19
  secondaryTextColor?: string;
20
+ freeProduct?: any;
19
21
  themeTextColor?: string;
20
22
  showEditOptionOnProducts?: boolean;
21
23
  productPercentageOffMapping: {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { CartProps } from "./Cart";
3
- export default function EmptyCart({ showLoyaltyCta, exploreCTAColor, emptyCartTitle, emptyCartDescription, isUserSignedIn, joinNowFunction, exploreCtaRedirectLink, themeColor, emptyCartButtons, cartComponentsCornerRadius, cartComponentsCornerType, themeTextColor, isRecProductsListValid, recProductsList, addCartItem, productRecsCtaButtonText, ctaButtonBackgroundColor, ctaButtonTextColor, primaryTextColor, secondaryTextColor, showVariantSelectionDropdownInProductRecs, variantPickerUiVariant, emptyProductRecsTitleText, backgroundSubdued, showEmptyCartRecommendations, tertiaryColor, tertiaryTextColor, }: {
3
+ export default function EmptyCart({ showLoyaltyCta, exploreCTAColor, emptyCartTitle, emptyCartDescription, isUserSignedIn, joinNowFunction, exploreCtaRedirectLink, themeColor, emptyCartButtons, cartComponentsCornerRadius, cartComponentsCornerType, themeTextColor, isRecProductsListValid, recProductsList, addCartItem, productRecsCtaButtonText, ctaButtonBackgroundColor, ctaButtonTextColor, primaryTextColor, secondaryTextColor, showVariantSelectionDropdownInProductRecs, variantPickerUiVariant, productRecsTitleText, emptyProductRecsTitleText, backgroundSubdued, showEmptyCartRecommendations, tertiaryColor, tertiaryTextColor, }: {
4
4
  showLoyaltyCta: boolean;
5
5
  exploreCTAColor: any;
6
6
  emptyCartTitle: string;
@@ -26,6 +26,7 @@ export default function EmptyCart({ showLoyaltyCta, exploreCTAColor, emptyCartTi
26
26
  secondaryTextColor?: CartProps["secondaryTextColor"];
27
27
  showVariantSelectionDropdownInProductRecs?: CartProps["showVariantSelectionDropdownInProductRecs"];
28
28
  variantPickerUiVariant?: "button" | "dropdown";
29
+ productRecsTitleText?: CartProps["productRecsTitleText"];
29
30
  emptyProductRecsTitleText?: CartProps["emptyProductRecsTitleText"];
30
31
  backgroundSubdued?: CartProps["backgroundSubdued"];
31
32
  showEmptyCartRecommendations?: boolean;
@@ -7,6 +7,7 @@ interface FreebieClaimManagerProps {
7
7
  themeTextColor?: string;
8
8
  primaryTextColor?: string;
9
9
  addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
10
+ freebiesInCart: string[];
10
11
  freebieClaimData?: freebieClaimInterface;
11
12
  cartCheckpoints?: Checkpoint[];
12
13
  imageAspectSelector?: "square" | "portrait";
@@ -7,9 +7,11 @@ interface FreebieClaimSectionProps {
7
7
  themeTextColor?: string;
8
8
  primaryTextColor?: string;
9
9
  addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
10
+ freebiesInCart: string[];
10
11
  imageAspectSelector?: "square" | "portrait";
11
12
  freebieCouponTemplates?: Checkpoint[];
12
13
  maxFreebiesInTier?: number;
14
+ tierName?: string;
13
15
  freebieClaimData?: any;
14
16
  }
15
17
  declare const FreebieClaimSection: React.FC<FreebieClaimSectionProps>;
@@ -1,13 +1,15 @@
1
1
  import React from "react";
2
2
  type GiftWrapProps = {
3
3
  themeColor?: string;
4
+ id?: string;
4
5
  detail?: any;
5
6
  showPrice?: boolean;
6
7
  showProductImage?: boolean;
8
+ errorText?: string;
7
9
  customText?: string;
8
10
  showGiftIcon?: boolean;
9
11
  addCartItem?: (variant: any, quantity?: number, triggeredFrom?: string) => Promise<any>;
10
12
  removeCartItem?: (variantId: string, triggeredFrom?: string) => Promise<any>;
11
13
  };
12
- export default function GiftWrap({ themeColor, showPrice, detail, customText, showGiftIcon, showProductImage, addCartItem, removeCartItem, }: GiftWrapProps): React.JSX.Element | null;
14
+ export default function GiftWrap({ themeColor, id, showPrice, detail, errorText, customText, showGiftIcon, showProductImage, addCartItem, removeCartItem, }: GiftWrapProps): React.JSX.Element | null;
13
15
  export {};
@@ -1,8 +1,10 @@
1
1
  import React from "react";
2
2
  type LoyaltyGuestCTAProps = {
3
3
  cartSigninCTAMainText?: string;
4
+ signinCTAButtonVisible?: boolean;
4
5
  guestLoyaltyPercentage: number;
5
6
  joinNowFunction: () => void;
7
+ themeColor?: string;
6
8
  ctaButtonBackgroundColor?: string;
7
9
  ctaButtonTextColor?: string;
8
10
  primaryTextColor?: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { IconType } from "react-icons";
3
- export declare const MultiStepIcon: (couponType: string, color: string, numberOfCheckpoints: number, freeProductIconType: string) => React.ReactElement;
3
+ export declare const MultiStepIcon: (couponType: string, color: string, numberOfCheckpoints: number, freeProductIconType: string, themeTextColor?: string) => React.ReactElement;
4
4
  export declare const progressBarCheckpointFreeProductIconMap: {
5
5
  [key: string]: IconType;
6
6
  };
@@ -6,6 +6,7 @@ export interface MultiStepProgressBarProps {
6
6
  currentCartAmount: number;
7
7
  checkpoints: Checkpoint[];
8
8
  themeColor?: string;
9
+ themeTextColor?: string;
9
10
  handleCheckpointCrossed?: (checkpoint: Checkpoint, cartAmount: number) => Promise<any>;
10
11
  customCartProgressBarCriteria: string;
11
12
  primaryTextColor?: string;
@@ -35,6 +36,7 @@ export interface CheckpointIconProps {
35
36
  themeColor?: string;
36
37
  checkpointsLength: number;
37
38
  progressBarFreeProductIconType?: string;
39
+ themeTextColor?: string;
38
40
  ctaButtonTextColor?: string;
39
41
  }
40
42
  export interface NextRewardMessageProps {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import type { cartConfigInterface } from "./CartDrawer";
3
3
  import type { RatingsData } from "./Cart";
4
- declare const _default: React.MemoExoticComponent<({ product: variant, handleDecrement, handleIncrement, removeCartItem, addCartItem, themeColor, primaryTextColor, secondaryTextColor, tertiaryColor, tertiaryTextColor, showQtySelector, themeTextColor, showEditOptionOnProducts, percentageOff, removeFreebieFromCart, showDeleteOnFreebies, imageAspectSelector, cartComponentsCornerType, cartComponentsCornerRadius, backgroundSubdued, backgroundColor, showDiscountOnMRP, freeLabelText, showVariantsInClaimSection, cartConfigData, ratingsData, getProductDetailsByVariantId, isLargeScreen, }: {
4
+ declare const _default: React.MemoExoticComponent<({ 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, showVariantsInClaimSection, cartConfigData, ratingsData, getProductDetailsByVariantId, isLargeScreen, }: {
5
5
  product: any;
6
6
  addCartItem?: ((product: any, quantity?: number | undefined, triggeredFrom?: string | undefined) => Promise<any>) | undefined;
7
7
  removeCartItem?: ((lineItemKey: string, triggeredFrom?: string | undefined, ytRequest?: boolean | undefined) => Promise<any>) | undefined;
@@ -9,6 +9,7 @@ declare const _default: React.MemoExoticComponent<({ product: variant, handleDec
9
9
  [key: string]: string;
10
10
  } | undefined) => Promise<any>) | undefined;
11
11
  handleDecrement?: ((lineItemKey: string | number, newQuantity?: number | undefined) => Promise<any>) | undefined;
12
+ isDev?: boolean | undefined;
12
13
  themeColor?: string | undefined;
13
14
  primaryTextColor?: string | undefined;
14
15
  secondaryTextColor?: string | undefined;
@@ -1,9 +1,10 @@
1
1
  import React from "react";
2
2
  import "./shared.scss";
3
- export declare const QuantitySelector: ({ value, handleItemQuantityDecrement, handleItemQuantityIncrement, themeColor, cartComponentsCornerType, cartComponentsCornerRadius, backgroundSubdued, }: {
3
+ export declare const QuantitySelector: ({ value, handleItemQuantityDecrement, handleItemQuantityIncrement, isDev, themeColor, cartComponentsCornerType, cartComponentsCornerRadius, backgroundSubdued, }: {
4
4
  value: number;
5
5
  handleItemQuantityIncrement: () => Promise<void>;
6
6
  handleItemQuantityDecrement: () => Promise<void>;
7
+ isDev?: boolean | undefined;
7
8
  themeColor?: string | undefined;
8
9
  cartComponentsCornerType?: "rounded" | "sharp" | undefined;
9
10
  cartComponentsCornerRadius?: number | undefined;
@@ -1,6 +1,9 @@
1
1
  import React from "react";
2
2
  import "./StandardDelivery.scss";
3
3
  interface RegionSpecificDeliveryProps {
4
+ title?: string;
5
+ backgroundColor?: string;
6
+ tag?: string;
4
7
  postalCodeList?: number[];
5
8
  themeColor?: string;
6
9
  themeTextColor?: string;
@@ -27,9 +27,13 @@ export declare const defaultStickyCartCustomizationData: stickyCartCustomization
27
27
  export type StickyAddToCartProps = {
28
28
  showStickyCart: boolean;
29
29
  product: any;
30
+ addCartItem?: (product: any, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean) => Promise<any>;
31
+ onSetLoading?: (setLoadingFn: (isLoading: boolean, showLoader: boolean, showSkeletonLoader?: boolean, showLoyaltyCtaLoading?: boolean) => void) => void;
30
32
  themeColor?: string;
31
33
  themeTextColor?: string;
32
34
  cartData: any;
35
+ isCartOpen: boolean;
36
+ setIsCartOpen: (isCartOpen: boolean) => void;
33
37
  ctaButtonBackgroundColor?: string;
34
38
  ctaButtonTextColor?: string;
35
39
  addToStickyCart?: (variantId: string, quantity: number) => Promise<void>;
@@ -56,5 +60,5 @@ export type StickyAddToCartProps = {
56
60
  volumeBundleData?: BundlePayload;
57
61
  volumeBundleAddToCartFunction?: (originalPrice: number, productIds: string[]) => Promise<void>;
58
62
  };
59
- declare const StickyAddToCart: ({ showStickyCart, product, themeColor, cartData, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, backgroundColor, primaryTextColor, comboBundleData, comboBundleAddToCartFunction, volumeBundleCurrentTier, volumeBundleData, volumeBundleAddToCartFunction, }: StickyAddToCartProps) => React.JSX.Element | null;
63
+ declare const StickyAddToCart: ({ showStickyCart, product, addCartItem, onSetLoading, themeColor, cartData, isCartOpen, setIsCartOpen, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, backgroundColor, primaryTextColor, comboBundleData, comboBundleAddToCartFunction, volumeBundleCurrentTier, volumeBundleData, volumeBundleAddToCartFunction, }: StickyAddToCartProps) => React.JSX.Element | null;
60
64
  export default StickyAddToCart;
@@ -6,11 +6,14 @@ type DesktopVariantPopupProps = {
6
6
  addCartItem?: (variantId: string, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
7
7
  getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
8
8
  themeColor?: string;
9
+ cartComponentsCornerType?: "rounded" | "sharp";
10
+ cartComponentsCornerRadius?: number;
9
11
  backgroundColor?: string;
10
12
  removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
11
13
  freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
12
14
  stealDealAddToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
13
15
  productClaimCtaButtonText?: string;
16
+ backgroundSubdued?: string;
14
17
  primaryTextColor?: string;
15
18
  };
16
19
  declare const DesktopVariantPopup: React.ForwardRefExoticComponent<DesktopVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
@@ -5,6 +5,11 @@ export declare const ModalContainer: import("styled-components/dist/types").ISty
5
5
  $backgroundColor?: string | undefined;
6
6
  $themeColor?: string | undefined;
7
7
  }>> & string;
8
+ export declare const VariantSelect: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {
9
+ $themeColor?: string | undefined;
10
+ $cornerRadius?: number | undefined;
11
+ }>> & string;
12
+ export declare const VariantLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
8
13
  export declare const LoaderWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
14
  export declare const ContentWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
15
  export declare const HeaderSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -20,10 +25,16 @@ export declare const Price: import("styled-components/dist/types").IStyledCompon
20
25
  $primaryTextColor?: string | undefined;
21
26
  }>> & string;
22
27
  export declare const ComparePrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
28
+ export declare const ViewDetailsLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
29
+ export declare const OptionsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
30
+ export declare const ActionContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
23
31
  export declare const CartButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
24
32
  $themeColor: string;
25
33
  }>> & string;
34
+ export declare const OptionContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
26
35
  export declare const OptionContainerDesktop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
+ export declare const OptionLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
37
+ export declare const VariantOptions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
27
38
  export declare const VariantOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
28
39
  $isSelected?: boolean | undefined;
29
40
  $isDisabled?: boolean | undefined;
@@ -34,6 +45,7 @@ export declare const VariantOption: import("styled-components/dist/types").IStyl
34
45
  }>> & string;
35
46
  export declare const OptionLabelDesktop: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
36
47
  export declare const SelectedOptionBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
48
+ export declare const OptionLabelSelected: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
37
49
  export declare const VariantOptionsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
38
50
  export declare const PriceAndQuantityContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
39
51
  export declare const ColorVariantButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
@@ -6,11 +6,14 @@ type MobileVariantPopupProps = {
6
6
  addCartItem?: (variantId: string, quantity?: number, triggeredFrom?: string, freebieReplace?: boolean, productHandle?: string) => Promise<any>;
7
7
  getProductDetailsByVariantId?: (handle: string, variantId?: string) => Promise<any>;
8
8
  themeColor?: string;
9
+ cartComponentsCornerType?: "rounded" | "sharp";
10
+ cartComponentsCornerRadius?: number;
9
11
  backgroundColor: string;
10
12
  removeFreebieFromCart?: (lineItemKey: string) => Promise<void>;
11
13
  freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
12
14
  stealDealAddToCart?: (variantId: string, originalAllowedVariantIds?: string[], rewardContext?: FreebieRewardContext) => Promise<void>;
13
15
  productClaimCtaButtonText?: string;
16
+ backgroundSubdued?: string;
14
17
  primaryTextColor?: string;
15
18
  };
16
19
  declare const MobileVariantPopup: React.ForwardRefExoticComponent<MobileVariantPopupProps & React.RefAttributes<HTMLDivElement>>;