@remotion/three 4.0.0-alpha13 → 4.0.0-alpha16
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,6 +1,6 @@
|
|
|
1
1
|
import { Canvas } from '@react-three/fiber';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export
|
|
3
|
+
export type ThreeCanvasProps = React.ComponentProps<typeof Canvas> & {
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
6
|
children: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Video } from 'remotion';
|
|
3
3
|
import type { VideoTexture } from 'three/src/textures/VideoTexture';
|
|
4
|
-
export
|
|
4
|
+
export type UseVideoTextureOptions = React.ComponentProps<typeof Video>;
|
|
5
5
|
/**
|
|
6
6
|
* @description Allows you to use a video in React Three Fiber that is synchronized with Remotion's useCurrentFrame().
|
|
7
7
|
* @see [Documentation](https://www.remotion.dev/docs/use-video-texture)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Canvas } from '@react-three/fiber';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export
|
|
3
|
+
export type ThreeCanvasProps = React.ComponentProps<typeof Canvas> & {
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
6
|
children: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Video } from 'remotion';
|
|
3
3
|
import type { VideoTexture } from 'three/src/textures/VideoTexture';
|
|
4
|
-
export
|
|
4
|
+
export type UseVideoTextureOptions = React.ComponentProps<typeof Video>;
|
|
5
5
|
/**
|
|
6
6
|
* @description Allows you to use a video in React Three Fiber that is synchronized with Remotion's useCurrentFrame().
|
|
7
7
|
* @see [Documentation](https://www.remotion.dev/docs/use-video-texture)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/three",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-alpha16",
|
|
4
4
|
"description": "Utility functions for using react-three-fiber with remotion",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"remotion": "4.0.0-
|
|
19
|
+
"remotion": "4.0.0-alpha16"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@react-three/fiber": ">=8.0.0",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@types/react-reconciler": "^0.26.4",
|
|
34
34
|
"@types/three": "^0.134.0",
|
|
35
35
|
"@types/web": "0.0.78",
|
|
36
|
-
"eslint": "8.
|
|
36
|
+
"eslint": "8.42.0",
|
|
37
37
|
"prettier": "^2.7.1",
|
|
38
38
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
39
39
|
"react": "18.0.0",
|
|
40
40
|
"react-dom": "18.0.0",
|
|
41
41
|
"rollup": "^2.70.1",
|
|
42
42
|
"three": "^0.145.0",
|
|
43
|
-
"typescript": "
|
|
43
|
+
"typescript": "4.9.5"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"remotion",
|