yt-uikit 0.7.343 → 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 -1
- 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 -1
- 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 -1
- 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,7 +258,6 @@ export type Customizations = {
|
|
|
256
258
|
updatedAt?: string;
|
|
257
259
|
};
|
|
258
260
|
export type BundlePayload = {
|
|
259
|
-
showIndividualProductSelector: boolean;
|
|
260
261
|
title?: string;
|
|
261
262
|
subtitle?: string;
|
|
262
263
|
products: ProductData[];
|
|
@@ -283,6 +284,7 @@ export type BundlePayload = {
|
|
|
283
284
|
imageAspectType?: "portrait" | "square" | "";
|
|
284
285
|
backgroundColorFixedBundleDiv?: string;
|
|
285
286
|
canCustomizeFixedBundle?: boolean;
|
|
287
|
+
showIndividualProductSelector?: boolean;
|
|
286
288
|
primaryTextColorCta?: string;
|
|
287
289
|
showVariants?: boolean;
|
|
288
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;
|
package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts
CHANGED
|
@@ -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;
|
package/dist/index.d.ts
CHANGED
|
@@ -575,6 +575,8 @@ type ByobStyle = {
|
|
|
575
575
|
categoryFilterOnPage: string;
|
|
576
576
|
};
|
|
577
577
|
type FixedStyle = {
|
|
578
|
+
selectedEmbedContentVisibilityOptions: string[];
|
|
579
|
+
embedContentVisibility: any;
|
|
578
580
|
titleFontSize: string;
|
|
579
581
|
subtitleFontSize: string;
|
|
580
582
|
titleBackgroundColor: string;
|
|
@@ -604,7 +606,6 @@ type Customizations = {
|
|
|
604
606
|
updatedAt?: string;
|
|
605
607
|
};
|
|
606
608
|
type BundlePayload = {
|
|
607
|
-
showIndividualProductSelector: boolean;
|
|
608
609
|
title?: string;
|
|
609
610
|
subtitle?: string;
|
|
610
611
|
products: ProductData[];
|
|
@@ -631,6 +632,7 @@ type BundlePayload = {
|
|
|
631
632
|
imageAspectType?: "portrait" | "square" | "";
|
|
632
633
|
backgroundColorFixedBundleDiv?: string;
|
|
633
634
|
canCustomizeFixedBundle?: boolean;
|
|
635
|
+
showIndividualProductSelector?: boolean;
|
|
634
636
|
primaryTextColorCta?: string;
|
|
635
637
|
showVariants?: boolean;
|
|
636
638
|
discountType?: string;
|