Skip to content

Releases: trendmicro-frontend/react-table

v2.0.2

21 Jan 01:46
Compare
Choose a tag to compare
  • Fix style issue (PR #31, 68f7feb)
  • Upgrade dependency styled-components to 5.0.0 (f89dc3d)

v2.0.1

06 Dec 10:01
Compare
Choose a tag to compare

Fix an issue of incorrect React dependency where hooks were initially released in 16.8 , not 16.11 (d3bc6cf)

v2.0.0

06 Dec 07:43
Compare
Choose a tag to compare

What's Changed

  • React 16.8 or a later version is required for hooks support (3b37893)
  • Use TableTemplate to render the base table by passing props (f55de1c)
  • Use TableWrapper to build your custom table with render props (f55de1c)
  • Move to a CSS-in-JS solution using styled-components (a362b31)

Breaking Changes

TableTemplate properties

  • Removed bordered
  • Removed expandedRowKeys
  • Removed expandedRowRender
  • Removed footer
  • Removed justified
  • Removed maxHeight
  • Removed onRowClick
  • Removed rowClassName
  • Removed rowKey
  • Removed showHeader
  • Removed sortable
  • Removed title
  • Addedminimalist
  • Added hideHeader
  • Added loaderRender
  • Added width

Column properties

  • Removed key
  • Removed className
  • Removed style
  • Removed headerClassName
  • Removed headerStyle
  • Removed cellClassName
  • Removed cellStyle
  • Removed dataIndex
  • Removed fixed
  • Removed onClick

1.0.1-alpha.2

18 Sep 10:04
Compare
Choose a tag to compare
1.0.1-alpha.2 Pre-release
Pre-release

The component should update when columns are not equal. (5a51494)

v1.0.0-alpha.2

18 Sep 02:10
61d8858
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

Changed

sortable props 6b7731e

1.0.1-alpha.1

14 Sep 06:32
Compare
Choose a tag to compare
1.0.1-alpha.1 Pre-release
Pre-release

Move sortable attribute from table to column property. (6b7731e)

v1.0.0-alpha.1

28 Aug 02:31
768138e
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

Fixed

  • #17 Broken expanded table

v1.0.0-alpha

21 Aug 03:28
Compare
Choose a tag to compare
v1.0.0-alpha Pre-release
Pre-release

Performance improvement complete

v0.9.0

28 Jan 04:22
Compare
Choose a tag to compare

Pass rowIndex to expandedRowRender, onRowClick, and column's render function (b5d933b)

Table

  • expandedRowRender(record, rowIndex)
  • onRowClick(record, rowIndex)

Column

  • render(value, record, rowIndex)

v0.8.4

03 Jan 08:36
Compare
Choose a tag to compare

Use "white-space: nowrap" for table rows to make sure each table row will not wrap to the next line (6b672d2)