@pixerate/editor-react 0.155.0 → 0.157.0

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,15 @@
1
+ import React from 'react';
2
+ import { type VideoEditorController } from '@pixerate/editor/video-editor';
3
+ export interface ClipCameraMovesProps {
4
+ controller: VideoEditorController;
5
+ /** The clip whose moves to edit. */
6
+ clip: string;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * A clip's camera moves from the effects provider: the move into the clip and the move across
11
+ * the rest of it, with the zoom they frame, a move in's length, presets and controls. The moves
12
+ * are baked into the clip's transform keys. Hidden with the reason when the provider has no
13
+ * camera moves. Every change is one undo step (a slider drag is one).
14
+ */
15
+ export declare function ClipCameraMoves({ controller, clip, className }: ClipCameraMovesProps): React.JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type VideoEditorController } from '@pixerate/editor/video-editor';
3
+ export interface ClipCameraMovesProps {
4
+ controller: VideoEditorController;
5
+ /** The clip whose moves to edit. */
6
+ clip: string;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * A clip's camera moves from the effects provider: the move into the clip and the move across
11
+ * the rest of it, with the zoom they frame, a move in's length, presets and controls. The moves
12
+ * are baked into the clip's transform keys. Hidden with the reason when the provider has no
13
+ * camera moves. Every change is one undo step (a slider drag is one).
14
+ */
15
+ export declare function ClipCameraMoves({ controller, clip, className }: ClipCameraMovesProps): React.JSX.Element | null;
@@ -8,7 +8,7 @@ export interface ClipInspectorProps {
8
8
  * Edits the one selected clip: its name, fades, opacity, volume and transform (each with a keyframe
9
9
  * toggle at the playhead: ◆ adds a key holding the value there or removes the one there; typing a
10
10
  * value on a keyed property sets the key at the playhead); volume, speed and mute for media;
11
- * text, colour, size and background for titles; colour for colour clips; and the transition into
12
- * it. Each change is one undo step (`update_clip` / `set_transition`), committed on blur or change.
11
+ * text, colour, size and background for titles; colour for colour clips; the transition into
12
+ * it; and its camera moves (`ClipCameraMoves`). Each change is one undo step (`update_clip` / `set_transition`), committed on blur or change.
13
13
  */
14
14
  export declare function ClipInspector({ controller, className }: ClipInspectorProps): React.JSX.Element | null;
@@ -8,7 +8,7 @@ export interface ClipInspectorProps {
8
8
  * Edits the one selected clip: its name, fades, opacity, volume and transform (each with a keyframe
9
9
  * toggle at the playhead: ◆ adds a key holding the value there or removes the one there; typing a
10
10
  * value on a keyed property sets the key at the playhead); volume, speed and mute for media;
11
- * text, colour, size and background for titles; colour for colour clips; and the transition into
12
- * it. Each change is one undo step (`update_clip` / `set_transition`), committed on blur or change.
11
+ * text, colour, size and background for titles; colour for colour clips; the transition into
12
+ * it; and its camera moves (`ClipCameraMoves`). Each change is one undo step (`update_clip` / `set_transition`), committed on blur or change.
13
13
  */
14
14
  export declare function ClipInspector({ controller, className }: ClipInspectorProps): React.JSX.Element | null;