yt-uikit 0.7.344-defaultTierValue.0 → 0.7.344-refactorBundleBuilder.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 +0 -1
- package/dist/esm/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +1 -0
- package/dist/esm/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +1 -0
- package/dist/esm/components/Cart/StickyCart.d.ts +3 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +1 -0
- package/dist/esm/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +4 -1
- package/dist/esm/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +1 -0
- package/dist/esm/index.js +259 -764
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +0 -1
- package/dist/esm/types/components/BundleBlock/BundleBuilder/BundleBuilder.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilderTracker/BundleBuilderTracker.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts +1 -0
- package/dist/esm/types/components/Cart/StickyCart.d.ts +3 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.d.ts +1 -0
- package/dist/esm/types/components/Cart/VariantSelectionPopup/DesktopVariantPopup.styled.d.ts +4 -1
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.d.ts +1 -0
- package/dist/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "../bundle.scss";
|
|
2
2
|
import React from "react";
|
|
3
|
+
import "./bundleBuilder.style.css";
|
|
3
4
|
import { BundlePayload, ProductDetails } from "../Bundle";
|
|
4
5
|
export declare function QuantitySelectorForBundle({ quantity, setQuantity, remainingQuantity, handleAddToBundle, variantId, product, handleRemoveItem, hideAddToBundle, disableInventoryTracking, selectedVariantInventoryQty, }: {
|
|
5
6
|
quantity: number;
|
package/dist/esm/components/BundleBlock/BundleProductDetailsModal/BundleProductDetailsModal.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ProductDetails, Customizations } from "../Bundle";
|
|
3
|
+
import "./bundleProductDetailsModal.style.css";
|
|
3
4
|
import "../bundle.scss";
|
|
4
5
|
type BundleProductDetailsModalProps = {
|
|
5
6
|
handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number) => void;
|
|
@@ -39,6 +39,8 @@ export type StickyAddToCartProps = {
|
|
|
39
39
|
cartComponentsCornerRadius?: number;
|
|
40
40
|
stickyCartCustomizationData?: stickyCartCustomizationDataProps;
|
|
41
41
|
checkoutFunction?: (event: any) => Promise<any>;
|
|
42
|
+
backgroundColor?: string;
|
|
43
|
+
primaryTextColor?: string;
|
|
42
44
|
};
|
|
43
|
-
declare const StickyAddToCart: ({ showStickyCart, product, addCartItem, onSetLoading, themeColor, cartData, isCartOpen, setIsCartOpen, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, }: StickyAddToCartProps) => React.JSX.Element | null;
|
|
45
|
+
declare const StickyAddToCart: ({ showStickyCart, product, addCartItem, onSetLoading, themeColor, cartData, isCartOpen, setIsCartOpen, ctaButtonBackgroundColor, ctaButtonTextColor, addToStickyCart, cartComponentsCornerType, cartComponentsCornerRadius, themeTextColor, stickyCartCustomizationData, checkoutFunction, backgroundColor, primaryTextColor, }: StickyAddToCartProps) => React.JSX.Element | null;
|
|
44
46
|
export default StickyAddToCart;
|
|
@@ -12,6 +12,7 @@ type DesktopVariantPopupProps = {
|
|
|
12
12
|
freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
|
+
primaryTextColor?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const DesktopVariantPopup: React.ForwardRefExoticComponent<DesktopVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
18
|
export default DesktopVariantPopup;
|
|
@@ -18,9 +18,12 @@ export declare const ProductImage: import("styled-components/dist/types").IStyle
|
|
|
18
18
|
export declare const ProductInfo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
19
|
export declare const ProductTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
|
|
20
20
|
$themeColor?: string | undefined;
|
|
21
|
+
$primaryTextColor?: string | undefined;
|
|
21
22
|
}>> & string;
|
|
22
23
|
export declare const PriceContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
23
|
-
export declare const Price: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").
|
|
24
|
+
export declare const Price: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
25
|
+
$primaryTextColor?: string | undefined;
|
|
26
|
+
}>> & string;
|
|
24
27
|
export declare const ComparePrice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
25
28
|
export declare const ViewDetailsLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
26
29
|
export declare const OptionsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -12,6 +12,7 @@ type MobileVariantPopupProps = {
|
|
|
12
12
|
freebieClaimAddToCart?: (variantId: string, originalAllowedVariantIds?: string[]) => Promise<void>;
|
|
13
13
|
productClaimCtaButtonText?: string;
|
|
14
14
|
backgroundSubdued?: string;
|
|
15
|
+
primaryTextColor?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const MobileVariantPopup: React.ForwardRefExoticComponent<MobileVariantPopupProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
18
|
export default MobileVariantPopup;
|