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