@libxai/board 1.5.2 → 1.5.3
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.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +29 -29
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2811,7 +2811,7 @@ interface TimelineProps {
|
|
|
2811
2811
|
showTaskBarLabels?: boolean;
|
|
2812
2812
|
onTaskClick?: (task: Task) => void;
|
|
2813
2813
|
onTaskDblClick?: (task: Task) => void;
|
|
2814
|
-
onTaskContextMenu?: (task: Task, event:
|
|
2814
|
+
onTaskContextMenu?: (task: Task, event: React__default.MouseEvent) => void;
|
|
2815
2815
|
onTaskDateChange?: (task: Task, newStart: Date, newEnd: Date) => void;
|
|
2816
2816
|
onDependencyCreate?: (fromTask: Task, toTaskId: string) => void;
|
|
2817
2817
|
onDependencyDelete?: (taskId: string, dependencyId: string) => void;
|
|
@@ -2843,6 +2843,9 @@ interface TaskTooltipData {
|
|
|
2843
2843
|
width: number;
|
|
2844
2844
|
height: number;
|
|
2845
2845
|
showBelow: boolean;
|
|
2846
|
+
/** Viewport mouse position — tooltip follows cursor for fluid UX */
|
|
2847
|
+
mouseX: number;
|
|
2848
|
+
mouseY: number;
|
|
2846
2849
|
}
|
|
2847
2850
|
interface TaskBarProps {
|
|
2848
2851
|
task: Task;
|
package/dist/index.d.ts
CHANGED
|
@@ -2811,7 +2811,7 @@ interface TimelineProps {
|
|
|
2811
2811
|
showTaskBarLabels?: boolean;
|
|
2812
2812
|
onTaskClick?: (task: Task) => void;
|
|
2813
2813
|
onTaskDblClick?: (task: Task) => void;
|
|
2814
|
-
onTaskContextMenu?: (task: Task, event:
|
|
2814
|
+
onTaskContextMenu?: (task: Task, event: React__default.MouseEvent) => void;
|
|
2815
2815
|
onTaskDateChange?: (task: Task, newStart: Date, newEnd: Date) => void;
|
|
2816
2816
|
onDependencyCreate?: (fromTask: Task, toTaskId: string) => void;
|
|
2817
2817
|
onDependencyDelete?: (taskId: string, dependencyId: string) => void;
|
|
@@ -2843,6 +2843,9 @@ interface TaskTooltipData {
|
|
|
2843
2843
|
width: number;
|
|
2844
2844
|
height: number;
|
|
2845
2845
|
showBelow: boolean;
|
|
2846
|
+
/** Viewport mouse position — tooltip follows cursor for fluid UX */
|
|
2847
|
+
mouseX: number;
|
|
2848
|
+
mouseY: number;
|
|
2846
2849
|
}
|
|
2847
2850
|
interface TaskBarProps {
|
|
2848
2851
|
task: Task;
|