@umriss-ui/core 0.30.0 → 0.31.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 +25 -0
- package/dist/core.css +1 -1
- package/dist/core.js +1581 -1576
- package/dist/de.d.ts +10 -0
- package/dist/index.d.ts +18 -7
- package/dist/wording/de.js +8 -3
- package/docs/llms-full.md +85 -13
- package/package.json +1 -1
package/dist/de.d.ts
CHANGED
|
@@ -394,6 +394,13 @@ 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
|
+
/** Ends the snooze of the ticked alarms before its time. */
|
|
402
|
+
unsnoozeAlarm: string;
|
|
403
|
+
unsnoozeAlarms: (count: number) => string;
|
|
397
404
|
priorityHigh: string;
|
|
398
405
|
priorityMedium: string;
|
|
399
406
|
priorityLow: string;
|
|
@@ -503,6 +510,9 @@ declare interface Wording {
|
|
|
503
510
|
/** "In blocked time (Leave)" - a subtask covering its lane's blocked time,
|
|
504
511
|
with the blocked time's label where it has one. */
|
|
505
512
|
scheduleInBlockedTime: (label: string | undefined) => string;
|
|
513
|
+
/** "Milestone: Release" - a milestone named by its label (or id), so that
|
|
514
|
+
the tooltip and the spoken readout say what kind of thing it is. */
|
|
515
|
+
scheduleMilestone: (name: string) => string;
|
|
506
516
|
/** The chevron of a lane group's header, which folds it into one row and
|
|
507
517
|
unfolds it again. The group's own label stands beside the button, so the
|
|
508
518
|
name is what the ACTION is, not which group it acts on. */
|
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,13 @@ 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
|
+
/** Ends the snooze of the ticked alarms before its time. */
|
|
3129
|
+
unsnoozeAlarm: string;
|
|
3130
|
+
unsnoozeAlarms: (count: number) => string;
|
|
3123
3131
|
priorityHigh: string;
|
|
3124
3132
|
priorityMedium: string;
|
|
3125
3133
|
priorityLow: string;
|
|
@@ -3229,6 +3237,9 @@ export declare interface Wording {
|
|
|
3229
3237
|
/** "In blocked time (Leave)" - a subtask covering its lane's blocked time,
|
|
3230
3238
|
with the blocked time's label where it has one. */
|
|
3231
3239
|
scheduleInBlockedTime: (label: string | undefined) => string;
|
|
3240
|
+
/** "Milestone: Release" - a milestone named by its label (or id), so that
|
|
3241
|
+
the tooltip and the spoken readout say what kind of thing it is. */
|
|
3242
|
+
scheduleMilestone: (name: string) => string;
|
|
3232
3243
|
/** The chevron of a lane group's header, which folds it into one row and
|
|
3233
3244
|
unfolds it again. The group's own label stands beside the button, so the
|
|
3234
3245
|
name is what the ACTION is, not which group it acts on. */
|
package/dist/wording/de.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as o } from "../formats-DrB9TuzO.js";
|
|
2
|
-
const
|
|
2
|
+
const s = o("de-DE"), c = {
|
|
3
3
|
clearInput: "Eingabe leeren",
|
|
4
4
|
clearSelection: "Auswahl leeren",
|
|
5
5
|
decreaseValue: "Wert verringern",
|
|
@@ -211,6 +211,10 @@ 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
|
+
unsnoozeAlarm: "Zurückstellung aufheben",
|
|
217
|
+
unsnoozeAlarms: (e) => e === 1 ? "Zurückstellung von 1 Meldung aufheben" : `Zurückstellung von ${e} Meldungen aufheben`,
|
|
214
218
|
priorityHigh: "Hoch",
|
|
215
219
|
priorityMedium: "Mittel",
|
|
216
220
|
priorityLow: "Niedrig",
|
|
@@ -273,6 +277,7 @@ const c = o("de-DE"), d = {
|
|
|
273
277
|
scheduleLaneRefused: "Nicht hierher",
|
|
274
278
|
scheduleBlockedTime: "Sperrzeit",
|
|
275
279
|
scheduleInBlockedTime: (e) => e === void 0 ? "In der Sperrzeit" : `In der Sperrzeit (${e})`,
|
|
280
|
+
scheduleMilestone: (e) => `Meilenstein: ${e}`,
|
|
276
281
|
scheduleFoldGroup: "Gruppe einklappen",
|
|
277
282
|
scheduleUnfoldGroup: "Gruppe ausklappen",
|
|
278
283
|
scheduleLaneCount: (e) => e === 1 ? "1 Bahn" : `${e} Bahnen`,
|
|
@@ -304,6 +309,6 @@ const c = o("de-DE"), d = {
|
|
|
304
309
|
calculationNoOperands: "keine Einträge"
|
|
305
310
|
};
|
|
306
311
|
export {
|
|
307
|
-
|
|
308
|
-
|
|
312
|
+
s as GERMAN_FORMATS,
|
|
313
|
+
c as GERMAN_WORDING
|
|
309
314
|
};
|
package/docs/llms-full.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @umriss-ui/core 0.
|
|
1
|
+
# @umriss-ui/core 0.31.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,10 @@ 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
|
+
| `unsnoozeAlarm` | Unsnooze | Zurückstellung aufheben | Ends the snooze of the ticked alarms before its time. |
|
|
4027
|
+
| `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
4028
|
| `priorityHigh` | High | Hoch | — |
|
|
3970
4029
|
| `priorityMedium` | Medium | Mittel | — |
|
|
3971
4030
|
| `priorityLow` | Low | Niedrig | — |
|
|
@@ -4038,6 +4097,7 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
|
|
|
4038
4097
|
| `scheduleLaneRefused` | Not this lane | Nicht hierher | On the ghost of a drag over a lane the subtask may not go to. |
|
|
4039
4098
|
| `scheduleBlockedTime` | Blocked time | Sperrzeit | On the ghost of a drag held back from a lane's blocked time. |
|
|
4040
4099
|
| `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. |
|
|
4100
|
+
| `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
4101
|
| `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
4102
|
| `scheduleUnfoldGroup` | Unfold group | Gruppe ausklappen | — |
|
|
4043
4103
|
| `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. |
|
|
@@ -4084,10 +4144,12 @@ Every entry of `ChartsWording` from `@umriss-ui/charts`, which a chart takes thr
|
|
|
4084
4144
|
| `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
4145
|
| `visibleRange(from, to)` | `` `From ${from} to ${to}.` `` | `` `Von ${from} bis ${to}.` `` | The summary's visible stretch of the x axis, both ends formatted. |
|
|
4086
4146
|
| `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. |
|
|
4147
|
+
| `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
4148
|
| `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
4149
|
| `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
4150
|
| `percent(value)` | `` `${value}%` `` | `` `${value} %` `` | A share in a normalised stack, its number already formatted (K5). |
|
|
4090
4151
|
| `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. |
|
|
4152
|
+
| `selectHelp` | Enter chooses the point. | Enter wählt den Punkt. | The key that reports the Active point - only where `onSelect` is given. |
|
|
4091
4153
|
| `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
4154
|
| `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
4155
|
| `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 +4433,10 @@ Everything the library puts out as text.
|
|
|
4371
4433
|
| `noAlarmsDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
|
|
4372
4434
|
| `acknowledgeAlarm` *required* | `string` | — | |
|
|
4373
4435
|
| `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
|
|
4436
|
+
| `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
|
+
| `snoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
4438
|
+
| `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
|
|
4439
|
+
| `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
4374
4440
|
| `priorityHigh` *required* | `string` | — | |
|
|
4375
4441
|
| `priorityMedium` *required* | `string` | — | |
|
|
4376
4442
|
| `priorityLow` *required* | `string` | — | |
|
|
@@ -4433,6 +4499,7 @@ Everything the library puts out as text.
|
|
|
4433
4499
|
| `scheduleLaneRefused` *required* | `string` | — | On the ghost of a drag over a lane the subtask may not go to. |
|
|
4434
4500
|
| `scheduleBlockedTime` *required* | `string` | — | On the ghost of a drag held back from a lane's blocked time. |
|
|
4435
4501
|
| `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. |
|
|
4502
|
+
| `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
4503
|
| `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
4504
|
| `scheduleUnfoldGroup` *required* | `string` | — | |
|
|
4438
4505
|
| `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
|
|
@@ -4773,7 +4840,7 @@ The keys of [Button](#/button/keyboard-button) apply here.
|
|
|
4773
4840
|
| Prop | Type | Default | Description |
|
|
4774
4841
|
|---|---|---|---|
|
|
4775
4842
|
| `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
|
|
4843
|
+
| `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
4844
|
| `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
4845
|
| `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
4846
|
| `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 +4851,9 @@ Also takes every attribute of `<div>`.
|
|
|
4784
4851
|
|
|
4785
4852
|
| Prop | Type | Default | Description |
|
|
4786
4853
|
|---|---|---|---|
|
|
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
|
|
4854
|
+
| `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
4855
|
| `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
|
|
4856
|
+
| `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
4857
|
|
|
4791
4858
|
Also takes every attribute of `<div>`.
|
|
4792
4859
|
|
|
@@ -6397,9 +6464,9 @@ export default function IncidentSummary() {
|
|
|
6397
6464
|
| Prop | Type | Default | Description |
|
|
6398
6465
|
|---|---|---|---|
|
|
6399
6466
|
| `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
|
|
6467
|
+
| `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
6468
|
| `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
|
|
6469
|
+
| `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
6470
|
| `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
6471
|
| `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
6472
|
| `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 +7983,7 @@ export default function TakeADeliveryAddress() {
|
|
|
7916
7983
|
| Prop | Type | Default | Description |
|
|
7917
7984
|
|---|---|---|---|
|
|
7918
7985
|
| `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
|
|
7986
|
+
| `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
7987
|
| `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
7988
|
| `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
7989
|
| `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 +10046,7 @@ export default function ClearTheChoice() {
|
|
|
9979
10046
|
| Prop | Type | Default | Description |
|
|
9980
10047
|
|---|---|---|---|
|
|
9981
10048
|
| `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
|
|
10049
|
+
| `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
10050
|
| `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
10051
|
| `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
10052
|
|
|
@@ -10235,7 +10302,7 @@ export default function AssignAnIncident() {
|
|
|
10235
10302
|
| `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
10303
|
| `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
10304
|
| `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
|
|
10305
|
+
| `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
10306
|
| `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
10307
|
| `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
10308
|
| `emptyText` | `string` | — | Text shown for an empty search result.<br>Shown in: [States](#/combobox/states) |
|
|
@@ -16314,7 +16381,7 @@ Also takes every attribute of `<div>` – without `children`.
|
|
|
16314
16381
|
|---|---|---|---|
|
|
16315
16382
|
| `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
16383
|
| `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
|
|
16384
|
+
| `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
16385
|
| `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
16386
|
| `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
16387
|
| `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 +20522,10 @@ Everything the library puts out as text.
|
|
|
20455
20522
|
| `noAlarmsDisconnected` *required* | `string` | — | Empty, but the line is down - that is something other than quiet. |
|
|
20456
20523
|
| `acknowledgeAlarm` *required* | `string` | — | |
|
|
20457
20524
|
| `acknowledgeAlarms` *required* | `(count: number) => string` | — | Bulk acknowledgement; the number stands in the text on purpose. |
|
|
20525
|
+
| `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
|
+
| `snoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
20527
|
+
| `unsnoozeAlarm` *required* | `string` | — | Ends the snooze of the ticked alarms before its time. |
|
|
20528
|
+
| `unsnoozeAlarms` *required* | `(count: number) => string` | — | |
|
|
20458
20529
|
| `priorityHigh` *required* | `string` | — | |
|
|
20459
20530
|
| `priorityMedium` *required* | `string` | — | |
|
|
20460
20531
|
| `priorityLow` *required* | `string` | — | |
|
|
@@ -20517,6 +20588,7 @@ Everything the library puts out as text.
|
|
|
20517
20588
|
| `scheduleLaneRefused` *required* | `string` | — | On the ghost of a drag over a lane the subtask may not go to. |
|
|
20518
20589
|
| `scheduleBlockedTime` *required* | `string` | — | On the ghost of a drag held back from a lane's blocked time. |
|
|
20519
20590
|
| `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. |
|
|
20591
|
+
| `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
20592
|
| `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
20593
|
| `scheduleUnfoldGroup` *required* | `string` | — | |
|
|
20522
20594
|
| `scheduleLaneCount` *required* | `(count: number) => string` | — | How many lanes a group holds, beside its name in the header. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.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",
|