@umriss-ui/core 0.31.0 → 0.33.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/dist/de.d.ts CHANGED
@@ -337,6 +337,12 @@ declare interface Wording {
337
337
  entries: (count: number, formatted: string) => string;
338
338
  /** "3 selected" in the pagination bar and the table toolbar. */
339
339
  selectedCount: (count: number, formatted: string) => string;
340
+ /** Said to a screen reader after Ctrl+C copied rows: "3 rows copied". */
341
+ copiedRows: (count: number, formatted: string) => string;
342
+ /** Said after Ctrl+C copied the active cell of a grid. */
343
+ copiedCell: string;
344
+ /** Said when the clipboard refused or is not there. */
345
+ copyFailed: string;
340
346
  /** Empty because there are no rows. */
341
347
  noEntries: string;
342
348
  /** Empty because search and filters leave nothing - something else. */
@@ -398,6 +404,10 @@ declare interface Wording {
398
404
  button, and the sentence with the number of alarms it acts on. */
399
405
  snoozeAlarm: string;
400
406
  snoozeAlarms: (count: number) => string;
407
+ /** The labels in the panel that opens with `snoozeReason`: the duration to
408
+ choose and the reason to give. The panel's own button is `snoozeAlarm`. */
409
+ snoozeDuration: string;
410
+ snoozeReason: string;
401
411
  /** Ends the snooze of the ticked alarms before its time. */
402
412
  unsnoozeAlarm: string;
403
413
  unsnoozeAlarms: (count: number) => string;
@@ -428,8 +438,9 @@ declare interface Wording {
428
438
  columnAge: string;
429
439
  /** The availability of an alarm (ISA-18.2's special states), written out.
430
440
  A snooze names its end and who snoozed it - a snooze is tracked, not
431
- anonymous; the time comes from the formats. */
432
- availabilitySnoozed: (until: string, by: string) => string;
441
+ anonymous; the time comes from the formats. The reason, when the snooze
442
+ has one, comes last and is optional: a wording of two parameters fits. */
443
+ availabilitySnoozed: (until: string, by: string, reason?: string) => string;
433
444
  /** A snooze as one word - the alarm list's badge; the sentence above stands
434
445
  in its tooltip and in what is spoken. */
435
446
  availabilitySnoozedShort: string;
@@ -535,6 +546,8 @@ declare interface Wording {
535
546
  violated: number;
536
547
  /** Subtasks in blocked time; said only where there are any. */
537
548
  blocked: number;
549
+ /** Milestones of the plan; said only where there are any. */
550
+ milestones: number;
538
551
  }) => string;
539
552
  /** The keys that walk the plot, select and edit - read after the summary. */
540
553
  scheduleKeyHelp: string;
package/dist/index.d.ts CHANGED
@@ -104,6 +104,22 @@ export declare function allBranches<K, S extends Key = string>(roots: readonly K
104
104
  rotate it by 90 degrees for an open branch. */
105
105
  export declare const AngleGlyph: ForwardRefExoticComponent<Omit<GlyphProps, "ref"> & RefAttributes<SVGSVGElement>>;
106
106
 
107
+ /**
108
+ * The library's one voice: says `text` in a polite live region, for what
109
+ * happened without a visible change in the place a reader is at - a copy made,
110
+ * a count after a filter. Use it instead of a region of your own: there is one
111
+ * region, so two announcements never speak over each other.
112
+ *
113
+ * Says `text` once announcements have rested for `ANNOUNCE_REST`; a later call
114
+ * within the rest replaces an earlier one.
115
+ *
116
+ * `at` is the element that speaks. Inside a modal `<dialog>` everything else
117
+ * is inert and a region there is silent, so the region is the dialog's own -
118
+ * the portal target's rule, without the provider's setting: that decides where
119
+ * a surface is laid out, and a region is laid out nowhere.
120
+ */
121
+ export declare function announce(text: string, at?: Element | null): void;
122
+
107
123
  /**
108
124
  * What the value is, given the limit set. A pure function of the two.
109
125
  *
@@ -1026,7 +1042,7 @@ export declare interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
1026
1042
  Checkbox. The triggers of the pickers and of the MultiSelect are
1027
1043
  buttons, on which `aria-required` is not a permitted attribute; there
1028
1044
  the mark carries it alone. It validates nothing - validation belongs to
1029
- the caller. */
1045
+ the caller (ADR-0060). */
1030
1046
  required?: boolean;
1031
1047
  /** Optional: a fixed id for the input element (instead of a generated
1032
1048
  one). */
@@ -3064,6 +3080,12 @@ export declare interface Wording {
3064
3080
  entries: (count: number, formatted: string) => string;
3065
3081
  /** "3 selected" in the pagination bar and the table toolbar. */
3066
3082
  selectedCount: (count: number, formatted: string) => string;
3083
+ /** Said to a screen reader after Ctrl+C copied rows: "3 rows copied". */
3084
+ copiedRows: (count: number, formatted: string) => string;
3085
+ /** Said after Ctrl+C copied the active cell of a grid. */
3086
+ copiedCell: string;
3087
+ /** Said when the clipboard refused or is not there. */
3088
+ copyFailed: string;
3067
3089
  /** Empty because there are no rows. */
3068
3090
  noEntries: string;
3069
3091
  /** Empty because search and filters leave nothing - something else. */
@@ -3125,6 +3147,10 @@ export declare interface Wording {
3125
3147
  button, and the sentence with the number of alarms it acts on. */
3126
3148
  snoozeAlarm: string;
3127
3149
  snoozeAlarms: (count: number) => string;
3150
+ /** The labels in the panel that opens with `snoozeReason`: the duration to
3151
+ choose and the reason to give. The panel's own button is `snoozeAlarm`. */
3152
+ snoozeDuration: string;
3153
+ snoozeReason: string;
3128
3154
  /** Ends the snooze of the ticked alarms before its time. */
3129
3155
  unsnoozeAlarm: string;
3130
3156
  unsnoozeAlarms: (count: number) => string;
@@ -3155,8 +3181,9 @@ export declare interface Wording {
3155
3181
  columnAge: string;
3156
3182
  /** The availability of an alarm (ISA-18.2's special states), written out.
3157
3183
  A snooze names its end and who snoozed it - a snooze is tracked, not
3158
- anonymous; the time comes from the formats. */
3159
- availabilitySnoozed: (until: string, by: string) => string;
3184
+ anonymous; the time comes from the formats. The reason, when the snooze
3185
+ has one, comes last and is optional: a wording of two parameters fits. */
3186
+ availabilitySnoozed: (until: string, by: string, reason?: string) => string;
3160
3187
  /** A snooze as one word - the alarm list's badge; the sentence above stands
3161
3188
  in its tooltip and in what is spoken. */
3162
3189
  availabilitySnoozedShort: string;
@@ -3262,6 +3289,8 @@ export declare interface Wording {
3262
3289
  violated: number;
3263
3290
  /** Subtasks in blocked time; said only where there are any. */
3264
3291
  blocked: number;
3292
+ /** Milestones of the plan; said only where there are any. */
3293
+ milestones: number;
3265
3294
  }) => string;
3266
3295
  /** The keys that walk the plot, select and edit - read after the summary. */
3267
3296
  scheduleKeyHelp: string;
@@ -1,5 +1,6 @@
1
- import { f as o } from "../formats-DrB9TuzO.js";
2
- const s = o("de-DE"), c = {
1
+ "use client";
2
+ import { f as u } from "../formats-DrB9TuzO.js";
3
+ const c = u("de-DE"), d = {
3
4
  clearInput: "Eingabe leeren",
4
5
  clearSelection: "Auswahl leeren",
5
6
  decreaseValue: "Wert verringern",
@@ -176,6 +177,9 @@ const s = o("de-DE"), c = {
176
177
  calendarWeek: (e, n) => `KW ${e}/${n}`,
177
178
  entries: (e, n) => e === 1 ? "1 Eintrag" : `${n} Einträge`,
178
179
  selectedCount: (e, n) => `${n} ausgewählt`,
180
+ copiedRows: (e, n) => e === 1 ? "1 Zeile kopiert" : `${n} Zeilen kopiert`,
181
+ copiedCell: "Zelle kopiert",
182
+ copyFailed: "Kopieren nicht möglich",
179
183
  noEntries: "Keine Einträge",
180
184
  nothingMatchesFilters: "Nichts passt zu Suche und Filtern",
181
185
  treeSearchPlaceholder: "Im Baum suchen …",
@@ -213,6 +217,8 @@ const s = o("de-DE"), c = {
213
217
  acknowledgeAlarms: (e) => e === 1 ? "1 Meldung quittieren" : `${e} Meldungen quittieren`,
214
218
  snoozeAlarm: "Zurückstellen",
215
219
  snoozeAlarms: (e) => e === 1 ? "1 Meldung zurückstellen" : `${e} Meldungen zurückstellen`,
220
+ snoozeDuration: "Dauer",
221
+ snoozeReason: "Grund",
216
222
  unsnoozeAlarm: "Zurückstellung aufheben",
217
223
  unsnoozeAlarms: (e) => e === 1 ? "Zurückstellung von 1 Meldung aufheben" : `Zurückstellung von ${e} Meldungen aufheben`,
218
224
  priorityHigh: "Hoch",
@@ -233,7 +239,7 @@ const s = o("de-DE"), c = {
233
239
  columnFrequency: "Häufigkeit",
234
240
  columnAcknowledgement: "Quittierung",
235
241
  columnAge: "Alter",
236
- availabilitySnoozed: (e, n) => `Zurückgestellt bis ${e} von ${n}`,
242
+ availabilitySnoozed: (e, n, t) => `Zurückgestellt bis ${e} von ${n}${t ? `: ${t}` : ""}`,
237
243
  availabilitySnoozedShort: "Zurückgestellt",
238
244
  availabilitySuppressed: "Unterdrückt",
239
245
  availabilityDisabled: "Deaktiviert",
@@ -282,7 +288,7 @@ const s = o("de-DE"), c = {
282
288
  scheduleUnfoldGroup: "Gruppe ausklappen",
283
289
  scheduleLaneCount: (e) => e === 1 ? "1 Bahn" : `${e} Bahnen`,
284
290
  scheduleRoleDescription: "Belegungsplan",
285
- scheduleSummary: ({ lanes: e, subtasks: n, from: t, to: i, overlaps: r, violated: a, blocked: l }) => `${e === 1 ? "1 Bahn" : `${e} Bahnen`}, ${n === 1 ? "1 Teilaufgabe" : `${n} Teilaufgaben`} im Blick von ${t} bis ${i}. ${r === 1 ? "1 Überschneidung" : `${r} Überschneidungen`}, ${a === 1 ? "1 verletzte Abhängigkeit" : `${a} verletzte Abhängigkeiten`}` + (l === 0 ? "." : `, ${l === 1 ? "1 Teilaufgabe in einer Sperrzeit" : `${l} Teilaufgaben in Sperrzeiten`}.`),
291
+ scheduleSummary: ({ lanes: e, subtasks: n, from: t, to: i, overlaps: a, violated: o, blocked: l, milestones: r }) => `${e === 1 ? "1 Bahn" : `${e} Bahnen`}, ${n === 1 ? "1 Teilaufgabe" : `${n} Teilaufgaben`} im Blick von ${t} bis ${i}. ${a === 1 ? "1 Überschneidung" : `${a} Überschneidungen`}, ${o === 1 ? "1 verletzte Abhängigkeit" : `${o} verletzte Abhängigkeiten`}` + (l === 0 ? "." : `, ${l === 1 ? "1 Teilaufgabe in einer Sperrzeit" : `${l} Teilaufgaben in Sperrzeiten`}.`) + (r === 0 ? "" : ` ${r === 1 ? "1 Meilenstein" : `${r} Meilensteine`}.`),
286
292
  scheduleKeyHelp: "Pfeil links und rechts gehen die Bahn entlang, Pfeil hoch und runter wechseln die Bahn, Pos1 und Ende springen zur ersten und letzten Teilaufgabe, Bild auf und Bild ab springen ein Zehntel der Ansicht. Schließende eckige Klammer oder T folgt einer Abhängigkeit hinaus, öffnende eckige Klammer oder Umschalt und T geht zurück. Leertaste oder Eingabe wählt aus. Alt mit Pfeil links oder rechts schlägt eine Verschiebung vor, Alt und Umschalt ein neues Ende. Escape lässt die aktive Teilaufgabe los.",
287
293
  calculationSumSymbol: "+",
288
294
  calculationDifferenceSymbol: "−",
@@ -309,6 +315,6 @@ const s = o("de-DE"), c = {
309
315
  calculationNoOperands: "keine Einträge"
310
316
  };
311
317
  export {
312
- s as GERMAN_FORMATS,
313
- c as GERMAN_WORDING
318
+ c as GERMAN_FORMATS,
319
+ d as GERMAN_WORDING
314
320
  };
package/docs/llms-full.md CHANGED
@@ -1,4 +1,4 @@
1
- # @umriss-ui/core 0.31.0
1
+ # @umriss-ui/core 0.33.0
2
2
 
3
3
  > React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.
4
4
 
@@ -3976,6 +3976,9 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
3976
3976
  | `calendarWeek(week, year)` | `` `Week ${week}, ${year}` `` | `` `KW ${week}/${year}` `` | A group of the week key: "Week 42, 2026". |
3977
3977
  | `entries(count, formatted)` | `` (count === 1 ? "1 entry" : `${formatted} entries`) `` | `` (count === 1 ? "1 Eintrag" : `${formatted} Einträge`) `` | "128 entries" in the pagination bar; the plural belongs to the language. |
3978
3978
  | `selectedCount(count, formatted)` | `` `${formatted} selected` `` | `` `${formatted} ausgewählt` `` | "3 selected" in the pagination bar and the table toolbar. |
3979
+ | `copiedRows(count, formatted)` | `` (count === 1 ? "1 row copied" : `${formatted} rows copied`) `` | `` (count === 1 ? "1 Zeile kopiert" : `${formatted} Zeilen kopiert`) `` | Said to a screen reader after Ctrl+C copied rows: "3 rows copied". |
3980
+ | `copiedCell` | Cell copied | Zelle kopiert | Said after Ctrl+C copied the active cell of a grid. |
3981
+ | `copyFailed` | Could not copy | Kopieren nicht möglich | Said when the clipboard refused or is not there. |
3979
3982
  | `noEntries` | No entries | Keine Einträge | Empty because there are no rows. |
3980
3983
  | `nothingMatchesFilters` | Nothing matches the search and filters | Nichts passt zu Suche und Filtern | Empty because search and filters leave nothing - something else. |
3981
3984
  | `treeSearchPlaceholder` | Search the tree … | Im Baum suchen … | — |
@@ -4023,6 +4026,8 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
4023
4026
  | `acknowledgeAlarms(count)` | `` count === 1 ? "Acknowledge 1 alarm" : `Acknowledge ${count} alarms` `` | `` count === 1 ? "1 Meldung quittieren" : `${count} Meldungen quittieren` `` | Bulk acknowledgement; the number stands in the text on purpose. |
4024
4027
  | `snoozeAlarm` | Snooze | Zurückstellen | The alarm list's snooze menu, beside "Acknowledge": the word on its button, and the sentence with the number of alarms it acts on. |
4025
4028
  | `snoozeAlarms(count)` | `` (count === 1 ? "Snooze 1 alarm" : `Snooze ${count} alarms`) `` | `` (count === 1 ? "1 Meldung zurückstellen" : `${count} Meldungen zurückstellen`) `` | — |
4029
+ | `snoozeDuration` | Duration | Dauer | The labels in the panel that opens with `snoozeReason`: the duration to choose and the reason to give. The panel's own button is `snoozeAlarm`. |
4030
+ | `snoozeReason` | Reason | Grund | — |
4026
4031
  | `unsnoozeAlarm` | Unsnooze | Zurückstellung aufheben | Ends the snooze of the ticked alarms before its time. |
4027
4032
  | `unsnoozeAlarms(count)` | `` (count === 1 ? "Unsnooze 1 alarm" : `Unsnooze ${count} alarms`) `` | `` count === 1 ? "Zurückstellung von 1 Meldung aufheben" : `Zurückstellung von ${count} Meldungen aufheben` `` | — |
4028
4033
  | `priorityHigh` | High | Hoch | — |
@@ -4043,7 +4048,7 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
4043
4048
  | `columnFrequency` | Frequency | Häufigkeit | — |
4044
4049
  | `columnAcknowledgement` | Acknowledgement | Quittierung | The two columns of the alarm model the list does not show, but which do land in the column menu and the CSV header (`alarmColumns`). |
4045
4050
  | `columnAge` | Age | Alter | — |
4046
- | `availabilitySnoozed(until, by)` | `` `Snoozed until ${until} by ${by}` `` | `` `Zurückgestellt bis ${until} von ${by}` `` | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. |
4051
+ | `availabilitySnoozed(until, by, reason)` | `` `Snoozed until ${until} by ${by}${reason ? `: ${reason}` : ""}` `` | `` `Zurückgestellt bis ${until} von ${by}${reason ? `: ${reason}` : ""}` `` | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. The reason, when the snooze has one, comes last and is optional: a wording of two parameters fits. |
4047
4052
  | `availabilitySnoozedShort` | Snoozed | Zurückgestellt | A snooze as one word - the alarm list's badge; the sentence above stands in its tooltip and in what is spoken. |
4048
4053
  | `availabilitySuppressed` | Suppressed | Unterdrückt | — |
4049
4054
  | `availabilityDisabled` | Disabled | Deaktiviert | — |
@@ -4102,7 +4107,7 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
4102
4107
  | `scheduleUnfoldGroup` | Unfold group | Gruppe ausklappen | — |
4103
4108
  | `scheduleLaneCount(count)` | `` (count === 1 ? "1 lane" : `${count} lanes`) `` | `` (count === 1 ? "1 Bahn" : `${count} Bahnen`) `` | How many lanes a group holds, beside its name in the header. |
4104
4109
  | `scheduleRoleDescription` | schedule | Belegungsplan | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
4105
- | `scheduleSummary(summary)` | `` `${lanes === 1 ? "1 lane" : `${lanes} lanes`}, ${subtasks === 1 ? "1 subtask" : `${subtasks} subtasks`} in view from ${from} to ${to}. ` + `${overlaps === 1 ? "1 overlap" : `${overlaps} overlaps`}, ${violated === 1 ? "1 violated dependency" : `${violated} violated dependencies`}` + (blocked === 0 ? "." : `, ${blocked === 1 ? "1 subtask" : `${blocked} subtasks`} in blocked time.`) `` | `` `${lanes === 1 ? "1 Bahn" : `${lanes} Bahnen`}, ${subtasks === 1 ? "1 Teilaufgabe" : `${subtasks} Teilaufgaben`} im Blick von ${from} bis ${to}. ` + `${overlaps === 1 ? "1 Überschneidung" : `${overlaps} Überschneidungen`}, ${violated === 1 ? "1 verletzte Abhängigkeit" : `${violated} verletzte Abhängigkeiten`}` + (blocked === 0 ? "." : `, ${blocked === 1 ? "1 Teilaufgabe in einer Sperrzeit" : `${blocked} Teilaufgaben in Sperrzeiten`}.`) `` | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
4110
+ | `scheduleSummary(summary)` | `` `${lanes === 1 ? "1 lane" : `${lanes} lanes`}, ${subtasks === 1 ? "1 subtask" : `${subtasks} subtasks`} in view from ${from} to ${to}. ` + `${overlaps === 1 ? "1 overlap" : `${overlaps} overlaps`}, ${violated === 1 ? "1 violated dependency" : `${violated} violated dependencies`}` + (blocked === 0 ? "." : `, ${blocked === 1 ? "1 subtask" : `${blocked} subtasks`} in blocked time.`) + (milestones === 0 ? "" : ` ${milestones === 1 ? "1 milestone" : `${milestones} milestones`}.`) `` | `` `${lanes === 1 ? "1 Bahn" : `${lanes} Bahnen`}, ${subtasks === 1 ? "1 Teilaufgabe" : `${subtasks} Teilaufgaben`} im Blick von ${from} bis ${to}. ` + `${overlaps === 1 ? "1 Überschneidung" : `${overlaps} Überschneidungen`}, ${violated === 1 ? "1 verletzte Abhängigkeit" : `${violated} verletzte Abhängigkeiten`}` + (blocked === 0 ? "." : `, ${blocked === 1 ? "1 Teilaufgabe in einer Sperrzeit" : `${blocked} Teilaufgaben in Sperrzeiten`}.`) + (milestones === 0 ? "" : ` ${milestones === 1 ? "1 Meilenstein" : `${milestones} Meilensteine`}.`) `` | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
4106
4111
  | `scheduleKeyHelp` | Left and right arrows move along the lane, up and down change the lane, Home and End go to its first and last, Page Up and Page Down jump a tenth of the view. Right bracket or T follows a dependency out, left bracket or Shift and T goes back. Space or Enter selects. Alt with left or right proposes a move, Alt and Shift a new end. Escape clears. | Pfeil links und rechts gehen die Bahn entlang, Pfeil hoch und runter wechseln die Bahn, Pos1 und Ende springen zur ersten und letzten Teilaufgabe, Bild auf und Bild ab springen ein Zehntel der Ansicht. Schließende eckige Klammer oder T folgt einer Abhängigkeit hinaus, öffnende eckige Klammer oder Umschalt und T geht zurück. Leertaste oder Eingabe wählt aus. Alt mit Pfeil links oder rechts schlägt eine Verschiebung vor, Alt und Umschalt ein neues Ende. Escape lässt die aktive Teilaufgabe los. | The keys that walk the plot, select and edit - read after the summary. |
4107
4112
 
4108
4113
  ##### @umriss-ui/calculation
@@ -4398,6 +4403,9 @@ Everything the library puts out as text.
4398
4403
  | `calendarWeek` *required* | `(week: number, year: number) => string` | — | A group of the week key: "Week 42, 2026". |
4399
4404
  | `entries` *required* | `(count: number, formatted: string) => string` | — | "128 entries" in the pagination bar; the plural belongs to the language. |
4400
4405
  | `selectedCount` *required* | `(count: number, formatted: string) => string` | — | "3 selected" in the pagination bar and the table toolbar. |
4406
+ | `copiedRows` *required* | `(count: number, formatted: string) => string` | — | Said to a screen reader after Ctrl+C copied rows: "3 rows copied". |
4407
+ | `copiedCell` *required* | `string` | — | Said after Ctrl+C copied the active cell of a grid. |
4408
+ | `copyFailed` *required* | `string` | — | Said when the clipboard refused or is not there. |
4401
4409
  | `noEntries` *required* | `string` | — | Empty because there are no rows. |
4402
4410
  | `nothingMatchesFilters` *required* | `string` | — | Empty because search and filters leave nothing - something else. |
4403
4411
  | `treeSearchPlaceholder` *required* | `string` | — | |
@@ -4435,6 +4443,8 @@ Everything the library puts out as text.
4435
4443
  | `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
4436
4444
  | `snoozeAlarm` *required* | `string` | — | The alarm list's snooze menu, beside "Acknowledge": the word on its button, and the sentence with the number of alarms it acts on. |
4437
4445
  | `snoozeAlarms` *required* | `(count: number) => string` | — | |
4446
+ | `snoozeDuration` *required* | `string` | — | The labels in the panel that opens with `snoozeReason`: the duration to choose and the reason to give. The panel's own button is `snoozeAlarm`. |
4447
+ | `snoozeReason` *required* | `string` | — | |
4438
4448
  | `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
4439
4449
  | `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
4440
4450
  | `priorityHigh` *required* | `string` | — | |
@@ -4455,7 +4465,7 @@ Everything the library puts out as text.
4455
4465
  | `columnFrequency` *required* | `string` | — | |
4456
4466
  | `columnAcknowledgement` *required* | `string` | — | The two columns of the alarm model the list does not show, but which do land in the column menu and the CSV header (`alarmColumns`). |
4457
4467
  | `columnAge` *required* | `string` | — | |
4458
- | `availabilitySnoozed` *required* | `(until: string, by: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. |
4468
+ | `availabilitySnoozed` *required* | `(until: string, by: string, reason?: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. The reason, when the snooze has one, comes last and is optional: a wording of two parameters fits. |
4459
4469
  | `availabilitySnoozedShort` *required* | `string` | — | A snooze as one word - the alarm list's badge; the sentence above stands in its tooltip and in what is spoken. |
4460
4470
  | `availabilitySuppressed` *required* | `string` | — | |
4461
4471
  | `availabilityDisabled` *required* | `string` | — | |
@@ -4504,7 +4514,7 @@ Everything the library puts out as text.
4504
4514
  | `scheduleUnfoldGroup` *required* | `string` | — | |
4505
4515
  | `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
4506
4516
  | `scheduleRoleDescription` *required* | `string` | — | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
4507
- | `scheduleSummary` *required* | `(summary: { lanes: number; subtasks: number; from: string; to: string; overlaps: number; violated: number; /** Subtasks in blocked time; said only where there are any. */ blocked: number; }) => string` | — | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
4517
+ | `scheduleSummary` *required* | `(summary: { lanes: number; subtasks: number; from: string; to: string; overlaps: number; violated: number; /** Subtasks in blocked time; said only where there are any. */ blocked: number; /** Milestones of the plan; said only where there are any. */ milestones: number; }) => string` | — | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
4508
4518
  | `scheduleKeyHelp` *required* | `string` | — | The keys that walk the plot, select and edit - read after the summary. |
4509
4519
  | `calculationSumSymbol` *required* | `string` | — | The four operators as symbols in a formula line. |
4510
4520
  | `calculationDifferenceSymbol` *required* | `string` | — | |
@@ -4880,6 +4890,7 @@ type GridColumnWidth = number | "fill";
4880
4890
  #### Known limits
4881
4891
 
4882
4892
  - No breakpoints and no responsive props: a grid follows the width through `minItemWidth`, anything else is your stylesheet's.
4893
+ - Tiles are not arranged by the user: no dragging, no resizing, no stored layout ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
4883
4894
 
4884
4895
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
4885
4896
 
@@ -5704,7 +5715,7 @@ Also takes every attribute of `<div>` – without `children`, `defaultValue`, `o
5704
5715
 
5705
5716
  #### Known limits
5706
5717
 
5707
- - Two panes per splitter, no more.
5718
+ - Two panes per splitter, no more. Tiles are not arranged by the user ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
5708
5719
  - It does not remember the share beyond its own life; keep it in the user's settings through `value` and `onChange`.
5709
5720
 
5710
5721
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
@@ -6549,7 +6560,7 @@ What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendl
6549
6560
  Text a screen reader announces but the eye does not see (also called screen-reader-only or sr-only). Reach for it when a visible label is clear from its surroundings but not on its own, and for a skip link.
6550
6561
 
6551
6562
  ```ts
6552
- import { VisuallyHidden } from "@umriss-ui/core";
6563
+ import { VisuallyHidden, announce } from "@umriss-ui/core";
6553
6564
  ```
6554
6565
 
6555
6566
  Demo page: https://romanhaendler.github.io/umriss-ui/core/visuallyhidden/
@@ -8183,14 +8194,14 @@ The keys of [Input](#/input/keyboard-input), [NumberInput](#/numberinput/keyboar
8183
8194
  | `label` *required* | `ReactNode` | — | The label of the field. It is mandatory: a field without a name is a field without a question for a screen reader.<br>Shown in: [Configurator](#/formfield/configurator-formfield), [Label and hint](#/formfield/label-and-hint), [Show an error](#/formfield/show-an-error) and 76 more |
8184
8195
  | `hint` | `ReactNode` | — | Help text below the field. Replaced by `error`.<br>Shown in: [Configurator](#/formfield/configurator-formfield), [Label and hint](#/formfield/label-and-hint), [Show an error](#/formfield/show-an-error) and 33 more |
8185
8196
  | `error` | `ReactNode` | — | Error message; it marks the field as invalid at the same time.<br>Shown in: [Configurator](#/formfield/configurator-formfield), [Show an error](#/formfield/show-an-error), [Check an invoice on submit](#/formfield/check-an-invoice-on-submit) and 22 more |
8186
- | `required` | `boolean` | `false` | Sets the required mark on the label and `aria-required` on the field - on Input, Select, Textarea, NumberInput, Combobox, RadioGroup and Checkbox. The triggers of the pickers and of the MultiSelect are buttons, on which `aria-required` is not a permitted attribute; there the mark carries it alone. It validates nothing - validation belongs to the caller.<br>Shown in: [Configurator](#/formfield/configurator-formfield), [Mark a field as required](#/formfield/mark-a-field-as-required), [Check an invoice on submit](#/formfield/check-an-invoice-on-submit) and 9 more |
8197
+ | `required` | `boolean` | `false` | Sets the required mark on the label and `aria-required` on the field - on Input, Select, Textarea, NumberInput, Combobox, RadioGroup and Checkbox. The triggers of the pickers and of the MultiSelect are buttons, on which `aria-required` is not a permitted attribute; there the mark carries it alone. It validates nothing - validation belongs to the caller ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).<br>Shown in: [Configurator](#/formfield/configurator-formfield), [Mark a field as required](#/formfield/mark-a-field-as-required), [Check an invoice on submit](#/formfield/check-an-invoice-on-submit) and 9 more |
8187
8198
  | `fieldId` | `string` | — | Optional: a fixed id for the input element (instead of a generated one).<br>Shown in: [Sum up a form's errors (Alert)](#/alert/above-a-form) |
8188
8199
 
8189
8200
  Also takes every attribute of `<div>`.
8190
8201
 
8191
8202
  #### Known limits
8192
8203
 
8193
- - No form state, no validation rules, no submit handling: use your own state or a form library, and hand each message to its field.
8204
+ - No validation: the caller's form library decides; pass `error` ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)). No form state and no submit handling either.
8194
8205
  - One field per `FormField`; a group of fields that share one label is a fieldset of your own.
8195
8206
 
8196
8207
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
@@ -10784,7 +10795,7 @@ Also takes every attribute of `<span>` – without `defaultValue`, `onChange`.
10784
10795
  #### Known limits
10785
10796
 
10786
10797
  - No typing of a date into the field.
10787
- - No time zones other than the browser's.
10798
+ - umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
10788
10799
 
10789
10800
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
10790
10801
 
@@ -10954,7 +10965,7 @@ Also takes every attribute of `<span>` – without `defaultValue`, `onChange`.
10954
10965
 
10955
10966
  #### Known limits
10956
10967
 
10957
- - No time zones other than the browser's.
10968
+ - umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
10958
10969
 
10959
10970
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
10960
10971
 
@@ -11387,7 +11398,7 @@ the moment of the click.
11387
11398
 
11388
11399
  #### Known limits
11389
11400
 
11390
- - No time zones other than the browser's.
11401
+ - umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
11391
11402
  - No recurring windows.
11392
11403
 
11393
11404
  What umriss deliberately does not build, and why: [ADR-0032](https://romanhaendler.github.io/umriss-ui/what-umriss-ui-is-not/).
@@ -19000,6 +19011,27 @@ otherwise trigger a thousand requests ([ADR-0005](https://github.com/romanhaendl
19000
19011
  function allBranches<K, S extends Key = string>(roots: readonly K[], reader: NodeReader<K, S>): S[];
19001
19012
  ```
19002
19013
 
19014
+ ##### `announce`
19015
+
19016
+ The library's one voice: says `text` in a polite live region, for what
19017
+ happened without a visible change in the place a reader is at - a copy made,
19018
+ a count after a filter. Use it instead of a region of your own: there is one
19019
+ region, so two announcements never speak over each other.
19020
+
19021
+ Says `text` once announcements have rested for `ANNOUNCE_REST`; a later call
19022
+ within the rest replaces an earlier one.
19023
+
19024
+ `at` is the element that speaks. Inside a modal `<dialog>` everything else
19025
+ is inert and a region there is silent, so the region is the dialog's own -
19026
+ the portal target's rule, without the provider's setting: that decides where
19027
+ a surface is laid out, and a region is laid out nowhere.
19028
+
19029
+ ```ts
19030
+ function announce(text: string, at?: Element | null): void;
19031
+ ```
19032
+
19033
+ Used on [VisuallyHidden](#/visuallyhidden) and [CommandPalette](#/commandpalette).
19034
+
19003
19035
  ##### `assess`
19004
19036
 
19005
19037
  What the value is, given the limit set. A pure function of the two.
@@ -20487,6 +20519,9 @@ Everything the library puts out as text.
20487
20519
  | `calendarWeek` *required* | `(week: number, year: number) => string` | — | A group of the week key: "Week 42, 2026". |
20488
20520
  | `entries` *required* | `(count: number, formatted: string) => string` | — | "128 entries" in the pagination bar; the plural belongs to the language. |
20489
20521
  | `selectedCount` *required* | `(count: number, formatted: string) => string` | — | "3 selected" in the pagination bar and the table toolbar. |
20522
+ | `copiedRows` *required* | `(count: number, formatted: string) => string` | — | Said to a screen reader after Ctrl+C copied rows: "3 rows copied". |
20523
+ | `copiedCell` *required* | `string` | — | Said after Ctrl+C copied the active cell of a grid. |
20524
+ | `copyFailed` *required* | `string` | — | Said when the clipboard refused or is not there. |
20490
20525
  | `noEntries` *required* | `string` | — | Empty because there are no rows. |
20491
20526
  | `nothingMatchesFilters` *required* | `string` | — | Empty because search and filters leave nothing - something else. |
20492
20527
  | `treeSearchPlaceholder` *required* | `string` | — | |
@@ -20524,6 +20559,8 @@ Everything the library puts out as text.
20524
20559
  | `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
20525
20560
  | `snoozeAlarm` *required* | `string` | — | The alarm list's snooze menu, beside "Acknowledge": the word on its button, and the sentence with the number of alarms it acts on. |
20526
20561
  | `snoozeAlarms` *required* | `(count: number) => string` | — | |
20562
+ | `snoozeDuration` *required* | `string` | — | The labels in the panel that opens with `snoozeReason`: the duration to choose and the reason to give. The panel's own button is `snoozeAlarm`. |
20563
+ | `snoozeReason` *required* | `string` | — | |
20527
20564
  | `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
20528
20565
  | `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
20529
20566
  | `priorityHigh` *required* | `string` | — | |
@@ -20544,7 +20581,7 @@ Everything the library puts out as text.
20544
20581
  | `columnFrequency` *required* | `string` | — | |
20545
20582
  | `columnAcknowledgement` *required* | `string` | — | The two columns of the alarm model the list does not show, but which do land in the column menu and the CSV header (`alarmColumns`). |
20546
20583
  | `columnAge` *required* | `string` | — | |
20547
- | `availabilitySnoozed` *required* | `(until: string, by: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. |
20584
+ | `availabilitySnoozed` *required* | `(until: string, by: string, reason?: string) => string` | — | The availability of an alarm (ISA-18.2's special states), written out. A snooze names its end and who snoozed it - a snooze is tracked, not anonymous; the time comes from the formats. The reason, when the snooze has one, comes last and is optional: a wording of two parameters fits. |
20548
20585
  | `availabilitySnoozedShort` *required* | `string` | — | A snooze as one word - the alarm list's badge; the sentence above stands in its tooltip and in what is spoken. |
20549
20586
  | `availabilitySuppressed` *required* | `string` | — | |
20550
20587
  | `availabilityDisabled` *required* | `string` | — | |
@@ -20593,7 +20630,7 @@ Everything the library puts out as text.
20593
20630
  | `scheduleUnfoldGroup` *required* | `string` | — | |
20594
20631
  | `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
20595
20632
  | `scheduleRoleDescription` *required* | `string` | — | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
20596
- | `scheduleSummary` *required* | `(summary: { lanes: number; subtasks: number; from: string; to: string; overlaps: number; violated: number; /** Subtasks in blocked time; said only where there are any. */ blocked: number; }) => string` | — | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
20633
+ | `scheduleSummary` *required* | `(summary: { lanes: number; subtasks: number; from: string; to: string; overlaps: number; violated: number; /** Subtasks in blocked time; said only where there are any. */ blocked: number; /** Milestones of the plan; said only where there are any. */ milestones: number; }) => string` | — | The plot's description (S6): the lanes, the subtasks in view, the visible span with both ends formatted, and the findings of the plan by kind. |
20597
20634
  | `scheduleKeyHelp` *required* | `string` | — | The keys that walk the plot, select and edit - read after the summary. |
20598
20635
  | `calculationSumSymbol` *required* | `string` | — | The four operators as symbols in a formula line. |
20599
20636
  | `calculationDifferenceSymbol` *required* | `string` | — | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umriss-ui/core",
3
- "version": "0.31.0",
3
+ "version": "0.33.0",
4
4
  "description": "React component library for data-dense dashboards and tools - forms, date pickers, overlays, a tree view and a command palette. Precise, quiet, professional.",
5
5
  "license": "MIT",
6
6
  "author": "Roman Händler",