motion-v 1.1.0-alpha.1 → 1.1.0

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 (302) hide show
  1. package/dist/cjs/index.js +151 -91
  2. package/dist/es/animation/hooks/animation-controls.mjs +1 -1
  3. package/dist/es/animation/hooks/use-animate.mjs +1 -1
  4. package/dist/es/components/animate-presence/use-pop-layout.mjs +1 -1
  5. package/dist/es/components/group.mjs +2 -5
  6. package/dist/es/components/motion/use-motion-state.d.ts +1 -1
  7. package/dist/es/components/motion/use-motion-state.mjs +1 -1
  8. package/dist/es/components/reorder/index.d.ts +4 -4
  9. package/dist/es/components/reorder/utils.mjs +2 -2
  10. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/index.mjs +1 -1
  11. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -1
  12. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
  13. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/single-value.mjs +2 -2
  14. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animate/subject.mjs +2 -2
  15. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +9 -9
  16. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +1 -1
  17. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +6 -6
  18. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +3 -3
  19. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/create.mjs +9 -9
  20. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +3 -3
  21. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +3 -2
  22. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
  23. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/stagger.mjs +1 -1
  24. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
  25. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +5 -5
  26. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +1 -1
  27. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +1 -1
  28. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +2 -2
  29. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +15 -14
  30. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/shared/stack.mjs +1 -1
  31. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +1 -1
  32. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +2 -2
  33. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +1 -1
  34. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/VisualElement.mjs +13 -13
  35. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +2 -2
  36. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/handle-element.mjs +3 -2
  37. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +1 -1
  38. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +1 -1
  39. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +4 -4
  40. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
  41. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +3 -3
  42. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +2 -1
  43. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +1 -1
  44. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +6 -3
  45. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +1 -1
  46. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -1
  47. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +5 -4
  48. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +4 -4
  49. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +3 -3
  50. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +1 -1
  51. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +2 -2
  52. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/path.mjs +1 -1
  53. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +2 -2
  54. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +1 -1
  55. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/motion-values.mjs +2 -2
  56. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
  57. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/delay.mjs +3 -3
  58. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +1 -1
  59. package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/value/use-will-change/is.mjs +1 -1
  60. package/dist/es/external/.pnpm/framer-motion@12.12.1/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +7 -0
  61. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +2 -2
  62. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/JSAnimation.mjs +15 -14
  63. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimation.mjs +3 -4
  64. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +1 -1
  65. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/keyframes.mjs +3 -3
  66. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/find.mjs +3 -3
  67. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/index.mjs +2 -2
  68. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +1 -1
  69. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/velocity.mjs +1 -1
  70. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +1 -1
  71. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +1 -1
  72. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -2
  73. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/can-animate.mjs +1 -1
  74. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +2 -2
  75. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +1 -1
  76. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +1 -1
  77. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs +1 -1
  78. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +5 -4
  79. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +3 -3
  80. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/batcher.mjs +1 -1
  81. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/frame.mjs +1 -1
  82. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/sync-time.mjs +1 -1
  83. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/index.mjs +2 -1
  84. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/parse-transform.mjs +1 -0
  85. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/interpolate.mjs +6 -6
  86. package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-html-element.mjs +7 -0
  87. package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-svg-element.mjs +7 -0
  88. package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/utils/is-svg-svg-element.mjs +7 -0
  89. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/color.mjs +1 -1
  90. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/complex.mjs +2 -2
  91. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/memo.mjs +1 -1
  92. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +1 -1
  93. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/index.mjs +3 -4
  94. package/dist/es/external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/spring-value.mjs +57 -0
  95. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/rgba.mjs +1 -1
  96. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/numbers/index.mjs +1 -1
  97. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/index.mjs +1 -1
  98. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/queue.mjs +1 -1
  99. package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/start.mjs +1 -1
  100. package/dist/es/external/.pnpm/motion-utils@12.12.1/external/motion-utils/dist/es/is-object.mjs +6 -0
  101. package/dist/es/features/animation/animation.mjs +3 -3
  102. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +2 -2
  103. package/dist/es/features/gestures/drag/index.mjs +1 -1
  104. package/dist/es/features/gestures/focus/index.mjs +1 -1
  105. package/dist/es/features/gestures/hover/index.mjs +2 -2
  106. package/dist/es/features/gestures/in-view/index.mjs +2 -2
  107. package/dist/es/features/gestures/pan/PanSession.mjs +4 -4
  108. package/dist/es/features/gestures/pan/index.mjs +2 -2
  109. package/dist/es/features/gestures/press/index.mjs +2 -2
  110. package/dist/es/features/layout/config.mjs +2 -2
  111. package/dist/es/features/layout/layout.mjs +5 -4
  112. package/dist/es/features/layout/projection.mjs +2 -2
  113. package/dist/es/index.mjs +135 -123
  114. package/dist/es/state/create-visual-element.mjs +2 -2
  115. package/dist/es/state/motion-state.mjs +2 -2
  116. package/dist/es/state/style.mjs +1 -1
  117. package/dist/es/utils/createContext.mjs +8 -9
  118. package/dist/es/utils/motion-value.d.ts +1 -2
  119. package/dist/es/utils/time-conversion.d.ts +8 -0
  120. package/dist/es/utils/use-animation-frame.mjs +1 -1
  121. package/dist/es/utils/use-in-view.mjs +1 -1
  122. package/dist/es/value/use-combine-values.mjs +2 -2
  123. package/dist/es/value/use-computed.mjs +1 -1
  124. package/dist/es/value/use-motion-template.mjs +1 -1
  125. package/dist/es/value/use-scroll.mjs +30 -30
  126. package/dist/es/value/use-spring.mjs +4 -4
  127. package/dist/es/value/use-time.mjs +1 -1
  128. package/dist/es/value/use-transform.mjs +1 -1
  129. package/dist/es/value/use-velocity.mjs +2 -2
  130. package/dist/es/value/use-will-change/is.mjs +1 -1
  131. package/package.json +2 -2
  132. package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/dom/utils/is-svg-element.mjs +0 -6
  133. package/dist/es/external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +0 -7
  134. package/dist/es/utils/motion-value.mjs +0 -6
  135. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  136. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  137. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  138. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  139. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  140. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  141. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  142. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  143. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  144. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  145. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  146. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  147. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  148. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  149. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  150. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  151. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  152. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  153. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  154. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  155. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  156. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  157. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  158. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  159. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/handle-window.mjs +0 -0
  160. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/resize/index.mjs +0 -0
  161. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  162. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  163. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  164. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  165. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  166. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  167. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/store.mjs +0 -0
  168. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  169. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  170. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  171. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  172. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  173. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  174. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  175. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  176. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  177. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  178. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  179. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  180. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  181. /package/dist/es/external/.pnpm/{framer-motion@12.10.5 → framer-motion@12.12.1}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  182. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/GroupAnimation.mjs +0 -0
  183. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -0
  184. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -0
  185. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/drivers/frame.mjs +0 -0
  186. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/inertia.mjs +0 -0
  187. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/spring/defaults.mjs +0 -0
  188. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  189. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  190. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +0 -0
  191. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +0 -0
  192. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/get-final.mjs +0 -0
  193. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +0 -0
  194. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +0 -0
  195. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +0 -0
  196. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +0 -0
  197. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +0 -0
  198. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +0 -0
  199. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/active-animations.mjs +0 -0
  200. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
  201. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/is-animatable.mjs +0 -0
  202. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/is-css-variable.mjs +0 -0
  203. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +0 -0
  204. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs +0 -0
  206. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/MotionValueState.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/style/index.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/effects/style/transform.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/order.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/is-css-var.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/style-computed.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/dom/style-set.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/utils/keys-position.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/render/utils/keys-transform.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/scroll/observe.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/animation-count.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/stats/index.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/immediate.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/index.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/number.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/mix/visibility.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/utils/transform.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/map-value.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/subscribe-value.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/transform-value.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/auto.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hex.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/hsla.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/index.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/color/utils.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/complex/filter.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/complex/index.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/dimensions.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/int.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/defaults.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/number.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/maps/transform.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/numbers/units.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/test.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/animatable-none.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/color-regex.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/find.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/float-regex.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/get-as-type.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/is-nullish.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/sanitize.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  270. /package/dist/es/external/.pnpm/{framer-motion@12.10.5/external/framer-motion → motion-dom@12.12.1/external/motion-dom}/dist/es/value/utils/is-motion-value.mjs +0 -0
  271. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/choose-layer-type.mjs +0 -0
  272. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/css.mjs +0 -0
  273. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/get-layer-name.mjs +0 -0
  274. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/get-view-animations.mjs +0 -0
  275. /package/dist/es/external/.pnpm/{motion-dom@12.10.5 → motion-dom@12.12.1}/external/motion-dom/dist/es/view/utils/has-target.mjs +0 -0
  276. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/array.mjs +0 -0
  277. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/clamp.mjs +0 -0
  278. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/anticipate.mjs +0 -0
  279. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/back.mjs +0 -0
  280. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/circ.mjs +0 -0
  281. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/cubic-bezier.mjs +0 -0
  282. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/ease.mjs +0 -0
  283. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/modifiers/mirror.mjs +0 -0
  284. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/modifiers/reverse.mjs +0 -0
  285. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/steps.mjs +0 -0
  286. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  287. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +0 -0
  288. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/is-easing-array.mjs +0 -0
  289. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/easing/utils/map.mjs +0 -0
  290. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/errors.mjs +0 -0
  291. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/global-config.mjs +0 -0
  292. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/is-numerical-string.mjs +0 -0
  293. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/is-zero-value-string.mjs +0 -0
  294. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/memo.mjs +0 -0
  295. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/noop.mjs +0 -0
  296. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/pipe.mjs +0 -0
  297. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/progress.mjs +0 -0
  298. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/subscription-manager.mjs +0 -0
  299. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
  300. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/velocity-per-second.mjs +0 -0
  301. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/warn-once.mjs +0 -0
  302. /package/dist/es/external/.pnpm/{motion-utils@12.9.4 → motion-utils@12.12.1}/external/motion-utils/dist/es/wrap.mjs +0 -0
package/dist/cjs/index.js CHANGED
@@ -46,6 +46,9 @@ if (process.env.NODE_ENV !== "production") {
46
46
  }
47
47
  const MotionGlobalConfig = {};
48
48
  const isNumericalString = (v) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(v);
49
+ function isObject(value) {
50
+ return typeof value === "object" && value !== null;
51
+ }
49
52
  const isZeroValueString = (v) => /^0[^.\s]+$/u.test(v);
50
53
  // @__NO_SIDE_EFFECTS__
51
54
  function memo(callback) {
@@ -1140,14 +1143,12 @@ function replaceTransitionType(transition) {
1140
1143
  }
1141
1144
  class WithPromise {
1142
1145
  constructor() {
1143
- this.count = 0;
1144
1146
  this.updateFinished();
1145
1147
  }
1146
1148
  get finished() {
1147
1149
  return this._finished;
1148
1150
  }
1149
1151
  updateFinished() {
1150
- this.count++;
1151
1152
  this._finished = new Promise((resolve) => {
1152
1153
  this.resolve = resolve;
1153
1154
  });
@@ -1175,6 +1176,7 @@ class JSAnimation extends WithPromise {
1175
1176
  this.holdTime = null;
1176
1177
  this.playbackSpeed = 1;
1177
1178
  this.stop = (sync2 = true) => {
1179
+ var _a, _b;
1178
1180
  if (sync2) {
1179
1181
  const { motionValue: motionValue2 } = this.options;
1180
1182
  if (motionValue2 && motionValue2.updatedAt !== time.now()) {
@@ -1185,8 +1187,7 @@ class JSAnimation extends WithPromise {
1185
1187
  if (this.state === "idle")
1186
1188
  return;
1187
1189
  this.teardown();
1188
- const { onStop } = this.options;
1189
- onStop && onStop();
1190
+ (_b = (_a = this.options).onStop) == null ? void 0 : _b.call(_a);
1190
1191
  };
1191
1192
  activeAnimations.mainThread++;
1192
1193
  this.options = options;
@@ -1335,13 +1336,14 @@ class JSAnimation extends WithPromise {
1335
1336
  }
1336
1337
  }
1337
1338
  play() {
1339
+ var _a, _b;
1338
1340
  if (this.isStopped)
1339
1341
  return;
1340
- const { driver = frameloopDriver, onPlay, startTime } = this.options;
1342
+ const { driver = frameloopDriver, startTime } = this.options;
1341
1343
  if (!this.driver) {
1342
1344
  this.driver = driver((timestamp) => this.tick(timestamp));
1343
1345
  }
1344
- onPlay && onPlay();
1346
+ (_b = (_a = this.options).onPlay) == null ? void 0 : _b.call(_a);
1345
1347
  const now2 = this.driver.now();
1346
1348
  if (this.state === "finished") {
1347
1349
  this.updateFinished();
@@ -1371,19 +1373,21 @@ class JSAnimation extends WithPromise {
1371
1373
  this.holdTime = null;
1372
1374
  }
1373
1375
  finish() {
1376
+ var _a, _b;
1377
+ this.notifyFinished();
1374
1378
  this.teardown();
1375
1379
  this.state = "finished";
1376
- const { onComplete } = this.options;
1377
- onComplete && onComplete();
1380
+ (_b = (_a = this.options).onComplete) == null ? void 0 : _b.call(_a);
1378
1381
  }
1379
1382
  cancel() {
1383
+ var _a, _b;
1380
1384
  this.holdTime = null;
1381
1385
  this.startTime = 0;
1382
1386
  this.tick(0);
1383
1387
  this.teardown();
1388
+ (_b = (_a = this.options).onCancel) == null ? void 0 : _b.call(_a);
1384
1389
  }
1385
1390
  teardown() {
1386
- this.notifyFinished();
1387
1391
  this.state = "idle";
1388
1392
  this.stopDriver();
1389
1393
  this.startTime = this.holdTime = null;
@@ -1785,7 +1789,6 @@ class NativeAnimation extends WithPromise {
1785
1789
  onComplete == null ? void 0 : onComplete();
1786
1790
  this.notifyFinished();
1787
1791
  };
1788
- this.animation.oncancel = () => this.notifyFinished();
1789
1792
  }
1790
1793
  play() {
1791
1794
  if (this.isStopped)
@@ -1977,19 +1980,22 @@ function canAnimate(keyframes2, name, type, velocity) {
1977
1980
  }
1978
1981
  return hasKeyframesChanged(keyframes2) || (type === "spring" || isGenerator(type)) && velocity;
1979
1982
  }
1983
+ function isHTMLElement$1(element) {
1984
+ return isObject(element) && "offsetHeight" in element;
1985
+ }
1980
1986
  const acceleratedValues$1 = /* @__PURE__ */ new Set([
1981
1987
  "opacity",
1982
1988
  "clipPath",
1983
1989
  "filter",
1984
1990
  "transform"
1985
- // TODO: Can be accelerated but currently disabled until https://issues.chromium.org/issues/41491098 is resolved
1986
- // or until we implement support for linear() easing.
1991
+ // TODO: Could be re-enabled now we have support for linear() easing
1987
1992
  // "background-color"
1988
1993
  ]);
1989
1994
  const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1990
1995
  function supportsBrowserAnimation(options) {
1996
+ var _a;
1991
1997
  const { motionValue: motionValue2, name, repeatDelay, repeatType, damping, type } = options;
1992
- if (!motionValue2 || !motionValue2.owner || !(motionValue2.owner.current instanceof HTMLElement)) {
1998
+ if (!isHTMLElement$1((_a = motionValue2 == null ? void 0 : motionValue2.owner) == null ? void 0 : _a.current)) {
1993
1999
  return false;
1994
2000
  }
1995
2001
  const { onUpdate, transformTemplate } = motionValue2.owner.getProps();
@@ -2587,7 +2593,6 @@ class MotionValue {
2587
2593
  * - `transformer`: A function to transform incoming values with.
2588
2594
  */
2589
2595
  constructor(init, options = {}) {
2590
- this.version = "__VERSION__";
2591
2596
  this.canTrackVelocity = null;
2592
2597
  this.events = {};
2593
2598
  this.updateAndNotify = (v, render = true) => {
@@ -3126,7 +3131,7 @@ function press(targetOrSelector, onPressStart, options = {}) {
3126
3131
  targets.forEach((target) => {
3127
3132
  const pointerDownTarget = options.useGlobalTarget ? window : target;
3128
3133
  pointerDownTarget.addEventListener("pointerdown", startPress, eventOptions);
3129
- if (target instanceof HTMLElement) {
3134
+ if (isHTMLElement$1(target)) {
3130
3135
  target.addEventListener("focus", (event) => enableKeyboardPress(event, eventOptions));
3131
3136
  if (!isElementKeyboardAccessible(target) && !target.hasAttribute("tabindex")) {
3132
3137
  target.tabIndex = 0;
@@ -3261,6 +3266,12 @@ function recordStats() {
3261
3266
  frame.postRender(record, true);
3262
3267
  return reportStats;
3263
3268
  }
3269
+ function isSVGElement$1(element) {
3270
+ return isObject(element) && "ownerSVGElement" in element;
3271
+ }
3272
+ function isSVGSVGElement(element) {
3273
+ return isSVGElement$1(element) && element.tagName === "svg";
3274
+ }
3264
3275
  function transform(...args) {
3265
3276
  const useImmediate = !Array.isArray(args[0]);
3266
3277
  const argOffset = useImmediate ? 0 : -1;
@@ -3293,6 +3304,56 @@ function mapValue(inputValue, inputRange, outputRange, options) {
3293
3304
  const map = transform(inputRange, outputRange, options);
3294
3305
  return transformValue(() => map(inputValue.get()));
3295
3306
  }
3307
+ const isMotionValue = (value) => Boolean(value && value.getVelocity);
3308
+ function springValue(source, options) {
3309
+ const initialValue = isMotionValue(source) ? source.get() : source;
3310
+ const value = motionValue(initialValue);
3311
+ attachSpring(value, source, options);
3312
+ return value;
3313
+ }
3314
+ function attachSpring(value, source, options) {
3315
+ const initialValue = value.get();
3316
+ let activeAnimation = null;
3317
+ let latestValue = initialValue;
3318
+ let latestSetter;
3319
+ const unit = typeof initialValue === "string" ? initialValue.replace(/[\d.-]/g, "") : void 0;
3320
+ const stopAnimation2 = () => {
3321
+ if (activeAnimation) {
3322
+ activeAnimation.stop();
3323
+ activeAnimation = null;
3324
+ }
3325
+ };
3326
+ const startAnimation = () => {
3327
+ stopAnimation2();
3328
+ activeAnimation = new JSAnimation({
3329
+ keyframes: [asNumber$1(value.get()), asNumber$1(latestValue)],
3330
+ velocity: value.getVelocity(),
3331
+ type: "spring",
3332
+ restDelta: 1e-3,
3333
+ restSpeed: 0.01,
3334
+ ...options,
3335
+ onUpdate: latestSetter
3336
+ });
3337
+ };
3338
+ value.attach((v, set) => {
3339
+ latestValue = v;
3340
+ latestSetter = (latest) => set(parseValue(latest, unit));
3341
+ frame.postRender(startAnimation);
3342
+ return value.get();
3343
+ }, stopAnimation2);
3344
+ let unsubscribe = void 0;
3345
+ if (isMotionValue(source)) {
3346
+ unsubscribe = source.on("change", (v) => value.set(parseValue(v, unit)));
3347
+ value.on("destroy", unsubscribe);
3348
+ }
3349
+ return unsubscribe;
3350
+ }
3351
+ function parseValue(v, unit) {
3352
+ return unit ? v + unit : v;
3353
+ }
3354
+ function asNumber$1(v) {
3355
+ return typeof v === "number" ? v : parseFloat(v);
3356
+ }
3296
3357
  const valueTypes = [...dimensionValueTypes, color, complex];
3297
3358
  const findValueType = (v) => valueTypes.find(testValueType(v));
3298
3359
  function chooseLayerType(valueName) {
@@ -3558,7 +3619,6 @@ const cancelSync = stepsOrder.reduce((acc, key) => {
3558
3619
  acc[key] = (process2) => cancelFrame(process2);
3559
3620
  return acc;
3560
3621
  }, {});
3561
- const isMotionValue$1 = (value) => Boolean(value && value.getVelocity);
3562
3622
  function isDOMKeyframes(keyframes2) {
3563
3623
  return typeof keyframes2 === "object" && !Array.isArray(keyframes2);
3564
3624
  }
@@ -3697,7 +3757,7 @@ function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...seq
3697
3757
  maxDuration = Math.max(calculatedDelay + duration, maxDuration);
3698
3758
  totalDuration = Math.max(targetTime, totalDuration);
3699
3759
  };
3700
- if (isMotionValue$1(subject)) {
3760
+ if (isMotionValue(subject)) {
3701
3761
  const subjectSequence = getSubjectSequence(subject, sequences);
3702
3762
  resolveValueSequence(keyframes2, transition, getValueSequence("default", subjectSequence));
3703
3763
  } else {
@@ -3827,7 +3887,7 @@ function setTarget(visualElement, definition) {
3827
3887
  }
3828
3888
  }
3829
3889
  function isWillChangeMotionValue$1(value) {
3830
- return Boolean(isMotionValue$1(value) && value.add);
3890
+ return Boolean(isMotionValue(value) && value.add);
3831
3891
  }
3832
3892
  function addValueToWillChange$1(visualElement, key) {
3833
3893
  const willChange = visualElement.getValue("willChange");
@@ -3991,9 +4051,6 @@ function animateTarget(visualElement, targetAndTransition, { delay: delay2 = 0,
3991
4051
  }
3992
4052
  return animations;
3993
4053
  }
3994
- function isSVGElement$1(element) {
3995
- return element instanceof SVGElement && element.tagName !== "svg";
3996
- }
3997
4054
  function convertBoundingBoxToBox$1({ top, left, right, bottom }) {
3998
4055
  return {
3999
4056
  x: { min: left, max: right },
@@ -4182,9 +4239,9 @@ function updateMotionValuesFromProps(element, next2, prev) {
4182
4239
  for (const key in next2) {
4183
4240
  const nextValue = next2[key];
4184
4241
  const prevValue = prev[key];
4185
- if (isMotionValue$1(nextValue)) {
4242
+ if (isMotionValue(nextValue)) {
4186
4243
  element.addValue(key, nextValue);
4187
- } else if (isMotionValue$1(prevValue)) {
4244
+ } else if (isMotionValue(prevValue)) {
4188
4245
  element.addValue(key, motionValue(nextValue, { owner: element }));
4189
4246
  } else if (prevValue !== nextValue) {
4190
4247
  if (element.hasValue(key)) {
@@ -4275,7 +4332,7 @@ class VisualElement {
4275
4332
  const { willChange, ...initialMotionValues } = this.scrapeMotionValuesFromProps(props, {}, this);
4276
4333
  for (const key in initialMotionValues) {
4277
4334
  const value = initialMotionValues[key];
4278
- if (latestValues[key] !== void 0 && isMotionValue$1(value)) {
4335
+ if (latestValues[key] !== void 0 && isMotionValue(value)) {
4279
4336
  value.set(latestValues[key], false);
4280
4337
  }
4281
4338
  }
@@ -4510,9 +4567,9 @@ class VisualElement {
4510
4567
  } else if (!findValueType(value) && complex.test(target)) {
4511
4568
  value = getAnimatableNone(key, target);
4512
4569
  }
4513
- this.setBaseTarget(key, isMotionValue$1(value) ? value.get() : value);
4570
+ this.setBaseTarget(key, isMotionValue(value) ? value.get() : value);
4514
4571
  }
4515
- return isMotionValue$1(value) ? value.get() : value;
4572
+ return isMotionValue(value) ? value.get() : value;
4516
4573
  }
4517
4574
  /**
4518
4575
  * Set the base target to later animate back to. This is currently
@@ -4539,7 +4596,7 @@ class VisualElement {
4539
4596
  return valueFromInitial;
4540
4597
  }
4541
4598
  const target = this.getBaseTargetFromProps(this.props, key);
4542
- if (target !== void 0 && !isMotionValue$1(target))
4599
+ if (target !== void 0 && !isMotionValue(target))
4543
4600
  return target;
4544
4601
  return this.initialValues[key] !== void 0 && valueFromInitial === void 0 ? void 0 : this.baseTarget[key];
4545
4602
  }
@@ -4576,7 +4633,7 @@ class DOMVisualElement extends VisualElement {
4576
4633
  delete this.childSubscription;
4577
4634
  }
4578
4635
  const { children } = this.props;
4579
- if (isMotionValue$1(children)) {
4636
+ if (isMotionValue(children)) {
4580
4637
  this.childSubscription = children.on("change", (latest) => {
4581
4638
  if (this.current) {
4582
4639
  this.current.textContent = `${latest}`;
@@ -4683,7 +4740,7 @@ function scrapeMotionValuesFromProps$1(props, prevProps, visualElement) {
4683
4740
  const { style: style2 } = props;
4684
4741
  const newValues = {};
4685
4742
  for (const key in style2) {
4686
- if (isMotionValue$1(style2[key]) || prevProps.style && isMotionValue$1(prevProps.style[key]) || isForcedMotionValue(key, props) || ((_a = visualElement == null ? void 0 : visualElement.getValue(key)) == null ? void 0 : _a.liveStyle) !== void 0) {
4743
+ if (isMotionValue(style2[key]) || prevProps.style && isMotionValue(prevProps.style[key]) || isForcedMotionValue(key, props) || ((_a = visualElement == null ? void 0 : visualElement.getValue(key)) == null ? void 0 : _a.liveStyle) !== void 0) {
4687
4744
  newValues[key] = style2[key];
4688
4745
  }
4689
4746
  }
@@ -4699,8 +4756,9 @@ class HTMLVisualElement extends DOMVisualElement {
4699
4756
  this.renderInstance = renderHTML;
4700
4757
  }
4701
4758
  readValueFromInstance(instance, key) {
4759
+ var _a;
4702
4760
  if (transformProps.has(key)) {
4703
- return readTransformValue(instance, key);
4761
+ return ((_a = this.projection) == null ? void 0 : _a.isProjecting) ? defaultTransformValue(key) : readTransformValue(instance, key);
4704
4762
  } else {
4705
4763
  const computedStyle = getComputedStyle$1(instance);
4706
4764
  const value = (isCSSVariableName(key) ? computedStyle.getPropertyValue(key) : computedStyle[key]) || 0;
@@ -4846,7 +4904,7 @@ function renderSVG(element, renderState, _styleProp, projection) {
4846
4904
  function scrapeMotionValuesFromProps(props, prevProps, visualElement) {
4847
4905
  const newValues = scrapeMotionValuesFromProps$1(props, prevProps, visualElement);
4848
4906
  for (const key in props) {
4849
- if (isMotionValue$1(props[key]) || isMotionValue$1(prevProps[key])) {
4907
+ if (isMotionValue(props[key]) || isMotionValue(prevProps[key])) {
4850
4908
  const targetKey = transformPropOrder.indexOf(key) !== -1 ? "attr" + key.charAt(0).toUpperCase() + key.substring(1) : key;
4851
4909
  newValues[targetKey] = props[key];
4852
4910
  }
@@ -4900,7 +4958,7 @@ function createDOMVisualElement(element) {
4900
4958
  latestValues: {}
4901
4959
  }
4902
4960
  };
4903
- const node = isSVGElement$1(element) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
4961
+ const node = isSVGElement$1(element) && !isSVGSVGElement(element) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
4904
4962
  node.mount(element);
4905
4963
  visualElementStore.set(element, node);
4906
4964
  }
@@ -4920,12 +4978,12 @@ function createObjectVisualElement(subject) {
4920
4978
  visualElementStore.set(subject, node);
4921
4979
  }
4922
4980
  function animateSingleValue(value, keyframes2, options) {
4923
- const motionValue$1 = isMotionValue$1(value) ? value : motionValue(value);
4981
+ const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
4924
4982
  motionValue$1.start(animateMotionValue("", motionValue$1, keyframes2, options));
4925
4983
  return motionValue$1.animation;
4926
4984
  }
4927
4985
  function isSingleValue(subject, keyframes2) {
4928
- return isMotionValue$1(subject) || typeof subject === "number" || typeof subject === "string" && !isDOMKeyframes(keyframes2);
4986
+ return isMotionValue(subject) || typeof subject === "number" || typeof subject === "string" && !isDOMKeyframes(keyframes2);
4929
4987
  }
4930
4988
  function animateSubject(subject, keyframes2, options, scope) {
4931
4989
  const animations = [];
@@ -5053,7 +5111,7 @@ function getElementSize(target, borderBoxSize) {
5053
5111
  if (borderBoxSize) {
5054
5112
  const { inlineSize, blockSize } = borderBoxSize[0];
5055
5113
  return { width: inlineSize, height: blockSize };
5056
- } else if (target instanceof SVGElement && "getBBox" in target) {
5114
+ } else if (isSVGElement$1(target) && "getBBox" in target) {
5057
5115
  return target.getBBox();
5058
5116
  } else {
5059
5117
  return {
@@ -5185,7 +5243,7 @@ function calcInset(element, container) {
5185
5243
  const inset = { x: 0, y: 0 };
5186
5244
  let current2 = element;
5187
5245
  while (current2 && current2 !== container) {
5188
- if (current2 instanceof HTMLElement) {
5246
+ if (isHTMLElement$1(current2)) {
5189
5247
  inset.x += current2.offsetLeft;
5190
5248
  inset.y += current2.offsetTop;
5191
5249
  current2 = current2.offsetParent;
@@ -5346,8 +5404,10 @@ function createOnScrollHandler(element, onScroll, info, options = {}) {
5346
5404
  const scrollListeners = /* @__PURE__ */ new WeakMap();
5347
5405
  const resizeListeners = /* @__PURE__ */ new WeakMap();
5348
5406
  const onScrollHandlers = /* @__PURE__ */ new WeakMap();
5349
- const getEventTarget = (element) => element === document.documentElement ? window : element;
5350
- function scrollInfo(onScroll, { container = document.documentElement, ...options } = {}) {
5407
+ const getEventTarget = (element) => element === document.scrollingElement ? window : element;
5408
+ function scrollInfo(onScroll, { container = document.scrollingElement, ...options } = {}) {
5409
+ if (!container)
5410
+ return noop;
5351
5411
  let containerHandlers = onScrollHandlers.get(container);
5352
5412
  if (!containerHandlers) {
5353
5413
  containerHandlers = /* @__PURE__ */ new Set();
@@ -5450,10 +5510,9 @@ function attachToFunction(onScroll, options) {
5450
5510
  return observeTimeline(onScroll, getTimeline(options));
5451
5511
  }
5452
5512
  }
5453
- function scroll(onScroll, { axis = "y", container = document.documentElement, ...options } = {}) {
5454
- if (container === document.documentElement && (axis === "y" && container.scrollHeight === container.clientHeight || axis === "x" && container.scrollWidth === container.clientWidth)) {
5455
- container = document.body;
5456
- }
5513
+ function scroll(onScroll, { axis = "y", container = document.scrollingElement, ...options } = {}) {
5514
+ if (!container)
5515
+ return noop;
5457
5516
  const optionsWithDefaults = { axis, container, ...options };
5458
5517
  return typeof onScroll === "function" ? attachToFunction(onScroll, optionsWithDefaults) : attachToAnimation(onScroll, optionsWithDefaults);
5459
5518
  }
@@ -5542,15 +5601,14 @@ function createContext(providerComponentName, contextName) {
5542
5601
  const injectionKey = Symbol(symbolDescription);
5543
5602
  const injectContext = (fallback) => {
5544
5603
  const context = vue.inject(injectionKey, fallback);
5545
- if (context)
5546
- return context;
5547
- if (context === null)
5548
- return context;
5549
- throw new Error(
5550
- `Injection \`${injectionKey.toString()}\` not found. Component must be used within ${Array.isArray(providerComponentName) ? `one of the following components: ${providerComponentName.join(
5551
- ", "
5552
- )}` : `\`${providerComponentName}\``}`
5553
- );
5604
+ if (context === void 0) {
5605
+ throw new Error(
5606
+ `Injection \`${injectionKey.toString()}\` not found. Component must be used within ${Array.isArray(providerComponentName) ? `one of the following components: ${providerComponentName.join(
5607
+ ", "
5608
+ )}` : `\`${providerComponentName}\``}`
5609
+ );
5610
+ }
5611
+ return context;
5554
5612
  };
5555
5613
  const provideContext = (contextValue) => {
5556
5614
  vue.provide(injectionKey, contextValue);
@@ -5558,9 +5616,6 @@ function createContext(providerComponentName, contextName) {
5558
5616
  };
5559
5617
  return [injectContext, provideContext];
5560
5618
  }
5561
- function isMotionValue(value) {
5562
- return Boolean(value && value.getVelocity);
5563
- }
5564
5619
  function useInView(domRef, options) {
5565
5620
  const isInView = vue.ref(false);
5566
5621
  vue.watch([domRef, () => vue.isRef(options) ? options.value : options], (_v1, _v2, onCleanup) => {
@@ -6858,8 +6913,9 @@ class LayoutFeature extends Feature {
6858
6913
  }
6859
6914
  didUpdate() {
6860
6915
  var _a, _b;
6861
- if (this.state.options.layout || this.state.options.layoutId || this.state.options.drag)
6916
+ if (this.state.options.layout || this.state.options.layoutId || this.state.options.drag) {
6862
6917
  (_b = (_a = this.state.visualElement.projection) == null ? void 0 : _a.root) == null ? void 0 : _b.didUpdate();
6918
+ }
6863
6919
  }
6864
6920
  mount() {
6865
6921
  var _a;
@@ -6891,7 +6947,7 @@ class LayoutFeature extends Feature {
6891
6947
  const layoutGroup = this.state.options.layoutGroup;
6892
6948
  const projection = this.state.visualElement.projection;
6893
6949
  if (projection) {
6894
- if (layoutGroup == null ? void 0 : layoutGroup.group) {
6950
+ if ((layoutGroup == null ? void 0 : layoutGroup.group) && (this.state.options.layout || this.state.options.layoutId)) {
6895
6951
  layoutGroup.group.remove(projection);
6896
6952
  }
6897
6953
  this.didUpdate();
@@ -7441,7 +7497,7 @@ class FlatTree {
7441
7497
  }
7442
7498
  }
7443
7499
  function resolveMotionValue(value) {
7444
- return isMotionValue$1(value) ? value.get() : value;
7500
+ return isMotionValue(value) ? value.get() : value;
7445
7501
  }
7446
7502
  const borders = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"];
7447
7503
  const numBorders = borders.length;
@@ -7845,7 +7901,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
7845
7901
  mount(instance) {
7846
7902
  if (this.instance)
7847
7903
  return;
7848
- this.isSVG = isSVGElement$1(instance);
7904
+ this.isSVG = isSVGElement$1(instance) && !isSVGSVGElement(instance);
7849
7905
  this.instance = instance;
7850
7906
  const { layoutId, layout, visualElement } = this.options;
7851
7907
  if (visualElement && !visualElement.current) {
@@ -9925,35 +9981,35 @@ function useScroll({
9925
9981
  vue.onMounted(() => {
9926
9982
  refWarning("target", target);
9927
9983
  refWarning("container", container);
9928
- vue.watch(
9929
- [() => container == null ? void 0 : container.value, () => target == null ? void 0 : target.value, () => options.offset],
9930
- (n, o, onCleanup) => {
9931
- if (isSSR) {
9932
- return;
9933
- }
9934
- const cleanup = scroll(
9935
- (_progress, { x, y }) => {
9936
- values.scrollX.set(x.current);
9937
- values.scrollXProgress.set(x.progress);
9938
- values.scrollY.set(y.current);
9939
- values.scrollYProgress.set(y.progress);
9940
- },
9941
- {
9942
- ...options,
9943
- container: (container == null ? void 0 : container.value) ?? void 0,
9944
- target: (target == null ? void 0 : target.value) ?? void 0
9945
- }
9946
- );
9947
- onCleanup(() => {
9948
- cleanup();
9949
- });
9950
- },
9951
- {
9952
- immediate: true,
9953
- flush: "post"
9954
- }
9955
- );
9956
9984
  });
9985
+ vue.watch(
9986
+ [() => container == null ? void 0 : container.value, () => target == null ? void 0 : target.value, () => options.offset],
9987
+ (n, o, onCleanup) => {
9988
+ if (isSSR) {
9989
+ return;
9990
+ }
9991
+ const cleanup = scroll(
9992
+ (_progress, { x, y }) => {
9993
+ values.scrollX.set(x.current);
9994
+ values.scrollXProgress.set(x.progress);
9995
+ values.scrollY.set(y.current);
9996
+ values.scrollYProgress.set(y.progress);
9997
+ },
9998
+ {
9999
+ ...options,
10000
+ container: (container == null ? void 0 : container.value) ?? void 0,
10001
+ target: (target == null ? void 0 : target.value) ?? void 0
10002
+ }
10003
+ );
10004
+ onCleanup(() => {
10005
+ cleanup();
10006
+ });
10007
+ },
10008
+ {
10009
+ immediate: true,
10010
+ flush: "post"
10011
+ }
10012
+ );
9957
10013
  return values;
9958
10014
  }
9959
10015
  function useVelocity(value) {
@@ -10183,17 +10239,14 @@ function nodeGroup() {
10183
10239
  const nodes = /* @__PURE__ */ new Set();
10184
10240
  const subscriptions = /* @__PURE__ */ new WeakMap();
10185
10241
  const dirtyAll = (node) => {
10186
- var _a;
10187
10242
  nodes.forEach(notify);
10188
- if (!(node == null ? void 0 : node.options.layoutId))
10189
- (_a = node == null ? void 0 : node.root) == null ? void 0 : _a.didUpdate();
10190
10243
  };
10191
10244
  return {
10192
10245
  add: (node) => {
10193
10246
  nodes.add(node);
10194
10247
  subscriptions.set(
10195
10248
  node,
10196
- node.addEventListener("willUpdate", () => dirtyAll(node))
10249
+ node.addEventListener("willUpdate", () => dirtyAll())
10197
10250
  );
10198
10251
  },
10199
10252
  remove: (node) => {
@@ -10203,7 +10256,7 @@ function nodeGroup() {
10203
10256
  unsubscribe();
10204
10257
  subscriptions.delete(node);
10205
10258
  }
10206
- dirtyAll(node);
10259
+ dirtyAll();
10207
10260
  },
10208
10261
  dirty: dirtyAll
10209
10262
  };
@@ -10453,6 +10506,7 @@ exports.animateView = animateView;
10453
10506
  exports.animationMapKey = animationMapKey;
10454
10507
  exports.anticipate = anticipate;
10455
10508
  exports.applyPxDefaults = applyPxDefaults;
10509
+ exports.attachSpring = attachSpring;
10456
10510
  exports.backIn = backIn;
10457
10511
  exports.backInOut = backInOut;
10458
10512
  exports.backOut = backOut;
@@ -10476,6 +10530,7 @@ exports.cubicBezier = cubicBezier;
10476
10530
  exports.cubicBezierAsString = cubicBezierAsString;
10477
10531
  exports.defaultEasing = defaultEasing;
10478
10532
  exports.defaultOffset = defaultOffset$1;
10533
+ exports.defaultTransformValue = defaultTransformValue;
10479
10534
  exports.defaultValueTypes = defaultValueTypes;
10480
10535
  exports.degrees = degrees;
10481
10536
  exports.delay = delayInSeconds;
@@ -10525,10 +10580,14 @@ exports.isDragActive = isDragActive;
10525
10580
  exports.isDragging = isDragging;
10526
10581
  exports.isEasingArray = isEasingArray;
10527
10582
  exports.isGenerator = isGenerator;
10583
+ exports.isHTMLElement = isHTMLElement$1;
10528
10584
  exports.isMotionValue = isMotionValue;
10529
10585
  exports.isNodeOrChild = isNodeOrChild;
10530
10586
  exports.isNumericalString = isNumericalString;
10587
+ exports.isObject = isObject;
10531
10588
  exports.isPrimaryPointer = isPrimaryPointer$1;
10589
+ exports.isSVGElement = isSVGElement$1;
10590
+ exports.isSVGSVGElement = isSVGSVGElement;
10532
10591
  exports.isWaapiSupportedEasing = isWaapiSupportedEasing;
10533
10592
  exports.isZeroValueString = isZeroValueString;
10534
10593
  exports.keyframes = keyframes;
@@ -10583,6 +10642,7 @@ exports.secondsToMilliseconds = secondsToMilliseconds;
10583
10642
  exports.setDragLock = setDragLock;
10584
10643
  exports.setStyle = setStyle;
10585
10644
  exports.spring = spring;
10645
+ exports.springValue = springValue;
10586
10646
  exports.stagger = stagger;
10587
10647
  exports.startWaapiAnimation = startWaapiAnimation;
10588
10648
  exports.statsBuffer = statsBuffer;
@@ -1,6 +1,6 @@
1
1
  import { mountedStates } from "../../state/motion-state.mjs";
2
2
  import { invariant } from "hey-listen";
3
- import { setTarget } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/render/utils/setters.mjs";
3
+ import { setTarget } from "../../external/.pnpm/framer-motion@12.12.1/external/framer-motion/dist/es/render/utils/setters.mjs";
4
4
  import { resolveVariant } from "../../state/utils.mjs";
5
5
  function stopAnimation(visualElement) {
6
6
  visualElement.values.forEach((value) => value.stop());
@@ -1,5 +1,5 @@
1
1
  import { ref, onUnmounted } from "vue";
2
- import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.10.5/external/framer-motion/dist/es/animation/animate/index.mjs";
2
+ import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.12.1/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,5 +1,5 @@
1
1
  import { useMotionConfig } from "../motion-config/context.mjs";
2
- import { frame } from "../../external/.pnpm/motion-dom@12.10.5/external/motion-dom/dist/es/frameloop/frame.mjs";
2
+ import { frame } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/frameloop/frame.mjs";
3
3
  function usePopLayout(props) {
4
4
  const styles = /* @__PURE__ */ new WeakMap();
5
5
  const config = useMotionConfig();
@@ -5,17 +5,14 @@ function nodeGroup() {
5
5
  const nodes = /* @__PURE__ */ new Set();
6
6
  const subscriptions = /* @__PURE__ */ new WeakMap();
7
7
  const dirtyAll = (node) => {
8
- var _a;
9
8
  nodes.forEach(notify);
10
- if (!(node == null ? void 0 : node.options.layoutId))
11
- (_a = node == null ? void 0 : node.root) == null ? void 0 : _a.didUpdate();
12
9
  };
13
10
  return {
14
11
  add: (node) => {
15
12
  nodes.add(node);
16
13
  subscriptions.set(
17
14
  node,
18
- node.addEventListener("willUpdate", () => dirtyAll(node))
15
+ node.addEventListener("willUpdate", () => dirtyAll())
19
16
  );
20
17
  },
21
18
  remove: (node) => {
@@ -25,7 +22,7 @@ function nodeGroup() {
25
22
  unsubscribe();
26
23
  subscriptions.delete(node);
27
24
  }
28
- dirtyAll(node);
25
+ dirtyAll();
29
26
  },
30
27
  dirty: dirtyAll
31
28
  };
@@ -39,12 +39,12 @@ export declare function useMotionState(props: MotionProps): {
39
39
  [x: number]: string | number | import('framer-motion').MotionValue<any>;
40
40
  [x: `--${string}`]: string | number | import('framer-motion').MotionValue<any>;
41
41
  string?: string | number | import('framer-motion').MotionValue<any>;
42
- [Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
43
42
  end?: string | number | import('framer-motion').MotionValue<any>;
44
43
  x?: string | number | import('framer-motion').MotionValue<any>;
45
44
  y?: string | number | import('framer-motion').MotionValue<any>;
46
45
  position?: string | number | import('framer-motion').MotionValue<any>;
47
46
  page?: string | number | import('framer-motion').MotionValue<any>;
47
+ [Symbol.iterator]?: string | number | import('framer-motion').MotionValue<any>;
48
48
  top?: string | number | import('framer-motion').MotionValue<any>;
49
49
  right?: string | number | import('framer-motion').MotionValue<any>;
50
50
  bottom?: string | number | import('framer-motion').MotionValue<any>;
@@ -8,7 +8,7 @@ import { convertSvgStyleToAttributes, createStyles } from "../../state/style.mjs
8
8
  import { warning, invariant } from "hey-listen";
9
9
  import { ref, useAttrs, getCurrentInstance, onBeforeMount, onMounted, onBeforeUnmount, onUnmounted, onBeforeUpdate, onUpdated } from "vue";
10
10
  import { useMotionConfig } from "../motion-config/context.mjs";
11
- import { isMotionValue } from "../../utils/motion-value.mjs";
11
+ import { isMotionValue } from "../../external/.pnpm/motion-dom@12.12.1/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
12
12
  function useMotionState(props) {
13
13
  var _a;
14
14
  const parentState = injectMotion(null);