@umriss-ui/schedule 0.6.0 → 0.7.1
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/CHANGELOG.md +26 -0
- package/README.md +10 -2
- package/dist/schedule.js +4 -2
- package/docs/llms-full.md +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,32 @@ moves from here under the rule above.
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
## 0.7.1 – Core 0.33.0, charts 0.16.0 (Oct. 2026)
|
|
19
|
+
|
|
20
|
+
Needs `@umriss-ui/core` 0.33 and `@umriss-ui/charts` 0.16; the peer ranges move to `^0.33.0` and `^0.16.0`.
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- **The unit tests run against React 18.3.1 and 19 in CI**, and a schedule is rendered to a string with no `window` in a test (`tests-unit/ssr.test.tsx`): its labelled frame and empty canvases.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- **Every entry begins with `"use client";`.** The built file `dist/schedule.js` starts with the directive, then the stylesheet import, so a bundler that splits server from client code takes each as client code. The directive is written to the built entries only; the sources are unchanged.
|
|
29
|
+
|
|
30
|
+
- **Every export is a client component.** A hook called in a Server Component now fails with React's message about a client reference, not one about `useState`.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 0.7.0 – The summary counts the milestones (Oct. 2026)
|
|
35
|
+
|
|
36
|
+
Needs `@umriss-ui/core` 0.32; the peer range moves to `^0.32.0`.
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- **Milestones in the summary**: the plot's description names how many milestones the plan shows ("2 milestones."), and nothing where there are none. Needs `@umriss-ui/core` with the new `scheduleSummary` argument.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
18
44
|
## 0.6.0 – Milestones (Oct. 2026)
|
|
19
45
|
|
|
20
46
|
Needs `@umriss-ui/core` 0.31 and `@umriss-ui/charts` 0.15; the peer ranges move to `^0.31.0` and `^0.15.0`.
|
package/README.md
CHANGED
|
@@ -19,7 +19,14 @@ Both `@umriss-ui/core` and `@umriss-ui/charts` are **peer dependencies**
|
|
|
19
19
|
(ADR-0022): the schedule takes its styling regime, provider, formats and
|
|
20
20
|
wording from core, and its time arithmetic — the affine scale, the time steps,
|
|
21
21
|
the working calendar, the canvas colour resolution — from charts. React 18 or
|
|
22
|
-
19 as a peer as well.
|
|
22
|
+
19 as a peer as well; the unit tests run against 18.3 and 19 in CI.
|
|
23
|
+
|
|
24
|
+
Every entry begins with `"use client"`, the directive a framework
|
|
25
|
+
with Server Components reads to treat a module as client code. No test runs
|
|
26
|
+
inside such a framework: the
|
|
27
|
+
schedule is rendered to a string in a test. On a server it gives its labelled
|
|
28
|
+
frame and empty canvases; the lanes, subtasks and the summary's counts arrive
|
|
29
|
+
on the client after mount.
|
|
23
30
|
|
|
24
31
|
## The smallest schedule that runs
|
|
25
32
|
|
|
@@ -161,7 +168,8 @@ label and time.
|
|
|
161
168
|
## Not yet
|
|
162
169
|
|
|
163
170
|
What the schedule does not do today, and waits for a caller who needs it (what
|
|
164
|
-
it never does stands in ADR-0032):
|
|
171
|
+
it never does stands in ADR-0032): umriss shows the reader's time, and a
|
|
172
|
+
plant's zone is not yet offered (ADR-0060).
|
|
165
173
|
|
|
166
174
|
* **Stacked overlap** — overlapping subtasks packed into sub-lanes on request;
|
|
167
175
|
today an overlap is always drawn offset, as the finding it is.
|
package/dist/schedule.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import "./schedule.css";
|
|
2
3
|
var hn = Object.defineProperty;
|
|
3
4
|
var cn = (s, t, e) => t in s ? hn(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
@@ -2221,7 +2222,7 @@ const Oe = {
|
|
|
2221
2222
|
now: null,
|
|
2222
2223
|
bars: [],
|
|
2223
2224
|
spoken: null,
|
|
2224
|
-
summary: { lanes: 0, subtasks: 0, from: 0, to: 0, overlaps: 0, violated: 0, blocked: 0 }
|
|
2225
|
+
summary: { lanes: 0, subtasks: 0, from: 0, to: 0, overlaps: 0, violated: 0, blocked: 0, milestones: 0 }
|
|
2225
2226
|
};
|
|
2226
2227
|
class uo {
|
|
2227
2228
|
constructor(t = {}) {
|
|
@@ -2498,7 +2499,8 @@ class uo {
|
|
|
2498
2499
|
to: n,
|
|
2499
2500
|
overlaps: this.data.overlaps.length,
|
|
2500
2501
|
violated: this.data.violatedById.size,
|
|
2501
|
-
blocked: this.data.inBlocked.length
|
|
2502
|
+
blocked: this.data.inBlocked.length,
|
|
2503
|
+
milestones: this.data.milestones.length
|
|
2502
2504
|
};
|
|
2503
2505
|
}
|
|
2504
2506
|
tooltip() {
|
package/docs/llms-full.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/schedule",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "React Gantt-style schedule for data-dense applications - work on lanes over time, with dependencies, blocked time, findings and controlled editing.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Roman Händler",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=18",
|
|
52
52
|
"react-dom": ">=18",
|
|
53
|
-
"@umriss-ui/charts": "^0.
|
|
54
|
-
"@umriss-ui/core": "^0.
|
|
53
|
+
"@umriss-ui/charts": "^0.16.0",
|
|
54
|
+
"@umriss-ui/core": "^0.33.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@fontsource/geist-mono": "^5.3.0",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"typescript": "^5.6.3",
|
|
66
66
|
"vite": "^6.0.0",
|
|
67
67
|
"vite-plugin-dts": "^4.3.0",
|
|
68
|
-
"@umriss-ui/charts": "0.
|
|
69
|
-
"@umriss-ui/
|
|
70
|
-
"@umriss-ui/
|
|
68
|
+
"@umriss-ui/charts": "0.16.0",
|
|
69
|
+
"@umriss-ui/core": "0.33.0",
|
|
70
|
+
"@umriss-ui/demo": "0.0.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"props": "node --disable-warning=ExperimentalWarning --experimental-strip-types demo/props.ts",
|