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 +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.modern.js
CHANGED
@@ -3637,7 +3637,10 @@ var SiteProvider = function SiteProvider(_ref) {
|
|
3637
3637
|
var title = _ref2.title,
|
3638
3638
|
body = _ref2.body,
|
3639
3639
|
_ref2$type = _ref2.type,
|
3640
|
-
type = _ref2$type === void 0 ? "success" : _ref2$type
|
3640
|
+
type = _ref2$type === void 0 ? "success" : _ref2$type,
|
3641
|
+
_ref2$duration = _ref2.duration,
|
3642
|
+
duration = _ref2$duration === void 0 ? 3000 : _ref2$duration,
|
3643
|
+
onRemoval = _ref2.onRemoval;
|
3641
3644
|
Store.addNotification({
|
3642
3645
|
title: title,
|
3643
3646
|
message: body,
|
@@ -3647,9 +3650,10 @@ var SiteProvider = function SiteProvider(_ref) {
|
|
3647
3650
|
animationIn: ["animate__animated", "animate__fadeIn"],
|
3648
3651
|
animationOut: ["animate__animated", "animate__fadeOut"],
|
3649
3652
|
dismiss: {
|
3650
|
-
duration:
|
3653
|
+
duration: duration,
|
3651
3654
|
onScreen: true
|
3652
|
-
}
|
3655
|
+
},
|
3656
|
+
onRemoval: onRemoval
|
3653
3657
|
});
|
3654
3658
|
}
|
3655
3659
|
};
|