@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/API.md
CHANGED
|
@@ -71,7 +71,7 @@ Generated by the props step (`pnpm --filter @umriss-ui/table props`); do not edi
|
|
|
71
71
|
- IsDisplayable — `true` where the value present can appear as text without `children` (`Displayable`), `false` otherwise - what decides the filters and aggregates a column offers.
|
|
72
72
|
- Line — One line of a grouped table.
|
|
73
73
|
- ListCondition — The condition of a list filter: the chosen values, an absent one as `null`.
|
|
74
|
-
- ModelColumn — A column as the model reads it - what sorting, search, hiding and the export need of it, not its presentation. [id, label, value, compare, searchable, hideable, resizable, width]
|
|
74
|
+
- ModelColumn — A column as the model reads it - what sorting, search, hiding and the export need of it, not its presentation. [id, label, value, compare, searchValue, searchable, hideable, resizable, width]
|
|
75
75
|
- NumberField — The field names whose value is a number or may be absent.
|
|
76
76
|
- NumberFormat — How a number column is written: `"percent"`, `"count"`, or Intl's number options plus `decimals`; the same shape as core's `NumberFormat`.
|
|
77
77
|
- OwnAggregate — An aggregate of one's own: the values present and the group's rows.
|
package/CHANGELOG.md
CHANGED
|
@@ -26,6 +26,25 @@ is one of the internal numbers from before core's first publication as `0.1.0`
|
|
|
26
26
|
|
|
27
27
|
---
|
|
28
28
|
|
|
29
|
+
## 0.54.0 – Search finds what a cell shows, editing holds up in big and tree tables (Nov. 2026)
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **`ModelColumn.searchValue`**, the text a search matches beside the sort value; a searchable date, number or boolean column fills it with the cell's text in the formats' notation.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **Searching a date, number or boolean column** finds what the cells show ("2026", "1,234", "yes") and no longer matches epoch milliseconds or 1/0; a search keystroke does not format every cell again.
|
|
38
|
+
- **Big tables stay responsive:** a closed filter funnel no longer recomputes its values on every update, a page-size change in a grouped table is instant, Tab in grid editing no longer lags, and typing into a cell editor of a large grid no longer slows down with the number of rows.
|
|
39
|
+
- **A child row of a tree table** can be edited again without the editor closing at once.
|
|
40
|
+
- **A cell being edited** is no longer reported or dropped when the table starts loading, a row draft is no longer saved when a live update moves its row to another page, and the pager no longer leaves an open Row draft.
|
|
41
|
+
- **Ctrl+C on a day cell** copies the day in the plant's time zone, as the row copy and the exports do, not the previous day's UTC timestamp.
|
|
42
|
+
- **The list filter's popover** no longer flashes empty while it closes.
|
|
43
|
+
|
|
44
|
+
## 0.53.0 – Released in step with core (Nov. 2026)
|
|
45
|
+
|
|
46
|
+
No change of its own; the number moves with core, which removes a field's deprecated `onChange(value)` (ADR-0081).
|
|
47
|
+
|
|
29
48
|
## 0.52.0 – Server mode with groups, a printed table, announcements for a screen reader, keys that can be numbers (Oct. 2026)
|
|
30
49
|
|
|
31
50
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -602,6 +602,9 @@ export declare interface ModelColumn<Z, K extends string = string> {
|
|
|
602
602
|
value?: (row: Z) => string | number | null | undefined;
|
|
603
603
|
/** A comparison of one's own; otherwise by the kind of the value. */
|
|
604
604
|
compare?: (a: Z, b: Z) => number;
|
|
605
|
+
/** The text the free-text search reads instead of `value`, where the shown
|
|
606
|
+
text differs from the sort key (dates, numbers, booleans). */
|
|
607
|
+
searchValue?: (row: Z) => string | undefined;
|
|
605
608
|
/** Takes part in the free-text search.
|
|
606
609
|
@default false */
|
|
607
610
|
searchable?: boolean;
|