Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Releases: pburtchaell/react-notification

Release 5.0.1

03 Apr 17:39
Compare
Choose a tag to compare

Fixes:

  • Issue #60: ESLint dependencies breaking tests

Adds:

Version 5.0.0

17 Mar 03:17
Compare
Choose a tag to compare

Fixes:

Breaking Changes:

  • Instead of passing in one style object, there are now several objects: barStyle, actionStyle and activeBarStyle. These objects work as expected, e.g., barStyle are styles applied to the snackbar. If style has a value of false, inline styles are entirely disabled.

Version 4.3.0

16 Mar 17:50
Compare
Choose a tag to compare

Adds:

  • You can use both a string and a React component as the value for the message prop. This enables one to pass a React element to the notification as a message, without throwing a warning.

Thanks to @SebT for the PR.

Version 4.2.0

15 Feb 14:23
Compare
Choose a tag to compare

Fixes:

Thanks to @sergiofm for the PR.

Version 4.1.1

10 Feb 21:58
Compare
Choose a tag to compare

Fixes:

  • Issue #44, which prevented the components from easily being imported 🚒

Note this is a breaking change. The components are now exported as an object. For example

// ES2015+
import { Notification, NotificationStack } from 'react-notification';

// ES5
var Notification = require('react-notification'). Notification;
var NotificationStack = require('react-notification').NotificationStack;

Version 4.0.0

30 Dec 23:24
Compare
Choose a tag to compare

Adds:

  • Support for stacks of notifications. Whoooohooo! 🙌
  • Thanks to @meta-meta for the original code and PR for the notification stack.

Version 3.0.0

03 Nov 15:55
Compare
Choose a tag to compare

Adds:

  • New tests
  • React 0.14.x support

Version 2.3.0

27 Sep 18:58
Compare
Choose a tag to compare

Fixes:

  • Using a boolean value for the action prop would cause a warning
  • Notifications dismiss with the value of the previous props dismissAfter instead of the next props value

Adds:

  • You can use a custom class name
  • You can use a custom active class name

Thanks to the following GitHub users for the PRs and bug reports:

Version 2.2.0

04 Sep 13:07
Compare
Choose a tag to compare

Adds:

Version 2.1.0

15 Aug 16:30
Compare
Choose a tag to compare
  • Including the action={false} prop on the component will remove the action from the notification bar