@tanstack/react-table 8.5.3 → 8.5.6

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.
@@ -2158,7 +2158,7 @@ const RowSelection = {
2158
2158
  // return table.options.enableGroupingRowSelection ?? false
2159
2159
  // },
2160
2160
  getIsAllRowsSelected: () => {
2161
- const preGroupedFlatRows = table.getPreGroupedRowModel().flatRows;
2161
+ const preGroupedFlatRows = table.getFilteredRowModel().flatRows;
2162
2162
  const {
2163
2163
  rowSelection
2164
2164
  } = table.getState();
@@ -2189,7 +2189,7 @@ const RowSelection = {
2189
2189
  var _table$getState$rowSe;
2190
2190
 
2191
2191
  const totalSelected = Object.keys((_table$getState$rowSe = table.getState().rowSelection) != null ? _table$getState$rowSe : {}).length;
2192
- return totalSelected > 0 && totalSelected < table.getCoreRowModel().flatRows.length;
2192
+ return totalSelected > 0 && totalSelected < table.getFilteredRowModel().flatRows.length;
2193
2193
  },
2194
2194
  getIsSomePageRowsSelected: () => {
2195
2195
  const paginationFlatRows = table.getPaginationRowModel().flatRows;
@@ -3150,6 +3150,7 @@ const createRow = (table, id, original, rowIndex, depth, subRows) => {
3150
3150
  // visits: number
3151
3151
  // status: string
3152
3152
  // progress: number
3153
+ // createdAt: Date
3153
3154
  // nested: {
3154
3155
  // foo: [
3155
3156
  // {