yt-uikit 0.7.344-defaultTierValue.0 → 0.7.345-testing.0
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 +3 -2
- package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +1 -0
- package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +1 -0
- package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +1 -0
- package/dist/esm/components/Cart/StickyCart.d.ts +3 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +1 -0
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +4 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +1 -0
- package/dist/esm/index.js +380 -1048
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +3 -2
- package/dist/esm/types/components/BundleBlock/FixedBundle/FixedBundle.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +1 -0
- package/dist/esm/types/components/Cart/StickyCart.d.ts +3 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +1 -0
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +4 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +1 -0
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -227,6 +227,8 @@ type ByobStyle = {
|
|
|
227
227
|
categoryFilterOnPage: string;
|
|
228
228
|
};
|
|
229
229
|
type FixedStyle = {
|
|
230
|
+
selectedEmbedContentVisibilityOptions: string[];
|
|
231
|
+
embedContentVisibility: any;
|
|
230
232
|
titleFontSize: string;
|
|
231
233
|
subtitleFontSize: string;
|
|
232
234
|
titleBackgroundColor: string;
|
|
@@ -256,8 +258,6 @@ export type Customizations = {
|
|
|
256
258
|
updatedAt?: string;
|
|
257
259
|
};
|
|
258
260
|
export type BundlePayload = {
|
|
259
|
-
defaultTier: number;
|
|
260
|
-
showIndividualProductSelector: boolean;
|
|
261
261
|
title?: string;
|
|
262
262
|
subtitle?: string;
|
|
263
263
|
products: ProductData[];
|
|
@@ -284,6 +284,7 @@ export type BundlePayload = {
|
|
|
284
284
|
imageAspectType?: "portrait" | "square" | "";
|
|
285
285
|
backgroundColorFixedBundleDiv?: string;
|
|
286
286
|
canCustomizeFixedBundle?: boolean;
|
|
287
|
+
showIndividualProductSelector?: boolean;
|
|
287
288
|
primaryTextColorCta?: string;
|
|
288
289
|
showVariants?: boolean;
|
|
289
290
|
discountType?: string;
|
|
@@ -31,6 +31,7 @@ interface ProductVariantSelectorProps {
|
|
|
31
31
|
variantOptions?: VariantOptions;
|
|
32
32
|
selectedVariants: string[];
|
|
33
33
|
onVariantChange: (variantId: string) => void;
|
|
34
|
+
variantType?: string;
|
|
34
35
|
}
|
|
35
36
|
export declare const ProductVariantSelector: React.FC<ProductVariantSelectorProps>;
|
|
36
37
|
export {};
|
|
@@ -30,6 +30,7 @@ export declare const VerticalCard: import("styled-components/dist/types").IStyle
|
|
|
30
30
|
borderColor: string;
|
|
31
31
|
backgroundColor: string;
|
|
32
32
|
productsLength: number;
|
|
33
|
+
isImage?: boolean | undefined;
|
|
33
34
|
}>> & string;
|
|
34
35
|
export declare const ImageWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
35
36
|
export declare const ProductImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {
|
|
@@ -39,6 +39,8 @@ export type StickyAddToCartProps = {
|
|
|
39
39
|
cartComponentsCornerRadius?: number;
|
|
40
40
|
stickyCartCustomizationData?: stickyCartCustomizationDataProps;
|
|
41
41
|
checkoutFunction?: (event: any) => Promise<any>;
|
|
42
|
+
backgroundColor?: string;
|
|
43
|
+
primaryTextColor?: string;
|
|
42
44
|
};
|
|
43
|
-
declare const StickyAddToCart: ({ showStickyCart, product, addCartItem, onSetLoading, themeColor, cartData, isCartOpen, setIsCartOpen, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, }: StickyAddToCartProps) => React.JSX.Element | null;
|
|
45
|
+
declare const StickyAddToCart: ({ showStickyCart, product, addCartItem, onSetLoading, themeColor, cartData, isCartOpen, setIsCartOpen, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, backgroundColor, primaryTextColor, }: StickyAddToCartProps) => React.JSX.Element | null;
|
|
44
46
|
export default StickyAddToCart;
|
|
@@ -12,6 +12,7 @@ type DesktopVariantPopupProps = {
|
|
|
12
12
|
freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
|
+
primaryTextColor?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const DesktopVariantPopup: React.ForwardRefExoticComponent<DesktopVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
18
|
export default DesktopVariantPopup;
|
|
@@ -18,9 +18,12 @@ export declare const ProductImage: import("styled-components/dist/types").IStyle
|
|
|
18
18
|
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;
|
|
19
19
|
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>, {
|
|
20
20
|
$themeColor?: string | undefined;
|
|
21
|
+
$primaryTextColor?: string | undefined;
|
|
21
22
|
}>> & string;
|
|
22
23
|
export declare const PriceContainer: 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 Price: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
24
|
+
export declare const Price: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
25
|
+
$primaryTextColor?: string | undefined;
|
|
26
|
+
}>> & string;
|
|
24
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;
|
|
25
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;
|
|
26
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;
|
|
@@ -12,6 +12,7 @@ type MobileVariantPopupProps = {
|
|
|
12
12
|
freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
|
+
primaryTextColor?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const MobileVariantPopup: React.ForwardRefExoticComponent<MobileVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
18
|
export default MobileVariantPopup;
|