@twick/video-editor 0.15.19 → 0.15.21

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Hit-test: given clientY relative to timeline content area, return whether
3
+ * the pointer is over a track or a separator (gap between tracks). OpenVideo-style.
4
+ */
5
+ export type DropTarget = {
6
+ type: "track";
7
+ trackIndex: number;
8
+ } | {
9
+ type: "separator";
10
+ separatorIndex: number;
11
+ } | null;
12
+ export declare function getTrackOrSeparatorAt(clientY: number, containerTop: number, trackHeight: number): DropTarget;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twick/video-editor",
3
- "version": "0.15.19",
3
+ "version": "0.15.21",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -34,12 +34,12 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@emotion/is-prop-valid": "^1.2.2",
37
- "@twick/canvas": "0.15.19",
38
- "@twick/live-player": "0.15.19",
39
- "@twick/timeline": "0.15.19",
37
+ "@twick/canvas": "0.15.21",
38
+ "@twick/live-player": "0.15.21",
39
+ "@twick/timeline": "0.15.21",
40
40
  "@react-spring/web": "^10.0.1",
41
41
  "@use-gesture/react": "^10.3.0",
42
- "@twick/media-utils": "0.15.19",
42
+ "@twick/media-utils": "0.15.21",
43
43
  "framer-motion": "^11.0.3",
44
44
  "lucide-react": "^0.511.0"
45
45
  },