@umriss-ui/core 0.10.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -29,6 +29,119 @@ package stood at `0.1.0` the whole time, because it had exactly one caller and t
29
29
  caller lay in the same repository — and are grouped by unit of delivery, not by
30
30
  commit.
31
31
 
32
+ ## 0.12.0 – Popovers that stay by their trigger (Sep. 2026)
33
+
34
+ ### Added
35
+
36
+ - **Wording for the table's icon keys' tooltips:** `columnForwardHint`,
37
+ `columnBackwardHint`, `pinToStartHint`, `pinToEndHint`, `unpinHint`
38
+ ("Move forward", "Move backward", "Pin to start", "Pin to end", "Unpin";
39
+ German "Nach vorn", "Nach hinten", "Am Anfang fixieren", "Am Ende fixieren",
40
+ "Fixierung lösen") and `filterHint` ("Filter", German "Filtern"). Short,
41
+ without the column: the keys' accessible names keep it. An application that
42
+ implements the whole `Wording` type adds the six keys.
43
+
44
+ ### Changed
45
+
46
+ - **A popover flips across as it flips along.** Where the edge its caller asks
47
+ for (`align`) would push the panel out of the window and the other edge
48
+ would not, it lines up with the other one; where neither fits, it is centred
49
+ under its trigger if that fits; only then is it pushed against the window's
50
+ edge. It grows out of the corner it really stands at. Before, a panel that
51
+ did not fit was pushed against the edge and lined up with nothing. `Menu`,
52
+ the date pickers, `Combobox`, `MultiSelect`, `ContextMenu` and every other
53
+ panel on `Popover` follow.
54
+ - **A popover that fits on neither side keeps its trigger in view.** It takes
55
+ the side with more room, is cut to it and scrolls in itself - where that
56
+ side has at least 240 px. Below that it is pulled into the window as before,
57
+ over its trigger if need be. Before, every such panel was pulled over its
58
+ trigger: a column menu at a laptop's height hid the button that opened it.
59
+ - **A popover keeps the window's 8 px margin when it only just fits.** A
60
+ panel that fitted to the pixel stood flush against the window's edge.
61
+ - **A tooltip gives way to its trigger's own panel.** While the trigger says
62
+ `aria-expanded="true"`, the tooltip does not show, and a press hides it. A
63
+ tooltip over a filter key stood over the filter's panel.
64
+
65
+ ### Fixed
66
+
67
+ - **A tall popover no longer sticks out of the window at the bottom.** It was
68
+ measured while its entrance animation still scaled it down, and placed as if
69
+ it were four per cent smaller.
70
+ - **A scroll inside a popover no longer throws it back to its top.** It was
71
+ taken for a page scroll and the panel measured anew.
72
+ - **`DateRangePicker` and `DateTimeRangePicker` on a narrow window.** The
73
+ presets widened the panel to the window while the months below stood one
74
+ month wide, and the time row of `DateTimeRangePicker` pressed "From" and
75
+ "To" into each other; the presets now wrap within the months, and below
76
+ 600 px the two times stand one under the other.
77
+
78
+ ---
79
+
80
+ ## 0.11.0 – Data-dense applications (Sep. 2026)
81
+
82
+ ### Added
83
+
84
+ - **Wording for the schedule's blocked time:** `scheduleBlockedTime` ("Blocked
85
+ time", German "Sperrzeit") on the ghost of a drag held back from it, and
86
+ `scheduleInBlockedTime(label)` ("In blocked time (Leave)", German "In der
87
+ Sperrzeit (Urlaub)") in the tooltip and the readout. `scheduleSummary` gets
88
+ the field `blocked`, the subtasks in blocked time, and says it only where it
89
+ is not zero. An application that implements the whole `Wording` type adds
90
+ the two keys.
91
+
92
+ ### Changed
93
+
94
+ - **The alarm wording keys follow `@umriss-ui/table`'s new names** (ADR-0035),
95
+ with no deprecated aliases. A partial wording passed to the provider names
96
+ the new keys; an application that implements the whole `Wording` type
97
+ renames them.
98
+
99
+ | Before | Now |
100
+ |---|---|
101
+ | `lifecycleStandingUnacknowledged`, `lifecycleStandingAcknowledged` | `lifecycleActiveUnacknowledged`, `lifecycleActiveAcknowledged` |
102
+ | `lifecycleClearedUnacknowledged`, `lifecycleClearedAcknowledged` | `lifecycleResolvedUnacknowledged`, `lifecycleResolvedAcknowledged` |
103
+ | `standingUnacknowledged(count)` | `activeUnacknowledged(count)` |
104
+ | `availabilityShelved(until, by)`, `availabilityShelvedShort` | `availabilitySnoozed(until, by)`, `availabilitySnoozedShort` |
105
+ | `availabilitySuppressedByDesign` | `availabilitySuppressed` |
106
+ | `availabilityOutOfService` | `availabilityDisabled` |
107
+ | `hiddenFromOperation(count)` | `hiddenAlarms(count)` |
108
+
109
+ The default texts change with them. English: "Active, unacknowledged",
110
+ "Resolved, acknowledged", "3 active alarms, unacknowledged", "Snoozed until
111
+ 12:00 by M. Keller", "Suppressed", "Disabled", "Hidden: 3". German
112
+ (`@umriss-ui/core/wording/de`): "Aktiv, unquittiert", "Behoben, quittiert",
113
+ "3 aktive Meldungen, unquittiert", "Unterdrückt", "Deaktiviert",
114
+ "Ausgeblendet: 3"; "Zurückgestellt" stays.
115
+
116
+ - **The schedule's wording keys follow its renamed terms** (ADR-0035): a
117
+ transport is a dependency, setup and teardown are lead-in and lead-out, and a
118
+ late transport is a violated dependency. The keys are renamed in one cut, with
119
+ no alias; an application that hands in a whole `Wording` object of its own
120
+ renames its entries. The English texts read "Lead-in", "Lead-out",
121
+ "Dependency" and "Violated dependency", the German ones "Vorlauf", "Nachlauf",
122
+ "Abhängigkeit" and "Abhängigkeit verletzt"; the key help follows a dependency
123
+ instead of a transport.
124
+
125
+ | Before | Now |
126
+ |---|---|
127
+ | `scheduleSetup` | `scheduleLeadIn` |
128
+ | `scheduleTeardown` | `scheduleLeadOut` |
129
+ | `scheduleTransport` | `scheduleDependency` |
130
+ | `scheduleLateTransport` | `scheduleViolatedDependency` |
131
+ | `scheduleLateBy` | `scheduleViolatedBy` |
132
+ | `scheduleSummary`'s field `late` | `violated` |
133
+
134
+ ---
135
+
136
+ ### Fixed
137
+
138
+ - **`useVirtual` adopts a row height half a pixel off the expected one.** It
139
+ ignored anything up to 0.5 px, so rows of 37.5 px under a `rowHeight` of 37
140
+ left the scrollbar of twenty thousand rows ten thousand pixels short.
141
+ - **A disabled `FileInput`'s zone says it is disabled** (`aria-disabled`): its
142
+ hint and key text belong to the inactive control, and a screen reader and a
143
+ contrast check now read them as such.
144
+
32
145
  ## 0.10.0 – Everything the comparison asked for (Sep. 2026)
33
146
 
34
147
  ### Added
@@ -151,8 +264,8 @@ commit.
151
264
 
152
265
  - **A new key in `Wording`: a shelf as one word** (for `@umriss-ui/table`'s
153
266
  alarm list, whose availability is now a badge), in English and German:
154
- `availabilityShelvedShort` ("Shelved", "Zurückgestellt"). The sentence
155
- `availabilityShelved` stays - in the badge's tooltip and in what is
267
+ `availabilitySnoozedShort` ("Shelved", "Zurückgestellt"). The sentence
268
+ `availabilitySnoozed` stays - in the badge's tooltip and in what is
156
269
  spoken. An application that implements the whole `Wording` type itself no
157
270
  longer compiles until it adds it.
158
271
 
@@ -200,8 +313,8 @@ commit.
200
313
  longer compiles until it adds these three.
201
314
  - **Five new keys in `Wording`: the wording of an alarm's availability** (for
202
315
  `@umriss-ui/table`'s alarm model and list), in English and German:
203
- `availabilityShelved(until, by)`, `availabilitySuppressedByDesign`,
204
- `availabilityOutOfService`, `hiddenFromOperation(count)` and
316
+ `availabilitySnoozed(until, by)`, `availabilitySuppressed`,
317
+ `availabilityDisabled`, `hiddenAlarms(count)` and
205
318
  `columnAvailability`. A partial wording passed to the provider is merged as
206
319
  before; an application that implements the whole `Wording` type itself no
207
320
  longer compiles until it adds these five.
@@ -633,10 +746,10 @@ From `.scratch/schedule/spec.md`, ticket 01, and
633
746
  `onOpenChange`, `position` in client coordinates, `ariaLabel`), built on
634
747
  `Popover`, with `MenuItem`, `MenuSeparator` and the menu's keyboard. The focus
635
748
  returns to where it stood when the menu opened.
636
- - **Wording:** `scheduleLaneRefused`, `scheduleOverlap`, `scheduleLateTransport`,
637
- `scheduleGhostTimes`, `scheduleSetup`, `scheduleTeardown`,
638
- `scheduleTransport`, `scheduleRoute`, `scheduleOverlapWith` and
639
- `scheduleLateBy`, for `@umriss-ui/schedule`, in both shipped wordings. An
749
+ - **Wording:** `scheduleLaneRefused`, `scheduleOverlap`, `scheduleViolatedDependency`,
750
+ `scheduleGhostTimes`, `scheduleLeadIn`, `scheduleLeadOut`,
751
+ `scheduleDependency`, `scheduleRoute`, `scheduleOverlapWith` and
752
+ `scheduleViolatedBy`, for `@umriss-ui/schedule`, in both shipped wordings. An
640
753
  application that hands in a whole `Wording` object of its own adds the nine.
641
754
 
642
755
  ---
@@ -914,7 +1027,7 @@ unpublished until now.
914
1027
  are unchanged. The export is `t.asCsv()` and the part `Export`.
915
1028
  - **`AlarmList` and `alarmModel`** with `acknowledge`, `countAcknowledgeable`,
916
1029
  `countInWindow`, `frequencyByType`, `detectFlood`, `nextLifecycleState`,
917
- `isStanding`, `isAcknowledged`, `isDone`, `hasReturned`, `priorityRank`,
1030
+ `isActive`, `isAcknowledged`, `isDone`, `hasReturned`, `priorityRank`,
918
1031
  `PRIORITIES`, `ALARM_COLUMNS`, `alarmColumns`, `DEFAULT_ORDER` and their types.
919
1032
  **Instead** the same names out of `@umriss-ui/table`; the props of the alarm
920
1033
  list are called `view`, `selection`, `onAcknowledge`, `asOf` and `freshness`
package/README.md CHANGED
@@ -144,7 +144,7 @@ The table and the alarm list are not part of this package. They live in
144
144
  | `Dock` | a tool strip over *one* surface: four named resting places at the edges of the host, moved by the grip (dragging snaps, the four arrow keys are the four places), orientation follows the edge; translucent material like the palette; a place without room refuses visibly; `mode` marks at most one tool and belongs to the caller |
145
145
  | `DateRangePicker` | a period in two clicks across two chained months: backwards is allowed (the ends swap silently), a preview band on hovering, quick choices from the wording; on a phone the months stand one below the other |
146
146
  | `DateTimeRangePicker` | a period with a time at both ends: "all day" as the default, time fields that advance, Enter accepts; the clock change is handled per end |
147
- | `Popover` | the one closable, anchored surface underneath Menu, Combobox and the pickers: portal (nearest `<dialog>`, then the portal target, then the body), position with clamping and flipping, never larger than the window (it scrolls in itself beyond that), outside click, Escape with focus returned |
147
+ | `Popover` | the one closable, anchored surface underneath Menu, Combobox and the pickers: portal (nearest `<dialog>`, then the portal target, then the body), position with flipping above and below and across its trigger's edges, a panel that fits nowhere cut to the larger side instead of laid over its trigger, clamping as the last resort, never larger than the window (it scrolls in itself beyond that), outside click, Escape with focus returned |
148
148
  | `TreeView` / `TreeSearch` / `useTree` | a tree with exactly one active node and optional ticking (cascade, indeterminate, locked, unloaded); arrow keys, type to jump, range selection, virtualisation. The search keeps its term in the tree |
149
149
  | `Stat` | a metric: one value, read against its limits – the verdict as a word and a colour, the deviation from the target value, history and freshness |
150
150
  | `CommandPalette` / `useCommandPaletteShortcut` | a command palette: subsequence search with rank and highlighted finds, groups, a populated resting state; opens on Ctrl/⌘+K and `/` |