gantt-task-react-powern 0.6.44 → 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.
@@ -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.44",
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",