ywana-core8 0.0.669 → 0.0.671
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 +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.js +4 -3
package/dist/index.umd.js
CHANGED
@@ -3639,7 +3639,10 @@
|
|
3639
3639
|
var title = _ref2.title,
|
3640
3640
|
body = _ref2.body,
|
3641
3641
|
_ref2$type = _ref2.type,
|
3642
|
-
type = _ref2$type === void 0 ? "success" : _ref2$type
|
3642
|
+
type = _ref2$type === void 0 ? "success" : _ref2$type,
|
3643
|
+
_ref2$duration = _ref2.duration,
|
3644
|
+
duration = _ref2$duration === void 0 ? 3000 : _ref2$duration,
|
3645
|
+
onRemoval = _ref2.onRemoval;
|
3643
3646
|
reactNotificationsComponent.Store.addNotification({
|
3644
3647
|
title: title,
|
3645
3648
|
message: body,
|
@@ -3649,9 +3652,10 @@
|
|
3649
3652
|
animationIn: ["animate__animated", "animate__fadeIn"],
|
3650
3653
|
animationOut: ["animate__animated", "animate__fadeOut"],
|
3651
3654
|
dismiss: {
|
3652
|
-
duration:
|
3655
|
+
duration: duration,
|
3653
3656
|
onScreen: true
|
3654
|
-
}
|
3657
|
+
},
|
3658
|
+
onRemoval: onRemoval
|
3655
3659
|
});
|
3656
3660
|
}
|
3657
3661
|
};
|