@tanstack/table-core 8.3.2 → 8.3.3

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/table-core",
3
3
  "author": "Tanner Linsley",
4
- "version": "8.3.2",
4
+ "version": "8.3.3",
5
5
  "description": "Headless UI for building powerful tables & datagrids for TS/JS.",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/tanstack/table#readme",
@@ -309,7 +309,7 @@ export const RowSelection: TableFeature = {
309
309
 
310
310
  getIsSomeRowsSelected: () => {
311
311
  const totalSelected = Object.keys(table.getState().rowSelection ?? {}).length
312
- return totalSelected < table.getCoreRowModel().flatRows.length
312
+ return totalSelected > 0 && totalSelected < table.getCoreRowModel().flatRows.length
313
313
  },
314
314
 
315
315
  getIsSomePageRowsSelected: () => {