@libxai/board 0.17.75 → 0.17.77

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.d.cts CHANGED
@@ -2133,6 +2133,14 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
2133
2133
  onTaskContextMenu, // v0.8.0
2134
2134
  onTaskDateChange, onDependencyCreate, onDependencyDelete, }: TimelineProps): react_jsx_runtime.JSX.Element;
2135
2135
 
2136
+ interface TaskTooltipData {
2137
+ task: Task;
2138
+ x: number;
2139
+ y: number;
2140
+ width: number;
2141
+ height: number;
2142
+ showBelow: boolean;
2143
+ }
2136
2144
  interface TaskBarProps {
2137
2145
  task: Task;
2138
2146
  x: number;
@@ -2149,10 +2157,12 @@ interface TaskBarProps {
2149
2157
  onDependencyCreate?: (fromTask: Task, toTaskId: string) => void;
2150
2158
  allTaskPositions?: TaskPosition[];
2151
2159
  onDragMove?: (taskId: string, daysDelta: number, isDragging: boolean) => void;
2160
+ onHoverChange?: (tooltipData: TaskTooltipData | null) => void;
2152
2161
  }
2153
2162
  declare function TaskBar({ task, x, y, width, theme, dayWidth, startDate, templates, onClick, onDoubleClick, // v0.8.0
2154
2163
  onContextMenu, // v0.8.0
2155
- onDateChange, onDependencyCreate, allTaskPositions, onDragMove, }: TaskBarProps): react_jsx_runtime.JSX.Element;
2164
+ onDateChange, onDependencyCreate, allTaskPositions, onDragMove, // v0.13.0
2165
+ onHoverChange, }: TaskBarProps): react_jsx_runtime.JSX.Element;
2156
2166
 
2157
2167
  interface DependencyLineProps {
2158
2168
  x1: number;
package/dist/index.d.ts CHANGED
@@ -2133,6 +2133,14 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
2133
2133
  onTaskContextMenu, // v0.8.0
2134
2134
  onTaskDateChange, onDependencyCreate, onDependencyDelete, }: TimelineProps): react_jsx_runtime.JSX.Element;
2135
2135
 
2136
+ interface TaskTooltipData {
2137
+ task: Task;
2138
+ x: number;
2139
+ y: number;
2140
+ width: number;
2141
+ height: number;
2142
+ showBelow: boolean;
2143
+ }
2136
2144
  interface TaskBarProps {
2137
2145
  task: Task;
2138
2146
  x: number;
@@ -2149,10 +2157,12 @@ interface TaskBarProps {
2149
2157
  onDependencyCreate?: (fromTask: Task, toTaskId: string) => void;
2150
2158
  allTaskPositions?: TaskPosition[];
2151
2159
  onDragMove?: (taskId: string, daysDelta: number, isDragging: boolean) => void;
2160
+ onHoverChange?: (tooltipData: TaskTooltipData | null) => void;
2152
2161
  }
2153
2162
  declare function TaskBar({ task, x, y, width, theme, dayWidth, startDate, templates, onClick, onDoubleClick, // v0.8.0
2154
2163
  onContextMenu, // v0.8.0
2155
- onDateChange, onDependencyCreate, allTaskPositions, onDragMove, }: TaskBarProps): react_jsx_runtime.JSX.Element;
2164
+ onDateChange, onDependencyCreate, allTaskPositions, onDragMove, // v0.13.0
2165
+ onHoverChange, }: TaskBarProps): react_jsx_runtime.JSX.Element;
2156
2166
 
2157
2167
  interface DependencyLineProps {
2158
2168
  x1: number;