@remotion/studio-shared 4.0.484 → 4.0.485
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/api-requests.d.ts +13 -0
- package/dist/codemods.d.ts +2 -0
- package/dist/effect-catalog.js +11 -0
- package/dist/index.d.ts +1 -1
- package/dist/package-info.js +2 -2
- package/dist/schema-field-info.d.ts +4 -3
- package/dist/schema-field-info.js +9 -1
- package/package.json +4 -4
package/dist/api-requests.d.ts
CHANGED
|
@@ -490,6 +490,18 @@ export type DuplicateJsxNodeResponse = {
|
|
|
490
490
|
reason: string;
|
|
491
491
|
stack: string;
|
|
492
492
|
};
|
|
493
|
+
export type SplitJsxSequenceRequest = {
|
|
494
|
+
fileName: string;
|
|
495
|
+
nodePath: SequenceNodePath;
|
|
496
|
+
splitFrame: number;
|
|
497
|
+
};
|
|
498
|
+
export type SplitJsxSequenceResponse = {
|
|
499
|
+
success: true;
|
|
500
|
+
} | {
|
|
501
|
+
success: false;
|
|
502
|
+
reason: string;
|
|
503
|
+
stack: string;
|
|
504
|
+
};
|
|
493
505
|
export type InsertableCompositionElement = {
|
|
494
506
|
type: 'solid';
|
|
495
507
|
width: number;
|
|
@@ -626,6 +638,7 @@ export type ApiRoutes = {
|
|
|
626
638
|
'/api/paste-effects': ReqAndRes<PasteEffectsRequest, PasteEffectsResponse>;
|
|
627
639
|
'/api/delete-jsx-node': ReqAndRes<DeleteJsxNodeRequest, DeleteJsxNodeResponse>;
|
|
628
640
|
'/api/duplicate-jsx-node': ReqAndRes<DuplicateJsxNodeRequest, DuplicateJsxNodeResponse>;
|
|
641
|
+
'/api/split-jsx-sequence': ReqAndRes<SplitJsxSequenceRequest, SplitJsxSequenceResponse>;
|
|
629
642
|
'/api/insert-jsx-element': ReqAndRes<InsertJsxElementRequest, InsertJsxElementResponse>;
|
|
630
643
|
'/api/insert-element': ReqAndRes<InsertElementRequest, InsertElementResponse>;
|
|
631
644
|
'/api/download-remote-asset': ReqAndRes<DownloadRemoteAssetRequest, DownloadRemoteAssetResponse>;
|
package/dist/codemods.d.ts
CHANGED
package/dist/effect-catalog.js
CHANGED
|
@@ -283,6 +283,17 @@ exports.EFFECT_CATALOG = [
|
|
|
283
283
|
config: {},
|
|
284
284
|
},
|
|
285
285
|
},
|
|
286
|
+
{
|
|
287
|
+
id: 'effects-venetian-blinds',
|
|
288
|
+
category: 'Reveal',
|
|
289
|
+
label: 'venetianBlinds()',
|
|
290
|
+
description: 'Slatted reveal effect',
|
|
291
|
+
effect: {
|
|
292
|
+
name: 'venetianBlinds',
|
|
293
|
+
importPath: '@remotion/effects/venetian-blinds',
|
|
294
|
+
config: {},
|
|
295
|
+
},
|
|
296
|
+
},
|
|
286
297
|
{
|
|
287
298
|
id: 'effects-mirror',
|
|
288
299
|
category: 'Transform',
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { splitAnsi, stripAnsi } from './ansi';
|
|
2
|
-
export { AddEffectKeyframeRequest, AddEffectKeyframeResponse, AddEffectRequest, AddEffectResponse, AddKeyframesRequest, AddKeyframesResponse, AddRenderRequest, AddSequenceKeyframeRequest, AddSequenceKeyframeResponse, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CancelRenderRequest, CancelRenderResponse, CompositionComponentInfoRequest, CompositionComponentInfoResponse, CopyStillToClipboardRequest, DeleteEffectKeyframe, DeleteEffectRequest, DeleteEffectRequestItem, DeleteEffectResponse, DeleteJsxNodeRequest, DeleteJsxNodeRequestItem, DeleteJsxNodeResponse, DeleteKeyframesRequest, DeleteKeyframesResponse, DeleteSequenceKeyframe, DeleteStaticFileRequest, DeleteStaticFileResponse, DownloadRemoteAssetRequest, DownloadRemoteAssetResponse, DuplicateEffectRequest, DuplicateEffectRequestItem, DuplicateEffectResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, InsertElementRequest, InsertElementResponse, InsertJsxElementRequest, InsertJsxElementResponse, InsertableCompositionElement, InsertableCompositionElementPosition, InstallPackageRequest, InstallPackageResponse, LogStudioErrorRequest, LogStudioErrorResponse, MoveEffectKeyframe, MoveKeyframesRequest, MoveKeyframesResponse, MoveSequenceKeyframe, OpenInEditorRequest, OpenInEditorResponse, OpenInFileExplorerRequest, PasteEffectsRequest, PasteEffectsResponse, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RenameStaticFileRequest, RenameStaticFileResponse, ReorderEffectRequest, ReorderEffectResponse, ReorderSequencePosition, ReorderSequenceRequest, ReorderSequenceResponse, RestartStudioRequest, RestartStudioResponse, SaveEffectPropsRequest, SaveEffectPropsResponse, SaveSequencePropEdit, SaveSequencePropsRequest, SaveSequencePropsResponse, SaveSequencePropsResult, SimpleDiff, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UnsubscribeFromSequencePropsRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, UpdateEffectKeyframeSettingsRequest, UpdateEffectKeyframeSettingsResponse, UpdateSequenceKeyframeSettingsRequest, UpdateSequenceKeyframeSettingsResponse, type AddEffectKeyframe, type AddSequenceKeyframe, type KeyframeSettings, } from './api-requests';
|
|
2
|
+
export { AddEffectKeyframeRequest, AddEffectKeyframeResponse, AddEffectRequest, AddEffectResponse, AddKeyframesRequest, AddKeyframesResponse, AddRenderRequest, AddSequenceKeyframeRequest, AddSequenceKeyframeResponse, ApiRoutes, ApplyCodemodRequest, ApplyCodemodResponse, ApplyVisualControlRequest, ApplyVisualControlResponse, CanUpdateDefaultPropsResponse, CanUpdateSequencePropsRequest, CancelRenderRequest, CancelRenderResponse, CompositionComponentInfoRequest, CompositionComponentInfoResponse, CopyStillToClipboardRequest, DeleteEffectKeyframe, DeleteEffectRequest, DeleteEffectRequestItem, DeleteEffectResponse, DeleteJsxNodeRequest, DeleteJsxNodeRequestItem, DeleteJsxNodeResponse, DeleteKeyframesRequest, DeleteKeyframesResponse, DeleteSequenceKeyframe, DeleteStaticFileRequest, DeleteStaticFileResponse, DownloadRemoteAssetRequest, DownloadRemoteAssetResponse, DuplicateEffectRequest, DuplicateEffectRequestItem, DuplicateEffectResponse, DuplicateJsxNodeRequest, DuplicateJsxNodeResponse, InsertElementRequest, InsertElementResponse, InsertJsxElementRequest, InsertJsxElementResponse, InsertableCompositionElement, InsertableCompositionElementPosition, InstallPackageRequest, InstallPackageResponse, LogStudioErrorRequest, LogStudioErrorResponse, MoveEffectKeyframe, MoveKeyframesRequest, MoveKeyframesResponse, MoveSequenceKeyframe, OpenInEditorRequest, OpenInEditorResponse, OpenInFileExplorerRequest, PasteEffectsRequest, PasteEffectsResponse, ProjectInfoRequest, ProjectInfoResponse, RedoRequest, RedoResponse, RemoveRenderRequest, RenameStaticFileRequest, RenameStaticFileResponse, ReorderEffectRequest, ReorderEffectResponse, ReorderSequencePosition, ReorderSequenceRequest, ReorderSequenceResponse, RestartStudioRequest, RestartStudioResponse, SaveEffectPropsRequest, SaveEffectPropsResponse, SaveSequencePropEdit, SaveSequencePropsRequest, SaveSequencePropsResponse, SaveSequencePropsResult, SimpleDiff, SplitJsxSequenceRequest, SplitJsxSequenceResponse, SubscribeToDefaultPropsRequest, SubscribeToDefaultPropsResponse, SubscribeToFileExistenceRequest, SubscribeToFileExistenceResponse, SubscribeToSequencePropsRequest, SubscribeToSequencePropsResponse, UndoRequest, UndoResponse, UnsubscribeFromDefaultPropsRequest, UnsubscribeFromFileExistenceRequest, UnsubscribeFromSequencePropsRequest, UpdateAvailableRequest, UpdateAvailableResponse, UpdateDefaultPropsRequest, UpdateDefaultPropsResponse, UpdateEffectKeyframeSettingsRequest, UpdateEffectKeyframeSettingsResponse, UpdateSequenceKeyframeSettingsRequest, UpdateSequenceKeyframeSettingsResponse, type AddEffectKeyframe, type AddSequenceKeyframe, type KeyframeSettings, } from './api-requests';
|
|
3
3
|
export { ASSET_DRAG_MIME_TYPE, makeAssetDragData, parseAssetDragData, type AssetDragData, } from './asset-drag-data';
|
|
4
4
|
export type { ApplyVisualControlCodemod, RecastCodemod } from './codemods';
|
|
5
5
|
export { COMPONENT_DRAG_MIME_TYPE, areComponentProps, isComponentIdentifier, isComponentImportPath, makeComponentDragData, parseComponentDragData, type ComponentDimensions, type ComponentDragData, type ComponentProp, } from './component-drag-data';
|
package/dist/package-info.js
CHANGED
|
@@ -103,13 +103,13 @@ exports.packages = [
|
|
|
103
103
|
exports.extraPackages = [
|
|
104
104
|
{
|
|
105
105
|
name: 'mediabunny',
|
|
106
|
-
version: '1.
|
|
106
|
+
version: '1.50.3',
|
|
107
107
|
description: 'Multimedia library used by Remotion',
|
|
108
108
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/version',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
name: '@mediabunny/ac3',
|
|
112
|
-
version: '1.
|
|
112
|
+
version: '1.50.3',
|
|
113
113
|
description: 'AC-3 and E-AC-3 audio codec support for Mediabunny',
|
|
114
114
|
docsUrl: 'https://www.remotion.dev/docs/mediabunny/formats#ac-3-and-e-ac-3',
|
|
115
115
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DragOverrides, EffectDefinition, GetDragOverrides, GetEffectDragOverrides, PropStatuses, SequenceControls, SequencePropsSubscriptionKey,
|
|
1
|
+
import type { DragOverrides, EffectDefinition, GetDragOverrides, GetEffectDragOverrides, InteractivitySchema, PropStatuses, SequenceControls, SequencePropsSubscriptionKey, VisibleFieldSchema } from 'remotion';
|
|
2
2
|
export type { DragOverrides, PropStatuses, SequenceControls };
|
|
3
3
|
export type SchemaFieldInfo = {
|
|
4
4
|
key: string;
|
|
@@ -34,14 +34,15 @@ export declare const SCHEMA_FIELD_GROUPS: readonly [{
|
|
|
34
34
|
readonly label: "Text";
|
|
35
35
|
}];
|
|
36
36
|
export declare const getSchemaFieldGroup: (key: string) => SchemaFieldGroup;
|
|
37
|
-
declare const SUPPORTED_SCHEMA_TYPES: readonly ["number", "boolean", "rotation-css", "rotation-degrees", "translate", "transform-origin", "scale", "uv-coordinate", "color", "array", "enum", "hidden"];
|
|
37
|
+
declare const SUPPORTED_SCHEMA_TYPES: readonly ["number", "boolean", "rotation-css", "rotation-degrees", "translate", "transform-origin", "scale", "uv-coordinate", "color", "text-content", "array", "enum", "hidden"];
|
|
38
38
|
type SupportedSchemaType = (typeof SUPPORTED_SCHEMA_TYPES)[number];
|
|
39
|
-
export declare const getFieldsToShow: ({ getDragOverrides, propStatuses, nodePath, schema, currentRuntimeValueDotNotation, }: {
|
|
39
|
+
export declare const getFieldsToShow: ({ getDragOverrides, propStatuses, nodePath, schema, currentRuntimeValueDotNotation, includeTextContent, }: {
|
|
40
40
|
schema: InteractivitySchema;
|
|
41
41
|
currentRuntimeValueDotNotation: Record<string, unknown>;
|
|
42
42
|
getDragOverrides: GetDragOverrides;
|
|
43
43
|
propStatuses: PropStatuses;
|
|
44
44
|
nodePath: SequencePropsSubscriptionKey;
|
|
45
|
+
includeTextContent?: boolean | undefined;
|
|
45
46
|
}) => InteractivitySchemaFieldInfo[] | null;
|
|
46
47
|
export declare const getEffectFieldsToShow: ({ effect, effectIndex, nodePath, propStatuses, getEffectDragOverrides, }: {
|
|
47
48
|
effect: EffectDefinition<unknown>;
|
|
@@ -21,6 +21,7 @@ const TRANSFORM_FIELD_KEYS = new Set([
|
|
|
21
21
|
'style.opacity',
|
|
22
22
|
]);
|
|
23
23
|
const TEXT_FIELD_KEYS = new Set([
|
|
24
|
+
'children',
|
|
24
25
|
'style.color',
|
|
25
26
|
'style.fontSize',
|
|
26
27
|
'style.lineHeight',
|
|
@@ -59,6 +60,7 @@ const SUPPORTED_SCHEMA_TYPES = [
|
|
|
59
60
|
'scale',
|
|
60
61
|
'uv-coordinate',
|
|
61
62
|
'color',
|
|
63
|
+
'text-content',
|
|
62
64
|
'array',
|
|
63
65
|
'enum',
|
|
64
66
|
'hidden',
|
|
@@ -80,6 +82,9 @@ const getSchemaFieldRowHeight = ({ fieldSchema, value, }) => {
|
|
|
80
82
|
value,
|
|
81
83
|
}) * exports.SCHEMA_FIELD_ROW_HEIGHT);
|
|
82
84
|
}
|
|
85
|
+
if (fieldSchema.type === 'text-content') {
|
|
86
|
+
return exports.SCHEMA_FIELD_ROW_HEIGHT * 2;
|
|
87
|
+
}
|
|
83
88
|
return exports.SCHEMA_FIELD_ROW_HEIGHT;
|
|
84
89
|
};
|
|
85
90
|
const getEffectFieldValue = ({ key, dragOverrides, effectStatus, }) => {
|
|
@@ -96,7 +101,7 @@ const getEffectFieldValue = ({ key, dragOverrides, effectStatus, }) => {
|
|
|
96
101
|
}
|
|
97
102
|
return propStatus.codeValue;
|
|
98
103
|
};
|
|
99
|
-
const getFieldsToShow = ({ getDragOverrides, propStatuses, nodePath, schema, currentRuntimeValueDotNotation, }) => {
|
|
104
|
+
const getFieldsToShow = ({ getDragOverrides, propStatuses, nodePath, schema, currentRuntimeValueDotNotation, includeTextContent, }) => {
|
|
100
105
|
const { merged: valuesDotNotation } = remotion_1.Internals.computeEffectiveSchemaValuesDotNotation({
|
|
101
106
|
schema,
|
|
102
107
|
currentValue: currentRuntimeValueDotNotation,
|
|
@@ -117,6 +122,9 @@ const getFieldsToShow = ({ getDragOverrides, propStatuses, nodePath, schema, cur
|
|
|
117
122
|
if (fieldSchema.type === 'number' && fieldSchema.hiddenFromList) {
|
|
118
123
|
return null;
|
|
119
124
|
}
|
|
125
|
+
if (fieldSchema.type === 'text-content' && !includeTextContent) {
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
120
128
|
// `hidden` is represented as the eye/speaker icon on the timeline track,
|
|
121
129
|
// so we don't render it as a regular field in the expanded section.
|
|
122
130
|
if (key === 'hidden') {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio-shared"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio-shared",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.485",
|
|
7
7
|
"description": "Internal package for shared objects between the Studio backend and frontend",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"scripts": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"remotion": "4.0.
|
|
23
|
+
"remotion": "4.0.485"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@remotion/renderer": "4.0.
|
|
27
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
26
|
+
"@remotion/renderer": "4.0.485",
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.485",
|
|
28
28
|
"eslint": "9.19.0",
|
|
29
29
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
30
30
|
},
|