gantt-task-react-powern 0.4.68 → 0.4.70

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.
@@ -13,6 +13,7 @@ export declare enum ViewMode {
13
13
  export declare type TaskType = "task" | "milestone" | "project";
14
14
  export interface Task {
15
15
  id: string;
16
+ optionalId?: string | null;
16
17
  type: TaskType;
17
18
  name: string;
18
19
  start: Date;
@@ -76,6 +77,10 @@ export interface EventOption {
76
77
  * Invokes on expander on task list
77
78
  */
78
79
  onExpanderClick?: (task: Task) => void;
80
+ /**
81
+ * Invokes when tasks are multi-selected via checkboxes
82
+ */
83
+ onMultiSelect?: (tasks: Task[]) => void;
79
84
  }
80
85
  export interface DisplayOption {
81
86
  viewMode?: ViewMode;
@@ -115,6 +120,7 @@ export interface StylingOption {
115
120
  arrowColor?: string;
116
121
  arrowIndent?: number;
117
122
  todayColor?: string;
123
+ weekendColor?: string;
118
124
  TooltipContent?: React.FC<{
119
125
  task: Task;
120
126
  fontSize: string;
@@ -146,4 +152,7 @@ export interface StylingOption {
146
152
  export interface GanttProps extends EventOption, DisplayOption, StylingOption {
147
153
  tasks: Task[];
148
154
  leafTasks?: Task[];
155
+ scheduleType: string;
156
+ startDate?: Date;
157
+ endDate?: Date;
149
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-task-react-powern",
3
- "version": "0.4.68",
3
+ "version": "0.4.70",
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",