motion-v 0.10.0-beta.1 → 0.11.0-beta.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 (278) hide show
  1. package/dist/cjs/index.js +270 -242
  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/LayoutGroup.d.ts +15 -1
  5. package/dist/es/components/LayoutGroup.vue.mjs +1 -1
  6. package/dist/es/components/RowValue.d.ts +16 -0
  7. package/dist/es/components/RowValue.vue.mjs +25 -0
  8. package/dist/es/components/RowValue.vue2.mjs +4 -0
  9. package/dist/es/components/animate-presence/AnimatePresence.d.ts +6 -0
  10. package/dist/es/components/animate-presence/AnimatePresence.vue.mjs +12 -8
  11. package/dist/es/components/animate-presence/types.d.ts +2 -0
  12. package/dist/es/components/animate-presence/use-pop-layout.mjs +10 -9
  13. package/dist/es/components/group.mjs +1 -0
  14. package/dist/es/components/index.d.ts +2 -0
  15. package/dist/es/components/motion/Motion.vue.mjs +2 -3
  16. package/dist/es/components/reorder/Group.vue.mjs +3 -1
  17. package/dist/es/components/reorder/utils.mjs +1 -1
  18. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/index.mjs +3 -3
  19. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -2
  20. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  21. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +11 -14
  22. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +2 -2
  23. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +4 -4
  24. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  25. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +8 -8
  26. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  27. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +2 -2
  28. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +3 -4
  29. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +1 -1
  30. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
  31. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
  32. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  33. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +4 -4
  34. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -4
  35. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +2 -2
  36. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/create.mjs +5 -5
  37. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  38. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
  39. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/batcher.mjs +18 -6
  40. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/frame.mjs +2 -2
  41. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/index-legacy.mjs +1 -1
  42. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/render-step.mjs +1 -8
  43. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  44. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +35 -22
  45. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +8 -0
  46. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/VisualElement.mjs +2 -6
  47. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +2 -2
  48. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
  49. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
  50. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  51. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +3 -3
  52. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +0 -12
  53. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
  54. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/delay.mjs +2 -2
  55. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
  56. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  57. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  58. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
  59. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/index.mjs +1 -1
  60. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +2 -2
  61. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +3 -3
  62. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +2 -2
  63. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/hover.mjs +11 -11
  64. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/index.mjs +1 -1
  65. package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/memo.mjs +2 -2
  66. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +6 -0
  67. package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/memo.mjs +0 -1
  68. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs +4 -0
  69. package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/progress.mjs +1 -1
  70. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs +6 -0
  71. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  72. package/dist/es/features/gestures/drag/index.mjs +3 -4
  73. package/dist/es/features/gestures/focus/index.mjs +1 -1
  74. package/dist/es/features/gestures/hover/index.mjs +4 -4
  75. package/dist/es/features/gestures/in-view/index.mjs +3 -3
  76. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  77. package/dist/es/features/gestures/pan/index.mjs +3 -3
  78. package/dist/es/features/gestures/press/index.mjs +4 -4
  79. package/dist/es/features/layout/config.mjs +2 -2
  80. package/dist/es/features/layout/layout.d.ts +0 -1
  81. package/dist/es/features/layout/layout.mjs +11 -11
  82. package/dist/es/features/layout/projection.mjs +2 -2
  83. package/dist/es/features/svg.mjs +1 -1
  84. package/dist/es/index.d.ts +1 -0
  85. package/dist/es/index.mjs +43 -41
  86. package/dist/es/state/animate-updates.mjs +3 -3
  87. package/dist/es/state/create-visual-element.mjs +2 -2
  88. package/dist/es/state/motion-state.d.ts +3 -3
  89. package/dist/es/state/motion-state.mjs +50 -36
  90. package/dist/es/state/utils.d.ts +1 -0
  91. package/dist/es/state/utils.mjs +21 -0
  92. package/dist/es/utils/use-animation-frame.mjs +1 -1
  93. package/dist/es/utils/use-in-view.mjs +1 -1
  94. package/dist/es/value/use-combine-values.mjs +2 -2
  95. package/dist/es/value/use-computed.mjs +1 -1
  96. package/dist/es/value/use-scroll.mjs +2 -2
  97. package/dist/es/value/use-spring.mjs +3 -3
  98. package/dist/es/value/use-time.mjs +1 -1
  99. package/dist/es/value/use-transform.mjs +1 -1
  100. package/dist/es/value/use-velocity.mjs +2 -2
  101. package/package.json +5 -4
  102. package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -6
  103. package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/frameloop/order.mjs +0 -17
  104. package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -14
  105. package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/render/svg/utils/measure.mjs +0 -15
  106. package/dist/es/external/.pnpm/framer-motion@12.4.0/external/framer-motion/dist/es/stats/buffer.mjs +0 -7
  107. package/dist/es/external/.pnpm/motion-dom@12.0.0/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +0 -6
  108. package/dist/es/external/.pnpm/motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs +0 -4
  109. package/dist/es/external/.pnpm/motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs +0 -6
  110. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  111. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/single-value.mjs +0 -0
  112. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
  113. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  114. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  115. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  116. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  117. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  118. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
  119. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  120. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  121. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  122. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  123. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
  124. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  125. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  126. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  127. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  128. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  129. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  130. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  131. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  132. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  133. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  134. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  135. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  136. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  137. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  138. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  139. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  140. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  141. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  142. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  143. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  144. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  145. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
  146. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
  147. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  148. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  149. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  150. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  151. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  152. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  153. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  154. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  155. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  156. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  157. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  158. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  159. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
  160. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  161. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  162. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  163. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  164. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  165. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  166. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  167. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
  168. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  169. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  170. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
  171. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  172. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  173. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  174. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  175. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  176. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
  177. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
  178. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  179. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  180. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  181. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -0
  182. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  183. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  184. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  185. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  186. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  187. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  188. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  189. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  190. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  191. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  192. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  193. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -0
  194. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  195. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  196. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
  197. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
  198. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  199. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  200. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  201. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  202. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/store.mjs +0 -0
  203. package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +1 -1
  204. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  206. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/setters.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/array.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/warn-once.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{framer-motion@12.4.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
  270. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
  271. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
  272. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
  273. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
  274. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -0
  275. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
  276. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
  277. /package/dist/es/external/.pnpm/{motion-dom@12.0.0 → motion-dom@11.16.4}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
  278. /package/dist/es/external/.pnpm/{motion-utils@12.0.0 → motion-utils@11.16.0}/external/motion-utils/dist/es/errors.mjs +0 -0
@@ -1,8 +1,8 @@
1
- import { invariant } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { progress } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
3
- import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs";
4
- import { createGeneratorEasing } from "../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
5
- import { isGenerator } from "../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
1
+ import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
3
+ import { secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
4
+ import { createGeneratorEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
5
+ import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
6
6
  import { getEasingForSegment } from "../../easing/utils/get-easing-for-segment.mjs";
7
7
  import { defaultOffset } from "../../utils/offsets/default.mjs";
8
8
  import { fillOffset } from "../../utils/offsets/fill.mjs";
@@ -1,5 +1,5 @@
1
- import "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
1
+ import "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
3
  const calcBezier = (t, a1, a2) => (((1 - 3 * a2 + 3 * a1) * t + (3 * a2 - 6 * a1)) * t + 3 * a1) * t;
4
4
  const subdivisionPrecision = 1e-7;
5
5
  const subdivisionMaxIterations = 12;
@@ -1,6 +1,6 @@
1
- import { invariant } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
3
- import { isBezierDefinition } from "../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/utils/is-bezier-definition.mjs";
1
+ import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { isBezierDefinition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/is-bezier-definition.mjs";
4
4
  import { anticipate } from "../anticipate.mjs";
5
5
  import { backIn, backInOut, backOut } from "../back.mjs";
6
6
  import { circIn, circInOut, circOut } from "../circ.mjs";
@@ -1,5 +1,18 @@
1
- import { stepsOrder } from "./order.mjs";
2
1
  import { createRenderStep } from "./render-step.mjs";
2
+ const stepsOrder = [
3
+ "read",
4
+ // Read
5
+ "resolveKeyframes",
6
+ // Write/Read/Write/Read
7
+ "update",
8
+ // Compute
9
+ "preRender",
10
+ // Compute
11
+ "render",
12
+ // Write
13
+ "postRender"
14
+ // Compute
15
+ ];
3
16
  const maxElapsed = 40;
4
17
  function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
5
18
  let runNextFrame = false;
@@ -11,16 +24,14 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
11
24
  };
12
25
  const flagRunNextFrame = () => runNextFrame = true;
13
26
  const steps = stepsOrder.reduce((acc, key) => {
14
- acc[key] = createRenderStep(flagRunNextFrame, allowKeepAlive ? key : void 0);
27
+ acc[key] = createRenderStep(flagRunNextFrame);
15
28
  return acc;
16
29
  }, {});
17
30
  const { read, resolveKeyframes, update, preRender, render, postRender } = steps;
18
31
  const processBatch = () => {
19
32
  const timestamp = performance.now();
20
33
  runNextFrame = false;
21
- {
22
- state.delta = useDefaultElapsed ? 1e3 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);
23
- }
34
+ state.delta = useDefaultElapsed ? 1e3 / 60 : Math.max(Math.min(timestamp - state.timestamp, maxElapsed), 1);
24
35
  state.timestamp = timestamp;
25
36
  state.isProcessing = true;
26
37
  read.process(state);
@@ -59,5 +70,6 @@ function createRenderBatcher(scheduleNextBatch, allowKeepAlive) {
59
70
  return { schedule, cancel, state, steps };
60
71
  }
61
72
  export {
62
- createRenderBatcher
73
+ createRenderBatcher,
74
+ stepsOrder
63
75
  };
@@ -1,5 +1,5 @@
1
- import "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
1
+ import "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
3
  import { createRenderBatcher } from "./batcher.mjs";
4
4
  const { schedule: frame, cancel: cancelFrame, state: frameData, steps: frameSteps } = createRenderBatcher(typeof requestAnimationFrame !== "undefined" ? requestAnimationFrame : noop, true);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { stepsOrder } from "./order.mjs";
1
+ import { stepsOrder } from "./batcher.mjs";
2
2
  import { frame, cancelFrame } from "./frame.mjs";
3
3
  const sync = frame;
4
4
  const cancelSync = stepsOrder.reduce((acc, key) => {
@@ -1,5 +1,4 @@
1
- import { statsBuffer } from "../stats/buffer.mjs";
2
- function createRenderStep(runNextFrame, stepName) {
1
+ function createRenderStep(runNextFrame) {
3
2
  let thisFrame = /* @__PURE__ */ new Set();
4
3
  let nextFrame = /* @__PURE__ */ new Set();
5
4
  let isProcessing = false;
@@ -10,13 +9,11 @@ function createRenderStep(runNextFrame, stepName) {
10
9
  timestamp: 0,
11
10
  isProcessing: false
12
11
  };
13
- let numCalls = 0;
14
12
  function triggerCallback(callback) {
15
13
  if (toKeepAlive.has(callback)) {
16
14
  step.schedule(callback);
17
15
  runNextFrame();
18
16
  }
19
- numCalls++;
20
17
  callback(latestFrameData);
21
18
  }
22
19
  const step = {
@@ -51,10 +48,6 @@ function createRenderStep(runNextFrame, stepName) {
51
48
  isProcessing = true;
52
49
  [thisFrame, nextFrame] = [nextFrame, thisFrame];
53
50
  thisFrame.forEach(triggerCallback);
54
- if (stepName && statsBuffer.value) {
55
- statsBuffer.value.frameloop[stepName].push(numCalls);
56
- }
57
- numCalls = 0;
58
51
  thisFrame.clear();
59
52
  isProcessing = false;
60
53
  if (flushNextFrame) {
@@ -1,6 +1,6 @@
1
- import "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
3
- import { progress } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
1
+ import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { progress } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
4
4
  import { circOut } from "../../easing/circ.mjs";
5
5
  import { mixNumber } from "../../utils/mix/number.mjs";
6
6
  import { percent, px } from "../../value/types/numbers/units.mjs";
@@ -1,6 +1,6 @@
1
- import "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
3
- import { getValueTransition } from "../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
1
+ import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { getValueTransition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
4
4
  import { animateSingleValue } from "../../animation/animate/single-value.mjs";
5
5
  import { getOptimisedAppearId } from "../../animation/optimized-appear/get-appear-id.mjs";
6
6
  import { cancelFrame, frameData, frameSteps, frame } from "../../frameloop/frame.mjs";
@@ -16,7 +16,7 @@ import { resolveMotionValue } from "../../value/utils/resolve-motion-value.mjs";
16
16
  import { mixValues } from "../animation/mix-values.mjs";
17
17
  import { copyBoxInto, copyAxisDeltaInto } from "../geometry/copy.mjs";
18
18
  import { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from "../geometry/delta-apply.mjs";
19
- import { calcLength, calcRelativePosition, calcRelativeBox, calcBoxDelta, isNear } from "../geometry/delta-calc.mjs";
19
+ import { calcRelativePosition, calcRelativeBox, calcBoxDelta, calcLength, isNear } from "../geometry/delta-calc.mjs";
20
20
  import { removeBoxTransforms } from "../geometry/delta-remove.mjs";
21
21
  import { createBox, createDelta } from "../geometry/models.mjs";
22
22
  import { boxEqualsRounded, isDeltaZero, axisDeltaEquals, aspectRatio, boxEquals } from "../geometry/utils.mjs";
@@ -26,6 +26,13 @@ import { buildProjectionTransform } from "../styles/transform.mjs";
26
26
  import { eachAxis } from "../utils/each-axis.mjs";
27
27
  import { hasTransform, hasScale, has2DTranslate } from "../utils/has-transform.mjs";
28
28
  import { globalProjectionState } from "./state.mjs";
29
+ const metrics = {
30
+ type: "projectionFrame",
31
+ totalNodes: 0,
32
+ resolvedTargetDeltas: 0,
33
+ recalculatedProjection: 0
34
+ };
35
+ const isDebug = typeof window !== "undefined" && window.MotionDebug !== void 0;
29
36
  const transformAxes = ["", "X", "Y", "Z"];
30
37
  const hiddenVisibility = { visibility: "hidden" };
31
38
  const animationTarget = 1e3;
@@ -91,10 +98,16 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
91
98
  };
92
99
  this.updateProjection = () => {
93
100
  this.projectionUpdateScheduled = false;
101
+ if (isDebug) {
102
+ metrics.totalNodes = metrics.resolvedTargetDeltas = metrics.recalculatedProjection = 0;
103
+ }
94
104
  this.nodes.forEach(propagateDirtyNodes);
95
105
  this.nodes.forEach(resolveTargetDelta);
96
106
  this.nodes.forEach(calcProjection);
97
107
  this.nodes.forEach(cleanDirtyNodes);
108
+ if (isDebug) {
109
+ window.MotionDebug.record(metrics);
110
+ }
98
111
  };
99
112
  this.resolvedRelativeTargetAt = 0;
100
113
  this.hasProjected = false;
@@ -159,7 +172,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
159
172
  this.root.registerSharedNode(layoutId, this);
160
173
  }
161
174
  if (this.options.animate !== false && visualElement && (layoutId || layout)) {
162
- this.addEventListener("didUpdate", ({ delta, hasLayoutChanged, hasRelativeLayoutChanged, layout: newLayout }) => {
175
+ this.addEventListener("didUpdate", ({ delta, hasLayoutChanged, hasRelativeTargetChanged, layout: newLayout }) => {
163
176
  if (this.isTreeAnimationBlocked()) {
164
177
  this.target = void 0;
165
178
  this.relativeTarget = void 0;
@@ -167,9 +180,9 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
167
180
  }
168
181
  const layoutTransition = this.options.transition || visualElement.getDefaultTransition() || defaultLayoutTransition;
169
182
  const { onLayoutAnimationStart, onLayoutAnimationComplete } = visualElement.getProps();
170
- const hasTargetChanged = !this.targetLayout || !boxEqualsRounded(this.targetLayout, newLayout);
171
- const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeLayoutChanged;
172
- if (this.options.layoutRoot || this.resumeFrom || hasOnlyRelativeTargetChanged || hasLayoutChanged && (hasTargetChanged || !this.currentAnimation)) {
183
+ const targetChanged = !this.targetLayout || !boxEqualsRounded(this.targetLayout, newLayout) || hasRelativeTargetChanged;
184
+ const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeTargetChanged;
185
+ if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || hasOnlyRelativeTargetChanged || hasLayoutChanged && (targetChanged || !this.currentAnimation)) {
173
186
  if (this.resumeFrom) {
174
187
  this.resumingFrom = this.resumeFrom;
175
188
  this.resumingFrom.resumingFrom = void 0;
@@ -318,9 +331,6 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
318
331
  if (this.snapshot || !this.instance)
319
332
  return;
320
333
  this.snapshot = this.measure();
321
- if (this.snapshot && !calcLength(this.snapshot.measuredBox.x) && !calcLength(this.snapshot.measuredBox.y)) {
322
- this.snapshot = void 0;
323
- }
324
334
  }
325
335
  updateLayout() {
326
336
  if (!this.instance)
@@ -553,6 +563,9 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
553
563
  this.relativeParent = this.relativeTarget = void 0;
554
564
  }
555
565
  }
566
+ if (isDebug) {
567
+ metrics.resolvedTargetDeltas++;
568
+ }
556
569
  }
557
570
  getClosestProjectingParent() {
558
571
  if (!this.parent || hasScale(this.parent.latestValues) || has2DTranslate(this.parent.latestValues)) {
@@ -618,6 +631,9 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
618
631
  this.scheduleRender();
619
632
  this.notifyListeners("projectionUpdate", target);
620
633
  }
634
+ if (isDebug) {
635
+ metrics.recalculatedProjection++;
636
+ }
621
637
  }
622
638
  hide() {
623
639
  this.isVisible = false;
@@ -702,8 +718,6 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
702
718
  this.mixTargetDelta(latest);
703
719
  options.onUpdate && options.onUpdate(latest);
704
720
  },
705
- onStop: () => {
706
- },
707
721
  onComplete: () => {
708
722
  options.onComplete && options.onComplete();
709
723
  this.completeAnimation();
@@ -875,7 +889,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
875
889
  for (const key in scaleCorrectors) {
876
890
  if (valuesToRender[key] === void 0)
877
891
  continue;
878
- const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];
892
+ const { correct, applyTo } = scaleCorrectors[key];
879
893
  const corrected = styles.transform === "none" ? valuesToRender[key] : correct(valuesToRender[key], lead);
880
894
  if (applyTo) {
881
895
  const num = applyTo.length;
@@ -883,11 +897,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
883
897
  styles[applyTo[i]] = corrected;
884
898
  }
885
899
  } else {
886
- if (isCSSVariable) {
887
- this.options.visualElement.renderState.vars[key] = corrected;
888
- } else {
889
- styles[key] = corrected;
890
- }
900
+ styles[key] = corrected;
891
901
  }
892
902
  }
893
903
  if (this.options.layoutId) {
@@ -946,7 +956,7 @@ function notifyLayoutUpdate(node) {
946
956
  calcBoxDelta(visualDelta, layout, snapshot.layoutBox);
947
957
  }
948
958
  const hasLayoutChanged = !isDeltaZero(layoutDelta);
949
- let hasRelativeLayoutChanged = false;
959
+ let hasRelativeTargetChanged = false;
950
960
  if (!node.resumeFrom) {
951
961
  const relativeParent = node.getClosestProjectingParent();
952
962
  if (relativeParent && !relativeParent.resumeFrom) {
@@ -957,7 +967,7 @@ function notifyLayoutUpdate(node) {
957
967
  const relativeLayout = createBox();
958
968
  calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox);
959
969
  if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {
960
- hasRelativeLayoutChanged = true;
970
+ hasRelativeTargetChanged = true;
961
971
  }
962
972
  if (relativeParent.options.layoutRoot) {
963
973
  node.relativeTarget = relativeLayout;
@@ -973,7 +983,7 @@ function notifyLayoutUpdate(node) {
973
983
  delta: visualDelta,
974
984
  layoutDelta,
975
985
  hasLayoutChanged,
976
- hasRelativeLayoutChanged
986
+ hasRelativeTargetChanged
977
987
  });
978
988
  } else if (node.isLead()) {
979
989
  const { onExitComplete } = node.options;
@@ -982,6 +992,9 @@ function notifyLayoutUpdate(node) {
982
992
  node.options.transition = void 0;
983
993
  }
984
994
  function propagateDirtyNodes(node) {
995
+ if (isDebug) {
996
+ metrics.totalNodes++;
997
+ }
985
998
  if (!node.parent)
986
999
  return;
987
1000
  if (!node.isProjecting()) {
@@ -0,0 +1,8 @@
1
+ const scaleCorrectors = {};
2
+ function addScaleCorrector(correctors) {
3
+ Object.assign(scaleCorrectors, correctors);
4
+ }
5
+ export {
6
+ addScaleCorrector,
7
+ scaleCorrectors
8
+ };
@@ -67,8 +67,7 @@ class VisualElement {
67
67
  frame.render(this.render, false, true);
68
68
  }
69
69
  };
70
- const { latestValues, renderState, onUpdate } = visualState;
71
- this.onUpdate = onUpdate;
70
+ const { latestValues, renderState } = visualState;
72
71
  this.latestValues = latestValues;
73
72
  this.baseTarget = { ...latestValues };
74
73
  this.initialValues = props.initial ? { ...latestValues } : {};
@@ -116,6 +115,7 @@ class VisualElement {
116
115
  this.update(this.props, this.presenceContext);
117
116
  }
118
117
  unmount() {
118
+ visualElementStore.delete(this.current);
119
119
  this.projection && this.projection.unmount();
120
120
  cancelFrame(this.notifyUpdate);
121
121
  cancelFrame(this.render);
@@ -140,9 +140,6 @@ class VisualElement {
140
140
  this.valueSubscriptions.get(key)();
141
141
  }
142
142
  const valueIsTransform = transformProps.has(key);
143
- if (valueIsTransform && this.onBindTransform) {
144
- this.onBindTransform();
145
- }
146
143
  const removeOnChange = value.on("change", (latestValue) => {
147
144
  this.latestValues[key] = latestValue;
148
145
  this.props.onUpdate && frame.preRender(this.notifyUpdate);
@@ -236,7 +233,6 @@ class VisualElement {
236
233
  if (this.handleChildMotionValue) {
237
234
  this.handleChildMotionValue();
238
235
  }
239
- this.onUpdate && this.onUpdate(this);
240
236
  }
241
237
  getProps() {
242
238
  return this.props;
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { resolveElements } from "../../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/utils/resolve-elements.mjs";
1
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { resolveElements } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs";
3
3
  const resizeHandlers = /* @__PURE__ */ new WeakMap();
4
4
  let observer;
5
5
  function getElementSize(target, borderBoxSize) {
@@ -1,6 +1,6 @@
1
- import { supportsScrollTimeline } from "../../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs";
2
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
3
- import { noop } from "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
1
+ import { supportsScrollTimeline } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs";
2
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
3
+ import { noop } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
4
4
  import { observeTimeline } from "./observe.mjs";
5
5
  import { scrollInfo } from "./track.mjs";
6
6
  function scrollTimelineFallback({ source, container, axis = "y" }) {
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { progress } from "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
1
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
3
3
  import { velocityPerSecond } from "../../../utils/velocity-per-second.mjs";
4
4
  const maxElapsed = 50;
5
5
  const createAxisInfo = () => ({
@@ -1,4 +1,4 @@
1
- import { invariant } from "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
1
+ import { invariant } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
2
  import { isNumericalString } from "../../../utils/is-numerical-string.mjs";
3
3
  import { isCSSVariableToken } from "./is-css-variable.mjs";
4
4
  const splitCSSVariableRegex = (
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { resolveElements } from "../../../../../../../../motion-dom@12.0.0/external/motion-dom/dist/es/utils/resolve-elements.mjs";
1
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { resolveElements } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs";
3
3
  const thresholds = {
4
4
  some: 0,
5
5
  all: 1
@@ -13,7 +13,7 @@ function inView(elementOrSelector, onStart, { root, margin: rootMargin, amount =
13
13
  if (entry.isIntersecting === Boolean(onEnd))
14
14
  return;
15
15
  if (entry.isIntersecting) {
16
- const newOnEnd = onStart(entry.target, entry);
16
+ const newOnEnd = onStart(entry);
17
17
  if (typeof newOnEnd === "function") {
18
18
  activeIntersections.set(entry.target, newOnEnd);
19
19
  } else {
@@ -1,4 +1,3 @@
1
- import { frame } from "../../frameloop/frame.mjs";
2
1
  import { createBox } from "../../projection/geometry/models.mjs";
3
2
  import { DOMVisualElement } from "../dom/DOMVisualElement.mjs";
4
3
  import { camelToDash } from "../dom/utils/camel-to-dash.mjs";
@@ -7,7 +6,6 @@ import { transformProps } from "../html/utils/keys-transform.mjs";
7
6
  import { buildSVGAttrs } from "./utils/build-attrs.mjs";
8
7
  import { camelCaseAttributes } from "./utils/camel-case-attrs.mjs";
9
8
  import { isSVGTag } from "./utils/is-svg-tag.mjs";
10
- import { updateSVGDimensions } from "./utils/measure.mjs";
11
9
  import { renderSVG } from "./utils/render.mjs";
12
10
  import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
13
11
  class SVGVisualElement extends DOMVisualElement {
@@ -16,11 +14,6 @@ class SVGVisualElement extends DOMVisualElement {
16
14
  this.type = "svg";
17
15
  this.isSVGTag = false;
18
16
  this.measureInstanceViewportBox = createBox;
19
- this.updateDimensions = () => {
20
- if (this.current && !this.renderState.dimensions) {
21
- updateSVGDimensions(this.current, this.renderState);
22
- }
23
- };
24
17
  }
25
18
  getBaseTargetFromProps(props, key) {
26
19
  return props[key];
@@ -36,11 +29,6 @@ class SVGVisualElement extends DOMVisualElement {
36
29
  scrapeMotionValuesFromProps(props, prevProps, visualElement) {
37
30
  return scrapeMotionValuesFromProps(props, prevProps, visualElement);
38
31
  }
39
- onBindTransform() {
40
- if (this.current && !this.renderState.dimensions) {
41
- frame.postRender(this.updateDimensions);
42
- }
43
- }
44
32
  build(renderState, latestValues, props) {
45
33
  buildSVGAttrs(renderState, latestValues, this.isSVGTag, props.transformTemplate);
46
34
  }
@@ -8,7 +8,7 @@ function updateMotionValuesFromProps(element, next, prev) {
8
8
  if (isMotionValue(nextValue)) {
9
9
  element.addValue(key, nextValue);
10
10
  if (process.env.NODE_ENV === "development") {
11
- warnOnce(nextValue.version === "12.4.0", `Attempting to mix Motion versions ${nextValue.version} with 12.4.0 may not work as expected.`);
11
+ warnOnce(nextValue.version === "11.16.6", `Attempting to mix Motion versions ${nextValue.version} with 11.16.6 may not work as expected.`);
12
12
  }
13
13
  } else if (isMotionValue(prevValue)) {
14
14
  element.addValue(key, motionValue(nextValue, { owner: element }));
@@ -1,5 +1,5 @@
1
- import "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { secondsToMilliseconds } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { secondsToMilliseconds } from "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
3
3
  import { time } from "../frameloop/sync-time.mjs";
4
4
  import { frame, cancelFrame } from "../frameloop/frame.mjs";
5
5
  function delay(callback, timeout) {
@@ -1,6 +1,6 @@
1
- import { invariant } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
3
- import { progress } from "../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
1
+ import { invariant } from "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { progress } from "../../../../../../motion-utils@11.16.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.0.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { warning } from "../../../../../../../motion-utils@11.16.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.0.0/external/motion-utils/dist/es/errors.mjs";
4
+ import { warning } from "../../../../../../../motion-utils@11.16.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.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { progress } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
1
+ import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../motion-utils@11.16.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];
@@ -20,7 +20,7 @@ class MotionValue {
20
20
  * @internal
21
21
  */
22
22
  constructor(init, options = {}) {
23
- this.version = "12.4.0";
23
+ this.version = "11.16.6";
24
24
  this.canTrackVelocity = null;
25
25
  this.events = {};
26
26
  this.updateAndNotify = (v, render = true) => {
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { millisecondsToSeconds } from "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { millisecondsToSeconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
3
3
  import { calcGeneratorDuration, maxGeneratorDuration } from "./calc-duration.mjs";
4
4
  function createGeneratorEasing(options, scale = 100, createGenerator) {
5
5
  const generator = createGenerator({ ...options, keyframes: [0, scale] });
@@ -1,6 +1,6 @@
1
- import "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/noop.mjs";
3
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { noop } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs";
3
+ import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
4
4
  import { attachTimeline } from "./utils/attach-timeline.mjs";
5
5
  class NativeAnimationControls {
6
6
  constructor(animation) {
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { progress } from "../../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/progress.mjs";
1
+ import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
3
3
  const generateLinearEasing = (easing, duration, resolution = 10) => {
4
4
  let points = "";
5
5
  const numPoints = Math.max(Math.round(duration / resolution), 2);
@@ -1,25 +1,25 @@
1
1
  import { isDragActive } from "./drag/state/is-active.mjs";
2
2
  import { setupGesture } from "./utils/setup.mjs";
3
- function isValidHover(event) {
4
- return !(event.pointerType === "touch" || isDragActive());
3
+ function filterEvents(callback) {
4
+ return (event) => {
5
+ if (event.pointerType === "touch" || isDragActive())
6
+ return;
7
+ callback(event);
8
+ };
5
9
  }
6
10
  function hover(elementOrSelector, onHoverStart, options = {}) {
7
11
  const [elements, eventOptions, cancel] = setupGesture(elementOrSelector, options);
8
- const onPointerEnter = (enterEvent) => {
9
- if (!isValidHover(enterEvent))
10
- return;
12
+ const onPointerEnter = filterEvents((enterEvent) => {
11
13
  const { target } = enterEvent;
12
- const onHoverEnd = onHoverStart(target, enterEvent);
14
+ const onHoverEnd = onHoverStart(enterEvent);
13
15
  if (typeof onHoverEnd !== "function" || !target)
14
16
  return;
15
- const onPointerLeave = (leaveEvent) => {
16
- if (!isValidHover(leaveEvent))
17
- return;
17
+ const onPointerLeave = filterEvents((leaveEvent) => {
18
18
  onHoverEnd(leaveEvent);
19
19
  target.removeEventListener("pointerleave", onPointerLeave);
20
- };
20
+ });
21
21
  target.addEventListener("pointerleave", onPointerLeave, eventOptions);
22
- };
22
+ });
23
23
  elements.forEach((element) => {
24
24
  element.addEventListener("pointerenter", onPointerEnter, eventOptions);
25
25
  });
@@ -15,7 +15,7 @@ function press(elementOrSelector, onPressStart, options = {}) {
15
15
  if (!isValidPressEvent(startEvent) || isPressing.has(element))
16
16
  return;
17
17
  isPressing.add(element);
18
- const onPressEnd = onPressStart(element, startEvent);
18
+ const onPressEnd = onPressStart(startEvent);
19
19
  const onPointerEnd = (endEvent, success) => {
20
20
  window.removeEventListener("pointerup", onPointerUp);
21
21
  window.removeEventListener("pointercancel", onPointerCancel);
@@ -1,5 +1,5 @@
1
- import "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/errors.mjs";
2
- import { memo } from "../../../../../../../motion-utils@12.0.0/external/motion-utils/dist/es/memo.mjs";
1
+ import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { memo } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/memo.mjs";
3
3
  import { supportsFlags } from "./flags.mjs";
4
4
  function memoSupports(callback, supportsFlag) {
5
5
  const memoized = memo(callback);