ywana-core8 0.0.79 → 0.0.80

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
@@ -1,11 +1,12 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('material-design-icons-iconfont/dist/material-design-icons.css'), require('react'), require('react-notifications'), require('react-notifications/lib/notifications.css'), require('deep-equal'), require('resumablejs')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'react-notifications', 'react-notifications/lib/notifications.css', 'deep-equal', 'resumablejs'], factory) :
4
- (global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.reactNotifications, null, global.deepEqual, global.resumablejs));
5
- })(this, (function (exports, materialDesignIcons_css, React, reactNotifications, notifications_css, equal, ResumableJS) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('material-design-icons-iconfont/dist/material-design-icons.css'), require('react'), require('react-switch'), require('react-notifications'), require('react-notifications/lib/notifications.css'), require('deep-equal'), require('resumablejs')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'react-switch', 'react-notifications', 'react-notifications/lib/notifications.css', 'deep-equal', 'resumablejs'], factory) :
4
+ (global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.reactSwitch, global.reactNotifications, null, global.deepEqual, global.resumablejs));
5
+ })(this, (function (exports, materialDesignIcons_css, React, RSwitch, reactNotifications, notifications_css, equal, ResumableJS) {
6
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
7
 
8
8
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
9
+ var RSwitch__default = /*#__PURE__*/_interopDefaultLegacy(RSwitch);
9
10
  var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
10
11
  var ResumableJS__default = /*#__PURE__*/_interopDefaultLegacy(ResumableJS);
11
12
 
@@ -1475,6 +1476,10 @@
1475
1476
  }, actions));
1476
1477
  };
1477
1478
 
1479
+ var Switch = function Switch(props) {
1480
+ return /*#__PURE__*/React__default["default"].createElement(RSwitch__default["default"], props);
1481
+ };
1482
+
1478
1483
  /**
1479
1484
  * Login Box
1480
1485
  */
@@ -4925,6 +4930,7 @@
4925
4930
  exports.SiteContext = SiteContext;
4926
4931
  exports.SiteProvider = SiteProvider;
4927
4932
  exports.Stack = Stack;
4933
+ exports.Switch = Switch;
4928
4934
  exports.TYPES = TYPES;
4929
4935
  exports.Tab = Tab;
4930
4936
  exports.TabbedContentEditor = TabbedContentEditor;