@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 +1 -1
- package/publish/index.d.ts +3 -1
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -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;
|