Releases: coder966/react-rich-ui
Releases · coder966/react-rich-ui
v1.6.0
Added
- RruFormElement: Added
dirprop totext,textarea, andpassword. - RruFormElement: Added
acceptprop tofile. - RruPageableTable: Added the ability to specify the default sort configuration using
defaultSortByanddefaultSortDir. - 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
retainTableStateandgetRetainedTableSearchObject). Please refer to the documentations for details.
Changed
- You must now explicitly import the library stylesheet
react-rich-ui/dist/index.cssin you react app (usually inindex.js). - RruPageableTable: Reset to the first page after search params change.
- RruButton: Confirmation dialogue now uses a custom-built modal instead of
react-bootstrapModal.
Removed (Not Breaking)
- RruPageableTable: Removed
idprop. 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
yuptopeerDependencies. - Upgrade Dependencies.