- Updated to class components and removed future deprecated lifecycle methods (thanks to @oskarer)
- Dismissible enhancements (thanks to @thepeted)
- Support for React 16 (thanks to @marudor)
- UMD build now specifies the library name (thanks to @franckamayou)
- Ability to edit notifications. (thanks to @syndbg)
- Removed deprecation warning. Now using
prop-types
andcreate-react-class
packages. (thanks to @andrewBalekha) - Fix calling
onRemove
before updating the notifications state. (thanks to @szdc)
- UMD support. (thanks to @jochenberger)
- Adds support for enter and exit animations for NotificationItem. (thanks to @OriR)
- Added
clearNotifications()
method (thanks to @saaqibz)
- Allows children content to override
action
. (thanks to @gor181)
- Improved CSS styles for better performance
- Merged pull request to avoid warnings related to component state
React 15 support:
- Version 0.2.x now supports React 15 too.
Bugfix from PR:
- Fix wrapper styles override.
Implemented enhancements:
- Action property no longer needs a callback, just a label.
Implemented enhancements:
- Added React and ReactDOM as peerDependencies and devDependencies to help on component development.
Implemented enhancements:
- Possibility to remove notification by uid.
- Added onAdd property to notification object.
- Improved styles.
** Removed unused code**
- Some unnecessary
console.logs
was left behind.
Implemented enhancements:
- Improved function to get specific style based on element.
- Improved notification styles.
- Added ESLint and linted all src files.
Implemented enhancements:
- Now supports React 0.14!
Implemented enhancements, merged pull requrests:
- Fix dismissible false to not require an action.
- Added CHANGELOG and LICENSE files.
Implemented enhancements:
addNotification()
method now returns the notification object.- Added method
removeNotification()
to remove a notification programmatically based on returned notification object.