@tanstack/react-table 8.5.18 → 8.5.20

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.
@@ -4024,7 +4024,7 @@ var drawChart = (function (exports) {
4024
4024
  </script>
4025
4025
  <script>
4026
4026
  /*<!--*/
4027
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"0c68-127"},{"name":"react-table/src/index.tsx","uid":"0c68-129"}]}]}],"isRoot":true},"nodeParts":{"0c68-127":{"renderedLength":126174,"gzipLength":22385,"brotliLength":0,"mainUid":"0c68-126"},"0c68-129":{"renderedLength":1923,"gzipLength":755,"brotliLength":0,"mainUid":"0c68-128"}},"nodeMetas":{"0c68-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"0c68-127"},"imported":[],"importedBy":[{"uid":"0c68-128"}]},"0c68-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"0c68-129"},"imported":[{"uid":"0c68-130"},{"uid":"0c68-126"}],"importedBy":[],"isEntry":true},"0c68-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0c68-128"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4027
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages","children":[{"name":"table-core/build/esm/index.js","uid":"2621-127"},{"name":"react-table/src/index.tsx","uid":"2621-129"}]}]}],"isRoot":true},"nodeParts":{"2621-127":{"renderedLength":126086,"gzipLength":22349,"brotliLength":0,"mainUid":"2621-126"},"2621-129":{"renderedLength":1923,"gzipLength":755,"brotliLength":0,"mainUid":"2621-128"}},"nodeMetas":{"2621-126":{"id":"/packages/table-core/build/esm/index.js","moduleParts":{"index.production.js":"2621-127"},"imported":[],"importedBy":[{"uid":"2621-128"}]},"2621-128":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"2621-129"},"imported":[{"uid":"2621-130"},{"uid":"2621-126"}],"importedBy":[],"isEntry":true},"2621-130":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2621-128"}],"isExternal":true}},"env":{"rollup":"2.79.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
4028
4028
 
4029
4029
  const run = () => {
4030
4030
  const width = window.innerWidth;
@@ -11,11 +11,11 @@
11
11
  "children": [
12
12
  {
13
13
  "name": "table-core/build/esm/index.js",
14
- "uid": "0c68-132"
14
+ "uid": "2621-132"
15
15
  },
16
16
  {
17
17
  "name": "react-table/src/index.tsx",
18
- "uid": "0c68-134"
18
+ "uid": "2621-134"
19
19
  }
20
20
  ]
21
21
  }
@@ -25,55 +25,55 @@
25
25
  "isRoot": true
26
26
  },
27
27
  "nodeParts": {
28
- "0c68-132": {
29
- "renderedLength": 126174,
30
- "gzipLength": 22385,
28
+ "2621-132": {
29
+ "renderedLength": 126086,
30
+ "gzipLength": 22349,
31
31
  "brotliLength": 0,
32
- "mainUid": "0c68-131"
32
+ "mainUid": "2621-131"
33
33
  },
34
- "0c68-134": {
34
+ "2621-134": {
35
35
  "renderedLength": 1923,
36
36
  "gzipLength": 755,
37
37
  "brotliLength": 0,
38
- "mainUid": "0c68-133"
38
+ "mainUid": "2621-133"
39
39
  }
40
40
  },
41
41
  "nodeMetas": {
42
- "0c68-131": {
42
+ "2621-131": {
43
43
  "id": "/packages/table-core/build/esm/index.js",
44
44
  "moduleParts": {
45
- "index.production.js": "0c68-132"
45
+ "index.production.js": "2621-132"
46
46
  },
47
47
  "imported": [],
48
48
  "importedBy": [
49
49
  {
50
- "uid": "0c68-133"
50
+ "uid": "2621-133"
51
51
  }
52
52
  ]
53
53
  },
54
- "0c68-133": {
54
+ "2621-133": {
55
55
  "id": "/packages/react-table/src/index.tsx",
56
56
  "moduleParts": {
57
- "index.production.js": "0c68-134"
57
+ "index.production.js": "2621-134"
58
58
  },
59
59
  "imported": [
60
60
  {
61
- "uid": "0c68-135"
61
+ "uid": "2621-135"
62
62
  },
63
63
  {
64
- "uid": "0c68-131"
64
+ "uid": "2621-131"
65
65
  }
66
66
  ],
67
67
  "importedBy": [],
68
68
  "isEntry": true
69
69
  },
70
- "0c68-135": {
70
+ "2621-135": {
71
71
  "id": "react",
72
72
  "moduleParts": {},
73
73
  "imported": [],
74
74
  "importedBy": [
75
75
  {
76
- "uid": "0c68-133"
76
+ "uid": "2621-133"
77
77
  }
78
78
  ],
79
79
  "isExternal": true
@@ -44,10 +44,6 @@
44
44
  *
45
45
  * @license MIT
46
46
  */
47
- // Is this type a tuple?
48
-
49
- // If this type is a tuple, what indices are allowed?
50
-
51
47
  ///
52
48
 
53
49
  function functionalUpdate(updater, input) {
@@ -3128,7 +3124,7 @@
3128
3124
  const sortData = rows => {
3129
3125
  // This will also perform a stable sorting using the row index
3130
3126
  // if needed.
3131
- const sortedData = rows.slice();
3127
+ const sortedData = [...rows];
3132
3128
  sortedData.sort((rowA, rowB) => {
3133
3129
  for (let i = 0; i < availableSorting.length; i += 1) {
3134
3130
  const sortEntry = availableSorting[i];