@rive-app/react-canvas 3.0.46 → 3.0.47
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/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rive-app/react-canvas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.47",
|
|
4
4
|
"description": "React wrapper around the @rive-app/canvas library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/rive-app/rive-react#readme",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@rive-app/canvas": "1.1.
|
|
21
|
+
"@rive-app/canvas": "1.1.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Layout } from '@rive-app/canvas';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
2
|
+
import React, { ComponentProps } from 'react';
|
|
3
3
|
export interface RiveProps {
|
|
4
4
|
/**
|
|
5
5
|
* URL of the Rive asset, or path to where the public asset is stored.
|
|
@@ -31,5 +31,5 @@ export interface RiveProps {
|
|
|
31
31
|
*/
|
|
32
32
|
shouldDisableRiveListeners?: boolean;
|
|
33
33
|
}
|
|
34
|
-
declare const Rive: ({ src, artboard, animations, stateMachines, layout, useOffscreenRenderer, shouldDisableRiveListeners, ...rest }: RiveProps & ComponentProps<'canvas'>) => JSX.Element;
|
|
34
|
+
declare const Rive: ({ src, artboard, animations, stateMachines, layout, useOffscreenRenderer, shouldDisableRiveListeners, ...rest }: RiveProps & ComponentProps<'canvas'>) => React.JSX.Element;
|
|
35
35
|
export default Rive;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rive-app/react-canvas",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.47",
|
|
4
4
|
"description": "React wrapper around the @rive-app/canvas library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/rive-app/rive-react#readme",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@rive-app/canvas": "1.1.
|
|
21
|
+
"@rive-app/canvas": "1.1.6"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|