@svadmin/ui 0.32.6 → 0.32.7

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.
@@ -9,7 +9,7 @@
9
9
  type ColumnVisibilityState,
10
10
  type ExpandedState,
11
11
  } from '@tanstack/svelte-table';
12
- import { getCoreRowModel } from '@tanstack/table-core';
12
+ import { createCoreRowModel } from '@tanstack/table-core';
13
13
 
14
14
  import { useList, useDelete, useDeleteMany, getResource, notify } from '@svadmin/core';
15
15
  import type { Pagination as PaginationState, Sort, Filter, FieldDefinition } from '@svadmin/core';
@@ -280,7 +280,7 @@
280
280
  const tbl = createTable({
281
281
  get data() { return query.data?.data ?? []; },
282
282
  get columns() { return columns; },
283
- getCoreRowModel: getCoreRowModel(),
283
+ getCoreRowModel: createCoreRowModel(),
284
284
  manualPagination: true,
285
285
  manualSorting: true,
286
286
  getRowId: (row: any) => String(row[primaryKey]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/ui",
3
- "version": "0.32.6",
3
+ "version": "0.32.7",
4
4
  "description": "Pre-built admin UI components — AdminApp, AutoTable, AutoForm, Sidebar, Layout",
5
5
  "type": "module",
6
6
  "sideEffects": [