@tanstack/table-core 8.2.4 → 8.2.5

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.2.4",
4
+ "version": "8.2.5",
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",
@@ -218,9 +218,11 @@ export const Expanding: TableFeature = {
218
218
  },
219
219
  getCanExpand: () => {
220
220
  return (
221
- (table.options.getRowCanExpand?.(row) ?? true) &&
222
- (table.options.enableExpanding ?? true) &&
223
- !!row.subRows?.length
221
+ table.options.getRowCanExpand?.(row) ??
222
+ (
223
+ (table.options.enableExpanding ?? true) &&
224
+ !!row.subRows?.length
225
+ )
224
226
  )
225
227
  },
226
228
  getToggleExpandedHandler: () => {