@hua-labs/motion-core 2.1.0-alpha.5 → 2.1.0-alpha.7
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/README.md +4 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,12 +23,12 @@ A collection of React animation hooks built on a ref-based engine. Provides smoo
|
|
|
23
23
|
|
|
24
24
|
### Features
|
|
25
25
|
|
|
26
|
-
- **
|
|
26
|
+
- **25+ Animation Hooks** - Fade, slide, scale, scroll, and interaction animations
|
|
27
27
|
- **Performance Optimized** - Direct ref manipulation for consistent performance
|
|
28
28
|
- **Zero Dependencies** - Pure JavaScript motion engine
|
|
29
29
|
- **TypeScript Native** - Full type safety with inferred types
|
|
30
30
|
- **SSR Compatible** - Works with Next.js, Remix, and SSR frameworks
|
|
31
|
-
- **Tested** -
|
|
31
|
+
- **Tested** - Test coverage with 517 test cases
|
|
32
32
|
|
|
33
33
|
### Installation
|
|
34
34
|
|
|
@@ -68,7 +68,6 @@ function MyComponent() {
|
|
|
68
68
|
#### Basic Motion Hooks
|
|
69
69
|
- `useFadeIn` - Fade in animation
|
|
70
70
|
- `useSlideUp` - Slide up animation
|
|
71
|
-
- `useSlideDown` - Slide down animation
|
|
72
71
|
- `useSlideLeft` - Slide left animation
|
|
73
72
|
- `useSlideRight` - Slide right animation
|
|
74
73
|
- `useScaleIn` - Scale in animation
|
|
@@ -77,11 +76,6 @@ function MyComponent() {
|
|
|
77
76
|
- `useSpringMotion` - Spring physics animations
|
|
78
77
|
- `useGradient` - Gradient animations
|
|
79
78
|
|
|
80
|
-
#### Stagger & List Hooks
|
|
81
|
-
- `useStaggerMotion` - Staggered animations for multiple items
|
|
82
|
-
- `useCardList` - Card list animations
|
|
83
|
-
- `useSkeleton` - Skeleton loading animations
|
|
84
|
-
|
|
85
79
|
#### Interaction Hooks
|
|
86
80
|
- `useHoverMotion` - Hover-triggered animations
|
|
87
81
|
- `useClickToggle` - Click-triggered animations
|
|
@@ -143,12 +137,12 @@ ref 기반 엔진으로 구축된 React 애니메이션 훅 컬렉션입니다.
|
|
|
143
137
|
|
|
144
138
|
### 주요 기능
|
|
145
139
|
|
|
146
|
-
- **
|
|
140
|
+
- **25개 이상의 애니메이션 훅** - 페이드, 슬라이드, 스케일, 스크롤 및 상호작용 애니메이션
|
|
147
141
|
- **성능 최적화** - 일관된 성능을 위한 직접 ref 조작
|
|
148
142
|
- **의존성 없음** - 순수 JavaScript 모션 엔진
|
|
149
143
|
- **TypeScript 네이티브** - 타입 추론을 통한 완전한 타입 안전성
|
|
150
144
|
- **SSR 호환** - Next.js, Remix 및 SSR 프레임워크와 작동
|
|
151
|
-
- **테스트 완료** -
|
|
145
|
+
- **테스트 완료** - 517개 테스트 케이스로 테스트 커버리지
|
|
152
146
|
|
|
153
147
|
### 설치
|
|
154
148
|
|
package/package.json
CHANGED