@guiexpert/table 1.1.116 → 1.1.117

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/README.md CHANGED
@@ -93,6 +93,9 @@ This is the UI-agnostic table component for your next web app. 😊
93
93
  every table. Cover grid with the keyboard: the arrow keys move from item to item (wrap at the end of a row, empty
94
94
  tiles skipped), Home/End, Page Up/Down, the focus follows the item after sorting, filtering and resizing. Focus
95
95
  frame: `focusFrame: "always" | "keyboard" | "never"` – since 1.1.115
96
+ - Cover grid in the full width: `coverGridFill: { tileWidth, aspectRatio, extraHeight }` – tiles stretch flush to the
97
+ edge, a resize takes effect in the same frame with one render, a size slider via `tableApi.setCoverGridFill()` –
98
+ since 1.1.117
96
99
  - State persistence: column layout (width, order, visibility), sorting, scroll position, tree, checked and selected
97
100
  rows, header groups – in `localStorage` (`autoRestoreOptions`) or on your server (`tableApi.getState()` /
98
101
  `applyState()`, `initialState`, `onStateChanged`); stored by property and row id, never by index – since 1.1.92
@@ -128,6 +131,8 @@ This is the UI-agnostic table component for your next web app. 😊
128
131
  with the keyboard (since 1.1.115) – not with CSS.
129
132
  - **Cover grid warns "the body model has no row objects"?** Fixed in 1.1.116 – the scroll state stores the first
130
133
  visible item, no warning. Do not set `getRowId: (_row, rowIndex) => rowIndex` for a cover grid.
134
+ - **Cover grid tiles should fill the whole width?** `tableOptions.coverGridFill: { tileWidth: 165, aspectRatio: 220 / 165 }`
135
+ (since 1.1.117) – no own `ResizeObserver`; size slider: `tableApi.setCoverGridFill({ tileWidth })`.
131
136
  - **AI assistants:** `llms.txt` in this package – recipes and pitfalls, every snippet compiled against the API.
132
137
  - **Nothing visible?** The host div needs a fixed height and the stylesheet `@guiexpert/table/css/main.css`.
133
138