yt-uikit 0.7.344-defaultTierValue.0 → 0.7.344-refactorBundleBuilder.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.
@@ -256,7 +256,6 @@ export type Customizations = {
256
256
  updatedAt?: string;
257
257
  };
258
258
  export type BundlePayload = {
259
- defaultTier: number;
260
259
  showIndividualProductSelector: boolean;
261
260
  title?: string;
262
261
  subtitle?: string;
@@ -1,5 +1,6 @@
1
1
  import "../bundle.scss";
2
2
  import React from "react";
3
+ import "./bundleBuilder.style.css";
3
4
  import { BundlePayload, ProductDetails } from "../Bundle";
4
5
  export declare function QuantitySelectorForBundle({ quantity, setQuantity, remainingQuantity, handleAddToBundle, variantId, product, handleRemoveItem, hideAddToBundle, disableInventoryTracking, selectedVariantInventoryQty, }: {
5
6
  quantity: number;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  import { Customizations, ProductDetails } from "../Bundle";
3
3
  import "../bundle.scss";
4
+ import "./bundleBuilderTracker.style.css";
4
5
  type BundleBuilderTrackerProps = {
5
6
  builderTiers?: {
6
7
  type: string;
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { ProductDetails, Customizations } from "../Bundle";
3
+ import "./bundleProductDetailsModal.style.css";
3
4
  import "../bundle.scss";
4
5
  type BundleProductDetailsModalProps = {
5
6
  handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number) => void;
@@ -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;