@cliquify.me/timeline 3.1.13 → 3.1.15
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/constants/constants.d.ts +2 -0
- package/dist/constants/objects.d.ts +1 -0
- package/dist/constants/scale.d.ts +6 -0
- package/dist/controls/draw.d.ts +2 -2
- package/dist/events/canvas/hover-control.d.ts +4 -0
- package/dist/index.es.js +2450 -2198
- package/dist/index.umd.js +50 -50
- package/dist/objects/illustration.d.ts +36 -0
- package/dist/objects/shape.d.ts +36 -0
- package/dist/timeline.d.ts +3 -1
- package/dist/utils/load-object.d.ts +11 -1
- package/package.json +2 -2
|
@@ -2,6 +2,8 @@ export declare const GIANT_ICON_SIZE = 100;
|
|
|
2
2
|
export declare const LARGE_ICON_SIZE = 30;
|
|
3
3
|
export declare const NORMAL_ICON_SIZE = 18;
|
|
4
4
|
export declare const SMALL_ICON_SIZE = 14;
|
|
5
|
+
export declare const SPACE_TO_RESIZE_X = 3;
|
|
6
|
+
export declare const SPACE_TO_RESIZE_Y = 4;
|
|
5
7
|
export declare const LARGER_FONT_SIZE = 30;
|
|
6
8
|
export declare const LARGE_FONT_SIZE = 24;
|
|
7
9
|
export declare const NORMAL_FONT_SIZE = 16;
|
|
@@ -3,3 +3,4 @@ export declare const ACTIVE_SELECTION_COLOR = "rgba(255, 255, 255,1.0)";
|
|
|
3
3
|
export declare const SELECTION_COLOR = "rgba(255, 211, 42,0.1)";
|
|
4
4
|
export declare const SELECTION_BORDER_COLOR = "rgba(255, 211, 42,1.0)";
|
|
5
5
|
export declare const ITEM_TYPES: string[];
|
|
6
|
+
export declare const ITEM_TYPES_LOWERCASE: string[];
|
|
@@ -5,6 +5,9 @@ export declare const ACCEPTS_MAP: {
|
|
|
5
5
|
text: string[];
|
|
6
6
|
caption: string[];
|
|
7
7
|
template: string[];
|
|
8
|
+
composition: string[];
|
|
9
|
+
illustration: string[];
|
|
10
|
+
shape: string[];
|
|
8
11
|
};
|
|
9
12
|
export declare const SIZES_MAP: {
|
|
10
13
|
video: number;
|
|
@@ -13,4 +16,7 @@ export declare const SIZES_MAP: {
|
|
|
13
16
|
text: number;
|
|
14
17
|
caption: number;
|
|
15
18
|
template: number;
|
|
19
|
+
illustration: number;
|
|
20
|
+
composition: number;
|
|
21
|
+
shape: number;
|
|
16
22
|
};
|
package/dist/controls/draw.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FabricObject } from 'fabric';
|
|
1
|
+
import { Control, FabricObject } from 'fabric';
|
|
2
2
|
|
|
3
|
-
export declare function drawVerticalLine(ctx: CanvasRenderingContext2D,
|
|
3
|
+
export declare function drawVerticalLine(this: Control, ctx: CanvasRenderingContext2D, __: number, ___: number, _: {}, fabricObject: FabricObject): void;
|