@umriss-ui/table 0.52.0 → 0.54.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/API.md +1 -1
- package/CHANGELOG.md +19 -0
- package/dist/index.d.ts +3 -0
- package/dist/table.js +2022 -1973
- package/docs/llms-full.md +20 -19
- 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.54.0
|
|
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
|
|
|
@@ -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.54.0/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.54.0/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.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
723
723
|
|
|
724
724
|
### Provider
|
|
725
725
|
|
|
@@ -2553,7 +2553,7 @@ From `ExportProps` — the full table stands on [Export](#export).
|
|
|
2553
2553
|
|
|
2554
2554
|
- In [server mode](#server-mode) the table sorts nothing itself; the sort goes to the server in the request.
|
|
2555
2555
|
|
|
2556
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
2556
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
2557
2557
|
|
|
2558
2558
|
### Search
|
|
2559
2559
|
|
|
@@ -2783,7 +2783,7 @@ type TableRef = Omit<TableSnapshot<unknown, any>, "setFilter" | "conditionOf"> &
|
|
|
2783
2783
|
|
|
2784
2784
|
- In [server mode](#server-mode) the table searches nothing itself; the term goes to the server in the request.
|
|
2785
2785
|
|
|
2786
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
2786
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
2787
2787
|
|
|
2788
2788
|
### Filter
|
|
2789
2789
|
|
|
@@ -3852,7 +3852,7 @@ type Absent = null | undefined;
|
|
|
3852
3852
|
|
|
3853
3853
|
- In [server mode](#server-mode) a list filter offers what the application names; the table cannot count values it does not hold.
|
|
3854
3854
|
|
|
3855
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
3855
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
3856
3856
|
|
|
3857
3857
|
### Pre-filter
|
|
3858
3858
|
|
|
@@ -5134,11 +5134,11 @@ export default function GroupAndFoldFromControls() {
|
|
|
5134
5134
|
|
|
5135
5135
|
#### Known limits
|
|
5136
5136
|
|
|
5137
|
-
- No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5137
|
+
- No pivot and no more than three levels ([ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md)).
|
|
5138
5138
|
- No bar to drag headers onto: grouping is chosen in the column menu.
|
|
5139
5139
|
- In [server mode](#server-mode) the server groups: the request carries `grouping`, the answer `groups`, and a page counts lines.
|
|
5140
5140
|
|
|
5141
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5141
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
5142
5142
|
|
|
5143
5143
|
### Tree rows
|
|
5144
5144
|
|
|
@@ -5804,7 +5804,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
5804
5804
|
- Not in [server mode](#server-mode).
|
|
5805
5805
|
- One column set for every level; a level without a value shows it as absent.
|
|
5806
5806
|
|
|
5807
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
5807
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
5808
5808
|
|
|
5809
5809
|
### Aggregate
|
|
5810
5810
|
|
|
@@ -6346,7 +6346,7 @@ type Displayable = string | number | boolean | Date;
|
|
|
6346
6346
|
|
|
6347
6347
|
- 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
6348
|
|
|
6349
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
6349
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
6350
6350
|
|
|
6351
6351
|
## Rows
|
|
6352
6352
|
|
|
@@ -6618,7 +6618,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
6618
6618
|
|
|
6619
6619
|
- 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
6620
|
|
|
6621
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
6621
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
6622
6622
|
|
|
6623
6623
|
### Row appearance
|
|
6624
6624
|
|
|
@@ -9403,7 +9403,7 @@ Everything the library puts out as text.
|
|
|
9403
9403
|
|
|
9404
9404
|
- 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
9405
|
|
|
9406
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
9406
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
9407
9407
|
|
|
9408
9408
|
### View
|
|
9409
9409
|
|
|
@@ -10010,7 +10010,7 @@ type TableRef = Omit<TableSnapshot<unknown, any>, "setFilter" | "conditionOf"> &
|
|
|
10010
10010
|
|
|
10011
10011
|
- In [server mode](#server-mode) the page goes to the server in the request, and `rowCount` decides how many pages there are.
|
|
10012
10012
|
|
|
10013
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
10013
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
10014
10014
|
|
|
10015
10015
|
### Virtualisation
|
|
10016
10016
|
|
|
@@ -10416,7 +10416,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
10416
10416
|
- Paging and virtualisation do not combine; one table does one or the other.
|
|
10417
10417
|
- No loading more rows while scrolling: a table on a server pages ([Server mode](#server-mode)).
|
|
10418
10418
|
|
|
10419
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
10419
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
10420
10420
|
|
|
10421
10421
|
### Benchmark
|
|
10422
10422
|
|
|
@@ -12228,7 +12228,7 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
12228
12228
|
- A list filter offers what `filterOptions` names; the table cannot count values it does not hold.
|
|
12229
12229
|
- No loading more rows while scrolling: paging and virtualisation do not combine.
|
|
12230
12230
|
|
|
12231
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
12231
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12232
12232
|
|
|
12233
12233
|
## Editing
|
|
12234
12234
|
|
|
@@ -12967,9 +12967,9 @@ From `ToolbarProps` — the full table stands on [Toolbar](#toolbar).
|
|
|
12967
12967
|
|
|
12968
12968
|
#### Known limits
|
|
12969
12969
|
|
|
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.
|
|
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.54.0/docs/adr/0032-what-umriss-is-not.md)).
|
|
12971
12971
|
|
|
12972
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
12972
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
12973
12973
|
|
|
12974
12974
|
## Limits and alarms
|
|
12975
12975
|
|
|
@@ -13313,7 +13313,7 @@ type Severity = "warning" | "alarm";
|
|
|
13313
13313
|
- No list filter: four verdicts are sorted, not filtered.
|
|
13314
13314
|
- 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
13315
|
|
|
13316
|
-
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.
|
|
13316
|
+
What umriss deliberately does not build, and why: [ADR-0032](https://github.com/romanhaendler/umriss-ui/blob/table-v0.54.0/docs/adr/0032-what-umriss-is-not.md).
|
|
13317
13317
|
|
|
13318
13318
|
## API index
|
|
13319
13319
|
|
|
@@ -13990,6 +13990,7 @@ export need of it, not its presentation.
|
|
|
13990
13990
|
| `label` | `string` | — | Human-readable label – for the column menu and the CSV header row. Not for the presentation of the header cell: that stays compositional. |
|
|
13991
13991
|
| `value` | `(row: Z) => string \| number \| null \| undefined` | — | The value for sorting and searching. `null`, `undefined` and `NaN` are absent: they stand last in both directions and match no search. |
|
|
13992
13992
|
| `compare` | `(a: Z, b: Z) => number` | — | A comparison of one's own; otherwise by the kind of the value. |
|
|
13993
|
+
| `searchValue` | `(row: Z) => string \| undefined` | — | The text the free-text search reads instead of `value`, where the shown text differs from the sort key (dates, numbers, booleans). |
|
|
13993
13994
|
| `searchable` | `boolean` | `false` | Takes part in the free-text search. |
|
|
13994
13995
|
| `hideable` | `boolean` | `true` | May the user switch this column away? `false` for columns that identify the row – without them the table is no longer readable. |
|
|
13995
13996
|
| `resizable` | `boolean` | `false` | May the user drag the width? A column whose content fits anyway needs no grip. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umriss-ui/table",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
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.54.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.54.0",
|
|
83
83
|
"@umriss-ui/demo": "0.0.0",
|
|
84
84
|
"@vitejs/plugin-react": "^4.3.4",
|
|
85
85
|
"happy-dom": "^21.0.4",
|