yt-uikit 0.7.410 → 0.7.412
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 +442 -442
- 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
|
@@ -373,6 +373,7 @@ export type BundleProps = {
|
|
|
373
373
|
};
|
|
374
374
|
export declare const currencyPrice: (price: number | string | undefined) => string | undefined;
|
|
375
375
|
export declare const getCurrencySymbol: (genSymbol: string, storeCurrencyCode?: string) => string;
|
|
376
|
+
export declare const optimiseImage: (url: string) => string;
|
|
376
377
|
export declare const handleAddToBundle: (variantId: string, product: ProductDetails, quantity: number, selectedItems: {
|
|
377
378
|
variantId: string;
|
|
378
379
|
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;
|