Releases: giorgosart/react-easy-edit
Releases · giorgosart/react-easy-edit
2.0.0
Release Notes
Enhancements
- Rewrote the whole library to use functional components
- Rewrote unit tests to reflect latest changes.
- Test coverage up to 100%
Breaking changes
- Changed prop
attributes
toinputAttributes
to make it clear to the user which attributes apply to each view mode. - Changed prop
allowEdit
toeditable
- Changed prop
editMode
toisEditing
Bug Fixes
- #201 - fixed a bug where props were mutated directly instead of making a copy of them and then modifying it.
- Fixed https://github.com/giorgosart/react-easy-edit/security/dependabot/2
1.17.2
1.17.1
1.17.0
Release Notes
Enhancements
- #175 Added an Edit button that is visible in the View state of the component. In order for this to work you need to explicitly set the prop
hideEditButton = false
otherwise the Edit button will not be visible. - #170 Added two new props called
showEditViewButtonsOnHover
andshowViewButtonsOnHover
.showEditViewButtonsOnHover
only shows the "Edit" button when the user hovers over the EasyEdit component in the View state.showViewButtonsOnHover
only shows the "Save", "Cancel" and "Delete" buttons when the user hovers over the EasyEdit component in the Edit state.
- #164 Added input support for
tel
andurl
types. - #158 Upgraded libraries and README file with new badges.
- #153 Added dark mode on the documentation website
- Integrated SonarCloud static code analysis.
- Improved unit test coverage.
Bug Fixes
1.16.0
Release Notes
Enhancements
- React 18 support
- Re-written most of the tests with react testing library
- Upgraded dependencies
1.15.0
1.14.0
1.13.3
1.13.2
Release Notes
Enhancements
- Upgraded libraries and added support for React 17