gantt-lib 0.112.0 → 0.113.0

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.mts CHANGED
@@ -411,8 +411,11 @@ interface PlanFactMatrixProps<TTask extends Task = Task> {
411
411
  onCellCommit?: (context: PlanFactCellCommitContext<TTask>) => void;
412
412
  highlightedTaskIds?: Set<string>;
413
413
  filterMode?: 'highlight' | 'hide';
414
+ visibleRowIndices?: number[];
415
+ visibleDateIndices?: number[];
416
+ todayDateIndex?: number;
414
417
  }
415
- declare function PlanFactMatrix<TTask extends Task = Task>({ tasks, allTasks, dateRange, dayWidth, rowHeight, headerHeight, bodyMinHeight, selectedTaskId, onTaskSelect, onTasksChange, onCellCommit, highlightedTaskIds, filterMode, }: PlanFactMatrixProps<TTask>): react_jsx_runtime.JSX.Element;
418
+ declare function PlanFactMatrix<TTask extends Task = Task>({ tasks, allTasks, dateRange, dayWidth, rowHeight, headerHeight, bodyMinHeight, selectedTaskId, onTaskSelect, onTasksChange, onCellCommit, highlightedTaskIds, filterMode, visibleRowIndices, visibleDateIndices, todayDateIndex, }: PlanFactMatrixProps<TTask>): react_jsx_runtime.JSX.Element;
416
419
 
417
420
  /**
418
421
  * Task data structure for Gantt chart
package/dist/index.d.ts CHANGED
@@ -411,8 +411,11 @@ interface PlanFactMatrixProps<TTask extends Task = Task> {
411
411
  onCellCommit?: (context: PlanFactCellCommitContext<TTask>) => void;
412
412
  highlightedTaskIds?: Set<string>;
413
413
  filterMode?: 'highlight' | 'hide';
414
+ visibleRowIndices?: number[];
415
+ visibleDateIndices?: number[];
416
+ todayDateIndex?: number;
414
417
  }
415
- declare function PlanFactMatrix<TTask extends Task = Task>({ tasks, allTasks, dateRange, dayWidth, rowHeight, headerHeight, bodyMinHeight, selectedTaskId, onTaskSelect, onTasksChange, onCellCommit, highlightedTaskIds, filterMode, }: PlanFactMatrixProps<TTask>): react_jsx_runtime.JSX.Element;
418
+ declare function PlanFactMatrix<TTask extends Task = Task>({ tasks, allTasks, dateRange, dayWidth, rowHeight, headerHeight, bodyMinHeight, selectedTaskId, onTaskSelect, onTasksChange, onCellCommit, highlightedTaskIds, filterMode, visibleRowIndices, visibleDateIndices, todayDateIndex, }: PlanFactMatrixProps<TTask>): react_jsx_runtime.JSX.Element;
416
419
 
417
420
  /**
418
421
  * Task data structure for Gantt chart