@tanstack/react-table 8.0.0-alpha.3 → 8.0.0-alpha.4
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.
- package/build/cjs/core.js +1 -1
- package/build/cjs/core.js.map +1 -1
- package/build/cjs/features/Pagination.js +22 -18
- package/build/cjs/features/Pagination.js.map +1 -1
- package/build/cjs/index.js +2 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/utils/paginateRowsFn.js +44 -0
- package/build/cjs/utils/paginateRowsFn.js.map +1 -0
- package/build/esm/index.js +50 -20
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +254 -222
- package/build/types/core.d.ts +1 -1
- package/build/types/features/Pagination.d.ts +5 -4
- package/build/types/index.d.ts +1 -0
- package/build/umd/index.development.js +50 -19
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/core.tsx +2 -3
- package/src/features/Pagination.ts +43 -30
- package/src/index.tsx +1 -0
package/build/stats-html.html
CHANGED
|
@@ -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/react-table/src","children":[{"name":"utils","children":[{"uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"name":"packages/react-table/src","children":[{"name":"utils","children":[{"uid":"fa9c-1","name":"columnFilterRowsFn.ts"},{"uid":"fa9c-3","name":"globalFilterRowsFn.ts"},{"uid":"fa9c-5","name":"sortRowsFn.ts"},{"uid":"fa9c-11","name":"groupRowsFn.ts"},{"uid":"fa9c-13","name":"expandRowsFn.ts"},{"uid":"fa9c-15","name":"paginateRowsFn.ts"}]},{"uid":"fa9c-9","name":"utils.tsx"},{"name":"features","children":[{"uid":"fa9c-17","name":"Visibility.ts"},{"uid":"fa9c-21","name":"Grouping.ts"},{"uid":"fa9c-23","name":"Ordering.ts"},{"uid":"fa9c-25","name":"Pinning.ts"},{"uid":"fa9c-27","name":"Headers.ts"},{"uid":"fa9c-31","name":"Filters.ts"},{"uid":"fa9c-35","name":"Sorting.ts"},{"uid":"fa9c-37","name":"Expanding.ts"},{"uid":"fa9c-39","name":"ColumnSizing.ts"},{"uid":"fa9c-41","name":"Pagination.ts"},{"uid":"fa9c-43","name":"RowSelection.ts"}]},{"uid":"fa9c-19","name":"aggregationTypes.ts"},{"uid":"fa9c-29","name":"filterTypes.ts"},{"uid":"fa9c-33","name":"sortTypes.ts"},{"uid":"fa9c-45","name":"core.tsx"},{"uid":"fa9c-47","name":"createTable.tsx"},{"uid":"fa9c-49","name":"index.tsx"}]},{"uid":"fa9c-7","name":"\u0000rollupPluginBabelHelpers.js"}]}],"isRoot":true},"nodeParts":{"fa9c-1":{"renderedLength":3174,"gzipLength":863,"brotliLength":0,"mainUid":"fa9c-0"},"fa9c-3":{"renderedLength":2540,"gzipLength":721,"brotliLength":0,"mainUid":"fa9c-2"},"fa9c-5":{"renderedLength":2436,"gzipLength":818,"brotliLength":0,"mainUid":"fa9c-4"},"fa9c-7":{"renderedLength":2695,"gzipLength":1065,"brotliLength":0,"mainUid":"fa9c-6"},"fa9c-9":{"renderedLength":4119,"gzipLength":1464,"brotliLength":0,"mainUid":"fa9c-8"},"fa9c-11":{"renderedLength":4814,"gzipLength":1358,"brotliLength":0,"mainUid":"fa9c-10"},"fa9c-13":{"renderedLength":595,"gzipLength":266,"brotliLength":0,"mainUid":"fa9c-12"},"fa9c-15":{"renderedLength":720,"gzipLength":281,"brotliLength":0,"mainUid":"fa9c-14"},"fa9c-17":{"renderedLength":5635,"gzipLength":1151,"brotliLength":0,"mainUid":"fa9c-16"},"fa9c-19":{"renderedLength":2520,"gzipLength":755,"brotliLength":0,"mainUid":"fa9c-18"},"fa9c-21":{"renderedLength":7990,"gzipLength":1739,"brotliLength":0,"mainUid":"fa9c-20"},"fa9c-23":{"renderedLength":2419,"gzipLength":757,"brotliLength":0,"mainUid":"fa9c-22"},"fa9c-25":{"renderedLength":5178,"gzipLength":1014,"brotliLength":0,"mainUid":"fa9c-24"},"fa9c-27":{"renderedLength":18878,"gzipLength":2991,"brotliLength":0,"mainUid":"fa9c-26"},"fa9c-29":{"renderedLength":4437,"gzipLength":786,"brotliLength":0,"mainUid":"fa9c-28"},"fa9c-31":{"renderedLength":17178,"gzipLength":3007,"brotliLength":0,"mainUid":"fa9c-30"},"fa9c-33":{"renderedLength":2752,"gzipLength":846,"brotliLength":0,"mainUid":"fa9c-32"},"fa9c-35":{"renderedLength":11632,"gzipLength":2582,"brotliLength":0,"mainUid":"fa9c-34"},"fa9c-37":{"renderedLength":8046,"gzipLength":1752,"brotliLength":0,"mainUid":"fa9c-36"},"fa9c-39":{"renderedLength":9842,"gzipLength":2050,"brotliLength":0,"mainUid":"fa9c-38"},"fa9c-41":{"renderedLength":6299,"gzipLength":1320,"brotliLength":0,"mainUid":"fa9c-40"},"fa9c-43":{"renderedLength":17855,"gzipLength":3118,"brotliLength":0,"mainUid":"fa9c-42"},"fa9c-45":{"renderedLength":17035,"gzipLength":3474,"brotliLength":0,"mainUid":"fa9c-44"},"fa9c-47":{"renderedLength":1855,"gzipLength":503,"brotliLength":0,"mainUid":"fa9c-46"},"fa9c-49":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"fa9c-48"}},"nodeMetas":{"fa9c-0":{"id":"/packages/react-table/src/utils/columnFilterRowsFn.ts","moduleParts":{"index.production.js":"fa9c-1"},"imported":[],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-2":{"id":"/packages/react-table/src/utils/globalFilterRowsFn.ts","moduleParts":{"index.production.js":"fa9c-3"},"imported":[],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-4":{"id":"/packages/react-table/src/utils/sortRowsFn.ts","moduleParts":{"index.production.js":"fa9c-5"},"imported":[],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-6":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"fa9c-7"},"imported":[],"importedBy":[{"uid":"fa9c-46"},{"uid":"fa9c-8"},{"uid":"fa9c-44"},{"uid":"fa9c-16"},{"uid":"fa9c-34"},{"uid":"fa9c-36"},{"uid":"fa9c-38"},{"uid":"fa9c-40"},{"uid":"fa9c-42"},{"uid":"fa9c-18"}]},"fa9c-8":{"id":"/packages/react-table/src/utils.tsx","moduleParts":{"index.production.js":"fa9c-9"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-51"}],"importedBy":[{"uid":"fa9c-10"},{"uid":"fa9c-44"},{"uid":"fa9c-16"},{"uid":"fa9c-22"},{"uid":"fa9c-24"},{"uid":"fa9c-26"},{"uid":"fa9c-30"},{"uid":"fa9c-34"},{"uid":"fa9c-20"},{"uid":"fa9c-36"},{"uid":"fa9c-38"},{"uid":"fa9c-40"},{"uid":"fa9c-42"}]},"fa9c-10":{"id":"/packages/react-table/src/utils/groupRowsFn.ts","moduleParts":{"index.production.js":"fa9c-11"},"imported":[{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-12":{"id":"/packages/react-table/src/utils/expandRowsFn.ts","moduleParts":{"index.production.js":"fa9c-13"},"imported":[],"importedBy":[{"uid":"fa9c-48"},{"uid":"fa9c-14"}]},"fa9c-14":{"id":"/packages/react-table/src/utils/paginateRowsFn.ts","moduleParts":{"index.production.js":"fa9c-15"},"imported":[{"uid":"fa9c-12"}],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-16":{"id":"/packages/react-table/src/features/Visibility.ts","moduleParts":{"index.production.js":"fa9c-17"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-18":{"id":"/packages/react-table/src/aggregationTypes.ts","moduleParts":{"index.production.js":"fa9c-19"},"imported":[{"uid":"fa9c-6"}],"importedBy":[{"uid":"fa9c-20"}]},"fa9c-20":{"id":"/packages/react-table/src/features/Grouping.ts","moduleParts":{"index.production.js":"fa9c-21"},"imported":[{"uid":"fa9c-18"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"},{"uid":"fa9c-22"}]},"fa9c-22":{"id":"/packages/react-table/src/features/Ordering.ts","moduleParts":{"index.production.js":"fa9c-23"},"imported":[{"uid":"fa9c-8"},{"uid":"fa9c-20"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-24":{"id":"/packages/react-table/src/features/Pinning.ts","moduleParts":{"index.production.js":"fa9c-25"},"imported":[{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-26":{"id":"/packages/react-table/src/features/Headers.ts","moduleParts":{"index.production.js":"fa9c-27"},"imported":[{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-28":{"id":"/packages/react-table/src/filterTypes.ts","moduleParts":{"index.production.js":"fa9c-29"},"imported":[],"importedBy":[{"uid":"fa9c-30"}]},"fa9c-30":{"id":"/packages/react-table/src/features/Filters.ts","moduleParts":{"index.production.js":"fa9c-31"},"imported":[{"uid":"fa9c-28"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-32":{"id":"/packages/react-table/src/sortTypes.ts","moduleParts":{"index.production.js":"fa9c-33"},"imported":[],"importedBy":[{"uid":"fa9c-34"}]},"fa9c-34":{"id":"/packages/react-table/src/features/Sorting.ts","moduleParts":{"index.production.js":"fa9c-35"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-32"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-36":{"id":"/packages/react-table/src/features/Expanding.ts","moduleParts":{"index.production.js":"fa9c-37"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-38":{"id":"/packages/react-table/src/features/ColumnSizing.ts","moduleParts":{"index.production.js":"fa9c-39"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-40":{"id":"/packages/react-table/src/features/Pagination.ts","moduleParts":{"index.production.js":"fa9c-41"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-42":{"id":"/packages/react-table/src/features/RowSelection.ts","moduleParts":{"index.production.js":"fa9c-43"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"}],"importedBy":[{"uid":"fa9c-44"}]},"fa9c-44":{"id":"/packages/react-table/src/core.tsx","moduleParts":{"index.production.js":"fa9c-45"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-8"},{"uid":"fa9c-16"},{"uid":"fa9c-22"},{"uid":"fa9c-24"},{"uid":"fa9c-26"},{"uid":"fa9c-30"},{"uid":"fa9c-34"},{"uid":"fa9c-20"},{"uid":"fa9c-36"},{"uid":"fa9c-38"},{"uid":"fa9c-40"},{"uid":"fa9c-42"}],"importedBy":[{"uid":"fa9c-46"}]},"fa9c-46":{"id":"/packages/react-table/src/createTable.tsx","moduleParts":{"index.production.js":"fa9c-47"},"imported":[{"uid":"fa9c-6"},{"uid":"fa9c-51"},{"uid":"fa9c-44"}],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-48":{"id":"/packages/react-table/src/index.tsx","moduleParts":{"index.production.js":"fa9c-49"},"imported":[{"uid":"fa9c-50"},{"uid":"fa9c-0"},{"uid":"fa9c-2"},{"uid":"fa9c-4"},{"uid":"fa9c-10"},{"uid":"fa9c-12"},{"uid":"fa9c-14"},{"uid":"fa9c-46"}],"importedBy":[],"isEntry":true},"fa9c-50":{"id":"/packages/react-table/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"fa9c-48"}]},"fa9c-51":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"fa9c-46"},{"uid":"fa9c-8"}],"isExternal":true}},"env":{"rollup":"2.66.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
|
|
2673
2673
|
|
|
2674
2674
|
const run = () => {
|
|
2675
2675
|
const width = window.innerWidth;
|