yt-uikit 0.10.95 → 0.10.96

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.
@@ -43,5 +43,10 @@ interface ProductVariantSelectorProps {
43
43
  accentColor?: string;
44
44
  showOutOfStockVariants?: boolean;
45
45
  }
46
+ /**
47
+ * The variant title to show as a badge next to the product title. Empty when
48
+ * any option still has a real choice, so the selectors render instead.
49
+ */
50
+ export declare const getSingleVariantTitle: (product: Product, showOutOfStockVariants?: boolean) => string;
46
51
  export declare const ProductVariantSelector: React.FC<ProductVariantSelectorProps>;
47
52
  export {};
@@ -8,6 +8,7 @@ export declare const Item: import("styled-components/dist/types").IStyledCompone
8
8
  }>> & string;
9
9
  export declare const ItemImage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
10
10
  export declare const ItemDetails: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
+ export declare const VariantBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
11
12
  export declare const ItemTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
12
13
  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;
13
14
  export declare const NewPrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;