@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.
@@ -2669,7 +2669,7 @@ var drawChart = (function (exports) {
2669
2669
  </script>
2670
2670
  <script>
2671
2671
  /*<!--*/
2672
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"ddcf-127"},{"name":"react-table/src/index.tsx","uid":"ddcf-129"}]}]}],"isRoot":true},"nodeParts":{"ddcf-127":{"renderedLength":137536,"gzipLength":23386,"brotliLength":0,"mainUid":"ddcf-126"},"ddcf-129":{"renderedLength":2102,"gzipLength":836,"brotliLength":0,"mainUid":"ddcf-128"}},"nodeMetas":{"ddcf-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"ddcf-127"},"imported":[],"importedBy":[{"uid":"ddcf-128"}]},"ddcf-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"ddcf-129"},"imported":[{"uid":"ddcf-130"},{"uid":"ddcf-126"}],"importedBy":[],"isEntry":true},"ddcf-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"ddcf-128"}],"isExternal":true}},"env":{"rollup":"2.70.2"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2672
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"74a1-127"},{"name":"react-table/src/index.tsx","uid":"74a1-129"}]}]}],"isRoot":true},"nodeParts":{"74a1-127":{"renderedLength":137358,"gzipLength":23347,"brotliLength":0,"mainUid":"74a1-126"},"74a1-129":{"renderedLength":2102,"gzipLength":836,"brotliLength":0,"mainUid":"74a1-128"}},"nodeMetas":{"74a1-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"74a1-127"},"imported":[],"importedBy":[{"uid":"74a1-128"}]},"74a1-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"74a1-129"},"imported":[{"uid":"74a1-130"},{"uid":"74a1-126"}],"importedBy":[],"isEntry":true},"74a1-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"74a1-128"}],"isExternal":true}},"env":{"rollup":"2.70.2"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
2673
2673
 
2674
2674
  const run = () => {
2675
2675
  const width = window.innerWidth;
@@ -11,11 +11,11 @@
11
11
  "children": [
12
12
  {
13
13
  "name": "table-core/build/esm/index.js",
14
- "uid": "ddcf-132"
14
+ "uid": "74a1-132"
15
15
  },
16
16
  {
17
17
  "name": "react-table/src/index.tsx",
18
- "uid": "ddcf-134"
18
+ "uid": "74a1-134"
19
19
  }
20
20
  ]
21
21
  }
@@ -25,55 +25,55 @@
25
25
  "isRoot": true
26
26
  },
27
27
  "nodeParts": {
28
- "ddcf-132": {
29
- "renderedLength": 137536,
30
- "gzipLength": 23386,
28
+ "74a1-132": {
29
+ "renderedLength": 137358,
30
+ "gzipLength": 23347,
31
31
  "brotliLength": 0,
32
- "mainUid": "ddcf-131"
32
+ "mainUid": "74a1-131"
33
33
  },
34
- "ddcf-134": {
34
+ "74a1-134": {
35
35
  "renderedLength": 2102,
36
36
  "gzipLength": 836,
37
37
  "brotliLength": 0,
38
- "mainUid": "ddcf-133"
38
+ "mainUid": "74a1-133"
39
39
  }
40
40
  },
41
41
  "nodeMetas": {
42
- "ddcf-131": {
42
+ "74a1-131": {
43
43
  "id": "/packages/table-core/build/esm/index.js",
44
44
  "moduleParts": {
45
- "index.production.js": "ddcf-132"
45
+ "index.production.js": "74a1-132"
46
46
  },
47
47
  "imported": [],
48
48
  "importedBy": [
49
49
  {
50
- "uid": "ddcf-133"
50
+ "uid": "74a1-133"
51
51
  }
52
52
  ]
53
53
  },
54
- "ddcf-133": {
54
+ "74a1-133": {
55
55
  "id": "/packages/react-table/src/index.tsx",
56
56
  "moduleParts": {
57
- "index.production.js": "ddcf-134"
57
+ "index.production.js": "74a1-134"
58
58
  },
59
59
  "imported": [
60
60
  {
61
- "uid": "ddcf-135"
61
+ "uid": "74a1-135"
62
62
  },
63
63
  {
64
- "uid": "ddcf-131"
64
+ "uid": "74a1-131"
65
65
  }
66
66
  ],
67
67
  "importedBy": [],
68
68
  "isEntry": true
69
69
  },
70
- "ddcf-135": {
70
+ "74a1-135": {
71
71
  "id": "react",
72
72
  "moduleParts": {},
73
73
  "imported": [],
74
74
  "importedBy": [
75
75
  {
76
- "uid": "ddcf-133"
76
+ "uid": "74a1-133"
77
77
  }
78
78
  ],
79
79
  "isExternal": true
@@ -849,7 +849,6 @@
849
849
  return {
850
850
  onExpandedChange: makeStateUpdater('expanded', instance),
851
851
  autoResetExpanded: true,
852
- expandSubRows: true,
853
852
  paginateExpandedRows: true
854
853
  };
855
854
  },
@@ -2691,11 +2690,6 @@
2691
2690
  onColumnVisibilityChange: makeStateUpdater('columnVisibility', instance)
2692
2691
  };
2693
2692
  },
2694
- getDefaultColumnDef: () => {
2695
- return {
2696
- defaultIsVisible: true
2697
- };
2698
- },
2699
2693
  createColumn: (column, instance) => {
2700
2694
  return {
2701
2695
  toggleVisibility: value => {
@@ -3769,7 +3763,7 @@
3769
3763
  return rowModel;
3770
3764
  }
3771
3765
 
3772
- return expandRows(rowModel, instance);
3766
+ return expandRows(rowModel);
3773
3767
  }, {
3774
3768
  key: 'getExpandedRowModel',
3775
3769
  debug: () => {
@@ -3787,7 +3781,7 @@
3787
3781
 
3788
3782
  expandedRows.push(row);
3789
3783
 
3790
- if (instance.options.expandSubRows && (_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
3784
+ if ((_row$subRows = row.subRows) != null && _row$subRows.length && row.getIsExpanded()) {
3791
3785
  row.subRows.forEach(handleRow);
3792
3786
  }
3793
3787
  };
@@ -3824,7 +3818,7 @@
3824
3818
  rows,
3825
3819
  flatRows,
3826
3820
  rowsById
3827
- }, instance);
3821
+ });
3828
3822
  }
3829
3823
 
3830
3824
  return {