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