yt-uikit 0.8.2-mixandmatchmodalheightfix.0.4 → 0.8.2-mixandmatchmodalheightfix.0.5
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/esm/components/Cart/Cart.d.ts +1 -2
- package/dist/esm/components/Cart/FloatingCart.d.ts +23 -0
- package/dist/esm/components/Cart/FreebieClaimManager.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimSection.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +0 -1
- package/dist/esm/components/Cart/StickyCart.d.ts +1 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/index.js +448 -447
- package/dist/esm/types/components/Cart/Cart.d.ts +1 -2
- package/dist/esm/types/components/Cart/FloatingCart.d.ts +23 -0
- package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +0 -1
- package/dist/esm/types/components/Cart/StickyCart.d.ts +1 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/types/utils/freebieProductUtils.d.ts +2 -1
- package/dist/esm/utils/freebieProductUtils.d.ts +2 -1
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/esm/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +0 -5
- package/dist/esm/components/BundleBlock/VolumeBundle/temp.d.ts +0 -3
- package/dist/esm/components/Cart/FreebieClaim.d.ts +0 -17
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +0 -49
- package/dist/esm/hooks/useShadowConfetti.d.ts +0 -1
- package/dist/esm/shadowStyles.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +0 -5
- package/dist/esm/types/components/BundleBlock/VolumeBundle/temp.d.ts +0 -3
- package/dist/esm/types/components/Cart/FreebieClaim.d.ts +0 -17
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +0 -49
- package/dist/esm/types/hooks/useShadowConfetti.d.ts +0 -1
- package/dist/esm/types/shadowStyles.d.ts +0 -1
|
@@ -200,7 +200,7 @@ export interface CartProps {
|
|
|
200
200
|
cartOffersCarousalData?: CartOffersCarousalProps;
|
|
201
201
|
freebieMilestoneData?: freebieMilestoneProps;
|
|
202
202
|
cartOffersCarouselHeight?: number;
|
|
203
|
-
stickyBarBuyNowFunction?: (
|
|
203
|
+
stickyBarBuyNowFunction?: (variantId: string, quantity: number) => Promise<void>;
|
|
204
204
|
gstSectionCustomizationData?: GSTSectionCustomizationProps;
|
|
205
205
|
noteSectionTitle?: string;
|
|
206
206
|
checkoutSectionMessage?: string;
|
|
@@ -224,7 +224,6 @@ export interface CartProps {
|
|
|
224
224
|
showApplyCoupon?: boolean;
|
|
225
225
|
enableConfetti?: boolean;
|
|
226
226
|
showCheckoutButtonPaymentIcons?: boolean;
|
|
227
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
228
227
|
comboBundleData?: BundlePayload;
|
|
229
228
|
comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
230
229
|
variantId: string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Checkpoint } from "./Cart";
|
|
3
|
+
export interface FloatingCartProps {
|
|
4
|
+
setIsCartOpen: (isOpen: boolean) => void;
|
|
5
|
+
isCartOpen?: boolean;
|
|
6
|
+
cartCheckpoints?: Checkpoint[];
|
|
7
|
+
customCartProgressBarCriteria?: string;
|
|
8
|
+
floatingCartData?: FloatingCartDataProps;
|
|
9
|
+
effectiveQuantityForProgressBar?: number;
|
|
10
|
+
cartComponentsCornerType?: "rounded" | "sharp";
|
|
11
|
+
cartComponentsCornerRadius?: number;
|
|
12
|
+
}
|
|
13
|
+
export type FloatingCartDataProps = {
|
|
14
|
+
enableFloatingCart: boolean;
|
|
15
|
+
backgroundColor: string;
|
|
16
|
+
bannerBackgroundColor: string;
|
|
17
|
+
textColor: string;
|
|
18
|
+
buttonColor: string;
|
|
19
|
+
bannerFooterText: string;
|
|
20
|
+
showOnPages: string[];
|
|
21
|
+
};
|
|
22
|
+
declare const FloatingCart: React.FC<FloatingCartProps>;
|
|
23
|
+
export default FloatingCart;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimManagerProps {
|
|
|
12
12
|
imageAspectSelector?: "square" | "portrait";
|
|
13
13
|
freebieCouponTemplates?: Checkpoint[];
|
|
14
14
|
isCartDrawerOpen?: boolean;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimManager: React.FC<FreebieClaimManagerProps>;
|
|
18
17
|
export default FreebieClaimManager;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimOverlayProps {
|
|
|
12
12
|
freebieCouponTemplates?: Checkpoint[];
|
|
13
13
|
freebieClaimData?: any;
|
|
14
14
|
isCartDrawerOpen?: boolean;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimOverlay: React.FC<FreebieClaimOverlayProps>;
|
|
18
17
|
export default FreebieClaimOverlay;
|
|
@@ -4,7 +4,6 @@ interface FreebieClaimOverlayCardProps {
|
|
|
4
4
|
imageAspectSelector?: "square" | "portrait";
|
|
5
5
|
freebieCouponTemplates?: any[];
|
|
6
6
|
accentColor?: string;
|
|
7
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
8
7
|
}
|
|
9
8
|
declare const FreebieClaimOverlayCard: React.FC<FreebieClaimOverlayCardProps>;
|
|
10
9
|
export default FreebieClaimOverlayCard;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimSectionProps {
|
|
|
12
12
|
maxFreebiesInTier?: number;
|
|
13
13
|
tierName?: string;
|
|
14
14
|
freebieClaimData?: any;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimSection: React.FC<FreebieClaimSectionProps>;
|
|
18
17
|
export default FreebieClaimSection;
|
|
@@ -11,7 +11,6 @@ interface FreebieClaimSectionCardProps {
|
|
|
11
11
|
isSelected?: boolean;
|
|
12
12
|
isDisabled?: boolean;
|
|
13
13
|
onToggleSelection?: (productId: string) => void;
|
|
14
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
15
14
|
}
|
|
16
15
|
declare const FreebieClaimSectionCard: React.FC<FreebieClaimSectionCardProps>;
|
|
17
16
|
export default FreebieClaimSectionCard;
|
|
@@ -39,7 +39,7 @@ export type StickyAddToCartProps = {
|
|
|
39
39
|
cartComponentsCornerType?: "rounded" | "sharp";
|
|
40
40
|
cartComponentsCornerRadius?: number;
|
|
41
41
|
stickyCartCustomizationData?: stickyCartCustomizationDataProps;
|
|
42
|
-
checkoutFunction?: (
|
|
42
|
+
checkoutFunction?: (variantId: string, quantity: number) => Promise<void>;
|
|
43
43
|
backgroundColor?: string;
|
|
44
44
|
primaryTextColor?: string;
|
|
45
45
|
comboBundleData?: BundlePayload;
|
|
@@ -13,7 +13,6 @@ type DesktopVariantPopupProps = {
|
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
15
|
primaryTextColor?: string;
|
|
16
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
17
16
|
};
|
|
18
17
|
declare const DesktopVariantPopup: React.ForwardRefExoticComponent<DesktopVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
18
|
export default DesktopVariantPopup;
|
|
@@ -13,7 +13,6 @@ type MobileVariantPopupProps = {
|
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
15
|
primaryTextColor?: string;
|
|
16
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
17
16
|
};
|
|
18
17
|
declare const MobileVariantPopup: React.ForwardRefExoticComponent<MobileVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
18
|
export default MobileVariantPopup;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
|
|
1
2
|
export interface ProcessedFreebieProduct {
|
|
2
3
|
selectedVariantId?: string;
|
|
3
4
|
selectedVariantGid?: string;
|
|
@@ -14,7 +15,7 @@ export interface ProcessedFreebieProduct {
|
|
|
14
15
|
* Process freebie product data to extract pricing, variant, and display information
|
|
15
16
|
* Consolidates expensive calculations that were happening in multiple components
|
|
16
17
|
*/
|
|
17
|
-
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string
|
|
18
|
+
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
|
|
18
19
|
/**
|
|
19
20
|
* Get initial variant ID with deal amount preference
|
|
20
21
|
* Used by FreebieClaimSectionCard for smart variant selection
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
|
|
1
2
|
export interface ProcessedFreebieProduct {
|
|
2
3
|
selectedVariantId?: string;
|
|
3
4
|
selectedVariantGid?: string;
|
|
@@ -14,7 +15,7 @@ export interface ProcessedFreebieProduct {
|
|
|
14
15
|
* Process freebie product data to extract pricing, variant, and display information
|
|
15
16
|
* Consolidates expensive calculations that were happening in multiple components
|
|
16
17
|
*/
|
|
17
|
-
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string
|
|
18
|
+
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
|
|
18
19
|
/**
|
|
19
20
|
* Get initial variant ID with deal amount preference
|
|
20
21
|
* Used by FreebieClaimSectionCard for smart variant selection
|
package/dist/index.d.ts
CHANGED
|
@@ -701,7 +701,7 @@ interface CartProps {
|
|
|
701
701
|
cartOffersCarousalData?: CartOffersCarousalProps;
|
|
702
702
|
freebieMilestoneData?: freebieMilestoneProps;
|
|
703
703
|
cartOffersCarouselHeight?: number;
|
|
704
|
-
stickyBarBuyNowFunction?: (
|
|
704
|
+
stickyBarBuyNowFunction?: (variantId: string, quantity: number) => Promise<void>;
|
|
705
705
|
gstSectionCustomizationData?: GSTSectionCustomizationProps;
|
|
706
706
|
noteSectionTitle?: string;
|
|
707
707
|
checkoutSectionMessage?: string;
|
|
@@ -725,7 +725,6 @@ interface CartProps {
|
|
|
725
725
|
showApplyCoupon?: boolean;
|
|
726
726
|
enableConfetti?: boolean;
|
|
727
727
|
showCheckoutButtonPaymentIcons?: boolean;
|
|
728
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
729
728
|
comboBundleData?: BundlePayload;
|
|
730
729
|
comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
731
730
|
variantId: string;
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type FreebieClaimProps = {
|
|
3
|
-
freebieProductsInCart: any;
|
|
4
|
-
freebieSectionTitle?: string;
|
|
5
|
-
themeColor?: string;
|
|
6
|
-
themeTextColor?: string;
|
|
7
|
-
checkpoints?: any;
|
|
8
|
-
addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
9
|
-
freebiesInCart: string[];
|
|
10
|
-
showFreebieClaimAsPopup?: boolean;
|
|
11
|
-
productClaimCtaButtonText?: string;
|
|
12
|
-
imageAspectSelector?: "square" | "portrait";
|
|
13
|
-
freebieCouponTemplates?: any;
|
|
14
|
-
};
|
|
15
|
-
export declare const FreebieClaimPopup: React.ForwardRefExoticComponent<FreebieClaimProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const FreebieClaim: React.FC<FreebieClaimProps>;
|
|
17
|
-
export default FreebieClaim;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const VariantSelectionPopupContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const ModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
$themeColor?: string | undefined;
|
|
5
|
-
$cornerRadius?: number | undefined;
|
|
6
|
-
$backgroundColor?: string | undefined;
|
|
7
|
-
}>> & string;
|
|
8
|
-
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const ProductDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
-
export declare const ProductImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
11
|
-
export declare const ProductInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
-
export declare const ProductTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
|
|
13
|
-
$themeColor?: string | undefined;
|
|
14
|
-
}>> & string;
|
|
15
|
-
export declare const ProductPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
16
|
-
primaryTextColor?: string | undefined;
|
|
17
|
-
}>> & string;
|
|
18
|
-
export declare const OriginalPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
19
|
-
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;
|
|
20
|
-
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;
|
|
21
|
-
export declare const OptionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
22
|
-
export declare const OptionsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
23
|
-
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>, {
|
|
24
|
-
$isSelected?: boolean | undefined;
|
|
25
|
-
$isDisabled?: boolean | undefined;
|
|
26
|
-
$themeColor?: string | undefined;
|
|
27
|
-
backgroundColor?: string | undefined;
|
|
28
|
-
}>> & string;
|
|
29
|
-
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>, {
|
|
30
|
-
$themeColor: string;
|
|
31
|
-
}>> & string;
|
|
32
|
-
export declare const LoaderContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
33
|
-
export declare const QuantitySelectorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
34
|
-
export declare const MainSelectorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
35
|
-
$backgroundColor: string;
|
|
36
|
-
}>> & string;
|
|
37
|
-
export declare const FlexContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
38
|
-
export declare const DetailsSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
39
|
-
export declare const PriceSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
40
|
-
export declare const LinkSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
41
|
-
export declare const ActionsSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
42
|
-
export declare const ReplaceButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
43
|
-
export declare const ReplaceButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
44
|
-
$themeColor?: string | undefined;
|
|
45
|
-
$cornerRadius?: number | undefined;
|
|
46
|
-
$cornerType?: string | undefined;
|
|
47
|
-
$disabled?: boolean | undefined;
|
|
48
|
-
}>> & string;
|
|
49
|
-
export declare const ReplaceButtonContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useShadowConfetti(): (options: any) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ytBundleShadowCss: string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type FreebieClaimProps = {
|
|
3
|
-
freebieProductsInCart: any;
|
|
4
|
-
freebieSectionTitle?: string;
|
|
5
|
-
themeColor?: string;
|
|
6
|
-
themeTextColor?: string;
|
|
7
|
-
checkpoints?: any;
|
|
8
|
-
addFreebieToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
9
|
-
freebiesInCart: string[];
|
|
10
|
-
showFreebieClaimAsPopup?: boolean;
|
|
11
|
-
productClaimCtaButtonText?: string;
|
|
12
|
-
imageAspectSelector?: "square" | "portrait";
|
|
13
|
-
freebieCouponTemplates?: any;
|
|
14
|
-
};
|
|
15
|
-
export declare const FreebieClaimPopup: React.ForwardRefExoticComponent<FreebieClaimProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
-
declare const FreebieClaim: React.FC<FreebieClaimProps>;
|
|
17
|
-
export default FreebieClaim;
|
package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const VariantSelectionPopupContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export declare const ModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
$themeColor?: string | undefined;
|
|
5
|
-
$cornerRadius?: number | undefined;
|
|
6
|
-
$backgroundColor?: string | undefined;
|
|
7
|
-
}>> & string;
|
|
8
|
-
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
-
export declare const ProductDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
-
export declare const ProductImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
11
|
-
export declare const ProductInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
-
export declare const ProductTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
|
|
13
|
-
$themeColor?: string | undefined;
|
|
14
|
-
}>> & string;
|
|
15
|
-
export declare const ProductPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
16
|
-
primaryTextColor?: string | undefined;
|
|
17
|
-
}>> & string;
|
|
18
|
-
export declare const OriginalPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
19
|
-
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;
|
|
20
|
-
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;
|
|
21
|
-
export declare const OptionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
22
|
-
export declare const OptionsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
23
|
-
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>, {
|
|
24
|
-
$isSelected?: boolean | undefined;
|
|
25
|
-
$isDisabled?: boolean | undefined;
|
|
26
|
-
$themeColor?: string | undefined;
|
|
27
|
-
backgroundColor?: string | undefined;
|
|
28
|
-
}>> & string;
|
|
29
|
-
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>, {
|
|
30
|
-
$themeColor: string;
|
|
31
|
-
}>> & string;
|
|
32
|
-
export declare const LoaderContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
33
|
-
export declare const QuantitySelectorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
34
|
-
export declare const MainSelectorContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
35
|
-
$backgroundColor: string;
|
|
36
|
-
}>> & string;
|
|
37
|
-
export declare const FlexContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
38
|
-
export declare const DetailsSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
39
|
-
export declare const PriceSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
40
|
-
export declare const LinkSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
41
|
-
export declare const ActionsSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
42
|
-
export declare const ReplaceButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
43
|
-
export declare const ReplaceButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
44
|
-
$themeColor?: string | undefined;
|
|
45
|
-
$cornerRadius?: number | undefined;
|
|
46
|
-
$cornerType?: string | undefined;
|
|
47
|
-
$disabled?: boolean | undefined;
|
|
48
|
-
}>> & string;
|
|
49
|
-
export declare const ReplaceButtonContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useShadowConfetti(): (options: any) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ytBundleShadowCss: string;
|