yt-uikit 0.8.7-shadowdomBundlenew.0 → 0.8.7
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/BundleBlock/Bundle.d.ts +0 -1
- package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +0 -1
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +0 -2
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +0 -4
- package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +0 -1
- package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +0 -1
- package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +1 -1
- package/dist/esm/components/Cart/Cart.d.ts +0 -1
- 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/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1068 -399
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +0 -2
- package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +0 -4
- package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +1 -1
- package/dist/esm/types/components/Cart/Cart.d.ts +0 -1
- 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/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/types/components/index.d.ts +0 -1
- package/dist/esm/types/index.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 -8
- 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
|
@@ -376,7 +376,6 @@ export type BundleProps = {
|
|
|
376
376
|
};
|
|
377
377
|
bundleHeaderBackgroundColor?: string;
|
|
378
378
|
currentProductId?: string;
|
|
379
|
-
shadowRoot?: ShadowRoot | null;
|
|
380
379
|
};
|
|
381
380
|
export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
|
|
382
381
|
export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
|
package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Customizations, ProductDetails } from "../Bundle";
|
|
3
3
|
import "../bundle.scss";
|
|
4
|
-
import "./bundleBuilderTracker.style.css";
|
|
5
4
|
type BundleBuilderTrackerProps = {
|
|
6
5
|
builderTiers?: {
|
|
7
6
|
type: string;
|
|
@@ -46,7 +45,6 @@ type BundleBuilderTrackerProps = {
|
|
|
46
45
|
renderingOnPage: boolean;
|
|
47
46
|
handleRemoveItemProductTier: (variantId: string, currentTier: number) => void;
|
|
48
47
|
storeCurrencyCode?: string;
|
|
49
|
-
shadowRoot?: ShadowRoot | null;
|
|
50
48
|
};
|
|
51
49
|
export declare const BundleBuilderTrackerBar: React.FC<BundleBuilderTrackerProps>;
|
|
52
50
|
export default BundleBuilderTrackerBar;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ProductDetails, Customizations } from "../Bundle";
|
|
3
|
-
import "./bundleProductDetailsModal.style.css";
|
|
4
3
|
import "../bundle.scss";
|
|
5
|
-
import "../BundleBuilder/bundleBuilder.style.css";
|
|
6
|
-
type ShadowRoot = globalThis.ShadowRoot;
|
|
7
4
|
type BundleProductDetailsModalProps = {
|
|
8
5
|
handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number) => void;
|
|
9
6
|
selectedProducts: {
|
|
@@ -24,7 +21,6 @@ type BundleProductDetailsModalProps = {
|
|
|
24
21
|
averageRating: number;
|
|
25
22
|
ratingCount: number;
|
|
26
23
|
};
|
|
27
|
-
shadowRoot?: ShadowRoot | null;
|
|
28
24
|
};
|
|
29
25
|
declare const BundleProductDetailsModal: React.ForwardRefExoticComponent<BundleProductDetailsModalProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
26
|
export default BundleProductDetailsModal;
|
|
@@ -17,7 +17,6 @@ interface VariantSelectorModalProps {
|
|
|
17
17
|
variantId?: string;
|
|
18
18
|
onVariantChange: (index: number, variantId: string) => void;
|
|
19
19
|
handleAddToCart: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => Promise<void>;
|
|
20
|
-
shadowRoot?: ShadowRoot | null;
|
|
21
20
|
}
|
|
22
21
|
declare const VariantSelectorModal: React.FC<VariantSelectorModalProps>;
|
|
23
22
|
export default VariantSelectorModal;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { BundleProps } from "../Bundle";
|
|
3
|
-
export default function VolumeBundle({ bundle, addToCartFunction, currentProductId,
|
|
3
|
+
export default function VolumeBundle({ bundle, addToCartFunction, currentProductId, }: BundleProps): React.JSX.Element;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -5,4 +5,3 @@ export { default as CouponFrame } from "./CouponFrame";
|
|
|
5
5
|
export { default as Bundle } from "./BundleBlock";
|
|
6
6
|
export { default as BundleLoader } from "./BundleBlock/Loader";
|
|
7
7
|
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|
|
8
|
-
export { default as ProductGridSkeleton } from "../components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton";
|
|
@@ -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
|
@@ -449,7 +449,6 @@ type BundleProps = {
|
|
|
449
449
|
};
|
|
450
450
|
bundleHeaderBackgroundColor?: string;
|
|
451
451
|
currentProductId?: string;
|
|
452
|
-
shadowRoot?: ShadowRoot | null;
|
|
453
452
|
};
|
|
454
453
|
declare const Bundle: React.FC<BundleProps>;
|
|
455
454
|
|
|
@@ -726,7 +725,6 @@ interface CartProps {
|
|
|
726
725
|
showApplyCoupon?: boolean;
|
|
727
726
|
enableConfetti?: boolean;
|
|
728
727
|
showCheckoutButtonPaymentIcons?: boolean;
|
|
729
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
730
728
|
comboBundleData?: BundlePayload;
|
|
731
729
|
comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
732
730
|
variantId: string;
|
|
@@ -764,9 +762,4 @@ declare const ProductsOffers: ({ offersConfig, offers, }: {
|
|
|
764
762
|
offers: CartCheckpoint[];
|
|
765
763
|
}) => React.JSX.Element;
|
|
766
764
|
|
|
767
|
-
|
|
768
|
-
declare const ProductGridSkeleton: React.FC<ProductGridSkeletonProps>;
|
|
769
|
-
|
|
770
|
-
declare const ytBundleShadowCss: string;
|
|
771
|
-
|
|
772
|
-
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, Nudge, ProductGridSkeleton, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel, ytBundleShadowCss };
|
|
765
|
+
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|
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;
|