@x-tech-laboratories/x-libs 0.11.0 → 0.11.1

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.
@@ -119,6 +119,8 @@ export function DataTable(props) {
119
119
  getExpandedRowModel: getExpandedRowModel(),
120
120
  getRowCanExpand: (row) => row.subRows.length > 0,
121
121
  manualSorting: manual,
122
+ // The table never pages, and the state above is rebuilt each render, so TanStack's reset would draw the table again forever.
123
+ autoResetPageIndex: false,
122
124
  });
123
125
  const shown_ids = table.getVisibleLeafColumns().map((column) => column.id).join("\n");
124
126
  const shown = useMemo(() => shown_ids.split("\n").filter(Boolean).map((id) => by_id.get(id)), [shown_ids, by_id]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-tech-laboratories/x-libs",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Code the X-apps share: agents and their long runs, passwords and sign-in, the Fastify server pieces, durations, and the web page's helpers and widgets",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {