@remotion/cli 4.0.0-alpha.179 → 4.0.0-alpha.185

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.
@@ -0,0 +1 @@
1
+ export declare const colorWithNewOpacity: (color: string, opacity: number) => string;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.colorWithNewOpacity = void 0;
4
+ const remotion_1 = require("remotion");
5
+ const colorWithNewOpacity = (color, opacity) => {
6
+ const { r, g, b } = remotion_1.Internals.parseColor(color);
7
+ if (opacity >= 255) {
8
+ return `#${r.toString(16)}${g.toString(16)}${b.toString(16)}`;
9
+ }
10
+ return `rgba(${r}, ${g}, ${b}, ${(opacity / 255).toFixed(2)})`;
11
+ };
12
+ exports.colorWithNewOpacity = colorWithNewOpacity;
@@ -37,10 +37,7 @@ const Canvas = () => {
37
37
  triggerOnWindowResize: false,
38
38
  shouldApplyCssTransforms: true,
39
39
  });
40
- const isFit = previewSize.size === 'auto' ||
41
- (previewSize.size === 1 &&
42
- previewSize.translation.x === 0 &&
43
- previewSize.translation.y === 0);
40
+ const isFit = previewSize.size === 'auto';
44
41
  const onWheel = (0, react_1.useCallback)((e) => {
45
42
  if (!editorZoomGestures) {
46
43
  return;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const CollapsedSidebarExpander: React.FC<{
3
+ onExpand: () => void;
4
+ direction: 'left' | 'right';
5
+ }>;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CollapsedSidebarExpander = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const colors_1 = require("../helpers/colors");
7
+ const caret_1 = require("../icons/caret");
8
+ const z_index_1 = require("../state/z-index");
9
+ const CollapsedSidebarExpander = ({ onExpand, direction }) => {
10
+ const [hovered, setHovered] = (0, react_1.useState)(false);
11
+ const { tabIndex } = (0, z_index_1.useZIndex)();
12
+ const onPointerEnter = (0, react_1.useCallback)(() => {
13
+ setHovered(true);
14
+ }, []);
15
+ const onPointerLeave = (0, react_1.useCallback)(() => {
16
+ setHovered(false);
17
+ }, []);
18
+ const style = (0, react_1.useMemo)(() => {
19
+ return {
20
+ border: 'none',
21
+ borderRight: `${direction === 'right' ? 1 : 0}px solid black`,
22
+ borderLeft: `${direction === 'left' ? 1 : 0}px solid black`,
23
+ cursor: 'pointer',
24
+ color: 'white',
25
+ display: 'flex',
26
+ justifyContent: 'center',
27
+ alignItems: 'center',
28
+ paddingLeft: direction === 'right' ? 7 : 5,
29
+ paddingRight: direction === 'right' ? 4 : 5,
30
+ backgroundColor: (0, colors_1.getBackgroundFromHoverState)({
31
+ hovered,
32
+ selected: false,
33
+ }),
34
+ appearance: 'none',
35
+ WebkitAppearance: 'none',
36
+ };
37
+ }, [direction, hovered]);
38
+ return ((0, jsx_runtime_1.jsx)("button", { style: style, onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, type: "button", role: "button", tabIndex: tabIndex, onClick: onExpand, children: direction === 'right' ? (0, jsx_runtime_1.jsx)(caret_1.CaretRight, {}) : (0, jsx_runtime_1.jsx)(caret_1.CaretLeft, {}) }));
39
+ };
40
+ exports.CollapsedSidebarExpander = CollapsedSidebarExpander;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { RemInputStatus } from './RemInput';
3
+ declare type Props = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> & {
4
+ status: RemInputStatus;
5
+ };
6
+ export declare const inputBaseStyle: React.CSSProperties;
7
+ export declare const RemInputTypeColor: React.ForwardRefExoticComponent<Pick<Props, "key" | "status" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
8
+ export {};
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RemInputTypeColor = exports.inputBaseStyle = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const colors_1 = require("../../helpers/colors");
7
+ const z_index_1 = require("../../state/z-index");
8
+ const RemInput_1 = require("./RemInput");
9
+ exports.inputBaseStyle = {
10
+ padding: 0,
11
+ borderStyle: 'solid',
12
+ borderWidth: 1,
13
+ };
14
+ const RemInputTypeColorForwardRef = ({ status, ...props }, ref) => {
15
+ const [isFocused, setIsFocused] = (0, react_1.useState)(false);
16
+ const [isHovered, setIsHovered] = (0, react_1.useState)(false);
17
+ const inputRef = (0, react_1.useRef)(null);
18
+ const { tabIndex } = (0, z_index_1.useZIndex)();
19
+ const style = (0, react_1.useMemo)(() => {
20
+ var _a;
21
+ return {
22
+ backgroundColor: colors_1.INPUT_BACKGROUND,
23
+ ...exports.inputBaseStyle,
24
+ borderColor: (0, RemInput_1.getInputBorderColor)({ isFocused, isHovered, status }),
25
+ ...((_a = props.style) !== null && _a !== void 0 ? _a : {}),
26
+ };
27
+ }, [isFocused, isHovered, props.style, status]);
28
+ (0, react_1.useImperativeHandle)(ref, () => {
29
+ return inputRef.current;
30
+ }, []);
31
+ (0, react_1.useEffect)(() => {
32
+ if (!inputRef.current) {
33
+ return;
34
+ }
35
+ const { current } = inputRef;
36
+ const onFocus = () => setIsFocused(true);
37
+ const onBlur = () => setIsFocused(false);
38
+ const onMouseEnter = () => setIsHovered(true);
39
+ const onMouseLeave = () => setIsHovered(false);
40
+ current.addEventListener('focus', onFocus);
41
+ current.addEventListener('blur', onBlur);
42
+ current.addEventListener('mouseenter', onMouseEnter);
43
+ current.addEventListener('mouseleave', onMouseLeave);
44
+ return () => {
45
+ current.removeEventListener('focus', onFocus);
46
+ current.removeEventListener('blur', onBlur);
47
+ current.removeEventListener('mouseenter', onMouseEnter);
48
+ current.removeEventListener('mouseleave', onMouseLeave);
49
+ };
50
+ }, [inputRef]);
51
+ return ((0, jsx_runtime_1.jsx)("input", { ref: inputRef, type: "color", tabIndex: tabIndex, ...props, style: style }));
52
+ };
53
+ exports.RemInputTypeColor = (0, react_1.forwardRef)(RemInputTypeColorForwardRef);
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { z } from 'remotion';
3
+ import type { JSONPath } from './zod-types';
4
+ export declare const ZodColorEditor: React.FC<{
5
+ schema: z.ZodTypeAny;
6
+ jsonPath: JSONPath;
7
+ value: string;
8
+ defaultValue: string;
9
+ setValue: React.Dispatch<React.SetStateAction<string>>;
10
+ onSave: (updater: (oldNum: unknown) => string) => void;
11
+ onRemove: null | (() => void);
12
+ compact: boolean;
13
+ showSaveButton: boolean;
14
+ }>;
@@ -0,0 +1,108 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ZodColorEditor = 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 color_math_1 = require("../../../../color-math");
8
+ const layout_1 = require("../../layout");
9
+ const InputDragger_1 = require("../../NewComposition/InputDragger");
10
+ const RemInput_1 = require("../../NewComposition/RemInput");
11
+ const RemInputTypeColor_1 = require("../../NewComposition/RemInputTypeColor");
12
+ const ValidationMessage_1 = require("../../NewComposition/ValidationMessage");
13
+ const layout_2 = require("../layout");
14
+ const SchemaLabel_1 = require("./SchemaLabel");
15
+ const fullWidth = {
16
+ width: '100%',
17
+ };
18
+ const ZodColorEditor = ({ jsonPath, value, setValue, showSaveButton, defaultValue, schema, compact, onSave, onRemove, }) => {
19
+ const [localValue, setLocalValue] = (0, react_1.useState)(() => {
20
+ return {
21
+ value,
22
+ zodValidation: schema.safeParse(value),
23
+ };
24
+ });
25
+ const onValueChange = (0, react_1.useCallback)((newValue) => {
26
+ const safeParse = schema.safeParse(newValue);
27
+ const newLocalState = {
28
+ value: newValue,
29
+ zodValidation: safeParse,
30
+ };
31
+ setLocalValue(newLocalState);
32
+ if (safeParse.success) {
33
+ setValue(newValue);
34
+ }
35
+ }, [schema, setValue]);
36
+ const { a, b, g, r } = localValue.zodValidation.success
37
+ ? remotion_1.Internals.parseColor(localValue.value)
38
+ : { a: 1, b: 0, g: 0, r: 0 };
39
+ const onChange = (0, react_1.useCallback)((e) => {
40
+ const newColor = (0, color_math_1.colorWithNewOpacity)(e.target.value, Math.round(a));
41
+ const safeParse = schema.safeParse(newColor);
42
+ const newLocalState = {
43
+ value: newColor,
44
+ zodValidation: safeParse,
45
+ };
46
+ setLocalValue(newLocalState);
47
+ if (safeParse.success) {
48
+ setValue(newColor);
49
+ }
50
+ }, [a, schema, setValue]);
51
+ const onTextChange = (0, react_1.useCallback)((e) => {
52
+ const newValue = e.target.value;
53
+ const safeParse = schema.safeParse(newValue);
54
+ const newLocalState = {
55
+ value: newValue,
56
+ zodValidation: safeParse,
57
+ };
58
+ setLocalValue(newLocalState);
59
+ if (safeParse.success) {
60
+ setValue(newValue);
61
+ }
62
+ }, [schema, setValue]);
63
+ const reset = (0, react_1.useCallback)(() => {
64
+ onValueChange(defaultValue);
65
+ }, [defaultValue, onValueChange]);
66
+ const save = (0, react_1.useCallback)(() => {
67
+ onSave(() => value);
68
+ }, [onSave, value]);
69
+ const rgb = `#${r.toString(16).padStart(2, '0')}${g
70
+ .toString(16)
71
+ .padStart(2, '0')}${b.toString(16).padStart(2, '0')}`;
72
+ const status = localValue.zodValidation.success ? 'ok' : 'error';
73
+ const colorPicker = (0, react_1.useMemo)(() => {
74
+ return {
75
+ height: 39,
76
+ width: 45,
77
+ display: 'inline-block',
78
+ };
79
+ }, []);
80
+ const onOpacityChange = (0, react_1.useCallback)((newValue) => {
81
+ const newColor = (0, color_math_1.colorWithNewOpacity)(localValue.value, Math.round((Number(newValue) / 100) * 255));
82
+ const safeParse = schema.safeParse(newColor);
83
+ const newLocalState = {
84
+ value: newColor,
85
+ zodValidation: safeParse,
86
+ };
87
+ setLocalValue(newLocalState);
88
+ if (safeParse.success) {
89
+ setValue(newColor);
90
+ }
91
+ }, [localValue.value, schema, setValue]);
92
+ const onOpacityValueChange = (0, react_1.useCallback)((newValue) => {
93
+ const newColor = (0, color_math_1.colorWithNewOpacity)(localValue.value, Math.round((Number(newValue) / 100) * 255));
94
+ const safeParse = schema.safeParse(newColor);
95
+ const newLocalState = {
96
+ value: String(newColor),
97
+ zodValidation: safeParse,
98
+ };
99
+ setLocalValue(newLocalState);
100
+ if (safeParse.success) {
101
+ setValue(newColor);
102
+ }
103
+ }, [localValue.value, schema, setValue]);
104
+ return ((0, jsx_runtime_1.jsxs)("div", { style: compact ? layout_2.narrowOption : layout_2.optionRow, children: [(0, jsx_runtime_1.jsx)(SchemaLabel_1.SchemaLabel, { compact: compact, isDefaultValue: value === defaultValue, jsonPath: jsonPath, onReset: reset, onSave: save, showSaveButton: showSaveButton, onRemove: onRemove }), (0, jsx_runtime_1.jsxs)("div", { style: fullWidth, children: [(0, jsx_runtime_1.jsxs)(layout_1.Row, { align: "center", children: [(0, jsx_runtime_1.jsx)("div", { style: colorPicker, children: (0, jsx_runtime_1.jsx)(RemInputTypeColor_1.RemInputTypeColor, { type: "color", style: {
105
+ height: 39,
106
+ }, value: rgb, onChange: onChange, className: "__remotion_color_picker", status: status }) }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 1, block: true }), (0, jsx_runtime_1.jsx)(RemInput_1.RemotionInput, { value: localValue.value, status: status, placeholder: jsonPath.join('.'), onChange: onTextChange }), (0, jsx_runtime_1.jsx)(layout_1.Spacing, { x: 1 }), (0, jsx_runtime_1.jsx)(InputDragger_1.InputDragger, { onTextChange: onOpacityChange, onValueChange: onOpacityValueChange, status: status, value: (a / 255) * 100, min: 0, max: 100, step: 1, formatter: (v) => `${Math.round(Number(v))}%` })] }), !localValue.zodValidation.success && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(layout_1.Spacing, { y: 1, block: true }), (0, jsx_runtime_1.jsx)(ValidationMessage_1.ValidationMessage, { align: "flex-end", message: localValue.zodValidation.error.format()._errors[0], type: "error" })] }))] })] }));
107
+ };
108
+ exports.ZodColorEditor = ZodColorEditor;
@@ -5,6 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const remotion_1 = require("remotion");
6
6
  const ZodArrayEditor_1 = require("./ZodArrayEditor");
7
7
  const ZodBooleanEditor_1 = require("./ZodBooleanEditor");
8
+ const ZodColorEditor_1 = require("./ZodColorEditor");
8
9
  const ZodDateEditor_1 = require("./ZodDateEditor");
9
10
  const ZodEffectEditor_1 = require("./ZodEffectEditor");
10
11
  const ZodEnumEditor_1 = require("./ZodEnumEditor");
@@ -55,6 +56,9 @@ const ZodSwitch = ({ schema, jsonPath, compact, value, setValue, defaultValue, o
55
56
  return ((0, jsx_runtime_1.jsx)(ZodEnumEditor_1.ZodEnumEditor, { setValue: setValue, value: value, jsonPath: jsonPath, schema: schema, compact: compact, defaultValue: defaultValue, onSave: onSave, showSaveButton: showSaveButton, onRemove: onRemove }));
56
57
  }
57
58
  if (typeName === remotion_1.z.ZodFirstPartyTypeKind.ZodEffects) {
59
+ if (schema._def.description === remotion_1.Internals.REMOTION_COLOR_BRAND) {
60
+ return ((0, jsx_runtime_1.jsx)(ZodColorEditor_1.ZodColorEditor, { value: value, setValue: setValue, jsonPath: jsonPath, schema: schema, compact: compact, onSave: onSave, defaultValue: defaultValue, showSaveButton: showSaveButton, onRemove: onRemove }));
61
+ }
58
62
  return ((0, jsx_runtime_1.jsx)(ZodEffectEditor_1.ZodEffectEditor, { value: value, setValue: setValue, jsonPath: jsonPath, schema: schema, compact: compact, defaultValue: defaultValue, onSave: onSave, showSaveButton: showSaveButton, onRemove: onRemove }));
59
63
  }
60
64
  if (typeName === remotion_1.z.ZodFirstPartyTypeKind.ZodUnion) {
@@ -59,6 +59,9 @@ const createZodValues = (schema) => {
59
59
  return def.value;
60
60
  }
61
61
  case remotion_1.z.ZodFirstPartyTypeKind.ZodEffects: {
62
+ if (schema._def.description === remotion_1.Internals.REMOTION_COLOR_BRAND) {
63
+ return '#ffffff';
64
+ }
62
65
  return (0, exports.createZodValues)(def.schema);
63
66
  }
64
67
  case remotion_1.z.ZodFirstPartyTypeKind.ZodIntersection: {
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const leftSidebarTabs: React.RefObject<{
3
+ selectRendersPanel: () => void;
4
+ }>;
5
+ export declare const SidebarContent: React.FC;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SidebarContent = exports.leftSidebarTabs = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ const colors_1 = require("../helpers/colors");
7
+ const CompositionSelector_1 = require("./CompositionSelector");
8
+ const CurrentCompositionSideEffects_1 = require("./CurrentCompositionSideEffects");
9
+ const RenderQueue_1 = require("./RenderQueue");
10
+ const context_1 = require("./RenderQueue/context");
11
+ const RendersTab_1 = require("./RendersTab");
12
+ const Tabs_1 = require("./Tabs");
13
+ const container = {
14
+ width: '100%',
15
+ };
16
+ const tabsContainer = {
17
+ borderBottom: `1px solid ${colors_1.BORDER_COLOR}`,
18
+ };
19
+ exports.leftSidebarTabs = (0, react_1.createRef)();
20
+ const localStorageKey = 'remotion.sidebarPanel';
21
+ const persistSelectedPanel = (panel) => {
22
+ localStorage.setItem(localStorageKey, panel);
23
+ };
24
+ const getSelectedPanel = (shouldRender) => {
25
+ const panel = localStorage.getItem(localStorageKey);
26
+ if (panel === 'renders' && shouldRender) {
27
+ return 'renders';
28
+ }
29
+ return 'compositions';
30
+ };
31
+ const SidebarContent = () => {
32
+ const shouldRender = (0, context_1.useShouldRenderLeftSidebarTabs)();
33
+ const [panel, setPanel] = (0, react_1.useState)(() => getSelectedPanel(shouldRender));
34
+ const onCompositionsSelected = (0, react_1.useCallback)(() => {
35
+ setPanel('compositions');
36
+ persistSelectedPanel('compositions');
37
+ }, []);
38
+ const onRendersSelected = (0, react_1.useCallback)(() => {
39
+ setPanel('renders');
40
+ persistSelectedPanel('renders');
41
+ }, []);
42
+ (0, react_1.useImperativeHandle)(exports.leftSidebarTabs, () => {
43
+ return {
44
+ selectRendersPanel: () => {
45
+ setPanel('renders');
46
+ persistSelectedPanel('renders');
47
+ },
48
+ };
49
+ }, []);
50
+ // TODO: It is not perfectly aligned in example
51
+ return ((0, jsx_runtime_1.jsxs)("div", { style: container, children: [shouldRender ? ((0, jsx_runtime_1.jsx)("div", { style: tabsContainer, children: (0, jsx_runtime_1.jsxs)(Tabs_1.Tabs, { children: [(0, jsx_runtime_1.jsx)(Tabs_1.Tab, { selected: panel === 'compositions', onClick: onCompositionsSelected, children: "Compositions" }), (0, jsx_runtime_1.jsx)(RendersTab_1.RendersTab, { onClick: onRendersSelected, selected: panel === 'renders' })] }) })) : null, panel === 'renders' && shouldRender ? ((0, jsx_runtime_1.jsx)(RenderQueue_1.RenderQueue, {})) : ((0, jsx_runtime_1.jsx)(CompositionSelector_1.CompositionSelector, {})), (0, jsx_runtime_1.jsx)(CurrentCompositionSideEffects_1.CurrentCompositionKeybindings, {}), (0, jsx_runtime_1.jsx)(CurrentCompositionSideEffects_1.TitleUpdater, {})] }));
52
+ };
53
+ exports.SidebarContent = SidebarContent;
@@ -84,7 +84,7 @@ const SizeSelector = () => {
84
84
  },
85
85
  type: 'item',
86
86
  value: newSize.size,
87
- keyHint: newSize.size === 1 ? '0' : null,
87
+ keyHint: newSize.size === 'auto' ? '0' : null,
88
88
  leftItem: String(size.size) === String(newSize.size) ? (0, jsx_runtime_1.jsx)(Checkmark_1.Checkmark, {}) : null,
89
89
  subMenu: null,
90
90
  quickSwitcherLabel: null,
@@ -0,0 +1,2 @@
1
+ import type { SVGProps } from 'react';
2
+ export declare const Save: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Save = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const Save = (props) => {
6
+ return ((0, jsx_runtime_1.jsx)("svg", { viewBox: "0 0 448 512", ...props, children: (0, jsx_runtime_1.jsx)("path", { fill: "currentcolor", d: "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z" }) }));
7
+ };
8
+ exports.Save = Save;
@@ -7,12 +7,12 @@ const get_audio_codec_1 = require("./get-audio-codec");
7
7
  const get_cli_options_1 = require("./get-cli-options");
8
8
  const image_formats_1 = require("./image-formats");
9
9
  const getRenderMediaOptions = async ({ outputLocation, config, serveUrl, codec, remotionRoot, }) => {
10
- const { proResProfile, concurrency, frameRange, overwrite, inputProps, envVariables, quality, crf, pixelFormat, browserExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, muted, enforceAudioTrack, ffmpegOverride, audioBitrate, videoBitrate, height, width, } = await (0, get_cli_options_1.getCliOptions)({
10
+ const { proResProfile, concurrency, frameRange, overwrite, inputProps, envVariables, quality, crf, pixelFormat, browserExecutable, ffmpegExecutable, ffprobeExecutable, scale, chromiumOptions, port, numberOfGifLoops, everyNthFrame, muted, enforceAudioTrack, ffmpegOverride, audioBitrate, videoBitrate, height, width, } = await (0, get_cli_options_1.getCliOptions)({
11
11
  isLambda: false,
12
12
  type: 'series',
13
13
  remotionRoot,
14
14
  });
15
- const imageFormat = (0, image_formats_1.getVideoImageFormat)(codec);
15
+ const imageFormat = (0, image_formats_1.getImageFormat)(codec);
16
16
  const audioCodec = (0, get_audio_codec_1.getResolvedAudioCodec)();
17
17
  return {
18
18
  outputLocation,
@@ -23,6 +23,8 @@ const getRenderMediaOptions = async ({ outputLocation, config, serveUrl, codec,
23
23
  },
24
24
  crf,
25
25
  envVariables,
26
+ ffmpegExecutable,
27
+ ffprobeExecutable,
26
28
  frameRange,
27
29
  imageFormat,
28
30
  inputProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/cli",
3
- "version": "4.0.0-alpha.179+67a31bc55",
3
+ "version": "4.0.0-alpha.185+1b8f0e746",
4
4
  "description": "CLI for Remotion",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -34,16 +34,16 @@
34
34
  "author": "Jonny Burger <jonny@remotion.dev>",
35
35
  "license": "SEE LICENSE IN LICENSE.md",
36
36
  "dependencies": {
37
- "@remotion/bundler": "4.0.0-alpha.179+67a31bc55",
38
- "@remotion/media-utils": "4.0.0-alpha.179+67a31bc55",
39
- "@remotion/player": "4.0.0-alpha.179+67a31bc55",
40
- "@remotion/renderer": "4.0.0-alpha.179+67a31bc55",
37
+ "@remotion/bundler": "4.0.0-alpha.185+1b8f0e746",
38
+ "@remotion/media-utils": "4.0.0-alpha.185+1b8f0e746",
39
+ "@remotion/player": "4.0.0-alpha.185+1b8f0e746",
40
+ "@remotion/renderer": "4.0.0-alpha.185+1b8f0e746",
41
41
  "dotenv": "9.0.2",
42
42
  "memfs": "3.4.3",
43
43
  "minimist": "1.2.6",
44
44
  "open": "^8.4.2",
45
45
  "prompts": "2.4.1",
46
- "remotion": "4.0.0-alpha.179+67a31bc55",
46
+ "remotion": "4.0.0-alpha.185+1b8f0e746",
47
47
  "semver": "7.3.5",
48
48
  "source-map": "0.6.1"
49
49
  },
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "67a31bc55b90f0de65d9538f120b23b6e5c604c5"
86
+ "gitHead": "1b8f0e746ea4aa1153c4ecc7bc1063752c405f25"
87
87
  }
package/styles/styles.css CHANGED
@@ -37,3 +37,9 @@ a:focus {
37
37
  border-radius: 0 !important;
38
38
  }
39
39
 
40
+ input[type="color"].__remotion_color_picker::-webkit-color-swatch-wrapper {
41
+ padding: 0;
42
+ }
43
+ input[type="color"].__remotion_color_picker::-webkit-color-swatch {
44
+ border: none;
45
+ }