@yamada-ui/motion 0.2.2 → 0.3.1
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.d.ts +1 -1
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AnimatePresence, DragControls, HTMLMotionProps, LayoutGroup, LazyMotion, AnimatePresenceProps as MotionAnimatePresenceProps, AnimationControls as MotionAnimationControls, AnimationLifecycles as MotionAnimationLifecycles, AnimationOptions as MotionAnimationOptions, AnimationPlaybackControls as MotionAnimationPlaybackControls, AnimationProps as MotionAnimationProps, AnimationType as MotionAnimationType, MotionConfig, MotionConfigProps, LayoutProps as MotionLayoutProps, LazyProps as MotionLazyProps, Reorder as MotionReorder, MotionStyle, Transition as MotionTransition, MotionValue, Variants as MotionVariants, SVGMotionProps, m, motion, useCycle, useDragControls, useInView, useIsPresent, useAnimation as useMotionAnimation, useAnimationControls as useMotionAnimationControls, useAnimationFrame as useMotionAnimationFrame, useMotionTemplate, useMotionValue, useReducedMotion, useScroll, useSpring, useTime, useTransform, useVelocity, useViewportScroll } from 'framer-motion';
|
|
1
|
+
export { AnimatePresence, DragControls, HTMLMotionProps, LayoutGroup, LazyMotion, AnimatePresenceProps as MotionAnimatePresenceProps, AnimationControls as MotionAnimationControls, AnimationLifecycles as MotionAnimationLifecycles, AnimationOptions as MotionAnimationOptions, AnimationPlaybackControls as MotionAnimationPlaybackControls, AnimationProps as MotionAnimationProps, AnimationType as MotionAnimationType, MotionConfig, MotionConfigProps, LayoutProps as MotionLayoutProps, LazyProps as MotionLazyProps, Reorder as MotionReorder, MotionStyle, Transition as MotionTransition, MotionValue, Variants as MotionVariants, SVGMotionProps, m, motion, transform, useCycle, useDragControls, useInView, useIsPresent, useAnimation as useMotionAnimation, useAnimationControls as useMotionAnimationControls, useAnimationFrame as useMotionAnimationFrame, useMotionTemplate, useMotionValue, useMotionValueEvent, useReducedMotion, useScroll, useSpring, useTime, useTransform, useVelocity, useViewportScroll } from 'framer-motion';
|
|
2
2
|
export { Motion, MotionProps } from './motion.js';
|
|
3
3
|
export { MotionDelayProps, MotionDurationProps, MotionTransitionEndProps, MotionTransitionProperties, MotionTransitionProps, MotionTransitionVariants, WithTransitionProps } from './motion.types.js';
|
|
4
4
|
export { MOTION_TRANSITION_DEFAULTS, MOTION_TRANSITION_EASINGS, MOTION_TRANSITION_VARIANTS, transitionEnter, transitionExit } from './utils.js';
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,7 @@ __export(src_exports, {
|
|
|
31
31
|
MotionReorder: () => import_framer_motion2.Reorder,
|
|
32
32
|
m: () => import_framer_motion2.m,
|
|
33
33
|
motion: () => import_framer_motion2.motion,
|
|
34
|
+
transform: () => import_framer_motion2.transform,
|
|
34
35
|
transitionEnter: () => transitionEnter,
|
|
35
36
|
transitionExit: () => transitionExit,
|
|
36
37
|
useCycle: () => import_framer_motion2.useCycle,
|
|
@@ -42,6 +43,7 @@ __export(src_exports, {
|
|
|
42
43
|
useMotionAnimationFrame: () => import_framer_motion2.useAnimationFrame,
|
|
43
44
|
useMotionTemplate: () => import_framer_motion2.useMotionTemplate,
|
|
44
45
|
useMotionValue: () => import_framer_motion2.useMotionValue,
|
|
46
|
+
useMotionValueEvent: () => import_framer_motion2.useMotionValueEvent,
|
|
45
47
|
useReducedMotion: () => import_framer_motion2.useReducedMotion,
|
|
46
48
|
useScroll: () => import_framer_motion2.useScroll,
|
|
47
49
|
useSpring: () => import_framer_motion2.useSpring,
|
|
@@ -151,6 +153,7 @@ var transitionExit = (transition) => (delay, duration) => ({
|
|
|
151
153
|
MotionReorder,
|
|
152
154
|
m,
|
|
153
155
|
motion,
|
|
156
|
+
transform,
|
|
154
157
|
transitionEnter,
|
|
155
158
|
transitionExit,
|
|
156
159
|
useCycle,
|
|
@@ -162,6 +165,7 @@ var transitionExit = (transition) => (delay, duration) => ({
|
|
|
162
165
|
useMotionAnimationFrame,
|
|
163
166
|
useMotionTemplate,
|
|
164
167
|
useMotionValue,
|
|
168
|
+
useMotionValueEvent,
|
|
165
169
|
useReducedMotion,
|
|
166
170
|
useScroll,
|
|
167
171
|
useSpring,
|
package/dist/index.mjs
CHANGED
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
useSpring,
|
|
25
25
|
useTime,
|
|
26
26
|
useTransform,
|
|
27
|
+
transform,
|
|
27
28
|
useVelocity,
|
|
28
29
|
useViewportScroll,
|
|
29
30
|
useAnimation,
|
|
@@ -34,6 +35,7 @@ import {
|
|
|
34
35
|
useIsPresent,
|
|
35
36
|
useReducedMotion,
|
|
36
37
|
useMotionValue,
|
|
38
|
+
useMotionValueEvent,
|
|
37
39
|
useCycle
|
|
38
40
|
} from "framer-motion";
|
|
39
41
|
export {
|
|
@@ -48,6 +50,7 @@ export {
|
|
|
48
50
|
Reorder as MotionReorder,
|
|
49
51
|
m,
|
|
50
52
|
motion,
|
|
53
|
+
transform,
|
|
51
54
|
transitionEnter,
|
|
52
55
|
transitionExit,
|
|
53
56
|
useCycle,
|
|
@@ -59,6 +62,7 @@ export {
|
|
|
59
62
|
useAnimationFrame as useMotionAnimationFrame,
|
|
60
63
|
useMotionTemplate,
|
|
61
64
|
useMotionValue,
|
|
65
|
+
useMotionValueEvent,
|
|
62
66
|
useReducedMotion,
|
|
63
67
|
useScroll,
|
|
64
68
|
useSpring,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/motion",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Yamada UI motion components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"framer-motion": "^9.1.7",
|
|
39
|
-
"@yamada-ui/core": "0.4.
|
|
40
|
-
"@yamada-ui/utils": "0.1.
|
|
39
|
+
"@yamada-ui/core": "0.4.2",
|
|
40
|
+
"@yamada-ui/utils": "0.1.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"react": "^18.0.0",
|