ywana-core8 0.1.57 → 0.1.58
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 +5 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +10 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/site/site.js +4 -3
package/dist/index.umd.js
CHANGED
@@ -1,13 +1,14 @@
|
|
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('resumablejs'), require('react-switch'), require('react-notifications-component'), require('
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'resumablejs', 'react-switch', 'react-notifications-component', '
|
4
|
-
(global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.resumablejs, global.reactSwitch, global.reactNotificationsComponent, global.
|
5
|
-
})(this, (function (exports, materialDesignIcons_css, React, ResumableJS, RSwitch, reactNotificationsComponent,
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('material-design-icons-iconfont/dist/material-design-icons.css'), require('react'), require('resumablejs'), require('react-switch'), require('react-notifications-component'), require('react-notifications-component/dist/theme.css'), require('framer-motion/dist/framer-motion.cjs'), require('moment'), require('moment-range'), require('moment/locale/es'), require('axios'), require('deep-equal')) :
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'material-design-icons-iconfont/dist/material-design-icons.css', 'react', 'resumablejs', 'react-switch', 'react-notifications-component', 'react-notifications-component/dist/theme.css', 'framer-motion/dist/framer-motion.cjs', 'moment', 'moment-range', 'moment/locale/es', 'axios', 'deep-equal'], factory) :
|
4
|
+
(global = global || self, factory(global.ywanaCore8 = {}, null, global.react, global.resumablejs, global.reactSwitch, global.reactNotificationsComponent, null, global.motion, global.moment, global.momentRange, null, global.axios, global.deepEqual));
|
5
|
+
})(this, (function (exports, materialDesignIcons_css, React, ResumableJS, RSwitch, reactNotificationsComponent, theme_css, motion, moment$1, momentRange, es, axios, equal) {
|
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
9
|
var ResumableJS__default = /*#__PURE__*/_interopDefaultLegacy(ResumableJS);
|
10
10
|
var RSwitch__default = /*#__PURE__*/_interopDefaultLegacy(RSwitch);
|
11
|
+
var motion__default = /*#__PURE__*/_interopDefaultLegacy(motion);
|
11
12
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment$1);
|
12
13
|
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
13
14
|
var equal__default = /*#__PURE__*/_interopDefaultLegacy(equal);
|
@@ -3409,6 +3410,9 @@
|
|
3409
3410
|
};
|
3410
3411
|
}
|
3411
3412
|
|
3413
|
+
var AnimatePresence = motion__default["default"].AnimatePresence,
|
3414
|
+
MotionDiv = motion__default["default"].motion;
|
3415
|
+
|
3412
3416
|
/**
|
3413
3417
|
* Site Provider
|
3414
3418
|
*/
|
@@ -3726,9 +3730,9 @@
|
|
3726
3730
|
var xOffset = direction === "left" ? 40 : -40;
|
3727
3731
|
return /*#__PURE__*/React__default["default"].createElement("main", {
|
3728
3732
|
className: "site-page-container"
|
3729
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
3733
|
+
}, /*#__PURE__*/React__default["default"].createElement(AnimatePresence, {
|
3730
3734
|
exitBeforeEnter: true
|
3731
|
-
}, currentPage && /*#__PURE__*/React__default["default"].createElement(
|
3735
|
+
}, currentPage && /*#__PURE__*/React__default["default"].createElement(MotionDiv, {
|
3732
3736
|
key: page,
|
3733
3737
|
initial: {
|
3734
3738
|
opacity: 0,
|