@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.
- package/.claude/settings.local.json +3 -1
- package/dist/cjs/{index-DLC5Hr8L.js → index-DvUR1fp8.js} +3 -3
- package/dist/cjs/index-DvUR1fp8.js.map +1 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/{index.umd-BSCKGDNQ.js → index.umd-6SU6nkkJ.js} +2 -2
- package/dist/cjs/{index.umd-BSCKGDNQ.js.map → index.umd-6SU6nkkJ.js.map} +1 -1
- package/dist/esm/{index-BwmbJihM.js → index-BlTqx0jm.js} +3 -3
- package/dist/esm/index-BlTqx0jm.js.map +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/{index.umd-6fgyuQlr.js → index.umd-Dn0hjh7E.js} +2 -2
- package/dist/esm/{index.umd-6fgyuQlr.js.map → index.umd-Dn0hjh7E.js.map} +1 -1
- package/dist/types/components/animate/MotionContainer.d.ts +1 -1
- package/dist/types/components/animate/MotionViewport.d.ts +1 -1
- package/dist/types/components/animate/TextAnimate.d.ts +1 -1
- package/dist/types/components/animate/variants/index.d.ts +0 -8
- package/dist/types/components/hook-form/index.d.ts +0 -4
- package/package.json +3 -4
- package/src/components/animate/DialogAnimate.tsx +1 -1
- package/src/components/animate/IconButtonAnimate.tsx +1 -1
- package/src/components/animate/MotionContainer.tsx +1 -1
- package/src/components/animate/MotionLazyContainer.tsx +1 -1
- package/src/components/animate/MotionViewport.tsx +1 -1
- package/src/components/animate/TextAnimate.tsx +1 -1
- package/src/components/animate/features.js +1 -1
- package/src/components/animate/variants/index.ts +0 -8
- package/src/components/hook-form/index.ts +0 -4
- package/src/form/OrderSuccess.tsx +1 -1
- package/src/form/PaymentPending.tsx +1 -1
- package/src/form/PaymentSuccess.tsx +1 -1
- package/dist/cjs/index-DLC5Hr8L.js.map +0 -1
- package/dist/esm/index-BwmbJihM.js.map +0 -1
- package/dist/types/components/animate/variants/actions.d.ts +0 -5
- package/dist/types/components/animate/variants/background.d.ts +0 -104
- package/dist/types/components/animate/variants/flip.d.ts +0 -75
- package/dist/types/components/animate/variants/path.d.ts +0 -14
- package/dist/types/components/animate/variants/rotate.d.ts +0 -39
- package/dist/types/components/animate/variants/scale.d.ts +0 -75
- package/dist/types/components/animate/variants/slide.d.ts +0 -155
- package/dist/types/components/animate/variants/zoom.d.ts +0 -199
- package/dist/types/components/hook-form/RHFAutocomplete.d.ts +0 -9
- package/dist/types/components/hook-form/RHFCodes.d.ts +0 -8
- package/dist/types/components/hook-form/RHFSlider.d.ts +0 -8
- package/dist/types/components/hook-form/RHFSwitch.d.ts +0 -8
- package/src/components/animate/variants/actions.ts +0 -7
- package/src/components/animate/variants/background.ts +0 -106
- package/src/components/animate/variants/flip.ts +0 -37
- package/src/components/animate/variants/path.ts +0 -14
- package/src/components/animate/variants/rotate.ts +0 -28
- package/src/components/animate/variants/scale.ts +0 -37
- package/src/components/animate/variants/slide.ts +0 -60
- package/src/components/animate/variants/zoom.ts +0 -129
- package/src/components/hook-form/RHFAutocomplete.tsx +0 -52
- package/src/components/hook-form/RHFCodes.tsx +0 -93
- package/src/components/hook-form/RHFSlider.tsx +0 -30
- package/src/components/hook-form/RHFSwitch.tsx +0 -30
|
@@ -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.
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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, { ReactNode } from 'react';
|
|
2
|
-
import { LazyMotion } from '
|
|
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,2 +1,2 @@
|
|
|
1
|
-
import { domMax } from '
|
|
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';
|
|
@@ -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 '
|
|
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 '
|
|
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';
|