@remotion/transitions 4.0.214 → 4.0.215
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/esm/clock-wipe.mjs +5 -8
- package/dist/esm/fade.mjs +3 -5
- package/dist/esm/flip.mjs +3 -5
- package/dist/esm/index.mjs +12 -19
- package/dist/esm/none.mjs +3 -5
- package/dist/esm/slide.mjs +3 -5
- package/dist/esm/wipe.mjs +3 -6
- package/package.json +6 -6
package/dist/esm/clock-wipe.mjs
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
// src/presentations/clock-wipe.tsx
|
|
2
|
-
import {translatePath} from "@remotion/paths";
|
|
3
|
-
import {makePie} from "@remotion/shapes";
|
|
4
|
-
import {useMemo, useState} from "react";
|
|
5
|
-
import {AbsoluteFill, random} from "remotion";
|
|
6
|
-
import {
|
|
7
|
-
jsx,
|
|
8
|
-
jsxs
|
|
9
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { translatePath } from "@remotion/paths";
|
|
3
|
+
import { makePie } from "@remotion/shapes";
|
|
4
|
+
import { useMemo, useState } from "react";
|
|
5
|
+
import { AbsoluteFill, random } from "remotion";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
7
|
var ClockWipePresentation = ({ children, presentationDirection, presentationProgress, passedProps }) => {
|
|
11
8
|
const finishedRadius = Math.sqrt(passedProps.width ** 2 + passedProps.height ** 2) / 2;
|
|
12
9
|
const { path } = makePie({
|
package/dist/esm/fade.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/presentations/fade.tsx
|
|
2
|
-
import {useMemo} from "react";
|
|
3
|
-
import {AbsoluteFill} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx
|
|
6
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { AbsoluteFill } from "remotion";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
var FadePresentation = ({ children, presentationDirection, presentationProgress, passedProps }) => {
|
|
8
6
|
const isEntering = presentationDirection === "entering";
|
|
9
7
|
const style = useMemo(() => {
|
package/dist/esm/flip.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/presentations/flip.tsx
|
|
2
|
-
import {useMemo} from "react";
|
|
3
|
-
import {AbsoluteFill, interpolate} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx
|
|
6
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { AbsoluteFill, interpolate } from "remotion";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
var Flip = ({
|
|
8
6
|
children,
|
|
9
7
|
presentationDirection,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/presentations/slide.tsx
|
|
2
|
-
import {useMemo} from "react";
|
|
3
|
-
import {AbsoluteFill} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx
|
|
6
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { AbsoluteFill } from "remotion";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
var epsilon = 0.01;
|
|
8
6
|
var SlidePresentation = ({
|
|
9
7
|
children,
|
|
@@ -79,7 +77,7 @@ var slide = (props) => {
|
|
|
79
77
|
};
|
|
80
78
|
|
|
81
79
|
// src/timings/linear-timing.ts
|
|
82
|
-
import {interpolate} from "remotion";
|
|
80
|
+
import { interpolate } from "remotion";
|
|
83
81
|
var linearTiming = (options) => {
|
|
84
82
|
return {
|
|
85
83
|
getDurationInFrames: () => {
|
|
@@ -95,7 +93,7 @@ var linearTiming = (options) => {
|
|
|
95
93
|
};
|
|
96
94
|
};
|
|
97
95
|
// src/timings/spring-timing.ts
|
|
98
|
-
import {measureSpring, spring} from "remotion";
|
|
96
|
+
import { measureSpring, spring } from "remotion";
|
|
99
97
|
var springTiming = (options = {}) => {
|
|
100
98
|
return {
|
|
101
99
|
getDurationInFrames: ({ fps }) => {
|
|
@@ -125,15 +123,13 @@ var springTiming = (options = {}) => {
|
|
|
125
123
|
};
|
|
126
124
|
};
|
|
127
125
|
// src/TransitionSeries.tsx
|
|
128
|
-
import {Children, useMemo as useMemo3} from "react";
|
|
129
|
-
import {Internals, Sequence, useCurrentFrame, useVideoConfig} from "remotion";
|
|
130
|
-
import {NoReactInternals as NoReactInternals2} from "remotion/no-react";
|
|
126
|
+
import { Children, useMemo as useMemo3 } from "react";
|
|
127
|
+
import { Internals, Sequence, useCurrentFrame, useVideoConfig } from "remotion";
|
|
128
|
+
import { NoReactInternals as NoReactInternals2 } from "remotion/no-react";
|
|
131
129
|
|
|
132
130
|
// src/context.tsx
|
|
133
|
-
import React2, {useMemo as useMemo2} from "react";
|
|
134
|
-
import {
|
|
135
|
-
jsx as jsx2
|
|
136
|
-
} from "react/jsx-runtime";
|
|
131
|
+
import React2, { useMemo as useMemo2 } from "react";
|
|
132
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
137
133
|
var EnteringContext = React2.createContext(null);
|
|
138
134
|
var ExitingContext = React2.createContext(null);
|
|
139
135
|
var WrapInEnteringProgressContext = ({ presentationProgress, children }) => {
|
|
@@ -173,14 +169,11 @@ var flattenChildren = (children) => {
|
|
|
173
169
|
};
|
|
174
170
|
|
|
175
171
|
// src/validate.ts
|
|
176
|
-
import {NoReactInternals} from "remotion/no-react";
|
|
172
|
+
import { NoReactInternals } from "remotion/no-react";
|
|
177
173
|
var validateDurationInFrames = NoReactInternals.validateDurationInFrames;
|
|
178
174
|
|
|
179
175
|
// src/TransitionSeries.tsx
|
|
180
|
-
import {
|
|
181
|
-
jsx as jsx3,
|
|
182
|
-
Fragment
|
|
183
|
-
} from "react/jsx-runtime";
|
|
176
|
+
import { jsx as jsx3, Fragment } from "react/jsx-runtime";
|
|
184
177
|
var TransitionSeriesTransition = function(_props) {
|
|
185
178
|
return null;
|
|
186
179
|
};
|
package/dist/esm/none.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/presentations/none.tsx
|
|
2
|
-
import {useMemo} from "react";
|
|
3
|
-
import {AbsoluteFill} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx
|
|
6
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { AbsoluteFill } from "remotion";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
var NonePresentation = ({ children, presentationDirection, passedProps }) => {
|
|
8
6
|
const style = useMemo(() => {
|
|
9
7
|
return {
|
package/dist/esm/slide.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
// src/presentations/slide.tsx
|
|
2
|
-
import {useMemo} from "react";
|
|
3
|
-
import {AbsoluteFill} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx
|
|
6
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
import { AbsoluteFill } from "remotion";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
var epsilon = 0.01;
|
|
8
6
|
var SlidePresentation = ({
|
|
9
7
|
children,
|
package/dist/esm/wipe.mjs
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
// src/presentations/wipe.tsx
|
|
2
|
-
import {useMemo, useState} from "react";
|
|
3
|
-
import {AbsoluteFill, random} from "remotion";
|
|
4
|
-
import {
|
|
5
|
-
jsx,
|
|
6
|
-
jsxs
|
|
7
|
-
} from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useState } from "react";
|
|
3
|
+
import { AbsoluteFill, random } from "remotion";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
5
|
var makePathIn = (progress, direction) => {
|
|
9
6
|
switch (direction) {
|
|
10
7
|
case "from-left":
|
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.215",
|
|
7
7
|
"description": "Library for creating transitions in Remotion",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"main": "dist/esm/index.mjs",
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"remotion": "4.0.
|
|
20
|
-
"@remotion/shapes": "4.0.
|
|
21
|
-
"@remotion/paths": "4.0.
|
|
19
|
+
"remotion": "4.0.215",
|
|
20
|
+
"@remotion/shapes": "4.0.215",
|
|
21
|
+
"@remotion/paths": "4.0.215"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@happy-dom/global-registrator": "14.5.1",
|
|
25
25
|
"react": "18.3.1",
|
|
26
26
|
"react-dom": "18.3.1",
|
|
27
27
|
"@vitejs/plugin-react": "^2.0.0",
|
|
28
|
-
"
|
|
29
|
-
"remotion": "4.0.
|
|
28
|
+
"remotion": "4.0.215",
|
|
29
|
+
"@remotion/test-utils": "4.0.215"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=16.8.0",
|