@guiexpert/table 1.1.115 → 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
@@ -126,6 +129,10 @@ This is the UI-agnostic table component for your next web app. 😊
126
129
  (wrappers `cellActivated`, since 1.1.115) – one handler for keyboard and mouse.
127
130
  - **Hide the focus frame:** `tableOptions.focusFrame: "never"`, or `"keyboard"` to show it only while the table is used
128
131
  with the keyboard (since 1.1.115) – not with CSS.
132
+ - **Cover grid warns "the body model has no row objects"?** Fixed in 1.1.116 – the scroll state stores the first
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 })`.
129
136
  - **AI assistants:** `llms.txt` in this package – recipes and pitfalls, every snippet compiled against the API.
130
137
  - **Nothing visible?** The host div needs a fixed height and the stylesheet `@guiexpert/table/css/main.css`.
131
138