motion-v 0.13.0-beta.1 → 0.13.0-beta.3

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 (265) hide show
  1. package/dist/cjs/index.js +414 -1153
  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/animate-presence/use-pop-layout.mjs +1 -1
  5. package/dist/es/components/reorder/Group.d.ts +1 -1
  6. package/dist/es/components/reorder/index.d.ts +7088 -7088
  7. package/dist/es/components/reorder/utils.d.ts +1 -1
  8. package/dist/es/components/reorder/utils.mjs +1 -1
  9. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/index.mjs +1 -2
  10. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -2
  11. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/single-value.mjs +1 -1
  12. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  13. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +4 -7
  14. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +3 -1
  15. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +5 -4
  16. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +1 -2
  17. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  18. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +3 -6
  19. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  20. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +1 -2
  21. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +9 -2
  22. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
  23. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +2 -2
  24. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  25. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +3 -4
  26. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +2 -1
  27. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -5
  28. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +1 -3
  29. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/create.mjs +4 -5
  30. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +2 -1
  31. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  32. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
  33. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  34. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +27 -7
  35. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/shared/stack.mjs +2 -1
  36. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/VisualElement.mjs +4 -5
  37. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +1 -2
  38. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
  39. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +3 -3
  40. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +1 -1
  41. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +2 -1
  42. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +1 -1
  43. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  44. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +3 -18
  45. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -2
  46. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +2 -3
  47. package/dist/es/external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/html/utils/parse-transform.mjs +82 -0
  48. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +1 -1
  49. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +1 -1
  50. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +2 -1
  51. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/motion-values.mjs +4 -3
  52. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
  53. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/delay.mjs +3 -4
  54. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
  55. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  56. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  57. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
  58. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  59. package/dist/es/features/gestures/drag/index.mjs +2 -2
  60. package/dist/es/features/gestures/focus/index.mjs +1 -1
  61. package/dist/es/features/gestures/hover/index.mjs +1 -3
  62. package/dist/es/features/gestures/in-view/index.mjs +2 -2
  63. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  64. package/dist/es/features/gestures/pan/index.mjs +3 -3
  65. package/dist/es/features/gestures/press/index.mjs +1 -3
  66. package/dist/es/features/layout/config.mjs +2 -2
  67. package/dist/es/features/layout/layout.mjs +2 -2
  68. package/dist/es/features/layout/projection.mjs +2 -2
  69. package/dist/es/index.mjs +30 -39
  70. package/dist/es/state/animate-updates.mjs +4 -4
  71. package/dist/es/state/create-visual-element.mjs +2 -2
  72. package/dist/es/state/motion-state.mjs +2 -2
  73. package/dist/es/state/utils.mjs +0 -1
  74. package/dist/es/types/framer-motion.d.ts +0 -12
  75. package/dist/es/utils/use-animation-frame.mjs +1 -1
  76. package/dist/es/utils/use-in-view.mjs +6 -3
  77. package/dist/es/value/use-combine-values.mjs +1 -2
  78. package/dist/es/value/use-computed.mjs +1 -1
  79. package/dist/es/value/use-motion-value-event.d.ts +1 -2
  80. package/dist/es/value/use-scroll.d.ts +4 -4
  81. package/dist/es/value/use-scroll.mjs +26 -24
  82. package/dist/es/value/use-spring.mjs +2 -3
  83. package/dist/es/value/use-time.d.ts +1 -1
  84. package/dist/es/value/use-time.mjs +1 -1
  85. package/dist/es/value/use-transform.mjs +3 -5
  86. package/dist/es/value/use-velocity.mjs +1 -2
  87. package/package.json +4 -3
  88. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/batcher.mjs +0 -63
  89. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs +0 -10
  90. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -11
  91. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -6
  92. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/order.mjs +0 -17
  93. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/render-step.mjs +0 -70
  94. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -21
  95. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/stats/buffer.mjs +0 -7
  96. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -7
  97. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs +0 -282
  98. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -79
  99. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -9
  100. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -15
  101. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +0 -17
  102. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -6
  103. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -6
  104. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +0 -81
  105. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -7
  106. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -37
  107. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -13
  108. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -11
  109. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/hover.mjs +0 -30
  110. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs +0 -74
  111. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -13
  112. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -32
  113. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -4
  114. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +0 -12
  115. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -12
  116. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -10
  117. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -15
  118. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -4
  119. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -17
  120. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -6
  121. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -12
  122. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/memo.mjs +0 -13
  123. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -6
  124. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  125. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  126. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  127. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +0 -0
  128. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  129. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  130. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  131. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  132. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  133. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  134. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  135. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  136. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  137. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  138. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  139. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  140. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  141. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  142. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  143. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  144. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  145. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  146. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  147. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  148. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  149. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  150. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  151. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  152. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  153. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  154. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  155. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  156. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  157. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  158. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  159. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  160. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  161. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  162. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  163. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  164. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  165. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  166. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  167. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  168. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  169. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  170. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -0
  171. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  172. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  173. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  174. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  175. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  176. package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +1 -1
  177. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  178. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  179. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  180. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  181. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  182. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  183. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  184. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  185. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  186. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  187. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  188. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  189. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  190. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  191. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  192. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  193. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  194. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  195. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  196. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  197. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  198. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  199. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  200. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
  201. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
  202. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  203. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  204. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  206. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/store.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/measure.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{framer-motion@12.4.10 → framer-motion@12.5.0}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/array.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/errors.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/memo.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/noop.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/progress.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/subscription-manager.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{motion-utils@12.4.10 → motion-utils@12.5.0}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/velocity-per-second.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{framer-motion@12.4.10/external/framer-motion/dist/es/utils → motion-utils@12.5.0/external/motion-utils/dist/es}/warn-once.mjs +0 -0
@@ -1,5 +1,4 @@
1
- import "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
- import { resolveElements } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/utils/resolve-elements.mjs";
1
+ import { resolveElements } from "motion-dom";
3
2
  const thresholds = {
4
3
  some: 0,
5
4
  all: 1
@@ -1,9 +1,9 @@
1
1
  import { measureViewportBox } from "../../projection/utils/measure.mjs";
2
2
  import { DOMVisualElement } from "../dom/DOMVisualElement.mjs";
3
3
  import { isCSSVariableName } from "../dom/utils/is-css-variable.mjs";
4
- import { getDefaultValueType } from "../dom/value-types/defaults.mjs";
5
4
  import { buildHTMLStyles } from "./utils/build-styles.mjs";
6
5
  import { transformProps } from "./utils/keys-transform.mjs";
6
+ import { readTransformValue } from "./utils/parse-transform.mjs";
7
7
  import { renderHTML } from "./utils/render.mjs";
8
8
  import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
9
9
  function getComputedStyle(element) {
@@ -17,8 +17,7 @@ class HTMLVisualElement extends DOMVisualElement {
17
17
  }
18
18
  readValueFromInstance(instance, key) {
19
19
  if (transformProps.has(key)) {
20
- const defaultType = getDefaultValueType(key);
21
- return defaultType ? defaultType.default || 0 : 0;
20
+ return readTransformValue(instance, key);
22
21
  } else {
23
22
  const computedStyle = getComputedStyle(instance);
24
23
  const value = (isCSSVariableName(key) ? computedStyle.getPropertyValue(key) : computedStyle[key]) || 0;
@@ -0,0 +1,82 @@
1
+ const radToDeg = (rad) => rad * 180 / Math.PI;
2
+ const rotate = (v) => {
3
+ const angle = radToDeg(Math.atan2(v[1], v[0]));
4
+ return rebaseAngle(angle);
5
+ };
6
+ const matrix2dParsers = {
7
+ x: 4,
8
+ y: 5,
9
+ translateX: 4,
10
+ translateY: 5,
11
+ scaleX: 0,
12
+ scaleY: 3,
13
+ scale: (v) => (Math.abs(v[0]) + Math.abs(v[3])) / 2,
14
+ rotate,
15
+ rotateZ: rotate,
16
+ skewX: (v) => radToDeg(Math.atan(v[1])),
17
+ skewY: (v) => radToDeg(Math.atan(v[2])),
18
+ skew: (v) => (Math.abs(v[1]) + Math.abs(v[2])) / 2
19
+ };
20
+ const rebaseAngle = (angle) => {
21
+ angle = angle % 360;
22
+ if (angle < 0)
23
+ angle += 360;
24
+ return angle;
25
+ };
26
+ const rotateZ = rotate;
27
+ const scaleX = (v) => Math.sqrt(v[0] * v[0] + v[1] * v[1]);
28
+ const scaleY = (v) => Math.sqrt(v[4] * v[4] + v[5] * v[5]);
29
+ const matrix3dParsers = {
30
+ x: 12,
31
+ y: 13,
32
+ z: 14,
33
+ translateX: 12,
34
+ translateY: 13,
35
+ translateZ: 14,
36
+ scaleX,
37
+ scaleY,
38
+ scale: (v) => (scaleX(v) + scaleY(v)) / 2,
39
+ rotateX: (v) => rebaseAngle(radToDeg(Math.atan2(v[6], v[5]))),
40
+ rotateY: (v) => rebaseAngle(radToDeg(Math.atan2(-v[2], v[0]))),
41
+ rotateZ,
42
+ rotate: rotateZ,
43
+ skewX: (v) => radToDeg(Math.atan(v[4])),
44
+ skewY: (v) => radToDeg(Math.atan(v[1])),
45
+ skew: (v) => (Math.abs(v[1]) + Math.abs(v[4])) / 2
46
+ };
47
+ function defaultTransformValue(name) {
48
+ return name.includes("scale") ? 1 : 0;
49
+ }
50
+ function parseValueFromTransform(transform, name) {
51
+ if (!transform || transform === "none") {
52
+ return defaultTransformValue(name);
53
+ }
54
+ const matrix3dMatch = transform.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
55
+ let parsers;
56
+ let match;
57
+ if (matrix3dMatch) {
58
+ parsers = matrix3dParsers;
59
+ match = matrix3dMatch;
60
+ } else {
61
+ const matrix2dMatch = transform.match(/^matrix\(([-\d.e\s,]+)\)$/u);
62
+ parsers = matrix2dParsers;
63
+ match = matrix2dMatch;
64
+ }
65
+ if (!match) {
66
+ return defaultTransformValue(name);
67
+ }
68
+ const valueParser = parsers[name];
69
+ const values = match[1].split(",").map(convertTransformToNumber);
70
+ return typeof valueParser === "function" ? valueParser(values) : values[valueParser];
71
+ }
72
+ const readTransformValue = (instance, name) => {
73
+ const { transform = "none" } = getComputedStyle(instance);
74
+ return parseValueFromTransform(transform, name);
75
+ };
76
+ function convertTransformToNumber(value) {
77
+ return parseFloat(value.trim());
78
+ }
79
+ export {
80
+ parseValueFromTransform,
81
+ readTransformValue
82
+ };
@@ -1,4 +1,4 @@
1
- import { frame } from "../../frameloop/frame.mjs";
1
+ import { frame } from "motion-dom";
2
2
  import { createBox } from "../../projection/geometry/models.mjs";
3
3
  import { DOMVisualElement } from "../dom/DOMVisualElement.mjs";
4
4
  import { camelToDash } from "../dom/utils/camel-to-dash.mjs";
@@ -1,5 +1,5 @@
1
+ import { frame } from "motion-dom";
1
2
  import { removeNonTranslationalTransform } from "../dom/utils/unit-conversion.mjs";
2
- import { frame } from "../../frameloop/frame.mjs";
3
3
  const toResolve = /* @__PURE__ */ new Set();
4
4
  let isScheduled = false;
5
5
  let anyNeedsMeasurement = false;
@@ -1,4 +1,5 @@
1
- import { addUniqueItem, removeItem } from "../../utils/array.mjs";
1
+ import { addUniqueItem, removeItem } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/array.mjs";
2
+ import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
2
3
  import { compareByDepth } from "./compare-by-depth.mjs";
3
4
  class FlatTree {
4
5
  constructor() {
@@ -1,5 +1,6 @@
1
- import { warnOnce } from "../../utils/warn-once.mjs";
2
- import { motionValue } from "../../value/index.mjs";
1
+ import { motionValue } from "motion-dom";
2
+ import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
3
+ import { warnOnce } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/warn-once.mjs";
3
4
  import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
4
5
  function updateMotionValuesFromProps(element, next, prev) {
5
6
  for (const key in next) {
@@ -8,7 +9,7 @@ function updateMotionValuesFromProps(element, next, prev) {
8
9
  if (isMotionValue(nextValue)) {
9
10
  element.addValue(key, nextValue);
10
11
  if (process.env.NODE_ENV === "development") {
11
- warnOnce(nextValue.version === "12.4.10", `Attempting to mix Motion versions ${nextValue.version} with 12.4.10 may not work as expected.`);
12
+ warnOnce(nextValue.version === "12.5.0", `Attempting to mix Motion versions ${nextValue.version} with 12.5.0 may not work as expected.`);
12
13
  }
13
14
  } else if (isMotionValue(prevValue)) {
14
15
  element.addValue(key, motionValue(nextValue, { owner: element }));
@@ -1,5 +1,5 @@
1
+ import { motionValue } from "motion-dom";
1
2
  import { resolveFinalValueInKeyframes } from "../../utils/resolve-value.mjs";
2
- import { motionValue } from "../../value/index.mjs";
3
3
  import { resolveVariant } from "./resolve-dynamic-variants.mjs";
4
4
  function setMotionValue(visualElement, key, value) {
5
5
  if (visualElement.hasValue(key)) {
@@ -1,7 +1,6 @@
1
- import "../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
- import { secondsToMilliseconds } from "../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
3
- import { time } from "../frameloop/sync-time.mjs";
4
- import { frame, cancelFrame } from "../frameloop/frame.mjs";
1
+ import { time, frame, cancelFrame } from "motion-dom";
2
+ import "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
3
+ import { secondsToMilliseconds } from "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/time-conversion.mjs";
5
4
  function delay(callback, timeout) {
6
5
  const start = time.now();
7
6
  const checkElapsed = ({ timestamp }) => {
@@ -1,6 +1,6 @@
1
- import { invariant } from "../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
3
- import { progress } from "../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/progress.mjs";
1
+ import { invariant } from "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { progress } from "../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/progress.mjs";
4
4
  import { clamp } from "./clamp.mjs";
5
5
  import { mix } from "./mix/index.mjs";
6
6
  import { pipe } from "./pipe.mjs";
@@ -1,5 +1,5 @@
1
1
  import { mixNumber } from "./number.mjs";
2
- import { warning } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { warning } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
3
3
  import { hslaToRgba } from "../hsla-to-rgba.mjs";
4
4
  import { hex } from "../../value/types/color/hex.mjs";
5
5
  import { rgba } from "../../value/types/color/rgba.mjs";
@@ -1,7 +1,7 @@
1
1
  import { mixNumber as mixNumber$1 } from "./number.mjs";
2
2
  import { mixColor } from "./color.mjs";
3
3
  import { pipe } from "../pipe.mjs";
4
- import { warning } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
4
+ import { warning } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
5
5
  import { color } from "../../value/types/color/index.mjs";
6
6
  import { complex, analyseComplexValue } from "../../value/types/complex/index.mjs";
7
7
  import { isCSSVariableToken } from "../../render/dom/utils/is-css-variable.mjs";
@@ -1,5 +1,5 @@
1
- import "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
- import { progress } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/progress.mjs";
1
+ import "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../motion-utils@12.5.0/external/motion-utils/dist/es/progress.mjs";
3
3
  import { mixNumber } from "../mix/number.mjs";
4
4
  function fillOffset(offset, remaining) {
5
5
  const min = offset[offset.length - 1];
@@ -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@12.4.10/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs";
15
+ import { animateMotionValue } from "../../../external/.pnpm/framer-motion@12.5.0/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@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
20
+ import { frame } from "motion-dom";
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@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";
3
+ import { noop } from "../../../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
4
+ import "../../../external/.pnpm/motion-utils@12.5.0/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@12.4.10/external/framer-motion/dist/es/utils/pipe.mjs";
3
+ import { pipe } from "../../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/pipe.mjs";
4
4
  class FocusGesture extends Feature {
5
5
  constructor() {
6
6
  super(...arguments);
@@ -1,8 +1,6 @@
1
1
  import { Feature } from "../../feature.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
2
  import { extractEventInfo } from "../press/index.mjs";
3
+ import { hover, frame } from "motion-dom";
6
4
  function handleHoverEvent(state, event, lifecycle) {
7
5
  const props = state.options;
8
6
  if (props.whileHover) {
@@ -1,6 +1,6 @@
1
1
  import { Feature } from "../../feature.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";
2
+ import { inView } from "../../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
+ import { frame } from "motion-dom";
4
4
  function handleHoverEvent(state, entry, lifecycle) {
5
5
  const props = state.options;
6
6
  if (props.whileInView) {
@@ -1,9 +1,9 @@
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@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";
3
+ import { distance2D } from "../../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/distance.mjs";
4
+ import { pipe } from "../../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/pipe.mjs";
6
5
  import { secondsToMilliseconds, millisecondsToSeconds } from "../../../utils/time-conversion.mjs";
6
+ import { frame, cancelFrame, frameData } from "motion-dom";
7
7
  import { isPrimaryPointer } from "../../../events/utils/is-primary-pointer.mjs";
8
8
  class PanSession {
9
9
  constructor(event, handlers, { transformPagePoint, contextWindow, dragSnapToOrigin = false } = {}) {
@@ -1,10 +1,10 @@
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@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";
4
+ import { noop } from "../../../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
5
+ import "../../../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
7
6
  import { getContextWindow } from "../../../utils/get-context-window.mjs";
7
+ import { frame } from "motion-dom";
8
8
  function asyncHandler(handler) {
9
9
  return (event, info) => {
10
10
  if (handler) {
@@ -1,7 +1,5 @@
1
1
  import { Feature } from "../../feature.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";
2
+ import { press, frame } from "motion-dom";
5
3
  function extractEventInfo(event) {
6
4
  return {
7
5
  point: {
@@ -1,5 +1,5 @@
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";
1
+ import { correctBorderRadius } from "../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs";
2
+ import { correctBoxShadow } from "../../external/.pnpm/framer-motion@12.5.0/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@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
2
+ import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.5.0/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@12.4.10/external/framer-motion/dist/es/projection/node/state.mjs";
4
+ import { globalProjectionState } from "../../external/.pnpm/framer-motion@12.5.0/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@12.4.10/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
2
+ import { HTMLProjectionNode } from "../../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs";
3
3
  import { getClosestProjectingNode } from "./utils.mjs";
4
- import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
4
+ import { addScaleCorrector } from "../../external/.pnpm/framer-motion@12.5.0/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";
package/dist/es/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { addScaleCorrector } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs";
1
+ import { addScaleCorrector } from "./external/.pnpm/framer-motion@12.5.0/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";
@@ -7,41 +7,35 @@ import { default as default3 } from "./components/motion/Motion.vue.mjs";
7
7
  import { default as default4 } from "./components/RowValue.vue.mjs";
8
8
  import { default as default5 } from "./components/animate-presence/AnimatePresence.vue.mjs";
9
9
  import { default as default6 } from "./components/motion-config/MotionConfig.vue.mjs";
10
- import { MotionValue, motionValue, motionValue as motionValue2 } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
11
- import { hover } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/hover.mjs";
12
- import { isDragActive } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs";
13
- import { press } from "./external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs";
14
- import { invariant } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
15
- import { noop } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs";
16
- import { progress } from "./external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/progress.mjs";
17
- import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animate/index.mjs";
18
- import { animateMini } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
19
- import { scroll } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
20
- import { scrollInfo } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
21
- import { inView } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
22
- import { anticipate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/anticipate.mjs";
23
- import { backIn, backInOut, backOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/back.mjs";
24
- import { circIn, circInOut, circOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/circ.mjs";
25
- import { cubicBezier } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/cubic-bezier.mjs";
26
- import { easeIn, easeInOut, easeOut } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/ease.mjs";
27
- import { mirrorEasing } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/modifiers/mirror.mjs";
28
- import { reverseEasing } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/modifiers/reverse.mjs";
29
- import { steps } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/easing/steps.mjs";
30
- import { inertia } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/inertia.mjs";
31
- import { keyframes } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/keyframes.mjs";
32
- import { spring } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/generators/spring/index.mjs";
33
- import { stagger } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/utils/stagger.mjs";
34
- import { time } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/sync-time.mjs";
35
- import { clamp } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/clamp.mjs";
36
- import { delayInSeconds } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/delay.mjs";
37
- import { distance, distance2D } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/distance.mjs";
38
- import { interpolate } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/interpolate.mjs";
39
- import { mix } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/mix/index.mjs";
40
- import { pipe } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/pipe.mjs";
41
- import { transform } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/transform.mjs";
42
- import { wrap } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/utils/wrap.mjs";
43
- import { cancelSync, sync } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/index-legacy.mjs";
44
- import { cancelFrame, frame, frameData, frameSteps } from "./external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
10
+ import { MotionValue, cancelFrame, frame, frameData, hover, isDragActive, motionValue, press, time, motionValue as motionValue2 } from "motion-dom";
11
+ import { invariant } from "./external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/errors.mjs";
12
+ import { noop } from "./external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
13
+ import { progress } from "./external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/progress.mjs";
14
+ import { animate, createScopedAnimate } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animate/index.mjs";
15
+ import { animateMini } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs";
16
+ import { scroll } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/scroll/index.mjs";
17
+ import { scrollInfo } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/scroll/track.mjs";
18
+ import { inView } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
19
+ import { anticipate } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/anticipate.mjs";
20
+ import { backIn, backInOut, backOut } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/back.mjs";
21
+ import { circIn, circInOut, circOut } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/circ.mjs";
22
+ import { cubicBezier } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/cubic-bezier.mjs";
23
+ import { easeIn, easeInOut, easeOut } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/ease.mjs";
24
+ import { mirrorEasing } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/modifiers/mirror.mjs";
25
+ import { reverseEasing } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/modifiers/reverse.mjs";
26
+ import { steps } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/easing/steps.mjs";
27
+ import { inertia } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/generators/inertia.mjs";
28
+ import { keyframes } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/generators/keyframes.mjs";
29
+ import { spring } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/generators/spring/index.mjs";
30
+ import { stagger } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/utils/stagger.mjs";
31
+ import { clamp } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/clamp.mjs";
32
+ import { delayInSeconds } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/delay.mjs";
33
+ import { distance, distance2D } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/distance.mjs";
34
+ import { interpolate } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/interpolate.mjs";
35
+ import { mix } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/mix/index.mjs";
36
+ import { pipe } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/pipe.mjs";
37
+ import { transform } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/transform.mjs";
38
+ import { wrap } from "./external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/utils/wrap.mjs";
45
39
  import { motion } from "./components/motion/NameSpace.mjs";
46
40
  import { mountedStates } from "./state/motion-state.mjs";
47
41
  import { provideMotionConfig, useMotionConfig } from "./components/motion-config/context.mjs";
@@ -83,7 +77,6 @@ export {
83
77
  backInOut,
84
78
  backOut,
85
79
  cancelFrame,
86
- cancelSync,
87
80
  circIn,
88
81
  circInOut,
89
82
  circOut,
@@ -99,7 +92,6 @@ export {
99
92
  easeOut,
100
93
  frame,
101
94
  frameData,
102
- frameSteps,
103
95
  getContextWindow,
104
96
  hover,
105
97
  inView,
@@ -131,7 +123,6 @@ export {
131
123
  spring,
132
124
  stagger,
133
125
  steps,
134
- sync,
135
126
  time,
136
127
  transform,
137
128
  useAnimate,
@@ -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@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";
7
+ import { animate } from "../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/animation/animate/index.mjs";
8
+ import { noop } from "../external/.pnpm/motion-utils@12.5.0/external/motion-utils/dist/es/noop.mjs";
9
+ import "../external/.pnpm/motion-utils@12.5.0/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,
@@ -88,7 +88,7 @@ function createAnimationFactories(prevTarget, animationOptions, controlDelay) {
88
88
  this.element,
89
89
  { [key]: keyValue },
90
90
  {
91
- ...animationOptions,
91
+ ...(animationOptions == null ? void 0 : animationOptions[key]) || animationOptions,
92
92
  delay: (((_a2 = animationOptions == null ? void 0 : animationOptions[key]) == null ? void 0 : _a2.delay) || (animationOptions == null ? void 0 : animationOptions.delay) || 0) + controlDelay
93
93
  }
94
94
  );
@@ -1,6 +1,6 @@
1
1
  import { isSVGElement } from "./utils.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";
2
+ import { HTMLVisualElement } from "../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs";
3
+ import { SVGVisualElement } from "../external/.pnpm/framer-motion@12.5.0/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,12 +1,12 @@
1
1
  import { invariant } from "hey-listen";
2
- import { visualElementStore } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/store.mjs";
2
+ import { visualElementStore } from "../external/.pnpm/framer-motion@12.5.0/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, cancelFrame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
9
+ import { frame, cancelFrame } from "motion-dom";
10
10
  const mountedStates = /* @__PURE__ */ new WeakMap();
11
11
  let id = 0;
12
12
  const mountedLayoutIds = /* @__PURE__ */ new Set();
@@ -117,7 +117,6 @@ function isAnimateChanged(oldOptions, newOptions) {
117
117
  return oldVal !== newVal;
118
118
  });
119
119
  }
120
- console.log(2344);
121
120
  return oldAnimate !== newAnimate;
122
121
  }
123
122
  export {
@@ -1,17 +1,5 @@
1
1
  import { Inertia, Keyframes, None, Repeat, Spring, Tween } from 'framer-motion';
2
2
  export type { Point } from 'framer-motion';
3
- export interface FrameData {
4
- delta: number;
5
- timestamp: number;
6
- isProcessing: boolean;
7
- }
8
- export interface MotionValueEventCallbacks<V> {
9
- animationStart: () => void;
10
- animationComplete: () => void;
11
- animationCancel: () => void;
12
- change: (latestValue: V) => void;
13
- renderRequest: () => void;
14
- }
15
3
  export type SupportedEdgeUnit = 'px' | 'vw' | 'vh' | '%';
16
4
  export type EdgeUnit = `${number}${SupportedEdgeUnit}`;
17
5
  export type NamedEdges = 'start' | 'end' | 'center';
@@ -1,5 +1,5 @@
1
1
  import { onBeforeUpdate, onUnmounted } from "vue";
2
- import { frame, cancelFrame } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame, cancelFrame } from "motion-dom";
3
3
  function useAnimationFrame(callback) {
4
4
  let initialTimestamp = 0;
5
5
  const provideTimeSinceStart = ({ timestamp, delta }) => {
@@ -1,8 +1,8 @@
1
1
  import { ref, watch, isRef, unref } from "vue";
2
- import { inView } from "../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
2
+ import { inView } from "../external/.pnpm/framer-motion@12.5.0/external/framer-motion/dist/es/render/dom/viewport/index.mjs";
3
3
  function useInView(domRef, options) {
4
4
  const isInView = ref(false);
5
- watch([domRef, () => isRef(options) ? options.value : options], (_v1, _v2) => {
5
+ watch([domRef, () => isRef(options) ? options.value : options], (_v1, _v2, onCleanup) => {
6
6
  const realOptions = unref(options) || {};
7
7
  const { once } = realOptions;
8
8
  if (!domRef.value || once && isInView.value) {
@@ -14,7 +14,10 @@ function useInView(domRef, options) {
14
14
  isInView.value = false;
15
15
  };
16
16
  };
17
- return inView(domRef.value, onEnter, realOptions);
17
+ const cleanup = inView(domRef.value, onEnter, realOptions);
18
+ onCleanup(() => {
19
+ cleanup();
20
+ });
18
21
  }, {
19
22
  immediate: true
20
23
  });
@@ -1,6 +1,5 @@
1
1
  import { onUnmounted } from "vue";
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";
2
+ import { motionValue, cancelFrame, frame } from "motion-dom";
4
3
  function useCombineMotionValues(combineValues) {
5
4
  const value = motionValue(combineValues());
6
5
  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@12.4.10/external/framer-motion/dist/es/value/index.mjs";
2
+ import { collectMotionValues } from "motion-dom";
3
3
  import { onBeforeUpdate } from "vue";
4
4
  function useComputed(computed) {
5
5
  collectMotionValues.current = [];
@@ -1,3 +1,2 @@
1
- import { MotionValue } from 'framer-motion/dom';
2
- import { MotionValueEventCallbacks } from '../types';
1
+ import { MotionValue, MotionValueEventCallbacks } from 'framer-motion/dom';
3
2
  export declare function useMotionValueEvent<V, EventName extends keyof MotionValueEventCallbacks<V>>(value: MotionValue<V>, event: EventName, callback: MotionValueEventCallbacks<V>[EventName]): VoidFunction;