@eventlook/sdk 1.5.0-beta.4 → 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.
Files changed (55) hide show
  1. package/.claude/settings.local.json +3 -1
  2. package/dist/cjs/{index-DLC5Hr8L.js → index-DvUR1fp8.js} +3 -3
  3. package/dist/cjs/index-DvUR1fp8.js.map +1 -0
  4. package/dist/cjs/index.js +2 -2
  5. package/dist/cjs/{index.umd-BSCKGDNQ.js → index.umd-6SU6nkkJ.js} +2 -2
  6. package/dist/cjs/{index.umd-BSCKGDNQ.js.map → index.umd-6SU6nkkJ.js.map} +1 -1
  7. package/dist/esm/{index-BwmbJihM.js → index-BlTqx0jm.js} +3 -3
  8. package/dist/esm/index-BlTqx0jm.js.map +1 -0
  9. package/dist/esm/index.js +2 -2
  10. package/dist/esm/{index.umd-6fgyuQlr.js → index.umd-Dn0hjh7E.js} +2 -2
  11. package/dist/esm/{index.umd-6fgyuQlr.js.map → index.umd-Dn0hjh7E.js.map} +1 -1
  12. package/dist/types/components/animate/MotionContainer.d.ts +1 -1
  13. package/dist/types/components/animate/MotionViewport.d.ts +1 -1
  14. package/dist/types/components/animate/TextAnimate.d.ts +1 -1
  15. package/dist/types/components/animate/variants/index.d.ts +0 -8
  16. package/dist/types/components/hook-form/index.d.ts +0 -4
  17. package/package.json +3 -4
  18. package/src/components/animate/DialogAnimate.tsx +1 -1
  19. package/src/components/animate/IconButtonAnimate.tsx +1 -1
  20. package/src/components/animate/MotionContainer.tsx +1 -1
  21. package/src/components/animate/MotionLazyContainer.tsx +1 -1
  22. package/src/components/animate/MotionViewport.tsx +1 -1
  23. package/src/components/animate/TextAnimate.tsx +1 -1
  24. package/src/components/animate/features.js +1 -1
  25. package/src/components/animate/variants/index.ts +0 -8
  26. package/src/components/hook-form/index.ts +0 -4
  27. package/src/form/OrderSuccess.tsx +1 -1
  28. package/src/form/PaymentPending.tsx +1 -1
  29. package/src/form/PaymentSuccess.tsx +1 -1
  30. package/dist/cjs/index-DLC5Hr8L.js.map +0 -1
  31. package/dist/esm/index-BwmbJihM.js.map +0 -1
  32. package/dist/types/components/animate/variants/actions.d.ts +0 -5
  33. package/dist/types/components/animate/variants/background.d.ts +0 -104
  34. package/dist/types/components/animate/variants/flip.d.ts +0 -75
  35. package/dist/types/components/animate/variants/path.d.ts +0 -14
  36. package/dist/types/components/animate/variants/rotate.d.ts +0 -39
  37. package/dist/types/components/animate/variants/scale.d.ts +0 -75
  38. package/dist/types/components/animate/variants/slide.d.ts +0 -155
  39. package/dist/types/components/animate/variants/zoom.d.ts +0 -199
  40. package/dist/types/components/hook-form/RHFAutocomplete.d.ts +0 -9
  41. package/dist/types/components/hook-form/RHFCodes.d.ts +0 -8
  42. package/dist/types/components/hook-form/RHFSlider.d.ts +0 -8
  43. package/dist/types/components/hook-form/RHFSwitch.d.ts +0 -8
  44. package/src/components/animate/variants/actions.ts +0 -7
  45. package/src/components/animate/variants/background.ts +0 -106
  46. package/src/components/animate/variants/flip.ts +0 -37
  47. package/src/components/animate/variants/path.ts +0 -14
  48. package/src/components/animate/variants/rotate.ts +0 -28
  49. package/src/components/animate/variants/scale.ts +0 -37
  50. package/src/components/animate/variants/slide.ts +0 -60
  51. package/src/components/animate/variants/zoom.ts +0 -129
  52. package/src/components/hook-form/RHFAutocomplete.tsx +0 -52
  53. package/src/components/hook-form/RHFCodes.tsx +0 -93
  54. package/src/components/hook-form/RHFSlider.tsx +0 -30
  55. package/src/components/hook-form/RHFSwitch.tsx +0 -30
@@ -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 {
@@ -1,12 +1,4 @@
1
- export * from './path';
2
1
  export * from './fade';
3
- export * from './zoom';
4
- export * from './flip';
5
- export * from './slide';
6
- export * from './scale';
7
2
  export * from './bounce';
8
- export * from './rotate';
9
- export * from './actions';
10
3
  export * from './container';
11
4
  export * from './transition';
12
- export * from './background';
@@ -1,9 +1,5 @@
1
1
  export * from './RHFSelect';
2
2
  export * from './RHFCheckbox';
3
3
  export { default } from './FormProvider';
4
- export { default as RHFCodes } from './RHFCodes';
5
- export { default as RHFSwitch } from './RHFSwitch';
6
- export { default as RHFSlider } from './RHFSlider';
7
4
  export { default as RHFTextField } from './RHFTextField';
8
5
  export { default as RHFRadioGroup } from './RHFRadioGroup';
9
- export { default as RHFAutocomplete } from './RHFAutocomplete';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventlook/sdk",
3
- "version": "1.5.0-beta.4",
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",
@@ -80,7 +80,6 @@
80
80
  "react-dom": "^19.2.4",
81
81
  "react-hook-form": "^7.71.2",
82
82
  "rollup": "^4.59.0",
83
- "rollup-plugin-peer-deps-external": "^2.2.4",
84
83
  "swr": "^2.4.1",
85
84
  "tslib": "^2.8.1",
86
85
  "typescript": "^5.9.3",
@@ -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,12 +1,4 @@
1
- export * from './path';
2
1
  export * from './fade';
3
- export * from './zoom';
4
- export * from './flip';
5
- export * from './slide';
6
- export * from './scale';
7
2
  export * from './bounce';
8
- export * from './rotate';
9
- export * from './actions';
10
3
  export * from './container';
11
4
  export * from './transition';
12
- export * from './background';
@@ -3,9 +3,5 @@ export * from './RHFCheckbox';
3
3
 
4
4
  export { default } from './FormProvider';
5
5
 
6
- export { default as RHFCodes } from './RHFCodes';
7
- export { default as RHFSwitch } from './RHFSwitch';
8
- export { default as RHFSlider } from './RHFSlider';
9
6
  export { default as RHFTextField } from './RHFTextField';
10
7
  export { default as RHFRadioGroup } from './RHFRadioGroup';
11
- export { default as RHFAutocomplete } from './RHFAutocomplete';
@@ -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';