@hua-labs/motion-core 2.1.0 → 2.2.0

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.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
2
3
 
3
4
  // src/core/MotionEngine.ts
@@ -1662,7 +1663,7 @@ function useUnifiedMotion(options) {
1662
1663
  const {
1663
1664
  type,
1664
1665
  duration = 600,
1665
- autoStart = false,
1666
+ autoStart = true,
1666
1667
  delay = 0,
1667
1668
  easing: easing2,
1668
1669
  threshold = 0.1,