@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.
- package/dist/ResolveCompositionConfigInStudio.js +42 -0
- package/dist/components/AssetSelector.js +1 -1
- package/dist/components/AssetSelectorItem.js +9 -9
- package/dist/components/AudioWaveform.js +3 -3
- package/dist/components/Button.js +2 -2
- package/dist/components/Canvas.js +28 -0
- package/dist/components/CanvasOrLoading.js +1 -1
- package/dist/components/CheckboardToggle.js +1 -1
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/ColorPicker/AlphaSlider.js +4 -3
- package/dist/components/ColorPicker/ColorPicker.js +4 -4
- package/dist/components/ColorPicker/ColorPickerPopup.js +10 -10
- package/dist/components/ColorPicker/HueSlider.js +4 -3
- package/dist/components/ColorPicker/SaturationValueArea.js +5 -4
- package/dist/components/ColorPicker/checker.d.ts +1 -1
- package/dist/components/ColorPicker/checker.js +3 -3
- package/dist/components/CompactExplanation.js +3 -3
- package/dist/components/CompositionSelector.js +141 -5
- package/dist/components/CompositionSelectorItem.d.ts +1 -0
- package/dist/components/CompositionSelectorItem.js +103 -11
- package/dist/components/ContextMenu.js +75 -1
- package/dist/components/CopyButton.js +3 -2
- package/dist/components/CurrentAsset.d.ts +3 -1
- package/dist/components/CurrentAsset.js +15 -2
- package/dist/components/CurrentComposition.js +3 -2
- package/dist/components/EffectPickerModal.js +1 -1
- package/dist/components/FilePreview.js +2 -1
- package/dist/components/FpsCounter.js +3 -2
- package/dist/components/FullscreenToggle.js +2 -1
- package/dist/components/GlobalKeybindings.js +0 -12
- package/dist/components/InlineAction.js +2 -2
- package/dist/components/InlineCompositionName.d.ts +7 -0
- package/dist/components/InlineCompositionName.js +58 -0
- package/dist/components/InlineEditableTitle.d.ts +8 -0
- package/dist/components/InlineEditableTitle.js +134 -0
- package/dist/components/InspectorInfoHeader.js +2 -2
- package/dist/components/InspectorPanel/DefaultInspector.d.ts +1 -0
- package/dist/components/InspectorPanel/DefaultInspector.js +2 -2
- package/dist/components/InspectorPanel/KeyframeEasingNavigator.js +1 -1
- package/dist/components/InspectorPanel/KeyframeInspector.js +1 -0
- package/dist/components/InspectorPanel/SequenceInspectorHeader.js +17 -30
- package/dist/components/InspectorPanel/common.js +2 -2
- package/dist/components/InspectorPanel/styles.js +5 -5
- package/dist/components/InspectorPanel.d.ts +1 -0
- package/dist/components/InspectorPanel.js +2 -2
- package/dist/components/InspectorSequenceSection.js +35 -2
- package/dist/components/InstallablePackage.js +1 -1
- package/dist/components/KeyboardShortcutsExplainer.js +5 -5
- package/dist/components/LoopToggle.js +1 -1
- package/dist/components/Menu/MenuDivider.js +1 -1
- package/dist/components/Menu/MenuItem.js +1 -1
- package/dist/components/Menu/MenuSubItem.js +1 -1
- package/dist/components/Menu/styles.js +3 -3
- package/dist/components/MenuToolbar.js +2 -2
- package/dist/components/ModalButton.js +1 -1
- package/dist/components/ModalContainer.js +3 -3
- package/dist/components/ModalFooter.js +2 -1
- package/dist/components/ModalHeader.js +3 -2
- package/dist/components/Modals.js +2 -1
- package/dist/components/NewComposition/CancelButton.js +4 -3
- package/dist/components/NewComposition/CodemodFooter.d.ts +7 -1
- package/dist/components/NewComposition/CodemodFooter.js +17 -12
- package/dist/components/NewComposition/ComboBox.js +3 -3
- package/dist/components/NewComposition/DeleteComposition.js +7 -1
- package/dist/components/NewComposition/DeleteFolder.js +7 -1
- package/dist/components/NewComposition/DuplicateComposition.js +17 -10
- package/dist/components/NewComposition/InputAndValidationContainer.d.ts +3 -0
- package/dist/components/NewComposition/InputAndValidationContainer.js +15 -0
- package/dist/components/NewComposition/InputDragger.js +11 -3
- package/dist/components/NewComposition/MenuContent.js +1 -1
- package/dist/components/NewComposition/NewCompDuration.js +7 -6
- package/dist/components/NewComposition/NewComposition.d.ts +5 -1
- package/dist/components/NewComposition/NewComposition.js +31 -85
- package/dist/components/NewComposition/NewFolder.d.ts +5 -0
- package/dist/components/NewComposition/NewFolder.js +86 -0
- package/dist/components/NewComposition/RemInput.js +3 -3
- package/dist/components/NewComposition/RemTextarea.js +1 -1
- package/dist/components/NewComposition/RenameComposition.js +13 -14
- package/dist/components/NewComposition/RenameFolder.js +9 -2
- package/dist/components/NewComposition/RenameStaticFile.js +22 -60
- package/dist/components/NewComposition/ValidationMessage.js +10 -2
- package/dist/components/NewComposition/use-rename-static-file.d.ts +18 -0
- package/dist/components/NewComposition/use-rename-static-file.js +90 -0
- package/dist/components/NoRegisterRoot.js +3 -2
- package/dist/components/Notifications/ColorDot.js +3 -2
- package/dist/components/Notifications/Notification.js +4 -4
- package/dist/components/Notifications/NotificationCenter.js +2 -1
- package/dist/components/Notifications/ServerDisconnected.js +5 -4
- package/dist/components/OptionsPanel.d.ts +0 -3
- package/dist/components/OptionsPanel.js +8 -4
- package/dist/components/OutlineToggle.js +1 -1
- package/dist/components/PlayPause.js +4 -3
- package/dist/components/PreviewToolbar.js +1 -1
- package/dist/components/QuickSwitcher/AlgoliaCredit.js +2 -1
- package/dist/components/QuickSwitcher/QuickSwitcherContent.js +1 -1
- package/dist/components/QuickSwitcher/QuickSwitcherResult.js +2 -2
- package/dist/components/RefreshCompositionOverlay.js +2 -1
- package/dist/components/RenderButton.js +9 -9
- package/dist/components/RenderModal/CliCopyButton.js +1 -1
- package/dist/components/RenderModal/ClientRenderProgress.js +1 -1
- package/dist/components/RenderModal/DataEditor.js +1 -1
- package/dist/components/RenderModal/GuiRenderStatus.js +1 -1
- package/dist/components/RenderModal/InfoBubble.js +2 -2
- package/dist/components/RenderModal/InfoTooltip.js +3 -3
- package/dist/components/RenderModal/InlineEyeIcon.js +2 -1
- package/dist/components/RenderModal/InlineRemoveButton.js +2 -1
- package/dist/components/RenderModal/MultiRangeSlider.js +1 -1
- package/dist/components/RenderModal/OptionExplainer.js +2 -2
- package/dist/components/RenderModal/RenderModalHr.js +2 -1
- package/dist/components/RenderModal/RenderStatusModal.js +2 -1
- package/dist/components/RenderModal/SchemaEditor/SchemaLabel.js +1 -5
- package/dist/components/RenderModal/SchemaEditor/SchemaResetButton.js +2 -1
- package/dist/components/RenderModal/SchemaEditor/SchemaSeparationLine.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/SchemaVerticalGuide.js +2 -1
- package/dist/components/RenderModal/SchemaEditor/ZodDateEditor.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodErrorMessages.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodNonEditableValue.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/create-zod-values.js +2 -1
- package/dist/components/RenderModal/ServerRenderModal.js +5 -4
- package/dist/components/RenderModal/WarningIndicatorButton.js +4 -6
- package/dist/components/RenderModal/WebRenderModal.js +2 -1
- package/dist/components/RenderModal/WebRenderModalAudio.js +4 -3
- package/dist/components/RenderModal/WebRenderModalLicense.js +2 -2
- package/dist/components/RenderModal/WebRenderModalPicture.js +2 -1
- package/dist/components/RenderModal/render-modals.js +3 -3
- package/dist/components/RenderPreview.js +1 -1
- package/dist/components/RenderQueue/RenderQueueCopyToClipboard.js +2 -1
- package/dist/components/RenderQueue/RenderQueueDownloadItem.js +2 -1
- package/dist/components/RenderQueue/RenderQueueItemCancelButton.js +2 -1
- package/dist/components/RenderQueue/RenderQueueItemStatus.js +1 -1
- package/dist/components/RenderQueue/RenderQueueOpenInFolder.js +2 -1
- package/dist/components/RenderQueue/RenderQueueRemoveItem.js +2 -1
- package/dist/components/RenderQueue/RenderQueueRepeat.js +2 -1
- package/dist/components/RenderQueue/index.js +1 -1
- package/dist/components/RendersTab.js +2 -2
- package/dist/components/SegmentedControl.js +3 -3
- package/dist/components/SelectedOutlineElement.d.ts +5 -0
- package/dist/components/SelectedOutlineElement.js +52 -10
- package/dist/components/SelectedOutlineOverlay.d.ts +1 -1
- package/dist/components/SelectedOutlineOverlay.js +16 -4
- package/dist/components/SelectedOutlineUvControls.js +5 -5
- package/dist/components/SidebarCollapserControls.js +5 -4
- package/dist/components/Splitter/SplitterElement.js +2 -1
- package/dist/components/StaticFilePreview.js +1 -1
- package/dist/components/Tabs/index.js +3 -3
- package/dist/components/Tabs/vertical.js +3 -3
- package/dist/components/TextViewer.js +2 -1
- package/dist/components/TimeValue.js +1 -1
- package/dist/components/Timeline/EasingEditorModal.js +8 -8
- package/dist/components/Timeline/KeyframeSettingsModal.js +1 -1
- package/dist/components/Timeline/LoopedIndicator.js +2 -2
- package/dist/components/Timeline/MaxTimelineTracks.js +3 -2
- package/dist/components/Timeline/TimelineArrayField.js +6 -5
- package/dist/components/Timeline/TimelineColorField.js +2 -1
- package/dist/components/Timeline/TimelineDeleteKeybindings.js +34 -1
- package/dist/components/Timeline/TimelineEffectItem.js +3 -2
- package/dist/components/Timeline/TimelineEffectPropItem.js +2 -2
- package/dist/components/Timeline/TimelineExpandArrowButton.js +3 -2
- package/dist/components/Timeline/TimelineExpandedRow.js +2 -1
- package/dist/components/Timeline/TimelineExpandedSection.js +2 -1
- package/dist/components/Timeline/TimelineFieldLabel.js +2 -1
- package/dist/components/Timeline/TimelineFontFamilyField.d.ts +11 -0
- package/dist/components/Timeline/TimelineFontFamilyField.js +545 -0
- package/dist/components/Timeline/TimelineImageInfo.js +2 -1
- package/dist/components/Timeline/TimelineInOutPointer.js +2 -1
- package/dist/components/Timeline/TimelineInOutPointerHandle.js +4 -5
- package/dist/components/Timeline/TimelineKeyframeControls.d.ts +1 -1
- package/dist/components/Timeline/TimelineKeyframeControls.js +3 -2
- package/dist/components/Timeline/TimelineKeyframeDiamondIcon.js +1 -1
- package/dist/components/Timeline/TimelineKeyframeEasingLine.js +1 -1
- package/dist/components/Timeline/TimelineLayerEye.js +3 -3
- package/dist/components/Timeline/TimelineMediaInfo.js +2 -2
- package/dist/components/Timeline/TimelinePrimitiveFieldValue.js +8 -0
- package/dist/components/Timeline/TimelineRotationField.js +4 -3
- package/dist/components/Timeline/TimelineScaleField.js +1 -1
- package/dist/components/Timeline/TimelineSchemaField.d.ts +2 -0
- package/dist/components/Timeline/TimelineSchemaField.js +47 -7
- package/dist/components/Timeline/TimelineScrollable.js +3 -2
- package/dist/components/Timeline/TimelineSelection.js +7 -6
- package/dist/components/Timeline/TimelineSequence.js +17 -20
- package/dist/components/Timeline/TimelineSequenceFrame.js +3 -2
- package/dist/components/Timeline/TimelineSequenceItem.js +27 -108
- package/dist/components/Timeline/TimelineSequenceName.js +3 -2
- package/dist/components/Timeline/TimelineSequencePropItem.js +8 -4
- package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.d.ts +20 -1
- package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +128 -11
- package/dist/components/Timeline/TimelineSlider.js +2 -1
- package/dist/components/Timeline/TimelineSliderHandle.js +2 -1
- package/dist/components/Timeline/TimelineTextContentField.d.ts +12 -0
- package/dist/components/Timeline/TimelineTextContentField.js +100 -0
- package/dist/components/Timeline/TimelineTimeIndicators.js +1 -1
- package/dist/components/Timeline/TimelineVideoInfo.js +2 -1
- package/dist/components/Timeline/TimelineWidthProvider.js +18 -3
- package/dist/components/Timeline/TimelineZoomControls.js +4 -3
- package/dist/components/Timeline/call-move-keyframe.d.ts +5 -0
- package/dist/components/Timeline/call-move-keyframe.js +14 -3
- package/dist/components/Timeline/focus-inspector-field.d.ts +16 -0
- package/dist/components/Timeline/focus-inspector-field.js +49 -0
- package/dist/components/Timeline/google-fonts-list.d.ts +6 -0
- package/dist/components/Timeline/google-fonts-list.js +1512 -0
- package/dist/components/Timeline/save-sequence-prop.d.ts +8 -1
- package/dist/components/Timeline/save-sequence-prop.js +63 -19
- package/dist/components/Timeline/split-selected-timeline-item.d.ts +38 -0
- package/dist/components/Timeline/split-selected-timeline-item.js +156 -0
- package/dist/components/Timeline/timeline-field-display-utils.js +2 -0
- package/dist/components/Timeline/timeline-rotation-field-utils.d.ts +5 -0
- package/dist/components/Timeline/timeline-rotation-field-utils.js +16 -0
- package/dist/components/Timeline/timeline-scroll-logic.js +5 -2
- package/dist/components/Timeline/use-expanded-track-keyframe-rows.js +1 -0
- package/dist/components/Timeline/use-rename-sequence.d.ts +30 -0
- package/dist/components/Timeline/use-rename-sequence.js +115 -0
- package/dist/components/Timeline/use-timeline-expanded-tree.d.ts +2 -1
- package/dist/components/Timeline/use-timeline-expanded-tree.js +3 -1
- package/dist/components/Timeline/use-timeline-height.js +1 -0
- package/dist/components/TimelineInOutToggle.js +1 -1
- package/dist/components/UpdateCheck.js +2 -2
- package/dist/components/UpdateModal/OpenIssueButton.js +1 -1
- package/dist/components/VisualControls/ClickableFileName.js +2 -2
- package/dist/components/composition-menu-items.js +3 -0
- package/dist/components/effect-drag-and-drop.js +1 -0
- package/dist/components/folder-menu-items.js +20 -0
- package/dist/components/import-assets.d.ts +7 -1
- package/dist/components/import-assets.js +55 -1
- package/dist/components/options-sidebar-tabs.d.ts +4 -0
- package/dist/components/options-sidebar-tabs.js +5 -0
- package/dist/components/selected-outline-measurement.js +2 -1
- package/dist/components/selected-outline-types.d.ts +6 -1
- package/dist/error-overlay/remotion-overlay/CalculateMetadataErrorExplainer.js +2 -2
- package/dist/error-overlay/remotion-overlay/CodeFrame.js +7 -5
- package/dist/error-overlay/remotion-overlay/CompositionIdListItem.js +2 -2
- package/dist/error-overlay/remotion-overlay/DismissButton.js +3 -2
- package/dist/error-overlay/remotion-overlay/ErrorLoader.js +3 -2
- package/dist/error-overlay/remotion-overlay/ErrorMessage.js +4 -4
- package/dist/error-overlay/remotion-overlay/HelpLink.js +1 -1
- package/dist/error-overlay/remotion-overlay/MediaPlaybackErrorExplainer.js +4 -4
- package/dist/error-overlay/remotion-overlay/Overlay.js +3 -2
- package/dist/error-overlay/remotion-overlay/StackFrame.js +4 -3
- package/dist/error-overlay/remotion-overlay/Symbolicating.js +2 -1
- package/dist/error-overlay/remotion-overlay/carets.js +3 -2
- package/dist/esm/{chunk-9erwh79m.js → chunk-975rp13y.js} +11165 -7032
- package/dist/esm/chunk-jefhcs5z.js +164 -0
- package/dist/esm/internals.mjs +11166 -6999
- package/dist/esm/previewEntry.mjs +10697 -6526
- package/dist/esm/renderEntry.mjs +8 -5
- package/dist/helpers/checkerboard-background.js +4 -12
- package/dist/helpers/colors.d.ts +99 -7
- package/dist/helpers/colors.js +118 -10
- package/dist/helpers/inject-css.js +85 -83
- package/dist/helpers/render-codec-label.d.ts +1 -1
- package/dist/helpers/timeline-layout.d.ts +7 -4
- package/dist/helpers/timeline-layout.js +3 -1
- package/dist/helpers/use-create-composition.d.ts +35 -0
- package/dist/helpers/use-create-composition.js +111 -0
- package/dist/helpers/use-menu-structure.js +31 -3
- package/dist/helpers/use-rename-composition.d.ts +16 -0
- package/dist/helpers/use-rename-composition.js +49 -0
- package/dist/helpers/validate-folder-rename.js +2 -10
- package/dist/helpers/validate-new-folder-name.d.ts +5 -0
- package/dist/helpers/validate-new-folder-name.js +16 -0
- package/dist/hot-middleware-client/client.js +3 -2
- package/dist/icons/Checkmark.js +2 -1
- package/dist/icons/audio.js +2 -1
- package/dist/icons/caret.js +2 -2
- package/dist/icons/certificate.js +2 -1
- package/dist/icons/data.js +2 -1
- package/dist/icons/eyedropper.js +2 -1
- package/dist/icons/file.js +2 -1
- package/dist/icons/frame.js +2 -1
- package/dist/icons/gear.js +2 -1
- package/dist/icons/gif.js +2 -1
- package/dist/icons/jump-to-start.js +2 -1
- package/dist/icons/keys.js +4 -3
- package/dist/icons/media-volume.js +1 -1
- package/dist/icons/minus.js +2 -1
- package/dist/icons/pause.js +2 -1
- package/dist/icons/play.js +2 -1
- package/dist/icons/redo.js +2 -1
- package/dist/icons/step-back.js +2 -1
- package/dist/icons/step-forward.js +2 -1
- package/dist/icons/undo.js +2 -1
- package/dist/previewEntry.js +2 -1
- package/dist/renderEntry.js +4 -3
- package/dist/state/modals.d.ts +7 -0
- package/dist/state/timeline-zoom.js +17 -14
- package/dist/state/z-index.d.ts +1 -0
- package/dist/state/z-index.js +11 -2
- package/package.json +12 -12
- 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:
|
|
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 ?
|
|
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:
|
|
26
|
+
background: colors_1.LINE_COLOR,
|
|
26
27
|
position: 'absolute',
|
|
27
28
|
};
|
|
28
29
|
}, [isRoot]);
|
|
@@ -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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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:
|
|
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:
|
|
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 :
|
|
54
|
-
borderColor: showWarning
|
|
55
|
-
|
|
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 =
|
|
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:
|
|
21
|
-
border:
|
|
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:
|
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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 ?
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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 :
|
|
35
|
-
color: failedJobs > 0 ?
|
|
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.
|
|
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 :
|
|
67
|
-
color: selected ?
|
|
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[];
|