Skip to content

Releases: teodosii/react-notifications-component

3.3.3

26 Jan 10:10
65060a0
Compare
Choose a tag to compare

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

12 Nov 23:02
Compare
Choose a tag to compare

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

14 Mar 16:28
Compare
Choose a tag to compare
  • 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 to top and bottom 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

06 Nov 15:34
ae364dc
Compare
Choose a tag to compare
  • Merged pull request #31 to pass className to component
  • Fixed issue #33 - Unsubscribe from resize once component was unmounted
  • Fixed issue #35 - content now gets id supplied as a prop

2.1.0

23 Sep 08:52
a9c2fe9
Compare
Choose a tag to compare
  • Added option onRemoval directly to the notification object. Each notification will have its own onRemoval, making it easier to track removals.
  • Removed style-loader from webpack dev config

2.0.7

29 Aug 13:25
Compare
Choose a tag to compare

Version 2 of react-notifications-component

  • Deprecated ref usage
  • touchSlidingBack has been renamed to touchRevert
  • cubicBezier has been renamed to timingFunction
  • validators removed from prod build
  • defaults for transitions have been slightly adjusted
  • dismissIcon has been removed
  • added showIcon as a semi-replacement for dismissIcon

1.0.0

18 Nov 13:59
Compare
Choose a tag to compare

Stable and production ready release of react-notifications-component

  • added support for server side rendering
  • added center containers - top-center, bottom-center
  • added callback for notification removal
  • updated test coverage to 100%

0.1.0

02 Sep 14:33
Compare
Choose a tag to compare

First release of react-notifications-component published as v0.1.0