motion-v 0.11.0-beta.6 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/README.md +90 -16
  2. package/dist/cjs/index.js +343 -198
  3. package/dist/es/animation/hooks/animation-controls.mjs +1 -1
  4. package/dist/es/animation/hooks/use-animate.mjs +1 -1
  5. package/dist/es/components/RowValue.d.ts +3 -1
  6. package/dist/es/components/animate-presence/use-pop-layout.mjs +1 -1
  7. package/dist/es/components/motion/Motion.d.ts +11 -1
  8. package/dist/es/components/motion/Motion.vue.mjs +36 -7
  9. package/dist/es/components/motion-config/MotionConfig.vue.mjs +4 -2
  10. package/dist/es/components/motion-config/types.d.ts +2 -0
  11. package/dist/es/components/reorder/Group.vue.mjs +8 -4
  12. package/dist/es/components/reorder/Item.d.ts +2 -2
  13. package/dist/es/components/reorder/Item.vue.mjs +8 -4
  14. package/dist/es/components/reorder/utils.mjs +1 -1
  15. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/index.mjs +3 -3
  16. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -2
  17. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  18. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +14 -11
  19. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +2 -2
  20. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +7 -7
  21. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  22. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +8 -8
  23. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  24. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +2 -2
  25. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +4 -3
  26. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +1 -1
  27. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -2
  28. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
  29. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  30. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +4 -4
  31. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +4 -4
  32. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +2 -2
  33. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/create.mjs +5 -5
  34. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  35. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/map.mjs +3 -3
  36. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/batcher.mjs +6 -18
  37. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/frame.mjs +2 -2
  38. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/index-legacy.mjs +1 -1
  39. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/order.mjs +17 -0
  40. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/render-step.mjs +8 -1
  41. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  42. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +22 -35
  43. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +14 -0
  44. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/VisualElement.mjs +6 -2
  45. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +2 -2
  46. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +3 -3
  47. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
  48. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  49. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +3 -3
  50. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +12 -0
  51. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/svg/utils/measure.mjs +15 -0
  52. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
  53. package/dist/es/external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/stats/buffer.mjs +7 -0
  54. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/delay.mjs +2 -2
  55. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/interpolate.mjs +3 -3
  56. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  57. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  58. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -2
  59. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/index.mjs +1 -1
  60. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +2 -2
  61. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +3 -3
  62. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +2 -2
  63. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/hover.mjs +11 -11
  64. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/press/index.mjs +74 -0
  65. package/dist/es/external/.pnpm/motion-dom@12.4.10/external/motion-dom/dist/es/gestures/utils/capture-pointer.mjs +12 -0
  66. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/resolve-elements.mjs +1 -1
  67. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/memo.mjs +2 -2
  68. package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +2 -2
  69. package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/memo.mjs +1 -0
  70. package/dist/es/external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/noop.mjs +4 -0
  71. package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/progress.mjs +1 -1
  72. package/dist/es/external/.pnpm/motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs +6 -0
  73. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  74. package/dist/es/features/gestures/drag/index.mjs +2 -2
  75. package/dist/es/features/gestures/focus/index.mjs +3 -3
  76. package/dist/es/features/gestures/focus/types.d.ts +7 -0
  77. package/dist/es/features/gestures/hover/index.mjs +7 -7
  78. package/dist/es/features/gestures/hover/types.d.ts +7 -0
  79. package/dist/es/features/gestures/in-view/index.mjs +6 -6
  80. package/dist/es/features/gestures/in-view/types.d.ts +7 -0
  81. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  82. package/dist/es/features/gestures/pan/index.mjs +3 -3
  83. package/dist/es/features/gestures/press/index.mjs +6 -6
  84. package/dist/es/features/gestures/press/types.d.ts +7 -0
  85. package/dist/es/features/layout/config.mjs +2 -2
  86. package/dist/es/features/layout/layout.mjs +2 -2
  87. package/dist/es/features/layout/projection.mjs +2 -2
  88. package/dist/es/features/svg.mjs +1 -1
  89. package/dist/es/index.mjs +38 -34
  90. package/dist/es/state/animate-updates.d.ts +1 -1
  91. package/dist/es/state/animate-updates.mjs +24 -16
  92. package/dist/es/state/create-visual-element.mjs +2 -2
  93. package/dist/es/state/motion-state.d.ts +10 -0
  94. package/dist/es/state/motion-state.mjs +25 -8
  95. package/dist/es/state/utils/is-variant-labels.mjs +1 -1
  96. package/dist/es/types/state.d.ts +1 -1
  97. package/dist/es/utils/use-animation-frame.mjs +1 -1
  98. package/dist/es/utils/use-in-view.mjs +1 -1
  99. package/dist/es/value/use-combine-values.mjs +2 -2
  100. package/dist/es/value/use-computed.mjs +1 -1
  101. package/dist/es/value/use-scroll.mjs +2 -2
  102. package/dist/es/value/use-spring.d.ts +2 -1
  103. package/dist/es/value/use-spring.mjs +12 -6
  104. package/dist/es/value/use-time.mjs +1 -1
  105. package/dist/es/value/use-transform.mjs +12 -4
  106. package/dist/es/value/use-velocity.mjs +2 -2
  107. package/dist/resolver/index.cjs +25 -0
  108. package/dist/resolver/index.d.cts +5 -0
  109. package/dist/resolver/index.d.mts +5 -0
  110. package/dist/resolver/index.mjs +23 -0
  111. package/package.json +17 -18
  112. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -6
  113. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -8
  114. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/index.mjs +0 -51
  115. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/noop.mjs +0 -4
  116. package/dist/es/external/.pnpm/motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs +0 -6
  117. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  118. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animate/single-value.mjs +0 -0
  119. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
  120. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  121. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  122. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  123. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  124. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  125. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
  126. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  127. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  128. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  129. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  130. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
  131. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  132. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  133. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  134. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +0 -0
  135. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  136. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  137. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  138. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  139. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  140. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  141. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  142. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  143. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  144. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  145. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  146. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  147. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  148. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  149. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  150. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  151. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  152. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
  153. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
  154. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  155. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +0 -0
  156. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  157. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  158. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  159. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  160. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  161. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  162. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  163. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  164. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  165. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  166. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
  167. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  168. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  169. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  170. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  171. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  172. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  173. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +0 -0
  174. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
  175. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  176. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  177. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
  178. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  179. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +0 -0
  180. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  181. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  182. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  183. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
  184. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
  185. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  186. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  187. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  188. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +0 -0
  189. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  190. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  191. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  192. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  193. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  194. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  195. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  196. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  197. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  198. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  199. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  200. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +0 -0
  201. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +0 -0
  202. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +0 -0
  203. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +0 -0
  204. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs +0 -0
  205. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  206. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  207. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  208. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  209. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/store.mjs +0 -0
  210. package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +1 -1
  211. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/setters.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/array.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/warn-once.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{framer-motion@11.16.6 → framer-motion@12.4.10}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/controls/Group.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  270. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  271. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
  272. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs +0 -0
  273. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs +0 -0
  274. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
  275. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
  276. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
  277. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
  278. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
  279. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
  280. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
  281. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/is-bezier-definition.mjs +0 -0
  282. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
  283. /package/dist/es/external/.pnpm/{motion-dom@11.16.4 → motion-dom@12.4.10}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
  284. /package/dist/es/external/.pnpm/{motion-utils@11.16.0 → motion-utils@12.4.10}/external/motion-utils/dist/es/errors.mjs +0 -0
@@ -1,6 +1,6 @@
1
1
  import { mountedStates } from "../../state/motion-state.mjs";
2
2
  import { invariant } from "hey-listen";
3
- import { setTarget } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/utils/setters.mjs";
3
+ import { setTarget } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/render/utils/setters.mjs";
4
4
  import { resolveVariant } from "../../state/utils.mjs";
5
5
  function stopAnimation(visualElement) {
6
6
  visualElement.values.forEach((value) => value.stop());
@@ -1,5 +1,5 @@
1
1
  import { ref, onUnmounted } from "vue";
2
- import { createScopedAnimate } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animate/index.mjs";
2
+ import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/animation/animate/index.mjs";
3
3
  function useAnimate() {
4
4
  const dom = ref(null);
5
5
  const domProxy = new Proxy(dom, {
@@ -7,7 +7,9 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
7
7
  attrs: any;
8
8
  slots: {};
9
9
  emit: {};
10
- }>) => import('vue').VNode & {
10
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { useMotionConfig } from "../motion-config/context.mjs";
2
- import { frame } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/frameloop/frame.mjs";
2
+ import { frame } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/frameloop/frame.mjs";
3
3
  function usePopLayout(props) {
4
4
  const styles = /* @__PURE__ */ new WeakMap();
5
5
  const config = useMotionConfig();
@@ -3,7 +3,15 @@ import { ElementType, Options, SVGAttributesWithMotionValues, SetMotionValueType
3
3
  export interface MotionProps<T extends ElementType = 'div', K = unknown> extends Options<K> {
4
4
  as?: T;
5
5
  asChild?: boolean;
6
+ hover?: Options['hover'];
7
+ press?: Options['press'];
8
+ inView?: Options['inView'];
9
+ focus?: Options['focus'];
6
10
  whileDrag?: Options['whileDrag'];
11
+ whileHover?: Options['whileHover'];
12
+ whilePress?: Options['whilePress'];
13
+ whileInView?: Options['whileInView'];
14
+ whileFocus?: Options['whileFocus'];
7
15
  }
8
16
  declare const _default: <T extends ElementType = "div", K = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
17
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>>, never>, never> & (Omit<SetMotionValueType<IntrinsicElementAttributes, keyof SVGAttributesWithMotionValues>[T], "asChild" | keyof Options<any>> & MotionProps<T, K>)> & import('vue').PublicProps;
@@ -13,7 +21,9 @@ declare const _default: <T extends ElementType = "div", K = unknown>(__VLS_props
13
21
  default?(_: {}): any;
14
22
  };
15
23
  emit: {};
16
- }>) => import('vue').VNode & {
24
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
25
+ [key: string]: any;
26
+ }> & {
17
27
  __ctx?: Awaited<typeof __VLS_setup>;
18
28
  };
19
29
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent, mergeDefaults, useAttrs, getCurrentInstance, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onBeforeUpdate, onUpdated, ref, openBlock, createBlock, unref, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, mergeDefaults, warn, useAttrs, getCurrentInstance, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onBeforeUpdate, onUpdated, ref, openBlock, createBlock, unref, withCtx, renderSlot } from "vue";
2
2
  import { injectMotion, injectLayoutGroup, provideMotion } from "../context.mjs";
3
3
  import { convertSvgStyleToAttributes, createStyles } from "../../state/style.mjs";
4
4
  import { Primitive } from "./Primitive.mjs";
@@ -17,7 +17,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  props: /* @__PURE__ */ mergeDefaults({
18
18
  as: {},
19
19
  asChild: { type: Boolean },
20
+ hover: {},
21
+ press: {},
22
+ inView: {},
23
+ focus: {},
20
24
  whileDrag: {},
25
+ whileHover: {},
26
+ whilePress: {},
27
+ whileInView: {},
28
+ whileFocus: {},
21
29
  custom: {},
22
30
  initial: { type: [String, Array, Object, Boolean] },
23
31
  animate: {},
@@ -41,15 +49,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
49
  onLayoutAnimationStart: { type: Function },
42
50
  onLayoutAnimationComplete: { type: Function },
43
51
  globalPressTarget: { type: Boolean },
44
- press: {},
45
52
  onPressStart: { type: Function },
46
53
  onPress: { type: Function },
47
54
  onPressCancel: { type: Function },
48
- hover: {},
49
55
  onHoverStart: { type: Function },
50
56
  onHoverEnd: { type: Function },
51
57
  inViewOptions: {},
52
- inView: {},
53
58
  onViewportEnter: { type: Function },
54
59
  onViewportLeave: { type: Function },
55
60
  drag: { type: [Boolean, String] },
@@ -72,7 +77,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
72
77
  onPanStart: { type: Function },
73
78
  onPan: { type: Function },
74
79
  onPanEnd: { type: Function },
75
- focus: {},
76
80
  onFocus: { type: Function },
77
81
  onBlur: { type: Function }
78
82
  }, {
@@ -90,7 +94,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
90
94
  dragElastic: 0.5,
91
95
  dragMomentum: true,
92
96
  whileDrag: void 0,
93
- crossfade: true
97
+ crossfade: true,
98
+ whileHover: ({ hover }) => {
99
+ if (process.env.NODE_ENV === "development" && hover) {
100
+ warn("hover is deprecated. Use whileHover instead.");
101
+ }
102
+ return hover;
103
+ },
104
+ whilePress: ({ press }) => {
105
+ if (process.env.NODE_ENV === "development" && press) {
106
+ warn("press is deprecated. Use whilePress instead.");
107
+ }
108
+ return press;
109
+ },
110
+ whileInView: ({ inView }) => {
111
+ if (process.env.NODE_ENV === "development" && inView) {
112
+ warn("inView is deprecated. Use whileInView instead.");
113
+ }
114
+ return inView;
115
+ },
116
+ whileFocus: ({ focus }) => {
117
+ if (process.env.NODE_ENV === "development" && focus) {
118
+ warn("focus is deprecated. Use whileFocus instead.");
119
+ }
120
+ return focus;
121
+ }
94
122
  }),
95
123
  setup(__props) {
96
124
  const props = __props;
@@ -112,6 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
112
140
  transition: props.transition ?? config.value.transition,
113
141
  layoutGroup,
114
142
  motionConfig: config.value,
143
+ inViewOptions: props.inViewOptions ?? config.value.inViewOptions,
115
144
  initial: animatePresenceContext.initial === false ? animatePresenceContext.initial : props.initial === true ? void 0 : props.initial
116
145
  };
117
146
  }
@@ -152,7 +181,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
152
181
  ...isSVG ? {} : state.visualElement.latestValues
153
182
  };
154
183
  if (isSVG) {
155
- const { attributes, style } = convertSvgStyleToAttributes(state.target);
184
+ const { attributes, style } = convertSvgStyleToAttributes(state.isMounted() ? state.target : state.baseTarget);
156
185
  Object.assign(attrsProps, attributes);
157
186
  Object.assign(styleProps, style);
158
187
  }
@@ -9,7 +9,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  props: {
10
10
  transition: {},
11
11
  reduceMotion: { default: defaultConfig.reduceMotion },
12
- nonce: {}
12
+ nonce: {},
13
+ inViewOptions: {}
13
14
  },
14
15
  setup(__props) {
15
16
  const props = __props;
@@ -17,7 +18,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
18
  const config = computed(() => ({
18
19
  transition: props.transition ?? parentConfig.value.transition,
19
20
  reduceMotion: props.reduceMotion ?? parentConfig.value.reduceMotion,
20
- nonce: props.nonce ?? parentConfig.value.nonce
21
+ nonce: props.nonce ?? parentConfig.value.nonce,
22
+ inViewOptions: props.inViewOptions ?? parentConfig.value.inViewOptions
21
23
  }));
22
24
  provideMotionConfig(config);
23
25
  return (_ctx, _cache) => {
@@ -9,6 +9,8 @@ export interface MotionConfigState {
9
9
  reduceMotion?: 'user' | 'never' | 'always';
10
10
  /** Custom nonce for CSP compliance with inline styles */
11
11
  nonce?: string;
12
+ /** Options for the inView prop */
13
+ inViewOptions?: Options['inViewOptions'];
12
14
  }
13
15
  /** Props interface matching the config state */
14
16
  export type MotionConfigProps = MotionConfigState;
@@ -15,7 +15,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  values: {},
16
16
  as: { default: "ul" },
17
17
  asChild: { type: Boolean },
18
+ hover: {},
19
+ press: {},
20
+ inView: {},
21
+ focus: {},
18
22
  whileDrag: {},
23
+ whileHover: {},
24
+ whilePress: {},
25
+ whileInView: {},
26
+ whileFocus: {},
19
27
  custom: {},
20
28
  initial: { type: [String, Array, Object, Boolean] },
21
29
  animate: {},
@@ -39,15 +47,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39
47
  onLayoutAnimationStart: {},
40
48
  onLayoutAnimationComplete: {},
41
49
  globalPressTarget: { type: Boolean },
42
- press: {},
43
50
  onPressStart: {},
44
51
  onPress: {},
45
52
  onPressCancel: {},
46
- hover: {},
47
53
  onHoverStart: {},
48
54
  onHoverEnd: {},
49
55
  inViewOptions: {},
50
- inView: {},
51
56
  onViewportEnter: {},
52
57
  onViewportLeave: {},
53
58
  drag: { type: [Boolean, String] },
@@ -70,7 +75,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
70
75
  onPanStart: {},
71
76
  onPan: {},
72
77
  onPanEnd: {},
73
- focus: {},
74
78
  onFocus: {},
75
79
  onBlur: {}
76
80
  },
@@ -53,13 +53,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
53
53
  crossfade: boolean;
54
54
  initial: import('../../types').VariantLabels | import('../../types').Variant | boolean;
55
55
  animate: import('../../types').VariantLabels | import('../../types').Variant | import('../../animation/types').AnimationControls;
56
- inView: import('../../types').VariantLabels | import('../../types').Variant;
57
- hover: import('../../types').VariantLabels | import('../../types').Variant;
58
56
  whileDrag: import('../../types').Options["whileDrag"];
59
57
  dragElastic: number;
60
58
  dragMomentum: boolean;
61
59
  dragListener: boolean;
62
60
  as: keyof import('vue').IntrinsicElementAttributes;
61
+ hover: import('../../types').Options["hover"];
62
+ inView: import('../../types').Options["inView"];
63
63
  }, {}>, {
64
64
  default?(_: {}): any;
65
65
  }>;
@@ -15,7 +15,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  layout: { type: [Boolean, String], default: true },
16
16
  as: { default: "li" },
17
17
  asChild: { type: Boolean },
18
+ hover: { default: void 0 },
19
+ press: {},
20
+ inView: { default: void 0 },
21
+ focus: {},
18
22
  whileDrag: { default: void 0 },
23
+ whileHover: {},
24
+ whilePress: {},
25
+ whileInView: {},
26
+ whileFocus: {},
19
27
  custom: {},
20
28
  initial: { type: [String, Array, Object, Boolean], default: void 0 },
21
29
  animate: { default: void 0 },
@@ -38,15 +46,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
46
  onLayoutAnimationStart: {},
39
47
  onLayoutAnimationComplete: {},
40
48
  globalPressTarget: { type: Boolean },
41
- press: {},
42
49
  onPressStart: {},
43
50
  onPress: {},
44
51
  onPressCancel: {},
45
- hover: { default: void 0 },
46
52
  onHoverStart: {},
47
53
  onHoverEnd: {},
48
54
  inViewOptions: {},
49
- inView: { default: void 0 },
50
55
  onViewportEnter: {},
51
56
  onViewportLeave: {},
52
57
  drag: { type: [Boolean, String] },
@@ -69,7 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
69
74
  onPanStart: {},
70
75
  onPan: {},
71
76
  onPanEnd: {},
72
- focus: {},
73
77
  onFocus: {},
74
78
  onBlur: {}
75
79
  },
@@ -1,5 +1,5 @@
1
1
  import { mixNumber } from "../../utils/mix/number.mjs";
2
- import { motionValue } from "../../external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/value/index.mjs";
2
+ import { motionValue } from "../../external/.pnpm/framer-motion@12.4.10/external/framer-motion/dist/es/value/index.mjs";
3
3
  import { isMotionValue } from "../../utils/motion-value.mjs";
4
4
  function compareMin(a, b) {
5
5
  return a.layout.min - b.layout.min;
@@ -1,9 +1,9 @@
1
- import { GroupPlaybackControls } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
- import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
1
+ import { GroupPlaybackControls } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
+ import "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
3
3
  import { animateSequence } from "./sequence.mjs";
4
4
  import { animateSubject } from "./subject.mjs";
5
5
  function isSequence(value) {
6
- return Array.isArray(value) && Array.isArray(value[0]);
6
+ return Array.isArray(value) && value.some(Array.isArray);
7
7
  }
8
8
  function createScopedAnimate(scope) {
9
9
  function scopedAnimate(subjectOrSequence, optionsOrKeyframes, options) {
@@ -1,5 +1,5 @@
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";
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";
3
3
  import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
4
4
  function resolveSubjects(subject, keyframes, scope, selectorCache) {
5
5
  if (typeof subject === "string" && isDOMKeyframes(keyframes)) {
@@ -1,4 +1,4 @@
1
- import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
1
+ import { invariant } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
2
  import { visualElementStore } from "../../render/store.mjs";
3
3
  import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
4
4
  import { animateTarget } from "../interfaces/visual-element-target.mjs";
@@ -1,10 +1,10 @@
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
- import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
5
- import { attachTimeline } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs";
6
- import { isWaapiSupportedEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
7
- import { supportsLinearEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
1
+ import "../../../../../../../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 { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
4
+ import { isGenerator } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
5
+ import { attachTimeline } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/attach-timeline.mjs";
6
+ import { isWaapiSupportedEasing } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
7
+ import { supportsLinearEasing } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
8
8
  import { anticipate } from "../../easing/anticipate.mjs";
9
9
  import { backInOut } from "../../easing/back.mjs";
10
10
  import { circInOut } from "../../easing/circ.mjs";
@@ -59,9 +59,8 @@ class AcceleratedAnimation extends BaseAnimation {
59
59
  this.resolver.scheduleResolve();
60
60
  }
61
61
  initPlayback(keyframes, finalKeyframe) {
62
- var _a;
63
62
  let { duration = 300, times, ease, type, motionValue, name, startTime } = this.options;
64
- if (!((_a = motionValue.owner) === null || _a === void 0 ? void 0 : _a.current)) {
63
+ if (!motionValue.owner || !motionValue.owner.current) {
65
64
  return false;
66
65
  }
67
66
  if (typeof ease === "string" && supportsLinearEasing() && isUnsupportedEase(ease)) {
@@ -232,11 +231,15 @@ class AcceleratedAnimation extends BaseAnimation {
232
231
  }
233
232
  static supports(options) {
234
233
  const { motionValue, name, repeatDelay, repeatType, damping, type } = options;
235
- return supportsWaapi() && name && acceleratedValues.has(name) && motionValue && motionValue.owner && motionValue.owner.current instanceof HTMLElement && /**
234
+ if (!motionValue || !motionValue.owner || !(motionValue.owner.current instanceof HTMLElement)) {
235
+ return false;
236
+ }
237
+ const { onUpdate, transformTemplate } = motionValue.owner.getProps();
238
+ return supportsWaapi() && name && acceleratedValues.has(name) && /**
236
239
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
237
240
  * no way to read the value from WAAPI every frame.
238
241
  */
239
- !motionValue.owner.getProps().onUpdate && !repeatDelay && repeatType !== "mirror" && damping !== 0 && type !== "inertia";
242
+ !onUpdate && !transformTemplate && !repeatDelay && repeatType !== "mirror" && damping !== 0 && type !== "inertia";
240
243
  }
241
244
  }
242
245
  export {
@@ -56,8 +56,8 @@ class BaseAnimation {
56
56
  const { name, type, velocity, delay, onComplete, onUpdate, isGenerator } = this.options;
57
57
  if (!isGenerator && !canAnimate(keyframes, name, type, velocity)) {
58
58
  if (!delay) {
59
- onUpdate === null || onUpdate === void 0 ? void 0 : onUpdate(getFinalKeyframe(keyframes, this.options, finalKeyframe));
60
- onComplete === null || onComplete === void 0 ? void 0 : onComplete();
59
+ onUpdate && onUpdate(getFinalKeyframe(keyframes, this.options, finalKeyframe));
60
+ onComplete && onComplete();
61
61
  this.resolveFinishedPromise();
62
62
  return;
63
63
  } else {
@@ -1,7 +1,7 @@
1
- import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
3
- import { calcGeneratorDuration } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
4
- import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
1
+ import { invariant } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
3
+ import { calcGeneratorDuration } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
4
+ import { isGenerator } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
5
5
  import { KeyframeResolver } from "../../render/utils/KeyframesResolver.mjs";
6
6
  import { clamp } from "../../utils/clamp.mjs";
7
7
  import { mix } from "../../utils/mix/index.mjs";
@@ -56,10 +56,10 @@ class MainThreadAnimation extends BaseAnimation {
56
56
  const generatorFactory = isGenerator(type) ? type : generators[type] || keyframes;
57
57
  let mapPercentToKeyframes;
58
58
  let mirroredGenerator;
59
+ if (process.env.NODE_ENV !== "production" && generatorFactory !== keyframes) {
60
+ invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`);
61
+ }
59
62
  if (generatorFactory !== keyframes && typeof keyframes$1[0] !== "number") {
60
- if (process.env.NODE_ENV !== "production") {
61
- invariant(keyframes$1.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`);
62
- }
63
63
  mapPercentToKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));
64
64
  keyframes$1 = [0, 100];
65
65
  }
@@ -1,5 +1,5 @@
1
- import { warning } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { isGenerator } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
1
+ import { warning } from "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { isGenerator } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
3
3
  import { isAnimatable } from "../../utils/is-animatable.mjs";
4
4
  function hasKeyframesChanged(keyframes) {
5
5
  const current = keyframes[0];
@@ -1,9 +1,9 @@
1
- import { invariant } from "../../../../../../../../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
- import { createGeneratorEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
4
- import { isGenerator } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
5
- import { NativeAnimationControls } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs";
6
- import { supportsLinearEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
1
+ import { invariant } from "../../../../../../../../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 { createGeneratorEasing } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
4
+ import { isGenerator } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
5
+ import { NativeAnimationControls } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs";
6
+ import { supportsLinearEasing } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/utils/supports/linear-easing.mjs";
7
7
  import { startWaapiAnimation } from "./index.mjs";
8
8
  import { browserNumberValueTypes } from "../../../render/dom/value-types/number-browser.mjs";
9
9
  import { getFinalKeyframe } from "./utils/get-final-keyframe.mjs";
@@ -61,8 +61,8 @@ class NativeAnimation extends NativeAnimationControls {
61
61
  this.options = options;
62
62
  this.updateFinishedPromise();
63
63
  this.removeAnimation = () => {
64
- var _a;
65
- return (_a = state.get(element)) === null || _a === void 0 ? void 0 : _a.delete(valueName);
64
+ const elementState = state.get(element);
65
+ elementState && elementState.delete(valueName);
66
66
  };
67
67
  };
68
68
  if (!supportsWaapi()) {
@@ -1,7 +1,7 @@
1
- import { invariant } from "../../../../../../../../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
- import { getValueTransition } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
4
- import { resolveElements } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs";
1
+ import { invariant } from "../../../../../../../../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 { getValueTransition } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
4
+ import { resolveElements } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/utils/resolve-elements.mjs";
5
5
  import { NativeAnimation } from "./NativeAnimation.mjs";
6
6
  function animateElements(elementOrSelector, keyframes, options, scope) {
7
7
  const elements = resolveElements(elementOrSelector, scope);
@@ -1,5 +1,5 @@
1
- import { GroupPlaybackControls } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
- import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
1
+ import { GroupPlaybackControls } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
+ import "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
3
3
  import { animateElements } from "./animate-elements.mjs";
4
4
  const createScopedWaapiAnimate = (scope) => {
5
5
  function scopedAnimate(elementOrSelector, keyframes, options) {
@@ -1,5 +1,5 @@
1
- import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { mapEasingToNativeEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
1
+ import "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { mapEasingToNativeEasing } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/easing.mjs";
3
3
  function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = "loop", ease = "easeInOut", times } = {}) {
4
4
  const keyframeOptions = { [valueName]: keyframes };
5
5
  if (times)
@@ -7,7 +7,7 @@ function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duratio
7
7
  const easing = mapEasingToNativeEasing(ease, duration);
8
8
  if (Array.isArray(easing))
9
9
  keyframeOptions.easing = easing;
10
- return element.animate(keyframeOptions, {
10
+ const animation = element.animate(keyframeOptions, {
11
11
  delay,
12
12
  duration,
13
13
  easing: !Array.isArray(easing) ? easing : "linear",
@@ -15,6 +15,7 @@ function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duratio
15
15
  iterations: repeat + 1,
16
16
  direction: repeatType === "reverse" ? "alternate" : "normal"
17
17
  });
18
+ return animation;
18
19
  }
19
20
  export {
20
21
  startWaapiAnimation
@@ -1,5 +1,5 @@
1
1
  function setCSSVar(element, name, value) {
2
- element.style.setProperty(`--${name}`, value);
2
+ element.style.setProperty(name, value);
3
3
  }
4
4
  function setStyle(element, name, value) {
5
5
  element.style[name] = value;
@@ -1,5 +1,5 @@
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";
1
+ import "../../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { memo } from "../../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/memo.mjs";
3
3
  const supportsPartialKeyframes = /* @__PURE__ */ memo(() => {
4
4
  try {
5
5
  document.createElement("div").animate({ opacity: [1] });
@@ -0,0 +1,6 @@
1
+ import "../../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { memo } from "../../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/memo.mjs";
3
+ const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
4
+ export {
5
+ supportsWaapi
6
+ };
@@ -1,5 +1,5 @@
1
- import { warning } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { secondsToMilliseconds, millisecondsToSeconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import { warning } from "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { secondsToMilliseconds, millisecondsToSeconds } from "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
3
3
  import { clamp } from "../../../utils/clamp.mjs";
4
4
  import { springDefaults } from "./defaults.mjs";
5
5
  const safeMin = 1e-3;
@@ -1,7 +1,7 @@
1
- import "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
3
- import { calcGeneratorDuration, maxGeneratorDuration } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
4
- import { generateLinearEasing } from "../../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs";
1
+ import "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { millisecondsToSeconds, secondsToMilliseconds } from "../../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
3
+ import { calcGeneratorDuration, maxGeneratorDuration } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs";
4
+ import { generateLinearEasing } from "../../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs";
5
5
  import { clamp } from "../../../utils/clamp.mjs";
6
6
  import { calcGeneratorVelocity } from "../utils/velocity.mjs";
7
7
  import { springDefaults } from "./defaults.mjs";
@@ -1,7 +1,7 @@
1
- import { GroupPlaybackControls } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
- import { getValueTransition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
3
- import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
4
- import { secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import { GroupPlaybackControls } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/controls/Group.mjs";
2
+ import { getValueTransition } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
3
+ import "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
4
+ import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
5
5
  import { frame } from "../../frameloop/frame.mjs";
6
6
  import { AcceleratedAnimation } from "../animators/AcceleratedAnimation.mjs";
7
7
  import { MainThreadAnimation } from "../animators/MainThreadAnimation.mjs";
@@ -1,5 +1,5 @@
1
- import "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
- import { getValueTransition } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
1
+ import "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/errors.mjs";
2
+ import { getValueTransition } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
3
3
  import { positionalKeys } from "../../render/html/utils/keys-position.mjs";
4
4
  import { setTarget } from "../../render/utils/setters.mjs";
5
5
  import { addValueToWillChange } from "../../value/use-will-change/add-will-change.mjs";
@@ -1,8 +1,8 @@
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";
1
+ import { invariant } from "../../../../../../../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";
3
+ import { secondsToMilliseconds } from "../../../../../../../motion-utils@12.4.10/external/motion-utils/dist/es/time-conversion.mjs";
4
+ import { createGeneratorEasing } from "../../../../../../../motion-dom@12.4.10/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
5
+ import { isGenerator } from "../../../../../../../motion-dom@12.4.10/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";