gantt-task-react-powern 0.6.43 → 0.6.45
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/README.md +3 -0
- package/dist/components/gantt/task-gantt-content.d.ts +6 -0
- package/dist/helpers/bar-helper.d.ts +10 -2
- package/dist/helpers/calendar-helper.d.ts +4 -1
- package/dist/helpers/date-helper.d.ts +5 -0
- package/dist/index.js +92 -104
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +92 -104
- package/dist/index.modern.js.map +1 -1
- package/dist/test/bar-segments.test.d.ts +1 -0
- package/dist/test/calendar-helper.test.d.ts +1 -0
- package/dist/test/calendar.test.d.ts +1 -0
- package/dist/test/hide-actual-before-slider.test.d.ts +1 -0
- package/dist/test/slider-bar-colors.test.d.ts +1 -0
- package/dist/types/public-types.d.ts +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -44,6 +44,14 @@ export interface Task {
|
|
|
44
44
|
arrowColor: string;
|
|
45
45
|
criticalPathType: string;
|
|
46
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Days (inclusive) during which the planned bar takes `plannedInProgressColor`.
|
|
49
|
+
* No `end` means open-ended.
|
|
50
|
+
*/
|
|
51
|
+
inProgressWindow?: {
|
|
52
|
+
start: Date;
|
|
53
|
+
end?: Date;
|
|
54
|
+
};
|
|
47
55
|
styles?: {
|
|
48
56
|
taskProgressColor?: string;
|
|
49
57
|
backgroundColor?: string;
|
|
@@ -184,4 +192,8 @@ export interface GanttProps extends EventOption, DisplayOption, StylingOption {
|
|
|
184
192
|
endDate?: Date;
|
|
185
193
|
projectCalendar?: CalendarDefinition;
|
|
186
194
|
sliderTime?: number;
|
|
195
|
+
/** Draw actual bars transparent until sliderTime reaches their actual start day. */
|
|
196
|
+
hideActualBeforeSlider?: boolean;
|
|
197
|
+
/** Planned bar fill while sliderTime is inside the task's `inProgressWindow`. */
|
|
198
|
+
plannedInProgressColor?: string;
|
|
187
199
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantt-task-react-powern",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.45",
|
|
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",
|