ywana-core8 0.0.78 → 0.0.79

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.umd.js CHANGED
@@ -1958,8 +1958,10 @@
1958
1958
  confirm: function confirm(message) {
1959
1959
  return window.confirm(message);
1960
1960
  },
1961
- notify: function notify(title, message) {
1962
- reactNotifications.NotificationManager.info(message, title);
1961
+ notify: function notify(_ref2) {
1962
+ var title = _ref2.title,
1963
+ body = _ref2.body;
1964
+ reactNotifications.NotificationManager.info(body, title);
1963
1965
  }
1964
1966
  };
1965
1967
  return /*#__PURE__*/React__default["default"].createElement(SiteContext.Provider, {
@@ -1970,16 +1972,16 @@
1970
1972
  * Site
1971
1973
  */
1972
1974
 
1973
- var Site = function Site(_ref2) {
1974
- var icon = _ref2.icon,
1975
- logo = _ref2.logo,
1976
- title = _ref2.title,
1977
- toolbar = _ref2.toolbar,
1978
- children = _ref2.children,
1979
- init = _ref2.init,
1980
- min = _ref2.min,
1981
- lang = _ref2.lang,
1982
- dictionary = _ref2.dictionary;
1975
+ var Site = function Site(_ref3) {
1976
+ var icon = _ref3.icon,
1977
+ logo = _ref3.logo,
1978
+ title = _ref3.title,
1979
+ toolbar = _ref3.toolbar,
1980
+ children = _ref3.children,
1981
+ init = _ref3.init,
1982
+ min = _ref3.min,
1983
+ lang = _ref3.lang,
1984
+ dictionary = _ref3.dictionary;
1983
1985
  return /*#__PURE__*/React__default["default"].createElement(SiteProvider, {
1984
1986
  siteLang: lang,
1985
1987
  siteDictionary: dictionary
@@ -2020,8 +2022,8 @@
2020
2022
  */
2021
2023
 
2022
2024
 
2023
- var SiteToolBar = function SiteToolBar(_ref3) {
2024
- var children = _ref3.children;
2025
+ var SiteToolBar = function SiteToolBar(_ref4) {
2026
+ var children = _ref4.children;
2025
2027
  React.useContext(SiteContext);
2026
2028
  return /*#__PURE__*/React__default["default"].createElement("nav", null, children);
2027
2029
  };
@@ -2039,9 +2041,9 @@
2039
2041
  */
2040
2042
 
2041
2043
 
2042
- var SiteMenu = function SiteMenu(_ref4) {
2043
- var children = _ref4.children,
2044
- min = _ref4.min;
2044
+ var SiteMenu = function SiteMenu(_ref5) {
2045
+ var children = _ref5.children,
2046
+ min = _ref5.min;
2045
2047
  var context = React.useContext(SiteContext);
2046
2048
  var showNav = context.showNav;
2047
2049
  React.useEffect(function () {
@@ -2072,10 +2074,10 @@
2072
2074
  }, /*#__PURE__*/React__default["default"].createElement("main", null, Object.keys(sections).map(function (title) {
2073
2075
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
2074
2076
  key: title
2075
- }, sections[title].map(function (_ref5) {
2076
- var id = _ref5.id,
2077
- _ref5$icon = _ref5.icon,
2078
- icon = _ref5$icon === void 0 ? 'info' : _ref5$icon;
2077
+ }, sections[title].map(function (_ref6) {
2078
+ var id = _ref6.id,
2079
+ _ref6$icon = _ref6.icon,
2080
+ icon = _ref6$icon === void 0 ? 'info' : _ref6$icon;
2079
2081
  return /*#__PURE__*/React__default["default"].createElement(Icon, {
2080
2082
  key: id,
2081
2083
  icon: icon,
@@ -2095,9 +2097,9 @@
2095
2097
  */
2096
2098
 
2097
2099
 
2098
- var SitePage = function SitePage(_ref6) {
2099
- var children = _ref6.children,
2100
- init = _ref6.init;
2100
+ var SitePage = function SitePage(_ref7) {
2101
+ var children = _ref7.children,
2102
+ init = _ref7.init;
2101
2103
  var context = React.useContext(SiteContext);
2102
2104
  var page = context.page;
2103
2105
  React.useEffect(function () {