0
Fork 0
mirror of https://github.com/TanStack/table.git synced 2026-11-18 18:55:54 +00:00
Commit graph

31 commits

Author SHA1 Message Date
Kevin Van Cott
82c32e0bc6
docs: regen docs and fix some typos repo wide 2026-08-03 07:31:20 -05:00
Kevin Van Cott
eba5386a67
feat: new filter, sort, aggregation Fns, and recommended import patterns (#6415)
* feat: new filter, sort, aggregation Fns, and recommended import patterns

* fix some examples
2026-07-12 20:47:49 -05:00
Kevin Van Cott
e90cfdcfd4
feat: batch row selection (#6409)
* feat: batch row selection

* fix tests

* pr feedback and add migration guide note

* no more e2e in pr

* fix angular examples double building in ci tests

* fix type
2026-07-12 11:04:00 -05:00
Kevin Van Cott
a84475b17b
feat: refactor features option to include row models and fns (#6318)
* feat: refactor features option to include row models and fns

* ci: apply automated fixes

* fix column/global filtering feature relationship in types

* fix TData in custom filterFns

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-12 09:38:52 -05:00
Kevin Van Cott
60e4d7b371
feat: drop the underscore. It's cleaner (#6296)
* feat: drop the underscore. It's cleaner

* simplify
2026-06-05 13:39:35 -05:00
Kevin Van Cott
dc7f3ff0fc docs: clean up column definitions for consistency 2026-05-10 17:42:44 -05:00
Kevin Van Cott
c5c781aa99
feat: change default state selectors to all (#6246)
* feat: change default state selectors to all

* add basic-subscribe example
2026-05-08 12:37:06 -05:00
Kevin Van Cott
70536e7cd2 chore: simplify pagination examples 2026-05-04 11:38:05 -05:00
Kevin Van Cott
b12a65b762 chore: remove twind from examples 2026-04-30 23:27:14 -05:00
Kevin Van Cott
bda3e16a89 fix: issues with react compiler, various lint issues, improve all examples stress testing 2026-04-26 14:35:39 -05:00
Kevin Van Cott
321aea4b4a fix: package upgrades and migrate to tsdown for builds 2026-04-01 19:51:57 -05:00
Kevin Van Cott
62af4f4f55
feat: rewrite tanstack table with tanstack store (#6143)
* progress on rewriting tanstack table with tanstack store

* poc for new solid table adapter

* fix solid examples

* remove temp

* fix header groups bug

* refactor assignAPIs

* svelte somewhat working

* feat: move row, cell, headers, and column methods to the prototype save tons of memory

* update vue adapter and examples

* more vue stuff

* update angular table kind of

* lit adapter refactor

* fix(angular): update test config and added missing injector context

* injector context is now needed since we use injectStore

* update some unit tests and fix sherif

* fix some more tests - angular focussed

* update experimental virtualized examples

* fix linting and react/preact adapters

* disable all but react and preact and table-core for now

* fix some shadcn issues

* css

* test react/preact example tsc

* fix a lot of react examples

* omg I fixed a tvalue column helper issue!

* add tanstack forma example

* small make state updater type fix even though it might be removed soon

* Use baseStore and derived store to allow external state again

* rename a bunch of examples

* fix example names

* feat(angular): improvements to angularReactivityFeature (#5921)

* fix array types and imports

* toComputed return a named function, add more granular flags

* remove table proxy implementation, improve angular reactivity feature

* wip: add flex render custom notifier when table state change

* ci: apply automated fixes

* wip: angularReactivityFeature replace _rootNotifier with get

* ci: apply automated fixes

* wip: some renames, types improvements and test cases

- rename `_setRootNotifier` to `_setTableNotifier`
- add strict typings to `toComputed`
- add test case for reactivity utils

* ci: apply automated fixes

* wip: fix types, add reactive symbol to detect whether a property is reactive

* wip: setup benchmark test

* wip: skipBaseProperties skip properties that ends with Handler

* wip: skipBaseProperties skip properties that ends with Handler, pass skip custom fn from table options

* align base branch, fix lazy init

* fix table helper types

* cleanup lazy signal initializer

* table reactivity feature cleanup

* flex render cleanup and export FlexRender as directive

* refactor injectTable to work with tanstack store reactivity

* fix injectTable test

* fix test utils test

* refactor reactivity handling in angular features and improve prototype assignments

* fix row-dnd tsconfig

* fix test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* chore(angular): using signals into flexRender to avoid re-rendering

* feat(angular): flex-render switch to 'tableChange' notifier mode for performance improvements

* feat: createTableHook

* more createTableHook flex render improvements and fixed some tests

* fix other table-core tests

* fix more lint errors in react examples

* fix preact typeconfig issues in examples

* ci: apply automated fixes

* fix knip, disable preact-table publishing for now

---------

Co-authored-by: riccardoperra <riccardo.perra@icloud.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-07 22:00:45 -06:00
Riccardo Perra
2a41a7e195
Merge main into alpha (#5907)
* feat(angular-table): Refactor Flex render implementation - Zoneless, Better type safety, allows reactive values into cell content, re-render when cell context changes, allow to pass signal inputs into custom components (#5856)

* feat: flex render granular updates

* updates

* cleanup

* cleanup

* cleanup

* fix test

* angular add explicit version of typescript

* Fix typescript versions

* add some testing for flex render in table

* fix test infra

* refactor flex render

* update lock

* fix tests, cleanup code

* fix tests, cleanup code

* flex render signal content support

* flex render signal content support

* improve view flags, handle state update in zoneless

* improve view flags, handle state update in zoneless

* fix

* ci: apply automated fixes

* clean docs
test
fix doc
add flexRenderComponent util

* test cases

* fix: enable computed rowModels

* fix test for rowModel

* assures that `updateProps` update inputs only for Component reference type

* Merge pull request #1 from riccardoperra/feat/angular-flex-render-support-output-binding

add support for angular outputs in flex-render-component

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* release: v8.21.0

* docs(angular): add editable, row-dnd and performant column resizing example (#5881)

* add editable cell example

* add editable cell example

* row dnd exmaple

* revert basic

* ci: apply automated fixes

* column resizing performant example

* fix

* fix budgets

* ci: apply automated fixes

* typo

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* docs(angular): add missing faker-js deps (#5883)

* fix(lit-table): dynamic data updates in the Lit Table Adapter (#5884)

* this fixes an issue I discussed in discord where with the lit table
adapter, updating a data array did not get reflected by the table.

It is a one-line change to the TableController, and a new example that
demonstrates the difference.

* Update packages/lit-table/src/index.ts

per suggestion from @kadoshms

Co-authored-by: Mor Kadosh <kadoshms@gmail.com>

---------

Co-authored-by: Luke Schierer <lschiere@amazon.com>
Co-authored-by: Mor Kadosh <kadoshms@gmail.com>

* docs: add experimental virtualization example (#5895)

* docs: add experimental virtualization example

* work on experimental virtualized column examples

---------

Co-authored-by: Kevin Van Cott <kevin.vancott@rentvision.com>

* release: v8.21.1

* docs: example name

* docs(angular): add expanding and sub components examples (#5898)

* docs(angular): add expanding example

* docs(angular): add sub components example

* docs(angular): fix config.json

* fix conflicts in lit package

* remove angular package non-fesm export

* since angular 19, ng-packgr only bundle a `fesm2022` export

* docs: exp virtual - remeasure when table state changes

* docs: virtualizer tbody from onchange

* update all angular examples

* fix conflicts in examples/react

* ci: apply automated fixes

* fix tests

* ci: apply automated fixes

* fix tests

* ci: apply automated fixes

* angular: update vite config to support vitest workspaces

* docs(angular): fix examples

* ci: apply automated fixes

---------

Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Luke Schierer <2224044+lschierer@users.noreply.github.com>
Co-authored-by: Luke Schierer <lschiere@amazon.com>
Co-authored-by: Mor Kadosh <kadoshms@gmail.com>
Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
Co-authored-by: Kevin Van Cott <kevin.vancott@rentvision.com>
2025-02-10 09:40:53 -06:00
Kevin Van Cott
bc69a07068 update examples to pass fns new way 2024-12-15 22:08:30 -06:00
Kevin Van Cott
1afcf94a15 fix TData inference on tableHelper, update more examples 2024-11-17 21:44:15 -06:00
Kevin Van Cott
f6344bb9f9 rename feature imports 2024-11-13 19:17:40 -06:00
Kevin Van Cott
889bfebf96 another row model refactor 2024-10-21 19:39:38 -05:00
Kevin Van Cott
a6983e4ca3 large simplification of processingFns and get rid of TFns generic 2024-10-13 08:56:54 -05:00
Kevin Van Cott
b60001bf23 add unused imports rule 2024-10-01 21:08:10 -05:00
Kevin Van Cott
99df25a2de fix some types for fns internally 2024-10-01 17:25:58 -05:00
Lachlan Collins
96c9a32e47
chore: Add missing TFeatures argument (#5664) 2024-07-17 19:17:14 +10:00
Kevin Van Cott
bec8968bc7
chore: _rowModels refactor (#5649)
* start row model refactor to be like feature options

* update some examples

* update react examples with new row models
2024-07-09 08:05:13 -05:00
Kevin Van Cott
69ffb37be1 chore: run lint fix on examples 2024-07-06 22:04:24 -05:00
Kevin Vandy
773bab4a03 chore: use same prettier config as query 2024-07-06 15:12:26 -05:00
Kevin Van Cott
ab2b4913f4
feat: follow other tanstack naming conventions (#5615) 2024-06-19 20:00:47 -05:00
Kevin Van Cott
d5f514a7df
docs: update infinite scrolling example (#5277)
* update infinite scrolling example

* prettier

* remove useEffect

* remove unused var
2024-01-15 10:55:56 -06:00
Lachlan Collins
f4356c0934
chore: Run prettier on CI (#5241)
* Add test:format to CI scripts, add prettier-plugin-svelte

* Run prettier

* Use prettier v4 alpha

* Mark test:format as root script

* Try bumping node version
2023-12-31 09:06:51 +11:00
Kevin Van Cott
ff39428696
docs: update virtual rows example (#5237)
* update virtualized rows example

* update lock file

* fix virtual tbody
2023-12-28 12:44:24 -06:00
Kevin Van Cott
e7608ca7a2
chore: upgrade faker and typescript (#5070) 2023-09-14 11:07:33 -05:00
Kevin Van Cott
bc3f040879
docs: upgrade example deps, upgrade faker major version (#4528)
* upgrade example deps, upgrade faker major version

* fix mui ex any errors
2022-11-14 23:47:38 -06:00
Kevin Van Cott
d17a24093f
examples: create semantic react-virtual example (#4123) 2022-07-12 11:05:56 -06:00