Skip to content

Releases: rsuite/rsuite-table

5.19.2

04 Jul 08:52
Compare
Choose a tag to compare

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

23 Aug 02:48
Compare
Choose a tag to compare

What's Changed

  • feat(Table): add support for maxHeight prop by @simonguo in #498
  • build(deps): bump dom-lib from 3.1.3 to 3.3.1 by @simonguo in #499

Full Changelog: 5.18.3...5.19.0

5.18.3

11 Jun 05:59
Compare
Choose a tag to compare

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

01 Dec 02:27
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.18.1...5.18.2

5.18.1

24 Nov 05:35
Compare
Choose a tag to compare

What's Changed

  • fix(Table): fix missing ColumnGroup parameter in children by @simonguo in #475

Full Changelog: 5.18.0...5.18.1

5.18.0

24 Nov 03:53
Compare
Choose a tag to compare

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

17 Nov 14:11
Compare
Choose a tag to compare

What's Changed

  • feat(Table): support get scroll position of the table through ref by @simonguo in #473

Full Changelog: 5.16.0...5.17.0

5.16.0

17 Nov 13:39
Compare
Choose a tag to compare

What's Changed

  • fix(Table): fix the compatibility issue with verticalAlign by @simonguo in #435

Full Changelog: 5.15.0...5.16.0

5.15.0

26 Oct 07:22
Compare
Choose a tag to compare

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

Full Changelog: 5.14.0...5.15.0

5.14.0

19 Oct 03:46
Compare
Choose a tag to compare

What's Changed

  • Feat(Table) : Add an option to define rowExpandedHeight as function by @Gami-404 in #465

New Contributors

Full Changelog: 5.13.0...5.14.0