yt-uikit 0.9.25 → 0.9.26-debugging-recs.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/README.md +94 -94
- package/dist/esm/atoms/bundleBuilderProductDetailsAtom.d.ts +4 -4
- package/dist/esm/atoms/cartDataAtom.d.ts +3 -3
- package/dist/esm/atoms/cartLoadingAtom.d.ts +22 -22
- package/dist/esm/atoms/cartTimer.d.ts +2 -2
- package/dist/esm/atoms/dateAtom.d.ts +1 -1
- package/dist/esm/atoms/freebieClaimModalAtom.d.ts +7 -7
- package/dist/esm/atoms/giftWrap.d.ts +2 -2
- package/dist/esm/atoms/gstCompanyNameAtom.d.ts +1 -1
- package/dist/esm/atoms/gstInputAtom.d.ts +1 -1
- package/dist/esm/atoms/maxQtyErrorAtom.d.ts +3 -3
- package/dist/esm/atoms/multiClaimSelectionAtom.d.ts +25 -25
- package/dist/esm/atoms/noteInputAtom.d.ts +3 -3
- package/dist/esm/atoms/postalCodeAtom.d.ts +1 -1
- package/dist/esm/atoms/shippingAtom.d.ts +8 -8
- package/dist/esm/atoms/showGSTInputAtom.d.ts +1 -1
- package/dist/esm/atoms/variantSelectionModalAtom.d.ts +25 -25
- package/dist/esm/components/BundleBlock/Bundle.d.ts +446 -446
- package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +50 -50
- package/dist/esm/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -9
- package/dist/esm/components/BundleBlock/BundleBuilder/SortAndFilter.d.ts +74 -74
- package/dist/esm/components/BundleBlock/BundleBuilder/VariantOptionsModal.d.ts +28 -28
- package/dist/esm/components/BundleBlock/BundleBuilder/bundleBuilder.style.d.ts +37 -37
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +55 -55
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/bundleBuilderTracker.style.d.ts +77 -77
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +37 -37
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/bundleProductDetailsModal.style.d.ts +10 -10
- package/dist/esm/components/BundleBlock/CollectionBundle/CategoryFilter.d.ts +10 -10
- package/dist/esm/components/BundleBlock/CollectionBundle/ColllectionBundle.d.ts +129 -129
- package/dist/esm/components/BundleBlock/CollectionBundle/ProductDetailsModal.d.ts +16 -16
- package/dist/esm/components/BundleBlock/ComboBundle.d.ts +17 -17
- package/dist/esm/components/BundleBlock/FixedBundle/FixedBundle.d.ts +4 -4
- package/dist/esm/components/BundleBlock/FixedBundle/SeparateVariantOptions.d.ts +45 -45
- package/dist/esm/components/BundleBlock/FixedBundle/VariantSelectorModal.d.ts +22 -22
- package/dist/esm/components/BundleBlock/FixedBundle/fixedBundle.style.d.ts +80 -80
- package/dist/esm/components/BundleBlock/Loader.d.ts +5 -5
- package/dist/esm/components/BundleBlock/MixAndMatchBundle/MixAndMatchBundle.d.ts +9 -9
- package/dist/esm/components/BundleBlock/MixAndMatchBundle/mixAndMatchBundle.style.d.ts +86 -86
- package/dist/esm/components/BundleBlock/PersonalizationForm/PersonalizationForm.d.ts +35 -35
- package/dist/esm/components/BundleBlock/PersonalizationForm/PersonalizationFormModal.d.ts +24 -24
- package/dist/esm/components/BundleBlock/VolumeBundle/VolumeBundle.d.ts +27 -27
- package/dist/esm/components/BundleBlock/VolumeBundle/volumeBundle.style.d.ts +80 -80
- package/dist/esm/components/BundleBlock/index.d.ts +1 -1
- package/dist/esm/components/Cart/ApplyCoupon.d.ts +13 -13
- package/dist/esm/components/Cart/Bundle.d.ts +6 -6
- package/dist/esm/components/Cart/Cart.d.ts +258 -258
- package/dist/esm/components/Cart/CartDrawer.d.ts +34 -34
- package/dist/esm/components/Cart/CartOffersCarousel.d.ts +48 -48
- package/dist/esm/components/Cart/CartProductsList.d.ts +45 -45
- package/dist/esm/components/Cart/CartTimer.d.ts +8 -8
- package/dist/esm/components/Cart/CheckoutSection.d.ts +47 -47
- package/dist/esm/components/Cart/CouponSelection.d.ts +18 -18
- package/dist/esm/components/Cart/DatePicker.d.ts +10 -10
- package/dist/esm/components/Cart/EmptyCart.d.ts +33 -33
- package/dist/esm/components/Cart/FloatingCart.d.ts +24 -24
- package/dist/esm/components/Cart/FooterSections.d.ts +6 -6
- package/dist/esm/components/Cart/FreebieClaimManager.d.ts +17 -17
- package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +17 -17
- package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +10 -10
- package/dist/esm/components/Cart/FreebieClaimSection.d.ts +17 -17
- package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +18 -18
- package/dist/esm/components/Cart/GSTSection.d.ts +15 -15
- package/dist/esm/components/Cart/GiftWrap.d.ts +15 -15
- package/dist/esm/components/Cart/InlineCartOfferInfoText.d.ts +10 -10
- package/dist/esm/components/Cart/LoyaltyAppliedCTA.d.ts +19 -19
- package/dist/esm/components/Cart/LoyaltyApplyCTA.d.ts +18 -18
- package/dist/esm/components/Cart/LoyaltyBadge.d.ts +10 -10
- package/dist/esm/components/Cart/LoyaltyGuestCTA.d.ts +17 -17
- package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointConfetti.d.ts +11 -11
- package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointIcon.d.ts +3 -3
- package/dist/esm/components/Cart/MultiStepProgressBar/CheckpointTooltip.d.ts +3 -3
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepIcon.d.ts +9 -9
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.d.ts +5 -5
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts +45 -45
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiStepUtils.d.ts +6 -6
- package/dist/esm/components/Cart/MultiStepProgressBar/MultiTierProgressBar.d.ts +4 -4
- package/dist/esm/components/Cart/MultiStepProgressBar/MutiTierNextRewardMessage.d.ts +3 -3
- package/dist/esm/components/Cart/MultiStepProgressBar/NextRewardMessage.d.ts +3 -3
- package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.d.ts +4 -4
- package/dist/esm/components/Cart/MultiStepProgressBar/SingleTierProgressBar.styled.d.ts +22 -22
- package/dist/esm/components/Cart/MultiStepProgressBar/SingletTierNextRewardMessage.d.ts +3 -3
- package/dist/esm/components/Cart/MultiStepProgressBar/types.d.ts +55 -55
- package/dist/esm/components/Cart/NextFreebieRow.d.ts +19 -19
- package/dist/esm/components/Cart/NoteSection.d.ts +8 -8
- package/dist/esm/components/Cart/ProductCard.d.ts +30 -30
- package/dist/esm/components/Cart/ProductRecCard.d.ts +20 -20
- package/dist/esm/components/Cart/ProductRecList.d.ts +23 -23
- package/dist/esm/components/Cart/ProgressBarCartLoader.d.ts +7 -7
- package/dist/esm/components/Cart/QuantitySelector.d.ts +12 -12
- package/dist/esm/components/Cart/RegionSpecificDelivery.d.ts +17 -17
- package/dist/esm/components/Cart/RewardPointsPreview.d.ts +10 -10
- package/dist/esm/components/Cart/StandardDelivery.d.ts +11 -11
- package/dist/esm/components/Cart/StealDealSection.d.ts +14 -14
- package/dist/esm/components/Cart/StickyCart.d.ts +64 -64
- package/dist/esm/components/Cart/SubtotalSection.d.ts +13 -13
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +19 -19
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +60 -60
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +19 -19
- package/dist/esm/components/Cart/index.d.ts +1 -1
- package/dist/esm/components/Loyalty/Loader.d.ts +10 -10
- package/dist/esm/components/Loyalty/LoyaltyProductCatalog.d.ts +60 -60
- package/dist/esm/components/Loyalty/index.d.ts +2 -2
- package/dist/esm/components/LoyaltyPageBlock/LoyaltyPageBlock.d.ts +64 -64
- package/dist/esm/components/Nudge/LeadGenerationNudge.d.ts +15 -15
- package/dist/esm/components/Nudge/Nudge.d.ts +40 -40
- package/dist/esm/components/Nudge/index.d.ts +1 -1
- package/dist/esm/components/ProductOffersBlock/ProductOffersCoupon.d.ts +12 -12
- package/dist/esm/components/ProductOffersBlock/ProductOffersList.d.ts +12 -12
- package/dist/esm/components/ProductOffersBlock/ProductOffersTermsMobilePopover.d.ts +10 -10
- package/dist/esm/components/ProductOffersBlock/ProductOffersTermsPopup.d.ts +10 -10
- package/dist/esm/components/ProductOffersBlock/ProductsOffers.d.ts +42 -42
- package/dist/esm/components/SpinnerWheel/SpinnerWheel.d.ts +23 -23
- package/dist/esm/components/SpinnerWheel/WheelSection.d.ts +9 -9
- package/dist/esm/components/SpinnerWheel/index.d.ts +1 -1
- package/dist/esm/components/index.d.ts +9 -9
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +418 -418
- package/dist/esm/utils/converter.d.ts +2 -2
- package/dist/esm/utils/customVariantOptions.d.ts +20 -20
- package/dist/esm/utils/freebieProductUtils.d.ts +36 -36
- package/dist/esm/utils/freebieUtils.d.ts +5 -5
- package/dist/esm/utils/index.d.ts +14 -14
- package/dist/esm/utils/productRecsDebug.d.ts +10 -0
- package/package.json +96 -96
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const getCurrencyValueFromShopifyPrice: (price: number, currency: string) => number;
|
|
2
|
-
export declare const getCurrencySymbol: (cartData: any, currency?: string) => string;
|
|
1
|
+
export declare const getCurrencyValueFromShopifyPrice: (price: number, currency: string) => number;
|
|
2
|
+
export declare const getCurrencySymbol: (cartData: any, currency?: string) => string;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export interface CustomVariantValue {
|
|
2
|
-
name: string;
|
|
3
|
-
value: string;
|
|
4
|
-
}
|
|
5
|
-
export interface CustomVariantOption {
|
|
6
|
-
id?: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type?: "text" | "image" | "color" | string;
|
|
9
|
-
values: CustomVariantValue[];
|
|
10
|
-
}
|
|
11
|
-
export interface CustomVariantOptions {
|
|
12
|
-
options: CustomVariantOption[];
|
|
13
|
-
}
|
|
14
|
-
export declare const normalizeVariantLabel: (label?: string) => string;
|
|
15
|
-
export declare const extractHexFromLabel: (label?: string) => string | null;
|
|
16
|
-
export declare const loadCustomVariantOptions: () => CustomVariantOptions | null;
|
|
17
|
-
export declare const saveCustomVariantOptions: (input: CustomVariantOptions | CustomVariantOption[]) => void;
|
|
18
|
-
export declare const clearCustomVariantOptions: () => void;
|
|
19
|
-
export declare const findMatchingCustomVariantValue: (customOption: CustomVariantOption | undefined, optionValue?: string) => CustomVariantValue | undefined;
|
|
20
|
-
export declare const useCustomVariantOptions: () => CustomVariantOptions | null;
|
|
1
|
+
export interface CustomVariantValue {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface CustomVariantOption {
|
|
6
|
+
id?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type?: "text" | "image" | "color" | string;
|
|
9
|
+
values: CustomVariantValue[];
|
|
10
|
+
}
|
|
11
|
+
export interface CustomVariantOptions {
|
|
12
|
+
options: CustomVariantOption[];
|
|
13
|
+
}
|
|
14
|
+
export declare const normalizeVariantLabel: (label?: string) => string;
|
|
15
|
+
export declare const extractHexFromLabel: (label?: string) => string | null;
|
|
16
|
+
export declare const loadCustomVariantOptions: () => CustomVariantOptions | null;
|
|
17
|
+
export declare const saveCustomVariantOptions: (input: CustomVariantOptions | CustomVariantOption[]) => void;
|
|
18
|
+
export declare const clearCustomVariantOptions: () => void;
|
|
19
|
+
export declare const findMatchingCustomVariantValue: (customOption: CustomVariantOption | undefined, optionValue?: string) => CustomVariantValue | undefined;
|
|
20
|
+
export declare const useCustomVariantOptions: () => CustomVariantOptions | null;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
|
|
2
|
-
export interface ProcessedFreebieProduct {
|
|
3
|
-
selectedVariantId?: string;
|
|
4
|
-
selectedVariantGid?: string;
|
|
5
|
-
selectedVariantPrice: number;
|
|
6
|
-
availableVariants: any[];
|
|
7
|
-
displayVariantCount: number;
|
|
8
|
-
effectiveDiscount: number;
|
|
9
|
-
effectiveDiscountPercentage: number;
|
|
10
|
-
effectivePrice: number;
|
|
11
|
-
dealAmount: number;
|
|
12
|
-
showOptions: boolean;
|
|
13
|
-
isFree: boolean;
|
|
14
|
-
isNoDiscount: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const normalizeShopifyId: (value: unknown) => string | undefined;
|
|
17
|
-
export declare const isSameShopifyId: (left: unknown, right: unknown) => boolean;
|
|
18
|
-
export declare const getAvailableFreebieVariants: (product: any) => any[];
|
|
19
|
-
export declare const getClaimAllowedVariantIds: (product: any) => string[];
|
|
20
|
-
export declare const getClaimableFreebieVariants: (product: any) => any[];
|
|
21
|
-
export declare const getFirstClaimableVariantId: (product: any) => string | undefined;
|
|
22
|
-
export declare const hasClaimableFreebieVariant: (product: any) => boolean;
|
|
23
|
-
export declare const getFreebieProductTier: (product: any, freebieCouponTemplates?: any[]) => any;
|
|
24
|
-
export declare const getSelectedCountForFreebieTier: (selectedProductIds: string[], tierId: number | undefined, freebieProducts: any[]) => number;
|
|
25
|
-
export declare const isFreebieTierLimitReached: ({ product, selectedProductIds, freebieProducts, freebieCouponTemplates, fallbackMaxFreebies, fallbackLimitReached, }: {
|
|
26
|
-
product: any;
|
|
27
|
-
selectedProductIds: string[];
|
|
28
|
-
freebieProducts: any[];
|
|
29
|
-
freebieCouponTemplates?: any[] | undefined;
|
|
30
|
-
fallbackMaxFreebies?: number | undefined;
|
|
31
|
-
fallbackLimitReached?: boolean | undefined;
|
|
32
|
-
}) => boolean;
|
|
33
|
-
export declare const checkpointIncludesVariant: (checkpoint: any, variantGid?: string) => boolean;
|
|
34
|
-
export declare const getTotalClaimableFreebies: (freebieProducts: any[], freebieCouponTemplates?: any[], fallbackMaxFreebies?: number) => number;
|
|
35
|
-
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
|
|
36
|
-
export declare const getInitialVariantWithDealAmount: (availableVariants: any[], freebieCouponTemplates?: any[], claimAllowedVariants?: string[]) => string | undefined;
|
|
1
|
+
export declare const isVariantAvailable: (product: any, variantNode: any) => boolean;
|
|
2
|
+
export interface ProcessedFreebieProduct {
|
|
3
|
+
selectedVariantId?: string;
|
|
4
|
+
selectedVariantGid?: string;
|
|
5
|
+
selectedVariantPrice: number;
|
|
6
|
+
availableVariants: any[];
|
|
7
|
+
displayVariantCount: number;
|
|
8
|
+
effectiveDiscount: number;
|
|
9
|
+
effectiveDiscountPercentage: number;
|
|
10
|
+
effectivePrice: number;
|
|
11
|
+
dealAmount: number;
|
|
12
|
+
showOptions: boolean;
|
|
13
|
+
isFree: boolean;
|
|
14
|
+
isNoDiscount: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const normalizeShopifyId: (value: unknown) => string | undefined;
|
|
17
|
+
export declare const isSameShopifyId: (left: unknown, right: unknown) => boolean;
|
|
18
|
+
export declare const getAvailableFreebieVariants: (product: any) => any[];
|
|
19
|
+
export declare const getClaimAllowedVariantIds: (product: any) => string[];
|
|
20
|
+
export declare const getClaimableFreebieVariants: (product: any) => any[];
|
|
21
|
+
export declare const getFirstClaimableVariantId: (product: any) => string | undefined;
|
|
22
|
+
export declare const hasClaimableFreebieVariant: (product: any) => boolean;
|
|
23
|
+
export declare const getFreebieProductTier: (product: any, freebieCouponTemplates?: any[]) => any;
|
|
24
|
+
export declare const getSelectedCountForFreebieTier: (selectedProductIds: string[], tierId: number | undefined, freebieProducts: any[]) => number;
|
|
25
|
+
export declare const isFreebieTierLimitReached: ({ product, selectedProductIds, freebieProducts, freebieCouponTemplates, fallbackMaxFreebies, fallbackLimitReached, }: {
|
|
26
|
+
product: any;
|
|
27
|
+
selectedProductIds: string[];
|
|
28
|
+
freebieProducts: any[];
|
|
29
|
+
freebieCouponTemplates?: any[] | undefined;
|
|
30
|
+
fallbackMaxFreebies?: number | undefined;
|
|
31
|
+
fallbackLimitReached?: boolean | undefined;
|
|
32
|
+
}) => boolean;
|
|
33
|
+
export declare const checkpointIncludesVariant: (checkpoint: any, variantGid?: string) => boolean;
|
|
34
|
+
export declare const getTotalClaimableFreebies: (freebieProducts: any[], freebieCouponTemplates?: any[], fallbackMaxFreebies?: number) => number;
|
|
35
|
+
export declare const processFreebieProduct: (product: any, freebieCouponTemplates?: any[], localVariantId?: string) => ProcessedFreebieProduct;
|
|
36
|
+
export declare const getInitialVariantWithDealAmount: (availableVariants: any[], freebieCouponTemplates?: any[], claimAllowedVariants?: string[]) => string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared utility function for adding freebie products to cart
|
|
3
|
-
* Used by both FreebieClaimManager and FreebieClaimSection to avoid code duplication
|
|
4
|
-
*/
|
|
5
|
-
export declare const addFreebieProductsToCart: (selectedProductIds: string[], freebieProductsInCart: any[], addFreebieToCart?: ((variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>) | undefined) => Promise<void>;
|
|
1
|
+
/**
|
|
2
|
+
* Shared utility function for adding freebie products to cart
|
|
3
|
+
* Used by both FreebieClaimManager and FreebieClaimSection to avoid code duplication
|
|
4
|
+
*/
|
|
5
|
+
export declare const addFreebieProductsToCart: (selectedProductIds: string[], freebieProductsInCart: any[], addFreebieToCart?: ((variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>) | undefined) => Promise<void>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const getAdjustedTitle: (title: string, length?: number) => string;
|
|
2
|
-
export declare const getAdjustedTitleByCanvas: (title: string, maxWidthPercentage: number, containerWidth: number, fontFamily?: string, fontSize?: string) => string;
|
|
3
|
-
export declare function getColorWithAlpha(colorHex: string, alpha: number): string;
|
|
4
|
-
export declare function hexToRGBWithOpacity(hex: any, opacity: any): string;
|
|
5
|
-
export declare const getIdFromGid: (gid: string) => string | undefined;
|
|
6
|
-
export declare function getCookieValue(cookieName: string): string;
|
|
7
|
-
export declare const extractShopifyProductOrVariantId: (id: string) => string;
|
|
8
|
-
export declare function setContrastTextColor(element: HTMLElement | null, lightColor?: string, darkColor?: string, threshold?: number): void;
|
|
9
|
-
export declare const formatPriceWithCommas: (price: number | string) => string;
|
|
10
|
-
export declare const shouldRenderCheckoutMessageInCartList: () => boolean;
|
|
11
|
-
export declare const shouldUseBWTheme: () => boolean;
|
|
12
|
-
export declare const optimizeShopifyImage: (imageUrl: string | undefined | null, size?: number, quality?: number, format?: "webp" | "auto" | "jpg" | "png") => string;
|
|
13
|
-
export declare const darkenColor: (color: string | undefined, amount?: number) => string;
|
|
14
|
-
export declare const extractBundleDiscountTitle: (discountTitle: string) => string;
|
|
1
|
+
export declare const getAdjustedTitle: (title: string, length?: number) => string;
|
|
2
|
+
export declare const getAdjustedTitleByCanvas: (title: string, maxWidthPercentage: number, containerWidth: number, fontFamily?: string, fontSize?: string) => string;
|
|
3
|
+
export declare function getColorWithAlpha(colorHex: string, alpha: number): string;
|
|
4
|
+
export declare function hexToRGBWithOpacity(hex: any, opacity: any): string;
|
|
5
|
+
export declare const getIdFromGid: (gid: string) => string | undefined;
|
|
6
|
+
export declare function getCookieValue(cookieName: string): string;
|
|
7
|
+
export declare const extractShopifyProductOrVariantId: (id: string) => string;
|
|
8
|
+
export declare function setContrastTextColor(element: HTMLElement | null, lightColor?: string, darkColor?: string, threshold?: number): void;
|
|
9
|
+
export declare const formatPriceWithCommas: (price: number | string) => string;
|
|
10
|
+
export declare const shouldRenderCheckoutMessageInCartList: () => boolean;
|
|
11
|
+
export declare const shouldUseBWTheme: () => boolean;
|
|
12
|
+
export declare const optimizeShopifyImage: (imageUrl: string | undefined | null, size?: number, quality?: number, format?: "webp" | "auto" | "jpg" | "png") => string;
|
|
13
|
+
export declare const darkenColor: (color: string | undefined, amount?: number) => string;
|
|
14
|
+
export declare const extractBundleDiscountTitle: (discountTitle: string) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const logProductRecsDebug: (...args: any[]) => void;
|
|
2
|
+
export declare const summarizeVariantForProductRecsDebug: (variant: any) => {
|
|
3
|
+
id: any;
|
|
4
|
+
title: any;
|
|
5
|
+
available: any;
|
|
6
|
+
option1: any;
|
|
7
|
+
option2: any;
|
|
8
|
+
option3: any;
|
|
9
|
+
} | undefined;
|
|
10
|
+
export declare const summarizeProductVariantsForProductRecsDebug: (product: any) => any;
|
package/package.json
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "yt-uikit",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"description": "YourToken UI Kit",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"rollup": "rm -rf dist && tsc && rollup -c",
|
|
7
|
-
"test": "jest",
|
|
8
|
-
"storybook": "storybook dev -p 6006",
|
|
9
|
-
"build-storybook": "storybook build"
|
|
10
|
-
},
|
|
11
|
-
"author": "Pulkit Vyas",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"resolutions": {
|
|
14
|
-
"@types/react": "^17.0.0",
|
|
15
|
-
"@types/react-dom": "^17.0.0"
|
|
16
|
-
},
|
|
17
|
-
"peerDependencies": {
|
|
18
|
-
"canvas-confetti": "^1.0.0",
|
|
19
|
-
"currency-symbol-map": "^5.0.0",
|
|
20
|
-
"jotai": "^2.0.0",
|
|
21
|
-
"react": ">= 16.8.0",
|
|
22
|
-
"react-calendar": "^5.0.0",
|
|
23
|
-
"react-dom": ">= 16.8.0",
|
|
24
|
-
"react-icons": "^5.0.0",
|
|
25
|
-
"react-international-phone": "^4.3.0",
|
|
26
|
-
"react-modal-image": "^2.6.0",
|
|
27
|
-
"react-otp-input": "^3.1.1",
|
|
28
|
-
"react-spinners": "^0.14.1",
|
|
29
|
-
"react-use": "^17.5.0",
|
|
30
|
-
"styled-components": "^6.0.7",
|
|
31
|
-
"web-vitals": "^3.5.1"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@babel/core": "^7.16.0",
|
|
35
|
-
"@babel/preset-env": "^7.16.4",
|
|
36
|
-
"@babel/preset-react": "^7.16.0",
|
|
37
|
-
"@babel/preset-typescript": "^7.16.0",
|
|
38
|
-
"@mdx-js/react": "^2.1.2",
|
|
39
|
-
"@rollup/plugin-commonjs": "^21.0.1",
|
|
40
|
-
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
41
|
-
"@rollup/plugin-typescript": "^8.3.0",
|
|
42
|
-
"@storybook/addon-actions": "^7.6.16",
|
|
43
|
-
"@storybook/addon-essentials": "^7.6.16",
|
|
44
|
-
"@storybook/addon-links": "^7.6.16",
|
|
45
|
-
"@storybook/addon-postcss": "^2.0.0",
|
|
46
|
-
"@storybook/addon-styling-webpack": "^0.0.6",
|
|
47
|
-
"@storybook/preset-scss": "^1.0.3",
|
|
48
|
-
"@storybook/react": "^7.6.16",
|
|
49
|
-
"@storybook/react-webpack5": "^7.6.16",
|
|
50
|
-
"@testing-library/react": "^13.3.0",
|
|
51
|
-
"@types/canvas-confetti": "^1.9.0",
|
|
52
|
-
"@types/d3-ease": "^3.0.0",
|
|
53
|
-
"@types/jest": "^28.1.6",
|
|
54
|
-
"@types/react": "^18.0.15",
|
|
55
|
-
"@types/react-modal-image": "^2.6.3",
|
|
56
|
-
"autoprefixer": "^10.4.17",
|
|
57
|
-
"babel-jest": "^27.3.1",
|
|
58
|
-
"babel-loader": "^8.2.3",
|
|
59
|
-
"class-variance-authority": "^0.7.0",
|
|
60
|
-
"clsx": "^2.1.0",
|
|
61
|
-
"css-loader": "^6.5.1",
|
|
62
|
-
"currency-symbol-map": "^5.1.0",
|
|
63
|
-
"daisyui": "^4.7.2",
|
|
64
|
-
"html-webpack-plugin": "^5.5.0",
|
|
65
|
-
"identity-obj-proxy": "^3.0.0",
|
|
66
|
-
"jest": "^28.1.3",
|
|
67
|
-
"jest-worker": "^29.7.0",
|
|
68
|
-
"jotai": "^2.6.4",
|
|
69
|
-
"react": "^18.2.0",
|
|
70
|
-
"react-dom": "^18.2.0",
|
|
71
|
-
"react-icons": "5.4.0",
|
|
72
|
-
"rollup": "^2.60.0",
|
|
73
|
-
"rollup-plugin-dts": "^4.0.1",
|
|
74
|
-
"rollup-plugin-postcss": "^4.0.1",
|
|
75
|
-
"rollup-plugin-svg": "^2.0.0",
|
|
76
|
-
"sass": "^1.43.5",
|
|
77
|
-
"sass-loader": "^12.3.0",
|
|
78
|
-
"storybook": "^7.6.16",
|
|
79
|
-
"style-loader": "^3.3.1",
|
|
80
|
-
"tslib": "^2.8.1",
|
|
81
|
-
"typescript": "^4.7.4",
|
|
82
|
-
"webpack": "^5.89.0",
|
|
83
|
-
"webpack-cli": "^5.1.4",
|
|
84
|
-
"webpack-dev-server": "^4.15.1"
|
|
85
|
-
},
|
|
86
|
-
"main": "dist/cjs/index.js",
|
|
87
|
-
"module": "dist/esm/index.js",
|
|
88
|
-
"files": [
|
|
89
|
-
"dist"
|
|
90
|
-
],
|
|
91
|
-
"types": "dist/esm/index.d.ts",
|
|
92
|
-
"dependencies": {
|
|
93
|
-
"prettier": "^3.6.2",
|
|
94
|
-
"rollup-plugin-terser": "^7.0.2"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "yt-uikit",
|
|
3
|
+
"version": "0.9.26-debugging-recs.0",
|
|
4
|
+
"description": "YourToken UI Kit",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"rollup": "rm -rf dist && tsc && rollup -c",
|
|
7
|
+
"test": "jest",
|
|
8
|
+
"storybook": "storybook dev -p 6006",
|
|
9
|
+
"build-storybook": "storybook build"
|
|
10
|
+
},
|
|
11
|
+
"author": "Pulkit Vyas",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"resolutions": {
|
|
14
|
+
"@types/react": "^17.0.0",
|
|
15
|
+
"@types/react-dom": "^17.0.0"
|
|
16
|
+
},
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"canvas-confetti": "^1.0.0",
|
|
19
|
+
"currency-symbol-map": "^5.0.0",
|
|
20
|
+
"jotai": "^2.0.0",
|
|
21
|
+
"react": ">= 16.8.0",
|
|
22
|
+
"react-calendar": "^5.0.0",
|
|
23
|
+
"react-dom": ">= 16.8.0",
|
|
24
|
+
"react-icons": "^5.0.0",
|
|
25
|
+
"react-international-phone": "^4.3.0",
|
|
26
|
+
"react-modal-image": "^2.6.0",
|
|
27
|
+
"react-otp-input": "^3.1.1",
|
|
28
|
+
"react-spinners": "^0.14.1",
|
|
29
|
+
"react-use": "^17.5.0",
|
|
30
|
+
"styled-components": "^6.0.7",
|
|
31
|
+
"web-vitals": "^3.5.1"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@babel/core": "^7.16.0",
|
|
35
|
+
"@babel/preset-env": "^7.16.4",
|
|
36
|
+
"@babel/preset-react": "^7.16.0",
|
|
37
|
+
"@babel/preset-typescript": "^7.16.0",
|
|
38
|
+
"@mdx-js/react": "^2.1.2",
|
|
39
|
+
"@rollup/plugin-commonjs": "^21.0.1",
|
|
40
|
+
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
41
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
42
|
+
"@storybook/addon-actions": "^7.6.16",
|
|
43
|
+
"@storybook/addon-essentials": "^7.6.16",
|
|
44
|
+
"@storybook/addon-links": "^7.6.16",
|
|
45
|
+
"@storybook/addon-postcss": "^2.0.0",
|
|
46
|
+
"@storybook/addon-styling-webpack": "^0.0.6",
|
|
47
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
48
|
+
"@storybook/react": "^7.6.16",
|
|
49
|
+
"@storybook/react-webpack5": "^7.6.16",
|
|
50
|
+
"@testing-library/react": "^13.3.0",
|
|
51
|
+
"@types/canvas-confetti": "^1.9.0",
|
|
52
|
+
"@types/d3-ease": "^3.0.0",
|
|
53
|
+
"@types/jest": "^28.1.6",
|
|
54
|
+
"@types/react": "^18.0.15",
|
|
55
|
+
"@types/react-modal-image": "^2.6.3",
|
|
56
|
+
"autoprefixer": "^10.4.17",
|
|
57
|
+
"babel-jest": "^27.3.1",
|
|
58
|
+
"babel-loader": "^8.2.3",
|
|
59
|
+
"class-variance-authority": "^0.7.0",
|
|
60
|
+
"clsx": "^2.1.0",
|
|
61
|
+
"css-loader": "^6.5.1",
|
|
62
|
+
"currency-symbol-map": "^5.1.0",
|
|
63
|
+
"daisyui": "^4.7.2",
|
|
64
|
+
"html-webpack-plugin": "^5.5.0",
|
|
65
|
+
"identity-obj-proxy": "^3.0.0",
|
|
66
|
+
"jest": "^28.1.3",
|
|
67
|
+
"jest-worker": "^29.7.0",
|
|
68
|
+
"jotai": "^2.6.4",
|
|
69
|
+
"react": "^18.2.0",
|
|
70
|
+
"react-dom": "^18.2.0",
|
|
71
|
+
"react-icons": "5.4.0",
|
|
72
|
+
"rollup": "^2.60.0",
|
|
73
|
+
"rollup-plugin-dts": "^4.0.1",
|
|
74
|
+
"rollup-plugin-postcss": "^4.0.1",
|
|
75
|
+
"rollup-plugin-svg": "^2.0.0",
|
|
76
|
+
"sass": "^1.43.5",
|
|
77
|
+
"sass-loader": "^12.3.0",
|
|
78
|
+
"storybook": "^7.6.16",
|
|
79
|
+
"style-loader": "^3.3.1",
|
|
80
|
+
"tslib": "^2.8.1",
|
|
81
|
+
"typescript": "^4.7.4",
|
|
82
|
+
"webpack": "^5.89.0",
|
|
83
|
+
"webpack-cli": "^5.1.4",
|
|
84
|
+
"webpack-dev-server": "^4.15.1"
|
|
85
|
+
},
|
|
86
|
+
"main": "dist/cjs/index.js",
|
|
87
|
+
"module": "dist/esm/index.js",
|
|
88
|
+
"files": [
|
|
89
|
+
"dist"
|
|
90
|
+
],
|
|
91
|
+
"types": "dist/esm/index.d.ts",
|
|
92
|
+
"dependencies": {
|
|
93
|
+
"prettier": "^3.6.2",
|
|
94
|
+
"rollup-plugin-terser": "^7.0.2"
|
|
95
|
+
}
|
|
96
|
+
}
|