@cliquify.me/timeline 4.0.13 → 4.0.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.
@@ -3,7 +3,7 @@ import { default as CanvasMixin } from './mixins/canvas';
3
3
  import { default as TrackItemsMixin } from './mixins/track-items';
4
4
  import { default as TracksMixin } from './mixins/tracks';
5
5
  import { default as TransitionsMixin } from './mixins/transitions';
6
- import { ITimelineScaleState, ITrack, ITrackItem, ITransition, IStateManager, IUpdateStateOptions, IItem, CanvasSpacing } from '@cliquify.me/types';
6
+ import { ITimelineScaleState, ITrack, ITrackItem, ITransition, IStateManager, IUpdateStateOptions, CanvasSpacing } from '@cliquify.me/types';
7
7
 
8
8
  interface Bounding {
9
9
  width: number;
@@ -48,7 +48,6 @@ declare class Timeline extends Canvas {
48
48
  trackItemIds: string[];
49
49
  transitionIds: string[];
50
50
  transitionsMap: Record<string, ITransition>;
51
- trackItemDetailsMap: Record<string, IItem>;
52
51
  scale: ITimelineScaleState;
53
52
  duration: number;
54
53
  bounding: Bounding;
@@ -82,7 +81,6 @@ declare class Timeline extends Canvas {
82
81
  trackItemsMap: Record<string, ITrackItem>;
83
82
  transitionIds: string[];
84
83
  transitionsMap: Record<string, ITransition>;
85
- trackItemDetailsMap: Record<string, IItem>;
86
84
  scale: ITimelineScaleState;
87
85
  duration: number;
88
86
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/timeline",
3
- "version": "4.0.13",
3
+ "version": "4.0.15",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,16 +8,9 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
- "main": "dist/index.umd.js",
12
- "module": "dist/index.es.js",
13
- "types": "dist/index.d.ts",
14
- "exports": {
15
- ".": {
16
- "import": "./dist/index.es.js",
17
- "require": "./dist/index.umd.js",
18
- "types": "./dist/index.d.ts"
19
- }
20
- },
11
+ "main": "src/index.ts",
12
+ "module": "src/index.ts",
13
+ "types": "src/index.ts",
21
14
  "devDependencies": {
22
15
  "@types/lodash-es": "^4.17.12",
23
16
  "@types/node": "^20.11.24",
@@ -37,7 +30,7 @@
37
30
  "peerDependencies": {
38
31
  "@types/lodash-es": "^4.17.12",
39
32
  "@designcombo/events": "^1.0.2",
40
- "@cliquify.me/types": "4.0.13"
33
+ "@cliquify.me/types": "4.0.15"
41
34
  },
42
35
  "scripts": {
43
36
  "dev": "vite",
package/src/index.ts ADDED
@@ -0,0 +1,18 @@
1
+ export { drawVerticalLine } from "./controls/draw";
2
+ export * from "./objects";
3
+ export { default } from "./timeline";
4
+ export * from "./utils";
5
+ export * from "./constants";
6
+ export * from "./resize";
7
+ export * from "./global";
8
+ export * from "./timeline";
9
+ export {
10
+ FabricObject,
11
+ Control,
12
+ classRegistry,
13
+ Rect,
14
+ util,
15
+ controlsUtils,
16
+ Pattern
17
+ } from "fabric";
18
+ export type { TransformActionHandler } from "fabric";