@tanstack/react-table 8.0.0-alpha.78 → 8.0.0-alpha.80

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":"e8ea-127"},{"name":"react-table/src/index.tsx","uid":"e8ea-129"}]}]}],"isRoot":true},"nodeParts":{"e8ea-127":{"renderedLength":139809,"gzipLength":23894,"brotliLength":0,"mainUid":"e8ea-126"},"e8ea-129":{"renderedLength":2102,"gzipLength":836,"brotliLength":0,"mainUid":"e8ea-128"}},"nodeMetas":{"e8ea-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"e8ea-127"},"imported":[],"importedBy":[{"uid":"e8ea-128"}]},"e8ea-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"e8ea-129"},"imported":[{"uid":"e8ea-130"},{"uid":"e8ea-126"}],"importedBy":[],"isEntry":true},"e8ea-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e8ea-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":"329b-127"},{"name":"react-table/src/index.tsx","uid":"329b-129"}]}]}],"isRoot":true},"nodeParts":{"329b-127":{"renderedLength":139808,"gzipLength":23896,"brotliLength":0,"mainUid":"329b-126"},"329b-129":{"renderedLength":2102,"gzipLength":836,"brotliLength":0,"mainUid":"329b-128"}},"nodeMetas":{"329b-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"329b-127"},"imported":[],"importedBy":[{"uid":"329b-128"}]},"329b-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"329b-129"},"imported":[{"uid":"329b-130"},{"uid":"329b-126"}],"importedBy":[],"isEntry":true},"329b-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"329b-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": "e8ea-132"
14
+ "uid": "329b-132"
15
15
  },
16
16
  {
17
17
  "name": "react-table/src/index.tsx",
18
- "uid": "e8ea-134"
18
+ "uid": "329b-134"
19
19
  }
20
20
  ]
21
21
  }
@@ -25,55 +25,55 @@
25
25
  "isRoot": true
26
26
  },
27
27
  "nodeParts": {
28
- "e8ea-132": {
29
- "renderedLength": 139809,
30
- "gzipLength": 23894,
28
+ "329b-132": {
29
+ "renderedLength": 139808,
30
+ "gzipLength": 23896,
31
31
  "brotliLength": 0,
32
- "mainUid": "e8ea-131"
32
+ "mainUid": "329b-131"
33
33
  },
34
- "e8ea-134": {
34
+ "329b-134": {
35
35
  "renderedLength": 2102,
36
36
  "gzipLength": 836,
37
37
  "brotliLength": 0,
38
- "mainUid": "e8ea-133"
38
+ "mainUid": "329b-133"
39
39
  }
40
40
  },
41
41
  "nodeMetas": {
42
- "e8ea-131": {
42
+ "329b-131": {
43
43
  "id": "/packages/table-core/build/esm/index.js",
44
44
  "moduleParts": {
45
- "index.production.js": "e8ea-132"
45
+ "index.production.js": "329b-132"
46
46
  },
47
47
  "imported": [],
48
48
  "importedBy": [
49
49
  {
50
- "uid": "e8ea-133"
50
+ "uid": "329b-133"
51
51
  }
52
52
  ]
53
53
  },
54
- "e8ea-133": {
54
+ "329b-133": {
55
55
  "id": "/packages/react-table/src/index.tsx",
56
56
  "moduleParts": {
57
- "index.production.js": "e8ea-134"
57
+ "index.production.js": "329b-134"
58
58
  },
59
59
  "imported": [
60
60
  {
61
- "uid": "e8ea-135"
61
+ "uid": "329b-135"
62
62
  },
63
63
  {
64
- "uid": "e8ea-131"
64
+ "uid": "329b-131"
65
65
  }
66
66
  ],
67
67
  "importedBy": [],
68
68
  "isEntry": true
69
69
  },
70
- "e8ea-135": {
70
+ "329b-135": {
71
71
  "id": "react",
72
72
  "moduleParts": {},
73
73
  "imported": [],
74
74
  "importedBy": [
75
75
  {
76
- "uid": "e8ea-133"
76
+ "uid": "329b-133"
77
77
  }
78
78
  ],
79
79
  "isExternal": true
@@ -320,7 +320,7 @@
320
320
  const column = instance.getColumn(columnId);
321
321
 
322
322
  if (!column.accessorFn) {
323
- throw new Error();
323
+ return undefined;
324
324
  }
325
325
 
326
326
  row.valuesCache[columnId] = column.accessorFn(row.original, rowIndex);
@@ -557,7 +557,7 @@
557
557
  }
558
558
  }
559
559
 
560
- const startSize = column.getSize();
560
+ const startSize = header.getSize();
561
561
  const columnSizingStart = header ? header.getLeafHeaders().map(d => [d.column.id, d.column.getSize()]) : [[column.id, column.getSize()]];
562
562
  const clientX = isTouchStartEvent(e) ? Math.round(e.touches[0].clientX) : e.clientX;
563
563