yt-uikit 0.8.2-mixandmatchmodalheightfix.0.4 → 0.8.2-mixandmatchmodalheightfix.0.6
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/Cart/Cart.d.ts +1 -2
- package/dist/esm/components/Cart/FreebieClaimManager.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimOverlay.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimOverlayCard.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimSection.d.ts +0 -1
- package/dist/esm/components/Cart/FreebieClaimSectionCard.d.ts +0 -1
- package/dist/esm/components/Cart/StickyCart.d.ts +1 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/index.js +458 -457
- package/dist/esm/types/components/Cart/Cart.d.ts +1 -2
- package/dist/esm/types/components/Cart/FreebieClaimManager.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimOverlay.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimOverlayCard.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimSection.d.ts +0 -1
- package/dist/esm/types/components/Cart/FreebieClaimSectionCard.d.ts +0 -1
- package/dist/esm/types/components/Cart/StickyCart.d.ts +1 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +0 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +0 -1
- package/dist/esm/types/utils/freebieProductUtils.d.ts +2 -1
- package/dist/esm/utils/freebieProductUtils.d.ts +2 -1
- package/dist/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/esm/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +0 -5
- package/dist/esm/components/BundleBlock/VolumeBundle/temp.d.ts +0 -3
- package/dist/esm/components/Cart/FreebieClaim.d.ts +0 -17
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +0 -49
- package/dist/esm/hooks/useShadowConfetti.d.ts +0 -1
- package/dist/esm/shadowStyles.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/ProductGridSkeleton/ProductGridSkeleton.d.ts +0 -5
- package/dist/esm/types/components/BundleBlock/VolumeBundle/temp.d.ts +0 -3
- package/dist/esm/types/components/Cart/FreebieClaim.d.ts +0 -17
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +0 -49
- package/dist/esm/types/hooks/useShadowConfetti.d.ts +0 -1
- package/dist/esm/types/shadowStyles.d.ts +0 -1
|
@@ -200,7 +200,7 @@ export interface CartProps {
|
|
|
200
200
|
cartOffersCarousalData?: CartOffersCarousalProps;
|
|
201
201
|
freebieMilestoneData?: freebieMilestoneProps;
|
|
202
202
|
cartOffersCarouselHeight?: number;
|
|
203
|
-
stickyBarBuyNowFunction?: (
|
|
203
|
+
stickyBarBuyNowFunction?: (variantId: string, quantity: number) => Promise<void>;
|
|
204
204
|
gstSectionCustomizationData?: GSTSectionCustomizationProps;
|
|
205
205
|
noteSectionTitle?: string;
|
|
206
206
|
checkoutSectionMessage?: string;
|
|
@@ -224,7 +224,6 @@ export interface CartProps {
|
|
|
224
224
|
showApplyCoupon?: boolean;
|
|
225
225
|
enableConfetti?: boolean;
|
|
226
226
|
showCheckoutButtonPaymentIcons?: boolean;
|
|
227
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
228
227
|
comboBundleData?: BundlePayload;
|
|
229
228
|
comboBundleAddToCartFunction?: (selectedItemsSubtotal: number, variantIds?: string[], finalBundlePrice?: number, variantIdPriceMap?: {
|
|
230
229
|
variantId: string;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimManagerProps {
|
|
|
12
12
|
imageAspectSelector?: "square" | "portrait";
|
|
13
13
|
freebieCouponTemplates?: Checkpoint[];
|
|
14
14
|
isCartDrawerOpen?: boolean;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimManager: React.FC<FreebieClaimManagerProps>;
|
|
18
17
|
export default FreebieClaimManager;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimOverlayProps {
|
|
|
12
12
|
freebieCouponTemplates?: Checkpoint[];
|
|
13
13
|
freebieClaimData?: any;
|
|
14
14
|
isCartDrawerOpen?: boolean;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimOverlay: React.FC<FreebieClaimOverlayProps>;
|
|
18
17
|
export default FreebieClaimOverlay;
|
|
@@ -4,7 +4,6 @@ interface FreebieClaimOverlayCardProps {
|
|
|
4
4
|
imageAspectSelector?: "square" | "portrait";
|
|
5
5
|
freebieCouponTemplates?: any[];
|
|
6
6
|
accentColor?: string;
|
|
7
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
8
7
|
}
|
|
9
8
|
declare const FreebieClaimOverlayCard: React.FC<FreebieClaimOverlayCardProps>;
|
|
10
9
|
export default FreebieClaimOverlayCard;
|
|
@@ -12,7 +12,6 @@ interface FreebieClaimSectionProps {
|
|
|
12
12
|
maxFreebiesInTier?: number;
|
|
13
13
|
tierName?: string;
|
|
14
14
|
freebieClaimData?: any;
|
|
15
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const FreebieClaimSection: React.FC<FreebieClaimSectionProps>;
|
|
18
17
|
export default FreebieClaimSection;
|
|
@@ -11,7 +11,6 @@ interface FreebieClaimSectionCardProps {
|
|
|
11
11
|
isSelected?: boolean;
|
|
12
12
|
isDisabled?: boolean;
|
|
13
13
|
onToggleSelection?: (productId: string) => void;
|
|
14
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
15
14
|
}
|
|
16
15
|
declare const FreebieClaimSectionCard: React.FC<FreebieClaimSectionCardProps>;
|
|
17
16
|
export default FreebieClaimSectionCard;
|
|
@@ -39,7 +39,7 @@ export type StickyAddToCartProps = {
|
|
|
39
39
|
cartComponentsCornerType?: "rounded" | "sharp";
|
|
40
40
|
cartComponentsCornerRadius?: number;
|
|
41
41
|
stickyCartCustomizationData?: stickyCartCustomizationDataProps;
|
|
42
|
-
checkoutFunction?: (
|
|
42
|
+
checkoutFunction?: (variantId: string, quantity: number) => Promise<void>;
|
|
43
43
|
backgroundColor?: string;
|
|
44
44
|
primaryTextColor?: string;
|
|
45
45
|
comboBundleData?: BundlePayload;
|
|
@@ -13,7 +13,6 @@ type DesktopVariantPopupProps = {
|
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
15
|
primaryTextColor?: string;
|
|
16
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
17
16
|
};
|
|
18
17
|
declare const DesktopVariantPopup: React.ForwardRefExoticComponent<DesktopVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
18
|
export default DesktopVariantPopup;
|
|
@@ -13,7 +13,6 @@ type MobileVariantPopupProps = {
|
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
15
|
primaryTextColor?: string;
|
|
16
|
-
shouldCheckInventoryQuantity?: boolean;
|
|
17
16
|
};
|
|
18
17
|
declare const MobileVariantPopup: React.ForwardRefExoticComponent<MobileVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
18
|
export default MobileVariantPopup;
|