motion-v 0.6.0 → 0.6.2

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 (272) hide show
  1. package/dist/cjs/index.js +1628 -1430
  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 +21 -18
  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 +21 -15
  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/Primitive.d.ts +9 -0
  99. package/dist/src/components/animate-presence/use-pop-layout.d.ts +1 -0
  100. package/dist/src/features/gestures/base.d.ts +0 -2
  101. package/dist/src/shared/test.d.ts +1 -0
  102. package/dist/src/state/motion-state.d.ts +2 -2
  103. package/dist/src/state/utils.d.ts +2 -2
  104. package/dist/src/types/index.d.ts +0 -1
  105. package/dist/src/types/state.d.ts +4 -5
  106. package/dist/src/types/transform.d.ts +0 -24
  107. package/package.json +8 -4
  108. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/memo-supports.mjs +0 -12
  109. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/animation/animators/waapi/utils/supports-waapi.mjs +0 -5
  110. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/easing/utils/create-generator-easing.mjs +0 -14
  111. package/dist/es/external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/render/dom/scroll/supports.mjs +0 -5
  112. package/dist/es/state/schedule.mjs +0 -6
  113. package/dist/src/animation/animation-controls.d.ts +0 -7
  114. package/dist/src/state/schedule.d.ts +0 -3
  115. package/dist/src/utils/events.d.ts +0 -2
  116. 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
  117. 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
  118. /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
  119. /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
  120. /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
  121. /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
  122. /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
  123. /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
  124. /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
  125. /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
  126. /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
  127. /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
  128. /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
  129. /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
  130. /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
  131. /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
  132. /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
  133. /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
  134. /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
  135. /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
  136. /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
  137. /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
  138. /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
  139. /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
  140. /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
  141. /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
  142. /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
  143. /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
  144. /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
  145. /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
  146. /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
  147. /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
  148. /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
  149. /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
  150. /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
  151. /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
  152. /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
  153. /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
  154. /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
  155. /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
  156. /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
  157. /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
  158. /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
  159. /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
  160. /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
  161. /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
  162. /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
  163. /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
  164. /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
  165. /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
  166. /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
  167. /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
  168. /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
  169. /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
  170. /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
  171. /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
  172. /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
  173. /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
  174. /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
  175. /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
  176. /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
  177. /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
  178. /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
  179. /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
  180. /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
  181. /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
  182. /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
  183. /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
  184. /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
  185. /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
  186. /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
  187. /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
  188. /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
  189. /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
  190. /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
  191. /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
  192. /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
  193. /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
  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/number-browser.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/number.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/test.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/transform.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/type-auto.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/type-int.mjs +0 -0
  200. /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
  201. /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
  202. /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
  203. /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
  204. /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
  205. /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
  206. /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
  207. /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
  208. /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
  209. /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
  210. /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
  211. /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
  212. /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
  213. /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
  214. /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
  215. /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
  216. /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
  217. /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
  218. /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
  219. /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
  220. /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
  221. /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
  222. /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
  223. /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
  224. /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
  225. /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
  226. /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
  227. /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
  228. /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
  229. /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
  230. /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
  231. /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
  232. /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
  233. /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
  234. /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
  235. /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
  236. /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
  237. /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
  238. /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
  239. /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
  240. /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
  241. /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
  242. /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
  243. /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
  244. /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
  245. /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
  246. /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
  247. /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
  248. /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
  249. /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
  250. /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
  251. /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
  252. /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
  253. /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
  254. /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
  255. /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
  256. /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
  257. /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
  258. /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
  259. /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
  260. /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
  261. /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
  262. /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
  263. /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
  264. /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
  265. /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
  266. /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
  267. /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
  268. /package/dist/es/external/.pnpm/{motion-utils@11.14.3 → motion-utils@11.16.0}/external/motion-utils/dist/es/errors.mjs +0 -0
  269. /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
  270. /package/dist/es/external/.pnpm/{motion-utils@11.14.3 → motion-utils@11.16.0}/external/motion-utils/dist/es/noop.mjs +0 -0
  271. /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
  272. /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,5 +1,5 @@
1
1
  import { ref, onUnmounted } from "vue";
2
- import { createScopedAnimate } from "../external/.pnpm/framer-motion@11.15.0/external/framer-motion/dist/es/animation/animate/index.mjs";
2
+ import { createScopedAnimate } from "../external/.pnpm/framer-motion@11.16.6/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, {
@@ -1,4 +1,4 @@
1
- import { defineComponent, onBeforeUpdate, renderSlot, unref } from "vue";
1
+ import { defineComponent, renderSlot, unref } from "vue";
2
2
  import { useLayoutGroupProvider } from "./use-layout-group.mjs";
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "LayoutGroup",
@@ -8,10 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  },
9
9
  setup(__props) {
10
10
  const props = __props;
11
- const { forceRender, key, group } = useLayoutGroupProvider(props);
12
- onBeforeUpdate(() => {
13
- group.dirty();
14
- });
11
+ const { forceRender, key } = useLayoutGroupProvider(props);
15
12
  return (_ctx, _cache) => {
16
13
  return renderSlot(_ctx.$slots, "default", {
17
14
  renderKey: unref(key),
@@ -1,4 +1,4 @@
1
- import { defineComponent, mergeDefaults, useAttrs, getCurrentInstance, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onBeforeUpdate, onUpdated, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, mergeDefaults, 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";
@@ -166,17 +166,29 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
166
166
  attrsProps.style = styleProps;
167
167
  return attrsProps;
168
168
  }
169
+ const PrimitiveRef = ref();
170
+ function onMotionComplete() {
171
+ var _a;
172
+ if (props.asChild) {
173
+ (_a = PrimitiveRef.value) == null ? void 0 : _a.$forceUpdate();
174
+ }
175
+ }
169
176
  return (_ctx, _cache) => {
170
- return openBlock(), createBlock(unref(Primitive), mergeProps(getProps(), {
177
+ var _a;
178
+ return openBlock(), createBlock(unref(Primitive), {
179
+ ref_key: "PrimitiveRef",
180
+ ref: PrimitiveRef,
181
+ "get-props": getProps,
171
182
  as: _ctx.as,
172
183
  "as-child": _ctx.asChild,
173
- "data-motion-id": unref(state).id
174
- }), {
184
+ "data-motion-group": ((_a = unref(layoutGroup).key) == null ? void 0 : _a.value) || void 0,
185
+ onMotioncomplete: onMotionComplete
186
+ }, {
175
187
  default: withCtx(() => [
176
188
  renderSlot(_ctx.$slots, "default")
177
189
  ]),
178
190
  _: 3
179
- }, 16, ["as", "as-child", "data-motion-id"]);
191
+ }, 8, ["as", "as-child", "data-motion-group"]);
180
192
  };
181
193
  }
182
194
  });
@@ -11,17 +11,25 @@ const Primitive = defineComponent({
11
11
  as: {
12
12
  type: [String, Object],
13
13
  default: "div"
14
+ },
15
+ getProps: {
16
+ type: Function,
17
+ default: () => ({})
14
18
  }
15
19
  },
16
20
  setup(props, { attrs, slots }) {
17
21
  const asTag = props.asChild ? "template" : props.as;
18
22
  const SELF_CLOSING_TAGS = ["area", "img", "input"];
19
- if (typeof asTag === "string" && SELF_CLOSING_TAGS.includes(asTag))
20
- return () => h(asTag, attrs);
21
- if (asTag !== "template") {
22
- return () => h(props.as, attrs, { default: slots.default });
23
- }
24
- return () => h(Slot, attrs, { default: slots.default });
23
+ return () => {
24
+ const motionProps = props.getProps();
25
+ const allAttrs = { ...attrs, ...motionProps };
26
+ if (typeof asTag === "string" && SELF_CLOSING_TAGS.includes(asTag))
27
+ return h(asTag, allAttrs);
28
+ if (asTag !== "template") {
29
+ return h(props.as, allAttrs, { default: slots.default });
30
+ }
31
+ return h(Slot, allAttrs, { default: slots.default });
32
+ };
25
33
  }
26
34
  });
27
35
  export {
@@ -1,8 +1,7 @@
1
- import { defineComponent, onMounted, onUnmounted, openBlock, createBlock, resolveDynamicComponent, TransitionGroup, Transition, withCtx, renderSlot } from "vue";
1
+ import { defineComponent, onMounted, onUnmounted, computed, openBlock, createBlock, resolveDynamicComponent, TransitionGroup, Transition, mergeProps, withCtx, renderSlot } from "vue";
2
2
  import { mountedStates } from "../../state/motion-state.mjs";
3
3
  import { provideAnimatePresence, removeDoneCallback, doneCallbacks } from "../presence.mjs";
4
4
  import { usePopLayout } from "./use-pop-layout.mjs";
5
- import { createStyles } from "../../state/style.mjs";
6
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
6
  ...{
8
7
  name: "AnimatePresence",
@@ -29,19 +28,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
28
  });
30
29
  function enter(el) {
31
30
  const state = mountedStates.get(el);
32
- const motionStateId = el.dataset.motionId;
33
- const motionState = mountedStates.get(motionStateId);
34
- if (motionState) {
35
- const baseStyle = createStyles(motionState.baseTarget);
36
- Object.assign(el.style, baseStyle);
37
- }
38
31
  if (!state) {
39
32
  return;
40
33
  }
34
+ state.isVShow = true;
41
35
  removeDoneCallback(el);
42
36
  state.setActive("exit", false);
43
37
  }
44
- const { addPopStyle, removePopStyle } = usePopLayout(props);
38
+ const { addPopStyle, removePopStyle, styles } = usePopLayout(props);
45
39
  const exitDom = /* @__PURE__ */ new Map();
46
40
  onUnmounted(() => {
47
41
  exitDom.clear();
@@ -58,17 +52,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
52
  var _a, _b;
59
53
  if ((_a = e == null ? void 0 : e.detail) == null ? void 0 : _a.isExit) {
60
54
  const projection = state.visualElement.projection;
61
- if ((projection == null ? void 0 : projection.animationProgress) > 0 && !state.isSafeToRemove) {
55
+ if ((projection == null ? void 0 : projection.animationProgress) > 0 && !state.isSafeToRemove && !state.isVShow) {
62
56
  return;
63
57
  }
64
- state.willUpdate("done");
65
- removePopStyle(state);
66
58
  removeDoneCallback(el);
67
59
  exitDom.delete(el);
68
60
  if (exitDom.size === 0) {
69
61
  (_b = props.onExitComplete) == null ? void 0 : _b.call(props);
70
62
  }
63
+ if (!styles.has(state)) {
64
+ state.willUpdate("done");
65
+ }
71
66
  done();
67
+ removePopStyle(state);
72
68
  if (!(el == null ? void 0 : el.isConnected)) {
73
69
  state.unmount(true);
74
70
  }
@@ -78,19 +74,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
74
  el.addEventListener("motioncomplete", doneCallback);
79
75
  state.setActive("exit", true);
80
76
  }
77
+ const transitionProps = computed(() => {
78
+ if (props.multiple) {
79
+ return {
80
+ tag: props.as
81
+ };
82
+ }
83
+ return {
84
+ mode: props.mode === "wait" ? "out-in" : void 0
85
+ };
86
+ });
81
87
  return (_ctx, _cache) => {
82
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.multiple ? TransitionGroup : Transition), {
83
- tag: _ctx.multiple ? _ctx.as : void 0,
84
- css: false,
85
- mode: _ctx.mode === "wait" ? "out-in" : void 0,
88
+ return openBlock(), createBlock(resolveDynamicComponent(_ctx.multiple ? TransitionGroup : Transition), mergeProps({ css: false }, transitionProps.value, {
86
89
  onEnter: enter,
87
90
  onLeave: exit
88
- }, {
91
+ }), {
89
92
  default: withCtx(() => [
90
93
  renderSlot(_ctx.$slots, "default")
91
94
  ]),
92
95
  _: 3
93
- }, 40, ["tag", "mode"]);
96
+ }, 16);
94
97
  };
95
98
  }
96
99
  });
@@ -37,14 +37,17 @@ function usePopLayout(props) {
37
37
  }
38
38
  function removePopStyle(state) {
39
39
  const style = styles.get(state);
40
- if (style) {
41
- styles.delete(state);
40
+ if (!style)
41
+ return;
42
+ styles.delete(state);
43
+ requestIdleCallback(() => {
42
44
  document.head.removeChild(style);
43
- }
45
+ });
44
46
  }
45
47
  return {
46
48
  addPopStyle,
47
- removePopStyle
49
+ removePopStyle,
50
+ styles
48
51
  };
49
52
  }
50
53
  export {
@@ -1,4 +1,5 @@
1
- import { GroupPlaybackControls } from "../GroupPlaybackControls.mjs";
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";
2
3
  import { animateSequence } from "./sequence.mjs";
3
4
  import { animateSubject } from "./subject.mjs";
4
5
  function isSequence(value) {
@@ -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
  import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
3
4
  function resolveSubjects(subject, keyframes, scope, selectorCache) {
4
5
  if (typeof subject === "string" && isDOMKeyframes(keyframes)) {
@@ -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 { 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,19 +1,19 @@
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
8
  import { anticipate } from "../../easing/anticipate.mjs";
2
9
  import { backInOut } from "../../easing/back.mjs";
3
10
  import { circInOut } from "../../easing/circ.mjs";
4
11
  import { DOMKeyframesResolver } from "../../render/dom/DOMKeyframesResolver.mjs";
5
- import "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
6
- import { noop } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/noop.mjs";
7
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../utils/time-conversion.mjs";
8
- import { isGenerator } from "../generators/utils/is-generator.mjs";
9
12
  import { BaseAnimation } from "./BaseAnimation.mjs";
10
13
  import { MainThreadAnimation } from "./MainThreadAnimation.mjs";
11
14
  import { acceleratedValues } from "./utils/accelerated-values.mjs";
12
15
  import { startWaapiAnimation } from "./waapi/index.mjs";
13
- import { isWaapiSupportedEasing } from "./waapi/easing.mjs";
14
- import { attachTimeline } from "./waapi/utils/attach-timeline.mjs";
15
16
  import { getFinalKeyframe } from "./waapi/utils/get-final-keyframe.mjs";
16
- import { supportsLinearEasing } from "./waapi/utils/supports-linear-easing.mjs";
17
17
  import { supportsWaapi } from "./waapi/utils/supports-waapi.mjs";
18
18
  const sampleDelta = 10;
19
19
  const maxDuration = 2e4;
@@ -1,17 +1,17 @@
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
5
  import { KeyframeResolver } from "../../render/utils/KeyframesResolver.mjs";
2
- import { spring } from "../generators/spring/index.mjs";
6
+ import { clamp } from "../../utils/clamp.mjs";
7
+ import { mix } from "../../utils/mix/index.mjs";
8
+ import { pipe } from "../../utils/pipe.mjs";
3
9
  import { inertia } from "../generators/inertia.mjs";
4
10
  import { keyframes } from "../generators/keyframes.mjs";
11
+ import { spring } from "../generators/spring/index.mjs";
5
12
  import { BaseAnimation } from "./BaseAnimation.mjs";
6
- import { pipe } from "../../utils/pipe.mjs";
7
- import { mix } from "../../utils/mix/index.mjs";
8
- import { calcGeneratorDuration } from "../generators/utils/calc-duration.mjs";
9
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../utils/time-conversion.mjs";
10
- import { clamp } from "../../utils/clamp.mjs";
11
- import { invariant } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
12
13
  import { frameloopDriver } from "./drivers/driver-frameloop.mjs";
13
14
  import { getFinalKeyframe } from "./waapi/utils/get-final-keyframe.mjs";
14
- import { isGenerator } from "../generators/utils/is-generator.mjs";
15
15
  const generators = {
16
16
  decay: inertia,
17
17
  inertia,
@@ -1,5 +1,5 @@
1
- import { warning } from "../../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
2
- import { isGenerator } from "../../generators/utils/is-generator.mjs";
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";
3
3
  import { isAnimatable } from "../../utils/is-animatable.mjs";
4
4
  function hasKeyframesChanged(keyframes) {
5
5
  const current = keyframes[0];
@@ -1,14 +1,13 @@
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
7
  import { startWaapiAnimation } from "./index.mjs";
2
- import { createGeneratorEasing } from "../../../easing/utils/create-generator-easing.mjs";
3
8
  import { browserNumberValueTypes } from "../../../render/dom/value-types/number-browser.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
- import { secondsToMilliseconds, millisecondsToSeconds } from "../../../utils/time-conversion.mjs";
7
- import { isGenerator } from "../../generators/utils/is-generator.mjs";
8
- import { attachTimeline } from "./utils/attach-timeline.mjs";
9
9
  import { getFinalKeyframe } from "./utils/get-final-keyframe.mjs";
10
10
  import { setCSSVar, setStyle } from "./utils/style.mjs";
11
- import { supportsLinearEasing } from "./utils/supports-linear-easing.mjs";
12
11
  import { supportsPartialKeyframes } from "./utils/supports-partial-keyframes.mjs";
13
12
  import { supportsWaapi } from "./utils/supports-waapi.mjs";
14
13
  const state = /* @__PURE__ */ new WeakMap();
@@ -31,12 +30,9 @@ function getElementAnimationState(element) {
31
30
  state.set(element, animationState);
32
31
  return state.get(element);
33
32
  }
34
- class NativeAnimation {
33
+ class NativeAnimation extends NativeAnimationControls {
35
34
  constructor(element, valueName, valueKeyframes, options) {
36
35
  const isCSSVar = valueName.startsWith("--");
37
- this.setValue = isCSSVar ? setCSSVar : setStyle;
38
- this.options = options;
39
- this.updateFinishedPromise();
40
36
  invariant(typeof options.type !== "string", `animateMini doesn't support "type" as a string. Did you mean to import { spring } from "framer-motion"?`);
41
37
  const existingAnimation = getElementAnimationState(element).get(valueName);
42
38
  existingAnimation && existingAnimation.stop();
@@ -55,92 +51,34 @@ class NativeAnimation {
55
51
  } else {
56
52
  options.ease = options.ease || defaultEasing;
57
53
  }
58
- this.removeAnimation = () => {
59
- var _a;
60
- return (_a = state.get(element)) === null || _a === void 0 ? void 0 : _a.delete(valueName);
61
- };
62
54
  const onFinish = () => {
63
- this.setValue(element, valueName, getFinalKeyframe(valueKeyframes, this.options));
55
+ this.setValue(element, valueName, getFinalKeyframe(valueKeyframes, options));
64
56
  this.cancel();
65
57
  this.resolveFinishedPromise();
66
58
  };
59
+ const init = () => {
60
+ this.setValue = isCSSVar ? setCSSVar : setStyle;
61
+ this.options = options;
62
+ this.updateFinishedPromise();
63
+ this.removeAnimation = () => {
64
+ var _a;
65
+ return (_a = state.get(element)) === null || _a === void 0 ? void 0 : _a.delete(valueName);
66
+ };
67
+ };
67
68
  if (!supportsWaapi()) {
69
+ super();
70
+ init();
68
71
  onFinish();
69
72
  } else {
70
- this.animation = startWaapiAnimation(element, valueName, valueKeyframes, options);
73
+ super(startWaapiAnimation(element, valueName, valueKeyframes, options));
74
+ init();
71
75
  if (options.autoplay === false) {
72
76
  this.animation.pause();
73
77
  }
74
78
  this.animation.onfinish = onFinish;
75
- if (this.pendingTimeline) {
76
- attachTimeline(this.animation, this.pendingTimeline);
77
- }
78
79
  getElementAnimationState(element).set(valueName, this);
79
80
  }
80
81
  }
81
- get duration() {
82
- return millisecondsToSeconds(this.options.duration || 300);
83
- }
84
- get time() {
85
- var _a;
86
- if (this.animation) {
87
- return millisecondsToSeconds(((_a = this.animation) === null || _a === void 0 ? void 0 : _a.currentTime) || 0);
88
- }
89
- return 0;
90
- }
91
- set time(newTime) {
92
- if (this.animation) {
93
- this.animation.currentTime = secondsToMilliseconds(newTime);
94
- }
95
- }
96
- get speed() {
97
- return this.animation ? this.animation.playbackRate : 1;
98
- }
99
- set speed(newSpeed) {
100
- if (this.animation) {
101
- this.animation.playbackRate = newSpeed;
102
- }
103
- }
104
- get state() {
105
- return this.animation ? this.animation.playState : "finished";
106
- }
107
- get startTime() {
108
- return this.animation ? this.animation.startTime : null;
109
- }
110
- flatten() {
111
- var _a;
112
- if (!this.animation)
113
- return;
114
- (_a = this.animation.effect) === null || _a === void 0 ? void 0 : _a.updateTiming({ easing: "linear" });
115
- }
116
- play() {
117
- if (this.state === "finished") {
118
- this.updateFinishedPromise();
119
- }
120
- this.animation && this.animation.play();
121
- }
122
- pause() {
123
- this.animation && this.animation.pause();
124
- }
125
- stop() {
126
- if (!this.animation || this.state === "idle" || this.state === "finished") {
127
- return;
128
- }
129
- if (this.animation.commitStyles) {
130
- this.animation.commitStyles();
131
- }
132
- this.cancel();
133
- }
134
- complete() {
135
- this.animation && this.animation.finish();
136
- }
137
- cancel() {
138
- this.removeAnimation();
139
- try {
140
- this.animation && this.animation.cancel();
141
- } catch (e) {
142
- }
143
- }
144
82
  /**
145
83
  * Allows the returned animation to be awaited or promise-chained. Currently
146
84
  * resolves when the animation finishes at all but in a future update could/should
@@ -154,13 +92,15 @@ class NativeAnimation {
154
92
  this.resolveFinishedPromise = resolve;
155
93
  });
156
94
  }
157
- attachTimeline(timeline) {
158
- if (!this.animation) {
159
- this.pendingTimeline = timeline;
160
- } else {
161
- attachTimeline(this.animation, timeline);
95
+ play() {
96
+ if (this.state === "finished") {
97
+ this.updateFinishedPromise();
162
98
  }
163
- return noop;
99
+ super.play();
100
+ }
101
+ cancel() {
102
+ this.removeAnimation();
103
+ super.cancel();
164
104
  }
165
105
  }
166
106
  export {
@@ -1,7 +1,7 @@
1
- import { resolveElements } from "motion-dom";
2
- import { invariant } from "../../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
3
- import { secondsToMilliseconds } from "../../../utils/time-conversion.mjs";
4
- import { getValueTransition } from "../../utils/get-value-transition.mjs";
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";
5
5
  import { NativeAnimation } from "./NativeAnimation.mjs";
6
6
  function animateElements(elementOrSelector, keyframes, options, scope) {
7
7
  const elements = resolveElements(elementOrSelector, scope);
@@ -1,4 +1,5 @@
1
- import { GroupPlaybackControls } from "../../GroupPlaybackControls.mjs";
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";
2
3
  import { animateElements } from "./animate-elements.mjs";
3
4
  const createScopedWaapiAnimate = (scope) => {
4
5
  function scopedAnimate(elementOrSelector, keyframes, options) {
@@ -1,4 +1,5 @@
1
- import { mapEasingToNativeEasing } from "./easing.mjs";
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";
2
3
  function startWaapiAnimation(element, valueName, keyframes, { delay = 0, duration = 300, repeat = 0, repeatType = "loop", ease = "easeInOut", times } = {}) {
3
4
  const keyframeOptions = { [valueName]: keyframes };
4
5
  if (times)
@@ -1,4 +1,5 @@
1
- import { memo } from "../../../../utils/memo.mjs";
1
+ import "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { memo } from "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/memo.mjs";
2
3
  const supportsPartialKeyframes = /* @__PURE__ */ memo(() => {
3
4
  try {
4
5
  document.createElement("div").animate({ opacity: [1] });
@@ -0,0 +1,6 @@
1
+ import "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { memo } from "../../../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/memo.mjs";
3
+ const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
4
+ export {
5
+ supportsWaapi
6
+ };
@@ -1,6 +1,6 @@
1
- import { warning } from "../../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
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";
2
3
  import { clamp } from "../../../utils/clamp.mjs";
3
- import { secondsToMilliseconds, millisecondsToSeconds } from "../../../utils/time-conversion.mjs";
4
4
  import { springDefaults } from "./defaults.mjs";
5
5
  const safeMin = 1e-3;
6
6
  function findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass }) {
@@ -1,10 +1,11 @@
1
- import { generateLinearEasing } from "../../animators/waapi/utils/linear.mjs";
2
- import { millisecondsToSeconds, secondsToMilliseconds } from "../../../utils/time-conversion.mjs";
3
- import { calcGeneratorVelocity } from "../utils/velocity.mjs";
4
- import { findSpring, calcAngularFreq } from "./find.mjs";
5
- import { calcGeneratorDuration, maxGeneratorDuration } from "../utils/calc-duration.mjs";
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";
6
5
  import { clamp } from "../../../utils/clamp.mjs";
6
+ import { calcGeneratorVelocity } from "../utils/velocity.mjs";
7
7
  import { springDefaults } from "./defaults.mjs";
8
+ import { findSpring, calcAngularFreq } from "./find.mjs";
8
9
  const durationKeys = ["duration", "bounce"];
9
10
  const physicsKeys = ["stiffness", "damping", "mass"];
10
11
  function isSpringType(options, keys) {
@@ -24,7 +25,7 @@ function getSpringOptions(options) {
24
25
  const visualDuration = options.visualDuration;
25
26
  const root = 2 * Math.PI / (visualDuration * 1.2);
26
27
  const stiffness = root * root;
27
- const damping = 2 * clamp(0.05, 1, 1 - options.bounce) * Math.sqrt(stiffness);
28
+ const damping = 2 * clamp(0.05, 1, 1 - (options.bounce || 0)) * Math.sqrt(stiffness);
28
29
  springOptions = {
29
30
  ...springOptions,
30
31
  mass: springDefaults.mass,
@@ -1,11 +1,12 @@
1
- import { secondsToMilliseconds } from "../../utils/time-conversion.mjs";
2
- import { getDefaultTransition } from "../utils/default-transitions.mjs";
3
- import { getValueTransition } from "../utils/get-value-transition.mjs";
4
- import { getFinalKeyframe } from "../animators/waapi/utils/get-final-keyframe.mjs";
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";
5
5
  import { frame } from "../../frameloop/frame.mjs";
6
6
  import { AcceleratedAnimation } from "../animators/AcceleratedAnimation.mjs";
7
7
  import { MainThreadAnimation } from "../animators/MainThreadAnimation.mjs";
8
- import { GroupPlaybackControls } from "../GroupPlaybackControls.mjs";
8
+ import { getFinalKeyframe } from "../animators/waapi/utils/get-final-keyframe.mjs";
9
+ import { getDefaultTransition } from "../utils/default-transitions.mjs";
9
10
  import { isTransitionDefined } from "../utils/is-transition-defined.mjs";
10
11
  const animateMotionValue = (name, value, target, transition = {}, element, isHandoff) => (onComplete) => {
11
12
  const valueTransition = getValueTransition(transition, name) || {};
@@ -1,9 +1,10 @@
1
- import { transformProps } from "../../render/html/utils/transform.mjs";
2
- import { animateMotionValue } from "./motion-value.mjs";
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";
3
+ import { positionalKeys } from "../../render/html/utils/keys-position.mjs";
3
4
  import { setTarget } from "../../render/utils/setters.mjs";
4
- import { getValueTransition } from "../utils/get-value-transition.mjs";
5
- import { getOptimisedAppearId } from "../optimized-appear/get-appear-id.mjs";
6
5
  import { addValueToWillChange } from "../../value/use-will-change/add-will-change.mjs";
6
+ import { getOptimisedAppearId } from "../optimized-appear/get-appear-id.mjs";
7
+ import { animateMotionValue } from "./motion-value.mjs";
7
8
  import { frame } from "../../frameloop/frame.mjs";
8
9
  function shouldBlockAnimation({ protectedKeys, needsAnimating }, key) {
9
10
  const shouldBlock = protectedKeys.hasOwnProperty(key) && needsAnimating[key] !== true;
@@ -39,7 +40,7 @@ function animateTarget(visualElement, targetAndTransition, { delay = 0, transiti
39
40
  }
40
41
  }
41
42
  addValueToWillChange(visualElement, key);
42
- value.start(animateMotionValue(key, value, valueTarget, visualElement.shouldReduceMotion && transformProps.has(key) ? { type: false } : valueTransition, visualElement, isHandoff));
43
+ value.start(animateMotionValue(key, value, valueTarget, visualElement.shouldReduceMotion && positionalKeys.has(key) ? { type: false } : valueTransition, visualElement, isHandoff));
43
44
  const animation = value.animation;
44
45
  if (animation) {
45
46
  animations.push(animation);
@@ -1,18 +1,18 @@
1
- import { createGeneratorEasing } from "../../easing/utils/create-generator-easing.mjs";
1
+ import { invariant } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/errors.mjs";
2
+ import { progress } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/progress.mjs";
3
+ import { secondsToMilliseconds } from "../../../../../../../motion-utils@11.16.0/external/motion-utils/dist/es/time-conversion.mjs";
4
+ import { createGeneratorEasing } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs";
5
+ import { isGenerator } from "../../../../../../../motion-dom@11.16.4/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs";
6
+ import { getEasingForSegment } from "../../easing/utils/get-easing-for-segment.mjs";
2
7
  import { defaultOffset } from "../../utils/offsets/default.mjs";
3
8
  import { fillOffset } from "../../utils/offsets/fill.mjs";
4
- import { progress } from "../../utils/progress.mjs";
5
- import { secondsToMilliseconds } from "../../utils/time-conversion.mjs";
6
9
  import { isMotionValue } from "../../value/utils/is-motion-value.mjs";
7
10
  import { resolveSubjects } from "../animate/resolve-subjects.mjs";
8
- import { isGenerator } from "../generators/utils/is-generator.mjs";
11
+ import { calculateRepeatDuration } from "./utils/calc-repeat-duration.mjs";
9
12
  import { calcNextTime } from "./utils/calc-time.mjs";
10
13
  import { addKeyframes } from "./utils/edit.mjs";
11
- import { compareByTime } from "./utils/sort.mjs";
12
- import { invariant } from "../../../../../../../motion-utils@11.14.3/external/motion-utils/dist/es/errors.mjs";
13
14
  import { normalizeTimes } from "./utils/normalize-times.mjs";
14
- import { calculateRepeatDuration } from "./utils/calc-repeat-duration.mjs";
15
- import { getEasingForSegment } from "../../easing/utils/get-easing-for-segment.mjs";
15
+ import { compareByTime } from "./utils/sort.mjs";
16
16
  const defaultSegmentEasing = "easeInOut";
17
17
  const MAX_REPEAT = 20;
18
18
  function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...sequenceTransition } = {}, scope, generators) {