@wscsports/blaze-web-sdk 0.1.56 → 0.1.60
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 +16 -12
- package/publish/index.js +1 -1
package/package.json
CHANGED
package/publish/index.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ export declare class BlazeLoader extends HTMLElement {
|
|
|
187
187
|
|
|
188
188
|
export declare class BlazeSkeleton extends BaseWidget {
|
|
189
189
|
borderRadius: string;
|
|
190
|
-
constructor(
|
|
190
|
+
constructor(layoutStyle?: LayoutStyle);
|
|
191
191
|
connectedCallback(): void;
|
|
192
192
|
}
|
|
193
193
|
|
|
@@ -1007,7 +1007,7 @@ export interface IndicatorStyle {
|
|
|
1007
1007
|
text: string;
|
|
1008
1008
|
}
|
|
1009
1009
|
export interface LayoutStyle {
|
|
1010
|
-
|
|
1010
|
+
thumbnailShape: ThumbnailShape;
|
|
1011
1011
|
thumbnailType: ThumbnailType;
|
|
1012
1012
|
rows: number;
|
|
1013
1013
|
columns: number;
|
|
@@ -1428,9 +1428,9 @@ export * from './label.type';
|
|
|
1428
1428
|
export * from './order.type';
|
|
1429
1429
|
export * from './play.type';
|
|
1430
1430
|
export * from './severity.type';
|
|
1431
|
-
export * from './shape.type';
|
|
1432
1431
|
export * from './size.type';
|
|
1433
1432
|
export * from './thumbnail.type';
|
|
1433
|
+
export * from './widget.type';
|
|
1434
1434
|
|
|
1435
1435
|
export type labelType = string | string[] | BlazeWidgetLabel;
|
|
1436
1436
|
|
|
@@ -1443,11 +1443,14 @@ export type PositionType = 'insideTopLeft' | 'insideTopRight' | 'insideMiddle' |
|
|
|
1443
1443
|
|
|
1444
1444
|
export type SeverityType = 'error' | 'warning' | 'info' | 'success';
|
|
1445
1445
|
|
|
1446
|
-
export type ShapeType = 'rectangle' | 'custom' | 'circle';
|
|
1447
|
-
|
|
1448
1446
|
export type SizeType = 'small' | 'medium' | 'large';
|
|
1449
1447
|
|
|
1450
|
-
export type
|
|
1448
|
+
export type ThumbnailApiType = 'SquareIcon' | 'VerticalTwoByThree' | 'MainThumbnail';
|
|
1449
|
+
export type ThumbnailType = 'SQUARE_ICON' | 'VERTICAL_TWO_BY_THREE' | 'CUSTOM';
|
|
1450
|
+
export type ThumbnailShape = 'circle' | 'rectangle';
|
|
1451
|
+
export declare function thumbnailMapping(thumbnailType: ThumbnailType): ThumbnailApiType;
|
|
1452
|
+
|
|
1453
|
+
export type WidgetType = 'row' | 'grid';
|
|
1451
1454
|
|
|
1452
1455
|
interface ChipSizeOptions {
|
|
1453
1456
|
statusLiveStyle: IndicatorStyle;
|
|
@@ -1546,14 +1549,17 @@ export declare class BlazeWidgetItem extends BaseWidget {
|
|
|
1546
1549
|
isDisplaySkeleton: boolean;
|
|
1547
1550
|
blazeSkeletonThumbnail: BlazeSkeleton | undefined;
|
|
1548
1551
|
blazeSkeletonLabel: BlazeSkeleton | undefined;
|
|
1552
|
+
thumbnail: string;
|
|
1553
|
+
analyticsCalls: any;
|
|
1549
1554
|
statusIndicatorSettings: IndicatorStyle;
|
|
1550
1555
|
constructor(options: BlazeWidgetItemOptions);
|
|
1551
1556
|
setTheme(theme: IWidgetTheme): void;
|
|
1552
1557
|
setLive(): void;
|
|
1558
|
+
removeSkeleton(): void;
|
|
1553
1559
|
setData(data: IStory): void;
|
|
1560
|
+
updateWidgetLayout(): void;
|
|
1554
1561
|
updateLabel(): void;
|
|
1555
1562
|
updateThumbnail(thumbnailUrl: string): void;
|
|
1556
|
-
analyticsCalls: any;
|
|
1557
1563
|
event(action: WidgetAction, data: Partial<WidgetEvent>, label?: string | undefined): void;
|
|
1558
1564
|
get chipDimenssions(): {
|
|
1559
1565
|
chipWidth: number;
|
|
@@ -1621,10 +1627,9 @@ export declare class BlazeWidgetLayout extends BlazeWidgetScrollable implements
|
|
|
1621
1627
|
updateWidgetsData(): void;
|
|
1622
1628
|
reorderWidgets(): void;
|
|
1623
1629
|
connectWidgets(): void;
|
|
1624
|
-
get
|
|
1625
|
-
get thumbnailType(): ThumbnailType;
|
|
1630
|
+
get thumbnailShape(): ThumbnailShape;
|
|
1626
1631
|
getMaxChipSize(): DOMRect;
|
|
1627
|
-
widgetType():
|
|
1632
|
+
widgetType(): WidgetType;
|
|
1628
1633
|
}
|
|
1629
1634
|
|
|
1630
1635
|
export declare class BlazeWidgetModal extends BaseWidget {
|
|
@@ -1869,7 +1874,6 @@ export declare class BlazeWidgetStoryModal extends BlazeWidgetModal {
|
|
|
1869
1874
|
parentWidget: HTMLElement;
|
|
1870
1875
|
player: BlazeWidgetStoryPlayer;
|
|
1871
1876
|
exitPopup: HTMLElement;
|
|
1872
|
-
exitButton: HTMLElement;
|
|
1873
1877
|
onClose: (() => void) | undefined;
|
|
1874
1878
|
hammer: HammerManager | null;
|
|
1875
1879
|
isMultiTouch: boolean;
|
|
@@ -2123,7 +2127,7 @@ export declare class BlazeWidgetStory extends HTMLElement {
|
|
|
2123
2127
|
onVisibilityChange(): void;
|
|
2124
2128
|
onBlur(): void;
|
|
2125
2129
|
onFocus(): void;
|
|
2126
|
-
close():
|
|
2130
|
+
close(): void;
|
|
2127
2131
|
pause(): void;
|
|
2128
2132
|
resume(): void;
|
|
2129
2133
|
resetPosition(): void;
|