@umriss-ui/table 0.7.0 → 0.7.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 +12 -0
- package/README.md +1 -1
- package/docs/llms-full.md +30 -30
- package/package.json +14 -8
package/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,18 @@ is one of the internal numbers from before core's first publication as `0.1.0`
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## 0.7.1 – Found by search (Sep. 2026)
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- **The package's description and keywords say what it is in the words a
|
|
30
|
+
search uses**, and the demo it links to addresses every page by a path
|
|
31
|
+
(`…/table/<page>/`) instead of a hash, with the page's text readable before
|
|
32
|
+
the demo starts. Old `#/<page>` links still land. Nothing in the package's
|
|
33
|
+
code changed.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
25
37
|
## 0.7.0 – Rows edited on purpose (Sep. 2026)
|
|
26
38
|
|
|
27
39
|
Needs `@umriss-ui/core` 0.14: it reads the new row wording keys; the peer
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @umriss-ui/table
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A React data table for data-dense applications, declared the way it reads: columns are JSX elements, typed
|
|
4
4
|
against the rows they came from. The hook binds the row kind once and hands back
|
|
5
5
|
the `Table` and the `Column` that belong to it, so a column can only name a
|
|
6
6
|
field the row actually has.
|
package/docs/llms-full.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @umriss-ui/table 0.7.
|
|
1
|
+
# @umriss-ui/table 0.7.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
|
|
|
5
5
|
Install with `pnpm add @umriss-ui/table`. This text is generated from the package's demo (https://romanhaendler.github.io/umriss-ui/table/): every page with its import line, its examples - the source exactly as it runs, with the package name where the demo imports its own source - its props tables generated from the code, and what it deliberately does not do. The pages index stands in https://romanhaendler.github.io/umriss-ui/table/llms.txt.
|
|
6
6
|
|
|
@@ -526,7 +526,7 @@ Two packages, no stylesheet to import, and one hook that turns an array of rows
|
|
|
526
526
|
import { useTable } from "@umriss-ui/table";
|
|
527
527
|
```
|
|
528
528
|
|
|
529
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
529
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/installation/
|
|
530
530
|
|
|
531
531
|
Install `pnpm add @umriss-ui/table @umriss-ui/core`. The core package is a peer dependency: the table reads its provider, its formats and its wording (ADR-0016). React 18 or 19 as a peer as well.
|
|
532
532
|
|
|
@@ -581,7 +581,7 @@ Rows of records to scan, sort, search and select (also called a data table or da
|
|
|
581
581
|
import { useTable } from "@umriss-ui/table";
|
|
582
582
|
```
|
|
583
583
|
|
|
584
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
584
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/table/
|
|
585
585
|
|
|
586
586
|
`useTable` takes the rows and hands back the `Table` and the `Column` that belong to them, so a column can only name a field the row has. The parts that touch no row, such as `Toolbar` or `Search`, are ordinary imports.
|
|
587
587
|
|
|
@@ -728,7 +728,7 @@ Set the table's wording, formats and density once for the whole application, at
|
|
|
728
728
|
import { UmrissProvider } from "@umriss-ui/table";
|
|
729
729
|
```
|
|
730
730
|
|
|
731
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
731
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/provider/
|
|
732
732
|
|
|
733
733
|
The table has no provider of its own: it reads the one of @umriss-ui/core (ADR-0016). German wording ships as `@umriss-ui/core/wording/de` (ADR-0019).
|
|
734
734
|
|
|
@@ -812,7 +812,7 @@ One value per row, read from a field or computed. Everything the table does with
|
|
|
812
812
|
import { useTable } from "@umriss-ui/table";
|
|
813
813
|
```
|
|
814
814
|
|
|
815
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
815
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/column/
|
|
816
816
|
|
|
817
817
|
Without a presentation the value type decides: text on the left, numbers right-aligned with tabular figures, points in time as date and time, truth values as a word.
|
|
818
818
|
|
|
@@ -1021,7 +1021,7 @@ How a value looks in its cell: a standard format, a presentation of its own, an
|
|
|
1021
1021
|
import { useTable } from "@umriss-ui/table";
|
|
1022
1022
|
```
|
|
1023
1023
|
|
|
1024
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1024
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/formats/
|
|
1025
1025
|
|
|
1026
1026
|
A format or a presentation changes what the cell shows and nothing else: sorting, search, export and totals keep working on the value.
|
|
1027
1027
|
|
|
@@ -1200,7 +1200,7 @@ How wide a column stands, which columns stay in view while the table scrolls sid
|
|
|
1200
1200
|
import { useTable } from "@umriss-ui/table";
|
|
1201
1201
|
```
|
|
1202
1202
|
|
|
1203
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1203
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/width-and-pinning/
|
|
1204
1204
|
|
|
1205
1205
|
#### Examples
|
|
1206
1206
|
|
|
@@ -1398,7 +1398,7 @@ A column written once and used in many tables: as a preset spread into a column,
|
|
|
1398
1398
|
import { column } from "@umriss-ui/table";
|
|
1399
1399
|
```
|
|
1400
1400
|
|
|
1401
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1401
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/presets/
|
|
1402
1402
|
|
|
1403
1403
|
#### Examples
|
|
1404
1404
|
|
|
@@ -1524,7 +1524,7 @@ Order the rows by a column, and by further columns where the first ties. Reach f
|
|
|
1524
1524
|
import { useTable } from "@umriss-ui/table";
|
|
1525
1525
|
```
|
|
1526
1526
|
|
|
1527
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1527
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/sorting/
|
|
1528
1528
|
|
|
1529
1529
|
#### Examples
|
|
1530
1530
|
|
|
@@ -1643,7 +1643,7 @@ A text field that narrows the table to the rows containing what the user types (
|
|
|
1643
1643
|
import { Search } from "@umriss-ui/table";
|
|
1644
1644
|
```
|
|
1645
1645
|
|
|
1646
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1646
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/search/
|
|
1647
1647
|
|
|
1648
1648
|
It searches the columns whose value is text, and it searches the value, not its presentation; `searchable` on a column adds or removes one. A search term goes back to page one and counts as a restriction – the toolbar shows the matches and “Reset” – but it is not listed as a condition, since the field already shows it.
|
|
1649
1649
|
|
|
@@ -1790,7 +1790,7 @@ Narrow a column to some of its values: those that occur, a range between two bou
|
|
|
1790
1790
|
import { columnFilter } from "@umriss-ui/table";
|
|
1791
1791
|
```
|
|
1792
1792
|
|
|
1793
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
1793
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/filter/
|
|
1794
1794
|
|
|
1795
1795
|
Every condition stands in the table toolbar with the count of matches, a cross to lift it and “Reset” for all. A click on a condition opens its filter again.
|
|
1796
1796
|
|
|
@@ -2077,7 +2077,7 @@ Decide which rows a table has at all – by permission, by site, by tenant. The
|
|
|
2077
2077
|
import { useTable } from "@umriss-ui/table";
|
|
2078
2078
|
```
|
|
2079
2079
|
|
|
2080
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
2080
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/pre-filter/
|
|
2081
2081
|
|
|
2082
2082
|
#### Examples
|
|
2083
2083
|
|
|
@@ -2152,7 +2152,7 @@ The bar under the table that splits long results into pages, with the page size
|
|
|
2152
2152
|
import { Pagination } from "@umriss-ui/table";
|
|
2153
2153
|
```
|
|
2154
2154
|
|
|
2155
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
2155
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/pagination/
|
|
2156
2156
|
|
|
2157
2157
|
`pageSize` on the hook sets the rows per page, `pageSizes` the choices. A search, a filter, a new sort or a new page size go back to page one, and a page that no longer exists after a filter becomes the last one. A virtualised table does not page, and the bar is not drawn.
|
|
2158
2158
|
|
|
@@ -2247,7 +2247,7 @@ Gather rows that share a value under one header with their count and totals (als
|
|
|
2247
2247
|
import { useTable } from "@umriss-ui/table";
|
|
2248
2248
|
```
|
|
2249
2249
|
|
|
2250
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
2250
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/grouping/
|
|
2251
2251
|
|
|
2252
2252
|
The outer levels become header rows that carry every total under its column; the innermost of several levels stands as a span beside its rows. The form follows the level, never the data (ADR-0029).
|
|
2253
2253
|
|
|
@@ -3123,7 +3123,7 @@ What a column's values come to: a sum, an average, the extremes, a count. It sta
|
|
|
3123
3123
|
import { useTable } from "@umriss-ui/table";
|
|
3124
3124
|
```
|
|
3125
3125
|
|
|
3126
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
3126
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/aggregate/
|
|
3127
3127
|
|
|
3128
3128
|
An aggregate is always computed from rows: a group's average is over its rows, not over the averages of the groups inside it. Absent values do not count.
|
|
3129
3129
|
|
|
@@ -3484,7 +3484,7 @@ Tick rows to act on them together (also called row selection or multi-select).
|
|
|
3484
3484
|
import { useTable } from "@umriss-ui/table";
|
|
3485
3485
|
```
|
|
3486
3486
|
|
|
3487
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
3487
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/selection/
|
|
3488
3488
|
|
|
3489
3489
|
“Select all” selects what search and filters leave, on every page.
|
|
3490
3490
|
|
|
@@ -3554,7 +3554,7 @@ How rows look: dense or regular, marked by their state, and what stands while ro
|
|
|
3554
3554
|
import { useTable } from "@umriss-ui/table";
|
|
3555
3555
|
```
|
|
3556
3556
|
|
|
3557
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
3557
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/row-appearance/
|
|
3558
3558
|
|
|
3559
3559
|
A row's mark is the application's stylesheet at work; say the same in a word in a column too, so the colour is never the only sign.
|
|
3560
3560
|
|
|
@@ -3724,7 +3724,7 @@ More about a row, opened beneath it on demand (also called an expandable or mast
|
|
|
3724
3724
|
import { useTable } from "@umriss-ui/table";
|
|
3725
3725
|
```
|
|
3726
3726
|
|
|
3727
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
3727
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/rowdetail/
|
|
3728
3728
|
|
|
3729
3729
|
The table puts an expander at the start of each row, named after the row – “Expand FP-1004210”. Several rows can be open at once, and a row stays open by its key: a search or a filter that hides it for a moment does not close it.
|
|
3730
3730
|
|
|
@@ -3886,7 +3886,7 @@ Buttons at the end of each row for what the user does to that row – open, appr
|
|
|
3886
3886
|
import { useTable } from "@umriss-ui/table";
|
|
3887
3887
|
```
|
|
3888
3888
|
|
|
3889
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
3889
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/rowactions/
|
|
3890
3890
|
|
|
3891
3891
|
Up to two actions stand in the row as buttons; from three on, all of them move into one menu per row, so the column keeps its width and no action changes place when another is added. Each is read out with the row's name – “Open: INV-26-0318”.
|
|
3892
3892
|
|
|
@@ -4068,7 +4068,7 @@ The bar above the table that holds its search, column menu and export, shows how
|
|
|
4068
4068
|
import { Toolbar } from "@umriss-ui/table";
|
|
4069
4069
|
```
|
|
4070
4070
|
|
|
4071
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4071
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/toolbar/
|
|
4072
4072
|
|
|
4073
4073
|
It stands above the table wherever it stands in the JSX. On the left go the parts you put into it, then the conditions of the column filters; on the right the count of matches and “Reset” while something restricts, and the selection with its bulk actions while rows are ticked.
|
|
4074
4074
|
|
|
@@ -4189,7 +4189,7 @@ A menu in which the user shows, hides, reorders and pins the table's columns and
|
|
|
4189
4189
|
import { ColumnMenu } from "@umriss-ui/table";
|
|
4190
4190
|
```
|
|
4191
4191
|
|
|
4192
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4192
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/columnmenu/
|
|
4193
4193
|
|
|
4194
4194
|
Every change applies to header, body and footer together. The row header cannot be hidden. A column moves only within its block – pinned at the start, unpinned, pinned at the end – and after a move the focus stays on the button that was pressed.
|
|
4195
4195
|
|
|
@@ -4300,7 +4300,7 @@ A button that writes the rows the user sees into a CSV file for a spreadsheet (a
|
|
|
4300
4300
|
import { Export } from "@umriss-ui/table";
|
|
4301
4301
|
```
|
|
4302
4302
|
|
|
4303
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4303
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/export/
|
|
4304
4304
|
|
|
4305
4305
|
It writes the filtered set across all pages, in the visible columns, in the order and sorting on screen – and the values, not their presentation: numbers with a decimal comma, a point in time as a timestamp, an absent value as an empty field. Fields are separated by semicolons, and a byte order mark tells the spreadsheet it is UTF-8.
|
|
4306
4306
|
|
|
@@ -4415,7 +4415,7 @@ What the user did to the table – search, conditions, sort, hidden columns, wid
|
|
|
4415
4415
|
import { useTable } from "@umriss-ui/table";
|
|
4416
4416
|
```
|
|
4417
4417
|
|
|
4418
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4418
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/view/
|
|
4419
4419
|
|
|
4420
4420
|
The table remembers nothing, not in the address and not in any storage. Everything stands in `t.view`; keep it where the application keeps things and hand it back through `initialView`.
|
|
4421
4421
|
|
|
@@ -4515,7 +4515,7 @@ Thousands of rows the user scrolls through without pages: only the rows in view
|
|
|
4515
4515
|
import { useTable } from "@umriss-ui/table";
|
|
4516
4516
|
```
|
|
4517
4517
|
|
|
4518
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4518
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/virtualisation/
|
|
4519
4519
|
|
|
4520
4520
|
#### Examples
|
|
4521
4521
|
|
|
@@ -4636,7 +4636,7 @@ A table over rows a server holds: the application hands in one page and the serv
|
|
|
4636
4636
|
import { useTable } from "@umriss-ui/table";
|
|
4637
4637
|
```
|
|
4638
4638
|
|
|
4639
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4639
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/manual-mode/
|
|
4640
4640
|
|
|
4641
4641
|
`onViewChange` reports the view whenever what decides the rows changes – search, conditions, sort, page, page size – complete, defaults included, since a server has no default of the table's.
|
|
4642
4642
|
|
|
@@ -4993,7 +4993,7 @@ Make the table one Tab stop whose cells the arrow keys walk, as in a spreadsheet
|
|
|
4993
4993
|
import { useTable } from "@umriss-ui/table";
|
|
4994
4994
|
```
|
|
4995
4995
|
|
|
4996
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
4996
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/grid-mode/
|
|
4997
4997
|
|
|
4998
4998
|
A table is read by default: a native table, where every control is one Tab away and a screen reader keeps its table keys. Grid mode changes that on request only (ADR-0034).
|
|
4999
4999
|
|
|
@@ -5133,7 +5133,7 @@ Let people change a value in its cell. The table reports each edit, and the appl
|
|
|
5133
5133
|
import { useTable } from "@umriss-ui/table";
|
|
5134
5134
|
```
|
|
5135
5135
|
|
|
5136
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
5136
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/edits/
|
|
5137
5137
|
|
|
5138
5138
|
An edit is reported, never applied: the application owns the rows. `validate` keeps the editor open with its message until the draft passes.
|
|
5139
5139
|
|
|
@@ -5424,7 +5424,7 @@ A column that judges each value against limits – ok, warning, alarm or unknown
|
|
|
5424
5424
|
import { useTable } from "@umriss-ui/table";
|
|
5425
5425
|
```
|
|
5426
5426
|
|
|
5427
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
5427
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/verdictcolumn/
|
|
5428
5428
|
|
|
5429
5429
|
A missing value reads “unknown”: a fourth verdict, not a blank cell. Each verdict carries a shape and a word as well as a colour, and a value past a limit shows its excess beside it.
|
|
5430
5430
|
|
|
@@ -5659,7 +5659,7 @@ The list of alerts someone has to see and acknowledge, worst first, with their s
|
|
|
5659
5659
|
import { AlarmList, alarmModel } from "@umriss-ui/table";
|
|
5660
5660
|
```
|
|
5661
5661
|
|
|
5662
|
-
Demo page: https://romanhaendler.github.io/umriss-ui/table
|
|
5662
|
+
Demo page: https://romanhaendler.github.io/umriss-ui/table/alarmlist/
|
|
5663
5663
|
|
|
5664
5664
|
The library receives alerts and raises none (ADR-0009). `alarmModel` turns them into a sorted view – priority, then acknowledgement, then time – and the list shows it; your application applies the transitions (`acknowledge`, `snooze`, `unsnooze`, `disable`, `enable`) to its own state. The lifecycle is one field with four values, active or resolved × acknowledged or not, so an alert that came and went unseen stays until someone acknowledges it.
|
|
5665
5665
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/table",
|
|
3
|
-
"version": "0.7.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.7.1",
|
|
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",
|
|
7
7
|
"homepage": "https://romanhaendler.github.io/umriss-ui/table/",
|
|
@@ -15,11 +15,17 @@
|
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"react",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
18
|
+
"react-table",
|
|
19
|
+
"data-table",
|
|
20
|
+
"data-grid",
|
|
21
|
+
"datagrid",
|
|
21
22
|
"table",
|
|
22
|
-
"
|
|
23
|
+
"sorting",
|
|
24
|
+
"filtering",
|
|
25
|
+
"grouping",
|
|
26
|
+
"virtualization",
|
|
27
|
+
"typescript",
|
|
28
|
+
"umriss"
|
|
23
29
|
],
|
|
24
30
|
"type": "module",
|
|
25
31
|
"files": [
|
|
@@ -45,7 +51,7 @@
|
|
|
45
51
|
"peerDependencies": {
|
|
46
52
|
"react": ">=18",
|
|
47
53
|
"react-dom": ">=18",
|
|
48
|
-
"@umriss-ui/core": "^0.14.
|
|
54
|
+
"@umriss-ui/core": "^0.14.1"
|
|
49
55
|
},
|
|
50
56
|
"devDependencies": {
|
|
51
57
|
"@fontsource/geist-mono": "^5.3.0",
|
|
@@ -59,7 +65,7 @@
|
|
|
59
65
|
"typescript": "^5.6.3",
|
|
60
66
|
"vite": "^6.0.0",
|
|
61
67
|
"vite-plugin-dts": "^4.3.0",
|
|
62
|
-
"@umriss-ui/core": "0.14.
|
|
68
|
+
"@umriss-ui/core": "0.14.1",
|
|
63
69
|
"@umriss-ui/demo": "0.0.0"
|
|
64
70
|
},
|
|
65
71
|
"scripts": {
|