yt-uikit 0.8.14-minor-css.0 → 0.8.14

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.
@@ -310,6 +310,7 @@ export type BundlePayload = {
310
310
  title: string;
311
311
  minimumQuantity: number;
312
312
  isFixed?: boolean;
313
+ isFreebieTier?: boolean;
313
314
  products: {
314
315
  productId: string;
315
316
  variantIds: string[];
@@ -388,6 +389,7 @@ export declare const handleAddToBundle: (variantId: string, product: ProductDeta
388
389
  variantId: string;
389
390
  product: ProductDetails;
390
391
  quantity: number;
391
- }[]>>) => void;
392
+ isFree?: boolean | undefined;
393
+ }[]>>, isFreebie?: boolean) => void;
392
394
  declare const Bundle: React.FC<BundleProps>;
393
395
  export default Bundle;
@@ -18,11 +18,13 @@ type BundleBuilderProps = {
18
18
  variantId: string;
19
19
  product: ProductDetails;
20
20
  quantity: number;
21
+ isFree?: boolean;
21
22
  }[];
22
23
  setSelectedItems: React.Dispatch<React.SetStateAction<{
23
24
  variantId: string;
24
25
  product: ProductDetails;
25
26
  quantity: number;
27
+ isFree?: boolean;
26
28
  }[]>>;
27
29
  handleAddToCart: (e: any) => Promise<void>;
28
30
  bundleAddToCartLoading: boolean;
@@ -20,6 +20,7 @@ type BundleBuilderTrackerProps = {
20
20
  variantId: string;
21
21
  product: ProductDetails;
22
22
  quantity: number;
23
+ isFree?: boolean;
23
24
  }[];
24
25
  minimumQuantity: number;
25
26
  handleAddToCart: (e: any) => Promise<void>;