@guiexpert/table 1.1.116 → 1.1.118
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 +5 -0
- package/index.cjs +28 -28
- package/index.d.ts +2 -0
- package/index.js +2043 -1777
- package/lib/table/cover-grid/cover-grid-fill-options.if.d.ts +32 -0
- package/lib/table/cover-grid/cover-grid-fill.d.ts +41 -0
- package/lib/table/data/options/table-options.d.ts +3 -0
- package/lib/table/data/options/table-options.if.d.ts +23 -0
- package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +95 -1
- package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +3 -1
- package/lib/table/ele-scope.d.ts +7 -0
- package/lib/table/instanceof-workaround.d.ts +15 -0
- package/lib/table/render-scope.d.ts +23 -1
- package/lib/table/resize-handler.d.ts +8 -1
- package/lib/table/table-api.d.ts +31 -0
- package/lib/table/table-scope.d.ts +23 -0
- package/llms.txt +36 -0
- package/package.json +1 -1
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
|
|