@remotion/studio 4.0.487 → 4.0.488

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.
@@ -212,7 +212,7 @@ var renderContent = (Root) => {
212
212
  renderToDOM(/* @__PURE__ */ jsx("div", {
213
213
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
214
214
  }));
215
- import("./chunk-y2t24cx0.js").then(({ StudioInternals }) => {
215
+ import("./chunk-nn36hyt1.js").then(({ StudioInternals }) => {
216
216
  window.remotion_isStudio = true;
217
217
  window.remotion_isReadOnlyStudio = true;
218
218
  window.remotion_inputProps = "{}";
@@ -0,0 +1 @@
1
+ export declare const studioInteractivityEnabled: boolean;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.studioInteractivityEnabled = void 0;
4
+ const interactivityEnabled = process.env.INTERACTIVITY_ENABLED;
5
+ exports.studioInteractivityEnabled = interactivityEnabled === undefined || interactivityEnabled === null
6
+ ? true
7
+ : interactivityEnabled !== false && interactivityEnabled !== 'false';
@@ -6,6 +6,7 @@ const react_1 = require("react");
6
6
  const remotion_1 = require("remotion");
7
7
  const get_zod_schema_from_primitive_1 = require("../api/get-zod-schema-from-primitive");
8
8
  const get_zod_if_possible_1 = require("../components/get-zod-if-possible");
9
+ const interactivity_enabled_1 = require("../helpers/interactivity-enabled");
9
10
  const get_current_edited_value_1 = require("./get-current-edited-value");
10
11
  const visual_control_store_1 = require("./visual-control-store");
11
12
  exports.VisualControlsTabActivatedContext = (0, react_1.createContext)(false);
@@ -69,6 +70,9 @@ const VisualControlsProvider = ({ children }) => {
69
70
  if (!env.isStudio) {
70
71
  return value;
71
72
  }
73
+ if (!interactivity_enabled_1.studioInteractivityEnabled) {
74
+ return value;
75
+ }
72
76
  if (!z) {
73
77
  return value;
74
78
  }
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.487",
6
+ "version": "4.0.488",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "scripts": {
@@ -25,17 +25,17 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "semver": "7.5.3",
28
- "remotion": "4.0.487",
29
- "@remotion/canvas-capture": "4.0.487",
30
- "@remotion/player": "4.0.487",
31
- "@remotion/media-utils": "4.0.487",
32
- "@remotion/renderer": "4.0.487",
33
- "@remotion/web-renderer": "4.0.487",
34
- "@remotion/studio-shared": "4.0.487",
35
- "@remotion/timeline-utils": "4.0.487",
36
- "@remotion/zod-types": "4.0.487",
28
+ "remotion": "4.0.488",
29
+ "@remotion/canvas-capture": "4.0.488",
30
+ "@remotion/player": "4.0.488",
31
+ "@remotion/media-utils": "4.0.488",
32
+ "@remotion/renderer": "4.0.488",
33
+ "@remotion/web-renderer": "4.0.488",
34
+ "@remotion/studio-shared": "4.0.488",
35
+ "@remotion/timeline-utils": "4.0.488",
36
+ "@remotion/zod-types": "4.0.488",
37
37
  "@jridgewell/trace-mapping": "0.3.31",
38
- "mediabunny": "1.50.7",
38
+ "mediabunny": "1.50.8",
39
39
  "memfs": "3.4.3",
40
40
  "open": "8.4.2",
41
41
  "zod": "4.3.6"
@@ -44,7 +44,7 @@
44
44
  "react": "19.2.3",
45
45
  "react-dom": "19.2.3",
46
46
  "@types/semver": "7.5.3",
47
- "@remotion/eslint-config-internal": "4.0.487",
47
+ "@remotion/eslint-config-internal": "4.0.488",
48
48
  "eslint": "9.19.0",
49
49
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
50
50
  },