@maestro_io/maestro-web-sdk 2.1.0 → 2.1.1
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.
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/// <reference types="prop-types" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { WithFocusableProps } from '@/external/spatial-navigation';
|
|
4
|
-
import { Rive as RiveCanvas } from '@rive-app/canvas';
|
|
5
4
|
declare const _default: {
|
|
6
5
|
new (props?: (React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
7
6
|
id: string;
|
|
8
7
|
autoFocus: boolean;
|
|
9
8
|
autoPlay: boolean;
|
|
10
9
|
src: string;
|
|
11
|
-
onLoadRiveInstance: (riveInstance:
|
|
10
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
12
11
|
} & WithFocusableProps) | undefined, context?: any): {
|
|
13
12
|
state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState;
|
|
14
13
|
getChildContext(): {
|
|
@@ -33,14 +32,14 @@ declare const _default: {
|
|
|
33
32
|
autoFocus: boolean;
|
|
34
33
|
autoPlay: boolean;
|
|
35
34
|
src: string;
|
|
36
|
-
onLoadRiveInstance: (riveInstance:
|
|
35
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
37
36
|
} & WithFocusableProps>;
|
|
38
37
|
setState<K extends keyof import("../../../external/spatial-navigation/withFocusable").WithFocusableState>(state: import("../../../external/spatial-navigation/withFocusable").WithFocusableState | ((prevState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, props: React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
39
38
|
id: string;
|
|
40
39
|
autoFocus: boolean;
|
|
41
40
|
autoPlay: boolean;
|
|
42
41
|
src: string;
|
|
43
|
-
onLoadRiveInstance: (riveInstance:
|
|
42
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
44
43
|
} & WithFocusableProps) => import("../../../external/spatial-navigation/withFocusable").WithFocusableState | Pick<import("../../../external/spatial-navigation/withFocusable").WithFocusableState, K>) | Pick<import("../../../external/spatial-navigation/withFocusable").WithFocusableState, K>, callback?: (() => any) | undefined): void;
|
|
45
44
|
forceUpdate(callBack?: (() => any) | undefined): void;
|
|
46
45
|
props: Readonly<{
|
|
@@ -50,7 +49,7 @@ declare const _default: {
|
|
|
50
49
|
autoFocus: boolean;
|
|
51
50
|
autoPlay: boolean;
|
|
52
51
|
src: string;
|
|
53
|
-
onLoadRiveInstance: (riveInstance:
|
|
52
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
54
53
|
} & WithFocusableProps>;
|
|
55
54
|
context: any;
|
|
56
55
|
refs: {
|
|
@@ -62,21 +61,21 @@ declare const _default: {
|
|
|
62
61
|
autoFocus: boolean;
|
|
63
62
|
autoPlay: boolean;
|
|
64
63
|
src: string;
|
|
65
|
-
onLoadRiveInstance: (riveInstance:
|
|
64
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
66
65
|
} & WithFocusableProps>, nextContext: any): void;
|
|
67
66
|
shouldComponentUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
68
67
|
id: string;
|
|
69
68
|
autoFocus: boolean;
|
|
70
69
|
autoPlay: boolean;
|
|
71
70
|
src: string;
|
|
72
|
-
onLoadRiveInstance: (riveInstance:
|
|
71
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
73
72
|
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): boolean;
|
|
74
73
|
componentWillUpdate?(nextProps: Readonly<React.CanvasHTMLAttributes<HTMLCanvasElement> & {
|
|
75
74
|
id: string;
|
|
76
75
|
autoFocus: boolean;
|
|
77
76
|
autoPlay: boolean;
|
|
78
77
|
src: string;
|
|
79
|
-
onLoadRiveInstance: (riveInstance:
|
|
78
|
+
onLoadRiveInstance: (riveInstance: any) => void;
|
|
80
79
|
} & WithFocusableProps>, nextState: Readonly<import("../../../external/spatial-navigation/withFocusable").WithFocusableState>, nextContext: any): void;
|
|
81
80
|
};
|
|
82
81
|
contextTypes: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Rive as RiveCanvas } from '@rive-app/canvas';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { OverlayType, IFantasyPayload } from '@/types/OverlayTypes';
|
|
4
3
|
import { IWinningBet } from '@/models/IWinningBet';
|
|
@@ -29,7 +28,7 @@ declare class Overlay extends React.Component<OverlayProps, OverlayState> {
|
|
|
29
28
|
get overlayTitle(): string;
|
|
30
29
|
get overlayMetadata(): string;
|
|
31
30
|
private trackOverlayViewed;
|
|
32
|
-
onLoadRiveInstance: (riveInstance:
|
|
31
|
+
onLoadRiveInstance: (riveInstance: any | null) => void;
|
|
33
32
|
render(): React.JSX.Element;
|
|
34
33
|
}
|
|
35
34
|
export default Overlay;
|