Skip to content

Releases: trendmicro-frontend/react-table

v2.0.2

Choose a tag to compare

@tinaClin tinaClin released this 21 Jan 01:46
  • Fix style issue (PR #31, 68f7feb)
  • Upgrade dependency styled-components to 5.0.0 (f89dc3d)

v2.0.1

Choose a tag to compare

@tinaClin tinaClin released this 06 Dec 10:01

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

v2.0.0

Choose a tag to compare

@tinaClin tinaClin released this 06 Dec 07:43

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

1.0.1-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@tinaClin tinaClin released this 18 Sep 10:04

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

v1.0.0-alpha.2

v1.0.0-alpha.2 Pre-release
Pre-release

Choose a tag to compare

@roth1002 roth1002 released this 18 Sep 02:10
61d8858

Changed

sortable props 6b7731e

1.0.1-alpha.1

1.0.1-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@tinaClin tinaClin released this 14 Sep 06:32

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

v1.0.0-alpha.1

v1.0.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@roth1002 roth1002 released this 28 Aug 02:31
768138e

Fixed

  • #17 Broken expanded table

v1.0.0-alpha

v1.0.0-alpha Pre-release
Pre-release

Choose a tag to compare

@roth1002 roth1002 released this 21 Aug 03:28

Performance improvement complete

v0.9.0

Choose a tag to compare

@cheton cheton released this 28 Jan 04:22

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

Choose a tag to compare

@cheton cheton released this 03 Jan 08:36

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