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.
@@ -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;
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
2
  import { BundleProps } from "../Bundle";
3
+ import "./fixed.style.css";
3
4
  declare const FixedBundle: React.FC<BundleProps>;
4
5
  export default FixedBundle;
@@ -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").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
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,8 +606,6 @@ type Customizations = {
604
606
  updatedAt?: string;
605
607
  };
606
608
  type BundlePayload = {
607
- defaultTier: number;
608
- showIndividualProductSelector: boolean;
609
609
  title?: string;
610
610
  subtitle?: string;
611
611
  products: ProductData[];
@@ -632,6 +632,7 @@ type BundlePayload = {
632
632
  imageAspectType?: "portrait" | "square" | "";
633
633
  backgroundColorFixedBundleDiv?: string;
634
634
  canCustomizeFixedBundle?: boolean;
635
+ showIndividualProductSelector?: boolean;
635
636
  primaryTextColorCta?: string;
636
637
  showVariants?: boolean;
637
638
  discountType?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-uikit",
3
- "version": "0.7.344-defaultTierValue.0",
3
+ "version": "0.7.345-testing.0",
4
4
  "description": "YourToken UI Kit",
5
5
  "scripts": {
6
6
  "rollup": "tsc && rollup -c",