@umriss-ui/table 0.54.0 → 0.55.1
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/table.css +1 -1
- package/dist/table.js +901 -901
- package/docs/llms-full.md +160 -41
- package/package.json +3 -3
package/docs/llms-full.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @umriss-ui/table 0.
|
|
1
|
+
# @umriss-ui/table 0.55.1
|
|
2
2
|
|
|
3
3
|
> React data table for data-dense applications - sorting, filtering, grouping, aggregates, virtualisation. Declared the way it reads: columns as JSX, typed against their rows.
|
|
4
4
|
|
|
@@ -376,7 +376,7 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
|
|
|
376
376
|
| `stickyHeader` | `boolean` | — | Keeps the header row visible while scrolling.<br>Shown in: [A header over columns (Column)](#column), [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [A head below an app bar (Width and pinning)](#width-and-pinning) and 11 more |
|
|
377
377
|
| `stickyRowHeader` | `boolean` | — | Keeps the row header column visible while scrolling sideways - the same as `pin="start"` on the row header.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Stripes across a wide table (Row appearance)](#row-appearance), [Show, hide and arrange (ColumnMenu)](#columnmenu) and 1 more |
|
|
378
378
|
| `striped` | `boolean` | — | Discreet zebra stripes.<br>Shown in: [Stripes across a wide table (Row appearance)](#row-appearance) |
|
|
379
|
-
| `density` | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand.<br>Shown in: [Fit long group names in a compact table (Grouping)](#grouping-1), [Employees in the detail (Tree rows)](#tree-rows)
|
|
379
|
+
| `density` | `"regular" \| "compact"` | the density of the `UmrissProvider`, else `"regular"` | How tightly the rows stand.<br>Shown in: [Every column option in one head (Column)](#column), [Fit long group names in a compact table (Grouping)](#grouping-1), [Employees in the detail (Tree rows)](#tree-rows) and 5 more |
|
|
380
380
|
| `maxHeight` | `string` | — | Height of the scroll area, e.g. "480px". A virtualised table needs it.<br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [A head below an app bar (Width and pinning)](#width-and-pinning), [Fold groups into a summary (Grouping)](#grouping-1) and 10 more |
|
|
381
381
|
| `empty` | `ReactNode` | — | What stands in the body when there are no rows. Empty because of a filter the table shows itself – with the way back.<br>Shown in: [Restrict which rows a table has (Pre-filter)](#pre-filter), [Show loading, empty, failed and no match (Row appearance)](#row-appearance) |
|
|
382
382
|
| `loading` | `boolean` | — | Shows placeholder rows instead of the rows.<br>Shown in: [Rows from a request (Filter)](#filter), [Show loading, empty, failed and no match (Row appearance)](#row-appearance), [Load pages from a server (Server mode)](#server-mode) |
|
|
@@ -387,7 +387,7 @@ A value cut short at the edge of its cell shows whole in a tip, under the pointe
|
|
|
387
387
|
| `grid` | `boolean` | — | Grid mode: the table is one tab stop, and the arrows walk its cells - Home and End in the row, Ctrl+Home and Ctrl+End to the table's ends, PageUp and PageDown by the rows in view. A cell's own controls are reached with Enter or F2 and left with Escape; a column with `edit` is edited in place. Without it the table stays a native table.<br>Shown in: [Bring a row into view from outside (Virtualisation)](#virtualisation), [Work cell by cell (Grid mode)](#grid-mode), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode) and 9 more |
|
|
388
388
|
| `editMode` | `"cell" \| "row"` | — | Grid mode ([ADR-0036](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0036-a-grid-edits-on-the-first-click-and-saves-rows-on-purpose.md)): `"cell"` reports every cell as it is left (`onCellEdit`); `"row"` opens every cell of a row that edits at once, as one **Row draft**, and reports it only when the row is saved on purpose (`onRowSave`) - by its Save button or Enter; Escape or Discard drops it. A row with a draft is left only by saving or discarding it.<br>Shown in: [Save a row on purpose (Edits)](#edits), [Check a whole row before it is saved (Edits)](#edits), [Keep a list: add, change and delete rows (Edits)](#edits) and 1 more |
|
|
389
389
|
| `newRow` | `() => Partial<Z>` | — | What a new row starts with - the values the columns read before anything is typed. Without it, nothing.<br>Shown in: [Keep a list: add, change and delete rows (Edits)](#edits) |
|
|
390
|
-
| `children` | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and
|
|
390
|
+
| `children` | `ReactNode` | — | Columns, `RowDetail`, `RowActions` and the unbound parts.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and 148 more |
|
|
391
391
|
| `ref` | `Ref<HTMLDivElement> \| undefined` | — | Receives the component's root element. From `RefProp`.<br>Shown in: [Find a late shipment (Scenarios)](#find-a-late-shipment), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
|
|
392
392
|
|
|
393
393
|
###### Events
|
|
@@ -405,7 +405,7 @@ Also takes every attribute of `<div>` – without `children`.
|
|
|
405
405
|
|
|
406
406
|
| Prop | Type | Default | Description |
|
|
407
407
|
|---|---|---|---|
|
|
408
|
-
| `rowKey` *required* | `(row: Z) => Key` | — | A stable key per row – the basis of selection and expansion.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and
|
|
408
|
+
| `rowKey` *required* | `(row: Z) => Key` | — | A stable key per row – the basis of selection and expansion.<br>Shown in: [Show a list of services](#first-table), [Search and page from a header of your own](#first-table), [Sort, arrange and export from controls of your own](#first-table) and 148 more |
|
|
409
409
|
| `pageSize` | `number` | `10` | How many rows a page holds in flow, or with `maxHeight`, and the start value in a frame of definite height before it is measured: there a page holds the whole lines the frame leaves between the head and the pager.<br>Shown in: [Search and page from a header of your own](#first-table), [Ask a question over several fields (Filter)](#filter), [Restrict which rows a table has (Pre-filter)](#pre-filter) and 12 more |
|
|
410
410
|
| `defaultSort` | `SortLevel`` \| readonly ``SortLevel``[] \| null` | `null` | The application's sort; it is the default that `view` leaves out.<br>Shown in: [Sort, arrange and export from controls of your own](#first-table), [A label wider than its column (Width and pinning)](#width-and-pinning), [Sort by several columns (Sorting)](#sorting) and 10 more |
|
|
411
411
|
| `defaultGrouping` | `GroupingId``<Z> \| readonly ``GroupingId``<Z>[]` | ungrouped, until the user groups | The application's grouping: a column or group key, or up to three, the outermost first. It is the default that `view` leaves out.<br>Shown in: [Group by one column (Grouping)](#grouping-1), [Group on two levels (Grouping)](#grouping-1), [Group on three levels (Grouping)](#grouping-1) and 24 more |
|
|
@@ -716,10 +716,10 @@ type TextOperator = "contains" | "notContains" | "startsWith" | "endsWith" | "eq
|
|
|
716
716
|
|
|
717
717
|
#### Known limits
|
|
718
718
|
|
|
719
|
-
- No cell range selection and no built-in undo: an edit is reported, never applied, and the application owns the rows; undo is a recipe over the reported edits ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
720
|
-
- No pivot: compute the pivoted rows and map one computed column per key from the data, as in [a matrix with row and column totals](#aggregate) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
719
|
+
- No cell range selection and no built-in undo: an edit is reported, never applied, and the application owns the rows; undo is a recipe over the reported edits ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md)).
|
|
720
|
+
- No pivot: compute the pivoted rows and map one computed column per key from the data, as in [a matrix with row and column totals](#aggregate) ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md)).
|
|
721
721
|
|
|
722
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
722
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
723
723
|
|
|
724
724
|
### Provider
|
|
725
725
|
|
|
@@ -1054,6 +1054,79 @@ export default function HeaderOverColumns() {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
```
|
|
1056
1056
|
|
|
1057
|
+
##### Every column option in one head
|
|
1058
|
+
|
|
1059
|
+
Left and right alignment (`numeric`), a list or a range `filter`, an automatic, `flex` or sized `width`, a `pin` to the start or the end, first, middle and last place, a `ColumnGroup` and a time column that carries its zone's name - the zone is the application's, not the reader's - over a footer of sums, in the regular and the compact density. Sort two columns to see the ranks beside the arrows.
|
|
1060
|
+
|
|
1061
|
+
```tsx
|
|
1062
|
+
import { Stack, Text, UmrissProvider } from "@umriss-ui/core";
|
|
1063
|
+
import type { LanguageOptions } from "@umriss-ui/core";
|
|
1064
|
+
import { ColumnGroup, ColumnMenu, Toolbar, useTable } from "@umriss-ui/table";
|
|
1065
|
+
|
|
1066
|
+
/* Outside the component: a provider that gets a new object on every render
|
|
1067
|
+
recomputes on every render. */
|
|
1068
|
+
const LANGUAGE: LanguageOptions = { formats: { timeZone: "Pacific/Auckland" } };
|
|
1069
|
+
|
|
1070
|
+
interface Shipment {
|
|
1071
|
+
id: string;
|
|
1072
|
+
customer: string;
|
|
1073
|
+
city: string;
|
|
1074
|
+
weight: number;
|
|
1075
|
+
parcels: number;
|
|
1076
|
+
departs: Date;
|
|
1077
|
+
fee: number;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
const SHIPMENTS: Shipment[] = [
|
|
1081
|
+
{ id: "FP-1004210", customer: "Holloway Garden Supplies", city: "Leeds", weight: 412.5, parcels: 12, departs: new Date(Date.UTC(2026, 2, 16, 21, 30)), fee: 184.2 },
|
|
1082
|
+
{ id: "FP-1004223", customer: "Oakridge Pharmacy", city: "Bristol", weight: 38, parcels: 2, departs: new Date(Date.UTC(2026, 2, 17, 6, 15)), fee: 41.9 },
|
|
1083
|
+
{ id: "FP-1004236", customer: "Brixley Cycles", city: "Leeds", weight: 1260, parcels: 30, departs: new Date(Date.UTC(2026, 2, 17, 9, 0)), fee: 612 },
|
|
1084
|
+
{ id: "FP-1004241", customer: "Nimbrel Software", city: "Cardiff", weight: 7.2, parcels: 1, departs: new Date(Date.UTC(2026, 2, 18, 14, 45)), fee: 12.5 },
|
|
1085
|
+
];
|
|
1086
|
+
|
|
1087
|
+
function Shipments({ caption, density }: { caption: string; density?: "regular" | "compact" }) {
|
|
1088
|
+
const { Table, Column } = useTable(SHIPMENTS, { rowKey: (s) => s.id });
|
|
1089
|
+
return (
|
|
1090
|
+
<Stack gap={2}>
|
|
1091
|
+
<Text size="xs" tone="muted">
|
|
1092
|
+
{caption}
|
|
1093
|
+
</Text>
|
|
1094
|
+
<Table density={density} aria-label={`Shipments, ${caption}`}>
|
|
1095
|
+
<Toolbar>
|
|
1096
|
+
<ColumnMenu />
|
|
1097
|
+
</Toolbar>
|
|
1098
|
+
<Column value="id" label="Shipment" rowHeader pin="start" width={130} />
|
|
1099
|
+
<ColumnGroup label="Consignee">
|
|
1100
|
+
<Column value="customer" label="Customer" filter="list" flex={1} minWidth={160} />
|
|
1101
|
+
<Column value="city" label="City" />
|
|
1102
|
+
</ColumnGroup>
|
|
1103
|
+
<ColumnGroup label="Load">
|
|
1104
|
+
<Column value="weight" label="Weight (kg)" numeric filter="range" width={150} aggregate="sum" />
|
|
1105
|
+
<Column value="parcels" label="Parcels" numeric flex={1} aggregate="sum" />
|
|
1106
|
+
</ColumnGroup>
|
|
1107
|
+
<ColumnGroup label="Dispatch">
|
|
1108
|
+
<Column value="departs" label="Departs" format="dateTime" filter="range" width={280} />
|
|
1109
|
+
</ColumnGroup>
|
|
1110
|
+
<ColumnGroup label="Charge">
|
|
1111
|
+
<Column value="fee" label="Fee (€)" numeric format={{ decimals: 2 }} pin="end" aggregate="sum" />
|
|
1112
|
+
</ColumnGroup>
|
|
1113
|
+
</Table>
|
|
1114
|
+
</Stack>
|
|
1115
|
+
);
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export default function EveryColumnOption() {
|
|
1119
|
+
return (
|
|
1120
|
+
<UmrissProvider language={LANGUAGE}>
|
|
1121
|
+
<Stack gap={5}>
|
|
1122
|
+
<Shipments caption="Regular" />
|
|
1123
|
+
<Shipments caption='density="compact"' density="compact" />
|
|
1124
|
+
</Stack>
|
|
1125
|
+
</UmrissProvider>
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
```
|
|
1129
|
+
|
|
1057
1130
|
#### When to use something else
|
|
1058
1131
|
|
|
1059
1132
|
- Restricting a column to some of its values → Filter
|
|
@@ -1074,10 +1147,10 @@ The `label` is the column header's text, and so what a screen reader says for ev
|
|
|
1074
1147
|
|
|
1075
1148
|
| Prop | Type | Default | Description |
|
|
1076
1149
|
|---|---|---|---|
|
|
1077
|
-
| `value` *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and
|
|
1150
|
+
| `value` *required* | `K` | — | A field of the row. Supplies the column's `id` at the same time.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 148 more |
|
|
1078
1151
|
| `id` | `string` | — | An id of one's own instead of the field name – for two columns over the same field.<br>Shown in: [Pick a standard format (Formats)](#formats), [Share a column between tables (Presets)](#presets) |
|
|
1079
|
-
| `format` | `FormatFor``<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#column), [
|
|
1080
|
-
| `filter` | `FilterFor``<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), `"text"` operators over a text, a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar.<br>Shown in: [A label wider than its column (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets)
|
|
1152
|
+
| `format` | `FormatFor``<Z[K]>` | — | A standard presentation by name: `"percent"`, `"count"` or `{ decimals }` for numbers, `"date"`, `"time"`, `"dateTime"`, `"timeWithSeconds"` or `"dateTimeWithSeconds"` for points in time. Alignment, sorting, export and footer stay with the value.<br>Shown in: [Compute a value from the row](#column), [Every column option in one head](#column), [Set wording and formats once (Provider)](#provider) and 42 more |
|
|
1153
|
+
| `filter` | `FilterFor``<Z[K]>` | — | A filter in the column header: `"list"` offers the values that occur, `"range"` two bounds (numbers or points in time), `"text"` operators over a text, a filter from `columnFilter` asks whatever it asks itself. Its condition stands in the table toolbar.<br>Shown in: [Every column option in one head](#column), [A label wider than its column (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) and 14 more |
|
|
1081
1154
|
| `group` | `GroupFor``<Z[K]>` | — | Groups points in time by `"day"`, `"week"`, `"month"` or `"year"`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Group dates by month (Grouping)](#grouping-1) |
|
|
1082
1155
|
| `edit` | `EditFor``<Z[K], Z>` | — | Edits the column's cells in place in grid mode: Enter, F2 or typing starts it, Enter or Tab commits, Escape cancels. The table applies nothing - the edit is reported through the table's `onCellEdit`. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Combine grid mode with groups, pinning and many rows (Grid mode)](#grid-mode), [Edit a comments column (Edits)](#edits) and 8 more |
|
|
1083
1156
|
| `editOptions` | `readonly ``Present``<Z[K]>[]` | the values that occur | What `edit="select"` offers. From `EditOptions`.<br>Shown in: [Share a column between tables (Presets)](#presets), [Check an edit before it is reported (Edits)](#edits), [Save a row on purpose (Edits)](#edits) and 2 more |
|
|
@@ -1090,14 +1163,14 @@ Also every prop of `ColumnBase`, `ValuePaths` and `AggregateOptions`.
|
|
|
1090
1163
|
|
|
1091
1164
|
| Prop | Type | Default | Description |
|
|
1092
1165
|
|---|---|---|---|
|
|
1093
|
-
| `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and
|
|
1094
|
-
| `rowHeader` | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and
|
|
1095
|
-
| `numeric` | `boolean` | decided by the first value present | Right-aligned with tabular figures.<br>Shown in: [A header over columns](#column), [
|
|
1096
|
-
| `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [
|
|
1097
|
-
| `flex` | `number` | none: the column is as wide as its content | A share of the width the other columns leave, so that the table fills its frame: two columns with `flex={1}` split it equally. A width, declared or dragged by hand, ends the flex of that column.<br>Shown in: [Columns that share the width (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) |
|
|
1098
|
-
| `minWidth` | `number` | — | The least width of a column with `flex`, in pixels.<br>Shown in: [Columns that share the width (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) |
|
|
1166
|
+
| `label` *required* | `string` | — | Names the column in its header, in the column menu and in the header row of the export.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 148 more |
|
|
1167
|
+
| `rowHeader` | `boolean` | — | This column names the row: row header cells, never hideable, the column `stickyRowHeader` pins, and the name by which the row's selection, expander and actions are read out. At most one per table.<br>Shown in: [Read a value from a field](#column), [Compute a value from the row](#column), [Let the value type decide](#column) and 147 more |
|
|
1168
|
+
| `numeric` | `boolean` | decided by the first value present | Right-aligned with tabular figures.<br>Shown in: [A header over columns](#column), [Every column option in one head](#column), [Share a column between tables (Presets)](#presets) and 1 more |
|
|
1169
|
+
| `width` | `number` | the browser's | Initial width in pixels.<br>Shown in: [Every column option in one head](#column), [Fit long values (Formats)](#formats), [Fit what does not fit (Formats)](#formats) and 22 more |
|
|
1170
|
+
| `flex` | `number` | none: the column is as wide as its content | A share of the width the other columns leave, so that the table fills its frame: two columns with `flex={1}` split it equally. A width, declared or dragged by hand, ends the flex of that column.<br>Shown in: [Every column option in one head](#column), [Columns that share the width (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) |
|
|
1171
|
+
| `minWidth` | `number` | — | The least width of a column with `flex`, in pixels.<br>Shown in: [Every column option in one head](#column), [Columns that share the width (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) |
|
|
1099
1172
|
| `resizable` | `boolean` | — | Shows the drag grip on the header cell.<br>Shown in: [Let people set the width (Width and pinning)](#width-and-pinning), [Pin and size from controls of your own (Width and pinning)](#width-and-pinning), [Columns that share the width (Width and pinning)](#width-and-pinning) and 2 more |
|
|
1100
|
-
| `pin` | `Pin`<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room.<br>Shown in: [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets)
|
|
1173
|
+
| `pin` | `Pin`<br>`"start" \| "end"` | — | Keeps the column in view while the table scrolls sideways: in a block before every other column, or after them. The user can change it in the column menu; the view carries the change. Pinned blocks take at most half of the width the table shows: on a narrower one the end block, then the start block scrolls with the rest, and sticks again when there is room.<br>Shown in: [Every column option in one head](#column), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Share a column between tables (Presets)](#presets) and 3 more |
|
|
1101
1174
|
| `sortable` | `boolean` | `true` when the value is text, a number, a point in time or a boolean | Whether the column can be sorted by.<br>Shown in: [Fit long values (Formats)](#formats), [Fit what does not fit (Formats)](#formats), [Let people set the width (Width and pinning)](#width-and-pinning) and 11 more |
|
|
1102
1175
|
| `searchable` | `boolean` | `true` for text, `false` otherwise | Takes part in the search.<br>Shown in: [Share a column between tables (Presets)](#presets), [Leave a column out (Search)](#search), [An uneven organisation (Tree rows)](#tree-rows) |
|
|
1103
1176
|
| `groupable` | `boolean` | `true` when its value is text, a number, a point in time or a boolean, or it has a `groupValue` | Can the table be grouped by this column?<br>Shown in: [Share a column between tables (Presets)](#presets), [Switch grouping off (Grouping)](#grouping-1) |
|
|
@@ -2553,7 +2626,7 @@ From `ExportProps` — the full table stands on [Export](#export).
|
|
|
2553
2626
|
|
|
2554
2627
|
- In [server mode](#server-mode) the table sorts nothing itself; the sort goes to the server in the request.
|
|
2555
2628
|
|
|
2556
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
2629
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
2557
2630
|
|
|
2558
2631
|
### Search
|
|
2559
2632
|
|
|
@@ -2783,7 +2856,7 @@ type TableRef = Omit<TableSnapshot<unknown, any>, "setFilter" | "conditionOf"> &
|
|
|
2783
2856
|
|
|
2784
2857
|
- In [server mode](#server-mode) the table searches nothing itself; the term goes to the server in the request.
|
|
2785
2858
|
|
|
2786
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
2859
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
2787
2860
|
|
|
2788
2861
|
### Filter
|
|
2789
2862
|
|
|
@@ -3852,7 +3925,7 @@ type Absent = null | undefined;
|
|
|
3852
3925
|
|
|
3853
3926
|
- In [server mode](#server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
|
|
3854
3927
|
|
|
3855
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
3928
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
3856
3929
|
|
|
3857
3930
|
### Pre-filter
|
|
3858
3931
|
|
|
@@ -5134,11 +5207,11 @@ export default function GroupAndFoldFromControls() {
|
|
|
5134
5207
|
|
|
5135
5208
|
#### Known limits
|
|
5136
5209
|
|
|
5137
|
-
- No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5210
|
+
- No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md)).
|
|
5138
5211
|
- No bar to drag headers onto: grouping is chosen in the column menu.
|
|
5139
5212
|
- In [server mode](#server-mode) the server groups: the request carries `grouping`, the answer `groups`, and a page counts lines.
|
|
5140
5213
|
|
|
5141
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5214
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
5142
5215
|
|
|
5143
5216
|
### Tree rows
|
|
5144
5217
|
|
|
@@ -5804,7 +5877,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
5804
5877
|
- Not in [server mode](#server-mode).
|
|
5805
5878
|
- One column set for every level; a level without a value shows it as absent.
|
|
5806
5879
|
|
|
5807
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5880
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
5808
5881
|
|
|
5809
5882
|
### Aggregate
|
|
5810
5883
|
|
|
@@ -6274,7 +6347,7 @@ The keys of [First table](#first-table) and Input apply here.
|
|
|
6274
6347
|
|
|
6275
6348
|
| Prop | Type | Default | Description |
|
|
6276
6349
|
|---|---|---|---|
|
|
6277
|
-
| `aggregate` | `AggregateFor``<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing; a string is not coerced - it is left out and warns once in development.<br>Shown in: [Total a column](#aggregate), [Find the extremes](#aggregate), [Show a range of dates](#aggregate) and
|
|
6350
|
+
| `aggregate` | `AggregateFor``<W, Z>` | — | What the column's values come to: in the footer over the filtered set, in a group's header over its rows. `"sum"`, `"avg"` for numbers; `"min"`, `"max"` for numbers and points in time; `"range"` for points in time; `"count"`, `"distinct"` for every value with a text form - or a function of one's own. Always from the values, never from other aggregates; absent values count towards nothing; a string is not coerced - it is left out and warns once in development.<br>Shown in: [Total a column](#aggregate), [Find the extremes](#aggregate), [Show a range of dates](#aggregate) and 40 more |
|
|
6278
6351
|
| `aggregateLabel` | `string` | — | The word for an `aggregate` function of one's own: it stands before the value in the footer and is what a screen reader reads. A group header shows no word. A built-in kind keeps its own word, the wording's; a name beside it is ignored.<br>Shown in: [Name your own aggregate](#aggregate), [Share a column between tables (Presets)](#presets) |
|
|
6279
6352
|
| `share` | `boolean` | — | The share bar in a group's header – the group's share of the filtered set's sum. It stands under the first column with a sum, one per header; `false` passes it on to the next.<br>Shown in: [Show each group's share](#aggregate), [Weight a rate by its rows](#aggregate), [Share a column between tables (Presets)](#presets) and 2 more |
|
|
6280
6353
|
|
|
@@ -6346,7 +6419,7 @@ type Displayable = string | number | boolean | Date;
|
|
|
6346
6419
|
|
|
6347
6420
|
- In [server mode](#server-mode) the footer shows the sums the server hands in as `totals`, and nothing without them: a sum over one page would misstate the server's set.
|
|
6348
6421
|
|
|
6349
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
6422
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
6350
6423
|
|
|
6351
6424
|
## Rows
|
|
6352
6425
|
|
|
@@ -6618,7 +6691,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
6618
6691
|
|
|
6619
6692
|
- In [server mode](#server-mode) “select all” selects the page, and with the page ticked the table offers all that match: a state that a bulk action receives as `{ request, except }`, since the table holds no rows for it.
|
|
6620
6693
|
|
|
6621
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
6694
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
6622
6695
|
|
|
6623
6696
|
### Row appearance
|
|
6624
6697
|
|
|
@@ -7655,7 +7728,7 @@ The parts the table puts in name themselves: the search field “Search table”
|
|
|
7655
7728
|
|
|
7656
7729
|
| Prop | Type | Default | Description |
|
|
7657
7730
|
|---|---|---|---|
|
|
7658
|
-
| `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Search, arrange and export](#toolbar), [Place it outside the table](#toolbar), [Set wording and formats once (Provider)](#provider) and
|
|
7731
|
+
| `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Search, arrange and export](#toolbar), [Place it outside the table](#toolbar), [Set wording and formats once (Provider)](#provider) and 47 more |
|
|
7659
7732
|
| `size` | `ToolbarSize`<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar (Toolbar controls)](#toolbar-controls), [A dispatcher's bar (Toolbar controls)](#toolbar-controls) |
|
|
7660
7733
|
| `of` | `TableRef` | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table](#toolbar), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
|
|
7661
7734
|
| `ref` | `Ref<HTMLDivElement> \| undefined` | — | Receives the component's root element. From `RefProp`.<br>Shown in: [Find a late shipment (Scenarios)](#find-a-late-shipment), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
|
|
@@ -8380,7 +8453,7 @@ The keys of [First table](#first-table), Input, [ColumnMenu](#columnmenu), Selec
|
|
|
8380
8453
|
|
|
8381
8454
|
| Prop | Type | Default | Description |
|
|
8382
8455
|
|---|---|---|---|
|
|
8383
|
-
| `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and
|
|
8456
|
+
| `children` | `ReactNode` | — | Search, column menu, export – on the left in the table toolbar, before the conditions.<br>Shown in: [Controls of your own at the toolbar's size](#toolbar-controls), [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) and 47 more |
|
|
8384
8457
|
| `size` | `ToolbarSize`<br>`"sm" \| "md"` | `"sm"` | The size of every control the table puts into it - search, column menu, export, "reset", the bulk actions -: `sm` or `md`. A control of one's own takes the same size by its own prop.<br>Shown in: [A larger toolbar](#toolbar-controls), [A dispatcher's bar](#toolbar-controls) |
|
|
8385
8458
|
| `of` | `TableRef` | — | The table, when the table toolbar does not stand inside it. If it then stands behind the table in the tree, it registers only after the first frame – until then a table with a search or a column filter shows its own toolbar. Placed before the table, there is no such change.<br>Shown in: [Place it outside the table (Toolbar)](#toolbar), [Review cost centres against budget (Scenarios)](#review-cost-centres-against-budget) |
|
|
8386
8459
|
| `ref` | `Ref<HTMLDivElement> \| undefined` | — | Receives the component's root element. From `RefProp`.<br>Shown in: [Find a late shipment (Scenarios)](#find-a-late-shipment), [Plan the team's capacity (Scenarios)](#plan-the-teams-capacity) |
|
|
@@ -8952,7 +9025,7 @@ Everything the library knows about formatting.
|
|
|
8952
9025
|
| Prop | Type | Default | Description |
|
|
8953
9026
|
|---|---|---|---|
|
|
8954
9027
|
| `locale` *required* | `string` | — | The language tag the set was built in: "en-GB". |
|
|
8955
|
-
| `timeZone` *required* | `string \| undefined` | — | The IANA name of the time zone instants are written in, or `undefined` for the reader's own
|
|
9028
|
+
| `timeZone` *required* | `string \| undefined` | — | The IANA name of the time zone instants are written in, or `undefined` for the reader's own.<br>Shown in: [Every column option in one head (Column)](#column) |
|
|
8956
9029
|
| `timeZoneName` *required* | `(d: Date) => string` | — | The zone's generic name in the set's locale: "Central European Time". Empty until the page has hydrated where no zone is named. |
|
|
8957
9030
|
| `date` *required* | `(d: Date) => string` | — | Date as displayed: 17/03/2026<br>Shown in: [Set wording and formats once (Provider)](#provider) |
|
|
8958
9031
|
| `dateShort` *required* | `(d: Date) => string` | — | Short form without the year, in the range footer: 17/03 |
|
|
@@ -9029,6 +9102,29 @@ Everything the library puts out as text.
|
|
|
9029
9102
|
| `dateRangeClear` *required* | `string` | — | |
|
|
9030
9103
|
| `dateTimeRangePanel` *required* | `string` | — | Accessible name of the panel in the range with time of day. |
|
|
9031
9104
|
| `dateTimeRangeClear` *required* | `string` | — | The clearing x of the range with time - kept apart from the range without, so that an application can call the two differently. |
|
|
9105
|
+
| `colorPlaceholder` *required* | `string` | — | |
|
|
9106
|
+
| `colorTrigger` *required* | `(hex: string \| null) => string` | — | The name of the ColorPicker trigger where nothing else names it: the colour as hex, or `null` for none. |
|
|
9107
|
+
| `colorPanel` *required* | `string` | — | Accessible name of the ColorPicker panel, where its field names it no other way. |
|
|
9108
|
+
| `colorHex` *required* | `string` | — | The name and the visible label of the hex field. |
|
|
9109
|
+
| `colorBefore` *required* | `string` | — | |
|
|
9110
|
+
| `colorAfter` *required* | `string` | — | |
|
|
9111
|
+
| `colorNone` *required* | `string` | — | Stands for no colour in the strip that compares the colour the panel opened with and the colour now. |
|
|
9112
|
+
| `colorBeforeAfter` *required* | `(before: string, after: string) => string` | — | The strip as one sentence, for a screen reader. |
|
|
9113
|
+
| `colorDone` *required* | `string` | — | |
|
|
9114
|
+
| `colorSwatches` *required* | `string` | — | Name of the row of the application's own colours. |
|
|
9115
|
+
| `colorSurfaceLight` *required* | `string` | — | The name of core's light surface in the contrast readout. |
|
|
9116
|
+
| `colorSurfaceDark` *required* | `string` | — | The name of core's dark surface in the contrast readout. |
|
|
9117
|
+
| `colorPass` *required* | `string` | — | The verdict of the contrast readout at 3:1 and above, and below it; words, so that the colour is not the only sign. |
|
|
9118
|
+
| `colorFail` *required* | `string` | — | |
|
|
9119
|
+
| `colorRed` *required* | `string` | — | Names of the red, green and blue fields of the ColorPicker panel. |
|
|
9120
|
+
| `colorGreen` *required* | `string` | — | |
|
|
9121
|
+
| `colorBlue` *required* | `string` | — | |
|
|
9122
|
+
| `colorEyedropper` *required* | `string` | — | The button that picks a colour from the screen. |
|
|
9123
|
+
| `colorSquare` *required* | `string` | — | Names of the square and the hue strip, the square's role description, and what they say as value. |
|
|
9124
|
+
| `colorSquareRole` *required* | `string` | — | |
|
|
9125
|
+
| `colorSquareValue` *required* | `(saturation: number, brightness: number) => string` | — | |
|
|
9126
|
+
| `colorHue` *required* | `string` | — | |
|
|
9127
|
+
| `colorHueValue` *required* | `(degrees: number) => string` | — | |
|
|
9032
9128
|
| `previousMonth` *required* | `string` | — | |
|
|
9033
9129
|
| `nextMonth` *required* | `string` | — | |
|
|
9034
9130
|
| `monthSelect` *required* | `string` | — | Name of the calendar head's month list. |
|
|
@@ -9403,7 +9499,7 @@ Everything the library puts out as text.
|
|
|
9403
9499
|
|
|
9404
9500
|
- Two formats: CSV, and the Excel workbook from `@umriss-ui/table/xlsx` - one sheet, no styling, no formulas, no group rows, no compression; no PDF; the browser's print is the print layout (see Print above).
|
|
9405
9501
|
|
|
9406
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
9502
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
9407
9503
|
|
|
9408
9504
|
### View
|
|
9409
9505
|
|
|
@@ -10010,7 +10106,7 @@ type TableRef = Omit<TableSnapshot<unknown, any>, "setFilter" | "conditionOf"> &
|
|
|
10010
10106
|
|
|
10011
10107
|
- In [server mode](#server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
|
|
10012
10108
|
|
|
10013
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
10109
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
10014
10110
|
|
|
10015
10111
|
### Virtualisation
|
|
10016
10112
|
|
|
@@ -10416,7 +10512,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
10416
10512
|
- Paging and virtualisation do not combine; one table does one or the other.
|
|
10417
10513
|
- No loading more rows while scrolling: a table on a server pages ([Server mode](#server-mode)).
|
|
10418
10514
|
|
|
10419
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
10515
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
10420
10516
|
|
|
10421
10517
|
### Benchmark
|
|
10422
10518
|
|
|
@@ -12228,7 +12324,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
12228
12324
|
- A list filter offers what `filterOptions` names; the table cannot count values it does not hold.
|
|
12229
12325
|
- No loading more rows while scrolling: paging and virtualisation do not combine.
|
|
12230
12326
|
|
|
12231
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
12327
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
12232
12328
|
|
|
12233
12329
|
## Editing
|
|
12234
12330
|
|
|
@@ -12967,9 +13063,9 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
12967
13063
|
|
|
12968
13064
|
#### Known limits
|
|
12969
13065
|
|
|
12970
|
-
- No cell range selection and no built-in undo: the history of the reported edits is the application's ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
13066
|
+
- No cell range selection and no built-in undo: the history of the reported edits is the application's ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md)).
|
|
12971
13067
|
|
|
12972
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
13068
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
12973
13069
|
|
|
12974
13070
|
## Limits and alarms
|
|
12975
13071
|
|
|
@@ -13313,7 +13409,7 @@ type Severity = "warning" | "alarm";
|
|
|
13313
13409
|
- No list filter: four verdicts are sorted, not filtered.
|
|
13314
13410
|
- It does not judge whether a value is stale; a stale value keeps its verdict ([ADR-0010](https://github.com/romanhaendler/umriss-ui/blob/main/docs/adr/0010-a-stale-value-keeps-its-verdict.md)).
|
|
13315
13411
|
|
|
13316
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
13412
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.55.1/docs/adr/0032-what-umriss-is-not.md).
|
|
13317
13413
|
|
|
13318
13414
|
## API index
|
|
13319
13415
|
|
|
@@ -13648,8 +13744,8 @@ The props of `ColumnGroup`.
|
|
|
13648
13744
|
|
|
13649
13745
|
| Prop | Type | Default | Description |
|
|
13650
13746
|
|---|---|---|---|
|
|
13651
|
-
| `label` *required* | `string` | — | The text over the group's columns.<br>Shown in: [A header over columns (Column)](#column), [Column groups over virtual rows (Virtualisation)](#virtualisation) |
|
|
13652
|
-
| `children` | `ReactNode` | — | The `Column`s of the group; they stay together when columns are reordered.<br>Shown in: [A header over columns (Column)](#column), [Column groups over virtual rows (Virtualisation)](#virtualisation) |
|
|
13747
|
+
| `label` *required* | `string` | — | The text over the group's columns.<br>Shown in: [A header over columns (Column)](#column), [Every column option in one head (Column)](#column), [Column groups over virtual rows (Virtualisation)](#virtualisation) |
|
|
13748
|
+
| `children` | `ReactNode` | — | The `Column`s of the group; they stay together when columns are reordered.<br>Shown in: [A header over columns (Column)](#column), [Every column option in one head (Column)](#column), [Column groups over virtual rows (Virtualisation)](#virtualisation) |
|
|
13653
13749
|
|
|
13654
13750
|
##### `ColumnMenuProps`
|
|
13655
13751
|
|
|
@@ -14198,8 +14294,8 @@ row. Pass it as `of` to a part that stands outside the table.
|
|
|
14198
14294
|
|
|
14199
14295
|
| Prop | Type | Default | Description |
|
|
14200
14296
|
|---|---|---|---|
|
|
14201
|
-
| `Table` *required* | `(props: `[`TableProps`](#first-table)`<Z, Key>) => ReactNode` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and
|
|
14202
|
-
| `Column` *required* | `ColumnComponent``<Z>` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and
|
|
14297
|
+
| `Table` *required* | `(props: `[`TableProps`](#first-table)`<Z, Key>) => ReactNode` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and 148 more |
|
|
14298
|
+
| `Column` *required* | `ColumnComponent``<Z>` | — | <br>Shown in: [A first table (Installation)](#installation), [Show a list of services (First table)](#first-table), [Search and page from a header of your own (First table)](#first-table) and 148 more |
|
|
14203
14299
|
| `VerdictColumn` *required* | `VerdictColumnComponent``<Z>` | — | <br>Shown in: [A bar, a scale, an icon and a limit (Conditional formatting)](#conditional-formatting), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Read a day's deliveries by depot (Grouping)](#grouping-1) and 6 more |
|
|
14204
14300
|
| `RowDetail` *required* | `(props: `[`RowDetailProps`](#rowdetail)`<Z>) => ReactNode` | — | <br>Shown in: [Keep the header and the names in view (Width and pinning)](#width-and-pinning), [Employees in the detail (Tree rows)](#tree-rows), [Own staff and teams (Tree rows)](#tree-rows) and 5 more |
|
|
14205
14301
|
| `RowActions` *required* | `(props: `[`RowActionsProps`](#rowactions)`) => ReactNode` | — | <br>Shown in: [Name the row (Column)](#column), [Pin columns to both sides (Width and pinning)](#width-and-pinning), [Select a whole group (Grouping)](#grouping-1) and 11 more |
|
|
@@ -14479,7 +14575,7 @@ Everything the library knows about formatting.
|
|
|
14479
14575
|
| Prop | Type | Default | Description |
|
|
14480
14576
|
|---|---|---|---|
|
|
14481
14577
|
| `locale` *required* | `string` | — | The language tag the set was built in: "en-GB". |
|
|
14482
|
-
| `timeZone` *required* | `string \| undefined` | — | The IANA name of the time zone instants are written in, or `undefined` for the reader's own
|
|
14578
|
+
| `timeZone` *required* | `string \| undefined` | — | The IANA name of the time zone instants are written in, or `undefined` for the reader's own.<br>Shown in: [Every column option in one head (Column)](#column) |
|
|
14483
14579
|
| `timeZoneName` *required* | `(d: Date) => string` | — | The zone's generic name in the set's locale: "Central European Time". Empty until the page has hydrated where no zone is named. |
|
|
14484
14580
|
| `date` *required* | `(d: Date) => string` | — | Date as displayed: 17/03/2026<br>Shown in: [Set wording and formats once (Provider)](#provider) |
|
|
14485
14581
|
| `dateShort` *required* | `(d: Date) => string` | — | Short form without the year, in the range footer: 17/03 |
|
|
@@ -14556,6 +14652,29 @@ Everything the library puts out as text.
|
|
|
14556
14652
|
| `dateRangeClear` *required* | `string` | — | |
|
|
14557
14653
|
| `dateTimeRangePanel` *required* | `string` | — | Accessible name of the panel in the range with time of day. |
|
|
14558
14654
|
| `dateTimeRangeClear` *required* | `string` | — | The clearing x of the range with time - kept apart from the range without, so that an application can call the two differently. |
|
|
14655
|
+
| `colorPlaceholder` *required* | `string` | — | |
|
|
14656
|
+
| `colorTrigger` *required* | `(hex: string \| null) => string` | — | The name of the ColorPicker trigger where nothing else names it: the colour as hex, or `null` for none. |
|
|
14657
|
+
| `colorPanel` *required* | `string` | — | Accessible name of the ColorPicker panel, where its field names it no other way. |
|
|
14658
|
+
| `colorHex` *required* | `string` | — | The name and the visible label of the hex field. |
|
|
14659
|
+
| `colorBefore` *required* | `string` | — | |
|
|
14660
|
+
| `colorAfter` *required* | `string` | — | |
|
|
14661
|
+
| `colorNone` *required* | `string` | — | Stands for no colour in the strip that compares the colour the panel opened with and the colour now. |
|
|
14662
|
+
| `colorBeforeAfter` *required* | `(before: string, after: string) => string` | — | The strip as one sentence, for a screen reader. |
|
|
14663
|
+
| `colorDone` *required* | `string` | — | |
|
|
14664
|
+
| `colorSwatches` *required* | `string` | — | Name of the row of the application's own colours. |
|
|
14665
|
+
| `colorSurfaceLight` *required* | `string` | — | The name of core's light surface in the contrast readout. |
|
|
14666
|
+
| `colorSurfaceDark` *required* | `string` | — | The name of core's dark surface in the contrast readout. |
|
|
14667
|
+
| `colorPass` *required* | `string` | — | The verdict of the contrast readout at 3:1 and above, and below it; words, so that the colour is not the only sign. |
|
|
14668
|
+
| `colorFail` *required* | `string` | — | |
|
|
14669
|
+
| `colorRed` *required* | `string` | — | Names of the red, green and blue fields of the ColorPicker panel. |
|
|
14670
|
+
| `colorGreen` *required* | `string` | — | |
|
|
14671
|
+
| `colorBlue` *required* | `string` | — | |
|
|
14672
|
+
| `colorEyedropper` *required* | `string` | — | The button that picks a colour from the screen. |
|
|
14673
|
+
| `colorSquare` *required* | `string` | — | Names of the square and the hue strip, the square's role description, and what they say as value. |
|
|
14674
|
+
| `colorSquareRole` *required* | `string` | — | |
|
|
14675
|
+
| `colorSquareValue` *required* | `(saturation: number, brightness: number) => string` | — | |
|
|
14676
|
+
| `colorHue` *required* | `string` | — | |
|
|
14677
|
+
| `colorHueValue` *required* | `(degrees: number) => string` | — | |
|
|
14559
14678
|
| `previousMonth` *required* | `string` | — | |
|
|
14560
14679
|
| `nextMonth` *required* | `string` | — | |
|
|
14561
14680
|
| `monthSelect` *required* | `string` | — | Name of the calendar head's month list. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"description": "React data table for data-dense applications - sorting, filtering, grouping, aggregates, virtualisation. Declared the way it reads: columns as JSX, typed against their rows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Roman Händler",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
|
-
"@umriss-ui/core": "^0.
|
|
72
|
+
"@umriss-ui/core": "^0.55.0",
|
|
73
73
|
"react": ">=19",
|
|
74
74
|
"react-dom": ">=19"
|
|
75
75
|
},
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@types/node": "^22.20.2",
|
|
80
80
|
"@types/react": "^19.0.0",
|
|
81
81
|
"@types/react-dom": "^19.0.0",
|
|
82
|
-
"@umriss-ui/core": "0.
|
|
82
|
+
"@umriss-ui/core": "0.55.1",
|
|
83
83
|
"@umriss-ui/demo": "0.0.0",
|
|
84
84
|
"@vitejs/plugin-react": "^4.3.4",
|
|
85
85
|
"happy-dom": "^21.0.4",
|