@remotion/studio 4.0.225 → 4.0.227
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/.turbo/turbo-formatting.log +7 -0
- package/.turbo/turbo-lint.log +15 -0
- package/.turbo/turbo-make.log +2 -2
- package/.turbo/turbo-test.log +86 -0
- package/dist/components/AudioWaveform.d.ts +8 -8
- package/dist/components/AudioWaveformBar.d.ts +1 -1
- package/dist/components/Checkbox.d.ts +4 -4
- package/dist/components/ControlButton.d.ts +1 -1
- package/dist/components/CopyButton.d.ts +3 -3
- package/dist/components/CurrentCompositionSideEffects.d.ts +1 -1
- package/dist/components/EditorContexts.d.ts +2 -2
- package/dist/components/EditorRuler/Ruler.d.ts +7 -7
- package/dist/components/EditorRuler/index.d.ts +4 -4
- package/dist/components/FpsCounter.d.ts +1 -1
- package/dist/components/JSONViewer.d.ts +1 -1
- package/dist/components/MediaVolumeProvider.d.ts +1 -1
- package/dist/components/Menu/MenuSubItem.d.ts +13 -13
- package/dist/components/Menu/SubMenu.d.ts +5 -5
- package/dist/components/ModalsProvider.d.ts +1 -1
- package/dist/components/NewComposition/CancelButton.d.ts +1 -1
- package/dist/components/NewComposition/DiffPreview.d.ts +1 -1
- package/dist/components/NewComposition/DuplicateComposition.js +0 -1
- package/dist/components/NewComposition/MenuContent.d.ts +8 -8
- package/dist/components/NewComposition/NewCompDuration.d.ts +2 -2
- package/dist/components/NewComposition/RemInput.d.ts +3 -3
- package/dist/components/NewComposition/RemInputTypeColor.d.ts +2 -2
- package/dist/components/NewComposition/RemTextarea.d.ts +1 -1
- package/dist/components/NewComposition/ValidationMessage.d.ts +3 -3
- package/dist/components/Notifications/ColorDot.d.ts +1 -1
- package/dist/components/Notifications/Notification.d.ts +5 -5
- package/dist/components/PlaybackKeyboardShortcutsManager.d.ts +1 -1
- package/dist/components/PlaybackRateSelector.d.ts +2 -2
- package/dist/components/QuickSwitcher/NoResults.d.ts +2 -2
- package/dist/components/QuickSwitcher/QuickSwitcher.d.ts +3 -3
- package/dist/components/QuickSwitcher/QuickSwitcherContent.d.ts +3 -3
- package/dist/components/QuickSwitcher/QuickSwitcherResult.d.ts +2 -2
- package/dist/components/RenderModal/EnforceAudioTrackSetting.d.ts +3 -3
- package/dist/components/RenderModal/EnvInput.d.ts +8 -8
- package/dist/components/RenderModal/FrameRangeSetting.d.ts +5 -5
- package/dist/components/RenderModal/GuiRenderStatus.d.ts +1 -1
- package/dist/components/RenderModal/InfoTooltip.d.ts +3 -3
- package/dist/components/RenderModal/MultiRangeSlider.d.ts +7 -7
- package/dist/components/RenderModal/MutedSetting.d.ts +3 -3
- package/dist/components/RenderModal/NumberOfLoopsSetting.d.ts +2 -2
- package/dist/components/RenderModal/NumberSetting.d.ts +8 -8
- package/dist/components/RenderModal/OptionExplainer.d.ts +1 -1
- package/dist/components/RenderModal/RenderModalAdvanced.d.ts +34 -34
- package/dist/components/RenderModal/RenderModalAudio.d.ts +17 -17
- package/dist/components/RenderModal/RenderModalBasic.d.ts +16 -16
- package/dist/components/RenderModal/RenderModalEnvironmentVariables.d.ts +2 -2
- package/dist/components/RenderModal/RenderModalGif.d.ts +6 -6
- package/dist/components/RenderModal/RenderModalOutputName.d.ts +6 -6
- package/dist/components/RenderModal/RenderModalPicture.d.ts +25 -25
- package/dist/components/RenderModal/RenderStatusModal.d.ts +1 -1
- package/dist/components/RenderModal/RenderStatusModal.js +1 -1
- package/dist/components/RenderModal/SchemaEditor/Fieldset.d.ts +3 -3
- package/dist/components/RenderModal/SchemaEditor/SchemaLabel.d.ts +11 -11
- package/dist/components/RenderModal/SchemaEditor/SchemaResetButton.d.ts +1 -1
- package/dist/components/RenderModal/SchemaEditor/SchemaSaveButton.d.ts +2 -2
- package/dist/components/RenderModal/SchemaEditor/SchemaSeparationLine.d.ts +4 -4
- package/dist/components/RenderModal/SchemaEditor/SchemaVerticalGuide.d.ts +2 -2
- package/dist/components/RenderModal/SchemaEditor/ZodDefaultEditor.d.ts +11 -11
- package/dist/components/RenderModal/SchemaEditor/ZodErrorMessages.d.ts +2 -2
- package/dist/components/RenderModal/SchemaEditor/ZodNonEditableValue.d.ts +5 -5
- package/dist/components/RenderModal/SeparateAudioOption.d.ts +7 -7
- package/dist/components/RenderModal/WarningIndicatorButton.d.ts +3 -3
- package/dist/components/RenderPreview.d.ts +2 -2
- package/dist/components/RenderQueue/CircularProgress.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueError.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueItemCancelButton.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueItemStatus.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueOpenInFolder.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueOutputName.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueProgressMessage.d.ts +1 -1
- package/dist/components/RenderQueue/RenderQueueRemoveItem.d.ts +1 -1
- package/dist/components/RenderQueue/context.d.ts +1 -1
- package/dist/components/SegmentedControl.d.ts +2 -2
- package/dist/components/SetTimelineInOutProvider.d.ts +1 -1
- package/dist/components/ShowGuidesProvider.d.ts +1 -1
- package/dist/components/ShowRulersProvider.d.ts +1 -1
- package/dist/components/Splitter/SplitterElement.d.ts +3 -3
- package/dist/components/Splitter/SplitterHandle.d.ts +2 -2
- package/dist/components/Tabs/vertical.d.ts +4 -4
- package/dist/components/Timeline/LoopedTimelineIndicators.d.ts +1 -1
- package/dist/components/Timeline/TimelineCollapseToggle.d.ts +2 -2
- package/dist/components/Timeline/TimelineInOutPointerHandle.d.ts +3 -3
- package/dist/components/Timeline/TimelineList.d.ts +1 -1
- package/dist/components/Timeline/TimelineListItem.d.ts +3 -3
- package/dist/components/Timeline/TimelineScrollable.d.ts +1 -1
- package/dist/components/Timeline/TimelineSequence.d.ts +1 -1
- package/dist/components/Timeline/TimelineSequenceFrame.d.ts +2 -2
- package/dist/components/Timeline/TimelineVideoInfo.d.ts +1 -1
- package/dist/components/ZoomGesturesProvider.d.ts +1 -1
- package/dist/components/get-zod-if-possible.d.ts +1 -1
- package/dist/components/get-zod-if-possible.js +2 -2
- package/dist/components/layout.d.ts +15 -15
- package/dist/error-overlay/react-overlay/effects/stack-trace-limit.js +2 -2
- package/dist/error-overlay/remotion-overlay/AskOnDiscord.d.ts +1 -1
- package/dist/error-overlay/remotion-overlay/CodeFrame.d.ts +2 -2
- package/dist/error-overlay/remotion-overlay/ErrorDisplay.d.ts +5 -5
- package/dist/error-overlay/remotion-overlay/ErrorLoader.d.ts +5 -5
- package/dist/error-overlay/remotion-overlay/ErrorMessage.d.ts +1 -1
- package/dist/error-overlay/remotion-overlay/ErrorTitle.d.ts +4 -4
- package/dist/error-overlay/remotion-overlay/HelpLink.d.ts +2 -2
- package/dist/error-overlay/remotion-overlay/OpenInEditor.d.ts +2 -2
- package/dist/error-overlay/remotion-overlay/SearchGitHubIssues.d.ts +2 -2
- package/dist/error-overlay/remotion-overlay/StackFrame.d.ts +4 -4
- package/dist/error-overlay/remotion-overlay/carets.d.ts +1 -1
- package/dist/esm/internals.mjs +5 -3
- package/dist/helpers/colors.d.ts +1 -1
- package/dist/helpers/presets-labels.d.ts +1 -1
- package/dist/hot-middleware-client/process-update.js +1 -1
- package/dist/icons/caret.d.ts +1 -1
- package/dist/icons/folder.d.ts +3 -3
- package/dist/icons/plus.d.ts +1 -1
- package/dist/icons/render.d.ts +3 -3
- package/dist/icons/still.d.ts +1 -1
- package/dist/icons/video.d.ts +1 -1
- package/dist/state/folders.d.ts +1 -1
- package/dist/state/highest-z-index.d.ts +1 -1
- package/dist/state/keybindings.d.ts +1 -1
- package/dist/state/preview-size.d.ts +1 -1
- package/dist/state/timeline-zoom.d.ts +1 -1
- package/dist/state/z-index.d.ts +3 -3
- package/eslint.config.mjs +40 -0
- package/package.json +11 -9
- package/tsconfig.tsbuildinfo +1 -1
- package/.eslintrc +0 -35
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const SplitterElement: React.FC<{
|
|
3
|
-
type: 'flexer' | 'anti-flexer';
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
sticky: React.ReactNode | null;
|
|
3
|
+
readonly type: 'flexer' | 'anti-flexer';
|
|
4
|
+
readonly children: React.ReactNode;
|
|
5
|
+
readonly sticky: React.ReactNode | null;
|
|
6
6
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const SPLITTER_HANDLE_SIZE = 3;
|
|
3
3
|
export declare const SplitterHandle: React.FC<{
|
|
4
|
-
allowToCollapse: 'right' | 'left' | 'none';
|
|
5
|
-
onCollapse: () => void;
|
|
4
|
+
readonly allowToCollapse: 'right' | 'left' | 'none';
|
|
5
|
+
readonly onCollapse: () => void;
|
|
6
6
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const VerticalTab: React.FC<{
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
|
-
style?: React.CSSProperties;
|
|
6
|
-
selected: boolean;
|
|
3
|
+
readonly children: React.ReactNode;
|
|
4
|
+
readonly onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
5
|
+
readonly style?: React.CSSProperties;
|
|
6
|
+
readonly selected: boolean;
|
|
7
7
|
}>;
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
export declare const inPointerHandle: React.RefObject<HTMLDivElement>;
|
|
3
3
|
export declare const outPointerHandle: React.RefObject<HTMLDivElement>;
|
|
4
4
|
type Props = {
|
|
5
|
-
dragging: boolean;
|
|
6
|
-
type: 'in' | 'out';
|
|
7
|
-
atFrame: number;
|
|
5
|
+
readonly dragging: boolean;
|
|
6
|
+
readonly type: 'in' | 'out';
|
|
7
|
+
readonly atFrame: number;
|
|
8
8
|
};
|
|
9
9
|
export declare const TimelineInOutPointerHandle: React.FC<Props>;
|
|
10
10
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { TSequence } from 'remotion';
|
|
3
3
|
export declare const TimelineListItem: React.FC<{
|
|
4
|
-
sequence: TSequence;
|
|
5
|
-
nestedDepth: number;
|
|
6
|
-
isCompact: boolean;
|
|
4
|
+
readonly sequence: TSequence;
|
|
5
|
+
readonly nestedDepth: number;
|
|
6
|
+
readonly isCompact: boolean;
|
|
7
7
|
}>;
|
|
@@ -6,5 +6,5 @@ export declare const getZTypesIfPossible: () => Promise<ZodTypesType | null>;
|
|
|
6
6
|
export declare const useZodIfPossible: () => typeof import("zod/lib/external") | null;
|
|
7
7
|
export declare const useZodTypesIfPossible: () => typeof import("@remotion/zod-types") | null;
|
|
8
8
|
export declare const ZodProvider: React.FC<{
|
|
9
|
-
children: React.ReactNode;
|
|
9
|
+
readonly children: React.ReactNode;
|
|
10
10
|
}>;
|
|
@@ -31,7 +31,7 @@ const getZodIfPossible = async () => {
|
|
|
31
31
|
const { z } = await Promise.resolve().then(() => __importStar(require('zod')));
|
|
32
32
|
return z;
|
|
33
33
|
}
|
|
34
|
-
catch (
|
|
34
|
+
catch (_a) {
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
};
|
|
@@ -41,7 +41,7 @@ const getZTypesIfPossible = async () => {
|
|
|
41
41
|
const mod = await Promise.resolve().then(() => __importStar(require('@remotion/zod-types')));
|
|
42
42
|
return mod;
|
|
43
43
|
}
|
|
44
|
-
catch (
|
|
44
|
+
catch (_a) {
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
};
|
|
@@ -2,25 +2,25 @@ import type { HTMLAttributes } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const SPACING_UNIT = 8;
|
|
4
4
|
export declare const Spacing: React.FC<{
|
|
5
|
-
x?: number;
|
|
6
|
-
y?: number;
|
|
7
|
-
block?: boolean;
|
|
5
|
+
readonly x?: number;
|
|
6
|
+
readonly y?: number;
|
|
7
|
+
readonly block?: boolean;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const Flex: React.FC<{
|
|
10
|
-
children?: React.ReactNode;
|
|
10
|
+
readonly children?: React.ReactNode;
|
|
11
11
|
}>;
|
|
12
12
|
export declare const Row: React.FC<{
|
|
13
|
-
justify?: 'center' | 'flex-start' | 'flex-end';
|
|
14
|
-
align?: 'center';
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
flex?: number;
|
|
17
|
-
className?: string;
|
|
18
|
-
children: React.ReactNode;
|
|
13
|
+
readonly justify?: 'center' | 'flex-start' | 'flex-end';
|
|
14
|
+
readonly align?: 'center';
|
|
15
|
+
readonly style?: React.CSSProperties;
|
|
16
|
+
readonly flex?: number;
|
|
17
|
+
readonly className?: string;
|
|
18
|
+
readonly children: React.ReactNode;
|
|
19
19
|
} & HTMLAttributes<HTMLDivElement>>;
|
|
20
20
|
export declare const Column: React.FC<{
|
|
21
|
-
justify?: 'center';
|
|
22
|
-
align?: 'center';
|
|
23
|
-
style?: React.CSSProperties;
|
|
24
|
-
className?: string;
|
|
25
|
-
children: React.ReactNode;
|
|
21
|
+
readonly justify?: 'center';
|
|
22
|
+
readonly align?: 'center';
|
|
23
|
+
readonly style?: React.CSSProperties;
|
|
24
|
+
readonly className?: string;
|
|
25
|
+
readonly children: React.ReactNode;
|
|
26
26
|
}>;
|
|
@@ -24,7 +24,7 @@ function registerStackTraceLimit(limit = MAX_STACK_LENGTH) {
|
|
|
24
24
|
Error.stackTraceLimit = limit;
|
|
25
25
|
stackTraceRegistered = true;
|
|
26
26
|
}
|
|
27
|
-
catch (
|
|
27
|
+
catch (_a) {
|
|
28
28
|
// Not all browsers support this so we don't care if it errors
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -36,7 +36,7 @@ function unregisterStackTraceLimit() {
|
|
|
36
36
|
Error.stackTraceLimit = restoreStackTraceValue;
|
|
37
37
|
stackTraceRegistered = false;
|
|
38
38
|
}
|
|
39
|
-
catch (
|
|
39
|
+
catch (_a) {
|
|
40
40
|
// Not all browsers support this so we don't care if it errors
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import type { ErrorRecord } from '../react-overlay/listen-to-runtime-errors';
|
|
3
3
|
export type OnRetry = null | (() => void);
|
|
4
4
|
export declare const ErrorDisplay: React.FC<{
|
|
5
|
-
display: ErrorRecord;
|
|
6
|
-
keyboardShortcuts: boolean;
|
|
7
|
-
onRetry: OnRetry;
|
|
8
|
-
canHaveDismissButton: boolean;
|
|
9
|
-
calculateMetadata: boolean;
|
|
5
|
+
readonly display: ErrorRecord;
|
|
6
|
+
readonly keyboardShortcuts: boolean;
|
|
7
|
+
readonly onRetry: OnRetry;
|
|
8
|
+
readonly canHaveDismissButton: boolean;
|
|
9
|
+
readonly calculateMetadata: boolean;
|
|
10
10
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { OnRetry } from './ErrorDisplay';
|
|
3
3
|
export declare const ErrorLoader: React.FC<{
|
|
4
|
-
error: Error;
|
|
5
|
-
keyboardShortcuts: boolean;
|
|
6
|
-
onRetry: OnRetry;
|
|
7
|
-
canHaveDismissButton: boolean;
|
|
8
|
-
calculateMetadata: boolean;
|
|
4
|
+
readonly error: Error;
|
|
5
|
+
readonly keyboardShortcuts: boolean;
|
|
6
|
+
readonly onRetry: OnRetry;
|
|
7
|
+
readonly canHaveDismissButton: boolean;
|
|
8
|
+
readonly calculateMetadata: boolean;
|
|
9
9
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const ErrorTitle: React.FC<{
|
|
3
|
-
name: string;
|
|
4
|
-
message: string;
|
|
5
|
-
symbolicating: boolean;
|
|
6
|
-
canHaveDismissButton: boolean;
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly message: string;
|
|
5
|
+
readonly symbolicating: boolean;
|
|
6
|
+
readonly canHaveDismissButton: boolean;
|
|
7
7
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SymbolicatedStackFrame } from '@remotion/studio-shared';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const OpenInEditor: React.FC<{
|
|
4
|
-
stack: SymbolicatedStackFrame;
|
|
5
|
-
canHaveKeyboardShortcuts: boolean;
|
|
4
|
+
readonly stack: SymbolicatedStackFrame;
|
|
5
|
+
readonly canHaveKeyboardShortcuts: boolean;
|
|
6
6
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { SymbolicatedStackFrame } from '@remotion/studio-shared';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const StackElement: React.FC<{
|
|
4
|
-
s: SymbolicatedStackFrame;
|
|
5
|
-
lineNumberWidth: number;
|
|
6
|
-
isFirst: boolean;
|
|
7
|
-
defaultFunctionName: string;
|
|
4
|
+
readonly s: SymbolicatedStackFrame;
|
|
5
|
+
readonly lineNumberWidth: number;
|
|
6
|
+
readonly isFirst: boolean;
|
|
7
|
+
readonly defaultFunctionName: string;
|
|
8
8
|
}>;
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -10431,7 +10431,7 @@ var getZodIfPossible = async () => {
|
|
|
10431
10431
|
try {
|
|
10432
10432
|
const { z } = await import("zod");
|
|
10433
10433
|
return z;
|
|
10434
|
-
} catch
|
|
10434
|
+
} catch {
|
|
10435
10435
|
return null;
|
|
10436
10436
|
}
|
|
10437
10437
|
};
|
|
@@ -10439,7 +10439,7 @@ var getZTypesIfPossible = async () => {
|
|
|
10439
10439
|
try {
|
|
10440
10440
|
const mod = await import("@remotion/zod-types");
|
|
10441
10441
|
return mod;
|
|
10442
|
-
} catch
|
|
10442
|
+
} catch {
|
|
10443
10443
|
return null;
|
|
10444
10444
|
}
|
|
10445
10445
|
};
|
|
@@ -26137,7 +26137,9 @@ var buttonRow = {
|
|
|
26137
26137
|
flexDirection: "row",
|
|
26138
26138
|
justifyContent: "flex-end"
|
|
26139
26139
|
};
|
|
26140
|
-
var RenderStatusModal = ({
|
|
26140
|
+
var RenderStatusModal = ({
|
|
26141
|
+
jobId
|
|
26142
|
+
}) => {
|
|
26141
26143
|
const { setSelectedModal } = useContext76(ModalsContext);
|
|
26142
26144
|
const { jobs } = useContext76(RenderQueueContext);
|
|
26143
26145
|
const job = jobs.find((j) => j.id === jobId);
|
package/dist/helpers/colors.d.ts
CHANGED
|
@@ -24,4 +24,4 @@ export declare const TIMELINE_TRACK_SEPARATOR = "rgba(0, 0, 0, 0.3)";
|
|
|
24
24
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
25
25
|
selected: boolean;
|
|
26
26
|
hovered: boolean;
|
|
27
|
-
}) => "
|
|
27
|
+
}) => "hsla(0, 0%, 100%, 0.15)" | "hsla(0, 0%, 100%, 0.25)" | "rgba(255, 255, 255, 0.06)" | "transparent";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { X264Preset } from '@remotion/renderer';
|
|
2
|
-
export declare const labelx264Preset: (profile: X264Preset) => "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "
|
|
2
|
+
export declare const labelx264Preset: (profile: X264Preset) => "medium" | "ultrafast" | "superfast" | "veryfast" | "faster" | "fast" | "slow" | "slower" | "veryslow" | "placebo";
|
|
@@ -12,7 +12,7 @@ const url_state_1 = require("../helpers/url-state");
|
|
|
12
12
|
if (!__webpack_module__.hot) {
|
|
13
13
|
throw new Error('[Fast refresh] Hot Module Replacement is disabled.');
|
|
14
14
|
}
|
|
15
|
-
const hmrDocsUrl = 'https://webpack.js.org/concepts/hot-module-replacement/';
|
|
15
|
+
const hmrDocsUrl = 'https://webpack.js.org/concepts/hot-module-replacement/';
|
|
16
16
|
let lastHash;
|
|
17
17
|
const failureStatuses = { abort: 1, fail: 1 };
|
|
18
18
|
const applyOptions = {
|
package/dist/icons/caret.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
export declare const CaretRight: () => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare const CaretDown: () => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export declare const AngleDown: React.FC<{
|
|
5
|
-
down: boolean;
|
|
5
|
+
readonly down: boolean;
|
|
6
6
|
}>;
|
package/dist/icons/folder.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const CollapsedFolderIcon: React.FC<SVGProps<SVGSVGElement> & {
|
|
4
|
-
color: string;
|
|
4
|
+
readonly color: string;
|
|
5
5
|
}>;
|
|
6
6
|
export declare const ExpandedFolderIcon: React.FC<SVGProps<SVGSVGElement> & {
|
|
7
|
-
color: string;
|
|
7
|
+
readonly color: string;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const ExpandedFolderIconSolid: React.FC<SVGProps<SVGSVGElement> & {
|
|
10
|
-
color: string;
|
|
10
|
+
readonly color: string;
|
|
11
11
|
}>;
|
package/dist/icons/plus.d.ts
CHANGED
package/dist/icons/render.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SVGProps } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare const RenderIcon: React.FC<{
|
|
4
|
-
svgProps: SVGProps<SVGSVGElement>;
|
|
4
|
+
readonly svgProps: SVGProps<SVGSVGElement>;
|
|
5
5
|
}>;
|
|
6
6
|
export declare const ThinRenderIcon: React.FC<{
|
|
7
|
-
svgProps: SVGProps<SVGSVGElement>;
|
|
8
|
-
fill: string;
|
|
7
|
+
readonly svgProps: SVGProps<SVGSVGElement>;
|
|
8
|
+
readonly fill: string;
|
|
9
9
|
}>;
|
package/dist/icons/still.d.ts
CHANGED
package/dist/icons/video.d.ts
CHANGED
package/dist/state/folders.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ type KeybindingContextType = {
|
|
|
15
15
|
};
|
|
16
16
|
export declare const KeybindingContext: React.Context<KeybindingContextType>;
|
|
17
17
|
export declare const KeybindingContextProvider: React.FC<{
|
|
18
|
-
children: React.ReactNode;
|
|
18
|
+
readonly children: React.ReactNode;
|
|
19
19
|
}>;
|
|
20
20
|
export {};
|
package/dist/state/z-index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const HigherZIndex: React.FC<{
|
|
3
|
-
onEscape: () => void;
|
|
4
|
-
onOutsideClick: (target: Node) => void;
|
|
5
|
-
children: React.ReactNode;
|
|
3
|
+
readonly onEscape: () => void;
|
|
4
|
+
readonly onOutsideClick: (target: Node) => void;
|
|
5
|
+
readonly children: React.ReactNode;
|
|
6
6
|
}>;
|
|
7
7
|
export declare const useZIndex: () => {
|
|
8
8
|
currentZIndex: number;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import {remotionFlatConfig} from '@remotion/eslint-config-internal';
|
|
2
|
+
|
|
3
|
+
const config = remotionFlatConfig({react: true});
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
...config,
|
|
7
|
+
rules: {
|
|
8
|
+
...config.rules,
|
|
9
|
+
'no-console': 'error',
|
|
10
|
+
'no-restricted-imports': [
|
|
11
|
+
'error',
|
|
12
|
+
{
|
|
13
|
+
patterns: [
|
|
14
|
+
'@remotion/*/src',
|
|
15
|
+
'@remotion/*/src/*',
|
|
16
|
+
'@remotion/*/dist/*',
|
|
17
|
+
'remotion/src/*',
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
'@typescript-eslint/no-use-before-define': 'off',
|
|
22
|
+
'@typescript-eslint/no-restricted-imports': [
|
|
23
|
+
'error',
|
|
24
|
+
{
|
|
25
|
+
paths: [
|
|
26
|
+
{
|
|
27
|
+
name: 'zod',
|
|
28
|
+
message: 'Can only import zod as a type',
|
|
29
|
+
allowTypeImports: true,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: '@remotion/zod-types',
|
|
33
|
+
message: 'Can only import @remotion/zod-types as a type',
|
|
34
|
+
allowTypeImports: true,
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.227",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -18,18 +18,20 @@
|
|
|
18
18
|
"memfs": "3.4.3",
|
|
19
19
|
"source-map": "0.7.3",
|
|
20
20
|
"open": "^8.4.2",
|
|
21
|
-
"
|
|
22
|
-
"@remotion/
|
|
23
|
-
"@remotion/
|
|
24
|
-
"@remotion/
|
|
25
|
-
"remotion": "4.0.
|
|
21
|
+
"remotion": "4.0.227",
|
|
22
|
+
"@remotion/player": "4.0.227",
|
|
23
|
+
"@remotion/media-utils": "4.0.227",
|
|
24
|
+
"@remotion/renderer": "4.0.227",
|
|
25
|
+
"@remotion/studio-shared": "4.0.227"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"react": "18.3.1",
|
|
29
29
|
"react-dom": "18.3.1",
|
|
30
30
|
"@types/semver": "^7.3.4",
|
|
31
31
|
"zod": "3.22.3",
|
|
32
|
-
"
|
|
32
|
+
"eslint": "9.14.0",
|
|
33
|
+
"@remotion/zod-types": "4.0.227",
|
|
34
|
+
"@remotion/eslint-config-internal": "4.0.227"
|
|
33
35
|
},
|
|
34
36
|
"publishConfig": {
|
|
35
37
|
"access": "public"
|
|
@@ -52,8 +54,8 @@
|
|
|
52
54
|
},
|
|
53
55
|
"homepage": "https://www.remotion.dev/docs/studio/api",
|
|
54
56
|
"scripts": {
|
|
55
|
-
"lint": "eslint src
|
|
56
|
-
"make": "bun --env-file=../.env.bundle bundle.ts",
|
|
57
|
+
"lint": "eslint src",
|
|
58
|
+
"make": "tsc -d && bun --env-file=../.env.bundle bundle.ts",
|
|
57
59
|
"test": "bun test src",
|
|
58
60
|
"formatting": "prettier src --check"
|
|
59
61
|
}
|