@remotion/studio 4.0.501 → 4.0.502

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 (67) hide show
  1. package/dist/components/AssetSelectorItem.js +2 -2
  2. package/dist/components/Canvas.js +3 -3
  3. package/dist/components/CompositionSelector.js +4 -4
  4. package/dist/components/CompositionSelectorItem.js +5 -5
  5. package/dist/components/EditorContent.js +1 -1
  6. package/dist/components/FullscreenToggle.d.ts +3 -1
  7. package/dist/components/FullscreenToggle.js +2 -2
  8. package/dist/components/InlineAction.js +1 -1
  9. package/dist/components/InspectorPanel/use-composition-actions.d.ts +1 -1
  10. package/dist/components/InspectorPanel/use-composition-actions.js +46 -3
  11. package/dist/components/LoopToggle.d.ts +1 -0
  12. package/dist/components/LoopToggle.js +9 -5
  13. package/dist/components/Menu/MenuSubItem.js +9 -1
  14. package/dist/components/ObserveDefaultPropsContext.js +7 -4
  15. package/dist/components/PlayPause.d.ts +1 -0
  16. package/dist/components/PlayPause.js +2 -4
  17. package/dist/components/PlaybackRateSelector.d.ts +9 -2
  18. package/dist/components/PlaybackRateSelector.js +21 -10
  19. package/dist/components/PreviewToolbar.js +19 -109
  20. package/dist/components/PreviewToolbarOverflowButton.d.ts +12 -0
  21. package/dist/components/PreviewToolbarOverflowButton.js +217 -0
  22. package/dist/components/QuickSwitcher/QuickSwitcher.d.ts +1 -0
  23. package/dist/components/QuickSwitcher/QuickSwitcherContent.d.ts +1 -0
  24. package/dist/components/QuickSwitcher/QuickSwitcherContent.js +16 -1
  25. package/dist/components/QuickSwitcher/QuickSwitcherResult.d.ts +2 -0
  26. package/dist/components/QuickSwitcher/QuickSwitcherResult.js +7 -1
  27. package/dist/components/RenderButton.d.ts +1 -0
  28. package/dist/components/RenderButton.js +6 -4
  29. package/dist/components/SizeSelector.d.ts +6 -0
  30. package/dist/components/SizeSelector.js +17 -8
  31. package/dist/components/Splitter/SplitterContainer.d.ts +1 -0
  32. package/dist/components/Splitter/SplitterContainer.js +23 -3
  33. package/dist/components/Splitter/SplitterContext.d.ts +14 -0
  34. package/dist/components/Splitter/SplitterContext.js +16 -1
  35. package/dist/components/Splitter/SplitterHandle.js +8 -6
  36. package/dist/components/Timeline/Timeline.js +2 -1
  37. package/dist/components/Timeline/TimelineAssetField.d.ts +1 -1
  38. package/dist/components/Timeline/TimelineAssetField.js +36 -1
  39. package/dist/components/Timeline/TimelineDragHandler.js +1 -1
  40. package/dist/components/Timeline/TimelineStack/get-stack.js +8 -0
  41. package/dist/components/Timeline/save-sequence-prop.js +4 -4
  42. package/dist/components/Timeline/sequence-props-subscription-store.d.ts +2 -2
  43. package/dist/components/Timeline/sequence-props-subscription-store.js +3 -3
  44. package/dist/components/TopPanel.js +1 -1
  45. package/dist/components/UpdateCheck.js +11 -4
  46. package/dist/components/default-props-api.d.ts +3 -0
  47. package/dist/components/default-props-api.js +19 -0
  48. package/dist/components/drop-handler-data.d.ts +1 -1
  49. package/dist/components/drop-handler-data.js +6 -6
  50. package/dist/components/effect-drag-and-drop.d.ts +1 -1
  51. package/dist/components/effect-drag-and-drop.js +3 -3
  52. package/dist/components/element-drag-and-drop.d.ts +1 -1
  53. package/dist/components/element-drag-and-drop.js +3 -3
  54. package/dist/components/import-assets.d.ts +4 -4
  55. package/dist/components/sequence-props-api.d.ts +4 -0
  56. package/dist/components/sequence-props-api.js +26 -0
  57. package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts +1 -0
  58. package/dist/error-overlay/remotion-overlay/ErrorDisplay.js +29 -5
  59. package/dist/error-overlay/remotion-overlay/ErrorLoader.js +4 -20
  60. package/dist/esm/{chunk-n1kj09yv.js → chunk-fjv75ty4.js} +4122 -3579
  61. package/dist/esm/internals.mjs +4122 -3579
  62. package/dist/esm/previewEntry.mjs +4175 -3632
  63. package/dist/esm/renderEntry.mjs +1 -1
  64. package/dist/icons/upload.d.ts +4 -0
  65. package/dist/icons/upload.js +8 -0
  66. package/dist/state/modals.d.ts +1 -0
  67. package/package.json +13 -13
@@ -212,7 +212,7 @@ var renderContent = (Root) => {
212
212
  renderToDOM(/* @__PURE__ */ jsx("div", {
213
213
  children: /* @__PURE__ */ jsx(DelayedSpinner, {})
214
214
  }));
215
- import("./chunk-n1kj09yv.js").then(({ StudioInternals }) => {
215
+ import("./chunk-fjv75ty4.js").then(({ StudioInternals }) => {
216
216
  window.remotion_isStudio = true;
217
217
  window.remotion_isReadOnlyStudio = true;
218
218
  window.remotion_inputProps = "{}";
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const UploadIcon: React.FC<SVGProps<SVGSVGElement> & {
3
+ readonly color: string;
4
+ }>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UploadIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const UploadIcon = ({ color, ...props }) => {
6
+ return (jsx_runtime_1.jsx("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", children: jsx_runtime_1.jsx("path", { fill: color, d: "M192 96L320 96L320 192C320 227.3 348.7 256 384 256L480 256L480 512C480 529.7 465.7 544 448 544L192 544C174.3 544 160 529.7 160 512L160 128C160 110.3 174.3 96 192 96zM352 109.3L466.7 224L384 224C366.3 224 352 209.7 352 192L352 109.3zM192 64C156.7 64 128 92.7 128 128L128 512C128 547.3 156.7 576 192 576L448 576C483.3 576 512 547.3 512 512L512 250.5C512 233.5 505.3 217.2 493.3 205.2L370.7 82.7C358.7 70.7 342.5 64 325.5 64L192 64zM304 488C304 496.8 311.2 504 320 504C328.8 504 336 496.8 336 488L336 432L392 432C400.8 432 408 424.8 408 416C408 407.2 400.8 400 392 400L336 400L336 344C336 335.2 328.8 328 320 328C311.2 328 304 335.2 304 344L304 400L248 400C239.2 400 232 407.2 232 416C232 424.8 239.2 432 248 432L304 432L304 488z" }) }));
7
+ };
8
+ exports.UploadIcon = UploadIcon;
@@ -162,6 +162,7 @@ export type ModalState = {
162
162
  invocationTimestamp: number;
163
163
  assetSelection: {
164
164
  initialQuery: string;
165
+ onSelectFile: () => void;
165
166
  onSelected: (asset: StaticFile) => void;
166
167
  } | null;
167
168
  compositionSelection: {
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.501",
6
+ "version": "4.0.502",
7
7
  "description": "APIs for interacting with the Remotion Studio",
8
8
  "main": "dist",
9
9
  "scripts": {
@@ -24,18 +24,18 @@
24
24
  "react-dom": ">=16.8.0"
25
25
  },
26
26
  "dependencies": {
27
- "@remotion/drag-and-drop": "4.0.501",
27
+ "@remotion/studio-protocol": "4.0.502",
28
28
  "semver": "7.5.3",
29
- "remotion": "4.0.501",
30
- "@remotion/canvas-capture": "4.0.501",
31
- "@remotion/captions": "4.0.501",
32
- "@remotion/player": "4.0.501",
33
- "@remotion/media-utils": "4.0.501",
34
- "@remotion/renderer": "4.0.501",
35
- "@remotion/web-renderer": "4.0.501",
36
- "@remotion/studio-shared": "4.0.501",
37
- "@remotion/timeline-utils": "4.0.501",
38
- "@remotion/zod-types": "4.0.501",
29
+ "remotion": "4.0.502",
30
+ "@remotion/canvas-capture": "4.0.502",
31
+ "@remotion/captions": "4.0.502",
32
+ "@remotion/player": "4.0.502",
33
+ "@remotion/media-utils": "4.0.502",
34
+ "@remotion/renderer": "4.0.502",
35
+ "@remotion/web-renderer": "4.0.502",
36
+ "@remotion/studio-shared": "4.0.502",
37
+ "@remotion/timeline-utils": "4.0.502",
38
+ "@remotion/zod-types": "4.0.502",
39
39
  "@jridgewell/trace-mapping": "0.3.31",
40
40
  "mediabunny": "1.50.8",
41
41
  "memfs": "3.4.3",
@@ -46,7 +46,7 @@
46
46
  "react": "19.2.3",
47
47
  "react-dom": "19.2.3",
48
48
  "@types/semver": "7.5.3",
49
- "@remotion/eslint-config-internal": "4.0.501",
49
+ "@remotion/eslint-config-internal": "4.0.502",
50
50
  "eslint": "9.19.0",
51
51
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
52
52
  },