@remotion/studio 4.0.527 → 4.0.529

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 (367) hide show
  1. package/dist/Studio.js +2 -0
  2. package/dist/components/AgentPrompt.js +3 -4
  3. package/dist/components/AppLaunchButton.d.ts +0 -1
  4. package/dist/components/AppLaunchButton.js +2 -5
  5. package/dist/components/AssetAudioVolume.js +2 -2
  6. package/dist/components/AssetSelectorItem.js +5 -5
  7. package/dist/components/AudioWaveform.d.ts +1 -0
  8. package/dist/components/AudioWaveform.js +10 -14
  9. package/dist/components/Button.d.ts +1 -1
  10. package/dist/components/Button.js +2 -2
  11. package/dist/components/CaptionInspector.js +1 -1
  12. package/dist/components/CaptionTextEditor.js +1 -1
  13. package/dist/components/CheckboardToggle.js +1 -1
  14. package/dist/components/CodeFrame.js +1 -1
  15. package/dist/components/CodingAgentButton.js +1 -1
  16. package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
  17. package/dist/components/ColorPicker/ColorPicker.js +2 -2
  18. package/dist/components/ColorPicker/ColorPickerPopup.js +1 -1
  19. package/dist/components/ColorPicker/checker.d.ts +1 -1
  20. package/dist/components/CompactExplanation.js +3 -3
  21. package/dist/components/CompositionSelectorItem.js +2 -2
  22. package/dist/components/ConfigSelect.js +1 -1
  23. package/dist/components/ConfigureDefaultEditorModal.js +2 -2
  24. package/dist/components/ControlButton.d.ts +0 -1
  25. package/dist/components/ControlButton.js +2 -2
  26. package/dist/components/CurrentAsset.js +4 -3
  27. package/dist/components/EditorRuler/Ruler.js +6 -3
  28. package/dist/components/EffectPickerModal.js +69 -43
  29. package/dist/components/ElementInstallConfirmation.js +3 -3
  30. package/dist/components/ElementLibrariesSettings.d.ts +2 -0
  31. package/dist/components/ElementLibrariesSettings.js +200 -0
  32. package/dist/components/ElementLibraryModal.js +1 -1
  33. package/dist/components/FramePersistor.js +3 -3
  34. package/dist/components/FullscreenToggle.js +1 -1
  35. package/dist/components/InitialCompositionLoader.js +5 -3
  36. package/dist/components/InlineAction.d.ts +2 -2
  37. package/dist/components/InlineAction.js +2 -3
  38. package/dist/components/InlineEditableTitle.d.ts +1 -1
  39. package/dist/components/InlineEditableTitle.js +3 -3
  40. package/dist/components/InspectorLocationCopy.js +1 -1
  41. package/dist/components/InspectorOpenInEditor.js +14 -3
  42. package/dist/components/InspectorPanel/AlignmentControls.js +31 -12
  43. package/dist/components/InspectorPanel/CollapsibleInspectorSectionHeader.js +1 -1
  44. package/dist/components/InspectorPanel/CompositionInspector.js +1 -5
  45. package/dist/components/InspectorPanel/CompositionMetadata.js +4 -4
  46. package/dist/components/InspectorPanel/EasingInspector.js +7 -3
  47. package/dist/components/InspectorPanel/ElementLibraryButton.js +3 -14
  48. package/dist/components/InspectorPanel/KeyframeEasingNavigator.js +6 -8
  49. package/dist/components/InspectorPanel/KeyframeInspector.js +29 -25
  50. package/dist/components/InspectorPanel/KeyframeSettings.js +16 -11
  51. package/dist/components/InspectorPanel/MultiSequenceField.js +1 -1
  52. package/dist/components/InspectorPanel/MultiSequenceInspector.js +2 -7
  53. package/dist/components/InspectorPanel/MultiSequenceNumberField.js +2 -2
  54. package/dist/components/InspectorPanel/SequenceInspectorHeader.d.ts +3 -1
  55. package/dist/components/InspectorPanel/SequenceInspectorHeader.js +1 -1
  56. package/dist/components/InspectorPanel/SequenceSelectionInspector.js +33 -14
  57. package/dist/components/InspectorPanel/SequenceWrapAction.d.ts +8 -0
  58. package/dist/components/InspectorPanel/SequenceWrapAction.js +143 -0
  59. package/dist/components/InspectorPanel/common.d.ts +6 -2
  60. package/dist/components/InspectorPanel/common.js +25 -9
  61. package/dist/components/InspectorPanel/easing-inspector-selection.d.ts +2 -1
  62. package/dist/components/InspectorPanel/easing-inspector-selection.js +4 -3
  63. package/dist/components/InspectorPanel/keyframe-inspector-frame.d.ts +2 -1
  64. package/dist/components/InspectorPanel/keyframe-inspector-frame.js +2 -2
  65. package/dist/components/InspectorSequenceSection.d.ts +1 -0
  66. package/dist/components/InspectorSequenceSection.js +12 -10
  67. package/dist/components/InspectorSourceLocation.js +2 -2
  68. package/dist/components/KeyboardShortcutsSettings.js +2 -2
  69. package/dist/components/LicenseKeyValidation.js +2 -2
  70. package/dist/components/LoopToggle.js +1 -1
  71. package/dist/components/Menu/MenuSubItem.js +4 -2
  72. package/dist/components/Menu/styles.d.ts +2 -2
  73. package/dist/components/MenuBuildIndicator.js +1 -1
  74. package/dist/components/MenuCompositionName.js +1 -1
  75. package/dist/components/Modals.js +7 -6
  76. package/dist/components/ModelManager.js +10 -9
  77. package/dist/components/MuteToggle.js +1 -1
  78. package/dist/components/NewComposition/CancelButton.js +10 -4
  79. package/dist/components/NewComposition/ComboBox.d.ts +1 -1
  80. package/dist/components/NewComposition/ComboBox.js +2 -2
  81. package/dist/components/NewComposition/DuplicateComposition.js +1 -1
  82. package/dist/components/NewComposition/InputDragger.d.ts +4 -2
  83. package/dist/components/NewComposition/InputDragger.js +29 -10
  84. package/dist/components/NewComposition/NewComposition.js +8 -7
  85. package/dist/components/NewComposition/RemInput.d.ts +1 -1
  86. package/dist/components/NewComposition/menu-typeahead.js +1 -1
  87. package/dist/components/OpenIssueButton.js +1 -1
  88. package/dist/components/OutlineToggle.js +1 -1
  89. package/dist/components/PlayPause.js +1 -1
  90. package/dist/components/PlaybackRateSelector.js +1 -1
  91. package/dist/components/PreviewToolbarOverflowButton.js +1 -1
  92. package/dist/components/QuickSwitcher/ExplorerQuickSwitcherTrigger.js +1 -1
  93. package/dist/components/RenderButton.js +2 -4
  94. package/dist/components/RenderModal/InfoBubble.d.ts +1 -1
  95. package/dist/components/RenderModal/InfoBubble.js +2 -2
  96. package/dist/components/RenderModal/NumberSetting.js +1 -1
  97. package/dist/components/RenderModal/OptionExplainerBubble.js +2 -2
  98. package/dist/components/RenderModal/RenderModalAdvanced.js +2 -2
  99. package/dist/components/RenderModal/RenderModalAudio.js +2 -2
  100. package/dist/components/RenderModal/RenderModalBasic.js +3 -3
  101. package/dist/components/RenderModal/RenderModalEncoding.js +4 -4
  102. package/dist/components/RenderModal/RenderModalOutputName.js +1 -1
  103. package/dist/components/RenderModal/SchemaEditor/SchemaLabel.js +1 -1
  104. package/dist/components/RenderModal/SchemaEditor/ZodDiscriminatedUnionEditor.js +1 -1
  105. package/dist/components/RenderModal/SchemaEditor/ZodEnumEditor.js +1 -1
  106. package/dist/components/RenderModal/SchemaEditor/ZodFieldValidation.js +1 -1
  107. package/dist/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +1 -1
  108. package/dist/components/RenderModal/SchemaEditor/create-zod-values.js +1 -2
  109. package/dist/components/RenderModal/WebRenderModalAdvanced.js +2 -2
  110. package/dist/components/RenderModal/WebRenderModalAudio.js +2 -2
  111. package/dist/components/RenderModal/WebRenderModalBasic.js +3 -3
  112. package/dist/components/RenderModal/WebRenderModalPicture.js +2 -3
  113. package/dist/components/RenderQueue/CaptionQueueItem.js +14 -5
  114. package/dist/components/RenderQueue/CaptionQueueProcessor.js +30 -7
  115. package/dist/components/RenderQueue/QueueJobError.d.ts +8 -0
  116. package/dist/components/RenderQueue/QueueJobError.js +24 -0
  117. package/dist/components/RenderQueue/QueueJobErrorModal.d.ts +8 -0
  118. package/dist/components/RenderQueue/QueueJobErrorModal.js +63 -0
  119. package/dist/components/RenderQueue/RenderQueueError.js +1 -1
  120. package/dist/components/RenderQueue/RenderQueueItemCancelButton.d.ts +3 -1
  121. package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +11 -4
  122. package/dist/components/RenderQueue/RenderQueueOutputName.js +1 -1
  123. package/dist/components/RenderQueue/RenderQueueProgressMessage.js +1 -1
  124. package/dist/components/RenderQueue/RenderQueueRepeat.d.ts +3 -1
  125. package/dist/components/RenderQueue/RenderQueueRepeat.js +20 -3
  126. package/dist/components/RenderQueue/VideoMattingQueueItem.js +24 -27
  127. package/dist/components/RenderQueue/VideoMattingQueueProcessor.js +68 -28
  128. package/dist/components/RenderQueue/caption-job-types.d.ts +3 -1
  129. package/dist/components/RenderQueue/context.d.ts +4 -0
  130. package/dist/components/RenderQueue/context.js +58 -8
  131. package/dist/components/RenderQueue/index.js +2 -3
  132. package/dist/components/RenderQueue/load-model-for-job.d.ts +2 -1
  133. package/dist/components/RenderQueue/load-model-for-job.js +5 -1
  134. package/dist/components/RenderQueue/video-matting-job-types.d.ts +13 -6
  135. package/dist/components/RenderingSettings.js +6 -6
  136. package/dist/components/RulersAndGuidesToggle.js +1 -1
  137. package/dist/components/SegmentedButton.d.ts +0 -2
  138. package/dist/components/SegmentedButton.js +6 -6
  139. package/dist/components/SelectedOutlineCropControls.js +2 -1
  140. package/dist/components/SelectedOutlineEditingHandles.js +9 -2
  141. package/dist/components/SelectedOutlineElement.js +9 -3
  142. package/dist/components/SelectedOutlineKeyboardControls.d.ts +2 -4
  143. package/dist/components/SelectedOutlineKeyboardControls.js +4 -22
  144. package/dist/components/SelectedOutlineOverlay.js +165 -106
  145. package/dist/components/SelectedOutlinePathPoints.d.ts +8 -0
  146. package/dist/components/SelectedOutlinePathPoints.js +457 -0
  147. package/dist/components/SelectedOutlinePolygon.js +21 -46
  148. package/dist/components/SelectedOutlineRenderer.d.ts +3 -5
  149. package/dist/components/SelectedOutlineRenderer.js +32 -136
  150. package/dist/components/SelectedOutlineTransformOriginHandle.js +3 -2
  151. package/dist/components/SelectedOutlineUvControls.js +12 -7
  152. package/dist/components/SettingsButton.js +1 -1
  153. package/dist/components/SettingsModal.js +30 -3
  154. package/dist/components/SettingsModalFooter.d.ts +1 -0
  155. package/dist/components/SettingsModalFooter.js +7 -3
  156. package/dist/components/ShowOutlinesProvider.js +1 -1
  157. package/dist/components/SizeSelector.js +1 -1
  158. package/dist/components/SkillsSettings.d.ts +0 -1
  159. package/dist/components/SkillsSettings.js +14 -15
  160. package/dist/components/SnappingToggle.js +1 -1
  161. package/dist/components/Splitter/SplitterElement.js +1 -2
  162. package/dist/components/StudioSettings.js +2 -2
  163. package/dist/components/TimeValue.js +2 -4
  164. package/dist/components/Timeline/EasingEditorModal.js +3 -3
  165. package/dist/components/Timeline/LoopedTimelineIndicators.d.ts +1 -0
  166. package/dist/components/Timeline/LoopedTimelineIndicators.js +7 -6
  167. package/dist/components/Timeline/TimelineArrayField.js +3 -3
  168. package/dist/components/Timeline/TimelineAssetField.js +3 -3
  169. package/dist/components/Timeline/TimelineClipboardKeybindings.js +0 -1
  170. package/dist/components/Timeline/TimelineColorField.js +3 -3
  171. package/dist/components/Timeline/TimelineDragHandler.js +3 -3
  172. package/dist/components/Timeline/TimelineDuplicateCount.js +1 -1
  173. package/dist/components/Timeline/TimelineEffectItem.js +1 -1
  174. package/dist/components/Timeline/TimelineEffectPropItem.d.ts +1 -0
  175. package/dist/components/Timeline/TimelineEffectPropItem.js +12 -5
  176. package/dist/components/Timeline/TimelineEnumField.js +1 -1
  177. package/dist/components/Timeline/TimelineExpandedRow.d.ts +1 -0
  178. package/dist/components/Timeline/TimelineExpandedRow.js +5 -4
  179. package/dist/components/Timeline/TimelineExpandedSection.d.ts +1 -0
  180. package/dist/components/Timeline/TimelineExpandedSection.js +2 -2
  181. package/dist/components/Timeline/TimelineExpandedTrackKeyframes.d.ts +1 -0
  182. package/dist/components/Timeline/TimelineExpandedTrackKeyframes.js +3 -1
  183. package/dist/components/Timeline/TimelineFieldLabel.js +1 -1
  184. package/dist/components/Timeline/TimelineFontFamilyField.js +14 -14
  185. package/dist/components/Timeline/TimelineFontWeightField.js +1 -1
  186. package/dist/components/Timeline/TimelineKeyframeControls.d.ts +1 -0
  187. package/dist/components/Timeline/TimelineKeyframeControls.js +42 -31
  188. package/dist/components/Timeline/TimelineKeyframeDiamond.js +1 -1
  189. package/dist/components/Timeline/TimelineKeyframeEasingLine.js +1 -1
  190. package/dist/components/Timeline/TimelineLayerChildren.js +2 -2
  191. package/dist/components/Timeline/TimelineList.js +16 -8
  192. package/dist/components/Timeline/TimelineMediaInfo.js +1 -1
  193. package/dist/components/Timeline/TimelineNumberField.js +2 -4
  194. package/dist/components/Timeline/TimelinePrimitiveFieldValue.js +1 -1
  195. package/dist/components/Timeline/TimelineScaleField.js +1 -1
  196. package/dist/components/Timeline/TimelineSchemaField.js +2 -2
  197. package/dist/components/Timeline/TimelineSelection.d.ts +9 -9
  198. package/dist/components/Timeline/TimelineSelection.js +16 -9
  199. package/dist/components/Timeline/TimelineSequence.d.ts +3 -1
  200. package/dist/components/Timeline/TimelineSequence.js +40 -22
  201. package/dist/components/Timeline/TimelineSequenceItem.d.ts +1 -0
  202. package/dist/components/Timeline/TimelineSequenceItem.js +52 -24
  203. package/dist/components/Timeline/TimelineSequenceName.d.ts +1 -0
  204. package/dist/components/Timeline/TimelineSequenceName.js +38 -6
  205. package/dist/components/Timeline/TimelineSequencePropItem.d.ts +3 -0
  206. package/dist/components/Timeline/TimelineSequencePropItem.js +266 -27
  207. package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.d.ts +11 -13
  208. package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +98 -77
  209. package/dist/components/Timeline/TimelineTextContentField.js +27 -4
  210. package/dist/components/Timeline/TimelineTimeIndicators.js +10 -5
  211. package/dist/components/Timeline/TimelineTrack.js +1 -1
  212. package/dist/components/Timeline/TimelineTrimTooltip.d.ts +11 -0
  213. package/dist/components/Timeline/TimelineTrimTooltip.js +41 -0
  214. package/dist/components/Timeline/TimelineVideoInfo.d.ts +1 -0
  215. package/dist/components/Timeline/TimelineVideoInfo.js +13 -10
  216. package/dist/components/Timeline/TimelineZoomControls.js +2 -2
  217. package/dist/components/Timeline/delete-selected-keyframe.js +22 -8
  218. package/dist/components/Timeline/delete-selected-timeline-item.d.ts +1 -5
  219. package/dist/components/Timeline/delete-selected-timeline-item.js +7 -93
  220. package/dist/components/Timeline/get-animation-item-selection-for-frame.d.ts +2 -1
  221. package/dist/components/Timeline/get-animation-item-selection-for-frame.js +7 -5
  222. package/dist/components/Timeline/get-keyframed-sequence-drag-targets.d.ts +23 -0
  223. package/dist/components/Timeline/get-keyframed-sequence-drag-targets.js +57 -0
  224. package/dist/components/Timeline/get-node-keyframes.d.ts +2 -1
  225. package/dist/components/Timeline/get-node-keyframes.js +6 -4
  226. package/dist/components/Timeline/get-playback-rate-keyframe-changes.d.ts +21 -0
  227. package/dist/components/Timeline/get-playback-rate-keyframe-changes.js +142 -0
  228. package/dist/components/Timeline/get-sequence-split-menu-item.js +2 -2
  229. package/dist/components/Timeline/get-timeline-keyframes.d.ts +15 -2
  230. package/dist/components/Timeline/get-timeline-keyframes.js +44 -6
  231. package/dist/components/Timeline/keyframe-clipboard.js +17 -3
  232. package/dist/components/Timeline/split-selected-timeline-item.js +4 -1
  233. package/dist/components/Timeline/timeline-field-display-utils.js +1 -0
  234. package/dist/components/Timeline/timeline-field-row-layout.js +1 -0
  235. package/dist/components/Timeline/use-delete-timeline-items.js +17 -11
  236. package/dist/components/Timeline/use-expanded-track-keyframe-rows.d.ts +2 -1
  237. package/dist/components/Timeline/use-expanded-track-keyframe-rows.js +3 -1
  238. package/dist/components/Timeline/use-sequence-freeze-frame-menu-item.js +7 -3
  239. package/dist/components/Timeline/use-timeline-expanded-tree.d.ts +1 -1
  240. package/dist/components/Timeline/use-timeline-expanded-tree.js +3 -0
  241. package/dist/components/Timeline/use-timeline-keyframe-drag.js +28 -19
  242. package/dist/components/TimelineCombobox.d.ts +1 -1
  243. package/dist/components/TimelineCombobox.js +5 -6
  244. package/dist/components/TimelineInOutToggle.js +1 -1
  245. package/dist/components/Transcription/Models.js +1 -1
  246. package/dist/components/Transcription/TranscriptionModal.js +9 -7
  247. package/dist/components/Transcription/resample-media-to-16-khz.d.ts +2 -1
  248. package/dist/components/Transcription/resample-media-to-16-khz.js +20 -2
  249. package/dist/components/UndoRedoButtons.js +1 -1
  250. package/dist/components/UpdatesSettings.js +4 -2
  251. package/dist/components/VideoMatting/Models.js +1 -1
  252. package/dist/components/VideoMatting/VideoMattingModal.js +34 -51
  253. package/dist/components/VideoMatting/VideoMattingModalWithOptionalPackage.js +1 -1
  254. package/dist/components/WebMcp.js +22 -40
  255. package/dist/components/composition-drop-preview.js +1 -0
  256. package/dist/components/effect-drag-and-drop.d.ts +13 -5
  257. package/dist/components/effect-drag-and-drop.js +19 -4
  258. package/dist/components/get-open-in-menu-items.d.ts +2 -1
  259. package/dist/components/get-open-in-menu-items.js +17 -1
  260. package/dist/components/selected-outline-drag.d.ts +1 -6
  261. package/dist/components/selected-outline-drag.js +22 -6
  262. package/dist/components/selected-outline-geometry.d.ts +2 -18
  263. package/dist/components/selected-outline-measurement.d.ts +23 -41
  264. package/dist/components/selected-outline-measurement.js +14 -252
  265. package/dist/components/selected-outline-order.d.ts +4 -11
  266. package/dist/components/selected-outline-order.js +2 -254
  267. package/dist/components/selected-outline-snap.d.ts +1 -1
  268. package/dist/components/selected-outline-snap.js +2 -1
  269. package/dist/components/selected-outline-types.d.ts +20 -28
  270. package/dist/components/selected-outline-uv.d.ts +4 -4
  271. package/dist/components/selected-outline-uv.js +6 -111
  272. package/dist/components/sequence-props-api.js +0 -10
  273. package/dist/components/use-selected-outline-control-target.js +12 -21
  274. package/dist/components/wrap-jsx-node-api.d.ts +2 -0
  275. package/dist/components/wrap-jsx-node-api.js +13 -0
  276. package/dist/error-overlay/remotion-overlay/CompositionIdListItem.js +1 -1
  277. package/dist/error-overlay/remotion-overlay/OpenInEditor.js +46 -3
  278. package/dist/error-overlay/remotion-overlay/StackFrame.js +32 -3
  279. package/dist/esm/{CaptionQueueProcessor-npa6szn1.mjs → CaptionQueueProcessor-qj37c6r2.mjs} +63 -17
  280. package/dist/esm/LazyModels-rjsrgap5.mjs +12 -0
  281. package/dist/esm/LazyModels-rnbjx98t.mjs +12 -0
  282. package/dist/esm/{TranscriptionModal-79m5wgcj.mjs → TranscriptionModal-y7zeqj2d.mjs} +21 -21
  283. package/dist/esm/{VideoMattingModal-31pew0xj.mjs → VideoMattingModal-jzrkhah1.mjs} +51 -69
  284. package/dist/esm/{VideoMattingQueueProcessor-t1hgm2rm.mjs → VideoMattingQueueProcessor-4tkj0f4k.mjs} +69 -26
  285. package/dist/esm/{index-v4tr1bft.mjs → index-09txs1bj.mjs} +5 -0
  286. package/dist/esm/{index-e855w59j.mjs → index-19d05w9e.mjs} +3 -5
  287. package/dist/esm/index-24wge6y5.mjs +102 -0
  288. package/dist/esm/index-3qb54r5j.mjs +157 -0
  289. package/dist/esm/{index-n5gmcvhz.mjs → index-5ycb9e9q.mjs} +2 -4
  290. package/dist/esm/{index-s7qa3xbw.mjs → index-cakcjjy2.mjs} +7 -7
  291. package/dist/esm/{index-r1gr3j3a.mjs → index-dfy1t576.mjs} +50 -1
  292. package/dist/esm/{index-614tdz2q.mjs → index-f9hxt5yh.mjs} +3 -3
  293. package/dist/esm/{index-9x6e1dq0.mjs → index-hqxc6tzp.mjs} +40 -6
  294. package/dist/esm/{index-ac5550e7.mjs → index-jc22b2wb.mjs} +3 -3
  295. package/dist/esm/{index-5t2dwxsk.mjs → index-m01zjph7.mjs} +261 -25
  296. package/dist/esm/{index-ppspzgn9.mjs → index-m2a95v3p.mjs} +4904 -4951
  297. package/dist/esm/{index-9xxg6218.mjs → index-qve7mdfp.mjs} +19 -1
  298. package/dist/esm/{index-vxwg66ar.mjs → index-r9bj4tta.mjs} +47 -60
  299. package/dist/esm/{index-r0ejh5sy.mjs → index-vnc2wdfd.mjs} +44 -27
  300. package/dist/esm/{index-21hxsfaa.mjs → index-vtr5qzam.mjs} +6 -25
  301. package/dist/esm/{index-4zen9prq.mjs → index-x7kg7jqv.mjs} +6809 -5640
  302. package/dist/esm/index.mjs +4 -5
  303. package/dist/esm/internals.mjs +13 -13
  304. package/dist/esm/previewEntry.mjs +18 -15
  305. package/dist/esm/renderEntry.mjs +5 -1
  306. package/dist/helpers/calculate-timeline.d.ts +5 -1
  307. package/dist/helpers/calculate-timeline.js +1 -1
  308. package/dist/helpers/checkerboard-background.d.ts +2 -2
  309. package/dist/helpers/checkerboard-background.js +1 -1
  310. package/dist/helpers/colors.d.ts +131 -112
  311. package/dist/helpers/colors.js +121 -100
  312. package/dist/helpers/create-folder-tree.js +2 -1
  313. package/dist/helpers/editor-guide-selection.d.ts +1 -1
  314. package/dist/helpers/editor-ruler.js +23 -12
  315. package/dist/helpers/get-connected-compositions.d.ts +6 -1
  316. package/dist/helpers/get-connected-compositions.js +1 -1
  317. package/dist/helpers/get-sequence-double-click-action.js +1 -1
  318. package/dist/helpers/get-sequence-visible-range.d.ts +1 -1
  319. package/dist/helpers/get-sequence-visible-range.js +2 -5
  320. package/dist/helpers/get-timeline-nestedness.d.ts +1 -1
  321. package/dist/helpers/get-timeline-nestedness.js +1 -1
  322. package/dist/helpers/get-timeline-sequence-sort-key.d.ts +1 -1
  323. package/dist/helpers/get-timeline-sequence-sort-key.js +1 -1
  324. package/dist/helpers/hoverable.js +4 -4
  325. package/dist/helpers/inject-css.js +5 -7
  326. package/dist/helpers/prism-vsc-dark-plus.d.ts +1 -1
  327. package/dist/helpers/prism-vsc-dark-plus.js +52 -51
  328. package/dist/helpers/resolve-studio-color.d.ts +1 -0
  329. package/dist/helpers/resolve-studio-color.js +11 -0
  330. package/dist/helpers/studio-css-variables.d.ts +1 -0
  331. package/dist/helpers/studio-css-variables.js +104 -0
  332. package/dist/helpers/studio-pixel-ratio.d.ts +1 -0
  333. package/dist/helpers/studio-pixel-ratio.js +7 -0
  334. package/dist/helpers/timeline-node-path-key.d.ts +1 -1
  335. package/dist/helpers/timeline-node-path-key.js +2 -2
  336. package/dist/helpers/use-runtime-values.js +2 -28
  337. package/dist/hot-middleware-client/client.js +5 -3
  338. package/dist/icons/align-center-horizontal.js +2 -1
  339. package/dist/icons/align-left.js +2 -1
  340. package/dist/icons/align-right.js +2 -1
  341. package/dist/icons/{separation.d.ts → background-removal.d.ts} +1 -1
  342. package/dist/icons/background-removal.js +9 -0
  343. package/dist/icons/snowflake.js +1 -3
  344. package/dist/icons/{scissors.d.ts → split.d.ts} +1 -1
  345. package/dist/icons/split.js +8 -0
  346. package/dist/icons/trash.js +2 -2
  347. package/dist/icons/wrap.d.ts +4 -0
  348. package/dist/icons/wrap.js +10 -0
  349. package/dist/previewEntry.js +2 -0
  350. package/dist/renderEntry.js +2 -0
  351. package/dist/state/modals.d.ts +15 -1
  352. package/dist/state/timeline-sequence-hover.d.ts +6 -16
  353. package/dist/state/timeline-sequence-hover.js +6 -67
  354. package/package.json +20 -19
  355. package/dist/components/Timeline/get-easing-selection-after-keyframe-delete.d.ts +0 -15
  356. package/dist/components/Timeline/get-easing-selection-after-keyframe-delete.js +0 -31
  357. package/dist/esm/LazyModels-nh3c8h9p.mjs +0 -12
  358. package/dist/esm/LazyModels-rr5v8h5y.mjs +0 -12
  359. package/dist/esm/index-cw0pnpg5.mjs +0 -50
  360. package/dist/esm/index-k426ye99.mjs +0 -139
  361. package/dist/helpers/get-box-quads-polyfill-internals.d.ts +0 -82
  362. package/dist/helpers/get-box-quads-polyfill-internals.js +0 -2403
  363. package/dist/helpers/get-box-quads-ponyfill.d.ts +0 -10
  364. package/dist/helpers/get-box-quads-ponyfill.js +0 -23
  365. package/dist/icons/scissors.js +0 -8
  366. package/dist/icons/separation.js +0 -7
  367. /package/dist/esm/{resolve-composition-component-location-qrp05g62.mjs → resolve-composition-component-location-2hgf6g0a.mjs} +0 -0
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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).
4
+ const colors_1 = require("./colors");
5
+ // Adapted from prism-themes@1.9.0/themes/prism-vsc-dark-plus.css to use the
6
+ // Studio palette. Stored as a string for CSS injection (including Browser
7
+ // Studio, which has no CSS loader).
7
8
  /*
8
9
  The MIT License (MIT)
9
10
 
@@ -29,7 +30,7 @@ SOFTWARE.
29
30
  */
30
31
  exports.prismVscDarkPlus = `pre[class*="language-"],
31
32
  code[class*="language-"] {
32
- color: #d4d4d4;
33
+ color: ${colors_1.PRISM_TEXT_COLOR};
33
34
  font-size: 13px;
34
35
  text-shadow: none;
35
36
  font-family: Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace;
@@ -53,7 +54,7 @@ code[class*="language-"]::selection,
53
54
  pre[class*="language-"] *::selection,
54
55
  code[class*="language-"] *::selection {
55
56
  text-shadow: none;
56
- background: #264F78;
57
+ background: ${colors_1.PRISM_SELECTION_BACKGROUND};
57
58
  }
58
59
 
59
60
  @media print {
@@ -67,14 +68,14 @@ pre[class*="language-"] {
67
68
  padding: 1em;
68
69
  margin: .5em 0;
69
70
  overflow: auto;
70
- background: #1e1e1e;
71
+ background: ${colors_1.PRISM_BACKGROUND};
71
72
  }
72
73
 
73
74
  :not(pre) > code[class*="language-"] {
74
75
  padding: .1em .3em;
75
76
  border-radius: .3em;
76
- color: #db4c69;
77
- background: #1e1e1e;
77
+ color: ${colors_1.PRISM_INLINE_COLOR};
78
+ background: ${colors_1.PRISM_BACKGROUND};
78
79
  }
79
80
  /*********************************************************
80
81
  * Tokens
@@ -84,22 +85,22 @@ pre[class*="language-"] {
84
85
  }
85
86
 
86
87
  .token.doctype .token.doctype-tag {
87
- color: #569CD6;
88
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
88
89
  }
89
90
 
90
91
  .token.doctype .token.name {
91
- color: #9cdcfe;
92
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
92
93
  }
93
94
 
94
95
  .token.comment,
95
96
  .token.prolog {
96
- color: #6a9955;
97
+ color: ${colors_1.PRISM_COMMENT_COLOR};
97
98
  }
98
99
 
99
100
  .token.punctuation,
100
101
  .language-html .language-css .token.punctuation,
101
102
  .language-html .language-javascript .token.punctuation {
102
- color: #d4d4d4;
103
+ color: ${colors_1.PRISM_TEXT_COLOR};
103
104
  }
104
105
 
105
106
  .token.property,
@@ -110,7 +111,7 @@ pre[class*="language-"] {
110
111
  .token.symbol,
111
112
  .token.inserted,
112
113
  .token.unit {
113
- color: #b5cea8;
114
+ color: ${colors_1.PRISM_NUMBER_COLOR};
114
115
  }
115
116
 
116
117
  .token.selector,
@@ -119,7 +120,7 @@ pre[class*="language-"] {
119
120
  .token.char,
120
121
  .token.builtin,
121
122
  .token.deleted {
122
- color: #ce9178;
123
+ color: ${colors_1.PRISM_STRING_COLOR};
123
124
  }
124
125
 
125
126
  .language-css .token.string.url {
@@ -128,53 +129,53 @@ pre[class*="language-"] {
128
129
 
129
130
  .token.operator,
130
131
  .token.entity {
131
- color: #d4d4d4;
132
+ color: ${colors_1.PRISM_TEXT_COLOR};
132
133
  }
133
134
 
134
135
  .token.operator.arrow {
135
- color: #569CD6;
136
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
136
137
  }
137
138
 
138
139
  .token.atrule {
139
- color: #ce9178;
140
+ color: ${colors_1.PRISM_STRING_COLOR};
140
141
  }
141
142
 
142
143
  .token.atrule .token.rule {
143
- color: #c586c0;
144
+ color: ${colors_1.PRISM_CONTROL_FLOW_COLOR};
144
145
  }
145
146
 
146
147
  .token.atrule .token.url {
147
- color: #9cdcfe;
148
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
148
149
  }
149
150
 
150
151
  .token.atrule .token.url .token.function {
151
- color: #dcdcaa;
152
+ color: ${colors_1.PRISM_FUNCTION_COLOR};
152
153
  }
153
154
 
154
155
  .token.atrule .token.url .token.punctuation {
155
- color: #d4d4d4;
156
+ color: ${colors_1.PRISM_TEXT_COLOR};
156
157
  }
157
158
 
158
159
  .token.keyword {
159
- color: #569CD6;
160
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
160
161
  }
161
162
 
162
163
  .token.keyword.module,
163
164
  .token.keyword.control-flow {
164
- color: #c586c0;
165
+ color: ${colors_1.PRISM_CONTROL_FLOW_COLOR};
165
166
  }
166
167
 
167
168
  .token.function,
168
169
  .token.function .token.maybe-class-name {
169
- color: #dcdcaa;
170
+ color: ${colors_1.PRISM_FUNCTION_COLOR};
170
171
  }
171
172
 
172
173
  .token.regex {
173
- color: #d16969;
174
+ color: ${colors_1.PRISM_REGEX_COLOR};
174
175
  }
175
176
 
176
177
  .token.important {
177
- color: #569cd6;
178
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
178
179
  }
179
180
 
180
181
  .token.italic {
@@ -182,80 +183,80 @@ pre[class*="language-"] {
182
183
  }
183
184
 
184
185
  .token.constant {
185
- color: #9cdcfe;
186
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
186
187
  }
187
188
 
188
189
  .token.class-name,
189
190
  .token.maybe-class-name {
190
- color: #4ec9b0;
191
+ color: ${colors_1.PRISM_CLASS_NAME_COLOR};
191
192
  }
192
193
 
193
194
  .token.console {
194
- color: #9cdcfe;
195
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
195
196
  }
196
197
 
197
198
  .token.parameter {
198
- color: #9cdcfe;
199
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
199
200
  }
200
201
 
201
202
  .token.interpolation {
202
- color: #9cdcfe;
203
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
203
204
  }
204
205
 
205
206
  .token.punctuation.interpolation-punctuation {
206
- color: #569cd6;
207
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
207
208
  }
208
209
 
209
210
  .token.boolean {
210
- color: #569cd6;
211
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
211
212
  }
212
213
 
213
214
  .token.property,
214
215
  .token.variable,
215
216
  .token.imports .token.maybe-class-name,
216
217
  .token.exports .token.maybe-class-name {
217
- color: #9cdcfe;
218
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
218
219
  }
219
220
 
220
221
  .token.selector {
221
- color: #d7ba7d;
222
+ color: ${colors_1.PRISM_SELECTOR_COLOR};
222
223
  }
223
224
 
224
225
  .token.escape {
225
- color: #d7ba7d;
226
+ color: ${colors_1.PRISM_SELECTOR_COLOR};
226
227
  }
227
228
 
228
229
  .token.tag {
229
- color: #569cd6;
230
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
230
231
  }
231
232
 
232
233
  .token.tag .token.punctuation {
233
- color: #808080;
234
+ color: ${colors_1.RULER_COLOR};
234
235
  }
235
236
 
236
237
  .token.cdata {
237
- color: #808080;
238
+ color: ${colors_1.RULER_COLOR};
238
239
  }
239
240
 
240
241
  .token.attr-name {
241
- color: #9cdcfe;
242
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
242
243
  }
243
244
 
244
245
  .token.attr-value,
245
246
  .token.attr-value .token.punctuation {
246
- color: #ce9178;
247
+ color: ${colors_1.PRISM_STRING_COLOR};
247
248
  }
248
249
 
249
250
  .token.attr-value .token.punctuation.attr-equals {
250
- color: #d4d4d4;
251
+ color: ${colors_1.PRISM_TEXT_COLOR};
251
252
  }
252
253
 
253
254
  .token.entity {
254
- color: #569cd6;
255
+ color: ${colors_1.PRISM_KEYWORD_COLOR};
255
256
  }
256
257
 
257
258
  .token.namespace {
258
- color: #4ec9b0;
259
+ color: ${colors_1.PRISM_CLASS_NAME_COLOR};
259
260
  }
260
261
  /*********************************************************
261
262
  * Language Specific
@@ -269,25 +270,25 @@ pre[class*="language-typescript"],
269
270
  code[class*="language-typescript"],
270
271
  pre[class*="language-tsx"],
271
272
  code[class*="language-tsx"] {
272
- color: #9cdcfe;
273
+ color: ${colors_1.PRISM_VARIABLE_COLOR};
273
274
  }
274
275
 
275
276
  pre[class*="language-css"],
276
277
  code[class*="language-css"] {
277
- color: #ce9178;
278
+ color: ${colors_1.PRISM_STRING_COLOR};
278
279
  }
279
280
 
280
281
  pre[class*="language-html"],
281
282
  code[class*="language-html"] {
282
- color: #d4d4d4;
283
+ color: ${colors_1.PRISM_TEXT_COLOR};
283
284
  }
284
285
 
285
286
  .language-regex .token.anchor {
286
- color: #dcdcaa;
287
+ color: ${colors_1.PRISM_FUNCTION_COLOR};
287
288
  }
288
289
 
289
290
  .language-html .token.punctuation {
290
- color: #808080;
291
+ color: ${colors_1.RULER_COLOR};
291
292
  }
292
293
  /*********************************************************
293
294
  * Line highlighting
@@ -298,8 +299,8 @@ pre[class*="language-"] > code[class*="language-"] {
298
299
  }
299
300
 
300
301
  .line-highlight.line-highlight {
301
- background: #f7ebc6;
302
- box-shadow: inset 5px 0 0 #f7d87c;
302
+ background: ${colors_1.PRISM_LINE_HIGHLIGHT_BACKGROUND};
303
+ box-shadow: inset 5px 0 0 ${colors_1.PRISM_LINE_HIGHLIGHT_BORDER_COLOR};
303
304
  z-index: 0;
304
305
  }
305
306
  `;
@@ -0,0 +1 @@
1
+ export declare const resolveStudioColor: (color: string, computedStyle: CSSStyleDeclaration) => string;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveStudioColor = void 0;
4
+ // Canvas and JavaScript color parsers need concrete colors rather than CSS var().
5
+ // Reuse the computed style for all colors in a draw to avoid repeated style reads.
6
+ const resolveStudioColor = (color, computedStyle) => {
7
+ return color.replace(/var\((--remotion-studio-[a-z0-9-]+)\)/g, (_, name) => {
8
+ return computedStyle.getPropertyValue(name).trim();
9
+ });
10
+ };
11
+ exports.resolveStudioColor = resolveStudioColor;
@@ -0,0 +1 @@
1
+ export declare const studioCssVariables = "\n:where(:root) {\n --remotion-studio-black: black;\n --remotion-studio-white: white;\n --remotion-studio-red: red;\n --remotion-studio-transparent: transparent;\n --remotion-studio-current-color: currentColor;\n --remotion-studio-background: rgb(31,36,40);\n --remotion-studio-background-transparent: rgba(31,36,40, 0);\n --remotion-studio-input-background: #2f363d;\n --remotion-studio-light-color: #ddd;\n --remotion-studio-light-text: #A6A7A9;\n --remotion-studio-ruler-color: #808080;\n --remotion-studio-white-alpha-05: rgba(255, 255, 255, 0.05);\n --remotion-studio-white-alpha-06: rgba(255, 255, 255, 0.06);\n --remotion-studio-white-alpha-08: rgba(255, 255, 255, 0.08);\n --remotion-studio-white-alpha-10: rgba(255, 255, 255, 0.1);\n --remotion-studio-white-alpha-12: rgba(255, 255, 255, 0.12);\n --remotion-studio-white-alpha-15: rgba(255, 255, 255, 0.15);\n --remotion-studio-white-alpha-20: rgba(255, 255, 255, 0.2);\n --remotion-studio-white-alpha-25: rgba(255, 255, 255, 0.25);\n --remotion-studio-white-alpha-30: rgba(255, 255, 255, 0.3);\n --remotion-studio-white-alpha-35: rgba(255, 255, 255, 0.35);\n --remotion-studio-white-alpha-40: rgba(255, 255, 255, 0.4);\n --remotion-studio-white-alpha-45: rgba(255, 255, 255, 0.45);\n --remotion-studio-white-alpha-50: rgba(255, 255, 255, 0.5);\n --remotion-studio-white-alpha-60: rgba(255, 255, 255, 0.6);\n --remotion-studio-white-alpha-70: rgba(255, 255, 255, 0.7);\n --remotion-studio-white-alpha-72: rgba(255, 255, 255, 0.72);\n --remotion-studio-white-alpha-80: rgba(255, 255, 255, 0.8);\n --remotion-studio-white-alpha-90: rgba(255, 255, 255, 0.9);\n --remotion-studio-black-alpha-28: rgba(0, 0, 0, 0.28);\n --remotion-studio-black-alpha-30: rgba(0, 0, 0, 0.3);\n --remotion-studio-black-alpha-40: rgba(0, 0, 0, 0.4);\n --remotion-studio-black-alpha-50: rgba(0, 0, 0, 0.5);\n --remotion-studio-black-alpha-60: rgba(0, 0, 0, 0.6);\n --remotion-studio-black-alpha-80: rgba(0, 0, 0, 0.8);\n --remotion-studio-black-alpha-85: rgba(0, 0, 0, 0.85);\n --remotion-studio-black-alpha-90: rgba(0, 0, 0, 0.9);\n --remotion-studio-fail-color: #ff3232;\n --remotion-studio-warning-color: #f1c40f;\n --remotion-studio-blue: #0b84f3;\n --remotion-studio-blue-hovered: #4da3f7;\n --remotion-studio-blue-disabled: #284f73;\n --remotion-studio-unselected-guide: #7e1219;\n --remotion-studio-selected-guide: #d22d3a;\n --remotion-studio-line-color: #363A3E;\n --remotion-studio-timeline-track-separator: #13161B;\n --remotion-studio-light-gray: #ccc;\n --remotion-studio-keyboard-shortcut-key-color: #eee;\n --remotion-studio-notification-background: #111111;\n --remotion-studio-render-status-background: #222;\n --remotion-studio-error-code-frame-background: #070707;\n --remotion-studio-error-code-frame-line-background: #121212;\n --remotion-studio-error-link-color: #58a6ff;\n --remotion-studio-info-blue: #60a5fa;\n --remotion-studio-server-disconnected-background: #e74c3c;\n --remotion-studio-timeline-background-color: #15181B;\n --remotion-studio-timeline-negative-start-background-color: #2C2F32;\n --remotion-studio-timeline-negative-start-border-color: #414446;\n --remotion-studio-timeline-selected-background-color: #3B3F42;\n --remotion-studio-timeline-selected-label-background-color: #B0B0B0;\n --remotion-studio-timeline-blue: #0b84ff;\n --remotion-studio-timeline-playhead-color: #f02c00;\n --remotion-studio-timeline-drop-blue-alpha-12: rgba(0, 155, 255, 0.12);\n --remotion-studio-timeline-drop-blue-alpha-16: rgba(0, 155, 255, 0.16);\n --remotion-studio-timeline-drop-blue-alpha-75: rgba(0, 155, 255, 0.75);\n --remotion-studio-timeline-marquee-blue-alpha-16: rgba(70, 130, 255, 0.16);\n --remotion-studio-timeline-marquee-blue-alpha-75: rgba(70, 130, 255, 0.75);\n --remotion-studio-easing-selected-background: rgba(11, 132, 243, 0.18);\n --remotion-studio-info-blue-background: rgba(59, 130, 246, 0.15);\n --remotion-studio-color-picker-checker-background-color: var(--remotion-studio-background);\n --remotion-studio-color-picker-hue-gradient: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n --remotion-studio-timeline-audio-gradient: linear-gradient(rgb(16 171 58), rgb(43 165 63) 60%);\n --remotion-studio-timeline-video-gradient: linear-gradient(to top, #8e44ad, #9b59b6);\n --remotion-studio-focus-color: #555;\n --remotion-studio-color-picker-checker-color: var(--remotion-studio-white-alpha-15);\n --remotion-studio-info-blue-border-color: rgba(59, 130, 246, 0.4);\n --remotion-studio-black-alpha-22: rgba(0, 0, 0, 0.22);\n --remotion-studio-font-family-error-color: #ff8a8a;\n --remotion-studio-selected-outline-snap-color: #ff00ff;\n --remotion-studio-prism-text-color: #d4d4d4;\n --remotion-studio-prism-selection-background: #264f78;\n --remotion-studio-prism-background: #1e1e1e;\n --remotion-studio-prism-inline-color: #db4c69;\n --remotion-studio-prism-keyword-color: #569cd6;\n --remotion-studio-prism-variable-color: #9cdcfe;\n --remotion-studio-prism-comment-color: #6a9955;\n --remotion-studio-prism-number-color: #b5cea8;\n --remotion-studio-prism-string-color: #ce9178;\n --remotion-studio-prism-control-flow-color: #c586c0;\n --remotion-studio-prism-function-color: #dcdcaa;\n --remotion-studio-prism-regex-color: #d16969;\n --remotion-studio-prism-class-name-color: #4ec9b0;\n --remotion-studio-prism-selector-color: #d7ba7d;\n --remotion-studio-prism-line-highlight-background: #f7ebc6;\n --remotion-studio-prism-line-highlight-border-color: #f7d87c;\n}\n";
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.studioCssVariables = void 0;
4
+ // Injected in every Studio document, including standalone previews and cursors.
5
+ // Zero specificity lets a theme override defaults regardless of injection order.
6
+ exports.studioCssVariables = `
7
+ :where(:root) {
8
+ --remotion-studio-black: black;
9
+ --remotion-studio-white: white;
10
+ --remotion-studio-red: red;
11
+ --remotion-studio-transparent: transparent;
12
+ --remotion-studio-current-color: currentColor;
13
+ --remotion-studio-background: rgb(31,36,40);
14
+ --remotion-studio-background-transparent: rgba(31,36,40, 0);
15
+ --remotion-studio-input-background: #2f363d;
16
+ --remotion-studio-light-color: #ddd;
17
+ --remotion-studio-light-text: #A6A7A9;
18
+ --remotion-studio-ruler-color: #808080;
19
+ --remotion-studio-white-alpha-05: rgba(255, 255, 255, 0.05);
20
+ --remotion-studio-white-alpha-06: rgba(255, 255, 255, 0.06);
21
+ --remotion-studio-white-alpha-08: rgba(255, 255, 255, 0.08);
22
+ --remotion-studio-white-alpha-10: rgba(255, 255, 255, 0.1);
23
+ --remotion-studio-white-alpha-12: rgba(255, 255, 255, 0.12);
24
+ --remotion-studio-white-alpha-15: rgba(255, 255, 255, 0.15);
25
+ --remotion-studio-white-alpha-20: rgba(255, 255, 255, 0.2);
26
+ --remotion-studio-white-alpha-25: rgba(255, 255, 255, 0.25);
27
+ --remotion-studio-white-alpha-30: rgba(255, 255, 255, 0.3);
28
+ --remotion-studio-white-alpha-35: rgba(255, 255, 255, 0.35);
29
+ --remotion-studio-white-alpha-40: rgba(255, 255, 255, 0.4);
30
+ --remotion-studio-white-alpha-45: rgba(255, 255, 255, 0.45);
31
+ --remotion-studio-white-alpha-50: rgba(255, 255, 255, 0.5);
32
+ --remotion-studio-white-alpha-60: rgba(255, 255, 255, 0.6);
33
+ --remotion-studio-white-alpha-70: rgba(255, 255, 255, 0.7);
34
+ --remotion-studio-white-alpha-72: rgba(255, 255, 255, 0.72);
35
+ --remotion-studio-white-alpha-80: rgba(255, 255, 255, 0.8);
36
+ --remotion-studio-white-alpha-90: rgba(255, 255, 255, 0.9);
37
+ --remotion-studio-black-alpha-28: rgba(0, 0, 0, 0.28);
38
+ --remotion-studio-black-alpha-30: rgba(0, 0, 0, 0.3);
39
+ --remotion-studio-black-alpha-40: rgba(0, 0, 0, 0.4);
40
+ --remotion-studio-black-alpha-50: rgba(0, 0, 0, 0.5);
41
+ --remotion-studio-black-alpha-60: rgba(0, 0, 0, 0.6);
42
+ --remotion-studio-black-alpha-80: rgba(0, 0, 0, 0.8);
43
+ --remotion-studio-black-alpha-85: rgba(0, 0, 0, 0.85);
44
+ --remotion-studio-black-alpha-90: rgba(0, 0, 0, 0.9);
45
+ --remotion-studio-fail-color: #ff3232;
46
+ --remotion-studio-warning-color: #f1c40f;
47
+ --remotion-studio-blue: #0b84f3;
48
+ --remotion-studio-blue-hovered: #4da3f7;
49
+ --remotion-studio-blue-disabled: #284f73;
50
+ --remotion-studio-unselected-guide: #7e1219;
51
+ --remotion-studio-selected-guide: #d22d3a;
52
+ --remotion-studio-line-color: #363A3E;
53
+ --remotion-studio-timeline-track-separator: #13161B;
54
+ --remotion-studio-light-gray: #ccc;
55
+ --remotion-studio-keyboard-shortcut-key-color: #eee;
56
+ --remotion-studio-notification-background: #111111;
57
+ --remotion-studio-render-status-background: #222;
58
+ --remotion-studio-error-code-frame-background: #070707;
59
+ --remotion-studio-error-code-frame-line-background: #121212;
60
+ --remotion-studio-error-link-color: #58a6ff;
61
+ --remotion-studio-info-blue: #60a5fa;
62
+ --remotion-studio-server-disconnected-background: #e74c3c;
63
+ --remotion-studio-timeline-background-color: #15181B;
64
+ --remotion-studio-timeline-negative-start-background-color: #2C2F32;
65
+ --remotion-studio-timeline-negative-start-border-color: #414446;
66
+ --remotion-studio-timeline-selected-background-color: #3B3F42;
67
+ --remotion-studio-timeline-selected-label-background-color: #B0B0B0;
68
+ --remotion-studio-timeline-blue: #0b84ff;
69
+ --remotion-studio-timeline-playhead-color: #f02c00;
70
+ --remotion-studio-timeline-drop-blue-alpha-12: rgba(0, 155, 255, 0.12);
71
+ --remotion-studio-timeline-drop-blue-alpha-16: rgba(0, 155, 255, 0.16);
72
+ --remotion-studio-timeline-drop-blue-alpha-75: rgba(0, 155, 255, 0.75);
73
+ --remotion-studio-timeline-marquee-blue-alpha-16: rgba(70, 130, 255, 0.16);
74
+ --remotion-studio-timeline-marquee-blue-alpha-75: rgba(70, 130, 255, 0.75);
75
+ --remotion-studio-easing-selected-background: rgba(11, 132, 243, 0.18);
76
+ --remotion-studio-info-blue-background: rgba(59, 130, 246, 0.15);
77
+ --remotion-studio-color-picker-checker-background-color: var(--remotion-studio-background);
78
+ --remotion-studio-color-picker-hue-gradient: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
79
+ --remotion-studio-timeline-audio-gradient: linear-gradient(rgb(16 171 58), rgb(43 165 63) 60%);
80
+ --remotion-studio-timeline-video-gradient: linear-gradient(to top, #8e44ad, #9b59b6);
81
+ --remotion-studio-focus-color: #555;
82
+ --remotion-studio-color-picker-checker-color: var(--remotion-studio-white-alpha-15);
83
+ --remotion-studio-info-blue-border-color: rgba(59, 130, 246, 0.4);
84
+ --remotion-studio-black-alpha-22: rgba(0, 0, 0, 0.22);
85
+ --remotion-studio-font-family-error-color: #ff8a8a;
86
+ --remotion-studio-selected-outline-snap-color: #ff00ff;
87
+ --remotion-studio-prism-text-color: #d4d4d4;
88
+ --remotion-studio-prism-selection-background: #264f78;
89
+ --remotion-studio-prism-background: #1e1e1e;
90
+ --remotion-studio-prism-inline-color: #db4c69;
91
+ --remotion-studio-prism-keyword-color: #569cd6;
92
+ --remotion-studio-prism-variable-color: #9cdcfe;
93
+ --remotion-studio-prism-comment-color: #6a9955;
94
+ --remotion-studio-prism-number-color: #b5cea8;
95
+ --remotion-studio-prism-string-color: #ce9178;
96
+ --remotion-studio-prism-control-flow-color: #c586c0;
97
+ --remotion-studio-prism-function-color: #dcdcaa;
98
+ --remotion-studio-prism-regex-color: #d16969;
99
+ --remotion-studio-prism-class-name-color: #4ec9b0;
100
+ --remotion-studio-prism-selector-color: #d7ba7d;
101
+ --remotion-studio-prism-line-highlight-background: #f7ebc6;
102
+ --remotion-studio-prism-line-highlight-border-color: #f7d87c;
103
+ }
104
+ `;
@@ -0,0 +1 @@
1
+ export declare const getStudioPixelRatio: () => number;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getStudioPixelRatio = void 0;
4
+ // Set this to a number temporarily to increase Studio canvas backing resolution.
5
+ const OVERRIDE_PIXEL_RATIO = null;
6
+ const getStudioPixelRatio = () => OVERRIDE_PIXEL_RATIO !== null && OVERRIDE_PIXEL_RATIO !== void 0 ? OVERRIDE_PIXEL_RATIO : window.devicePixelRatio;
7
+ exports.getStudioPixelRatio = getStudioPixelRatio;
@@ -1,3 +1,3 @@
1
1
  import type { SequenceNodePathInfo } from './get-timeline-sequence-sort-key';
2
- export { timelineSequenceNodePathToKey } from '@remotion/canvas';
2
+ export declare const timelineSequenceNodePathToKey: (key: import("remotion").SequencePropsSubscriptionKey) => string;
3
3
  export declare const timelineNodePathInfoToKey: (info: SequenceNodePathInfo) => string;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.timelineNodePathInfoToKey = exports.timelineSequenceNodePathToKey = void 0;
4
- const studio_shared_1 = require("@remotion/studio-shared");
5
4
  const canvas_1 = require("@remotion/canvas");
6
- Object.defineProperty(exports, "timelineSequenceNodePathToKey", { enumerable: true, get: function () { return canvas_1.timelineSequenceNodePathToKey; } });
5
+ const studio_shared_1 = require("@remotion/studio-shared");
6
+ ({ timelineSequenceNodePathToKey: exports.timelineSequenceNodePathToKey } = canvas_1.CanvasInternals);
7
7
  const timelineNodePathInfoToKey = (info) => [
8
8
  (0, studio_shared_1.stringifySequenceExpandedRowKey)(info.sequenceSubscriptionKey),
9
9
  info.auxiliaryKeys.join('.'),
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useRuntimeValueSnapshots = exports.useRuntimeValueSelector = exports.useRuntimeStoreValue = exports.useRuntimeValue = exports.useRuntimeValues = void 0;
4
+ const canvas_1 = require("@remotion/canvas");
4
5
  const react_1 = require("react");
5
6
  const use_sync_external_store_1 = require("./use-sync-external-store");
6
7
  const EMPTY_RUNTIME_VALUES = {};
@@ -51,31 +52,4 @@ const useRuntimeValueSelector = ({ controls, selector, isEqual = Object.is, }) =
51
52
  return (0, use_sync_external_store_1.useSyncExternalStore)(selectedStore.subscribe, selectedStore.getSnapshot, selectedStore.getSnapshot);
52
53
  };
53
54
  exports.useRuntimeValueSelector = useRuntimeValueSelector;
54
- const useRuntimeValueSnapshots = (controls) => {
55
- const stores = (0, react_1.useMemo)(() => controls.map((control) => control.runtimeValues), [controls]);
56
- const aggregateStore = (0, react_1.useMemo)(() => {
57
- let lastSnapshots = stores.map((store) => store.getSnapshot());
58
- const getSnapshot = () => {
59
- const nextSnapshots = stores.map((store) => store.getSnapshot());
60
- if (nextSnapshots.length === lastSnapshots.length &&
61
- nextSnapshots.every((snapshot, index) => snapshot === lastSnapshots[index])) {
62
- return lastSnapshots;
63
- }
64
- lastSnapshots = nextSnapshots;
65
- return lastSnapshots;
66
- };
67
- return {
68
- getSnapshot,
69
- subscribe: (listener) => {
70
- const unsubscribers = stores.map((store) => store.subscribe(listener));
71
- return () => {
72
- for (const unsubscribe of unsubscribers) {
73
- unsubscribe();
74
- }
75
- };
76
- },
77
- };
78
- }, [stores]);
79
- return (0, use_sync_external_store_1.useSyncExternalStore)(aggregateStore.subscribe, aggregateStore.getSnapshot, aggregateStore.getSnapshot);
80
- };
81
- exports.useRuntimeValueSnapshots = useRuntimeValueSnapshots;
55
+ ({ useCanvasRuntimeValueSnapshots: exports.useRuntimeValueSnapshots } = canvas_1.CanvasInternals);
@@ -5,13 +5,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.enableHotMiddleware = void 0;
6
6
  const studio_shared_1 = require("@remotion/studio-shared");
7
7
  const error_origin_1 = require("../error-overlay/error-origin");
8
- const colors_1 = require("../helpers/colors");
9
8
  const preview_server_events_1 = require("../helpers/preview-server-events");
10
9
  const process_update_1 = require("./process-update");
10
+ // DevTools console styles cannot inherit CSS variables from the page.
11
+ const HOT_MIDDLEWARE_ERROR_STYLE = 'color: #ff0000;';
12
+ const HOT_MIDDLEWARE_WARNING_STYLE = 'color: #999933;';
11
13
  function createReporter() {
12
14
  const styles = {
13
- errors: colors_1.HOT_MIDDLEWARE_ERROR_STYLE,
14
- warnings: colors_1.HOT_MIDDLEWARE_WARNING_STYLE,
15
+ errors: HOT_MIDDLEWARE_ERROR_STYLE,
16
+ warnings: HOT_MIDDLEWARE_WARNING_STYLE,
15
17
  };
16
18
  let previousProblems = null;
17
19
  function log(type, obj) {
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlignCenterHorizontalIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const colors_1 = require("../helpers/colors");
5
6
  const AlignCenterHorizontalIcon = (props) => {
6
7
  var _a;
7
- const color = (_a = props.color) !== null && _a !== void 0 ? _a : 'currentColor';
8
+ const color = (_a = props.color) !== null && _a !== void 0 ? _a : colors_1.CURRENT_COLOR;
8
9
  return (jsx_runtime_1.jsxs("svg", { ...props, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
9
10
  jsx_runtime_1.jsx("path", { d: "M8 2V14", stroke: color, strokeLinecap: "square" }), jsx_runtime_1.jsx("line", { x1: "3", y1: "6", x2: "12", y2: "6", stroke: color, strokeWidth: "2" }), jsx_runtime_1.jsx("line", { x1: "4", y1: "10", x2: "11", y2: "10", stroke: color, strokeWidth: "2" })
10
11
  ] }));
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlignLeftIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const colors_1 = require("../helpers/colors");
5
6
  const AlignLeftIcon = (props) => {
6
7
  var _a;
7
- const color = (_a = props.color) !== null && _a !== void 0 ? _a : 'currentColor';
8
+ const color = (_a = props.color) !== null && _a !== void 0 ? _a : colors_1.CURRENT_COLOR;
8
9
  return (jsx_runtime_1.jsxs("svg", { ...props, viewBox: "0 0 16 16", fill: "none", children: [
9
10
  jsx_runtime_1.jsx("path", { d: "M2 2L2 14", stroke: color, strokeLinecap: "square" }), jsx_runtime_1.jsx("line", { x1: "4", y1: "6", x2: "13", y2: "6", stroke: color, strokeWidth: "2" }), jsx_runtime_1.jsx("line", { x1: "4", y1: "10", x2: "11", y2: "10", stroke: color, strokeWidth: "2" })
10
11
  ] }));
@@ -2,9 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlignRightIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const colors_1 = require("../helpers/colors");
5
6
  const AlignRightIcon = (props) => {
6
7
  var _a;
7
- const color = (_a = props.color) !== null && _a !== void 0 ? _a : 'currentColor';
8
+ const color = (_a = props.color) !== null && _a !== void 0 ? _a : colors_1.CURRENT_COLOR;
8
9
  return (jsx_runtime_1.jsxs("svg", { ...props, viewBox: "0 0 16 16", fill: "none", children: [
9
10
  jsx_runtime_1.jsx("path", { d: "M14 2V14", stroke: color, strokeLinecap: "square" }), jsx_runtime_1.jsx("line", { x1: "3", y1: "6", x2: "12", y2: "6", stroke: color, strokeWidth: "2" }), jsx_runtime_1.jsx("line", { x1: "5", y1: "10", x2: "12", y2: "10", stroke: color, strokeWidth: "2" })
10
11
  ] }));
@@ -1,4 +1,4 @@
1
1
  import type { SVGProps } from 'react';
2
- export declare const SeparationIcon: ({ color, ...props }: SVGProps<SVGSVGElement> & {
2
+ export declare const BackgroundRemovalIcon: ({ color, ...props }: SVGProps<SVGSVGElement> & {
3
3
  readonly color?: string | undefined;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackgroundRemovalIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const colors_1 = require("../helpers/colors");
6
+ // Font Awesome Pro v7.3.1, Copyright 2026 Fonticons, Inc.
7
+ // https://fontawesome.com/license
8
+ const BackgroundRemovalIcon = ({ color, ...props }) => (jsx_runtime_1.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", ...props, children: jsx_runtime_1.jsx("path", { fill: color !== null && color !== void 0 ? color : colors_1.CURRENT_COLOR_LOWERCASE, d: "M128 64C92.7 64 64 92.7 64 128L64 208C64 216.8 71.2 224 80 224C88.8 224 96 216.8 96 208L96 128C96 110.3 110.3 96 128 96L208 96C216.8 96 224 88.8 224 80C224 71.2 216.8 64 208 64L128 64zM512 64L432 64C423.2 64 416 71.2 416 80C416 88.8 423.2 96 432 96L512 96C529.7 96 544 110.3 544 128L544 208C544 216.8 551.2 224 560 224C568.8 224 576 216.8 576 208L576 128C576 92.7 547.3 64 512 64zM64 512C64 547.3 92.7 576 128 576L208 576C216.8 576 224 568.8 224 560C224 551.2 216.8 544 208 544L128 544C110.3 544 96 529.7 96 512L96 432C96 423.2 88.8 416 80 416C71.2 416 64 423.2 64 432L64 512zM512 576C547.3 576 576 547.3 576 512L576 432C576 423.2 568.8 416 560 416C551.2 416 544 423.2 544 432L544 512C544 529.7 529.7 544 512 544L432 544C423.2 544 416 551.2 416 560C416 568.8 423.2 576 432 576L512 576zM296 288C296 274.7 285.3 264 272 264C258.7 264 248 274.7 248 288C248 301.3 258.7 312 272 312C285.3 312 296 301.3 296 288zM368 312C381.3 312 392 301.3 392 288C392 274.7 381.3 264 368 264C354.7 264 344 274.7 344 288C344 301.3 354.7 312 368 312zM320 192C390.7 192 448 249.3 448 320C448 390.7 390.7 448 320 448C249.3 448 192 390.7 192 320C192 249.3 249.3 192 320 192zM320 480C408.4 480 480 408.4 480 320C480 231.6 408.4 160 320 160C231.6 160 160 231.6 160 320C160 408.4 231.6 480 320 480zM278.4 352C274 344.4 264.2 341.7 256.5 346.2C248.8 350.7 246.2 360.4 250.7 368.1C264.5 392 290.4 408.1 320 408.1C349.6 408.1 375.5 392 389.3 368.1C393.7 360.4 391.1 350.7 383.5 346.2C375.9 341.7 366.1 344.4 361.6 352C353.3 366.4 337.8 376 320 376C302.2 376 286.7 366.4 278.4 352z" }) }));
9
+ exports.BackgroundRemovalIcon = BackgroundRemovalIcon;
@@ -2,9 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SnowflakeIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- // Font Awesome Free v7.3.1, Copyright 2026 Fonticons, Inc.
6
- // https://fontawesome.com/license/free
7
5
  const SnowflakeIcon = ({ color, ...props }) => {
8
- return (jsx_runtime_1.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", ...props, children: jsx_runtime_1.jsx("path", { fill: color, d: "M344.1 56C344.1 42.7 333.4 32 320.1 32C306.8 32 296.1 42.7 296.1 56L296.1 134.1L273.1 111.1C263.7 101.7 248.5 101.7 239.2 111.1C229.9 120.5 229.8 135.7 239.2 145L296.2 202L296.2 278.5L230 240.3L209.1 162.5C205.7 149.7 192.5 142.1 179.7 145.5C166.9 148.9 159.2 162 162.7 174.8L171.1 206.3L103.5 167.3C92 160.6 77.3 164.5 70.7 176C64.1 187.5 68 202.2 79.5 208.8L147.1 247.8L115.6 256.2C102.8 259.6 95.2 272.8 98.6 285.6C102 298.4 115.2 306 128 302.6L205.8 281.7L272 319.9L205.8 358.1L128 337.2C115.2 333.8 102 341.4 98.6 354.2C95.2 367 102.8 380.2 115.6 383.6L147.1 392L79.5 431C68 437.8 64.1 452.5 70.7 464C77.3 475.5 92 479.4 103.5 472.8L171.1 433.8L162.7 465.3C159.3 478.1 166.9 491.3 179.7 494.7C192.5 498.1 205.7 490.5 209.1 477.7L230 399.9L296.2 361.7L296.2 438.2L239.2 495.2C229.8 504.6 229.8 519.8 239.2 529.1C248.6 538.4 263.8 538.5 273.1 529.1L296.1 506.1L296.1 584.2C296.1 597.5 306.8 608.2 320.1 608.2C333.4 608.2 344.1 597.5 344.1 584.2L344.1 506.1L367.1 529.1C376.5 538.5 391.7 538.5 401 529.1C410.3 519.7 410.4 504.5 401 495.2L344 438.2L344 361.7L410.2 399.9L431.1 477.7C434.5 490.5 447.7 498.1 460.5 494.7C473.3 491.3 480.9 478.1 477.5 465.3L469.1 433.8L536.7 472.8C548.2 479.4 562.9 475.5 569.5 464C576.1 452.5 572.2 437.8 560.7 431.2L493.1 392.2L524.6 383.8C537.4 380.4 545 367.2 541.6 354.4C538.2 341.6 525 334 512.2 337.4L434.4 358.3L368.2 320.1L434.4 281.9L512.2 302.8C525 306.2 538.2 298.6 541.6 285.8C545 273 537.4 259.8 524.6 256.4L493.1 248L560.7 209C572.2 202.4 576.1 187.7 569.5 176.2C562.9 164.7 548.2 160.8 536.7 167.4L469.1 206.4L477.5 174.9C480.9 162.1 473.3 148.9 460.5 145.5C447.7 142.1 434.5 149.7 431.1 162.5L410.2 240.3L344 278.5L344 202L401 145C410.4 135.6 410.4 120.4 401 111.1C391.6 101.8 376.4 101.7 367.1 111.1L344.1 134.1L344.1 56z" }) }));
6
+ return (jsx_runtime_1.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", ...props, children: jsx_runtime_1.jsx("path", { d: "M320 80V560M112 200L528 440M112 440L528 200M272 112L320 160L368 112M272 528L320 480L368 528M181 184L181 240L128 264M459 184L459 240L512 264M181 456L181 400L128 376M459 456L459 400L512 376", fill: "none", stroke: color, strokeWidth: 28, strokeLinecap: "round", strokeLinejoin: "round" }) }));
9
7
  };
10
8
  exports.SnowflakeIcon = SnowflakeIcon;
@@ -1,5 +1,5 @@
1
1
  import type { SVGProps } from 'react';
2
2
  import React from 'react';
3
- export declare const ScissorsIcon: React.FC<SVGProps<SVGSVGElement> & {
3
+ export declare const SplitIcon: React.FC<SVGProps<SVGSVGElement> & {
4
4
  readonly color: string;
5
5
  }>;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SplitIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const SplitIcon = ({ color, ...props }) => {
6
+ return (jsx_runtime_1.jsx("svg", { viewBox: "0 0 640 640", ...props, children: jsx_runtime_1.jsx("path", { d: "M152 112h72c26.5 0 48 21.5 48 48v320c0 26.5-21.5 48-48 48h-72M488 112h-72c-26.5 0-48 21.5-48 48v320c0 26.5 21.5 48 48 48h72", fill: "none", stroke: color, strokeWidth: 32, strokeLinecap: "round", strokeLinejoin: "round" }) }));
7
+ };
8
+ exports.SplitIcon = SplitIcon;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrashIcon = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
- const TrashIcon = ({ color, ...props }) => {
6
- return (jsx_runtime_1.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", ...props, children: jsx_runtime_1.jsx("path", { fill: color, d: "M160.5 27.4C162.5 20.6 168.8 16 175.8 16h96.4c7.1 0 13.3 4.6 15.3 11.4l11 36.6h-149l11-36.6zM116.1 64H16C7.2 64 0 71.2 0 80s7.2 16 16 16h416c8.8 0 16-7.2 16-16s-7.2-16-16-16H331.9l-13.7-45.8C312.1-2.1 293.4-16 272.2-16h-96.4c-21.2 0-39.9 13.9-46 34.2L116.1 64zM28.7 144l22.9 308.7c2.5 33.4 30.3 59.3 63.8 59.3h217.1c33.5 0 61.3-25.9 63.8-59.3L419.2 144h-32.1l-22.7 306.4c-1.2 16.7-15.2 29.6-31.9 29.6H115.4c-16.8 0-30.7-12.9-31.9-29.6L60.8 144H28.7z" }) }));
5
+ const TrashIcon = ({ color, style, ...props }) => {
6
+ return (jsx_runtime_1.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", ...props, style: { overflow: 'visible', ...style }, children: jsx_runtime_1.jsx("path", { fill: color, d: "M160.5 27.4C162.5 20.6 168.8 16 175.8 16h96.4c7.1 0 13.3 4.6 15.3 11.4l11 36.6h-149l11-36.6zM116.1 64H16C7.2 64 0 71.2 0 80s7.2 16 16 16h416c8.8 0 16-7.2 16-16s-7.2-16-16-16H331.9l-13.7-45.8C312.1-2.1 293.4-16 272.2-16h-96.4c-21.2 0-39.9 13.9-46 34.2L116.1 64zM28.7 144l22.9 308.7c2.5 33.4 30.3 59.3 63.8 59.3h217.1c33.5 0 61.3-25.9 63.8-59.3L419.2 144h-32.1l-22.7 306.4c-1.2 16.7-15.2 29.6-31.9 29.6H115.4c-16.8 0-30.7-12.9-31.9-29.6L60.8 144H28.7z" }) }));
7
7
  };
8
8
  exports.TrashIcon = TrashIcon;
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const WrapIcon: React.FC<SVGProps<SVGSVGElement> & {
3
+ readonly color: string;
4
+ }>;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WrapIcon = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ // Font Awesome Pro v7.3.1, Copyright 2026 Fonticons, Inc.
6
+ // https://fontawesome.com/license (Commercial License)
7
+ const WrapIcon = ({ color, ...props }) => {
8
+ return (jsx_runtime_1.jsx("svg", { ...props, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 640 640", children: jsx_runtime_1.jsx("path", { d: "M160 112h320c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H160c-26.5 0-48-21.5-48-48v-64c0-26.5 21.5-48 48-48ZM192 272v112c0 35.3 28.7 64 64 64h48M352 368h128c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H352c-26.5 0-48-21.5-48-48v-64c0-26.5 21.5-48 48-48Z", fill: "none", stroke: color, strokeWidth: 28, strokeLinecap: "round", strokeLinejoin: "round" }) }));
9
+ };
10
+ exports.WrapIcon = WrapIcon;