yt-uikit 0.8.13 → 0.8.14-productTier-freebie.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/BundleBuilder/BundleBuilder.d.ts +2 -0
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/esm/index.js +399 -399
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +3 -1
- package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +2 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|