@wscsports/blaze-web-sdk 0.1.871 → 0.1.872

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wscsports/blaze-web-sdk",
3
- "version": "0.1.871",
3
+ "version": "0.1.872",
4
4
  "main": "publish/index",
5
5
  "types": "publish/index",
6
6
  "files": [
@@ -194,6 +194,7 @@ export declare class BlazeImage extends BaseWidget {
194
194
  thumbnailElement: HTMLImageElement;
195
195
  constructor();
196
196
  load(src: string): void;
197
+ setHeight(value: string): void;
197
198
  setRatio(ratio: string): void;
198
199
  setBorderRadius(radius: string): void;
199
200
  }
@@ -1784,7 +1785,6 @@ export declare function isValidCountryCode(countryCode: string): countryCode is
1784
1785
  export declare function GuardNullOrEmpty(name: string, value: any): void;
1785
1786
 
1786
1787
  export declare function formatDuration(startDate: Date): string;
1787
- export declare function removeUndefined(value: any): object;
1788
1788
  export declare function isCssPropertySupported(property: string): boolean;
1789
1789
  export declare function pixelsToNumber(pxString: string): number;
1790
1790
  export declare function isObject(item: any): boolean;
@@ -1793,6 +1793,8 @@ export declare function cloneDeep<T>(target: T): T;
1793
1793
  export declare function formatDate(date: Date): string;
1794
1794
  export declare function formatUTCDate(date: Date): string;
1795
1795
  export declare function calculatePercentage(value: number, element: BlazeDiv): string;
1796
+ type RatioType = '16/9' | '9/16' | '2/3' | 'Custom Ratio';
1797
+ export declare function checkAspectRatios(decimal: number): RatioType;
1796
1798
  export declare function getRandomId(): string;
1797
1799
  export declare function isEmpty(obj: Record<string, any>): boolean;
1798
1800
  export declare function setId(element: HTMLElement, prefix?: string, suffix?: string): void;