@thepocman/gantt-task-react 1.0.37 → 1.0.40

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.
@@ -11890,7 +11890,7 @@ const Gantt = ({
11890
11890
  );
11891
11891
  const [visibleTasks, visibleTasksMirror] = useMemo(
11892
11892
  () => collectVisibleTasks(childTasksMap, rootTasksMap),
11893
- [childTasksMap, rootTasksMap]
11893
+ [childTasksMap, rootTasksMap, enableTaskGrouping]
11894
11894
  );
11895
11895
  const tasksMap = useMemo(() => getTasksMap(tasks), [tasks]);
11896
11896
  const checkTaskIdExists = useCallback(
@@ -11903,7 +11903,7 @@
11903
11903
  );
11904
11904
  const [visibleTasks, visibleTasksMirror] = React.useMemo(
11905
11905
  () => collectVisibleTasks(childTasksMap, rootTasksMap),
11906
- [childTasksMap, rootTasksMap]
11906
+ [childTasksMap, rootTasksMap, enableTaskGrouping]
11907
11907
  );
11908
11908
  const tasksMap = React.useMemo(() => getTasksMap(tasks), [tasks]);
11909
11909
  const checkTaskIdExists = React.useCallback(
@@ -164,6 +164,7 @@ export interface Task {
164
164
  status?: string;
165
165
  phase?: string;
166
166
  taskOwner?: string;
167
+ source?: string;
167
168
  }
168
169
  export interface EmptyTask {
169
170
  id: string;
@@ -175,6 +176,7 @@ export interface EmptyTask {
175
176
  status?: string;
176
177
  phase?: string;
177
178
  taskOwner?: string;
179
+ source?: string;
178
180
  displayOrder?: number;
179
181
  isDisabled?: boolean;
180
182
  styles?: Partial<ColorStyles>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thepocman/gantt-task-react",
3
- "version": "1.0.37",
3
+ "version": "1.0.40",
4
4
  "description": "Fork of gantt-task-react with support for grouped tasks on a single row when collapsed",
5
5
  "author": "Adrian Bueno <adrianlbueno@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/adrianlbueno/gantt-task-react#readme",