@remotion/cli 4.0.0-webhook.27 → 4.1.0-alpha2

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 (992) hide show
  1. package/LICENSE.md +8 -8
  2. package/dist/ansi/ansi-diff.d.ts +3 -2
  3. package/dist/ansi/ansi-diff.js +14 -20
  4. package/dist/ansi/ansi-split.d.ts +1 -0
  5. package/dist/ansi/ansi-split.js +16 -3
  6. package/dist/benchmark.d.ts +0 -0
  7. package/dist/benchmark.js +105 -42
  8. package/dist/better-opn/index.d.ts +6 -0
  9. package/dist/better-opn/index.js +202 -0
  10. package/dist/chalk/index.d.ts +45 -54
  11. package/dist/chalk/index.js +2 -135
  12. package/dist/cleanup-before-quit.d.ts +3 -0
  13. package/dist/cleanup-before-quit.js +26 -0
  14. package/dist/cloudrun-command.d.ts +1 -0
  15. package/dist/cloudrun-command.js +27 -0
  16. package/dist/code-frame.d.ts +0 -0
  17. package/dist/code-frame.js +18 -7
  18. package/dist/codemods/stringify-with-path.d.ts +5 -0
  19. package/dist/codemods/stringify-with-path.js +44 -0
  20. package/dist/codemods/update-default-props.d.ts +7 -0
  21. package/dist/codemods/update-default-props.js +128 -0
  22. package/dist/color-math.d.ts +2 -0
  23. package/dist/color-math.js +13 -0
  24. package/dist/composition-prompts.d.ts +7 -0
  25. package/dist/composition-prompts.js +25 -0
  26. package/dist/compositions.d.ts +1 -1
  27. package/dist/compositions.js +30 -66
  28. package/dist/config/audio-codec.d.ts +3 -0
  29. package/dist/config/audio-codec.js +20 -0
  30. package/dist/config/bitrate.d.ts +4 -0
  31. package/dist/config/bitrate.js +21 -0
  32. package/dist/config/browser-executable.d.ts +0 -0
  33. package/dist/config/browser-executable.js +0 -0
  34. package/dist/config/browser.d.ts +1 -3
  35. package/dist/config/browser.js +2 -12
  36. package/dist/config/chromium-flags.d.ts +0 -0
  37. package/dist/config/chromium-flags.js +0 -0
  38. package/dist/config/codec.d.ts +0 -4
  39. package/dist/config/codec.js +1 -21
  40. package/dist/config/concurrency.d.ts +2 -2
  41. package/dist/config/concurrency.js +0 -0
  42. package/dist/config/crf.d.ts +1 -2
  43. package/dist/config/crf.js +1 -9
  44. package/dist/config/enforce-audio-track.d.ts +0 -0
  45. package/dist/config/enforce-audio-track.js +0 -0
  46. package/dist/config/entry-point.d.ts +2 -0
  47. package/dist/config/entry-point.js +12 -0
  48. package/dist/config/env-file.d.ts +0 -0
  49. package/dist/config/env-file.js +0 -0
  50. package/dist/config/every-nth-frame.d.ts +1 -2
  51. package/dist/config/every-nth-frame.js +3 -11
  52. package/dist/config/ffmpeg-override.d.ts +0 -0
  53. package/dist/config/ffmpeg-override.js +0 -0
  54. package/dist/config/frame-range.d.ts +0 -0
  55. package/dist/config/frame-range.js +0 -0
  56. package/dist/config/height.d.ts +2 -0
  57. package/dist/config/height.js +14 -0
  58. package/dist/config/image-format.d.ts +5 -3
  59. package/dist/config/image-format.js +32 -10
  60. package/dist/config/image-sequence.d.ts +0 -0
  61. package/dist/config/image-sequence.js +0 -0
  62. package/dist/config/index.d.ts +266 -16
  63. package/dist/config/index.js +77 -71
  64. package/dist/config/jpeg-quality.d.ts +2 -0
  65. package/dist/config/jpeg-quality.js +17 -0
  66. package/dist/config/keyboard-shortcuts.d.ts +0 -0
  67. package/dist/config/keyboard-shortcuts.js +0 -0
  68. package/dist/config/log.d.ts +1 -3
  69. package/dist/config/log.js +2 -9
  70. package/dist/config/max-timeline-tracks.d.ts +0 -0
  71. package/dist/config/max-timeline-tracks.js +6 -5
  72. package/dist/config/muted.d.ts +0 -0
  73. package/dist/config/muted.js +0 -0
  74. package/dist/config/number-of-gif-loops.d.ts +2 -3
  75. package/dist/config/number-of-gif-loops.js +3 -9
  76. package/dist/config/number-of-shared-audio-tags.d.ts +2 -0
  77. package/dist/config/number-of-shared-audio-tags.js +12 -0
  78. package/dist/config/open-browser.d.ts +2 -0
  79. package/dist/config/open-browser.js +15 -0
  80. package/dist/config/output-location.d.ts +0 -0
  81. package/dist/config/output-location.js +0 -0
  82. package/dist/config/override-webpack.d.ts +1 -1
  83. package/dist/config/override-webpack.js +0 -0
  84. package/dist/config/overwrite.d.ts +0 -0
  85. package/dist/config/overwrite.js +0 -0
  86. package/dist/config/pixel-format.d.ts +0 -0
  87. package/dist/config/pixel-format.js +0 -0
  88. package/dist/config/preview-server.d.ts +0 -0
  89. package/dist/config/preview-server.js +2 -2
  90. package/dist/config/prores-profile.d.ts +0 -0
  91. package/dist/config/prores-profile.js +0 -0
  92. package/dist/config/public-dir.d.ts +1 -1
  93. package/dist/config/public-dir.js +0 -0
  94. package/dist/config/scale.d.ts +2 -1
  95. package/dist/config/scale.js +0 -0
  96. package/dist/config/still-frame.d.ts +0 -0
  97. package/dist/config/still-frame.js +6 -2
  98. package/dist/config/timeout.d.ts +0 -0
  99. package/dist/config/timeout.js +1 -1
  100. package/dist/config/user-agent.d.ts +4 -0
  101. package/dist/config/user-agent.js +12 -0
  102. package/dist/config/webpack-caching.d.ts +0 -0
  103. package/dist/config/webpack-caching.js +0 -0
  104. package/dist/config/webpack-poll.d.ts +2 -0
  105. package/dist/config/webpack-poll.js +16 -0
  106. package/dist/config/width.d.ts +2 -0
  107. package/dist/config/width.js +16 -0
  108. package/dist/convert-entry-point-to-serve-url.d.ts +1 -0
  109. package/dist/convert-entry-point-to-serve-url.js +15 -0
  110. package/dist/determine-image-format.d.ts +5 -4
  111. package/dist/determine-image-format.js +17 -4
  112. package/dist/download-progress.d.ts +1 -1
  113. package/dist/download-progress.js +7 -2
  114. package/dist/editor/components/AudioWaveform.d.ts +1 -1
  115. package/dist/editor/components/AudioWaveform.js +18 -6
  116. package/dist/editor/components/AudioWaveformBar.d.ts +0 -0
  117. package/dist/editor/components/AudioWaveformBar.js +0 -0
  118. package/dist/editor/components/Canvas.d.ts +0 -0
  119. package/dist/editor/components/Canvas.js +14 -6
  120. package/dist/editor/components/CanvasOrLoading.d.ts +5 -0
  121. package/dist/editor/components/CanvasOrLoading.js +69 -0
  122. package/dist/editor/components/CheckboardToggle.d.ts +0 -0
  123. package/dist/editor/components/CheckboardToggle.js +2 -1
  124. package/dist/editor/components/Checkbox.d.ts +7 -0
  125. package/dist/editor/components/Checkbox.js +42 -0
  126. package/dist/editor/components/CheckerboardProvider.d.ts +4 -0
  127. package/dist/editor/components/CheckerboardProvider.js +24 -0
  128. package/dist/editor/components/CompositionSelector.d.ts +0 -0
  129. package/dist/editor/components/CompositionSelector.js +2 -4
  130. package/dist/editor/components/CompositionSelectorItem.d.ts +4 -4
  131. package/dist/editor/components/CompositionSelectorItem.js +24 -6
  132. package/dist/editor/components/ControlButton.d.ts +0 -0
  133. package/dist/editor/components/ControlButton.js +0 -0
  134. package/dist/editor/components/CopyButton.d.ts +0 -0
  135. package/dist/editor/components/CopyButton.js +0 -0
  136. package/dist/editor/components/CurrentComposition.d.ts +0 -0
  137. package/dist/editor/components/CurrentComposition.js +4 -19
  138. package/dist/editor/components/CurrentCompositionSideEffects.d.ts +3 -0
  139. package/dist/editor/components/CurrentCompositionSideEffects.js +51 -0
  140. package/dist/editor/components/Editor.d.ts +0 -0
  141. package/dist/editor/components/Editor.js +2 -9
  142. package/dist/editor/components/EditorContent.d.ts +0 -0
  143. package/dist/editor/components/EditorContent.js +1 -1
  144. package/dist/editor/components/EditorContexts.d.ts +0 -0
  145. package/dist/editor/components/EditorContexts.js +10 -71
  146. package/dist/editor/components/FpsCounter.d.ts +0 -0
  147. package/dist/editor/components/FpsCounter.js +0 -0
  148. package/dist/editor/components/FramePersistor.d.ts +0 -0
  149. package/dist/editor/components/FramePersistor.js +0 -0
  150. package/dist/editor/components/GlobalKeybindings.d.ts +0 -0
  151. package/dist/editor/components/GlobalKeybindings.js +24 -1
  152. package/dist/editor/components/InitialCompositionLoader.d.ts +2 -2
  153. package/dist/editor/components/InitialCompositionLoader.js +1 -1
  154. package/dist/editor/components/InlineAction.d.ts +7 -0
  155. package/dist/editor/components/InlineAction.js +34 -0
  156. package/dist/editor/components/KeyboardShortcutsExplainer.d.ts +2 -0
  157. package/dist/editor/components/KeyboardShortcutsExplainer.js +57 -0
  158. package/dist/editor/components/LoopToggle.d.ts +0 -0
  159. package/dist/editor/components/LoopToggle.js +2 -1
  160. package/dist/editor/components/MediaVolumeProvider.d.ts +4 -0
  161. package/dist/editor/components/MediaVolumeProvider.js +25 -0
  162. package/dist/editor/components/Menu/MenuDivider.d.ts +0 -0
  163. package/dist/editor/components/Menu/MenuDivider.js +0 -0
  164. package/dist/editor/components/Menu/MenuItem.d.ts +4 -3
  165. package/dist/editor/components/Menu/MenuItem.js +21 -4
  166. package/dist/editor/components/Menu/MenuSubItem.d.ts +1 -2
  167. package/dist/editor/components/Menu/MenuSubItem.js +17 -4
  168. package/dist/editor/components/Menu/SubMenu.d.ts +0 -0
  169. package/dist/editor/components/Menu/SubMenu.js +1 -1
  170. package/dist/editor/components/Menu/is-menu-item.d.ts +5 -0
  171. package/dist/editor/components/Menu/is-menu-item.js +14 -0
  172. package/dist/editor/components/Menu/portals.d.ts +0 -0
  173. package/dist/editor/components/Menu/portals.js +0 -0
  174. package/dist/editor/components/Menu/styles.d.ts +5 -0
  175. package/dist/editor/components/Menu/styles.js +18 -6
  176. package/dist/editor/components/MenuBuildIndicator.d.ts +0 -0
  177. package/dist/editor/components/MenuBuildIndicator.js +20 -1
  178. package/dist/editor/components/MenuToolbar.d.ts +0 -0
  179. package/dist/editor/components/MenuToolbar.js +19 -452
  180. package/dist/editor/components/ModalContainer.d.ts +2 -0
  181. package/dist/editor/components/ModalContainer.js +12 -3
  182. package/dist/editor/components/ModalHeader.d.ts +0 -0
  183. package/dist/editor/components/ModalHeader.js +6 -2
  184. package/dist/editor/components/Modals.d.ts +2 -0
  185. package/dist/editor/components/Modals.js +23 -0
  186. package/dist/editor/components/ModalsProvider.d.ts +4 -0
  187. package/dist/editor/components/ModalsProvider.js +17 -0
  188. package/dist/editor/components/MuteToggle.d.ts +0 -0
  189. package/dist/editor/components/MuteToggle.js +0 -0
  190. package/dist/editor/components/NewComposition/CancelButton.d.ts +0 -0
  191. package/dist/editor/components/NewComposition/CancelButton.js +3 -0
  192. package/dist/editor/components/NewComposition/ComboBox.d.ts +5 -4
  193. package/dist/editor/components/NewComposition/ComboBox.js +70 -11
  194. package/dist/editor/components/NewComposition/CopyHint.d.ts +0 -0
  195. package/dist/editor/components/NewComposition/CopyHint.js +1 -1
  196. package/dist/editor/components/NewComposition/InputDragger.d.ts +6 -1
  197. package/dist/editor/components/NewComposition/InputDragger.js +36 -11
  198. package/dist/editor/components/NewComposition/MenuContent.d.ts +1 -0
  199. package/dist/editor/components/NewComposition/MenuContent.js +34 -3
  200. package/dist/editor/components/NewComposition/NewCompAspectRatio.d.ts +0 -0
  201. package/dist/editor/components/NewComposition/NewCompAspectRatio.js +0 -0
  202. package/dist/editor/components/NewComposition/NewCompCode.d.ts +0 -0
  203. package/dist/editor/components/NewComposition/NewCompCode.js +0 -0
  204. package/dist/editor/components/NewComposition/NewCompDuration.d.ts +0 -0
  205. package/dist/editor/components/NewComposition/NewCompDuration.js +5 -3
  206. package/dist/editor/components/NewComposition/NewComposition.d.ts +0 -0
  207. package/dist/editor/components/NewComposition/NewComposition.js +15 -9
  208. package/dist/editor/components/NewComposition/RemInput.d.ts +15 -1
  209. package/dist/editor/components/NewComposition/RemInput.js +24 -9
  210. package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +8 -0
  211. package/dist/editor/components/NewComposition/RemInputTypeColor.js +53 -0
  212. package/dist/editor/components/NewComposition/RemTextarea.d.ts +7 -0
  213. package/dist/editor/components/NewComposition/RemTextarea.js +92 -0
  214. package/dist/editor/components/NewComposition/ToggleAspectRatio.d.ts +0 -0
  215. package/dist/editor/components/NewComposition/ToggleAspectRatio.js +0 -0
  216. package/dist/editor/components/NewComposition/ValidationMessage.d.ts +4 -0
  217. package/dist/editor/components/NewComposition/ValidationMessage.js +20 -9
  218. package/dist/editor/components/NewComposition/new-comp-layout.d.ts +0 -0
  219. package/dist/editor/components/NewComposition/new-comp-layout.js +0 -0
  220. package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +0 -0
  221. package/dist/editor/components/NewComposition/render-aspect-ratio.js +0 -0
  222. package/dist/editor/components/NoRegisterRoot.d.ts +0 -0
  223. package/dist/editor/components/NoRegisterRoot.js +0 -0
  224. package/dist/editor/components/Notifications/ColorDot.d.ts +0 -0
  225. package/dist/editor/components/Notifications/ColorDot.js +0 -0
  226. package/dist/editor/components/Notifications/Notification.d.ts +0 -0
  227. package/dist/editor/components/Notifications/Notification.js +0 -0
  228. package/dist/editor/components/Notifications/NotificationCenter.d.ts +3 -2
  229. package/dist/editor/components/Notifications/NotificationCenter.js +11 -1
  230. package/dist/editor/components/Notifications/ServerDisconnected.d.ts +0 -4
  231. package/dist/editor/components/Notifications/ServerDisconnected.js +5 -15
  232. package/dist/editor/components/OpenEditorButton.d.ts +2 -0
  233. package/dist/editor/components/OpenEditorButton.js +52 -0
  234. package/dist/editor/components/PlayPause.d.ts +0 -0
  235. package/dist/editor/components/PlayPause.js +19 -4
  236. package/dist/editor/components/PlaybackKeyboardShortcutsManager.d.ts +0 -0
  237. package/dist/editor/components/PlaybackKeyboardShortcutsManager.js +6 -0
  238. package/dist/editor/components/PlaybackRatePersistor.d.ts +0 -0
  239. package/dist/editor/components/PlaybackRatePersistor.js +0 -0
  240. package/dist/editor/components/PlaybackRateSelector.d.ts +0 -2
  241. package/dist/editor/components/PlaybackRateSelector.js +6 -6
  242. package/dist/editor/components/PlayerEmitterContext.d.ts +4 -0
  243. package/dist/editor/components/PlayerEmitterContext.js +11 -0
  244. package/dist/editor/components/Preview.d.ts +0 -1
  245. package/dist/editor/components/Preview.js +4 -4
  246. package/dist/editor/components/PreviewToolbar.d.ts +0 -0
  247. package/dist/editor/components/PreviewToolbar.js +2 -2
  248. package/dist/editor/components/QuickSwitcher/AlgoliaCredit.d.ts +2 -0
  249. package/dist/editor/components/QuickSwitcher/AlgoliaCredit.js +11 -0
  250. package/dist/editor/components/QuickSwitcher/NoResults.d.ts +6 -0
  251. package/dist/editor/components/QuickSwitcher/NoResults.js +20 -0
  252. package/dist/editor/components/QuickSwitcher/QuickSwitcher.d.ts +7 -0
  253. package/dist/editor/components/QuickSwitcher/QuickSwitcher.js +16 -0
  254. package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.d.ts +6 -0
  255. package/dist/editor/components/QuickSwitcher/QuickSwitcherContent.js +274 -0
  256. package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +21 -0
  257. package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.js +111 -0
  258. package/dist/editor/components/QuickSwitcher/algolia-search.d.ts +2 -0
  259. package/dist/editor/components/QuickSwitcher/algolia-search.js +62 -0
  260. package/dist/editor/components/QuickSwitcher/fuzzy-search.d.ts +2 -0
  261. package/dist/editor/components/QuickSwitcher/fuzzy-search.js +26 -0
  262. package/dist/editor/components/RenderButton.d.ts +2 -0
  263. package/dist/editor/components/RenderButton.js +107 -0
  264. package/dist/editor/components/RenderModal/CliCopyButton.d.ts +4 -0
  265. package/dist/editor/components/RenderModal/CliCopyButton.js +59 -0
  266. package/dist/editor/components/RenderModal/CrfSetting.d.ts +15 -0
  267. package/dist/editor/components/RenderModal/CrfSetting.js +42 -0
  268. package/dist/editor/components/RenderModal/DataEditor.d.ts +20 -0
  269. package/dist/editor/components/RenderModal/DataEditor.js +296 -0
  270. package/dist/editor/components/RenderModal/EnforceAudioTrackSetting.d.ts +8 -0
  271. package/dist/editor/components/RenderModal/EnforceAudioTrackSetting.js +17 -0
  272. package/dist/editor/components/RenderModal/EnvInput.d.ts +11 -0
  273. package/dist/editor/components/RenderModal/EnvInput.js +74 -0
  274. package/dist/editor/components/RenderModal/FrameRangeSetting.d.ts +8 -0
  275. package/dist/editor/components/RenderModal/FrameRangeSetting.js +42 -0
  276. package/dist/editor/components/RenderModal/GuiRenderStatus.d.ts +5 -0
  277. package/dist/editor/components/RenderModal/GuiRenderStatus.js +78 -0
  278. package/dist/editor/components/RenderModal/InfoBubble.d.ts +5 -0
  279. package/dist/editor/components/RenderModal/InfoBubble.js +116 -0
  280. package/dist/editor/components/RenderModal/InfoTooltip.d.ts +6 -0
  281. package/dist/editor/components/RenderModal/InfoTooltip.js +41 -0
  282. package/dist/editor/components/RenderModal/InlineEyeIcon.d.ts +5 -0
  283. package/dist/editor/components/RenderModal/InlineEyeIcon.js +17 -0
  284. package/dist/editor/components/RenderModal/InlineRemoveButton.d.ts +4 -0
  285. package/dist/editor/components/RenderModal/InlineRemoveButton.js +17 -0
  286. package/dist/editor/components/RenderModal/JpegQualitySetting.d.ts +5 -0
  287. package/dist/editor/components/RenderModal/JpegQualitySetting.js +12 -0
  288. package/dist/editor/components/RenderModal/MutedSetting.d.ts +8 -0
  289. package/dist/editor/components/RenderModal/MutedSetting.js +17 -0
  290. package/dist/editor/components/RenderModal/NumberOfLoopsSetting.d.ts +5 -0
  291. package/dist/editor/components/RenderModal/NumberOfLoopsSetting.js +26 -0
  292. package/dist/editor/components/RenderModal/NumberSetting.d.ts +12 -0
  293. package/dist/editor/components/RenderModal/NumberSetting.js +29 -0
  294. package/dist/editor/components/RenderModal/OptionExplainer.d.ts +5 -0
  295. package/dist/editor/components/RenderModal/OptionExplainer.js +56 -0
  296. package/dist/editor/components/RenderModal/RenderModal.d.ts +39 -0
  297. package/dist/editor/components/RenderModal/RenderModal.js +634 -0
  298. package/dist/editor/components/RenderModal/RenderModalAdvanced.d.ts +26 -0
  299. package/dist/editor/components/RenderModal/RenderModalAdvanced.js +59 -0
  300. package/dist/editor/components/RenderModal/RenderModalAudio.d.ts +17 -0
  301. package/dist/editor/components/RenderModal/RenderModalAudio.js +46 -0
  302. package/dist/editor/components/RenderModal/RenderModalBasic.d.ts +24 -0
  303. package/dist/editor/components/RenderModal/RenderModalBasic.js +80 -0
  304. package/dist/editor/components/RenderModal/RenderModalEnvironmentVariables.d.ts +5 -0
  305. package/dist/editor/components/RenderModal/RenderModalEnvironmentVariables.js +55 -0
  306. package/dist/editor/components/RenderModal/RenderModalGif.d.ts +9 -0
  307. package/dist/editor/components/RenderModal/RenderModalGif.js +19 -0
  308. package/dist/editor/components/RenderModal/RenderModalHr.d.ts +2 -0
  309. package/dist/editor/components/RenderModal/RenderModalHr.js +18 -0
  310. package/dist/editor/components/RenderModal/RenderModalInput.d.ts +10 -0
  311. package/dist/editor/components/RenderModal/RenderModalInput.js +13 -0
  312. package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.d.ts +14 -0
  313. package/dist/editor/components/RenderModal/RenderModalJSONPropsEditor.js +139 -0
  314. package/dist/editor/components/RenderModal/RenderModalPicture.d.ts +28 -0
  315. package/dist/editor/components/RenderModal/RenderModalPicture.js +54 -0
  316. package/dist/editor/components/RenderModal/RenderStatusModal.d.ts +4 -0
  317. package/dist/editor/components/RenderModal/RenderStatusModal.js +72 -0
  318. package/dist/editor/components/RenderModal/ScaleSetting.d.ts +5 -0
  319. package/dist/editor/components/RenderModal/ScaleSetting.js +17 -0
  320. package/dist/editor/components/RenderModal/SchemaEditor/Fieldset.d.ts +7 -0
  321. package/dist/editor/components/RenderModal/SchemaEditor/Fieldset.js +26 -0
  322. package/dist/editor/components/RenderModal/SchemaEditor/SchemaEditor.d.ts +13 -0
  323. package/dist/editor/components/RenderModal/SchemaEditor/SchemaEditor.js +38 -0
  324. package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.d.ts +15 -0
  325. package/dist/editor/components/RenderModal/SchemaEditor/SchemaErrorMessages.js +62 -0
  326. package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.d.ts +14 -0
  327. package/dist/editor/components/RenderModal/SchemaEditor/SchemaLabel.js +33 -0
  328. package/dist/editor/components/RenderModal/SchemaEditor/SchemaResetButton.d.ts +4 -0
  329. package/dist/editor/components/RenderModal/SchemaEditor/SchemaResetButton.js +17 -0
  330. package/dist/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.d.ts +5 -0
  331. package/dist/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.js +17 -0
  332. package/dist/editor/components/RenderModal/SchemaEditor/SchemaSeparationLine.d.ts +2 -0
  333. package/dist/editor/components/RenderModal/SchemaEditor/SchemaSeparationLine.js +11 -0
  334. package/dist/editor/components/RenderModal/SchemaEditor/SchemaVerticalGuide.d.ts +5 -0
  335. package/dist/editor/components/RenderModal/SchemaEditor/SchemaVerticalGuide.js +13 -0
  336. package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayEditor.d.ts +17 -0
  337. package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayEditor.js +83 -0
  338. package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.d.ts +16 -0
  339. package/dist/editor/components/RenderModal/SchemaEditor/ZodArrayItemEditor.js +28 -0
  340. package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.d.ts +17 -0
  341. package/dist/editor/components/RenderModal/SchemaEditor/ZodBooleanEditor.js +28 -0
  342. package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.d.ts +17 -0
  343. package/dist/editor/components/RenderModal/SchemaEditor/ZodColorEditor.js +71 -0
  344. package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.d.ts +17 -0
  345. package/dist/editor/components/RenderModal/SchemaEditor/ZodDateEditor.js +62 -0
  346. package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.d.ts +17 -0
  347. package/dist/editor/components/RenderModal/SchemaEditor/ZodDefaultEditor.js +10 -0
  348. package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.d.ts +16 -0
  349. package/dist/editor/components/RenderModal/SchemaEditor/ZodEffectEditor.js +31 -0
  350. package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.d.ts +15 -0
  351. package/dist/editor/components/RenderModal/SchemaEditor/ZodEnumEditor.js +55 -0
  352. package/dist/editor/components/RenderModal/SchemaEditor/ZodErrorMessages.d.ts +6 -0
  353. package/dist/editor/components/RenderModal/SchemaEditor/ZodErrorMessages.js +48 -0
  354. package/dist/editor/components/RenderModal/SchemaEditor/ZodFieldValidation.d.ts +7 -0
  355. package/dist/editor/components/RenderModal/SchemaEditor/ZodFieldValidation.js +27 -0
  356. package/dist/editor/components/RenderModal/SchemaEditor/ZodNonEditableValue.d.ts +9 -0
  357. package/dist/editor/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +27 -0
  358. package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.d.ts +17 -0
  359. package/dist/editor/components/RenderModal/SchemaEditor/ZodNullableEditor.js +10 -0
  360. package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.d.ts +17 -0
  361. package/dist/editor/components/RenderModal/SchemaEditor/ZodNumberEditor.js +69 -0
  362. package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.d.ts +17 -0
  363. package/dist/editor/components/RenderModal/SchemaEditor/ZodObjectEditor.js +65 -0
  364. package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.d.ts +17 -0
  365. package/dist/editor/components/RenderModal/SchemaEditor/ZodOptionalEditor.js +10 -0
  366. package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.d.ts +19 -0
  367. package/dist/editor/components/RenderModal/SchemaEditor/ZodOrNullishEditor.js +50 -0
  368. package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.d.ts +17 -0
  369. package/dist/editor/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +56 -0
  370. package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.d.ts +17 -0
  371. package/dist/editor/components/RenderModal/SchemaEditor/ZodStringEditor.js +34 -0
  372. package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.d.ts +17 -0
  373. package/dist/editor/components/RenderModal/SchemaEditor/ZodSwitch.js +92 -0
  374. package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.d.ts +17 -0
  375. package/dist/editor/components/RenderModal/SchemaEditor/ZodUnionEditor.js +49 -0
  376. package/dist/editor/components/RenderModal/SchemaEditor/create-zod-values.d.ts +2 -0
  377. package/dist/editor/components/RenderModal/SchemaEditor/create-zod-values.js +158 -0
  378. package/dist/editor/components/RenderModal/SchemaEditor/deep-equal.d.ts +1 -0
  379. package/dist/editor/components/RenderModal/SchemaEditor/deep-equal.js +30 -0
  380. package/dist/editor/components/RenderModal/SchemaEditor/extract-enum-json-paths.d.ts +3 -0
  381. package/dist/editor/components/RenderModal/SchemaEditor/extract-enum-json-paths.js +126 -0
  382. package/dist/editor/components/RenderModal/SchemaEditor/get-schema-label.d.ts +2 -0
  383. package/dist/editor/components/RenderModal/SchemaEditor/get-schema-label.js +15 -0
  384. package/dist/editor/components/RenderModal/SchemaEditor/input-props-serialization.d.ts +14 -0
  385. package/dist/editor/components/RenderModal/SchemaEditor/input-props-serialization.js +42 -0
  386. package/dist/editor/components/RenderModal/SchemaEditor/local-state.d.ts +21 -0
  387. package/dist/editor/components/RenderModal/SchemaEditor/local-state.js +79 -0
  388. package/dist/editor/components/RenderModal/SchemaEditor/zod-types.d.ts +1 -0
  389. package/dist/editor/components/RenderModal/SchemaEditor/zod-types.js +2 -0
  390. package/dist/editor/components/RenderModal/WarningIndicatorButton.d.ts +6 -0
  391. package/dist/editor/components/RenderModal/WarningIndicatorButton.js +49 -0
  392. package/dist/editor/components/RenderModal/get-render-modal-warnings.d.ts +19 -0
  393. package/dist/editor/components/RenderModal/get-render-modal-warnings.js +60 -0
  394. package/dist/editor/components/RenderModal/human-readable-audio-codecs.d.ts +2 -0
  395. package/dist/editor/components/RenderModal/human-readable-audio-codecs.js +18 -0
  396. package/dist/editor/components/RenderModal/human-readable-codec.d.ts +2 -0
  397. package/dist/editor/components/RenderModal/human-readable-codec.js +36 -0
  398. package/dist/editor/components/RenderModal/layout.d.ts +6 -0
  399. package/dist/editor/components/RenderModal/layout.js +42 -0
  400. package/dist/editor/components/RenderModal/out-name-checker.d.ts +14 -0
  401. package/dist/editor/components/RenderModal/out-name-checker.js +70 -0
  402. package/dist/editor/components/RenderQueue/CircularProgress.d.ts +5 -0
  403. package/dist/editor/components/RenderQueue/CircularProgress.js +18 -0
  404. package/dist/editor/components/RenderQueue/RenderQueueError.d.ts +5 -0
  405. package/dist/editor/components/RenderQueue/RenderQueueError.js +26 -0
  406. package/dist/editor/components/RenderQueue/RenderQueueItem.d.ts +5 -0
  407. package/dist/editor/components/RenderQueue/RenderQueueItem.js +40 -0
  408. package/dist/editor/components/RenderQueue/RenderQueueItemCancelButton.d.ts +5 -0
  409. package/dist/editor/components/RenderQueue/RenderQueueItemCancelButton.js +26 -0
  410. package/dist/editor/components/RenderQueue/RenderQueueItemStatus.d.ts +5 -0
  411. package/dist/editor/components/RenderQueue/RenderQueueItemStatus.js +43 -0
  412. package/dist/editor/components/RenderQueue/RenderQueueOpenInFolder.d.ts +5 -0
  413. package/dist/editor/components/RenderQueue/RenderQueueOpenInFolder.js +26 -0
  414. package/dist/editor/components/RenderQueue/RenderQueueOutputName.d.ts +5 -0
  415. package/dist/editor/components/RenderQueue/RenderQueueOutputName.js +26 -0
  416. package/dist/editor/components/RenderQueue/RenderQueueProgressMessage.d.ts +5 -0
  417. package/dist/editor/components/RenderQueue/RenderQueueProgressMessage.js +26 -0
  418. package/dist/editor/components/RenderQueue/RenderQueueRemoveItem.d.ts +5 -0
  419. package/dist/editor/components/RenderQueue/RenderQueueRemoveItem.js +37 -0
  420. package/dist/editor/components/RenderQueue/RenderQueueRepeat.d.ts +5 -0
  421. package/dist/editor/components/RenderQueue/RenderQueueRepeat.js +26 -0
  422. package/dist/editor/components/RenderQueue/SuccessIcon.d.ts +2 -0
  423. package/dist/editor/components/RenderQueue/SuccessIcon.js +14 -0
  424. package/dist/editor/components/RenderQueue/actions.d.ts +60 -0
  425. package/dist/editor/components/RenderQueue/actions.js +129 -0
  426. package/dist/editor/components/RenderQueue/context.d.ts +18 -0
  427. package/dist/editor/components/RenderQueue/context.js +49 -0
  428. package/dist/editor/components/RenderQueue/index.d.ts +2 -0
  429. package/dist/editor/components/RenderQueue/index.js +50 -0
  430. package/dist/editor/components/RenderQueue/item-style.d.ts +2 -0
  431. package/dist/editor/components/RenderQueue/item-style.js +21 -0
  432. package/dist/editor/components/RendersTab.d.ts +6 -0
  433. package/dist/editor/components/RendersTab.js +43 -0
  434. package/dist/editor/components/ResetZoomButton.d.ts +0 -0
  435. package/dist/editor/components/ResetZoomButton.js +0 -0
  436. package/dist/editor/components/RightPanel.d.ts +8 -0
  437. package/dist/editor/components/RightPanel.js +79 -0
  438. package/dist/editor/components/SegmentedControl.d.ts +11 -0
  439. package/dist/editor/components/SegmentedControl.js +64 -0
  440. package/dist/editor/components/SetTimelineInOutProvider.d.ts +4 -0
  441. package/dist/editor/components/SetTimelineInOutProvider.js +19 -0
  442. package/dist/editor/components/SidebarCollapserControls.d.ts +2 -0
  443. package/dist/editor/components/SidebarCollapserControls.js +135 -0
  444. package/dist/editor/components/SidebarRenderButton.d.ts +6 -0
  445. package/dist/editor/components/SidebarRenderButton.js +87 -0
  446. package/dist/editor/components/SizeSelector.d.ts +0 -1
  447. package/dist/editor/components/SizeSelector.js +5 -4
  448. package/dist/editor/components/Spinner.d.ts +5 -0
  449. package/dist/editor/components/Spinner.js +41 -0
  450. package/dist/editor/components/Splitter/SplitterContainer.d.ts +0 -0
  451. package/dist/editor/components/Splitter/SplitterContainer.js +1 -0
  452. package/dist/editor/components/Splitter/SplitterContext.d.ts +3 -3
  453. package/dist/editor/components/Splitter/SplitterContext.js +0 -0
  454. package/dist/editor/components/Splitter/SplitterElement.d.ts +0 -0
  455. package/dist/editor/components/Splitter/SplitterElement.js +1 -0
  456. package/dist/editor/components/Splitter/SplitterHandle.d.ts +1 -2
  457. package/dist/editor/components/Splitter/SplitterHandle.js +15 -7
  458. package/dist/editor/components/Tabs/index.d.ts +11 -0
  459. package/dist/editor/components/Tabs/index.js +56 -0
  460. package/dist/editor/components/Tabs/vertical.d.ts +7 -0
  461. package/dist/editor/components/Tabs/vertical.js +43 -0
  462. package/dist/editor/components/TimeValue.d.ts +0 -0
  463. package/dist/editor/components/TimeValue.js +3 -4
  464. package/dist/editor/components/Timeline/LoopedIndicator.d.ts +0 -0
  465. package/dist/editor/components/Timeline/LoopedIndicator.js +6 -6
  466. package/dist/editor/components/Timeline/LoopedTimelineIndicators.d.ts +0 -0
  467. package/dist/editor/components/Timeline/LoopedTimelineIndicators.js +0 -0
  468. package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +1 -0
  469. package/dist/editor/components/Timeline/MaxTimelineTracks.js +4 -3
  470. package/dist/editor/components/Timeline/Timeline.d.ts +0 -0
  471. package/dist/editor/components/Timeline/Timeline.js +17 -10
  472. package/dist/editor/components/Timeline/TimelineCollapseToggle.d.ts +1 -0
  473. package/dist/editor/components/Timeline/TimelineCollapseToggle.js +4 -5
  474. package/dist/editor/components/Timeline/TimelineDragHandler.d.ts +0 -0
  475. package/dist/editor/components/Timeline/TimelineDragHandler.js +26 -11
  476. package/dist/editor/components/Timeline/TimelineInOutPointer.d.ts +0 -0
  477. package/dist/editor/components/Timeline/TimelineInOutPointer.js +7 -5
  478. package/dist/editor/components/Timeline/TimelineInOutPointerHandle.d.ts +0 -0
  479. package/dist/editor/components/Timeline/TimelineInOutPointerHandle.js +9 -3
  480. package/dist/editor/components/Timeline/TimelineList.d.ts +0 -0
  481. package/dist/editor/components/Timeline/TimelineList.js +0 -0
  482. package/dist/editor/components/Timeline/TimelineListItem.d.ts +0 -0
  483. package/dist/editor/components/Timeline/TimelineListItem.js +10 -1
  484. package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.d.ts +0 -0
  485. package/dist/editor/components/Timeline/TimelinePlayCursorSyncer.js +4 -3
  486. package/dist/editor/components/Timeline/TimelineScrollable.d.ts +0 -0
  487. package/dist/editor/components/Timeline/TimelineScrollable.js +2 -1
  488. package/dist/editor/components/Timeline/TimelineSequence.d.ts +0 -1
  489. package/dist/editor/components/Timeline/TimelineSequence.js +25 -33
  490. package/dist/editor/components/Timeline/TimelineSequenceFrame.d.ts +0 -0
  491. package/dist/editor/components/Timeline/TimelineSequenceFrame.js +2 -1
  492. package/dist/editor/components/Timeline/TimelineSlider.d.ts +0 -0
  493. package/dist/editor/components/Timeline/TimelineSlider.js +17 -4
  494. package/dist/editor/components/Timeline/TimelineSliderHandle.d.ts +0 -0
  495. package/dist/editor/components/Timeline/TimelineSliderHandle.js +0 -0
  496. package/dist/editor/components/Timeline/TimelineTimeIndicators.d.ts +0 -0
  497. package/dist/editor/components/Timeline/TimelineTimeIndicators.js +21 -23
  498. package/dist/editor/components/Timeline/TimelineTracks.d.ts +0 -1
  499. package/dist/editor/components/Timeline/TimelineTracks.js +2 -2
  500. package/dist/editor/components/Timeline/TimelineVideoInfo.d.ts +0 -0
  501. package/dist/editor/components/Timeline/TimelineVideoInfo.js +0 -0
  502. package/dist/editor/components/Timeline/TimelineWidthProvider.d.ts +7 -0
  503. package/dist/editor/components/Timeline/TimelineWidthProvider.js +17 -0
  504. package/dist/editor/components/Timeline/TimelineZoomControls.d.ts +0 -0
  505. package/dist/editor/components/Timeline/TimelineZoomControls.js +4 -5
  506. package/dist/editor/components/Timeline/imperative-state.d.ts +0 -4
  507. package/dist/editor/components/Timeline/imperative-state.js +13 -13
  508. package/dist/editor/components/Timeline/is-collapsed.d.ts +0 -0
  509. package/dist/editor/components/Timeline/is-collapsed.js +2 -3
  510. package/dist/editor/components/Timeline/timeline-refs.d.ts +0 -0
  511. package/dist/editor/components/Timeline/timeline-refs.js +0 -0
  512. package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +0 -1
  513. package/dist/editor/components/Timeline/timeline-scroll-logic.js +5 -6
  514. package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +2 -2
  515. package/dist/editor/components/Timeline/timeline-state-reducer.js +0 -0
  516. package/dist/editor/components/TimelineInOutToggle.d.ts +0 -0
  517. package/dist/editor/components/TimelineInOutToggle.js +8 -4
  518. package/dist/editor/components/TopPanel.d.ts +1 -0
  519. package/dist/editor/components/TopPanel.js +31 -17
  520. package/dist/editor/components/UpdateCheck.d.ts +1 -1
  521. package/dist/editor/components/UpdateCheck.js +4 -5
  522. package/dist/editor/components/UpdateModal/UpdateModal.d.ts +0 -0
  523. package/dist/editor/components/UpdateModal/UpdateModal.js +0 -0
  524. package/dist/editor/components/ZoomGesturesProvider.d.ts +4 -0
  525. package/dist/editor/components/ZoomGesturesProvider.js +24 -0
  526. package/dist/editor/components/ZoomPersistor.d.ts +0 -1
  527. package/dist/editor/components/ZoomPersistor.js +2 -3
  528. package/dist/editor/components/get-zod-if-possible.d.ts +10 -0
  529. package/dist/editor/components/get-zod-if-possible.js +79 -0
  530. package/dist/editor/components/layout.d.ts +3 -1
  531. package/dist/editor/components/layout.js +9 -7
  532. package/dist/editor/helpers/calculate-timeline.d.ts +0 -4
  533. package/dist/editor/helpers/calculate-timeline.js +1 -1
  534. package/dist/editor/helpers/checkerboard-background.d.ts +0 -0
  535. package/dist/editor/helpers/checkerboard-background.js +0 -0
  536. package/dist/editor/helpers/client-id.d.ts +17 -0
  537. package/dist/{preview-server/dev-middleware/is-color-supported.js → editor/helpers/client-id.js} +21 -12
  538. package/dist/editor/helpers/colors.d.ts +6 -2
  539. package/dist/editor/helpers/colors.js +9 -4
  540. package/dist/editor/helpers/convert-env-variables.d.ts +2 -0
  541. package/dist/editor/helpers/convert-env-variables.js +20 -0
  542. package/dist/editor/helpers/copy-text.d.ts +0 -0
  543. package/dist/editor/helpers/copy-text.js +0 -0
  544. package/dist/editor/helpers/create-folder-tree.d.ts +2 -3
  545. package/dist/editor/helpers/create-folder-tree.js +3 -4
  546. package/dist/editor/helpers/get-effective-translation.d.ts +0 -0
  547. package/dist/editor/helpers/get-effective-translation.js +0 -0
  548. package/dist/editor/helpers/get-left-of-timeline-slider.d.ts +0 -4
  549. package/dist/editor/helpers/get-left-of-timeline-slider.js +1 -24
  550. package/dist/editor/helpers/get-sequence-visible-range.d.ts +0 -0
  551. package/dist/editor/helpers/get-sequence-visible-range.js +0 -0
  552. package/dist/editor/helpers/get-timeline-nestedness.d.ts +0 -0
  553. package/dist/editor/helpers/get-timeline-nestedness.js +0 -0
  554. package/dist/editor/helpers/get-timeline-sequence-hash.d.ts +0 -0
  555. package/dist/editor/helpers/get-timeline-sequence-hash.js +0 -0
  556. package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +2 -2
  557. package/dist/editor/helpers/get-timeline-sequence-layout.js +1 -1
  558. package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +4 -3
  559. package/dist/editor/helpers/get-timeline-sequence-sort-key.js +0 -0
  560. package/dist/editor/helpers/is-composition-still.d.ts +3 -2
  561. package/dist/editor/helpers/is-composition-still.js +3 -0
  562. package/dist/editor/helpers/is-current-selected-still.d.ts +0 -0
  563. package/dist/editor/helpers/is-current-selected-still.js +3 -4
  564. package/dist/editor/helpers/noop.d.ts +0 -0
  565. package/dist/editor/helpers/noop.js +0 -0
  566. package/dist/editor/helpers/open-in-editor.d.ts +2 -0
  567. package/dist/editor/helpers/open-in-editor.js +22 -0
  568. package/dist/editor/helpers/persist-open-folders.d.ts +1 -1
  569. package/dist/editor/helpers/persist-open-folders.js +0 -0
  570. package/dist/editor/helpers/pick-color.d.ts +0 -0
  571. package/dist/editor/helpers/pick-color.js +0 -0
  572. package/dist/editor/helpers/prores-labels.d.ts +2 -0
  573. package/dist/editor/helpers/prores-labels.js +25 -0
  574. package/dist/editor/helpers/render-modal-sections.d.ts +10 -0
  575. package/dist/editor/helpers/render-modal-sections.js +32 -0
  576. package/dist/editor/helpers/timeline-layout.d.ts +0 -0
  577. package/dist/editor/helpers/timeline-layout.js +0 -0
  578. package/dist/editor/helpers/use-breakpoint.d.ts +1 -0
  579. package/dist/editor/helpers/{use-compact-ui.js → use-breakpoint.js} +4 -5
  580. package/dist/editor/helpers/use-file-existence.d.ts +1 -0
  581. package/dist/editor/helpers/use-file-existence.js +66 -0
  582. package/dist/editor/helpers/use-keybinding.d.ts +2 -0
  583. package/dist/editor/helpers/use-keybinding.js +13 -2
  584. package/dist/editor/helpers/use-menu-structure.d.ts +7 -0
  585. package/dist/editor/helpers/use-menu-structure.js +705 -0
  586. package/dist/editor/helpers/validate-new-comp-data.d.ts +2 -2
  587. package/dist/editor/helpers/validate-new-comp-data.js +0 -0
  588. package/dist/editor/icons/Checkmark.d.ts +0 -0
  589. package/dist/editor/icons/Checkmark.js +1 -1
  590. package/dist/editor/icons/audio.d.ts +2 -0
  591. package/dist/editor/icons/audio.js +6 -0
  592. package/dist/editor/icons/caret.d.ts +4 -1
  593. package/dist/editor/icons/caret.js +17 -1
  594. package/dist/editor/icons/data.d.ts +2 -0
  595. package/dist/editor/icons/data.js +8 -0
  596. package/dist/editor/icons/file.d.ts +2 -0
  597. package/dist/editor/icons/file.js +6 -0
  598. package/dist/editor/icons/folder.d.ts +6 -2
  599. package/dist/editor/icons/folder.js +4 -4
  600. package/dist/editor/icons/frame.d.ts +2 -0
  601. package/dist/editor/icons/frame.js +6 -0
  602. package/dist/editor/icons/gear.d.ts +2 -0
  603. package/dist/editor/icons/gear.js +6 -0
  604. package/dist/editor/icons/gif.d.ts +2 -0
  605. package/dist/editor/icons/gif.js +6 -0
  606. package/dist/editor/icons/jump-to-start.d.ts +0 -0
  607. package/dist/editor/icons/jump-to-start.js +0 -0
  608. package/dist/editor/icons/keys.d.ts +0 -0
  609. package/dist/editor/icons/keys.js +0 -0
  610. package/dist/editor/icons/lock.d.ts +0 -0
  611. package/dist/editor/icons/lock.js +0 -0
  612. package/dist/editor/icons/media-volume.d.ts +0 -0
  613. package/dist/editor/icons/media-volume.js +2 -1
  614. package/dist/editor/icons/minus.d.ts +0 -0
  615. package/dist/editor/icons/minus.js +0 -0
  616. package/dist/editor/icons/pause.d.ts +0 -0
  617. package/dist/editor/icons/pause.js +0 -0
  618. package/dist/editor/icons/play.d.ts +0 -0
  619. package/dist/editor/icons/play.js +0 -0
  620. package/dist/editor/icons/plus.d.ts +3 -1
  621. package/dist/editor/icons/plus.js +2 -2
  622. package/dist/editor/icons/render.d.ts +9 -0
  623. package/dist/editor/icons/render.js +12 -0
  624. package/dist/editor/icons/step-back.d.ts +0 -0
  625. package/dist/editor/icons/step-back.js +0 -0
  626. package/dist/editor/icons/step-forward.d.ts +0 -0
  627. package/dist/editor/icons/step-forward.js +0 -0
  628. package/dist/editor/icons/still.d.ts +3 -1
  629. package/dist/editor/icons/still.js +2 -2
  630. package/dist/editor/icons/timelineInOutPointer.d.ts +0 -0
  631. package/dist/editor/icons/timelineInOutPointer.js +0 -0
  632. package/dist/editor/icons/video.d.ts +5 -0
  633. package/dist/editor/icons/video.js +8 -0
  634. package/dist/editor/state/aspect-ratio-locked.d.ts +0 -0
  635. package/dist/editor/state/aspect-ratio-locked.js +0 -0
  636. package/dist/editor/state/checkerboard.d.ts +1 -1
  637. package/dist/editor/state/checkerboard.js +0 -0
  638. package/dist/editor/state/editor-zoom-gestures.d.ts +9 -0
  639. package/dist/editor/state/editor-zoom-gestures.js +17 -0
  640. package/dist/editor/state/folders.d.ts +1 -1
  641. package/dist/editor/state/folders.js +0 -0
  642. package/dist/editor/state/highest-z-index.d.ts +1 -1
  643. package/dist/editor/state/highest-z-index.js +0 -0
  644. package/dist/editor/state/in-out.d.ts +2 -2
  645. package/dist/editor/state/in-out.js +0 -0
  646. package/dist/editor/state/input-dragger-click-lock.d.ts +0 -0
  647. package/dist/editor/state/input-dragger-click-lock.js +0 -0
  648. package/dist/editor/state/keybindings.d.ts +5 -4
  649. package/dist/editor/state/keybindings.js +0 -0
  650. package/dist/editor/state/loop.d.ts +0 -0
  651. package/dist/editor/state/loop.js +0 -0
  652. package/dist/editor/state/marks.d.ts +0 -0
  653. package/dist/editor/state/marks.js +0 -0
  654. package/dist/editor/state/modals.d.ts +47 -4
  655. package/dist/editor/state/modals.js +0 -0
  656. package/dist/editor/state/mute.d.ts +0 -0
  657. package/dist/editor/state/mute.js +0 -0
  658. package/dist/editor/state/playbackrate.d.ts +0 -0
  659. package/dist/editor/state/playbackrate.js +0 -0
  660. package/dist/editor/state/preview-size.d.ts +1 -2
  661. package/dist/editor/state/preview-size.js +15 -6
  662. package/dist/editor/state/render-frame.d.ts +0 -0
  663. package/dist/editor/state/render-frame.js +0 -0
  664. package/dist/editor/state/sidebar.d.ts +9 -5
  665. package/dist/editor/state/sidebar.js +42 -13
  666. package/dist/editor/state/timeline-ref.d.ts +2 -1
  667. package/dist/editor/state/timeline-ref.js +0 -0
  668. package/dist/editor/state/timeline-zoom.d.ts +0 -0
  669. package/dist/editor/state/timeline-zoom.js +0 -0
  670. package/dist/editor/state/timeline.d.ts +0 -0
  671. package/dist/editor/state/timeline.js +0 -0
  672. package/dist/editor/state/z-index.d.ts +0 -5
  673. package/dist/editor/state/z-index.js +40 -16
  674. package/dist/entry-point.d.ts +5 -0
  675. package/dist/entry-point.js +89 -0
  676. package/dist/event-source-events.d.ts +22 -1
  677. package/dist/event-source-events.js +0 -0
  678. package/dist/event-source.d.ts +2 -0
  679. package/dist/event-source.js +37 -7
  680. package/dist/ffmpeg.d.ts +2 -0
  681. package/dist/ffmpeg.js +30 -0
  682. package/dist/file-watcher.d.ts +9 -0
  683. package/dist/file-watcher.js +35 -0
  684. package/dist/format-bytes.d.ts +0 -0
  685. package/dist/format-bytes.js +0 -0
  686. package/dist/get-audio-codec.d.ts +2 -0
  687. package/dist/get-audio-codec.js +10 -0
  688. package/dist/get-cli-options.d.ts +13 -19
  689. package/dist/get-cli-options.js +27 -89
  690. package/dist/get-composition-id.d.ts +22 -1
  691. package/dist/get-composition-id.js +71 -7
  692. package/dist/get-composition-with-dimension-override.d.ts +24 -0
  693. package/dist/get-composition-with-dimension-override.js +30 -0
  694. package/dist/get-config-file-name.d.ts +0 -2
  695. package/dist/get-config-file-name.js +11 -11
  696. package/dist/get-default-out-name.d.ts +5 -0
  697. package/dist/get-default-out-name.js +10 -0
  698. package/dist/get-env.d.ts +1 -1
  699. package/dist/get-env.js +51 -60
  700. package/dist/get-filename.d.ts +6 -3
  701. package/dist/get-filename.js +12 -25
  702. package/dist/get-final-output-codec.d.ts +2 -1
  703. package/dist/get-final-output-codec.js +31 -34
  704. package/dist/get-input-props.d.ts +1 -1
  705. package/dist/get-input-props.js +18 -16
  706. package/dist/get-latest-remotion-version.d.ts +0 -0
  707. package/dist/get-latest-remotion-version.js +0 -0
  708. package/dist/get-network-address.d.ts +1 -0
  709. package/dist/get-network-address.js +16 -0
  710. package/dist/handle-common-errors.d.ts +2 -1
  711. package/dist/handle-common-errors.js +25 -3
  712. package/dist/image-formats.d.ts +5 -2
  713. package/dist/image-formats.js +16 -6
  714. package/dist/index.d.ts +140 -33
  715. package/dist/index.js +49 -29
  716. package/dist/initialize-cli.d.ts +0 -0
  717. package/dist/initialize-cli.js +0 -0
  718. package/dist/lambda-command.d.ts +1 -1
  719. package/dist/lambda-command.js +4 -5
  720. package/dist/list-of-remotion-packages.d.ts +0 -0
  721. package/dist/list-of-remotion-packages.js +9 -0
  722. package/dist/load-config.d.ts +0 -0
  723. package/dist/load-config.js +15 -25
  724. package/dist/log.d.ts +15 -0
  725. package/dist/log.js +1 -24
  726. package/dist/make-progress-bar.d.ts +0 -0
  727. package/dist/make-progress-bar.js +14 -1
  728. package/dist/parse-command-line.d.ts +23 -7
  729. package/dist/parse-command-line.js +47 -35
  730. package/dist/preview-server/api-routes.d.ts +4 -0
  731. package/dist/preview-server/api-routes.js +23 -0
  732. package/dist/preview-server/api-types.d.ts +26 -0
  733. package/dist/preview-server/api-types.js +2 -0
  734. package/dist/preview-server/dev-middleware/compatible-api.d.ts +2 -2
  735. package/dist/preview-server/dev-middleware/compatible-api.js +0 -0
  736. package/dist/preview-server/dev-middleware/get-paths.d.ts +1 -1
  737. package/dist/preview-server/dev-middleware/get-paths.js +0 -0
  738. package/dist/preview-server/dev-middleware/index.d.ts +0 -0
  739. package/dist/preview-server/dev-middleware/index.js +0 -0
  740. package/dist/preview-server/dev-middleware/middleware.d.ts +2 -3
  741. package/dist/preview-server/dev-middleware/middleware.js +9 -11
  742. package/dist/preview-server/dev-middleware/range-parser.d.ts +2 -2
  743. package/dist/preview-server/dev-middleware/range-parser.js +0 -0
  744. package/dist/preview-server/dev-middleware/ready.d.ts +0 -0
  745. package/dist/preview-server/dev-middleware/ready.js +0 -0
  746. package/dist/preview-server/dev-middleware/setup-hooks.d.ts +0 -0
  747. package/dist/preview-server/dev-middleware/setup-hooks.js +17 -6
  748. package/dist/preview-server/dev-middleware/setup-output-filesystem.d.ts +0 -0
  749. package/dist/preview-server/dev-middleware/setup-output-filesystem.js +0 -0
  750. package/dist/preview-server/dev-middleware/types.d.ts +1 -1
  751. package/dist/preview-server/dev-middleware/types.js +0 -0
  752. package/dist/preview-server/env-supports-fs-recursive.d.ts +1 -0
  753. package/dist/preview-server/env-supports-fs-recursive.js +18 -0
  754. package/dist/preview-server/error-overlay/entry-basic.d.ts +0 -0
  755. package/dist/preview-server/error-overlay/entry-basic.js +2 -2
  756. package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.d.ts +0 -0
  757. package/dist/preview-server/error-overlay/react-overlay/effects/format-warning.js +0 -0
  758. package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +1 -1
  759. package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.js +0 -0
  760. package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.d.ts +3 -3
  761. package/dist/preview-server/error-overlay/react-overlay/effects/proxy-console.js +0 -0
  762. package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.d.ts +0 -0
  763. package/dist/preview-server/error-overlay/react-overlay/effects/resolve-file-source.js +0 -0
  764. package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.d.ts +0 -0
  765. package/dist/preview-server/error-overlay/react-overlay/effects/stack-trace-limit.js +0 -0
  766. package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.d.ts +1 -1
  767. package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-error.js +0 -0
  768. package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.d.ts +1 -1
  769. package/dist/preview-server/error-overlay/react-overlay/effects/unhandled-rejection.js +0 -0
  770. package/dist/preview-server/error-overlay/react-overlay/index.d.ts +0 -0
  771. package/dist/preview-server/error-overlay/react-overlay/index.js +0 -0
  772. package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.d.ts +1 -1
  773. package/dist/preview-server/error-overlay/react-overlay/listen-to-runtime-errors.js +0 -0
  774. package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.d.ts +0 -0
  775. package/dist/preview-server/error-overlay/react-overlay/utils/get-file-source.js +5 -5
  776. package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.d.ts +0 -0
  777. package/dist/preview-server/error-overlay/react-overlay/utils/get-lines-around.js +0 -0
  778. package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.d.ts +0 -0
  779. package/dist/preview-server/error-overlay/react-overlay/utils/get-source-map.js +1 -0
  780. package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.d.ts +0 -0
  781. package/dist/preview-server/error-overlay/react-overlay/utils/get-stack-frames.js +1 -3
  782. package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.d.ts +3 -3
  783. package/dist/preview-server/error-overlay/react-overlay/utils/open-in-editor.js +42 -32
  784. package/dist/preview-server/error-overlay/react-overlay/utils/parser.d.ts +0 -0
  785. package/dist/preview-server/error-overlay/react-overlay/utils/parser.js +0 -0
  786. package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +4 -4
  787. package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.js +0 -0
  788. package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.d.ts +0 -0
  789. package/dist/preview-server/error-overlay/react-overlay/utils/unmapper.js +0 -0
  790. package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.d.ts +0 -0
  791. package/dist/preview-server/error-overlay/remotion-overlay/AskOnDiscord.js +2 -0
  792. package/dist/preview-server/error-overlay/remotion-overlay/Button.d.ts +8 -4
  793. package/dist/preview-server/error-overlay/remotion-overlay/Button.js +12 -8
  794. package/dist/preview-server/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.d.ts +2 -0
  795. package/dist/preview-server/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.js +18 -0
  796. package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.d.ts +0 -0
  797. package/dist/preview-server/error-overlay/remotion-overlay/CodeFrame.js +30 -12
  798. package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.d.ts +0 -0
  799. package/dist/preview-server/error-overlay/remotion-overlay/DismissButton.js +0 -0
  800. package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.d.ts +4 -0
  801. package/dist/preview-server/error-overlay/remotion-overlay/ErrorDisplay.js +6 -2
  802. package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.d.ts +4 -0
  803. package/dist/preview-server/error-overlay/remotion-overlay/ErrorLoader.js +5 -5
  804. package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.d.ts +0 -0
  805. package/dist/preview-server/error-overlay/remotion-overlay/ErrorMessage.js +0 -0
  806. package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.d.ts +1 -0
  807. package/dist/preview-server/error-overlay/remotion-overlay/ErrorTitle.js +4 -3
  808. package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.d.ts +0 -0
  809. package/dist/preview-server/error-overlay/remotion-overlay/HelpLink.js +4 -1
  810. package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.d.ts +0 -0
  811. package/dist/preview-server/error-overlay/remotion-overlay/OpenInEditor.js +4 -9
  812. package/dist/preview-server/error-overlay/remotion-overlay/Overlay.d.ts +2 -2
  813. package/dist/preview-server/error-overlay/remotion-overlay/Overlay.js +1 -1
  814. package/dist/preview-server/error-overlay/remotion-overlay/Retry.d.ts +4 -0
  815. package/dist/preview-server/error-overlay/remotion-overlay/Retry.js +9 -0
  816. package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +0 -0
  817. package/dist/preview-server/error-overlay/remotion-overlay/SearchGitHubIssues.js +2 -0
  818. package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.d.ts +1 -0
  819. package/dist/preview-server/error-overlay/remotion-overlay/ShortcutHint.js +18 -3
  820. package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.d.ts +0 -0
  821. package/dist/preview-server/error-overlay/remotion-overlay/StackFrame.js +0 -0
  822. package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.d.ts +0 -0
  823. package/dist/preview-server/error-overlay/remotion-overlay/Symbolicating.js +0 -0
  824. package/dist/preview-server/error-overlay/remotion-overlay/carets.d.ts +0 -0
  825. package/dist/preview-server/error-overlay/remotion-overlay/carets.js +0 -0
  826. package/dist/preview-server/error-overlay/remotion-overlay/format-location.d.ts +0 -0
  827. package/dist/preview-server/error-overlay/remotion-overlay/format-location.js +0 -0
  828. package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +1 -1
  829. package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.js +6 -0
  830. package/dist/preview-server/error-overlay/remotion-overlay/index.d.ts +0 -0
  831. package/dist/preview-server/error-overlay/remotion-overlay/index.js +0 -0
  832. package/dist/preview-server/file-existence-watchers.d.ts +13 -0
  833. package/dist/preview-server/file-existence-watchers.js +62 -0
  834. package/dist/preview-server/get-absolute-public-dir.d.ts +4 -0
  835. package/dist/preview-server/get-absolute-public-dir.js +14 -0
  836. package/dist/preview-server/get-package-manager.d.ts +3 -3
  837. package/dist/preview-server/get-package-manager.js +13 -4
  838. package/dist/preview-server/handler.d.ts +9 -0
  839. package/dist/preview-server/handler.js +34 -0
  840. package/dist/preview-server/hot-middleware/client.d.ts +1 -1
  841. package/dist/preview-server/hot-middleware/client.js +2 -2
  842. package/dist/preview-server/hot-middleware/index.d.ts +95 -1
  843. package/dist/preview-server/hot-middleware/index.js +3 -4
  844. package/dist/preview-server/hot-middleware/process-update.d.ts +0 -0
  845. package/dist/preview-server/hot-middleware/process-update.js +5 -6
  846. package/dist/preview-server/hot-middleware/types.d.ts +4 -4
  847. package/dist/preview-server/hot-middleware/types.js +0 -0
  848. package/dist/preview-server/live-events.d.ts +4 -2
  849. package/dist/preview-server/live-events.js +36 -2
  850. package/dist/preview-server/parse-body.d.ts +2 -0
  851. package/dist/preview-server/parse-body.js +16 -0
  852. package/dist/preview-server/project-info.d.ts +1 -1
  853. package/dist/preview-server/project-info.js +14 -6
  854. package/dist/preview-server/public-folder.d.ts +12 -0
  855. package/dist/preview-server/public-folder.js +55 -0
  856. package/dist/preview-server/render-queue/get-default-video-contexts.d.ts +10 -0
  857. package/dist/preview-server/render-queue/get-default-video-contexts.js +13 -0
  858. package/dist/preview-server/render-queue/job.d.ts +156 -0
  859. package/dist/preview-server/render-queue/job.js +2 -0
  860. package/dist/preview-server/render-queue/make-retry-payload.d.ts +3 -0
  861. package/dist/preview-server/render-queue/make-retry-payload.js +95 -0
  862. package/dist/preview-server/render-queue/open-directory-in-finder.d.ts +1 -0
  863. package/dist/preview-server/render-queue/open-directory-in-finder.js +43 -0
  864. package/dist/preview-server/render-queue/process-still.d.ts +8 -0
  865. package/dist/preview-server/render-queue/process-still.js +46 -0
  866. package/dist/preview-server/render-queue/process-video.d.ts +8 -0
  867. package/dist/preview-server/render-queue/process-video.js +63 -0
  868. package/dist/preview-server/render-queue/queue.d.ts +9 -0
  869. package/dist/preview-server/render-queue/queue.js +212 -0
  870. package/dist/preview-server/routes/add-render.d.ts +3 -0
  871. package/dist/preview-server/routes/add-render.js +76 -0
  872. package/dist/preview-server/routes/can-update-default-props.d.ts +4 -0
  873. package/dist/preview-server/routes/can-update-default-props.js +40 -0
  874. package/dist/preview-server/routes/cancel-render.d.ts +3 -0
  875. package/dist/preview-server/routes/cancel-render.js +9 -0
  876. package/dist/preview-server/routes/open-in-file-explorer.d.ts +3 -0
  877. package/dist/preview-server/routes/open-in-file-explorer.js +8 -0
  878. package/dist/preview-server/routes/remove-render.d.ts +3 -0
  879. package/dist/preview-server/routes/remove-render.js +9 -0
  880. package/dist/preview-server/routes/subscribe-to-file-existence.d.ts +3 -0
  881. package/dist/preview-server/routes/subscribe-to-file-existence.js +13 -0
  882. package/dist/preview-server/routes/unsubscribe-from-file-existence.d.ts +3 -0
  883. package/dist/preview-server/routes/unsubscribe-from-file-existence.js +13 -0
  884. package/dist/preview-server/routes/update-available.d.ts +3 -0
  885. package/dist/preview-server/routes/update-available.js +9 -0
  886. package/dist/preview-server/routes/update-default-props.d.ts +3 -0
  887. package/dist/preview-server/routes/update-default-props.js +35 -0
  888. package/dist/preview-server/routes.d.ts +6 -4
  889. package/dist/preview-server/routes.js +90 -35
  890. package/dist/preview-server/serve-static.d.ts +1 -1
  891. package/dist/preview-server/serve-static.js +8 -7
  892. package/dist/preview-server/start-server.d.ts +8 -2
  893. package/dist/preview-server/start-server.js +58 -29
  894. package/dist/preview-server/update-available.d.ts +2 -10
  895. package/dist/preview-server/update-available.js +2 -2
  896. package/dist/previewEntry.d.ts +0 -0
  897. package/dist/previewEntry.js +2 -4
  898. package/dist/print-compositions.d.ts +2 -0
  899. package/dist/print-compositions.js +50 -0
  900. package/dist/print-error.d.ts +2 -1
  901. package/dist/print-error.js +12 -7
  902. package/dist/print-help.d.ts +0 -0
  903. package/dist/print-help.js +14 -6
  904. package/dist/progress-bar.d.ts +29 -36
  905. package/dist/progress-bar.js +147 -33
  906. package/dist/progress-types.d.ts +32 -0
  907. package/dist/progress-types.js +17 -0
  908. package/dist/render-flows/render.d.ts +47 -0
  909. package/dist/render-flows/render.js +327 -0
  910. package/dist/render-flows/still.d.ts +30 -0
  911. package/dist/render-flows/still.js +193 -0
  912. package/dist/render.d.ts +1 -1
  913. package/dist/render.js +50 -226
  914. package/dist/required-chromium-options.d.ts +3 -0
  915. package/dist/required-chromium-options.js +2 -0
  916. package/dist/resolve-from.d.ts +0 -0
  917. package/dist/resolve-from.js +5 -5
  918. package/dist/server-ready-comment.d.ts +2 -0
  919. package/dist/server-ready-comment.js +13 -0
  920. package/dist/setup-cache.d.ts +14 -10
  921. package/dist/setup-cache.js +91 -21
  922. package/dist/should-use-non-overlaying-logger.d.ts +4 -0
  923. package/dist/should-use-non-overlaying-logger.js +12 -0
  924. package/dist/show-compositions-picker.d.ts +8 -0
  925. package/dist/show-compositions-picker.js +51 -0
  926. package/dist/smooth-zoom.d.ts +0 -0
  927. package/dist/smooth-zoom.js +0 -0
  928. package/dist/step.d.ts +1 -1
  929. package/dist/step.js +0 -0
  930. package/dist/still.d.ts +1 -1
  931. package/dist/still.js +38 -135
  932. package/dist/studio.d.ts +1 -0
  933. package/dist/studio.js +142 -0
  934. package/dist/truthy.d.ts +1 -1
  935. package/dist/truthy.js +0 -0
  936. package/dist/upgrade.d.ts +1 -1
  937. package/dist/upgrade.js +15 -7
  938. package/dist/user-passed-output-location.d.ts +5 -2
  939. package/dist/user-passed-output-location.js +14 -10
  940. package/dist/versions.d.ts +0 -0
  941. package/dist/versions.js +2 -2
  942. package/dist/watch-root-file.d.ts +1 -0
  943. package/dist/watch-root-file.js +22 -0
  944. package/package.json +87 -74
  945. package/styles/styles.css +15 -4
  946. package/.prettierrc.js +0 -14
  947. package/dist/ansi/ansi-regex.d.ts +0 -2
  948. package/dist/ansi/ansi-regex.js +0 -18
  949. package/dist/check-version.d.ts +0 -1
  950. package/dist/check-version.js +0 -14
  951. package/dist/config/ffmpeg-executable.d.ts +0 -5
  952. package/dist/config/ffmpeg-executable.js +0 -21
  953. package/dist/config/quality.d.ts +0 -2
  954. package/dist/config/quality.js +0 -17
  955. package/dist/editor/components/ClipboardIcon.d.ts +0 -2
  956. package/dist/editor/components/ClipboardIcon.js +0 -12
  957. package/dist/editor/components/CollapsedCompositionSelector.d.ts +0 -4
  958. package/dist/editor/components/CollapsedCompositionSelector.js +0 -39
  959. package/dist/editor/components/KeyboardShortcutsModal.d.ts +0 -2
  960. package/dist/editor/components/KeyboardShortcutsModal.js +0 -67
  961. package/dist/editor/components/RichTimelineToggle.d.ts +0 -2
  962. package/dist/editor/components/RichTimelineToggle.js +0 -29
  963. package/dist/editor/components/Thumbnail.d.ts +0 -8
  964. package/dist/editor/components/Thumbnail.js +0 -76
  965. package/dist/editor/helpers/use-compact-ui.d.ts +0 -1
  966. package/dist/editor/icons/film.d.ts +0 -3
  967. package/dist/editor/icons/film.js +0 -8
  968. package/dist/editor/icons/timeline.d.ts +0 -3
  969. package/dist/editor/icons/timeline.js +0 -9
  970. package/dist/editor/state/rich-timeline.d.ts +0 -9
  971. package/dist/editor/state/rich-timeline.js +0 -17
  972. package/dist/find-closest-package-json.d.ts +0 -2
  973. package/dist/find-closest-package-json.js +0 -35
  974. package/dist/get-render-media-options.d.ts +0 -7
  975. package/dist/get-render-media-options.js +0 -44
  976. package/dist/initialize-render-cli.d.ts +0 -1
  977. package/dist/initialize-render-cli.js +0 -22
  978. package/dist/is-javascript.d.ts +0 -2
  979. package/dist/is-javascript.js +0 -9
  980. package/dist/preview-server/dev-middleware/is-color-supported.d.ts +0 -1
  981. package/dist/preview-server/hot-middleware/strip-ansi.d.ts +0 -1
  982. package/dist/preview-server/hot-middleware/strip-ansi.js +0 -21
  983. package/dist/preview.d.ts +0 -1
  984. package/dist/preview.js +0 -75
  985. package/dist/validate-ffmpeg-version.d.ts +0 -3
  986. package/dist/validate-ffmpeg-version.js +0 -17
  987. package/dist/validate-image-format.d.ts +0 -2
  988. package/dist/validate-image-format.js +0 -15
  989. package/dist/warn-about-ffmpeg-version.d.ts +0 -5
  990. package/dist/warn-about-ffmpeg-version.js +0 -38
  991. package/tsconfig.json +0 -17
  992. package/vitest.config.ts +0 -9
@@ -1,4 +1,4 @@
1
- import type { TComposition } from 'remotion';
2
- export declare const validateCompositionName: (compName: string, compositions: TComposition<unknown>[]) => string | null;
1
+ import type { AnyComposition } from 'remotion';
2
+ export declare const validateCompositionName: (compName: string, compositions: AnyComposition[]) => string | null;
3
3
  export declare const validateCompositionDimension: (dimension: 'Width' | 'Height', value: string) => string | null;
4
4
  export declare const validateCompositionDuration: (value: string) => string | null;
File without changes
File without changes
@@ -6,5 +6,5 @@ const style = {
6
6
  width: 14,
7
7
  height: 14,
8
8
  };
9
- const Checkmark = () => ((0, jsx_runtime_1.jsx)("svg", { "aria-hidden": "true", focusable: "false", "data-prefix": "far", "data-icon": "check", className: "svg-inline--fa fa-check fa-w-16", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", style: style, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z" }) }));
9
+ const Checkmark = () => ((0, jsx_runtime_1.jsx)("svg", { focusable: "false", role: "img", viewBox: "0 0 512 512", style: style, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z" }) }));
10
10
  exports.Checkmark = Checkmark;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const AudioIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AudioIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const AudioIcon = (props) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M243 32.32C105.5 39.15 0 157.8 0 295.5v120.4C0 451.3 28.63 480 64 480h32c17.62 0 32-14.38 32-32V288c0-17.62-14.38-32-32-32H64c-10.79 0-20.8 2.9-29.72 7.7 14.2-106.8 100.5-193.9 210.4-199.4 120.5-5.965 221.7 83.92 234 199.9-9.08-5.1-19.48-8.2-30.68-8.2h-32c-17.62 0-32 14.38-32 32v160c0 17.62 14.38 32 32 32h32c35.38 0 64-28.75 64-64.13V287.9c0-145.4-122-262.88-269-255.58zM64 288h32v160H64c-17.62 0-32-14.5-32-32.13v-95.75C32 302.5 46.38 288 64 288zm416 127.9c0 17.6-14.4 32.1-32 32.1h-32V288h32c17.62 0 32 14.5 32 32.13v95.77z" }) }));
6
+ exports.AudioIcon = AudioIcon;
@@ -1,3 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const CaretRight: () => JSX.Element;
3
3
  export declare const CaretDown: () => JSX.Element;
4
+ export declare const AngleDown: React.FC<{
5
+ down: boolean;
6
+ }>;
@@ -1,16 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaretDown = exports.CaretRight = void 0;
3
+ exports.AngleDown = exports.CaretDown = exports.CaretRight = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const colors_1 = require("../helpers/colors");
5
7
  const caret = {
6
8
  height: 12,
7
9
  };
8
10
  const caretDown = {
9
11
  width: 10,
10
12
  };
13
+ const angleDown = {
14
+ width: 10,
15
+ };
11
16
  const CaretRight = () => ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 192 512", style: caret, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z" }) }));
12
17
  exports.CaretRight = CaretRight;
13
18
  const CaretDown = () => {
14
19
  return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 320 512", style: caretDown, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z" }) }));
15
20
  };
16
21
  exports.CaretDown = CaretDown;
22
+ const AngleDown = ({ down }) => {
23
+ const style = (0, react_1.useMemo)(() => {
24
+ return {
25
+ ...angleDown,
26
+ transform: down ? 'rotate(180deg)' : 'rotate(0deg)',
27
+ marginTop: 1,
28
+ };
29
+ }, [down]);
30
+ return ((0, jsx_runtime_1.jsx)("svg", { style: style, viewBox: "0 0 448 512", children: (0, jsx_runtime_1.jsx)("path", { fill: colors_1.LIGHT_TEXT, d: "M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" }) }));
31
+ };
32
+ exports.AngleDown = AngleDown;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const DataIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DataIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const DataIcon = (props) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M224 512C100.3 512 0 476.2 0 432V80C0 35.82 100.3 0 224 0C347.7 0 448 35.82 448 80V432C448 476.2 347.7 512 224 512zM416 80.45C415.7 79.69 414.4 77.27 409.8 73.31C402.4 67.11 389.9 60.09 371.6 53.57C335.4 40.62 283.2 32 224 32C164.8 32 112.6 40.62 76.37 53.57C58.1 60.09 45.59 67.11 38.25 73.31C33.55 77.27 32.29 79.69 32 80.45V182.1C46.47 192.7 69.9 202.8 100.9 210.4C135.5 218.9 177.1 224 224 224C270 224 312.5 218.9 347.1 210.4C378.1 202.8 401.5 192.7 416 182.1V80.45zM416 219.5C398.8 228.4 377.9 235.8 354.8 241.5C317.3 250.7 272.2 256 224 256C175.8 256 130.7 250.7 93.22 241.5C70.11 235.8 49.18 228.4 32 219.5V310.1C46.47 320.7 69.9 330.8 100.9 338.4C135.5 346.9 177.1 352 224 352C270 352 312.5 346.9 347.1 338.4C378.1 330.8 401.5 320.7 416 310.1V219.5zM38.25 438.7C45.59 444.9 58.1 451.9 76.37 458.4C112.6 471.4 164.8 480 224 480C283.2 480 335.4 471.4 371.6 458.4C389.9 451.9 402.4 444.9 409.8 438.7C414.4 434.7 415.7 432.3 416 431.6V347.5C398.8 356.4 377.9 363.8 354.8 369.5C317.3 378.7 272.2 384 224 384C175.8 384 130.7 378.7 93.22 369.5C70.11 363.8 49.18 356.4 32 347.5V431.6C32.29 432.3 33.55 434.7 38.25 438.7zM416 431.4C416.1 431.3 416.1 431.3 416.1 431.3L416 431.4zM31.96 431.4C31.94 431.3 31.93 431.3 31.92 431.3L31.96 431.4zM31.96 80.56C31.93 80.65 31.92 80.7 31.92 80.7L31.96 80.56zM416.1 80.7C416.1 80.7 416.1 80.65 416 80.56z" }) }));
7
+ };
8
+ exports.DataIcon = DataIcon;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const FileIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FileIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const FileIcon = (props) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 384 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M0 64C0 28.65 28.65 0 64 0h156.1c12.7 0 25 5.057 34 14.06L369.9 129.9c9 9 14.1 21.3 14.1 34V448c0 35.3-28.7 64-64 64H64c-35.35 0-64-28.7-64-64V64zm352 128H240c-26.5 0-48-21.5-48-48V32H64c-17.67 0-32 14.33-32 32v384c0 17.7 14.33 32 32 32h256c17.7 0 32-14.3 32-32V192zm-4.7-39.4L231.4 36.69c-2-2.07-4.6-3.51-7.4-4.21V144c0 8.8 7.2 16 16 16h111.5c-.7-2.8-2.1-5.4-4.2-7.4z" }) }));
6
+ exports.FileIcon = FileIcon;
@@ -1,4 +1,8 @@
1
1
  import type { SVGProps } from 'react';
2
2
  import React from 'react';
3
- export declare const CollapsedFolderIcon: React.FC<SVGProps<SVGSVGElement>>;
4
- export declare const ExpandedFolderIcon: React.FC<SVGProps<SVGSVGElement>>;
3
+ export declare const CollapsedFolderIcon: React.FC<SVGProps<SVGSVGElement> & {
4
+ color: string;
5
+ }>;
6
+ export declare const ExpandedFolderIcon: React.FC<SVGProps<SVGSVGElement> & {
7
+ color: string;
8
+ }>;
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExpandedFolderIcon = exports.CollapsedFolderIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const CollapsedFolderIcon = (props) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "white", d: "M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z" }) }));
5
+ const CollapsedFolderIcon = ({ color, ...props }) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M447.1 96H272L226.7 50.75C214.7 38.74 198.5 32 181.5 32H63.1c-35.35 0-64 28.65-64 64v320c0 35.35 28.65 64 64 64h384c35.35 0 64-28.65 64-64V160C511.1 124.7 483.3 96 447.1 96zM480 416c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h117.5c8.549 0 16.58 3.328 22.63 9.375L258.7 128H448c17.64 0 32 14.36 32 32V416z" }) }));
7
7
  };
8
8
  exports.CollapsedFolderIcon = CollapsedFolderIcon;
9
- const ExpandedFolderIcon = (props) => {
10
- return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512", children: (0, jsx_runtime_1.jsx)("path", { fill: "white", d: "M572.694 292.093L500.27 416.248A63.997 63.997 0 0 1 444.989 448H45.025c-18.523 0-30.064-20.093-20.731-36.093l72.424-124.155A64 64 0 0 1 152 256h399.964c18.523 0 30.064 20.093 20.73 36.093zM152 224h328v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v278.046l69.077-118.418C86.214 242.25 117.989 224 152 224z" }) }));
9
+ const ExpandedFolderIcon = ({ color, ...props }) => {
10
+ return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 576 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M566.6 211.6C557.5 199.1 543.4 192 527.1 192H134.2C114.3 192 96.2 204.5 89.23 223.1L32 375.8V96c0-17.64 14.36-32 32-32h117.5c8.549 0 16.58 3.328 22.63 9.375L258.7 128H448c17.64 0 32 14.36 32 32h32c0-35.35-28.65-64-64-64H272L226.7 50.75C214.7 38.74 198.5 32 181.5 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h403.1c21.11 0 39.53-13.53 45.81-33.69l60-192C578.4 239.6 575.8 224 566.6 211.6zM543.2 244.8l-60 192C481.1 443.5 475 448 467.1 448H64c-3.322 0-6.357-.9551-9.373-1.898c-2.184-1.17-4.109-2.832-5.596-4.977c-3.031-4.375-3.703-9.75-1.828-14.73l72-192C121.5 228.2 127.5 224 134.2 224h393.8c5.141 0 9.844 2.375 12.89 6.516C543.9 234.7 544.8 239.9 543.2 244.8z" }) }));
11
11
  };
12
12
  exports.ExpandedFolderIcon = ExpandedFolderIcon;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const PicIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PicIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const PicIcon = (props) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M324.9 157.8c-11.38-17.38-39.89-17.31-51.23-.063L200.5 268.5l-16.4-22.6c-11.4-16.8-38.2-16-49.7 0l-64.52 89.16c-6.797 9.406-7.75 21.72-2.547 32C72.53 377.5 83.05 384 94.75 384h322.5c11.41 0 21.8-6.281 27.14-16.38a30.922 30.922 0 0 0-1.516-31.56L324.9 157.8zM95.8 352l62.39-87.38 29.91 41.34c3.1 4.24 8.3 7.24 13.3 6.64 5.25-.125 10.12-2.781 13.02-7.188l83.83-129.9L415 352H95.8zM447.1 32h-384C28.65 32-.01 60.65-.01 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96c.01-35.35-27.79-64-63.99-64zM480 416c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h384c17.64 0 32 14.36 32 32v320zM144 192c26.5 0 48-21.5 48-48s-21.5-48-48-48-48 21.5-48 48 21.5 48 48 48zm0-64c8.822 0 15.1 7.178 15.1 16s-6.3 16-15.1 16-16-7.2-16-16 7.2-16 16-16z" }) }));
6
+ exports.PicIcon = PicIcon;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const GearIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GearIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const GearIcon = (props) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M168 255.1c0-47.7 39.4-88 88-88s88 40.3 88 88c0 49.5-39.4 88.9-88 88.9s-88-39.4-88-88.9zm88-56c-30.9 0-56 26-56 56 0 31.8 25.1 56 56 56s56-24.2 56-56c0-30-25.1-56-56-56zM65.67 230.6l-40.33-36.8c-11.12-10.1-13.68-26.6-6.16-39.6l30.24-52.4c7.52-13.02 23.09-19.05 37.42-14.48l51.96 16.58c13.4-10.34 28.2-18.94 44-25.47l11.7-53.27C197.7 10.47 210.7 0 225.8 0h60.4c15.1 0 28.1 10.47 31.3 25.16l11.7 53.27c14.9 6.53 30.6 15.13 44 25.47l52-16.58c14.3-4.57 29.9 1.46 37.4 14.48l30.2 52.4c7.5 13 5 29.5-6.1 39.6l-40.4 36.8c1.1 8.3 1.7 16.8 1.7 24.5 0 9.5-.6 18-1.7 26.3l40.4 36.8c11.1 10.1 13.6 26.6 6.1 39.6l-30.2 52.4c-7.5 13-23.1 19-37.4 14.5l-52-16.6c-13.4 10.3-29.1 18.9-44 25.5l-11.7 53.2c-3.2 14.7-16.2 25.2-31.3 25.2h-60.4c-15.1 0-28.1-10.5-31.3-25.2l-11.7-53.2c-15.8-6.6-30.6-15.2-44-25.5l-51.96 16.6c-14.33 4.5-29.9-1.5-37.42-14.5l-30.24-52.4c-7.52-13-4.96-29.5 6.16-39.6l40.33-36.8c-1.1-8.3-1.67-16.8-1.67-26.3 0-7.7.57-16.2 1.67-24.5zm92.73-101.4-13.3 10.3-67.97-21.7-30.24 52.4 52.69 48-2.19 16.6c-.92 6.9-1.39 14-1.39 20.3 0 8.1.47 15.2 1.39 22.1l2.19 16.6-52.69 48 30.24 52.4 67.97-21.7 13.3 10.3c11.1 8.6 23.5 15.8 36.6 20.3l15.5 7.3 15.3 69.6h60.4l15.3-69.6 14.6-7.3c14-4.5 26.4-11.7 37.5-20.3l13.3-10.3 68 21.7 30.2-52.4-52.7-48 2.2-16.6c.9-6.9 1.4-14 1.4-21.2 0-7.2-.5-14.3-1.4-21.2l-2.2-16.6 52.7-48-30.2-52.4-68 21.7-13.3-10.3c-11.1-8.6-23.5-15.8-37.5-21.2l-14.6-6.4L286.2 32h-60.4l-15.3 69.6L195 108c-13.1 5.4-25.5 12.6-36.6 21.2z" }) }));
6
+ exports.GearIcon = GearIcon;
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const GifIcon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GifIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const GifIcon = (props) => ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M512 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h448c35.35 0 64-28.65 64-64V96c0-35.35-28.7-64-64-64zm32 384c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h448c17.64 0 32 14.36 32 32v320zm-80-256h-96c-8.8 0-16 7.2-16 16v160c0 8.844 7.156 16 16 16s16-7.156 16-16v-64h56c8.844 0 16-7.156 16-16s-7.156-16-16-16h-56v-48h80c8.8 0 16-7.2 16-16s-7.2-16-16-16zm-160 0c-8.8 0-16 7.2-16 16v160c0 8.844 7.156 16 16 16s16-7.156 16-16V176c0-8.8-7.2-16-16-16zm-64 80h-64c-8.8 0-16 7.2-16 16s7.156 16 16 16h48v33.45c-24.83 19.91-69.13 18.16-91.48-4.203-24.95-24.95-24.95-65.55 0-90.5 25.03-25 64.19-25 89.22 0 6.25 6.25 16.38 6.25 22.62 0s6.25-16.38 0-22.62c-37.69-37.72-96.78-37.72-134.5 0-37.42 37.42-37.42 98.33 0 135.8C127.8 341.8 153.5 352 180.6 352c27.06 0 52.84-10.25 70.7-28.12 3-2.98 4.7-7.08 4.7-11.28V256c0-8.8-7.2-16-16-16z" }) }));
6
+ exports.GifIcon = GifIcon;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VolumeOnIcon = exports.VolumeOffIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const colors_1 = require("../helpers/colors");
5
6
  const size = 25;
6
7
  const VolumeOffIcon = () => {
7
- return ((0, jsx_runtime_1.jsx)("svg", { width: size, height: size, viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M3.63 3.63a.996.996 0 000 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34a.996.996 0 101.41-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29l-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12A4.5 4.5 0 0014 7.97v1.79l2.48 2.48c.01-.08.02-.16.02-.24z", fill: "var(--blue)" }) }));
8
+ return ((0, jsx_runtime_1.jsx)("svg", { width: size, height: size, viewBox: "0 0 24 24", children: (0, jsx_runtime_1.jsx)("path", { d: "M3.63 3.63a.996.996 0 000 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34a.996.996 0 101.41-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29l-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12A4.5 4.5 0 0014 7.97v1.79l2.48 2.48c.01-.08.02-.16.02-.24z", fill: colors_1.BLUE }) }));
8
9
  };
9
10
  exports.VolumeOffIcon = VolumeOffIcon;
10
11
  const VolumeOnIcon = () => {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,5 @@
1
1
  import type { SVGProps } from 'react';
2
2
  import React from 'react';
3
- export declare const Plus: React.FC<SVGProps<SVGSVGElement>>;
3
+ export declare const Plus: React.FC<SVGProps<SVGSVGElement> & {
4
+ color: string;
5
+ }>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Plus = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const Plus = (props) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z" }) }));
5
+ const Plus = ({ color, ...props }) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M432 256c0 17.69-14.33 32.01-32 32.01H256v144c0 17.69-14.33 31.99-32 31.99s-32-14.3-32-31.99v-144H48c-17.67 0-32-14.32-32-32.01s14.33-31.99 32-31.99H192v-144c0-17.69 14.33-32.01 32-32.01s32 14.32 32 32.01v144h144C417.7 224 432 238.3 432 256z" }) }));
7
7
  };
8
8
  exports.Plus = Plus;
@@ -0,0 +1,9 @@
1
+ import type { SVGProps } from 'react';
2
+ import React from 'react';
3
+ export declare const RenderIcon: React.FC<{
4
+ svgProps: SVGProps<SVGSVGElement>;
5
+ }>;
6
+ export declare const ThinRenderIcon: React.FC<{
7
+ svgProps: SVGProps<SVGSVGElement>;
8
+ fill: string;
9
+ }>;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ThinRenderIcon = exports.RenderIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const RenderIcon = (props) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { ...props.svgProps, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", children: (0, jsx_runtime_1.jsx)("path", { fill: 'currentColor', d: "M156.6 384.9L125.7 354c-8.5-8.5-11.5-20.8-7.7-32.2c3-8.9 7-20.5 11.8-33.8L24 288c-8.6 0-16.6-4.6-20.9-12.1s-4.2-16.7 .2-24.1l52.5-88.5c13-21.9 36.5-35.3 61.9-35.3l82.3 0c2.4-4 4.8-7.7 7.2-11.3C289.1-4.1 411.1-8.1 483.9 5.3c11.6 2.1 20.6 11.2 22.8 22.8c13.4 72.9 9.3 194.8-111.4 276.7c-3.5 2.4-7.3 4.8-11.3 7.2v82.3c0 25.4-13.4 49-35.3 61.9l-88.5 52.5c-7.4 4.4-16.6 4.5-24.1 .2s-12.1-12.2-12.1-20.9V380.8c-14.1 4.9-26.4 8.9-35.7 11.9c-11.2 3.6-23.4 .5-31.8-7.8zM384 168a40 40 0 1 0 0-80 40 40 0 1 0 0 80z" }) }));
7
+ };
8
+ exports.RenderIcon = RenderIcon;
9
+ const ThinRenderIcon = (props) => {
10
+ return ((0, jsx_runtime_1.jsx)("svg", { ...props.svgProps, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", children: (0, jsx_runtime_1.jsx)("path", { fill: props.fill, d: "M188.9 372l-50.4-50.4c18.6-42.6 61.7-137.7 95.1-187C304.6 30.1 409 24.6 475.7 36.3c11.7 66.7 6.2 171.1-98.4 242c-49.4 33.5-145.5 75.6-188.4 93.7zm-79.9-62.8c-5.2 11.9-2.5 25.7 6.7 34.9l50.7 50.7c9.1 9.1 22.7 11.9 34.5 6.9c6.5-2.7 14.3-6 23-9.8L224 496c0 5.5 2.9 10.7 7.6 13.6s10.6 3.2 15.6 .7l101.5-50.7c21.7-10.8 35.4-33 35.4-57.2V312.1c4-2.5 7.7-4.9 11.3-7.3C516.1 222.9 520.1 100.9 506.7 28.1c-2.1-11.6-11.2-20.6-22.8-22.8C411.1-8.1 289.1-4.1 207.2 116.7c-2.4 3.6-4.9 7.3-7.3 11.3l-90.2 0c-24.2 0-46.4 13.7-57.2 35.4L1.7 264.8c-2.5 5-2.2 10.8 .7 15.6s8.1 7.6 13.6 7.6H118.5c-3.6 8-6.8 15.2-9.4 21.2zM256 470.1l0-92.5c30.3-13.7 65.4-30.3 96-47v71.7c0 12.1-6.8 23.2-17.7 28.6L256 470.1zM109.7 160h71.5c-16.9 30.7-34 65.8-48.1 96H41.9L81 177.7c5.4-10.8 16.5-17.7 28.6-17.7zM392 144a24 24 0 1 1 -48 0 24 24 0 1 1 48 0zM368 88a56 56 0 1 0 0 112 56 56 0 1 0 0-112z" }) }));
11
+ };
12
+ exports.ThinRenderIcon = ThinRenderIcon;
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,5 @@
1
1
  import type { SVGProps } from 'react';
2
2
  import React from 'react';
3
- export declare const StillIcon: React.FC<SVGProps<SVGSVGElement>>;
3
+ export declare const StillIcon: React.FC<SVGProps<SVGSVGElement> & {
4
+ color: string;
5
+ }>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StillIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const StillIcon = (props) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 512 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentColor", d: "M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z" }) }));
5
+ const StillIcon = ({ color, ...props }) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { ...props, viewBox: "0 0 512 512", children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M144 288C144 226.1 194.1 176 256 176C317.9 176 368 226.1 368 288C368 349.9 317.9 400 256 400C194.1 400 144 349.9 144 288zM256 208C211.8 208 176 243.8 176 288C176 332.2 211.8 368 256 368C300.2 368 336 332.2 336 288C336 243.8 300.2 208 256 208zM362.9 64.82L373.3 96H448C483.3 96 512 124.7 512 160V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V160C0 124.7 28.65 96 64 96H138.7L149.1 64.82C155.6 45.22 173.9 32 194.6 32H317.4C338.1 32 356.4 45.22 362.9 64.82H362.9zM64 128C46.33 128 32 142.3 32 160V416C32 433.7 46.33 448 64 448H448C465.7 448 480 433.7 480 416V160C480 142.3 465.7 128 448 128H350.3L332.6 74.94C330.4 68.41 324.3 64 317.4 64H194.6C187.7 64 181.6 68.41 179.4 74.94L161.7 128H64z" }) }));
7
7
  };
8
8
  exports.StillIcon = StillIcon;
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ import type { SVGProps } from 'react';
2
+ import React from 'react';
3
+ export declare const FilmIcon: React.FC<SVGProps<SVGSVGElement> & {
4
+ color: string;
5
+ }>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FilmIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const FilmIcon = ({ color, ...props }) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", children: (0, jsx_runtime_1.jsx)("path", { fill: color, d: "M448 32H64C28.65 32 0 60.65 0 96v320c0 35.35 28.65 64 64 64h384c35.35 0 64-28.65 64-64V96C512 60.65 483.3 32 448 32zM384 64v176H128V64H384zM32 96c0-17.64 14.36-32 32-32h32v80H32V96zM32 176h64v64H32V176zM32 272h64v64H32V272zM64 448c-17.64 0-32-14.36-32-32v-48h64V448H64zM128 448V272h256V448H128zM480 416c0 17.64-14.36 32-32 32h-32v-80h64V416zM480 336h-64v-64h64V336zM480 240h-64v-64h64V240zM480 144h-64V64h32c17.64 0 32 14.36 32 32V144z" }) }));
7
+ };
8
+ exports.FilmIcon = FilmIcon;
File without changes
File without changes
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type State = {
2
+ type State = {
3
3
  checkerboard: boolean;
4
4
  setCheckerboard: (cb: (prevState: boolean) => boolean) => void;
5
5
  };
File without changes
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ type State = {
3
+ editorZoomGestures: boolean;
4
+ setEditorZoomGestures: (cb: (prevState: boolean) => boolean) => void;
5
+ };
6
+ export declare const persistEditorZoomGesturesOption: (option: boolean) => void;
7
+ export declare const loadEditorZoomGesturesOption: () => boolean;
8
+ export declare const EditorZoomGesturesContext: import("react").Context<State>;
9
+ export {};
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EditorZoomGesturesContext = exports.loadEditorZoomGesturesOption = exports.persistEditorZoomGesturesOption = void 0;
4
+ const react_1 = require("react");
5
+ const persistEditorZoomGesturesOption = (option) => {
6
+ localStorage.setItem('remotion.editorZoomGestures', String(option));
7
+ };
8
+ exports.persistEditorZoomGesturesOption = persistEditorZoomGesturesOption;
9
+ const loadEditorZoomGesturesOption = () => {
10
+ const item = localStorage.getItem('remotion.editorZoomGestures');
11
+ return item !== 'false';
12
+ };
13
+ exports.loadEditorZoomGesturesOption = loadEditorZoomGesturesOption;
14
+ exports.EditorZoomGesturesContext = (0, react_1.createContext)({
15
+ editorZoomGestures: (0, exports.loadEditorZoomGesturesOption)(),
16
+ setEditorZoomGestures: () => undefined,
17
+ });
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ExpandedFoldersState } from '../helpers/persist-open-folders';
3
- declare type TFolderContext = {
3
+ type TFolderContext = {
4
4
  foldersExpanded: ExpandedFoldersState;
5
5
  setFoldersExpanded: React.Dispatch<React.SetStateAction<ExpandedFoldersState>>;
6
6
  };
File without changes
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type HighestZIndexContainer = {
2
+ type HighestZIndexContainer = {
3
3
  highestIndex: number;
4
4
  registerZIndex: (index: number) => void;
5
5
  unregisterZIndex: (index: number) => void;
File without changes
@@ -1,9 +1,9 @@
1
1
  import type React from 'react';
2
- export declare type TimelineInOutContextValue = {
2
+ export type TimelineInOutContextValue = {
3
3
  inFrame: number | null;
4
4
  outFrame: number | null;
5
5
  };
6
- export declare type SetTimelineInOutContextValue = {
6
+ export type SetTimelineInOutContextValue = {
7
7
  setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
8
8
  };
9
9
  export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
File without changes
File without changes
File without changes
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- export declare type KeyEventType = 'keydown' | 'keyup' | 'keypress';
3
- export declare type KeyListenerCallback = (e: KeyboardEvent) => void;
4
- export declare type RegisteredKeybinding = {
2
+ export type KeyEventType = 'keydown' | 'keyup' | 'keypress';
3
+ type KeyListenerCallback = (e: KeyboardEvent) => void;
4
+ export type RegisteredKeybinding = {
5
5
  registeredFromPane: string;
6
6
  id: string;
7
7
  key: string;
8
8
  event: KeyEventType;
9
9
  callback: KeyListenerCallback;
10
10
  };
11
- export declare type KeybindingContextType = {
11
+ export type KeybindingContextType = {
12
12
  registerKeybinding: (binding: RegisteredKeybinding) => void;
13
13
  unregisterKeybinding: (binding: RegisteredKeybinding) => void;
14
14
  unregisterPane: (paneId: string) => void;
@@ -17,3 +17,4 @@ export declare const KeybindingContext: React.Context<KeybindingContextType>;
17
17
  export declare const KeybindingContextProvider: React.FC<{
18
18
  children: React.ReactNode;
19
19
  }>;
20
+ export {};
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,16 +1,59 @@
1
+ import type { AudioCodec, Codec, OpenGlRenderer, PixelFormat, ProResProfile, StillImageFormat, VideoImageFormat } from '@remotion/renderer';
1
2
  import type React from 'react';
3
+ import type { QuickSwitcherMode } from '../components/QuickSwitcher/NoResults';
4
+ import type { RenderType } from '../components/RenderModal/RenderModalAdvanced';
2
5
  import type { UpdateInfo } from '../components/UpdateCheck';
3
- export declare type CompType = 'composition' | 'still';
4
- export declare type ModalState = {
6
+ export type CompType = 'composition' | 'still';
7
+ export type RenderModalState = {
8
+ type: 'render';
9
+ compositionId: string;
10
+ initialFrame: number;
11
+ initialStillImageFormat: StillImageFormat;
12
+ initialVideoImageFormat: VideoImageFormat;
13
+ initialJpegQuality: number;
14
+ initialOutName: string;
15
+ initialScale: number;
16
+ initialVerbose: boolean;
17
+ initialRenderType: RenderType;
18
+ initialVideoCodecForAudioTab: Codec;
19
+ initialVideoCodecForVideoTab: Codec;
20
+ initialAudioCodec: AudioCodec | null;
21
+ initialConcurrency: number;
22
+ initialMuted: boolean;
23
+ initialEnforceAudioTrack: boolean;
24
+ initialProResProfile: ProResProfile;
25
+ initialPixelFormat: PixelFormat;
26
+ initialVideoBitrate: string | null;
27
+ initialAudioBitrate: string | null;
28
+ initialEveryNthFrame: number;
29
+ initialNumberOfGifLoops: number | null;
30
+ initialDelayRenderTimeout: number;
31
+ initialEnvVariables: Record<string, string>;
32
+ initialDisableWebSecurity: boolean;
33
+ initialOpenGlRenderer: OpenGlRenderer | null;
34
+ initialIgnoreCertificateErrors: boolean;
35
+ initialHeadless: boolean;
36
+ minConcurrency: number;
37
+ maxConcurrency: number;
38
+ defaultProps: Record<string, unknown>;
39
+ inFrameMark: number | null;
40
+ outFrameMark: number | null;
41
+ };
42
+ export type ModalState = {
5
43
  type: 'new-comp';
6
44
  compType: CompType;
45
+ } | RenderModalState | {
46
+ type: 'render-progress';
47
+ jobId: string;
7
48
  } | {
8
49
  type: 'update';
9
50
  info: UpdateInfo;
10
51
  } | {
11
- type: 'shortcuts';
52
+ type: 'quick-switcher';
53
+ mode: QuickSwitcherMode;
54
+ invocationTimestamp: number;
12
55
  };
13
- export declare type ModalContextType = {
56
+ export type ModalContextType = {
14
57
  selectedModal: ModalState | null;
15
58
  setSelectedModal: React.Dispatch<React.SetStateAction<ModalState | null>>;
16
59
  };
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,11 +1,10 @@
1
1
  import type { PreviewSize } from '@remotion/player';
2
2
  import React from 'react';
3
- declare type PreviewSizeCtx = {
3
+ type PreviewSizeCtx = {
4
4
  size: PreviewSize;
5
5
  setSize: (cb: (oldSize: PreviewSize) => PreviewSize) => void;
6
6
  };
7
7
  export declare const persistPreviewSizeOption: (option: PreviewSize) => void;
8
- export declare const loadPreviewSizeOption: () => PreviewSize;
9
8
  export declare const PreviewSizeContext: React.Context<PreviewSizeCtx>;
10
9
  export declare const PreviewSizeProvider: React.FC<{
11
10
  children: React.ReactNode;