@motionhub/remotion 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Use a motion from [motionhub.dev](https://motionhub.dev) in Remotion. Its React components (`react/parts/`) run as they are, drawn by Remotion's frame; its tokens become Remotion values for anything you draw yourself.
4
4
 
5
5
  ```sh
6
- npx @motionhub/cli get @iamsuosi/stage-light # into ./motions/@iamsuosi/stage-light/
6
+ npx @motionhub/cli get @motionhub/stage-light # into ./motions/@motionhub/stage-light/
7
7
  npm i @motionhub/remotion @motionhub/runtime
8
8
  ```
9
9
 
@@ -13,9 +13,9 @@ Wrap the composition once, outside every `<Sequence>`, with the motion's tokens,
13
13
  import {Sequence, interpolate, useCurrentFrame} from 'remotion';
14
14
  import {Caption} from '@motionhub/runtime';
15
15
  import {MotionFonts, MotionProvider} from '@motionhub/remotion';
16
- import tokens from '../motions/@iamsuosi/stage-light/tokens.json';
17
- import {Plate} from '../motions/@iamsuosi/stage-light/react/parts/plate.tsx';
18
- import {Numeral} from '../motions/@iamsuosi/stage-light/react/parts/numeral.tsx';
16
+ import tokens from '../motions/@motionhub/stage-light/tokens.json';
17
+ import {Plate} from '../motions/@motionhub/stage-light/react/parts/plate.tsx';
18
+ import {Numeral} from '../motions/@motionhub/stage-light/react/parts/numeral.tsx';
19
19
 
20
20
  export const Film = () => {
21
21
  const frame = useCurrentFrame();
@@ -107,8 +107,8 @@ them; `paramDefaults(meta)` gives its `defaultProps`. Pass your project's `zod`
107
107
  import {z} from 'zod';
108
108
  import {Composition} from 'remotion';
109
109
  import {MotionProvider, paramDefaults, paramsSchema} from '@motionhub/remotion';
110
- import tokens from '../motions/@iamsuosi/lab-notebook/tokens.json';
111
- import {CurveArrow, meta} from '../motions/@iamsuosi/lab-notebook/react/parts/arrow.tsx';
110
+ import tokens from '../motions/@motionhub/lab-notebook/tokens.json';
111
+ import {CurveArrow, meta} from '../motions/@motionhub/lab-notebook/react/parts/arrow.tsx';
112
112
 
113
113
  const Arrow = (props) => <MotionProvider tokens={tokens}><CurveArrow {...props} /></MotionProvider>;
114
114
 
@@ -131,10 +131,10 @@ A film can change motion from scene to scene, or hold two in one frame ([a proje
131
131
  import {Sequence} from 'remotion';
132
132
  import {MotionScope} from '@motionhub/runtime';
133
133
  import {MotionFonts, MotionProvider} from '@motionhub/remotion';
134
- import notebook from '../motions/@iamsuosi/lab-notebook/tokens.json';
135
- import pencil from '../motions/@iamsuosi/red-pencil/tokens.json';
136
- import {Opening} from '../motions/@iamsuosi/lab-notebook/react/parts/opening.tsx';
137
- import {Headline} from '../motions/@iamsuosi/red-pencil/react/parts/headline.tsx';
134
+ import notebook from '../motions/@motionhub/lab-notebook/tokens.json';
135
+ import pencil from '../motions/@motionhub/red-pencil/tokens.json';
136
+ import {Opening} from '../motions/@motionhub/lab-notebook/react/parts/opening.tsx';
137
+ import {Headline} from '../motions/@motionhub/red-pencil/react/parts/headline.tsx';
138
138
 
139
139
  export const Film = () => (
140
140
  <MotionProvider tokens={notebook} root={false}>
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@motionhub/remotion",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Use a motion from motionhub.dev in Remotion: its React components as they are, and its tokens as Remotion values.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/motionhub-dev/motionhub.git",
8
+ "url": "git+https://github.com/motionhubdev/motionhub.git",
9
9
  "directory": "packages/remotion"
10
10
  },
11
11
  "homepage": "https://motionhub.dev",
@@ -26,7 +26,7 @@
26
26
  "README.md"
27
27
  ],
28
28
  "peerDependencies": {
29
- "@motionhub/runtime": "^0.6.0 || ^0.7.0 || ^0.8.0",
29
+ "@motionhub/runtime": "^0.6.0 || ^0.7.0 || ^0.8.0 || ^0.9.0",
30
30
  "react-dom": ">=18",
31
31
  "react": ">=18",
32
32
  "remotion": ">=4.0.530"