@umriss-ui/schedule 0.56.0 → 0.57.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/API.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @umriss-ui/schedule API
2
2
 
3
- Generated by the props step (`pnpm --filter @umriss-ui/schedule props`); do not edit. First sentences only; the full text is `docs/llms-full.md`.
3
+ Generated by the props step (`pnpm --filter @umriss-ui/schedule props`); do not edit. Lists every export, and the props, options and returns of each component and hook, with first sentences only; the full text is `docs/llms-full.md`. What stands under `## Experimental`, or is marked `(experimental)`, may change in a minor release; everything else is the surface a break costs a major for (ADR-0083).
4
4
 
5
5
  ## Hooks
6
6
 
@@ -28,12 +28,12 @@ Generated by the props step (`pnpm --filter @umriss-ui/schedule props`); do not
28
28
  - BlockedTimesProps — The props of `BlockedTimes`.
29
29
  - DependenciesProps — The props of `Dependencies`.
30
30
  - Dependency — Two subtasks of one task in order: the later one may not begin before the earlier one ends plus a lag. [id, from, to, lag, leaves, arrives, route, attach, ends]
31
- - DependencyAttachment — Where on its bars a dependency's line attaches: the middle of both, or the edge that faces the other stop - which is the shortest line between them.
32
- - DependencyEnds — Whether a dependency's two ends carry a dot.
33
- - DependencyRoute — How a dependency is drawn between its two ends: a curve that leaves and arrives forwards, a straight line, or axis-parallel segments.
31
+ - DependencyAttachment — Where on its bars a dependency's line attaches: the middle of both, or the edge that faces the other stop - which is the shortest line between them. = "centre" | "nearest"
32
+ - DependencyEnds — Whether a dependency's two ends carry a dot. = "dot" | "none"
33
+ - DependencyRoute — How a dependency is drawn between its two ends: a curve that leaves and arrives forwards, a straight line, or axis-parallel segments. = "curve" | "straight" | "orthogonal"
34
34
  - Findings — Every kind of finding over the same data. [overlaps, violatedDependencies, inBlockedTime]
35
35
  - InBlockedTime — A subtask covering time its lane is blocked. [subtask, blocked, lane, from, to]
36
- - Intent — What the schedule reports when an interaction asks for a change.
36
+ - Intent — What the schedule reports when an interaction asks for a change. = MoveIntent | StretchIntent | LeadInIntent | LeadOutIntent | LaneIntent | PlaceIntent
37
37
  - IntentKind — The names of the intents - the editing API of the schedule.
38
38
  - LaneGroupProps — The props of `LaneGroup`.
39
39
  - LaneIntent — Put the subtask on another lane. [kind, subtask, lane]
@@ -47,17 +47,18 @@ Generated by the props step (`pnpm --filter @umriss-ui/schedule props`); do not
47
47
  - PlaceIntent — Put work on the plan that was not on it: the answer to a drag from outside the schedule. [kind, item, task, lane, from, to, leadIn, leadOut]
48
48
  - PlacingItem — What the application says it is dragging in, while it drags it: the browser hands over the dragged data only on the drop, so the ghost before the drop can only come from the caller. [item, task, duration, leadIn, leadOut]
49
49
  - ResolvedAppearance — What the drawing needs to know, with the contradiction already settled. [dashed, hatched, muted, open]
50
- - ScheduleHit — What a pointer is on.
50
+ - ScheduleHit — What a pointer is on. = { kind: "subtask", subtask, part } | { kind: "dependency", dependency } | { kind: "milestone", milestone } | { kind: "lane", lane } | { kind: "nothing" }
51
51
  - ScheduleInteraction — A pointer interaction, reported with its target and its position. [type, hit, clientX, clientY, time, lane]
52
52
  - ScheduleOptions — What `useSchedule` takes: the view to start from and the handler that hears every change of it. [initialView, onViewChange]
53
53
  - ScheduleParts — What `useSchedule` hands back: the schedule and what is declared inside it, its view and the setters that change it. [Schedule, Lane, LaneGroup, Subtasks, Dependencies, BlockedTimes, Milestones, DataTable, view, setView, setDomain, toggleGroup, positionAt, clientPointOf, visibleDomain, scrollToLane, scrollToSubtask, focusSubtask, foldAll, unfoldAll]
54
54
  - ScheduleProps — The props of `Schedule`: the attributes of a `<div>` and what the schedule reads itself.
55
- - ScheduleTooltipTarget — What a tooltip is about: the hovered subtask or dependency, with what the schedule knows about it. [kind, subtask, task, overlapping, violatedDependencies, blocked, milestone, dependency, from, to, violated]
55
+ - ScheduleTooltipTarget — What a tooltip is about: the hovered subtask, milestone or dependency, with what the schedule knows about it. = { kind: "subtask", subtask, task, overlapping, violatedDependencies, blocked } | { kind: "milestone", milestone } | { kind: "dependency", dependency, task, from, to, violated } [kind, subtask, task, overlapping, violatedDependencies, blocked, milestone, dependency, from, to, violated]
56
56
  - ScheduleView — How a planner is looking at the plan. [domain, folded]
57
57
  - SnapRaster — A raster: a step, and where it starts after local midnight. [step, offset]
58
58
  - StretchIntent — Stretch the main time at one or both of its edges. [kind, subtask, from, to]
59
59
  - Subtask — The drawn interval: a main time on one lane, with an optional lead-in before it and a lead-out after it. [id, task, lane, from, to, leadIn, leadOut, name, appearance, progress]
60
- - SubtaskAppearance — The appearances a caller may give a subtask.
60
+ - SubtaskAppearance — The appearances a caller may give a subtask. = "provisional" | "fixed" | "muted" | "open"
61
+ - SubtaskPart — The three parts of a subtask's bar: the lead-in before the main time, the main time, and the lead-out after it. = "leadIn" | "main" | "leadOut"
61
62
  - SubtasksProps — The props of `Subtasks`.
62
63
  - Task — One whole undertaking. [id, color, name]
63
64
  - ViolatedDependency — A dependency whose lag does not fit between its anchors. [dependency, departure, arrival, shortBy]
@@ -94,3 +95,57 @@ Generated by the props step (`pnpm --filter @umriss-ui/schedule props`); do not
94
95
  - focusSubtask: (id: string) => boolean — Does what `scrollToSubtask` does, then makes the subtask the **Active subtask** and moves the focus to the plot, where the live region reads it out as the arrow keys do; `false` and nothing changed in the cases of `scrollToLane`.
95
96
  - foldAll: () => void — Folds every group.
96
97
  - unfoldAll: () => void — Unfolds every group.
98
+
99
+ #### props of Schedule (ScheduleProps)
100
+
101
+ - ref?: Ref<HTMLDivElement> | undefined — Receives the root element.
102
+ - height?: number — Height in CSS pixels, both bands included, fixed. (default: fills the frame, at least 400 px)
103
+ - laneHeight?: number — Height of one lane in pixels at the default font size of 16 px; the schedule multiplies it by the root font size over 16 px when that ratio is above 1, so lane names keep their room in a reader's larger font. (default: 44)
104
+ - headerWidth?: number — Width of the lane headers in pixels - at most 28 % of the schedule (never under 88 pixels), so that on a phone the plot keeps the larger part. (default: 160)
105
+ - calendar?: CalendarInput — A working calendar: the intervals in which time counts. (default: [])
106
+ - zoomLimits?: ZoomLimits — The narrowest and widest time span zoom may reach, in milliseconds. (default: one hour to 28 days)
107
+ - snap?: "ticks" | number | SnapRaster | false — The raster a drag lands on: `"ticks"` - the fine band's current step -, a step in milliseconds from local midnight, a step with an offset (shifts at 06:00, 14:00 and 22:00 are eight hours offset by six), or `false` for none. (default: "ticks")
108
+ - intents?: readonly IntentKind[] — The intents the caller handles. (default: [])
109
+ - canMoveTo?: (subtask: Subtask, lane: string) => boolean — Whether a subtask may go to a lane. (default: every lane is open)
110
+ - onIntent?: (intent: Intent) => void — Called once per intent when a drag ends.
111
+ - onInteraction?: (interaction: ScheduleInteraction) => void — Click, context menu and hover, with what the pointer is on and where.
112
+ - selectedTask?: string | null — The selected task, controlled.
113
+ - onSelectedTaskChange?: (task: string | null, subtask: string | null) => void — Called when a click selects a task or clears the selection, with the subtask that was clicked - null where the click was on a dependency or on nothing.
114
+ - placing?: PlacingItem | null — What the application is dragging in from outside while it drags it - its key, task, the length of its main time, its lead-in and lead-out.
115
+ - route?: DependencyRoute — How the dependencies are drawn: a `"curve"` that leaves and arrives forwards, a `"straight"` line, or `"orthogonal"` segments. (default: "curve")
116
+ - attach?: DependencyAttachment — Where a dependency's ends sit on their bars: the `"centre"` of both, or the `"nearest"` edge - which is the shortest line between two stops. (default: "centre")
117
+ - ends?: DependencyEnds — Whether a dependency's two ends carry a dot (`"dot"`) or the line stands alone (`"none"`). (default: "dot")
118
+ - label?: (subtask: Subtask) => string — What stands written in a bar: a function from a subtask to a line of text, or nothing for bars without text.
119
+ - tooltip?: false | ((target: ScheduleTooltipTarget) => ReactNode) — The tooltip on a hovered subtask, milestone or dependency: its order, its times, its parts and its findings.
120
+ - now?: boolean | number — A line marking the present across the lanes: `true` follows the clock by the minute, an instant fixes it there. (default: false)
121
+ - loading?: boolean — The plan is on its way, as the chart's `loading` says ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). (default: false)
122
+ - children?: ReactNode — `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn.
123
+ - aria-label: string — What the schedule shows, for a screen reader: "Plan of week 38".
124
+
125
+ #### props of Lane (LaneProps)
126
+
127
+ - id: string — The identity subtasks name in their `lane`.
128
+ - label?: ReactNode — What the lane header says - the person, vehicle or room. (default: id)
129
+
130
+ #### props of LaneGroup (LaneGroupProps)
131
+
132
+ - id: string — The group's identity - what the view's `folded` names.
133
+ - label?: ReactNode — What the group's header says - the team, the depot, the region. (default: id)
134
+ - children?: ReactNode — `Lane`s and further `LaneGroup`s, to any depth.
135
+
136
+ #### props of Subtasks (SubtasksProps)
137
+
138
+ - data: readonly Subtask[] — The subtasks, as the caller holds them.
139
+ - tasks: readonly Task[] — The tasks the subtasks belong to - their identity and their colour.
140
+
141
+ #### props of Dependencies (DependenciesProps)
142
+
143
+ - data: readonly Dependency[] — The dependencies, as the caller holds them.
144
+
145
+ #### props of BlockedTimes (BlockedTimesProps)
146
+
147
+ - data: readonly BlockedTime[] — The blocked time of the lanes - leave, maintenance, unavailability -, as the caller holds it: one list, each interval naming its lane.
148
+
149
+ #### props of Milestones (MilestonesProps)
150
+
151
+ - data: readonly Milestone[] — The milestones of the lanes, as the caller holds them: one list, each naming its lane and the instant it stands at.
package/CHANGELOG.md CHANGED
@@ -18,6 +18,23 @@ moves from here under the rule above.
18
18
 
19
19
  ---
20
20
 
21
+ ## 0.57.0 – `API.md` lists the props of the schedule's parts; `SubtaskPart` (Nov. 2026)
22
+
23
+ ### Added
24
+
25
+ - **`API.md` lists the whole surface:** the props of `Schedule`, `Lane` and the other parts under `useSchedule`, and the values of `SubtaskAppearance`, `DependencyRoute`, `DependencyAttachment`, `DependencyEnds` and the kinds of `ScheduleHit`. What is marked `@experimental` will stand under a heading of its own, and a deprecated member last in its table.
26
+ - **`SubtaskPart`,** the type of the part a hit on a subtask reports.
27
+
28
+ ### Changed
29
+
30
+ - **The package names Node 22 in `engines` and peers `react` and `react-dom` as `^19`** (was `>=19`), so that a later React is not promised before it has run (ADR-0083).
31
+ - Migration: nothing on Node 22 and React 19.
32
+
33
+ ### Fixed
34
+
35
+ - **The browser floors are the ones the source needs: Chrome 125, Firefox 121, Safari 17.5.** The documents named Chrome 123 and Firefox 120, though `round()` and `:has()` were in use; nothing changes in a browser. A test now derives the three numbers from the source. A build that pins `cssTarget` or `browserslist` to `chrome123` or `firefox120` raises them to `chrome125` and `firefox121`.
36
+ - **The doc sentences of `children`, `tooltip` and `calendar`** name every part, the milestone, and where `CalendarInput` comes from.
37
+
21
38
  ## 0.56.0 – Released in step with the table (Nov. 2026)
22
39
 
23
40
  No change of its own; the number moves with the table, whose columns now take `align` and stand at the start, centred or at the end.
package/README.md CHANGED
@@ -219,8 +219,8 @@ Done from this list: **blocked time** per lane and **milestones**.
219
219
 
220
220
  * The demo, in a checkout: `pnpm dev:schedule` (port 4176). It is the documentation — every page shows
221
221
  running examples with their source and the props table generated from `src/`,
222
- each prop linked to the examples that show it. An API index lists every
223
- export, one search finds across all five packages, and the header switches
222
+ each prop linked to the examples that show it. Every export is listed in
223
+ [API.md](https://github.com/romanhaendler/umriss-ui/blob/main/packages/schedule/API.md), one search finds across all seven packages, and the header switches
224
224
  the examples to German.
225
225
  * [`CHANGELOG.md`](CHANGELOG.md) — what changes for a caller.
226
226
  * **For a coding agent**: `docs/llms-full.md` inside the installed package —
@@ -232,7 +232,7 @@ Done from this list: **blocked time** per lane and **milestones**.
232
232
  **Miniature**, **Intent**, **Ghost** — stands in the workspace's
233
233
  `CONTEXT.md`, section "The schedule".
234
234
  * [`../../docs/design-language.md`](https://github.com/romanhaendler/umriss-ui/blob/main/docs/design-language.md) — the design
235
- language all five packages share.
235
+ language all seven packages share.
236
236
 
237
237
  ## Testing
238
238
 
package/dist/index.d.ts CHANGED
@@ -356,7 +356,7 @@ export declare function ripple(subtasks: readonly Subtask[], dependencies: reado
356
356
  export declare type ScheduleHit = {
357
357
  readonly kind: "subtask";
358
358
  readonly subtask: Subtask;
359
- readonly part: "leadIn" | "main" | "leadOut";
359
+ readonly part: SubtaskPart;
360
360
  } | {
361
361
  readonly kind: "dependency";
362
362
  readonly dependency: Dependency;
@@ -423,7 +423,8 @@ declare interface ScheduleOwnProps extends Omit<HTMLAttributes<HTMLDivElement>,
423
423
  headerWidth?: number;
424
424
  /** A working calendar: the intervals in which time counts. Nights and
425
425
  weekends outside them are cut out of the axis. Without intervals every
426
- hour counts, as on the wall clock.
426
+ hour counts, as on the wall clock. Its type, `CalendarInput`, and
427
+ `workingCalendar`, which builds one, come from `@umriss-ui/charts`.
427
428
  @default [] */
428
429
  calendar?: CalendarInput;
429
430
  /** The narrowest and widest time span zoom may reach, in milliseconds.
@@ -498,7 +499,7 @@ declare interface ScheduleOwnProps extends Omit<HTMLAttributes<HTMLDivElement>,
498
499
  would say nothing; a bar that began before the view keeps its text at the
499
500
  view's edge. */
500
501
  label?: (subtask: Subtask) => string;
501
- /** The tooltip on a hovered subtask or dependency: its order, its times, its
502
+ /** The tooltip on a hovered subtask, milestone or dependency: its order, its times, its
502
503
  parts and its findings. `false` switches it off; a function receives
503
504
  what the pointer rests on and returns content of the application's own. */
504
505
  tooltip?: false | ((target: ScheduleTooltipTarget) => ReactNode);
@@ -514,8 +515,9 @@ declare interface ScheduleOwnProps extends Omit<HTMLAttributes<HTMLDivElement>,
514
515
  meanwhile.
515
516
  @default false */
516
517
  loading?: boolean;
517
- /** `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and
518
- be drawn. */
518
+ /** `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`,
519
+ `Milestones` and `DataTable`, in the order they are to stand and be
520
+ drawn. */
519
521
  children?: ReactNode;
520
522
  }
521
523
 
@@ -590,7 +592,7 @@ export declare type ScheduleProps = ScheduleOwnProps & {
590
592
  "aria-label": string;
591
593
  };
592
594
 
593
- /** What a tooltip is about: the hovered subtask or dependency, with what the
595
+ /** What a tooltip is about: the hovered subtask, milestone or dependency, with what the
594
596
  schedule knows about it. */
595
597
  export declare type ScheduleTooltipTarget = {
596
598
  /** A subtask is hovered. */
@@ -707,6 +709,10 @@ export declare type SubtaskAppearance = "provisional" | "fixed" | "muted" | "ope
707
709
  /** The subtask a place intent asks for, under an id the caller chooses. */
708
710
  export declare function subtaskFromPlace(intent: PlaceIntent, id: string): Subtask;
709
711
 
712
+ /** The three parts of a subtask's bar: the lead-in before the main time, the
713
+ main time, and the lead-out after it. */
714
+ export declare type SubtaskPart = "leadIn" | "main" | "leadOut";
715
+
710
716
  /** A layer of subtasks. Several layers draw in the order they are declared. */
711
717
  declare function Subtasks({ data, tasks }: SubtasksProps): null;
712
718
 
package/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/schedule 0.56.0
1
+ # @umriss-ui/schedule 0.57.0
2
2
 
3
3
  > React Gantt-style schedule for data-dense applications - work on lanes over time, with dependencies, blocked time, findings and controlled editing.
4
4
 
@@ -72,7 +72,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
72
72
  | Prop | Type | Default | Description |
73
73
  |---|---|---|---|
74
74
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
75
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
75
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
76
76
 
77
77
  ###### Accessibility
78
78
 
@@ -594,7 +594,7 @@ Under forced colours the plot paints itself in the system colours: the work in t
594
594
  | `height` | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's.<br>Shown in: [A day of tours](#first-schedule), [Start from an empty plan](#first-schedule), [Plan a day in the machine shop](#first-schedule) and 87 more |
595
595
  | `laneHeight` | `number` | `44` | Height of one lane in pixels at the default font size of 16 px; the schedule multiplies it by the root font size over 16 px when that ratio is above 1, so lane names keep their room in a reader's larger font.<br>Shown in: [Highlight a lane (Lanes)](#lanes), [Scroll more lanes than fit (Lanes)](#lanes), [Measure a plan (Benchmark)](#benchmark) |
596
596
  | `headerWidth` | `number` | `160` | Width of the lane headers in pixels - at most 28 % of the schedule (never under 88 pixels), so that on a phone the plot keeps the larger part.<br>Shown in: [What a lane header says (Lanes)](#lanes), [Highlight a lane (Lanes)](#lanes), [Scroll more lanes than fit (Lanes)](#lanes) and 2 more |
597
- | `calendar` | `CalendarInput` | `[]` | A working calendar: the intervals in which time counts. Nights and weekends outside them are cut out of the axis. Without intervals every hour counts, as on the wall clock.<br>Shown in: [Cut the nights out of the axis (Time axis and calendar)](#time-axis-and-calendar), [Plan in office hours only (Time axis and calendar)](#time-axis-and-calendar), [Plan the sprint around leave (Scenarios)](#plan-the-sprint-around-leave) |
597
+ | `calendar` | `CalendarInput` | `[]` | A working calendar: the intervals in which time counts. Nights and weekends outside them are cut out of the axis. Without intervals every hour counts, as on the wall clock. Its type, `CalendarInput`, and `workingCalendar`, which builds one, come from `@umriss-ui/charts`.<br>Shown in: [Cut the nights out of the axis (Time axis and calendar)](#time-axis-and-calendar), [Plan in office hours only (Time axis and calendar)](#time-axis-and-calendar), [Plan the sprint around leave (Scenarios)](#plan-the-sprint-around-leave) |
598
598
  | `zoomLimits` | `ZoomLimits` | one hour to 28 days | The narrowest and widest time span zoom may reach, in milliseconds.<br>Shown in: [Move through the plan (Pan and zoom)](#pan-and-zoom), [Zoom and fit with buttons (Pan and zoom)](#pan-and-zoom) |
599
599
  | `snap` | `"ticks" \| number \| ``SnapRaster`` \| false` | `"ticks"` | The raster a drag lands on: `"ticks"` - the fine band's current step -, a step in milliseconds from local midnight, a step with an offset (shifts at 06:00, 14:00 and 22:00 are eight hours offset by six), or `false` for none. It shapes the ghost and the intent, never the data.<br>Shown in: [Snap to a duration (Snapping)](#snapping), [Snap to handover times (Snapping)](#snapping), [Place without snapping (Snapping)](#snapping) |
600
600
  | `intents` | `readonly ``IntentKind``[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)).<br>Shown in: [Show that a plan is on its way](#first-schedule), [Read a folded group (Lane groups)](#lane-groups), [Cut the nights out of the axis (Time axis and calendar)](#time-axis-and-calendar) and 20 more |
@@ -606,10 +606,10 @@ Under forced colours the plot paints itself in the system colours: the work in t
606
606
  | `attach` | `DependencyAttachment`<br>`"centre" \| "nearest"` | `"centre"` | Where a dependency's ends sit on their bars: the `"centre"` of both, or the `"nearest"` edge - which is the shortest line between two stops. Within one lane both mean the middle. A dependency may say otherwise for itself. It changes the picture and never a finding: whether a dependency is violated follows from its `leaves` and `arrives` alone.<br>Shown in: [Choose where a line touches its bars (Dependencies)](#dependencies), [Mark the ends with a dot (Dependencies)](#dependencies), [Draw one handover its own way (Dependencies)](#dependencies) and 4 more |
607
607
  | `ends` | `DependencyEnds`<br>`"dot" \| "none"` | `"dot"` | Whether a dependency's two ends carry a dot (`"dot"`) or the line stands alone (`"none"`). The dot says where the line is anchored - a help while a plan is being read, and noise in a plan full of short moves. A dependency may say otherwise for itself.<br>Shown in: [Mark the ends with a dot (Dependencies)](#dependencies), [Draw one handover its own way (Dependencies)](#dependencies) |
608
608
  | `label` | `(subtask: `[`Subtask`](#subtasks)`) => string` | — | What stands written in a bar: a function from a subtask to a line of text, or nothing for bars without text. The text is cut off with an ellipsis where the bar is too narrow for it and left out where even that would say nothing; a bar that began before the view keeps its text at the view's edge.<br>Shown in: [Plan a day in the machine shop](#first-schedule), [Plan a sprint for a team (Subtasks)](#subtasks), [Write into the bars (Bar labels)](#bar-labels) and 7 more |
609
- | `tooltip` | `false \| ((target: `[`ScheduleTooltipTarget`](#tooltip)`) => ReactNode)` | — | The tooltip on a hovered subtask or dependency: its order, its times, its parts and its findings. `false` switches it off; a function receives what the pointer rests on and returns content of the application's own.<br>Shown in: [Say what a milestone is in your own tooltip (Milestones)](#milestones), [Write your own tooltip content (Tooltip)](#tooltip), [Show a detail panel instead (Tooltip)](#tooltip) and 1 more |
609
+ | `tooltip` | `false \| ((target: `[`ScheduleTooltipTarget`](#tooltip)`) => ReactNode)` | — | The tooltip on a hovered subtask, milestone or dependency: its order, its times, its parts and its findings. `false` switches it off; a function receives what the pointer rests on and returns content of the application's own.<br>Shown in: [Say what a milestone is in your own tooltip (Milestones)](#milestones), [Write your own tooltip content (Tooltip)](#tooltip), [Show a detail panel instead (Tooltip)](#tooltip) and 1 more |
610
610
  | `now` | `boolean \| number` | `false` | A line marking the present across the lanes: `true` follows the clock by the minute, an instant fixes it there.<br>Shown in: [Plan a day in the machine shop](#first-schedule), [Mark the present (Now line)](#now-line), [Follow the clock (Now line)](#now-line) and 2 more |
611
611
  | `loading` | `boolean` | `false` | The plan is on its way, as the chart's `loading` says ([ADR-0042](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0042-a-rows-height-never-follows-what-it-shows.md)). A plan already drawn stays: it dims after a moment and takes no pointer - no new drag, no tooltip, no intent by key - until the answer is in; a drag begun before finishes and reports. The keys still walk it. With no lanes, placeholder lines stand in the lane column. The plot is `aria-busy` meanwhile.<br>Shown in: [Show that a plan is on its way](#first-schedule) |
612
- | `children` | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn.<br>Shown in: [A day of tours](#first-schedule), [Start from an empty plan](#first-schedule), [Plan a day in the machine shop](#first-schedule) and 89 more |
612
+ | `children` | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn.<br>Shown in: [A day of tours](#first-schedule), [Start from an empty plan](#first-schedule), [Plan a day in the machine shop](#first-schedule) and 89 more |
613
613
 
614
614
  ###### Events
615
615
 
@@ -824,11 +824,11 @@ no subtask yet; the caller creates one, with its own identity, from
824
824
 
825
825
  #### Known limits
826
826
 
827
- - No dependency types, critical path or auto-scheduling: the application decides where work goes, the schedule shows the result and its findings ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)).
827
+ - No dependency types, critical path or auto-scheduling: the application decides where work goes, the schedule shows the result and its findings ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)).
828
828
  - No milestones yet: a point in time on a lane has no mark of its own.
829
829
  - A dependency joins two subtasks of one task; dependencies across tasks are not yet possible.
830
830
 
831
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
831
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
832
832
 
833
833
  ## Plan
834
834
 
@@ -1343,7 +1343,7 @@ The keys of [First schedule](#first-schedule) apply here.
1343
1343
 
1344
1344
  - A folded group shows no summary - no utilisation band, no bar spanning its work: a computed claim would look like a drawn fact ([ADR-0025](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0025-a-lane-group-is-structure-over-lanes-never-a-lane.md)).
1345
1345
 
1346
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
1346
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
1347
1347
 
1348
1348
  ### Subtasks
1349
1349
 
@@ -1655,7 +1655,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
1655
1655
  |---|---|---|---|
1656
1656
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
1657
1657
  | [`label`](#first-schedule) | `(subtask: `[`Subtask`](#subtasks)`) => string` | — | What stands written in a bar: a function from a subtask to a line of text, or nothing for bars without text. The text is cut off with an ellipsis where the bar is too narrow for it and left out where even that would say nothing; a bar that began before the view keeps its text at the view's edge. |
1658
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
1658
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
1659
1659
 
1660
1660
  ###### Accessibility
1661
1661
 
@@ -1966,7 +1966,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
1966
1966
  |---|---|---|---|
1967
1967
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
1968
1968
  | [`label`](#first-schedule) | `(subtask: `[`Subtask`](#subtasks)`) => string` | — | What stands written in a bar: a function from a subtask to a line of text, or nothing for bars without text. The text is cut off with an ellipsis where the bar is too narrow for it and left out where even that would say nothing; a bar that began before the view keeps its text at the view's edge. |
1969
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
1969
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
1970
1970
 
1971
1971
  ###### Accessibility
1972
1972
 
@@ -2149,7 +2149,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
2149
2149
  | Prop | Type | Default | Description |
2150
2150
  |---|---|---|---|
2151
2151
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
2152
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
2152
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
2153
2153
 
2154
2154
  ###### Accessibility
2155
2155
 
@@ -2207,7 +2207,7 @@ From `ScheduleView` — the full table stands on [View](#view).
2207
2207
 
2208
2208
  - No stacked layout on request yet: an overlap is always drawn offset, as the finding it is.
2209
2209
 
2210
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
2210
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
2211
2211
 
2212
2212
  ### Dependencies
2213
2213
 
@@ -2507,7 +2507,7 @@ export default function OneHandoverDrawnItsOwnWay() {
2507
2507
 
2508
2508
  ##### Mark the critical path
2509
2509
 
2510
- The planning system works out the critical path and hands over its subtask ids; `muted` takes the rest back so the path reads first. The schedule computes nothing ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)), so the switch only changes what the application marks.
2510
+ The planning system works out the critical path and hands over its subtask ids; `muted` takes the rest back so the path reads first. The schedule computes nothing ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)), so the switch only changes what the application marks.
2511
2511
 
2512
2512
  ```tsx
2513
2513
  import { useState } from "react";
@@ -2633,9 +2633,9 @@ type DependencyEnds = "dot" | "none";
2633
2633
 
2634
2634
  #### Known limits
2635
2635
 
2636
- - Only finish-to-start within one task; no dependency types and no critical path ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)).
2636
+ - Only finish-to-start within one task; no dependency types and no critical path ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)).
2637
2637
 
2638
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
2638
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
2639
2639
 
2640
2640
  ### Routes
2641
2641
 
@@ -2821,7 +2821,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
2821
2821
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
2822
2822
  | [`route`](#first-schedule) | [`DependencyRoute`](#first-schedule)<br>`"curve" \| "straight" \| "orthogonal"` | `"curve"` | How the dependencies are drawn: a `"curve"` that leaves and arrives forwards, a `"straight"` line, or `"orthogonal"` segments. A dependency may say otherwise for itself. |
2823
2823
  | [`attach`](#first-schedule) | [`DependencyAttachment`](#first-schedule)<br>`"centre" \| "nearest"` | `"centre"` | Where a dependency's ends sit on their bars: the `"centre"` of both, or the `"nearest"` edge - which is the shortest line between two stops. Within one lane both mean the middle. A dependency may say otherwise for itself. It changes the picture and never a finding: whether a dependency is violated follows from its `leaves` and `arrives` alone. |
2824
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
2824
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
2825
2825
 
2826
2826
  ###### Accessibility
2827
2827
 
@@ -3190,10 +3190,10 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
3190
3190
  | Prop | Type | Default | Description |
3191
3191
  |---|---|---|---|
3192
3192
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
3193
- | [`calendar`](#first-schedule) | [`CalendarInput`](#first-schedule) | `[]` | A working calendar: the intervals in which time counts. Nights and weekends outside them are cut out of the axis. Without intervals every hour counts, as on the wall clock. |
3193
+ | [`calendar`](#first-schedule) | [`CalendarInput`](#first-schedule) | `[]` | A working calendar: the intervals in which time counts. Nights and weekends outside them are cut out of the axis. Without intervals every hour counts, as on the wall clock. Its type, `CalendarInput`, and `workingCalendar`, which builds one, come from `@umriss-ui/charts`. |
3194
3194
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
3195
3195
  | [`label`](#first-schedule) | `(subtask: `[`Subtask`](#subtasks)`) => string` | — | What stands written in a bar: a function from a subtask to a line of text, or nothing for bars without text. The text is cut off with an ellipsis where the bar is too narrow for it and left out where even that would say nothing; a bar that began before the view keeps its text at the view's edge. |
3196
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
3196
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
3197
3197
 
3198
3198
  ###### Events
3199
3199
 
@@ -3952,7 +3952,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
3952
3952
  |---|---|---|---|
3953
3953
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
3954
3954
  | [`now`](#first-schedule) | `boolean \| number` | `false` | A line marking the present across the lanes: `true` follows the clock by the minute, an instant fixes it there. |
3955
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
3955
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
3956
3956
 
3957
3957
  ###### Accessibility
3958
3958
 
@@ -4138,7 +4138,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
4138
4138
  |---|---|---|---|
4139
4139
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
4140
4140
  | [`zoomLimits`](#first-schedule) | [`ZoomLimits`](#first-schedule) | one hour to 28 days | The narrowest and widest time span zoom may reach, in milliseconds. |
4141
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
4141
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
4142
4142
 
4143
4143
  ###### Accessibility
4144
4144
 
@@ -4356,7 +4356,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
4356
4356
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
4357
4357
  | [`selectedTask`](#first-schedule) | `string \| null` | — | The selected task, controlled. Leave it out and the schedule keeps the selection itself. |
4358
4358
  | [`onSelectedTaskChange`](#first-schedule) | `(task: string \| null, subtask: string \| null) => void` | — | Called when a click selects a task or clears the selection, with the subtask that was clicked - null where the click was on a dependency or on nothing. It is called again when another subtask of the same task is clicked. |
4359
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
4359
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
4360
4360
 
4361
4361
  ###### Accessibility
4362
4362
 
@@ -4429,7 +4429,7 @@ From `ScheduleView` — the full table stands on [View](#view).
4429
4429
 
4430
4430
  - One task at a time: there is no multiple selection.
4431
4431
 
4432
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
4432
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
4433
4433
 
4434
4434
  ### Interactions
4435
4435
 
@@ -4656,13 +4656,22 @@ What a pointer is on.
4656
4656
 
4657
4657
  ```ts
4658
4658
  type ScheduleHit =
4659
- | { readonly kind: "subtask"; readonly subtask: Subtask; readonly part: "leadIn" | "main" | "leadOut" }
4659
+ | { readonly kind: "subtask"; readonly subtask: Subtask; readonly part: SubtaskPart }
4660
4660
  | { readonly kind: "dependency"; readonly dependency: Dependency }
4661
4661
  | { readonly kind: "milestone"; readonly milestone: Milestone }
4662
4662
  | { readonly kind: "lane"; readonly lane: string }
4663
4663
  | { readonly kind: "nothing" };
4664
4664
  ```
4665
4665
 
4666
+ ###### `SubtaskPart`
4667
+
4668
+ The three parts of a subtask's bar: the lead-in before the main time, the
4669
+ main time, and the lead-out after it.
4670
+
4671
+ ```ts
4672
+ type SubtaskPart = "leadIn" | "main" | "leadOut";
4673
+ ```
4674
+
4666
4675
  ### Tooltip
4667
4676
 
4668
4677
  Names what the pointer rests on - a subtask with its times and findings, a dependency with its lag - without a click (also called a hover card). Replace its content when your application knows more than the schedule.
@@ -5483,7 +5492,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
5483
5492
  | Prop | Type | Default | Description |
5484
5493
  |---|---|---|---|
5485
5494
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
5486
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
5495
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
5487
5496
 
5488
5497
  ###### Accessibility
5489
5498
 
@@ -5548,7 +5557,7 @@ From `ScheduleView` — the full table stands on [View](#view).
5548
5557
 
5549
5558
  - Only the view is shared - the span and the folded groups, not the selection, the hover or the vertical scroll.
5550
5559
 
5551
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
5560
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
5552
5561
 
5553
5562
  ### Functions on the hook
5554
5563
 
@@ -5725,7 +5734,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
5725
5734
  | Prop | Type | Default | Description |
5726
5735
  |---|---|---|---|
5727
5736
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
5728
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
5737
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
5729
5738
 
5730
5739
  ###### Events
5731
5740
 
@@ -6006,7 +6015,7 @@ The keys of [First schedule](#first-schedule) apply here.
6006
6015
 
6007
6016
  - Overlapping work is marked, not packed into sub-lanes; stacked overlap is not built yet.
6008
6017
 
6009
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
6018
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
6010
6019
 
6011
6020
  ## Editing
6012
6021
 
@@ -6295,7 +6304,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
6295
6304
  |---|---|---|---|
6296
6305
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
6297
6306
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
6298
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
6307
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
6299
6308
 
6300
6309
  ###### Events
6301
6310
 
@@ -6381,10 +6390,10 @@ From `Overlap` — the full table stands on [Findings as data](#findings-as-data
6381
6390
 
6382
6391
  #### Known limits
6383
6392
 
6384
- - No undo: your application owns the data, and with it the history - see [Undo](#undo) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)).
6393
+ - No undo: your application owns the data, and with it the history - see [Undo](#undo) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)).
6385
6394
  - The keys move work in time only; a lane change needs the pointer.
6386
6395
 
6387
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
6396
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
6388
6397
 
6389
6398
  ### Undo
6390
6399
 
@@ -6394,13 +6403,13 @@ Taking back the last applied change: the application keeps the plan before each
6394
6403
  import { useSchedule, applyIntent } from "@umriss-ui/schedule";
6395
6404
  ```
6396
6405
 
6397
- The schedule keeps no history: it reports each intent and the application applies it ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)), so the stack of plans is the application's to keep ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)). The key is the page's, not the plot's - the plot leaves Ctrl and ⌘ to it.
6406
+ The schedule keeps no history: it reports each intent and the application applies it ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)), so the stack of plans is the application's to keep ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)). The key is the page's, not the plot's - the plot leaves Ctrl and ⌘ to it.
6398
6407
 
6399
6408
  #### Examples
6400
6409
 
6401
6410
  ##### Undo the applied intents
6402
6411
 
6403
- The history is the application's, not the schedule's ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md), [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)): it keeps the plan before each intent it applies, and Ctrl+Z, ⌘Z on a Mac, or the Undo button pops the last one. The schedule only knows end-to-start, so a start-to-start is one dependency with a negative lag: the lag is the delay less the spec's three hours, and the line is drawn apart.
6412
+ The history is the application's, not the schedule's ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md), [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)): it keeps the plan before each intent it applies, and Ctrl+Z, ⌘Z on a Mac, or the Undo button pops the last one. The schedule only knows end-to-start, so a start-to-start is one dependency with a negative lag: the lag is the delay less the spec's three hours, and the line is drawn apart.
6404
6413
 
6405
6414
  ```tsx
6406
6415
  import { useState, type KeyboardEvent } from "react";
@@ -6489,7 +6498,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
6489
6498
  |---|---|---|---|
6490
6499
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
6491
6500
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
6492
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
6501
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
6493
6502
 
6494
6503
  ###### Events
6495
6504
 
@@ -6670,7 +6679,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
6670
6679
  |---|---|---|---|
6671
6680
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
6672
6681
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
6673
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
6682
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
6674
6683
 
6675
6684
  ###### Events
6676
6685
 
@@ -6735,7 +6744,7 @@ From `ScheduleView` — the full table stands on [View](#view).
6735
6744
 
6736
6745
  - A main time never becomes shorter than one raster step, or a minute without a raster.
6737
6746
 
6738
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
6747
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
6739
6748
 
6740
6749
  ### Snapping
6741
6750
 
@@ -6904,7 +6913,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
6904
6913
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
6905
6914
  | [`snap`](#first-schedule) | `"ticks" \| number \| `[`SnapRaster`](#first-schedule)` \| false` | `"ticks"` | The raster a drag lands on: `"ticks"` - the fine band's current step -, a step in milliseconds from local midnight, a step with an offset (shifts at 06:00, 14:00 and 22:00 are eight hours offset by six), or `false` for none. It shapes the ghost and the intent, never the data. |
6906
6915
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
6907
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
6916
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
6908
6917
 
6909
6918
  ###### Events
6910
6919
 
@@ -7097,7 +7106,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
7097
7106
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
7098
7107
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
7099
7108
  | [`placing`](#first-schedule) | [`PlacingItem`](#first-schedule)` \| null` | — | What the application is dragging in from outside while it drags it - its key, task, the length of its main time, its lead-in and lead-out. The browser hands the dragged data over only on the drop, so the ghost before it can only come from here: set it on your own `dragstart`, clear it on `dragend`. Without `"place"` in `intents` no drop is accepted. |
7100
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
7109
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
7101
7110
 
7102
7111
  ###### Events
7103
7112
 
@@ -7516,7 +7525,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
7516
7525
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
7517
7526
  | [`canMoveTo`](#first-schedule) | `(subtask: `[`Subtask`](#subtasks)`, lane: string) => boolean` | every lane is open | Whether a subtask may go to a lane. It narrows `"lane"`, it does not enable it. Asked once per lane when a drag takes hold, and asked again at the drop. The lanes it turns down are marked from the first frame of the drag - a planner sees the refusal before meeting it - and over one of them the ghost stays on the last lane that was allowed, the cursor says no and a line ties the ghost to the pointer. A refused lane costs the lane and nothing else: a drop after it still reports the move in time. It is asked for work dragged in from outside as well, with the key and task the application declared in `placing`. |
7518
7527
  | [`placing`](#first-schedule) | [`PlacingItem`](#first-schedule)` \| null` | — | What the application is dragging in from outside while it drags it - its key, task, the length of its main time, its lead-in and lead-out. The browser hands the dragged data over only on the drop, so the ghost before it can only come from here: set it on your own `dragstart`, clear it on `dragend`. Without `"place"` in `intents` no drop is accepted. |
7519
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
7528
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
7520
7529
 
7521
7530
  ###### Events
7522
7531
 
@@ -7594,7 +7603,7 @@ From `ScheduleView` — the full table stands on [View](#view).
7594
7603
 
7595
7604
  - A rule that changes while a drag runs is noticed at the drop, not before.
7596
7605
 
7597
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
7606
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
7598
7607
 
7599
7608
  ### Ripple
7600
7609
 
@@ -7803,7 +7812,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
7803
7812
  |---|---|---|---|
7804
7813
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
7805
7814
  | [`intents`](#first-schedule) | `readonly `[`IntentKind`](#first-schedule)`[]` | `[]` | The intents the caller handles. Each one enables its interaction; none leaves a read-only schedule ([ADR-0023](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0023-editing-is-controlled-the-schedule-reports-intents.md)). |
7806
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
7815
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
7807
7816
 
7808
7817
  ###### Events
7809
7818
 
@@ -7879,10 +7888,10 @@ From `ScheduleView` — the full table stands on [View](#view).
7879
7888
 
7880
7889
  #### Known limits
7881
7890
 
7882
- - No dependency types, slack or critical path: the schedule is no project-planning engine ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md)).
7891
+ - No dependency types, slack or critical path: the schedule is no project-planning engine ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md)).
7883
7892
  - A dependency joins subtasks of one task, so work of other tasks is never pushed.
7884
7893
 
7885
- What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.56.0/docs/adr/0032-what-umriss-is-not.md).
7894
+ What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/schedule-v0.57.0/docs/adr/0032-what-umriss-is-not.md).
7886
7895
 
7887
7896
  ## Measuring
7888
7897
 
@@ -8216,7 +8225,7 @@ From `ScheduleProps` — the full table stands on [First schedule](#first-schedu
8216
8225
  |---|---|---|---|
8217
8226
  | [`height`](#first-schedule) | `number` | fills the frame, at least 400 px | Height in CSS pixels, both bands included, fixed. Left out, the schedule fills its frame - a stretched grid cell, a card the grid stretches, a container of definite height - and never goes below 400 px, which is also its height in a frame without one. A different floor goes through `style`'s `minHeight` ([ADR-0050](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0050-a-chart-fills-its-frame-never-below-its-floor.md)). The width is the host's. |
8218
8227
  | [`laneHeight`](#first-schedule) | `number` | `44` | Height of one lane in pixels at the default font size of 16 px; the schedule multiplies it by the root font size over 16 px when that ratio is above 1, so lane names keep their room in a reader's larger font. |
8219
- | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `Dependencies` and `Subtasks`, in the order they are to stand and be drawn. |
8228
+ | [`children`](#first-schedule) | `ReactNode` | — | `Lane`, `LaneGroup`, `Subtasks`, `Dependencies`, `BlockedTimes`, `Milestones` and `DataTable`, in the order they are to stand and be drawn. |
8220
8229
 
8221
8230
  ###### Events
8222
8231
 
@@ -8689,7 +8698,7 @@ What a pointer is on.
8689
8698
 
8690
8699
  ```ts
8691
8700
  type ScheduleHit =
8692
- | { readonly kind: "subtask"; readonly subtask: Subtask; readonly part: "leadIn" | "main" | "leadOut" }
8701
+ | { readonly kind: "subtask"; readonly subtask: Subtask; readonly part: SubtaskPart }
8693
8702
  | { readonly kind: "dependency"; readonly dependency: Dependency }
8694
8703
  | { readonly kind: "milestone"; readonly milestone: Milestone }
8695
8704
  | { readonly kind: "lane"; readonly lane: string }
@@ -8788,6 +8797,15 @@ The appearances a caller may give a subtask.
8788
8797
  type SubtaskAppearance = "provisional" | "fixed" | "muted" | "open";
8789
8798
  ```
8790
8799
 
8800
+ ##### `SubtaskPart`
8801
+
8802
+ The three parts of a subtask's bar: the lead-in before the main time, the
8803
+ main time, and the lead-out after it.
8804
+
8805
+ ```ts
8806
+ type SubtaskPart = "leadIn" | "main" | "leadOut";
8807
+ ```
8808
+
8791
8809
  ##### `SubtasksProps`
8792
8810
 
8793
8811
  Its table stands on [Subtasks](#subtasks).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/schedule",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
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",
@@ -59,17 +59,20 @@
59
59
  "default": "./dist/schedule.css"
60
60
  }
61
61
  },
62
+ "engines": {
63
+ "node": ">=22"
64
+ },
62
65
  "peerDependencies": {
63
- "@umriss-ui/charts": "^0.56.0",
64
- "@umriss-ui/core": "^0.56.0",
65
- "react": ">=19",
66
- "react-dom": ">=19"
66
+ "@umriss-ui/charts": "^0.57.0",
67
+ "@umriss-ui/core": "^0.57.0",
68
+ "react": "^19",
69
+ "react-dom": "^19"
67
70
  },
68
71
  "devDependencies": {
69
72
  "@fontsource/geist-mono": "^5.3.0",
70
73
  "@fontsource/geist-sans": "^5.3.0",
71
- "@umriss-ui/charts": "0.56.0",
72
- "@umriss-ui/core": "0.56.0",
74
+ "@umriss-ui/charts": "0.57.0",
75
+ "@umriss-ui/core": "0.57.0",
73
76
  "@umriss-ui/demo": "0.0.0",
74
77
  "@types/node": "^22.20.2",
75
78
  "@types/react": "^19.0.0",