@umriss-ui/table 0.11.2 → 0.12.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 CHANGED
@@ -22,6 +22,79 @@ is one of the internal numbers from before core's first publication as `0.1.0`
22
22
 
23
23
  ---
24
24
 
25
+ ## 0.12.0 – Every export explained, and actions that may scroll (Oct. 2026)
26
+
27
+ The package explains itself where it is used: every export carries a comment,
28
+ every default a `@default` tag, every type it names can be imported, and the
29
+ demo lists all of it in an API index (ADR-0044). `RowActions` may leave its
30
+ column in the flow. Needs `@umriss-ui/core` 0.25; the peer range moves to
31
+ `^0.25.0`.
32
+
33
+ ### Added
34
+
35
+ - **`RowActions` takes `pin`**: `pin={false}` leaves the actions column in the
36
+ flow instead of sticking at the end of the row, for a place the application
37
+ finds too narrow for a pinned block - it measures the place and decides. A
38
+ column pinned to the end still takes the actions with it, and an open Row
39
+ draft's Save still sticks. The default, `true`, is the behaviour so far.
40
+ - **Every type a props table or a signature names can be imported**:
41
+ `Present`, `Absent`, `Pin`, `ToolbarSize`, `FormatFor`, `FilterFor`,
42
+ `GroupFor`, `FooterFor`, `AggregateFor` and `Presentation` are new public
43
+ types, for annotating one's own variables and wrappers with what a column or
44
+ a toolbar part accepts. So are the types a page's table headers and type
45
+ definitions name: `ColumnBase`, `FieldColumn`, `ValuePaths`, `GroupByBase`,
46
+ `VerdictBase`, `Displayable`, `IsDisplayable`, `DatePeriod` and `RowGroup`;
47
+ and those a hook's or a function's signature names: `ModelColumn` - what
48
+ `alarmModel` and `ALARM_COLUMNS` read of a column, so far an unexported
49
+ `Column` in the `.d.ts` -, `TableInput`, `TreeInput`, `GroupLevel`,
50
+ `AggregateColumn`, `AggregateKind`, `OwnAggregate`, `Computed`,
51
+ `NumberField`, `AlarmBase` and `AlarmAvailability`. Type exports only;
52
+ nothing else changes.
53
+ - **Every export carries a comment**: what a component, a hook, a function or a
54
+ type is for, and for a hook or a function `@param` and `@returns` where its
55
+ type alone does not say it. The editor shows it on hover, from the package's
56
+ `.d.ts`. Nothing else changes.
57
+ - **A prop's default stands in a `@default` tag** where its comment used to say
58
+ it in words: the editor shows it on hover, and the props table in its Default
59
+ column. Nothing else changes.
60
+ - **The demo has an API index**: `/table/api/`, the last entry of the sidebar,
61
+ lists every export of `@umriss-ui/table`, grouped as components, hooks,
62
+ functions, constants and types, alphabetical - each value with its comment
63
+ and its declaration, each type with a link to its table or its definition,
64
+ and the pages that use it. A hook or a function a page names, in its text or
65
+ its import line, leads to its entry. `docs/llms-full.md` ends with the same
66
+ index, in place of the appendix "The rest of the API". The library is
67
+ unchanged.
68
+ - **`docs/llms-full.md` defines every type a props table names**: a type
69
+ without a table of its own (`TableRef`, `Pin`, core's `Limit`) stands under
70
+ "Types on this page" of each page that names it, with its comment and its
71
+ members or its declaration.
72
+ - **Every page says its keys**: First table has a Keyboard section of its
73
+ own (Enter and Space on a sortable header, Escape on a cut value's tip), and
74
+ every other page whose examples take Tab links the keys that apply there -
75
+ First table's, ColumnMenu's, RowActions', and those of core's Input, Select,
76
+ Popover, Checkbox, Button and the other controls a part is built from.
77
+ First table, Column, Formats, Row appearance, RowActions, Toolbar and
78
+ AlarmList gain a section Accessibility: the table's name and row header,
79
+ `aria-sort`, `aria-busy`, the toolbar's count of matches, the alarm list's
80
+ one live number, and the label a presentation's component needs. In the
81
+ demo, the Markdown twins and `docs/llms-full.md`; the table is unchanged.
82
+ - **Every prop of a props table is shown, or named as an exception**: new
83
+ examples for stripes across a wide table (`striped`), a selection held by
84
+ the application (`selection` from `useTableSelection`), an own filter that
85
+ offers the values that occur (`values`) and the toolbar's parts outside a
86
+ toolbar (`size`, the pager's `of`). The five props left without an example
87
+ are pass-throughs, a deprecated alias and a twin of a prop shown on a
88
+ sibling type; the demo's list says so for each. The table is unchanged.
89
+
90
+ ### Fixed
91
+
92
+ - **`docs/llms-full.md` names the peer in its install line**:
93
+ `npm install @umriss-ui/table @umriss-ui/core`, read from the manifest. It
94
+ had named the table alone, and an install after it lacked core.
95
+
96
+ ---
97
+
25
98
  ## 0.11.2 – Core 0.24.0 (Oct. 2026)
26
99
 
27
100
  Needs `@umriss-ui/core` 0.24; the peer range moves to `^0.24.0`. Nothing else changes for a caller.
package/README.md CHANGED
@@ -146,12 +146,15 @@ stylesheets by hand.
146
146
  * The demo: <https://romanhaendler.github.io/umriss-ui/table/>, or locally
147
147
  `pnpm dev:table` (port 4175). It is the documentation — one page per
148
148
  feature, each with running examples and their source, and the props tables
149
- generated from `src/` where a page documents a type.
149
+ generated from `src/` where a page documents a type, each prop linked to the
150
+ examples that show it. An API index lists every export, one search finds
151
+ across all five packages, and the header switches the examples to German.
150
152
  * [`CHANGELOG.md`](CHANGELOG.md) — what changes for a caller.
151
153
  * **For a coding agent**: `docs/llms-full.md` inside the installed package —
152
154
  the demo as one Markdown file, pinned to the installed version: every page
153
155
  with its examples' source, its props tables and why it is built as it is,
154
- and the declaration of every other export. Online, for the latest version:
156
+ and an index of every export with its comment and its declaration. Each
157
+ page also has a Markdown twin online; for the latest version:
155
158
  <https://romanhaendler.github.io/umriss-ui/table/llms.txt>.
156
159
  * [`../../docs/design-language.md`](../../docs/design-language.md) — the design
157
160
  language all five packages share.