gantt-task-react-powern 0.4.69 → 0.4.71
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 +2 -0
- package/dist/components/task-list/task-list-header.d.ts +3 -0
- package/dist/components/task-list/task-list-table.d.ts +3 -0
- package/dist/components/task-list/task-list.d.ts +7 -0
- package/dist/index.css +27 -1
- package/dist/index.js +230 -37
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +230 -37
- package/dist/index.modern.js.map +1 -1
- package/dist/types/public-types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -77,6 +77,10 @@ export interface EventOption {
|
|
|
77
77
|
* Invokes on expander on task list
|
|
78
78
|
*/
|
|
79
79
|
onExpanderClick?: (task: Task) => void;
|
|
80
|
+
/**
|
|
81
|
+
* Invokes when tasks are multi-selected via checkboxes
|
|
82
|
+
*/
|
|
83
|
+
onMultiSelect?: (tasks: Task[]) => void;
|
|
80
84
|
}
|
|
81
85
|
export interface DisplayOption {
|
|
82
86
|
viewMode?: ViewMode;
|
|
@@ -116,6 +120,7 @@ export interface StylingOption {
|
|
|
116
120
|
arrowColor?: string;
|
|
117
121
|
arrowIndent?: number;
|
|
118
122
|
todayColor?: string;
|
|
123
|
+
weekendColor?: string;
|
|
119
124
|
TooltipContent?: React.FC<{
|
|
120
125
|
task: Task;
|
|
121
126
|
fontSize: string;
|
|
@@ -147,4 +152,7 @@ export interface StylingOption {
|
|
|
147
152
|
export interface GanttProps extends EventOption, DisplayOption, StylingOption {
|
|
148
153
|
tasks: Task[];
|
|
149
154
|
leafTasks?: Task[];
|
|
155
|
+
scheduleType: string;
|
|
156
|
+
startDate?: Date;
|
|
157
|
+
endDate?: Date;
|
|
150
158
|
}
|
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.71",
|
|
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",
|