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

30 commits

Author SHA1 Message Date
Riccardo Perra
62c98536ec
fix(angular): Fix angular createTableHook types and migrate all examples (#6150)
* chore(angular): cleanup and migrate basic example with new angular coding style guide

* chore(angular): cleanup and migrate basic-app-table example with new angular coding style guide

* chore(angular): cleanup and migrate column-ordering example with new angular coding style guide

* chore(angular): cleanup and migrate column-pinning example with new angular coding style guide

* chore(angular): cleanup and migrate column-pinning-sticky example with new angular coding style guide

* chore(angular): cleanup and migrate table-resizable-cell example with new angular coding style guide

* chore(angular): cleanup and migrate column-visibility example with new angular coding style guide

* chore(angular): cleanup and migrate editable-data example with new angular coding style guide

* chore(angular): cleanup and migrate expanding example with new angular coding style guide

* chore(angular): cleanup and migrate filters example with new angular coding style guide

* chore(angular): cleanup and migrate grouping example with new angular coding style guide

* chore(angular): cleanup and migrate remote-data example with new angular coding style guide

* chore(angular): cleanup and migrate row-dnd example with new angular coding style guide

* chore(angular): cleanup and migrate row-selection example with new angular coding style guide

* fix(angular): fix createTableHook injectAppTable return types

* chore: update prettier config for angular examples

* chore(angular): cleanup and migrate signal-input example with new angular coding style guide

* chore(angular): cleanup and migrate sub-components example with new angular coding style guide

* chore(angular): removed zone.js and fix typescript version

* ci: apply automated fixes

* chore(angular): add lint script

* ci: apply automated fixes

* add density plugin

* add density plugin

* ci: apply automated fixes

* fix angular examples package.json

* chore: fix angular examples dependency ranges

* lint(angular): fix unused exports

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-18 15:28:19 +01:00
Kevin Van Cott
b0584086af enable angular table and angular examples 2026-01-17 12:58:37 -06: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
Kevin Van Cott
51aca77b3a package upgrades 2025-12-12 07:20:21 -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
Riccardo Perra
fa3149197f
chore(angular-table): Update all angular 19 examples (#5842)
* update angular

* update examples

* update column visibility example

* update grouping example

* update row selection

* update signal input example

* Removed unused modules

* fix grouping example

* format code

* fix lint
2024-12-21 07:18:58 -06:00
Kevin Van Cott
d77172b079 upgrade to react 19 2024-12-06 17:38:10 -06:00
Kevin Van Cott
de4fcdf4f1 package upgrades - including angular 19 2024-11-21 17:54:13 -06:00
Kevin Van Cott
a5faaa4e24 package upgrades 2024-11-13 19:45:17 -06:00
Kevin Van Cott
a4904ad00a package upgrades 2024-10-30 18:30:00 -05:00
Kevin Van Cott
f48bd8871e package upgrades 2024-09-29 16:39:34 -05:00
Kevin Van Cott
69ffb37be1 chore: run lint fix on examples 2024-07-06 22:04:24 -05:00
Tanner Linsley
0867d85a86 release: v9.0.0-alpha.10 2024-06-30 18:00:05 +00:00
Tanner Linsley
3a20f67a18 release: v9.0.0-alpha.9 2024-06-30 04:29:32 +00:00
Tanner Linsley
23c6ddc05e release: v9.0.0-alpha.8 2024-06-29 01:09:15 +00:00
Tanner Linsley
fa2a338448 release: v9.0.0-alpha.6 2024-06-20 01:02:14 +00:00
Tanner Linsley
8350e8f942 release: v9.0.0-alpha.5 2024-06-17 03:31:51 +00:00
Kevin Vandy
102d3e5aa9 upgrade angular deps 2024-06-13 23:35:41 -05:00
Tanner Linsley
407b532c4e release: v9.0.0-alpha.4 2024-06-12 09:34:16 +00:00
Tanner Linsley
a3f54bd027 release: v9.0.0-alpha.3 2024-06-12 04:28:07 +00:00
Tanner Linsley
00f0963004 release: v9.0.0-alpha.1 2024-05-23 03:40:20 +00:00
Kevin Vandy
25d6c2d751 Merge branch 'main' into alpha 2024-05-22 22:37:07 -05:00
Tanner Linsley
a4bd09a002 release: v8.18.1 2024-05-23 02:08:00 +00:00
Riccardo Perra
11a5b4de07
fix(angular-table): angular deps dedupe and flex render tests and types (#5568)
* add flex render test

* update infra

* add some test for createAngularTable proxify signal

* add test case

* add test case

* update flex render constructor

* update tsconfig

* update deps

* fix package.json

* fix package.json

* use the same angular version everywhere

* use the same angular version everywhere

* pnpm dedupe
2024-05-22 21:06:05 -05:00
Tanner Linsley
79ea70e3a8 release: v9.0.0-alpha.0 2024-05-21 07:56:55 +00:00
Tanner Linsley
85f3f9e58f release: v8.17.3 2024-05-14 14:45:29 +00:00
Tanner Linsley
047348f2f6 release: v8.17.2 2024-05-13 13:37:16 +00:00
Tanner Linsley
d064a6fd3b release: v8.17.1 2024-05-12 22:28:37 +00:00
Tanner Linsley
9668fe1fc4 release: v8.17.0 2024-05-12 19:21:54 +00:00
Kevin Van Cott
91f4360faf
feat: Angular adapter for TanStack Table (#5326) (#5432)
* feat(angular-table): adds Angular adapter for tanstack/table (#5326)

* Angular adapter for tanstack table initial

* build with: ng packagr

* Add angular examples basic grouping

* Add angular examples basic grouping

* Update angular examples basic grouping

* Add angular example selection

* regen lock file

* package upgrades, angular table docs

* prettier

* move around some deps

* removed unused dependency from angular package

* fix deps

---------

Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>

* docs config cleanup

* feat: signal angular table adapter implementation

* update demo

* feat: table proxy detect memoized fns

* fix proxy property returning value

* feat: improve naming

* save new reference of table signal on every update

* computed trap proxy for fns with 1 argument

* update pnpm-lock.yaml

* refactor proxy implementation

* fix dependencies

* cleanup imports

* refactor basic example

* fix build

* run prettier

* add grouping example, fix ci

* add grouping example, fix ci

* add row selection example

* add column visibility example

* update examples add signal input required example

* improve angular table impl, fix flex-render change detection issues

* fix build

* feat(angular-table): improve adapter implementation (#5524)

* feat(angular-table): support render dynamic components and templateRefs in table

* update row selection example using dynamic rendered components

* support change detection on push with flex render

* add column ordering example

* fix flexRender change detection issues

* rename properties

* fix prettier and adjust example budget options

* update basic example

* add again support for table signal

* add column-pinning example

* add column pinning example

* add filters example

* cleanup code

* example cleanup

* update lock file

* feat(angular-table): added injector optional parameter for more flexibility (#5525)

* feat(angular-table): improve adapter implementation (TanStack#5524)

* Added optional injector for more flexibility
* Replace runInInjectionContext with injector in effect

* feat(angular-table): Added proxifyTable back

* feat(angular-table): adding back notifier signal for table changed

* feat(angular-table): Improve logic in setting table options
*set table options inside computed before returning the table instance
*remove redundant signals and effect
*remove injector as it no longer required
*update Grouping example to show how to pass signal when creating table

* update angular adapter and state docs

* prettier

* update docs config with angular examples

* update angular table state docs (#5545)

* Angular examples and dependencies improvements (#5546)

* tslib should be a dependency, see:

https://angular.io/guide/angular-package-format#tslib

* ensure angular examples are run as web container on code sandbox

* update lock file

---------

Co-authored-by: Kevin Vandy <kevinvandy656@gmail.com>

* docs(angular-table): Add documentation for FlexRenderDirective (#5543)

* add flexRender documentation

* fix docs

* fix rendering component section heading

* remove double build package.json from angular build

* update link name

* docs pass

* update esm exports in package.json

* update flexrender types

---------

Co-authored-by: jrgokavalsa <86955546+jrgokavalsa@users.noreply.github.com>
Co-authored-by: riccardoperra <riccardo.perra@icloud.com>
Co-authored-by: Riccardo Perra <perrariccardo0@gmail.com>
Co-authored-by: mamerto-g <merto.20@gmail.com>
Co-authored-by: Arnoud <6420061+arnoud-dv@users.noreply.github.com>
2024-05-12 14:19:51 -05:00