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