@tanstack/table-core 8.0.0-alpha.12 → 8.0.0-alpha.16
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 +17 -6
- package/build/cjs/core.js.map +1 -1
- package/build/cjs/createTable.js +17 -9
- package/build/cjs/createTable.js.map +1 -1
- package/build/cjs/features/ColumnSizing.js +2 -2
- package/build/cjs/features/ColumnSizing.js.map +1 -1
- package/build/cjs/features/Expanding.js +2 -2
- package/build/cjs/features/Expanding.js.map +1 -1
- package/build/cjs/features/Filters.js +1 -1
- package/build/cjs/features/Filters.js.map +1 -1
- package/build/cjs/features/Grouping.js +13 -2
- package/build/cjs/features/Grouping.js.map +1 -1
- package/build/cjs/features/Headers.js +4 -4
- package/build/cjs/features/Headers.js.map +1 -1
- package/build/cjs/features/RowSelection.js.map +1 -1
- package/build/cjs/features/Visibility.js.map +1 -1
- package/build/cjs/index.js +1 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types.js +0 -3
- package/build/cjs/types.js.map +1 -1
- package/build/cjs/utils/columnFilterRowsFn.js +1 -1
- package/build/cjs/utils/columnFilterRowsFn.js.map +1 -1
- package/build/cjs/utils/expandRowsFn.js.map +1 -1
- package/build/cjs/utils/globalFilterRowsFn.js.map +1 -1
- package/build/cjs/utils/groupRowsFn.js +1 -1
- package/build/cjs/utils/groupRowsFn.js.map +1 -1
- package/build/cjs/utils/paginateRowsFn.js.map +1 -1
- package/build/cjs/utils/sortRowsFn.js.map +1 -1
- package/build/cjs/utils.js +0 -24
- package/build/cjs/utils.js.map +1 -1
- package/build/esm/index.js +58 -50
- package/build/esm/index.js.map +1 -1
- package/build/stats-html.html +1 -1
- package/build/stats-react.json +268 -282
- package/build/types/core.d.ts +11 -9
- package/build/types/createTable.d.ts +32 -16
- package/build/types/features/ColumnSizing.d.ts +2 -3
- package/build/types/features/Grouping.d.ts +11 -5
- package/build/types/features/RowSelection.d.ts +2 -3
- package/build/types/features/Visibility.d.ts +1 -0
- package/build/types/types.d.ts +14 -7
- package/build/types/utils/columnFilterRowsFn.d.ts +2 -2
- package/build/types/utils/expandRowsFn.d.ts +2 -2
- package/build/types/utils/globalFilterRowsFn.d.ts +2 -2
- package/build/types/utils/groupRowsFn.d.ts +2 -2
- package/build/types/utils/paginateRowsFn.d.ts +2 -2
- package/build/types/utils/sortRowsFn.d.ts +2 -2
- package/build/types/utils.d.ts +4 -5
- package/build/umd/index.development.js +62 -58
- 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 +63 -35
- package/src/createTable.tsx +69 -34
- package/src/features/ColumnSizing.ts +8 -14
- package/src/features/Expanding.ts +2 -2
- package/src/features/Filters.ts +1 -1
- package/src/features/Grouping.ts +30 -7
- package/src/features/Headers.ts +15 -3
- package/src/features/RowSelection.ts +2 -2
- package/src/features/Visibility.ts +1 -0
- package/src/types.ts +28 -15
- package/src/utils/columnFilterRowsFn.ts +3 -5
- package/src/utils/expandRowsFn.ts +2 -2
- package/src/utils/globalFilterRowsFn.ts +2 -2
- package/src/utils/groupRowsFn.ts +4 -4
- package/src/utils/paginateRowsFn.ts +2 -2
- package/src/utils/sortRowsFn.ts +2 -2
- package/src/utils.tsx +6 -45
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":[{"uid":"
|
|
2672
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.production.js","children":[{"uid":"8e03-1","name":"\u0000rollupPluginBabelHelpers.js"},{"name":"packages/table-core/src","children":[{"uid":"8e03-3","name":"utils.tsx"},{"uid":"8e03-5","name":"types.ts"},{"name":"features","children":[{"uid":"8e03-7","name":"Visibility.ts"},{"uid":"8e03-11","name":"Grouping.ts"},{"uid":"8e03-13","name":"Ordering.ts"},{"uid":"8e03-15","name":"Pinning.ts"},{"uid":"8e03-17","name":"ColumnSizing.ts"},{"uid":"8e03-19","name":"Headers.ts"},{"uid":"8e03-23","name":"Filters.ts"},{"uid":"8e03-27","name":"Sorting.ts"},{"uid":"8e03-29","name":"Expanding.ts"},{"uid":"8e03-31","name":"Pagination.ts"},{"uid":"8e03-33","name":"RowSelection.ts"}]},{"uid":"8e03-9","name":"aggregationTypes.ts"},{"uid":"8e03-21","name":"filterTypes.ts"},{"uid":"8e03-25","name":"sortTypes.ts"},{"uid":"8e03-35","name":"core.tsx"},{"uid":"8e03-37","name":"createTable.tsx"},{"name":"utils","children":[{"uid":"8e03-39","name":"columnFilterRowsFn.ts"},{"uid":"8e03-41","name":"globalFilterRowsFn.ts"},{"uid":"8e03-43","name":"sortRowsFn.ts"},{"uid":"8e03-45","name":"groupRowsFn.ts"},{"uid":"8e03-47","name":"expandRowsFn.ts"},{"uid":"8e03-49","name":"paginateRowsFn.ts"}]},{"uid":"8e03-51","name":"index.tsx"}]}]}],"isRoot":true},"nodeParts":{"8e03-1":{"renderedLength":2695,"gzipLength":1065,"brotliLength":0,"mainUid":"8e03-0"},"8e03-3":{"renderedLength":3906,"gzipLength":1358,"brotliLength":0,"mainUid":"8e03-2"},"8e03-5":{"renderedLength":85,"gzipLength":95,"brotliLength":0,"mainUid":"8e03-4"},"8e03-7":{"renderedLength":6367,"gzipLength":1219,"brotliLength":0,"mainUid":"8e03-6"},"8e03-9":{"renderedLength":2520,"gzipLength":755,"brotliLength":0,"mainUid":"8e03-8"},"8e03-11":{"renderedLength":8351,"gzipLength":1807,"brotliLength":0,"mainUid":"8e03-10"},"8e03-13":{"renderedLength":2639,"gzipLength":799,"brotliLength":0,"mainUid":"8e03-12"},"8e03-15":{"renderedLength":5479,"gzipLength":1030,"brotliLength":0,"mainUid":"8e03-14"},"8e03-17":{"renderedLength":10919,"gzipLength":2166,"brotliLength":0,"mainUid":"8e03-16"},"8e03-19":{"renderedLength":23655,"gzipLength":3372,"brotliLength":0,"mainUid":"8e03-18"},"8e03-21":{"renderedLength":4437,"gzipLength":786,"brotliLength":0,"mainUid":"8e03-20"},"8e03-23":{"renderedLength":16477,"gzipLength":2909,"brotliLength":0,"mainUid":"8e03-22"},"8e03-25":{"renderedLength":2752,"gzipLength":846,"brotliLength":0,"mainUid":"8e03-24"},"8e03-27":{"renderedLength":12092,"gzipLength":2589,"brotliLength":0,"mainUid":"8e03-26"},"8e03-29":{"renderedLength":7896,"gzipLength":1718,"brotliLength":0,"mainUid":"8e03-28"},"8e03-31":{"renderedLength":6386,"gzipLength":1279,"brotliLength":0,"mainUid":"8e03-30"},"8e03-33":{"renderedLength":18164,"gzipLength":3123,"brotliLength":0,"mainUid":"8e03-32"},"8e03-35":{"renderedLength":18020,"gzipLength":3510,"brotliLength":0,"mainUid":"8e03-34"},"8e03-37":{"renderedLength":1417,"gzipLength":402,"brotliLength":0,"mainUid":"8e03-36"},"8e03-39":{"renderedLength":3174,"gzipLength":863,"brotliLength":0,"mainUid":"8e03-38"},"8e03-41":{"renderedLength":2540,"gzipLength":721,"brotliLength":0,"mainUid":"8e03-40"},"8e03-43":{"renderedLength":2436,"gzipLength":818,"brotliLength":0,"mainUid":"8e03-42"},"8e03-45":{"renderedLength":4814,"gzipLength":1358,"brotliLength":0,"mainUid":"8e03-44"},"8e03-47":{"renderedLength":595,"gzipLength":266,"brotliLength":0,"mainUid":"8e03-46"},"8e03-49":{"renderedLength":720,"gzipLength":281,"brotliLength":0,"mainUid":"8e03-48"},"8e03-51":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"mainUid":"8e03-50"}},"nodeMetas":{"8e03-0":{"id":"\u0000rollupPluginBabelHelpers.js","moduleParts":{"index.production.js":"8e03-1"},"imported":[],"importedBy":[{"uid":"8e03-34"},{"uid":"8e03-36"},{"uid":"8e03-16"},{"uid":"8e03-28"},{"uid":"8e03-30"},{"uid":"8e03-32"},{"uid":"8e03-26"},{"uid":"8e03-6"},{"uid":"8e03-2"},{"uid":"8e03-8"}]},"8e03-2":{"id":"/packages/table-core/src/utils.tsx","moduleParts":{"index.production.js":"8e03-3"},"imported":[{"uid":"8e03-0"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"},{"uid":"8e03-16"},{"uid":"8e03-28"},{"uid":"8e03-22"},{"uid":"8e03-10"},{"uid":"8e03-18"},{"uid":"8e03-12"},{"uid":"8e03-30"},{"uid":"8e03-14"},{"uid":"8e03-32"},{"uid":"8e03-26"},{"uid":"8e03-6"},{"uid":"8e03-44"}]},"8e03-4":{"id":"/packages/table-core/src/types.ts","moduleParts":{"index.production.js":"8e03-5"},"imported":[],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-6":{"id":"/packages/table-core/src/features/Visibility.ts","moduleParts":{"index.production.js":"8e03-7"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-8":{"id":"/packages/table-core/src/aggregationTypes.ts","moduleParts":{"index.production.js":"8e03-9"},"imported":[{"uid":"8e03-0"}],"importedBy":[{"uid":"8e03-10"}]},"8e03-10":{"id":"/packages/table-core/src/features/Grouping.ts","moduleParts":{"index.production.js":"8e03-11"},"imported":[{"uid":"8e03-8"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"},{"uid":"8e03-12"}]},"8e03-12":{"id":"/packages/table-core/src/features/Ordering.ts","moduleParts":{"index.production.js":"8e03-13"},"imported":[{"uid":"8e03-2"},{"uid":"8e03-10"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-14":{"id":"/packages/table-core/src/features/Pinning.ts","moduleParts":{"index.production.js":"8e03-15"},"imported":[{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-16":{"id":"/packages/table-core/src/features/ColumnSizing.ts","moduleParts":{"index.production.js":"8e03-17"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"},{"uid":"8e03-18"}]},"8e03-18":{"id":"/packages/table-core/src/features/Headers.ts","moduleParts":{"index.production.js":"8e03-19"},"imported":[{"uid":"8e03-2"},{"uid":"8e03-16"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-20":{"id":"/packages/table-core/src/filterTypes.ts","moduleParts":{"index.production.js":"8e03-21"},"imported":[],"importedBy":[{"uid":"8e03-22"}]},"8e03-22":{"id":"/packages/table-core/src/features/Filters.ts","moduleParts":{"index.production.js":"8e03-23"},"imported":[{"uid":"8e03-20"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-24":{"id":"/packages/table-core/src/sortTypes.ts","moduleParts":{"index.production.js":"8e03-25"},"imported":[],"importedBy":[{"uid":"8e03-26"}]},"8e03-26":{"id":"/packages/table-core/src/features/Sorting.ts","moduleParts":{"index.production.js":"8e03-27"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-24"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-28":{"id":"/packages/table-core/src/features/Expanding.ts","moduleParts":{"index.production.js":"8e03-29"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-30":{"id":"/packages/table-core/src/features/Pagination.ts","moduleParts":{"index.production.js":"8e03-31"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-32":{"id":"/packages/table-core/src/features/RowSelection.ts","moduleParts":{"index.production.js":"8e03-33"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-34"}]},"8e03-34":{"id":"/packages/table-core/src/core.tsx","moduleParts":{"index.production.js":"8e03-35"},"imported":[{"uid":"8e03-0"},{"uid":"8e03-2"},{"uid":"8e03-4"},{"uid":"8e03-6"},{"uid":"8e03-12"},{"uid":"8e03-14"},{"uid":"8e03-18"},{"uid":"8e03-22"},{"uid":"8e03-26"},{"uid":"8e03-10"},{"uid":"8e03-28"},{"uid":"8e03-16"},{"uid":"8e03-30"},{"uid":"8e03-32"}],"importedBy":[{"uid":"8e03-50"}]},"8e03-36":{"id":"/packages/table-core/src/createTable.tsx","moduleParts":{"index.production.js":"8e03-37"},"imported":[{"uid":"8e03-0"}],"importedBy":[{"uid":"8e03-50"}]},"8e03-38":{"id":"/packages/table-core/src/utils/columnFilterRowsFn.ts","moduleParts":{"index.production.js":"8e03-39"},"imported":[],"importedBy":[{"uid":"8e03-50"}]},"8e03-40":{"id":"/packages/table-core/src/utils/globalFilterRowsFn.ts","moduleParts":{"index.production.js":"8e03-41"},"imported":[],"importedBy":[{"uid":"8e03-50"}]},"8e03-42":{"id":"/packages/table-core/src/utils/sortRowsFn.ts","moduleParts":{"index.production.js":"8e03-43"},"imported":[],"importedBy":[{"uid":"8e03-50"}]},"8e03-44":{"id":"/packages/table-core/src/utils/groupRowsFn.ts","moduleParts":{"index.production.js":"8e03-45"},"imported":[{"uid":"8e03-2"}],"importedBy":[{"uid":"8e03-50"}]},"8e03-46":{"id":"/packages/table-core/src/utils/expandRowsFn.ts","moduleParts":{"index.production.js":"8e03-47"},"imported":[],"importedBy":[{"uid":"8e03-50"},{"uid":"8e03-48"}]},"8e03-48":{"id":"/packages/table-core/src/utils/paginateRowsFn.ts","moduleParts":{"index.production.js":"8e03-49"},"imported":[{"uid":"8e03-46"}],"importedBy":[{"uid":"8e03-50"}]},"8e03-50":{"id":"/packages/table-core/src/index.tsx","moduleParts":{"index.production.js":"8e03-51"},"imported":[{"uid":"8e03-34"},{"uid":"8e03-4"},{"uid":"8e03-36"},{"uid":"8e03-16"},{"uid":"8e03-28"},{"uid":"8e03-22"},{"uid":"8e03-10"},{"uid":"8e03-18"},{"uid":"8e03-12"},{"uid":"8e03-30"},{"uid":"8e03-14"},{"uid":"8e03-32"},{"uid":"8e03-26"},{"uid":"8e03-6"},{"uid":"8e03-2"},{"uid":"8e03-38"},{"uid":"8e03-40"},{"uid":"8e03-42"},{"uid":"8e03-44"},{"uid":"8e03-46"},{"uid":"8e03-48"}],"importedBy":[],"isEntry":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;
|