ywana-core8 0.0.669 → 0.0.670

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -3645,7 +3645,10 @@ var SiteProvider = function SiteProvider(_ref) {
3645
3645
  var title = _ref2.title,
3646
3646
  body = _ref2.body,
3647
3647
  _ref2$type = _ref2.type,
3648
- type = _ref2$type === void 0 ? "success" : _ref2$type;
3648
+ type = _ref2$type === void 0 ? "success" : _ref2$type,
3649
+ _ref2$duration = _ref2.duration,
3650
+ duration = _ref2$duration === void 0 ? 3000 : _ref2$duration,
3651
+ onRemoval = _ref2.onRemoval;
3649
3652
  reactNotificationsComponent.Store.addNotification({
3650
3653
  title: title,
3651
3654
  message: body,
@@ -3655,9 +3658,10 @@ var SiteProvider = function SiteProvider(_ref) {
3655
3658
  animationIn: ["animate__animated", "animate__fadeIn"],
3656
3659
  animationOut: ["animate__animated", "animate__fadeOut"],
3657
3660
  dismiss: {
3658
- duration: 3000,
3661
+ duration: duration,
3659
3662
  onScreen: true
3660
- }
3663
+ },
3664
+ onRemoval: onRemoval
3661
3665
  });
3662
3666
  }
3663
3667
  };