@remotion/cli 4.0.19 → 4.0.20
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/config/log.d.ts +1 -1
- package/dist/editor/components/NewComposition/RemInput.d.ts +2 -2
- package/dist/editor/components/NewComposition/RemInputTypeColor.d.ts +1 -1
- package/dist/editor/components/Notifications/ServerDisconnected.js +3 -0
- package/dist/editor/helpers/colors.d.ts +1 -1
- package/dist/get-cli-options.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/log.d.ts +4 -4
- package/package.json +8 -8
- package/dist/editor/components/RightPanel.d.ts +0 -8
- package/dist/editor/components/RightPanel.js +0 -112
package/dist/config/log.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLogLevel: () => "
|
|
1
|
+
export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn", setLogLevel: (newLogLevel: "error" | "verbose" | "info" | "warn") => void;
|
|
@@ -12,6 +12,6 @@ export declare const getInputBorderColor: ({ status, isFocused, isHovered, }: {
|
|
|
12
12
|
status: 'error' | 'warning' | 'ok';
|
|
13
13
|
isFocused: boolean;
|
|
14
14
|
isHovered: boolean;
|
|
15
|
-
}) => "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#
|
|
16
|
-
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "key" |
|
|
15
|
+
}) => "#ff3232" | "hsla(0, 0%, 100%, 0.15)" | "rgba(0, 0, 0, 0.6)" | "rgba(255, 255, 255, 0.05)" | "#f1c40f";
|
|
16
|
+
export declare const RemotionInput: React.ForwardRefExoticComponent<Pick<Props, "key" | "status" | "rightAlign" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
17
17
|
export {};
|
|
@@ -4,5 +4,5 @@ type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
4
4
|
status: RemInputStatus;
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
7
|
-
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "key" | keyof React.InputHTMLAttributes<HTMLInputElement
|
|
7
|
+
export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "key" | "status" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
8
8
|
export {};
|
|
@@ -44,6 +44,9 @@ const ServerDisconnected = () => {
|
|
|
44
44
|
if (pageIsGoingToReload) {
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
|
+
const base64Favicon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAARiSURBVHgB7d1NThRBFAfw/2tGgru5gXMD8QZ4AmVjAi6kN0TiAm8gnkBcGARNumcx4E48Ae0JaE9gewLHlQSZelaNgyHGL/RVd1X3+y10RQL58+rVx1QBKKWUUkoppZRSSimllFJKKVUjQs32stEiJcktZiwxzKL9Fvqzb6S0/44JVBKbtwa9aj29U6JjagtkJzsYzBEyBi9d5utsQIULCcxvelgo03R5jBarJZCXw/17E+bt82r4Hy4gtuEQekUbK8h7IHvDV5vMZht+VAlRfmYw3EhXKrSA10Ce2X7RIzpGDVzlgM1wPb2bI2JeA9nN99/b/waoV+XCmTAex1g13gLZyUZrdjjJ0CAbTB5bMN4C2ctHxwxaRABiCsZLIG6KmxC/R2BiCCaBBwn4NgJk10B2GOWj3Wz/IQLlpUL28oOjyy4AG1AZppuhVYt4hWRZ1o8gDGc6rL4YHjxCQMQDOcNCEI38bxnmLTc9d30PARAPZAITZP/4A1ctx3bjcw0NEw8koeQ64tRnu25qeggTb+q2/BmRcyv9K7yw3MTOsmiFuLMOtICblJzS5+Mm+opoIBOgFYHMuL5yVHcoooFQuwJxag9FNJCIG/rv1BqKaCDfzshbqbZQxAJxK3SJI9qATUPJstdef0axQGJbof+jwRc6eQ2PxAIx4DZXx3duSrybv3oCTyR7yACdYR762sIXDKQbFfId4ZGPJi8YCA3QLf05YvF+IhYIEV1Dx9hNu8XdbLQFQV6OcDuFaFNyKiwWiJ19DNBN/VN8XoMQrRABDFqCEJ32CiBisT08rRAZAwjRQAKjgcgQO+rVQARMb3gJ0UAkML+DEA1EwAQkdkNMcnOx1Zcxf8V9ol7y88GSm4tdDKRy1xsgSIes/0BM4ndN5HZ7OzZkMePperqSQ5jkkFWhO6r76WrYJ4b2N+YTumF60QeeSG6/d2DI4rHvW1eCPaT9Q9YZw/sVOMlZVoUWM8zpg/Su97dVJGdZFVrKhbFR05MdYoFcwWmF1rF9kbG8UeP7KaI3qBp628QTHrueUccwdZHw/ZDWNHY7tU1u1B2GIxqIYSO2Dd0Ud79wnq/eaOpBgR4EMVDW/oijINu87d7U6hYaJBrInA0k0iu4bvVtZ1KrBRrm4Vr06GNkF3cO7RCVhvK4pmiFOISkjOStk1lVrBQIiPh5SAyN3fWKWeMuEBjxCmEkh3bVvokAzd5idL2iQqDEA1nASXmK+XFIfeTCo5gFAudllvo8G20TUeNVElMQ58QrxLHD1jbB3GumSnhsz7qHE9BhTEGc87aOm16KJHi7rfqj8yfI53E1j/l9eK8L651stJUQeXx/iuzU1QztZLGIsRp+xvtOh3Qo3/qCedumEC6qZetpJztwz7O6UAa4FNsP7ELTfXbWbskUdjgq9M9VCJoFcwvTlfyPDd9t3XNJjA+2IZcGpmxi+7tpjW3OupurJziZhtKWPzWhlFJKKaWUUkoppZRSSiml/uwrgZ/Bfwo/wccAAAAASUVORK5CYII=';
|
|
48
|
+
const fav = document.getElementById('__remotion_favicon');
|
|
49
|
+
fav.setAttribute('href', base64Favicon);
|
|
47
50
|
return ((0, jsx_runtime_1.jsx)("div", { style: container, className: "css-reset", children: (0, jsx_runtime_1.jsxs)("div", { style: message, children: ["The studio server has disconnected. ", (0, jsx_runtime_1.jsx)("br", {}), window.remotion_studioServerCommand ? ((0, jsx_runtime_1.jsxs)("span", { children: ["Run", ' ', (0, jsx_runtime_1.jsx)("code", { style: inlineCode, children: window.remotion_studioServerCommand }), ' ', "to run it again."] })) : ((0, jsx_runtime_1.jsx)("span", { children: "Fast refresh will not work." }))] }) }));
|
|
48
51
|
};
|
|
49
52
|
exports.ServerDisconnected = ServerDisconnected;
|
|
@@ -16,4 +16,4 @@ export declare const BLUE_DISABLED = "#284f73";
|
|
|
16
16
|
export declare const getBackgroundFromHoverState: ({ selected, hovered, }: {
|
|
17
17
|
selected: boolean;
|
|
18
18
|
hovered: boolean;
|
|
19
|
-
}) => "transparent" | "
|
|
19
|
+
}) => "transparent" | "rgba(255, 255, 255, 0.06)" | "hsla(0, 0%, 100%, 0.15)" | "hsla(0, 0%, 100%, 0.25)";
|
|
@@ -20,7 +20,7 @@ export declare const getCliOptions: (options: {
|
|
|
20
20
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
21
21
|
stillFrame: number;
|
|
22
22
|
browserExecutable: BrowserExecutable;
|
|
23
|
-
logLevel: "
|
|
23
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
24
24
|
scale: number;
|
|
25
25
|
chromiumOptions: ChromiumOptions;
|
|
26
26
|
overwrite: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,24 +63,24 @@ export declare const CliInternals: {
|
|
|
63
63
|
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
64
64
|
verboseAdvanced: (options: {
|
|
65
65
|
indent: boolean;
|
|
66
|
-
logLevel: "
|
|
66
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
67
67
|
} & {
|
|
68
68
|
tag?: string | undefined;
|
|
69
69
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
70
70
|
info: (message?: any, ...optionalParams: any[]) => void;
|
|
71
71
|
infoAdvanced: (options: {
|
|
72
72
|
indent: boolean;
|
|
73
|
-
logLevel: "
|
|
73
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
74
74
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
75
75
|
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
76
76
|
warnAdvanced: (options: {
|
|
77
77
|
indent: boolean;
|
|
78
|
-
logLevel: "
|
|
78
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
79
79
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
80
80
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
81
81
|
errorAdvanced: (options: {
|
|
82
82
|
indent: boolean;
|
|
83
|
-
logLevel: "
|
|
83
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
84
84
|
} & {
|
|
85
85
|
tag?: string | undefined;
|
|
86
86
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
@@ -105,7 +105,7 @@ export declare const CliInternals: {
|
|
|
105
105
|
numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
|
|
106
106
|
stillFrame: number;
|
|
107
107
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
108
|
-
logLevel: "
|
|
108
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
109
109
|
scale: number;
|
|
110
110
|
chromiumOptions: import("@remotion/renderer").ChromiumOptions;
|
|
111
111
|
overwrite: boolean;
|
|
@@ -180,7 +180,7 @@ export declare const CliInternals: {
|
|
|
180
180
|
} & {
|
|
181
181
|
_: string[];
|
|
182
182
|
};
|
|
183
|
-
handleCommonError: (err: Error, logLevel: "
|
|
183
|
+
handleCommonError: (err: Error, logLevel: "error" | "verbose" | "info" | "warn") => Promise<void>;
|
|
184
184
|
formatBytes: (number: number, options?: Intl.NumberFormatOptions & {
|
|
185
185
|
locale: string;
|
|
186
186
|
bits?: boolean | undefined;
|
|
@@ -222,7 +222,7 @@ export declare const CliInternals: {
|
|
|
222
222
|
};
|
|
223
223
|
listOfRemotionPackages: string[];
|
|
224
224
|
shouldUseNonOverlayingLogger: ({ logLevel, }: {
|
|
225
|
-
logLevel: "
|
|
225
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
226
226
|
}) => boolean;
|
|
227
227
|
getCompositionWithDimensionOverride: ({ height, width, args, compositionIdFromUi, chromiumOptions, envVariables, port, puppeteerInstance, timeoutInMilliseconds, browserExecutable, serveUrlOrWebpackUrl, indent, serializedInputPropsWithCustomSchema, logLevel, server, }: {
|
|
228
228
|
height: number | null;
|
|
@@ -237,7 +237,7 @@ export declare const CliInternals: {
|
|
|
237
237
|
browserExecutable: import("@remotion/renderer").BrowserExecutable;
|
|
238
238
|
serveUrlOrWebpackUrl: string;
|
|
239
239
|
indent: boolean;
|
|
240
|
-
logLevel: "
|
|
240
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
241
241
|
serializedInputPropsWithCustomSchema: string;
|
|
242
242
|
server: import("@remotion/renderer").RemotionServer;
|
|
243
243
|
}) => Promise<{
|
package/dist/log.d.ts
CHANGED
|
@@ -2,24 +2,24 @@ export declare const Log: {
|
|
|
2
2
|
verbose: (message?: any, ...optionalParams: any[]) => void;
|
|
3
3
|
verboseAdvanced: (options: {
|
|
4
4
|
indent: boolean;
|
|
5
|
-
logLevel: "
|
|
5
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
6
6
|
} & {
|
|
7
7
|
tag?: string | undefined;
|
|
8
8
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
9
9
|
info: (message?: any, ...optionalParams: any[]) => void;
|
|
10
10
|
infoAdvanced: (options: {
|
|
11
11
|
indent: boolean;
|
|
12
|
-
logLevel: "
|
|
12
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
13
13
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
14
14
|
warn: (message?: any, ...optionalParams: any[]) => void;
|
|
15
15
|
warnAdvanced: (options: {
|
|
16
16
|
indent: boolean;
|
|
17
|
-
logLevel: "
|
|
17
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
18
18
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
19
19
|
error: (message?: any, ...optionalParams: any[]) => void;
|
|
20
20
|
errorAdvanced: (options: {
|
|
21
21
|
indent: boolean;
|
|
22
|
-
logLevel: "
|
|
22
|
+
logLevel: "error" | "verbose" | "info" | "warn";
|
|
23
23
|
} & {
|
|
24
24
|
tag?: string | undefined;
|
|
25
25
|
}, message?: any, ...optionalParams: any[]) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/cli",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.20",
|
|
4
4
|
"description": "CLI for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"prompts": "2.4.1",
|
|
36
36
|
"semver": "7.5.3",
|
|
37
37
|
"source-map": "0.6.1",
|
|
38
|
-
"@remotion/bundler": "4.0.
|
|
39
|
-
"
|
|
40
|
-
"@remotion/player": "4.0.
|
|
41
|
-
"@remotion/renderer": "4.0.
|
|
42
|
-
"remotion": "4.0.
|
|
38
|
+
"@remotion/bundler": "4.0.20",
|
|
39
|
+
"remotion": "4.0.20",
|
|
40
|
+
"@remotion/player": "4.0.20",
|
|
41
|
+
"@remotion/renderer": "4.0.20",
|
|
42
|
+
"@remotion/media-utils": "4.0.20"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": ">=16.8.0",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"react-dom": "^18.0.0",
|
|
65
65
|
"vitest": "0.31.1",
|
|
66
66
|
"zod": "^3.21.4",
|
|
67
|
-
"@remotion/
|
|
68
|
-
"@remotion/
|
|
67
|
+
"@remotion/tailwind": "4.0.20",
|
|
68
|
+
"@remotion/zod-types": "4.0.20"
|
|
69
69
|
},
|
|
70
70
|
"keywords": [
|
|
71
71
|
"remotion",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type SidebarPanel = 'input-props' | 'renders';
|
|
3
|
-
export declare const persistSelectedPanel: (panel: SidebarPanel) => void;
|
|
4
|
-
export declare const rightSidebarTabs: React.RefObject<{
|
|
5
|
-
selectRendersPanel: () => void;
|
|
6
|
-
}>;
|
|
7
|
-
export declare const RightPanel: React.FC<{}>;
|
|
8
|
-
export {};
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RightPanel = exports.rightSidebarTabs = exports.persistSelectedPanel = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const react_1 = require("react");
|
|
6
|
-
const remotion_1 = require("remotion");
|
|
7
|
-
const ShortcutHint_1 = require("../../preview-server/error-overlay/remotion-overlay/ShortcutHint");
|
|
8
|
-
const colors_1 = require("../helpers/colors");
|
|
9
|
-
const DataEditor_1 = require("./RenderModal/DataEditor");
|
|
10
|
-
const deep_equal_1 = require("./RenderModal/SchemaEditor/deep-equal");
|
|
11
|
-
const RenderQueue_1 = require("./RenderQueue");
|
|
12
|
-
const RendersTab_1 = require("./RendersTab");
|
|
13
|
-
const Tabs_1 = require("./Tabs");
|
|
14
|
-
const container = {
|
|
15
|
-
height: '100%',
|
|
16
|
-
width: '100%',
|
|
17
|
-
position: 'absolute',
|
|
18
|
-
display: 'flex',
|
|
19
|
-
flexDirection: 'column',
|
|
20
|
-
};
|
|
21
|
-
const circle = {
|
|
22
|
-
width: 8,
|
|
23
|
-
height: 8,
|
|
24
|
-
borderRadius: 4,
|
|
25
|
-
};
|
|
26
|
-
const localStorageKey = 'remotion.sidebarPanel';
|
|
27
|
-
const getSelectedPanel = () => {
|
|
28
|
-
const panel = localStorage.getItem(localStorageKey);
|
|
29
|
-
if (panel === 'renders') {
|
|
30
|
-
return 'renders';
|
|
31
|
-
}
|
|
32
|
-
return 'input-props';
|
|
33
|
-
};
|
|
34
|
-
const tabsContainer = {
|
|
35
|
-
backgroundColor: colors_1.BACKGROUND,
|
|
36
|
-
};
|
|
37
|
-
const persistSelectedPanel = (panel) => {
|
|
38
|
-
localStorage.setItem(localStorageKey, panel);
|
|
39
|
-
};
|
|
40
|
-
exports.persistSelectedPanel = persistSelectedPanel;
|
|
41
|
-
exports.rightSidebarTabs = (0, react_1.createRef)();
|
|
42
|
-
const RightPanel = () => {
|
|
43
|
-
const { props, updateProps } = (0, react_1.useContext)(remotion_1.Internals.EditorPropsContext);
|
|
44
|
-
const [saving, setSaving] = (0, react_1.useState)(false);
|
|
45
|
-
const [panel, setPanel] = (0, react_1.useState)(() => getSelectedPanel());
|
|
46
|
-
const onCompositionsSelected = (0, react_1.useCallback)(() => {
|
|
47
|
-
setPanel('input-props');
|
|
48
|
-
(0, exports.persistSelectedPanel)('input-props');
|
|
49
|
-
}, []);
|
|
50
|
-
const onRendersSelected = (0, react_1.useCallback)(() => {
|
|
51
|
-
setPanel('renders');
|
|
52
|
-
(0, exports.persistSelectedPanel)('renders');
|
|
53
|
-
}, []);
|
|
54
|
-
(0, react_1.useImperativeHandle)(exports.rightSidebarTabs, () => {
|
|
55
|
-
return {
|
|
56
|
-
selectRendersPanel: () => {
|
|
57
|
-
setPanel('renders');
|
|
58
|
-
(0, exports.persistSelectedPanel)('renders');
|
|
59
|
-
},
|
|
60
|
-
};
|
|
61
|
-
}, []);
|
|
62
|
-
const { compositions, currentComposition } = (0, react_1.useContext)(remotion_1.Internals.CompositionManager);
|
|
63
|
-
const circleStyle = (0, react_1.useMemo)(() => {
|
|
64
|
-
const onTabColor = saving ? colors_1.LIGHT_TEXT : 'white';
|
|
65
|
-
return {
|
|
66
|
-
...circle,
|
|
67
|
-
backgroundColor: panel === 'input-props' ? onTabColor : colors_1.LIGHT_TEXT,
|
|
68
|
-
cursor: 'help',
|
|
69
|
-
};
|
|
70
|
-
}, [panel, saving]);
|
|
71
|
-
const composition = (0, react_1.useMemo)(() => {
|
|
72
|
-
for (const comp of compositions) {
|
|
73
|
-
if (comp.id === currentComposition) {
|
|
74
|
-
return comp;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return null;
|
|
78
|
-
}, [compositions, currentComposition]);
|
|
79
|
-
const saveToolTip = (0, react_1.useMemo)(() => {
|
|
80
|
-
return process.env.KEYBOARD_SHORTCUTS_ENABLED
|
|
81
|
-
? `Save using ${ShortcutHint_1.cmdOrCtrlCharacter}+S`
|
|
82
|
-
: 'There are unsaved changes';
|
|
83
|
-
}, []);
|
|
84
|
-
const setInputProps = (0, react_1.useCallback)((newProps) => {
|
|
85
|
-
if (composition === null) {
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
updateProps({
|
|
89
|
-
id: composition.id,
|
|
90
|
-
defaultProps: composition.defaultProps,
|
|
91
|
-
newProps,
|
|
92
|
-
});
|
|
93
|
-
}, [composition, updateProps]);
|
|
94
|
-
const actualProps = (0, react_1.useMemo)(() => {
|
|
95
|
-
var _a, _b;
|
|
96
|
-
if (composition === null) {
|
|
97
|
-
return {};
|
|
98
|
-
}
|
|
99
|
-
return (_b = (_a = props[composition.id]) !== null && _a !== void 0 ? _a : composition.defaultProps) !== null && _b !== void 0 ? _b : {};
|
|
100
|
-
}, [composition, props]);
|
|
101
|
-
const unsavedChangesExist = (0, react_1.useMemo)(() => {
|
|
102
|
-
if (composition === null || composition.defaultProps === undefined) {
|
|
103
|
-
return false;
|
|
104
|
-
}
|
|
105
|
-
return !(0, deep_equal_1.deepEqual)(composition.defaultProps, actualProps);
|
|
106
|
-
}, [actualProps, composition]);
|
|
107
|
-
if (composition === null) {
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: container, className: "css-reset", children: [(0, jsx_runtime_1.jsx)("div", { style: tabsContainer, children: (0, jsx_runtime_1.jsxs)(Tabs_1.Tabs, { children: [(0, jsx_runtime_1.jsxs)(Tabs_1.Tab, { selected: panel === 'input-props', onClick: onCompositionsSelected, style: { justifyContent: 'space-between' }, children: ["Props", unsavedChangesExist ? ((0, jsx_runtime_1.jsx)("div", { title: saveToolTip, style: circleStyle })) : null] }), (0, jsx_runtime_1.jsx)(RendersTab_1.RendersTab, { onClick: onRendersSelected, selected: panel === 'renders' })] }) }), panel === 'renders' ? ((0, jsx_runtime_1.jsx)(RenderQueue_1.RenderQueue, {})) : ((0, jsx_runtime_1.jsx)(DataEditor_1.DataEditor, { unresolvedComposition: composition, inputProps: actualProps, setInputProps: setInputProps, mayShowSaveButton: true, propsEditType: "default-props", saving: saving, setSaving: setSaving }, composition.id))] }));
|
|
111
|
-
};
|
|
112
|
-
exports.RightPanel = RightPanel;
|