Skip to content

v1.6.0

Choose a tag to compare

@coder966 coder966 released this 02 Apr 18:14
· 448 commits to master since this release

Added

  • RruFormElement: Added dir prop to text, textarea, and password.
  • RruFormElement: Added accept prop to file.
  • RruPageableTable: Added the ability to specify the default sort configuration using defaultSortBy and defaultSortDir.
  • RruPageableTable: Added the ability to use POST method in the api call using requestMethod.
  • RruPageableTable: Added the ability to show a message when there is an api call error using apiErrorLabel.
  • RruPageableTable: Added the ability to retain the table state (current page and current sort configuration and current search object) (through the use of retainTableState and getRetainedTableSearchObject). Please refer to the documentations for details.

Changed

  • You must now explicitly import the library stylesheet react-rich-ui/dist/index.css in you react app (usually in index.js).
  • RruPageableTable: Reset to the first page after search params change.
  • RruButton: Confirmation dialogue now uses a custom-built modal instead of react-bootstrap Modal.

Removed (Not Breaking)

  • RruPageableTable: Removed id prop. Now the component will generate a unique id which is used for persisting the table state.

Internal

  • Rewrite components in Typescript.
  • Drop the example app and use Storybook instead.
  • Use Microbundle for building the library.
  • Properly mention axios as a peer dependency in package.json.
  • Add yup to peerDependencies.
  • Upgrade Dependencies.