@remotion/studio 4.0.484 → 4.0.486

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 (288) hide show
  1. package/dist/ResolveCompositionConfigInStudio.js +42 -0
  2. package/dist/components/AssetSelector.js +1 -1
  3. package/dist/components/AssetSelectorItem.js +9 -9
  4. package/dist/components/AudioWaveform.js +3 -3
  5. package/dist/components/Button.js +2 -2
  6. package/dist/components/Canvas.js +28 -0
  7. package/dist/components/CanvasOrLoading.js +1 -1
  8. package/dist/components/CheckboardToggle.js +1 -1
  9. package/dist/components/Checkbox.js +3 -3
  10. package/dist/components/ColorPicker/AlphaSlider.js +4 -3
  11. package/dist/components/ColorPicker/ColorPicker.js +4 -4
  12. package/dist/components/ColorPicker/ColorPickerPopup.js +10 -10
  13. package/dist/components/ColorPicker/HueSlider.js +4 -3
  14. package/dist/components/ColorPicker/SaturationValueArea.js +5 -4
  15. package/dist/components/ColorPicker/checker.d.ts +1 -1
  16. package/dist/components/ColorPicker/checker.js +3 -3
  17. package/dist/components/CompactExplanation.js +3 -3
  18. package/dist/components/CompositionSelector.js +141 -5
  19. package/dist/components/CompositionSelectorItem.d.ts +1 -0
  20. package/dist/components/CompositionSelectorItem.js +103 -11
  21. package/dist/components/ContextMenu.js +75 -1
  22. package/dist/components/CopyButton.js +3 -2
  23. package/dist/components/CurrentAsset.d.ts +3 -1
  24. package/dist/components/CurrentAsset.js +15 -2
  25. package/dist/components/CurrentComposition.js +3 -2
  26. package/dist/components/EffectPickerModal.js +1 -1
  27. package/dist/components/FilePreview.js +2 -1
  28. package/dist/components/FpsCounter.js +3 -2
  29. package/dist/components/FullscreenToggle.js +2 -1
  30. package/dist/components/GlobalKeybindings.js +0 -12
  31. package/dist/components/InlineAction.js +2 -2
  32. package/dist/components/InlineCompositionName.d.ts +7 -0
  33. package/dist/components/InlineCompositionName.js +58 -0
  34. package/dist/components/InlineEditableTitle.d.ts +8 -0
  35. package/dist/components/InlineEditableTitle.js +134 -0
  36. package/dist/components/InspectorInfoHeader.js +2 -2
  37. package/dist/components/InspectorPanel/DefaultInspector.d.ts +1 -0
  38. package/dist/components/InspectorPanel/DefaultInspector.js +2 -2
  39. package/dist/components/InspectorPanel/KeyframeEasingNavigator.js +1 -1
  40. package/dist/components/InspectorPanel/KeyframeInspector.js +1 -0
  41. package/dist/components/InspectorPanel/SequenceInspectorHeader.js +17 -30
  42. package/dist/components/InspectorPanel/common.js +2 -2
  43. package/dist/components/InspectorPanel/styles.js +5 -5
  44. package/dist/components/InspectorPanel.d.ts +1 -0
  45. package/dist/components/InspectorPanel.js +2 -2
  46. package/dist/components/InspectorSequenceSection.js +35 -2
  47. package/dist/components/InstallablePackage.js +1 -1
  48. package/dist/components/KeyboardShortcutsExplainer.js +5 -5
  49. package/dist/components/LoopToggle.js +1 -1
  50. package/dist/components/Menu/MenuDivider.js +1 -1
  51. package/dist/components/Menu/MenuItem.js +1 -1
  52. package/dist/components/Menu/MenuSubItem.js +1 -1
  53. package/dist/components/Menu/styles.js +3 -3
  54. package/dist/components/MenuToolbar.js +2 -2
  55. package/dist/components/ModalButton.js +1 -1
  56. package/dist/components/ModalContainer.js +3 -3
  57. package/dist/components/ModalFooter.js +2 -1
  58. package/dist/components/ModalHeader.js +3 -2
  59. package/dist/components/Modals.js +2 -1
  60. package/dist/components/NewComposition/CancelButton.js +4 -3
  61. package/dist/components/NewComposition/CodemodFooter.d.ts +7 -1
  62. package/dist/components/NewComposition/CodemodFooter.js +17 -12
  63. package/dist/components/NewComposition/ComboBox.js +3 -3
  64. package/dist/components/NewComposition/DeleteComposition.js +7 -1
  65. package/dist/components/NewComposition/DeleteFolder.js +7 -1
  66. package/dist/components/NewComposition/DuplicateComposition.js +17 -10
  67. package/dist/components/NewComposition/InputAndValidationContainer.d.ts +3 -0
  68. package/dist/components/NewComposition/InputAndValidationContainer.js +15 -0
  69. package/dist/components/NewComposition/InputDragger.js +11 -3
  70. package/dist/components/NewComposition/MenuContent.js +1 -1
  71. package/dist/components/NewComposition/NewCompDuration.js +7 -6
  72. package/dist/components/NewComposition/NewComposition.d.ts +5 -1
  73. package/dist/components/NewComposition/NewComposition.js +31 -85
  74. package/dist/components/NewComposition/NewFolder.d.ts +5 -0
  75. package/dist/components/NewComposition/NewFolder.js +86 -0
  76. package/dist/components/NewComposition/RemInput.js +3 -3
  77. package/dist/components/NewComposition/RemTextarea.js +1 -1
  78. package/dist/components/NewComposition/RenameComposition.js +13 -14
  79. package/dist/components/NewComposition/RenameFolder.js +9 -2
  80. package/dist/components/NewComposition/RenameStaticFile.js +22 -60
  81. package/dist/components/NewComposition/ValidationMessage.js +10 -2
  82. package/dist/components/NewComposition/use-rename-static-file.d.ts +18 -0
  83. package/dist/components/NewComposition/use-rename-static-file.js +90 -0
  84. package/dist/components/NoRegisterRoot.js +3 -2
  85. package/dist/components/Notifications/ColorDot.js +3 -2
  86. package/dist/components/Notifications/Notification.js +4 -4
  87. package/dist/components/Notifications/NotificationCenter.js +2 -1
  88. package/dist/components/Notifications/ServerDisconnected.js +5 -4
  89. package/dist/components/OptionsPanel.d.ts +0 -3
  90. package/dist/components/OptionsPanel.js +8 -4
  91. package/dist/components/OutlineToggle.js +1 -1
  92. package/dist/components/PlayPause.js +4 -3
  93. package/dist/components/PreviewToolbar.js +1 -1
  94. package/dist/components/QuickSwitcher/AlgoliaCredit.js +2 -1
  95. package/dist/components/QuickSwitcher/QuickSwitcherContent.js +1 -1
  96. package/dist/components/QuickSwitcher/QuickSwitcherResult.js +2 -2
  97. package/dist/components/RefreshCompositionOverlay.js +2 -1
  98. package/dist/components/RenderButton.js +9 -9
  99. package/dist/components/RenderModal/CliCopyButton.js +1 -1
  100. package/dist/components/RenderModal/ClientRenderProgress.js +1 -1
  101. package/dist/components/RenderModal/DataEditor.js +1 -1
  102. package/dist/components/RenderModal/GuiRenderStatus.js +1 -1
  103. package/dist/components/RenderModal/InfoBubble.js +2 -2
  104. package/dist/components/RenderModal/InfoTooltip.js +3 -3
  105. package/dist/components/RenderModal/InlineEyeIcon.js +2 -1
  106. package/dist/components/RenderModal/InlineRemoveButton.js +2 -1
  107. package/dist/components/RenderModal/MultiRangeSlider.js +1 -1
  108. package/dist/components/RenderModal/OptionExplainer.js +2 -2
  109. package/dist/components/RenderModal/RenderModalHr.js +2 -1
  110. package/dist/components/RenderModal/RenderStatusModal.js +2 -1
  111. package/dist/components/RenderModal/SchemaEditor/SchemaLabel.js +1 -5
  112. package/dist/components/RenderModal/SchemaEditor/SchemaResetButton.js +2 -1
  113. package/dist/components/RenderModal/SchemaEditor/SchemaSeparationLine.js +1 -1
  114. package/dist/components/RenderModal/SchemaEditor/SchemaVerticalGuide.js +2 -1
  115. package/dist/components/RenderModal/SchemaEditor/ZodDateEditor.js +1 -1
  116. package/dist/components/RenderModal/SchemaEditor/ZodErrorMessages.js +1 -1
  117. package/dist/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +1 -1
  118. package/dist/components/RenderModal/SchemaEditor/create-zod-values.js +2 -1
  119. package/dist/components/RenderModal/ServerRenderModal.js +5 -4
  120. package/dist/components/RenderModal/WarningIndicatorButton.js +4 -6
  121. package/dist/components/RenderModal/WebRenderModal.js +2 -1
  122. package/dist/components/RenderModal/WebRenderModalAudio.js +4 -3
  123. package/dist/components/RenderModal/WebRenderModalLicense.js +2 -2
  124. package/dist/components/RenderModal/WebRenderModalPicture.js +2 -1
  125. package/dist/components/RenderModal/render-modals.js +3 -3
  126. package/dist/components/RenderPreview.js +1 -1
  127. package/dist/components/RenderQueue/RenderQueueCopyToClipboard.js +2 -1
  128. package/dist/components/RenderQueue/RenderQueueDownloadItem.js +2 -1
  129. package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +2 -1
  130. package/dist/components/RenderQueue/RenderQueueItemStatus.js +1 -1
  131. package/dist/components/RenderQueue/RenderQueueOpenInFolder.js +2 -1
  132. package/dist/components/RenderQueue/RenderQueueRemoveItem.js +2 -1
  133. package/dist/components/RenderQueue/RenderQueueRepeat.js +2 -1
  134. package/dist/components/RenderQueue/index.js +1 -1
  135. package/dist/components/RendersTab.js +2 -2
  136. package/dist/components/SegmentedControl.js +3 -3
  137. package/dist/components/SelectedOutlineElement.d.ts +5 -0
  138. package/dist/components/SelectedOutlineElement.js +52 -10
  139. package/dist/components/SelectedOutlineOverlay.d.ts +1 -1
  140. package/dist/components/SelectedOutlineOverlay.js +16 -4
  141. package/dist/components/SelectedOutlineUvControls.js +5 -5
  142. package/dist/components/SidebarCollapserControls.js +5 -4
  143. package/dist/components/Splitter/SplitterElement.js +2 -1
  144. package/dist/components/StaticFilePreview.js +1 -1
  145. package/dist/components/Tabs/index.js +3 -3
  146. package/dist/components/Tabs/vertical.js +3 -3
  147. package/dist/components/TextViewer.js +2 -1
  148. package/dist/components/TimeValue.js +1 -1
  149. package/dist/components/Timeline/EasingEditorModal.js +8 -8
  150. package/dist/components/Timeline/KeyframeSettingsModal.js +1 -1
  151. package/dist/components/Timeline/LoopedIndicator.js +2 -2
  152. package/dist/components/Timeline/MaxTimelineTracks.js +3 -2
  153. package/dist/components/Timeline/TimelineArrayField.js +6 -5
  154. package/dist/components/Timeline/TimelineColorField.js +2 -1
  155. package/dist/components/Timeline/TimelineDeleteKeybindings.js +34 -1
  156. package/dist/components/Timeline/TimelineEffectItem.js +3 -2
  157. package/dist/components/Timeline/TimelineEffectPropItem.js +2 -2
  158. package/dist/components/Timeline/TimelineExpandArrowButton.js +3 -2
  159. package/dist/components/Timeline/TimelineExpandedRow.js +2 -1
  160. package/dist/components/Timeline/TimelineExpandedSection.js +2 -1
  161. package/dist/components/Timeline/TimelineFieldLabel.js +2 -1
  162. package/dist/components/Timeline/TimelineFontFamilyField.d.ts +11 -0
  163. package/dist/components/Timeline/TimelineFontFamilyField.js +545 -0
  164. package/dist/components/Timeline/TimelineImageInfo.js +2 -1
  165. package/dist/components/Timeline/TimelineInOutPointer.js +2 -1
  166. package/dist/components/Timeline/TimelineInOutPointerHandle.js +4 -5
  167. package/dist/components/Timeline/TimelineKeyframeControls.d.ts +1 -1
  168. package/dist/components/Timeline/TimelineKeyframeControls.js +3 -2
  169. package/dist/components/Timeline/TimelineKeyframeDiamondIcon.js +1 -1
  170. package/dist/components/Timeline/TimelineKeyframeEasingLine.js +1 -1
  171. package/dist/components/Timeline/TimelineLayerEye.js +3 -3
  172. package/dist/components/Timeline/TimelineMediaInfo.js +2 -2
  173. package/dist/components/Timeline/TimelinePrimitiveFieldValue.js +8 -0
  174. package/dist/components/Timeline/TimelineRotationField.js +4 -3
  175. package/dist/components/Timeline/TimelineScaleField.js +1 -1
  176. package/dist/components/Timeline/TimelineSchemaField.d.ts +2 -0
  177. package/dist/components/Timeline/TimelineSchemaField.js +47 -7
  178. package/dist/components/Timeline/TimelineScrollable.js +3 -2
  179. package/dist/components/Timeline/TimelineSelection.js +7 -6
  180. package/dist/components/Timeline/TimelineSequence.js +17 -20
  181. package/dist/components/Timeline/TimelineSequenceFrame.js +3 -2
  182. package/dist/components/Timeline/TimelineSequenceItem.js +27 -108
  183. package/dist/components/Timeline/TimelineSequenceName.js +3 -2
  184. package/dist/components/Timeline/TimelineSequencePropItem.js +8 -4
  185. package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.d.ts +20 -1
  186. package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +128 -11
  187. package/dist/components/Timeline/TimelineSlider.js +2 -1
  188. package/dist/components/Timeline/TimelineSliderHandle.js +2 -1
  189. package/dist/components/Timeline/TimelineTextContentField.d.ts +12 -0
  190. package/dist/components/Timeline/TimelineTextContentField.js +100 -0
  191. package/dist/components/Timeline/TimelineTimeIndicators.js +1 -1
  192. package/dist/components/Timeline/TimelineVideoInfo.js +2 -1
  193. package/dist/components/Timeline/TimelineWidthProvider.js +18 -3
  194. package/dist/components/Timeline/TimelineZoomControls.js +4 -3
  195. package/dist/components/Timeline/call-move-keyframe.d.ts +5 -0
  196. package/dist/components/Timeline/call-move-keyframe.js +14 -3
  197. package/dist/components/Timeline/focus-inspector-field.d.ts +16 -0
  198. package/dist/components/Timeline/focus-inspector-field.js +49 -0
  199. package/dist/components/Timeline/google-fonts-list.d.ts +6 -0
  200. package/dist/components/Timeline/google-fonts-list.js +1512 -0
  201. package/dist/components/Timeline/save-sequence-prop.d.ts +8 -1
  202. package/dist/components/Timeline/save-sequence-prop.js +63 -19
  203. package/dist/components/Timeline/split-selected-timeline-item.d.ts +38 -0
  204. package/dist/components/Timeline/split-selected-timeline-item.js +156 -0
  205. package/dist/components/Timeline/timeline-field-display-utils.js +2 -0
  206. package/dist/components/Timeline/timeline-rotation-field-utils.d.ts +5 -0
  207. package/dist/components/Timeline/timeline-rotation-field-utils.js +16 -0
  208. package/dist/components/Timeline/timeline-scroll-logic.js +5 -2
  209. package/dist/components/Timeline/use-expanded-track-keyframe-rows.js +1 -0
  210. package/dist/components/Timeline/use-rename-sequence.d.ts +30 -0
  211. package/dist/components/Timeline/use-rename-sequence.js +115 -0
  212. package/dist/components/Timeline/use-timeline-expanded-tree.d.ts +2 -1
  213. package/dist/components/Timeline/use-timeline-expanded-tree.js +3 -1
  214. package/dist/components/Timeline/use-timeline-height.js +1 -0
  215. package/dist/components/TimelineInOutToggle.js +1 -1
  216. package/dist/components/UpdateCheck.js +2 -2
  217. package/dist/components/UpdateModal/OpenIssueButton.js +1 -1
  218. package/dist/components/VisualControls/ClickableFileName.js +2 -2
  219. package/dist/components/composition-menu-items.js +3 -0
  220. package/dist/components/effect-drag-and-drop.js +1 -0
  221. package/dist/components/folder-menu-items.js +20 -0
  222. package/dist/components/import-assets.d.ts +7 -1
  223. package/dist/components/import-assets.js +55 -1
  224. package/dist/components/options-sidebar-tabs.d.ts +4 -0
  225. package/dist/components/options-sidebar-tabs.js +5 -0
  226. package/dist/components/selected-outline-measurement.js +2 -1
  227. package/dist/components/selected-outline-types.d.ts +6 -1
  228. package/dist/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.js +2 -2
  229. package/dist/error-overlay/remotion-overlay/CodeFrame.js +7 -5
  230. package/dist/error-overlay/remotion-overlay/CompositionIdListItem.js +2 -2
  231. package/dist/error-overlay/remotion-overlay/DismissButton.js +3 -2
  232. package/dist/error-overlay/remotion-overlay/ErrorLoader.js +3 -2
  233. package/dist/error-overlay/remotion-overlay/ErrorMessage.js +4 -4
  234. package/dist/error-overlay/remotion-overlay/HelpLink.js +1 -1
  235. package/dist/error-overlay/remotion-overlay/MediaPlaybackErrorExplainer.js +4 -4
  236. package/dist/error-overlay/remotion-overlay/Overlay.js +3 -2
  237. package/dist/error-overlay/remotion-overlay/StackFrame.js +4 -3
  238. package/dist/error-overlay/remotion-overlay/Symbolicating.js +2 -1
  239. package/dist/error-overlay/remotion-overlay/carets.js +3 -2
  240. package/dist/esm/{chunk-9erwh79m.js → chunk-975rp13y.js} +11165 -7032
  241. package/dist/esm/chunk-jefhcs5z.js +164 -0
  242. package/dist/esm/internals.mjs +11166 -6999
  243. package/dist/esm/previewEntry.mjs +10697 -6526
  244. package/dist/esm/renderEntry.mjs +8 -5
  245. package/dist/helpers/checkerboard-background.js +4 -12
  246. package/dist/helpers/colors.d.ts +99 -7
  247. package/dist/helpers/colors.js +118 -10
  248. package/dist/helpers/inject-css.js +85 -83
  249. package/dist/helpers/render-codec-label.d.ts +1 -1
  250. package/dist/helpers/timeline-layout.d.ts +7 -4
  251. package/dist/helpers/timeline-layout.js +3 -1
  252. package/dist/helpers/use-create-composition.d.ts +35 -0
  253. package/dist/helpers/use-create-composition.js +111 -0
  254. package/dist/helpers/use-menu-structure.js +31 -3
  255. package/dist/helpers/use-rename-composition.d.ts +16 -0
  256. package/dist/helpers/use-rename-composition.js +49 -0
  257. package/dist/helpers/validate-folder-rename.js +2 -10
  258. package/dist/helpers/validate-new-folder-name.d.ts +5 -0
  259. package/dist/helpers/validate-new-folder-name.js +16 -0
  260. package/dist/hot-middleware-client/client.js +3 -2
  261. package/dist/icons/Checkmark.js +2 -1
  262. package/dist/icons/audio.js +2 -1
  263. package/dist/icons/caret.js +2 -2
  264. package/dist/icons/certificate.js +2 -1
  265. package/dist/icons/data.js +2 -1
  266. package/dist/icons/eyedropper.js +2 -1
  267. package/dist/icons/file.js +2 -1
  268. package/dist/icons/frame.js +2 -1
  269. package/dist/icons/gear.js +2 -1
  270. package/dist/icons/gif.js +2 -1
  271. package/dist/icons/jump-to-start.js +2 -1
  272. package/dist/icons/keys.js +4 -3
  273. package/dist/icons/media-volume.js +1 -1
  274. package/dist/icons/minus.js +2 -1
  275. package/dist/icons/pause.js +2 -1
  276. package/dist/icons/play.js +2 -1
  277. package/dist/icons/redo.js +2 -1
  278. package/dist/icons/step-back.js +2 -1
  279. package/dist/icons/step-forward.js +2 -1
  280. package/dist/icons/undo.js +2 -1
  281. package/dist/previewEntry.js +2 -1
  282. package/dist/renderEntry.js +4 -3
  283. package/dist/state/modals.d.ts +7 -0
  284. package/dist/state/timeline-zoom.js +17 -14
  285. package/dist/state/z-index.d.ts +1 -0
  286. package/dist/state/z-index.js +11 -2
  287. package/package.json +12 -12
  288. package/dist/esm/chunk-6jf1natv.js +0 -25
@@ -23,11 +23,7 @@ const SchemaLabel = ({ jsonPath, onRemove, valid, suffix, handleClick }) => {
23
23
  return {
24
24
  fontFamily: 'monospace',
25
25
  fontSize: 12,
26
- color: valid
27
- ? clickableButtonHovered
28
- ? 'white'
29
- : colors_1.LIGHT_TEXT
30
- : colors_1.FAIL_COLOR,
26
+ color: valid ? (clickableButtonHovered ? colors_1.WHITE : colors_1.LIGHT_TEXT) : colors_1.FAIL_COLOR,
31
27
  lineHeight: '20px',
32
28
  };
33
29
  }, [clickableButtonHovered, valid]);
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SchemaResetButton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../../helpers/colors");
6
7
  const InlineAction_1 = require("../../InlineAction");
7
8
  const icon = {
8
9
  height: 14,
9
- color: 'currentColor',
10
+ color: colors_1.CURRENT_COLOR,
10
11
  };
11
12
  const SchemaResetButton = ({ onClick }) => {
12
13
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -89,7 +89,7 @@ const SchemaArrayItemSeparationLine = ({ onChange, index, schema, isLast, showAd
89
89
  display: 'flex',
90
90
  flexDirection: 'column',
91
91
  alignItems: 'flex-end',
92
- }, children: [showAddButton && (jsx_runtime_1.jsx("div", { style: dynamicAddButtonStyle, onPointerEnter: onOuterMouseEnter, onPointerLeave: onOuterMouseLeave, children: jsx_runtime_1.jsx("div", { onClick: onAdd, style: inner, onPointerEnter: onInnerMouseEnter, onPointerLeave: onInnerMouseLeave, children: jsx_runtime_1.jsx(plus_1.Plus, { color: innerHovered ? 'white' : colors_1.LIGHT_TEXT, style: {
92
+ }, children: [showAddButton && (jsx_runtime_1.jsx("div", { style: dynamicAddButtonStyle, onPointerEnter: onOuterMouseEnter, onPointerLeave: onOuterMouseLeave, children: jsx_runtime_1.jsx("div", { onClick: onAdd, style: inner, onPointerEnter: onInnerMouseEnter, onPointerLeave: onInnerMouseLeave, children: jsx_runtime_1.jsx(plus_1.Plus, { color: innerHovered ? colors_1.WHITE : colors_1.LIGHT_TEXT, style: {
93
93
  display: 'block',
94
94
  height: exports.VERTICAL_GUIDE_HEIGHT / 2,
95
95
  } }) }) })), jsx_runtime_1.jsx("div", { style: arraySeparationLine })
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SchemaVerticalGuide = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../../helpers/colors");
6
7
  const SchemaSeparationLine_1 = require("./SchemaSeparationLine");
7
8
  const flex = {
8
9
  flex: 1,
@@ -22,7 +23,7 @@ const SchemaVerticalGuide = ({ isRoot, children }) => {
22
23
  : {
23
24
  height: `calc(100% - ${SchemaSeparationLine_1.VERTICAL_GUIDE_HEIGHT / 2}px)`,
24
25
  width: 1,
25
- background: '#363A3E',
26
+ background: colors_1.LINE_COLOR,
26
27
  position: 'absolute',
27
28
  };
28
29
  }, [isRoot]);
@@ -17,7 +17,7 @@ const fullWidth = {
17
17
  const explainer = {
18
18
  fontFamily: 'sans-serif',
19
19
  fontSize: 12,
20
- color: colors_1.VERY_LIGHT_TEXT,
20
+ color: colors_1.WHITE_ALPHA_30,
21
21
  };
22
22
  // This will do 2 things:
23
23
  // - Make the calendar icon white
@@ -15,7 +15,7 @@ const compactSchemaLabel = {
15
15
  fontSize: 12,
16
16
  };
17
17
  const jsonLabel = {
18
- color: 'white',
18
+ color: colors_1.WHITE,
19
19
  fontSize: 13,
20
20
  fontFamily: 'sans-serif',
21
21
  display: 'flex',
@@ -10,7 +10,7 @@ const fullWidth = {
10
10
  };
11
11
  const emptyLabel = {
12
12
  width: '100%',
13
- color: colors_1.VERY_LIGHT_TEXT,
13
+ color: colors_1.WHITE_ALPHA_30,
14
14
  fontFamily: 'sans-serif',
15
15
  fontSize: 14,
16
16
  };
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createZodValues = void 0;
4
+ const colors_1 = require("../../../helpers/colors");
4
5
  const zod_schema_type_1 = require("./zod-schema-type");
5
6
  const createZodValues = (schema, zodRuntime, zodTypes) => {
6
7
  var _a;
@@ -13,7 +14,7 @@ const createZodValues = (schema, zodRuntime, zodTypes) => {
13
14
  const description = (0, zod_schema_type_1.getZodSchemaDescription)(schema);
14
15
  if (zodTypes) {
15
16
  if (description === zodTypes.ZodZypesInternals.REMOTION_COLOR_BRAND) {
16
- return '#ffffff';
17
+ return colors_1.WHITE_FULL_HEX;
17
18
  }
18
19
  if (description === zodTypes.ZodZypesInternals.REMOTION_TEXTAREA_BRAND) {
19
20
  return '';
@@ -27,6 +27,7 @@ const is_menu_item_1 = require("../Menu/is-menu-item");
27
27
  const ModalHeader_1 = require("../ModalHeader");
28
28
  const DismissableModal_1 = require("../NewComposition/DismissableModal");
29
29
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
30
+ const options_sidebar_tabs_1 = require("../options-sidebar-tabs");
30
31
  const OptionsPanel_1 = require("../OptionsPanel");
31
32
  const actions_1 = require("../RenderQueue/actions");
32
33
  const SegmentedControl_1 = require("../SegmentedControl");
@@ -365,7 +366,7 @@ const RenderModal = ({ readOnlyStudio, initialFrame, initialVideoImageFormat, in
365
366
  var _a;
366
367
  setSidebarCollapsedState({ left: null, right: 'expanded' });
367
368
  (0, OptionsPanel_1.persistSelectedOptionsSidebarPanel)('renders');
368
- (_a = OptionsPanel_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
369
+ (_a = options_sidebar_tabs_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
369
370
  dispatchIfMounted({ type: 'start' });
370
371
  (0, actions_1.addStillRenderJob)({
371
372
  compositionId: resolvedComposition.id,
@@ -438,7 +439,7 @@ const RenderModal = ({ readOnlyStudio, initialFrame, initialVideoImageFormat, in
438
439
  var _a;
439
440
  setSidebarCollapsedState({ left: null, right: 'expanded' });
440
441
  (0, OptionsPanel_1.persistSelectedOptionsSidebarPanel)('renders');
441
- (_a = OptionsPanel_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
442
+ (_a = options_sidebar_tabs_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
442
443
  dispatchIfMounted({ type: 'start' });
443
444
  (0, actions_1.addVideoRenderJob)({
444
445
  compositionId: resolvedComposition.id,
@@ -548,7 +549,7 @@ const RenderModal = ({ readOnlyStudio, initialFrame, initialVideoImageFormat, in
548
549
  var _a;
549
550
  setSidebarCollapsedState({ left: null, right: 'expanded' });
550
551
  (0, OptionsPanel_1.persistSelectedOptionsSidebarPanel)('renders');
551
- (_a = OptionsPanel_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
552
+ (_a = options_sidebar_tabs_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
552
553
  dispatchIfMounted({ type: 'start' });
553
554
  (0, actions_1.addSequenceRenderJob)({
554
555
  compositionId: resolvedComposition.id,
@@ -999,7 +1000,7 @@ const RenderModal = ({ readOnlyStudio, initialFrame, initialVideoImageFormat, in
999
1000
  "Audio"] })) : null, shownTabs.includes('gif') ? (jsx_runtime_1.jsxs(vertical_1.VerticalTab, { style: render_modals_1.horizontalTab, selected: tab === 'gif', onClick: () => setTab('gif'), children: [
1000
1001
  jsx_runtime_1.jsx("div", { style: render_modals_1.iconContainer, children: jsx_runtime_1.jsx(gif_1.GifIcon, { style: render_modals_1.icon }) }),
1001
1002
  "GIF"] })) : null, shownTabs.includes('encoding') ? (jsx_runtime_1.jsxs(vertical_1.VerticalTab, { style: render_modals_1.horizontalTab, selected: tab === 'encoding', onClick: () => setTab('encoding'), children: [
1002
- jsx_runtime_1.jsx("div", { style: render_modals_1.iconContainer, children: jsx_runtime_1.jsx(video_1.FilmIcon, { style: render_modals_1.icon, color: "currentcolor" }) }),
1003
+ jsx_runtime_1.jsx("div", { style: render_modals_1.iconContainer, children: jsx_runtime_1.jsx(video_1.FilmIcon, { style: render_modals_1.icon, color: colors_1.CURRENT_COLOR_LOWERCASE }) }),
1003
1004
  "Encoding"] })) : null, shownTabs.includes('environment') ? (jsx_runtime_1.jsxs(vertical_1.VerticalTab, { style: render_modals_1.horizontalTab, selected: tab === 'environment', onClick: () => setTab('environment'), children: [
1004
1005
  jsx_runtime_1.jsx("div", { style: render_modals_1.iconContainer, children: jsx_runtime_1.jsx(data_1.DataIcon, { style: render_modals_1.icon }) }),
1005
1006
  "Environment"] })) : null, shownTabs.includes('advanced') ? (jsx_runtime_1.jsxs(vertical_1.VerticalTab, { style: render_modals_1.horizontalTab, selected: tab === 'advanced', onClick: () => setTab('advanced'), children: [
@@ -11,7 +11,7 @@ const style = {
11
11
  display: 'inline-flex',
12
12
  justifyContent: 'center',
13
13
  alignItems: 'center',
14
- backgroundColor: 'transparent',
14
+ backgroundColor: colors_1.TRANSPARENT,
15
15
  color: colors_1.LIGHT_TEXT,
16
16
  borderStyle: 'solid',
17
17
  borderWidth: 1,
@@ -50,11 +50,9 @@ const WarningIndicatorButton = ({ setShowWarning, showWarning, warningCount, siz
50
50
  const buttonStyle = (0, react_1.useMemo)(() => {
51
51
  return {
52
52
  ...(size === 'compact' ? compactStyle : style),
53
- backgroundColor: showWarning ? colors_1.INPUT_BACKGROUND : 'transparent',
54
- borderColor: showWarning
55
- ? colors_1.INPUT_BORDER_COLOR_HOVERED
56
- : colors_1.INPUT_BORDER_COLOR_UNHOVERED,
57
- color: showWarning ? 'white' : colors_1.LIGHT_TEXT,
53
+ backgroundColor: showWarning ? colors_1.INPUT_BACKGROUND : colors_1.TRANSPARENT,
54
+ borderColor: showWarning ? colors_1.WHITE_ALPHA_05 : colors_1.BLACK_ALPHA_60,
55
+ color: showWarning ? colors_1.WHITE : colors_1.LIGHT_TEXT,
58
56
  };
59
57
  }, [showWarning, size]);
60
58
  return (jsx_runtime_1.jsxs("button", { type: "button", style: buttonStyle, onClick: onClick, children: [
@@ -18,6 +18,7 @@ const Button_1 = require("../Button");
18
18
  const is_menu_item_1 = require("../Menu/is-menu-item");
19
19
  const ModalHeader_1 = require("../ModalHeader");
20
20
  const DismissableModal_1 = require("../NewComposition/DismissableModal");
21
+ const options_sidebar_tabs_1 = require("../options-sidebar-tabs");
21
22
  const OptionsPanel_1 = require("../OptionsPanel");
22
23
  const context_1 = require("../RenderQueue/context");
23
24
  const SegmentedControl_1 = require("../SegmentedControl");
@@ -369,7 +370,7 @@ const WebRenderModal = ({ initialFrame, defaultProps, inFrameMark, outFrameMark,
369
370
  }
370
371
  setSidebarCollapsedState({ left: null, right: 'expanded' });
371
372
  (0, OptionsPanel_1.persistSelectedOptionsSidebarPanel)('renders');
372
- (_a = OptionsPanel_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
373
+ (_a = options_sidebar_tabs_1.optionsSidebarTabs.current) === null || _a === void 0 ? void 0 : _a.selectRendersPanel();
373
374
  setSelectedModal(null);
374
375
  }, [
375
376
  renderMode,
@@ -4,6 +4,7 @@ exports.WebRenderModalAudio = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const web_renderer_1 = require("@remotion/web-renderer");
6
6
  const react_1 = require("react");
7
+ const colors_1 = require("../../helpers/colors");
7
8
  const Checkmark_1 = require("../../icons/Checkmark");
8
9
  const layout_1 = require("../layout");
9
10
  const is_menu_item_1 = require("../Menu/is-menu-item");
@@ -17,8 +18,8 @@ const container = {
17
18
  overflowY: 'auto',
18
19
  };
19
20
  const fallbackNoticeStyle = {
20
- backgroundColor: 'rgba(59, 130, 246, 0.15)',
21
- border: '1px solid rgba(59, 130, 246, 0.4)',
21
+ backgroundColor: colors_1.INFO_BLUE_BACKGROUND,
22
+ border: colors_1.BORDER_INFO_BLUE,
22
23
  borderRadius: 4,
23
24
  padding: '8px 12px',
24
25
  marginLeft: 16,
@@ -26,7 +27,7 @@ const fallbackNoticeStyle = {
26
27
  marginTop: 8,
27
28
  fontSize: 13,
28
29
  lineHeight: 1.4,
29
- color: '#60a5fa',
30
+ color: colors_1.INFO_BLUE,
30
31
  };
31
32
  const humanReadableWebAudioCodec = (audioCodec) => {
32
33
  switch (audioCodec) {
@@ -33,14 +33,14 @@ const paddedDescriptionStyle = {
33
33
  fontSize: 14,
34
34
  fontFamily: 'sans-serif',
35
35
  padding: 9,
36
- border: '1px solid ' + colors_1.INPUT_BORDER_COLOR_UNHOVERED,
36
+ border: '1px solid ' + colors_1.BLACK_ALPHA_60,
37
37
  borderRadius: 8,
38
38
  lineHeight: 1.5,
39
39
  marginLeft: 16,
40
40
  marginRight: 16,
41
41
  };
42
42
  const descriptionLink = {
43
- color: 'white',
43
+ color: colors_1.WHITE,
44
44
  fontSize: 14,
45
45
  };
46
46
  const checkboxLabel = {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WebRenderModalPicture = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const Checkbox_1 = require("../Checkbox");
7
8
  const ComboBox_1 = require("../NewComposition/ComboBox");
8
9
  const layout_1 = require("./layout");
@@ -22,7 +23,7 @@ const WebRenderModalPicture = ({ renderMode, videoBitrate, setVideoBitrate, keyf
22
23
  jsx_runtime_1.jsxs("div", { style: layout_1.optionRow, children: [
23
24
  jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Quality" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: qualityOptions, selectedId: videoBitrate, title: "Quality" }) })
24
25
  ] }), jsx_runtime_1.jsx(NumberSetting_1.NumberSetting, { name: "Keyframe Interval", formatter: (v) => `${v}s`, min: 1, max: 300, step: 1, value: keyframeIntervalInSeconds, onValueChanged: setKeyframeIntervalInSeconds }), jsx_runtime_1.jsxs("div", { style: layout_1.optionRow, children: [
25
- jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Transparent" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(Checkbox_1.Checkbox, { checked: transparent, onChange: onTransparentChanged, name: "transparent" }) })
26
+ jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Transparent" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(Checkbox_1.Checkbox, { checked: transparent, onChange: onTransparentChanged, name: colors_1.TRANSPARENT }) })
26
27
  ] })
27
28
  ] }))] }));
28
29
  };
@@ -15,7 +15,7 @@ exports.container = {
15
15
  flexDirection: 'row',
16
16
  alignItems: 'center',
17
17
  padding: '12px 16px',
18
- borderBottom: '1px solid black',
18
+ borderBottom: colors_1.BORDER_BLACK,
19
19
  };
20
20
  exports.optionsPanel = {
21
21
  display: 'flex',
@@ -51,12 +51,12 @@ exports.iconContainer = {
51
51
  alignItems: 'center',
52
52
  };
53
53
  exports.icon = {
54
- color: 'currentcolor',
54
+ color: colors_1.CURRENT_COLOR_LOWERCASE,
55
55
  height: 20,
56
56
  };
57
57
  exports.buttonStyle = {
58
58
  backgroundColor: colors_1.BLUE,
59
- color: 'white',
59
+ color: colors_1.WHITE,
60
60
  };
61
61
  exports.flexer = {
62
62
  flex: 1,
@@ -10,7 +10,7 @@ const get_preview_file_type_1 = require("../helpers/get-preview-file-type");
10
10
  const FilePreview_1 = require("./FilePreview");
11
11
  const msgStyle = {
12
12
  fontSize: 13,
13
- color: 'white',
13
+ color: colors_1.WHITE,
14
14
  fontFamily: 'sans-serif',
15
15
  display: 'flex',
16
16
  justifyContent: 'center',
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RenderQueueCopyToClipboard = exports.supportsCopyingToClipboard = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const get_asset_metadata_1 = require("../../helpers/get-asset-metadata");
7
8
  const clipboard_1 = require("../../icons/clipboard");
8
9
  const InlineAction_1 = require("../InlineAction");
9
10
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
10
11
  const revealIconStyle = {
11
12
  height: 12,
12
- color: 'currentColor',
13
+ color: colors_1.CURRENT_COLOR,
13
14
  };
14
15
  const supportsCopyingToClipboard = (job) => {
15
16
  if (job.status !== 'done') {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RenderQueueDownloadItem = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const InlineAction_1 = require("../InlineAction");
7
8
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
8
9
  const ClientRenderQueueProcessor_1 = require("./ClientRenderQueueProcessor");
@@ -24,7 +25,7 @@ const RenderQueueDownloadItem = ({ job }) => {
24
25
  const icon = (0, react_1.useMemo)(() => {
25
26
  return {
26
27
  height: 12,
27
- color: 'currentColor',
28
+ color: colors_1.CURRENT_COLOR,
28
29
  };
29
30
  }, []);
30
31
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RenderQueueCancelButton = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const InlineAction_1 = require("../InlineAction");
7
8
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
8
9
  const actions_1 = require("./actions");
@@ -23,7 +24,7 @@ const RenderQueueCancelButton = ({ job }) => {
23
24
  const icon = (0, react_1.useMemo)(() => {
24
25
  return {
25
26
  height: 14,
26
- color: 'currentColor',
27
+ color: colors_1.CURRENT_COLOR,
27
28
  };
28
29
  }, []);
29
30
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -75,7 +75,7 @@ const RenderQueueItemStatus = ({ job }) => {
75
75
  return (jsx_runtime_1.jsx("svg", { style: iconStyle, viewBox: "0 0 512 512", children: jsx_runtime_1.jsx("path", { fill: colors_1.LIGHT_TEXT, d: "M256 512C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" }) }));
76
76
  }
77
77
  if (job.status === 'done') {
78
- return (jsx_runtime_1.jsx("button", { type: "button", style: invisibleStyle, onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, onClick: onClick, children: jsx_runtime_1.jsx("svg", { style: iconStyle, viewBox: "0 0 512 512", children: jsx_runtime_1.jsx("path", { fill: hovered ? 'white' : colors_1.LIGHT_TEXT, d: "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337l-17 17-17-17-64-64-17-17L160 222.1l17 17 47 47L335 175l17-17L385.9 192l-17 17z" }) }) }));
78
+ return (jsx_runtime_1.jsx("button", { type: "button", style: invisibleStyle, onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, onClick: onClick, children: jsx_runtime_1.jsx("svg", { style: iconStyle, viewBox: "0 0 512 512", children: jsx_runtime_1.jsx("path", { fill: hovered ? colors_1.WHITE : colors_1.LIGHT_TEXT, d: "M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337l-17 17-17-17-64-64-17-17L160 222.1l17 17 47 47L335 175l17-17L385.9 192l-17 17z" }) }) }));
79
79
  }
80
80
  if (job.status === 'running') {
81
81
  let progressValue;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RenderQueueOpenInFinderItem = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const folder_1 = require("../../icons/folder");
7
8
  const InlineAction_1 = require("../InlineAction");
8
9
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
@@ -17,7 +18,7 @@ const RenderQueueOpenInFinderItem = ({ job }) => {
17
18
  const icon = (0, react_1.useMemo)(() => {
18
19
  return {
19
20
  height: 12,
20
- color: 'currentColor',
21
+ color: colors_1.CURRENT_COLOR,
21
22
  };
22
23
  }, []);
23
24
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const remotion_1 = require("remotion");
7
7
  const save_render_output_1 = require("../../api/save-render-output");
8
+ const colors_1 = require("../../helpers/colors");
8
9
  const InlineAction_1 = require("../InlineAction");
9
10
  const NotificationCenter_1 = require("../Notifications/NotificationCenter");
10
11
  const actions_1 = require("./actions");
@@ -39,7 +40,7 @@ const RenderQueueRemoveItem = ({ job }) => {
39
40
  const icon = (0, react_1.useMemo)(() => {
40
41
  return {
41
42
  height: 16,
42
- color: 'currentColor',
43
+ color: colors_1.CURRENT_COLOR,
43
44
  };
44
45
  }, []);
45
46
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RenderQueueRepeatItem = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
6
7
  const mobile_layout_1 = require("../../helpers/mobile-layout");
7
8
  const retry_payload_1 = require("../../helpers/retry-payload");
8
9
  const modals_1 = require("../../state/modals");
@@ -37,7 +38,7 @@ const RenderQueueRepeatItem = ({ job }) => {
37
38
  const icon = (0, react_1.useMemo)(() => {
38
39
  return {
39
40
  height: 12,
40
- color: 'currentColor',
41
+ color: colors_1.CURRENT_COLOR,
41
42
  };
42
43
  }, []);
43
44
  const renderAction = (0, react_1.useCallback)((color) => {
@@ -45,7 +45,7 @@ const is_menu_item_1 = require("../Menu/is-menu-item");
45
45
  const context_1 = require("./context");
46
46
  const RenderQueueItem_1 = require("./RenderQueueItem");
47
47
  const separatorStyle = {
48
- borderBottom: `1px solid ${colors_1.BORDER_COLOR}`,
48
+ borderBottom: `1px solid ${colors_1.BLACK_HEX}`,
49
49
  };
50
50
  const errorExplanation = {
51
51
  fontSize: 14,
@@ -31,8 +31,8 @@ const RendersTab = ({ selected, onClick }) => {
31
31
  const badgeStyle = (0, react_1.useMemo)(() => {
32
32
  return {
33
33
  ...badge,
34
- backgroundColor: failedJobs > 0 ? colors_1.FAIL_COLOR : 'transparent',
35
- color: failedJobs > 0 ? 'white' : colors_1.LIGHT_TEXT,
34
+ backgroundColor: failedJobs > 0 ? colors_1.FAIL_COLOR : colors_1.TRANSPARENT,
35
+ color: failedJobs > 0 ? colors_1.WHITE : colors_1.LIGHT_TEXT,
36
36
  borderWidth: failedJobs > 0 ? 0 : 1,
37
37
  borderStyle: 'solid',
38
38
  borderColor: colors_1.LIGHT_TEXT,
@@ -9,7 +9,7 @@ const container = {
9
9
  display: 'flex',
10
10
  flexDirection: 'row',
11
11
  overflow: 'hidden',
12
- border: '1px solid ' + colors_1.INPUT_BORDER_COLOR_UNHOVERED,
12
+ border: '1px solid ' + colors_1.BLACK_ALPHA_60,
13
13
  flexWrap: 'wrap',
14
14
  maxWidth: 350,
15
15
  justifyContent: 'flex-end',
@@ -63,8 +63,8 @@ const Item = ({ selected, onClick, children, size }) => {
63
63
  const itemStyle = (0, react_1.useMemo)(() => {
64
64
  return {
65
65
  ...(size === 'compact' ? compactItem : item),
66
- backgroundColor: selected ? colors_1.INPUT_BACKGROUND : 'transparent',
67
- color: selected ? 'white' : hovered ? 'white' : colors_1.LIGHT_TEXT,
66
+ backgroundColor: selected ? colors_1.INPUT_BACKGROUND : colors_1.TRANSPARENT,
67
+ color: selected ? colors_1.WHITE : hovered ? colors_1.WHITE : colors_1.LIGHT_TEXT,
68
68
  };
69
69
  }, [hovered, selected, size]);
70
70
  return (jsx_runtime_1.jsx("button", { type: "button", onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, style: itemStyle, tabIndex: tabIndex, onClick: onClick, children: children }));
@@ -2,6 +2,11 @@ import React from 'react';
2
2
  import type { SelectedOutline } from './selected-outline-geometry';
3
3
  import { type SelectedOutlineDragTarget, type SelectedOutlineRotationDragTarget, type SelectedOutlineScaleDragTarget, type SelectedOutlineTarget } from './selected-outline-types';
4
4
  import type { TimelineSelection, TimelineSelectionInteraction } from './Timeline/TimelineSelection';
5
+ export declare const SelectedOutlineTransformOriginHandle: React.FC<{
6
+ readonly outline: SelectedOutline;
7
+ readonly onDraggingChange: (dragging: boolean) => void;
8
+ readonly target: SelectedOutlineTarget | undefined;
9
+ }>;
5
10
  export declare const SelectedOutlineElement: React.FC<{
6
11
  readonly allDragTargets: readonly SelectedOutlineDragTarget[];
7
12
  readonly allRotationDragTargets: readonly SelectedOutlineRotationDragTarget[];