@remotion/studio 4.0.250 → 4.0.251
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/.turbo/turbo-make.log +1 -1
- package/dist/api/create-composition.d.ts +4 -0
- package/dist/api/create-composition.js +15 -0
- package/dist/esm/index.mjs +26 -1
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/helpers/presets-labels.d.ts +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6 -1
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-test.log +0 -86
package/.turbo/turbo-make.log
CHANGED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CompositionProps, StillProps } from 'remotion';
|
|
2
|
+
import type { AnyZodObject } from 'zod';
|
|
3
|
+
export declare const createComposition: <Schema extends AnyZodObject, Props extends Record<string, unknown>>({ ...other }: CompositionProps<Schema, Props>) => () => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const createStill: <Schema extends AnyZodObject, Props extends Record<string, unknown>>({ ...other }: StillProps<Schema, Props>) => () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createStill = exports.createComposition = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const remotion_1 = require("remotion");
|
|
6
|
+
const createComposition = ({ ...other }) => () => {
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return (0, jsx_runtime_1.jsx)(remotion_1.Composition, { ...other });
|
|
9
|
+
};
|
|
10
|
+
exports.createComposition = createComposition;
|
|
11
|
+
const createStill = ({ ...other }) => () => {
|
|
12
|
+
// @ts-expect-error
|
|
13
|
+
return (0, jsx_runtime_1.jsx)(remotion_1.Still, { ...other });
|
|
14
|
+
};
|
|
15
|
+
exports.createStill = createStill;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3725,6 +3725,24 @@ var init_lib = __esm(() => {
|
|
|
3725
3725
|
});
|
|
3726
3726
|
});
|
|
3727
3727
|
|
|
3728
|
+
// src/api/create-composition.tsx
|
|
3729
|
+
import { Composition, Still } from "remotion";
|
|
3730
|
+
import { jsx } from "react/jsx-runtime";
|
|
3731
|
+
var createComposition = ({
|
|
3732
|
+
...other
|
|
3733
|
+
}) => () => {
|
|
3734
|
+
return /* @__PURE__ */ jsx(Composition, {
|
|
3735
|
+
...other
|
|
3736
|
+
});
|
|
3737
|
+
};
|
|
3738
|
+
var createStill = ({
|
|
3739
|
+
...other
|
|
3740
|
+
}) => () => {
|
|
3741
|
+
return /* @__PURE__ */ jsx(Still, {
|
|
3742
|
+
...other
|
|
3743
|
+
});
|
|
3744
|
+
};
|
|
3745
|
+
|
|
3728
3746
|
// src/api/delete-static-file.ts
|
|
3729
3747
|
import { getRemotionEnvironment } from "remotion";
|
|
3730
3748
|
|
|
@@ -4127,6 +4145,12 @@ var writeStaticFile = async ({
|
|
|
4127
4145
|
throw new Error(jsonResponse.error);
|
|
4128
4146
|
}
|
|
4129
4147
|
};
|
|
4148
|
+
|
|
4149
|
+
// src/index.ts
|
|
4150
|
+
var StudioInternals = {
|
|
4151
|
+
createComposition,
|
|
4152
|
+
createStill
|
|
4153
|
+
};
|
|
4130
4154
|
export {
|
|
4131
4155
|
writeStaticFile,
|
|
4132
4156
|
watchStaticFile,
|
|
@@ -4137,5 +4161,6 @@ export {
|
|
|
4137
4161
|
reevaluateComposition,
|
|
4138
4162
|
getStaticFiles,
|
|
4139
4163
|
focusDefaultPropsPath,
|
|
4140
|
-
deleteStaticFile
|
|
4164
|
+
deleteStaticFile,
|
|
4165
|
+
StudioInternals
|
|
4141
4166
|
};
|
package/dist/helpers/colors.d.ts
CHANGED
|
@@ -24,4 +24,4 @@ export declare const TIMELINE_TRACK_SEPARATOR = "rgba(0, 0, 0, 0.3)";
|
|
|
24
24
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
25
25
|
selected: boolean;
|
|
26
26
|
hovered: boolean;
|
|
27
|
-
}) => "
|
|
27
|
+
}) => "hsla(0, 0%, 100%, 0.15)" | "hsla(0, 0%, 100%, 0.25)" | "rgba(255, 255, 255, 0.06)" | "transparent";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { X264Preset } from '@remotion/renderer';
|
|
2
|
-
export declare const labelx264Preset: (profile: X264Preset) => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
2
|
+
export declare const labelx264Preset: (profile: X264Preset) => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { deleteStaticFile, DeleteStaticFileResponse, } from './api/delete-static-file';
|
|
2
2
|
export { focusDefaultPropsPath } from './api/focus-default-props-path';
|
|
3
|
-
export {
|
|
3
|
+
export { getStaticFiles, StaticFile } from './api/get-static-files';
|
|
4
4
|
export { UpdateDefaultPropsFunction } from './api/helpers/calc-new-props';
|
|
5
5
|
export { reevaluateComposition } from './api/reevaluate-composition';
|
|
6
6
|
export { restartStudio } from './api/restart-studio';
|
|
@@ -9,3 +9,7 @@ export { updateDefaultProps } from './api/update-default-props';
|
|
|
9
9
|
export { watchPublicFolder } from './api/watch-public-folder';
|
|
10
10
|
export { watchStaticFile } from './api/watch-static-file';
|
|
11
11
|
export { writeStaticFile } from './api/write-static-file';
|
|
12
|
+
export declare const StudioInternals: {
|
|
13
|
+
createComposition: <Schema extends import("zod").AnyZodObject, Props extends Record<string, unknown>>({ ...other }: import("remotion").CompositionProps<Schema, Props>) => () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
createStill: <Schema extends import("zod").AnyZodObject, Props extends Record<string, unknown>>({ ...other }: import("remotion").StillProps<Schema, Props>) => () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.writeStaticFile = exports.watchStaticFile = exports.watchPublicFolder = exports.updateDefaultProps = exports.saveDefaultProps = exports.restartStudio = exports.reevaluateComposition = exports.getStaticFiles = exports.focusDefaultPropsPath = exports.deleteStaticFile = void 0;
|
|
3
|
+
exports.StudioInternals = exports.writeStaticFile = exports.watchStaticFile = exports.watchPublicFolder = exports.updateDefaultProps = exports.saveDefaultProps = exports.restartStudio = exports.reevaluateComposition = exports.getStaticFiles = exports.focusDefaultPropsPath = exports.deleteStaticFile = void 0;
|
|
4
|
+
const create_composition_1 = require("./api/create-composition");
|
|
4
5
|
var delete_static_file_1 = require("./api/delete-static-file");
|
|
5
6
|
Object.defineProperty(exports, "deleteStaticFile", { enumerable: true, get: function () { return delete_static_file_1.deleteStaticFile; } });
|
|
6
7
|
var focus_default_props_path_1 = require("./api/focus-default-props-path");
|
|
@@ -21,3 +22,7 @@ var watch_static_file_1 = require("./api/watch-static-file");
|
|
|
21
22
|
Object.defineProperty(exports, "watchStaticFile", { enumerable: true, get: function () { return watch_static_file_1.watchStaticFile; } });
|
|
22
23
|
var write_static_file_1 = require("./api/write-static-file");
|
|
23
24
|
Object.defineProperty(exports, "writeStaticFile", { enumerable: true, get: function () { return write_static_file_1.writeStaticFile; } });
|
|
25
|
+
exports.StudioInternals = {
|
|
26
|
+
createComposition: create_composition_1.createComposition,
|
|
27
|
+
createStill: create_composition_1.createStill,
|
|
28
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.251",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"memfs": "3.4.3",
|
|
19
19
|
"source-map": "0.7.3",
|
|
20
20
|
"open": "^8.4.2",
|
|
21
|
-
"remotion": "4.0.
|
|
22
|
-
"@remotion/
|
|
23
|
-
"@remotion/media-
|
|
24
|
-
"@remotion/
|
|
25
|
-
"@remotion/
|
|
26
|
-
"@remotion/
|
|
21
|
+
"remotion": "4.0.251",
|
|
22
|
+
"@remotion/player": "4.0.251",
|
|
23
|
+
"@remotion/media-parser": "4.0.251",
|
|
24
|
+
"@remotion/media-utils": "4.0.251",
|
|
25
|
+
"@remotion/renderer": "4.0.251",
|
|
26
|
+
"@remotion/studio-shared": "4.0.251"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"react": "19.0.0",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@types/semver": "^7.3.4",
|
|
32
32
|
"zod": "3.22.3",
|
|
33
33
|
"eslint": "9.14.0",
|
|
34
|
-
"@remotion/
|
|
35
|
-
"@remotion/
|
|
34
|
+
"@remotion/zod-types": "4.0.251",
|
|
35
|
+
"@remotion/eslint-config-internal": "4.0.251"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|