@remotion/transitions 4.0.139 → 4.0.141
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/TransitionSeries.js +4 -4
- package/dist/esm/index.mjs +10 -28
- package/package.json +6 -6
package/dist/TransitionSeries.js
CHANGED
|
@@ -122,19 +122,19 @@ const TransitionSeriesChildren = ({ children, }) => {
|
|
|
122
122
|
const prevPresentation = (_c = prev.props.presentation) !== null && _c !== void 0 ? _c : (0, slide_js_1.slide)();
|
|
123
123
|
const UppercaseNextPresentation = nextPresentation.component;
|
|
124
124
|
const UppercasePrevPresentation = prevPresentation.component;
|
|
125
|
-
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, {
|
|
125
|
+
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, { from: Math.floor(actualStartFrame), ...passedProps, name: passedProps.name || '<TS.Sequence>', children: (0, jsx_runtime_1.jsx)(UppercaseNextPresentation, { passedProps: (_d = nextPresentation.props) !== null && _d !== void 0 ? _d : {}, presentationDirection: "exiting", presentationProgress: nextProgress, children: (0, jsx_runtime_1.jsx)(UppercasePrevPresentation, { passedProps: (_e = prevPresentation.props) !== null && _e !== void 0 ? _e : {}, presentationDirection: "entering", presentationProgress: prevProgress, children: child }) }) }));
|
|
126
126
|
}
|
|
127
127
|
if (prevProgress !== null && prev) {
|
|
128
128
|
const prevPresentation = (_f = prev.props.presentation) !== null && _f !== void 0 ? _f : (0, slide_js_1.slide)();
|
|
129
129
|
const UppercasePrevPresentation = prevPresentation.component;
|
|
130
|
-
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, {
|
|
130
|
+
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, { from: Math.floor(actualStartFrame), ...passedProps, name: passedProps.name || '<TS.Sequence>', children: (0, jsx_runtime_1.jsx)(UppercasePrevPresentation, { passedProps: (_g = prevPresentation.props) !== null && _g !== void 0 ? _g : {}, presentationDirection: "entering", presentationProgress: prevProgress, children: child }) }));
|
|
131
131
|
}
|
|
132
132
|
if (nextProgress !== null && next) {
|
|
133
133
|
const nextPresentation = (_h = next.props.presentation) !== null && _h !== void 0 ? _h : (0, slide_js_1.slide)();
|
|
134
134
|
const UppercaseNextPresentation = nextPresentation.component;
|
|
135
|
-
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, {
|
|
135
|
+
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, { from: Math.floor(actualStartFrame), ...passedProps, name: passedProps.name || '<TS.Sequence>', children: (0, jsx_runtime_1.jsx)(UppercaseNextPresentation, { passedProps: (_j = nextPresentation.props) !== null && _j !== void 0 ? _j : {}, presentationDirection: "exiting", presentationProgress: nextProgress, children: child }) }));
|
|
136
136
|
}
|
|
137
|
-
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, {
|
|
137
|
+
return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence, { from: Math.floor(actualStartFrame), durationInFrames: durationInFramesProp, ...passedProps, name: passedProps.name || '<TS.Sequence>', children: child }));
|
|
138
138
|
});
|
|
139
139
|
}, [children, fps, frame]);
|
|
140
140
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
package/dist/esm/index.mjs
CHANGED
|
@@ -251,11 +251,9 @@ var TransitionSeriesChildren = ({
|
|
|
251
251
|
const UppercaseNextPresentation = nextPresentation.component;
|
|
252
252
|
const UppercasePrevPresentation = prevPresentation.component;
|
|
253
253
|
return jsx2(Sequence, {
|
|
254
|
-
name: passedProps.name || "<TS.Sequence>",
|
|
255
254
|
from: Math.floor(actualStartFrame),
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
stack: passedProps.stack,
|
|
255
|
+
...passedProps,
|
|
256
|
+
name: passedProps.name || "<TS.Sequence>",
|
|
259
257
|
children: jsx2(UppercaseNextPresentation, {
|
|
260
258
|
passedProps: nextPresentation.props ?? {},
|
|
261
259
|
presentationDirection: "exiting",
|
|
@@ -264,11 +262,7 @@ var TransitionSeriesChildren = ({
|
|
|
264
262
|
passedProps: prevPresentation.props ?? {},
|
|
265
263
|
presentationDirection: "entering",
|
|
266
264
|
presentationProgress: prevProgress,
|
|
267
|
-
children:
|
|
268
|
-
showInTimeline: false,
|
|
269
|
-
...passedProps,
|
|
270
|
-
children: child
|
|
271
|
-
}, undefined, false, undefined, this)
|
|
265
|
+
children: child
|
|
272
266
|
}, undefined, false, undefined, this)
|
|
273
267
|
}, undefined, false, undefined, this)
|
|
274
268
|
}, undefined, false, undefined, this);
|
|
@@ -277,20 +271,14 @@ var TransitionSeriesChildren = ({
|
|
|
277
271
|
const prevPresentation = prev.props.presentation ?? slide();
|
|
278
272
|
const UppercasePrevPresentation = prevPresentation.component;
|
|
279
273
|
return jsx2(Sequence, {
|
|
280
|
-
name: passedProps.name || "<TS.Sequence>",
|
|
281
274
|
from: Math.floor(actualStartFrame),
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
stack: passedProps.stack,
|
|
275
|
+
...passedProps,
|
|
276
|
+
name: passedProps.name || "<TS.Sequence>",
|
|
285
277
|
children: jsx2(UppercasePrevPresentation, {
|
|
286
278
|
passedProps: prevPresentation.props ?? {},
|
|
287
279
|
presentationDirection: "entering",
|
|
288
280
|
presentationProgress: prevProgress,
|
|
289
|
-
children:
|
|
290
|
-
showInTimeline: false,
|
|
291
|
-
...passedProps,
|
|
292
|
-
children: child
|
|
293
|
-
}, undefined, false, undefined, this)
|
|
281
|
+
children: child
|
|
294
282
|
}, undefined, false, undefined, this)
|
|
295
283
|
}, undefined, false, undefined, this);
|
|
296
284
|
}
|
|
@@ -298,28 +286,22 @@ var TransitionSeriesChildren = ({
|
|
|
298
286
|
const nextPresentation = next.props.presentation ?? slide();
|
|
299
287
|
const UppercaseNextPresentation = nextPresentation.component;
|
|
300
288
|
return jsx2(Sequence, {
|
|
301
|
-
name: passedProps.name || "<TS.Sequence>",
|
|
302
289
|
from: Math.floor(actualStartFrame),
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
stack: passedProps.stack,
|
|
290
|
+
...passedProps,
|
|
291
|
+
name: passedProps.name || "<TS.Sequence>",
|
|
306
292
|
children: jsx2(UppercaseNextPresentation, {
|
|
307
293
|
passedProps: nextPresentation.props ?? {},
|
|
308
294
|
presentationDirection: "exiting",
|
|
309
295
|
presentationProgress: nextProgress,
|
|
310
|
-
children:
|
|
311
|
-
showInTimeline: false,
|
|
312
|
-
...passedProps,
|
|
313
|
-
children: child
|
|
314
|
-
}, undefined, false, undefined, this)
|
|
296
|
+
children: child
|
|
315
297
|
}, undefined, false, undefined, this)
|
|
316
298
|
}, undefined, false, undefined, this);
|
|
317
299
|
}
|
|
318
300
|
return jsx2(Sequence, {
|
|
319
|
-
name: passedProps.name || "<TS.Sequence>",
|
|
320
301
|
from: Math.floor(actualStartFrame),
|
|
321
302
|
durationInFrames: durationInFramesProp,
|
|
322
303
|
...passedProps,
|
|
304
|
+
name: passedProps.name || "<TS.Sequence>",
|
|
323
305
|
children: child
|
|
324
306
|
}, undefined, false, undefined, this);
|
|
325
307
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/transitions",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.141",
|
|
4
4
|
"description": "Transition presets for Remotion",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/esm/index.mjs",
|
|
@@ -16,9 +16,9 @@
|
|
|
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.141",
|
|
20
|
+
"@remotion/shapes": "4.0.141",
|
|
21
|
+
"@remotion/paths": "4.0.141"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@jonny/eslint-config": "3.0.281",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@types/react-dom": "18.2.18",
|
|
33
33
|
"@types/bun": "^1.0.12",
|
|
34
34
|
"@vitejs/plugin-react": "^2.0.0",
|
|
35
|
-
"remotion": "4.0.
|
|
36
|
-
"@remotion/test-utils": "4.0.
|
|
35
|
+
"remotion": "4.0.141",
|
|
36
|
+
"@remotion/test-utils": "4.0.141"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=16.8.0",
|