motion-v 1.6.1 → 1.7.0-alpha.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 (309) hide show
  1. package/dist/cjs/index.js +98 -60
  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/motion/use-motion-state.mjs +1 -1
  6. package/dist/es/components/reorder/utils.mjs +3 -3
  7. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animate/index.mjs +2 -2
  8. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animate/resolve-subjects.mjs +1 -1
  9. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animate/sequence.mjs +1 -1
  10. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animate/single-value.mjs +2 -2
  11. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animate/subject.mjs +4 -3
  12. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs +10 -10
  13. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animators/waapi/animate-style.mjs +1 -1
  14. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/interfaces/motion-value.mjs +9 -8
  15. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/interfaces/visual-element-target.mjs +3 -3
  16. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/create.mjs +10 -10
  17. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/utils/edit.mjs +3 -3
  18. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/create-visual-element.mjs +2 -2
  19. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/default-transitions.mjs +1 -1
  20. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/motion/utils/is-forced-motion-value.mjs +1 -1
  21. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/animation/mix-values.mjs +5 -5
  22. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/delta-apply.mjs +1 -1
  23. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/delta-calc.mjs +1 -1
  24. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/delta-remove.mjs +2 -2
  25. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/node/create-projection-node.mjs +13 -13
  26. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/shared/stack.mjs +1 -1
  27. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/styles/scale-border-radius.mjs +1 -1
  28. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/styles/scale-box-shadow.mjs +2 -2
  29. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/styles/scale-correction.mjs +1 -1
  30. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/VisualElement.mjs +33 -20
  31. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/DOMVisualElement.mjs +2 -2
  32. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/attach-animation.mjs +1 -1
  33. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/attach-function.mjs +1 -1
  34. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/index.mjs +1 -1
  35. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/info.mjs +2 -2
  36. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/offsets/index.mjs +3 -3
  37. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/offsets/inset.mjs +1 -1
  38. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/on-scroll-handler.mjs +1 -1
  39. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/track.mjs +3 -3
  40. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/utils/get-timeline.mjs +1 -1
  41. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/viewport/index.mjs +1 -1
  42. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/html/HTMLVisualElement.mjs +3 -3
  43. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/html/utils/build-styles.mjs +4 -4
  44. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/html/utils/build-transform.mjs +3 -3
  45. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/html/utils/scrape-motion-values.mjs +1 -1
  46. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/SVGVisualElement.mjs +2 -2
  47. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/path.mjs +1 -1
  48. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/scrape-motion-values.mjs +2 -2
  49. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/flat-tree.mjs +1 -1
  50. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/motion-values.mjs +2 -2
  51. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/setters.mjs +1 -1
  52. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/utils/delay.mjs +3 -3
  53. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/value/use-will-change/add-will-change.mjs +1 -1
  54. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/value/use-will-change/is.mjs +1 -1
  55. package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/value/utils/resolve-motion-value.mjs +1 -1
  56. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +4 -3
  57. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/JSAnimation.mjs +5 -5
  58. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/NativeAnimation.mjs +4 -4
  59. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +1 -1
  60. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/keyframes.mjs +3 -3
  61. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/spring/find.mjs +4 -4
  62. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/spring/index.mjs +2 -2
  63. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +1 -1
  64. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/utils/velocity.mjs +1 -1
  65. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +1 -1
  66. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +1 -1
  67. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/can-animate.mjs +2 -2
  68. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +3 -3
  69. package/dist/es/external/.pnpm/motion-dom@12.23.12/external/motion-dom/dist/es/animation/utils/make-animation-instant.mjs +7 -0
  70. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/easing/is-supported.mjs +1 -1
  71. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +1 -1
  72. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/supports/partial-keyframes.mjs +1 -1
  73. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +3 -3
  74. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +3 -3
  75. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/batcher.mjs +1 -1
  76. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/frame.mjs +1 -1
  77. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/sync-time.mjs +1 -1
  78. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/interpolate.mjs +7 -7
  79. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/is-html-element.mjs +1 -1
  80. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/is-svg-element.mjs +1 -1
  81. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/color.mjs +2 -2
  82. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/complex.mjs +3 -3
  83. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/stagger.mjs +1 -1
  84. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/supports/memo.mjs +1 -1
  85. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +1 -1
  86. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/index.mjs +8 -11
  87. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/spring-value.mjs +7 -4
  88. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/rgba.mjs +1 -1
  89. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/numbers/index.mjs +1 -1
  90. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/index.mjs +1 -1
  91. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/queue.mjs +1 -1
  92. package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/start.mjs +3 -3
  93. package/dist/es/external/.pnpm/{motion-dom@12.22.0/external/motion-dom/dist/es/view/utils/get-layer-name.mjs → motion-dom@12.23.12/external/motion-dom/dist/es/view/utils/get-layer-info.mjs} +2 -2
  94. package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/utils/map.mjs +2 -2
  95. package/dist/es/external/.pnpm/motion-utils@12.23.6/external/motion-utils/dist/es/errors.mjs +21 -0
  96. package/dist/es/external/.pnpm/motion-utils@12.23.6/external/motion-utils/dist/es/format-error-message.mjs +6 -0
  97. package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/warn-once.mjs +3 -4
  98. package/dist/es/features/animation/animation.d.ts +1 -1
  99. package/dist/es/features/animation/animation.mjs +21 -8
  100. package/dist/es/features/animation/calc-child-stagger.d.ts +3 -0
  101. package/dist/es/features/animation/calc-child-stagger.mjs +14 -0
  102. package/dist/es/features/animation/types.d.ts +0 -1
  103. package/dist/es/features/dom-animation.mjs +0 -4
  104. package/dist/es/features/gestures/drag/VisualElementDragControls.mjs +4 -4
  105. package/dist/es/features/gestures/drag/index.mjs +1 -1
  106. package/dist/es/features/gestures/drag/utils/constraints.mjs +3 -3
  107. package/dist/es/features/gestures/focus/index.mjs +1 -1
  108. package/dist/es/features/gestures/hover/index.mjs +2 -2
  109. package/dist/es/features/gestures/in-view/index.mjs +2 -2
  110. package/dist/es/features/gestures/pan/PanSession.mjs +4 -4
  111. package/dist/es/features/gestures/pan/index.mjs +2 -2
  112. package/dist/es/features/gestures/press/index.mjs +2 -2
  113. package/dist/es/features/layout/config.mjs +2 -2
  114. package/dist/es/features/layout/layout.mjs +2 -2
  115. package/dist/es/features/layout/projection.mjs +2 -2
  116. package/dist/es/index.mjs +140 -132
  117. package/dist/es/state/create-visual-element.mjs +2 -2
  118. package/dist/es/state/motion-state.d.ts +5 -2
  119. package/dist/es/state/motion-state.mjs +2 -6
  120. package/dist/es/state/style.mjs +2 -2
  121. package/dist/es/utils/use-animation-frame.mjs +1 -1
  122. package/dist/es/utils/use-in-view.mjs +1 -1
  123. package/dist/es/value/use-combine-values.mjs +2 -2
  124. package/dist/es/value/use-computed.mjs +1 -1
  125. package/dist/es/value/use-motion-template.mjs +1 -1
  126. package/dist/es/value/use-scroll.mjs +2 -2
  127. package/dist/es/value/use-spring.mjs +4 -4
  128. package/dist/es/value/use-time.mjs +1 -1
  129. package/dist/es/value/use-transform.mjs +1 -1
  130. package/dist/es/value/use-velocity.mjs +2 -2
  131. package/dist/es/value/use-will-change/is.mjs +1 -1
  132. package/package.json +3 -3
  133. package/dist/es/external/.pnpm/motion-utils@12.19.0/external/motion-utils/dist/es/errors.mjs +0 -20
  134. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/animators/waapi/utils/get-final-keyframe.mjs +0 -0
  135. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/optimized-appear/data-id.mjs +0 -0
  136. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/optimized-appear/get-appear-id.mjs +0 -0
  137. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs +0 -0
  138. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs +0 -0
  139. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs +0 -0
  140. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/sequence/utils/sort.mjs +0 -0
  141. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/is-animation-controls.mjs +0 -0
  142. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs +0 -0
  143. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/is-keyframes-target.mjs +0 -0
  144. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/animation/utils/is-transition-defined.mjs +0 -0
  145. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/events/add-dom-event.mjs +0 -0
  146. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/motion/features/definitions.mjs +0 -0
  147. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/conversion.mjs +0 -0
  148. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/copy.mjs +0 -0
  149. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/models.mjs +0 -0
  150. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/geometry/utils.mjs +0 -0
  151. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/node/DocumentProjectionNode.mjs +0 -0
  152. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/node/HTMLProjectionNode.mjs +0 -0
  153. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/node/state.mjs +0 -0
  154. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/styles/transform.mjs +0 -0
  155. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/utils/each-axis.mjs +0 -0
  156. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/utils/has-transform.mjs +0 -0
  157. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/projection/utils/measure.mjs +0 -0
  158. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/offsets/edge.mjs +0 -0
  159. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/offsets/offset.mjs +0 -0
  160. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/scroll/offsets/presets.mjs +0 -0
  161. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  162. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/html/utils/render.mjs +0 -0
  163. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/object/ObjectVisualElement.mjs +0 -0
  164. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/store.mjs +0 -0
  165. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/build-attrs.mjs +0 -0
  166. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/camel-case-attrs.mjs +0 -0
  167. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/is-svg-tag.mjs +0 -0
  168. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/svg/utils/render.mjs +0 -0
  169. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/compare-by-depth.mjs +0 -0
  170. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/is-controlling-variants.mjs +0 -0
  171. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/is-variant-label.mjs +0 -0
  172. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/resolve-dynamic-variants.mjs +0 -0
  173. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/resolve-variants.mjs +0 -0
  174. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/render/utils/variant-props.mjs +0 -0
  175. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/utils/distance.mjs +0 -0
  176. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/utils/is-browser.mjs +0 -0
  177. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/utils/reduced-motion/index.mjs +0 -0
  178. /package/dist/es/external/.pnpm/{framer-motion@12.22.0 → framer-motion@12.23.12}/external/framer-motion/dist/es/utils/reduced-motion/state.mjs +0 -0
  179. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/GroupAnimation.mjs +0 -0
  180. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs +0 -0
  181. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/NativeAnimationWrapper.mjs +0 -0
  182. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/drivers/frame.mjs +0 -0
  183. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/inertia.mjs +0 -0
  184. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/spring/defaults.mjs +0 -0
  185. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +0 -0
  186. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +0 -0
  187. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +0 -0
  188. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +0 -0
  189. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/get-final.mjs +0 -0
  190. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +0 -0
  191. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +0 -0
  192. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs +0 -0
  193. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +0 -0
  194. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +0 -0
  195. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +0 -0
  196. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/WithPromise.mjs +0 -0
  197. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/active-animations.mjs +0 -0
  198. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs +0 -0
  199. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/is-animatable.mjs +0 -0
  200. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/is-css-variable.mjs +0 -0
  201. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +0 -0
  202. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +0 -0
  203. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/easing/supported.mjs +0 -0
  204. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +0 -0
  205. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +0 -0
  206. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +0 -0
  207. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/utils/linear.mjs +0 -0
  208. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/animation/waapi/utils/px-values.mjs +0 -0
  209. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/MotionValueState.mjs +0 -0
  210. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/attr/index.mjs +0 -0
  211. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/prop/index.mjs +0 -0
  212. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/style/index.mjs +0 -0
  213. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/style/transform.mjs +0 -0
  214. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/svg/index.mjs +0 -0
  215. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/utils/create-dom-effect.mjs +0 -0
  216. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/effects/utils/create-effect.mjs +0 -0
  217. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/index-legacy.mjs +0 -0
  218. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/microtask.mjs +0 -0
  219. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/order.mjs +0 -0
  220. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/frameloop/render-step.mjs +0 -0
  221. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/drag/state/is-active.mjs +0 -0
  222. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/drag/state/set-active.mjs +0 -0
  223. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/hover.mjs +0 -0
  224. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/press/index.mjs +0 -0
  225. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +0 -0
  226. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +0 -0
  227. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/press/utils/state.mjs +0 -0
  228. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +0 -0
  229. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +0 -0
  230. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/gestures/utils/setup.mjs +0 -0
  231. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/dom/is-css-var.mjs +0 -0
  232. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/dom/parse-transform.mjs +0 -0
  233. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/dom/style-computed.mjs +0 -0
  234. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/dom/style-set.mjs +0 -0
  235. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs +0 -0
  236. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/utils/keys-position.mjs +0 -0
  237. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/render/utils/keys-transform.mjs +0 -0
  238. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/resize/handle-element.mjs +0 -0
  239. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/resize/handle-window.mjs +0 -0
  240. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/resize/index.mjs +0 -0
  241. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/scroll/observe.mjs +0 -0
  242. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/stats/animation-count.mjs +0 -0
  243. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/stats/buffer.mjs +0 -0
  244. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/stats/index.mjs +0 -0
  245. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/is-svg-svg-element.mjs +0 -0
  246. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/immediate.mjs +0 -0
  247. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/index.mjs +0 -0
  248. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/number.mjs +0 -0
  249. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/mix/visibility.mjs +0 -0
  250. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/resolve-elements.mjs +0 -0
  251. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/supports/flags.mjs +0 -0
  252. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/supports/linear-easing.mjs +0 -0
  253. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/utils/transform.mjs +0 -0
  254. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/map-value.mjs +0 -0
  255. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/subscribe-value.mjs +0 -0
  256. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/transform-value.mjs +0 -0
  257. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/auto.mjs +0 -0
  258. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/hex.mjs +0 -0
  259. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +0 -0
  260. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/hsla.mjs +0 -0
  261. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/index.mjs +0 -0
  262. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/color/utils.mjs +0 -0
  263. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/complex/filter.mjs +0 -0
  264. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/complex/index.mjs +0 -0
  265. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/dimensions.mjs +0 -0
  266. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/int.mjs +0 -0
  267. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/maps/defaults.mjs +0 -0
  268. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/maps/number.mjs +0 -0
  269. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/maps/transform.mjs +0 -0
  270. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/numbers/units.mjs +0 -0
  271. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/test.mjs +0 -0
  272. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/animatable-none.mjs +0 -0
  273. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/color-regex.mjs +0 -0
  274. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/find.mjs +0 -0
  275. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/float-regex.mjs +0 -0
  276. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/get-as-type.mjs +0 -0
  277. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/is-nullish.mjs +0 -0
  278. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/sanitize.mjs +0 -0
  279. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +0 -0
  280. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/value/utils/is-motion-value.mjs +0 -0
  281. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/utils/choose-layer-type.mjs +0 -0
  282. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/utils/css.mjs +0 -0
  283. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/utils/get-view-animations.mjs +0 -0
  284. /package/dist/es/external/.pnpm/{motion-dom@12.22.0 → motion-dom@12.23.12}/external/motion-dom/dist/es/view/utils/has-target.mjs +0 -0
  285. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/array.mjs +0 -0
  286. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/clamp.mjs +0 -0
  287. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/anticipate.mjs +0 -0
  288. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/back.mjs +0 -0
  289. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/circ.mjs +0 -0
  290. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/cubic-bezier.mjs +0 -0
  291. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/ease.mjs +0 -0
  292. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/modifiers/mirror.mjs +0 -0
  293. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/modifiers/reverse.mjs +0 -0
  294. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/steps.mjs +0 -0
  295. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs +0 -0
  296. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +0 -0
  297. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/easing/utils/is-easing-array.mjs +0 -0
  298. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/global-config.mjs +0 -0
  299. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/is-numerical-string.mjs +0 -0
  300. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/is-object.mjs +0 -0
  301. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/is-zero-value-string.mjs +0 -0
  302. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/memo.mjs +0 -0
  303. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/noop.mjs +0 -0
  304. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/pipe.mjs +0 -0
  305. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/progress.mjs +0 -0
  306. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/subscription-manager.mjs +0 -0
  307. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/time-conversion.mjs +0 -0
  308. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/velocity-per-second.mjs +0 -0
  309. /package/dist/es/external/.pnpm/{motion-utils@12.19.0 → motion-utils@12.23.6}/external/motion-utils/dist/es/wrap.mjs +0 -0
package/dist/cjs/index.js CHANGED
@@ -28,19 +28,22 @@ const clamp = (min, max, v) => {
28
28
  return min;
29
29
  return v;
30
30
  };
31
+ function formatErrorMessage(message, errorCode) {
32
+ return errorCode ? `${message}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${errorCode}` : message;
33
+ }
31
34
  exports.warning = () => {
32
35
  };
33
36
  exports.invariant = () => {
34
37
  };
35
38
  if (process.env.NODE_ENV !== "production") {
36
- exports.warning = (check, message) => {
39
+ exports.warning = (check, message, errorCode) => {
37
40
  if (!check && typeof console !== "undefined") {
38
- console.warn(message);
41
+ console.warn(formatErrorMessage(message, errorCode));
39
42
  }
40
43
  };
41
- exports.invariant = (check, message) => {
44
+ exports.invariant = (check, message, errorCode) => {
42
45
  if (!check) {
43
- throw new Error(message);
46
+ throw new Error(formatErrorMessage(message, errorCode));
44
47
  }
45
48
  };
46
49
  }
@@ -103,12 +106,10 @@ const warned = /* @__PURE__ */ new Set();
103
106
  function hasWarned(message) {
104
107
  return warned.has(message);
105
108
  }
106
- function warnOnce(condition, message, element) {
109
+ function warnOnce(condition, message, errorCode) {
107
110
  if (condition || warned.has(message))
108
111
  return;
109
- console.warn(message);
110
- if (element)
111
- console.warn(element);
112
+ console.warn(formatErrorMessage(message, errorCode));
112
113
  warned.add(message);
113
114
  }
114
115
  const wrap = (min, max, v) => {
@@ -184,11 +185,11 @@ const isValidEasing = (easing) => {
184
185
  };
185
186
  const easingDefinitionToFunction = (definition) => {
186
187
  if (isBezierDefinition(definition)) {
187
- exports.invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`);
188
+ exports.invariant(definition.length === 4, `Cubic bezier arrays must contain four numerical values.`, "cubic-bezier-length");
188
189
  const [x1, y1, x2, y2] = definition;
189
190
  return cubicBezier(x1, y1, x2, y2);
190
191
  } else if (isValidEasing(definition)) {
191
- exports.invariant(easingLookup[definition] !== void 0, `Invalid easing type '${definition}'`);
192
+ exports.invariant(easingLookup[definition] !== void 0, `Invalid easing type '${definition}'`, "invalid-easing-type");
192
193
  return easingLookup[definition];
193
194
  }
194
195
  return definition;
@@ -618,7 +619,7 @@ const colorTypes = [hex, rgba, hsla];
618
619
  const getColorType = (v) => colorTypes.find((type) => type.test(v));
619
620
  function asRGBA(color2) {
620
621
  const type = getColorType(color2);
621
- exports.warning(Boolean(type), `'${color2}' is not an animatable color. Use the equivalent color code instead.`);
622
+ exports.warning(Boolean(type), `'${color2}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable");
622
623
  if (!Boolean(type))
623
624
  return false;
624
625
  let model = type.parse(color2);
@@ -714,7 +715,7 @@ const mixComplex = (origin, target) => {
714
715
  }
715
716
  return pipe(mixArray(matchOrder(originStats, targetStats), targetStats.values), template);
716
717
  } else {
717
- exports.warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`);
718
+ exports.warning(true, `Complex values '${origin}' and '${target}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different");
718
719
  return mixImmediate(origin, target);
719
720
  }
720
721
  };
@@ -805,7 +806,7 @@ const safeMin = 1e-3;
805
806
  function findSpring({ duration = springDefaults.duration, bounce = springDefaults.bounce, velocity = springDefaults.velocity, mass = springDefaults.mass }) {
806
807
  let envelope;
807
808
  let derivative;
808
- exports.warning(duration <= /* @__PURE__ */ secondsToMilliseconds(springDefaults.maxDuration), "Spring duration must be 10 seconds or less");
809
+ exports.warning(duration <= /* @__PURE__ */ secondsToMilliseconds(springDefaults.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
809
810
  let dampingRatio = 1 - bounce;
810
811
  dampingRatio = clamp(springDefaults.minDamping, springDefaults.maxDamping, dampingRatio);
811
812
  duration = clamp(springDefaults.minDuration, springDefaults.maxDuration, /* @__PURE__ */ millisecondsToSeconds(duration));
@@ -1058,7 +1059,7 @@ function createMixers(output, ease2, customMixer) {
1058
1059
  }
1059
1060
  function interpolate(input, output, { clamp: isClamp = true, ease: ease2, mixer } = {}) {
1060
1061
  const inputLength = input.length;
1061
- exports.invariant(inputLength === output.length, "Both input and output ranges must be the same length");
1062
+ exports.invariant(inputLength === output.length, "Both input and output ranges must be the same length", "range-length");
1062
1063
  if (inputLength === 1)
1063
1064
  return () => output[0];
1064
1065
  if (inputLength === 2 && output[0] === output[1])
@@ -1206,7 +1207,7 @@ class JSAnimation extends WithPromise {
1206
1207
  let { keyframes: keyframes$1 } = options;
1207
1208
  const generatorFactory = type || keyframes;
1208
1209
  if (process.env.NODE_ENV !== "production" && generatorFactory !== keyframes) {
1209
- exports.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`);
1210
+ exports.invariant(keyframes$1.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${keyframes$1}`, "spring-two-frames");
1210
1211
  }
1211
1212
  if (generatorFactory !== keyframes && typeof keyframes$1[0] !== "number") {
1212
1213
  this.mixKeyframes = pipe(percentToProgress, mix(keyframes$1[0], keyframes$1[1]));
@@ -1772,7 +1773,7 @@ class NativeAnimation extends WithPromise {
1772
1773
  this.isPseudoElement = Boolean(pseudoElement);
1773
1774
  this.allowFlatten = allowFlatten;
1774
1775
  this.options = options;
1775
- exports.invariant(typeof options.type !== "string", `animateMini doesn't support "type" as a string. Did you mean to import { spring } from "motion"?`);
1776
+ exports.invariant(typeof options.type !== "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
1776
1777
  const transition = applyGeneratorOptions(options);
1777
1778
  this.animation = startWaapiAnimation(element, name, keyframes2, transition, pseudoElement);
1778
1779
  if (transition.autoplay === false) {
@@ -1977,14 +1978,15 @@ function canAnimate(keyframes2, name, type, velocity) {
1977
1978
  const targetKeyframe = keyframes2[keyframes2.length - 1];
1978
1979
  const isOriginAnimatable = isAnimatable(originKeyframe, name);
1979
1980
  const isTargetAnimatable = isAnimatable(targetKeyframe, name);
1980
- exports.warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from "${originKeyframe}" to "${targetKeyframe}". ${originKeyframe} is not an animatable value - to enable this animation set ${originKeyframe} to a value animatable to ${targetKeyframe} via the \`style\` property.`);
1981
+ exports.warning(isOriginAnimatable === isTargetAnimatable, `You are trying to animate ${name} from "${originKeyframe}" to "${targetKeyframe}". "${isOriginAnimatable ? targetKeyframe : originKeyframe}" is not an animatable value.`, "value-not-animatable");
1981
1982
  if (!isOriginAnimatable || !isTargetAnimatable) {
1982
1983
  return false;
1983
1984
  }
1984
1985
  return hasKeyframesChanged(keyframes2) || (type === "spring" || isGenerator(type)) && velocity;
1985
1986
  }
1986
- function isHTMLElement$1(element) {
1987
- return isObject(element) && "offsetHeight" in element;
1987
+ function makeAnimationInstant(options) {
1988
+ options.duration = 0;
1989
+ options.type === "keyframes";
1988
1990
  }
1989
1991
  const acceleratedValues$1 = /* @__PURE__ */ new Set([
1990
1992
  "opacity",
@@ -1998,7 +2000,8 @@ const supportsWaapi = /* @__PURE__ */ memo(() => Object.hasOwnProperty.call(Elem
1998
2000
  function supportsBrowserAnimation(options) {
1999
2001
  var _a;
2000
2002
  const { motionValue: motionValue2, name, repeatDelay, repeatType, damping, type } = options;
2001
- if (!isHTMLElement$1((_a = motionValue2 == null ? void 0 : motionValue2.owner) == null ? void 0 : _a.current)) {
2003
+ const subject = (_a = motionValue2 == null ? void 0 : motionValue2.owner) == null ? void 0 : _a.current;
2004
+ if (!(subject instanceof HTMLElement)) {
2002
2005
  return false;
2003
2006
  }
2004
2007
  const { onUpdate, transformTemplate } = motionValue2.owner.getProps();
@@ -2047,7 +2050,7 @@ class AsyncMotionValueAnimation extends WithPromise {
2047
2050
  onUpdate == null ? void 0 : onUpdate(getFinalKeyframe$1(keyframes2, options, finalKeyframe));
2048
2051
  }
2049
2052
  keyframes2[0] = keyframes2[keyframes2.length - 1];
2050
- options.duration = 0;
2053
+ makeAnimationInstant(options);
2051
2054
  options.repeat = 0;
2052
2055
  }
2053
2056
  const startTime = sync2 ? !this.resolvedAt ? this.createdAt : this.resolvedAt - this.createdAt > MAX_RESOLVE_DELAY ? this.resolvedAt : this.createdAt : void 0;
@@ -2238,7 +2241,7 @@ function parseCSSVariable(current2) {
2238
2241
  }
2239
2242
  const maxDepth = 4;
2240
2243
  function getVariableValue(current2, element, depth = 1) {
2241
- exports.invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property "${current2}". This may indicate a circular fallback dependency.`);
2244
+ exports.invariant(depth <= maxDepth, `Max CSS variable fallback depth detected in property "${current2}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
2242
2245
  const [token, fallback] = parseCSSVariable(current2);
2243
2246
  if (!token)
2244
2247
  return;
@@ -2688,6 +2691,9 @@ const propEffect = /* @__PURE__ */ createEffect((subject, state, key, value) =>
2688
2691
  subject[key] = state.latest[key];
2689
2692
  }, void 0, false);
2690
2693
  });
2694
+ function isHTMLElement$1(element) {
2695
+ return isObject(element) && "offsetHeight" in element;
2696
+ }
2691
2697
  const MAX_VELOCITY_DELTA = 30;
2692
2698
  const isFloat = (value) => {
2693
2699
  return !isNaN(parseFloat(value));
@@ -2705,8 +2711,8 @@ class MotionValue {
2705
2711
  constructor(init, options = {}) {
2706
2712
  this.canTrackVelocity = null;
2707
2713
  this.events = {};
2708
- this.updateAndNotify = (v, render = true) => {
2709
- var _a, _b;
2714
+ this.updateAndNotify = (v) => {
2715
+ var _a;
2710
2716
  const currentTime = time.now();
2711
2717
  if (this.updatedAt !== currentTime) {
2712
2718
  this.setPrevFrameValue();
@@ -2721,9 +2727,6 @@ class MotionValue {
2721
2727
  }
2722
2728
  }
2723
2729
  }
2724
- if (render) {
2725
- (_b = this.events.renderRequest) == null ? void 0 : _b.notify(this.current);
2726
- }
2727
2730
  };
2728
2731
  this.hasAnimated = false;
2729
2732
  this.setCurrent(init);
@@ -2830,9 +2833,9 @@ class MotionValue {
2830
2833
  *
2831
2834
  * @public
2832
2835
  */
2833
- set(v, render = true) {
2834
- if (!render || !this.passiveEffect) {
2835
- this.updateAndNotify(v, render);
2836
+ set(v) {
2837
+ if (!this.passiveEffect) {
2838
+ this.updateAndNotify(v);
2836
2839
  } else {
2837
2840
  this.passiveEffect(v, this.updateAndNotify);
2838
2841
  }
@@ -3549,12 +3552,15 @@ function attachSpring(value, source, options) {
3549
3552
  frame.postRender(startAnimation);
3550
3553
  return value.get();
3551
3554
  }, stopAnimation2);
3552
- let unsubscribe = void 0;
3553
3555
  if (isMotionValue(source)) {
3554
- unsubscribe = source.on("change", (v) => value.set(parseValue(v, unit)));
3555
- value.on("destroy", unsubscribe);
3556
+ const removeSourceOnChange = source.on("change", (v) => value.set(parseValue(v, unit)));
3557
+ const removeValueOnDestroy = value.on("destroy", removeSourceOnChange);
3558
+ return () => {
3559
+ removeSourceOnChange();
3560
+ removeValueOnDestroy();
3561
+ };
3556
3562
  }
3557
- return unsubscribe;
3563
+ return stopAnimation2;
3558
3564
  }
3559
3565
  function parseValue(v, unit) {
3560
3566
  return unit ? v + unit : v;
@@ -3605,7 +3611,7 @@ const css = {
3605
3611
  }
3606
3612
  }
3607
3613
  };
3608
- function getLayerName(pseudoElement) {
3614
+ function getViewAnimationLayerInfo(pseudoElement) {
3609
3615
  const match = pseudoElement.match(/::view-transition-(old|new|group|image-pair)\((.*?)\)/);
3610
3616
  if (!match)
3611
3617
  return null;
@@ -3692,7 +3698,7 @@ function startViewAnimation(builder) {
3692
3698
  const { pseudoElement } = effect;
3693
3699
  if (!pseudoElement)
3694
3700
  continue;
3695
- const name = getLayerName(pseudoElement);
3701
+ const name = getViewAnimationLayerInfo(pseudoElement);
3696
3702
  if (!name)
3697
3703
  continue;
3698
3704
  const targetDefinition = targets.get(name.layer);
@@ -3947,7 +3953,7 @@ function createAnimationsFromSequence(sequence, { defaultTransition = {}, ...seq
3947
3953
  remainder > 0 && fillOffset(times, remainder);
3948
3954
  valueKeyframesAsList.length === 1 && valueKeyframesAsList.unshift(null);
3949
3955
  if (repeat) {
3950
- exports.invariant(repeat < MAX_REPEAT, "Repeat count too high, must be less than 20");
3956
+ exports.invariant(repeat < MAX_REPEAT, "Repeat count too high, must be less than 20", "repeat-count-high");
3951
3957
  duration = calculateRepeatDuration(duration, repeat);
3952
3958
  const originalKeyframes = [...valueKeyframesAsList];
3953
3959
  const originalTimes = [...times];
@@ -4186,14 +4192,14 @@ const animateMotionValue = (name, value, target, transition = {}, element, isHan
4186
4192
  }
4187
4193
  let shouldSkip = false;
4188
4194
  if (options.type === false || options.duration === 0 && !options.repeatDelay) {
4189
- options.duration = 0;
4195
+ makeAnimationInstant(options);
4190
4196
  if (options.delay === 0) {
4191
4197
  shouldSkip = true;
4192
4198
  }
4193
4199
  }
4194
4200
  if (MotionGlobalConfig.instantAnimations || MotionGlobalConfig.skipAnimations) {
4195
4201
  shouldSkip = true;
4196
- options.duration = 0;
4202
+ makeAnimationInstant(options);
4197
4203
  options.delay = 0;
4198
4204
  }
4199
4205
  options.allowFlatten = !valueTransition.type && !valueTransition.ease;
@@ -4543,11 +4549,12 @@ class VisualElement {
4543
4549
  for (const key in initialMotionValues) {
4544
4550
  const value = initialMotionValues[key];
4545
4551
  if (latestValues[key] !== void 0 && isMotionValue(value)) {
4546
- value.set(latestValues[key], false);
4552
+ value.set(latestValues[key]);
4547
4553
  }
4548
4554
  }
4549
4555
  }
4550
4556
  mount(instance) {
4557
+ var _a;
4551
4558
  this.current = instance;
4552
4559
  visualElementStore.set(instance, this);
4553
4560
  if (this.projection && !this.projection.instance) {
@@ -4562,20 +4569,20 @@ class VisualElement {
4562
4569
  }
4563
4570
  this.shouldReduceMotion = this.reducedMotionConfig === "never" ? false : this.reducedMotionConfig === "always" ? true : prefersReducedMotion.current;
4564
4571
  if (process.env.NODE_ENV !== "production") {
4565
- warnOnce(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.");
4572
+ warnOnce(this.shouldReduceMotion !== true, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled");
4566
4573
  }
4567
- if (this.parent)
4568
- this.parent.children.add(this);
4574
+ (_a = this.parent) == null ? void 0 : _a.addChild(this);
4569
4575
  this.update(this.props, this.presenceContext);
4570
4576
  }
4571
4577
  unmount() {
4578
+ var _a;
4572
4579
  this.projection && this.projection.unmount();
4573
4580
  cancelFrame(this.notifyUpdate);
4574
4581
  cancelFrame(this.render);
4575
4582
  this.valueSubscriptions.forEach((remove) => remove());
4576
4583
  this.valueSubscriptions.clear();
4577
4584
  this.removeFromVariantTree && this.removeFromVariantTree();
4578
- this.parent && this.parent.children.delete(this);
4585
+ (_a = this.parent) == null ? void 0 : _a.removeChild(this);
4579
4586
  for (const key in this.events) {
4580
4587
  this.events[key].clear();
4581
4588
  }
@@ -4588,6 +4595,15 @@ class VisualElement {
4588
4595
  }
4589
4596
  this.current = null;
4590
4597
  }
4598
+ addChild(child) {
4599
+ this.children.add(child);
4600
+ this.enteringChildren ?? (this.enteringChildren = /* @__PURE__ */ new Set());
4601
+ this.enteringChildren.add(child);
4602
+ }
4603
+ removeChild(child) {
4604
+ this.children.delete(child);
4605
+ this.enteringChildren && this.enteringChildren.delete(child);
4606
+ }
4591
4607
  bindToMotionValue(key, value) {
4592
4608
  if (this.valueSubscriptions.has(key)) {
4593
4609
  this.valueSubscriptions.get(key)();
@@ -4602,15 +4618,14 @@ class VisualElement {
4602
4618
  if (valueIsTransform && this.projection) {
4603
4619
  this.projection.isTransformDirty = true;
4604
4620
  }
4621
+ this.scheduleRender();
4605
4622
  });
4606
- const removeOnRenderRequest = value.on("renderRequest", this.scheduleRender);
4607
4623
  let removeSyncCheck;
4608
4624
  if (window.MotionCheckAppearSync) {
4609
4625
  removeSyncCheck = window.MotionCheckAppearSync(this, key, value);
4610
4626
  }
4611
4627
  this.valueSubscriptions.set(key, () => {
4612
4628
  removeOnChange();
4613
- removeOnRenderRequest();
4614
4629
  if (removeSyncCheck)
4615
4630
  removeSyncCheck();
4616
4631
  if (value.owner)
@@ -4821,6 +4836,9 @@ class VisualElement {
4821
4836
  this.events[eventName].notify(...args);
4822
4837
  }
4823
4838
  }
4839
+ scheduleRenderMicrotask() {
4840
+ microtask.render(this.render);
4841
+ }
4824
4842
  }
4825
4843
  class DOMVisualElement extends VisualElement {
4826
4844
  constructor() {
@@ -5207,9 +5225,10 @@ function animateSubject(subject, keyframes2, options, scope) {
5207
5225
  } else {
5208
5226
  const subjects = resolveSubjects(subject, keyframes2, scope);
5209
5227
  const numSubjects = subjects.length;
5210
- exports.invariant(Boolean(numSubjects), "No valid elements provided.");
5228
+ exports.invariant(Boolean(numSubjects), "No valid elements provided.", "no-valid-elements");
5211
5229
  for (let i = 0; i < numSubjects; i++) {
5212
5230
  const thisSubject = subjects[i];
5231
+ exports.invariant(thisSubject !== null, "You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.", "animate-null");
5213
5232
  const createVisualElement2 = thisSubject instanceof Element ? createDOMVisualElement : createObjectVisualElement;
5214
5233
  if (!visualElementStore.has(thisSubject)) {
5215
5234
  createVisualElement2(thisSubject);
@@ -5258,7 +5277,7 @@ const animate = createScopedAnimate();
5258
5277
  function animateElements(elementOrSelector, keyframes2, options, scope) {
5259
5278
  const elements = resolveElements(elementOrSelector, scope);
5260
5279
  const numElements = elements.length;
5261
- exports.invariant(Boolean(numElements), "No valid element provided.");
5280
+ exports.invariant(Boolean(numElements), "No valid elements provided.", "no-valid-elements");
5262
5281
  const animationDefinitions = [];
5263
5282
  for (let i = 0; i < numElements; i++) {
5264
5283
  const element = elements[i];
@@ -7354,17 +7373,27 @@ function convertSvgStyleToAttributes(keyframes2) {
7354
7373
  function createVisualElement(Component, options) {
7355
7374
  return isSVGElement(Component) ? new SVGVisualElement(options) : new HTMLVisualElement(options);
7356
7375
  }
7376
+ function calcChildStagger(children, child, delayChildren, staggerChildren = 0, staggerDirection = 1) {
7377
+ const sortedChildren = Array.from(children).sort((a, b) => a.sortNodePosition(b));
7378
+ const index = sortedChildren.indexOf(child);
7379
+ const numChildren = children.size;
7380
+ const maxStaggerDuration = (numChildren - 1) * staggerChildren;
7381
+ const delayIsFunction = typeof delayChildren === "function";
7382
+ if (index === sortedChildren.length - 1) {
7383
+ child.parent.enteringChildren = void 0;
7384
+ }
7385
+ return delayIsFunction ? delayChildren(index, numChildren) : staggerDirection === 1 ? index * staggerChildren : maxStaggerDuration - index * staggerChildren;
7386
+ }
7357
7387
  const STATE_TYPES = ["initial", "animate", "whileInView", "whileHover", "whilePress", "whileDrag", "whileFocus", "exit"];
7358
7388
  class AnimationFeature extends Feature {
7359
7389
  constructor(state) {
7360
- var _a;
7390
+ var _a, _b;
7361
7391
  super(state);
7362
7392
  this.animateUpdates = ({
7363
7393
  controlActiveState,
7364
7394
  directAnimate,
7365
7395
  directTransition,
7366
7396
  controlDelay = 0,
7367
- isFallback,
7368
7397
  isExit
7369
7398
  } = {}) => {
7370
7399
  const { reducedMotion } = this.state.options.motionConfig;
@@ -7377,8 +7406,9 @@ class AnimationFeature extends Feature {
7377
7406
  directAnimate,
7378
7407
  directTransition
7379
7408
  });
7409
+ this.state.finalTransition = animationOptions;
7380
7410
  const factories = this.createAnimationFactories(prevTarget, animationOptions, controlDelay);
7381
- const { getChildAnimations } = this.setupChildAnimations(animationOptions, this.state.activeStates, isFallback);
7411
+ const { getChildAnimations } = this.setupChildAnimations(animationOptions, this.state.activeStates);
7382
7412
  return this.executeAnimations({
7383
7413
  factories,
7384
7414
  getChildAnimations,
@@ -7408,6 +7438,7 @@ class AnimationFeature extends Feature {
7408
7438
  },
7409
7439
  reducedMotionConfig: this.state.options.motionConfig.reducedMotion
7410
7440
  });
7441
+ (_b = this.state.visualElement.parent) == null ? void 0 : _b.addChild(this.state.visualElement);
7411
7442
  this.state.animateUpdates = this.animateUpdates;
7412
7443
  if (this.state.isMounted())
7413
7444
  this.state.startAnimation();
@@ -7448,7 +7479,7 @@ class AnimationFeature extends Feature {
7448
7479
  /**
7449
7480
  * Setup child animations
7450
7481
  */
7451
- setupChildAnimations(transition, controlActiveState, isFallback) {
7482
+ setupChildAnimations(transition, controlActiveState) {
7452
7483
  var _a;
7453
7484
  const visualElement = this.state.visualElement;
7454
7485
  if (!((_a = visualElement.variantChildren) == null ? void 0 : _a.size) || !controlActiveState)
@@ -7532,6 +7563,7 @@ class AnimationFeature extends Feature {
7532
7563
  * Subscribe any provided AnimationControls to the component's VisualElement
7533
7564
  */
7534
7565
  mount() {
7566
+ var _a, _b;
7535
7567
  const { element } = this.state;
7536
7568
  mountedStates.set(element, this.state);
7537
7569
  if (!visualElementStore.get(element)) {
@@ -7540,6 +7572,16 @@ class AnimationFeature extends Feature {
7540
7572
  }
7541
7573
  this.state.visualElement.state = this.state;
7542
7574
  this.updateAnimationControlsSubscription();
7575
+ const visualElement = this.state.visualElement;
7576
+ const parentVisualElement = visualElement.parent;
7577
+ visualElement.enteringChildren = void 0;
7578
+ if (((_a = this.state.parent) == null ? void 0 : _a.isMounted()) && !visualElement.isControllingVariants && ((_b = parentVisualElement == null ? void 0 : parentVisualElement.enteringChildren) == null ? void 0 : _b.has(visualElement))) {
7579
+ const { delayChildren } = this.state.parent.finalTransition || {};
7580
+ this.animateUpdates({
7581
+ controlActiveState: this.state.parent.activeStates,
7582
+ controlDelay: calcChildStagger(parentVisualElement.enteringChildren, visualElement, delayChildren)
7583
+ })();
7584
+ }
7543
7585
  }
7544
7586
  update() {
7545
7587
  const { animate: animate2 } = this.state.options;
@@ -9077,10 +9119,6 @@ const domAnimation = [
9077
9119
  HoverGesture,
9078
9120
  InViewGesture,
9079
9121
  FocusGesture
9080
- // ProjectionFeature,
9081
- // DragGesture,
9082
- // LayoutFeature,
9083
- // PanGesture,
9084
9122
  ];
9085
9123
  function isVariantLabels(value) {
9086
9124
  return typeof value === "string" || value === false || Array.isArray(value);
@@ -9106,7 +9144,6 @@ class MotionState {
9106
9144
  this.options = options;
9107
9145
  this.parent = parent;
9108
9146
  (_a = parent == null ? void 0 : parent.children) == null ? void 0 : _a.add(this);
9109
- this.depth = (parent == null ? void 0 : parent.depth) + 1 || 0;
9110
9147
  const initial = options.initial === void 0 && options.variants ? this.context.initial : options.initial;
9111
9148
  const initialVariantSource = initial === false ? ["initial", "animate"] : ["initial"];
9112
9149
  this.initTarget(initialVariantSource);
@@ -9193,8 +9230,6 @@ class MotionState {
9193
9230
  beforeUnmount() {
9194
9231
  this.featureManager.beforeUnmount();
9195
9232
  }
9196
- // Unmount motion state and optionally unmount children
9197
- // Handles unmounting in the correct order based on component tree
9198
9233
  unmount(unMountChildren = false) {
9199
9234
  const shouldDelay = this.options.layoutId && !mountedLayoutIds.has(this.options.layoutId);
9200
9235
  const unmount = () => {
@@ -9237,7 +9272,6 @@ class MotionState {
9237
9272
  });
9238
9273
  if (isAnimate) {
9239
9274
  this.animateUpdates({
9240
- isFallback: !isActive && name !== "exit" && this.visualElement.isControllingVariants,
9241
9275
  isExit: name === "exit" && this.activeStates.exit
9242
9276
  });
9243
9277
  }
@@ -10597,6 +10631,7 @@ exports.animateValue = animateValue;
10597
10631
  exports.animateView = animateView;
10598
10632
  exports.animationMapKey = animationMapKey;
10599
10633
  exports.anticipate = anticipate;
10634
+ exports.applyGeneratorOptions = applyGeneratorOptions;
10600
10635
  exports.applyPxDefaults = applyPxDefaults;
10601
10636
  exports.attachSpring = attachSpring;
10602
10637
  exports.attrEffect = attrEffect;
@@ -10657,6 +10692,8 @@ exports.getOriginIndex = getOriginIndex;
10657
10692
  exports.getValueAsType = getValueAsType;
10658
10693
  exports.getValueTransition = getValueTransition$1;
10659
10694
  exports.getVariableValue = getVariableValue;
10695
+ exports.getViewAnimationLayerInfo = getViewAnimationLayerInfo;
10696
+ exports.getViewAnimations = getViewAnimations;
10660
10697
  exports.hasWarned = hasWarned;
10661
10698
  exports.hex = hex;
10662
10699
  exports.hover = hover;
@@ -10687,6 +10724,7 @@ exports.isWaapiSupportedEasing = isWaapiSupportedEasing;
10687
10724
  exports.isZeroValueString = isZeroValueString;
10688
10725
  exports.keyframes = keyframes;
10689
10726
  exports.m = m;
10727
+ exports.makeAnimationInstant = makeAnimationInstant;
10690
10728
  exports.mapEasingToNativeEasing = mapEasingToNativeEasing;
10691
10729
  exports.mapValue = mapValue;
10692
10730
  exports.maxGeneratorDuration = maxGeneratorDuration;
@@ -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.22.0/external/framer-motion/dist/es/render/utils/setters.mjs";
3
+ import { setTarget } from "../../external/.pnpm/framer-motion@12.23.12/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.22.0/external/framer-motion/dist/es/animation/animate/index.mjs";
2
+ import { createScopedAnimate } from "../../external/.pnpm/framer-motion@12.23.12/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.22.0/external/motion-dom/dist/es/frameloop/frame.mjs";
2
+ import { frame } from "../../external/.pnpm/motion-dom@12.23.12/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();
@@ -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 "../../external/.pnpm/motion-dom@12.22.0/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
11
+ import { isMotionValue } from "../../external/.pnpm/motion-dom@12.23.12/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);
@@ -1,6 +1,6 @@
1
- import { motionValue } from "../../external/.pnpm/motion-dom@12.22.0/external/motion-dom/dist/es/value/index.mjs";
2
- import { mixNumber } from "../../external/.pnpm/motion-dom@12.22.0/external/motion-dom/dist/es/utils/mix/number.mjs";
3
- import { isMotionValue } from "../../external/.pnpm/motion-dom@12.22.0/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
1
+ import { motionValue } from "../../external/.pnpm/motion-dom@12.23.12/external/motion-dom/dist/es/value/index.mjs";
2
+ import { mixNumber } from "../../external/.pnpm/motion-dom@12.23.12/external/motion-dom/dist/es/utils/mix/number.mjs";
3
+ import { isMotionValue } from "../../external/.pnpm/motion-dom@12.23.12/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
4
4
  function compareMin(a, b) {
5
5
  return a.layout.min - b.layout.min;
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { animateSequence } from "./sequence.mjs";
2
2
  import { animateSubject } from "./subject.mjs";
3
- import { GroupAnimationWithThen } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs";
4
- import { removeItem } from "../../../../../../../motion-utils@12.19.0/external/motion-utils/dist/es/array.mjs";
3
+ import { GroupAnimationWithThen } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs";
4
+ import { removeItem } from "../../../../../../../motion-utils@12.23.6/external/motion-utils/dist/es/array.mjs";
5
5
  function isSequence(value) {
6
6
  return Array.isArray(value) && value.some(Array.isArray);
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
2
- import { resolveElements } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/utils/resolve-elements.mjs";
2
+ import { resolveElements } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/utils/resolve-elements.mjs";
3
3
  function resolveSubjects(subject, keyframes, scope, selectorCache) {
4
4
  if (typeof subject === "string" && isDOMKeyframes(keyframes)) {
5
5
  return resolveElements(subject, scope, selectorCache);
@@ -1,6 +1,6 @@
1
1
  import { createAnimationsFromSequence } from "../sequence/create.mjs";
2
2
  import { animateSubject } from "./subject.mjs";
3
- import { spring } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/generators/spring/index.mjs";
3
+ import { spring } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/generators/spring/index.mjs";
4
4
  function animateSequence(sequence, options, scope) {
5
5
  const animations = [];
6
6
  const animationDefinitions = createAnimationsFromSequence(sequence, options, scope, { spring });
@@ -1,6 +1,6 @@
1
1
  import { animateMotionValue } from "../interfaces/motion-value.mjs";
2
- import { isMotionValue } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
3
- import { motionValue } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/value/index.mjs";
2
+ import { isMotionValue } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
3
+ import { motionValue } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/value/index.mjs";
4
4
  function animateSingleValue(value, keyframes, options) {
5
5
  const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
6
6
  motionValue$1.start(animateMotionValue("", motionValue$1, keyframes, options));
@@ -4,8 +4,8 @@ import { createDOMVisualElement, createObjectVisualElement } from "../utils/crea
4
4
  import { isDOMKeyframes } from "../utils/is-dom-keyframes.mjs";
5
5
  import { resolveSubjects } from "./resolve-subjects.mjs";
6
6
  import { animateSingleValue } from "./single-value.mjs";
7
- import { invariant } from "../../../../../../../motion-utils@12.19.0/external/motion-utils/dist/es/errors.mjs";
8
- import { isMotionValue } from "../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
7
+ import { invariant } from "../../../../../../../motion-utils@12.23.6/external/motion-utils/dist/es/errors.mjs";
8
+ import { isMotionValue } from "../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/value/utils/is-motion-value.mjs";
9
9
  function isSingleValue(subject, keyframes) {
10
10
  return isMotionValue(subject) || typeof subject === "number" || typeof subject === "string" && !isDOMKeyframes(keyframes);
11
11
  }
@@ -16,9 +16,10 @@ function animateSubject(subject, keyframes, options, scope) {
16
16
  } else {
17
17
  const subjects = resolveSubjects(subject, keyframes, scope);
18
18
  const numSubjects = subjects.length;
19
- invariant(Boolean(numSubjects), "No valid elements provided.");
19
+ invariant(Boolean(numSubjects), "No valid elements provided.", "no-valid-elements");
20
20
  for (let i = 0; i < numSubjects; i++) {
21
21
  const thisSubject = subjects[i];
22
+ invariant(thisSubject !== null, "You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.", "animate-null");
22
23
  const createVisualElement = thisSubject instanceof Element ? createDOMVisualElement : createObjectVisualElement;
23
24
  if (!visualElementStore.has(thisSubject)) {
24
25
  createVisualElement(thisSubject);
@@ -1,16 +1,16 @@
1
- import { resolveElements } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/utils/resolve-elements.mjs";
2
- import { invariant } from "../../../../../../../../motion-utils@12.19.0/external/motion-utils/dist/es/errors.mjs";
3
- import { getValueTransition } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
4
- import { getAnimationMap, animationMapKey } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/utils/active-animations.mjs";
5
- import { getComputedStyle } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/render/dom/style-computed.mjs";
6
- import { fillWildcards } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs";
7
- import { applyPxDefaults } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs";
8
- import { NativeAnimation } from "../../../../../../../../motion-dom@12.22.0/external/motion-dom/dist/es/animation/NativeAnimation.mjs";
9
- import { secondsToMilliseconds } from "../../../../../../../../motion-utils@12.19.0/external/motion-utils/dist/es/time-conversion.mjs";
1
+ import { resolveElements } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/utils/resolve-elements.mjs";
2
+ import { invariant } from "../../../../../../../../motion-utils@12.23.6/external/motion-utils/dist/es/errors.mjs";
3
+ import { getValueTransition } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/utils/get-value-transition.mjs";
4
+ import { getAnimationMap, animationMapKey } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/utils/active-animations.mjs";
5
+ import { getComputedStyle } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/render/dom/style-computed.mjs";
6
+ import { fillWildcards } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs";
7
+ import { applyPxDefaults } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs";
8
+ import { NativeAnimation } from "../../../../../../../../motion-dom@12.23.12/external/motion-dom/dist/es/animation/NativeAnimation.mjs";
9
+ import { secondsToMilliseconds } from "../../../../../../../../motion-utils@12.23.6/external/motion-utils/dist/es/time-conversion.mjs";
10
10
  function animateElements(elementOrSelector, keyframes, options, scope) {
11
11
  const elements = resolveElements(elementOrSelector, scope);
12
12
  const numElements = elements.length;
13
- invariant(Boolean(numElements), "No valid element provided.");
13
+ invariant(Boolean(numElements), "No valid elements provided.", "no-valid-elements");
14
14
  const animationDefinitions = [];
15
15
  for (let i = 0; i < numElements; i++) {
16
16
  const element = elements[i];