@remotion/studio 4.0.528 → 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.
- package/dist/Studio.js +2 -0
- package/dist/components/AgentPrompt.js +2 -2
- package/dist/components/AppLaunchButton.d.ts +0 -1
- package/dist/components/AppLaunchButton.js +2 -5
- package/dist/components/AssetAudioVolume.js +2 -2
- package/dist/components/AssetSelectorItem.js +5 -5
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/CaptionInspector.js +1 -1
- package/dist/components/CaptionTextEditor.js +1 -1
- package/dist/components/CheckboardToggle.js +1 -1
- package/dist/components/CodingAgentButton.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +2 -2
- package/dist/components/ColorPicker/ColorPickerPopup.js +1 -1
- package/dist/components/CompactExplanation.js +3 -3
- package/dist/components/CompositionSelectorItem.js +2 -2
- package/dist/components/ConfigSelect.js +1 -1
- package/dist/components/ConfigureDefaultEditorModal.js +2 -2
- package/dist/components/ControlButton.d.ts +0 -1
- package/dist/components/ControlButton.js +2 -2
- package/dist/components/CurrentAsset.js +1 -1
- package/dist/components/ElementLibrariesSettings.js +1 -1
- package/dist/components/ElementLibraryModal.js +1 -1
- package/dist/components/FramePersistor.js +3 -3
- package/dist/components/FullscreenToggle.js +1 -1
- package/dist/components/InitialCompositionLoader.js +3 -3
- package/dist/components/InlineAction.d.ts +2 -2
- package/dist/components/InlineAction.js +2 -3
- package/dist/components/InlineEditableTitle.d.ts +1 -1
- package/dist/components/InlineEditableTitle.js +3 -3
- package/dist/components/InspectorLocationCopy.js +1 -1
- package/dist/components/InspectorOpenInEditor.js +1 -3
- package/dist/components/InspectorPanel/AlignmentControls.js +3 -3
- package/dist/components/InspectorPanel/CompositionInspector.js +1 -5
- package/dist/components/InspectorPanel/CompositionMetadata.js +4 -4
- package/dist/components/InspectorPanel/EasingInspector.js +1 -1
- package/dist/components/InspectorPanel/ElementLibraryButton.js +3 -14
- package/dist/components/InspectorPanel/KeyframeEasingNavigator.js +6 -8
- package/dist/components/InspectorPanel/KeyframeInspector.js +1 -1
- package/dist/components/InspectorPanel/KeyframeSettings.js +16 -11
- package/dist/components/InspectorPanel/MultiSequenceField.js +1 -1
- package/dist/components/InspectorPanel/MultiSequenceInspector.js +2 -7
- package/dist/components/InspectorPanel/MultiSequenceNumberField.js +2 -2
- package/dist/components/InspectorPanel/SequenceInspectorHeader.js +1 -1
- package/dist/components/InspectorPanel/SequenceSelectionInspector.js +4 -13
- package/dist/components/InspectorPanel/SequenceWrapAction.js +6 -14
- package/dist/components/InspectorPanel/common.d.ts +6 -2
- package/dist/components/InspectorPanel/common.js +25 -9
- package/dist/components/InspectorSequenceSection.js +5 -5
- package/dist/components/InspectorSourceLocation.js +2 -2
- package/dist/components/KeyboardShortcutsSettings.js +1 -1
- package/dist/components/LicenseKeyValidation.js +2 -2
- package/dist/components/LoopToggle.js +1 -1
- package/dist/components/Menu/MenuSubItem.js +4 -2
- package/dist/components/MenuBuildIndicator.js +1 -1
- package/dist/components/MenuCompositionName.js +1 -1
- package/dist/components/ModelManager.js +1 -1
- package/dist/components/MuteToggle.js +1 -1
- package/dist/components/NewComposition/ComboBox.d.ts +1 -1
- package/dist/components/NewComposition/ComboBox.js +2 -2
- package/dist/components/NewComposition/DuplicateComposition.js +1 -1
- package/dist/components/NewComposition/InputDragger.d.ts +1 -1
- package/dist/components/NewComposition/InputDragger.js +1 -1
- package/dist/components/NewComposition/NewComposition.js +1 -1
- package/dist/components/OpenIssueButton.js +1 -1
- package/dist/components/OutlineToggle.js +1 -1
- package/dist/components/PlayPause.js +1 -1
- package/dist/components/PlaybackRateSelector.js +1 -1
- package/dist/components/Preview.js +2 -3
- package/dist/components/PreviewToolbarOverflowButton.js +1 -1
- package/dist/components/QuickSwitcher/ExplorerQuickSwitcherTrigger.js +1 -1
- package/dist/components/RenderButton.js +2 -4
- package/dist/components/RenderModal/InfoBubble.d.ts +1 -1
- package/dist/components/RenderModal/InfoBubble.js +2 -2
- package/dist/components/RenderModal/NumberSetting.js +1 -1
- package/dist/components/RenderModal/OptionExplainerBubble.js +2 -2
- package/dist/components/RenderModal/RenderModalAdvanced.js +2 -2
- package/dist/components/RenderModal/RenderModalAudio.js +2 -2
- package/dist/components/RenderModal/RenderModalBasic.js +3 -3
- package/dist/components/RenderModal/RenderModalEncoding.js +4 -4
- package/dist/components/RenderModal/RenderModalOutputName.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/SchemaLabel.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodDiscriminatedUnionEditor.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodEnumEditor.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodFieldValidation.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/ZodStaticFileEditor.js +1 -1
- package/dist/components/RenderModal/WebRenderModalAdvanced.js +2 -2
- package/dist/components/RenderModal/WebRenderModalAudio.js +2 -2
- package/dist/components/RenderModal/WebRenderModalBasic.js +3 -3
- package/dist/components/RenderModal/WebRenderModalPicture.js +1 -1
- package/dist/components/RenderQueue/CaptionQueueItem.js +1 -1
- package/dist/components/RenderQueue/QueueJobError.js +1 -1
- package/dist/components/RenderQueue/RenderQueueError.js +1 -1
- package/dist/components/RenderQueue/RenderQueueOutputName.js +1 -1
- package/dist/components/RenderQueue/RenderQueueProgressMessage.js +1 -1
- package/dist/components/RenderQueue/VideoMattingQueueItem.js +1 -1
- package/dist/components/RenderingSettings.js +6 -6
- package/dist/components/RulersAndGuidesToggle.js +1 -1
- package/dist/components/SegmentedButton.d.ts +0 -2
- package/dist/components/SegmentedButton.js +6 -6
- package/dist/components/SelectedOutlineOverlay.js +15 -2
- package/dist/components/SelectedOutlinePathPoints.js +45 -21
- package/dist/components/SelectedOutlineRenderer.js +1 -1
- package/dist/components/SettingsButton.js +1 -1
- package/dist/components/SettingsModalFooter.js +1 -1
- package/dist/components/SizeSelector.js +1 -1
- package/dist/components/SkillsSettings.js +2 -2
- package/dist/components/SnappingToggle.js +1 -1
- package/dist/components/StudioSettings.js +2 -2
- package/dist/components/TimeValue.js +1 -3
- package/dist/components/Timeline/EasingEditorModal.js +3 -3
- package/dist/components/Timeline/TimelineArrayField.js +2 -2
- package/dist/components/Timeline/TimelineAssetField.js +3 -3
- package/dist/components/Timeline/TimelineColorField.js +2 -2
- package/dist/components/Timeline/TimelineDragHandler.js +3 -3
- package/dist/components/Timeline/TimelineDuplicateCount.js +1 -1
- package/dist/components/Timeline/TimelineEffectItem.js +1 -1
- package/dist/components/Timeline/TimelineEnumField.js +1 -1
- package/dist/components/Timeline/TimelineFieldLabel.js +1 -1
- package/dist/components/Timeline/TimelineFontFamilyField.js +2 -2
- package/dist/components/Timeline/TimelineFontWeightField.js +1 -1
- package/dist/components/Timeline/TimelineKeyframeControls.js +4 -4
- package/dist/components/Timeline/TimelineKeyframeDiamond.js +1 -1
- package/dist/components/Timeline/TimelineKeyframeEasingLine.js +1 -1
- package/dist/components/Timeline/TimelineLayerChildren.js +1 -1
- package/dist/components/Timeline/TimelineList.js +15 -7
- package/dist/components/Timeline/TimelineMediaInfo.js +1 -1
- package/dist/components/Timeline/TimelineScaleField.js +1 -1
- package/dist/components/Timeline/TimelineSchemaField.js +2 -2
- package/dist/components/Timeline/TimelineSequence.js +1 -1
- package/dist/components/Timeline/TimelineSequenceItem.js +34 -16
- package/dist/components/Timeline/TimelineSequenceName.d.ts +1 -0
- package/dist/components/Timeline/TimelineSequenceName.js +38 -6
- package/dist/components/Timeline/TimelineSequencePropItem.js +6 -4
- package/dist/components/Timeline/TimelineSequenceRightEdgeDragHandle.js +2 -2
- package/dist/components/Timeline/TimelineZoomControls.js +2 -2
- package/dist/components/Timeline/get-sequence-split-menu-item.js +2 -2
- package/dist/components/Timeline/use-timeline-expanded-tree.d.ts +1 -1
- package/dist/components/Timeline/use-timeline-expanded-tree.js +3 -0
- package/dist/components/TimelineCombobox.d.ts +1 -1
- package/dist/components/TimelineCombobox.js +5 -6
- package/dist/components/TimelineInOutToggle.js +1 -1
- package/dist/components/Transcription/TranscriptionModal.js +6 -6
- package/dist/components/UndoRedoButtons.js +1 -1
- package/dist/components/UpdatesSettings.js +2 -2
- package/dist/components/VideoMatting/VideoMattingModal.js +4 -4
- package/dist/components/selected-outline-types.d.ts +2 -0
- package/dist/error-overlay/remotion-overlay/CompositionIdListItem.js +1 -1
- package/dist/error-overlay/remotion-overlay/OpenInEditor.js +1 -1
- package/dist/error-overlay/remotion-overlay/StackFrame.js +1 -1
- package/dist/esm/{CaptionQueueProcessor-nr7hjcga.mjs → CaptionQueueProcessor-qj37c6r2.mjs} +2 -2
- package/dist/esm/{LazyModels-ajkn7fs3.mjs → LazyModels-rjsrgap5.mjs} +4 -4
- package/dist/esm/{LazyModels-g1g7cf4e.mjs → LazyModels-rnbjx98t.mjs} +4 -4
- package/dist/esm/{TranscriptionModal-e18bzbkb.mjs → TranscriptionModal-y7zeqj2d.mjs} +15 -15
- package/dist/esm/{VideoMattingModal-5bz2s4rs.mjs → VideoMattingModal-jzrkhah1.mjs} +13 -13
- package/dist/esm/{index-s6qya2gg.mjs → index-19d05w9e.mjs} +1 -1
- package/dist/esm/{index-t7tbt980.mjs → index-24wge6y5.mjs} +2 -3
- package/dist/esm/{index-wqc43mw0.mjs → index-3qb54r5j.mjs} +4 -5
- package/dist/esm/{index-c2wabcdt.mjs → index-cakcjjy2.mjs} +6 -6
- package/dist/esm/{index-9q9w8v9p.mjs → index-f9hxt5yh.mjs} +1 -1
- package/dist/esm/{index-8nt6a0mw.mjs → index-jc22b2wb.mjs} +1 -1
- package/dist/esm/{index-890dd9b3.mjs → index-m01zjph7.mjs} +3 -5
- package/dist/esm/{index-x6r9bn12.mjs → index-m2a95v3p.mjs} +925 -237
- package/dist/esm/{index-xac20sv4.mjs → index-r9bj4tta.mjs} +7 -7
- package/dist/esm/{index-t7xnxdf8.mjs → index-vnc2wdfd.mjs} +4 -5
- package/dist/esm/{index-dh3zk2hv.mjs → index-vtr5qzam.mjs} +1 -1
- package/dist/esm/{index-dpyss74p.mjs → index-x7kg7jqv.mjs} +814 -723
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/internals.mjs +9 -9
- package/dist/esm/previewEntry.mjs +9 -9
- package/dist/esm/renderEntry.mjs +2 -2
- package/dist/helpers/checkerboard-background.d.ts +2 -2
- package/dist/helpers/checkerboard-background.js +1 -1
- package/dist/helpers/colors.d.ts +1 -2
- package/dist/helpers/colors.js +7 -8
- package/dist/helpers/studio-css-variables.d.ts +1 -1
- package/dist/helpers/studio-css-variables.js +2 -3
- package/dist/icons/snowflake.js +1 -3
- package/dist/icons/{scissors.d.ts → split.d.ts} +1 -1
- package/dist/icons/split.js +8 -0
- package/dist/icons/trash.js +2 -2
- package/dist/icons/wrap.js +1 -1
- package/package.json +20 -20
- package/dist/icons/scissors.js +0 -8
|
@@ -4,7 +4,7 @@ import type { ComboboxValue } from './NewComposition/ComboBox';
|
|
|
4
4
|
export declare const TimelineCombobox: React.FC<{
|
|
5
5
|
readonly values: ComboboxValue[];
|
|
6
6
|
readonly selectedId: string | number;
|
|
7
|
-
readonly
|
|
7
|
+
readonly 'aria-label': string;
|
|
8
8
|
readonly tooltipDelay: number | null;
|
|
9
9
|
readonly labelWidth?: number;
|
|
10
10
|
readonly renderLeftItem?: RenderInlineAction;
|
|
@@ -23,31 +23,30 @@ const label = {
|
|
|
23
23
|
WebkitUserSelect: 'none',
|
|
24
24
|
whiteSpace: 'nowrap',
|
|
25
25
|
};
|
|
26
|
-
const TimelineCombobox = ({ values, selectedId,
|
|
26
|
+
const TimelineCombobox = ({ values, selectedId, 'aria-label': ariaLabel, tooltipDelay, labelWidth = 32, renderLeftItem, unhoveredIconColor = colors_1.LIGHT_TEXT, }) => {
|
|
27
27
|
const selected = values.find((value) => value.id === selectedId);
|
|
28
28
|
const segments = [
|
|
29
29
|
{
|
|
30
|
-
ariaLabel
|
|
30
|
+
ariaLabel,
|
|
31
31
|
buttonId: null,
|
|
32
32
|
disabled: false,
|
|
33
33
|
idleColor: unhoveredIconColor,
|
|
34
34
|
leaveLeftSpace: true,
|
|
35
35
|
onOpenChange: null,
|
|
36
36
|
renderContent: (color) => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [renderLeftItem ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [renderLeftItem(color), jsx_runtime_1.jsx(layout_1.Spacing, { x: 0.5 })
|
|
37
|
-
] })) : null, selected ? (jsx_runtime_1.jsx("div", {
|
|
37
|
+
] })) : null, selected ? (jsx_runtime_1.jsx("div", { role: "group", "aria-label": tooltipDelay === null && typeof selected.label === 'string'
|
|
38
38
|
? selected.label
|
|
39
39
|
: undefined, style: { ...label, width: labelWidth }, children: selected.label })) : null, jsx_runtime_1.jsx(layout_1.Spacing, { x: 0.5 }), jsx_runtime_1.jsx(caret_1.CaretDown, { color: color })
|
|
40
40
|
] })),
|
|
41
41
|
segmentId: 'selector',
|
|
42
42
|
selectedId,
|
|
43
43
|
style: { fontFamily: 'inherit', padding: '0 4px' },
|
|
44
|
-
title: tooltipDelay === null ? title : null,
|
|
45
44
|
tooltipLabel: null,
|
|
46
45
|
type: 'menu',
|
|
47
46
|
values,
|
|
48
47
|
},
|
|
49
48
|
];
|
|
50
|
-
const button = (jsx_runtime_1.jsx(SegmentedButton_1.SegmentedButton, { segments: segments, style: segmentedButtonStyle
|
|
51
|
-
return tooltipDelay === null ? (button) : (jsx_runtime_1.jsx(ActionTooltip_1.ActionTooltip, { label:
|
|
49
|
+
const button = (jsx_runtime_1.jsx(SegmentedButton_1.SegmentedButton, { segments: segments, style: segmentedButtonStyle }));
|
|
50
|
+
return tooltipDelay === null ? (button) : (jsx_runtime_1.jsx(ActionTooltip_1.ActionTooltip, { label: ariaLabel, shortcut: null, delay: tooltipDelay, dismissOnClick: true, children: button }));
|
|
52
51
|
};
|
|
53
52
|
exports.TimelineCombobox = TimelineCombobox;
|
|
@@ -242,7 +242,7 @@ const TimelineInOutPointToggle = () => {
|
|
|
242
242
|
};
|
|
243
243
|
}, [confId, onInMark, onInOutClear, onOutMark]);
|
|
244
244
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
245
|
-
jsx_runtime_1.jsx(ActionTooltip_1.ActionTooltip, { label: "In point", shortcut: shortcutsDisabled ? null : inShortcut, delay: 800, dismissOnClick: true, children: jsx_runtime_1.jsx(ControlButton_1.ControlButton, {
|
|
245
|
+
jsx_runtime_1.jsx(ActionTooltip_1.ActionTooltip, { label: "In point", shortcut: shortcutsDisabled ? null : inShortcut, delay: 800, dismissOnClick: true, children: jsx_runtime_1.jsx(ControlButton_1.ControlButton, { "aria-label": "In point", "aria-description": "Right click to clear", "aria-keyshortcuts": shortcutsDisabled ? undefined : inAriaShortcut || undefined, style: buttonStyle, onClick: onInMark, onContextMenu: clearInMark, disabled: !videoConfig || isFirstFrame, children: (color) => (jsx_runtime_1.jsx(timelineInOutPointer_1.TimelineInPointer, { color: inFrame === null ? color : colors_1.BLUE, style: style })) }) }), jsx_runtime_1.jsx(ActionTooltip_1.ActionTooltip, { label: "Out point", shortcut: shortcutsDisabled ? null : outShortcut, delay: 800, dismissOnClick: true, children: jsx_runtime_1.jsx(ControlButton_1.ControlButton, { "aria-label": "Out point", "aria-description": "Right click to clear", "aria-keyshortcuts": shortcutsDisabled ? undefined : outAriaShortcut || undefined, style: buttonStyle, onClick: onOutMark, onContextMenu: clearOutMark, disabled: !videoConfig || isLastFrame, children: (color) => (jsx_runtime_1.jsx(timelineInOutPointer_1.TimelineOutPointer, { color: outFrame === null ? color : colors_1.BLUE, style: style })) }) })
|
|
246
246
|
] }));
|
|
247
247
|
};
|
|
248
248
|
exports.TimelineInOutPointToggle = TimelineInOutPointToggle;
|
|
@@ -134,7 +134,7 @@ const openIconStyle = {
|
|
|
134
134
|
flexShrink: 0,
|
|
135
135
|
};
|
|
136
136
|
const TranscriptionSettingLabel = ({ children, inputId, name }) => {
|
|
137
|
-
return (jsx_runtime_1.jsxs("div", { style: layout_2.label, children: [inputId === null ? (name) : (jsx_runtime_1.jsx("label", { htmlFor: inputId, style: nestedLabelStyle, children: name })), jsx_runtime_1.jsx(layout_1.Spacing, { x: 0.5 }), jsx_runtime_1.jsx(InfoBubble_1.InfoBubble, {
|
|
137
|
+
return (jsx_runtime_1.jsxs("div", { style: layout_2.label, children: [inputId === null ? (name) : (jsx_runtime_1.jsx("label", { htmlFor: inputId, style: nestedLabelStyle, children: name })), jsx_runtime_1.jsx(layout_1.Spacing, { x: 0.5 }), jsx_runtime_1.jsx(InfoBubble_1.InfoBubble, { "aria-label": `Learn more about ${name}`, children: jsx_runtime_1.jsx("div", { style: tooltipContent, children: children }) })
|
|
138
138
|
] }));
|
|
139
139
|
};
|
|
140
140
|
const ModelSettings = ({ cachedModels, selectedLanguage, selectedModel, selectedTask, setSelectedLanguage, setSelectedModel, setSelectedTask, supportState, }) => {
|
|
@@ -214,11 +214,11 @@ const ModelSettings = ({ cachedModels, selectedLanguage, selectedModel, selected
|
|
|
214
214
|
}, [selectedModelInfo.supportsTranslation, setSelectedTask]);
|
|
215
215
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
216
216
|
jsx_runtime_1.jsxs("div", { style: layout_2.optionRow, children: [
|
|
217
|
-
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Whisper model" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: modelOptions, selectedId: selectedModel,
|
|
217
|
+
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Whisper model" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: modelOptions, selectedId: selectedModel, "aria-label": "Whisper model", style: controlStyle }) })
|
|
218
218
|
] }), selectedModelInfo.multilingual ? (jsx_runtime_1.jsxs("div", { style: layout_2.optionRow, children: [
|
|
219
|
-
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Spoken language" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: languageOptions, selectedId: selectedLanguage,
|
|
219
|
+
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Spoken language" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: languageOptions, selectedId: selectedLanguage, "aria-label": "Spoken language", style: controlStyle }) })
|
|
220
220
|
] })) : null, selectedModelInfo.supportsTranslation ? (jsx_runtime_1.jsxs("div", { style: layout_2.optionRow, children: [
|
|
221
|
-
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Task" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: taskOptions, selectedId: effectiveTask,
|
|
221
|
+
jsx_runtime_1.jsx("div", { style: layout_2.label, children: "Task" }), jsx_runtime_1.jsx("div", { style: layout_2.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: taskOptions, selectedId: effectiveTask, "aria-label": "Task", style: controlStyle }) })
|
|
222
222
|
] })) : null, effectiveTask === 'translate' ? (jsx_runtime_1.jsx("div", { id: TRANSCRIPTION_TASK_MESSAGE_ID, "aria-live": "polite", style: taskMessageRow, children: jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: "Word timings may be less accurate when translating to English.", type: "warning" }) })) : null, supportState.type === 'unsupported' ? (jsx_runtime_1.jsx("div", { style: { padding: '0 16px' }, children: jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: supportState.message, type: "error" }) })) : null] }));
|
|
223
223
|
};
|
|
224
224
|
const OutputSettings = ({ exists, onOutNameChange, outName, validationMessage }) => {
|
|
@@ -246,7 +246,7 @@ const OutputSettings = ({ exists, onOutNameChange, outName, validationMessage })
|
|
|
246
246
|
jsx_runtime_1.jsx(RemInput_1.RemotionInput, { "aria-label": "Caption output file", "aria-describedby": validationMessage || exists
|
|
247
247
|
? TRANSCRIPTION_OUTPUT_MESSAGE_ID
|
|
248
248
|
: undefined, "aria-invalid": validationMessage ? true : undefined, status: validationMessage ? 'error' : exists ? 'warning' : 'ok', style: layout_2.input, type: "text", value: outName, onChange: onOutNameChange, rightAlign: true }), validationMessage || exists ? (jsx_runtime_1.jsxs("div", { id: TRANSCRIPTION_OUTPUT_MESSAGE_ID, "aria-live": "polite", children: [
|
|
249
|
-
jsx_runtime_1.jsx(layout_1.Spacing, { y: 1, block: true }), jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: validationMessage !== null && validationMessage !== void 0 ? validationMessage : (jsx_runtime_1.jsxs("span", { style: existsMessageStyle, children: [isBrowserStudio ? null : (jsx_runtime_1.jsx(InlineAction_1.InlineAction, { onClick: openExistingOutput, renderAction: renderOpenIcon,
|
|
249
|
+
jsx_runtime_1.jsx(layout_1.Spacing, { y: 1, block: true }), jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: validationMessage !== null && validationMessage !== void 0 ? validationMessage : (jsx_runtime_1.jsxs("span", { style: existsMessageStyle, children: [isBrowserStudio ? null : (jsx_runtime_1.jsx(InlineAction_1.InlineAction, { onClick: openExistingOutput, renderAction: renderOpenIcon, "aria-label": `Open in ${fileManagerName}`, variant: null })), "Exists, will be overwritten"] })), type: validationMessage ? 'error' : 'warning' })] })) : null] }) })
|
|
250
250
|
] }));
|
|
251
251
|
};
|
|
252
252
|
const AdvancedSettings = ({ chunkLengthInSeconds, doSample, forceFullSequences, noRepeatNgramSize, repetitionPenalty, setChunkLengthInSeconds, setDoSample, setForceFullSequences, setNoRepeatNgramSize, setRepetitionPenalty, setStrideLengthInSeconds, setTemperature, setTopK, strideLengthInSeconds, temperature, topK, decodingValidationMessage, validationMessage, }) => {
|
|
@@ -420,7 +420,7 @@ const TranscriptionModal = ({ audioStreamIndex, displayName, requestInit, src, t
|
|
|
420
420
|
const title = target === null ? `Transcribe ${displayName}` : 'Generate captions';
|
|
421
421
|
return (jsx_runtime_1.jsx(DismissableModal_1.DismissableModal, { ariaLabel: title, children: jsx_runtime_1.jsxs("div", { style: transcriptionModalStyle, children: [
|
|
422
422
|
jsx_runtime_1.jsx(ModalHeader_1.ModalHeader, { title: title }), jsx_runtime_1.jsxs("div", { style: render_modals_1.container, children: [
|
|
423
|
-
jsx_runtime_1.jsx("div", { style: render_modals_1.flexer }), jsx_runtime_1.jsx(Button_1.Button, { onClick: onAddToQueue, disabled: !canTranscribe,
|
|
423
|
+
jsx_runtime_1.jsx("div", { style: render_modals_1.flexer }), jsx_runtime_1.jsx(Button_1.Button, { onClick: onAddToQueue, disabled: !canTranscribe, "aria-label": transcribeDisabledReason, style: {
|
|
424
424
|
...render_modals_1.buttonStyle,
|
|
425
425
|
backgroundColor: canTranscribe
|
|
426
426
|
? render_modals_1.buttonStyle.backgroundColor
|
|
@@ -130,7 +130,7 @@ const UndoRedoButtons = () => {
|
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
132
|
return (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
133
|
-
jsx_runtime_1.jsx(InlineAction_1.InlineAction, { variant: null, onClick: onUndo, renderAction: renderUndo,
|
|
133
|
+
jsx_runtime_1.jsx(InlineAction_1.InlineAction, { variant: null, onClick: onUndo, renderAction: renderUndo, "aria-label": undoTooltip, disabled: !canUndo, unhoveredColor: colors_1.WHITE_ALPHA_80 }), jsx_runtime_1.jsx(InlineAction_1.InlineAction, { variant: null, onClick: onRedo, renderAction: renderRedo, "aria-label": redoTooltip, disabled: !canRedo, unhoveredColor: colors_1.WHITE_ALPHA_80 })
|
|
134
134
|
] }));
|
|
135
135
|
};
|
|
136
136
|
exports.UndoRedoButtons = UndoRedoButtons;
|
|
@@ -171,7 +171,7 @@ const RenderedReleaseNotes = ({ release }) => {
|
|
|
171
171
|
jsx_runtime_1.jsxs("div", { style: releaseNotesTitle, children: ["v", release.version, formattedReleaseDate === null
|
|
172
172
|
? null
|
|
173
173
|
: ` \u2013\u00a0${formattedReleaseDate}`] }), document === null ? (jsx_runtime_1.jsxs("div", { style: text, children: ["Release notes could not be loaded.", ' ', jsx_runtime_1.jsx("a", { style: link, target: "_blank", href: `https://github.com/remotion-dev/remotion/releases/tag/v${release.version}`, children: "View them on GitHub" }),
|
|
174
|
-
"."] })) : (jsx_runtime_1.jsx("iframe", { ref: frameRef, onLoad: onLoad, sandbox: "allow-popups allow-popups-to-escape-sandbox allow-same-origin", scrolling: "no", srcDoc: document, style: { ...releaseNotesFrame, height },
|
|
174
|
+
"."] })) : (jsx_runtime_1.jsx("iframe", { ref: frameRef, onLoad: onLoad, sandbox: "allow-popups allow-popups-to-escape-sandbox allow-same-origin", scrolling: "no", srcDoc: document, style: { ...releaseNotesFrame, height }, "aria-label": `Release notes for Remotion v${release.version}` }))] }));
|
|
175
175
|
};
|
|
176
176
|
const UpdatesSettings = () => {
|
|
177
177
|
const { remotionSkillsInfo } = (0, SettingsContext_1.useSettings)();
|
|
@@ -263,7 +263,7 @@ const UpdatesSettings = () => {
|
|
|
263
263
|
return (jsx_runtime_1.jsxs("div", { style: container, children: [info.updateAvailable ? (jsx_runtime_1.jsx("div", { style: title, children: "A new Remotion update is available." })) : null, info.updateAvailable && info.packageManager !== 'unknown' ? (jsx_runtime_1.jsx("div", { children: jsx_runtime_1.jsxs(ModalButton_1.ModalButton, { onClick: onUpgrade, children: ["Upgrade to v", info.latestVersion] }) })) : null, upgradeError ? (jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { message: upgradeError, type: "error", align: "flex-start" })) : null, hasKnownBugs && info.updateAvailable ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
264
264
|
jsx_runtime_1.jsxs("div", { style: title, children: ["The currently installed version v", info.currentVersion, " has the following known bugs:"] }), jsx_runtime_1.jsx(KnownBugs_1.KnownBugs, { bugs: knownBugs !== null && knownBugs !== void 0 ? knownBugs : [] }), jsx_runtime_1.jsx("div", { style: { height: '20px' } }), jsx_runtime_1.jsxs("div", { style: text, children: ["Or run the following ", updateActionType, ":"] })
|
|
265
265
|
] })) : info.updateAvailable ? (jsx_runtime_1.jsxs("div", { style: titleBeforeCommand, children: ["You can also run the following ", updateActionType, ":"] })) : (jsx_runtime_1.jsxs("div", { style: titleBeforeCommand, children: ["Your Remotion Agent Skills are out of date. Run the following", ' ', updateActionType, ":"] })), jsx_runtime_1.jsxs("div", { style: commandField, children: [
|
|
266
|
-
jsx_runtime_1.jsx("pre", { style: code, children: updateAction }), jsx_runtime_1.jsx(InlineAction_1.InlineAction, { variant: null, onClick: onClick, renderAction: renderCopyAction,
|
|
266
|
+
jsx_runtime_1.jsx("pre", { style: code, children: updateAction }), jsx_runtime_1.jsx(InlineAction_1.InlineAction, { variant: null, onClick: onClick, renderAction: renderCopyAction, "aria-label": "Copy command" })
|
|
267
267
|
] }), info.updateAvailable ? (jsx_runtime_1.jsxs("div", { style: text, children: ["You", "'re", " currently running Remotion v", info.currentVersion, "."] })) : null, info.updateAvailable ? ((releaseNotes === null || releaseNotes === void 0 ? void 0 : releaseNotes.currentVersion) === info.currentVersion &&
|
|
268
268
|
releaseNotes.latestVersion === info.latestVersion ? (releaseNotes.releases.length === 0 ? (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: [
|
|
269
269
|
jsx_runtime_1.jsxs("div", { style: releaseNotesTitle, children: ["v", info.latestVersion] }), jsx_runtime_1.jsxs("div", { style: text, children: ["Release notes could not be loaded.", ' ', jsx_runtime_1.jsx("a", { style: link, target: "_blank", href: "https://github.com/remotion-dev/remotion/releases", children: "View them on GitHub" }),
|
|
@@ -166,7 +166,7 @@ const VideoMattingModal = ({ displayName, src, target, }) => {
|
|
|
166
166
|
const title = `Remove background from ${displayName}`;
|
|
167
167
|
return (jsx_runtime_1.jsx(DismissableModal_1.DismissableModal, { ariaLabel: title, children: jsx_runtime_1.jsxs("div", { style: modalStyle, children: [
|
|
168
168
|
jsx_runtime_1.jsx(ModalHeader_1.ModalHeader, { title: title }), jsx_runtime_1.jsxs("div", { style: render_modals_1.container, children: [
|
|
169
|
-
jsx_runtime_1.jsx("div", { style: render_modals_1.flexer }), jsx_runtime_1.jsx(Button_1.Button, { disabled: !canSubmit, onClick: submit,
|
|
169
|
+
jsx_runtime_1.jsx("div", { style: render_modals_1.flexer }), jsx_runtime_1.jsx(Button_1.Button, { disabled: !canSubmit, onClick: submit, "aria-label": support.type === 'unsupported' ? support.message : undefined, style: {
|
|
170
170
|
...render_modals_1.buttonStyle,
|
|
171
171
|
backgroundColor: canSubmit
|
|
172
172
|
? render_modals_1.buttonStyle.backgroundColor
|
|
@@ -177,11 +177,11 @@ const VideoMattingModal = ({ displayName, src, target, }) => {
|
|
|
177
177
|
jsx_runtime_1.jsx(RenderModalOutputName_1.RenderModalOutputName, { ariaLabel: "Video output file", existingOutputPath: window.remotion_publicFolderExists
|
|
178
178
|
? `${window.remotion_publicFolderExists}/${outName}`
|
|
179
179
|
: null, existence: outputExists, inputStyle: layout_1.input, label: "Output in public/", onValueChange: (event) => setOutName(event.target.value), outName: outName, validationMessage: outputError }), jsx_runtime_1.jsx(RenderModalHr_1.RenderModalHr, {}), jsx_runtime_1.jsxs("div", { style: layout_1.optionRow, children: [
|
|
180
|
-
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Model" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: modelOptions, selectedId: model,
|
|
180
|
+
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Model" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: modelOptions, selectedId: model, "aria-label": "Model", style: controlStyle }) })
|
|
181
181
|
] }), support.type === 'unsupported' ? (jsx_runtime_1.jsx("div", { style: validationStyle, children: jsx_runtime_1.jsx(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: support.message, type: "error" }) })) : null, jsx_runtime_1.jsxs("div", { style: layout_1.optionRow, children: [
|
|
182
|
-
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Audio" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: audioOptions, selectedId: audio,
|
|
182
|
+
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Audio" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: audioOptions, selectedId: audio, "aria-label": "Audio", style: controlStyle }) })
|
|
183
183
|
] }), jsx_runtime_1.jsxs("div", { style: layout_1.optionRow, children: [
|
|
184
|
-
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Video quality" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: qualityOptions, selectedId: String(videoBitrate),
|
|
184
|
+
jsx_runtime_1.jsx("div", { style: layout_1.label, children: "Video quality" }), jsx_runtime_1.jsx("div", { style: layout_1.rightRow, children: jsx_runtime_1.jsx(ComboBox_1.Combobox, { values: qualityOptions, selectedId: String(videoBitrate), "aria-label": "Video quality", style: controlStyle }) })
|
|
185
185
|
] })
|
|
186
186
|
] }), jsx_runtime_1.jsx(Models_1.Models, { description: 'Models are downloaded automatically when needed.\nYou can also manage the browser cache here.', indent: true, visible: tab === 'models' })
|
|
187
187
|
] })
|
|
@@ -24,7 +24,9 @@ export type SelectedOutlineTarget = SelectedOutlineLayoutTarget & {
|
|
|
24
24
|
export type SelectedOutlinePathDragTarget = {
|
|
25
25
|
readonly clientId: string;
|
|
26
26
|
readonly nodePath: SequencePropsSubscriptionKey;
|
|
27
|
+
readonly propStatus: CanUpdateSequencePropStatusStatic | CanUpdateSequencePropStatusKeyframed;
|
|
27
28
|
readonly schema: InteractivitySchema;
|
|
29
|
+
readonly sourceFrame: KeyframeSourceFrame;
|
|
28
30
|
};
|
|
29
31
|
export declare const cropFieldKeys: {
|
|
30
32
|
readonly left: "cropLeft";
|
|
@@ -28,6 +28,6 @@ const CompositionIdListItem = ({ id, isActive, onSelect }) => {
|
|
|
28
28
|
...exports.listItemStyle,
|
|
29
29
|
...(hover ? exports.listItemHoverStyle : {}),
|
|
30
30
|
...(isActive ? exports.listItemActiveStyle : {}),
|
|
31
|
-
},
|
|
31
|
+
}, "aria-label": id, children: id }));
|
|
32
32
|
};
|
|
33
33
|
exports.CompositionIdListItem = CompositionIdListItem;
|
|
@@ -111,7 +111,7 @@ const OpenInEditor = ({ stack, canHaveKeyboardShortcuts, editorId, editorName, s
|
|
|
111
111
|
openWithEditor,
|
|
112
112
|
sourcePath,
|
|
113
113
|
]);
|
|
114
|
-
return (jsx_runtime_1.jsxs(AppLaunchButton_1.AppLaunchButton, { actionButtonId: "error-overlay-open-in-editor", ariaLabel: `Open in ${editorName}`, disabled: false, menuAriaLabel: "Open in another app", menuButtonId: "error-overlay-open-in-another-app", menuItems: menuItems, onConfigureApps: configureDefaultApps, onClick: openPreferredEditor, size: size, style: null,
|
|
114
|
+
return (jsx_runtime_1.jsxs(AppLaunchButton_1.AppLaunchButton, { actionButtonId: "error-overlay-open-in-editor", ariaLabel: `Open in ${editorName}`, disabled: false, menuAriaLabel: "Open in another app", menuButtonId: "error-overlay-open-in-another-app", menuItems: menuItems, onConfigureApps: configureDefaultApps, onClick: openPreferredEditor, size: size, style: null, children: [
|
|
115
115
|
jsx_runtime_1.jsx(editor_1.EditorIcon, { editorId: editorId, size: size === 'default' ? 14 : 18 }),
|
|
116
116
|
"Open in ", editorName, canHaveKeyboardShortcuts ? (jsx_runtime_1.jsx(ShortcutHint_1.ShortcutHint, { keyToPress: "o", cmdOrCtrl: true })) : null] }));
|
|
117
117
|
};
|
|
@@ -93,7 +93,7 @@ const StackElement = ({ s, lineNumberWidth, isFirst, defaultFunctionName, editor
|
|
|
93
93
|
paddingLeft: horizontalSpacing,
|
|
94
94
|
paddingRight: horizontalSpacing,
|
|
95
95
|
}, children: [
|
|
96
|
-
jsx_runtime_1.jsxs("div", { style: left, children: [functionName === null ? null : (jsx_runtime_1.jsx("div", { style: { ...fnName, fontSize }, children: functionName })), fileLocation ? (jsx_runtime_1.jsx("div", { ref: locationRef, style: { ...locationContainer, fontSize },
|
|
96
|
+
jsx_runtime_1.jsxs("div", { style: left, children: [functionName === null ? null : (jsx_runtime_1.jsx("div", { style: { ...fnName, fontSize }, children: functionName })), fileLocation ? (jsx_runtime_1.jsx("div", { ref: locationRef, role: "group", style: { ...locationContainer, fontSize }, "aria-label": locationOverflows ? fileLocation : undefined, children: canOpenFileLocation ? (jsx_runtime_1.jsx("button", { type: "button", className: `${hoverable_1.HOVERABLE_CLASS_NAME} ${hoverable_1.FOCUS_VISIBLE_ONLY_CLASS_NAME}`, onClick: onOpenFileLocation, style: {
|
|
97
97
|
...location,
|
|
98
98
|
...(0, hoverable_1.hoverableStyle)({
|
|
99
99
|
idleBackground: colors_1.TRANSPARENT,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./index-09txs1bj.mjs";
|
|
4
4
|
import {
|
|
5
5
|
installRequiredPackages
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-vtr5qzam.mjs";
|
|
7
7
|
import {
|
|
8
8
|
RenderQueueContext
|
|
9
9
|
} from "./index-hqxc6tzp.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./index-dfy1t576.mjs";
|
|
15
15
|
import"./index-qve7mdfp.mjs";
|
|
16
16
|
import"./index-5zrb1ft4.mjs";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-3qb54r5j.mjs";
|
|
18
18
|
import"./index-rcv7qkt5.mjs";
|
|
19
19
|
|
|
20
20
|
// src/components/RenderQueue/CaptionQueueProcessor.tsx
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Models
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-f9hxt5yh.mjs";
|
|
4
|
+
import"./index-vnc2wdfd.mjs";
|
|
5
|
+
import"./index-m01zjph7.mjs";
|
|
6
6
|
import"./index-qve7mdfp.mjs";
|
|
7
7
|
import"./index-5zrb1ft4.mjs";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-3qb54r5j.mjs";
|
|
9
9
|
import"./index-rcv7qkt5.mjs";
|
|
10
10
|
export {
|
|
11
11
|
Models as default
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Models
|
|
3
|
-
} from "./index-
|
|
4
|
-
import"./index-
|
|
5
|
-
import"./index-
|
|
3
|
+
} from "./index-jc22b2wb.mjs";
|
|
4
|
+
import"./index-vnc2wdfd.mjs";
|
|
5
|
+
import"./index-m01zjph7.mjs";
|
|
6
6
|
import"./index-qve7mdfp.mjs";
|
|
7
7
|
import"./index-5zrb1ft4.mjs";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-3qb54r5j.mjs";
|
|
9
9
|
import"./index-rcv7qkt5.mjs";
|
|
10
10
|
export {
|
|
11
11
|
Models as default
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
NumberSetting,
|
|
6
6
|
getDefaultCaptionOutputName,
|
|
7
7
|
validateCaptionOutputName
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-r9bj4tta.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Button,
|
|
11
11
|
Checkbox,
|
|
@@ -30,24 +30,24 @@ import {
|
|
|
30
30
|
persistSelectedOptionsSidebarPanel,
|
|
31
31
|
rightRow,
|
|
32
32
|
useStaticFiles
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-m2a95v3p.mjs";
|
|
34
34
|
import {
|
|
35
35
|
showNotification
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-vtr5qzam.mjs";
|
|
37
37
|
import {
|
|
38
38
|
RenderQueueContext
|
|
39
39
|
} from "./index-hqxc6tzp.mjs";
|
|
40
40
|
import {
|
|
41
41
|
openInFileExplorer
|
|
42
|
-
} from "./index-
|
|
42
|
+
} from "./index-19d05w9e.mjs";
|
|
43
43
|
import {
|
|
44
44
|
getBrowserStudioOperations
|
|
45
45
|
} from "./index-dfy1t576.mjs";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-24wge6y5.mjs";
|
|
47
47
|
import {
|
|
48
48
|
Models
|
|
49
|
-
} from "./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
} from "./index-f9hxt5yh.mjs";
|
|
50
|
+
import"./index-vnc2wdfd.mjs";
|
|
51
51
|
import {
|
|
52
52
|
InlineAction,
|
|
53
53
|
ModelsIcon,
|
|
@@ -64,14 +64,14 @@ import {
|
|
|
64
64
|
leftSidebar,
|
|
65
65
|
optionsPanel,
|
|
66
66
|
outerModalStyle
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-m01zjph7.mjs";
|
|
68
68
|
import"./index-qve7mdfp.mjs";
|
|
69
69
|
import"./index-5zrb1ft4.mjs";
|
|
70
70
|
import {
|
|
71
71
|
BLUE_DISABLED,
|
|
72
72
|
LIGHT_TEXT,
|
|
73
73
|
WHITE
|
|
74
|
-
} from "./index-
|
|
74
|
+
} from "./index-3qb54r5j.mjs";
|
|
75
75
|
import"./index-rcv7qkt5.mjs";
|
|
76
76
|
|
|
77
77
|
// src/components/Transcription/TranscriptionModal.tsx
|
|
@@ -299,7 +299,7 @@ var TranscriptionSettingLabel = ({ children, inputId, name }) => {
|
|
|
299
299
|
x: 0.5
|
|
300
300
|
}),
|
|
301
301
|
/* @__PURE__ */ jsx(InfoBubble, {
|
|
302
|
-
|
|
302
|
+
"aria-label": `Learn more about ${name}`,
|
|
303
303
|
children: /* @__PURE__ */ jsx("div", {
|
|
304
304
|
style: tooltipContent,
|
|
305
305
|
children
|
|
@@ -424,7 +424,7 @@ var ModelSettings = ({
|
|
|
424
424
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
425
425
|
values: modelOptions,
|
|
426
426
|
selectedId: selectedModel,
|
|
427
|
-
|
|
427
|
+
"aria-label": "Whisper model",
|
|
428
428
|
style: controlStyle
|
|
429
429
|
})
|
|
430
430
|
})
|
|
@@ -442,7 +442,7 @@ var ModelSettings = ({
|
|
|
442
442
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
443
443
|
values: languageOptions,
|
|
444
444
|
selectedId: selectedLanguage,
|
|
445
|
-
|
|
445
|
+
"aria-label": "Spoken language",
|
|
446
446
|
style: controlStyle
|
|
447
447
|
})
|
|
448
448
|
})
|
|
@@ -460,7 +460,7 @@ var ModelSettings = ({
|
|
|
460
460
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
461
461
|
values: taskOptions,
|
|
462
462
|
selectedId: effectiveTask,
|
|
463
|
-
|
|
463
|
+
"aria-label": "Task",
|
|
464
464
|
style: controlStyle
|
|
465
465
|
})
|
|
466
466
|
})
|
|
@@ -560,7 +560,7 @@ var OutputSettings = ({ exists, onOutNameChange, outName, validationMessage }) =
|
|
|
560
560
|
isBrowserStudio ? null : /* @__PURE__ */ jsx(InlineAction, {
|
|
561
561
|
onClick: openExistingOutput,
|
|
562
562
|
renderAction: renderOpenIcon,
|
|
563
|
-
|
|
563
|
+
"aria-label": `Open in ${fileManagerName}`,
|
|
564
564
|
variant: null
|
|
565
565
|
}),
|
|
566
566
|
"Exists, will be overwritten"
|
|
@@ -898,7 +898,7 @@ var TranscriptionModal = ({
|
|
|
898
898
|
/* @__PURE__ */ jsx(Button, {
|
|
899
899
|
onClick: onAddToQueue,
|
|
900
900
|
disabled: !canTranscribe,
|
|
901
|
-
|
|
901
|
+
"aria-label": transcribeDisabledReason,
|
|
902
902
|
style: {
|
|
903
903
|
...buttonStyle,
|
|
904
904
|
backgroundColor: canTranscribe ? buttonStyle.backgroundColor : BLUE_DISABLED
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./index-7tt71e8n.mjs";
|
|
4
4
|
import {
|
|
5
5
|
RenderModalOutputName
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-cakcjjy2.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Button,
|
|
9
9
|
Checkmark,
|
|
@@ -24,18 +24,18 @@ import {
|
|
|
24
24
|
rightRow,
|
|
25
25
|
useStaticFiles,
|
|
26
26
|
validatePublicOutputName
|
|
27
|
-
} from "./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
} from "./index-m2a95v3p.mjs";
|
|
28
|
+
import"./index-vtr5qzam.mjs";
|
|
29
29
|
import {
|
|
30
30
|
RenderQueueContext
|
|
31
31
|
} from "./index-hqxc6tzp.mjs";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-19d05w9e.mjs";
|
|
33
33
|
import"./index-dfy1t576.mjs";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-24wge6y5.mjs";
|
|
35
35
|
import {
|
|
36
36
|
Models
|
|
37
|
-
} from "./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
} from "./index-jc22b2wb.mjs";
|
|
38
|
+
import"./index-vnc2wdfd.mjs";
|
|
39
39
|
import {
|
|
40
40
|
ModelsIcon,
|
|
41
41
|
VERTICAL_SCROLLBAR_CLASSNAME,
|
|
@@ -50,12 +50,12 @@ import {
|
|
|
50
50
|
leftSidebar,
|
|
51
51
|
optionsPanel,
|
|
52
52
|
outerModalStyle
|
|
53
|
-
} from "./index-
|
|
53
|
+
} from "./index-m01zjph7.mjs";
|
|
54
54
|
import"./index-qve7mdfp.mjs";
|
|
55
55
|
import"./index-5zrb1ft4.mjs";
|
|
56
56
|
import {
|
|
57
57
|
BLUE_DISABLED
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-3qb54r5j.mjs";
|
|
59
59
|
import"./index-rcv7qkt5.mjs";
|
|
60
60
|
|
|
61
61
|
// src/components/VideoMatting/VideoMattingModal.tsx
|
|
@@ -219,7 +219,7 @@ var VideoMattingModal = ({
|
|
|
219
219
|
/* @__PURE__ */ jsx(Button, {
|
|
220
220
|
disabled: !canSubmit,
|
|
221
221
|
onClick: submit,
|
|
222
|
-
|
|
222
|
+
"aria-label": support.type === "unsupported" ? support.message : undefined,
|
|
223
223
|
style: {
|
|
224
224
|
...buttonStyle,
|
|
225
225
|
backgroundColor: canSubmit ? buttonStyle.backgroundColor : BLUE_DISABLED
|
|
@@ -290,7 +290,7 @@ var VideoMattingModal = ({
|
|
|
290
290
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
291
291
|
values: modelOptions,
|
|
292
292
|
selectedId: model,
|
|
293
|
-
|
|
293
|
+
"aria-label": "Model",
|
|
294
294
|
style: controlStyle
|
|
295
295
|
})
|
|
296
296
|
})
|
|
@@ -316,7 +316,7 @@ var VideoMattingModal = ({
|
|
|
316
316
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
317
317
|
values: audioOptions,
|
|
318
318
|
selectedId: audio,
|
|
319
|
-
|
|
319
|
+
"aria-label": "Audio",
|
|
320
320
|
style: controlStyle
|
|
321
321
|
})
|
|
322
322
|
})
|
|
@@ -334,7 +334,7 @@ var VideoMattingModal = ({
|
|
|
334
334
|
children: /* @__PURE__ */ jsx(Combobox, {
|
|
335
335
|
values: qualityOptions,
|
|
336
336
|
selectedId: String(videoBitrate),
|
|
337
|
-
|
|
337
|
+
"aria-label": "Video quality",
|
|
338
338
|
style: controlStyle
|
|
339
339
|
})
|
|
340
340
|
})
|
|
@@ -30,7 +30,6 @@ var studioCssVariables = `
|
|
|
30
30
|
--remotion-studio-white-alpha-72: rgba(255, 255, 255, 0.72);
|
|
31
31
|
--remotion-studio-white-alpha-80: rgba(255, 255, 255, 0.8);
|
|
32
32
|
--remotion-studio-white-alpha-90: rgba(255, 255, 255, 0.9);
|
|
33
|
-
--remotion-studio-black-alpha-10: rgba(0, 0, 0, 0.1);
|
|
34
33
|
--remotion-studio-black-alpha-28: rgba(0, 0, 0, 0.28);
|
|
35
34
|
--remotion-studio-black-alpha-30: rgba(0, 0, 0, 0.3);
|
|
36
35
|
--remotion-studio-black-alpha-40: rgba(0, 0, 0, 0.4);
|
|
@@ -71,12 +70,12 @@ var studioCssVariables = `
|
|
|
71
70
|
--remotion-studio-timeline-marquee-blue-alpha-75: rgba(70, 130, 255, 0.75);
|
|
72
71
|
--remotion-studio-easing-selected-background: rgba(11, 132, 243, 0.18);
|
|
73
72
|
--remotion-studio-info-blue-background: rgba(59, 130, 246, 0.15);
|
|
74
|
-
--remotion-studio-color-picker-checker-background-color:
|
|
73
|
+
--remotion-studio-color-picker-checker-background-color: var(--remotion-studio-background);
|
|
75
74
|
--remotion-studio-color-picker-hue-gradient: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
|
76
75
|
--remotion-studio-timeline-audio-gradient: linear-gradient(rgb(16 171 58), rgb(43 165 63) 60%);
|
|
77
76
|
--remotion-studio-timeline-video-gradient: linear-gradient(to top, #8e44ad, #9b59b6);
|
|
78
77
|
--remotion-studio-focus-color: #555;
|
|
79
|
-
--remotion-studio-color-picker-checker-color:
|
|
78
|
+
--remotion-studio-color-picker-checker-color: var(--remotion-studio-white-alpha-15);
|
|
80
79
|
--remotion-studio-info-blue-border-color: rgba(59, 130, 246, 0.4);
|
|
81
80
|
--remotion-studio-black-alpha-22: rgba(0, 0, 0, 0.22);
|
|
82
81
|
--remotion-studio-font-family-error-color: #ff8a8a;
|
|
@@ -33,7 +33,6 @@ var WHITE_ALPHA_70 = "var(--remotion-studio-white-alpha-70)";
|
|
|
33
33
|
var WHITE_ALPHA_72 = "var(--remotion-studio-white-alpha-72)";
|
|
34
34
|
var WHITE_ALPHA_80 = "var(--remotion-studio-white-alpha-80)";
|
|
35
35
|
var WHITE_ALPHA_90 = "var(--remotion-studio-white-alpha-90)";
|
|
36
|
-
var BLACK_ALPHA_10 = "var(--remotion-studio-black-alpha-10)";
|
|
37
36
|
var BLACK_ALPHA_28 = "var(--remotion-studio-black-alpha-28)";
|
|
38
37
|
var BLACK_ALPHA_30 = "var(--remotion-studio-black-alpha-30)";
|
|
39
38
|
var BLACK_ALPHA_40 = "var(--remotion-studio-black-alpha-40)";
|
|
@@ -120,12 +119,12 @@ var FOCUS_BOX_SHADOW = `inset 1px 1px ${FOCUS_COLOR}, inset -1px -1px ${FOCUS_CO
|
|
|
120
119
|
var CHECKERBOARD_BACKGROUND_IMAGE = `
|
|
121
120
|
linear-gradient(
|
|
122
121
|
45deg,
|
|
123
|
-
${
|
|
122
|
+
${WHITE_ALPHA_15} 25%,
|
|
124
123
|
${TRANSPARENT} 25%
|
|
125
124
|
),
|
|
126
|
-
linear-gradient(135deg, ${
|
|
127
|
-
linear-gradient(45deg, ${TRANSPARENT} 75%, ${
|
|
128
|
-
linear-gradient(135deg, ${TRANSPARENT} 75%, ${
|
|
125
|
+
linear-gradient(135deg, ${WHITE_ALPHA_15} 25%, ${TRANSPARENT} 25%),
|
|
126
|
+
linear-gradient(45deg, ${TRANSPARENT} 75%, ${WHITE_ALPHA_15} 75%),
|
|
127
|
+
linear-gradient(135deg, ${TRANSPARENT} 75%, ${WHITE_ALPHA_15} 75%)
|
|
129
128
|
`;
|
|
130
129
|
var COLOR_PICKER_CHECKER_BACKGROUND_IMAGE = `linear-gradient(45deg, ${COLOR_PICKER_CHECKER_COLOR} 25%, ${TRANSPARENT} 25%), ` + `linear-gradient(-45deg, ${COLOR_PICKER_CHECKER_COLOR} 25%, ${TRANSPARENT} 25%), ` + `linear-gradient(45deg, ${TRANSPARENT} 75%, ${COLOR_PICKER_CHECKER_COLOR} 75%), ` + `linear-gradient(-45deg, ${TRANSPARENT} 75%, ${COLOR_PICKER_CHECKER_COLOR} 75%)`;
|
|
131
130
|
var COLOR_PICKER_CHECKER_BACKGROUND_COLOR = "var(--remotion-studio-color-picker-checker-background-color)";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
label,
|
|
6
6
|
optionRow,
|
|
7
7
|
rightRow
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-m2a95v3p.mjs";
|
|
9
9
|
import {
|
|
10
10
|
showNotification
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-vtr5qzam.mjs";
|
|
12
12
|
import {
|
|
13
13
|
openInFileExplorer
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-19d05w9e.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getBrowserStudioOperations
|
|
17
17
|
} from "./index-dfy1t576.mjs";
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
InlineAction,
|
|
21
21
|
Spacing,
|
|
22
22
|
ValidationMessage
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-m01zjph7.mjs";
|
|
24
24
|
import {
|
|
25
25
|
WHITE
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-3qb54r5j.mjs";
|
|
27
27
|
|
|
28
28
|
// src/components/RenderModal/RenderModalOutputName.tsx
|
|
29
29
|
import { useCallback } from "react";
|
|
@@ -125,7 +125,7 @@ var RenderModalOutputName = ({
|
|
|
125
125
|
variant: null,
|
|
126
126
|
onClick: openExistingOutput,
|
|
127
127
|
renderAction: renderOpenIcon,
|
|
128
|
-
|
|
128
|
+
"aria-label": `Open in ${fileManagerName}`
|
|
129
129
|
}),
|
|
130
130
|
"Exists, will be overwritten"
|
|
131
131
|
]
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
WHITE_ALPHA_20,
|
|
23
23
|
WHITE_ALPHA_90,
|
|
24
24
|
getBackgroundFromHoverState
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-3qb54r5j.mjs";
|
|
26
26
|
|
|
27
27
|
// src/components/layout.tsx
|
|
28
28
|
import { useMemo } from "react";
|
|
@@ -167,7 +167,6 @@ var InlineAction = ({
|
|
|
167
167
|
renderAction,
|
|
168
168
|
onClick,
|
|
169
169
|
disabled,
|
|
170
|
-
title,
|
|
171
170
|
hoveredColor = WHITE,
|
|
172
171
|
unhoveredColor = LIGHT_TEXT,
|
|
173
172
|
variant,
|
|
@@ -217,8 +216,6 @@ var InlineAction = ({
|
|
|
217
216
|
onPointerDown,
|
|
218
217
|
style,
|
|
219
218
|
tabIndex,
|
|
220
|
-
title,
|
|
221
|
-
"aria-label": buttonProps["aria-label"] ?? title,
|
|
222
219
|
children: renderAction(CURRENT_COLOR)
|
|
223
220
|
});
|
|
224
221
|
};
|
|
@@ -727,11 +724,12 @@ var Spinner = ({ size, duration, color = LIGHT_TEXT }) => {
|
|
|
727
724
|
|
|
728
725
|
// src/icons/trash.tsx
|
|
729
726
|
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
730
|
-
var TrashIcon = ({ color, ...props }) => {
|
|
727
|
+
var TrashIcon = ({ color, style: style2, ...props }) => {
|
|
731
728
|
return /* @__PURE__ */ jsx8("svg", {
|
|
732
729
|
xmlns: "http://www.w3.org/2000/svg",
|
|
733
730
|
viewBox: "0 0 448 512",
|
|
734
731
|
...props,
|
|
732
|
+
style: { overflow: "visible", ...style2 },
|
|
735
733
|
children: /* @__PURE__ */ jsx8("path", {
|
|
736
734
|
fill: color,
|
|
737
735
|
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"
|