@umriss-ui/schedule 0.3.2 → 0.3.3
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 +18 -0
- package/dist/schedule.js +989 -961
- package/docs/llms-full.md +6 -2
- package/package.json +4 -4
package/docs/llms-full.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @umriss-ui/schedule 0.3.
|
|
1
|
+
# @umriss-ui/schedule 0.3.3
|
|
2
2
|
|
|
3
3
|
> The umriss schedule for data-dense applications - work on lanes over time, with dependencies, blocked time, findings and controlled editing.
|
|
4
4
|
|
|
@@ -2758,11 +2758,13 @@ The schedule keeps the selection itself unless you pass `selectedTask`; then you
|
|
|
2758
2758
|
|
|
2759
2759
|
Selection and hover are two different marks: the selected task is outlined, the one under the pointer washed, and both show at once.
|
|
2760
2760
|
|
|
2761
|
+
The selection also steps the rest back, so a planner sees at once what they are working with: the clicked subtask keeps its task's full colour, the other subtasks of its task go halfway to grey, and all other work goes grey. Findings keep their colours, and a task selected by its dependency stays whole.
|
|
2762
|
+
|
|
2761
2763
|
#### Examples
|
|
2762
2764
|
|
|
2763
2765
|
##### Select a task
|
|
2764
2766
|
|
|
2765
|
-
Click a leg and the whole consignment is outlined on every vehicle
|
|
2767
|
+
Click a leg and the whole consignment is outlined on every vehicle: the leg you clicked in full colour, its other legs halfway to grey, all other work grey. Click the empty plot to clear it.
|
|
2766
2768
|
|
|
2767
2769
|
```tsx
|
|
2768
2770
|
import { Dependencies, Lane, Schedule, Subtasks } from "@umriss-ui/schedule";
|
|
@@ -2778,12 +2780,14 @@ const CONSIGNMENTS: readonly Task[] = [
|
|
|
2778
2780
|
const LEGS: readonly Subtask[] = [
|
|
2779
2781
|
{ id: "c-2041-1", task: "c-2041", lane: "truck-118", from: at(6), to: at(7, 30) },
|
|
2780
2782
|
{ id: "c-2041-2", task: "c-2041", lane: "van-214", from: at(8), to: at(10, 30) },
|
|
2783
|
+
{ id: "c-2041-3", task: "c-2041", lane: "truck-118", from: at(11), to: at(12) },
|
|
2781
2784
|
{ id: "c-2042-1", task: "c-2042", lane: "truck-118", from: at(8), to: at(9) },
|
|
2782
2785
|
{ id: "c-2042-2", task: "c-2042", lane: "van-214", from: at(11), to: at(12, 30) },
|
|
2783
2786
|
];
|
|
2784
2787
|
|
|
2785
2788
|
const TRANSFERS: readonly Dependency[] = [
|
|
2786
2789
|
{ id: "t-2041", from: "c-2041-1", to: "c-2041-2", lag: 20 * 60_000 },
|
|
2790
|
+
{ id: "t-2041-b", from: "c-2041-2", to: "c-2041-3", lag: 20 * 60_000 },
|
|
2787
2791
|
{ id: "t-2042", from: "c-2042-1", to: "c-2042-2", lag: 20 * 60_000 },
|
|
2788
2792
|
];
|
|
2789
2793
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/schedule",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "The umriss 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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react": ">=18",
|
|
47
47
|
"react-dom": ">=18",
|
|
48
48
|
"@umriss-ui/charts": "^0.8.0",
|
|
49
|
-
"@umriss-ui/core": "^0.13.
|
|
49
|
+
"@umriss-ui/core": "^0.13.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@fontsource/geist-mono": "^5.3.0",
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"vite": "^6.0.0",
|
|
62
62
|
"vite-plugin-dts": "^4.3.0",
|
|
63
63
|
"@umriss-ui/charts": "0.8.0",
|
|
64
|
-
"@umriss-ui/
|
|
65
|
-
"@umriss-ui/
|
|
64
|
+
"@umriss-ui/demo": "0.0.0",
|
|
65
|
+
"@umriss-ui/core": "0.13.1"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"props": "node --disable-warning=ExperimentalWarning --experimental-strip-types demo/props.ts",
|