Jun 21, 2022
- Creates and implements a SmartDataTableContext
- Removes the
dev
anddist
dirs - Upgrades the example to use the React 18 API
- Moves the example to gh-pages
Apr 3, 2022
- Adds support for a custom sort
compareFn
per column which can be used to leverage localeCompare
Feb 6, 2022
- Moved the docs to this repo
Jan 7, 2022
- Adds data attributes to columns that allow individual column targeting, e.g. by CSS
Nov 14, 2021
- Removed the compiled example from the npm package to remove the overall bundle/download size
Nov 13, 2021
- Ported the tests to TypeScript
- Added a
SelectAll
component to theToggles
component (Issue #49)
Nov 10, 2021
- Updated some of the dependencies
Nov 9, 2021
- Migrated the react testing library from enzyme to @testing-library/react
Apr 24, 2021
- Added a
dataSampling
prop which tells the sampling algorithm how much of the data to sample in order to compute the headers, useful for data which is not uniform
Apr 17, 2021
- Converted the codebase to TypeScript
- Fixed an issue where columns might get duplicated Issue #39
Mar 22, 2021
- Improved the CI workflows
- Updated the documentation
- Updated the required React version
Mar 2, 2021
- Added a new
dataRequestOptions
to allow passing options directly to the underlyingfetch
API call
Feb 17, 2021
- Added a new
dataKeyResolver
prop that accepts custom function which takes the response as its only argument and returns the data - Fixed a bug rendering the cell value introduced in the previous refactoring
- Fixed a long lasting bug regarding the
headers
prop overriding behavior - Fixed the loader not appearing if the data was empty
- Added more tests
Feb 15, 2021
- Converted the CellValue component to a FC and added
React.memo
to try and get some performance gains
Feb 14, 2021
- Upgraded the codebase to the new JSX transform
- Removed the
memoize-one
dependency - Cleaned up the internal code
- Refactored the dev workflow
- Changed the files with
JSX
syntax to use the.jsx
extension - Converted some Class Components to Functional Components
- Toggles
- Converted some
div
elements to more semantic HTML elements - Converted Promises to async-await
- Improved the pagination's basic CSS
- Added custom API URL to the example
TableCell
was renamed toCellValue
Sep 1, 2020
- Removed the styling to a dedicated file
Jun 7, 2020
- Started to add component testing using enzyme
May 18, 2020
- Switched from npm to yarn
- Updated the dependencies
- Fixed the example
- Added GitHub workflows for push and PR to the main branch
Mar 20, 2020
- Improved the tests
- Fixes Issue #22
- Updated the dependencies due to:
Mar 8, 2020
- Added some unit tests
- Added husky for pre-commit hooks
Mar 7, 2020
- Updated the dependencies due to:
- Improved the docs
- Added a
code of conduct
- Added
contributing guidelines
- Added a
pull request template
Oct 18, 2019
- Merged Pull #20 to fix Issue #19 (@tisoap)
- Added support for the parseImg option to parse Data URLs as well
Sep 29, 2019
- Removed the deprecation warning for footer and withHeaders
- Added the orderedHeaders prop that allows to customize the headers order
- Added the hideUnordered prop that allows to hide unordered headers
Jun 20, 2019
- Updated the dependencies due to:
- Replaced @babel/polyfill with core-js/stable
Feb 4, 2019
- Added the possibility of passing a custom Paginator component to render the pagination
- Removed the segmentize dependency
Dec 25, 2018
- Removed the lodash dependency completely
- Fixed a bug where the rows, when filtered, would cause the sorting to not work
- Didn't change the behavior where the index passed down to transform function in the headers does not correspond to the index of the original data, but of the sorted data instead, because a different algorithm can be used to achieve the same result (example in the documentation)
Dec 20, 2018
- Fixes Issue #14
Oct 10, 2018
- Added the prop emptyTable to display a message when the table is empty (Fixes Issue #13)
Sep 28, 2018
- Added transform and isImage properties to the headers prop accepted options
Sep 28, 2018
- Added prop to pass custom header prop with options to override individual columns default behavior
- Added the dynamic prop
- Added a .npmignore file to reduce the package size by excluding examples and tests
Sep 6, 2018
- Removed the Python dependency and replaced the development server with webpack-dev-server
- Updated the webpack configuration for the new babel-loader
- Helper functions improvements
Sep 5, 2018
- Fixes Issue #12
Aug 29, 2018
- Webpack reorganization
- Package structure reorganization
- Removed the styled prop deprecation warning
- Added the footer deprecation warning
- Added the withHeaders deprecation warning
- Added the withFooter prop as the flag to render the footer in convergence with the withHeader prop
Note: This version is exactly the same as 0.5.15
with some props name
changes. If this breaks your app, keep using the previous version.
Aug 19, 2018
- Added className to options that can be provided to parseImg to be passed down to the img tag
- Several minor enhancements, bug fixes and code reduction
- Added memoization through memoize-one
Aug 19, 2018
- Added a parser for images and the possibility to render the image instead of
displaying the URL which also accepts an object with a style key containing a
style object which will be passed down to the
<img />
tag with the CSS attributes as defined in Common CSS Properties Reference
- Stopped the event propagation to onRowClick when links rendered with withLinks are clicked
Aug 14, 2018
- Added the possibility to convert true and false to [Yes Word] and [No Word] when the value is of Boolean type where each can be customized by supplying an object to the parseBool prop
Aug 14, 2018
- Added the possibility to convert true and false to Yes and No when the value is of Boolean type through the parseBool prop
Aug 12, 2018
Aug 1, 2018
- When filtering by value, reset the page (pagination) back to 1
Jul 23, 2018
- Added a condition to reload the async data if the URL changes
Jul 18, 2018
- The RSDT now correctly re-renders when data is changed in props and the loader is correctly called, it also correctly re-renders even when the data type is changed
Jun 24, 2018
- Added ESLint with babel-eslint and eslint-config-airbnb
- Added a new prop for a loader component to be rendered while fetching async data
- Added intelligence to parse boolean values
Jun 10, 2018
- Added async data loading from remote url
Apr 30, 2018
- Added an Error Boundary
Apr 25, 2018
- Exposed the library as a compiled bundle in order to avoid import errors due to the ES6 syntax
Apr 2, 2018
- Added the prop withHeaders (courtesy of Derush)
Mar 18, 2018
- Tested and updated the dependencies, will bring improvements very soon
Aug 2, 2017
- Highlighting text now works with withLinks
- Added pagination with ellipsis for large amounts of data
- Added deprecation warning for styled prop
Jul 25, 2017
- Complete re-write of the whole component, makes the internal gears more flexible for future improvements
- Removed the styled prop and the ability to render the table using div's
- Removed sorting by clicking on table header
- Added sorting by clicking on table header sorting icon
- Added different icons to represent sorting directions
- Added string highlight to search filter
- Added withLinks prop that detects and converts links to
<a />
tags - Column toggles no longer require the custom component, it's built-in
- Added example with per page dropdown selection
- Converted pagination span tags to a tags
May 27, 2017
- Fixed a bug where the visibility toggles wouldn't function introduced by the pagination support
May 26, 2017
- Added pagination support
May 6, 2017
- Package dependencies updated
Apr 25, 2017
- Fixed the toggles and sorting compatibility bug
- Added documentation for toggles
Apr 24, 2017
- Added column visibility toggles
- Bug: need to fix compatibility with sorting
Apr 23, 2017
- Fixed a bug where sorting would reset the filtering
- Added a filtering example to README.md
Apr 21, 2017
- Added filtering of all columns through a new prop filterValue that accepts a string input as the value to use for the filter
Apr 15, 2017
- Added live examples to README.md
Apr 15, 2017
- Added PropTypes from the prop-types npm module instead of the main react
Mar 26, 2017
- Added SmartDataTable as a default export
Mar 25, 2017
- Added sortable option to make the table sortable by individual columns
Mar 11, 2017
- Added support for nested objects and for more header formats
- Added lodash dependency
- Started to document the code, updated the README.md
Feb 12, 2017
- Wrote most of the logic for the smart data table
Jan 30, 2017
- Created the index export and wrote the basic react component structure
- Created the environment for proper development and testing