@remotion/studio 4.0.177 → 4.0.178
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-build.log +1 -1
- package/README.md +18 -3
- package/dist/components/CanvasOrLoading.js +2 -1
- package/dist/components/NewComposition/RemInput.d.ts +1 -1
- package/dist/esm/internals.mjs +1 -0
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/helpers/convert-env-variables.d.ts +8 -2
- package/package.json +11 -21
- package/tsconfig.tsbuildinfo +1 -1
- package/prettierrc.js +0 -14
package/.turbo/turbo-build.log
CHANGED
package/README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# @remotion/studio
|
|
2
|
+
|
|
3
|
+
APIs for interacting with the Remotion Studio
|
|
4
|
+
|
|
5
|
+
[](https://npmcharts.com/compare/@remotion/studio?minimal=true)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @remotion/studio --save-exact
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
|
|
14
|
+
Remove the `^` character from the version number to use the exact version.
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
This is an internal package and has no documentation.
|
|
@@ -9,6 +9,7 @@ const colors_1 = require("../helpers/colors");
|
|
|
9
9
|
const timeline_zoom_1 = require("../state/timeline-zoom");
|
|
10
10
|
const Canvas_1 = require("./Canvas");
|
|
11
11
|
const FramePersistor_1 = require("./FramePersistor");
|
|
12
|
+
const is_menu_item_1 = require("./Menu/is-menu-item");
|
|
12
13
|
const RefreshCompositionOverlay_1 = require("./RefreshCompositionOverlay");
|
|
13
14
|
const RunningCalculateMetadata_1 = require("./RunningCalculateMetadata");
|
|
14
15
|
const imperative_state_1 = require("./Timeline/imperative-state");
|
|
@@ -70,5 +71,5 @@ const loaderContainer = {
|
|
|
70
71
|
overflowY: 'auto',
|
|
71
72
|
};
|
|
72
73
|
const ErrorLoading = ({ error }) => {
|
|
73
|
-
return ((0, jsx_runtime_1.jsx)("div", { style: loaderContainer, children: (0, jsx_runtime_1.jsx)(ErrorLoader_1.ErrorLoader, { canHaveDismissButton: false, keyboardShortcuts: false, error: error, onRetry: () => { var _a; return (_a = remotion_1.Internals.resolveCompositionsRef.current) === null || _a === void 0 ? void 0 : _a.reloadCurrentlySelectedComposition(); }, calculateMetadata: true }, error.stack) }));
|
|
74
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: loaderContainer, className: is_menu_item_1.VERTICAL_SCROLLBAR_CLASSNAME, children: (0, jsx_runtime_1.jsx)(ErrorLoader_1.ErrorLoader, { canHaveDismissButton: false, keyboardShortcuts: false, error: error, onRetry: () => { var _a; return (_a = remotion_1.Internals.resolveCompositionsRef.current) === null || _a === void 0 ? void 0 : _a.reloadCurrentlySelectedComposition(); }, calculateMetadata: true }, error.stack) }));
|
|
74
75
|
};
|
|
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
|
|
|
12
12
|
status: 'error' | 'warning' | 'ok';
|
|
13
13
|
isFocused: boolean;
|
|
14
14
|
isHovered: boolean;
|
|
15
|
-
}) => "
|
|
15
|
+
}) => "rgba(255, 255, 255, 0.05)" | "rgba(0, 0, 0, 0.6)" | "hsla(0, 0%, 100%, 0.15)" | "#ff3232" | "#f1c40f";
|
|
16
16
|
export declare const RemotionInput: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
export {};
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -9934,6 +9934,7 @@ var loaderContainer = {
|
|
|
9934
9934
|
var ErrorLoading = ({ error }) => {
|
|
9935
9935
|
return jsx86("div", {
|
|
9936
9936
|
style: loaderContainer,
|
|
9937
|
+
className: VERTICAL_SCROLLBAR_CLASSNAME,
|
|
9937
9938
|
children: jsx86(ErrorLoader, {
|
|
9938
9939
|
canHaveDismissButton: false,
|
|
9939
9940
|
keyboardShortcuts: false,
|
package/dist/helpers/colors.d.ts
CHANGED
|
@@ -23,4 +23,4 @@ export declare const TIMELINE_TRACK_SEPARATOR = "rgba(0, 0, 0, 0.3)";
|
|
|
23
23
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
24
24
|
selected: boolean;
|
|
25
25
|
hovered: boolean;
|
|
26
|
-
}) => "transparent" | "hsla(0, 0%, 100%, 0.15)" | "
|
|
26
|
+
}) => "transparent" | "hsla(0, 0%, 100%, 0.15)" | "rgba(255, 255, 255, 0.06)" | "hsla(0, 0%, 100%, 0.25)";
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
export declare const envVariablesObjectToArray: (envVariables: Record<string, string>) => [
|
|
2
|
-
|
|
1
|
+
export declare const envVariablesObjectToArray: (envVariables: Record<string, string>) => [
|
|
2
|
+
string,
|
|
3
|
+
string
|
|
4
|
+
][];
|
|
5
|
+
export declare const envVariablesArrayToObject: (envVariables: [
|
|
6
|
+
string,
|
|
7
|
+
string
|
|
8
|
+
][]) => Record<string, string>;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
+
"repository": {
|
|
3
|
+
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
|
+
},
|
|
2
5
|
"name": "@remotion/studio",
|
|
3
|
-
"version": "4.0.
|
|
4
|
-
"description": "Remotion
|
|
6
|
+
"version": "4.0.178",
|
|
7
|
+
"description": "APIs for interacting with the Remotion Studio",
|
|
5
8
|
"main": "dist",
|
|
6
9
|
"sideEffects": false,
|
|
7
10
|
"author": "Jonny Burger <jonny@remotion.dev>",
|
|
8
11
|
"contributors": [],
|
|
9
12
|
"license": "MIT",
|
|
10
|
-
"repository": {
|
|
11
|
-
"url": "https://github.com/remotion-dev/remotion"
|
|
12
|
-
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
15
15
|
},
|
|
@@ -18,28 +18,18 @@
|
|
|
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
|
-
"
|
|
24
|
-
"@remotion/
|
|
25
|
-
"@remotion/
|
|
21
|
+
"@remotion/player": "4.0.178",
|
|
22
|
+
"@remotion/renderer": "4.0.178",
|
|
23
|
+
"remotion": "4.0.178",
|
|
24
|
+
"@remotion/studio-shared": "4.0.178",
|
|
25
|
+
"@remotion/media-utils": "4.0.178"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"react": "18.3.1",
|
|
29
29
|
"react-dom": "18.3.1",
|
|
30
|
-
"@jonny/eslint-config": "3.0.281",
|
|
31
|
-
"@types/node": "18.14.6",
|
|
32
|
-
"@types/react": "18.3.1",
|
|
33
|
-
"@types/react-dom": "18.3.0",
|
|
34
|
-
"eslint": "8.56.0",
|
|
35
|
-
"eslint-plugin-10x": "1.5.2",
|
|
36
|
-
"eslint-plugin-react": "7.32.2",
|
|
37
|
-
"eslint-plugin-react-hooks": "4.4.0",
|
|
38
|
-
"prettier": "3.2.5",
|
|
39
30
|
"@types/semver": "^7.3.4",
|
|
40
|
-
"prettier-plugin-organize-imports": "3.2.4",
|
|
41
31
|
"zod": "3.22.3",
|
|
42
|
-
"@remotion/zod-types": "4.0.
|
|
32
|
+
"@remotion/zod-types": "4.0.178"
|
|
43
33
|
},
|
|
44
34
|
"publishConfig": {
|
|
45
35
|
"access": "public"
|