motion-v 0.11.0 → 0.11.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.
Files changed (269) hide show
  1. package/dist/cjs/index.js +260 -158
  2. package/dist/es/animation/hooks/animation-controls.mjs +1 -1
  3. package/dist/es/animation/hooks/use-animate.mjs +1 -1
  4. package/dist/es/components/RowValue.d.ts +3 -1
  5. package/dist/es/components/animate-presence/AnimatePresence.d.ts +1 -1
  6. package/dist/es/components/animate-presence/use-pop-layout.mjs +1 -1
  7. package/dist/es/components/motion/Motion.d.ts +4 -2
  8. package/dist/es/components/motion-config/MotionConfig.d.ts +2 -2
  9. package/dist/es/components/reorder/Item.d.ts +6 -6
  10. package/dist/es/components/reorder/utils.mjs +1 -1
  11. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/index.mjs +3 -3
  12. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -2
  13. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  14. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +14 -11
  15. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +2 -2
  16. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +7 -7
  17. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  18. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +8 -8
  19. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  20. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +2 -2
  21. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +4 -3
  22. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +1 -1
  23. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
  24. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
  25. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  26. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +4 -4
  27. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -4
  28. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +2 -2
  29. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/create.mjs +5 -5
  30. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  31. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
  32. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/batcher.mjs +6 -18
  33. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/frame.mjs +2 -2
  34. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/index-legacy.mjs +1 -1
  35. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/order.mjs +17 -0
  36. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/render-step.mjs +8 -1
  37. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  38. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +22 -35
  39. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +14 -0
  40. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/VisualElement.mjs +6 -2
  41. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +2 -2
  42. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
  43. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
  44. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  45. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +3 -3
  46. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +12 -0
  47. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/svg/utils/measure.mjs +15 -0
  48. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
  49. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/stats/buffer.mjs +7 -0
  50. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/delay.mjs +2 -2
  51. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
  52. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  53. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  54. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
  55. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/index.mjs +1 -1
  56. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +2 -2
  57. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +3 -3
  58. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +2 -2
  59. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/hover.mjs +11 -11
  60. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs +74 -0
  61. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +12 -0
  62. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/resolve-elements.mjs +1 -1
  63. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/memo.mjs +2 -2
  64. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +2 -2
  65. package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/memo.mjs +1 -0
  66. package/dist/es/external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs +4 -0
  67. package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/progress.mjs +1 -1
  68. package/dist/es/external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs +6 -0
  69. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  70. package/dist/es/features/gestures/drag/index.mjs +2 -2
  71. package/dist/es/features/gestures/focus/index.mjs +1 -1
  72. package/dist/es/features/gestures/hover/index.mjs +5 -5
  73. package/dist/es/features/gestures/in-view/index.mjs +4 -4
  74. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  75. package/dist/es/features/gestures/pan/index.mjs +3 -3
  76. package/dist/es/features/gestures/press/index.mjs +4 -4
  77. package/dist/es/features/layout/config.mjs +2 -2
  78. package/dist/es/features/layout/layout.mjs +2 -2
  79. package/dist/es/features/layout/projection.mjs +2 -2
  80. package/dist/es/features/svg.mjs +1 -1
  81. package/dist/es/index.mjs +38 -34
  82. package/dist/es/state/animate-updates.mjs +9 -5
  83. package/dist/es/state/create-visual-element.mjs +2 -2
  84. package/dist/es/state/motion-state.d.ts +10 -0
  85. package/dist/es/state/motion-state.mjs +21 -4
  86. package/dist/es/utils/use-animation-frame.mjs +1 -1
  87. package/dist/es/utils/use-in-view.mjs +1 -1
  88. package/dist/es/value/use-combine-values.mjs +2 -2
  89. package/dist/es/value/use-computed.mjs +1 -1
  90. package/dist/es/value/use-scroll.mjs +2 -2
  91. package/dist/es/value/use-spring.d.ts +2 -1
  92. package/dist/es/value/use-spring.mjs +12 -6
  93. package/dist/es/value/use-time.mjs +1 -1
  94. package/dist/es/value/use-transform.mjs +12 -4
  95. package/dist/es/value/use-velocity.mjs +2 -2
  96. package/package.json +5 -16
  97. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -6
  98. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -8
  99. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/index.mjs +0 -51
  100. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs +0 -4
  101. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs +0 -6
  102. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  103. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/single-value.mjs +0 -0
  104. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
  105. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  106. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  107. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  108. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  109. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  110. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
  111. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  112. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  113. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  114. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  115. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
  116. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  117. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  118. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  119. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  120. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  121. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  122. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  123. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  124. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  125. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  126. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  127. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  128. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  129. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  130. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  131. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  132. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  133. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  134. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  135. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  136. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  137. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
  138. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
  139. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  140. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  141. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  142. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  143. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  144. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  145. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  146. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  147. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  148. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  149. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  150. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  151. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
  152. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  153. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  154. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  155. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  156. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  157. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  158. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  159. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
  160. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  161. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  162. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
  163. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  164. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  165. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  166. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  167. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  168. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
  169. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
  170. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  171. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  172. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  173. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -0
  174. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  175. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  176. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  177. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  178. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  179. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  180. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  181. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  182. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  183. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  184. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  185. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -0
  186. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  187. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  188. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
  189. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
  190. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  191. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  192. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  193. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  194. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/store.mjs +0 -0
  195. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +1 -1
  196. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  197. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  198. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  199. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  200. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  201. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  202. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
  203. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  204. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  206. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/setters.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/array.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/warn-once.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/errors.mjs +0 -0
@@ -12,12 +12,12 @@ import { percent } from "../../../value/types/numbers/units.mjs";
12
12
  import { addValueToWillChange } from "../../../value/use-will-change/add-will-change.mjs";
13
13
  import { measurePageBox } from "../../../projection/utils/measure.mjs";
14
14
  import { convertBoxToBoundingBox, convertBoundingBoxToBox } from "../../../projection/conversion.mjs";
15
- import { animateMotionValue } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs";
15
+ import { animateMotionValue } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs";
16
16
  import { mixNumber } from "../../../utils/mix/number.mjs";
17
17
  import { invariant } from "hey-listen";
18
18
  import { isPresent } from "../../../state/utils/is-present.mjs";
19
19
  import { getContextWindow } from "../../../utils/get-context-window.mjs";
20
- import { frame } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
20
+ import { frame } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
21
21
  const elementDragControls = /* @__PURE__ */ new WeakMap();
22
22
  class VisualElementDragControls {
23
23
  constructor(visualElement) {
@@ -1,7 +1,7 @@
1
1
  import { Feature } from "../../feature.mjs";
2
2
  import { VisualElementDragControls } from "./VisualElementDragControls.mjs";
3
- import { noop } from "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
4
- import "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
3
+ import { noop } from "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
4
+ import "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
5
5
  class DragGesture extends Feature {
6
6
  constructor(state) {
7
7
  super(state);
@@ -1,6 +1,6 @@
1
1
  import { addDomEvent } from "../../../events/add-dom-event.mjs";
2
2
  import { Feature } from "../../feature.mjs";
3
- import { pipe } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/pipe.mjs";
3
+ import { pipe } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/pipe.mjs";
4
4
  class FocusGesture extends Feature {
5
5
  constructor() {
6
6
  super(...arguments);
@@ -1,7 +1,7 @@
1
1
  import { Feature } from "../../feature.mjs";
2
- import "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
3
- import { hover } from "../../../external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/hover.mjs";
4
- import { frame } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { hover } from "../../../external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/hover.mjs";
3
+ import "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
4
+ import { frame } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
5
5
  import { extractEventInfo } from "../press/index.mjs";
6
6
  function handleHoverEvent(state, event, lifecycle) {
7
7
  const props = state.options;
@@ -16,7 +16,7 @@ function handleHoverEvent(state, event, lifecycle) {
16
16
  }
17
17
  class HoverGesture extends Feature {
18
18
  isActive() {
19
- return Boolean(this.state.getOptions().hover);
19
+ return Boolean(this.state.getOptions().whileHover);
20
20
  }
21
21
  constructor(state) {
22
22
  super(state);
@@ -27,7 +27,7 @@ class HoverGesture extends Feature {
27
27
  return;
28
28
  this.unmount = hover(
29
29
  element,
30
- (startEvent) => {
30
+ (el, startEvent) => {
31
31
  handleHoverEvent(this.state, startEvent, "Start");
32
32
  return (endEvent) => {
33
33
  handleHoverEvent(this.state, endEvent, "End");
@@ -1,6 +1,6 @@
1
1
  import { Feature } from "../../feature.mjs";
2
- import { inView } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
- import { frame } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { inView } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
+ import { frame } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
4
4
  function handleHoverEvent(state, entry, lifecycle) {
5
5
  const props = state.options;
6
6
  if (props.whileInView) {
@@ -14,7 +14,7 @@ function handleHoverEvent(state, entry, lifecycle) {
14
14
  }
15
15
  class InViewGesture extends Feature {
16
16
  isActive() {
17
- return Boolean(this.state.getOptions().inView);
17
+ return Boolean(this.state.getOptions().whileInView);
18
18
  }
19
19
  constructor(state) {
20
20
  super(state);
@@ -27,7 +27,7 @@ class InViewGesture extends Feature {
27
27
  const { once, ...viewOptions } = this.state.getOptions().inViewOptions || {};
28
28
  this.unmount = inView(
29
29
  element,
30
- (entry) => {
30
+ (_, entry) => {
31
31
  handleHoverEvent(this.state, entry, "Enter");
32
32
  if (!once) {
33
33
  return (endEvent) => {
@@ -1,8 +1,8 @@
1
1
  import { addPointerEvent } from "../../../events/add-pointer-event.mjs";
2
2
  import { extractEventInfo } from "../../../events/event-info.mjs";
3
- import { distance2D } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/distance.mjs";
4
- import { frame, cancelFrame, frameData } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
5
- import { pipe } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/pipe.mjs";
3
+ import { distance2D } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/distance.mjs";
4
+ import { frame, cancelFrame, frameData } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
5
+ import { pipe } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/pipe.mjs";
6
6
  import { secondsToMilliseconds, millisecondsToSeconds } from "../../../utils/time-conversion.mjs";
7
7
  import { isPrimaryPointer } from "../../../events/utils/is-primary-pointer.mjs";
8
8
  class PanSession {
@@ -1,9 +1,9 @@
1
1
  import { PanSession } from "./PanSession.mjs";
2
2
  import { addPointerEvent } from "../../../events/add-pointer-event.mjs";
3
3
  import { Feature } from "../../feature.mjs";
4
- import { noop } from "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
5
- import "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
6
- import { frame } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
4
+ import { noop } from "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
5
+ import "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
6
+ import { frame } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
7
7
  import { getContextWindow } from "../../../utils/get-context-window.mjs";
8
8
  function asyncHandler(handler) {
9
9
  return (event, info) => {
@@ -1,7 +1,7 @@
1
1
  import { Feature } from "../../feature.mjs";
2
- import "../../../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
3
- import { press } from "../../../external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/index.mjs";
4
- import { frame } from "../../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { press } from "../../../external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs";
3
+ import "../../../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
4
+ import { frame } from "../../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
5
5
  function extractEventInfo(event) {
6
6
  return {
7
7
  point: {
@@ -34,7 +34,7 @@ class PressGesture extends Feature {
34
34
  return;
35
35
  this.unmount = press(
36
36
  element,
37
- (startEvent) => {
37
+ (el, startEvent) => {
38
38
  handlePressEvent(this.state, startEvent, "Start");
39
39
  return (endEvent, { success }) => handlePressEvent(
40
40
  this.state,
@@ -1,5 +1,5 @@
1
- import { correctBorderRadius } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
2
- import { correctBoxShadow } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs";
1
+ import { correctBorderRadius } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
2
+ import { correctBoxShadow } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs";
3
3
  const defaultScaleCorrector = {
4
4
  borderRadius: {
5
5
  ...correctBorderRadius,
@@ -1,7 +1,7 @@
1
1
  import { Feature } from "../feature.mjs";
2
- import { addScaleCorrector } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
2
+ import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
3
3
  import { defaultScaleCorrector } from "./config.mjs";
4
- import { globalProjectionState } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/node/state.mjs";
4
+ import { globalProjectionState } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/node/state.mjs";
5
5
  class LayoutFeature extends Feature {
6
6
  constructor(state) {
7
7
  super(state);
@@ -1,7 +1,7 @@
1
1
  import { Feature } from "../feature.mjs";
2
- import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
2
+ import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
3
3
  import { getClosestProjectingNode } from "./utils.mjs";
4
- import { addScaleCorrector } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
4
+ import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
5
5
  import { defaultScaleCorrector } from "./config.mjs";
6
6
  import { isHTMLElement } from "../gestures/drag/utils/is.mjs";
7
7
  import { doneCallbacks } from "../../components/presence.mjs";
@@ -1,5 +1,5 @@
1
1
  import { Feature } from "./feature.mjs";
2
- import { frame } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
3
3
  function isSVGElement(element) {
4
4
  return element instanceof SVGElement && element.tagName !== "svg";
5
5
  }
package/dist/es/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { addScaleCorrector } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
1
+ import { addScaleCorrector } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
2
2
  import { default as default2 } from "./components/LayoutGroup.vue.mjs";
3
3
  import { useLayoutGroup } from "./components/use-layout-group.mjs";
4
4
  import { injectLayoutGroup, injectMotion, provideLayoutGroup, provideMotion } from "./components/context.mjs";
@@ -8,39 +8,41 @@ import { default as default3 } from "./components/motion/Motion.vue.mjs";
8
8
  import { default as default4 } from "./components/RowValue.vue.mjs";
9
9
  import { default as default5 } from "./components/animate-presence/AnimatePresence.vue.mjs";
10
10
  import { default as default6 } from "./components/motion-config/MotionConfig.vue.mjs";
11
- import { MotionValue, motionValue, motionValue as motionValue2 } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
12
- import { isDragActive } from "./external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs";
13
- import { invariant } from "./external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
14
- import { noop } from "./external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
15
- import { progress } from "./external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
16
- import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animate/index.mjs";
17
- import { animateMini } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
18
- import { scroll } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
19
- import { scrollInfo } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
20
- import { inView } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
21
- import { anticipate } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/anticipate.mjs";
22
- import { backIn, backInOut, backOut } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/back.mjs";
23
- import { circIn, circInOut, circOut } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/circ.mjs";
24
- import { cubicBezier } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/cubic-bezier.mjs";
25
- import { easeIn, easeInOut, easeOut } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/ease.mjs";
26
- import { mirrorEasing } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/modifiers/mirror.mjs";
27
- import { reverseEasing } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/modifiers/reverse.mjs";
28
- import { steps } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/easing/steps.mjs";
29
- import { inertia } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/generators/inertia.mjs";
30
- import { keyframes } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/generators/keyframes.mjs";
31
- import { spring } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/generators/spring/index.mjs";
32
- import { stagger } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/utils/stagger.mjs";
33
- import { time } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/sync-time.mjs";
34
- import { clamp } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/clamp.mjs";
35
- import { delayInSeconds } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/delay.mjs";
36
- import { distance, distance2D } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/distance.mjs";
37
- import { interpolate } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/interpolate.mjs";
38
- import { mix } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/mix/index.mjs";
39
- import { pipe } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/pipe.mjs";
40
- import { transform } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/transform.mjs";
41
- import { wrap } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/wrap.mjs";
42
- import { cancelSync, sync } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/index-legacy.mjs";
43
- import { cancelFrame, frame, frameData, frameSteps } from "./external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
11
+ import { MotionValue, motionValue, motionValue as motionValue2 } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
12
+ import { hover } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/hover.mjs";
13
+ import { isDragActive } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs";
14
+ import { press } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs";
15
+ import { invariant } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
16
+ import { noop } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
17
+ import { progress } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/progress.mjs";
18
+ import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animate/index.mjs";
19
+ import { animateMini } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
20
+ import { scroll } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
21
+ import { scrollInfo } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
22
+ import { inView } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
23
+ import { anticipate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/anticipate.mjs";
24
+ import { backIn, backInOut, backOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/back.mjs";
25
+ import { circIn, circInOut, circOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/circ.mjs";
26
+ import { cubicBezier } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/cubic-bezier.mjs";
27
+ import { easeIn, easeInOut, easeOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/ease.mjs";
28
+ import { mirrorEasing } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/modifiers/mirror.mjs";
29
+ import { reverseEasing } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/modifiers/reverse.mjs";
30
+ import { steps } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/steps.mjs";
31
+ import { inertia } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/inertia.mjs";
32
+ import { keyframes } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/keyframes.mjs";
33
+ import { spring } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/spring/index.mjs";
34
+ import { stagger } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/utils/stagger.mjs";
35
+ import { time } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/sync-time.mjs";
36
+ import { clamp } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/clamp.mjs";
37
+ import { delayInSeconds } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/delay.mjs";
38
+ import { distance, distance2D } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/distance.mjs";
39
+ import { interpolate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/interpolate.mjs";
40
+ import { mix } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/mix/index.mjs";
41
+ import { pipe } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/pipe.mjs";
42
+ import { transform } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/transform.mjs";
43
+ import { wrap } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/wrap.mjs";
44
+ import { cancelSync, sync } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/index-legacy.mjs";
45
+ import { cancelFrame, frame, frameData, frameSteps } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
44
46
  import { motion } from "./components/motion/NameSpace.mjs";
45
47
  import { mountedStates } from "./state/motion-state.mjs";
46
48
  import { provideMotionConfig, useMotionConfig } from "./components/motion-config/context.mjs";
@@ -100,6 +102,7 @@ export {
100
102
  frameData,
101
103
  frameSteps,
102
104
  getContextWindow,
105
+ hover,
103
106
  inView,
104
107
  inertia,
105
108
  injectLayoutGroup,
@@ -117,6 +120,7 @@ export {
117
120
  mountedStates,
118
121
  noop,
119
122
  pipe,
123
+ press,
120
124
  progress,
121
125
  provideLayoutGroup,
122
126
  provideMotion,
@@ -4,9 +4,9 @@ import { transformResetValue } from "./transform.mjs";
4
4
  import { motionEvent } from "./event.mjs";
5
5
  import { isDef } from "@vueuse/core";
6
6
  import { isAnimationControls } from "../animation/utils.mjs";
7
- import { animate } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animate/index.mjs";
8
- import { noop } from "../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
9
- import "../external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
7
+ import { animate } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animate/index.mjs";
8
+ import { noop } from "../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
9
+ import "../external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
10
10
  const STATE_TYPES = ["initial", "animate", "whileInView", "whileHover", "whilePress", "whileDrag", "whileFocus", "exit"];
11
11
  function animateUpdates({
12
12
  controlActiveState = void 0,
@@ -48,8 +48,12 @@ function resolveStateAnimation(controlActiveState, transition) {
48
48
  STATE_TYPES.forEach((name) => {
49
49
  if (!this.activeStates[name] || isAnimationControls(this.options[name]))
50
50
  return;
51
- const definition = isDef(this.options[name]) ? this.options[name] : this.context[name];
52
- const variant = resolveVariant(definition, this.options.variants, this.options.custom);
51
+ const definition = this.options[name];
52
+ let variant = isDef(definition) ? resolveVariant(definition, this.options.variants, this.options.custom) : void 0;
53
+ if (this.visualElement.isVariantNode) {
54
+ const controlVariant = resolveVariant(this.context[name], this.options.variants, this.options.custom);
55
+ variant = controlVariant ? Object.assign(controlVariant || {}, variant) : variant;
56
+ }
53
57
  if (!variant)
54
58
  return;
55
59
  Object.assign(transition, variant.transition);
@@ -1,6 +1,6 @@
1
1
  import { isSVGElement } from "./utils.mjs";
2
- import { HTMLVisualElement } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
3
- import { SVGVisualElement } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs";
2
+ import { HTMLVisualElement } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
3
+ import { SVGVisualElement } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs";
4
4
  function createVisualElement(Component, options) {
5
5
  return isSVGElement(Component) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
6
6
  }
@@ -1,5 +1,6 @@
1
1
  import { MotionStateContext, Options } from '../types';
2
2
  import { DOMKeyframesDefinition, VisualElement } from 'framer-motion';
3
+ import { frame } from 'framer-motion/dom';
3
4
  import { StateType, animateUpdates } from './animate-updates';
4
5
  export declare const mountedStates: WeakMap<Element, MotionState>;
5
6
  /**
@@ -15,6 +16,13 @@ export declare class MotionState {
15
16
  isVShow: boolean;
16
17
  private children?;
17
18
  activeStates: Partial<Record<StateType, boolean>>;
19
+ /**
20
+ * Current animation process reference
21
+ * Tracks the ongoing animation process for mount/update animations
22
+ * Enables delayed animation loading and parent-child animation orchestration
23
+ * Allows parent variant elements to control child element animations
24
+ */
25
+ currentProcess: ReturnType<typeof frame.render> | null;
18
26
  depth: number;
19
27
  baseTarget: DOMKeyframesDefinition;
20
28
  target: DOMKeyframesDefinition;
@@ -27,6 +35,8 @@ export declare class MotionState {
27
35
  updateOptions(): void;
28
36
  beforeMount(): void;
29
37
  mount(element: HTMLElement, options: Options, notAnimate?: boolean): void;
38
+ clearAnimation(): void;
39
+ startAnimation(): void;
30
40
  beforeUnmount(): void;
31
41
  unmount(unMountChildren?: boolean): void;
32
42
  private unmountChild;
@@ -1,12 +1,12 @@
1
1
  import { invariant } from "hey-listen";
2
- import { visualElementStore } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/store.mjs";
2
+ import { visualElementStore } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/store.mjs";
3
3
  import { resolveVariant, isAnimateChanged } from "./utils.mjs";
4
4
  import { FeatureManager } from "../features/feature-manager.mjs";
5
5
  import { createVisualElement } from "./create-visual-element.mjs";
6
6
  import { doneCallbacks } from "../components/presence.mjs";
7
7
  import { animateUpdates } from "./animate-updates.mjs";
8
8
  import { isVariantLabels } from "./utils/is-variant-labels.mjs";
9
- import { frame } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
9
+ import { frame, cancelFrame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
10
10
  const mountedStates = /* @__PURE__ */ new WeakMap();
11
11
  let id = 0;
12
12
  const mountedLayoutIds = /* @__PURE__ */ new Set();
@@ -21,6 +21,7 @@ class MotionState {
21
21
  initial: true,
22
22
  animate: true
23
23
  };
24
+ this.currentProcess = null;
24
25
  this._context = null;
25
26
  this.animateUpdates = animateUpdates;
26
27
  this.id = `motion-state-${id++}`;
@@ -106,7 +107,7 @@ class MotionState {
106
107
  this.updateOptions();
107
108
  this.featureManager.mount();
108
109
  if (!notAnimate && this.options.animate) {
109
- this.animateUpdates();
110
+ this.startAnimation();
110
111
  }
111
112
  if (this.options.layoutId) {
112
113
  mountedLayoutIds.add(this.options.layoutId);
@@ -115,6 +116,22 @@ class MotionState {
115
116
  });
116
117
  }
117
118
  }
119
+ clearAnimation() {
120
+ var _a;
121
+ this.currentProcess && cancelFrame(this.currentProcess);
122
+ this.currentProcess = null;
123
+ (_a = this.visualElement.variantChildren) == null ? void 0 : _a.forEach((child) => {
124
+ child.state.clearAnimation();
125
+ });
126
+ }
127
+ // update trigger animation
128
+ startAnimation() {
129
+ this.clearAnimation();
130
+ this.currentProcess = frame.render(() => {
131
+ this.currentProcess = null;
132
+ this.animateUpdates();
133
+ });
134
+ }
118
135
  // Called before unmounting, executes in child-to-parent order
119
136
  beforeUnmount() {
120
137
  this.featureManager.beforeUnmount();
@@ -156,7 +173,7 @@ class MotionState {
156
173
  this.updateOptions();
157
174
  this.featureManager.update();
158
175
  if (hasAnimateChange) {
159
- this.animateUpdates();
176
+ this.startAnimation();
160
177
  }
161
178
  }
162
179
  // Set animation state active status and propagate to children
@@ -1,5 +1,5 @@
1
1
  import { onBeforeUpdate, onUnmounted } from "vue";
2
- import { frame, cancelFrame } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame, cancelFrame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
3
3
  function useAnimationFrame(callback) {
4
4
  let initialTimestamp = 0;
5
5
  const provideTimeSinceStart = ({ timestamp, delta }) => {
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, isRef, unref } from "vue";
2
- import { inView } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
2
+ import { inView } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
3
  function useInView(domRef, options) {
4
4
  const isInView = ref(false);
5
5
  watch([domRef, () => isRef(options) ? options.value : options], (_v1, _v2) => {
@@ -1,6 +1,6 @@
1
1
  import { onUnmounted } from "vue";
2
- import { motionValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
3
- import { cancelFrame, frame } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
3
+ import { cancelFrame, frame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
4
4
  function useCombineMotionValues(combineValues) {
5
5
  const value = motionValue(combineValues());
6
6
  const updateValue = () => value.set(combineValues());
@@ -1,5 +1,5 @@
1
1
  import { useCombineMotionValues } from "./use-combine-values.mjs";
2
- import { collectMotionValues } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
2
+ import { collectMotionValues } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
3
3
  import { onBeforeUpdate } from "vue";
4
4
  function useComputed(computed) {
5
5
  collectMotionValues.current = [];
@@ -1,7 +1,7 @@
1
1
  import { onMounted, onUnmounted, watch } from "vue";
2
2
  import { warning } from "hey-listen";
3
- import { motionValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
4
- import { scroll } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
3
+ import { motionValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
4
+ import { scroll } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
5
5
  function refWarning(name, ref) {
6
6
  warning(
7
7
  Boolean(!ref || ref.value),
@@ -1,3 +1,4 @@
1
+ import { ComputedRef, Ref } from 'vue';
1
2
  import { MotionValue } from 'framer-motion/dom';
2
3
  import { SpringOptions } from 'framer-motion';
3
- export declare function useSpring(source: MotionValue<string> | MotionValue<number> | number, config?: SpringOptions): MotionValue<number>;
4
+ export declare function useSpring(source: MotionValue<string> | MotionValue<number> | number, config?: SpringOptions | ComputedRef<SpringOptions> | Ref<SpringOptions>): MotionValue<number>;
@@ -1,7 +1,7 @@
1
- import { watch } from "vue";
2
- import { animateValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs";
3
- import { motionValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
4
- import { frame, frameData } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
1
+ import { watch, isRef } from "vue";
2
+ import { animateValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs";
3
+ import { motionValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
4
+ import { frame, frameData } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
5
5
  import { isMotionValue } from "../utils/motion-value.mjs";
6
6
  function toNumber(v) {
7
7
  if (typeof v === "number")
@@ -28,17 +28,23 @@ function useSpring(source, config = {}) {
28
28
  animation.sample(frameData.delta);
29
29
  }
30
30
  stopAnimation();
31
+ const springConfig = isRef(config) ? config.value : config;
31
32
  activeSpringAnimation = animateValue({
32
33
  keyframes: [value.get(), latestValue],
33
34
  velocity: value.getVelocity(),
34
35
  type: "spring",
35
36
  restDelta: 1e-3,
36
37
  restSpeed: 0.01,
37
- ...config,
38
+ ...springConfig,
38
39
  onUpdate: latestSetter
39
40
  });
40
41
  };
41
- watch(() => JSON.stringify(config), () => {
42
+ watch(() => {
43
+ if (isRef(config)) {
44
+ return config.value;
45
+ }
46
+ return config;
47
+ }, () => {
42
48
  value.attach((v, set) => {
43
49
  latestValue = v;
44
50
  latestSetter = set;
@@ -1,5 +1,5 @@
1
1
  import { useAnimationFrame } from "../utils/use-animation-frame.mjs";
2
- import { motionValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
3
3
  function useTime() {
4
4
  const time = motionValue(0);
5
5
  useAnimationFrame((t) => time.set(t));
@@ -1,15 +1,23 @@
1
1
  import { useComputed } from "./use-computed.mjs";
2
2
  import { useCombineMotionValues } from "./use-combine-values.mjs";
3
- import { transform } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/utils/transform.mjs";
3
+ import { computed, isRef } from "vue";
4
+ import { transform } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/transform.mjs";
4
5
  function useTransform(input, inputRangeOrTransformer, outputRange, options) {
5
6
  if (typeof input === "function") {
6
7
  return useComputed(input);
7
8
  }
8
- const transformer = typeof inputRangeOrTransformer === "function" ? inputRangeOrTransformer : transform(inputRangeOrTransformer, outputRange, options);
9
+ const transformer = computed(() => {
10
+ return typeof inputRangeOrTransformer === "function" ? inputRangeOrTransformer : transform(isRef(inputRangeOrTransformer) ? inputRangeOrTransformer.value : inputRangeOrTransformer, outputRange, options);
11
+ });
9
12
  return Array.isArray(input) ? useListTransform(
10
13
  input,
11
14
  transformer
12
- ) : useListTransform([input], ([latest]) => transformer(latest));
15
+ ) : useListTransform([input], ([latest]) => {
16
+ if (isRef(transformer)) {
17
+ return transformer.value(latest);
18
+ }
19
+ return transformer(latest);
20
+ });
13
21
  }
14
22
  function useListTransform(values, transformer) {
15
23
  const latest = [];
@@ -19,7 +27,7 @@ function useListTransform(values, transformer) {
19
27
  for (let i = 0; i < numValues; i++) {
20
28
  latest[i] = values[i].get();
21
29
  }
22
- return transformer(latest);
30
+ return isRef(transformer) ? transformer.value(latest) : transformer(latest);
23
31
  });
24
32
  subscribe(values);
25
33
  return value;
@@ -1,6 +1,6 @@
1
1
  import { useMotionValueEvent } from "./use-motion-value-event.mjs";
2
- import { motionValue } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
3
- import { frame } from "../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { motionValue } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
3
+ import { frame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
4
4
  function useVelocity(value) {
5
5
  const velocity = motionValue(value.getVelocity());
6
6
  const updateVelocity = () => {