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