@umriss-ui/core 0.49.0 → 0.50.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 +17 -0
- package/dist/core.js +3420 -3376
- package/dist/de.d.ts +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/wording/de.js +1 -0
- package/docs/llms-full.md +155 -81
- package/package.json +2 -2
package/docs/llms-full.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @umriss-ui/core 0.
|
|
1
|
+
# @umriss-ui/core 0.50.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
|
|
|
@@ -2727,7 +2727,7 @@ From `ButtonProps` — the full table stands on [Button](#button).
|
|
|
2727
2727
|
- No font is loaded or bundled.
|
|
2728
2728
|
- Chrome 123, Firefox 120 and Safari 17.5 or newer; an older browser discards the tokens and shows the components unstyled.
|
|
2729
2729
|
|
|
2730
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
2730
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
2731
2731
|
|
|
2732
2732
|
### UmrissProvider
|
|
2733
2733
|
|
|
@@ -2938,7 +2938,7 @@ type ToastPosition = "top-start" | "top-center" | "top-end" | "bottom-start" | "
|
|
|
2938
2938
|
|
|
2939
2939
|
- No theme and no default variants for components: a component is configured by its own props.
|
|
2940
2940
|
|
|
2941
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
2941
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
2942
2942
|
|
|
2943
2943
|
## Customising
|
|
2944
2944
|
|
|
@@ -3427,7 +3427,7 @@ From `BadgeProps` — the full table stands on [Badge](#badge).
|
|
|
3427
3427
|
- A token that names another resolves where it is declared: set `--u-color-accent` on a region, and `--u-focus-ring`, which names it on `:root`, still draws the application's accent there. Set the naming token in the region too.
|
|
3428
3428
|
- A panel opened in a portal - a popover, a tooltip, a toast - takes the tokens and the `color-scheme` of the place it lands, not of the region it was opened from; inside a dialog the toasts take the tokens of the dialog's place. Give [UmrissProvider](#umrissprovider) a `portalTarget` inside the region, or override on `:root` - as for the toasts' distance from the window's edge and its sides, `--u-toast-inset-top`, `--u-toast-inset-bottom`, `--u-toast-inset-start` and `--u-toast-inset-end`.
|
|
3429
3429
|
|
|
3430
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
3430
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
3431
3431
|
|
|
3432
3432
|
### Sizes
|
|
3433
3433
|
|
|
@@ -3845,7 +3845,7 @@ type ControlSize = "sm" | "md";
|
|
|
3845
3845
|
- A field does not grow to fill a row: give it room with the row's own layout (`flex: 1` on its FormField, or a grid).
|
|
3846
3846
|
- A place that sizes itself by its content and has no width to stop at - an `auto` grid track, an inline block, a row that does not wrap - gives a field at least its natural width, as it gives a native input its own; on a narrow screen let such a row wrap, or size the track with `minmax(0, auto)`.
|
|
3847
3847
|
|
|
3848
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
3848
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
3849
3849
|
|
|
3850
3850
|
### Language
|
|
3851
3851
|
|
|
@@ -4098,6 +4098,55 @@ export default function OwnComponents() {
|
|
|
4098
4098
|
}
|
|
4099
4099
|
```
|
|
4100
4100
|
|
|
4101
|
+
##### A third language, notation first
|
|
4102
|
+
|
|
4103
|
+
[`formatsFor`](#api-index-1) builds the notation of any locale the runtime knows: Swiss French dates and numbers, and a week that starts on Sunday where your users' calendars do. The words stay English until you hand over a `Wording` of your own.
|
|
4104
|
+
|
|
4105
|
+
```tsx
|
|
4106
|
+
import { useState } from "react";
|
|
4107
|
+
import { DatePicker, FormField, Grid, LanguageProvider, NumberInput, Stack, Text, formatsFor } from "@umriss-ui/core";
|
|
4108
|
+
|
|
4109
|
+
/* Outside the component, so the provider does not rebuild on every render.
|
|
4110
|
+
`weekStart` is ISO-numbered: 7 is Sunday. */
|
|
4111
|
+
const SWISS_FRENCH = { ...formatsFor("fr-CH"), weekStart: 7 };
|
|
4112
|
+
|
|
4113
|
+
function Surface() {
|
|
4114
|
+
const [date, setDate] = useState<Date | null>(new Date(2026, 2, 18));
|
|
4115
|
+
const [weight, setWeight] = useState<number | null>(1284.5);
|
|
4116
|
+
return (
|
|
4117
|
+
<Stack gap={3}>
|
|
4118
|
+
<FormField label="Delivery date">
|
|
4119
|
+
<DatePicker value={date} onChange={setDate} />
|
|
4120
|
+
</FormField>
|
|
4121
|
+
<FormField label="Weight">
|
|
4122
|
+
<NumberInput value={weight} onChange={setWeight} decimals={1} suffix="kg" />
|
|
4123
|
+
</FormField>
|
|
4124
|
+
</Stack>
|
|
4125
|
+
);
|
|
4126
|
+
}
|
|
4127
|
+
|
|
4128
|
+
export default function ThirdLanguage() {
|
|
4129
|
+
return (
|
|
4130
|
+
<Grid minItemWidth="240px" gap={5}>
|
|
4131
|
+
<Stack gap={2}>
|
|
4132
|
+
<Text size="xs" tone="muted">
|
|
4133
|
+
Without a provider
|
|
4134
|
+
</Text>
|
|
4135
|
+
<Surface />
|
|
4136
|
+
</Stack>
|
|
4137
|
+
<Stack gap={2}>
|
|
4138
|
+
<Text size="xs" tone="muted">
|
|
4139
|
+
formatsFor("fr-CH"), weekStart 7
|
|
4140
|
+
</Text>
|
|
4141
|
+
<LanguageProvider formats={SWISS_FRENCH}>
|
|
4142
|
+
<Surface />
|
|
4143
|
+
</LanguageProvider>
|
|
4144
|
+
</Stack>
|
|
4145
|
+
</Grid>
|
|
4146
|
+
);
|
|
4147
|
+
}
|
|
4148
|
+
```
|
|
4149
|
+
|
|
4101
4150
|
#### Wording
|
|
4102
4151
|
|
|
4103
4152
|
Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of `GERMAN_WORDING`. A function entry receives the parameters its key names and returns the sentence beside it. Override any entry by its key; a `presets` entry inside `presets`.
|
|
@@ -4390,6 +4439,7 @@ Every entry of `Wording`: the English of `DEFAULT_WORDING` beside the German of
|
|
|
4390
4439
|
| `dropFiles` | or drop them here | oder hier ablegen | — |
|
|
4391
4440
|
| `removeFile(name)` | `` `Remove ${name}` `` | `` `${name} entfernen` `` | The cross beside a chosen file. |
|
|
4392
4441
|
| `fileNotAccepted(name)` | `` `${name} is not an accepted type` `` | `` `${name} ist kein zugelassener Dateityp` `` | A dropped file the input's `accept` does not take. |
|
|
4442
|
+
| `numberRefused` | Only digits and the decimal separator | Nur Ziffern und das Dezimaltrennzeichen | A NumberInput refusing a character it cannot read. |
|
|
4393
4443
|
| `show` | Show | Einblenden | — |
|
|
4394
4444
|
| `hide` | Hide | Ausblenden | — |
|
|
4395
4445
|
| `moreActions` | More actions | Weitere Aktionen | — |
|
|
@@ -4654,7 +4704,7 @@ The keys of [Button](#button), [NumberInput](#numberinput), [Combobox](#combobox
|
|
|
4654
4704
|
|
|
4655
4705
|
| Prop | Type | Default | Description |
|
|
4656
4706
|
|---|---|---|---|
|
|
4657
|
-
| `formats` | `Partial<``Formats``>` | — | How numbers, dates and durations are written. Overridden entry by entry; what is left out keeps writing as `DEFAULT_FORMATS` does - in English notation, whatever the wording says ([ADR-0024](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0024-the-formats-are-english-german-is-freight.md)).<br>Shown in: [German](#language), [English and German side by side](#language), [Write numbers in your own notation](#language) and
|
|
4707
|
+
| `formats` | `Partial<``Formats``>` | — | How numbers, dates and durations are written. Overridden entry by entry; what is left out keeps writing as `DEFAULT_FORMATS` does - in English notation, whatever the wording says ([ADR-0024](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0024-the-formats-are-english-german-is-freight.md)).<br>Shown in: [German](#language), [English and German side by side](#language), [Write numbers in your own notation](#language) and 4 more |
|
|
4658
4708
|
| `wording` | `Partial<Omit<``Wording``, "presets">> & { presets?: Partial<``Wording``["presets"]> }` | — | The presets are a register of their own and are likewise overridden entry by entry.<br>Shown in: [German](#language), [English and German side by side](#language), [Replace single entries](#language) and 2 more |
|
|
4659
4709
|
|
|
4660
4710
|
##### Types on this page
|
|
@@ -4932,6 +4982,7 @@ Everything the library puts out as text.
|
|
|
4932
4982
|
| `dropFiles` *required* | `string` | — | |
|
|
4933
4983
|
| `removeFile` *required* | `(name: string) => string` | — | The cross beside a chosen file. |
|
|
4934
4984
|
| `fileNotAccepted` *required* | `(name: string) => string` | — | A dropped file the input's `accept` does not take. |
|
|
4985
|
+
| `numberRefused` *required* | `string` | — | A NumberInput refusing a character it cannot read. |
|
|
4935
4986
|
| `show` *required* | `string` | — | |
|
|
4936
4987
|
| `hide` *required* | `string` | — | |
|
|
4937
4988
|
| `moreActions` *required* | `string` | — | |
|
|
@@ -5091,10 +5142,10 @@ Everything the library puts out as text.
|
|
|
5091
5142
|
|
|
5092
5143
|
#### Known limits
|
|
5093
5144
|
|
|
5094
|
-
- Two languages ship; a third is a `Wording` object of your own. No right-to-left ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
5145
|
+
- Two languages ship; a third is a `Wording` object of your own. No right-to-left ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md)).
|
|
5095
5146
|
- It holds only what the components say themselves; your labels, titles and data are yours to translate.
|
|
5096
5147
|
|
|
5097
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
5148
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
5098
5149
|
|
|
5099
5150
|
## Layout
|
|
5100
5151
|
|
|
@@ -5397,7 +5448,7 @@ The keys of [Button](#button) apply here.
|
|
|
5397
5448
|
| Prop | Type | Default | Description |
|
|
5398
5449
|
|---|---|---|---|
|
|
5399
5450
|
| `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), [Gaps](#stack-and-grid), [Wrapping](#stack-and-grid) and 71 more |
|
|
5400
|
-
| `gap` | `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 row](#stack-and-grid), [Gaps](#stack-and-grid) and
|
|
5451
|
+
| `gap` | `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 row](#stack-and-grid), [Gaps](#stack-and-grid) and 176 more |
|
|
5401
5452
|
| `align` | `CSSProperties["alignItems"]` | — | Alignment across the direction – `alignItems` unchanged.<br>Shown in: [A row](#stack-and-grid), [Gaps](#stack-and-grid), [A tour summary](#stack-and-grid) and 81 more |
|
|
5402
5453
|
| `justify` | `CSSProperties["justifyContent"]` | — | Distribution along the direction – `justifyContent` unchanged.<br>Shown in: [A row](#stack-and-grid), [A tour summary](#stack-and-grid), [Name the same action in every row (VisuallyHidden)](#visuallyhidden) and 9 more |
|
|
5403
5454
|
| `wrap` | `boolean` | `false` | Lets the children wrap when the line does not suffice.<br>Shown in: [Gaps](#stack-and-grid), [Wrapping](#stack-and-grid), [Sized to the value (Sizes)](#sizes) and 33 more |
|
|
@@ -5410,8 +5461,8 @@ Also takes every attribute of `<div>`.
|
|
|
5410
5461
|
| Prop | Type | Default | Description |
|
|
5411
5462
|
|---|---|---|---|
|
|
5412
5463
|
| `columns` | `number \| readonly ``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), [Columns of their own widths](#stack-and-grid), [A token for one region (Theming)](#theming) and 5 more |
|
|
5413
|
-
| `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), [A tour summary](#stack-and-grid), [A dark region (Theming)](#theming) and
|
|
5414
|
-
| `gap` | `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), [Columns by width](#stack-and-grid), [Columns of their own widths](#stack-and-grid) and
|
|
5464
|
+
| `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), [A tour summary](#stack-and-grid), [A dark region (Theming)](#theming) and 53 more |
|
|
5465
|
+
| `gap` | `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), [Columns by width](#stack-and-grid), [Columns of their own widths](#stack-and-grid) and 60 more |
|
|
5415
5466
|
| `ref` | `Ref<HTMLDivElement> \| undefined` | — | Receives the component's root element. From `RefProp`.<br>Shown in: [A row that holds still (Sizes)](#sizes), [Check an invoice on submit (FormField)](#formfield), [An anchored surface (Popover)](#popover) and 5 more |
|
|
5416
5467
|
|
|
5417
5468
|
Also takes every attribute of `<div>`.
|
|
@@ -5441,7 +5492,7 @@ type GridColumnWidth = number | "fill";
|
|
|
5441
5492
|
- No breakpoints and no responsive props: a grid follows the width through `minItemWidth`, anything else is your stylesheet's.
|
|
5442
5493
|
- Tiles are not arranged by the user: for a dashboard the reader arranges, see `@umriss-ui/dashboard` ([ADR-0064](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0064-a-dashboard-a-user-arranges-is-a-sequence-on-fixed-columns.md)).
|
|
5443
5494
|
|
|
5444
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
5495
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
5445
5496
|
|
|
5446
5497
|
### Divider
|
|
5447
5498
|
|
|
@@ -6266,7 +6317,7 @@ Also takes every attribute of `<div>` – without `children`, `defaultValue`, `o
|
|
|
6266
6317
|
- Two panes per splitter, no more. Tiles are not arranged by the user: for a dashboard the reader arranges, see `@umriss-ui/dashboard` ([ADR-0064](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0064-a-dashboard-a-user-arranges-is-a-sequence-on-fixed-columns.md)).
|
|
6267
6318
|
- It does not remember the share beyond its own life; keep it in the user's settings through `value` and `onChange`.
|
|
6268
6319
|
|
|
6269
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
6320
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
6270
6321
|
|
|
6271
6322
|
## Typography
|
|
6272
6323
|
|
|
@@ -6624,9 +6675,9 @@ export default function IncidentSummary() {
|
|
|
6624
6675
|
| Prop | Type | Default | Description |
|
|
6625
6676
|
|---|---|---|---|
|
|
6626
6677
|
| `as` | `ElementType` | `"p"` | Element to render as.<br>Shown in: [Tones and weights](#typography-2), [Set an incident summary](#typography-2), [Use the language in your own components (Language)](#language) and 20 more |
|
|
6627
|
-
| `size` | `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-2), [Sizes](#typography-2), [Tones and weights](#typography-2) and
|
|
6678
|
+
| `size` | `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-2), [Sizes](#typography-2), [Tones and weights](#typography-2) and 138 more |
|
|
6628
6679
|
| `weight` | `TextWeight`<br>`"regular" \| "medium" \| "semibold"` | `"regular"` | Font weight from the token set.<br>Shown in: [Configurator](#typography-2), [Tones and weights](#typography-2), [Tracking and leading](#typography-2) and 18 more |
|
|
6629
|
-
| `tone` | `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-2), [Tones and weights](#typography-2), [Tracking and leading](#typography-2) and
|
|
6680
|
+
| `tone` | `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-2), [Tones and weights](#typography-2), [Tracking and leading](#typography-2) and 100 more |
|
|
6630
6681
|
| `mono` | `boolean` | `false` | Geist Mono with tabular figures – for numbers and identifiers.<br>Shown in: [Configurator](#typography-2), [Numbers and identifiers](#typography-2), [Handle long values](#typography-2) and 34 more |
|
|
6631
6682
|
| `tracking` | `TextTracking`<br>`"normal" \| "tight" \| "display" \| "caps"` | `"normal"` | Letter spacing from the token set. `caps` belongs with letterspaced capitals.<br>Shown in: [Configurator](#typography-2), [Tracking and leading](#typography-2), [Set an incident summary](#typography-2) |
|
|
6632
6683
|
| `leading` | `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-2), [Tracking and leading](#typography-2) |
|
|
@@ -6702,10 +6753,10 @@ type TextLeading = "normal" | "tight";
|
|
|
6702
6753
|
#### Known limits
|
|
6703
6754
|
|
|
6704
6755
|
- No truncation and no line length: both depend on the column, which only the application knows.
|
|
6705
|
-
- No prose styles for lists, quotes or rich text ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
6756
|
+
- No prose styles for lists, quotes or rich text ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md)).
|
|
6706
6757
|
- `Link` renders a plain `a` and knows no router; pass it the address your router resolves.
|
|
6707
6758
|
|
|
6708
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
6759
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
6709
6760
|
|
|
6710
6761
|
### VisuallyHidden
|
|
6711
6762
|
|
|
@@ -6829,7 +6880,7 @@ Also takes every attribute of the chosen element – without `as`, `ref`.
|
|
|
6829
6880
|
|
|
6830
6881
|
- It hides from the eye only; to hide something from everyone, do not render it.
|
|
6831
6882
|
|
|
6832
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
6883
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
6833
6884
|
|
|
6834
6885
|
## Actions
|
|
6835
6886
|
|
|
@@ -7158,7 +7209,7 @@ type ControlSize = "sm" | "md";
|
|
|
7158
7209
|
- The label stays on one line; keep it short rather than let it wrap.
|
|
7159
7210
|
- No icon slot: an icon goes among the children, before the label, and the button sets its size.
|
|
7160
7211
|
|
|
7161
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
7212
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
7162
7213
|
|
|
7163
7214
|
### IconButton
|
|
7164
7215
|
|
|
@@ -7515,7 +7566,7 @@ type ControlSize = "sm" | "md";
|
|
|
7515
7566
|
- The tooltip always shows the name; a hint that says more than the name is a `Tooltip` around a `Button`.
|
|
7516
7567
|
- A touch screen shows no tooltip: choose icons whose meaning is common, or a `Button` with a label.
|
|
7517
7568
|
|
|
7518
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
7569
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
7519
7570
|
|
|
7520
7571
|
### ButtonGroup
|
|
7521
7572
|
|
|
@@ -7875,7 +7926,7 @@ type ControlSize = "sm" | "md";
|
|
|
7875
7926
|
|
|
7876
7927
|
- No toggle or segmented state; a choice that stays is a radio group.
|
|
7877
7928
|
|
|
7878
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
7929
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
7879
7930
|
|
|
7880
7931
|
## Forms
|
|
7881
7932
|
|
|
@@ -8195,7 +8246,7 @@ Also takes every attribute of `<input>` – without `size`.
|
|
|
8195
8246
|
- No input masks or formatting while typing; check the value on leave or on submit.
|
|
8196
8247
|
- No validation of its own: the error is the application's, handed to the `FormField`.
|
|
8197
8248
|
|
|
8198
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
8249
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
8199
8250
|
|
|
8200
8251
|
### FormField
|
|
8201
8252
|
|
|
@@ -8446,7 +8497,7 @@ The keys of [Input](#input), [NumberInput](#numberinput), [Checkbox](#checkbox),
|
|
|
8446
8497
|
|
|
8447
8498
|
| Prop | Type | Default | Description |
|
|
8448
8499
|
|---|---|---|---|
|
|
8449
|
-
| `label` *required* | `ReactNode` | — | The label of the field. It is mandatory: a field without a name is a field without a question for a screen reader.<br>Shown in: [Configurator](#formfield), [Label and hint](#formfield), [Show an error](#formfield) and
|
|
8500
|
+
| `label` *required* | `ReactNode` | — | The label of the field. It is mandatory: a field without a name is a field without a question for a screen reader.<br>Shown in: [Configurator](#formfield), [Label and hint](#formfield), [Show an error](#formfield) and 91 more |
|
|
8450
8501
|
| `hint` | `ReactNode` | — | Help text below the field. Replaced by `error`.<br>Shown in: [Configurator](#formfield), [Label and hint](#formfield), [Show an error](#formfield) and 37 more |
|
|
8451
8502
|
| `error` | `ReactNode` | — | Error message; it marks the field as invalid at the same time.<br>Shown in: [Configurator](#formfield), [Show an error](#formfield), [Check an invoice on submit](#formfield) and 23 more |
|
|
8452
8503
|
| `required` | `boolean` | `false` | Sets the required mark on the label and `aria-required` on the field - on Input, Select, Textarea, NumberInput, Combobox, RadioGroup and Checkbox. The triggers of the pickers and of the MultiSelect are buttons, on which `aria-required` is not a permitted attribute; there the mark carries it alone. It validates nothing - validation belongs to the caller ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).<br>Shown in: [Configurator](#formfield), [Mark a field as required](#formfield), [Check an invoice on submit](#formfield) and 10 more |
|
|
@@ -8461,7 +8512,7 @@ Also takes every attribute of `<div>`.
|
|
|
8461
8512
|
- No validation: the caller's form library decides; pass `error` ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)). No form state and no submit handling either.
|
|
8462
8513
|
- One field per `FormField`; a group of fields that share one label is a fieldset of your own.
|
|
8463
8514
|
|
|
8464
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
8515
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
8465
8516
|
|
|
8466
8517
|
### Textarea
|
|
8467
8518
|
|
|
@@ -8649,7 +8700,7 @@ Also takes every attribute of `<textarea>` – without `cols`.
|
|
|
8649
8700
|
|
|
8650
8701
|
- Plain text only: no formatting, mentions or rich text.
|
|
8651
8702
|
|
|
8652
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
8703
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
8653
8704
|
|
|
8654
8705
|
### NumberInput
|
|
8655
8706
|
|
|
@@ -8885,14 +8936,14 @@ export default function YearWithoutGrouping() {
|
|
|
8885
8936
|
|
|
8886
8937
|
| Prop | Type | Default | Description |
|
|
8887
8938
|
|---|---|---|---|
|
|
8888
|
-
| `value` *required* | `number \| null` | — | The number, or `null` for "not stated". An empty field is not zero: a quantity that was not measured is not a quantity of zero.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and
|
|
8939
|
+
| `value` *required* | `number \| null` | — | The number, or `null` for "not stated". An empty field is not zero: a quantity that was not measured is not a quantity of zero.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and 16 more |
|
|
8889
8940
|
| `min` | `number` | — | Lower bound. Every reported value is clamped; the text in the field follows on leaving.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and 12 more |
|
|
8890
8941
|
| `max` | `number` | — | Upper bound. Every reported value is clamped; the text in the field follows on leaving.<br>Shown in: [Configurator](#numberinput), [Units and decimals](#numberinput), [Keep a value in range](#numberinput) and 6 more |
|
|
8891
8942
|
| `step` | `number` | `1` | Step size for the arrow keys; Shift multiplies it by ten.<br>Shown in: [Configurator](#numberinput), [Units and decimals](#numberinput), [Keep a value in range](#numberinput) and 3 more |
|
|
8892
|
-
| `decimals` | `number` | — | Fixed decimal places; 0 = whole numbers, undefined = free.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and
|
|
8943
|
+
| `decimals` | `number` | — | Fixed decimal places; 0 = whole numbers, undefined = free.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and 13 more |
|
|
8893
8944
|
| `grouping` | `boolean` | `true` | Group separators in the text: `false` writes none ("2024"), and the field still reads what it writes.<br>Shown in: [A year without grouping](#numberinput) |
|
|
8894
8945
|
| `prefix` | `ReactNode` | — | Adornment before the number, e.g. "±".<br>Shown in: [Units and decimals](#numberinput) |
|
|
8895
|
-
| `suffix` | `ReactNode` | — | Adornment after the number, e.g. "€" or "%".<br>Shown in: [Number field](#numberinput), [Units and decimals](#numberinput), [States](#numberinput) and
|
|
8946
|
+
| `suffix` | `ReactNode` | — | Adornment after the number, e.g. "€" or "%".<br>Shown in: [Number field](#numberinput), [Units and decimals](#numberinput), [States](#numberinput) and 10 more |
|
|
8896
8947
|
| `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](#numberinput), [States](#numberinput), [Set up a team (Scenarios)](#set-up-a-team) |
|
|
8897
8948
|
| `chars` | `number` | — | The width in characters - room for the number; the field adds its own padding and steppers, and the room for a `prefix` and `suffix` given as text. Given, the field is that wide wherever it stands, and never wider than its place. Without it the field fills its place, and is 10 characters wide where the place asks - in a toolbar or a row.<br>Shown in: [Configurator](#numberinput), [Sized to the value (Sizes)](#sizes) |
|
|
8898
8949
|
| `invalid` | `boolean` | — | Marks the field as invalid. `FormField` sets it itself as soon as it carries an `error` – by hand only needed without `FormField`.<br>Shown in: [Configurator](#numberinput), [With an error](#numberinput) |
|
|
@@ -8902,7 +8953,7 @@ export default function YearWithoutGrouping() {
|
|
|
8902
8953
|
|
|
8903
8954
|
| Prop | Type | Default | Description |
|
|
8904
8955
|
|---|---|---|---|
|
|
8905
|
-
| `onChange` *required* | `(value: number \| null) => void` | — | Runs on every valid input, with `null` for the emptied field – and always clamped: what goes out lies between `min` and `max`, by every route, while typing included. Only the text in the field may still stand outside while typing; on leaving it is set to the clamped value.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and
|
|
8956
|
+
| `onChange` *required* | `(value: number \| null) => void` | — | Runs on every valid input, with `null` for the emptied field – and always clamped: what goes out lies between `min` and `max`, by every route, while typing included. Only the text in the field may still stand outside while typing; on leaving it is set to the clamped value.<br>Shown in: [Configurator](#numberinput), [Number field](#numberinput), [Units and decimals](#numberinput) and 16 more |
|
|
8906
8957
|
|
|
8907
8958
|
Also takes every attribute of `<input>` – without `onChange`, `prefix`, `size`, `type`, `value`.
|
|
8908
8959
|
|
|
@@ -8911,7 +8962,7 @@ Also takes every attribute of `<input>` – without `onChange`, `prefix`, `size`
|
|
|
8911
8962
|
- No expressions: “12*4” is not calculated.
|
|
8912
8963
|
- No currency conversion; the unit is a label.
|
|
8913
8964
|
|
|
8914
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
8965
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
8915
8966
|
|
|
8916
8967
|
### Slider
|
|
8917
8968
|
|
|
@@ -9104,7 +9155,7 @@ type SliderMark = number | { value: number; label?: ReactNode };
|
|
|
9104
9155
|
- One thumb: no range with two ends.
|
|
9105
9156
|
- Marks show values; they do not catch the thumb.
|
|
9106
9157
|
|
|
9107
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
9158
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
9108
9159
|
|
|
9109
9160
|
### Checkbox
|
|
9110
9161
|
|
|
@@ -9432,7 +9483,7 @@ Also takes every attribute of `<input>` – without `role`, `size`, `type`.
|
|
|
9432
9483
|
|
|
9433
9484
|
- No pending or loading state; while your application applies the change, disable the switch or say so beside it.
|
|
9434
9485
|
|
|
9435
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
9486
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
9436
9487
|
|
|
9437
9488
|
### RadioGroup
|
|
9438
9489
|
|
|
@@ -9896,7 +9947,7 @@ Also takes every attribute of `<div>` – without `defaultValue`, `onChange`.
|
|
|
9896
9947
|
- Two to four short possibilities: a word that does not fit its place ends in an ellipsis.
|
|
9897
9948
|
- No icons and no line of explanation in a segment; several chosen at once is not this control.
|
|
9898
9949
|
|
|
9899
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
9950
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
9900
9951
|
|
|
9901
9952
|
### FileInput
|
|
9902
9953
|
|
|
@@ -10241,7 +10292,7 @@ Also takes every attribute of `<input>` – without `defaultValue`, `onChange`,
|
|
|
10241
10292
|
|
|
10242
10293
|
- No upload, no progress and no size limit of its own; those belong to the application sending the files.
|
|
10243
10294
|
|
|
10244
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
10295
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
10245
10296
|
|
|
10246
10297
|
## Choosing
|
|
10247
10298
|
|
|
@@ -10437,7 +10488,7 @@ Also takes every attribute of `<select>` – without `size`.
|
|
|
10437
10488
|
|
|
10438
10489
|
- The list shows the options' text: no icons, descriptions or search inside it - the Combobox searches.
|
|
10439
10490
|
|
|
10440
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
10491
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
10441
10492
|
|
|
10442
10493
|
### Combobox
|
|
10443
10494
|
|
|
@@ -10821,7 +10872,7 @@ Also takes every attribute of `<input>` – without `defaultValue`, `onChange`.
|
|
|
10821
10872
|
- No free text as a value: only an option can be chosen.
|
|
10822
10873
|
- No request of its own: `onSearch` reports the typed text and you fetch, debounce and cancel; `filter={false}` shows what you return.
|
|
10823
10874
|
|
|
10824
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
10875
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
10825
10876
|
|
|
10826
10877
|
### MultiSelect
|
|
10827
10878
|
|
|
@@ -11305,7 +11356,7 @@ export default function FromTheFirstReadingToToday() {
|
|
|
11305
11356
|
|
|
11306
11357
|
| Prop | Type | Default | Description |
|
|
11307
11358
|
|---|---|---|---|
|
|
11308
|
-
| `value` *required* | `Date \| null` | — | The day, as a `Date` on midnight in the formats' zone (the reader's, unless the application names one); `null` means none.<br>Shown in: [Configurator](#datepicker), [Pick a day](#datepicker), [States](#datepicker) and
|
|
11359
|
+
| `value` *required* | `Date \| null` | — | The day, as a `Date` on midnight in the formats' zone (the reader's, unless the application names one); `null` means none.<br>Shown in: [Configurator](#datepicker), [Pick a day](#datepicker), [States](#datepicker) and 11 more |
|
|
11309
11360
|
| `placeholder` | `string` | — | What stands in the empty field.<br>Shown in: [States](#datepicker) |
|
|
11310
11361
|
| `disabled` | `boolean` | `false` | Locks the field and the panel.<br>Shown in: [Configurator](#datepicker), [States](#datepicker) |
|
|
11311
11362
|
| `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](#datepicker), [With an error](#datepicker) |
|
|
@@ -11320,7 +11371,7 @@ export default function FromTheFirstReadingToToday() {
|
|
|
11320
11371
|
|
|
11321
11372
|
| Prop | Type | Default | Description |
|
|
11322
11373
|
|---|---|---|---|
|
|
11323
|
-
| `onChange` *required* | `(date: Date \| null) => void` | — | Runs as soon as a day is settled - on a click in the grid, on "Today" and on clearing (`null`). Every one of these ways hands out midnight in the formats' zone; there is none that delivers a time along with it.<br>Shown in: [Configurator](#datepicker), [Pick a day](#datepicker), [States](#datepicker) and
|
|
11374
|
+
| `onChange` *required* | `(date: Date \| null) => void` | — | Runs as soon as a day is settled - on a click in the grid, on "Today" and on clearing (`null`). Every one of these ways hands out midnight in the formats' zone; there is none that delivers a time along with it.<br>Shown in: [Configurator](#datepicker), [Pick a day](#datepicker), [States](#datepicker) and 11 more |
|
|
11324
11375
|
|
|
11325
11376
|
Also takes every attribute of `<button>` – without `defaultValue`, `onChange`.
|
|
11326
11377
|
|
|
@@ -11329,7 +11380,7 @@ Also takes every attribute of `<button>` – without `defaultValue`, `onChange`.
|
|
|
11329
11380
|
- No typing of a date into the field.
|
|
11330
11381
|
- umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
|
|
11331
11382
|
|
|
11332
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
11383
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
11333
11384
|
|
|
11334
11385
|
### DateTimePicker
|
|
11335
11386
|
|
|
@@ -11500,7 +11551,7 @@ Also takes every attribute of `<button>` – without `defaultValue`, `onChange`.
|
|
|
11500
11551
|
|
|
11501
11552
|
- umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
|
|
11502
11553
|
|
|
11503
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
11554
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
11504
11555
|
|
|
11505
11556
|
### DateRangePicker
|
|
11506
11557
|
|
|
@@ -11743,7 +11794,7 @@ the moment of the click.
|
|
|
11743
11794
|
|
|
11744
11795
|
- One span; no list of separate days.
|
|
11745
11796
|
|
|
11746
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
11797
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
11747
11798
|
|
|
11748
11799
|
### DateTimeRangePicker
|
|
11749
11800
|
|
|
@@ -11959,7 +12010,7 @@ the moment of the click.
|
|
|
11959
12010
|
- umriss shows the reader's time ([ADR-0060](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0060-validation-and-a-layout-editor-are-never-time-zones-not-yet.md)).
|
|
11960
12011
|
- No recurring windows.
|
|
11961
12012
|
|
|
11962
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
12013
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
11963
12014
|
|
|
11964
12015
|
## Feedback
|
|
11965
12016
|
|
|
@@ -12109,7 +12160,7 @@ Also takes every attribute of `<svg>`.
|
|
|
12109
12160
|
|
|
12110
12161
|
- One shape and no figure: for how far a job has come, use a [ProgressBar](#progressbar).
|
|
12111
12162
|
|
|
12112
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
12163
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12113
12164
|
|
|
12114
12165
|
### ProgressBar
|
|
12115
12166
|
|
|
@@ -12292,7 +12343,7 @@ Also takes every attribute of `<div>`.
|
|
|
12292
12343
|
|
|
12293
12344
|
- No colour of verdict and no steps of its own; for a job in steps, stack one bar per step.
|
|
12294
12345
|
|
|
12295
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
12346
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12296
12347
|
|
|
12297
12348
|
### Skeleton
|
|
12298
12349
|
|
|
@@ -12449,7 +12500,7 @@ Also takes every attribute of `<span>`.
|
|
|
12449
12500
|
|
|
12450
12501
|
- It draws a shape and nothing else; the rows, cards and layout it stands in for are yours.
|
|
12451
12502
|
|
|
12452
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
12503
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12453
12504
|
|
|
12454
12505
|
### Alert
|
|
12455
12506
|
|
|
@@ -12667,7 +12718,7 @@ type AlertTone = "neutral" | "accent" | "success" | "warning" | "danger";
|
|
|
12667
12718
|
- No timer: an alert stays until you remove it. A message that goes by itself is a toast.
|
|
12668
12719
|
- No stack or queue of messages; place each alert where its matter is.
|
|
12669
12720
|
|
|
12670
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
12721
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12671
12722
|
|
|
12672
12723
|
### Toast
|
|
12673
12724
|
|
|
@@ -13225,7 +13276,7 @@ type ToastCloseReason = "timeout" | "dismiss" | "action";
|
|
|
13225
13276
|
- No queue: a toast over the limit pushes the oldest timed one out rather than waiting. Lasting and `loading` toasts are not capped: the deck holds every one of them beside the timed ones.
|
|
13226
13277
|
- Without the Popover API the deck moves with a dialog that transforms itself: inside a dialog the toasts stand in the top layer only where the browser has it, and elsewhere they are a fixed box in the dialog.
|
|
13227
13278
|
|
|
13228
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
13279
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
13229
13280
|
|
|
13230
13281
|
### EmptyState
|
|
13231
13282
|
|
|
@@ -13533,7 +13584,7 @@ export default function ACalculation() {
|
|
|
13533
13584
|
- No interactive content and no rich layout inside: it is read, never used.
|
|
13534
13585
|
- No placement option: it stands above its element and flips below where there is no room.
|
|
13535
13586
|
|
|
13536
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
13587
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
13537
13588
|
|
|
13538
13589
|
### Popover
|
|
13539
13590
|
|
|
@@ -13828,7 +13879,7 @@ type Align = "start" | "end" | "center";
|
|
|
13828
13879
|
- No padding and no inner layout: it brings the overlay's surface - ground, corners, shadow - and the rest is yours. A `className` restates the surface where one needs another.
|
|
13829
13880
|
- It does not trap focus; a surface the user must answer is a [Modal](#modal).
|
|
13830
13881
|
|
|
13831
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
13882
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
13832
13883
|
|
|
13833
13884
|
### Menu
|
|
13834
13885
|
|
|
@@ -14029,7 +14080,7 @@ Also takes every attribute of `<button>` – without `onSelect`.
|
|
|
14029
14080
|
|
|
14030
14081
|
- No submenus, no checkable entries and no type-ahead.
|
|
14031
14082
|
|
|
14032
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
14083
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
14033
14084
|
|
|
14034
14085
|
### ContextMenu
|
|
14035
14086
|
|
|
@@ -14246,7 +14297,7 @@ export default function OnARow() {
|
|
|
14246
14297
|
- It listens to no right-click itself: the element and the point are yours, through the hook.
|
|
14247
14298
|
- No submenus, no checkable entries and no type-ahead, as in the menu.
|
|
14248
14299
|
|
|
14249
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
14300
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
14250
14301
|
|
|
14251
14302
|
### Modal
|
|
14252
14303
|
|
|
@@ -14560,7 +14611,7 @@ An `autoFocus` on a field inside the window is honoured: the window opens with t
|
|
|
14560
14611
|
|
|
14561
14612
|
```tsx
|
|
14562
14613
|
import { useState } from "react";
|
|
14563
|
-
import { Button, FormField, Input, Modal, ModalBody, ModalFooter, ModalHeader } from "@umriss-ui/core";
|
|
14614
|
+
import { Button, FormField, Input, Modal, ModalBody, ModalFooter, ModalHeader, Stack } from "@umriss-ui/core";
|
|
14564
14615
|
|
|
14565
14616
|
export default function TheCursorInTheField() {
|
|
14566
14617
|
const [open, setOpen] = useState(false);
|
|
@@ -14571,12 +14622,14 @@ export default function TheCursorInTheField() {
|
|
|
14571
14622
|
<Modal open={open} onClose={() => setOpen(false)}>
|
|
14572
14623
|
<ModalHeader title="Edit the contact" />
|
|
14573
14624
|
<ModalBody>
|
|
14574
|
-
<
|
|
14575
|
-
<
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
<
|
|
14579
|
-
|
|
14625
|
+
<Stack gap={4}>
|
|
14626
|
+
<FormField label="Name">
|
|
14627
|
+
<Input defaultValue="Maya Lindgren" />
|
|
14628
|
+
</FormField>
|
|
14629
|
+
<FormField label="Phone">
|
|
14630
|
+
<Input autoFocus defaultValue="+49 40 555 0142" />
|
|
14631
|
+
</FormField>
|
|
14632
|
+
</Stack>
|
|
14580
14633
|
</ModalBody>
|
|
14581
14634
|
<ModalFooter>
|
|
14582
14635
|
<Button onClick={() => setOpen(false)}>Done</Button>
|
|
@@ -14644,7 +14697,7 @@ type ModalSize = "sm" | "md" | "lg";
|
|
|
14644
14697
|
|
|
14645
14698
|
- No non-modal window and no dragging or resizing: a panel that leaves the page usable is layout – a [Splitter](#splitter).
|
|
14646
14699
|
|
|
14647
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
14700
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
14648
14701
|
|
|
14649
14702
|
### Drawer
|
|
14650
14703
|
|
|
@@ -15012,7 +15065,7 @@ An `autoFocus` on a field inside the drawer is honoured, as in a `Modal`.
|
|
|
15012
15065
|
|
|
15013
15066
|
```tsx
|
|
15014
15067
|
import { useState } from "react";
|
|
15015
|
-
import { Button, Drawer, FormField, Input, ModalBody, ModalFooter, ModalHeader } from "@umriss-ui/core";
|
|
15068
|
+
import { Button, Drawer, FormField, Input, ModalBody, ModalFooter, ModalHeader, Stack } from "@umriss-ui/core";
|
|
15016
15069
|
|
|
15017
15070
|
export default function TheCursorInTheField() {
|
|
15018
15071
|
const [open, setOpen] = useState(false);
|
|
@@ -15023,12 +15076,14 @@ export default function TheCursorInTheField() {
|
|
|
15023
15076
|
<Drawer open={open} onClose={() => setOpen(false)}>
|
|
15024
15077
|
<ModalHeader title="Edit the shipment" />
|
|
15025
15078
|
<ModalBody>
|
|
15026
|
-
<
|
|
15027
|
-
<
|
|
15028
|
-
|
|
15029
|
-
|
|
15030
|
-
<
|
|
15031
|
-
|
|
15079
|
+
<Stack gap={4}>
|
|
15080
|
+
<FormField label="Consignee">
|
|
15081
|
+
<Input defaultValue="Harlow Bakery" />
|
|
15082
|
+
</FormField>
|
|
15083
|
+
<FormField label="Note">
|
|
15084
|
+
<Input autoFocus defaultValue="Ring twice" />
|
|
15085
|
+
</FormField>
|
|
15086
|
+
</Stack>
|
|
15032
15087
|
</ModalBody>
|
|
15033
15088
|
<ModalFooter>
|
|
15034
15089
|
<Button onClick={() => setOpen(false)}>Done</Button>
|
|
@@ -15075,7 +15130,7 @@ Also takes every attribute of `<dialog>` – without `onClose`.
|
|
|
15075
15130
|
- Modal on purpose, with no non-modal mode: a panel beside a page the user keeps working in is layout, not an overlay.
|
|
15076
15131
|
- Only the left and right edges; nothing slides in from the top or bottom.
|
|
15077
15132
|
|
|
15078
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
15133
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
15079
15134
|
|
|
15080
15135
|
### ConfirmDialog
|
|
15081
15136
|
|
|
@@ -15252,7 +15307,7 @@ Also takes every attribute of `<dialog>` – without `children`, `onClose`, `ope
|
|
|
15252
15307
|
|
|
15253
15308
|
- A title, a description and two buttons, nothing more: fields belong in a [Modal](#modal).
|
|
15254
15309
|
|
|
15255
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
15310
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
15256
15311
|
|
|
15257
15312
|
### CommandPalette
|
|
15258
15313
|
|
|
@@ -15554,7 +15609,7 @@ Also takes every attribute of `<dialog>` – without `children`, `onClose`, `ope
|
|
|
15554
15609
|
- No memory of past choices and no ranking of its own beyond the match: recency and frequency are weights you keep.
|
|
15555
15610
|
- No nested steps or arguments: a command that needs input opens your own form after it is chosen.
|
|
15556
15611
|
|
|
15557
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
15612
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
15558
15613
|
|
|
15559
15614
|
## Navigation
|
|
15560
15615
|
|
|
@@ -15874,7 +15929,7 @@ Also takes every attribute of the rendered element.
|
|
|
15874
15929
|
|
|
15875
15930
|
- It neither routes nor reads the address: the trail is what you pass.
|
|
15876
15931
|
|
|
15877
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
15932
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
15878
15933
|
|
|
15879
15934
|
### Tabs
|
|
15880
15935
|
|
|
@@ -16244,7 +16299,7 @@ Also takes every attribute of `<div>`.
|
|
|
16244
16299
|
|
|
16245
16300
|
- More tabs than fit scroll sideways within the list; there is no overflow menu, and no closing or reordering of tabs.
|
|
16246
16301
|
|
|
16247
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
16302
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
16248
16303
|
|
|
16249
16304
|
### Accordion
|
|
16250
16305
|
|
|
@@ -16493,7 +16548,7 @@ Also takes every attribute of `<div>` – without `title`.
|
|
|
16493
16548
|
|
|
16494
16549
|
- A folded section's content stays rendered; for heavy content, render it only while its section is open.
|
|
16495
16550
|
|
|
16496
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
16551
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
16497
16552
|
|
|
16498
16553
|
### Stepper
|
|
16499
16554
|
|
|
@@ -16726,7 +16781,7 @@ Also takes every attribute of the rendered element.
|
|
|
16726
16781
|
- The steps are read, not navigated: no keys, no clicks, and no next or back of its own. Moving on is your application's decision, by a done step's label as a button or by buttons of its own.
|
|
16727
16782
|
- No branching or optional steps; pass the steps that apply.
|
|
16728
16783
|
|
|
16729
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
16784
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
16730
16785
|
|
|
16731
16786
|
### TreeView
|
|
16732
16787
|
|
|
@@ -17404,7 +17459,7 @@ to render and the heights of the filler rows around it.
|
|
|
17404
17459
|
- No dragging nodes to rearrange them.
|
|
17405
17460
|
- It fetches nothing and handles no loading errors: retries and messages stay in your application ([ADR-0005](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0005-what-cannot-be-checked.md)).
|
|
17406
17461
|
|
|
17407
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
17462
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
17408
17463
|
|
|
17409
17464
|
### Benchmark
|
|
17410
17465
|
|
|
@@ -17881,7 +17936,7 @@ type BadgeTone = "neutral" | "accent" | "success" | "warning" | "danger";
|
|
|
17881
17936
|
- It cannot be clicked or removed; a label the user acts on is a [Tag](#tag).
|
|
17882
17937
|
- It counts nothing itself: capping at “99+” is yours.
|
|
17883
17938
|
|
|
17884
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
17939
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
17885
17940
|
|
|
17886
17941
|
### Tag
|
|
17887
17942
|
|
|
@@ -18148,7 +18203,7 @@ type TagTone = "neutral" | "accent" | "success" | "warning" | "danger";
|
|
|
18148
18203
|
- No field for typing new tags: a tag input is a [MultiSelect](#multiselect).
|
|
18149
18204
|
- Tags are not toggles: a set of choices to switch on and off is a group of [Checkbox](#checkbox) or a [ButtonGroup](#buttongroup).
|
|
18150
18205
|
|
|
18151
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
18206
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
18152
18207
|
|
|
18153
18208
|
### Stat
|
|
18154
18209
|
|
|
@@ -19037,7 +19092,7 @@ type Severity = "warning" | "alarm";
|
|
|
19037
19092
|
- No trend arrow: a direction from two noisy points is read as information it does not carry; the history line shows the shape.
|
|
19038
19093
|
- It fetches and polls nothing: freshness is judged from the `asOf` you give it.
|
|
19039
19094
|
|
|
19040
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
19095
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
19041
19096
|
|
|
19042
19097
|
### Meter
|
|
19043
19098
|
|
|
@@ -19207,7 +19262,7 @@ type MeterTone = "neutral" | "accent" | "success" | "warning" | "danger";
|
|
|
19207
19262
|
|
|
19208
19263
|
- No limit marks, target tick or scale on the bar; for a value against limits use a [Stat](#stat).
|
|
19209
19264
|
|
|
19210
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
19265
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
19211
19266
|
|
|
19212
19267
|
### Sparkline
|
|
19213
19268
|
|
|
@@ -19465,7 +19520,7 @@ Also takes every attribute of `<span>`.
|
|
|
19465
19520
|
|
|
19466
19521
|
- No axes, labels, tooltip or points to hover: the value stands beside it.
|
|
19467
19522
|
|
|
19468
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.
|
|
19523
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/core-v0.50.0/docs/adr/0032-what-umriss-is-not.md).
|
|
19469
19524
|
|
|
19470
19525
|
## API index
|
|
19471
19526
|
|
|
@@ -20375,6 +20430,8 @@ the weekday and "3 minutes ago".
|
|
|
20375
20430
|
function formatsFor(locale: string, timeZone?: string): Formats;
|
|
20376
20431
|
```
|
|
20377
20432
|
|
|
20433
|
+
Used on [Language](#language).
|
|
20434
|
+
|
|
20378
20435
|
##### `freshness`
|
|
20379
20436
|
|
|
20380
20437
|
The freshness of a value: its as-of time, measured against a reference time,
|
|
@@ -20395,6 +20452,14 @@ function freshness(asOf: FreshnessInstant, now: FreshnessInstant, ages: Freshnes
|
|
|
20395
20452
|
|
|
20396
20453
|
Used on [Scenarios](#scenarios) and [Stat](#stat).
|
|
20397
20454
|
|
|
20455
|
+
##### `hasWarned`
|
|
20456
|
+
|
|
20457
|
+
Whether [`warnOnce`](#api-index-1) has already spoken for this package and reason.
|
|
20458
|
+
|
|
20459
|
+
```ts
|
|
20460
|
+
function hasWarned(pkg: string, reason: string): boolean;
|
|
20461
|
+
```
|
|
20462
|
+
|
|
20398
20463
|
##### `mergeLanguage`
|
|
20399
20464
|
|
|
20400
20465
|
Builds a complete instance from the default and a partial value.
|
|
@@ -20480,6 +20545,14 @@ because the rendered set changed.
|
|
|
20480
20545
|
function visibleWindow({ count, rowHeight, scrollTop, viewportHeight, overscan, }: WindowInput): RowWindow;
|
|
20481
20546
|
```
|
|
20482
20547
|
|
|
20548
|
+
##### `warnOnce`
|
|
20549
|
+
|
|
20550
|
+
One development console warning per package and reason; silent in production. The prefix names the package.
|
|
20551
|
+
|
|
20552
|
+
```ts
|
|
20553
|
+
function warnOnce(pkg: string, reason: string, message: string): void;
|
|
20554
|
+
```
|
|
20555
|
+
|
|
20483
20556
|
##### `writeNumber`
|
|
20484
20557
|
|
|
20485
20558
|
A number as its format says, through the set's own functions - so an
|
|
@@ -20978,8 +21051,8 @@ that differ from the default.
|
|
|
20978
21051
|
|
|
20979
21052
|
| Prop | Type | Default | Description |
|
|
20980
21053
|
|---|---|---|---|
|
|
20981
|
-
| `children` *required* | `ReactNode` | — | <br>Shown in: [German (Language)](#language), [English and German side by side (Language)](#language), [Replace single entries (Language)](#language) and
|
|
20982
|
-
| `formats` | `Partial<``Formats``>` | — | How numbers, dates and durations are written. Overridden entry by entry; what is left out keeps writing as `DEFAULT_FORMATS` does - in English notation, whatever the wording says ([ADR-0024](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0024-the-formats-are-english-german-is-freight.md)). From `LanguageOptions`.<br>Shown in: [Set up an application (UmrissProvider)](#umrissprovider), [German (Language)](#language), [English and German side by side (Language)](#language) and
|
|
21054
|
+
| `children` *required* | `ReactNode` | — | <br>Shown in: [German (Language)](#language), [English and German side by side (Language)](#language), [Replace single entries (Language)](#language) and 4 more |
|
|
21055
|
+
| `formats` | `Partial<``Formats``>` | — | How numbers, dates and durations are written. Overridden entry by entry; what is left out keeps writing as `DEFAULT_FORMATS` does - in English notation, whatever the wording says ([ADR-0024](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0024-the-formats-are-english-german-is-freight.md)). From `LanguageOptions`.<br>Shown in: [Set up an application (UmrissProvider)](#umrissprovider), [German (Language)](#language), [English and German side by side (Language)](#language) and 4 more |
|
|
20983
21056
|
| `wording` | `Partial<Omit<``Wording``, "presets">> & { presets?: Partial<``Wording``["presets"]> }` | — | The presets are a register of their own and are likewise overridden entry by entry. From `LanguageOptions`.<br>Shown in: [Set up an application (UmrissProvider)](#umrissprovider), [German (Language)](#language), [English and German side by side (Language)](#language) and 2 more |
|
|
20984
21057
|
|
|
20985
21058
|
##### `Limit`
|
|
@@ -21876,6 +21949,7 @@ Everything the library puts out as text.
|
|
|
21876
21949
|
| `dropFiles` *required* | `string` | — | |
|
|
21877
21950
|
| `removeFile` *required* | `(name: string) => string` | — | The cross beside a chosen file. |
|
|
21878
21951
|
| `fileNotAccepted` *required* | `(name: string) => string` | — | A dropped file the input's `accept` does not take. |
|
|
21952
|
+
| `numberRefused` *required* | `string` | — | A NumberInput refusing a character it cannot read. |
|
|
21879
21953
|
| `show` *required* | `string` | — | |
|
|
21880
21954
|
| `hide` *required* | `string` | — | |
|
|
21881
21955
|
| `moreActions` *required* | `string` | — | |
|