@thepocman/gantt-task-react 1.0.24 → 1.0.27
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/components/grid/grid-body.d.ts +1 -0
- package/dist/components/task-item/task-item.d.ts +4 -2
- package/dist/gantt-task-react.es.js +283 -194
- package/dist/gantt-task-react.umd.js +283 -194
- package/dist/helpers/time-unit-boundaries.d.ts +2 -0
- package/dist/style.css +21 -21
- package/dist/types/public-types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15,5 +15,6 @@ export type GridBodyProps = {
|
|
|
15
15
|
checkIsHoliday: (date: Date, dateExtremity: DateExtremity) => boolean;
|
|
16
16
|
getDate: (index: number) => Date;
|
|
17
17
|
minTaskDate: Date;
|
|
18
|
+
dividerColor: string;
|
|
18
19
|
};
|
|
19
20
|
export declare const GridBody: React.NamedExoticComponent<GridBodyProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import type { MouseEvent } from "react";
|
|
2
|
+
import React from "react";
|
|
3
3
|
import { GanttRelationEvent } from "../../types/gantt-task-actions";
|
|
4
|
-
import {
|
|
4
|
+
import { BarMoveAction, ChildOutOfParentWarnings, ColorStyles, DateExtremity, Distances, FixPosition, RelationKind, Task, TaskOrEmpty } from "../../types/public-types";
|
|
5
5
|
export type TaskItemProps = {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
getTaskGlobalIndexByRef: (task: Task) => number;
|
|
@@ -37,5 +37,7 @@ export type TaskItemProps = {
|
|
|
37
37
|
fixEndPosition?: FixPosition;
|
|
38
38
|
handleDeleteTasks: (task: TaskOrEmpty[]) => void;
|
|
39
39
|
colorStyles: ColorStyles;
|
|
40
|
+
enableTaskGrouping?: boolean;
|
|
41
|
+
getTaskInitials?: (task: Task) => string;
|
|
40
42
|
};
|
|
41
43
|
export declare const TaskItem: React.NamedExoticComponent<TaskItemProps>;
|