Releases: rsuite/rsuite-table
Releases · rsuite/rsuite-table
5.19.2
What's Changed
- refactor: remove PropTypes in favor of TypeScript types by @simonguo in #520
- chore: update babel and related dependencies to latest versions by @simonguo in #523
- chore: update eslint config and fix lint issues by @simonguo in #524
- chore: update eslint and webpack configurations by @simonguo in #525
- build: add size-limit check and production build config by @simonguo in #526
- refactor: optimize icons implementation and animations by @simonguo in #527
- refactor: update table utils and dependencies by @simonguo in #528
- chore: update lodash dependencies and remove babel-plugin-lodash by @simonguo in #529
- refactor: migrate test cases to TypeScript and reorganize utils by @simonguo in #530
- refactor: consolidate TypeScript types and update imports by @simonguo in #531
- build(deps-dev): bump gh-pages from 0.12.0 to 5.0.0 by @dependabot in #522
- perf(Table): move default locale outside component to prevent recreation by @simonguo in #538
Full Changelog: 5.19.1...5.19.2
5.19.0
5.18.3
What's Changed
- ci: upgrade all versions that are dependent on the workflow to the latest version by @simonguo in #490
- fix(Table): fix
flexGrow
is invalid when the table is hidden and then shown by @simonguo in #489 - docs(example): fix sort error when dragging rows by @simonguo in #491
Full Changelog: 5.18.2...5.18.3
5.18.2
5.18.1
5.18.0
Features
The children
prop of the Table supports function types. When using TypeScript, it is recommended to pass a render prop to the Table component. This ensures that the correct generic type parameter is automatically propagated to the Cell component.
const products: Product[] = [{ name: 'Pineapple' }];
<Table<Product, string> ref={table} data={products}>
{({ Column, HeaderCell, Cell }) => (
<>
<Column>
<HeaderCell>Name</HeaderCell>
{/* No need for passing explicit type parameter to Cell */}
<Cell>{row => row.name}</Cell>
</Column>
</>
)}
</Table>;
What's Changed
New Contributors
Full Changelog: 5.17.0...5.18.0
5.17.0
5.16.0
5.15.0
What's Changed
- Issue 3412:- added a list of arrowKeys, added a check for only required events in … by @yourvishal007 in #468
- feat: add a script to prepend the use client directive by @simonguo in #466
- build(deps): bump typescript to 5.2.2 by @simonguo in #469
New Contributors
- @yourvishal007 made their first contribution in #468
Full Changelog: 5.14.0...5.15.0