@remotion/transitions 4.0.266 → 4.0.268

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.
@@ -126,25 +126,25 @@ const TransitionSeriesChildren = ({ children, }) => {
126
126
  const UppercasePrevPresentation = prevPresentation.component;
127
127
  return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence
128
128
  // eslint-disable-next-line react/no-array-index-key
129
- , { from: Math.floor(actualStartFrame), durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: next.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInExitingProgressContext, { presentationProgress: nextProgress, children: (0, jsx_runtime_1.jsx)(UppercasePrevPresentation, { passedProps: (_e = prevPresentation.props) !== null && _e !== void 0 ? _e : {}, presentationDirection: "entering", presentationProgress: prevProgress, presentationDurationInFrames: prev.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInEnteringProgressContext, { presentationProgress: prevProgress, children: child }) }) }) }) }, i));
129
+ , { from: actualStartFrame, durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: next.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInExitingProgressContext, { presentationProgress: nextProgress, children: (0, jsx_runtime_1.jsx)(UppercasePrevPresentation, { passedProps: (_e = prevPresentation.props) !== null && _e !== void 0 ? _e : {}, presentationDirection: "entering", presentationProgress: prevProgress, presentationDurationInFrames: prev.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInEnteringProgressContext, { presentationProgress: prevProgress, children: child }) }) }) }) }, i));
130
130
  }
131
131
  if (prevProgress !== null && prev) {
132
132
  const prevPresentation = (_f = prev.props.presentation) !== null && _f !== void 0 ? _f : (0, slide_js_1.slide)();
133
133
  const UppercasePrevPresentation = prevPresentation.component;
134
134
  return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence
135
135
  // eslint-disable-next-line react/no-array-index-key
136
- , { from: Math.floor(actualStartFrame), durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: prev.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInEnteringProgressContext, { presentationProgress: prevProgress, children: child }) }) }, i));
136
+ , { from: actualStartFrame, durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: prev.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInEnteringProgressContext, { presentationProgress: prevProgress, children: child }) }) }, i));
137
137
  }
138
138
  if (nextProgress !== null && next) {
139
139
  const nextPresentation = (_h = next.props.presentation) !== null && _h !== void 0 ? _h : (0, slide_js_1.slide)();
140
140
  const UppercaseNextPresentation = nextPresentation.component;
141
141
  return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence
142
142
  // eslint-disable-next-line react/no-array-index-key
143
- , { from: Math.floor(actualStartFrame), durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: next.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInExitingProgressContext, { presentationProgress: nextProgress, children: child }) }) }, i));
143
+ , { from: actualStartFrame, durationInFrames: durationInFramesProp, ...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, presentationDurationInFrames: next.props.timing.getDurationInFrames({ fps }), children: (0, jsx_runtime_1.jsx)(context_js_1.WrapInExitingProgressContext, { presentationProgress: nextProgress, children: child }) }) }, i));
144
144
  }
145
145
  return ((0, jsx_runtime_1.jsx)(remotion_1.Sequence
146
146
  // eslint-disable-next-line react/no-array-index-key
147
- , { from: Math.floor(actualStartFrame), durationInFrames: durationInFramesProp, ...passedProps, name: passedProps.name || '<TS.Sequence>', children: child }, i));
147
+ , { from: actualStartFrame, durationInFrames: durationInFramesProp, ...passedProps, name: passedProps.name || '<TS.Sequence>', children: child }, i));
148
148
  });
149
149
  }, [children, fps, frame]);
150
150
  // eslint-disable-next-line react/jsx-no-useless-fragment
@@ -272,7 +272,7 @@ var TransitionSeriesChildren = ({
272
272
  const UppercaseNextPresentation = nextPresentation.component;
273
273
  const UppercasePrevPresentation = prevPresentation.component;
274
274
  return /* @__PURE__ */ jsx3(Sequence, {
275
- from: Math.floor(actualStartFrame),
275
+ from: actualStartFrame,
276
276
  durationInFrames: durationInFramesProp,
277
277
  ...passedProps,
278
278
  name: passedProps.name || "<TS.Sequence>",
@@ -301,7 +301,7 @@ var TransitionSeriesChildren = ({
301
301
  const prevPresentation = prev.props.presentation ?? slide();
302
302
  const UppercasePrevPresentation = prevPresentation.component;
303
303
  return /* @__PURE__ */ jsx3(Sequence, {
304
- from: Math.floor(actualStartFrame),
304
+ from: actualStartFrame,
305
305
  durationInFrames: durationInFramesProp,
306
306
  ...passedProps,
307
307
  name: passedProps.name || "<TS.Sequence>",
@@ -321,7 +321,7 @@ var TransitionSeriesChildren = ({
321
321
  const nextPresentation = next.props.presentation ?? slide();
322
322
  const UppercaseNextPresentation = nextPresentation.component;
323
323
  return /* @__PURE__ */ jsx3(Sequence, {
324
- from: Math.floor(actualStartFrame),
324
+ from: actualStartFrame,
325
325
  durationInFrames: durationInFramesProp,
326
326
  ...passedProps,
327
327
  name: passedProps.name || "<TS.Sequence>",
@@ -338,7 +338,7 @@ var TransitionSeriesChildren = ({
338
338
  }, i);
339
339
  }
340
340
  return /* @__PURE__ */ jsx3(Sequence, {
341
- from: Math.floor(actualStartFrame),
341
+ from: actualStartFrame,
342
342
  durationInFrames: durationInFramesProp,
343
343
  ...passedProps,
344
344
  name: passedProps.name || "<TS.Sequence>",
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.266",
6
+ "version": "4.0.268",
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.266",
20
- "@remotion/shapes": "4.0.266",
21
- "@remotion/paths": "4.0.266"
19
+ "remotion": "4.0.268",
20
+ "@remotion/shapes": "4.0.268",
21
+ "@remotion/paths": "4.0.268"
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.19.0",
28
- "@remotion/test-utils": "4.0.266",
29
- "@remotion/eslint-config-internal": "4.0.266",
30
- "remotion": "4.0.266"
28
+ "remotion": "4.0.268",
29
+ "@remotion/test-utils": "4.0.268",
30
+ "@remotion/eslint-config-internal": "4.0.268"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.8.0",