v0.3.0
💥 Breaking Changes
- When using filters on a DataList component, filters can be pre-populated using the
defaultsprop nested underfilters. Previously defaults were taken frompropsattribute.
// Before
<ListTable
columns={...}
filters={
props: {
published: true,
something: 'else'
}
...
/>
// After
<ListTable
columns={...}
filters={
defaults: {
published: true,
something: 'else'
}
...
/>
- In DataList, the
onRowSelectprop will only accept one function argument
🚀 New Features
- DataList component allows for selection of number of records per page
- Adds filter support for integer fields
- Updated InfiniteScroll component to support custom
onBottonReached - Updated DownloadButton component to use standard browser download/save behavior
🐛 Bug Fixes
- Fixed an issue where boolean filters defaulted to
NULLinstead offalse - Fixed a styling issue with list headers wrapping on DataList component