@remotion/studio 4.0.422 → 4.0.424

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 (369) hide show
  1. package/dist/FastRefreshProvider.js +1 -1
  2. package/dist/ResolveCompositionConfigInStudio.js +1 -1
  3. package/dist/Studio.js +6 -4
  4. package/dist/api/create-composition.js +2 -2
  5. package/dist/api/focus-default-props-path.d.ts +1 -1
  6. package/dist/api/get-zod-schema-from-primitive.d.ts +3 -2
  7. package/dist/api/get-zod-schema-from-primitive.js +3 -4
  8. package/dist/api/helpers/calc-new-props.d.ts +2 -2
  9. package/dist/api/play.d.ts +1 -1
  10. package/dist/api/save-render-output.d.ts +7 -0
  11. package/dist/api/save-render-output.js +45 -0
  12. package/dist/api/toggle.d.ts +1 -1
  13. package/dist/components/AskAiModal.js +3 -1
  14. package/dist/components/AssetSelector.js +21 -58
  15. package/dist/components/AssetSelectorItem.js +15 -9
  16. package/dist/components/AudioWaveform.js +5 -4
  17. package/dist/components/AudioWaveformBar.js +1 -1
  18. package/dist/components/Button.js +1 -1
  19. package/dist/components/Canvas.js +2 -1
  20. package/dist/components/CanvasIfSizeIsAvailable.js +1 -1
  21. package/dist/components/CanvasOrLoading.js +12 -6
  22. package/dist/components/CheckboardToggle.js +1 -1
  23. package/dist/components/Checkbox.js +3 -1
  24. package/dist/components/CheckerboardProvider.js +1 -1
  25. package/dist/components/CompSelectorRef.js +1 -1
  26. package/dist/components/CompositionContextButton.js +2 -2
  27. package/dist/components/CompositionSelector.js +4 -3
  28. package/dist/components/CompositionSelectorItem.js +6 -3
  29. package/dist/components/ContextMenu.js +3 -2
  30. package/dist/components/ControlButton.d.ts +1 -1
  31. package/dist/components/ControlButton.js +1 -1
  32. package/dist/components/CopyButton.js +3 -2
  33. package/dist/components/CurrentAsset.d.ts +3 -0
  34. package/dist/components/CurrentAsset.js +113 -0
  35. package/dist/components/CurrentComposition.js +3 -2
  36. package/dist/components/Editor.js +6 -1
  37. package/dist/components/EditorContent.js +6 -1
  38. package/dist/components/EditorContexts.js +3 -1
  39. package/dist/components/EditorGuides/Guide.js +1 -1
  40. package/dist/components/EditorGuides/index.js +2 -2
  41. package/dist/components/EditorRuler/Ruler.js +1 -1
  42. package/dist/components/EditorRuler/index.js +3 -1
  43. package/dist/components/ExplorerPanel.js +4 -1
  44. package/dist/components/FilePreview.js +8 -6
  45. package/dist/components/FpsCounter.js +1 -1
  46. package/dist/components/FullscreenToggle.js +1 -1
  47. package/dist/components/GlobalPropsEditorUpdateButton.js +3 -1
  48. package/dist/components/InitialCompositionLoader.d.ts +1 -2
  49. package/dist/components/InitialCompositionLoader.js +3 -3
  50. package/dist/components/InlineAction.js +1 -1
  51. package/dist/components/InlineDropdown.js +3 -2
  52. package/dist/components/InstallPackage.js +19 -9
  53. package/dist/components/InstallablePackage.js +5 -3
  54. package/dist/components/JSONViewer.js +1 -1
  55. package/dist/components/KeyboardShortcutsExplainer.js +91 -1
  56. package/dist/components/KnownBugs.js +4 -2
  57. package/dist/components/LoopToggle.js +1 -1
  58. package/dist/components/MediaVolumeProvider.js +1 -1
  59. package/dist/components/Menu/MenuDivider.js +1 -1
  60. package/dist/components/Menu/MenuItem.js +3 -2
  61. package/dist/components/Menu/MenuSubItem.js +4 -2
  62. package/dist/components/Menu/SubMenu.js +1 -1
  63. package/dist/components/MenuBuildIndicator.js +1 -1
  64. package/dist/components/MenuToolbar.js +5 -3
  65. package/dist/components/MobilePanel.d.ts +1 -1
  66. package/dist/components/MobilePanel.js +2 -1
  67. package/dist/components/ModalButton.js +1 -1
  68. package/dist/components/ModalContainer.js +1 -1
  69. package/dist/components/ModalFooter.js +1 -1
  70. package/dist/components/ModalHeader.js +3 -1
  71. package/dist/components/Modals.js +2 -2
  72. package/dist/components/ModalsProvider.js +1 -1
  73. package/dist/components/MuteToggle.js +1 -1
  74. package/dist/components/NewComposition/CancelButton.js +1 -1
  75. package/dist/components/NewComposition/CodemodFooter.js +5 -2
  76. package/dist/components/NewComposition/ComboBox.js +6 -2
  77. package/dist/components/NewComposition/DeleteComposition.js +10 -2
  78. package/dist/components/NewComposition/DiffPreview.js +5 -3
  79. package/dist/components/NewComposition/DismissableModal.js +1 -1
  80. package/dist/components/NewComposition/DuplicateComposition.js +28 -3
  81. package/dist/components/NewComposition/InputDragger.d.ts +1 -1
  82. package/dist/components/NewComposition/InputDragger.js +2 -2
  83. package/dist/components/NewComposition/MenuContent.js +3 -3
  84. package/dist/components/NewComposition/NewCompDuration.js +7 -2
  85. package/dist/components/NewComposition/RemInput.d.ts +2 -2
  86. package/dist/components/NewComposition/RemInput.js +2 -2
  87. package/dist/components/NewComposition/RemInputTypeColor.js +1 -1
  88. package/dist/components/NewComposition/RemTextarea.js +1 -1
  89. package/dist/components/NewComposition/RenameComposition.js +11 -2
  90. package/dist/components/NewComposition/ValidationMessage.js +4 -2
  91. package/dist/components/NoRegisterRoot.js +4 -1
  92. package/dist/components/Notifications/ColorDot.js +1 -1
  93. package/dist/components/Notifications/Notification.js +1 -1
  94. package/dist/components/Notifications/NotificationCenter.js +2 -2
  95. package/dist/components/Notifications/ServerDisconnected.js +2 -1
  96. package/dist/components/OpenEditorButton.js +2 -2
  97. package/dist/components/OptionsPanel.js +7 -4
  98. package/dist/components/OverrideInputProps.js +7 -2
  99. package/dist/components/PlayPause.js +3 -1
  100. package/dist/components/PlaybackRateSelector.js +2 -2
  101. package/dist/components/Preview.js +8 -8
  102. package/dist/components/PreviewToolbar.js +11 -1
  103. package/dist/components/QuickSwitcher/AlgoliaCredit.js +1 -1
  104. package/dist/components/QuickSwitcher/NoResults.js +1 -1
  105. package/dist/components/QuickSwitcher/QuickSwitcher.js +1 -1
  106. package/dist/components/QuickSwitcher/QuickSwitcherContent.js +12 -3
  107. package/dist/components/QuickSwitcher/QuickSwitcherResult.js +6 -3
  108. package/dist/components/RefreshCompositionOverlay.js +1 -1
  109. package/dist/components/RenderButton.js +26 -9
  110. package/dist/components/RenderModal/CliCopyButton.js +3 -3
  111. package/dist/components/RenderModal/ClientRenderProgress.js +18 -13
  112. package/dist/components/RenderModal/CrfSetting.d.ts +1 -2
  113. package/dist/components/RenderModal/CrfSetting.js +1 -1
  114. package/dist/components/RenderModal/DataEditor.js +15 -8
  115. package/dist/components/RenderModal/EnforceAudioTrackSetting.js +5 -1
  116. package/dist/components/RenderModal/EnvInput.js +4 -1
  117. package/dist/components/RenderModal/FrameRangeSetting.js +5 -1
  118. package/dist/components/RenderModal/GuiRenderStatus.js +15 -10
  119. package/dist/components/RenderModal/InfoBubble.js +3 -2
  120. package/dist/components/RenderModal/InfoTooltip.js +3 -2
  121. package/dist/components/RenderModal/InlineEyeIcon.js +2 -2
  122. package/dist/components/RenderModal/InlineRemoveButton.js +2 -2
  123. package/dist/components/RenderModal/JpegQualitySetting.js +1 -1
  124. package/dist/components/RenderModal/MultiRangeSlider.js +3 -1
  125. package/dist/components/RenderModal/MutedSetting.js +5 -1
  126. package/dist/components/RenderModal/NumberOfLoopsSetting.js +3 -1
  127. package/dist/components/RenderModal/NumberSetting.js +6 -2
  128. package/dist/components/RenderModal/OptionExplainer.js +14 -1
  129. package/dist/components/RenderModal/OptionExplainerBubble.js +1 -1
  130. package/dist/components/RenderModal/RenderModalAdvanced.js +66 -7
  131. package/dist/components/RenderModal/RenderModalAudio.js +21 -4
  132. package/dist/components/RenderModal/RenderModalBasic.js +18 -3
  133. package/dist/components/RenderModal/RenderModalEnvironmentVariables.js +5 -3
  134. package/dist/components/RenderModal/RenderModalGif.js +6 -1
  135. package/dist/components/RenderModal/RenderModalHr.js +1 -1
  136. package/dist/components/RenderModal/RenderModalJSONPropsEditor.js +5 -2
  137. package/dist/components/RenderModal/RenderModalOutputName.js +8 -1
  138. package/dist/components/RenderModal/RenderModalPicture.js +30 -3
  139. package/dist/components/RenderModal/RenderStatusModal.js +12 -2
  140. package/dist/components/RenderModal/ResolveCompositionBeforeModal.js +6 -3
  141. package/dist/components/RenderModal/ScaleSetting.js +3 -2
  142. package/dist/components/RenderModal/SchemaEditor/Fieldset.js +2 -2
  143. package/dist/components/RenderModal/SchemaEditor/SchemaEditor.js +4 -4
  144. package/dist/components/RenderModal/SchemaEditor/SchemaErrorMessages.js +31 -6
  145. package/dist/components/RenderModal/SchemaEditor/SchemaLabel.js +3 -3
  146. package/dist/components/RenderModal/SchemaEditor/SchemaResetButton.js +2 -2
  147. package/dist/components/RenderModal/SchemaEditor/SchemaSaveButton.js +2 -2
  148. package/dist/components/RenderModal/SchemaEditor/SchemaSeparationLine.js +9 -5
  149. package/dist/components/RenderModal/SchemaEditor/SchemaVerticalGuide.js +3 -1
  150. package/dist/components/RenderModal/SchemaEditor/ZodArrayEditor.js +9 -5
  151. package/dist/components/RenderModal/SchemaEditor/ZodArrayItemEditor.js +1 -1
  152. package/dist/components/RenderModal/SchemaEditor/ZodBooleanEditor.js +3 -1
  153. package/dist/components/RenderModal/SchemaEditor/ZodColorEditor.js +8 -2
  154. package/dist/components/RenderModal/SchemaEditor/ZodDateEditor.js +5 -1
  155. package/dist/components/RenderModal/SchemaEditor/ZodDefaultEditor.js +1 -1
  156. package/dist/components/RenderModal/SchemaEditor/ZodDiscriminatedUnionEditor.js +6 -4
  157. package/dist/components/RenderModal/SchemaEditor/ZodEffectEditor.js +3 -1
  158. package/dist/components/RenderModal/SchemaEditor/ZodEnumEditor.js +4 -2
  159. package/dist/components/RenderModal/SchemaEditor/ZodErrorMessages.js +6 -4
  160. package/dist/components/RenderModal/SchemaEditor/ZodFieldValidation.js +8 -2
  161. package/dist/components/RenderModal/SchemaEditor/ZodMatrixEditor.js +8 -6
  162. package/dist/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +3 -1
  163. package/dist/components/RenderModal/SchemaEditor/ZodNullableEditor.js +1 -1
  164. package/dist/components/RenderModal/SchemaEditor/ZodNumberEditor.js +5 -1
  165. package/dist/components/RenderModal/SchemaEditor/ZodObjectEditor.js +6 -5
  166. package/dist/components/RenderModal/SchemaEditor/ZodOptionalEditor.js +1 -1
  167. package/dist/components/RenderModal/SchemaEditor/ZodOrNullishEditor.js +4 -1
  168. package/dist/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +8 -5
  169. package/dist/components/RenderModal/SchemaEditor/ZodStringEditor.js +5 -1
  170. package/dist/components/RenderModal/SchemaEditor/ZodSwitch.js +24 -24
  171. package/dist/components/RenderModal/SchemaEditor/ZodTextareaEditor.js +5 -1
  172. package/dist/components/RenderModal/SchemaEditor/ZodTupleEditor.js +9 -5
  173. package/dist/components/RenderModal/SchemaEditor/ZodTupleItemEditor.js +1 -1
  174. package/dist/components/RenderModal/SchemaEditor/ZodUnionEditor.js +5 -5
  175. package/dist/components/RenderModal/SchemaEditor/create-zod-values.d.ts +2 -2
  176. package/dist/components/RenderModal/SchemaEditor/extract-enum-json-paths.d.ts +4 -4
  177. package/dist/components/RenderModal/SchemaEditor/local-state.js +1 -1
  178. package/dist/components/RenderModal/SeparateAudioOption.js +7 -2
  179. package/dist/components/RenderModal/ServerRenderModal.js +28 -6
  180. package/dist/components/RenderModal/WarningIndicatorButton.js +4 -2
  181. package/dist/components/RenderModal/WebRenderModal.js +35 -7
  182. package/dist/components/RenderModal/WebRenderModalAdvanced.js +11 -4
  183. package/dist/components/RenderModal/WebRenderModalAudio.js +12 -2
  184. package/dist/components/RenderModal/WebRenderModalBasic.js +23 -5
  185. package/dist/components/RenderModal/WebRenderModalLicense.js +24 -2
  186. package/dist/components/RenderModal/WebRenderModalLicenseKeyDetails.js +12 -1
  187. package/dist/components/RenderModal/WebRenderModalPicture.js +8 -1
  188. package/dist/components/RenderModal/WebRendererExperimentalBadge.js +3 -1
  189. package/dist/components/RenderModal/get-default-codecs.d.ts +7 -8
  190. package/dist/components/RenderModal/human-readable-audio-codecs.d.ts +1 -2
  191. package/dist/components/RenderModal/human-readable-codec.d.ts +1 -2
  192. package/dist/components/RenderModal/human-readable-loglevel.d.ts +1 -2
  193. package/dist/components/RenderModal/out-name-checker.d.ts +4 -5
  194. package/dist/components/RenderModal/quality-options.js +1 -1
  195. package/dist/components/RenderPreview.js +4 -4
  196. package/dist/components/RenderQueue/CircularProgress.js +1 -1
  197. package/dist/components/RenderQueue/ClientRenderQueueProcessor.d.ts +1 -0
  198. package/dist/components/RenderQueue/ClientRenderQueueProcessor.js +34 -5
  199. package/dist/components/RenderQueue/RenderQueueCancelledMessage.js +1 -1
  200. package/dist/components/RenderQueue/RenderQueueCopyToClipboard.js +2 -2
  201. package/dist/components/RenderQueue/RenderQueueDownloadItem.d.ts +5 -0
  202. package/dist/components/RenderQueue/RenderQueueDownloadItem.js +35 -0
  203. package/dist/components/RenderQueue/RenderQueueError.js +1 -1
  204. package/dist/components/RenderQueue/RenderQueueItem.js +51 -16
  205. package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +2 -2
  206. package/dist/components/RenderQueue/RenderQueueItemStatus.js +10 -7
  207. package/dist/components/RenderQueue/RenderQueueOpenInFolder.d.ts +2 -2
  208. package/dist/components/RenderQueue/RenderQueueOpenInFolder.js +2 -2
  209. package/dist/components/RenderQueue/RenderQueueOutputName.js +2 -9
  210. package/dist/components/RenderQueue/RenderQueueProgressMessage.js +4 -2
  211. package/dist/components/RenderQueue/RenderQueueRemoveItem.js +6 -4
  212. package/dist/components/RenderQueue/RenderQueueRepeat.js +2 -2
  213. package/dist/components/RenderQueue/RenderQueueSavingMessage.d.ts +2 -0
  214. package/dist/components/RenderQueue/RenderQueueSavingMessage.js +13 -0
  215. package/dist/components/RenderQueue/SuccessIcon.js +1 -1
  216. package/dist/components/RenderQueue/actions.d.ts +21 -24
  217. package/dist/components/RenderQueue/client-side-render-types.d.ts +11 -9
  218. package/dist/components/RenderQueue/client-side-render-types.js +5 -0
  219. package/dist/components/RenderQueue/context.d.ts +6 -3
  220. package/dist/components/RenderQueue/context.js +39 -8
  221. package/dist/components/RenderQueue/index.js +11 -19
  222. package/dist/components/RendersTab.js +3 -1
  223. package/dist/components/ResetZoomButton.js +1 -1
  224. package/dist/components/RunningCalculateMetadata.js +5 -1
  225. package/dist/components/SegmentedControl.js +3 -3
  226. package/dist/components/SetTimelineInOutProvider.js +1 -1
  227. package/dist/components/ShowGuidesProvider.js +1 -1
  228. package/dist/components/ShowRulersProvider.js +1 -1
  229. package/dist/components/SidebarCollapserControls.js +5 -3
  230. package/dist/components/SidebarRenderButton.js +2 -2
  231. package/dist/components/SizeSelector.js +2 -2
  232. package/dist/components/Spinner.js +6 -4
  233. package/dist/components/Splitter/SplitterContainer.js +1 -1
  234. package/dist/components/Splitter/SplitterElement.js +3 -1
  235. package/dist/components/Splitter/SplitterHandle.js +1 -1
  236. package/dist/components/StaticFilePreview.js +5 -5
  237. package/dist/components/Tabs/index.js +2 -2
  238. package/dist/components/Tabs/vertical.js +1 -1
  239. package/dist/components/TextViewer.js +1 -1
  240. package/dist/components/TimeValue.js +3 -1
  241. package/dist/components/Timeline/LoopedIndicator.js +4 -2
  242. package/dist/components/Timeline/LoopedTimelineIndicators.js +5 -4
  243. package/dist/components/Timeline/MaxTimelineTracks.js +1 -1
  244. package/dist/components/Timeline/Timeline.js +5 -1
  245. package/dist/components/Timeline/TimelineCollapseToggle.js +2 -2
  246. package/dist/components/Timeline/TimelineDragHandler.js +5 -3
  247. package/dist/components/Timeline/TimelineInOutPointer.js +2 -2
  248. package/dist/components/Timeline/TimelineInOutPointerHandle.js +2 -2
  249. package/dist/components/Timeline/TimelineLayerEye.js +3 -3
  250. package/dist/components/Timeline/TimelineList.js +3 -2
  251. package/dist/components/Timeline/TimelineListItem.js +3 -1
  252. package/dist/components/Timeline/TimelineScrollable.js +1 -1
  253. package/dist/components/Timeline/TimelineSequence.js +6 -6
  254. package/dist/components/Timeline/TimelineSequenceFrame.js +1 -1
  255. package/dist/components/Timeline/TimelineSlider.d.ts +1 -1
  256. package/dist/components/Timeline/TimelineSlider.js +6 -3
  257. package/dist/components/Timeline/TimelineSliderHandle.js +1 -1
  258. package/dist/components/Timeline/TimelineStack/index.js +5 -2
  259. package/dist/components/Timeline/TimelineTimeIndicators.js +5 -5
  260. package/dist/components/Timeline/TimelineTracks.js +6 -4
  261. package/dist/components/Timeline/TimelineVideoInfo.js +1 -1
  262. package/dist/components/Timeline/TimelineWidthProvider.js +1 -1
  263. package/dist/components/Timeline/TimelineZoomControls.js +3 -1
  264. package/dist/components/Timeline/timeline-scroll-logic.d.ts +1 -1
  265. package/dist/components/Timeline/timeline-scroll-logic.js +12 -8
  266. package/dist/components/TimelineInOutToggle.js +11 -7
  267. package/dist/components/TopPanel.js +5 -1
  268. package/dist/components/UpdateCheck.js +2 -2
  269. package/dist/components/UpdateModal/OpenIssueButton.js +2 -2
  270. package/dist/components/UpdateModal/UpdateModal.js +8 -1
  271. package/dist/components/VisualControls/ClickableFileName.js +1 -1
  272. package/dist/components/VisualControls/VisualControlHandle.js +3 -1
  273. package/dist/components/VisualControls/VisualControlHandleHeader.js +1 -1
  274. package/dist/components/VisualControls/VisualControlsContent.js +3 -2
  275. package/dist/components/ZoomGesturesProvider.js +1 -1
  276. package/dist/components/call-api.d.ts +1 -1
  277. package/dist/components/get-zod-if-possible.d.ts +3 -3
  278. package/dist/components/get-zod-if-possible.js +9 -9
  279. package/dist/components/layout.js +4 -4
  280. package/dist/components/use-static-files.d.ts +6 -0
  281. package/dist/components/use-static-files.js +63 -0
  282. package/dist/error-overlay/react-overlay/utils/parser.d.ts +1 -1
  283. package/dist/error-overlay/remotion-overlay/AskOnDiscord.js +1 -1
  284. package/dist/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.js +2 -1
  285. package/dist/error-overlay/remotion-overlay/CodeFrame.js +6 -4
  286. package/dist/error-overlay/remotion-overlay/CompositionIdListItem.js +1 -1
  287. package/dist/error-overlay/remotion-overlay/CompositionIdsDropdown.js +8 -3
  288. package/dist/error-overlay/remotion-overlay/DismissButton.js +1 -1
  289. package/dist/error-overlay/remotion-overlay/ErrorDisplay.js +19 -4
  290. package/dist/error-overlay/remotion-overlay/ErrorLoader.js +8 -4
  291. package/dist/error-overlay/remotion-overlay/ErrorMessage.js +2 -1
  292. package/dist/error-overlay/remotion-overlay/ErrorTitle.js +7 -1
  293. package/dist/error-overlay/remotion-overlay/HelpLink.js +1 -1
  294. package/dist/error-overlay/remotion-overlay/OpenInEditor.js +1 -1
  295. package/dist/error-overlay/remotion-overlay/Overlay.js +2 -2
  296. package/dist/error-overlay/remotion-overlay/Retry.js +1 -1
  297. package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.js +1 -1
  298. package/dist/error-overlay/remotion-overlay/ShortcutHint.js +2 -1
  299. package/dist/error-overlay/remotion-overlay/StackFrame.js +6 -2
  300. package/dist/error-overlay/remotion-overlay/Symbolicating.js +3 -1
  301. package/dist/error-overlay/remotion-overlay/carets.d.ts +1 -1
  302. package/dist/error-overlay/remotion-overlay/carets.js +2 -2
  303. package/dist/error-overlay/remotion-overlay/index.js +2 -2
  304. package/dist/esm/{chunk-4153e552.js → chunk-3g77e2p9.js} +4722 -19219
  305. package/dist/esm/internals.mjs +4722 -19219
  306. package/dist/esm/previewEntry.mjs +4747 -19244
  307. package/dist/esm/renderEntry.mjs +1 -1
  308. package/dist/helpers/client-id.js +5 -2
  309. package/dist/helpers/color-math.d.ts +1 -2
  310. package/dist/helpers/create-folder-tree.d.ts +2 -2
  311. package/dist/helpers/document-title.js +2 -2
  312. package/dist/helpers/editor-ruler.d.ts +3 -3
  313. package/dist/helpers/extract-frames.d.ts +1 -1
  314. package/dist/helpers/pick-color.js +5 -1
  315. package/dist/helpers/presets-labels.d.ts +1 -2
  316. package/dist/helpers/prores-labels.d.ts +1 -2
  317. package/dist/helpers/render-modal-sections.d.ts +1 -2
  318. package/dist/helpers/retry-payload.d.ts +2 -2
  319. package/dist/helpers/timeline-layout.d.ts +1 -1
  320. package/dist/helpers/use-asset-drag-events.d.ts +1 -1
  321. package/dist/helpers/use-menu-structure.d.ts +1 -1
  322. package/dist/helpers/use-menu-structure.js +11 -11
  323. package/dist/helpers/use-studio-canvas-dimensions.d.ts +1 -1
  324. package/dist/helpers/validate-new-comp-data.d.ts +2 -3
  325. package/dist/hot-middleware-client/client.d.ts +1 -1
  326. package/dist/hot-middleware-client/process-update.d.ts +8 -2
  327. package/dist/hot-middleware-client/process-update.js +2 -1
  328. package/dist/icons/Checkmark.js +1 -1
  329. package/dist/icons/audio.js +1 -1
  330. package/dist/icons/caret.js +3 -3
  331. package/dist/icons/certificate.d.ts +1 -1
  332. package/dist/icons/certificate.js +1 -1
  333. package/dist/icons/check-circle-filled.js +1 -1
  334. package/dist/icons/clipboard.js +1 -1
  335. package/dist/icons/data.js +1 -1
  336. package/dist/icons/ellipsis.js +1 -1
  337. package/dist/icons/file.js +1 -1
  338. package/dist/icons/folder.js +3 -3
  339. package/dist/icons/frame.js +1 -1
  340. package/dist/icons/gear.js +1 -1
  341. package/dist/icons/gif.js +1 -1
  342. package/dist/icons/jump-to-start.js +1 -1
  343. package/dist/icons/keys.js +3 -3
  344. package/dist/icons/media-volume.js +2 -2
  345. package/dist/icons/minus.js +1 -1
  346. package/dist/icons/pause.js +1 -1
  347. package/dist/icons/play.js +1 -1
  348. package/dist/icons/plus.js +1 -1
  349. package/dist/icons/render.js +1 -1
  350. package/dist/icons/step-back.js +1 -1
  351. package/dist/icons/step-forward.js +1 -1
  352. package/dist/icons/still.js +1 -1
  353. package/dist/icons/timelineInOutPointer.js +2 -2
  354. package/dist/icons/video.js +1 -1
  355. package/dist/index.js +16 -16
  356. package/dist/internals.d.ts +1 -1
  357. package/dist/previewEntry.js +2 -2
  358. package/dist/renderEntry.js +10 -8
  359. package/dist/state/folders.js +1 -1
  360. package/dist/state/highest-z-index.js +1 -1
  361. package/dist/state/in-out.js +4 -3
  362. package/dist/state/keybindings.js +1 -1
  363. package/dist/state/preview-size.js +1 -1
  364. package/dist/state/sidebar.js +1 -1
  365. package/dist/state/timeline-zoom.js +1 -1
  366. package/dist/state/z-index.js +2 -1
  367. package/dist/visual-controls/VisualControls.js +1 -1
  368. package/dist/visual-controls/get-current-edited-value.js +2 -1
  369. package/package.json +13 -12
@@ -48,14 +48,18 @@ const ErrorLoader = ({ error, keyboardShortcuts, onRetry, canHaveDismissButton,
48
48
  });
49
49
  }, [error]);
50
50
  if (state.type === 'loading') {
51
- return ((0, jsx_runtime_1.jsx)("div", { style: container, children: (0, jsx_runtime_1.jsx)(ErrorTitle_1.ErrorTitle, { symbolicating: true, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }) }));
51
+ return (jsx_runtime_1.jsx("div", { style: container, children: jsx_runtime_1.jsx(ErrorTitle_1.ErrorTitle, { symbolicating: true, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }) }));
52
52
  }
53
53
  if (state.type === 'error') {
54
- return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)(ErrorTitle_1.ErrorTitle, { symbolicating: false, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }), (0, jsx_runtime_1.jsx)("div", { style: errorWhileErrorStyle, children: "Error while getting stack trace:" }), (0, jsx_runtime_1.jsx)("div", { style: errorWhileErrorStyle, children: state.err.stack }), (0, jsx_runtime_1.jsx)("div", { style: errorWhileErrorStyle, children: "Report this in the Remotion repo." })] }));
54
+ return (jsx_runtime_1.jsxs("div", { style: container, children: [
55
+ jsx_runtime_1.jsx(ErrorTitle_1.ErrorTitle, { symbolicating: false, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }), jsx_runtime_1.jsx("div", { style: errorWhileErrorStyle, children: "Error while getting stack trace:" }), jsx_runtime_1.jsx("div", { style: errorWhileErrorStyle, children: state.err.stack }), jsx_runtime_1.jsx("div", { style: errorWhileErrorStyle, children: "Report this in the Remotion repo." })
56
+ ] }));
55
57
  }
56
58
  if (state.type === 'no-record') {
57
- return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)(ErrorTitle_1.ErrorTitle, { symbolicating: false, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }), (0, jsx_runtime_1.jsx)("div", { style: errorWhileErrorStyle, children: "Check the Terminal and browser console for error messages." })] }));
59
+ return (jsx_runtime_1.jsxs("div", { style: container, children: [
60
+ jsx_runtime_1.jsx(ErrorTitle_1.ErrorTitle, { symbolicating: false, name: error.name, message: error.message, canHaveDismissButton: canHaveDismissButton }), jsx_runtime_1.jsx("div", { style: errorWhileErrorStyle, children: "Check the Terminal and browser console for error messages." })
61
+ ] }));
58
62
  }
59
- return ((0, jsx_runtime_1.jsx)("div", { style: container, children: (0, jsx_runtime_1.jsx)(ErrorDisplay_1.ErrorDisplay, { keyboardShortcuts: keyboardShortcuts, display: state.record, onRetry: onRetry, canHaveDismissButton: canHaveDismissButton, calculateMetadata: calculateMetadata }) }));
63
+ return (jsx_runtime_1.jsx("div", { style: container, children: jsx_runtime_1.jsx(ErrorDisplay_1.ErrorDisplay, { keyboardShortcuts: keyboardShortcuts, display: state.record, onRetry: onRetry, canHaveDismissButton: canHaveDismissButton, calculateMetadata: calculateMetadata }) }));
60
64
  };
61
65
  exports.ErrorLoader = ErrorLoader;
@@ -64,6 +64,7 @@ const ErrorMessage = ({ message }) => {
64
64
  const toggle = (0, react_1.useCallback)(() => {
65
65
  setExpanded((e) => !e);
66
66
  }, []);
67
- return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [(0, jsx_runtime_1.jsx)("div", { style: style, children: (0, jsx_runtime_1.jsx)("div", { ref: ref, style: textContainer, children: message }) }), errorLines !== null && errorLines > maxLines ? ((0, jsx_runtime_1.jsx)("div", { style: moreLine, children: (0, jsx_runtime_1.jsx)("button", { type: "button", onClick: toggle, style: moreButton, children: (0, jsx_runtime_1.jsx)(carets_1.CaretDown, { invert: expanded }) }) })) : null] }));
67
+ return (jsx_runtime_1.jsxs("div", { style: container, children: [
68
+ jsx_runtime_1.jsx("div", { style: style, children: jsx_runtime_1.jsx("div", { ref: ref, style: textContainer, children: message }) }), errorLines !== null && errorLines > maxLines ? (jsx_runtime_1.jsx("div", { style: moreLine, children: jsx_runtime_1.jsx("button", { type: "button", onClick: toggle, style: moreButton, children: jsx_runtime_1.jsx(carets_1.CaretDown, { invert: expanded }) }) })) : null] }));
68
69
  };
69
70
  exports.ErrorMessage = ErrorMessage;
@@ -33,6 +33,12 @@ const spacer = {
33
33
  width: 5,
34
34
  };
35
35
  const ErrorTitle = ({ name, message, symbolicating, canHaveDismissButton }) => {
36
- return ((0, jsx_runtime_1.jsxs)("div", { style: title, className: "css-reset", children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("span", { style: errName, children: name }), (0, jsx_runtime_1.jsx)("br", {}), (0, jsx_runtime_1.jsxs)("div", { style: row, children: [symbolicating ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(Symbolicating_1.Symbolicating, {}), (0, jsx_runtime_1.jsx)("div", { style: spacer })] })) : null, (0, jsx_runtime_1.jsx)(ErrorMessage_1.ErrorMessage, { message: message })] })] }), (0, react_overlay_1.didUnmountReactApp)() ? null : canHaveDismissButton ? ((0, jsx_runtime_1.jsx)(DismissButton_1.DismissButton, {})) : null] }));
36
+ return (jsx_runtime_1.jsxs("div", { style: title, className: "css-reset", children: [
37
+ jsx_runtime_1.jsxs("div", { style: left, children: [
38
+ jsx_runtime_1.jsx("span", { style: errName, children: name }), jsx_runtime_1.jsx("br", {}), jsx_runtime_1.jsxs("div", { style: row, children: [symbolicating ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
39
+ jsx_runtime_1.jsx(Symbolicating_1.Symbolicating, {}), jsx_runtime_1.jsx("div", { style: spacer })
40
+ ] })) : null, jsx_runtime_1.jsx(ErrorMessage_1.ErrorMessage, { message: message })
41
+ ] })
42
+ ] }), (0, react_overlay_1.didUnmountReactApp)() ? null : canHaveDismissButton ? (jsx_runtime_1.jsx(DismissButton_1.DismissButton, {})) : null] }));
37
43
  };
38
44
  exports.ErrorTitle = ErrorTitle;
@@ -34,6 +34,6 @@ const HelpLink = ({ canHaveKeyboardShortcuts, link }) => {
34
34
  });
35
35
  return () => unregister();
36
36
  }, [canHaveKeyboardShortcuts, openLink, registerKeybinding]);
37
- return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { style: buttonStyle, onClick: openLink, children: ["Help: ", '"', link.title, '"', canHaveKeyboardShortcuts ? ((0, jsx_runtime_1.jsx)(ShortcutHint_1.ShortcutHint, { keyToPress: "h", cmdOrCtrl: true })) : null] }));
37
+ return (jsx_runtime_1.jsxs(Button_1.Button, { style: buttonStyle, onClick: openLink, children: ["Help: ", '"', link.title, '"', canHaveKeyboardShortcuts ? (jsx_runtime_1.jsx(ShortcutHint_1.ShortcutHint, { keyToPress: "h", cmdOrCtrl: true })) : null] }));
38
38
  };
39
39
  exports.HelpLink = HelpLink;
@@ -99,6 +99,6 @@ const OpenInEditor = ({ stack, canHaveKeyboardShortcuts }) => {
99
99
  throw new Error('invalid state');
100
100
  }
101
101
  }, [state.type]);
102
- return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { onClick: openInBrowser, disabled: state.type !== 'idle', children: [label, canHaveKeyboardShortcuts ? ((0, jsx_runtime_1.jsx)(ShortcutHint_1.ShortcutHint, { keyToPress: "o", cmdOrCtrl: true })) : null] }));
102
+ return (jsx_runtime_1.jsxs(Button_1.Button, { onClick: openInBrowser, disabled: state.type !== 'idle', children: [label, canHaveKeyboardShortcuts ? (jsx_runtime_1.jsx(ShortcutHint_1.ShortcutHint, { keyToPress: "o", cmdOrCtrl: true })) : null] }));
103
103
  };
104
104
  exports.OpenInEditor = OpenInEditor;
@@ -39,13 +39,13 @@ const Overlay = () => {
39
39
  if (errors.errors.length === 0) {
40
40
  return null;
41
41
  }
42
- return ((0, jsx_runtime_1.jsx)(keybindings_1.KeybindingContextProvider, { children: (0, jsx_runtime_1.jsx)(remotion_1.AbsoluteFill, { style: {
42
+ return (jsx_runtime_1.jsx(keybindings_1.KeybindingContextProvider, { children: jsx_runtime_1.jsx(remotion_1.AbsoluteFill, { style: {
43
43
  backgroundColor: BACKGROUND_COLOR,
44
44
  overflow: 'auto',
45
45
  color: 'white',
46
46
  }, children: errors.errors.map((err, i) => {
47
47
  var _a;
48
- return ((0, jsx_runtime_1.jsx)(ErrorLoader_1.ErrorLoader
48
+ return (jsx_runtime_1.jsx(ErrorLoader_1.ErrorLoader
49
49
  // eslint-disable-next-line react/no-array-index-key
50
50
  , { keyboardShortcuts: i === 0, error: err, onRetry: null, canHaveDismissButton: true, calculateMetadata: false }, ((_a = err.stack) !== null && _a !== void 0 ? _a : '') + i));
51
51
  }) }) }));
@@ -4,6 +4,6 @@ exports.RetryButton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Button_1 = require("../../components/Button");
6
6
  const RetryButton = ({ onClick }) => {
7
- return (0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: onClick, children: "Retry calculateMetadata()" });
7
+ return jsx_runtime_1.jsx(Button_1.Button, { onClick: onClick, children: "Retry calculateMetadata()" });
8
8
  };
9
9
  exports.RetryButton = RetryButton;
@@ -29,6 +29,6 @@ const SearchGithubIssues = ({ message, canHaveKeyboardShortcuts }) => {
29
29
  });
30
30
  return () => unregister();
31
31
  }, [canHaveKeyboardShortcuts, openInBrowser, registerKeybinding]);
32
- return ((0, jsx_runtime_1.jsxs)(Button_1.Button, { onClick: openInBrowser, children: ["Search GitHub Issues", ' ', canHaveKeyboardShortcuts ? ((0, jsx_runtime_1.jsx)(ShortcutHint_1.ShortcutHint, { keyToPress: "g", cmdOrCtrl: true })) : null] }));
32
+ return (jsx_runtime_1.jsxs(Button_1.Button, { onClick: openInBrowser, children: ["Search GitHub Issues", ' ', canHaveKeyboardShortcuts ? (jsx_runtime_1.jsx(ShortcutHint_1.ShortcutHint, { keyToPress: "g", cmdOrCtrl: true })) : null] }));
33
33
  };
34
34
  exports.SearchGithubIssues = SearchGithubIssues;
@@ -28,6 +28,7 @@ const ShortcutHint = ({ keyToPress, cmdOrCtrl }) => {
28
28
  if ((0, use_keybinding_1.areKeyboardShortcutsDisabled)()) {
29
29
  return null;
30
30
  }
31
- return ((0, jsx_runtime_1.jsxs)("span", { style: container, children: [cmdOrCtrl ? `${exports.cmdOrCtrlCharacter}` : '', (0, jsx_runtime_1.jsx)("span", { style: style, children: keyToPress.toUpperCase() })] }));
31
+ return (jsx_runtime_1.jsxs("span", { style: container, children: [cmdOrCtrl ? `${exports.cmdOrCtrlCharacter}` : '', jsx_runtime_1.jsx("span", { style: style, children: keyToPress.toUpperCase() })
32
+ ] }));
32
33
  };
33
34
  exports.ShortcutHint = ShortcutHint;
@@ -43,8 +43,12 @@ const StackElement = ({ s, lineNumberWidth, isFirst, defaultFunctionName }) => {
43
43
  const toggleCodeFrame = (0, react_1.useCallback)(() => {
44
44
  setShowCodeFrame((f) => !f);
45
45
  }, []);
46
- return ((0, jsx_runtime_1.jsxs)("div", { className: "css-reset", children: [(0, jsx_runtime_1.jsxs)("div", { style: header, children: [(0, jsx_runtime_1.jsxs)("div", { style: left, children: [(0, jsx_runtime_1.jsx)("div", { style: fnName, children: (_a = s.originalFunctionName) !== null && _a !== void 0 ? _a : defaultFunctionName }), s.originalFileName ? ((0, jsx_runtime_1.jsxs)("div", { style: location, children: [(0, format_location_1.formatLocation)(s.originalFileName), ":", s.originalLineNumber] })) : null] }), s.originalScriptCode && s.originalScriptCode.length > 0 ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: toggleCodeFrame, children: showCodeFrame ? (0, jsx_runtime_1.jsx)(carets_1.CaretDown, { invert: false }) : (0, jsx_runtime_1.jsx)(carets_1.CaretRight, {}) })) : null] }), (0, jsx_runtime_1.jsx)("div", { children: s.originalScriptCode &&
46
+ return (jsx_runtime_1.jsxs("div", { className: "css-reset", children: [
47
+ jsx_runtime_1.jsxs("div", { style: header, children: [
48
+ jsx_runtime_1.jsxs("div", { style: left, children: [
49
+ jsx_runtime_1.jsx("div", { style: fnName, children: (_a = s.originalFunctionName) !== null && _a !== void 0 ? _a : defaultFunctionName }), s.originalFileName ? (jsx_runtime_1.jsxs("div", { style: location, children: [(0, format_location_1.formatLocation)(s.originalFileName), ":", s.originalLineNumber] })) : null] }), s.originalScriptCode && s.originalScriptCode.length > 0 ? (jsx_runtime_1.jsx(Button_1.Button, { onClick: toggleCodeFrame, children: showCodeFrame ? jsx_runtime_1.jsx(carets_1.CaretDown, { invert: false }) : jsx_runtime_1.jsx(carets_1.CaretRight, {}) })) : null] }), jsx_runtime_1.jsx("div", { children: s.originalScriptCode &&
47
50
  s.originalScriptCode.length > 0 &&
48
- showCodeFrame ? ((0, jsx_runtime_1.jsx)(CodeFrame_1.CodeFrame, { lineNumberWidth: lineNumberWidth, source: s.originalScriptCode })) : null })] }));
51
+ showCodeFrame ? (jsx_runtime_1.jsx(CodeFrame_1.CodeFrame, { lineNumberWidth: lineNumberWidth, source: s.originalScriptCode })) : null })
52
+ ] }));
49
53
  };
50
54
  exports.StackElement = StackElement;
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Symbolicating = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Symbolicating = (props) => {
6
- return ((0, jsx_runtime_1.jsxs)("svg", { id: "loading", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "16", height: "16", fill: "white", ...props, children: [(0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(0 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(45 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.125s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(90 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.25s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(135 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.375s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(180 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.5s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(225 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.675s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(270 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.75s" }) }), (0, jsx_runtime_1.jsx)("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(315 16 16)", children: (0, jsx_runtime_1.jsx)("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.875s" }) })] }));
6
+ return (jsx_runtime_1.jsxs("svg", { id: "loading", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "16", height: "16", fill: "white", ...props, children: [
7
+ jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(0 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(45 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.125s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(90 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.25s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(135 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.375s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(180 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.5s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(225 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.675s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(270 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.75s" }) }), jsx_runtime_1.jsx("path", { opacity: ".1", d: "M14 0 H18 V8 H14 z", transform: "rotate(315 16 16)", children: jsx_runtime_1.jsx("animate", { attributeName: "opacity", from: "1", to: ".1", dur: "1s", repeatCount: "indefinite", begin: "0.875s" }) })
8
+ ] }));
7
9
  };
8
10
  exports.Symbolicating = Symbolicating;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const CaretRight: ({ size }: {
3
- readonly size?: number;
3
+ readonly size?: number | undefined;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
5
5
  export declare const CaretDown: React.FC<{
6
6
  readonly invert: boolean;
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CaretDown = exports.CaretRight = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const CaretRight = ({ size }) => {
6
- return ((0, jsx_runtime_1.jsx)("svg", { style: { height: size !== null && size !== void 0 ? size : 20 }, "aria-hidden": "true", focusable: "false", role: "img", viewBox: "0 0 192 512", 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" }) }));
6
+ return (jsx_runtime_1.jsx("svg", { style: { height: size !== null && size !== void 0 ? size : 20 }, "aria-hidden": "true", focusable: "false", role: "img", viewBox: "0 0 192 512", children: 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" }) }));
7
7
  };
8
8
  exports.CaretRight = CaretRight;
9
9
  const CaretDown = ({ invert, size }) => {
10
- return ((0, jsx_runtime_1.jsx)("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512", style: { height: size !== null && size !== void 0 ? size : 20, transform: invert ? `rotate(180deg)` : '' }, 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" }) }));
10
+ return (jsx_runtime_1.jsx("svg", { "aria-hidden": "true", focusable: "false", role: "img", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 320 512", style: { height: size !== null && size !== void 0 ? size : 20, transform: invert ? `rotate(180deg)` : '' }, children: 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" }) }));
11
11
  };
12
12
  exports.CaretDown = CaretDown;
@@ -13,11 +13,11 @@ const client_1 = __importDefault(require("react-dom/client"));
13
13
  const Overlay_1 = require("./Overlay");
14
14
  const mountRemotionOverlay = () => {
15
15
  if (client_1.default.createRoot) {
16
- client_1.default.createRoot(document.getElementById('remotion-error-overlay')).render((0, jsx_runtime_1.jsx)(Overlay_1.Overlay, {}));
16
+ client_1.default.createRoot(document.getElementById('remotion-error-overlay')).render(jsx_runtime_1.jsx(Overlay_1.Overlay, {}));
17
17
  }
18
18
  else {
19
19
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
- client_1.default.render((0, jsx_runtime_1.jsx)(Overlay_1.Overlay, {}), document.getElementById('remotion-error-overlay'));
20
+ client_1.default.render(jsx_runtime_1.jsx(Overlay_1.Overlay, {}), document.getElementById('remotion-error-overlay'));
21
21
  }
22
22
  };
23
23
  exports.mountRemotionOverlay = mountRemotionOverlay;