@remotion/transitions 4.0.240 → 4.0.242
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.
|
@@ -3,9 +3,9 @@ import type { TransitionTiming } from '../types.js';
|
|
|
3
3
|
* Creates a linear timing object for managing animations in frame units.
|
|
4
4
|
* @description Provides a mechanism to handle frame-based transitions linearly, optionally incorporating easing functions.
|
|
5
5
|
* @see [Documentation](https://remotion.dev/docs/transitions/timings/lineartiming)
|
|
6
|
-
* @param {Object}
|
|
7
|
-
* @param {number}
|
|
8
|
-
* @param {((input: number) => number)=}
|
|
6
|
+
* @param {Object} fieldsToFetch Configuration options for the linear timing
|
|
7
|
+
* @param {number} fieldsToFetch.durationInFrames Specifies the total duration of the transition in frames
|
|
8
|
+
* @param {((input: number) => number)=} fieldsToFetch.easing Optional easing function to modify the interpolation of values
|
|
9
9
|
* @returns {TransitionTiming} An object representing the timing of the transition, including methods to get duration and progress
|
|
10
10
|
*/
|
|
11
11
|
export declare const linearTiming: (options: {
|
|
@@ -6,9 +6,9 @@ const remotion_1 = require("remotion");
|
|
|
6
6
|
* Creates a linear timing object for managing animations in frame units.
|
|
7
7
|
* @description Provides a mechanism to handle frame-based transitions linearly, optionally incorporating easing functions.
|
|
8
8
|
* @see [Documentation](https://remotion.dev/docs/transitions/timings/lineartiming)
|
|
9
|
-
* @param {Object}
|
|
10
|
-
* @param {number}
|
|
11
|
-
* @param {((input: number) => number)=}
|
|
9
|
+
* @param {Object} fieldsToFetch Configuration options for the linear timing
|
|
10
|
+
* @param {number} fieldsToFetch.durationInFrames Specifies the total duration of the transition in frames
|
|
11
|
+
* @param {((input: number) => number)=} fieldsToFetch.easing Optional easing function to modify the interpolation of values
|
|
12
12
|
* @returns {TransitionTiming} An object representing the timing of the transition, including methods to get duration and progress
|
|
13
13
|
*/
|
|
14
14
|
const linearTiming = (options) => {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/transitions"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/transitions",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.242",
|
|
7
7
|
"description": "Library for creating transitions in Remotion",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"main": "dist/esm/index.mjs",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"remotion": "4.0.
|
|
20
|
-
"@remotion/
|
|
21
|
-
"@remotion/
|
|
19
|
+
"remotion": "4.0.242",
|
|
20
|
+
"@remotion/paths": "4.0.242",
|
|
21
|
+
"@remotion/shapes": "4.0.242"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@happy-dom/global-registrator": "14.5.1",
|
|
25
25
|
"react": "19.0.0",
|
|
26
26
|
"react-dom": "19.0.0",
|
|
27
27
|
"eslint": "9.14.0",
|
|
28
|
-
"remotion": "4.0.
|
|
29
|
-
"@remotion/test-utils": "4.0.
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
28
|
+
"remotion": "4.0.242",
|
|
29
|
+
"@remotion/test-utils": "4.0.242",
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.242"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": ">=16.8.0",
|