@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.
@@ -8,7 +8,7 @@ export interface ShotInspectorProps {
8
8
  }
9
9
  /**
10
10
  * The selected shot: its label, hold, speed, the node the camera frames, the cue it starts
11
- * on (a beat of the scene's grid or a narration word) and its camera moves (`ShotCameraMoves`). Also adds, moves and deletes shots.
11
+ * on (a beat of the scene's grid or a narration word), its camera moves (`ShotCameraMoves`), its transition in (`ShotTransition`) and its layers (`ShotLayers`). Also adds, moves and deletes shots.
12
12
  * Every change is one undo step.
13
13
  */
14
14
  export declare function ShotInspector({ controller, shot, className }: ShotInspectorProps): React.JSX.Element;
@@ -8,7 +8,7 @@ export interface ShotInspectorProps {
8
8
  }
9
9
  /**
10
10
  * The selected shot: its label, hold, speed, the node the camera frames, the cue it starts
11
- * on (a beat of the scene's grid or a narration word) and its camera moves (`ShotCameraMoves`). Also adds, moves and deletes shots.
11
+ * on (a beat of the scene's grid or a narration word), its camera moves (`ShotCameraMoves`), its transition in (`ShotTransition`) and its layers (`ShotLayers`). Also adds, moves and deletes shots.
12
12
  * Every change is one undo step.
13
13
  */
14
14
  export declare function ShotInspector({ controller, shot, className }: ShotInspectorProps): React.JSX.Element;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import type { AnimationEditorController } from '@pixerate/editor/animation-editor';
3
+ export interface ShotLayersProps {
4
+ controller: AnimationEditorController;
5
+ /** The shot whose layers to edit. */
6
+ shot: string;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * A shot's layers: provider effects (backgrounds, filters, overlays, titles) and bare pictures or
11
+ * words shown with the shot, bottom to top, with their role, subject, opacity, fade, length and
12
+ * controls. Add one from the provider's layer effects or as a picture or words; restack or remove
13
+ * it. Every change is one undo step (a slider drag is one).
14
+ */
15
+ export declare function ShotLayers({ controller, shot, className }: ShotLayersProps): React.JSX.Element | null;
16
+ export interface ShotTransitionProps {
17
+ controller: AnimationEditorController;
18
+ /** The shot the transition leads into (not the first shot). */
19
+ shot: string;
20
+ className?: string;
21
+ }
22
+ /**
23
+ * The provider transition into a shot from the one before: pick it, set its length, preset and
24
+ * controls, or clear it. Hidden on the first shot. Every change is one undo step.
25
+ */
26
+ export declare function ShotTransition({ controller, shot, className }: ShotTransitionProps): React.JSX.Element | null;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import type { AnimationEditorController } from '@pixerate/editor/animation-editor';
3
+ export interface ShotLayersProps {
4
+ controller: AnimationEditorController;
5
+ /** The shot whose layers to edit. */
6
+ shot: string;
7
+ className?: string;
8
+ }
9
+ /**
10
+ * A shot's layers: provider effects (backgrounds, filters, overlays, titles) and bare pictures or
11
+ * words shown with the shot, bottom to top, with their role, subject, opacity, fade, length and
12
+ * controls. Add one from the provider's layer effects or as a picture or words; restack or remove
13
+ * it. Every change is one undo step (a slider drag is one).
14
+ */
15
+ export declare function ShotLayers({ controller, shot, className }: ShotLayersProps): React.JSX.Element | null;
16
+ export interface ShotTransitionProps {
17
+ controller: AnimationEditorController;
18
+ /** The shot the transition leads into (not the first shot). */
19
+ shot: string;
20
+ className?: string;
21
+ }
22
+ /**
23
+ * The provider transition into a shot from the one before: pick it, set its length, preset and
24
+ * controls, or clear it. Hidden on the first shot. Every change is one undo step.
25
+ */
26
+ export declare function ShotTransition({ controller, shot, className }: ShotTransitionProps): React.JSX.Element | null;