@tanstack/react-table 8.0.0-alpha.85 → 8.0.0-alpha.86

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.
@@ -829,7 +829,6 @@ const Expanding = {
829
829
  return {
830
830
  onExpandedChange: makeStateUpdater('expanded', instance),
831
831
  autoResetExpanded: true,
832
- expandSubRows: true,
833
832
  paginateExpandedRows: true
834
833
  };
835
834
  },
@@ -2671,11 +2670,6 @@ const Visibility = {
2671
2670
  onColumnVisibilityChange: makeStateUpdater('columnVisibility', instance)
2672
2671
  };
2673
2672
  },
2674
- getDefaultColumnDef: () => {
2675
- return {
2676
- defaultIsVisible: true
2677
- };
2678
- },
2679
2673
  createColumn: (column, instance) => {
2680
2674
  return {
2681
2675
  toggleVisibility: value => {
@@ -3751,7 +3745,7 @@ function getExpandedRowModel() {
3751
3745
  return rowModel;
3752
3746
  }
3753
3747
 
3754
- return expandRows(rowModel, instance);
3748
+ return expandRows(rowModel);
3755
3749
  }, {
3756
3750
  key: process.env.NODE_ENV === 'development' && 'getExpandedRowModel',
3757
3751
  debug: () => {
@@ -3769,7 +3763,7 @@ function expandRows(rowModel, instance) {
3769
3763
 
3770
3764
  expandedRows.push(row);
3771
3765
 
3772
- if (instance.options.expandSubRows && (_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
3766
+ if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
3773
3767
  row.subRows.forEach(handleRow);
3774
3768
  }
3775
3769
  };
@@ -3806,7 +3800,7 @@ function getPaginationRowModel(opts) {
3806
3800
  rows,
3807
3801
  flatRows,
3808
3802
  rowsById
3809
- }, instance);
3803
+ });
3810
3804
  }
3811
3805
 
3812
3806
  return {