yt-uikit 0.7.404-manual-recs.1 → 0.7.404-scrap-code.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/BundleBuilder/ResponsiveBgImage.d.ts +9 -0
- package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +22 -2776
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +47 -5740
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +7 -830
- package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +103 -0
- package/dist/esm/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -0
- package/dist/esm/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -0
- package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -0
- package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +68 -15003
- package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +50 -6336
- package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +44 -4977
- package/dist/esm/components/Cart/Cart.d.ts +0 -19
- package/dist/esm/components/Cart/CartProductsList.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimErrorBoundary.d.ts +28 -0
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +20 -564
- package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +12 -1098
- package/dist/esm/components/Cart/ProductCard.d.ts +1 -2
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +39 -6295
- package/dist/esm/components/index.d.ts +0 -1
- package/dist/esm/index.js +400 -422
- package/dist/esm/types/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +22 -2776
- package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +47 -5740
- package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +7 -830
- package/dist/esm/types/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +103 -0
- package/dist/esm/types/components/BundleBlock/CollectionBundle/FileUpload.d.ts +15 -0
- package/dist/esm/types/components/BundleBlock/CollectionBundle/LoadingSpinner.d.ts +2 -0
- package/dist/esm/types/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +15 -0
- package/dist/esm/types/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +68 -15003
- package/dist/esm/types/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +50 -6336
- package/dist/esm/types/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +44 -4977
- package/dist/esm/types/components/Cart/Cart.d.ts +0 -19
- package/dist/esm/types/components/Cart/CartProductsList.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimErrorBoundary.d.ts +28 -0
- package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +20 -564
- package/dist/esm/types/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +12 -1098
- package/dist/esm/types/components/Cart/ProductCard.d.ts +1 -2
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +39 -6295
- package/dist/esm/types/components/index.d.ts +0 -1
- package/dist/esm/types/utils/freebieErrorLogger.d.ts +68 -0
- package/dist/esm/types/utils/freebieValidation.d.ts +45 -0
- package/dist/esm/utils/freebieErrorLogger.d.ts +68 -0
- package/dist/esm/utils/freebieValidation.d.ts +45 -0
- package/dist/index.d.ts +1 -32
- package/package.json +1 -1
- package/dist/esm/atoms/comboBundleAtom.d.ts +0 -12
- package/dist/esm/components/Cart/LoyaltyCTA.styled.d.ts +0 -822
- package/dist/esm/components/Cart/NoteSection.styled.d.ts +0 -832
- package/dist/esm/components/Cart/StandardDelivery.styled.d.ts +0 -3282
- package/dist/esm/types/atoms/comboBundleAtom.d.ts +0 -12
- package/dist/esm/types/components/Cart/LoyaltyCTA.styled.d.ts +0 -822
- package/dist/esm/types/components/Cart/NoteSection.styled.d.ts +0 -832
- package/dist/esm/types/components/Cart/StandardDelivery.styled.d.ts +0 -3282
- package/dist/esm/types/utils/comboBundleStorage.d.ts +0 -36
- package/dist/esm/utils/comboBundleStorage.d.ts +0 -36
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BundlePayload } from "../components/BundleBlock/Bundle";
|
|
2
|
-
declare global {
|
|
3
|
-
interface Window {
|
|
4
|
-
ytComboBundleAddToCart?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
5
|
-
variantId: string;
|
|
6
|
-
price: number;
|
|
7
|
-
}[]) => Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Store combo bundle data in localStorage and function on window object
|
|
12
|
-
* This allows different React apps on the same page to share this data
|
|
13
|
-
*/
|
|
14
|
-
export declare const setComboBundleData: (bundleData: BundlePayload, addToCartFunction: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
15
|
-
variantId: string;
|
|
16
|
-
price: number;
|
|
17
|
-
}[]) => Promise<void>) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Get combo bundle data from localStorage and function from window object
|
|
20
|
-
*/
|
|
21
|
-
export declare const getComboBundleData: () => {
|
|
22
|
-
comboBundleData: BundlePayload | null;
|
|
23
|
-
comboBundleAddToCartFunction: ((selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
24
|
-
variantId: string;
|
|
25
|
-
price: number;
|
|
26
|
-
}[]) => Promise<void>) | null;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Clear combo bundle data from storage
|
|
30
|
-
*/
|
|
31
|
-
export declare const clearComboBundleData: () => void;
|
|
32
|
-
/**
|
|
33
|
-
* Subscribe to combo bundle data changes
|
|
34
|
-
* Returns unsubscribe function
|
|
35
|
-
*/
|
|
36
|
-
export declare const subscribeToComboBundleChanges: (callback: (hasData: boolean) => void) => (() => void);
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { BundlePayload } from "../components/BundleBlock/Bundle";
|
|
2
|
-
declare global {
|
|
3
|
-
interface Window {
|
|
4
|
-
ytComboBundleAddToCart?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
5
|
-
variantId: string;
|
|
6
|
-
price: number;
|
|
7
|
-
}[]) => Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Store combo bundle data in localStorage and function on window object
|
|
12
|
-
* This allows different React apps on the same page to share this data
|
|
13
|
-
*/
|
|
14
|
-
export declare const setComboBundleData: (bundleData: BundlePayload, addToCartFunction: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
15
|
-
variantId: string;
|
|
16
|
-
price: number;
|
|
17
|
-
}[]) => Promise<void>) => void;
|
|
18
|
-
/**
|
|
19
|
-
* Get combo bundle data from localStorage and function from window object
|
|
20
|
-
*/
|
|
21
|
-
export declare const getComboBundleData: () => {
|
|
22
|
-
comboBundleData: BundlePayload | null;
|
|
23
|
-
comboBundleAddToCartFunction: ((selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
24
|
-
variantId: string;
|
|
25
|
-
price: number;
|
|
26
|
-
}[]) => Promise<void>) | null;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Clear combo bundle data from storage
|
|
30
|
-
*/
|
|
31
|
-
export declare const clearComboBundleData: () => void;
|
|
32
|
-
/**
|
|
33
|
-
* Subscribe to combo bundle data changes
|
|
34
|
-
* Returns unsubscribe function
|
|
35
|
-
*/
|
|
36
|
-
export declare const subscribeToComboBundleChanges: (callback: (hasData: boolean) => void) => (() => void);
|