gantt-task-react-powern 0.4.20 → 0.4.21
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/task-item/bar/bar-display.d.ts +4 -0
- package/dist/index.js +107 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +107 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/types/bar-task.d.ts +4 -0
- package/dist/types/public-types.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/bar-task.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface BarTask extends Task {
|
|
|
15
15
|
barCornerRadius: number;
|
|
16
16
|
handleWidth: number;
|
|
17
17
|
barChildren: BarTask[];
|
|
18
|
+
criticalPathArrows?: Array<{
|
|
19
|
+
taskId: string;
|
|
20
|
+
arrowColor: string;
|
|
21
|
+
}>;
|
|
18
22
|
styles: {
|
|
19
23
|
taskProgressColor?: string;
|
|
20
24
|
backgroundColor: string;
|
|
@@ -22,6 +22,10 @@ export interface Task {
|
|
|
22
22
|
progress: number;
|
|
23
23
|
actualStart: Date;
|
|
24
24
|
actualEnd: Date;
|
|
25
|
+
criticalPathArrows?: Array<{
|
|
26
|
+
taskId: string;
|
|
27
|
+
arrowColor: string;
|
|
28
|
+
}>;
|
|
25
29
|
styles?: {
|
|
26
30
|
taskProgressColor?: string;
|
|
27
31
|
backgroundColor?: string;
|
|
@@ -139,4 +143,5 @@ export interface StylingOption {
|
|
|
139
143
|
}
|
|
140
144
|
export interface GanttProps extends EventOption, DisplayOption, StylingOption {
|
|
141
145
|
tasks: Task[];
|
|
146
|
+
leafNodes?: Task[];
|
|
142
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantt-task-react-powern",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.21",
|
|
4
4
|
"description": "Interactive Gantt Chart for React with TypeScript.",
|
|
5
5
|
"author": "lewibs <benjamin.lewis@powern.ai>",
|
|
6
6
|
"homepage": "https://github.com/powernai/gantt-task-react-powern",
|