@rendley/sdk 1.11.12 → 1.11.14

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.
@@ -1,3 +1,4 @@
1
+ import { BlendModeEnum, WrapModeEnum } from '../../types';
1
2
  import { AnimationTypeEnum } from "../clip";
2
3
  import { ShapeTypeEnum } from "../clip/clips/shape/types/Shape.types";
3
4
  import { TextBlock } from "../library";
@@ -19,6 +20,8 @@ export declare enum UndoActionEnum {
19
20
  CLIP_ANIMATION_SET = "clip-animation-set",
20
21
  CLIP_ANIMATION_SET_DURATION = "clip-animation-set-duration",
21
22
  CLIP_ANIMATION_SET_LOOP_SMOOTHING = "clip-animation-set-loop-smoothing",
23
+ CLIP_WRAP_MODE = "clip-wrap-mode",
24
+ CLIP_BLEND_MODE = "clip-blend-mode",
22
25
  CLIP_STYLE_POSITION = "clip-style-position",
23
26
  CLIP_STYLE_SCALE = "clip-style-scale",
24
27
  CLIP_STYLE_ROTATION = "clip-style-rotation",
@@ -123,6 +126,14 @@ export type UndoActionMappings = {
123
126
  subtitlesId: string | undefined;
124
127
  offset: number;
125
128
  };
129
+ [UndoActionEnum.CLIP_WRAP_MODE]: {
130
+ clipId: string;
131
+ wrapMode: WrapModeEnum;
132
+ };
133
+ [UndoActionEnum.CLIP_BLEND_MODE]: {
134
+ clipId: string;
135
+ blendMode: BlendModeEnum;
136
+ };
126
137
  [UndoActionEnum.CLIP_STYLE_POSITION]: {
127
138
  clipId: string;
128
139
  value: [number, number];
@@ -9,6 +9,7 @@ export declare enum ClipTypeEnum {
9
9
  SHAPE = "shape",
10
10
  LOTTIE = "lottie",
11
11
  SUBTITLES = "subtitles",
12
+ PLACEHOLDER = "placeholder",
12
13
  CUSTOM = "custom"
13
14
  }
14
15
  export declare enum WrapModeEnum {
@@ -17,3 +18,9 @@ export declare enum WrapModeEnum {
17
18
  PING_PONG = "ping_pong",
18
19
  EMPTY = "empty"
19
20
  }
21
+ export declare enum BlendModeEnum {
22
+ NORMAL = "normal",
23
+ ADD = "add",
24
+ SCREEN = "screen",
25
+ MULTIPLY = "multiply"
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.11.12",
3
+ "version": "1.11.14",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendley.com",