@cliquify.me/timeline 3.1.16 → 3.1.18
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/index.es.js +465 -456
- package/dist/index.umd.js +39 -39
- package/dist/objects/illustration.d.ts +3 -0
- package/dist/objects/index.d.ts +3 -0
- package/dist/objects/shape.d.ts +3 -0
- package/dist/utils/load-object.d.ts +1 -1
- package/package.json +2 -2
|
@@ -6,12 +6,14 @@ export interface IllustrationProps extends Pick<RectProps, "width" | "height" |
|
|
|
6
6
|
src: string;
|
|
7
7
|
tScale: number;
|
|
8
8
|
display: IDisplay;
|
|
9
|
+
svgString: string;
|
|
9
10
|
}
|
|
10
11
|
declare class Illustration extends Rect {
|
|
11
12
|
static type: string;
|
|
12
13
|
itemType: string;
|
|
13
14
|
src: string;
|
|
14
15
|
isSelected: boolean;
|
|
16
|
+
svgString: string;
|
|
15
17
|
static createControls(): {
|
|
16
18
|
controls: Record<string, Control>;
|
|
17
19
|
};
|
|
@@ -26,6 +28,7 @@ declare class Illustration extends Rect {
|
|
|
26
28
|
fill: string;
|
|
27
29
|
borderOpacityWhenMoving: number;
|
|
28
30
|
hoverCursor: string;
|
|
31
|
+
svgString: string;
|
|
29
32
|
};
|
|
30
33
|
constructor(props: IllustrationProps);
|
|
31
34
|
setSelected(selected: boolean): void;
|
package/dist/objects/index.d.ts
CHANGED
|
@@ -8,4 +8,7 @@ export { default as Placeholder } from './placeholder';
|
|
|
8
8
|
export { default as Transition } from './transition';
|
|
9
9
|
export { default as Caption, type CaptionsProps } from './captions';
|
|
10
10
|
export { default as Template, type TemplateProps } from './template';
|
|
11
|
+
export { default as Illustration, type IllustrationProps } from './illustration';
|
|
12
|
+
export { default as Shape, type ShapeProps } from './shape';
|
|
13
|
+
export { default as Composition, type CompositionProps } from './composition';
|
|
11
14
|
export { default as PreviewTrackItem, type PreviewTrackItemProps } from './drag-track-item';
|
package/dist/objects/shape.d.ts
CHANGED
|
@@ -6,12 +6,14 @@ export interface ShapeProps extends Pick<RectProps, "width" | "height" | "left"
|
|
|
6
6
|
src: string;
|
|
7
7
|
tScale: number;
|
|
8
8
|
display: IDisplay;
|
|
9
|
+
backgroundColorDiv: string;
|
|
9
10
|
}
|
|
10
11
|
declare class Shape extends Rect {
|
|
11
12
|
static type: string;
|
|
12
13
|
itemType: string;
|
|
13
14
|
src: string;
|
|
14
15
|
isSelected: boolean;
|
|
16
|
+
backgroundColorDiv: string;
|
|
15
17
|
static createControls(): {
|
|
16
18
|
controls: Record<string, Control>;
|
|
17
19
|
};
|
|
@@ -26,6 +28,7 @@ declare class Shape extends Rect {
|
|
|
26
28
|
fill: string;
|
|
27
29
|
borderOpacityWhenMoving: number;
|
|
28
30
|
hoverCursor: string;
|
|
31
|
+
backgroundColordDiv: string;
|
|
29
32
|
};
|
|
30
33
|
constructor(props: ShapeProps);
|
|
31
34
|
setSelected(selected: boolean): void;
|
|
@@ -57,4 +57,4 @@ export declare const loadShapeObject: (item: ITrackItemAndDetails, options: {
|
|
|
57
57
|
export declare const loadMediaObject: (item: ITrackItemAndDetails, options: {
|
|
58
58
|
tScale: number;
|
|
59
59
|
sizesMap: Record<string, number>;
|
|
60
|
-
}) => Image | Video | Audio | Text | Caption | Template |
|
|
60
|
+
}) => Image | Video | Audio | Text | Caption | Template | Illustration | Shape | Composition | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cliquify.me/timeline",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.18",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@types/lodash-es": "^4.17.12",
|
|
36
36
|
"@designcombo/events": "^1.0.2",
|
|
37
|
-
"@cliquify.me/types": "3.1.
|
|
37
|
+
"@cliquify.me/types": "3.1.18"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dev": "vite",
|