@remotion/studio 4.0.523 → 4.0.525

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 (182) hide show
  1. package/dist/components/ActionTooltip.d.ts +11 -0
  2. package/dist/components/ActionTooltip.js +153 -0
  3. package/dist/components/AppLaunchButton.js +2 -0
  4. package/dist/components/AssetSelectorModal.d.ts +6 -0
  5. package/dist/components/AssetSelectorModal.js +174 -0
  6. package/dist/components/Canvas.js +18 -3
  7. package/dist/components/CheckboardToggle.js +8 -10
  8. package/dist/components/ColorPicker/AlphaSlider.js +1 -1
  9. package/dist/components/ColorPicker/HueSlider.js +1 -1
  10. package/dist/components/ColorPicker/SaturationValueArea.js +1 -1
  11. package/dist/components/CompositionSelector.js +1 -0
  12. package/dist/components/CompositionSelectorItem.js +1 -0
  13. package/dist/components/EditorGuides/Guide.js +1 -1
  14. package/dist/components/ElementInstallConfirmation.js +35 -62
  15. package/dist/components/FullscreenToggle.js +5 -8
  16. package/dist/components/GlobalKeybindings.js +71 -0
  17. package/dist/components/InspectorLocationCopy.js +1 -1
  18. package/dist/components/InspectorOpenInEditor.d.ts +1 -0
  19. package/dist/components/InspectorOpenInEditor.js +18 -15
  20. package/dist/components/InspectorPanel/CompositionInspectorHeader.js +6 -7
  21. package/dist/components/InspectorPanel/CompositionMetadata.js +1 -0
  22. package/dist/components/InspectorPanel/ElementLibraryButton.js +1 -0
  23. package/dist/components/InspectorPanel/SequenceInspectorHeader.js +4 -12
  24. package/dist/components/InspectorSequenceSection.js +23 -14
  25. package/dist/components/LazySyntaxHighlightedSource.d.ts +4 -0
  26. package/dist/components/LazySyntaxHighlightedSource.js +43 -0
  27. package/dist/components/LoopToggle.js +9 -2
  28. package/dist/components/Menu/MenuItem.js +1 -2
  29. package/dist/components/MenuBuildIndicator.js +1 -1
  30. package/dist/components/MenuToolbar.js +6 -4
  31. package/dist/components/Modals.js +2 -1
  32. package/dist/components/MuteToggle.d.ts +1 -0
  33. package/dist/components/MuteToggle.js +17 -6
  34. package/dist/components/NewComposition/CodemodFooter.js +1 -0
  35. package/dist/components/NewComposition/DeleteComposition.js +42 -6
  36. package/dist/components/NewComposition/DeleteFolder.js +1 -0
  37. package/dist/components/NewComposition/DuplicateComposition.js +5 -0
  38. package/dist/components/NewComposition/InputDragger.js +2 -2
  39. package/dist/components/NewComposition/NewComposition.d.ts +1 -0
  40. package/dist/components/NewComposition/NewComposition.js +5 -4
  41. package/dist/components/NewComposition/NewFolder.js +31 -6
  42. package/dist/components/NewComposition/RenameComposition.js +3 -2
  43. package/dist/components/NewComposition/RenameFolder.js +3 -4
  44. package/dist/components/NewComposition/SlugPreview.d.ts +7 -0
  45. package/dist/components/NewComposition/SlugPreview.js +18 -0
  46. package/dist/components/NewComposition/duplicate-composition-api.d.ts +3 -2
  47. package/dist/components/NewComposition/duplicate-composition-api.js +9 -2
  48. package/dist/components/Notifications/NotificationCenter.d.ts +1 -0
  49. package/dist/components/Notifications/NotificationCenter.js +22 -1
  50. package/dist/components/OutlineToggle.js +17 -10
  51. package/dist/components/PlayPause.js +7 -1
  52. package/dist/components/PlaybackKeyboardShortcutsManager.d.ts +2 -0
  53. package/dist/components/PlaybackKeyboardShortcutsManager.js +36 -1
  54. package/dist/components/PlaybackRateSelector.js +2 -2
  55. package/dist/components/Preview.js +0 -3
  56. package/dist/components/PreviewToolbar.js +4 -7
  57. package/dist/components/PreviewToolbarOverflowButton.js +10 -3
  58. package/dist/components/QuickSwitcher/QuickSwitcherContent.js +1 -1
  59. package/dist/components/RenderButton.js +40 -4
  60. package/dist/components/RenderModal/WebRenderModalBasic.js +1 -1
  61. package/dist/components/RenderModal/render-modals.js +3 -0
  62. package/dist/components/RenderQueue/CaptionQueueItem.js +2 -1
  63. package/dist/components/RenderQueue/RenderQueueCopyToClipboard.js +2 -1
  64. package/dist/components/RenderQueue/RenderQueueDownloadItem.js +2 -1
  65. package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +2 -1
  66. package/dist/components/RenderQueue/RenderQueueOpenInFolder.js +2 -1
  67. package/dist/components/RenderQueue/RenderQueueRemoveItem.js +2 -1
  68. package/dist/components/RenderQueue/RenderQueueRepeat.js +2 -1
  69. package/dist/components/RenderQueue/VideoMattingQueueItem.js +2 -1
  70. package/dist/components/RenderQueue/actions.d.ts +2 -1
  71. package/dist/components/RenderQueue/actions.js +2 -1
  72. package/dist/components/RulersAndGuidesToggle.js +8 -1
  73. package/dist/components/SegmentedButton.d.ts +1 -0
  74. package/dist/components/SegmentedButton.js +9 -3
  75. package/dist/components/SelectedOutlineElement.js +16 -6
  76. package/dist/components/SelectedOutlinePolygon.js +4 -2
  77. package/dist/components/SettingsButton.js +8 -6
  78. package/dist/components/SettingsContext.d.ts +8 -0
  79. package/dist/components/SettingsContext.js +57 -2
  80. package/dist/components/SettingsModal.js +4 -1
  81. package/dist/components/SettingsModalFooter.js +1 -1
  82. package/dist/components/SidebarCollapserControls.js +13 -16
  83. package/dist/components/SizeSelector.js +2 -2
  84. package/dist/components/SkillsSettings.js +35 -4
  85. package/dist/components/SnappingToggle.js +7 -8
  86. package/dist/components/Splitter/SplitterHandle.js +1 -2
  87. package/dist/components/StudioSettings.js +32 -18
  88. package/dist/components/SyntaxHighlightedSource.d.ts +5 -0
  89. package/dist/components/{HighlightedElementSource.js → SyntaxHighlightedSource.js} +2 -2
  90. package/dist/components/Tabs/vertical.d.ts +1 -1
  91. package/dist/components/Tabs/vertical.js +16 -2
  92. package/dist/components/Timeline/EasingEditorModal.js +2 -2
  93. package/dist/components/Timeline/Timeline.js +47 -39
  94. package/dist/components/Timeline/TimelineAssetField.js +148 -9
  95. package/dist/components/Timeline/TimelineDragHandler.js +1 -2
  96. package/dist/components/Timeline/TimelineEffectItem.d.ts +1 -0
  97. package/dist/components/Timeline/TimelineEffectItem.js +2 -2
  98. package/dist/components/Timeline/TimelineEffectPropItem.d.ts +1 -0
  99. package/dist/components/Timeline/TimelineEffectPropItem.js +2 -2
  100. package/dist/components/Timeline/TimelineExpandedRow.js +2 -2
  101. package/dist/components/Timeline/TimelineInOutDragHandler.js +1 -2
  102. package/dist/components/Timeline/TimelineLayerChildren.js +12 -9
  103. package/dist/components/Timeline/TimelineSchemaField.js +8 -1
  104. package/dist/components/Timeline/TimelineSelection.d.ts +3 -1
  105. package/dist/components/Timeline/TimelineSelection.js +32 -5
  106. package/dist/components/Timeline/TimelineSequence.js +6 -6
  107. package/dist/components/Timeline/TimelineSequenceItem.js +12 -10
  108. package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +3 -12
  109. package/dist/components/Timeline/TimelineTranslateField.js +25 -12
  110. package/dist/components/Timeline/TimelineZoomControls.js +2 -1
  111. package/dist/components/Timeline/get-sequence-context-menu-items.js +22 -6
  112. package/dist/components/Timeline/timeline-field-display-utils.js +12 -7
  113. package/dist/components/Timeline/timeline-translate-utils.d.ts +17 -0
  114. package/dist/components/Timeline/timeline-translate-utils.js +53 -12
  115. package/dist/components/Timeline/use-open-sequence-in-apps.d.ts +2 -0
  116. package/dist/components/Timeline/use-open-sequence-in-apps.js +17 -0
  117. package/dist/components/Timeline/use-timeline-asset-drop.js +17 -3
  118. package/dist/components/Timeline/use-timeline-keyframe-drag.js +4 -4
  119. package/dist/components/TimelineCombobox.d.ts +1 -0
  120. package/dist/components/TimelineCombobox.js +9 -4
  121. package/dist/components/TimelineInOutToggle.js +8 -15
  122. package/dist/components/UndoRedoButtons.js +11 -0
  123. package/dist/components/composition-menu-items.js +56 -2
  124. package/dist/components/folder-menu-items.js +44 -0
  125. package/dist/components/get-open-in-menu-items.js +1 -1
  126. package/dist/components/handle-drop.js +3 -2
  127. package/dist/components/import-assets.d.ts +24 -1
  128. package/dist/components/import-assets.js +3 -1
  129. package/dist/components/keyboard-shortcuts.d.ts +4 -4
  130. package/dist/components/keyboard-shortcuts.js +28 -9
  131. package/dist/error-overlay/remotion-overlay/CodeFrame.js +29 -18
  132. package/dist/esm/LazyModels-gfmpcy4h.mjs +11 -0
  133. package/dist/esm/LazyModels-m1rf06wh.mjs +11 -0
  134. package/dist/esm/{HighlightedElementSource-jfc66k4p.mjs → SyntaxHighlightedSource-3xks91rz.mjs} +4 -4
  135. package/dist/esm/{TranscriptionModal-916jqhry.mjs → TranscriptionModal-8pvrehg4.mjs} +7 -7
  136. package/dist/esm/{VideoMattingModal-2tm79s9b.mjs → VideoMattingModal-fefbzgka.mjs} +7 -7
  137. package/dist/esm/{index-xhe2m2qr.mjs → index-0x13f28h.mjs} +35 -13
  138. package/dist/esm/{index-sgtmgc4h.mjs → index-1089795y.mjs} +3 -3
  139. package/dist/esm/{index-hy4xcgty.mjs → index-41kqns5c.mjs} +5 -3
  140. package/dist/esm/{index-6cvm9a65.mjs → index-ggqpre9v.mjs} +2868 -2099
  141. package/dist/esm/{index-czwvnn9g.mjs → index-hbezgbbq.mjs} +1 -1
  142. package/dist/esm/{index-1x7bsdh6.mjs → index-jrw61pkj.mjs} +2 -2
  143. package/dist/esm/{index-jg13hf2g.mjs → index-k426ye99.mjs} +2 -1
  144. package/dist/esm/{index-te66vvrp.mjs → index-mww32xc8.mjs} +4 -4
  145. package/dist/esm/{index-x7t2y7ws.mjs → index-s848rffx.mjs} +6985 -5956
  146. package/dist/esm/{index-3hgr6gjx.mjs → index-tzxb8808.mjs} +1 -1
  147. package/dist/esm/{index-5qddp5h7.mjs → index-vsxrxfpj.mjs} +1 -1
  148. package/dist/esm/index.mjs +3 -3
  149. package/dist/esm/internals.mjs +8 -8
  150. package/dist/esm/previewEntry.mjs +8 -8
  151. package/dist/esm/renderEntry.mjs +3 -3
  152. package/dist/helpers/colors.d.ts +1 -0
  153. package/dist/helpers/colors.js +4 -3
  154. package/dist/helpers/get-git-menu-item.d.ts +4 -0
  155. package/dist/helpers/get-git-menu-item.js +8 -1
  156. package/dist/helpers/get-sequence-double-click-action.d.ts +3 -3
  157. package/dist/helpers/get-sequence-double-click-action.js +2 -2
  158. package/dist/helpers/inject-css.js +2 -2
  159. package/dist/helpers/pointer-session.d.ts +1 -0
  160. package/dist/helpers/pointer-session.js +10 -1
  161. package/dist/helpers/prism-vsc-dark-plus.d.ts +1 -0
  162. package/dist/helpers/prism-vsc-dark-plus.js +305 -0
  163. package/dist/helpers/studio-runtime-config.d.ts +1 -1
  164. package/dist/helpers/use-create-composition.d.ts +1 -0
  165. package/dist/helpers/use-create-composition.js +17 -7
  166. package/dist/helpers/use-keybinding.d.ts +1 -1
  167. package/dist/helpers/use-keyboard-shortcut-label.d.ts +2 -2
  168. package/dist/helpers/use-media-metadata.js +5 -1
  169. package/dist/helpers/use-menu-structure.js +6 -2
  170. package/dist/helpers/use-rename-composition.d.ts +1 -0
  171. package/dist/helpers/use-rename-composition.js +16 -5
  172. package/dist/icons/skills.js +1 -1
  173. package/dist/renderEntry.js +2 -2
  174. package/dist/state/modals.d.ts +13 -1
  175. package/dist/state/z-index.js +1 -3
  176. package/package.json +20 -20
  177. package/dist/components/HighlightedElementSource.d.ts +0 -5
  178. package/dist/esm/LazyModels-2trdm224.mjs +0 -11
  179. package/dist/esm/LazyModels-fjb5ckaq.mjs +0 -11
  180. package/dist/helpers/prism-tomorrow.d.ts +0 -1
  181. package/dist/helpers/prism-tomorrow.js +0 -151
  182. /package/dist/esm/{resolve-composition-component-location-14148845.mjs → resolve-composition-component-location-bt2d6qxq.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  callApi
3
- } from "./index-hy4xcgty.mjs";
3
+ } from "./index-41kqns5c.mjs";
4
4
  import {
5
5
  getBrowserStudioOperations
6
6
  } from "./index-cw0pnpg5.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ModelManager
3
- } from "./index-1x7bsdh6.mjs";
3
+ } from "./index-jrw61pkj.mjs";
4
4
 
5
5
  // src/components/Transcription/Models.tsx
6
6
  import {
@@ -3,7 +3,7 @@ import {
3
3
  play,
4
4
  restartStudio,
5
5
  seek
6
- } from "./index-3hgr6gjx.mjs";
6
+ } from "./index-tzxb8808.mjs";
7
7
  import {
8
8
  CodingAgentIcon,
9
9
  DEFAULT_PROPS_PATH_ACTIVE_CLASSNAME,
@@ -20,13 +20,13 @@ import {
20
20
  visualControlRef,
21
21
  visualControlStore,
22
22
  watchPublicFolder
23
- } from "./index-hy4xcgty.mjs";
23
+ } from "./index-41kqns5c.mjs";
24
24
  import {
25
25
  getBrowserStudioOperations,
26
26
  writeStaticFile
27
27
  } from "./index-cw0pnpg5.mjs";
28
28
  import"./index-5zrb1ft4.mjs";
29
- import"./index-jg13hf2g.mjs";
29
+ import"./index-k426ye99.mjs";
30
30
  import {
31
31
  __require,
32
32
  __toESM
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Studio
3
- } from "./index-x7t2y7ws.mjs";
4
- import"./index-sgtmgc4h.mjs";
5
- import"./index-te66vvrp.mjs";
6
- import"./index-6cvm9a65.mjs";
3
+ } from "./index-s848rffx.mjs";
4
+ import"./index-1089795y.mjs";
5
+ import"./index-mww32xc8.mjs";
6
+ import"./index-ggqpre9v.mjs";
7
7
  import"./index-9x6e1dq0.mjs";
8
- import"./index-3hgr6gjx.mjs";
9
- import"./index-hy4xcgty.mjs";
8
+ import"./index-tzxb8808.mjs";
9
+ import"./index-41kqns5c.mjs";
10
10
  import"./index-cw0pnpg5.mjs";
11
- import"./index-xhe2m2qr.mjs";
11
+ import"./index-0x13f28h.mjs";
12
12
  import"./index-5zrb1ft4.mjs";
13
- import"./index-jg13hf2g.mjs";
13
+ import"./index-k426ye99.mjs";
14
14
  import"./index-rcv7qkt5.mjs";
15
15
 
16
16
  // src/internals.ts
@@ -5,25 +5,25 @@ import {
5
5
  markErrorMessageAsLoggedByServer,
6
6
  setErrorsRef,
7
7
  startReportingRuntimeErrors
8
- } from "./index-x7t2y7ws.mjs";
9
- import"./index-sgtmgc4h.mjs";
10
- import"./index-te66vvrp.mjs";
8
+ } from "./index-s848rffx.mjs";
9
+ import"./index-1089795y.mjs";
10
+ import"./index-mww32xc8.mjs";
11
11
  import {
12
12
  reloadUrl,
13
13
  subscribeToPreviewServerEvents
14
- } from "./index-6cvm9a65.mjs";
14
+ } from "./index-ggqpre9v.mjs";
15
15
  import"./index-9x6e1dq0.mjs";
16
- import"./index-3hgr6gjx.mjs";
17
- import"./index-hy4xcgty.mjs";
16
+ import"./index-tzxb8808.mjs";
17
+ import"./index-41kqns5c.mjs";
18
18
  import"./index-cw0pnpg5.mjs";
19
- import"./index-xhe2m2qr.mjs";
19
+ import"./index-0x13f28h.mjs";
20
20
  import"./index-5zrb1ft4.mjs";
21
21
  import {
22
22
  BACKGROUND_HEX,
23
23
  HOT_MIDDLEWARE_ERROR_STYLE,
24
24
  HOT_MIDDLEWARE_WARNING_STYLE,
25
25
  WHITE
26
- } from "./index-jg13hf2g.mjs";
26
+ } from "./index-k426ye99.mjs";
27
27
  import"./index-rcv7qkt5.mjs";
28
28
 
29
29
  // src/previewEntry.tsx
@@ -2,7 +2,7 @@ import {
2
2
  BACKGROUND_HEX,
3
3
  TRANSPARENT,
4
4
  WHITE
5
- } from "./index-jg13hf2g.mjs";
5
+ } from "./index-k426ye99.mjs";
6
6
  import {
7
7
  __require,
8
8
  __toESM
@@ -170,7 +170,7 @@ var renderContent = (Root) => {
170
170
  logLevel: window.remotion_logLevel ?? "info",
171
171
  numberOfAudioTags: 0,
172
172
  audioLatencyHint: window.remotion_audioLatencyHint ?? "playback",
173
- previewSampleRate: window.remotion_previewSampleRate,
173
+ previewSampleRate: window.remotion_sampleRate,
174
174
  _experimentalKeepAudioContextAlive: false,
175
175
  children: /* @__PURE__ */ jsxs(Internals.RenderAssetManagerProvider, {
176
176
  collectAssets: null,
@@ -198,7 +198,7 @@ var renderContent = (Root) => {
198
198
  logLevel: window.remotion_logLevel ?? "info",
199
199
  numberOfAudioTags: 0,
200
200
  audioLatencyHint: window.remotion_audioLatencyHint ?? "playback",
201
- previewSampleRate: window.remotion_previewSampleRate,
201
+ previewSampleRate: window.remotion_sampleRate,
202
202
  _experimentalKeepAudioContextAlive: false,
203
203
  children: /* @__PURE__ */ jsx(Internals.RenderAssetManagerProvider, {
204
204
  collectAssets: null,
@@ -33,6 +33,7 @@ export declare const WHITE_ALPHA_60 = "rgba(255, 255, 255, 0.6)";
33
33
  export declare const WHITE_ALPHA_70 = "rgba(255, 255, 255, 0.7)";
34
34
  export declare const WHITE_ALPHA_72 = "rgba(255, 255, 255, 0.72)";
35
35
  export declare const WHITE_ALPHA_80 = "rgba(255, 255, 255, 0.8)";
36
+ export declare const WHITE_ALPHA_90 = "rgba(255, 255, 255, 0.9)";
36
37
  export declare const BLACK_ALPHA_10 = "rgba(0, 0, 0, 0.1)";
37
38
  export declare const BLACK_ALPHA_28 = "rgba(0, 0, 0, 0.28)";
38
39
  export declare const BLACK_ALPHA_30 = "rgba(0, 0, 0, 0.3)";
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BLUE_DISABLED = exports.BLUE_HOVERED = exports.BLUE = exports.WARNING_COLOR = exports.FAIL_COLOR = exports.BLACK_OPAQUE = exports.BLACK_ALPHA_90 = exports.BLACK_ALPHA_85 = exports.BLACK_ALPHA_80 = exports.BLACK_ALPHA_60 = exports.BLACK_ALPHA_50 = exports.BLACK_ALPHA_40 = exports.BLACK_ALPHA_30 = exports.BLACK_ALPHA_28 = exports.BLACK_ALPHA_10 = exports.WHITE_ALPHA_80 = exports.WHITE_ALPHA_72 = exports.WHITE_ALPHA_70 = exports.WHITE_ALPHA_60 = exports.WHITE_ALPHA_50 = exports.WHITE_ALPHA_45 = exports.WHITE_ALPHA_40 = exports.WHITE_ALPHA_35 = exports.WHITE_ALPHA_30 = exports.WHITE_ALPHA_25 = exports.WHITE_ALPHA_20 = exports.WHITE_ALPHA_15 = exports.WHITE_ALPHA_12 = exports.WHITE_ALPHA_10 = exports.WHITE_ALPHA_08 = exports.WHITE_ALPHA_06 = exports.WHITE_ALPHA_05 = exports.RULER_COLOR = exports.LIGHT_TEXT = exports.SELECTED_BACKGROUND = exports.LIGHT_COLOR = exports.INPUT_BACKGROUND = exports.BACKGROUND__TRANSPARENT = exports.BACKGROUND_HEX = exports.BACKGROUND = exports.BLACK_FULL_HEX = exports.BLACK_HEX = exports.WHITE_FULL_HEX = exports.WHITE_HEX = exports.CURRENT_COLOR_LOWERCASE = exports.CURRENT_COLOR = exports.TRANSPARENT = exports.RED = exports.WHITE = exports.BLACK = void 0;
4
- exports.FOCUS_BOX_SHADOW = exports.HOT_MIDDLEWARE_WARNING_STYLE = exports.HOT_MIDDLEWARE_ERROR_STYLE = exports.NOTIFICATION_BORDER = exports.COLOR_PICKER_HANDLE_SHADOW = exports.COLOR_PICKER_POPUP_SHADOW = exports.SERVER_DISCONNECTED_SHADOW = exports.NOTIFICATION_SHADOW = exports.SHADOW_BLACK_ALPHA_50_TOWARDS_TOP = exports.SHADOW_BLACK_ALPHA_50_TOWARDS_BOTTOM = exports.SHADOW_BLACK = exports.BORDER_TIMELINE_MARQUEE_BLUE = exports.BORDER_TIMELINE_DROP_BLUE = exports.BORDER_INFO_BLUE = exports.BORDER_WHITE_ALPHA_20 = exports.BORDER_WHITE_ALPHA_12 = exports.BORDER_BLACK_ALPHA_60 = exports.BORDER_BLACK_ALPHA_50 = exports.BORDER_TRANSPARENT_2PX = exports.BORDER_CURRENT_COLOR = exports.BORDER_WHITE_2PX = exports.BORDER_WHITE = exports.BORDER_BLACK = exports.INFO_BLUE_BACKGROUND = exports.EASING_SELECTED_BACKGROUND = exports.TIMELINE_MARQUEE_BLUE_ALPHA_75 = exports.TIMELINE_MARQUEE_BLUE_ALPHA_16 = exports.TIMELINE_DROP_BLUE_ALPHA_75 = exports.TIMELINE_DROP_BLUE_ALPHA_16 = exports.TIMELINE_DROP_BLUE_ALPHA_12 = exports.TIMELINE_PLAYHEAD_COLOR = exports.TIMELINE_BLUE = exports.TIMELINE_SELECTED_LABEL_BACKGROUND_COLOR = exports.TIMELINE_SELECTED_BACKGROUND_COLOR = exports.TIMELINE_NEGATIVE_START_BORDER_COLOR = exports.TIMELINE_NEGATIVE_START_BACKGROUND_COLOR = exports.TIMELINE_BACKGROUND_COLOR = exports.SERVER_DISCONNECTED_BACKGROUND = exports.INFO_BLUE = exports.ERROR_LINK_COLOR = exports.ERROR_CODE_FRAME_LINE_BACKGROUND = exports.ERROR_CODE_FRAME_BACKGROUND = exports.RENDER_STATUS_BACKGROUND = exports.NOTIFICATION_BACKGROUND = exports.KEYBOARD_SHORTCUT_KEY_COLOR = exports.LIGHT_GRAY = exports.TIMELINE_TRACK_SEPARATOR = exports.LINE_COLOR = exports.SELECTED_GUIDE = exports.UNSELECTED_GUIDE = void 0;
5
- exports.getBackgroundFromHoverState = exports.TIMELINE_VIDEO_GRADIENT = exports.TIMELINE_AUDIO_GRADIENT = exports.LOOPED_INDICATOR_DROP_SHADOW = exports.SELECTED_OUTLINE_UV_DROP_SHADOW = exports.SELECTED_OUTLINE_DROP_SHADOW = exports.ERROR_MESSAGE_MASK_IMAGE = exports.COLOR_PICKER_HUE_GRADIENT = exports.COLOR_PICKER_ALPHA_TRANSPARENT = exports.COLOR_PICKER_SATURATION_BLACK_GRADIENT = exports.COLOR_PICKER_SATURATION_VALUE_GRADIENT = exports.COLOR_PICKER_CHECKER_BACKGROUND_COLOR = exports.COLOR_PICKER_CHECKER_BACKGROUND_IMAGE = exports.CHECKERBOARD_BACKGROUND_IMAGE = void 0;
3
+ exports.BLUE_HOVERED = exports.BLUE = exports.WARNING_COLOR = exports.FAIL_COLOR = exports.BLACK_OPAQUE = exports.BLACK_ALPHA_90 = exports.BLACK_ALPHA_85 = exports.BLACK_ALPHA_80 = exports.BLACK_ALPHA_60 = exports.BLACK_ALPHA_50 = exports.BLACK_ALPHA_40 = exports.BLACK_ALPHA_30 = exports.BLACK_ALPHA_28 = exports.BLACK_ALPHA_10 = exports.WHITE_ALPHA_90 = exports.WHITE_ALPHA_80 = exports.WHITE_ALPHA_72 = exports.WHITE_ALPHA_70 = exports.WHITE_ALPHA_60 = exports.WHITE_ALPHA_50 = exports.WHITE_ALPHA_45 = exports.WHITE_ALPHA_40 = exports.WHITE_ALPHA_35 = exports.WHITE_ALPHA_30 = exports.WHITE_ALPHA_25 = exports.WHITE_ALPHA_20 = exports.WHITE_ALPHA_15 = exports.WHITE_ALPHA_12 = exports.WHITE_ALPHA_10 = exports.WHITE_ALPHA_08 = exports.WHITE_ALPHA_06 = exports.WHITE_ALPHA_05 = exports.RULER_COLOR = exports.LIGHT_TEXT = exports.SELECTED_BACKGROUND = exports.LIGHT_COLOR = exports.INPUT_BACKGROUND = exports.BACKGROUND__TRANSPARENT = exports.BACKGROUND_HEX = exports.BACKGROUND = exports.BLACK_FULL_HEX = exports.BLACK_HEX = exports.WHITE_FULL_HEX = exports.WHITE_HEX = exports.CURRENT_COLOR_LOWERCASE = exports.CURRENT_COLOR = exports.TRANSPARENT = exports.RED = exports.WHITE = exports.BLACK = void 0;
4
+ exports.HOT_MIDDLEWARE_WARNING_STYLE = exports.HOT_MIDDLEWARE_ERROR_STYLE = exports.NOTIFICATION_BORDER = exports.COLOR_PICKER_HANDLE_SHADOW = exports.COLOR_PICKER_POPUP_SHADOW = exports.SERVER_DISCONNECTED_SHADOW = exports.NOTIFICATION_SHADOW = exports.SHADOW_BLACK_ALPHA_50_TOWARDS_TOP = exports.SHADOW_BLACK_ALPHA_50_TOWARDS_BOTTOM = exports.SHADOW_BLACK = exports.BORDER_TIMELINE_MARQUEE_BLUE = exports.BORDER_TIMELINE_DROP_BLUE = exports.BORDER_INFO_BLUE = exports.BORDER_WHITE_ALPHA_20 = exports.BORDER_WHITE_ALPHA_12 = exports.BORDER_BLACK_ALPHA_60 = exports.BORDER_BLACK_ALPHA_50 = exports.BORDER_TRANSPARENT_2PX = exports.BORDER_CURRENT_COLOR = exports.BORDER_WHITE_2PX = exports.BORDER_WHITE = exports.BORDER_BLACK = exports.INFO_BLUE_BACKGROUND = exports.EASING_SELECTED_BACKGROUND = exports.TIMELINE_MARQUEE_BLUE_ALPHA_75 = exports.TIMELINE_MARQUEE_BLUE_ALPHA_16 = exports.TIMELINE_DROP_BLUE_ALPHA_75 = exports.TIMELINE_DROP_BLUE_ALPHA_16 = exports.TIMELINE_DROP_BLUE_ALPHA_12 = exports.TIMELINE_PLAYHEAD_COLOR = exports.TIMELINE_BLUE = exports.TIMELINE_SELECTED_LABEL_BACKGROUND_COLOR = exports.TIMELINE_SELECTED_BACKGROUND_COLOR = exports.TIMELINE_NEGATIVE_START_BORDER_COLOR = exports.TIMELINE_NEGATIVE_START_BACKGROUND_COLOR = exports.TIMELINE_BACKGROUND_COLOR = exports.SERVER_DISCONNECTED_BACKGROUND = exports.INFO_BLUE = exports.ERROR_LINK_COLOR = exports.ERROR_CODE_FRAME_LINE_BACKGROUND = exports.ERROR_CODE_FRAME_BACKGROUND = exports.RENDER_STATUS_BACKGROUND = exports.NOTIFICATION_BACKGROUND = exports.KEYBOARD_SHORTCUT_KEY_COLOR = exports.LIGHT_GRAY = exports.TIMELINE_TRACK_SEPARATOR = exports.LINE_COLOR = exports.SELECTED_GUIDE = exports.UNSELECTED_GUIDE = exports.BLUE_DISABLED = void 0;
5
+ exports.getBackgroundFromHoverState = exports.TIMELINE_VIDEO_GRADIENT = exports.TIMELINE_AUDIO_GRADIENT = exports.LOOPED_INDICATOR_DROP_SHADOW = exports.SELECTED_OUTLINE_UV_DROP_SHADOW = exports.SELECTED_OUTLINE_DROP_SHADOW = exports.ERROR_MESSAGE_MASK_IMAGE = exports.COLOR_PICKER_HUE_GRADIENT = exports.COLOR_PICKER_ALPHA_TRANSPARENT = exports.COLOR_PICKER_SATURATION_BLACK_GRADIENT = exports.COLOR_PICKER_SATURATION_VALUE_GRADIENT = exports.COLOR_PICKER_CHECKER_BACKGROUND_COLOR = exports.COLOR_PICKER_CHECKER_BACKGROUND_IMAGE = exports.CHECKERBOARD_BACKGROUND_IMAGE = exports.FOCUS_BOX_SHADOW = void 0;
6
6
  exports.BLACK = 'black';
7
7
  exports.WHITE = 'white';
8
8
  exports.RED = 'red';
@@ -38,6 +38,7 @@ exports.WHITE_ALPHA_60 = 'rgba(255, 255, 255, 0.6)';
38
38
  exports.WHITE_ALPHA_70 = 'rgba(255, 255, 255, 0.7)';
39
39
  exports.WHITE_ALPHA_72 = 'rgba(255, 255, 255, 0.72)';
40
40
  exports.WHITE_ALPHA_80 = 'rgba(255, 255, 255, 0.8)';
41
+ exports.WHITE_ALPHA_90 = 'rgba(255, 255, 255, 0.9)';
41
42
  exports.BLACK_ALPHA_10 = 'rgba(0, 0, 0, 0.1)';
42
43
  exports.BLACK_ALPHA_28 = 'rgba(0, 0, 0, 0.28)';
43
44
  exports.BLACK_ALPHA_30 = 'rgba(0, 0, 0, 0.3)';
@@ -5,6 +5,10 @@ export declare const getGitSourceName: (gitSource: GitSource) => string;
5
5
  export declare const getGitSourceBranchUrl: (gitSource: GitSource) => string;
6
6
  export declare const getGitRefUrl: (gitSource: GitSource, originalLocation: OriginalPosition, remotionRoot: string) => string;
7
7
  export declare const hasReadOnlyGitSource: () => boolean;
8
+ export type DefaultOpenInTarget = 'editor' | 'git-source';
9
+ export declare const getDefaultOpenInTarget: ({ canOpenInEditor, }: {
10
+ readonly canOpenInEditor: boolean;
11
+ }) => DefaultOpenInTarget | null;
8
12
  export declare const openGitSource: ({ folder, location, }: {
9
13
  folder: boolean;
10
14
  location: OriginalPosition | null;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getGitMenuItem = exports.openGitSource = exports.hasReadOnlyGitSource = exports.getGitRefUrl = exports.getGitSourceBranchUrl = exports.getGitSourceName = void 0;
3
+ exports.getGitMenuItem = exports.openGitSource = exports.getDefaultOpenInTarget = exports.hasReadOnlyGitSource = exports.getGitRefUrl = exports.getGitSourceBranchUrl = exports.getGitSourceName = void 0;
4
4
  const getGitSourceName = (gitSource) => {
5
5
  if (gitSource.type === 'github') {
6
6
  return 'GitHub';
@@ -56,6 +56,13 @@ const hasReadOnlyGitSource = () => {
56
56
  return Boolean(window.remotion_isReadOnlyStudio && window.remotion_gitSource);
57
57
  };
58
58
  exports.hasReadOnlyGitSource = hasReadOnlyGitSource;
59
+ const getDefaultOpenInTarget = ({ canOpenInEditor, }) => {
60
+ if (canOpenInEditor) {
61
+ return 'editor';
62
+ }
63
+ return (0, exports.hasReadOnlyGitSource)() ? 'git-source' : null;
64
+ };
65
+ exports.getDefaultOpenInTarget = getDefaultOpenInTarget;
59
66
  const openGitSource = ({ folder, location, }) => {
60
67
  const gitSource = window.remotion_gitSource;
61
68
  if (!gitSource) {
@@ -1,8 +1,8 @@
1
1
  import type { TSequence } from 'remotion';
2
- export type SequenceDoubleClickAction = 'open-connected-composition' | 'open-in-editor';
3
- export declare const getSequenceDoubleClickAction: ({ button, canOpenInEditor, numberOfConnectedCompositions, sequenceWasDragged, }: {
2
+ export type SequenceDoubleClickAction = 'open-connected-composition' | 'open-source';
3
+ export declare const getSequenceDoubleClickAction: ({ button, canOpenSource, numberOfConnectedCompositions, sequenceWasDragged, }: {
4
4
  readonly button: number;
5
- readonly canOpenInEditor: boolean;
5
+ readonly canOpenSource: boolean;
6
6
  readonly numberOfConnectedCompositions: number;
7
7
  readonly sequenceWasDragged: boolean;
8
8
  }) => SequenceDoubleClickAction | null;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getConnectedCompositionFrame = exports.getSequenceDoubleClickAction = void 0;
4
- const getSequenceDoubleClickAction = ({ button, canOpenInEditor, numberOfConnectedCompositions, sequenceWasDragged, }) => {
4
+ const getSequenceDoubleClickAction = ({ button, canOpenSource, numberOfConnectedCompositions, sequenceWasDragged, }) => {
5
5
  // The browser still fires `dblclick` when the second press of a
6
6
  // double-click turned into a drag. That gesture is a drag, not a
7
7
  // double-click.
@@ -14,7 +14,7 @@ const getSequenceDoubleClickAction = ({ button, canOpenInEditor, numberOfConnect
14
14
  if (numberOfConnectedCompositions === 1) {
15
15
  return 'open-connected-composition';
16
16
  }
17
- return canOpenInEditor ? 'open-in-editor' : null;
17
+ return canOpenSource ? 'open-source' : null;
18
18
  };
19
19
  exports.getSequenceDoubleClickAction = getSequenceDoubleClickAction;
20
20
  const getConnectedCompositionFrame = ({ timelinePosition, sequence, sequenceFrameOffset, }) => {
@@ -5,7 +5,7 @@ const remotion_1 = require("remotion");
5
5
  const scroll_to_default_props_path_1 = require("../components/RenderModal/SchemaEditor/scroll-to-default-props-path");
6
6
  const colors_1 = require("./colors");
7
7
  const hoverable_1 = require("./hoverable");
8
- const prism_tomorrow_1 = require("./prism-tomorrow");
8
+ const prism_vsc_dark_plus_1 = require("./prism-vsc-dark-plus");
9
9
  const makeDefaultGlobalCSS = () => {
10
10
  const dragAreaFactor = 2;
11
11
  const fromMiddle = 50 / dragAreaFactor;
@@ -168,7 +168,7 @@ const injectCSS = () => {
168
168
  if (injected) {
169
169
  return;
170
170
  }
171
- remotion_1.Internals.CSSUtils.injectCSS(prism_tomorrow_1.prismTomorrow);
171
+ remotion_1.Internals.CSSUtils.injectCSS(prism_vsc_dark_plus_1.prismVscDarkPlus);
172
172
  remotion_1.Internals.CSSUtils.injectCSS(makeDefaultGlobalCSS());
173
173
  injected = true;
174
174
  };
@@ -1,4 +1,5 @@
1
1
  export type PointerSessionEndReason = 'pointerup' | 'pointercancel' | 'lostpointercapture' | 'blur' | 'visibilitychange' | 'buttons-released' | 'manual';
2
+ export declare const isPointerSessionRelease: (reason: PointerSessionEndReason, event: PointerEvent | null) => event is PointerEvent;
2
3
  type PointerSessionEvent = Pick<PointerEvent, 'button' | 'pointerId'>;
3
4
  export declare const startCapturedPointerSession: ({ event, captureTarget, onMove, onEnd, }: {
4
5
  event: PointerSessionEvent;
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.observePointerRelease = exports.startDeferredCapturedPointerSession = exports.startCapturedPointerSession = void 0;
3
+ exports.observePointerRelease = exports.startDeferredCapturedPointerSession = exports.startCapturedPointerSession = exports.isPointerSessionRelease = void 0;
4
+ const isPointerSessionRelease = (reason, event) => {
5
+ if (event === null) {
6
+ return false;
7
+ }
8
+ return (reason === 'pointerup' ||
9
+ reason === 'buttons-released' ||
10
+ (reason === 'lostpointercapture' && event.buttons === 0));
11
+ };
12
+ exports.isPointerSessionRelease = isPointerSessionRelease;
4
13
  const getButtonMask = (button) => {
5
14
  if (button === 0) {
6
15
  return 1;
@@ -0,0 +1 @@
1
+ export declare const prismVscDarkPlus = "pre[class*=\"language-\"],\ncode[class*=\"language-\"] {\n\tcolor: #d4d4d4;\n\tfont-size: 13px;\n\ttext-shadow: none;\n\tfont-family: Menlo, Monaco, Consolas, \"Andale Mono\", \"Ubuntu Mono\", \"Courier New\", monospace;\n\tdirection: ltr;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tline-height: 1.5;\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\npre[class*=\"language-\"]::selection,\ncode[class*=\"language-\"]::selection,\npre[class*=\"language-\"] *::selection,\ncode[class*=\"language-\"] *::selection {\n\ttext-shadow: none;\n\tbackground: #264F78;\n}\n\n@media print {\n\tpre[class*=\"language-\"],\n\tcode[class*=\"language-\"] {\n\t\ttext-shadow: none;\n\t}\n}\n\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tbackground: #1e1e1e;\n}\n\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: .1em .3em;\n\tborder-radius: .3em;\n\tcolor: #db4c69;\n\tbackground: #1e1e1e;\n}\n/*********************************************************\n* Tokens\n*/\n.namespace {\n\topacity: .7;\n}\n\n.token.doctype .token.doctype-tag {\n\tcolor: #569CD6;\n}\n\n.token.doctype .token.name {\n\tcolor: #9cdcfe;\n}\n\n.token.comment,\n.token.prolog {\n\tcolor: #6a9955;\n}\n\n.token.punctuation,\n.language-html .language-css .token.punctuation,\n.language-html .language-javascript .token.punctuation {\n\tcolor: #d4d4d4;\n}\n\n.token.property,\n.token.tag,\n.token.boolean,\n.token.number,\n.token.constant,\n.token.symbol,\n.token.inserted,\n.token.unit {\n\tcolor: #b5cea8;\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin,\n.token.deleted {\n\tcolor: #ce9178;\n}\n\n.language-css .token.string.url {\n\ttext-decoration: underline;\n}\n\n.token.operator,\n.token.entity {\n\tcolor: #d4d4d4;\n}\n\n.token.operator.arrow {\n\tcolor: #569CD6;\n}\n\n.token.atrule {\n\tcolor: #ce9178;\n}\n\n.token.atrule .token.rule {\n\tcolor: #c586c0;\n}\n\n.token.atrule .token.url {\n\tcolor: #9cdcfe;\n}\n\n.token.atrule .token.url .token.function {\n\tcolor: #dcdcaa;\n}\n\n.token.atrule .token.url .token.punctuation {\n\tcolor: #d4d4d4;\n}\n\n.token.keyword {\n\tcolor: #569CD6;\n}\n\n.token.keyword.module,\n.token.keyword.control-flow {\n\tcolor: #c586c0;\n}\n\n.token.function,\n.token.function .token.maybe-class-name {\n\tcolor: #dcdcaa;\n}\n\n.token.regex {\n\tcolor: #d16969;\n}\n\n.token.important {\n\tcolor: #569cd6;\n}\n\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.constant {\n\tcolor: #9cdcfe;\n}\n\n.token.class-name,\n.token.maybe-class-name {\n\tcolor: #4ec9b0;\n}\n\n.token.console {\n\tcolor: #9cdcfe;\n}\n\n.token.parameter {\n\tcolor: #9cdcfe;\n}\n\n.token.interpolation {\n\tcolor: #9cdcfe;\n}\n\n.token.punctuation.interpolation-punctuation {\n\tcolor: #569cd6;\n}\n\n.token.boolean {\n\tcolor: #569cd6;\n}\n\n.token.property,\n.token.variable,\n.token.imports .token.maybe-class-name,\n.token.exports .token.maybe-class-name {\n\tcolor: #9cdcfe;\n}\n\n.token.selector {\n\tcolor: #d7ba7d;\n}\n\n.token.escape {\n\tcolor: #d7ba7d;\n}\n\n.token.tag {\n\tcolor: #569cd6;\n}\n\n.token.tag .token.punctuation {\n\tcolor: #808080;\n}\n\n.token.cdata {\n\tcolor: #808080;\n}\n\n.token.attr-name {\n\tcolor: #9cdcfe;\n}\n\n.token.attr-value,\n.token.attr-value .token.punctuation {\n\tcolor: #ce9178;\n}\n\n.token.attr-value .token.punctuation.attr-equals {\n\tcolor: #d4d4d4;\n}\n\n.token.entity {\n\tcolor: #569cd6;\n}\n\n.token.namespace {\n\tcolor: #4ec9b0;\n}\n/*********************************************************\n* Language Specific\n*/\n\npre[class*=\"language-javascript\"],\ncode[class*=\"language-javascript\"],\npre[class*=\"language-jsx\"],\ncode[class*=\"language-jsx\"],\npre[class*=\"language-typescript\"],\ncode[class*=\"language-typescript\"],\npre[class*=\"language-tsx\"],\ncode[class*=\"language-tsx\"] {\n\tcolor: #9cdcfe;\n}\n\npre[class*=\"language-css\"],\ncode[class*=\"language-css\"] {\n\tcolor: #ce9178;\n}\n\npre[class*=\"language-html\"],\ncode[class*=\"language-html\"] {\n\tcolor: #d4d4d4;\n}\n\n.language-regex .token.anchor {\n\tcolor: #dcdcaa;\n}\n\n.language-html .token.punctuation {\n\tcolor: #808080;\n}\n/*********************************************************\n* Line highlighting\n*/\npre[class*=\"language-\"] > code[class*=\"language-\"] {\n\tposition: relative;\n\tz-index: 1;\n}\n\n.line-highlight.line-highlight {\n\tbackground: #f7ebc6;\n\tbox-shadow: inset 5px 0 0 #f7d87c;\n\tz-index: 0;\n}\n";
@@ -0,0 +1,305 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.prismVscDarkPlus = void 0;
4
+ // Unmodified prism-themes@1.9.0/themes/prism-vsc-dark-plus.css, stored as a
5
+ // string for Studio’s CSS injection (including Browser Studio, which has no
6
+ // CSS loader).
7
+ /*
8
+ The MIT License (MIT)
9
+
10
+ Copyright (c) 2015 PrismJS
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ */
30
+ exports.prismVscDarkPlus = `pre[class*="language-"],
31
+ code[class*="language-"] {
32
+ color: #d4d4d4;
33
+ font-size: 13px;
34
+ text-shadow: none;
35
+ font-family: Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace;
36
+ direction: ltr;
37
+ text-align: left;
38
+ white-space: pre;
39
+ word-spacing: normal;
40
+ word-break: normal;
41
+ line-height: 1.5;
42
+ -moz-tab-size: 4;
43
+ -o-tab-size: 4;
44
+ tab-size: 4;
45
+ -webkit-hyphens: none;
46
+ -moz-hyphens: none;
47
+ -ms-hyphens: none;
48
+ hyphens: none;
49
+ }
50
+
51
+ pre[class*="language-"]::selection,
52
+ code[class*="language-"]::selection,
53
+ pre[class*="language-"] *::selection,
54
+ code[class*="language-"] *::selection {
55
+ text-shadow: none;
56
+ background: #264F78;
57
+ }
58
+
59
+ @media print {
60
+ pre[class*="language-"],
61
+ code[class*="language-"] {
62
+ text-shadow: none;
63
+ }
64
+ }
65
+
66
+ pre[class*="language-"] {
67
+ padding: 1em;
68
+ margin: .5em 0;
69
+ overflow: auto;
70
+ background: #1e1e1e;
71
+ }
72
+
73
+ :not(pre) > code[class*="language-"] {
74
+ padding: .1em .3em;
75
+ border-radius: .3em;
76
+ color: #db4c69;
77
+ background: #1e1e1e;
78
+ }
79
+ /*********************************************************
80
+ * Tokens
81
+ */
82
+ .namespace {
83
+ opacity: .7;
84
+ }
85
+
86
+ .token.doctype .token.doctype-tag {
87
+ color: #569CD6;
88
+ }
89
+
90
+ .token.doctype .token.name {
91
+ color: #9cdcfe;
92
+ }
93
+
94
+ .token.comment,
95
+ .token.prolog {
96
+ color: #6a9955;
97
+ }
98
+
99
+ .token.punctuation,
100
+ .language-html .language-css .token.punctuation,
101
+ .language-html .language-javascript .token.punctuation {
102
+ color: #d4d4d4;
103
+ }
104
+
105
+ .token.property,
106
+ .token.tag,
107
+ .token.boolean,
108
+ .token.number,
109
+ .token.constant,
110
+ .token.symbol,
111
+ .token.inserted,
112
+ .token.unit {
113
+ color: #b5cea8;
114
+ }
115
+
116
+ .token.selector,
117
+ .token.attr-name,
118
+ .token.string,
119
+ .token.char,
120
+ .token.builtin,
121
+ .token.deleted {
122
+ color: #ce9178;
123
+ }
124
+
125
+ .language-css .token.string.url {
126
+ text-decoration: underline;
127
+ }
128
+
129
+ .token.operator,
130
+ .token.entity {
131
+ color: #d4d4d4;
132
+ }
133
+
134
+ .token.operator.arrow {
135
+ color: #569CD6;
136
+ }
137
+
138
+ .token.atrule {
139
+ color: #ce9178;
140
+ }
141
+
142
+ .token.atrule .token.rule {
143
+ color: #c586c0;
144
+ }
145
+
146
+ .token.atrule .token.url {
147
+ color: #9cdcfe;
148
+ }
149
+
150
+ .token.atrule .token.url .token.function {
151
+ color: #dcdcaa;
152
+ }
153
+
154
+ .token.atrule .token.url .token.punctuation {
155
+ color: #d4d4d4;
156
+ }
157
+
158
+ .token.keyword {
159
+ color: #569CD6;
160
+ }
161
+
162
+ .token.keyword.module,
163
+ .token.keyword.control-flow {
164
+ color: #c586c0;
165
+ }
166
+
167
+ .token.function,
168
+ .token.function .token.maybe-class-name {
169
+ color: #dcdcaa;
170
+ }
171
+
172
+ .token.regex {
173
+ color: #d16969;
174
+ }
175
+
176
+ .token.important {
177
+ color: #569cd6;
178
+ }
179
+
180
+ .token.italic {
181
+ font-style: italic;
182
+ }
183
+
184
+ .token.constant {
185
+ color: #9cdcfe;
186
+ }
187
+
188
+ .token.class-name,
189
+ .token.maybe-class-name {
190
+ color: #4ec9b0;
191
+ }
192
+
193
+ .token.console {
194
+ color: #9cdcfe;
195
+ }
196
+
197
+ .token.parameter {
198
+ color: #9cdcfe;
199
+ }
200
+
201
+ .token.interpolation {
202
+ color: #9cdcfe;
203
+ }
204
+
205
+ .token.punctuation.interpolation-punctuation {
206
+ color: #569cd6;
207
+ }
208
+
209
+ .token.boolean {
210
+ color: #569cd6;
211
+ }
212
+
213
+ .token.property,
214
+ .token.variable,
215
+ .token.imports .token.maybe-class-name,
216
+ .token.exports .token.maybe-class-name {
217
+ color: #9cdcfe;
218
+ }
219
+
220
+ .token.selector {
221
+ color: #d7ba7d;
222
+ }
223
+
224
+ .token.escape {
225
+ color: #d7ba7d;
226
+ }
227
+
228
+ .token.tag {
229
+ color: #569cd6;
230
+ }
231
+
232
+ .token.tag .token.punctuation {
233
+ color: #808080;
234
+ }
235
+
236
+ .token.cdata {
237
+ color: #808080;
238
+ }
239
+
240
+ .token.attr-name {
241
+ color: #9cdcfe;
242
+ }
243
+
244
+ .token.attr-value,
245
+ .token.attr-value .token.punctuation {
246
+ color: #ce9178;
247
+ }
248
+
249
+ .token.attr-value .token.punctuation.attr-equals {
250
+ color: #d4d4d4;
251
+ }
252
+
253
+ .token.entity {
254
+ color: #569cd6;
255
+ }
256
+
257
+ .token.namespace {
258
+ color: #4ec9b0;
259
+ }
260
+ /*********************************************************
261
+ * Language Specific
262
+ */
263
+
264
+ pre[class*="language-javascript"],
265
+ code[class*="language-javascript"],
266
+ pre[class*="language-jsx"],
267
+ code[class*="language-jsx"],
268
+ pre[class*="language-typescript"],
269
+ code[class*="language-typescript"],
270
+ pre[class*="language-tsx"],
271
+ code[class*="language-tsx"] {
272
+ color: #9cdcfe;
273
+ }
274
+
275
+ pre[class*="language-css"],
276
+ code[class*="language-css"] {
277
+ color: #ce9178;
278
+ }
279
+
280
+ pre[class*="language-html"],
281
+ code[class*="language-html"] {
282
+ color: #d4d4d4;
283
+ }
284
+
285
+ .language-regex .token.anchor {
286
+ color: #dcdcaa;
287
+ }
288
+
289
+ .language-html .token.punctuation {
290
+ color: #808080;
291
+ }
292
+ /*********************************************************
293
+ * Line highlighting
294
+ */
295
+ pre[class*="language-"] > code[class*="language-"] {
296
+ position: relative;
297
+ z-index: 1;
298
+ }
299
+
300
+ .line-highlight.line-highlight {
301
+ background: #f7ebc6;
302
+ box-shadow: inset 5px 0 0 #f7d87c;
303
+ z-index: 0;
304
+ }
305
+ `;
@@ -2,6 +2,6 @@ export declare const DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS = 300;
2
2
  export declare const getStudioAskAIEnabled: () => boolean;
3
3
  export declare const getStudioInteractivityEnabled: () => boolean;
4
4
  export declare const getStudioKeyboardShortcutsEnabled: () => boolean;
5
- export declare const getStudioKeyboardShortcuts: () => Partial<Record<"askAI" | "clearInOutPoints" | "copyEffectsAndValues" | "cutEffects" | "deleteSelection" | "duplicateSequences" | "enterFullscreen" | "goToFrame" | "jumpToBeginning" | "jumpToEnd" | "nextComposition" | "pauseAndReturnToPlaybackStart" | "pausePlayback" | "playForward" | "playPause" | "previousComposition" | "quickSwitcher" | "redo" | "render" | "resetZoom" | "reversePlayback" | "selectAllSequenceRows" | "selectOpacityProp" | "selectRotateProp" | "selectScaleProp" | "selectTranslateProp" | "setInPoint" | "setOutPoint" | "showKeyboardShortcuts" | "toggleBothSidebars" | "toggleCheckerboard" | "toggleLeftSidebar" | "toggleRightSidebar" | "toggleSnapping" | "undo" | "zoomIn" | "zoomOut", import("@remotion/studio-shared").StudioKeyboardShortcutValue>> | null;
5
+ export declare const getStudioKeyboardShortcuts: () => Partial<Record<"askAI" | "clearInOutPoints" | "copyEffectsAndValues" | "cutEffects" | "deleteSelection" | "duplicateSequences" | "enterFullscreen" | "goToFrame" | "jumpToBeginning" | "jumpToEnd" | "nextComposition" | "pauseAndReturnToPlaybackStart" | "pausePlayback" | "pickColor" | "playForward" | "playPause" | "previousComposition" | "quickSwitcher" | "redo" | "render" | "resetZoom" | "reversePlayback" | "selectAllSequenceRows" | "selectOpacityProp" | "selectRotateProp" | "selectScaleProp" | "selectTranslateProp" | "setInPoint" | "setOutPoint" | "showKeyboardShortcuts" | "toggleBothSidebars" | "toggleCheckerboard" | "toggleLeftSidebar" | "toggleLoop" | "toggleMute" | "toggleOutlines" | "toggleRightSidebar" | "toggleRulersAndGuides" | "toggleSnapping" | "undo" | "zoomIn" | "zoomOut", import("@remotion/studio-shared").StudioKeyboardShortcutValue>> | null;
6
6
  export declare const getStudioMaxTimelineTracks: () => number | null;
7
7
  export declare const getStudioBufferStateDelayInMilliseconds: () => number;
@@ -37,6 +37,7 @@ export declare const useCreateComposition: ({ compositions, durationInFrames, fo
37
37
  readonly data: CanvasCaptureData;
38
38
  } | null;
39
39
  };
40
+ compositionId: string;
40
41
  createComposition: ({ signal, symbolicatedStack, }: {
41
42
  signal: AbortSignal;
42
43
  symbolicatedStack: SymbolicatedStackFrame | null;