@umriss-ui/core 0.30.0 → 0.32.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 +35 -0
- package/dist/core.css +1 -1
- package/dist/core.js +1583 -1576
- package/dist/de.d.ts +16 -0
- package/dist/index.d.ts +24 -7
- package/dist/wording/de.js +10 -3
- package/docs/llms-full.md +94 -16
- package/package.json +1 -1
package/dist/de.d.ts
CHANGED
|
@@ -394,6 +394,17 @@ declare interface Wording {
|
|
|
394
394
|
acknowledgeAlarm: string;
|
|
395
395
|
/** Bulk acknowledgement; the number stands in the text on purpose. */
|
|
396
396
|
acknowledgeAlarms: (count: number) => string;
|
|
397
|
+
/** The alarm list's snooze menu, beside "Acknowledge": the word on its
|
|
398
|
+
button, and the sentence with the number of alarms it acts on. */
|
|
399
|
+
snoozeAlarm: string;
|
|
400
|
+
snoozeAlarms: (count: number) => string;
|
|
401
|
+
/** The labels in the panel that opens with `snoozeReason`: the duration to
|
|
402
|
+
choose and the reason to give. The panel's own button is `snoozeAlarm`. */
|
|
403
|
+
snoozeDuration: string;
|
|
404
|
+
snoozeReason: string;
|
|
405
|
+
/** Ends the snooze of the ticked alarms before its time. */
|
|
406
|
+
unsnoozeAlarm: string;
|
|
407
|
+
unsnoozeAlarms: (count: number) => string;
|
|
397
408
|
priorityHigh: string;
|
|
398
409
|
priorityMedium: string;
|
|
399
410
|
priorityLow: string;
|
|
@@ -503,6 +514,9 @@ declare interface Wording {
|
|
|
503
514
|
/** "In blocked time (Leave)" - a subtask covering its lane's blocked time,
|
|
504
515
|
with the blocked time's label where it has one. */
|
|
505
516
|
scheduleInBlockedTime: (label: string | undefined) => string;
|
|
517
|
+
/** "Milestone: Release" - a milestone named by its label (or id), so that
|
|
518
|
+
the tooltip and the spoken readout say what kind of thing it is. */
|
|
519
|
+
scheduleMilestone: (name: string) => string;
|
|
506
520
|
/** The chevron of a lane group's header, which folds it into one row and
|
|
507
521
|
unfolds it again. The group's own label stands beside the button, so the
|
|
508
522
|
name is what the ACTION is, not which group it acts on. */
|
|
@@ -525,6 +539,8 @@ declare interface Wording {
|
|
|
525
539
|
violated: number;
|
|
526
540
|
/** Subtasks in blocked time; said only where there are any. */
|
|
527
541
|
blocked: number;
|
|
542
|
+
/** Milestones of the plan; said only where there are any. */
|
|
543
|
+
milestones: number;
|
|
528
544
|
}) => string;
|
|
529
545
|
/** The keys that walk the plot, select and edit - read after the summary. */
|
|
530
546
|
scheduleKeyHelp: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -359,7 +359,7 @@ export declare interface ComboboxProps<T extends string = string> extends Omit<H
|
|
|
359
359
|
/** The width in characters - room for the typed text and the chosen
|
|
360
360
|
option; the field adds its own padding, chevron and cross. Given, the
|
|
361
361
|
field is that wide wherever it stands, and never wider than its place.
|
|
362
|
-
Without it the field fills its place, and is
|
|
362
|
+
Without it the field fills its place, and is 20 characters wide where the
|
|
363
363
|
place asks - in a toolbar or a row. The panel is never narrower than the
|
|
364
364
|
field. */
|
|
365
365
|
chars?: number;
|
|
@@ -767,8 +767,9 @@ export declare const DEFAULT_WORDING: Wording;
|
|
|
767
767
|
|
|
768
768
|
/** How densely the library builds. A component with a density of its own
|
|
769
769
|
takes it through `useDensityFor` as the default for its `density` - in
|
|
770
|
-
@umriss-ui/table the table and the alarm list
|
|
771
|
-
exists only with work package
|
|
770
|
+
@umriss-ui/table the table and the alarm list, in @umriss-ui/calculation
|
|
771
|
+
the calculation; a compact set of tokens exists only with work package
|
|
772
|
+
B.13. */
|
|
772
773
|
export declare type Density = "comfortable" | "compact";
|
|
773
774
|
|
|
774
775
|
/** Where the active node moves: up and down the visible rows, in and out of a
|
|
@@ -1171,7 +1172,7 @@ export declare interface InputProps extends Omit<InputHTMLAttributes<HTMLInputEl
|
|
|
1171
1172
|
/** The width in characters - room for the value; the field adds its own
|
|
1172
1173
|
padding and cross. Given, the field is that wide wherever it stands, and
|
|
1173
1174
|
never wider than its place. Without it the field fills its place, and is
|
|
1174
|
-
|
|
1175
|
+
20 characters wide where the place asks - in a toolbar or a row. */
|
|
1175
1176
|
chars?: number;
|
|
1176
1177
|
/** Marks the field as invalid. `FormField` sets it itself as soon as it
|
|
1177
1178
|
carries an `error` - by hand only necessary without `FormField`. */
|
|
@@ -1830,7 +1831,7 @@ export declare interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelec
|
|
|
1830
1831
|
/** The width in characters - room for the chosen option; the field adds
|
|
1831
1832
|
its own padding, chevron and cross. Given, the field is that wide
|
|
1832
1833
|
wherever it stands, and never wider than its place. Without it the field
|
|
1833
|
-
fills its place, and is
|
|
1834
|
+
fills its place, and is 20 characters wide where the place asks - never
|
|
1834
1835
|
as wide as its longest option. */
|
|
1835
1836
|
chars?: number;
|
|
1836
1837
|
/** Marks the field as invalid. `FormField` sets it itself as soon as it
|
|
@@ -2568,8 +2569,8 @@ export declare function UmrissProvider({ density, portalTarget, toast, language,
|
|
|
2568
2569
|
export declare interface UmrissProviderProps {
|
|
2569
2570
|
/**
|
|
2570
2571
|
* The default for the `density` of every component that reads it with
|
|
2571
|
-
* `useDensityFor` - in `@umriss-ui/table` `Table` and `AlarmList
|
|
2572
|
-
* ("comfortable" means "regular").
|
|
2572
|
+
* `useDensityFor` - in `@umriss-ui/table` `Table` and `AlarmList`, in
|
|
2573
|
+
* `@umriss-ui/calculation` `Calculation` ("comfortable" means "regular").
|
|
2573
2574
|
*
|
|
2574
2575
|
* @default none - a component keeps its own density
|
|
2575
2576
|
*/
|
|
@@ -3120,6 +3121,17 @@ export declare interface Wording {
|
|
|
3120
3121
|
acknowledgeAlarm: string;
|
|
3121
3122
|
/** Bulk acknowledgement; the number stands in the text on purpose. */
|
|
3122
3123
|
acknowledgeAlarms: (count: number) => string;
|
|
3124
|
+
/** The alarm list's snooze menu, beside "Acknowledge": the word on its
|
|
3125
|
+
button, and the sentence with the number of alarms it acts on. */
|
|
3126
|
+
snoozeAlarm: string;
|
|
3127
|
+
snoozeAlarms: (count: number) => string;
|
|
3128
|
+
/** The labels in the panel that opens with `snoozeReason`: the duration to
|
|
3129
|
+
choose and the reason to give. The panel's own button is `snoozeAlarm`. */
|
|
3130
|
+
snoozeDuration: string;
|
|
3131
|
+
snoozeReason: string;
|
|
3132
|
+
/** Ends the snooze of the ticked alarms before its time. */
|
|
3133
|
+
unsnoozeAlarm: string;
|
|
3134
|
+
unsnoozeAlarms: (count: number) => string;
|
|
3123
3135
|
priorityHigh: string;
|
|
3124
3136
|
priorityMedium: string;
|
|
3125
3137
|
priorityLow: string;
|
|
@@ -3229,6 +3241,9 @@ export declare interface Wording {
|
|
|
3229
3241
|
/** "In blocked time (Leave)" - a subtask covering its lane's blocked time,
|
|
3230
3242
|
with the blocked time's label where it has one. */
|
|
3231
3243
|
scheduleInBlockedTime: (label: string | undefined) => string;
|
|
3244
|
+
/** "Milestone: Release" - a milestone named by its label (or id), so that
|
|
3245
|
+
the tooltip and the spoken readout say what kind of thing it is. */
|
|
3246
|
+
scheduleMilestone: (name: string) => string;
|
|
3232
3247
|
/** The chevron of a lane group's header, which folds it into one row and
|
|
3233
3248
|
unfolds it again. The group's own label stands beside the button, so the
|
|
3234
3249
|
name is what the ACTION is, not which group it acts on. */
|
|
@@ -3251,6 +3266,8 @@ export declare interface Wording {
|
|
|
3251
3266
|
violated: number;
|
|
3252
3267
|
/** Subtasks in blocked time; said only where there are any. */
|
|
3253
3268
|
blocked: number;
|
|
3269
|
+
/** Milestones of the plan; said only where there are any. */
|
|
3270
|
+
milestones: number;
|
|
3254
3271
|
}) => string;
|
|
3255
3272
|
/** The keys that walk the plot, select and edit - read after the summary. */
|
|
3256
3273
|
scheduleKeyHelp: string;
|
package/dist/wording/de.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as
|
|
2
|
-
const c =
|
|
1
|
+
import { f as u } from "../formats-DrB9TuzO.js";
|
|
2
|
+
const c = u("de-DE"), d = {
|
|
3
3
|
clearInput: "Eingabe leeren",
|
|
4
4
|
clearSelection: "Auswahl leeren",
|
|
5
5
|
decreaseValue: "Wert verringern",
|
|
@@ -211,6 +211,12 @@ const c = o("de-DE"), d = {
|
|
|
211
211
|
noAlarmsDisconnected: "Keine Meldungen – die Verbindung steht nicht",
|
|
212
212
|
acknowledgeAlarm: "Quittieren",
|
|
213
213
|
acknowledgeAlarms: (e) => e === 1 ? "1 Meldung quittieren" : `${e} Meldungen quittieren`,
|
|
214
|
+
snoozeAlarm: "Zurückstellen",
|
|
215
|
+
snoozeAlarms: (e) => e === 1 ? "1 Meldung zurückstellen" : `${e} Meldungen zurückstellen`,
|
|
216
|
+
snoozeDuration: "Dauer",
|
|
217
|
+
snoozeReason: "Grund",
|
|
218
|
+
unsnoozeAlarm: "Zurückstellung aufheben",
|
|
219
|
+
unsnoozeAlarms: (e) => e === 1 ? "Zurückstellung von 1 Meldung aufheben" : `Zurückstellung von ${e} Meldungen aufheben`,
|
|
214
220
|
priorityHigh: "Hoch",
|
|
215
221
|
priorityMedium: "Mittel",
|
|
216
222
|
priorityLow: "Niedrig",
|
|
@@ -273,11 +279,12 @@ const c = o("de-DE"), d = {
|
|
|
273
279
|
scheduleLaneRefused: "Nicht hierher",
|
|
274
280
|
scheduleBlockedTime: "Sperrzeit",
|
|
275
281
|
scheduleInBlockedTime: (e) => e === void 0 ? "In der Sperrzeit" : `In der Sperrzeit (${e})`,
|
|
282
|
+
scheduleMilestone: (e) => `Meilenstein: ${e}`,
|
|
276
283
|
scheduleFoldGroup: "Gruppe einklappen",
|
|
277
284
|
scheduleUnfoldGroup: "Gruppe ausklappen",
|
|
278
285
|
scheduleLaneCount: (e) => e === 1 ? "1 Bahn" : `${e} Bahnen`,
|
|
279
286
|
scheduleRoleDescription: "Belegungsplan",
|
|
280
|
-
scheduleSummary: ({ lanes: e, subtasks: n, from: t, to: i, overlaps:
|
|
287
|
+
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`}.`),
|
|
281
288
|
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.",
|
|
282
289
|
calculationSumSymbol: "+",
|
|
283
290
|
calculationDifferenceSymbol: "−",
|
package/docs/llms-full.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @umriss-ui/core 0.
|
|
1
|
+
# @umriss-ui/core 0.32.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
|
|
|
@@ -2548,7 +2548,7 @@ The keys of [Button](#/button/keyboard-button), [Menu](#/menu/keyboard-menu) and
|
|
|
2548
2548
|
|
|
2549
2549
|
| Prop | Type | Default | Description |
|
|
2550
2550
|
|---|---|---|---|
|
|
2551
|
-
| `density` | [`Density`](#type-Density)<br>`"comfortable" \| "compact"` | none - a component keeps its own density | The default for the `density` of every component that reads it with `useDensityFor` - in `@umriss-ui/table` `Table` and `AlarmList` ("comfortable" means "regular").<br>Shown in: [Set up an application](#/umrissprovider/everything-at-once) |
|
|
2551
|
+
| `density` | [`Density`](#type-Density)<br>`"comfortable" \| "compact"` | none - a component keeps its own density | The default for the `density` of every component that reads it with `useDensityFor` - in `@umriss-ui/table` `Table` and `AlarmList`, in `@umriss-ui/calculation` `Calculation` ("comfortable" means "regular").<br>Shown in: [Set up an application](#/umrissprovider/everything-at-once) |
|
|
2552
2552
|
| `portalTarget` | [`PortalTarget`](#type-PortalTarget) | `null` | Where overlays portal to. A function is evaluated on every opening - a target that only enters the tree later cannot be given otherwise; `null` means "as before". The callers' own rules take precedence: the popover seam portals into the nearest `<dialog>` ancestor, because a portal at the body does not reach the top layer.<br>Shown in: [Open overlays inside a full-screen panel](#/umrissprovider/portal-target), [Set up an application](#/umrissprovider/everything-at-once) |
|
|
2553
2553
|
| `toast` | [`ToastConfig`](#type-ToastConfig) | — | The setting for toasts: the display duration where the individual toast names none, where they stand, and how many stand at once.<br>Shown in: [At the root](#/umrissprovider/at-the-root), [Set up an application](#/umrissprovider/everything-at-once), [Where they stand (Toast)](#/toast/where-they-stand) and 1 more |
|
|
2554
2554
|
| `language` | [`LanguageOptions`](#/language/type-LanguageOptions) | none - the surrounding language holds, English at the root | Formats and wording, entry by entry - see [Language](#/language).<br>Shown in: [Set up an application](#/umrissprovider/everything-at-once) |
|
|
@@ -3367,14 +3367,14 @@ function Row({ size }: { size: ControlSize }) {
|
|
|
3367
3367
|
return (
|
|
3368
3368
|
<Stack role="group" aria-label={size === "sm" ? "Small" : "Medium"} direction="row" gap={3} wrap>
|
|
3369
3369
|
<FormField label="Caster">
|
|
3370
|
-
<Select defaultValue="">
|
|
3370
|
+
<Select defaultValue="" chars={12}>
|
|
3371
3371
|
<option value="">Every caster</option>
|
|
3372
3372
|
<option>Caster 1</option>
|
|
3373
3373
|
<option>Caster 2</option>
|
|
3374
3374
|
</Select>
|
|
3375
3375
|
</FormField>
|
|
3376
3376
|
<FormField label="Strand">
|
|
3377
|
-
<Select defaultValue="">
|
|
3377
|
+
<Select defaultValue="" chars={12}>
|
|
3378
3378
|
<option value="">Every strand</option>
|
|
3379
3379
|
<option>Strand 1</option>
|
|
3380
3380
|
<option>Strand 2</option>
|
|
@@ -3421,6 +3421,61 @@ export default function ARowOfFields() {
|
|
|
3421
3421
|
}
|
|
3422
3422
|
```
|
|
3423
3423
|
|
|
3424
|
+
##### A bar with a search
|
|
3425
|
+
|
|
3426
|
+
A field does not grow to fill a row; a bar of one's own says which one takes the rest. In a grid, a field fills its cell: the search is the "fill" column, the selects beside it keep a width of their own, and nothing is styled by hand.
|
|
3427
|
+
|
|
3428
|
+
```tsx
|
|
3429
|
+
import { useState } from "react";
|
|
3430
|
+
import { Grid, Input, Select, Stack, Text } from "@umriss-ui/core";
|
|
3431
|
+
|
|
3432
|
+
const ROWS = [
|
|
3433
|
+
{ name: "Invoice 1042", status: "Open", region: "North" },
|
|
3434
|
+
{ name: "Invoice 1043", status: "Paid", region: "South" },
|
|
3435
|
+
{ name: "Invoice 1044", status: "Open", region: "South" },
|
|
3436
|
+
{ name: "Invoice 1045", status: "Overdue", region: "North" },
|
|
3437
|
+
];
|
|
3438
|
+
|
|
3439
|
+
export default function ABarWithASearch() {
|
|
3440
|
+
const [search, setSearch] = useState("");
|
|
3441
|
+
const [status, setStatus] = useState("");
|
|
3442
|
+
const [region, setRegion] = useState("");
|
|
3443
|
+
const shown = ROWS.filter(
|
|
3444
|
+
(row) =>
|
|
3445
|
+
row.name.toLowerCase().includes(search.trim().toLowerCase()) &&
|
|
3446
|
+
(!status || row.status === status) &&
|
|
3447
|
+
(!region || row.region === region),
|
|
3448
|
+
);
|
|
3449
|
+
return (
|
|
3450
|
+
<Stack gap={3}>
|
|
3451
|
+
<Grid columns={["fill", 180, 180]} gap={3}>
|
|
3452
|
+
<Input
|
|
3453
|
+
type="search"
|
|
3454
|
+
aria-label="Search"
|
|
3455
|
+
placeholder="Search invoices"
|
|
3456
|
+
value={search}
|
|
3457
|
+
onChange={(event) => setSearch(event.target.value)}
|
|
3458
|
+
/>
|
|
3459
|
+
<Select aria-label="Status" value={status} onChange={(event) => setStatus(event.target.value)}>
|
|
3460
|
+
<option value="">Any status</option>
|
|
3461
|
+
<option>Open</option>
|
|
3462
|
+
<option>Paid</option>
|
|
3463
|
+
<option>Overdue</option>
|
|
3464
|
+
</Select>
|
|
3465
|
+
<Select aria-label="Region" value={region} onChange={(event) => setRegion(event.target.value)}>
|
|
3466
|
+
<option value="">Any region</option>
|
|
3467
|
+
<option>North</option>
|
|
3468
|
+
<option>South</option>
|
|
3469
|
+
</Select>
|
|
3470
|
+
</Grid>
|
|
3471
|
+
<Text size="sm" tone="secondary">
|
|
3472
|
+
{shown.length} of {ROWS.length} invoices: {shown.map((row) => row.name).join(", ") || "none"}
|
|
3473
|
+
</Text>
|
|
3474
|
+
</Stack>
|
|
3475
|
+
);
|
|
3476
|
+
}
|
|
3477
|
+
```
|
|
3478
|
+
|
|
3424
3479
|
#### When to use something else
|
|
3425
3480
|
|
|
3426
3481
|
- A width the layout decides - two columns, a field beside a button → Stack and Grid
|
|
@@ -3966,6 +4021,12 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
|
|
|
3966
4021
|
| `noAlarmsDisconnected` | No alarms – the connection is down | Keine Meldungen – die Verbindung steht nicht | Empty, but the line is down - that is something other than quiet. |
|
|
3967
4022
|
| `acknowledgeAlarm` | Acknowledge | Quittieren | — |
|
|
3968
4023
|
| `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
|
+
| `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
|
+
| `snoozeAlarms(count)` | `` (count === 1 ? "Snooze 1 alarm" : `Snooze ${count} alarms`) `` | `` (count === 1 ? "1 Meldung zurückstellen" : `${count} Meldungen zurückstellen`) `` | — |
|
|
4026
|
+
| `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`. |
|
|
4027
|
+
| `snoozeReason` | Reason | Grund | — |
|
|
4028
|
+
| `unsnoozeAlarm` | Unsnooze | Zurückstellung aufheben | Ends the snooze of the ticked alarms before its time. |
|
|
4029
|
+
| `unsnoozeAlarms(count)` | `` (count === 1 ? "Unsnooze 1 alarm" : `Unsnooze ${count} alarms`) `` | `` count === 1 ? "Zurückstellung von 1 Meldung aufheben" : `Zurückstellung von ${count} Meldungen aufheben` `` | — |
|
|
3969
4030
|
| `priorityHigh` | High | Hoch | — |
|
|
3970
4031
|
| `priorityMedium` | Medium | Mittel | — |
|
|
3971
4032
|
| `priorityLow` | Low | Niedrig | — |
|
|
@@ -4038,11 +4099,12 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
|
|
|
4038
4099
|
| `scheduleLaneRefused` | Not this lane | Nicht hierher | On the ghost of a drag over a lane the subtask may not go to. |
|
|
4039
4100
|
| `scheduleBlockedTime` | Blocked time | Sperrzeit | On the ghost of a drag held back from a lane's blocked time. |
|
|
4040
4101
|
| `scheduleInBlockedTime(label)` | `` (label === undefined ? "In blocked time" : `In blocked time (${label})`) `` | `` (label === undefined ? "In der Sperrzeit" : `In der Sperrzeit (${label})`) `` | "In blocked time (Leave)" - a subtask covering its lane's blocked time, with the blocked time's label where it has one. |
|
|
4102
|
+
| `scheduleMilestone(name)` | `` `Milestone: ${name}` `` | `` `Meilenstein: ${name}` `` | "Milestone: Release" - a milestone named by its label (or id), so that the tooltip and the spoken readout say what kind of thing it is. |
|
|
4041
4103
|
| `scheduleFoldGroup` | Fold group | Gruppe einklappen | The chevron of a lane group's header, which folds it into one row and unfolds it again. The group's own label stands beside the button, so the name is what the ACTION is, not which group it acts on. |
|
|
4042
4104
|
| `scheduleUnfoldGroup` | Unfold group | Gruppe ausklappen | — |
|
|
4043
4105
|
| `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. |
|
|
4044
4106
|
| `scheduleRoleDescription` | schedule | Belegungsplan | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
|
|
4045
|
-
| `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. |
|
|
4107
|
+
| `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. |
|
|
4046
4108
|
| `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. |
|
|
4047
4109
|
|
|
4048
4110
|
##### @umriss-ui/calculation
|
|
@@ -4084,10 +4146,12 @@ Every entry of `ChartsWording` from `@umriss-ui/charts`, which a chart takes thr
|
|
|
4084
4146
|
| `seriesList(names)` | `` `${names.length === 1 ? "1 series" : `${names.length} series`}: ${names.join(", ")}.` `` | `` `${names.length === 1 ? "1 Serie" : `${names.length} Serien`}: ${names.join(", ")}.` `` | The summary's visible series, by name. |
|
|
4085
4147
|
| `visibleRange(from, to)` | `` `From ${from} to ${to}.` `` | `` `Von ${from} bis ${to}.` `` | The summary's visible stretch of the x axis, both ends formatted. |
|
|
4086
4148
|
| `seriesExtent(name, min, max)` | `` `${name} from ${min} to ${max}.` `` | `` `${name} von ${min} bis ${max}.` `` | The summary's lowest and highest value of one series in that stretch. |
|
|
4149
|
+
| `limitList(limits)` | `` `Limits: ${limits.map((l) => `${l.name} ${l.value}`).join(", ")}.` `` | `` `Grenzen: ${limits.map((l) => `${l.name} ${l.value}`).join(", ")}.` `` | The summary's labelled limits, each with its value in its axis' format (a band's two edges as one value). |
|
|
4087
4150
|
| `readout(x, rows)` | `` [`${x}.`, ...rows.map((r) => `${r.name} ${r.value}${r.x === "" ? "" : ` at ${r.x}`}.`)].join(" ") `` | `` [`${x}.`, ...rows.map((r) => `${r.name} ${r.value}${r.x === "" ? "" : ` bei ${r.x}`}.`)].join(" ") `` | What is read after a key: the position, then each series with its value (and its own x where it stands on another x axis), the emphasised one first. |
|
|
4088
4151
|
| `stackTotal` | Total | Summe | The last row of a stack in the tooltip and the readout: the sum of its members at the point (charts-stacking K4). |
|
|
4089
4152
|
| `percent(value)` | `` `${value}%` `` | `` `${value} %` `` | A share in a normalised stack, its number already formatted (K5). |
|
|
4090
4153
|
| `walkHelp` | Left and right arrows move through the values, up and down change the series, Home and End go to the first and the last, Escape clears. | Pfeil links und rechts gehen durch die Werte, Pfeil hoch und runter wechseln die Serie, Pos1 und Ende springen zum ersten und letzten Wert, Escape hebt die Markierung auf. | The keys that walk the chart. |
|
|
4154
|
+
| `selectHelp` | Enter chooses the point. | Enter wählt den Punkt. | The key that reports the Active point - only where `onSelect` is given. |
|
|
4091
4155
|
| `zoomHelp` | Plus and minus zoom, Shift with left or right pans, 0 goes back to the axis' own span. | Plus und Minus zoomen, Umschalt mit Pfeil links oder rechts verschiebt, 0 kehrt zum eigenen Bereich der Achse zurück. | The keys that zoom and pan it - only where the chart can be zoomed. |
|
|
4092
4156
|
| `legendHelp` | In the legend, Enter hides or shows a series, Shift+Enter shows only it. | In der Legende blendet Enter eine Serie aus oder ein, Umschalt+Enter zeigt nur sie. | The keys of the legend's entries - only where it has one to press. |
|
|
4093
4157
|
| `allShown` | Nothing would be left to see, so every series is shown. | Sonst wäre nichts mehr zu sehen, darum werden alle Serien gezeigt. | Read out where hiding would leave nothing to see, and every series is shown instead. |
|
|
@@ -4371,6 +4435,12 @@ Everything the library puts out as text.
|
|
|
4371
4435
|
| `noAlarmsDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
|
|
4372
4436
|
| `acknowledgeAlarm` *required* | `string` | — | |
|
|
4373
4437
|
| `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
|
|
4438
|
+
| `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. |
|
|
4439
|
+
| `snoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
4440
|
+
| `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`. |
|
|
4441
|
+
| `snoozeReason` *required* | `string` | — | |
|
|
4442
|
+
| `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
|
|
4443
|
+
| `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
4374
4444
|
| `priorityHigh` *required* | `string` | — | |
|
|
4375
4445
|
| `priorityMedium` *required* | `string` | — | |
|
|
4376
4446
|
| `priorityLow` *required* | `string` | — | |
|
|
@@ -4433,11 +4503,12 @@ Everything the library puts out as text.
|
|
|
4433
4503
|
| `scheduleLaneRefused` *required* | `string` | — | On the ghost of a drag over a lane the subtask may not go to. |
|
|
4434
4504
|
| `scheduleBlockedTime` *required* | `string` | — | On the ghost of a drag held back from a lane's blocked time. |
|
|
4435
4505
|
| `scheduleInBlockedTime` *required* | `(label: string \| undefined) => string` | — | "In blocked time (Leave)" - a subtask covering its lane's blocked time, with the blocked time's label where it has one. |
|
|
4506
|
+
| `scheduleMilestone` *required* | `(name: string) => string` | — | "Milestone: Release" - a milestone named by its label (or id), so that the tooltip and the spoken readout say what kind of thing it is. |
|
|
4436
4507
|
| `scheduleFoldGroup` *required* | `string` | — | The chevron of a lane group's header, which folds it into one row and unfolds it again. The group's own label stands beside the button, so the name is what the ACTION is, not which group it acts on. |
|
|
4437
4508
|
| `scheduleUnfoldGroup` *required* | `string` | — | |
|
|
4438
4509
|
| `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
|
|
4439
4510
|
| `scheduleRoleDescription` *required* | `string` | — | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
|
|
4440
|
-
| `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. |
|
|
4511
|
+
| `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. |
|
|
4441
4512
|
| `scheduleKeyHelp` *required* | `string` | — | The keys that walk the plot, select and edit - read after the summary. |
|
|
4442
4513
|
| `calculationSumSymbol` *required* | `string` | — | The four operators as symbols in a formula line. |
|
|
4443
4514
|
| `calculationDifferenceSymbol` *required* | `string` | — | |
|
|
@@ -4773,7 +4844,7 @@ The keys of [Button](#/button/keyboard-button) apply here.
|
|
|
4773
4844
|
| Prop | Type | Default | Description |
|
|
4774
4845
|
|---|---|---|---|
|
|
4775
4846
|
| `direction` | `"row" \| "column"` | `"column"` | Below one another or beside one another. Below is the direction content stands in anyway, without being asked.<br>Shown in: [A row](#/stack-and-grid/a-row), [Gaps](#/stack-and-grid/gaps), [Wrapping](#/stack-and-grid/wrapping) and 68 more |
|
|
4776
|
-
| `gap` | [`SpaceStep`](#type-SpaceStep)<br>`1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8` | `3` | Spacing as a step of the 4 px spacing steps (1–8).<br>Shown in: [A column](#/stack-and-grid/a-column), [A row](#/stack-and-grid/a-row), [Gaps](#/stack-and-grid/gaps) and
|
|
4847
|
+
| `gap` | [`SpaceStep`](#type-SpaceStep)<br>`1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8` | `3` | Spacing as a step of the 4 px spacing steps (1–8).<br>Shown in: [A column](#/stack-and-grid/a-column), [A row](#/stack-and-grid/a-row), [Gaps](#/stack-and-grid/gaps) and 166 more |
|
|
4777
4848
|
| `align` | `CSSProperties["alignItems"]` | — | Alignment across the direction – `alignItems` unchanged.<br>Shown in: [A row](#/stack-and-grid/a-row), [Gaps](#/stack-and-grid/gaps), [A tour summary](#/stack-and-grid/a-tour-summary) and 77 more |
|
|
4778
4849
|
| `justify` | `CSSProperties["justifyContent"]` | — | Distribution along the direction – `justifyContent` unchanged.<br>Shown in: [A row](#/stack-and-grid/a-row), [A tour summary](#/stack-and-grid/a-tour-summary), [Name the same action in every row (VisuallyHidden)](#/visuallyhidden/actions-in-rows) and 9 more |
|
|
4779
4850
|
| `wrap` | `boolean` | `false` | Lets the children wrap when the line does not suffice.<br>Shown in: [Gaps](#/stack-and-grid/gaps), [Wrapping](#/stack-and-grid/wrapping), [Sized to the value (Sizes)](#/sizes/sized-to-the-value) and 32 more |
|
|
@@ -4784,9 +4855,9 @@ Also takes every attribute of `<div>`.
|
|
|
4784
4855
|
|
|
4785
4856
|
| Prop | Type | Default | Description |
|
|
4786
4857
|
|---|---|---|---|
|
|
4787
|
-
| `columns` | `number \| readonly `[`GridColumnWidth`](#type-GridColumnWidth)`[]` | `2` | How many columns, all of one width - or a list with one width per column: a number in pixels, or `"fill"` for a share of what is left. Overridden by minItemWidth.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths), [A token for one region (Theming)](#/theming/a-token-for-one-region) and
|
|
4858
|
+
| `columns` | `number \| readonly `[`GridColumnWidth`](#type-GridColumnWidth)`[]` | `2` | How many columns, all of one width - or a list with one width per column: a number in pixels, or `"fill"` for a share of what is left. Overridden by minItemWidth.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths), [A token for one region (Theming)](#/theming/a-token-for-one-region) and 5 more |
|
|
4788
4859
|
| `minItemWidth` | `string` | — | Responsive: as many columns as fit at this minimum width; wins over `columns`, a list included.<br>Shown in: [Columns by width](#/stack-and-grid/columns-by-width), [A tour summary](#/stack-and-grid/a-tour-summary), [A dark region (Theming)](#/theming/a-dark-region) and 51 more |
|
|
4789
|
-
| `gap` | [`SpaceStep`](#type-SpaceStep)<br>`1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8` | `4` | Spacing as a step of the 4 px spacing steps (1–8); applies in both directions.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns by width](#/stack-and-grid/columns-by-width), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths) and
|
|
4860
|
+
| `gap` | [`SpaceStep`](#type-SpaceStep)<br>`1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8` | `4` | Spacing as a step of the 4 px spacing steps (1–8); applies in both directions.<br>Shown in: [Fixed columns](#/stack-and-grid/fixed-columns), [Columns by width](#/stack-and-grid/columns-by-width), [Columns of their own widths](#/stack-and-grid/columns-of-their-own-widths) and 58 more |
|
|
4790
4861
|
|
|
4791
4862
|
Also takes every attribute of `<div>`.
|
|
4792
4863
|
|
|
@@ -6397,9 +6468,9 @@ export default function IncidentSummary() {
|
|
|
6397
6468
|
| Prop | Type | Default | Description |
|
|
6398
6469
|
|---|---|---|---|
|
|
6399
6470
|
| `as` | `ElementType` | `"p"` | Element to render as.<br>Shown in: [Tones and weights](#/typography/tones-and-weights), [Set an incident summary](#/typography/incident-summary), [Use the language in your own components (Language)](#/language/own-components) and 16 more |
|
|
6400
|
-
| `size` | [`TextSize`](#type-TextSize)<br>`"xs" \| "sm" \| "md" \| "lg" \| "xl" \| "2xl"` | `"md"` | Type size from the token set. It is independent of the element: a `p` may be small without becoming a different element.<br>Shown in: [Configurator](#/typography/configurator-typography), [Sizes](#/typography/sizes), [Tones and weights](#/typography/tones-and-weights) and
|
|
6471
|
+
| `size` | [`TextSize`](#type-TextSize)<br>`"xs" \| "sm" \| "md" \| "lg" \| "xl" \| "2xl"` | `"md"` | Type size from the token set. It is independent of the element: a `p` may be small without becoming a different element.<br>Shown in: [Configurator](#/typography/configurator-typography), [Sizes](#/typography/sizes), [Tones and weights](#/typography/tones-and-weights) and 131 more |
|
|
6401
6472
|
| `weight` | [`TextWeight`](#type-TextWeight)<br>`"regular" \| "medium" \| "semibold"` | `"regular"` | Font weight from the token set.<br>Shown in: [Configurator](#/typography/configurator-typography), [Tones and weights](#/typography/tones-and-weights), [Tracking and leading](#/typography/tracking-and-leading) and 16 more |
|
|
6402
|
-
| `tone` | [`TextTone`](#type-TextTone)<br>`"default" \| "secondary" \| "muted"` | `"default"` | How loud the text is. `secondary` and `muted` step back without falling below the contrast threshold.<br>Shown in: [Configurator](#/typography/configurator-typography), [Tones and weights](#/typography/tones-and-weights), [Tracking and leading](#/typography/tracking-and-leading) and
|
|
6473
|
+
| `tone` | [`TextTone`](#type-TextTone)<br>`"default" \| "secondary" \| "muted"` | `"default"` | How loud the text is. `secondary` and `muted` step back without falling below the contrast threshold.<br>Shown in: [Configurator](#/typography/configurator-typography), [Tones and weights](#/typography/tones-and-weights), [Tracking and leading](#/typography/tracking-and-leading) and 96 more |
|
|
6403
6474
|
| `mono` | `boolean` | `false` | Geist Mono with tabular figures – for numbers and identifiers.<br>Shown in: [Configurator](#/typography/configurator-typography), [Numbers and identifiers](#/typography/numbers), [Handle long values](#/typography/long-values) and 30 more |
|
|
6404
6475
|
| `tracking` | [`TextTracking`](#type-TextTracking)<br>`"normal" \| "tight" \| "display" \| "caps"` | `"normal"` | Letter spacing from the token set. `caps` belongs with letterspaced capitals.<br>Shown in: [Configurator](#/typography/configurator-typography), [Tracking and leading](#/typography/tracking-and-leading), [Set an incident summary](#/typography/incident-summary) |
|
|
6405
6476
|
| `leading` | [`TextLeading`](#type-TextLeading)<br>`"normal" \| "tight"` | `"normal"` | Line spacing. `tight` for multi-line headings and key figures, where the normal spacing lets the lines fall apart.<br>Shown in: [Configurator](#/typography/configurator-typography), [Tracking and leading](#/typography/tracking-and-leading) |
|
|
@@ -7916,7 +7987,7 @@ export default function TakeADeliveryAddress() {
|
|
|
7916
7987
|
| Prop | Type | Default | Description |
|
|
7917
7988
|
|---|---|---|---|
|
|
7918
7989
|
| `size` | `"sm" \| "md"` | the size of a `ControlSizeProvider` around it, else `"md"` | `sm` for a toolbar and dense forms, `md` otherwise.<br>Shown in: [Configurator](#/input/configurator-input), [Sizes](#/input/sizes), [Open it with a shortcut (CommandPalette)](#/commandpalette/shortcut) and 3 more |
|
|
7919
|
-
| `chars` | `number` | — | The width in characters - room for the value; the field adds its own padding and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is
|
|
7990
|
+
| `chars` | `number` | — | The width in characters - room for the value; the field adds its own padding and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is 20 characters wide where the place asks - in a toolbar or a row.<br>Shown in: [Configurator](#/input/configurator-input), [Sized to the value (Sizes)](#/sizes/sized-to-the-value), [Narrow places (Sizes)](#/sizes/narrow-places) |
|
|
7920
7991
|
| `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` - by hand only necessary without `FormField`.<br>Shown in: [Configurator](#/input/configurator-input), [With an error](#/input/with-an-error), [With an error (TreeView)](#/treeview/with-an-error) |
|
|
7921
7992
|
| `numeric` | `boolean` | `false` | Right-aligned tabular figures in Geist Mono, e.g. for key figures.<br>Shown in: [Configurator](#/input/configurator-input), [Align reference numbers](#/input/align-reference-numbers), [Take a delivery address](#/input/take-a-delivery-address) and 2 more |
|
|
7922
7993
|
| `clearable` | `boolean` | `false` | Shows a gently appearing cross where there is content, which clears the input. Requires a controlled field (value) and onClear.<br>Shown in: [Clear the field](#/input/clear-the-field), [A row that holds still (Sizes)](#/sizes/a-row-that-holds-still) |
|
|
@@ -9979,7 +10050,7 @@ export default function ClearTheChoice() {
|
|
|
9979
10050
|
| Prop | Type | Default | Description |
|
|
9980
10051
|
|---|---|---|---|
|
|
9981
10052
|
| `size` | `"sm" \| "md"` | the size of a `ControlSizeProvider` around it, else `"md"` | `sm` for a toolbar and dense forms, `md` otherwise.<br>Shown in: [Configurator](#/select/configurator-select), [States](#/select/states), [Build a filter bar (Tag)](#/tag/a-filter-bar) and 1 more |
|
|
9982
|
-
| `chars` | `number` | — | The width in characters - room for the chosen option; the field adds its own padding, chevron and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is
|
|
10053
|
+
| `chars` | `number` | — | The width in characters - room for the chosen option; the field adds its own padding, chevron and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is 20 characters wide where the place asks - never as wide as its longest option.<br>Shown in: [Configurator](#/select/configurator-select), [A row of fields (Sizes)](#/sizes/a-row-of-fields) |
|
|
9983
10054
|
| `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` – by hand only necessary without `FormField`.<br>Shown in: [Configurator](#/select/configurator-select), [With an error](#/select/with-an-error) |
|
|
9984
10055
|
| `clearable` | `boolean` | `false` | Shows a × once a selection has been made, which fades in on hover/focus and empties the selection. Requires a controlled field (value) and onClear; sensible for optional selects with a placeholder option.<br>Shown in: [Clear the choice](#/select/clear-the-choice) |
|
|
9985
10056
|
|
|
@@ -10235,7 +10306,7 @@ export default function AssignAnIncident() {
|
|
|
10235
10306
|
| `value` *required* | `T \| null` | — | The chosen value; `null` means none. Always controlled - the field keeps no second state beside the caller's.<br>Shown in: [Configurator](#/combobox/configurator-combobox), [Combobox](#/combobox/pick-a-driver), [States](#/combobox/states) and 5 more |
|
|
10236
10307
|
| `placeholder` | `string` | — | What stands in the empty field.<br>Shown in: [Combobox](#/combobox/pick-a-driver), [States](#/combobox/states), [With an error](#/combobox/with-an-error) and 3 more |
|
|
10237
10308
|
| `size` | `"sm" \| "md"` | the size of a `ControlSizeProvider` around it, else `"md"` | `sm` for a toolbar and dense forms, `md` otherwise.<br>Shown in: [Configurator](#/combobox/configurator-combobox) |
|
|
10238
|
-
| `chars` | `number` | — | The width in characters - room for the typed text and the chosen option; the field adds its own padding, chevron and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is
|
|
10309
|
+
| `chars` | `number` | — | The width in characters - room for the typed text and the chosen option; the field adds its own padding, chevron and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is 20 characters wide where the place asks - in a toolbar or a row. The panel is never narrower than the field.<br>Shown in: [Configurator](#/combobox/configurator-combobox) |
|
|
10239
10310
|
| `disabled` | `boolean` | `false` | Locks field and panel.<br>Shown in: [Configurator](#/combobox/configurator-combobox), [States](#/combobox/states), [Dispatch a tour (Scenarios)](#/scenarios/dispatch-a-tour) |
|
|
10240
10311
|
| `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` - by hand only necessary without `FormField`.<br>Shown in: [Configurator](#/combobox/configurator-combobox), [With an error](#/combobox/with-an-error) |
|
|
10241
10312
|
| `emptyText` | `string` | — | Text shown for an empty search result.<br>Shown in: [States](#/combobox/states) |
|
|
@@ -16314,7 +16385,7 @@ Also takes every attribute of `<div>` – without `children`.
|
|
|
16314
16385
|
|---|---|---|---|
|
|
16315
16386
|
| `tree` *required* | [`Tree`](#type-Tree)`<K, S>` | — | The same tree as the view's. The field does not hold the text itself – it belongs to the tree, because the flattening depends on it.<br>Shown in: [Search with the path](#/treeview/search-with-the-path), [With an error](#/treeview/with-an-error), [Search, check and reveal in a large tree](#/treeview/search-check-and-reveal) |
|
|
16316
16387
|
| `size` | `"sm" \| "md"` | the size of a `ControlSizeProvider` around it, else `"md"` | `sm` for a toolbar and dense forms, `md` otherwise. From `InputProps`.<br>Shown in: [Search with the path](#/treeview/search-with-the-path), [With an error](#/treeview/with-an-error), [Search, check and reveal in a large tree](#/treeview/search-check-and-reveal) and 3 more |
|
|
16317
|
-
| `chars` | `number` | — | The width in characters - room for the value; the field adds its own padding and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is
|
|
16388
|
+
| `chars` | `number` | — | The width in characters - room for the value; the field adds its own padding and cross. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is 20 characters wide where the place asks - in a toolbar or a row. From `InputProps`.<br>Shown in: [Sized to the value (Sizes)](#/sizes/sized-to-the-value), [Narrow places (Sizes)](#/sizes/narrow-places), [Configurator (Input)](#/input/configurator-input) |
|
|
16318
16389
|
| `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` - by hand only necessary without `FormField`. From `InputProps`.<br>Shown in: [With an error](#/treeview/with-an-error), [Configurator (Input)](#/input/configurator-input), [With an error (Input)](#/input/with-an-error) |
|
|
16319
16390
|
| `numeric` | `boolean` | `false` | Right-aligned tabular figures in Geist Mono, e.g. for key figures. From `InputProps`.<br>Shown in: [Configurator (Input)](#/input/configurator-input), [Align reference numbers (Input)](#/input/align-reference-numbers), [Take a delivery address (Input)](#/input/take-a-delivery-address) and 2 more |
|
|
16320
16391
|
| `clearable` | `boolean` | `false` | Shows a gently appearing cross where there is content, which clears the input. Requires a controlled field (value) and onClear. From `InputProps`.<br>Shown in: [A row that holds still (Sizes)](#/sizes/a-row-that-holds-still), [Clear the field (Input)](#/input/clear-the-field) |
|
|
@@ -20455,6 +20526,12 @@ Everything the library puts out as text.
|
|
|
20455
20526
|
| `noAlarmsDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
|
|
20456
20527
|
| `acknowledgeAlarm` *required* | `string` | — | |
|
|
20457
20528
|
| `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
|
|
20529
|
+
| `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. |
|
|
20530
|
+
| `snoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
20531
|
+
| `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`. |
|
|
20532
|
+
| `snoozeReason` *required* | `string` | — | |
|
|
20533
|
+
| `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
|
|
20534
|
+
| `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
20458
20535
|
| `priorityHigh` *required* | `string` | — | |
|
|
20459
20536
|
| `priorityMedium` *required* | `string` | — | |
|
|
20460
20537
|
| `priorityLow` *required* | `string` | — | |
|
|
@@ -20517,11 +20594,12 @@ Everything the library puts out as text.
|
|
|
20517
20594
|
| `scheduleLaneRefused` *required* | `string` | — | On the ghost of a drag over a lane the subtask may not go to. |
|
|
20518
20595
|
| `scheduleBlockedTime` *required* | `string` | — | On the ghost of a drag held back from a lane's blocked time. |
|
|
20519
20596
|
| `scheduleInBlockedTime` *required* | `(label: string \| undefined) => string` | — | "In blocked time (Leave)" - a subtask covering its lane's blocked time, with the blocked time's label where it has one. |
|
|
20597
|
+
| `scheduleMilestone` *required* | `(name: string) => string` | — | "Milestone: Release" - a milestone named by its label (or id), so that the tooltip and the spoken readout say what kind of thing it is. |
|
|
20520
20598
|
| `scheduleFoldGroup` *required* | `string` | — | The chevron of a lane group's header, which folds it into one row and unfolds it again. The group's own label stands beside the button, so the name is what the ACTION is, not which group it acts on. |
|
|
20521
20599
|
| `scheduleUnfoldGroup` *required* | `string` | — | |
|
|
20522
20600
|
| `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
|
|
20523
20601
|
| `scheduleRoleDescription` *required* | `string` | — | What a screen reader calls the plot that takes the keys (`aria-roledescription`, schedule-a11y S1). |
|
|
20524
|
-
| `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. |
|
|
20602
|
+
| `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. |
|
|
20525
20603
|
| `scheduleKeyHelp` *required* | `string` | — | The keys that walk the plot, select and edit - read after the summary. |
|
|
20526
20604
|
| `calculationSumSymbol` *required* | `string` | — | The four operators as symbols in a formula line. |
|
|
20527
20605
|
| `calculationDifferenceSymbol` *required* | `string` | — | |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.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",
|