@remotion/transitions 4.0.157 → 4.0.160

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/bundle.ts CHANGED
@@ -1,19 +1,10 @@
1
- import {build, revision} from 'bun';
1
+ import {build} from 'bun';
2
2
  import path from 'path';
3
3
 
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  throw new Error('This script must be run using NODE_ENV=production');
6
6
  }
7
7
 
8
- if (!revision.startsWith('07ce')) {
9
- // eslint-disable-next-line no-console
10
- console.warn('warn: Remotion currently uses a fork of Bun to bundle.');
11
- // eslint-disable-next-line no-console
12
- console.log(
13
- 'You dont currently run the fork, this could lead to duplicate key warnings in React.',
14
- );
15
- }
16
-
17
8
  const presentations = ['slide', 'flip', 'wipe', 'fade', 'clock-wipe'];
18
9
 
19
10
  const output = await build({
@@ -13,7 +13,7 @@ type SeriesSequenceProps = PropsWithChildren<{
13
13
  */
14
14
  readonly stack?: string;
15
15
  } & LayoutBasedProps & Pick<SequencePropsWithoutDuration, 'name'>>;
16
- declare const SeriesSequence: ({ children }: SeriesSequenceProps) => import("react").ReactNode;
16
+ declare const SeriesSequence: ({ children }: SeriesSequenceProps) => import("react/jsx-runtime.js").JSX.Element;
17
17
  /**
18
18
  * @description A React component designed to manage a series of transitions and sequences where each transition may have specific timing and presentation components. It extends the capabilities of `<Sequence>` and is specifically structured to handle transitions that involve entering and exiting sequences.
19
19
  * @see [Documentation](https://remotion.dev/docs/transitions/transitionseries)
@@ -16,7 +16,7 @@ _props) {
16
16
  };
17
17
  const SeriesSequence = ({ children }) => {
18
18
  // eslint-disable-next-line react/jsx-no-useless-fragment
19
- return children;
19
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children });
20
20
  };
21
21
  const TransitionSeriesChildren = ({ children, }) => {
22
22
  const { fps } = (0, remotion_1.useVideoConfig)();
@@ -157,7 +157,9 @@ var TransitionSeriesTransition = function(_props) {
157
157
  return null;
158
158
  };
159
159
  var SeriesSequence = ({ children }) => {
160
- return children;
160
+ return jsx2(Fragment, {
161
+ children
162
+ });
161
163
  };
162
164
  var TransitionSeriesChildren = ({
163
165
  children
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/transitions",
3
- "version": "4.0.157",
3
+ "version": "4.0.160",
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.157",
20
- "@remotion/shapes": "4.0.157",
21
- "@remotion/paths": "4.0.157"
19
+ "remotion": "4.0.160",
20
+ "@remotion/paths": "4.0.160",
21
+ "@remotion/shapes": "4.0.160"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@jonny/eslint-config": "3.0.281",
@@ -32,8 +32,8 @@
32
32
  "@types/react-dom": "18.3.0",
33
33
  "@types/bun": "1.0.12",
34
34
  "@vitejs/plugin-react": "^2.0.0",
35
- "remotion": "4.0.157",
36
- "@remotion/test-utils": "4.0.157"
35
+ "remotion": "4.0.160",
36
+ "@remotion/test-utils": "4.0.160"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": ">=16.8.0",