Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

v0.4.0

Compare
Choose a tag to compare
@ehzhang ehzhang released this 07 Jul 21:28
· 128 commits to master since this release

Changelog:

Changes:

  • Adjusts the scrollbar to to not overlay the header or the footer. #138 mikestead
  • (NEW) Adds the onScrollStart property to Table, #147, @mikestead
  • Split styling and layout specific CSS. The table looks functionally the same, but things like backgrounds and colors can be styled using a the various style css files, or a larger theme file. Default theme will still apply. Thanks with help from @Andreyco
  • Include base (no-styling) with dist/fixed-data-table-base.css and add styling by editing or including dist/fixed-data-table-style.css
  • Column props now include headerClassName and footerClassName.

Bugfixes:

  • Force table height to be an integer, from PR 144, closes issue 80 (Thanks @gsklee)

Breaking changes:

  • If you have been using cellClassName to target the header or footer cells, you will need to now use the Column prop headerClassName or footerClassName, respectively.
  • If you have styled the table by specifying classnames that were not prepended by 'public,' (what we would consider 'private' classes), then the name of the component now has 'Layout' appended.

For example, if you styled .fixedDataTable_header, it is now .fixedDataTableLayout_header. In this case, you can still access it through its public classname, .public_fixedDataTable_header.

For styling, it is extremely important that you use the .public prepended classnames, as these will be more stable than the internal classes used purely for layout.