Releases: teodosii/react-notifications-component
Releases · teodosii/react-notifications-component
3.3.3
3.3.0
Changes
- Removed default export - You now need to import ReactNotifications (and Store) instead of the default import
- All typescript declarations are now included in the dist folder
3.2.0
Fixes
- Fixed TS declarations #124
- Namespaced CSS modules under rnc_* #123
- Custom width for center containers #108
Breaking Changes
- Namespaced CSS modules
3.0.0
Changes
- TS support
- Added full-sized containers for top and bottom
- Changed SASS style to match BEM - breaking change
- Limit center containers to 350px
- Allow dynamic expansion of containers based on each notification's width
- Adedd new API call
removeAllNotifications
- Removed
prop-types
package, props are now defaulted internally
Fixes
2.4.0
- Fixed issue #56 - Removed random generator for id, instead rely on
counter
property from store as id - Fixed #52 - Swipe was not working properly
- Implemented #46 - Added
center
container. Did some changes totop
andbottom
containers as Chrome blurred content at the beginning of the animation due to the transform property. - Changed notifications to take 100% width of the container instead of auto.
2.2.1
2.1.0
2.0.7
Version 2 of react-notifications-component
- Deprecated ref usage
touchSlidingBack
has been renamed totouchRevert
cubicBezier
has been renamed totimingFunction
- validators removed from
prod
build - defaults for transitions have been slightly adjusted
dismissIcon
has been removed- added
showIcon
as a semi-replacement fordismissIcon