motion-v 0.6.0 → 0.6.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 (277) hide show
  1. package/dist/cjs/index.js +1622 -1431
  2. package/dist/es/animation/use-animate.mjs +1 -1
  3. package/dist/es/components/LayoutGroup.vue.mjs +2 -5
  4. package/dist/es/components/Motion.vue.mjs +17 -5
  5. package/dist/es/components/Primitive.mjs +14 -6
  6. package/dist/es/components/animate-presence/AnimatePresence.vue.mjs +7 -11
  7. package/dist/es/components/animate-presence/use-pop-layout.mjs +7 -4
  8. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/index.mjs +2 -1
  9. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +2 -1
  10. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/subject.mjs +1 -1
  11. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/AcceleratedAnimation.mjs +7 -7
  12. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/MainThreadAnimation.mjs +8 -8
  13. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/can-animate.mjs +2 -2
  14. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/NativeAnimation.mjs +29 -89
  15. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +4 -4
  16. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +2 -1
  17. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/index.mjs +2 -1
  18. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-partial-keyframes.mjs +2 -1
  19. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +6 -0
  20. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/find.mjs +2 -2
  21. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/index.mjs +7 -6
  22. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +6 -5
  23. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +6 -5
  24. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/create.mjs +8 -8
  25. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
  26. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/cubic-bezier.mjs +2 -2
  27. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/map.mjs +6 -6
  28. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/frame.mjs +2 -2
  29. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
  30. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +3 -3
  31. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +15 -15
  32. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/VisualElement.mjs +12 -12
  33. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMKeyframesResolver.mjs +4 -3
  34. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +2 -1
  35. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +4 -4
  36. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -1
  37. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +6 -5
  38. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/css-variables-conversion.mjs +1 -1
  39. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/unit-conversion.mjs +1 -14
  40. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +3 -2
  41. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +6 -6
  42. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +2 -2
  43. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +1 -1
  44. package/dist/es/external/.pnpm/framer-motion@11.16.6/external/framer-motion/dist/es/render/html/utils/keys-position.mjs +13 -0
  45. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +6 -6
  46. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +1 -1
  47. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/motion-values.mjs +1 -1
  48. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/delay.mjs +2 -1
  49. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/interpolate.mjs +8 -5
  50. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/color.mjs +1 -1
  51. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/complex.mjs +1 -1
  52. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/fill.mjs +2 -1
  53. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/index.mjs +2 -2
  54. package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/GroupPlaybackControls.mjs → motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/BaseGroup.mjs} +6 -6
  55. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/animation/controls/Group.mjs +9 -0
  56. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +17 -0
  57. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/NativeAnimationControls.mjs +81 -0
  58. package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi → motion-dom@11.16.4/external/motion-dom/dist/es/animation/waapi/utils}/easing.mjs +3 -3
  59. package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators → motion-dom@11.16.4/external/motion-dom/dist/es/animation}/waapi/utils/linear.mjs +2 -1
  60. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +11 -0
  61. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/hover.mjs +30 -0
  62. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/index.mjs +51 -0
  63. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +13 -0
  64. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +32 -0
  65. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/press/utils/state.mjs +4 -0
  66. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +12 -0
  67. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +10 -0
  68. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/gestures/utils/setup.mjs +15 -0
  69. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/utils/resolve-elements.mjs +17 -0
  70. package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-linear-easing.mjs → motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/linear-easing.mjs} +1 -1
  71. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/memo.mjs +13 -0
  72. package/dist/es/external/.pnpm/motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/scroll-timeline.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/hover/index.mjs +3 -2
  76. package/dist/es/features/gestures/in-view/index.mjs +2 -2
  77. package/dist/es/features/gestures/pan/PanSession.mjs +3 -3
  78. package/dist/es/features/gestures/pan/index.mjs +3 -3
  79. package/dist/es/features/gestures/press/index.mjs +3 -2
  80. package/dist/es/features/layout/config.mjs +2 -2
  81. package/dist/es/features/layout/layout.mjs +2 -2
  82. package/dist/es/features/layout/projection.mjs +2 -2
  83. package/dist/es/features/svg.mjs +1 -1
  84. package/dist/es/index.mjs +33 -33
  85. package/dist/es/state/animate-variants-children.mjs +1 -1
  86. package/dist/es/state/create-visual-element.mjs +2 -2
  87. package/dist/es/state/motion-state.mjs +20 -14
  88. package/dist/es/utils/use-animation-frame.mjs +1 -1
  89. package/dist/es/utils/use-in-view.mjs +1 -1
  90. package/dist/es/value/use-combine-values.mjs +2 -2
  91. package/dist/es/value/use-computed.mjs +1 -1
  92. package/dist/es/value/use-scroll.mjs +2 -2
  93. package/dist/es/value/use-spring.mjs +3 -3
  94. package/dist/es/value/use-time.mjs +1 -1
  95. package/dist/es/value/use-transform.mjs +1 -1
  96. package/dist/es/value/use-velocity.mjs +2 -2
  97. package/dist/src/animation/types.d.ts +0 -12
  98. package/dist/src/components/LayoutGroup.d.ts +1 -10
  99. package/dist/src/components/Motion.d.ts +1 -1
  100. package/dist/src/components/Primitive.d.ts +14 -5
  101. package/dist/src/components/Slot.d.ts +1 -1
  102. package/dist/src/components/animate-presence/AnimatePresence.d.ts +2 -27
  103. package/dist/src/components/animate-presence/use-pop-layout.d.ts +1 -0
  104. package/dist/src/components/motion-config/MotionConfig.d.ts +2 -23
  105. package/dist/src/features/gestures/base.d.ts +0 -2
  106. package/dist/src/state/motion-state.d.ts +2 -2
  107. package/dist/src/state/utils.d.ts +2 -2
  108. package/dist/src/types/index.d.ts +0 -1
  109. package/dist/src/types/state.d.ts +4 -5
  110. package/dist/src/types/transform.d.ts +0 -24
  111. package/dist/src/utils/use-dom-ref.d.ts +2 -1
  112. package/dist/src/utils/use-in-view.d.ts +1 -1
  113. package/package.json +8 -4
  114. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/memo-supports.mjs +0 -12
  115. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -5
  116. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/easing/utils/create-generator-easing.mjs +0 -14
  117. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/render/dom/scroll/supports.mjs +0 -5
  118. package/dist/es/state/schedule.mjs +0 -6
  119. package/dist/src/animation/animation-controls.d.ts +0 -7
  120. package/dist/src/state/schedule.d.ts +0 -3
  121. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/sequence.mjs +0 -0
  122. package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animate/single-value.mjs +1 -1
  123. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/BaseAnimation.mjs +0 -0
  124. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/drivers/driver-frameloop.mjs +0 -0
  125. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/utils/accelerated-values.mjs +0 -0
  126. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  127. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/animators/waapi/utils/style.mjs +0 -0
  128. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/inertia.mjs +0 -0
  129. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/keyframes.mjs +0 -0
  130. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/spring/defaults.mjs +0 -0
  131. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/generators/utils/velocity.mjs +0 -0
  132. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  133. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  134. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  135. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  136. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +0 -0
  137. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  138. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  139. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +0 -0
  140. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animatable.mjs +0 -0
  141. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  142. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  143. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  144. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-none.mjs +0 -0
  145. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  146. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/animation/utils/stagger.mjs +0 -0
  147. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/anticipate.mjs +0 -0
  148. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/back.mjs +0 -0
  149. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/circ.mjs +0 -0
  150. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/ease.mjs +0 -0
  151. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/mirror.mjs +0 -0
  152. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/modifiers/reverse.mjs +0 -0
  153. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/steps.mjs +0 -0
  154. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  155. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/easing/utils/is-easing-array.mjs +0 -0
  156. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  157. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/batcher.mjs +0 -0
  158. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/index-legacy.mjs +0 -0
  159. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/microtask.mjs +0 -0
  160. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/render-step.mjs +0 -0
  161. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/frameloop/sync-time.mjs +0 -0
  162. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  163. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  164. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  165. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +0 -0
  166. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +0 -0
  167. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +0 -0
  168. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  169. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  170. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  171. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  172. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  173. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/shared/stack.mjs +0 -0
  174. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +0 -0
  175. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +0 -0
  176. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +0 -0
  177. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  178. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  179. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  180. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  181. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +0 -0
  182. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  183. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  184. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/observe.mjs +0 -0
  185. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  186. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +0 -0
  187. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  188. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  189. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +0 -0
  190. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +0 -0
  191. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  192. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-css-variable.mjs +0 -0
  193. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -0
  194. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/animatable-none.mjs +0 -0
  195. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/defaults.mjs +0 -0
  196. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/dimensions.mjs +0 -0
  197. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/find.mjs +0 -0
  198. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/get-as-type.mjs +0 -0
  199. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number-browser.mjs +0 -0
  200. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/number.mjs +0 -0
  201. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/test.mjs +0 -0
  202. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/transform.mjs +0 -0
  203. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-auto.mjs +0 -0
  204. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/dom/value-types/type-int.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/render/html/utils/transform.mjs → framer-motion@11.16.6/external/framer-motion/dist/es/render/html/utils/keys-transform.mjs} +0 -0
  206. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/make-none-animatable.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/store.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/path.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/svg/utils/transform-origin.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/KeyframesResolver.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/setters.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/GlobalConfig.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/array.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/clamp.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/hsla-to-rgba.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-numerical-string.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/is-zero-value-string.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/immediate.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/index.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/number.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/mix/visibility.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/default.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/offsets/time.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/pipe.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/resolve-value.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/subscription-manager.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/transform.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/velocity-per-second.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/warn-once.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/utils/wrap.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hex.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/hsla.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/index.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/rgba.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/color/utils.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/filter.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/complex/index.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/index.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/numbers/units.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/color-regex.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/float-regex.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/is-nullish.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/sanitize.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/use-will-change/is.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/is-motion-value.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{framer-motion@11.15.0 → framer-motion@11.16.6}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion → motion-dom@11.16.4/external/motion-dom}/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion → motion-dom@11.16.4/external/motion-dom}/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion → motion-dom@11.16.4/external/motion-dom}/dist/es/animation/utils/get-value-transition.mjs +0 -0
  270. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators → motion-dom@11.16.4/external/motion-dom/dist/es/animation}/waapi/utils/attach-timeline.mjs +0 -0
  271. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/easing → motion-dom@11.16.4/external/motion-dom/dist/es}/utils/is-bezier-definition.mjs +0 -0
  272. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-flags.mjs → motion-dom@11.16.4/external/motion-dom/dist/es/utils/supports/flags.mjs} +0 -0
  273. /package/dist/es/external/.pnpm/{motion-utils@11.14.3 → motion-utils@11.16.0}/external/motion-utils/dist/es/errors.mjs +0 -0
  274. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/utils → motion-utils@11.16.0/external/motion-utils/dist/es}/memo.mjs +0 -0
  275. /package/dist/es/external/.pnpm/{motion-utils@11.14.3 → motion-utils@11.16.0}/external/motion-utils/dist/es/noop.mjs +0 -0
  276. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/utils → motion-utils@11.16.0/external/motion-utils/dist/es}/progress.mjs +0 -0
  277. /package/dist/es/external/.pnpm/{framer-motion@11.15.0/external/framer-motion/dist/es/utils → motion-utils@11.16.0/external/motion-utils/dist/es}/time-conversion.mjs +0 -0
@@ -1,11 +1,11 @@
1
- import { invariant } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.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
+ import { anticipate } from "../anticipate.mjs";
5
+ import { backIn, backInOut, backOut } from "../back.mjs";
6
+ import { circIn, circInOut, circOut } from "../circ.mjs";
3
7
  import { cubicBezier } from "../cubic-bezier.mjs";
4
8
  import { easeIn, easeInOut, easeOut } from "../ease.mjs";
5
- import { circIn, circInOut, circOut } from "../circ.mjs";
6
- import { backIn, backInOut, backOut } from "../back.mjs";
7
- import { anticipate } from "../anticipate.mjs";
8
- import { isBezierDefinition } from "./is-bezier-definition.mjs";
9
9
  const easingLookup = {
10
10
  linear: noop,
11
11
  easeIn,
@@ -1,5 +1,5 @@
1
- import "../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
2
- import { noop } from "../../../../../../motion-utils@11.14.3/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,5 +1,5 @@
1
1
  import { scaleCorrectors } from "../../projection/styles/scale-correction.mjs";
2
- import { transformProps } from "../../render/html/utils/transform.mjs";
2
+ import { transformProps } from "../../render/html/utils/keys-transform.mjs";
3
3
  function isForcedMotionValue(key, { layout, layoutId }) {
4
4
  return transformProps.has(key) || key.startsWith("origin") || (layout || layoutId !== void 0) && (!!scaleCorrectors[key] || key === "opacity");
5
5
  }
@@ -1,8 +1,8 @@
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";
1
4
  import { circOut } from "../../easing/circ.mjs";
2
- import { progress } from "../../utils/progress.mjs";
3
5
  import { mixNumber } from "../../utils/mix/number.mjs";
4
- import "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
5
- import { noop } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.mjs";
6
6
  import { percent, px } from "../../value/types/numbers/units.mjs";
7
7
  const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
8
8
  const numBorders = borders.length;
@@ -1,31 +1,31 @@
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
+ import { animateSingleValue } from "../../animation/animate/single-value.mjs";
5
+ import { getOptimisedAppearId } from "../../animation/optimized-appear/get-appear-id.mjs";
6
+ import { cancelFrame, frameData, frameSteps, frame } from "../../frameloop/frame.mjs";
7
+ import { microtask } from "../../frameloop/microtask.mjs";
8
+ import { time } from "../../frameloop/sync-time.mjs";
9
+ import { isSVGElement } from "../../render/dom/utils/is-svg-element.mjs";
10
+ import { FlatTree } from "../../render/utils/flat-tree.mjs";
11
+ import { clamp } from "../../utils/clamp.mjs";
12
+ import { delay } from "../../utils/delay.mjs";
13
+ import { mixNumber } from "../../utils/mix/number.mjs";
1
14
  import { SubscriptionManager } from "../../utils/subscription-manager.mjs";
15
+ import { resolveMotionValue } from "../../value/utils/resolve-motion-value.mjs";
2
16
  import { mixValues } from "../animation/mix-values.mjs";
3
17
  import { copyBoxInto, copyAxisDeltaInto } from "../geometry/copy.mjs";
4
18
  import { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from "../geometry/delta-apply.mjs";
5
19
  import { calcRelativePosition, calcRelativeBox, calcBoxDelta, calcLength, isNear } from "../geometry/delta-calc.mjs";
6
20
  import { removeBoxTransforms } from "../geometry/delta-remove.mjs";
7
- import { getValueTransition } from "../../animation/utils/get-value-transition.mjs";
21
+ import { createBox, createDelta } from "../geometry/models.mjs";
8
22
  import { boxEqualsRounded, isDeltaZero, axisDeltaEquals, aspectRatio, boxEquals } from "../geometry/utils.mjs";
9
23
  import { NodeStack } from "../shared/stack.mjs";
10
24
  import { scaleCorrectors } from "../styles/scale-correction.mjs";
11
25
  import { buildProjectionTransform } from "../styles/transform.mjs";
12
26
  import { eachAxis } from "../utils/each-axis.mjs";
13
27
  import { hasTransform, hasScale, has2DTranslate } from "../utils/has-transform.mjs";
14
- import { FlatTree } from "../../render/utils/flat-tree.mjs";
15
- import { resolveMotionValue } from "../../value/utils/resolve-motion-value.mjs";
16
28
  import { globalProjectionState } from "./state.mjs";
17
- import { delay } from "../../utils/delay.mjs";
18
- import { mixNumber } from "../../utils/mix/number.mjs";
19
- import { isSVGElement } from "../../render/dom/utils/is-svg-element.mjs";
20
- import { animateSingleValue } from "../../animation/animate/single-value.mjs";
21
- import { clamp } from "../../utils/clamp.mjs";
22
- import { cancelFrame, frameData, frameSteps, frame } from "../../frameloop/frame.mjs";
23
- import "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
24
- import { noop } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.mjs";
25
- import { time } from "../../frameloop/sync-time.mjs";
26
- import { microtask } from "../../frameloop/microtask.mjs";
27
- import { getOptimisedAppearId } from "../../animation/optimized-appear/get-appear-id.mjs";
28
- import { createBox, createDelta } from "../geometry/models.mjs";
29
29
  const metrics = {
30
30
  type: "projectionFrame",
31
31
  totalNodes: 0,
@@ -1,23 +1,23 @@
1
+ import { time } from "../frameloop/sync-time.mjs";
2
+ import { featureDefinitions } from "../motion/features/definitions.mjs";
3
+ import { createBox } from "../projection/geometry/models.mjs";
4
+ import { isNumericalString } from "../utils/is-numerical-string.mjs";
5
+ import { isZeroValueString } from "../utils/is-zero-value-string.mjs";
1
6
  import { initPrefersReducedMotion } from "../utils/reduced-motion/index.mjs";
2
7
  import { hasReducedMotionListener, prefersReducedMotion } from "../utils/reduced-motion/state.mjs";
3
8
  import { SubscriptionManager } from "../utils/subscription-manager.mjs";
9
+ import { warnOnce } from "../utils/warn-once.mjs";
4
10
  import { motionValue } from "../value/index.mjs";
11
+ import { complex } from "../value/types/complex/index.mjs";
5
12
  import { isMotionValue } from "../value/utils/is-motion-value.mjs";
6
- import { transformProps } from "./html/utils/transform.mjs";
13
+ import { getAnimatableNone } from "./dom/value-types/animatable-none.mjs";
14
+ import { findValueType } from "./dom/value-types/find.mjs";
15
+ import { transformProps } from "./html/utils/keys-transform.mjs";
16
+ import { visualElementStore } from "./store.mjs";
7
17
  import { isControllingVariants, isVariantNode } from "./utils/is-controlling-variants.mjs";
18
+ import { KeyframeResolver } from "./utils/KeyframesResolver.mjs";
8
19
  import { updateMotionValuesFromProps } from "./utils/motion-values.mjs";
9
20
  import { resolveVariantFromProps } from "./utils/resolve-variants.mjs";
10
- import { warnOnce } from "../utils/warn-once.mjs";
11
- import { featureDefinitions } from "../motion/features/definitions.mjs";
12
- import { visualElementStore } from "./store.mjs";
13
- import { KeyframeResolver } from "./utils/KeyframesResolver.mjs";
14
- import { isNumericalString } from "../utils/is-numerical-string.mjs";
15
- import { isZeroValueString } from "../utils/is-zero-value-string.mjs";
16
- import { findValueType } from "./dom/value-types/find.mjs";
17
- import { complex } from "../value/types/complex/index.mjs";
18
- import { getAnimatableNone } from "./dom/value-types/animatable-none.mjs";
19
- import { createBox } from "../projection/geometry/models.mjs";
20
- import { time } from "../frameloop/sync-time.mjs";
21
21
  import { frame, cancelFrame } from "../frameloop/frame.mjs";
22
22
  const propEventHandlers = [
23
23
  "AnimationStart",
@@ -1,10 +1,11 @@
1
1
  import { isNone } from "../../animation/utils/is-none.mjs";
2
+ import { positionalKeys } from "../html/utils/keys-position.mjs";
3
+ import { makeNoneKeyframesAnimatable } from "../html/utils/make-none-animatable.mjs";
4
+ import { KeyframeResolver } from "../utils/KeyframesResolver.mjs";
2
5
  import { getVariableValue } from "./utils/css-variables-conversion.mjs";
3
6
  import { isCSSVariableToken } from "./utils/is-css-variable.mjs";
4
- import { positionalKeys, isNumOrPxType, positionalValues } from "./utils/unit-conversion.mjs";
7
+ import { isNumOrPxType, positionalValues } from "./utils/unit-conversion.mjs";
5
8
  import { findDimensionValueType } from "./value-types/dimensions.mjs";
6
- import { KeyframeResolver } from "../utils/KeyframesResolver.mjs";
7
- import { makeNoneKeyframesAnimatable } from "../html/utils/make-none-animatable.mjs";
8
9
  class DOMKeyframesResolver extends KeyframeResolver {
9
10
  constructor(unresolvedKeyframes, onComplete, name, motionValue, element) {
10
11
  super(unresolvedKeyframes, onComplete, name, motionValue, element, true);
@@ -1,4 +1,5 @@
1
- import { resolveElements } from "motion-dom";
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";
2
3
  const resizeHandlers = /* @__PURE__ */ new WeakMap();
3
4
  let observer;
4
5
  function getElementSize(target, borderBoxSize) {
@@ -1,8 +1,8 @@
1
- import { scrollInfo } from "./track.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";
2
4
  import { observeTimeline } from "./observe.mjs";
3
- import { supportsScrollTimeline } from "./supports.mjs";
4
- import "../../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
5
- import { noop } from "../../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.mjs";
5
+ import { scrollInfo } from "./track.mjs";
6
6
  function scrollTimelineFallback({ source, container, axis = "y" }) {
7
7
  if (source)
8
8
  container = source;
@@ -1,4 +1,5 @@
1
- import { progress } from "../../../utils/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";
2
3
  import { velocityPerSecond } from "../../../utils/velocity-per-second.mjs";
3
4
  const maxElapsed = 50;
4
5
  const createAxisInfo = () => ({
@@ -1,8 +1,9 @@
1
- import { calcInset } from "./inset.mjs";
2
- import { ScrollOffset } from "./presets.mjs";
3
- import { resolveOffset } from "./offset.mjs";
1
+ import { clamp } from "../../../../utils/clamp.mjs";
4
2
  import { interpolate } from "../../../../utils/interpolate.mjs";
5
3
  import { defaultOffset } from "../../../../utils/offsets/default.mjs";
4
+ import { calcInset } from "./inset.mjs";
5
+ import { resolveOffset } from "./offset.mjs";
6
+ import { ScrollOffset } from "./presets.mjs";
6
7
  const point = { x: 0, y: 0 };
7
8
  function getTargetSize(target) {
8
9
  return "getBBox" in target && target.tagName !== "svg" ? target.getBBox() : { width: target.clientWidth, height: target.clientHeight };
@@ -28,10 +29,10 @@ function resolveOffsets(container, info, options) {
28
29
  info[axis].offset[i] = offset;
29
30
  }
30
31
  if (hasChanged) {
31
- info[axis].interpolate = interpolate(info[axis].offset, defaultOffset(offsetDefinition));
32
+ info[axis].interpolate = interpolate(info[axis].offset, defaultOffset(offsetDefinition), { clamp: false });
32
33
  info[axis].interpolatorOffsets = [...info[axis].offset];
33
34
  }
34
- info[axis].progress = info[axis].interpolate(info[axis].current);
35
+ info[axis].progress = clamp(0, 1, info[axis].interpolate(info[axis].current));
35
36
  }
36
37
  export {
37
38
  resolveOffsets
@@ -1,4 +1,4 @@
1
- import { invariant } from "../../../../../../../../motion-utils@11.14.3/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,18 +1,6 @@
1
- import { transformPropOrder } from "../../html/utils/transform.mjs";
2
1
  import { number } from "../../../value/types/numbers/index.mjs";
3
2
  import { px } from "../../../value/types/numbers/units.mjs";
4
- const positionalKeys = /* @__PURE__ */ new Set([
5
- "width",
6
- "height",
7
- "top",
8
- "left",
9
- "right",
10
- "bottom",
11
- "x",
12
- "y",
13
- "translateX",
14
- "translateY"
15
- ]);
3
+ import { transformPropOrder } from "../../html/utils/keys-transform.mjs";
16
4
  const isNumOrPxType = (v) => v === number || v === px;
17
5
  const getPosFromMatrix = (matrix, pos) => parseFloat(matrix.split(", ")[pos]);
18
6
  const getTranslateFromMatrix = (pos2, pos3) => (_bbox, { transform }) => {
@@ -59,7 +47,6 @@ positionalValues.translateX = positionalValues.x;
59
47
  positionalValues.translateY = positionalValues.y;
60
48
  export {
61
49
  isNumOrPxType,
62
- positionalKeys,
63
50
  positionalValues,
64
51
  removeNonTranslationalTransform
65
52
  };
@@ -1,4 +1,5 @@
1
- import { resolveElements } from "motion-dom";
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";
2
3
  const thresholds = {
3
4
  some: 0,
4
5
  all: 1
@@ -18,7 +19,7 @@ function inView(elementOrSelector, onStart, { root, margin: rootMargin, amount =
18
19
  } else {
19
20
  observer.unobserve(entry.target);
20
21
  }
21
- } else if (onEnd) {
22
+ } else if (typeof onEnd === "function") {
22
23
  onEnd(entry);
23
24
  activeIntersections.delete(entry.target);
24
25
  }
@@ -1,11 +1,11 @@
1
- import { buildHTMLStyles } from "./utils/build-styles.mjs";
2
- import { isCSSVariableName } from "../dom/utils/is-css-variable.mjs";
3
- import { transformProps } from "./utils/transform.mjs";
4
- import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
5
- import { renderHTML } from "./utils/render.mjs";
6
- import { getDefaultValueType } from "../dom/value-types/defaults.mjs";
7
1
  import { measureViewportBox } from "../../projection/utils/measure.mjs";
8
2
  import { DOMVisualElement } from "../dom/DOMVisualElement.mjs";
3
+ import { isCSSVariableName } from "../dom/utils/is-css-variable.mjs";
4
+ import { getDefaultValueType } from "../dom/value-types/defaults.mjs";
5
+ import { buildHTMLStyles } from "./utils/build-styles.mjs";
6
+ import { transformProps } from "./utils/keys-transform.mjs";
7
+ import { renderHTML } from "./utils/render.mjs";
8
+ import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
9
9
  function getComputedStyle(element) {
10
10
  return window.getComputedStyle(element);
11
11
  }
@@ -1,8 +1,8 @@
1
- import { buildTransform } from "./build-transform.mjs";
2
1
  import { isCSSVariableName } from "../../dom/utils/is-css-variable.mjs";
3
- import { transformProps } from "./transform.mjs";
4
2
  import { getValueAsType } from "../../dom/value-types/get-as-type.mjs";
5
3
  import { numberValueTypes } from "../../dom/value-types/number.mjs";
4
+ import { buildTransform } from "./build-transform.mjs";
5
+ import { transformProps } from "./keys-transform.mjs";
6
6
  function buildHTMLStyles(state, latestValues, transformTemplate) {
7
7
  const { style, vars, transformOrigin } = state;
8
8
  let hasTransform = false;
@@ -1,6 +1,6 @@
1
- import { transformPropOrder } from "./transform.mjs";
2
1
  import { getValueAsType } from "../../dom/value-types/get-as-type.mjs";
3
2
  import { numberValueTypes } from "../../dom/value-types/number.mjs";
3
+ import { transformPropOrder } from "./keys-transform.mjs";
4
4
  const translateAlias = {
5
5
  x: "translateX",
6
6
  y: "translateY",
@@ -0,0 +1,13 @@
1
+ import { transformPropOrder } from "./keys-transform.mjs";
2
+ const positionalKeys = /* @__PURE__ */ new Set([
3
+ "width",
4
+ "height",
5
+ "top",
6
+ "left",
7
+ "right",
8
+ "bottom",
9
+ ...transformPropOrder
10
+ ]);
11
+ export {
12
+ positionalKeys
13
+ };
@@ -1,13 +1,13 @@
1
- import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
1
+ import { createBox } from "../../projection/geometry/models.mjs";
2
2
  import { DOMVisualElement } from "../dom/DOMVisualElement.mjs";
3
- import { buildSVGAttrs } from "./utils/build-attrs.mjs";
4
3
  import { camelToDash } from "../dom/utils/camel-to-dash.mjs";
5
- import { camelCaseAttributes } from "./utils/camel-case-attrs.mjs";
6
- import { transformProps } from "../html/utils/transform.mjs";
7
- import { renderSVG } from "./utils/render.mjs";
8
4
  import { getDefaultValueType } from "../dom/value-types/defaults.mjs";
9
- import { createBox } from "../../projection/geometry/models.mjs";
5
+ import { transformProps } from "../html/utils/keys-transform.mjs";
6
+ import { buildSVGAttrs } from "./utils/build-attrs.mjs";
7
+ import { camelCaseAttributes } from "./utils/camel-case-attrs.mjs";
10
8
  import { isSVGTag } from "./utils/is-svg-tag.mjs";
9
+ import { renderSVG } from "./utils/render.mjs";
10
+ import { scrapeMotionValuesFromProps } from "./utils/scrape-motion-values.mjs";
11
11
  class SVGVisualElement extends DOMVisualElement {
12
12
  constructor() {
13
13
  super(...arguments);
@@ -1,6 +1,6 @@
1
1
  import { isMotionValue } from "../../../value/utils/is-motion-value.mjs";
2
+ import { transformPropOrder } from "../../html/utils/keys-transform.mjs";
2
3
  import { scrapeMotionValuesFromProps as scrapeMotionValuesFromProps$1 } from "../../html/utils/scrape-motion-values.mjs";
3
- import { transformPropOrder } from "../../html/utils/transform.mjs";
4
4
  function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
5
5
  const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);
6
6
  for (const key in props) {
@@ -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 === "11.15.0", `Attempting to mix Motion versions ${nextValue.version} with 11.15.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,6 @@
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";
1
3
  import { time } from "../frameloop/sync-time.mjs";
2
- import { secondsToMilliseconds } from "./time-conversion.mjs";
3
4
  import { frame, cancelFrame } from "../frameloop/frame.mjs";
4
5
  function delay(callback, timeout) {
5
6
  const start = time.now();
@@ -1,9 +1,9 @@
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";
1
4
  import { clamp } from "./clamp.mjs";
2
- import { pipe } from "./pipe.mjs";
3
- import { progress } from "./progress.mjs";
4
- import { invariant } from "../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
5
- import { noop } from "../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.mjs";
6
5
  import { mix } from "./mix/index.mjs";
6
+ import { pipe } from "./pipe.mjs";
7
7
  function createMixers(output, ease, customMixer) {
8
8
  const mixers = [];
9
9
  const mixerFactory = customMixer || mix;
@@ -23,8 +23,9 @@ function interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {})
23
23
  invariant(inputLength === output.length, "Both input and output ranges must be the same length");
24
24
  if (inputLength === 1)
25
25
  return () => output[0];
26
- if (inputLength === 2 && input[0] === input[1])
26
+ if (inputLength === 2 && output[0] === output[1])
27
27
  return () => output[1];
28
+ const isZeroDeltaRange = input[0] === input[1];
28
29
  if (input[0] > input[inputLength - 1]) {
29
30
  input = [...input].reverse();
30
31
  output = [...output].reverse();
@@ -32,6 +33,8 @@ function interpolate(input, output, { clamp: isClamp = true, ease, mixer } = {})
32
33
  const mixers = createMixers(output, ease, mixer);
33
34
  const numMixers = mixers.length;
34
35
  const interpolator = (v) => {
36
+ if (isZeroDeltaRange && v < input[0])
37
+ return output[0];
35
38
  let i = 0;
36
39
  if (numMixers > 1) {
37
40
  for (; i < input.length - 2; i++) {
@@ -1,5 +1,5 @@
1
1
  import { mixNumber } from "./number.mjs";
2
- import { warning } from "../../../../../../../motion-utils@11.14.3/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@11.14.3/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,6 @@
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";
1
3
  import { mixNumber } from "../mix/number.mjs";
2
- import { progress } from "../progress.mjs";
3
4
  function fillOffset(offset, remaining) {
4
5
  const min = offset[offset.length - 1];
5
6
  for (let i = 1; i <= remaining; i++) {
@@ -1,7 +1,7 @@
1
+ import { time } from "../frameloop/sync-time.mjs";
1
2
  import { SubscriptionManager } from "../utils/subscription-manager.mjs";
2
3
  import { velocityPerSecond } from "../utils/velocity-per-second.mjs";
3
4
  import { warnOnce } from "../utils/warn-once.mjs";
4
- import { time } from "../frameloop/sync-time.mjs";
5
5
  import { frame } from "../frameloop/frame.mjs";
6
6
  const MAX_VELOCITY_DELTA = 30;
7
7
  const isFloat = (value) => {
@@ -20,7 +20,7 @@ class MotionValue {
20
20
  * @internal
21
21
  */
22
22
  constructor(init, options = {}) {
23
- this.version = "11.15.0";
23
+ this.version = "11.16.6";
24
24
  this.canTrackVelocity = null;
25
25
  this.events = {};
26
26
  this.updateAndNotify = (v, render = true) => {
@@ -1,11 +1,11 @@
1
- import { supportsScrollTimeline } from "../render/dom/scroll/supports.mjs";
2
- class GroupPlaybackControls {
1
+ import { supportsScrollTimeline } from "../../utils/supports/scroll-timeline.mjs";
2
+ class BaseGroupPlaybackControls {
3
3
  constructor(animations) {
4
4
  this.stop = () => this.runAll("stop");
5
5
  this.animations = animations.filter(Boolean);
6
6
  }
7
- then(onResolve, onReject) {
8
- return Promise.all(this.animations).then(onResolve).catch(onReject);
7
+ get finished() {
8
+ return Promise.all(this.animations.map((animation) => "finished" in animation ? animation.finished : animation));
9
9
  }
10
10
  /**
11
11
  * TODO: Filter out cancelled or stopped animations before returning
@@ -22,7 +22,7 @@ class GroupPlaybackControls {
22
22
  const subscriptions = this.animations.map((animation) => {
23
23
  if (supportsScrollTimeline() && animation.attachTimeline) {
24
24
  return animation.attachTimeline(timeline);
25
- } else {
25
+ } else if (typeof fallback === "function") {
26
26
  return fallback(animation);
27
27
  }
28
28
  });
@@ -75,5 +75,5 @@ class GroupPlaybackControls {
75
75
  }
76
76
  }
77
77
  export {
78
- GroupPlaybackControls
78
+ BaseGroupPlaybackControls
79
79
  };
@@ -0,0 +1,9 @@
1
+ import { BaseGroupPlaybackControls } from "./BaseGroup.mjs";
2
+ class GroupPlaybackControls extends BaseGroupPlaybackControls {
3
+ then(onResolve, onReject) {
4
+ return Promise.all(this.animations).then(onResolve).catch(onReject);
5
+ }
6
+ }
7
+ export {
8
+ GroupPlaybackControls
9
+ };
@@ -0,0 +1,17 @@
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
+ import { calcGeneratorDuration, maxGeneratorDuration } from "./calc-duration.mjs";
4
+ function createGeneratorEasing(options, scale = 100, createGenerator) {
5
+ const generator = createGenerator({ ...options, keyframes: [0, scale] });
6
+ const duration = Math.min(calcGeneratorDuration(generator), maxGeneratorDuration);
7
+ return {
8
+ type: "keyframes",
9
+ ease: (progress) => {
10
+ return generator.next(duration * progress).value / scale;
11
+ },
12
+ duration: millisecondsToSeconds(duration)
13
+ };
14
+ }
15
+ export {
16
+ createGeneratorEasing
17
+ };
@@ -0,0 +1,81 @@
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 { attachTimeline } from "./utils/attach-timeline.mjs";
5
+ class NativeAnimationControls {
6
+ constructor(animation) {
7
+ this.animation = animation;
8
+ }
9
+ get duration() {
10
+ var _a, _b, _c;
11
+ const durationInMs = ((_b = (_a = this.animation) === null || _a === void 0 ? void 0 : _a.effect) === null || _b === void 0 ? void 0 : _b.getComputedTiming().duration) || ((_c = this.options) === null || _c === void 0 ? void 0 : _c.duration) || 300;
12
+ return millisecondsToSeconds(Number(durationInMs));
13
+ }
14
+ get time() {
15
+ var _a;
16
+ if (this.animation) {
17
+ return millisecondsToSeconds(((_a = this.animation) === null || _a === void 0 ? void 0 : _a.currentTime) || 0);
18
+ }
19
+ return 0;
20
+ }
21
+ set time(newTime) {
22
+ if (this.animation) {
23
+ this.animation.currentTime = secondsToMilliseconds(newTime);
24
+ }
25
+ }
26
+ get speed() {
27
+ return this.animation ? this.animation.playbackRate : 1;
28
+ }
29
+ set speed(newSpeed) {
30
+ if (this.animation) {
31
+ this.animation.playbackRate = newSpeed;
32
+ }
33
+ }
34
+ get state() {
35
+ return this.animation ? this.animation.playState : "finished";
36
+ }
37
+ get startTime() {
38
+ return this.animation ? this.animation.startTime : null;
39
+ }
40
+ get finished() {
41
+ return this.animation ? this.animation.finished : Promise.resolve();
42
+ }
43
+ play() {
44
+ this.animation && this.animation.play();
45
+ }
46
+ pause() {
47
+ this.animation && this.animation.pause();
48
+ }
49
+ stop() {
50
+ if (!this.animation || this.state === "idle" || this.state === "finished") {
51
+ return;
52
+ }
53
+ if (this.animation.commitStyles) {
54
+ this.animation.commitStyles();
55
+ }
56
+ this.cancel();
57
+ }
58
+ flatten() {
59
+ var _a;
60
+ if (!this.animation)
61
+ return;
62
+ (_a = this.animation.effect) === null || _a === void 0 ? void 0 : _a.updateTiming({ easing: "linear" });
63
+ }
64
+ attachTimeline(timeline) {
65
+ if (this.animation)
66
+ attachTimeline(this.animation, timeline);
67
+ return noop;
68
+ }
69
+ complete() {
70
+ this.animation && this.animation.finish();
71
+ }
72
+ cancel() {
73
+ try {
74
+ this.animation && this.animation.cancel();
75
+ } catch (e) {
76
+ }
77
+ }
78
+ }
79
+ export {
80
+ NativeAnimationControls
81
+ };
@@ -1,6 +1,6 @@
1
- import { isBezierDefinition } from "../../../easing/utils/is-bezier-definition.mjs";
2
- import { generateLinearEasing } from "./utils/linear.mjs";
3
- import { supportsLinearEasing } from "./utils/supports-linear-easing.mjs";
1
+ import { isBezierDefinition } from "../../../utils/is-bezier-definition.mjs";
2
+ import { supportsLinearEasing } from "../../../utils/supports/linear-easing.mjs";
3
+ import { generateLinearEasing } from "./linear.mjs";
4
4
  function isWaapiSupportedEasing(easing) {
5
5
  return Boolean(typeof easing === "function" && supportsLinearEasing() || !easing || typeof easing === "string" && (easing in supportedWaapiEasing || supportsLinearEasing()) || isBezierDefinition(easing) || Array.isArray(easing) && easing.every(isWaapiSupportedEasing));
6
6
  }
@@ -1,4 +1,5 @@
1
- import { progress } from "../../../../utils/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";
2
3
  const generateLinearEasing = (easing, duration, resolution = 10) => {
3
4
  let points = "";
4
5
  const numPoints = Math.max(Math.round(duration / resolution), 2);