@jaeungkim/gantt-chart 1.1.0 → 1.2.0
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 +5 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://github.com/jaeungkim/gantt-chart/actions/workflows/ci.yml)
|
|
7
7
|
[](LICENSE)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
A Gantt chart for React that behaves like a controlled input.
|
|
10
10
|
|
|
11
11
|
[Quick start](https://gantt.jaeungkim.com/docs/quick-start) |
|
|
12
12
|
[Playground](https://gantt.jaeungkim.com/playground) |
|
|
@@ -15,7 +15,8 @@ An editable Gantt chart for React.
|
|
|
15
15
|
|
|
16
16
|
## Features
|
|
17
17
|
|
|
18
|
-
- Bar drags
|
|
18
|
+
- One controlled `tasks` prop. Bar drags move a task, resize it from either edge and set its
|
|
19
|
+
progress, and every commit returns the complete next array through `onTasksChange`.
|
|
19
20
|
- Dependency arrows for `FS`, `SS`, `FF` and `SF`, drawn between bars and removed with Delete or Backspace.
|
|
20
21
|
- A task list pane with the `parentId` tree, summary roll-up and row reordering.
|
|
21
22
|
- A docked detail panel that narrows the timeline and edits the task in place.
|
|
@@ -88,8 +89,8 @@ export default function ProjectChart() {
|
|
|
88
89
|
}
|
|
89
90
|
```
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
next array
|
|
92
|
+
Your app holds the `tasks` array. Every committed gesture ends in one `onTasksChange` call with the
|
|
93
|
+
complete next array, and the chart persists nothing, including the scale.
|
|
93
94
|
|
|
94
95
|
## Documentation
|
|
95
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaeungkim/gantt-chart",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"README.md",
|
|
26
26
|
"LICENSE"
|
|
27
27
|
],
|
|
28
|
-
"description": "React Gantt chart
|
|
28
|
+
"description": "A controlled React Gantt chart. Every drag returns the complete next tasks array. Virtualized rows, dependency arrows, working calendar, keyboard editing.",
|
|
29
29
|
"keywords": [
|
|
30
30
|
"gantt",
|
|
31
31
|
"gantt-chart",
|