yt-uikit 0.7.359 → 0.7.361-optimizations-test.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 +1 -0
- package/dist/esm/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -0
- package/dist/esm/index.js +128 -128
- package/dist/esm/types/components/BundleBlock/Bundle.d.ts +1 -0
- package/dist/esm/types/components/BundleBlock/BundleBuilder/ResponsiveBgImage.d.ts +9 -0
- package/package.json +1 -1
- 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/types/components/Cart/FreebieClaim.d.ts +0 -17
- package/dist/esm/types/components/Cart/VariantSelectionPopup/MobileVariantPopover.styled.d.ts +0 -49
|
@@ -368,6 +368,7 @@ export type BundleProps = {
|
|
|
368
368
|
};
|
|
369
369
|
export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
|
|
370
370
|
export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
|
|
371
|
+
export declare const optimiseImage: (url: string) => string;
|
|
371
372
|
export declare const handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number, selectedItems: {
|
|
372
373
|
variantId: string;
|
|
373
374
|
product: ProductDetails;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ResponsiveBackgroundImageProps {
|
|
3
|
+
coverImageUrl?: string;
|
|
4
|
+
mobileCoverImageUrl?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
styles?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const ResponsiveBackgroundImage: React.FC<ResponsiveBackgroundImageProps>;
|
|
9
|
+
export default ResponsiveBackgroundImage;
|