@eventlook/sdk 1.5.0-beta.5 → 1.5.0-beta.6

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { MotionProps } from 'framer-motion';
2
+ import { MotionProps } from 'motion/react';
3
3
  import { BoxProps } from '@mui/material';
4
4
  type IProps = BoxProps & MotionProps;
5
5
  export interface Props extends IProps {
@@ -1,4 +1,4 @@
1
- import { MotionProps } from 'framer-motion';
1
+ import { MotionProps } from 'motion/react';
2
2
  import React, { ReactNode } from 'react';
3
3
  import { BoxProps } from '@mui/material';
4
4
  type IProps = BoxProps & MotionProps;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { MotionProps } from 'framer-motion';
2
+ import { MotionProps } from 'motion/react';
3
3
  import { BoxProps } from '@mui/material';
4
4
  type Props = BoxProps & MotionProps;
5
5
  interface TextAnimateProps extends Props {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventlook/sdk",
3
- "version": "1.5.0-beta.5",
3
+ "version": "1.5.0-beta.6",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -33,7 +33,7 @@
33
33
  "@emotion/styled": "^11.14.1",
34
34
  "@mui/material": "^7.0.0",
35
35
  "@mui/x-date-pickers": "^8.0.0",
36
- "framer-motion": "^12.12.1",
36
+ "motion": "^12.12.1",
37
37
  "react": "^18.0.0 || ^19.0.0",
38
38
  "react-dom": "^18.0.0 || ^19.0.0"
39
39
  },
@@ -68,7 +68,7 @@
68
68
  "eslint-plugin-prettier": "^5.5.5",
69
69
  "eslint-plugin-react": "^7.37.5",
70
70
  "eslint-plugin-react-hooks": "^5",
71
- "framer-motion": "^12.34.4",
71
+ "motion": "^12.34.4",
72
72
  "globals": "^17.4.0",
73
73
  "js-cookie": "^3.0.5",
74
74
  "lodash": "^4.17.23",
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { m, AnimatePresence } from 'framer-motion';
2
+ import { m, AnimatePresence } from 'motion/react';
3
3
  import { Dialog, Box, Paper, DialogProps, SxProps } from '@mui/material';
4
4
  import { varFade } from './variants';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef, ReactNode } from 'react';
2
- import { m } from 'framer-motion';
2
+ import { m } from 'motion/react';
3
3
  import { Box, IconButton, IconButtonProps, SxProps } from '@mui/material';
4
4
 
5
5
  interface Props extends IconButtonProps {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { m, MotionProps } from 'framer-motion';
2
+ import { m, MotionProps } from 'motion/react';
3
3
  import { Box, BoxProps } from '@mui/material';
4
4
  import { varContainer } from './variants';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { LazyMotion } from 'framer-motion';
2
+ import { LazyMotion } from 'motion/react';
3
3
 
4
4
  // @ts-ignore -- dynamic import of generated features file
5
5
  const loadFeatures = () => import('./features.js').then((res) => res.default);
@@ -1,4 +1,4 @@
1
- import { m, MotionProps } from 'framer-motion';
1
+ import { m, MotionProps } from 'motion/react';
2
2
  import React, { ReactNode } from 'react';
3
3
  import { Box, BoxProps } from '@mui/material';
4
4
  import useResponsive from '@hooks/useResponsive';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { m, MotionProps } from 'framer-motion';
2
+ import { m, MotionProps } from 'motion/react';
3
3
  import { Box, BoxProps } from '@mui/material';
4
4
  import { varFade } from './variants';
5
5
 
@@ -1,2 +1,2 @@
1
- import { domMax } from 'framer-motion';
1
+ import { domMax } from 'motion/react';
2
2
  export default domMax;
@@ -1,4 +1,4 @@
1
- import { m } from 'framer-motion';
1
+ import { m } from 'motion/react';
2
2
  import { Box, Button, Typography, Stack } from '@mui/material';
3
3
  import { Iconify } from '@components/iconify';
4
4
  import { MotionContainer, varBounce } from '@components/animate';
@@ -2,7 +2,7 @@ import React, { lazy, Suspense } from 'react';
2
2
  import { Box, Typography } from '@mui/material';
3
3
  import bankTransferAnimation from '../utils/data/lottie/bank-transfer.json';
4
4
  import { varBounce } from '@components/animate';
5
- import { m } from 'framer-motion';
5
+ import { m } from 'motion/react';
6
6
  import useGlobal from '@hooks/useGlobal';
7
7
 
8
8
  const Lottie = lazy(() => import('lottie-react'));
@@ -3,7 +3,7 @@ import { Box, Button, Card, Grid, LinearProgress, Link, Typography } from '@mui/
3
3
  import React, { Dispatch, SetStateAction, useEffect, useState } from 'react';
4
4
  import { getSearchParamsInObject } from '@utils/url';
5
5
  import { postOrderPaid } from '@modules/order';
6
- import { m } from 'framer-motion';
6
+ import { m } from 'motion/react';
7
7
  import { GopayState } from '@utils/data/gopay';
8
8
  import { PropsWithChildren } from '@utils/types/global.type';
9
9
  import { IPaidTicket } from '@utils/types/ticket.type';