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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-uikit",
3
- "version": "0.7.410",
3
+ "version": "0.7.412",
4
4
  "description": "YourToken UI Kit",
5
5
  "scripts": {
6
6
  "rollup": "tsc && rollup -c",