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.modern.js
CHANGED
@@ -3,8 +3,8 @@ import React, { useContext, useState, useEffect, useCallback, Fragment, useRef,
|
|
3
3
|
import ResumableJS from 'resumablejs';
|
4
4
|
import RSwitch from 'react-switch';
|
5
5
|
import { Store, ReactNotifications } from 'react-notifications-component';
|
6
|
-
import { AnimatePresence, motion } from 'framer-motion';
|
7
6
|
import 'react-notifications-component/dist/theme.css';
|
7
|
+
import motion from 'framer-motion/dist/framer-motion.cjs';
|
8
8
|
import moment$1 from 'moment';
|
9
9
|
import { extendMoment } from 'moment-range';
|
10
10
|
import 'moment/locale/es';
|
@@ -3408,6 +3408,9 @@ function useHashPage(defaultPage) {
|
|
3408
3408
|
};
|
3409
3409
|
}
|
3410
3410
|
|
3411
|
+
var AnimatePresence = motion.AnimatePresence,
|
3412
|
+
MotionDiv = motion.motion;
|
3413
|
+
|
3411
3414
|
/**
|
3412
3415
|
* Site Provider
|
3413
3416
|
*/
|
@@ -3727,7 +3730,7 @@ var SitePage = function SitePage(_ref8) {
|
|
3727
3730
|
className: "site-page-container"
|
3728
3731
|
}, /*#__PURE__*/React.createElement(AnimatePresence, {
|
3729
3732
|
exitBeforeEnter: true
|
3730
|
-
}, currentPage && /*#__PURE__*/React.createElement(
|
3733
|
+
}, currentPage && /*#__PURE__*/React.createElement(MotionDiv, {
|
3731
3734
|
key: page,
|
3732
3735
|
initial: {
|
3733
3736
|
opacity: 0,
|