@remotion/studio 4.0.340 → 4.0.344
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 +2 -2
- package/.turbo/turbo-test.log +57 -54
- package/LICENSE.md +7 -7
- package/dist/components/PreviewToolbar.js +3 -1
- package/dist/components/WebRender/TriggerWebRender.d.ts +1 -0
- package/dist/components/WebRender/TriggerWebRender.js +31 -0
- package/dist/esm/{chunk-kssm9t8x.js → chunk-537k7w8j.js} +1505 -1335
- package/dist/esm/{chunk-f6a78x4r.js → chunk-621t537e.js} +1366 -1149
- package/dist/esm/{chunk-v6g6sx6z.js → chunk-kdprv7ha.js} +1328 -1141
- package/dist/esm/{chunk-s0cbvv3s.js → chunk-qv5xwxwh.js} +1372 -1152
- package/dist/esm/{chunk-1g0vys7t.js → chunk-xnv9k83w.js} +1506 -1338
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/internals.mjs +1338 -1150
- package/dist/esm/previewEntry.mjs +1356 -1168
- package/dist/esm/renderEntry.mjs +1 -1
- package/dist/helpers/show-browser-rendering.d.ts +1 -0
- package/dist/helpers/show-browser-rendering.js +4 -0
- package/dist/visual-controls/VisualControls.js +3 -2
- package/package.json +11 -10
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/chunk-b2q8p229.js +0 -46492
- package/dist/esm/chunk-gqesq3a3.js +0 -46465
- package/dist/esm/chunk-nc7etmdb.js +0 -46489
- package/dist/esm/chunk-nh63jtdb.js +0 -46534
- package/dist/esm/chunk-sgrpvcge.js +0 -46465
- package/dist/esm/chunk-wzm783qz.js +0 -46534
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -183,7 +183,7 @@ var renderContent = (Root) => {
|
|
|
183
183
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
184
184
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
185
185
|
}));
|
|
186
|
-
import("./chunk-
|
|
186
|
+
import("./chunk-xnv9k83w.js").then(({ StudioInternals }) => {
|
|
187
187
|
renderToDOM(/* @__PURE__ */ jsx(StudioInternals.Studio, {
|
|
188
188
|
readOnly: true,
|
|
189
189
|
rootComponent: Root
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SHOW_BROWSER_RENDERING = false;
|
|
@@ -55,6 +55,7 @@ const VisualControlsProvider = ({ children }) => {
|
|
|
55
55
|
}, []);
|
|
56
56
|
const z = (0, get_zod_if_possible_1.useZodIfPossible)();
|
|
57
57
|
const changedRef = (0, react_1.useRef)(false);
|
|
58
|
+
const env = (0, remotion_1.useRemotionEnvironment)();
|
|
58
59
|
const visualControl = (0, react_1.useCallback)(
|
|
59
60
|
// eslint-disable-next-line prefer-arrow-callback
|
|
60
61
|
function (key, value, schema) {
|
|
@@ -62,7 +63,7 @@ const VisualControlsProvider = ({ children }) => {
|
|
|
62
63
|
if (handles && false) {
|
|
63
64
|
/** Intentional: State is managed imperatively */
|
|
64
65
|
}
|
|
65
|
-
if (!
|
|
66
|
+
if (!env.isStudio) {
|
|
66
67
|
return value;
|
|
67
68
|
}
|
|
68
69
|
if (!z) {
|
|
@@ -77,7 +78,7 @@ const VisualControlsProvider = ({ children }) => {
|
|
|
77
78
|
changedRef.current = true;
|
|
78
79
|
}
|
|
79
80
|
return currentValue;
|
|
80
|
-
}, [setControl, handles, z]);
|
|
81
|
+
}, [setControl, handles, z, env.isStudio]);
|
|
81
82
|
const updateHandles = (0, react_1.useCallback)(() => {
|
|
82
83
|
setHandles(() => {
|
|
83
84
|
return imperativeHandles.current;
|
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.344",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -23,21 +23,22 @@
|
|
|
23
23
|
"source-map": "0.7.3",
|
|
24
24
|
"open": "^8.4.2",
|
|
25
25
|
"zod": "3.22.3",
|
|
26
|
-
"@remotion/media-
|
|
27
|
-
"@remotion/
|
|
28
|
-
"@remotion/
|
|
29
|
-
"@remotion/
|
|
30
|
-
"@remotion/
|
|
31
|
-
"remotion": "4.0.
|
|
32
|
-
"
|
|
33
|
-
"@remotion/
|
|
26
|
+
"@remotion/media-parser": "4.0.344",
|
|
27
|
+
"@remotion/media-utils": "4.0.344",
|
|
28
|
+
"@remotion/web-renderer": "4.0.344",
|
|
29
|
+
"@remotion/studio-shared": "4.0.344",
|
|
30
|
+
"@remotion/zod-types": "4.0.344",
|
|
31
|
+
"@remotion/renderer": "4.0.344",
|
|
32
|
+
"remotion": "4.0.344",
|
|
33
|
+
"@remotion/webcodecs": "4.0.344",
|
|
34
|
+
"@remotion/player": "4.0.344"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"react": "19.0.0",
|
|
37
38
|
"react-dom": "19.0.0",
|
|
38
39
|
"@types/semver": "^7.3.4",
|
|
39
40
|
"eslint": "9.19.0",
|
|
40
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
41
|
+
"@remotion/eslint-config-internal": "4.0.344"
|
|
41
42
|
},
|
|
42
43
|
"publishConfig": {
|
|
43
44
|
"access": "public"
|