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.
@@ -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(motion.div, {
3733
+ }, currentPage && /*#__PURE__*/React.createElement(MotionDiv, {
3731
3734
  key: page,
3732
3735
  initial: {
3733
3736
  opacity: 0,