ywana-core8 0.0.845 → 0.0.846
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 +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/site.js +2 -0
package/dist/index.cjs
CHANGED
@@ -5,6 +5,8 @@ var moment$1 = require('moment');
|
|
5
5
|
var momentRange = require('moment-range');
|
6
6
|
require('moment/locale/es');
|
7
7
|
var ResumableJS = require('resumablejs');
|
8
|
+
var reactNotificationsComponent = require('react-notifications-component');
|
9
|
+
require('react-notifications-component/dist/theme.css');
|
8
10
|
var axios = require('axios');
|
9
11
|
var equal = require('deep-equal');
|
10
12
|
|
@@ -3771,7 +3773,7 @@ var SiteProvider = function SiteProvider(_ref) {
|
|
3771
3773
|
_ref2$duration = _ref2.duration,
|
3772
3774
|
duration = _ref2$duration === void 0 ? 3000 : _ref2$duration,
|
3773
3775
|
onRemoval = _ref2.onRemoval;
|
3774
|
-
Store.addNotification({
|
3776
|
+
reactNotificationsComponent.Store.addNotification({
|
3775
3777
|
title: title,
|
3776
3778
|
message: body,
|
3777
3779
|
type: type,
|
@@ -3825,7 +3827,7 @@ var Site = function Site(_ref3) {
|
|
3825
3827
|
}, "EMPTY")), /*#__PURE__*/React__default["default"].createElement(SiteAside, null), /*#__PURE__*/React__default["default"].createElement(SiteConsole, null), /*#__PURE__*/React__default["default"].createElement(SiteDialog, null), /*#__PURE__*/React__default["default"].createElement(SitePromptDialog, null), /*#__PURE__*/React__default["default"].createElement(SitePreview, null), /*#__PURE__*/React__default["default"].createElement(SiteNotifications, null), /*#__PURE__*/React__default["default"].createElement(SiteFooter, null, footer)));
|
3826
3828
|
};
|
3827
3829
|
var SiteNotifications = function SiteNotifications() {
|
3828
|
-
return /*#__PURE__*/React__default["default"].createElement(ReactNotifications, null);
|
3830
|
+
return /*#__PURE__*/React__default["default"].createElement(reactNotificationsComponent.ReactNotifications, null);
|
3829
3831
|
};
|
3830
3832
|
|
3831
3833
|
/**
|