:postbox: A simple and customizable React notifications system
Full Changelog: https://github.com/LouisBarranqueiro/reapop/compare/v4.2.1...v4.2.2
Full Changelog: https://github.com/LouisBarranqueiro/reapop/compare/v4.2.0...v4.2.1
The version 4.1.0 of the npm package was published and immediately marked as deprecated because it required react-refresh
to be installed.
p
HTML container of the message with a div
If you have any questions or feedback, feel free to open an issue 🙂
The version 4.0.4 of the npm package was not published correctly so it has been unpublished and re-publish correctly under the version of 4.0.5.
If you have any questions or feedback, feel free to open an issue 🙂
useNotifications
react hook. (notify(message, status)
, notify(message, status, options)
) (#432)If you have any questions or feedback, feel free to open an issue 🙂
There is no breaking change in this release. If you have any questions or feedback, feel free to open an issue 🙂
findDOMNode
deprecation warning https://github.com/LouisBarranqueiro/reapop/commit/cf9e52f69cf0c47558e6e02ab320bc2f28dd2a92
If you have any questions or feedback, feel free to open an issue 🙂
Notification.closeButton
attribute was renamed Notification.showDismissButton
Notification.onRemove
was renamed Notification.onDismiss
default
notification status was renamed none
.STATUS
constant was renamed STATUSES
top
and bottom
were removed.removeNotification
was renamed dismissNotification
notify
now returns a redux action instead of the notification.removeNotification
was renamed dismissNotification
removeNotifications
was renamed dismissNotifications
Notification.image
won't be preloaded anymore. You need to preload them before creating/updating notifications.Notification.status
won't be converted anymore to statuses supported by the library.actions
variable.NotificationsSystem
requires notifications
, and dismissNotification
properties.filter
property of the NotificationsSystem
component was removed. Use instead the notification
property.Notification.closeButton
with Notification.showDismissButton
Notification.onRemove
with Notification.onDismiss
STATUS
with STATUSES
STATUSES.default
with STATUSES.none
or null
.top-center
or bottom-center
position if you used the top
or bottom
positionsetUpNotifications
helper to set up the default properties of your notifications.notify(...)
call to get the notification from the payload
property of the action returned (previously the notification was returned)addNotification
and updateNotification
actions with notify
removeNotification
action with dismissNotification
removeNotifications
action with dismissNotifications
Notification.status
, or set a customizeNotification
function with the setUpNotifications
helper to reproduce this behaviorreapop.actions
and directly import notify
, dismissNotification
or dismissNotifications
from reapop
notifications
and dismissNotification
property to the NotificationsSystem
component. Read the Integration & usage section to learn more about these new properties.filter
property of the NotificationsSystem
component.reapop-theme-*
package with builtin themes. More information in the Themes section of the documentation to get these themes.Transition
, NotificationIcon
, and Notification
More information about these new things in the documentation
redux-thunk
dependencyIf you have any questions or feedback, feel free to open an issue 🙂