@cliquify.me/timeline 6.0.0 → 6.0.1
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 +242 -222
- package/dist/index.umd.js +30 -30
- package/dist/utils/timeline.d.ts +1 -1
- package/package.json +5 -12
- package/src/index.ts +18 -0
package/dist/utils/timeline.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { ITrackItem } from '@cliquify.me/types';
|
|
|
3
3
|
export declare function timeMsToUnits(timeMs: number, zoom?: number, playbackRate?: number): number;
|
|
4
4
|
export declare function unitsToTimeMs(units: number, zoom?: number, playbackRate?: number): number;
|
|
5
5
|
export declare function calculateTimelineWidth(totalLengthMs: number, zoom?: number): number;
|
|
6
|
-
export declare const getDuration: (trackItems: Record<string, ITrackItem
|
|
6
|
+
export declare const getDuration: (trackItems: Record<string, ITrackItem>, trackItemIds?: string[]) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cliquify.me/timeline",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
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": "
|
|
12
|
-
"module": "
|
|
13
|
-
"types": "
|
|
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": "6.0.
|
|
33
|
+
"@cliquify.me/types": "6.0.1"
|
|
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";
|